« first day (670 days earlier)      last day (4278 days later) » 

10:00 PM
yeah, just weekend
 
I have two weeks of vaca still to take this year.
 
I kind of want to write a civilization/style random map builder in canvas for 5X games.
 
nothing to do on it.
 
it's always the same problem "at maximum one continues week!!!"
stupid important project I work on -.-"
@rlemon Same for me
 
sucks, you should come to Canada and we will party for two weeks.
and Write some killer code while smashed.
 
10:02 PM
Since getting married all my vacation gets gobbled up visiting widely dispersed family on long weekends.
 
ProTip: don't get married
:P (I kid of course)
 
@rlemon Uh... not really a party guy, I need silence
but hopefully our office finally moves to Mayence in December
which will cut the commute from 1:20 with bus and train to 20 minutes with the bike
 
@IvoWetzel i'm not really a party guy, and when I'm working I need silence. however on my down time I need people. I get very lonely very quickly I find. When I go away on work for any more than 2 days I get pretty bad anxiety
 
and cut monthly costs by 160€ too...
 
Oh ouch. I can take up to an hour on a train but with a transfer it gets old. I start wanting to shoot myself for any driving commute more than 10 minutes.
 
10:04 PM
s/people/friends and family and cats (well, maybe not the cats. but one is looking at me right now so I would feel bad if I didn't mention her)
@ErikReppen commute for me is ~15-35 minutes depending on traffic.
 
Not bad. I can take a longer train ride because I don't mind the built-in reading time.
 
@ErikReppen It could be worse, but yeah, Mayence it much nicer than Frankfurt so I made the move in April (also, we were expected to be in the Office by May back then..)
 
That is the only reason I kinda miss taking the buss. I havn't ready nearly as much since I got my new car.
 
I don't even own a car right now.. nor do I have a drivers license
because, even if I had one... there would be hardly any chance to actually drive a car with it
and I don't want to buy one years later and find that I have no clue how to drive it anymore :D
 
I only got the car because I got a new job a year and a half ago which is ~2 hours away by buss (3 busses there, 4 home) so it only made sense to get a car
@IvoWetzel it's like riding a bike (I went 4-5 years without one)
 
10:08 PM
Yeah, in the US it's impossible to do anything outside of a major city without getting into a car. It's really obnoxious.
 
@rlemon Hm... I didn't own a bike for 12 years before moving here
 
@ErikReppen I could bike it in like half an hour which isn't bad and I wouldn't mind but in the summer it is 40C with the humidex and in the winter it is snow ice and -25C
 
I guess it's kinda the same here in Germany, although you need to be in a really really small city to not have decent public transit
I'm happy when I actually see a snowflake in the so called "winter"
 
I don't know how people live North of Minneapolis. I froze my ass off in Minne and it's still a long drive to Canada from there.
 
like I said, I did the public trans for 4 and a half almost five years... but it just wasn't an option for this job. I would be up at 4:30 am and out of the house by 5:30 then work till 5 and home just past 7
 
10:10 PM
winter as of lately was more like no snow, but a splending cold coming from russia bringing you -20 degrees
 
And my parents are Norwegian. Not that Norway's actually that cold but we do the winter thing.
 
so i'm essentially working 5:30am - 7pm (if I were taking the buss that is)
 
Ah, okay. I thought you meant with the car for a second.
 
which sucks... right now I wake up at 7 and come home at 7
 
yea i'm up at 6 home by 6, leave the house at 7 though, I like to get to work early, make a coffee, read some news.
 
10:12 PM
I'm at the office at 9
 
i'm at the office by 7:30 - 7:45
 
10-? here. Usually 6:30 sometimes as late as 8 or 9.
 
many of the US guys I work with tend to come in at 10... 11... uh... 1?
which su... if you're supposed to sync up, because then it's 9pm my time already...
 
A lot of tech jobs get at least a limited degree of flex time which I'm grateful for because in the winter waking up is like resurrecting from the dead for me.
 
will (function() { ... }()) run on document.onload or window.onload?
 
10:14 PM
my last job had flex. core hours were 10-3, don't book meetings outside these times. everyone has to be here over these times. otherwise when you fill in the rest of the 40/week is upto you
it was pretty sweet i guess
 
@Nile neither. I think you're thinking of a jQuery thing.
$(function(){})
 
@ErikReppen function() { }()
 
Fires on document ready. I prefer the more explicit $(document).ready(function(){}));
 
@ErikReppen I thought putting "()" on the closing tag of a function fires either on window.onload or document.onload
 
No, but if it's evaluated it will fire a function that's just been defined.
 
10:18 PM
//@Nile IIFE (immediately-invoked-function-expression) are executed like any other function: where they're called.
(function () {}())
//is the same as doing
var func = function () {};
func();
//only you don't pollute the scope with another variable.
 
(function(){})() //fires
 
The answer? According to context. It's not related to any event.
But if it happens to be inside window.onload, then it'll be onload. () simply call the function. No magic.
 
@Zirak okay I see.
 
A function can't really be called until it's evaluated. Operators force evaluation so (function(){})() fires but not funciton(){}()
+function(){}() fires but I think sticking with the parens approach is the most reasonable thing to do.
Also just pretend funciton would work because I've already corrected like two of those.
 
well, I have to wake up in... 2.5 hours. Smart move, self.
 
10:21 PM
Ouch.
 
@Zirak sleep cycles take about 90 minutes + the first 15 minutes to fall asleep.
so try to wake up at the end of a sleep cycle and you'll be less tired and more aware than if you don't
 
Lately, no matter how much I sleep, I feel tired. It must be all wild partying knocking me out of balance.
 
Does auto-invoked suggest the function invokes itself or just that it's fired automatically? I get the IIFE thing but I hate the acronym. Can never remember it.
 
the parentheses are outside, so they function doesn't invoke itself
(func = function(){})()
 
I know. That's the point of the movement to call it IIFE rather than 'self-invoking'
I'd just prefer auto-invoking over IIFE.
 
10:25 PM
you can just say immediately invoked function
 
But I think the latin root actually means self-something-or-rather
 
or instantly invoked function
or function that is called right away
 
IIF
 
many alternatives
 
supaFunc
 
10:26 PM
I used to name all my functions that. Nothing ever worked.
But the code was fly.
 
after reading too many online tutorials I realized naming all of my functions, variables, classes, and files "foo" and "bar" would no longer work for me.
 
I'm fond of 'wombat'
 
all of my servers are named banana and all of my db's are named potatoe
 
Ours are all dead comedians. That's actually true and the support guys' idea.
 
mines true as well, to a certain extent. first names are those, then if I need to add more to the same network / db server I choose other fruit and foods. lasagna is a good name
never apple
 
10:34 PM
lol.
 
f*ck apple
 
Well, they did kill Flash. I mean that's kind of like the Roman empire raping your women and sending your children to be trained as soldiers and slaves but also giving you infrastructure on the positive side of things I guess.
 
9 hours ago, by rlemon
http://codepen.io/chriscoyier/pen/lzjqh
if anyone ever wondered why I posted that link. 256 classes override specificity
 
I have a theory that the real problem is that the ID isn't detected anymore.
Hmm... actually NM. That doesn't make sense on the HTML front.
 
either way.
 
10:43 PM
Are there any browsers not doing that?
 
no clue
 
Sadly IE8 just craps out and doesn't load the iframe. Opera is usually the most anal. If it's red in Opera I suspect we've all been regurgitating the wrong info.
Yeah, they're just doing it wrong. Blue in Opera.
Man, I'm switching to Opera.
Everybody's got it wrong except for them. (don't have IE9 handy).
 
I give up on sleep. Gonna crawl through some docs today, and catch a nap in the afternoon.
Or just say "eh, fuck that" and not work. Reasonable choice.
 
Translating ECMA spec to English might knock you out but I'm not sure I'd envy the dreams you might have.
 
I've been wanting to redesign the shunting yard algo for...a day now.
 
10:55 PM
Had to look that one up.
 
Current design won't scale
 
if I say I'm greedy, is it negative? or is it just that I like to eat?
(english question)
 
Greedy usually has negative associations; "He's a greedy business owner" is negative feedback (unless you're on the business' side.)
 
yeah that's what I think too
 
10:58 PM
The food definition is mild in tone, but is less common, so people go to the first definition.
 
how would you positively call someone who likes to eat?
mild?
 
A foodie.
Might be US-specific slang though.
 
The most abstract form of greedy, which is just "eager", also has negative tones: "I'm greedy for love" for instance
hrm
 
Fattie McFatFat...
 
In US a foodie is somebody who enjoys cooking and restaurants and trying new flavors.
 
11:00 PM
!!/define ravenous
@Zirak ravenous: rapacious. (source)
~_~ Someone who's ravenous is very, very hungry. I'll look for more suitable alternatives.
 
@FlorianMargaine to answer your question this would be a case where just saying "I love to eat" would be sufficient over any single work. ( or J'adore la nouritture if you prefer )
 
We can't spell it without googling first but we do use "connoisseur" although that's about more than just mildly liking to eat I suppose.
 
Though "rapacious" is a very nice word.
ah! voracious!
!!/define voracious
@Zirak voracious: Consuming or eager to consume great amounts of food; ravenous. (source)
 
Cannibal. That fits the requirements. Cannibal >= someone who mildly likes to eat.
 
isn't American pretty synonymous with someone who loves to eat?
(kidding.. kinda ... but I also love to eat so it's no biggie :P )
 
11:04 PM
oh oh oh, I love this word:
!!/define epicure
@Zirak epicure: A person devoted to sensuous pleasure and luxurious living. (source)
Or:
!!/urban gastronaut
@Zirak gastronaut: A person who is willing to go to great lengths to find exotic, and often, bizarre, foods to eat.
 
okay..
guess I'm using a workaround :D
 
!!/tell Zirak urban Zirak
 
@Zirak Zirak: A disease contracted by most freshman within the first few weeks after arrival to American University. Symptoms include uncontrollable cough, stuffy nose, sore throat, and the inability to attend any classes that start before 11:20 AM. Often contracted by sharing beer bong cups and making out with grenades.
 
not bad
 
uuuhhh
The panties in the bathroom are not mine
 
11:06 PM
lol
 
!!/urban lemon
 
@rlemon [lemon](http://lemon.urbanup.com/200316): An anime/manga or (anime/manga) based fan-work that depicts sexual acts.

Often shortened to simply "Lemon", the term is actually derived from a [hentai] anime in 1984, "Cream Lemon", which told a story about a girl called Ami and her relationships.

Since then "Lemon" has been used to refer to all sexually-oriented fanworks, in particular fan-fiction.
 
:(
 
rlemon is R-rated lemon?
That gives a whole new meaning to rlemonade...
 
LOL
 
11:08 PM
Finally! Found one!
!!/stat 1604144
@Zirak Felipe has 6 reputation, earned 5 rep today, asked 1 questions, gave 0 answers, for a q:a ratio of TO͇̹̺ͅƝ̴ȳ̳ TH̘Ë͖́̉ ͠P̯͍̭O̚​N̐Y̡
 
when people ask for help at work I cheekily reply, "Ohh, you want some lemon aid?"
 
It's not fair that I tell you all of the easter eggs :P
 
lol
would it be more fair if I just looked in the source and found them myself?
 
You, sir, make an annoyingly valid point.
2
Here, something just for you:
!!/stat rlemon
@Zirak That guy sucks
oh oh, better idea...a random chance to get that message
 
just post this video when they stat me, urban me, define me... etc
sweet when the images are coming from imgur they are much much faster rlemon.github.com
 
11:18 PM
k, now there's about a 10% chance a stat will troll you.
o.0 the second result from searching Zirak on UD: No Fingering February
My name...will live on.
eh, just to make sure:
!!/stat 1337
@Zirak Brad Gilbert has 10268 reputation, earned 0 rep today, asked 5 questions, gave 364 answers, for a q:a ratio of 5:364
 
I now have a cool logo for my project
 
@Zirak when will you divide the ratio by the smallest number?
 
@FlorianMargaine hahaha, nice
I use the gcd (greatest common denominator) to divide them. Ratios are always with integers.
So if one of them is a prime number, or they just don't share denominators, the ratio stays.
 
oh :|
it sucks
a 5:364 ratio isn't helpful, a 1:73 ratio is
 
11:24 PM
What else did you think of? Is 1:72.8 better than 5:364?
But...73 isn't accurate
 
it's accurate enough
 
gasp
You didn't.
 
we're talking about questions/answers there, not about curiosity rover.
 
This is math! This isn't cave painting! Accuracy, man!
 
this isn't math, it's stats about an SO user
 
11:27 PM
Which contain math
10268 rep is accurate. 10270 is not accurate. 5:364 is accurate. 1:73 is not accurate
 
you're the one giving the accuracy in statistics
 
Statistics? Never!
 
and you need human accuracy there, 1:73 is more human than 5:364 (and don't enter in a philosophical rant about the human race!)
 
Humanity sucks. Math sucks less. Therefore, in the grand scheme of things, math wins.
 
human invented maths, however.
 
11:29 PM
discovered*
 
Vague questions like that make me want to respond "So use the web page method stuff to make it show up."
 
No, they simply discovered it, and made tools so their measly brains could understand it.
+ represents a very, very, very abstract concept. Hell, 1 is so air-like, I'm not even sure counting works correctly.
Why are there dead ants in my tea?
 
Why are you so close minded? :(
 
Because I'm right and you're wrong
 
it's like asking why he has a bias towards reality...
 
11:32 PM
no, you know I'm right, you just don't want to admit you're wrong.
 
5/364 != 1/73
 
for a q/a ratio about users, 1/73 is accurate enough and more human readable.
 
But you're not right. Not according to my definition of "accurate" for this discussion. Sure, you can be hurr durr and say "5/364 is good enough to be 1/73", but it just isn't.
 
Try: alert(.1 + .2) if you want to make your head explode about accuracy.
 
pi isn't 3.14 . For some models, it's "close enough" (cough high-school math cough), but those models should be flayed.
 
11:37 PM
!!/define accurate
 
@FlorianMargaine accurate: Deviating only slightly or within acceptable limits from a standard. (source)
 
"within acceptable limits"
point made.
 
Correct. Your limits are not acceptable to me.
 
Your limits suck.
;<
 
They might suck, but they're accurate; your limits are "good enough".
 
11:38 PM
nope
 
ZING
 
my limits are accurate too, just not for your standard
 
Your standard is shameful to the human race
 
Nothing is accurate until we understand quanta.
 
This is actually a good question for programmers.se or ux.se
"Tell Florian Margaine he's wrong and Zirak is awesome". An apt question title.
 
11:41 PM
Opera gets the 256 class thing right btw. Not sure you guys were there for that.
Between that and the apocalypse seed vault, I couldn't be prouder of my Norwegian ancestry.
I think I'd need to understand assembly better to understand wtf is up with all the other browsers optimizing that way.
 
Isn't it all on specificity points? Something like 100 for ids, 10 for attributes (including classes)?
So 11 class selectors > 1 id selector
 
No. It should be orders of magnitude. 1 ID overrides any number of classes.
 
Care to explain?
 
(ID > 0) > (infinite classes)
(classes > 0) > (infinite tags)
 
aha
 
11:48 PM
Well, you know 1 ID > infinite classes and/or tags
 
hey guys
 
When two properties tie, last one defined wins. I thought embedded and inline had specificity consideration but they just tend to override in order due to placement.
'allo.
 
:)
I have a little question
How can I make the "ask your question" text field reset upon clicking on the ask button?
I would appreciate a answer so much: students.stedwards.edu/lbradle3/javascript.htm
the website I just sent has the script, its extremely short: <form><span style="color: white;">
Your question:</span> <input name="question" size="40" type="text">
<input name="ask" value="Ask" onclick="if (this.form.question.value!='') this.form.answer.value = fortune();" type="button"><br><span style="color: white;">
Your fortune teller says:</span> <input name="answer" size="40" type="text">
</form>
 
So I'm guessing several somebodies assumed nobody would ever use 256 classes and typed some container as a byte.
 
document.forms[0].ask.addEventListener('click', function () { this.form.question.value = ''; });
 
11:51 PM
@Demorus use the placeholder attribute
 
Hey florian and erik thanks for your answers.
 
I have a little questions regarding placeholder.
 
I didn't answer.
 
oh ok erik!
im sorry Florian but im abit new to placeholder hehe. Is it hard to learn?
 
11:52 PM
very.
 
Yeah, 'nother conversation. Don't try to type anything as a byte in JavaScript. You'd have a hard time with that.
 
:)
 
I'm invisible? :(
 
@ErikReppen why would you do that?
@Zirak totally :D
I'm having a weird problem with npm
 
11:54 PM
I was talking about the 256 classes thing @Florian
 
@ErikReppen Just try digging in in Webkit source. Sounds fun.
 
Might be a good way to learn C++
Or a very painful way.
 
Good luck with that :p
 
thank you very much Florian. I will try it right now!
 
WTF, C++ doesn't even have a byte-sized type. What the Hell are they doing in that code?
 
11:59 PM
@Demorus slowly waves hand in front of your face
 

« first day (670 days earlier)      last day (4278 days later) »