Objective: Given a positive integer n:
If n is odd, output the list of n numbers closest to 0 in increasing order
If n is even, output a Falsey value.
Test cases:
5 -> [-2,-1,0,1,2]
4 -> [] (or any Falsey value)
1 -> [0]
Reference implementation
function update(){
var num = +docu...
@Seadrus Consider this: he didn't sandbox it, despite being a regular user. This lead to multiple problems being pointed out by others while the challenge is live. This is usually undesirable.
><>, 6 bytes
::n?!;
Pushes the input on the stack to start
: copy top element on stack
: copy top element on stack again
n pop and outputs top element
? condition trampoline - pops top element, if it is zero skips next instruction
! trampoline skips next ins...
@Doorknob I agree. I'm an atheist and yet I find it somewhat offensive that he said "your bible," which seems to imply that it is something only they care about.
He's using bold because you don't get it. Conor isn't a new user. He didn't sandbox the thing. He's getting some criticism because he should have known better.
This room was placed in timeout for 1 minute; the topic of this room is "General discussion for codegolf.stackexchange.com | abandon all work, ye who enter here —aditsu" - conversation should be limited to that topic.
Please stay calm; there's nothing personal about this.
Judging from the profanity and whatnot, it might benefit all parties if they were to step away from the keyboard for a few minutes.
Nobody's trying to insult or attack anyone (or even if they are, the solution is not more insults).
@quartata i was going to ask you to clarify if no one ever did or if you didn't know but i realized it was going to be harder to play "who's on first" than it would be to just look it up myself :P
@PeterTaylor By "well-behaved" I mean "not like math, gamedev, et. al. chat." As in, there are (typically) no personal attacks, rude/abusive comments, etc.
@El'endiaStarman I was about to ask you to elaborate (and @CᴏɴᴏʀO'Bʀɪᴇɴ too, because I didn't see any ad hominem) before the comment thread gets tidied up, but it seems it's too late. Still, if you can remember what it was that seemed too harsh then I would find that helpful.
@PeterTaylor o_o "make a fool of yourself" and your general tone; "directed against a person rather than the position they are maintaining" it seemed your were attacking me rather than the invalidity of my question, which I acknowledged, and in fact removed before your comment.
Meme: Carrots, carrot.<extension>
Originator: Rabbits Dennis (?).
Cultural Height: Ongoing.
Background: In the Nineteenth Byte, it is not uncommon to type a (solitary) ^ to signify agreement or, less commonly, to point another user to, the message/^ above. A rarer occurrence is when a pattern ...
Customer: "We need [request for new functionality]. Can we do that?" Me: "This is doable. Submit the request through the usual tracking system. We'll begin work as soon as project management gives the green light." *Never hears about [request for new functionality] ever again.*
I have started thinking about a meta post asking for the memes thread to be deleted because it seems to be promoting the creation of new memes which lower the signal-to-noise ratio in chat. But I need to go to bed because I have a very early start tomorrow, so I don't have time to discuss it now.
@PeterTaylor I have been thinking about this, yes. Generally it's not been a problem due to the mostly-low amount of signal in here anyway, but... (OTOH, I doubt that deleting the meta post will solve the root problem.)
Note before you read: I'm new to this SE, so any edits are welcome.
You should write a program that guesses a number choosen in smallest amount of "turns".
Rules:
Scoring is byte based.
The program should only start with the input of original number.
The program can check if the number it g...
Meme: chat stars
Originator: Unknown
Cultural Height: Always
Background: Chat (and/or Alex A.) likes to star some strange things:
"Also why on earth did 3 people star my message about not seeing replies on mobile? o.O" —Martin Büttner (this message proceeds to get 12 stars)
"I see." —Optimiz...
It is tied for the most starred message of all time in the Nineteenth Byte
@Seadrus @quartatartots once said in chat that he was an idiot. I/we've always loved it, and he doesn't have a problem with it. We're actually pretty friendly. XD