« first day (822 days earlier)      last day (4127 days later) » 

6:00 PM
Look at google html
g_c_o_p
Not anymore :o
 
@IvoWetzel I'd go find that guy and slap him with a desk or something.
 
class="oZ-x3 xY"
Trololol
 
@OctavianDamiean Left the company some time ago :)
but JS optimization is more fun than CSS stuff anyways :P
 
@IvoWetzel You should find out where he hides.
 
@OctavianDamiean Still, visiting him would take a cross Atlantic flight, so meh.
 
6:03 PM
just to make sure I understand this.. #id > div {} <--- This checks Every div and then checks if it's parent has the id of 'id' ?
 
@bushdiver generally yes
 
While I knew that browsers parse CSS selectors from right to left I never asked myself why. Now I'm wondering though, why is that?
 
But as it's implementation dependant, this might be different on some browsers or in the future (or present ?)
@OctavianDamiean It's easier to go up a tree than down
 
at least it was back in the day when pages were small and people didn't build whole UI frameworks in CSS
 
And you most often need to know what rule to apply having an element. So it makes more sense to go up the tree from that, especially as the targeted element is always the right one in the selector.
 
6:06 PM
@IvoWetzel You left Zynga?
 
@AmaanCheval Me? No.
 
Ah. Didn't follow through the entire conversation
 
@AmaanCheval Was referring to someone else
 
Hello Room. I am rlemon. I have Javascript issues.
 
@rlemon nowai
 
6:09 PM
3.2    Cascading order

Conflicting rules are intrinsic to the CSS mechanism. To find the value for an element/property combination, the following algorithm must be followed:

    Find all declarations that apply to the element/property in question. Declarations apply if the selector matches the element in question. If no declarations apply, the inherited value is used. If there is no inherited value (this is the case for the 'HTML' element and for properties that do not inherit), the initial value is used.
 
@dystroy Oh right!
 
Sam
Hello @rlemon I am Sam. I am back. I am sorry.
 
which reminds me of the other thing, you can calculate how specific a selector is
 
0
Q: Cost of setInterval in Javascript

James P. WrightI've got some code that I want to run when certain HTML elements are added to the page. To do this, I have a "runOnRender" function: runOnRender: function (func, args, interval) { var that = this; var guid = hb.getGuid().substr(0,7); var checkFunc = functio...

 
@IvoWetzel good one. I didn't know there was a precise formula for that
 
6:12 PM
In otherwords:

    If the element has inline styling, that automatically1 wins (1,0,0,0 points)
    For each ID value, apply 0,1,0,0 points
    For each class value (or pseudo-class or attribute selector), apply 0,0,1,0 points
    For each element reference, apply 0,0,0,1 point

You can generally read the values as if they were just a number, like 1,0,0,0 is "1000", and so clearly wins over a specificity of 0,1,0,0 or "100". The commas are there to remind us that this isn't really a "base 10" system, in that you could technically have a specificity value of like 0,1,13,4 - and that "13" do
the article has some nice examples
if you know this, and the right to left evaluation. you pretty much got rid of the whole selector magic
 
Regarding last feed's question : starting by adopting an event based logic would solve the performance problem... Such a rendering loop is horrible...
 
Sam
@rlemon @Neal So, when you said I should tag NSFW messages you meant I cant post them here as long as I write NSFW next to them? (Yeah, I did know what that means)
 
most people in general dont post nsfw links here
 
but if they are really good links... take a chance with a NSFW tag
like so
 
6:15 PM
the link posted earlier is not considered a really good one though
 
@IvoWetzel see I would still not onebox it
I agree, it is safe. but others don't.
I've been flagged for less
 
@Sam yea.. but dont post them in general...
 
@rlemon So have I
But really, people flag everything
 
posted on January 15, 2013

In an interesting turn of events, jQuery 2.0 will drop support for Internet Explorer versions 6 through 8, leaving only IE 9 and 10 supported.  jQuery 2.0 beta, along with 1.9 final were released today, and it seems we’re coming to the end of an era of sorts.  jQuery 1.9 will be the last version to support old IE versions, so if you have an app that needs to support those browsers, you wi

 
like 90% of the time one just clicks on "invalid"
 
Sam
6:17 PM
:C But the rickroll @rlemon sent me before annoyed my boss. Isn't that NSFW, too?
 
no, rickrolling is trolling
 
haha, very funny :P
 
Dropping IE8 support ? Wahoo...
 
@rlemon The trolled me in the supermarket last week, playing rick astley...
 
Sam
But you are not supposed to watch Rick Astley video's at work
Well, not when you are programmer.
 
6:18 PM
I would hate your job
 
@dystroy Don't worry, you still have those 3 other jquery versions included on the page for that case!
 
STOP FLAGGING! arrrrrg...
 
I'm probably not supposed to be in the JS chat room either, according to most corporate cultures.
 
If I couldn't take a 5 minutes of my day to enjoy the smooth jives of mr Astley I Wouldn't want to work there.
 
^ same here
 
6:19 PM
@IvoWetzel It's not for me. I dropped IE8 support from a long time.
 
Sam
^ same here
 
if I were caught and they put up much of a fuss, id threaten to quit
 
< is happy that this is not a problem at his workplace
 
I'd just sudo rm -rf / their server and walk out.
 
I work in a SUPER SECURE building dude.
I can only ssh to my house
and get on any chatroom I want :P
 
6:21 PM
we've spend yesterday finishing up some decor for the new office, pretty much all of the day was spend putting up some logo stickers onto the wall of the hallway. Since it wasn't working out "that" well in the beginning, I made a snarky comment about "So instead of having some professional doing this for 50 bucks? We make 4 fully paid engineers spend their day on this" My boss was all like: "Still better than paying them for watching kitten videos on youtube"
2
 
lol
 
^ then why even use jQuery anymore
 
@IvoWetzel And then you get called out on meta for invalidating all flags :P
 
I bet 80% or so of devs use it for the selector engine alone
 
6:23 PM
@ThiefMaster So it was you!
 
@Loktar I read this as "I can only ssh to my mouse"
 
Nope, just saw a post there recently where someone complained about someone invalidating pretty much every flag
 
and was so confused
 
haha
 
I mean thats a undreamt level of security
 
6:23 PM
yeah I have to control my mouse via terminal
its really weird :P
 
Well, its actually possible
 
mx : 120, my : 40, click "damnit missed the coordinates.. sigh"
 
@ThiefMaster I guess in the end it will even out, well, of course it depends on the community what level is considered offensive. There are sure things I don't want to see here, but just because somebody used "fuck" in a longer sentence, doesn't mean it needs to be flagged.
 
thats why i use vimium :p
 
Productive people will still be productive even with youtube, if they're not, they're probably not productive to begin with :O
 
6:25 PM
FLAG IVO HE SAID FUCK
 
Yeah, exactly those flags shouldn't reach the valid threshold at all. Or for even less "offensive" stuff.
 
wait... i did too
 
didn't someone flag rlemon for posting his own photo some time ago? :P
 
Rlemon is offensive though.
 
6:25 PM
@FlorianMargaine Fuck! Now you're screwed :(
 
@ThiefMaster better than that, I got banned for an hour for posting my current gravatar.
 
hahah
the indian dude right @rlemon?
 
which means a lot of people flagged it
no, see the pic I got now.
 
Miaou
 
was that pic @ 500*500
 
6:26 PM
Waf
 
we all had pics of that indian guy
 
Tu
 
@FlorianMargaine Oooooh don't say that of Rlemon.
 
cant remember his name.. but hes my friend on facebook
 
6:26 PM
yea I got banned for that too
 
@rlemon The fountain in the background sure is offensive!
 
No one can say bad things about THE BIG ROBERT
 
yeah Rlemon needs to stop hitting the bukake parties.
 
@IvoWetzel it's Niagara Falls.... :(
 
woooow
 
6:27 PM
@Loktar Govind Tiwari
 
@AmaanCheval haha yes!
 
@rlemon Oh
 
@rlemon Y R THEY MEAN WIZ U?
 
Niagara Falls (Cayuga: Gahnawehtaˀ or Tgahnawęhtaˀ) is the collective name for three waterfalls that straddle the international border between the Canadian province of Ontario and the U.S. state of New York. They form the southern end of the Niagara Gorge. From largest to smallest, the three waterfalls are the Horseshoe Falls, the American Falls and the Bridal Veil Falls. The Horseshoe Falls lie on the Canadian side and the American Falls on the American side, separated by Goat Island. The smaller Bridal Veil Falls are also located on the American side, separated from the other waterfal...
 
I got banned for that oo
But I think it was worth it
 
6:27 PM
oh man that was a great day
like 5 of us had his avatar
 
@dievardump no one likes Lemons... even though I prevent scurvy!
 
@rlemon I like you
 
such a pimp.
 
pimp my ride?
 
6:28 PM
I like you too @dievardump :)
done
 
amateur blinkify
 
lol the original blinker
 
btw: that's what we spend a day on
 
6:29 PM
Yeah XD
 
SoundCloud
 
nice @IvoWetzel sounds like that would suck
 
If my old boss does not mke me a good offer in Lyon, I'll try with SoundCloud
 
we had to buy a hairdryer to get rid of some of the bubbles on the a :>
 
I spent my morning on this:
 
6:31 PM
@dievardump You want to work in Lyon ? I thought you were in Montreal ?
 
@rlemon Nice pencil.
 
I come back in April
May*
 
yeah really nice edge, I can tell it took all morning
 
Thanks!
Good'ol number 2
 
Why ? Most French workers I saw in Montreal seemed happy not to be in France
 
6:31 PM
@rlemon Your headphones look kind of shitty
 
@AmaanCheval they are my gym headphones. but ended up at work.
 
Because I'll go in Australia or Argentina after that
And I still love Lyon.
 
@rlemon No really, what's the thing? looks like a reaaaaally small pc?
 
@rlemon Haha I HAZ YOUR WORK NUMBER
 
Aven with my 1.8k net I had enough to be really good.
 
6:32 PM
@AmaanCheval so does everyone else. its on our webpage.
 
I don't remember where you work, though
 
@IvoWetzel micro itx geode board
with a hand made ps
 
(wich is ridiculous compared to the 3.4k here. Without tax return)
 
@AmaanCheval google the number
 
It's kind of blurry
But I HAZ IT IF I WANTS IT
 
6:35 PM
lol
you want my business card?
 
Sure
 
whats your mailing address
 
I want everything you can give TO me
 
@rlemon Haha, seriously? :p
 
herpes?
2
 
6:36 PM
no way
 
doesn't matter had sex.
 
here you go
kinda blurry
before you prank call me: remember, it's long distance and the receptionist will answer :P
 
Hahahaha
I've got some free Skype credit
:D
Ooooh, you've got fax machines?!
 
have too. what business doesn't still use fax?
 
I don't know?
 
6:38 PM
all of them use fax still. :P
 
I've never even seen a fax machine IRL
 
probably have
most printers (office) have them built in
 
i don't know why or how to make my animations work correctly
 
You need stop.
like your answers say.
 
6:40 PM
You know, I actually have your personal number too, @rlemon
 
@MikeBoutin CACHE YOUR VARIABLES
 
519-588-....
 
every time you $(this) you are building back up the jQuery object on this.
 
@rlemon how?
 
Mwhahahahaha
 
6:41 PM
$this = $(this);
$this.fn1
$this.fn2
 
@rlemon it's faster?
 
anyone have a quick trick to focus? nothings working today.. meditation, binaural beats, breaking things into small tasks, nothing
 
^ like collections or context should be cached if it is ever used more than once.
 
sorry im kinda newb
 
@MikeBoutin use your brain. it does less, yes it is faster.
 
6:41 PM
ok
 
0
A: adding a margin to a fillRect with JavaScript canvas

Simon SarrisWell, since you're making the game of snake, we know what you want to do and I think it would be more useful if we tried to get you on the right track instead of modifying your existing code. Lets suppose our logical game grid is 60x60. So snake-pieces can be anywhere in this grid, having X and ...

I explain the world to him and he doesnt even reply :(
 
@bushdiver a little pot and some sex work for me. but they are sometimes hard to get at work
</sarcasm>
 
Sam
@SimonSarris I am an idiot, I tried to move the pointer on the picture.
 
@bushdiver Exercise helps me sometimes
@Sam Hahahahaha
 
@SimonSarris ;) when you notice
 
6:44 PM
@rlemon Do you have a site where it show all good practices you have to work with to create good and awesome scripts?
 
!!s/ca/com/
 
@AmaanCheval google.com (source)
 
@SimonSarris oh come on you should be used to that :P thats par for the course with the canvas tag
 
@AmaanCheval he asked if i had one.
 
6:45 PM
@rlemon Pfft, Canadian
I never use Google.in because a majority of the results end up being stupid Indian bloggers somehow
 
.ca is good :P
 
Sam
Google.cl FTW
 
@AmaanCheval ROLF
 
google.com ftw..
 
well I get redirected to .ca and am too lazy to change it in my settings.
so .ca lazieness FTW
 
6:47 PM
exercise, some sex and a little pot will trigger a 24 hour vacation..
 
You just have to click on "take me to google.com" once
Oh, they changed it to "Google.com" on the bottom right
 
one click is more than none
 
lol.
 
2pm... I can no longer find my work.
 
Hahahahhaha
 
6:51 PM
^ pretty much every day
 
Ohh Simon Simon... I put a bounty to award your explanation of the world.... and you don't even reply. :(
 
fb, so, imgur... very work-related...
 
@rlemon ?
 
12 mins ago, by Simon Sarris
0
A: adding a margin to a fillRect with JavaScript canvas

Simon SarrisWell, since you're making the game of snake, we know what you want to do and I think it would be more useful if we tried to get you on the right track instead of modifying your existing code. Lets suppose our logical game grid is 60x60. So snake-pieces can be anywhere in this grid, having X and ...

 
6:54 PM
@FlorianMargaine fb? where do you see fb?
 
@rlemon Near the middle
 
ahh yea that is an image
 
Next to the second Wiki
 
my bad
 
@rlemon Why not use two windows - one for work stuff one for other stuff
 
6:55 PM
Well, how are we supposed to know that? :p
 
@ThiefMaster well if I were not in Windows I would be using workspaces...
 
(or both for work stuff when debugging things etc)
 
@rlemon Hahaha
 
I have a reddit account basically to upvote you guys...
2
 
lol nice @rlemon
 
6:57 PM
@SomeKittens \o/ yay.... here you go.. have a upvote star
 
rolled back boss
 
hah nice
I considered doing that.. but its a mod :?
 
Provide the source?
 
6:58 PM
And so?
 
Sam
Do you need some priveleges to use the bot's replacing command? (!!s)
 
no
 
!!s/Do you need some priveleges to use the bot's replacing command? (!!s)/no/
 
not afaik
 
@SomeKittens No matching message (are you sure we're in the right room?)
 
^
 
Sam
I can't make it work in the Sandbox... sorry for my n00bness ._.
 
edited to put link in
 

« first day (822 days earlier)      last day (4127 days later) »