« first day (1897 days earlier)      last day (2954 days later) » 

1:00 AM
Node is what happens when someone says, "I know, let's take this garbage client-side language and bring it server-side. That'll solve all of our problems."
 
I've never used Node or Python server. For CGI scripts, I'd probably go with Perl.
 
mod_perl is great.
PHP is usually a better tool though. It depends.
 
PHP is a tool alright.
 
All opinions are welcome but some are bad.
 
But PHP isn't objectively bad.
 
1:01 AM
Yes it is
 
JS actually has problems
 
@AlexA. The programming paradigm is really different though
 
There's a difference
 
node focuses on callbacks
 
@quartata That's objectively wrong.
 
1:02 AM
@MarsUltor The paradigm isn't what's wrong with JS, FWIW.
 
^
 
When it comes to paradigm JS is probably closest to a functional programming language which is great
No, I think the two big problems with JS are scope and type coercion
 
FWIW I wrote pl in Perl and it mostly works
 
Yeah, I mean node doesn't use scope often, it's pretty much 100% callbacks
 
1:04 AM
I don't care much about Java but I actively dislike Perl, so I'm going with Java.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Perl bashing happens half as often because it takes twice as long to type as JS
2
 
2
Q: Find the program that prints this integer sequence (Cops' thread)

Kenny LauThis is the cops' thread. The robbers' thread goes here. The last cops-and-robbers thread was already 4 months ago. The cop's task The cop's task is to write a program/function that takes a positive (or non-negative) integer and outputs/returns another number (not necessarily integer). The co...

1
Q: Find the program that prints this integer sequence (Robbers' thread)

Kenny LauThis is the robbers' thread. The cops' thread goes here. In the cops thread, the task was to write a program/function that takes a positive (or non-negative) integer and outputs/returns another number (not necessarily integer). The robbers task is to unscramble the code the cops used to produce ...

 
@PhiNotPi I voted Java but I meant to click perl
 
OK so that's 3 votes for Perl 1 vote for Java
 
1:05 AM
Blame hooves?
 
I think that's a win for Perl
 
:/
 
@PhiNotPi The masses have spoken
Plus I can actually help if you write it in Perl
 
> The masses
> 4 people
 
I'm really good at Java but I don't willing code in it nowadays
@PhiNotPi that's pretty massive for the Nineteenth Byte
 
1:06 AM
@quartata why not?
 
@quartata Strawpolls usually get about 9 answers in my experience but seem to cap there
 
@Dennis yes
 
@Dennis weshouldblamedoorknob.tk
 
random RPG.SE post
32
Q: Problems with minecraft happy druids

EscroteitorWe have a highly creative player that plays a druid. This PC tries to make "big digs" from the surface to any underground complex (crypts, strongholds, etc). He uses a combination of conjure animals (giant badgers for digging) and wall of stone (for pillars and beams). With this combination he ca...

 
@MarsUltor It sounds weird but I've burnt myself out on it. I've basically written everything I've made in the past 6 years in Java and the appeal of it has started to wear off and the problems with it starting to glare
Groovy is awesome though.
 
1:08 AM
@AlexA. That redirects to http://fn.hgin.com/&_=1460164057, which says connection refused.
 
@Dennis Yeah they couldn't repurchase the domain or something
 
@MarsUltor I said what I meant
@Dennis Yeah the site is no more.
 
@quartata Who's they?
 
flawr
I assume
 
@Dennis I think it's either Alex or disapproval face
 
1:09 AM
@quartata The thing is, normal programmers stick with one language they do well in
(obviously not in PPCG though)
 
@quartata flawr made weshouldblamedoorknob.tk
 
@MarsUltor I do; I stuck with Perl for most of my life. I shifted to working on Java for bigger projects because OO is easier in it.
Plus it was a better skill to have when it came down to jobs and shit
 
Maybe use C#?
 
Oh god no
 
C# is better than Java IMO
 
1:10 AM
Quick question about Code Jam: Do you have four minutes to submit a solution once you start reading the problem or once you download the test cases?
 
From start of download
 
@AlexA. That may be true but I still wouldn't use it
 
@quartata Why not?
 
@AlexA. They seem to be similar, except you can't really use C# cross-platform without nasty surprises.
 
@AlexA. It's also a lot more concise
 
1:11 AM
@Dennis is code jam happening?
 
@Dennis Mono has nasty surprises?
 
@Maltysen Qualification round
 
@AlexA. Oh, that just got that much easier...
 
@Dennis You can read all 4 problems up front before you decide to compete
 
@KennyLau Does that submission work?
 
1:11 AM
@MarsUltor Oh, yes.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Why not?
 
You just can't use the latest C# without nasty surprises
 
@AlexA. that means I can do it right?
 
@KennyLau Just wondering about the format.
 
@AlexA. Because as awesome as Mono is it's not perfect and I don't want to limit myself to one platform.
 
1:12 AM
@Maltysen I think so if you sign up now
 
Plus up until recently Mono was always kinda shady legality-wise
 
@quartata Well, you have .NET or Mono
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Does it appear in the OEIS?
 
Plus it's a Microsoft thing
 
@quartata mono is terrible. you're in bed all week
@KennyLau Yup!
 
1:12 AM
Microsoft has always rustled my jimmies
 
mmmmmMMMmmMmmmm
 
Can you guys make some PRs to this repo?
 
I will insta-upvote any answer whose OEIS number is in the sequence
 
@CᴏɴᴏʀO'Bʀɪᴇɴ oeis.org/…
 
1:13 AM
@EᴀsᴛᴇʀʟʏIʀᴋ -1 not enough <marquee>
 
@KennyLau It's in there.
Wtf are the _s?
 
@AlexA. brb fixing
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Someone said those blanks could be replaced by _s.
 
I'll just tell you my sequence in a private chat :P
 
@quartata Mono is not perfect, but it's good enough for almost everything.
 
1:14 AM
Can other people join a room for two people?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Please don't
@CᴏɴᴏʀO'Bʀɪᴇɴ I want to crack it xd
 
@KennyLau oh why not?
oh XD
I assure you, it's in there.
 
@MarsUltor The fact that they aren't perfectly identical means that there will be obscure edge cases I have to worry about which means that I have to learn those obscure edge cases which is 100% more effort than I would desire
Plus C# afaik does not have good OpenGL bindings
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Sure, but it is a(11) instead of a(10)
 
@quartata Use C++. It's good and does all things.
 
1:15 AM
@QPaysTaxes What do you mean?
 
@KennyLau really? foo
 
@AlexA. fak no I don't like C++ at all for several very eccentric reasons
If I have to pick a flavor of C I would pick vanilla C or Objective-C
 
@quartata What are said reasons?
 
@quartata opengl.org/wiki/Language_bindings#C.23 (Also, if there's an edge case, can't you just submit a bug report?)
 
@KennyLau Sorry, mine's zero-based, I messed up on the first one
 
1:16 AM
@quartata Objective-C and you're a Mac dev forever
until it goes 100% swift
 
@QPaysTaxes If I could produce a code which outputs the ... (just read the robber's task)
 
@AlexA. that sounds terrible
 
@AlexA. Objective-C is cross-platform
 
Linux has GNUStep, a port of the Foundation NextStep core library
 
@AlexA. I don't like the fact that they changed structures and unions from the way they worked in C
 
1:17 AM
@quartata Sure, but literally no one but Mac developers actually use it
 
@MarsUltor GNUStep is the same as Foundation, which is the stdlib. gcc is what compiles it
 
@quartata They did? Huh. I haven't used C so I only know those as they are in C++.
 
Also ObjFW is way waayy better than GNUStep for non-GUI apps
@AlexA. They basically made them weird forms of classes
Also I don't like having #include <algorithm> instead of say #include <algorithm.h>
Also I hate multiple inheritance.
I just flat out won't use any language with multiple inheritance
period
 
@Dennis why is 5 insomnia?
 
Doesn't Java have it?
 
1:19 AM
No.
Java uses single inheritance
Like sane languages
 
Multiple inheritance is when a class inherits from a class which inherits from another class?
 
No multiple inheritance is when a class inherits from two other classes
It's so dumb it's not even funny
 
Oh. You can do that in C++?
 
Yes
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Is it documented?
 
1:20 AM
@Dennis nvm 5 is the # of test cases ._.
 
You can even do that in python
 
@quartata why you say that?
 
@QPaysTaxes What do you mean?
 
@KennyLau Yeah
 
multiple inheritance is useful
 
1:20 AM
@Maltysen How should it work when you call super()?
 
spotty documentation but yeah
 
I guess you can do it in R too, but R's class system is incredibly garbage.
class(x) <- "y" and now x has class y
 
The fact that there is no obvious answer for that question is why
 
@QPaysTaxes What does decode do in your pseudocode?
 
@trichoplax It does? Damn good thing I don't do OO in Python
 
1:21 AM
@quartata the first class u inherit from
 
@Maltysen That makes no sense.
 
@quartata You can still use single inheritance... :)
 
@quartata but Python's self is so cool that that doesn't matter
 
@Maltysen Not talking about Python, talking about C++.
 
cuz you can do SecondClass.__init__(self)
 
1:22 AM
@QPaysTaxes It counts towards the bytes.
 
I'm sure Python does it beautifully
Doesn't change the fact that they had to work around the flaws in the reasoning of multiple inheritance when they shouldn't have had to
 
@quartata trichoplax brought up a good point. Just because the feature is available doesn't mean you have to use it.
 
is it bad if printsqrt4 properly outputs 2?
 
Single inheritance + interfaces (like Java) or modules (like Ruby) covers all the possible use cases for multiple inheritance and it doesn't suck
@AlexA. True, but like I said my reasoning was eccentric. I just won't use C++ on sheer moral grounds because of that
@Downgoat yes
 
D:
 
1:24 AM
@Downgoat What if I want a function named printsqrt? How will that end up parsing?
 
it will evaluate to printsqrt
the parser matches the longest operator possible
 
OK.
But why does printsqrt work like that?
 
@Downgoat That's in Cheddar?
 
@AlexA. I assume yes
 
Gross
 
1:25 AM
I love cheddar cheese
 
I do not find Cheddar cheese gross
^^
 
Well he's a vegan
 
oh
 
So he probably disagrees
 
Haha. I used to eat cheese but I'm lactose intolerant.
So what it does to me is gross.
I meant gross more in terms of the fact that such an operator would exist.
 
1:26 AM
Can you eat goat's cheese?
Did I ask this before?
 
I could but I wouldn't
No I don't think you did
 
@Downgoat Oh god, why?
 
@QPaysTaxes you can email me at the email adress found on my docs for jolf
 
My sister is also lactose intolerant (and isn't vegan) so she can have goat cheese
 
@Dennis because it's easy to parse
 
1:27 AM
@QPaysTaxes XD
 
word operators are treated just like regular symbol operators
 
@Downgoat That seems harder to parse unless you have a weird way of parsing
 
@AlexA. goat cheese is the best cheese along wiith Cheddar cheese
@quartata should 1+-1 evaluate to zero?
 
Yes
 
1:28 AM
@Downgoat Yes.
- is unary minus here.
 
I love goat's cheese. My only complaint is I have yet to find a blue goat's cheese
 
oh god please don't tell me what cheddar does here
 
@Downgoat No offense, but if you're making a real language, that's a terrible reason...
 
@quartata pretty much
its very easy to parse
 
Hmm, we should do a cheese poll.
 
1:29 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ What's the difference between ,r and ,R?
 
I love myzithra
 
@KennyLau none.
 
@Downgoat Just realised you mean "easy to parse for the compiler/interpreter". So you're getting the humans to do the machines' work? :P
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ...
 
@AlexA. nope so much nope
 
[RickrollEror: DIsguised link from strawpoll found]
 
dQw4w9WgXcQ = rickroll
Learn to memorize that
 
Jan 22 at 3:32, by Dennis
I chose ಠ_ಠ.
 
1:30 AM
Because apparently Alex is lazy and always links to the Vevo version
 
@trichoplax no, print sqrt 4 also works. it just happens to also work when you forget spaces
 
Dammit I burnt my chapati trying to rickroll you guys
 
@QPaysTaxes :3
 
@AlexA. Long overdue
 
@AlexA. ಠ_ಠ
why
 
1:30 AM
look at the source code
 
@AlexA. awh man sorry :/
I feel bad now
 
haha
It's my fault
I didn't have to rickroll you while I had chapati on the stove
 
@Downgoat But it shouldn't. In the face of ambiguity, refuse the temptation to guess.
 
:28879104
 
1:31 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Holy s**t
 
@Downgoat That's a line from the Zen of Python
 
@Dennis If you're happy and you know it, syntax error
 
@AlexA. syntax error!
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Delete link in 10 seconds
 
1:32 AM
also, printsqrt<number> may be a variable name
 
@AlexA. meaning that it looks like garbage... I wouldnt say it IS garbage
 
Try submitting it
 
While Perl does do functions as list operators like that, it also has a really clever system for handling it.
 
@epicTCK That's not what I mean. I mean it is garbage.
 
Just make functions have parens around them.
 
1:33 AM
@AlexA. You should probably have a bot for that, leaving you free to focus on Rickrolls
 
Haha I thought you were going to suggest a bot for rickrolling, but no, it's a bot for cooking so I can rickroll XD
 
3 mins ago, by quartata
dQw4w9WgXcQ = rickroll
 
@AlexA. I was, but then I changed my mind while typing...
 
that is also a sample of a perl program... ^^^
 
1:34 AM
Leave an upvote if you had fun cracking it :|
 
@QPaysTaxes Sorry :(
 
@epicTCK that is incorrect
dQw4w9WgXcQ = u 8ÃÕ ]Ä
 
@QPaysTaxes sowee, not the best doc-maker here
 
@Downgoat did you just jolf string compression that
 
@QPaysTaxes Same here
 
1:35 AM
@epicTCK no
 
@epicTCK that looks like teascript compression
 
@Downgoat the duhek did you do
 
Try 'em out :3
None of them are bad
they're all easter eggs
XD
I'll get you :3
 
Chat mini Challenge: figure out how I got dQw4w9WgXcQ = u 8ÃÕ ]Ä
 
1:38 AM
majik
 
I know jolf like the front of my claw
 
@QPaysTaxes @CᴏɴᴏʀO'Bʀɪᴇɴ Nice place to hide the built-ins.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ you don't have hands
you have claws
 
tru
@KennyLau ?
 
@Downgoat Compressed it with shoco?
 
1:39 AM
@QPaysTaxes well I guess you could implement whatever I did in JS but no
@quartata nope
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Seriously, you had two pages for documentations, and took years before I finally decided to check the second page.
 
@KennyLau XD
@QPaysTaxes I addd one after quartata suggested it
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Seriously
@CᴏɴᴏʀO'Bʀɪᴇɴ m - math expansion:

(tba)
 
I don't call that documented.
 
1:41 AM
I forgot about that
sh!t
 
@CᴏɴᴏʀO'Bʀɪᴇɴ No problem, it's here github.com/ConorOBrien-Foxx/Jolf/blob/master/src/jolf.js
 
@CᴏɴᴏʀO'Bʀɪᴇɴ sh factorial t?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Ctrl-F "Catalan"
 
@KennyLau yup! around 1081 is when the math stuff starts
^^ yup
 
1:42 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Didn't suggest so much as I posed a challenge involving it
but yeah hi I did a thing
 
@quartata you did before you posted it and I forgot to
 
@CᴏɴᴏʀO'Bʀɪᴇɴ By the way, does Math.JS have totient
 
@quartata yeah
 
What's the corresponding ! in Jolf
 
wait no
 
1:44 AM
It doesn't?
 
like, euler's totient?
 
> Zen of Python
-1 for false advertising
 
@QPaysTaxes w?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ yes
 
@quartata I think I implemented it elsewhere
Don't use the readthedocs site
no problem ^_^
Look in the source again :P
 
1:50 AM
There's documentation for all those in the modules.md
 
^
I forgot about that
 
Codejam gives 101 test cases, forgets that. >.<
The input doc has 101 test cases. My code generates all the answer. Screw them.
 
Not 1 line for number of test cases and 100 lines of test cases?
 
@EᴀsᴛᴇʀʟʏIʀᴋ it only gives 100 test cases
not 101
 
1:54 AM
53 secs ago, by Eᴀsᴛᴇʀʟʏ Iʀᴋ
nvm
 
This is super weird. I think something is wrong with my version of file-roller.
It seems not to extract subdirectories... ??
 
@EᴀsᴛᴇʀʟʏIʀᴋ NeoVim Magic?
 
@QPaysTaxes I forgot exactly what it does
only in arrays and strings iirc
 
@QPaysTaxes Are you making a cop's?
 
1:57 AM
Say I have 7 chars in a program. I only need to reveal 1, right?
Yes.
 
Ohh so that's why Sencha was saying it wasn't a framework
the directory structure got all messed up because I didn't check "recreate folders"
That's weird; why wasn't that on by default?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ What is this? github.com/ConorOBrien-Foxx/Brainbash
 
I guess that means it wasn't a tarbomb after all
 
@KennyLau Brainfuck with 2 tapes
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Is it an ongoing project or what?
 
1:59 AM
It's mostly finished, why?
 

« first day (1897 days earlier)      last day (2954 days later) »