Challenge against humanity | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 104

Challenge against humanity

I'm writing this post while I'm trying to start my chainsaw. I was solving JS challenges today and I came across this: What is the output of this code? var x = "a",y = "b",z = "s", a = "t", b = "j", c = "."; if((1<=1) && (1>=1)) { x = z, y = b, a = c; alert(a+y+x); } else { y = z + b, x = b, z = a; alert(y+x+z+z); } Let's answer few questions! Does it teach you how to use JS? - No. Does it have practical use? - No. Does it infuriate you and make you want to kill people? - Oh, hell YES! How is this related to programming? This is the epitome of pain! The person who made this hates humanity. Actually, I'm not sure if it was a human being. It probably was a pterodactyl. And then community asks: "How to make approvable quiz?" There you go, just make it as crazy as possible! Don't worry about how users will feel about your quiz! You make quizes not because you want to make this app better, but because you want to get the shiny badge. Few words about reviewers. Do you know who likes challenges like this? Hitler. What's the conclusion? Stay calm. If you feel like you're crazy, don't make quizes. If you're not human being, don't hate people and stay away from this app. I give 10,000$ for the head or the name of that pterodactyl. Post his name in the comments if you recognize this quiz. I would rather his head. Finally, my chainsaw started! Now I'm gonna visit my neighbours first. They are good people, but today is not their day. Bye-bye.

23rd Aug 2017, 11:59 AM
Igor Makarsky
Igor Makarsky - avatar
41 Answers
+ 37
"My original instinct was to pull out -- and, historically, I like following my instincts, but all my life I've heard that decisions are much different when you sit behind the moderation desk. In other words, when you're a quiz moderator of Sololearn. A withdrawal would dishonor the quiz reviewers who died rating such quizzes in JS and could create a vacuum that would allow pterodactyl network to expand, as they did after the full withdrawal of quiz reviewers in Ruby." "I will not say when we are going to hunt down those pterodactyls, but hunt we will." "By following the heroic example of those who fought to preserve good quizzes, we can find the inspiration our programmers need to unify, to heal and to remain one community under SoloLearn." "When one part of SoloLearn hurts, we all hurt. And when one quiz reviewer or a challenger suffers an injustice due to pterodactyls, we all suffer together. Loyalty to our community demands loyalty to one another. Love for SoloLearn requires love for all of its users." "We will keep our eyes wide open for this damn pterodactyl." - Not Trump. https://www.google.com/amp/s/amp.cnn.com/cnn/2017/08/21/politics/trump-afghanistan-speech/index.html
23rd Aug 2017, 3:51 PM
Hatsy Rei
Hatsy Rei - avatar
+ 28
I'm feeling bad for that pterodactyl. :(
23rd Aug 2017, 1:08 PM
Maz
Maz - avatar
+ 25
wait until you come across the other one in the series that looks almost the same, but the answer is just "js"... sorry about the spoiler 😃
23rd Aug 2017, 8:01 PM
Nikolay Nachev
Nikolay Nachev - avatar
+ 21
@$Vengat I'm a PHP developer 😁
23rd Aug 2017, 11:26 PM
Igor Makarsky
Igor Makarsky - avatar
+ 21
No, I'm not. It was just a joke, I don't have it ☺
23rd Aug 2017, 11:40 PM
Igor Makarsky
Igor Makarsky - avatar
+ 19
The quiz is easy but it will take much time to figure it out!
23rd Aug 2017, 1:03 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 18
just tested this even with due diligence got it wrong. this was the one of the most amazing quiz i saw today that person must be something... https://code.sololearn.com/WD9C4d7D7egD/?ref=app
23rd Aug 2017, 12:14 PM
Lord Krishna
Lord Krishna - avatar
+ 16
Quiz factory is messed up pretty bad there is no denying it. I've seen some ridiculously long quizzes being approved while all of mine that were a bit on the hard side got all downvoted. Also if you try to make simple quizzes usually they are declined because of "too many similar qs". Challenges aren't worth a dime anyway they do not test your problem solving skills at all.
23rd Aug 2017, 4:54 PM
Karl T.
Karl T. - avatar
+ 14
I gave up on challenges over a month ago, because of questions like this. (plus, it's really addictive- started to get in the way of other stuff). I have submitted 17 quizzes & only 1 got approved. That one that got approved was similar to this —pointless & time-consuming— but I created it anyway, just to get an approval. (I'm not proud of it 😥). Sadly, that's the truth these days. There are barely any unique quizzes left, so if you want to get yours approved, make it ridiculous. Or just stop playing challenges, like me.
23rd Aug 2017, 4:26 PM
Leigh E. O.
Leigh E. O. - avatar
+ 13
Personally I think the quiz is fine as it doesn't require arithmetic although it's a little bit convoluting. This type of question exists in Java and C# as well as I've seen scrambing variable names via optional/named parameters in C#. I like the challenges in SoloLearn as it have a good mix of theory questions and brain teasers and you'll be able to get it right if you're calm enough. If time limit is a constraint, maybe the question can be edited as a MCQ. As a side note, sometimes the question get easier if you trace it from bottom to top. 😉 Disclaimer: I'm not the code author and not that good in JS.
23rd Aug 2017, 12:57 PM
Zephyr Koo
Zephyr Koo - avatar
+ 13
LOL @Igor... Hilarious post. I find these type of questions to be pretty silly as well. They make me question whether the people approving these questions have much experience programming professionally or maybe they just favor brain teasers over practical challenges. I must admit, I was annoyed early on with these kind of questions. However, I've grown to like them a bit when I see a new one for the first time. The more of these I've seen, the better and quicker I am in getting new ones right the first time.
24th Aug 2017, 3:09 PM
David Carroll
David Carroll - avatar
+ 12
12 quizzes submitted so far, 11 rejections, like #Too many similar questions already exist What is the output: dict = {1: 2, 2: 5, 3: 8} print(dict.get(3, 5) - dict.get(8, 3)) :(
23rd Aug 2017, 1:29 PM
David Ashton
David Ashton - avatar
+ 12
Like Nomeh said, the question isn't hard. But for the time given, it'll be damn near impossible. Especially for a newbie. I'd probably just look at the question & wait for the countdown to expire...
23rd Aug 2017, 4:18 PM
Leigh E. O.
Leigh E. O. - avatar
+ 10
Ugh, Yes @Krishna. I've deleted the duplicates 😄
23rd Aug 2017, 4:37 PM
Leigh E. O.
Leigh E. O. - avatar
+ 10
Today my first 1st quiz was approved ^_^ (though it's output selection seems altered a little from the one i submitted?) looking forward to submitting more in the future :)
23rd Aug 2017, 4:51 PM
Lord Krishna
Lord Krishna - avatar
+ 10
What kinda job do you have, Igor, that requires the use of dangerous equipment such as chainsaw, in Belarus?
23rd Aug 2017, 9:51 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 10
Calculations in challenges are really complex and sometimes, they are hard to be solved in 30s
10th Nov 2018, 4:27 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 8
Lol XD
23rd Aug 2017, 12:07 PM
Anton Markov
+ 8
@Hatsy 😆😂🤣😅
23rd Aug 2017, 4:33 PM
David Ashton
David Ashton - avatar
+ 8
Not a chainsaw developer are you? 😂
23rd Aug 2017, 11:30 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar