« first day (1831 days earlier)      last day (3003 days later) » 

5:00 AM
(yes, I know that's not technically true)
 
Of course nowadays I dont know any C and looking back at my code makes me think "wtf??? what is strcpy"
 
Confession - when I type public static void main(String[] args), I have no idea what args means
 
arguments
 
@Cyoce it actually makes a lot of sense
 
Like the things you type after the program's name on the command line.
 
5:00 AM
@quartata You wrote Perl and C in 1998?
 
That makes sense
lol
 
public static void main(String[] constructive_discussions)
 
Well not C but I knew Perl
 
Any difference between args and a?
 
5:01 AM
three bytes
 
> two
 
You must have started programming pretty young, @quartata.
 
It's just a variable name, it can be whatever.
 
C came later
 
@Eridan Alex Args. is not a thing. ¯\_(ツ)_/¯
 
5:01 AM
XD
 
I started C sometime around 2001, when I fell in with a crowd of MMO server emulators.
 
@Cyoce For all you know, that could be my last name
 
public static void main(String[] whoreallycaresalexiswronganyways){ }
 
@AlexA. yep 6 with perl
 
public static void main (Alex[] A){ ... }
 
Anonymous
5:02 AM
List of programming languages I learned, in order of learning: [C, C++, Python 2, Java, brainfuck, VB.NET, PROLOG, Python 3, Ada, C#, COBOL]
 
@quartata Holy shitzerino
 
@Eridan whore ally care sale? o_o
 
Anonymous
@quartata That's child abuse
 
Who on PPCG is most likely to be a grandparent?
 
@Geobits Yes
 
5:03 AM
dad said he'd teach me if I did good on some math homework thing
 
@Calvin'sHobbies You mean right now, or at some point?
 
Anonymous
@quartata So you failed the homework and he taught you Perl?
 
@Mego He was a Perl programmer. I did the homework thing and he taught me all his Perl bad habits
 
@Mego List of programming languages I learned, in order of learning: [Visual Basic for Applications, Matlab, Python, R, SAS, Perl, C#, Julia, C++]
 
5:05 AM
@Calvin'sHobbies Probably Alex. Birds go through generations quickly I think.
 
Anonymous
@AlexA. I thought you were learning Python now
 
List of programming languages I have learned, in order: [ ]
 
Anonymous
Oh I guess I should tack Seriously on the end of my list
 
@Eridan be the first person for which detour is their first language! learn it!
 
@Mego I learned it a long time ago and have kept reasonably up to date with the basics. I just need a really in depth knowledge before Thursday.
 
Anonymous
5:05 AM
But can anyone really learn Seriously?
 
Anonymous
@AlexA. Why Thursday?
 
@AlexA. VBA first? Now that's just wrong.
 
@Geobits Yeah, as wrong as "firts." :P
 
@Cyoce Currently learning Python and Java.
 
5:06 AM
No idea what you mean.
 
> leaning
 
@Eridan then stop that and learn detour to completion! it's not too late for you!
 
I actually know Fishing
 
shit
 
You can't just stop what you're doing for a detour. That would be absurd.
 
5:07 AM
I probably know the most Fishing out of anyone here :P
 
Anonymous
I have 80/80 answers for silver ! Now I just need 69 more score...
 
[Perl C Python Java Groovy] these are the only languages I have felt I've mastered
 
@Geobits Legit though. I even had to learn it on the job when I was 17. I had never seen programming before and didn't understand what was going on.
 
Currently trying to wrap my head around a detour answer for my question
 
except I literally know no C anymore
 
Anonymous
5:08 AM
My C knowledge is in long-term storage. I'll pull it out if I need it, but I hope to not need it for a long time. C-style strings still haunt me.
 
@Mego Nice! I'm the other way around. Have the score, need seven more answers.
 
How do you spell aluminium?
 
Anonymous
I have a ton of +0 answers because people don't appreciate Seriously :P
 
Anonymous
@Calvin'sHobbies Not like that
 
@Calvin'sHobbies Without the ridiculous last i.
 
5:08 AM
aluminum
 
or aluminus if it has a penis
 
wut
 
#latin
 
ಠ ͜ ಠ
 
Man, latin jokes just fall dead sometimes.
 
5:10 AM
@Dennis Owait jsfiddle.net/6tg9bryc/6 is better
 
Anonymous
Who is going through and upvoting all my stuff?
 
That'll teach me to click on random fiddle links.
 
I get that aluminus is Latin for aluminum but why does it have to have a you know never mind
 
@Geobits I sincerely hope you're teaching your child this pun talent of yours.
 
@Mego Someone who wants you to get your badge before the system yanks the rep back I guess.
@AlexA. Hell yes I am.
 
5:11 AM
@Geobits Good. Minibits shall eventually eat you to gain your power.
 
It'll be a sad day for him. I don't think I'd taste good. (and remember, I know a thing or two about cannibalism)
 
Anonymous
Did I miss the pomp and circumstance of the announcement of the winners?
 
@ӍѲꝆΛҐӍΛПҒЦꝆ That seems to work. What did you do different? They look the same...
 
@Mego We decided not to let anyone win.
 
5:12 AM
@AlexA. We're all losers?
 
There was a tie in one of the categories, so fuck the whole lot.
 
@Dennis I added some chars, changed output to HTML.
 
I tied for last, get rekt
 
@Calvin'sHobbies I mean, I wasn't going to say anything...
 
@AlexA. ehh, what do you know, you're a bird, you have no elbows
 
5:14 AM
._.
 
Anonymous
@AlexA. Are you joking? I can't tell...
 
@Mego When am I not?
 
I really like this one: How to Edit Your Math Pessimism. I think it'd probably be a very good idea for every math teacher to emphasize that what we teach in elementary and middle school math took humanity centuries, even millennia to figure out.
 
When you're wrong.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ That shouldn't really make a difference. The first version doesn't like some numbers. I don't know why.
 
Anonymous
5:14 AM
@AlexA. When you are speaking with authority as a mod
 
@Mego Oh right
 
@Dennis Okay, after some more testing, I found some chars that didn't make it into the table.
 
What if the A in Alex A is like the S in Ulysses S Grant? That would really suck.
 
Still checking to make sure everything's in.
 
@Eridan Spoilers: It's not.
 
5:17 AM
@Geobits Teach him to use A1 Steak Sauce.
I used to love that shit
 
Meh. A1 is not good, and steak sauce in general is overrated.
 
Alex A1 Steak Sauce
Alex ASS for short
 
@Geobits Steak is overrated
@Eridan ಠ_ಠ
 
Steak is tasty, but I don't expect anyone from Seattle to agree with me on that. Filthy hippies :P
 
:P
Some of us wash
 
5:18 AM
Alexis for shorter, Alex for even shorter, A for shortest but then we have the same problem all over again.
 
There's no problem. He's almost a mythical lion.
 
Almost
 
Alex Almost
 
@ӍѲꝆΛҐӍΛПҒЦꝆ I found the bug. You have to change the dot in the regex of the decoder to [\s\S] or it won't match newline characters.
 
@Geobits Close enough?
 
5:20 AM
Alex Anything that starts with A is Alex's last name
 
Alex Alex
 
Eerie Dan?
 
@AlexA. Change your avatar to Big Bird. #bigbirdisbestbird
6
 
+1
 
5:24 AM
The chain really ties that image together.
 
Sure does
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Of the decoder. This works: jsfiddle.net/6tg9bryc/9
 
@Dennis jsfiddle.net/6tg9bryc/11 Great! Fixed.
So, how do we count bytes?
(In this new encoding)
 
5:29 AM
The byte count is the length of the encoded string, which should always be Math.ceil(1.25 * characters).
 
@Dennis Wait found another bug. Add a trailing newline to the test string. It garbles the output.
 
I don't see a newline in your char table.
Neither a linefeed nor a carriage return.
 
:P
Wow, thanks @Dennis! That's a really big help.
 
np
 
Wait, where in the interpreter do you use it?
During compilation?
Or do we just sort of keep it at the side as reference?
 
5:37 AM
You should definitely incorporate it in the interpreter. Otherwise, you won't be able to claim the score for your answers.
 
@Dennis But how?
 
Your interpreter exists only for the web, right?
 
That doesn't make it easier, since you won't be able to actually use the encoding if it contains NUL or CR characters...
NUL maybe. CR is a problem in textareas.
 
5:42 AM
You could supply an option to upload a binary file, which the interpreter would decode to populate the text area.
 
Any other ways?
How about hexdumping? Is that even possible in this encoding?
 
I did the following for my interpreter: Implement in C and compile with emcc. This will enable everyone to a) run it online, b) run it with node (with stdin/out and whatnot) and c) use the faster c version.
So you can pipe files with 0x0 bytes and linebreaks into the interpreter using node.
 
Latest user to answer one of my posts has nice avatar
Roberto Bonvallet, Santiago, Chile
101 2
Just don't hurt him @AlexA.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Sure. The encoding is binary. Just replace each byte with the corresponding hexdigits. But one could argue that your interpreter is still incapable of using the binary encoding.
Isn't there ES6 for the command line?
 
@Dennis But not ESMin for the command line.
I'm not that kind of guy.
 
5:48 AM
I didn't understand your last post.
 
@Dennis Wait what do you mean?
 
What does I'm not that kind of guy. mean? Why can't there be an ESMin for the command line?
 
@Dennis I don't know how to make command line stuff, nor do I want to at the moment.
:P
(I probably should learn)
 
@ӍѲꝆΛҐӍΛПҒЦꝆ You should be able to install SpiderMonkey from firefox, add window = this to the beginning of your program and it should work.
 
Shouldn't be that difficult. With an ES6 interpreter, all you have to do is replace the HTML page with instructions to read the source code, read the input from STDIN and write the output to STDOUT.
 
5:52 AM
It worked pretty well with TeaScript's command line interpreter
 
Okay then I'll look into it.
Although it is getting late...
@Doᴡɴɢᴏᴀᴛ wait how do you install Spidermonkey?
 
@ӍѲꝆΛҐӍΛПҒЦꝆ uh, well you'll have to dig through the Firefox archives to try to find it
The link from MDN is waaay outdated
 
um :|
I guess
 
Are the mozjs files the Spidermonkey ones?
 
6:02 AM
@Mego, Python consolidate: y==0 ...
 
@ӍѲꝆΛҐӍΛПҒЦꝆ I guess, you'll have to built it yourself though. Somewhere there's a version which you can just click & run...
 
(Comments not working atm for some reason)
 
@Doᴡɴɢᴏᴀᴛ Oh. I'm building it right now, so...
 
@Sp3000 Comments are bad practice anyway.
 
?
 
6:05 AM
@ӍѲꝆΛҐӍΛПҒЦꝆ Found it, Download link
 
Oh wow, thanks.
Okay, now what?
 
If you chmod +x js the js should be executable
 
It already is.
I just got it up and running.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Cool. js -e "var window = this;" -f esmin.js -i should run ESMin and then put you into the REPL
 
Wait, but ESMin relies on external dependencies linked in the HTML. In addition, interpreter3.js (the code with all the JS) might not be shell-friendly.
 
6:19 AM
 
@ӍѲꝆΛҐӍΛПҒЦꝆ Oh :/ Then you'll need to install those and run them too
 
@Doᴡɴɢᴏᴀᴛ Can you take a look at github.com/molarmanful/ESMin/blob/gh-pages/interpreter3.js and tell me if it's okay for the command line?
Also, just making sure, outputting a hexdump is a valid way to make the encoding valid, right?
Because then I could just use that in the web interpreter and be done.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ If the interpreter can take in the exact bytes from the encoding then it's valid.
 
Cool. I'll work on this tomorrow.
Also, quick question: what happened to Unicorn?
 
@ӍѲꝆΛҐӍΛПҒЦꝆ I was planning on moving it to a gist but they're plenty of interpreters on the "Interpret Unicorn" challenge
The only thing that doesn't look like it'll work is the XMLHttpRequests
which includes shoco...
 
6:27 AM
Oic
Anyway, I'll be going now. Bai
 
@ӍѲꝆΛҐӍΛПҒЦꝆ bye!
 
Anonymous
6:43 AM
Chat mini-challenge: show off as many Python language features as possible in 512 bytes
 
7:11 AM
512 is far too many :/
 
7:57 AM
1
Q: Generate 100 Java Tuple classes

Ray ToalWrite a script that writes to standard output, or your language's equivalent, 100 lines of (valid) Java code that beginning with: class Tuple1 {public Object _0;} class Tuple2 {public Object _0,_1;} class Tuple3 {public Object _0,_1,_2;} class Tuple4 {public Object _0,_1,_2,_3;} class Tuple5 {pu...

0
Q: Tips for golfing in Subleq

username.akTips for golfing in Subleq Subleq is a programming language with only one instruction. Each instruction contains 3 parameters. Code and data space is tne same. How it works: A B C A, B and C are signed ints. Instructions are executed in the next way: *B = *B - *A if(*B <= 0) goto C; One po...

 
 
2 hours later…
10:04 AM
3
Q: Choose Scenes in Pre-Production

insertusernamehereIntroduction Finally the movie company is financing your film. They have given you a maximum budget and they also set the running time of your movie. Now you can start with the pre-production. You have a bunch of scenes already planned, but not all of them will fit into the budget and the film ...

 
10:42 AM
0
Q: Go generate some Java

Filip HaglundYour boss wants you to write code like this: public static boolean isPowerOfTen(long input) { return input == 1L || input == 10L || input == 100L || input == 1000L || input == 10000L || input == 100000L || input == 1000000L || input == 10000000L || input == 100000000L ||...

 
Reminds me of this:
 
11:13 AM
@ӍѲꝆΛҐӍΛПҒЦꝆ github syntax highlighting is not liking that JS code
 
12:10 PM
0
Q: Accepting numeric inputs in mixed bases

Luis MendoThere seems to be agreement that numeric input is by default accepted in arbitrary bases (not necessarily decimal), such as unary. The linked meta-question doesn't address the issue of whether separate inputs of the same program can use different bases. For example, consider a program or functio...

 
 
1 hour later…
1:13 PM
Anybody here pretty good at Calculus and can help me with something really quick?
I'm solving the following:
 
I'm pretty good at calculus, probably top 1% out of all humans who have ever lived.
(The joke being that 99% of all humans who have ever lived probably don't know calculus.)
 
I wonder...
Would it be ok to golf our messages on this chat room?
 
I don't think that's worth the effort.
 
Like "Woud it b k 2 golf our msgs on dis chat room"
 
Probably not.
 
1:25 PM
I can't decide weither it would be funny to see people go that far in golfing or horrific...
 
The problem is we'd develop special languages to golf our messages
"How are you doing?" ";&rd#-."
 
@KevinW. That would be amazing !
 
2
Q: Tips for golfing in Jelly

LynnJelly is a tacit, golf-oriented programming language by our very own Dennis. It’s popping up in answers here more and more often, beating other golf-y languages like Pyth and CJam, both by using its own code page and its powerful chain system to succinctly express programs. Let’s collect some us...

 
2:25 PM
Whoa, fancy ...
 
2:37 PM
Where was that ad?
 
Sidebar somewhere on one of the SO sites - don't recall exactly where I snipped it from and I've since closed the tab.
 
I quite like the new wider ads
 
2:59 PM
JetBrains is slowly going mad. The new installer for R# allocates over 2GiB of RAM just during setup...
 
3:18 PM
1
Q: Duplicates with different restrictions or no restrictions

trichoplaxLong ago, this challenge was posted, with the restriction that no numbers may be used in the source code. Recently, another challenge was posted, this time without any restrictions on the source code. Both challenges have the same theme - the look and say numbers. However, the original challeng...

 
0
A: Sandbox for Proposed Challenges

indeedEfficient Scientific Notation code-golf math string The other day my chemistry teacher was explaining to us about scientific notation (using a small number and multiplying it by powers of ten to express large numbers more easily), which brought me back a few years to when I first learnt it. A...

 
 
1 hour later…
4:28 PM
@TimmyD It looks like one of those "God" billboards in terms of how it's laid out. It has me wanting to go grep a bible for "paint starry night"
 
Whoa, Computer Science got a redesign: cs.stackexchange.com
 
Does CJam's ~ just evaluate the string as CJam code?
 
@quintopia Well, the Bible does golf the names of books...
 
@TimmyD how does it shorten the book of Nathaniel?
 
@Zgarb Yeah, it's pretty neat ^^
 
4:39 PM
Well, the Book of the Nathan the Prophet is specified to exist 1 Chr 29:29, but no known copy has survived.
Here's the full abbreviation list
 
@quartata Yep!
 
@Lynn Hmm... thanks.
I'm trying to see how I should approach this in Rotor.
Currently I have two interpreters, one that evaluates input and one that doesn't. This is nice because it technically means that there isn't a byte penalty for a flag to not evaluate input. But the downside is that it is confusing to have two interpreters
I have to say "works in the eval/no-eval version" on every answer :P
 
4:56 PM
1
Q: Check work periods

DenkerAffeIntroduction Here in Germany the ruling on work times is very strict. If you work 6 or more hours a day, you have to take at least a 30 minute break. If you work 9 or more hours, you need to take a 45 minute break. If you work less than 6 hours, you don't have to take any breaks. Of course you ...

 
The other option is to just have one behavior and a flag to do the other behavior. But I'm not sure what behavior to make default
 
Or, you could have a meta-interpreter that determines if input is present and calls the appropriate sub-interpreter.
 
> Your code needs to be as short as possible because the output also has to be as short as possible.
 
@TimmyD But what if you write something for a string challenge and you get an input that looks like an array and so gets eval'd like one?
That's why I need to have both behaviors.
Most languages just don't evaluate input and have a built-in for it like ~ if you need it
 
@quartata Yeah, that is a slippery slope.
 
5:11 PM
yay 15 different interpreters
 
I could create 256 Pyth-derivative esolangs, one for each starting byte to prepend to a Pyth program
 
I'm thinking then the best approach is to make it eval input by default and have a flag to not eval input.
I suspect Rotor's biggest strengths will be in challenges once I finish it so ye
 
5:30 PM
@Lynn ಠ_ಠ
 
5:41 PM
@Lynn Much better: Make 65,536 of them.
 
@Dennis ಠ_ಠ
Even better idea: Reimplement MetaGolfScript in Pyth.
@AlexA. ಠ_ಠ
2
 
hahaha
 
@Dennis Why stop there? Let's make 256^100 of them!
Hard drive's the limit!
 
Because the interpreter has to exist before the challenge...
 
I looked at it so many times and could not understand it. Please explain to me this challenge? ^^"
47
Q: Evolution of OEIS

PhiNotPiIn this challenge, the goal is to recreate the On-Line Encyclopedia of Integer Sequences one sequence at a time. Similar to the Evolution of Hello World, each answer depends on a previous answer. Over time, this challenge will create a "family tree" of the OEIS sequences. It is simple to add o...

 
5:50 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ What do you not get?
 
How to answer. All the tree stuff is confusing
 
I chose not to follow that challenge because I didn't get it on first read either.
 
^ yeah. I was just like (ₒ_ₒ)ʷʰᵃᵗ
 
OK, well you pick an answer in the tree (let's say depth N), find an OEIS sequence that starts with the same N numbers as that answer's sequence, and post your answer generating the OEIS sequence at depth N+1 of the tree
 
depth = number of terms?
 
5:52 PM
@AlexA. or you can all come to Australia, where the weather is nice and sunny
 
Sounds tempting.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ If the depth in the tree is N, you need to find a sequence that starts with the same first N elements yes
 
@quartata So, say there is a previous answer of depth 5 that displays 1,2,3,5,8; could I post a solution for the first 6 Fibonacci numbers?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ You could post a solution that takes a natural number and outputs the Nth Fibonacci number, yes.
 
@Quill I feel like this is a ploy to get us all to convene beneath the hole in the ozone layer and get crispy.
 
5:55 PM
@quartata Could I implement a previous sequence? Or no.
 
That's assuming that the sequence the previous answer used wasn't Fibonacci :P
@CᴏɴᴏʀO'Bʀɪᴇɴ Once a sequence has been used I don't think it can be used again
 
@quartata Oh, okay.
How do I start a node?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ You don't have to pick an answer from the bottom of the tree
 
Oh. So... I could pick the OEIS node?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I think so yes.
 
5:57 PM
@AlexA. that hole is over antarctica, not australia...
 
@quartata So... I pick an arbitrary unused sequence and make a generator/etc. for it?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yeah. It looks like you can only make one Level 1 answer though
See the chaining requirements
 
@Quill Antarctica is same as Australia, yes?
 

« first day (1831 days earlier)      last day (3003 days later) »