« first day (1890 days earlier)      last day (2968 days later) » 

10:00 PM
@AlexA. Why 4 slots specifically?
 
One for him, 3 for his ego
jk
 
Oh jeez
 
dam son
 
@Sherlock9 Because there are currently 4 very active moderators that work well together. Three seems perhaps too few (though we could get by) and 5 seems too many.
 
@EasterlyIrk Hydroelectric child
9
 
10:03 PM
hahaha
 
haha
 
that took me a second
 
Fair enough. Good luck to all the mods :D
 
water-holding short kid
 
10:04 PM
^^
 
@AlexA. Good job! I did wonder how PPCG achieved 4 slots. Now I know!
 
@ChrisJester-Young Haha thanks. It's not like it was a difficult endeavor or anything. :P
 
@Sherlock9 not all dams are power generating!! (buzz kill, I know)
 
@Sherlock9 Thanks! :D
 
10:08 PM
trrr trrr
 
@Optimizer If you have another dam-related adjective, I'd be happy to use it
 
sunny
 
@Sherlock9 High Potential Child
 
It has potential, but I'm not that that pun has quite the same energy as "Hydroelectric child" :P
By the way, do we have a challenge based on this function? oeis.org/A003415
If not, I'm going to write up a question about it before I go to bed
 
Doesn't sound familiar. Sounds like it'd be an interesting challenge.
 
10:20 PM
Should I sandbox it first? It's 5 am and I could make a mistake in the specs
 
@xnor I think you're entirely misinterpreting my challenge
not a generic hash function
 
Then isn't GPerf the best way to do that?
 
if you can fit gperf's output in 140 characters
perhaps
I don't know if it can handle this many words either
 
On the topic: Is there an analysis suite for generic hash functions (something like DIEHARD(ER) or TestU1, but specifically for hash output)? Random analysis tells you the quality of the underlying RNG, but what about the hash algo itself?
 
10:37 PM
2 hours ago, by Downgoat
is there some sort of a tool which takes in a BNF grammar and spits out a lexer?
no one?
 
@AlexA. too many words
 
@Downgoat What? Surely you want a parser generator + a lexer that you write by hand?
 
@ChrisJester-Young pls no
though I'm almost finished anyway...
I basically need to test for edge cases and I'll be done with the parser
 
No one is ever done testing for edge cases ;-)
 
10:44 PM
this is a great oppurtunity for JS bashing
JavaScript edge-case testing is so bad, they missed a huge bug which is JavaScript itself.
 
0
A: Sandbox for Proposed Challenges

Sherlock9The Arithmetic Derivative code-golf arithmetic sequence The derivative of a function is a cornerstone of mathematics, engineering, physics, biology, chemistry, and a large number of other sciences as well. Today we're going to be calculating something only tangentially related: the arithmetic d...

 
Ah, right on time
Was just about to post that my challenge was up in the Sandbox
And now, bed
Goodnight
 
11:03 PM
Good night!
 
night
Not trying to gain rep, but can I get more votes here? I just want to have more snippets.
 
11:23 PM
Congrats @EasterlyIrk on 1K rep!!
 
oh cool
brb adding
updated.
@Downgoat was that you?
If so, thx.
If not, THANKS RANDOM PERSON!!!!!
 
@EasterlyIrk the upvote? yes :)
 
\o/ YAY THANK YOU MUCH
 
does anyone know what the golden part in a wire does? Is it an insulator?
 
You're gonna have to be more specific
 
11:30 PM
^
 
its shiny
 
Are the wires wrapped inside a gold plating?
 
@ZachGates ¯\_(ツ)_/¯ Doesn't look like it
 
11:31 PM
@Downgoat ಠ_ಠ
@Downgoat is the wire inside?
 
yes
 
Very memorable.
 
Huh. That actually is pretty memorable.
Though it isn't a question.
 
@mınxomaτ wat.
you seem to be very good at finding odd bugs in web applications
 
I like the "powered by The Cloud". That means literally nothing.
 
11:36 PM
My WiFi is powered by The Wall Outlet
how do they know you aren't visiting through an ethernet connection
 
how should variables be stored internally?
in a giant object?
 
Well, some kind of hashtable.
Whatever that means in the context of your language.
 
I'm not sure how that would work with scoping though
I'm not big on speed but I also don't want it to be slow as shit
 
Python uses a stack of hashes.
 
11:45 PM
so does JavaScript ( ͡° ͜ʖ ͡°)
 
Each hash is a scope
 
should functions have their own scope?
or just classes
also, should super calls be: super var1, var2 or super var1 var2 or super (var1, var2) or super(var1, var2)
 
Ideally in most cases functions should have their own scope like classes do; but I'm sure there are exceptions
 
@Phrancis does python do that?
My problem with doing that is if there is something like...
 
Depends on who writes it. But I'm pretty sure native Python functions do, AFAIK. I don't Python very often...
 
11:48 PM
func a() {
    self.foo = "bar";
    func b() {
        // how do I access foo?
    }
}
how should I make foo acessable to b in a senario like this?
 
Ah, that's different. Not sure about that one
Are you trying to rewrite JavaScript or something?
 
no. What makes you think that?
 
Dunno, just seems very JS-like to declare a function inside another function
 
but you can do that in python correct?
 
I wouldn't know
 
11:55 PM
You can do it in R and Julia
At least in R, any variable local to a will be accessible by b
 
@AlexA. I'm talking about self/this variables in this case
 
I don't know what that is so I'll just slink back into the shadows
 
@Phrancis eewww books
@AlexA. like in a class:
 
I may be wrong but I was under the impression that self in Python referred to instance of an object, like this in Java
 
11:57 PM
so should functions have their own this/self?
 
Are your functions objects?
 
no
 
^^ your answer (IMO)
 
you only need 1 carrot (otherwise it points to the wrong esmsage(
 
11:59 PM
4/10 not pointing the right way
 

« first day (1890 days earlier)      last day (2968 days later) »