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

wat
wat
00:15
well, that dance off happened
I have a video if anyone wants to see
00:28
I need help with IntelliJ stuff
@AdmBorkBork is there something I need to know about .__.
user165474
00:54
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?
01:21
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/

01:42
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
02:04
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...

02:33
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…
03:50
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?
03:58
yeah, I suppose so
04:09
Hello
Yes my command line thing works!
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
04:25
¯_(ツ)_/¯
Yeuch eval
05:14
@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
wat
05:30
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
05:36
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
05:41
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.
05:42
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
05:48
@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
05:54
@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
05:57
@MatthewRoh That is a dead meme (RIP John Cena 20XX - 2015)
CMC: How many memes have been killed in 2016?
"Lenny"
Does a CMC have to result in a program?
idk
maybe yes
06:01
@Mego I'm particularly fond of 'Insidiously'
Wait what's VLQ again
Very low quality
time to test my koth!
probably won't work, and I probably need to add an ascii output mode as well
@aditsu Hello, yello!
06:09
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?
06:11
\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
06:14
@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?
06:18
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
06:21
@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
06:27
@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
06:29
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
06:34
But... controller?
@Pavel what the heck is that?
@aditsu Magnetic ball in magnetic slime
ok but why is it spinning heaps
Black magic
06:39
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
06:45
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
06:49
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?
06:56
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"
07:04
What's that?
@PatrickRoberts wouldn't that be
^[^lL]*$
@DestructibleWatermelon shrug Just another reason why it's a terrible joke
There's a room for that
sorry
but overexcitement
07:16

Sandbox

Where you can play with chat features (except flagging) and ch...
I need help with making subprocess.Popen work pls
wat
wat
try not using #{self.language}
# is a comment
So that would be pointless
wat
wat
@Pavel in a ruby string, #{<code>} performs string interpolation
07:27
Oh. Ruby. That makes sense
Ah
wat
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?
07:28
@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
ಠ_ಠ
07:31
¯\_(ツ)_/¯
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!
07:33
@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?
07:35
@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...
07:47
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
08:05
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
08:16
@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...

08:57
$ fortune | cowsay | bean pipe.bean
 _________________________________________
/ There's a lot to be said for not saying \
\ a lot.                                  /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
09:09
You should get lolcat
Too much color for me
09:31
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....

09:48
how to make it wait for input instead of getting eof?
10:07
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?
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
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
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
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.
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
ok this is way too inefficient
11:58
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 (2933 days later) »