« first day (2205 days earlier)      last day (2638 days later) » 

wat
12:15 AM
well, that dance off happened
I have a video if anyone wants to see
 
12:28 AM
I need help with IntelliJ stuff
 
@AdmBorkBork is there something I need to know about .__.
 
user165474
12:54 AM
github.com/alexander-liao/java-public/tree/master/programs/… A simple esolang inspired by PhiNotPi's challenge codegolf.stackexchange.com/questions/3809/…. Suggestions welcome :)
 
@Pavel Are you on?
 
1:21 AM
Bkero
Working on editing a video
14
A: Random Password Generator

JP HellemonsThis solution has a small footprint. CPU friendly. Guaranteed to be random! source: http://xkcd.com/221/

 
1:42 AM
0
A: Sandbox for Proposed Challenges

jmorenoA simple challenge: Shortest program that takes the longest to compile.

 
@Dennis thanks, that was faster than I expected
 
This isn't something I'd want to test, but if stars transfer when a message is moved I bet flags transfer too. The only difference is that the flag notification would probably show the old room until refreshed
 
hm
 
2:04 AM
0
A: Sandbox for Proposed Challenges

JungHwan MinMathematica Challenge #1 - MorphologicalComponents code-golf Sections in italics are comments for Sandbox People say Mathematica has so many built-ins that can do complex tasks with just one command... but how complicated are those tasks? Let's find out by implementing some Mathematica functi...

 
2:33 AM
0
Q: Find the outcome of a game of War

CarcigenicateFind the outcome of a game of War When I was in elementary school, there was a "Rock-Paper-Scissors"-ish game we'd play during assemblies, when waiting for our teacher, at recess etc. We called it "War". After some searching however, it turns out this is a much simpler variant of the "Shotgun Ga...

 
 
1 hour later…
3:50 AM
Question: should structs be passed by copy?
 
@Downgoat It depends on what you want to use it for. Probably not though.
 
ok, another question: is this nice syntax for singleton?:
let obj = { foo: 1, bar: 2 } class (public foo: number, public bar:number) {}
without designated singleton syntax:
class Foo(public foo: number, public bar:number) {}
let obj = Foo { foo: 1, bar: 2 }
 
I don't know. I'm not really sure what a singleton is
Not really a computer Science, sorry
 
@WheatWizard basically a class which is only supposed to have one object made from it
avoids:
class Program { .... }
let prog = new Program();
prog.start();
 
Is that like an Anonymous class?
 
3:58 AM
yeah, I suppose so
 
4:09 AM
Hello
Yes my command line thing works!
 
nice
 
I made a Java class that lets you add command line arguments and allows you to run arbitrary Java code whenever your command line argument is typed
I'm configuring my help thing now
 
hmm
console where you make the commands?
 
Uhhh you add the commands in your Java code
cmd.addArgument(short_name, long_name, docs, function)
which is cool :)
You also have to specify a cmd object though, I'm not sure if that's a good thing or a bad thing
 
4:25 AM
¯_(ツ)_/¯
 
Yeuch eval
 
5:14 AM
@Qwerp-Derp I am now, am I too late?
 
@Pavel Uhh a little yeah, I solved all of my problems
 
Well that's great!
 
List of commands:

-r, run:
  Runs a local Pyramid file

-w, write:
  Creates a new Pyramid file
Does this look like a good prompt thing for a help page?
 
I thought of a name for a new programming language, so just for the record, I have dibs on "Evidently"
 
wat
5:30 AM
I just made up a name for a programming language
Limburger
 
I just made up one too
"Math"
 
Alright if anyone makes a golfing language based on Excel they have to name it Excelsior
Because why wouldn't you?
 
@PatrickRoberts You're not allowed to do that.
@Mego has rights to every adverb for programming language names.
 
Why not?
BS
 
Anonymous
It's (jokingly) true
 
Anonymous
5:36 AM
I don't actually have rights to the sole use of adverbs for programming language names, but it's often joked that I do, due to the fact that every language I have created or planned has an adverb for a name
 
Anonymous
Also I just came back from a pub, so if people need a room owner's help, they should probably ping someone else :P
 
You have your adverbs, I have my food. :P
 
Anonymous
@Dennis Is M tasty? I've never eaten it.
 
Sure you have. Usually two at a time.
 
Anonymous
5:41 AM
Ok I feel dumb now
 
Anonymous
What about SESOS? What food is that?
 
Wasn't it brains?
 
It's Spanish for brains.
 
Anonymous
And ShapeScript?
 
OK, you got me with that one.
 
5:42 AM
Hahah yes I ninja'd Dennis! My life is complete
 
Anonymous
I should've started with that one, but the whiskey elevened my brain
 
(And before someone asks, Wardoqs also aren't edible.)
 
Are BrainFucks edible
 
Anonymous
I really don't recommend finding out
 
@Mego "Shifty"
 
Anonymous
5:48 AM
@Pavel That's a WIP name
 
Got it.
@Dennis What is a Wardoq?
 
Nothing, really.
 
Anonymous
@Pavel Nothing, what's a Wardoq with you?
 
Huh. I've always wondered if that was a reference, or a pun, or something.
And there's Mego with the pun. (I think, it's pretty awful if it is)
 
Anonymous
You can always count on me for the VLQ humor
 
5:54 AM
@Pavel It's composed of the unique letters and punctuation characters of Hello, World!, A for addition, P for primality, and Q for quine.
 
Got it.
Jan 17 at 20:23, by trichoplax
Evidently
The entire thread below should be full of inspiration
 
Lemme think of a name
 
Anonymous
I took part in that. You think I don't already have a document with all of the adverbs?
 
John cena
 
kek
Johncenily
 
5:57 AM
@MatthewRoh That is a dead meme (RIP John Cena 20XX - 2015)
 
:\
Ok
 
CMC: How many memes have been killed in 2016?
 
"Lenny"
 
Does a CMC have to result in a program?
 
idk
maybe yes
 
6:01 AM
@Mego I'm particularly fond of 'Insidiously'
 
Wait what's VLQ again
 
Very low quality
 
hi
 
time to test my koth!
probably won't work, and I probably need to add an ascii output mode as well
 
@aditsu Hello, yello!
 
6:09 AM
heh, CMC is also the name of the place where I spent this week
 
eh?
 
M is for Medical
 
Central Medical College?
 
"let's go skating" she said, "it will be fun" I said, now my right wrist is about 10% more metal \m/
 
How metal was it before?
 
6:11 AM
\o/
 
it wasn't metal at all
 
So if it's 10% more metal then it's still not metal, because 0 * 110% = 0?
Or do you mean 10% in the additive sense?
 
You will recieve your allotment of sympathy after we verify your math.
 
@aditsu I think we're skipping the overarching question of "are you alright?"
But are you alright?
 
10% added metal to the previous contents, or something of the sort
 
6:14 AM
@aditsu You're implying by "previous contents" that you had metal in your arm -_-
 
So 10% became metal? Or is your hand now 110% of its original mass?
 
well, unless his wrist got impaled by a spike which contributes the 10% metal, the metal is probably part of a medical treatment, and when he said he spent time there last week, it vaguely implies he isn't there anymore
 
@DestructibleWatermelon Or a blade of an ice skate
 
@Pavel it is and really feels like the latter
 
Can you still write and stuff?
 
6:18 AM
also now I need to write a koth bot for my koth
 
@DestructibleWatermelon You're still doing the maze KOTH right
 
yup
@aditsu unless they did like, an arm liposuction, wouldn't your arm necessarily have gained mass? puts hands to chin contemplatively
I kind of feel guilty for editing that twice
 
@Pavel not currently, will take time to recover
 
> have necessarily have
 
@Qwerp-Derp >:P
so now I'm not really sure where to start with this thing
 
6:21 AM
@aditsu FeelsBadMan
@DestructibleWatermelon Write an emo wolf
 
starting to think maybe my thing is too complex.
 
Replinsanity
 
@Pavel but how will that test whether it works?
well, guess I have to anyway...
 
@DestructibleWatermelon Not well, but step one is making sure it doesn't give a runtime error instantly.
 
Towerfall's "dance of the sun god" is good music
like the rest of it I guess
ok I made the emowolf
 
6:27 AM
@DestructibleWatermelon emowolf = dead ppcg meme
 
just need to chmod these things
@Qwerp-Derp yes
but that is why I will not post it
if you like you could make me a quick bot please?
 
MatPat's videos are getting worse and worse :(
Or maybe they've just grown out of my taste IDK
 
@DestructibleWatermelon Where's the controller?
@Qwerp-Derp No I agree with you
 
@Qwerp-Derp I guess I'm alright within the context of the situation
 
I've unsubscribed
The only videos in GT I like are the ABH ones
 
6:29 AM
thanks for the concern
 
ABH = a brief history
 
The RO notificaiton has been pinned for two days
I think everyone knows by now
@Dennis can you unpin it so we can fit more memes on the starboard?
 
@Pavel on my computer
the one on floobits is very out of date
 
5 mins ago, by Destructible Watermelon
if you like you could make me a quick bot please?
 
ok, everything dying on EOF
 
6:34 AM
But... controller?
 
@Pavel what the heck is that?
 
@aditsu Magnetic ball in magnetic slime
 
ok but why is it spinning heaps
 
Black magic
 
6:39 AM
ok, how to make my subprocess not choke on EOF
 
What did you write it in?
 
ok this is not going to work as well as I hoped
@Pavel well, it reads input but gets annoyed that I haven't put any in for it yet
EOF error
EOFError: EOF when reading a line
 
No, what lang did you use
 
python3
also now python3 is getting irritated
with my commands
shit
io.UnsupportedOperation: read
 
try:
    #YourCode
except EOFError:
    #DoStuff
 
6:45 AM
well
that'll just be great won't it
explicitly avoiding errors that happen every time
 
Actually I think it's except EOFError e: but that's not the point.
 
also I want to figure out how to get the unsupported op fixed
 
@DestructibleWatermelon iirc Python 3 doesn't have performance loss for exception handling.
 
feels kind of eugh
 
import sys
input=sys.stdin.read()
Or readlines() for an array of strings instead of a string with newlines
Then parse that
 
6:49 AM
ok, so how to fix the issue the controller is having
which is that the command doesn't exist
yay
 
Uh, what exactly does the error look like?
 
running it in the ide
 
That's odd
What's the code that runs it?
 
Traceback (most recent call last):
  File "/Users/__/Desktop/maze_koth/game.py", line 234, in <module>
    playfield = Playfield(maze_stuff[0], maze_stuff[1],(bots[first_bot], bots[second_bot]))
  File "/Users/__/Desktop/maze_koth/game.py", line 60, in __init__
    self.play()
  File "/Users/__/Desktop/maze_koth/game.py", line 110, in play
    move = unit.play(self.scores)
  File "/Users/__/Desktop/maze_koth/game.py", line 34, in play
    response = self.bot.stdin.readline().decode("utf-8").split()
is it not right there?
what on earth?
I guess it just hasn't got any output yet
how to make this work good?
 
Uhhh I'm not really sure.
So each bot has it's own i/o stream?
 
6:56 AM
yes
hmm
it just seemed like this should be the easy part
@Qwerp-Derp halp you've done this stuff right?
 
What if every bot has a method get_response() that returns a string instead of going through StdOut/In?
 
I just saw a terrible joke on fortune
"What regular expression do you often see around Christmas?"
[^L]
 
@Pavel Excellent reason to unpin something...
 
@PatrickRoberts I don't get it...
 
@DestructibleWatermelon "Noël"
 
7:04 AM
What's that?
 
@PatrickRoberts wouldn't that be
^[^lL]*$
 
@DestructibleWatermelon shrug Just another reason why it's a terrible joke
 
lol
wew
 
There's a room for that
 
sorry
but overexcitement
 
7:16 AM

Sandbox

Where you can play with chat features (except flagging) and ch...
 
I need help with making subprocess.Popen work pls
 
wat
try not using #{self.language}
 
# is a comment
So that would be pointless
 
True
 
wat
@Pavel in a ruby string, #{<code>} performs string interpolation
 
7:27 AM
Oh. Ruby. That makes sense
 
Ah
 
wat
like for example, "2+2=#{2+2}" would output 2+2=4
 
also I'm sending those messages with my javascript skillz
 
So that code snippet always returns either #{self.language} literally or Ruby?
 
7:28 AM
@MatthewRoh You are typing a function call into the console
That's not rocket science
 
I guess I'll just go and remake the entire controller then
 
Well I didnt
 
Oh?
 
But its still not rocket science
Function calls didnt work so I manually set the inputarea's value and clicked the button with each jquery functions
If you want I can share the code
 
ಠ_ಠ
 
7:31 AM
¯\_(ツ)_/¯
 
seriously how do I make this work ;_; I worked so much on the controller why is this the hard part
 
I don't really know who here knows Python well
 
I wouldn't know, But you can search google for some stuff
 
I know Dennis does
But that's it
 
@Denni D-Don't do it!
 
7:33 AM
@MatthewRoh but its not working!
 
ಠ_ಠ
 
@DestructibleWatermelon Ask on SO
 
javascript:var msg = prompt("What do you want to say?");$('#input').val(msg);$("#sayit-button").click();
My JS-Message sender if you want
 
why is the thing that detects duplicate questions in the ask questions thing the best searcher?
 
idk
 
7:35 AM
@DestructibleWatermelon It's sole purpose is to find other posts on SO by people with the same issue
 
yes, but why should I need to go to ask question for the best searcher?
 
¯\_(ツ)_/¯
 
@DestructibleWatermelon You don't really need to, but it would be better
 
I don't really like SO...
 
@DestructibleWatermelon Me neither, but when you have no other avenues...
 
7:47 AM
difference between code review and SO?
 
Code review will tell you how to make your code prettier. SO will tell you how to make it work.
 
Then, Difference between homework questions and everything else?
 
SO will tell you how to make code work, not, make code
except when they do
 
Uhh
 
8:05 AM
If then theres no difference, is there?
 
Except that you probably are liable to get more downvotes from asking a homework question
 
Also, more people use SO, so you are more likely to get an answer
 
But then there's the case that your question has attracted so less attention that it remains unanswered practically forever
I have a question that has remained unanswered for 2 months on SO
 
Umm :\
 
Forget that, I have a question that still has no working answer for over a year
 
8:16 AM
@KritixiLithos If you've since figured it out, you can answer your own question. For the common good.
 
I've given up
 
Too bad
 
-1
Q: A programming puzzle

SinghamA company has many outlets and stockyards in a city (GOC in short),. The city is like an N × M N×M grid. The stockyard is at the upper-left corner and the outlet is located in the lower left corner. Everyday one of the employees has to travel from the upper left to the lower right corner for sup...

 
8:57 AM
$ fortune | cowsay | bean pipe.bean
 _________________________________________
/ There's a lot to be said for not saying \
\ a lot.                                  /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
 
9:09 AM
You should get lolcat
 
Too much color for me
 
9:31 AM
1
Q: Mark a UKMT IMC Paper

J843136028Mark a UKMT IMC Paper I did the IMC this year. Did anyone else here do it? In a UKMT Intermediate Maths Challenge paper, there are twenty-five questions. The first fifteen questions give you five marks if you get them right. For the other ten questions, you get six marks for getting them right....

 
9:48 AM
how to make it wait for input instead of getting eof?
 
10:07 AM
ok so the programs get EOFerror, but I made another program that should be the same
and it just runs infinitely with no error
wat
I'm so confused right now
y u do dis common sense
 
what are you asking about?
 
ok, so I'm trying to get my controller to work
the bots hit EOF error everytime
 
which language?
 
and then I try to make an example program
and no error
and I can't figure out why
 
are you closing the input pipe?
 
10:12 AM
no
 
then you should never get EOF
 
ok, I finally got an EOF
@muddyfish THEN WHY AM I GETTING EOF
sorry
but really
why
 
if you're getting EOF, then the input stream is closing
otherwise it should just wait until new input gets fed
 
10:48 AM
ok, but why is it closing before I even use it?
ok, really wtf
apparently line buffering doesn't work at all?
ok, so I make the argument line buffering, and it just never does anything?
bizzare
 
I can be a rubber duck if you so wish
 
import subprocess, time
x=subprocess.Popen("./hello.py", stdout=subprocess.PIPE, stdin=subprocess.PIPE, bufsize=1)
print(1)
x.stdin.write('[0, 0]\n\n'.encode())
print(2)
print(x.stdout.readline())
 
quack
 
hello.py
#!/usr/bin/env python3
import time
input()
print("hello world\n\n")
and it just hangs after printing 1 and 2
it doesn't make any sense to me
 
in hello.py, import sys and do sys.stdout.flush()
 
10:52 AM
oh yeah, I would need readline?
 
where?
 
oh wait I already do
also I would have thought that line buffering meant it buffered to lines only
>:|
I specifically have it on line buffering and it does not buffer to lines
great, now my main program has different errors
broken pipes, and file not open for reading
ok, so now less bs
ok, so how do I make it not close every single goddamn thing then?
ok, so now it hates my guts for reading things?
ok now I just feel angry at myself
s/stdin/stdout/
bloody hell
now it just hangs
 
do x.stdin.flush() after writing and it works for me
 
I hate myself
also I'm thinking perhaps there should be a time limit
rather than a score limit
 
11:09 AM
is it working now?
 
I'm considering deleting the Fraction Frenzy challenge (because I will probably lose rep in the long run), but I'm convinced that this fraction should terminate, despite the information - the people might need to try a different approach.
 
@muddyfish yeah
 
yay
 
what should the number of turns be
I feel like maybe it should be prime?
 
Publishers are starting to close the pingback loophole (Google, FB, ..): digiday.com/publishers/…
 
11:42 AM
ok this is way too inefficient
 
11:58 AM
are koths usually this slow?
 
depends
 
It's me, Hello.
 
If you want speed, make it a requirement to use python and use dynamic importing
 
How on earth to use dynamic importing?
 

« first day (2205 days earlier)      last day (2638 days later) »