« first day (2188 days earlier)      last day (2648 days later) » 

4:00 AM
@ATaco Obligatory?
 
I saw it coming and ran straight into it
Always.
 
@ConorO'Brien lmao "If you're still here, then there's something wrong with your browser."
 
Will something like code[1] when int[] code = new int[] {} throw an error in Java?
 
Yep.
Index out of bounds Exception.
 
What about code[-1] for any length code?
 
4:02 AM
I think so..?
I think int[] code = new int[]{}; System.out.println(code[0]);will error at Compilation.
 
@ConorO'Brien How did you do that?
 
@Qwerp-Derp Will always error
 
I can't find the repo with that code
 
@TrojanByAccident well, it's my github site...
 
I am corrected, it errors at runtime if size isn't implicitly specified.
Also, code[-1] does always error. At runtime.
 
4:04 AM
52 secs ago, by TrojanByAccident
I can't find the repo with that code
 
There's no such thing as a compile-time index out of bounds exception in java.
 
As I've noticed.
When I'm writing Java, I'm handheld by Eclipse.
 
IntelliJ>Eclipse
 
@ConorO'Brien ah
 
4:09 AM
Hey Pavel, You should check out Tacobot in BeepBoop.
He needs to learn how to speak.
I tried training him on various Wikipedia Articles, but he just started giving out incorrect facts.
 
Who's user number 1 on PPCG?
 
Martin, Followed by Dennis.
 
Like the first user to register on PPCG
Not the first by rep
 
Geoff Dalgas ♦, Corvallis, OR
101 2
 
So e.g. in this challenge I found this user who's 15th
Oh that's how it works
 
4:16 AM
The first user who's actually active is CJY
 
@DJMcMayhem But that's no.2 though
No.1 is Jeff Atwood
 
@Qwerp-Derp 97
 
What I'm confuse
 
Which is actually quite hilarious if you ask me
 
(Insert inception horn)
 
4:21 AM
0
A: Sandbox for Proposed Challenges

darrylyeoThree-Three-Three! Write a program that produces an output such that: At least three distinct characters appear. The number of occurrences of each character is a multiple of 3. For example, A TEA AT TEE is a valid output since each of the 4 distinct characters, A, E and T and (space), occurs...

 
How can you have only 101 rep, and yet 17 badges?
 
@DJMcMayhem Yeah, but when it comes to Publicist, being Jeff Atwood is practically cheating. :P
 
WTH Jon Skeet is 22,656th user on SO
I expected like 1000th or 500th or something around that
 
4:25 AM
I expected 333
or 1337
 
in Beep Boop Maggot, 2 mins ago, by ATaco
TacoBot: Alright, I've cleared TacoBot's brain of all that useless goat knowledge.
 
He kept saying false facts about goats.
I couldn't have this.
 
@TrojanByAccident I like 1337 better
Here's the No.1337 user on SO:
I thought that looked familiar until I saw his PPCG account
 
Isn't that the guy that tried to answer a bunch of questions with that strange language which he couldn't actually prove the Built ins existed for?
 
lol
Who else here has a language with a one-byte helloworld?
 
4:34 AM
Hi.
 
@ATaco No.... Brad is a Perl 6 golfer
 
My mistake.
 
Although I suppose Perl 6 fits the description
 
When was perl made anyway?
 
@Qwerp-Derp Perl 6 is not Perl
 
4:35 AM
A long time ago
In a galaxy far far away
 
@quartata What's the difference
@ATaco Is your last name actually Lemon?
 
Yep.
Strangely enough.
 
Perl was 1987 so not that old
 
That's pretty old.
 
Ehhh, Python came out 8 years later I think
 
4:37 AM
Qwerp, Were you stalking my RProgN..?
 
@Qwerp-Derp Way way too complicated to get into. They are very different languages though
Python was 1991
 
@ATaco I went on your GH account
Through the RProgN2 repo
 
I still need to work on RProgN2, If I get Function definitions implemented than everything else is a piece of cake.
 
WTH is DM, it looks like a very complicated version of C
@ATaco Now I'm stalking your GH projects if you haven't noticed
 
Enjoy it.
 
4:43 AM
@quartata Oh wait JS came out 8 years later right? In 1995?
 
@Qwerp-Derp I'm waiting for my computer to be fixed, sorry. So, not until Friday or later
But I'm happy to help you with any questions
 
@NathanMerrill Aww...
How do I import the KoTHComm library?
Is there a .jar?
 
Alright, I've got Tacobot's Brain running in here. He'll be able to learn from here, but he can't talk.
 
@ATaco Because Tacobot definitely won't learn to ping people if you leave him in TNB
 
I'm neutralizing pings they learn from here.
We've all up and shut up now, haven't we?
 
5:00 AM
All the Europeans have gone to sleep, as have many on the East Coast.
Me and my friends are entering a hackathon this Saturday. Our captain decided to name us for i in team:
17
 
@Pavel Hahahaha
 
Anonymous
@Pavel That's brilliant
 
I appreciate that.
 
@Pavel I like your captain‮
 
@Pavel I would say this is good name but then again python. Please urge team captain to change to for let i in team {
 
5:14 AM
Is that JS?
 
I don't think Aus has good hackathons
The only good thing for programmers my age is ProgComp
 
It's not a "good" hackathon, my school is putting it on. On the other hand, free tshirt+pizza.
 
ProgComp 2017 is in May :(
 
PPCG is a constant, 24/7 hackathon, but without free food.
 
What's Google Code Jam?
How does it work?
 
5:17 AM
You can look at practice problems.
 
@Pavel at least your scohol has them :P our school can barely manage football games >_>
 
@Pavel ;) nice
 
@Downgoat in js for i in team and for let i in team do pretty much the same thing
 
neither of those are valid JS though :P
so yeah, both throw error
 
for (Object i: team) could work
 
5:20 AM
all you need is to throw in the parentheses
 
My school is pretty cool. For ~400 students, we now have 2 laser cutters and 4 3D printers, but no sports program.
 
Speaking of which I just realized I don't have any friends who know how to program :(
 
@Pavel wtf
 
Actually I don't really have any friends :'(
yay I made myself sad
 
And exactly 1 regular color printer.
 
5:21 AM
I wish my school had 1 3d printer
 
@Pavel WHERE IS THIS SCHOOL???? I MUST GO THERE NOW.
 
@Downgoat Don't worry, that's most of us‮
 
it can't be true. I simply don't believe it.
 
@AshwinGupta We all need a school like that‮
 
@Pavel I want to move to the US now just to go to the school
 
@TrojanByAccident programming is cool too, football is for nerds
 
@Downgoat I actually hate football
 
I agree
well american football at least, it does not make very much sense to me
 
i used to have quite a few good friends but they all went to different high schools. So now not so much. Ive gotta meet more people xD
 
5:22 AM
Australian football (or "rugby") makes even less sense
 
Ooh @Pavel It's in washington
 
whistle blows. Everyone jumps on one guy. whistle blows again. Some guy does arm movement and crowd goes crazy
basically football in nutshell
 
@Pavel cool, But, you know for a "STEM" high school this webpage is awfully slow and crappy.
 
@AshwinGupta I think your internet is bad...‮
 
@Downgoat you forgot about the 10 minute break in between the first and second whistle blow.
 
5:23 AM
Eww default.aspx
If you can survive watching a cricket game in full without getting bored, I salute you
 
@AshwinGupta It's from the same template used by the rest of the district.
 
@TrojanByAccident 60 mbps download. Not bad?
 
@AshwinGupta still super slow on 150mbps internet
 
@Downgoat the page you mean?
 
yes
 
5:24 AM
yeah they are having server issues I think
oh wait nvm now its fine
 
One of my friends from california moved to wa
I would totally move out there to go to that school if I could
 
I should probably do that too
 
Washington seems better than California
 
sigh everywhere is better then CA
 
5:25 AM
but I still get to keep #WestCoastBestCoast
 
It's a public school, but there's a kind of 'lottery' you have to win.
 
@AshwinGupta not really, basically only Washington
 
I don't understand this American talk :(
 
If I had the money, I would pay you guys to move there to go to school :P‮
@Pavel explain. I smell something ><>shy...‮
 
@Qwerp-Derp let's talk about goats instead how about? :P
 
5:26 AM
I'm going to NY like later this year, anything to recommend?
 
@Qwerp-Derp CA has nice weather, great schools and stuff, BUT its expensive as hell
 
@Downgoat 150mbps? WTF, I get like 30... :(
 
@Qwerp-Derp don't broadway
 
@DJMcMayhem D: Comcast too?
 
@Qwerp-Derp are you talking about vacation or living?
 
5:26 AM
lady liberty
 
@TrojanByAccident Like I said, 400 students. Basically everyone wants get in. Do the math.
 
@AshwinGupta Vacation duh
 
@Downgoat Yeah
 
@AshwinGupta depends which parts. North cal is very different from SoCal
 
@DJMcMayhem You're lucky, I get 5mbps
 
5:27 AM
@Pavel Basically everyone? That means the chances of getting in are less than 1 to 7e12
 
@Qwerp-Derp You're lucky, I have to pay for it. :P
 
@Qwerp-Derp oh, awesome. 1) Play Pokemon Go and get yourself a Tauros (which I assume you don't have seeing as how you don't live in the USA) 2) Go to World Trade Center, the new building is very cool. 3) Go eat at some fancy restraunt. There are some really good ones. Pizza is really good there.
@Downgoat I'm in SoCal. Orange County
 
ah
 
@AshwinGupta Pokemon Go = dead
 
@Qwerp-Derp ;) still, you never know it may come back one day with a vengeance.
@Qwerp-Derp now if you feel like driving a bit (3-4 hours or so) you can get into Washington DC, there is a lot of cool stuff there also
I'd HIGHLY recommend Smithsonian Air and Space museum
 
5:31 AM
The major difference between Washington and the rest of the world is that in Washington, most people use Bing.
 
If you feel like driving a little bit further, (27-28 hours) you can see Colorado, lots of cool stuff there. :P
 
barfs
 
@Qwerp-Derp don't forget Statue of Liberty, and Central Park, those were interesting
@DJMcMayhem errr, well....
 
@Downgoat oh yea central park is really nice
 
I guess you guys have lots of goats
 
5:33 AM
@DJMcMayhem Colorado? In the summer? What are you going to see? Rocks?
 
@Pavel OK I'm not going to Washington anymore :(
 
@AshwinGupta they have magazines with goats in them:
 
@Downgoat #NoCalLikeSoCal
 
@Downgoat Uuuhhh OK?
 
@Downgoat wow, is that a goat retirement community?
 
5:34 AM
I think so
 
TIL we have magazines with goats here
 
you should reserve a spot there.
 
@AshwinGupta I've never been out of the country, I have the regional pokemon from every region
 
Or if I drive for 43 hours I can go to California
 
@AshwinGupta too expensive for me :(
 
5:34 AM
@TrojanByAccident same, hacked it?
 
once I get job I'll be able to afford it though
 
@AshwinGupta Yas
 
apparently experienced react devs can request like $180K which is crazy
 
Clearly I should learn React.
 
@Downgoat maybe you can pull a cart or something, famous goats have made a good living that way.
 
5:35 AM
No
 
@AshwinGupta Camping, Rock climbing, (My personal favorite), hot springs, canyons
 
Clearly you should become a game dev
 
@Downgoat oh I see you mean for REAL
 
@AshwinGupta lemme see if Queen Elizabeth has an opening
 
make a game better than undertale
sell it on steam
become rich and famous
get a youtube channel
 
5:35 AM
TIL Spain to Brussels is about 3* shorter than NY to California
 
become more richer and more famouser‮
 
> better than undertale
triggered
 
@DJMcMayhem Ok ok true. I mostly like skiing. I've never been to Colarado. I've been to Utah though.
 
@DJMcMayhem never said it was possible
 
Skiing is awesome. Utah is pretty sweet too
 
5:36 AM
just said to do it
 
Moab has some of the coolest scenery I've ever seen
 
@DJMcMayhem yeah I just go up here at Mammoth. Its only like 5 hours drive from my place. Or Big Bear which is actually only 1.5 hours but getting up the mountain takes another 45 minutes.
 
I've been there ^^ before
 
I'm a bad skier though.
 
I think taking a roadtrip through Oregon to Utah through Idaho is best way to experience US
unless you really really want to see urban cities
 
5:38 AM
@Downgoat Northern Idaho is probably my favorite place on earth.
And the Redwood forest is amazing
 
Utah is super amazing for star-gazing
 
I think my favorite place on earth is the restaurant at IKEA.
 
@Downgoat I prefer landing at LAX, waiting for a boarding gate for 45 min, walking through a mile of tunnels to get to baggage claim, waiting 30 minutes for your bags to come off the plane, then another 45 for the enterprise shuttle to come get you ;) Thats the real US expierence
 
I need to ask a serious question.‮
 
@Pavel I like Costco's better.
 
5:40 AM
Meatballs.
 
Am I the only one that inserts U+202E at the end of every post, just in case I get starred?‮
 
Yes
 
@TrojanByAccident yupppp
 
@Pavel TIL this is a thing
 
I see.‮
2
 
5:41 AM
Wtf does that do and how do you do it?
 
Well then.‮
 
@Downgoat :O they have the most awesomest meatballs evar
 
@AshwinGupta Star my post and find out :P‮
 
@Pavel pizza..
 
Speaking of food, does anyone know when the national park changed food providers? It used to be really good and now the food is not so amazing :/
@AshwinGupta Coscto pizza is OK. too damn oily
 
5:41 AM
@AshwinGupta I haven't seen mammoth before, but from google images it looks extremely similar to lots of colorado
 
IKEA meatballs are godlike.
 
It'll soak through like 3 napkins
 
@DJMcMayhem its very nice when there is actual snow.
 
@AshwinGupta now look at my post on the starboard‮
 
oh
thats retarded it reversed ur name
 
5:43 AM
‮@AshwinGupta I guess not, huh?
 
XD
How do you insert that char?
backslash?
 
no‮
 
Now I will admit, if you do want a pizza, Costco is definitely where it's at.
 
Can we do starboard abuse in Sandbox instead of TNB
 
@Pavel yes
 
5:43 AM
I use a program called unicodeinput‮
 
But you can type it with the numpad I think
and on mac/linux it's easier
 
I'm bad at skiing
 
Or you can use vim: i<C-v>u202e<esc>"*yl
 
@AshwinGupta Goats just have a way with mountains I guess
 
5:44 AM
The hardest ones I've done are St Moritz, and Cyote at Mammoth
 
@DJMcMayhem How would that look like in V?
 
oh and Chair 1 which I think is broadway.
 
@Pavel Exactly the same. Except that if you can't copy to the system clipboard there's no reason to do "*yl
 
How do you input <C-v> into V?
That's Ctrl+V, right?
 
@DJMcMayhem I have it copied to my system clipboard, wym?‮
 
5:47 AM
@Pavel Yeah, it's kindof a pain to enter. I just use vim because it's easy for me, but I'm working on making it easier
@TrojanByAccident I meant if you're using vim, then "*yl will yank one byte to the system clipboard but I don't think it would in V. (Especially if you're using TIO)
 
@DJMcMayhem oh
 
@DJMcMayhem I'm actually trying to work on that right now, but I haven't made any progress because I have a TNB tab open... :/
 
Aug 7 '15 at 18:38, by aditsu
abandon all work, ye who enter here
 
6:13 AM
@Zgarb Do you have an easy way of generating more test cases for your grid challenge? I think my algorithm is solid, but I'm not so sure about two optimizations.
 
6:27 AM
@Dennis Does combinatory logic count as a programming language?
 
@Dennis Could you pull V? (Fingers crossed, I hope I didn't break anything)
 
@DJMcMayhem Done.
@Qwerp-Derp Does it have an interpreter?
 
Uhh yeah, ski.aditsu.net
aditsu made one, and it works really well
@DLosc Do you mind if I make a snippet on the Showcase for tinylisp?
 
Cool, now verbose mode works but it broke my keyboard answer... :(
 
Am I the only one that uses functions as code blocks?
 
6:33 AM
I really wish tinylisp was in the online interpreter, but I probably have to ask DLosc if he wants to put it up
 
Rather than having a comment in there, I mean
 
@Dennis Yeah, I'll generate some later today.
 
@Zgarb Is something like \x.(x y z) -> (S \x.x \x.(y z)) allowed?
 
If it behaves the same way, I don't see why not.
I'm going out, be back later.
 
6:58 AM
@Dennis Sorry about that, I've fixed some bugs. Could you pull again?
 
@Qwerp-Derp Sure, go ahead! (Honestly, I didn't know anyone but me was interested in it.) Putting it on TIO would be great--I might have to modify the interpreter to make REPL not the default mode, will look into that.
 
Whaddya expect, I like Lisp languages (I like Clojure, and tinylisp looks interesting)
 
@DJMcMayhem Pulled.
 
@Dennis Can you push tinylisp?
@DLosc Also, thanks for the approval!
 
@Dennis Thanks, I appreciate it.
 
7:03 AM
@Qwerp-Derp You mean add as a new language?
 
Yup
 
Tomorrow. It's 4:00 and I'm tired.
Leave a message in the TIO room so I won't forget.
 
7:16 AM
@Qwerp-Derp Lisps are cool. :D I'm strongly considering git cloneing Parenthetic so I can play around with it.
 
@Zgarb Thanks in advance. No rush from my part. I should be heading to bed anyway. Below are all 3x3 matrices for which my two answers differ. I tried comparing notes with the Pyth answer, but it doesn't agree with either of my answers. At least 2 of these 3 answers are wrong...
 
@DLosc Wait what's Parenthetic about?
It looks really cool
 
It's a Lisp dialect with a smallish set of builtins, using only parentheses.
Could be good for some restricted-source challenges.
 
I'm almost finished with my own version of the pigeonscript interpreter
 
(And it's a bit less confusing than Parenthesis Hell, which is a similar concept.)
 
7:25 AM
I just need to fix a problem where 2! causes an infinite loop
Nvm, all factorials are causing an infinite loop
:/
found the problem
it checked whether i was less than n each time
and n was increased each time
lol
Awesome
currently it can do math
 
@DLosc I made the tinylisp answer! codegolf.stackexchange.com/questions/44680/…
 
32!+ == 43
fail
 
@Qwerp-Derp Yay! Let me know if you want ideas for snippets (or have ideas for language modifications).
 
66666*^!/+- causes another long loop
 
Nah, I should be fine - I'm planning to make a snippet a day for a while
 
7:32 AM
not sure if it's infinite, but the editor can't handle it
Alrighty
now, time to finish writing up the specs
 
7:45 AM
I just played Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist
Incredible game, it costs 0 dollars and it's about 20 minutes long, I could not recommend it more
 
@Dennis Your shorter Jelly answer is wrong (fails on input [[1,0],[0,1],[0,1]], which should be truthy).
 
Alright, thanks. Shoot. That leaves the question whether my longer Jelly answer or the Pyth answer (or both) is incorrect.
 
The longer answer agrees with the Pyth solution on those 3x3 inputs though.
Did you have an example input where they differ?
 
Oh, that was an error on my end. I somehow managed to reverse the test cases (last came first).
 
Ok, good. Then your longer answer is probably correct.
 
7:54 AM
No idea how that happened.
Well, as a brute-force solution, it should be. :P
 
Brute-force is always right‮
 
I added a couple of small test cases anyway.
 
Alright, thanks.
 
8:37 AM
@DLosc This should be the correct function for a successor right?
(d succ
  (q (
    (n)
    (s 1 (s 0 n)))))
 
Yes, that looks right.
 
Uh hang on I'm going to make a prime checker
 
(succ function tested, works as advertised)
 
8:56 AM
Alright I think I have a prime tester
(d div?
  (q (
    (num den)
    (i (l num den)
      (i num 0 1)
      (d (s num den) den)))))

(d prm-help
  (q (
    (n orig)
    (i (e n 1) 1
      (i (div? orig n) 0
        (prm-help (s n 1) orig))))))

(d prime?
  (q (
    (n)
    (prm-help n n))))
 
wtf is that‮
 
@TrojanByAccident tinylisp
 
^_^
 
Does it work?
 
8:58 AM
Oh, you don't have a local copy to test?
 
Nah
 
I see. One moment...
 
I'm currently waiting for the TIO thing to work
 
0
Q: Find the shortest Golomb rulers

FatalizeGolomb rulers are sets of non-negative integers such that no two pairs of integers in the set are the same distance apart. For example, [0, 1, 4, 6] is a Golomb ruler because all distances between two integers in this set are unique: 0, 1 -> distance 1 0, 4 -> distance 4 0, 6 -> distance 6 1, 4 -

 

« first day (2188 days earlier)      last day (2648 days later) »