« first day (1872 days earlier)      last day (3268 days later) » 

20:00
@MartinBüttner Or Aqua Tart with a knife...
> He is one of my best customers! I email him constantly and cannot afford any delays!
checks logs ... two emails in the past 30 days
Users are stupid.
@ETHproductions if Cubix returns 0 on EOF, how are you going to distinguish EOF from null bytes?
ASCII "0"?
Or 0 "0"?
zero zero
20:04
Hmm.
Obviously no file stream can ever contain 0.
Put it in the specification doc and call it a day. Problem solved.
:D
@MartinBüttner That wasn't thought through very well apparently :P
Probably should just do -1.
That's what I was thinking before. (why didn't I do that???)
Or return EOF for null bytes and null bytes for EOF.
20:06
Um...
Two null bytes in a row to mean "really null"
@ETHproductions I am insulted. /s
@TimmyD Yeah, null byte can act as a backslash
I'll just do -1. But for the integer input instruction I, if there's no integers left in the input, should it push -1, 0, or nothing at all?
in Lab and Hex they push 0 at EOF
there is no unambiguous value if your only type is an integer, but you can combine I with i if zeroes can appear in your input and you still need to check for EOF
Oh, it was already doing 0. I thought I got it backwards and had i default to 0 and I to -1.
So yeah, I'll just leave the default value for I at 0 and change i to -1.
But then I'll need to rework my cat program... oh well
20:11
"Lab and Hex" sounds like a shop on Diagon Alley ...
@ETHproductions just use ?, replace @ with > and the first . with @
oh wait
I got the adjacency wrong
@>i?oo would work for 6 bytes
  @
> i ? o
  o
nevermind
roflmao
20:14
Harry Potter reference gets no reaction. I'm ashamed of everyone in this room (I haven't actually read them, please don't kill me ._. ).
@CᴏɴᴏʀO'Bʀɪᴇɴ test pls.
@TimmyD Don't worry. They're fine, but not too good.
I haven't watched the movies, either, except for snippets of the first one and whatever got shown in trailers.
@ETHproductions you should totally write a brute force script to find a 5-byte solution
@TimmyD I got it, but meh...
@TimmyD didn't read them in English, so Diagon Alley doesn't ring a bell
@ETHproductions I'm finding tons of 6-byte solutions though...
DIE WINKELGASSE
20:18
@MartinBüttner Yeah, but the programs take a while to run, so it'll be difficult to do that...
@Fatalize (the place where the kids buy their stuff for school)
So you're saying that Harry Potter isn't ...
( •_•)
( •_•)>⌐■-■
(⌐■_■)
up your alley?
♫YEEEEEAAAAAHHHHHHHH!♫
@ETHproductions really?
how come?
@MartinBüttner Oh, you mean le chemin de traverse ;)
@Fatalize are you french?
20:21
@EasterlyIrk oui
Then tell me the truth: Did you guys invent french fries?
obviously we did
(honhonhon)
okai thanks can i has some
@Fatalize what eez zis?
> French Freedom Fries
ftfy
@MartinBüttner There's a 50 ms delay between iterations. I could probably change that though
It is a JSFiddle, after all
20:22
do you also have Freedom Kisses in 'murica?
@ETHproductions well...
@Fatalize Not California.
@Fatalize I think the American demographic that touted "Freedom Fries" is likely not the same demographic that would encounter "Freedom Kisses".
I'll just make it run the iteration function 50 times on input of H<null byte>! and see if the program a) has terminated yet, and b) has produced the correct output.
Freedom fries was just ridiculous
20:24
American - Macklemore (Disclaimer: It's satirical and kinda crazy [in a funny way], so it may be offensive to some.)
what are they
well we didn't want to participate in that brilliant war in Iraq... can't blame them for renaming fries...
Me neither.
@ETHproductions I wouldn't put the null byte at the end
@EasterlyIrk Some senator renamed french fries to freedom fries on the menu of a Congress cafe after France said they wouldn't help in the Iraq War
20:25
try H\0! instead
btw @EasterlyIrk fries were really invented by belgians
(there's a chance that the program terminates on the first null byte but still prints it)
american politics are always funny, it's like a tv show
The sad part about freedom fries is that people actually thought it was a good name
I mean, the politics aside, it's a pretty bad name
20:28
wait, is it a good name when considering the politics?
but it has freedom in the name, can't be bad right? 'murica land of the free!
'murica: the land where not even the names of foodstuffs are safe from politics
@Fatalize Opinion on Trump?
I'm not quite sure why he's even considered a politician, let alone one of the contenders for POTUS
20:33
@MartinBüttner In case you didn't already know, there's also an A command that inputs all bytes at once.
in France he would be either sued for hate speech or ridiculed for stupidity
@ETHproductions I didn't, thanks :)
He pretty much already is ridiculed for stupidity
^
@Fatalize We get him to france, you lock him up. Deal?
well by part of the US and the rest of the world
20:34
@ETHproductions does it become a no-op when running over it again?
but there are people voting for him
>.<
Don't remind us.
@MartinBüttner yeah, because there's no more input.
interesting
He bragged about the size of his penis
at this point I'm not sure why people even consider him a candidate$
20:34
@ETHproductions which byte is on top?
@MartinBüttner The first one in the input
convenient
either way it's gonna be entertaining
and a -1 at the bottom?
Does the program have to terminate once the input is completely printed?
20:35
@Fatalize Really?
@MartinBüttner No, not as far as I know
@Trump ಠ_ಠ
@ETHproductions yes (I think that's in the rules somewhere)
but that can be fixed
@EasterlyIrk That was pretty early in his campaign iirc
20:36
if Sanders doesn't win the primary, the most vocal americans that massively supported him will go apeshit
if Trump wins POTUS, everyone will laugh
@AquaTart It was somewhat recently, but it was in response to rubio insinuating that it was small because his hands were
if Clinton wins POTUS, I guess it will be a mix of both
> If it is at all possible in your language to distinguish null bytes in the standard input stream from the EOF, your program must support null bytes like any other bytes (that is, they have to be written to the standard output stream as well).
So does that mean that the current example is valid since that version technically doesn't support null bytes?
20:38
it is, but do you want to design a language that has 5 bytes on this challenge, or one that is actually reasonably usable? :P
...good point :P
@ETHproductions there is a meta consensus on this
but anyway to end that discussion, even Sanders would be considered right/far right in France, so I'm not the best person to judge US politics
programs have to terminate unless specified otherwise
Oh, that's your challenge. I wondered why you responded so quickly :P
20:41
0
A: Sandbox for Proposed Challenges

lirtosiastIs this number random?: Round 2 The same as Is this number random?, but with 256 or 512 numbers in each category instead of 64; thereby making a modulo-chain infeasible to find. I hope this will encourage more interesting strategies. Is this enough of a difference from the existing question t...

@Fatalize The US is so far-right that Sanders is considered radically left.
well he's called Socialist
@MartinBüttner If that causes a problem for you, you can check the stack length with #, but that might stretch it past 6 bytes
Should it push a -1 at the end?
in my country even people from the "Socialist Party" are criticized for not being socialist enough
@ETHproductions if you have #, I guess it's up to you.
20:56
I'm not sure if it will make more programs shorter or longer...
I guess it would make most programs requiring variable-length input slightly shorter.
And programs with constant-length input won't be affected because they know when to stop. (Unless they require a zero on the stack afterwards which is a single ) or ;.)
we need to get Ton Hospel in chat
@MartinBüttner Yeah. That sounds good; I'll make the change quick.
0
A: Sandbox for Proposed Challenges

lirtosiastDiagonals of an Array code-golf array-manipulation The k-th diagonal of a two-dimensional array is a list of all elements in positions (a,a+k). Your task is to output all of the diagonals. For example, the diagonals of [[3,1,4,1],[5,9,2,6],[5,3,5,8]] are: [[1],[4,6],[1,2,8],[3,9,5],[5,3],[...

10k views. Closed as off topic because it is "commonly available knowledge". english.stackexchange.com/q/169985/72792
That's why I dislike ELU. They left a bad taste in my mouth.
@Rainbolt 10k views without a good answer is even more impressive
gtg, I'll update the cat answer later.
4 hours ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
He should visit chat (more often)
@ETHproductions bai!
@NathanMerrill he's too cool to associate with us
@CᴏɴᴏʀO'Bʀɪᴇɴ I don't think he's ever visited
but I could be wrong
21:02
@NathanMerrill Yeah, I don't know either, so I put more often in parens
@MartinBüttner Do you know why I can't get a good answer?
Because the damned thing is closed.
Because it''s common knowledge? :P
Apparently
well congrats on your gold I guess ;)
21:05
Thanks. And someone gave me five Internet points, so thanks to you as well.
the green ones
the best kind
(removed) we saw it dude
Those are internet points
The green ones
How can you not know them, they're the reason you joined the site in the first place
(right?)
yaj
Actually, I joined because I like internet hate points.
/s
tac
tac
21:09
It's okay that I reject 99% of edits to answers that add nothing but <!-- language: lang-js -->, right?
pls halp i tri for fanatic for 99 day but no badge
Yes.
@EasterlyIrk You get it tomorrow? :D
in 2 hours.
@tac Definitely.
I hasn't gained rep in 5 days. >.<
Also, ಠ_ಠ for not setting your home site to PPCG. And for setting it puzzling.
oh that is my name.
I like being RikerW on the site, but this in chat.
21:11
But youre default site is puzzling.
Still waiting for the CR name to wear off.
@CᴏɴᴏʀO'Bʀɪᴇɴ For my chat profile only.
I has 101 rep there.
Association bonus
@EasterlyIrk
@EasterlyIrk.
@EasterlyIrk..
starred because handfree circle
21:13
Because of my name their.
@Fatalize it's borken.
21:13
refreshify
Now check my profile again.
@CᴏɴᴏʀO'Bʀɪᴇɴ are you dead?
@CᴏɴᴏʀO'Bʀɪᴇɴ
@CᴏɴᴏʀO'Bʀɪᴇɴ
@EasterlyIrk
@CᴏɴᴏʀO'Bʀɪᴇɴ
@EasterlyIrk
@I'mbored.
@Eas​y enough.
@CᴏɴᴏʀO'Bʀɪᴇɴ that doesn't ping btw.
It does.
@Eas​y enough.
21:16
nope.
try again
IT lOOKS LIKE CHEESE
21:18
@EasterlyIrk blame OS X
If that is what cheese looks to you, I guess you never had real cheese.
@AquaTart NEVAR
@EasterlyIrk Always.
@flawr Gouda ftw.
OS Y is the best.
21:18
@CᴏɴᴏʀO'Bʀɪᴇɴ NEVAR
That looks a bit like moldy Parmesan I suppose
Ooo I'm on a roll. High star roller FTW
unstars
;_;
y u b so mean
ಠ╭╮ಠ
2
...
21:20
You are a monster.
Ish
ಠ_ಠ
I star emoticons.
OK, I may or may not have starred the ;_; then immediately unstarred it but I did not play with your emotions any further.
2
Someone else is the star troll
@AquaTart <3 thanks aqua
This is a fine about of stars.
small loan of a million stars?
21:21
@CᴏɴᴏʀO'Bʀɪᴇɴ I unstarred, sorry.
@EasterlyIrk I know. >_>
It's good tho
12 secs ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
It's good tho
18 secs ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
12 secs ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
It's good tho
And a good song.
21:22
Unoneboxed.
Click for the full song.
You don't like onebox?
Just too cluttery right now.
And try this version of the song, the edited one.
Out of the corner of my eye I keep seeing Aqua Tart's profile picture as Alex's...
the capital "A" in its vicinity isn't helping...
Everybody knows @AquaTart is Doorknob is @AlexA. is @MartinBüttner, so it's all good.
21:26
what
not my fault.
the rick roll is blocked in Germany now T_T
tons of music is
21:27
What? it ain't nothing like a rickroll.
but blocking the rick roll is going a bit too far
@MartinBüttner Why?
Germans aren't allowed to listen to music, they have work to do
oh wait in this case it's not even GEMA... the uploader blocked it apparently
@MartinBüttner pfffffft
oh
yeah because these guys:
The Gesellschaft für musikalische Aufführungs- und mechanische Vervielfältigungsrechte (GEMA; English: Society for musical performing and mechanical reproduction rights) is a state-authorized collecting society and performance rights organization based in Germany, with administrative offices in Berlin and Munich. GEMA represents the usage rights stemming from authors' rights (e.g., mechanical licensing, broadcast licensing, synchronization licensing) for the musical works of those composers, lyricists, and publishers who are members in the organization. It is the only such institution in Germany...
"Vervielfältigungsrechte" ok
Is this blocked?
@CᴏɴᴏʀO'Bʀɪᴇɴ it isn't a rickroll. ^
tac
tac
21:30
@EasterlyIrk gif skillz
The t is the link >_>
um
It is all a link.
tac
tac
hah
21:31
Very clever though.
/me bows
You have joined the ranks of professional rickrollers. Welcome, young cat.
/slap @CᴏɴᴏʀO'Bʀɪᴇɴ
tac
tac
ಠ_ಠ
@EasterlyIrk -1 for using wikipedia.com
tac
tac
ಠuಠ
@Doorknob thankee for fiddle.
@AquaTart first link i thought of.
@CᴏɴᴏʀO'Bʀɪᴇɴ MAGIC
@CᴏɴᴏʀO'Bʀɪᴇɴ Doorknob made a JS Fiddle a while back
tac
tac
*whack*
Sorry, wrong link.
@AlexA. was the original whackee.
tac
tac
@EasterlyIrk that's freakin cool
21:36
@Doorknob's work.
tac
tac
39
Q: yes is 91 lines long

Ramon Sniryes, from coreutils, is 91 lines long. Many of them are comments, but that is still WAY too long. Write a program that imitates yes: outputting to stdout an infinite stream of "y\n"'s there must be an option to stop it other than killing the process with SIGKILL: but SIGINT and SIGPIPE are fin...

@tac *134
What does <> do in perl?
tac
tac
@CᴏɴᴏʀO'Bʀɪᴇɴ the poster didn't link to a specific commit, so there you go
I think it reads stdin until EOF
@CᴏɴᴏʀO'Bʀɪᴇɴ It slaps you for using Perl.
tac
tac
@ZachGates perl is cool :c
21:40
I'm scared. I independently implemented <> in Codename Dragon as input without any knowledge of perl. O_O
@tac ಠ_ಠ
@CᴏɴᴏʀO'Bʀɪᴇɴ STAY AWAY FROM THE EVIl
tac
tac
@EasterlyIrk -1 for not being enough of a unix h@cker
DON"T USE PERL
IT STEALS YOUR SOUL AND TURNS YOU INTO AQUATART OR DOORKNOB OR BOTH
tac
tac
4
Q: Why should I use <ARGV> or <> instead of <STDIN> in Perl?

LazerQuoting from Perl::Critic::Policy::InputOutput::ProhibitExplicitStdin Perl has a useful magic filehandle called *ARGV that checks the command line and if there are any arguments, opens and reads those as files. If there are no arguments, *ARGV behaves like *STDIN instead. This behavior is alm...

21:43
@tac Oh, I see.
tac
tac
@EasterlyIrk no, that's C++
THEY BOTH DO
tac
tac
@CᴏɴᴏʀO'Bʀɪᴇɴ how dare you!!!! that chair you're sitting in is probably written in C
s/\+/\\+/
s/\\\\/\\/
@tac I read that as a happy mouth. Not face.
tac
tac
21:45
???
@tac looks down Nope, it's written in Calculator ASM.
roflmao
looks down.
I am sitting on a couch.
Written in Shtriped.
tac
tac
@CᴏɴᴏʀO'Bʀɪᴇɴ ah, well, mine's written in Python
tac
tac
@EasterlyIrk explain pls
21:47
@tac And Python is nothing like C
tac
tac
@CᴏɴᴏʀO'Bʀɪᴇɴ $10 says that's written in C
@CᴏɴᴏʀO'Bʀɪᴇɴ "just"
@tac And $110 says it's an expensive calculator.
@tac Right, editing.
Github doesn't onebox? o_O
21:48
It used to.
tac
tac
@CᴏɴᴏʀO'Bʀɪᴇɴ And JavaScript is merely ALGOL c:
-_-
Wow I just discovered __rpow__ in Python. That's pretty cool lol
21:54
what is it?
Reverse power
isn't that just log?
So where (2).__pow__(3) == 2**3 then (2).__rpow__(3) == 3**2
@Quill No it just reverses the arguments, from what I can tell
ah, I see
0
Q: Should we consider the starting mechanism for Minecraft programs?

CoolestVetoTime to add to the list of Minecraft Meta Questions! So, my question is fairly basic. When we run programs in other langs through the command line, we don't count anything but their flags. For example, take Java. java B.java [arguments] We wouldn't count this bit to run the program. We would c...

No answers, no up votes, 2 months.
21:59
@CoolestVeto now commented :)

« first day (1872 days earlier)      last day (3268 days later) »