« first day (907 days earlier)      last day (4035 days later) » 

5:00 PM
@SomeKittens It's from a sprite I found a long time ago, so possibly yes
 
:-)
 
@PrakashChennupati Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@Neal Enjoy.
 
@BenjaminGruenbaum The point of the question is to give them the opportunity to mess up. If there are too many rules/restrictions, the question basically answers itself, does it not?
 
@AmaanCheval baaah
 
5:01 PM
@Neal Baaah black sheep
 
@Shmiddty not really, supporting less browsers might mean cleaner code, I wouldn't judge a developer by remembering stuff like the parameters attachEvent accepts. It's something you write once and forget about
 
Oh hey, I lost my localStorage stuff when github pages switched to .io
DIDN'T THINK ABOUT THAT, NOW DID THEY!?!?
 
ouch
 
Nah, it's all good. Didn't have anything of consequence :-D
 
I don't know what you're talking about. Where'd they switch to .io? gh-pages?
 
5:03 PM
Yep
Less risk of malicious JS grabbing stuff from the main GH site
 
1
Q: How does Javascript code become asynchronous when using callbacks?

Zach DziuraI've been doing a lot of reading online trying to figure out how to write asynchronous JavaScript code. One of the techniques that has come up a lot in my research is to use callbacks. While I understand the process of how to write and execute a callback function, I'm confused why callbacks seem ...

 
that dirt dog was delicious
 
dirt dog?
 
street meat
 
5:06 PM
sausage vendor on the street.
 
Peeps. Get it.
 
$10 eh?
maybe i'll just wish list it
 
It's worth it!
 
so I can add another game I have no time to play :P
 
@Shmiddty This is probably the simplest solution that would work in all browsers jsfiddle.net/YTjaR/1 . Not how I'd implement it at all or at an interview
 
5:08 PM
style.display3?
 
@BenjaminGruenbaum is window.getComputedStyle() not cross browser?
 
@AmaanCheval yeah, that should be display
@rlemon no, not in old IE
 
IE8 needs to die in fire
seriously... so much bad code because of fucking IE8
not bad, but not as good as it could be
IE8 is the new IE6
 
It's not really bad code, it's readable...
 
everyone hate it!
 
5:10 PM
@BenjaminGruenbaum It isn't bad
 
If that's the entire thing the page does, I'd pass it in code-review
 
29 secs ago, by rlemon
not bad, but not as good as it could be
 
@rlemon I wasn't disagreeing with you
 
I can't wait for IE8 to go bye bye
I mean, I already ignore IE when writing code... but that is another story.
I can't wait for people to stop saying: "But that breaks in IE8"
 
I started writing a clever one, that accepts a selector and does what jQuery's toggle does with show and hide, then I thought that's totally something I'd flunk an interviewee on
 
5:11 PM
> But that breaks in IE9
 
IE9 actually wasn't all that bad compared to the earlier versions
 
Chrome/Blink is going to take over the world anyway
 
As their promotion said, it sucks less.
 
IE9 is not horrible to support.
IE8 is
 
It does skip frames and shit, but at least your code is supported
 
5:13 PM
if IE9 doesn't support something, there's likely no polyfill available
 
There is a polyfill for most DOM stuff, it's called jQuery :P
 
how about we all begin work on writing a virus that targets windows machines and replaces IE with Chrome, but keeps the IE icon.
 
@rlemon you mean chrome frame :P?
 
no, uninstall IE and install Chrome
fuck leaving it
just get rid of it all together
 
@copy :O Sounds like you really enjoy it :)
 
5:15 PM
extra points: have the IE icon morph into the Chrome icon slowly over a period of a few months. Make the transition seamless.
 
seemless = doesn't seem to occur?
 
@copy also, make your game of life faster, it lags :P
 
@JanDvorak without seeming
 
@copy also "Uncaught RangeError: Maximum call stack size exceeded "
 
@BenjaminGruenbaum It has 1.7 million living cells
 
5:17 PM
@copy less than humans
 
Yeah, programming big things is hard
 
Is each cell a DOM element or canvas?
canvas phew
 
@copy 5FPS! woot!
 
@BenjaminGruenbaum each cell a canvas would be bad
 
we should be called "PedantScript"... because we're all a bunch of pedantic assholes.
 
5:19 PM
If I turn off the canvas part it's still slow, maybe add more threads?
 
You do it
 
@BenjaminGruenbaum is .style.display3 a typo, or is there some secret property I don't know about?
 
@rlemon This one is limited to 6, by the way
 
@Shmiddty not a standard one
 
5:22 PM
@copy Where's the source code?
 
@copy so 5 is a good run then :P
well. 4.7 but I round to feel like a big man
has Loktar reported back to us yet?
how long is this interview
 
I thought you rounded down from 5.7 or so
 
@rlemon what's lemonmeme?
 
just a meme generator
@copy nay. my home pc probably (gaming pc)
 
5:32 PM
nice
 
@copy Seen ashware.nl/graylife ?
@copy his is better because he is using jQuery
 
how did i get a mustache?
i've always wanted one
@rlemon
 
Look at the url to the image
ignore the lemonmeme stuff. That is just my domain acting as a proxy to force image sizes
 
hah ok
 
@BenjaminGruenbaum Definitely
 
5:38 PM
I have it running in a userscript, however you should be able to just put any image url in the src=
@BenjaminGruenbaum @copy df.lth.se/~lft/brainfuck
 
@rlemon That's like Piet in ascii art
 
I should propose a new mathematical notation.
 
Big Mac notation. 2.446BM == 2.446 * the average cost of a Big Mac.
 
Now I want a big mac
I don't even like McDonalds
 
I don't see how anyone can.
cept maybe their fries. but only fresh.
damn they have tasty fries
 
5:42 PM
@rlemon Why not the other way around
 
@copy what do you mean? The ping order?
alphabetical?
 
Brainfuck in Conway's Game of Life
 
@Lee Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
$openParenthesis().positive(5).subtraction().negative(2).closeParenthesis().multiplication().positive(10)
Come on, you know you want it!
 
@copy ahh, haha yea
 
5:43 PM
It looks so beautiful.
 
I started dicking around with SEN.. i'm starting to see it's fascination
 
@OctavianDamiean you're removing the issue of operator precedence at least.
 
I want a Big Mac too now
 
I would rather use DW design mode than eat a Big Mac.
 
5:46 PM
@OctavianDamiean that's how you use BigIntegers (well, almost) in Java
 
Watched Super Size Me yesteday evening ... no more Big Mac's.
 
@OctavianDamiean the mc tummy aches after half a burger are what make me say no
 
@FlorianMargaine Brother!
 
@rlemon why? Big Macs are amazing
 
@FlorianMargaine I would like it better if the shooping wasn't obvious
 
5:47 PM
if everything there makes me feel like shit after eating it. I don't care how good it tastes
I feel like shit after eating it
 
Makes me feel great ahahaa
I used to work at McDonald's
It was fucking great
 
you've been conditioned
 
here is what Big Macs make you become
 
I cook real food at home
 
I cook real food aswell
We cook real food at McDonalds
..
 
5:48 PM
it's not real food
it's food... maybe...
 
@rlemon More the result of the entire experiment towards the end. He's basically fucked up his liver.
 
Fries and Water are the only two things on the Mc Donalds menu without sugar.
@OctavianDamiean and there are people in america who eat there 3 times a day for how many years?
 
@rlemon coffee (but people add sugar)
 
Fries are probably with sugar
 
a guy I work goes there every day for lunch.. and he is not small.. or healthy.
 
5:49 PM
@rlemon Enough years to require a new liver.
 
> Heow Goodman
Heow is the first name?
 
@BenjaminGruenbaum according to super size me fries and water.
even the salad has sugar
 
@rlemon nope, sugar
18
Q: Are McDonald's fries coated in sugar before cooking?

Adam WuerlI've heard that McDonalds and other fast food chains coat their fries in sugar water before frying to aid in color development, but the official McDonalds nutrition information (see page 2) indicates that their fries contain no sugar. Is there evidence that McDonalds uses sugar to prepare their ...

 
@BenjaminGruenbaum The fries might not be but most buy Ketchup.
 
Fries and water definitely have sugar
 
5:50 PM
McDonalds fries have sugar
 
Seriously though, I worked there for years I can tell you all the ingredients are sweet as
 
well then the movie got it wrong
 
apart from the eggs
stay the fuck away from the folded eggs
 
What's bad about the fries from McDonalds is the Trans fat. en.wikipedia.org/wiki/Trans_fat
 
my bro managed one for years. I know all the horror stories
 
5:51 PM
When I used to work the breakfast shift, making the folded eggs used to make me gag.
 
I did maintenance for BK. Won't eat there after cleaning the stuff thatcookes the food.
not even once
..
 
There was some nasty stuff, like in our store there was a sewage pipe that kept overflowing into our storage room
and rats everywhere
that place should have been shut down a long time ago
 
@rlemon No Impact?
 
Of course that's not only a problem McDonalds has but most pre-fried convenience food.
 
5:53 PM
@Shmiddty for non beta yes, for beta I limited myself to fonts available on good webfont api. Impact was not on it
 
in Siberia still there is no mcdonalds
 
@VadimEremeev Which is good for them!
 
and we happy about that .. food there makes ppl so fat
 
@rlemon why dont you have comic sans on lemonmeme
 
5:54 PM
@rlemon Isn't Impact pretty ubiquitous though? I guess linux users probably don't have it...
 
idk... looks here like you just recently got one
 
However Russians have other means to fuck up their liver ...
 
Vodka maintains their liver.
 
@Shmiddty you would think it is, but it isn't :/ but like I said i'll be hosting my own fonts for the revision
@BillyMathews LOL
 
5:55 PM
 
@FlorianMargaine lol, sure. :D
 
not expecting that
 
@BillyMathews nice
 
@BillyMathews LOL wtf, that's sick! :D
 
@rlemon you should expose an API so we can !!/meme trollface "Eating at McDonald's" "Makes me feel great!"
 
5:56 PM
@rlemon thanks for mustache!
 
@Shmiddty That's an awesome idea. :D
 
@Shmiddty will be possible. I'm allowing a RESTful API for generating memes
 
so after that is done will just be about putting the commands into the bot
 
@rlemon I approve :D
 
5:58 PM
 
I've calculated my server spaces costs and I will be able to host ~170k images on my current VPS. if it gets more popular than that I will need to look at S3 from amazon
 

« first day (907 days earlier)      last day (4035 days later) »