« first day (1381 days earlier)      last day (3565 days later) » 

7:00 PM
@SterlingArcher the specification goes in depths concerning this
start at "function execution"
 
@SterlingArcher What do you mean?
It's just a variable that's passed invisibly to functions
 
@JanDvorak sorry, I can't seem to find that?
@Zirak I hope this isn't too "look into the engine specs", but how? Can I make an invisible parameter to a function?
 
user1596138
!!tell SterlingArcher urban gbs
 
@SterlingArcher GBS Gay Butt Sex
 
I think it works like this
Like zirak said
Except I have no idea if that's how this works in javascript
 
7:03 PM
@SterlingArcher Nope! All functions everywhere have two special variables declared in their scope: this and arguments
 
@Meredith exactly! That's what I'm trying to find out
 
The javascript engine says "hey, this function here? It's this value is <engine gibberish>, and its arguments is <more engine stuff>"
All determined at runtime
 
Hey guys. In DOM how do I add textbox placeholders dynamically in Javascript?

var textbox = document.createElement('input');textbox.type = 'text';
//How can I add a placeholder to the textbox (e.x. 'Enter input here')
document.getElementById('page').appendChild(textbox);
formatted:

var textbox = document.createElement('input');
textbox.type = 'text';
//How can I add a placeholder to the textbox (e.x. 'Enter input here')
document.getElementById('testpage').appendChild(textbox);
 
@Zirak so theoretically this could be something very different in a different JS engine?
@BDillan bro do I have to tell you to format your code every day now? D:
 
Ignore the first paragraph
 
7:08 PM
!!s/ignore/edit/i
 
@SterlingArcher <engine gibberish> is code for engine specific stuff. In practice, they're the same (if the engine conforms to the spec)
 
@SterlingArcher edit the first paragraph (source)
 
ahhhhhh
@Zirak have I ever told you how brilliant you are?
 
7:09 PM
@SterlingArcher Oh you, please...continue.
 
@BDillan have you tried the `placeholder' property?
textbox.placeholder = "derp"
 
How can I append the property?
ah
 
Your google fu is still weak grasshoppa!
!!tell BDillan google javascript create input placeholder
 
Thankyou sterling
 
@SterlingArcher Command javascript does not exist. (note that /tell works on commands, it's not an echo.)
 
7:10 PM
I cannot find anything about arguments in the spec
 
@Meredith, @SterlingArcher es5.github.io/#x10.6
 
@BDillan sure thing. Although it was easily googleable :P
!!undo
 
Thanks
 
!!tell Sterling Archer
 
@BDillan Command archer does not exist. (note that /tell works on commands, it's not an echo.)
 
7:12 PM
!!tell BDillan echo Perhaps quotes are in order
 
@Cereal Command "perhaps does not exist. (note that /tell works on commands, it's not an echo.)
 
LMAO
 
@BDillan "Perhaps quotes are in order"
 
...
 
Use !!tel
 
7:12 PM
@Zirak ok, so why do people convert the Arguments object into an array when it says Let len be the number of elements in args.? unless let is more of a "rule of this spec" and not a property?
 
@BDillan Perhaps quotes are in order
 
I got it!
 
@SterlingArcher because arguments is not an array
 
@SterlingArcher arguments is an array-like, it just has a length property and numerical indices.
As JanDvorak said, it's not really an array: You can't do arguments.filter, for instance
 
@JanDvorak yes yes, but that's the length property
oh fuck
ignore me.. objects don't have the length property
 
7:14 PM
some do
special array like ones
like arguments
;)
 
can someone with a larger brain explain to me
 
and it is enumerable
 
why + and - have different keycodes in Chrome and FF
 
which is why it appears array-like
but shares none of the prototype, and therefore none of the methods.
 
7:15 PM
(e.keyCode and e.which)
 
is it that keyCode and which are inconsistent or the browsers themselves
 
chrome and IE are consistent
FF is odd one out
NOT COMMON
 
Usually IE is the inconsistent bugger
 
but e.which and e.keyCode are consistent with eachother in FF?
what pisses me off is e.which and e.button are 1-off eachother
 
wtf is this a bug
apparently this very popular library for robustly checking keypresses
also fails in firefox with + and -
 
7:19 PM
also which + and which -
numpad works for me ?
 
next to backspace
 
maybe the author only tested the numpad on FF ;)
so missed the bug
 
is it a bug with these guys
or a bug with firefox
 
easy enough to check
 
might as well report it to FF and get yelled at for forgeting rule #3424214
how?
 
7:23 PM
chrome fires 187 for + and FF fires 61
w3.org/2002/09/tests/keys.html says Chrome is correct here
ahh fuck
nvm, that is just giving you what the browser says
 
yeah, I don't see a list anywhere of what ought to be
 
isn't very helpful
solution -> make everyone use the numpad?
screw those users without
interesting my 'monitor' doesn't start if I have grooveshark open in another tab
 
I've been sitting on my knee without knowing it, and I stood up and almost fell over and refuse to stand up to walk with a ghetto limp going
 
7:39 PM
> >> Error: Command failed: karma start ./test/karma.conf.js --single-run

Done, without errors.
yep.
 
user1596138
@SterlingArcher lol love that shit
 
user1596138
My co-worker always falls and hits her funny bone on the desk and then Peter Griffins it
 
welp
submit a bug report there and go have a cry is the low effort solution
 
!!youtube Electric Head, Part 2: The Ecstasy by White Zombie
 
7:40 PM
cc @Loktar @SterlingArcher
 
@SimonSarris lol this sounds a bit odd
> They do not the keypad but not next to the backspace key.
 
derp thanks I updated it
 
@SomeKittensUx2666 What was your friend's name? The one that applied for the McKissock job?
 
@RyanKinal Alec Joy
 
@SomeKittensUx2666 I really enjoyed that snapchat of your legs the other day xD
 
7:44 PM
haha np
 
@SterlingArcher You're very welcome
 
@SomeKittensUx2666 Sweet, thanks
 
What's his status?
 
@SomeKittensUx2666 next time take the bathroom selfie
Don't be shy.. my cousin basically sends me shower selfies.. (mostly covered..)
He's too comfortable with being naked around people in general lol
 
@SterlingArcher And how does that make you feel?
Did he use to spend naked time with you when you were young?
 
7:49 PM
Honestly? Don't really mind. He's my cousin and I've seen way worse of him drunk xD
 
Cousin Vinny
 
Actually yes. We grew up together, went to college together with my brother (we're all basically brothers, grew up really close). He's the one who would get really drunk, and then very naked at the first opportunity
So I'm used to it, not phased by it, I jsut find them funny at this point xD
 
Guys. I hope the one who posted this on reddit isn't in this room !?
 
I don't have a reddit account. I can't stand that site.
I tried it once, and got shat on, lol
 
depends on the subreddit
 
7:52 PM
Reddit is fine if you don't say stupid things
But I say stupid things a lot so I just lurk
 
I am a stupid thing, so people find me just to call me stupid.
 
@dystroy That post is the only thing that dude posted.
 
@Meredith you really are a lurker
Open those rose petals and flourish like the plant you aren't!
 
I just don't know how to find questions to answer on so
They're all either stupid or too specific
 
That's eerily sexual.
 
7:55 PM
It's a bitch I'll tell you that. You either find a good one, or you find 100 bad ones and get lost in close voting.
@NickDugger fuck. I regretted it when I pressed enter but hoped that not drawing attention would make it look better.
 
It also doesn't help that there are like a million people on here smarter than me
 
literally a million
like on the dot?
:P
 
I'm pretty sure that everyone in this room is better at programming than me, but I still enjoy it (and making a fool of myself)
 
No i said like a million
so 1,000,000±10%
 
Ohh I've been looking for that symbol. How'd you make it?
 
7:57 PM
Literally every user is smarter than me in some way.
 
╔Γ°
 
How did the stupid answer of bjb get to +5 upvotes?
 
dem alt code
s
 
0177
 
7:57 PM
@dystroy worse, check out the ratio
 
 
It's the only one I have memorized
Some useful ones are around it though
 
This is a list of symbols found within all branches of mathematics to express a formula or to represent a constant. When reading the list, it is important to recognize that a mathematical concept is independent of the symbol chosen to represent it. For many of the symbols below, the symbol is usually synonymous with the corresponding concept (ultimately an arbitrary choice made as a result of the cumulative history of mathematics), but in some situations a different convention may be used. For example, depending on context, "≡" may represent congruence or a definition. Further, in mathematical...
 
■Φ½
 
Windows has a Character Map utility
 
7:58 PM
Damn, it's not an option subkey on mac
 
I just randomly mash numbers and hope something cool comes out.
 
My iPhone autocompletes CapricaSix... I'm fucked
 
0175 is ¯
 
@dystroy Why not?
 
± would be an interesting character to make a reserved operator for comparison
 
7:58 PM
:D
 
( o ) ( o )
/¯¯¯¯¯¯¯¯¯¯¯¯¯\
 
¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_
 
shit
 
if (derp = x±*.05)
if derp equals x plus or minus 5%
that'd be nice
 

« first day (1381 days earlier)      last day (3565 days later) »