« first day (247 days earlier)      last day (4702 days later) » 

7:00 PM
@ThomasShields the corners are messy in IE :-P
 
@Neal yeah, one sec
 
depends how they store it @chris
and how strong your password is
 
lol @ThomasShields depends on how shitty their backend team is
i used to work at sony...
 
i saw a post online about how a hardware SHA cracker for about $5000
can do 20 BILLION attempts
a second
 
unfortunately people dont care as much as they should about backend security
lol
wow
 
7:02 PM
something about you can build a hw sha implementation in 401 gates
and $5000 worth of that, = 20Billion/second attempts
 
@ThomasShields i like jsfiddle better :-P jsfiddle.net/maniator/WwLGn
 
and lets not forget what craziness the feds have that we have no clue about
 
@Neal unfortunately it's not publicly hosted anywhere, but you can use PIE.HTC for IE drop shadows and corners: css3pie.com
@Neal lol okay
 
user1385191
IE's filters cover drop shadows
 
i dunno i think that the feds are playing catch up :P
 
user1385191
7:03 PM
no need for an htc
 
@MattMcDonald well there's a script too
 
some dude in russia could prolly blow their minds
 
@ThomasShields what isnt?
 
but just drop it on your server and link to it
I just mean there wasn't a CDN for it
 
ehh
idk if i want a whole lib tho
 
7:06 PM
it's not that big
well, maybe it is. it's just to get IE to play nice wit hrouned corners, so it's not all that necessary. plus, you can conditional load it for older IE only
 
@ThomasShields :-P
 
i dunno
if you use a degraded browser you deserve a degraded experience
 
@Neal jsfiddle.net/thomas4g/WwLGn/2 (fixed an IE7 issue)
 
haha true
 
IE9 isn't that bad
 
7:08 PM
@ThomasShields which was what?
 
i've been able to get in your browser sucks .js
w/e it is, to tell people < IE8 to get a new browser
 
@Neal i had to explicitly set left:0 on #menu for IE7 to get it into its thick skull
 
IE6, IE7 & IE8 were made for our job security
8
 
@ThomasShields lol ahhh ha
 
@MattMcDonald whoa
sweet
 
<DIV STYLE="width:100%; filter:
progid:DXImageTransform.Microsoft.MotionBlur(strength=13, direction=310)
progid:DXImageTransform.Microsoft.Blur(pixelradius=2)
progid:DXImageTransform.Microsoft.Wheel(duration=3);">
Blurry text with smudge of gray.</div>
NOW that's a user friendly DSL!
 
@Neal for the record, IE6 chokes. (it already choked though, because of the transparent PNG's)
@ChrisMarisic lol
 
user1385191
IE5.5+
 
7:10 PM
I love jQuery ;), because now people know jQuery but not javascript. I have seen companies asking to unjquerify their sites.
 
@ThomasShields yea i forgot that i wanted to change them to jpegs
 
@MattMcDonald so that's how Frontpage did those cool page animations!!!
:P
 
user1385191
@ChadScira there's a big market around that
 
@Neal JPEG's don't support transparency. go for GIF's.
 
@ThomasShields gifs still get f-ed in IE
 
7:11 PM
chris what if i want to use a 24-bit png?
 
user1385191
that's the crux of using GIF transparency
 
jpg2000s support transparency :D
 
user1385191
it's low-quality
 
alpha transparency + filters = :(
 
oh yeah true
 
7:12 PM
wait what ?
 
<nav id="navigation">
   <a>...</a>
   <a>...</a>
</nav>
var nav = document.getElementByID("navigation");
I want to have the number of a in it, someone ?
 
ok so i was using chrome today and i ran into something weird
<div id="foo">
 
@ChadScira ?
 
now window.foo exists
is that normal?
 
user1385191
yep, chrome makes a global for every id
 
7:14 PM
@ChadScira in IE?
 
no chrome
 
o chrome nm
 
pissed me off
 
y?
 
i had to do
 
user1385191
7:15 PM
I thought it was quirks behavior
 
window.foo && !window.foo.tagName
is it?
 
<nav id="navigation">
   <a>...</a>
   <a>...</a>
</nav>

var nav = document.getElementByID("navigation");
I want to have the number of a in it, someone ?
 
nav.childNodes.length?
 
$("#navigation a").Count() or similar =p
 
user1385191
12
A: IE/Chrome: are DOM tree elements global variables here?

bobinceWhat is supposed to happen is that ‘named elements’ are added as apparent properties of the document object. This is a really bad idea, as it allows element names to clash with real properties of document. IE made the situation worse by also adding named elements as properties of the window obje...

 
7:17 PM
thanks guys
 
thats horrible :(
makes me cry a little
making the global namespace all dirty </3
 
the whole notion of scope is fucked in JS, and seeing things like that post
its like what can we possibly do more to fuck up things?
 
@ChadScira well this is returning me the number of child regarding the TextNodes
 
@Oddantfr nav.getElementsByTagName('a').length
 
nice
:D
 
i love jsfiddle
 
i definitely find it great for trying to group debug js
 
@ChadScira ooh that's sneaky lol
 
lol
i had a previous solution that was a bit more complex
 
7:24 PM
@Neal whoops, forgot to change the links: jsfiddle.net/thomas4g/cdw5s/8
 
but since google gives you the actual callback...
its easy
 
@ChadScira that's definitely awesome, or scary lol
 
you track the window.focus and mouseover of the iframe to get a click
if there was no callback
blur*
works with pretty much any "like" button
and i assume lots of sites are doing this type of exploit
 
really you think alot?
 
a lot of the shady sites ;)
 
7:26 PM
don't you think google would start noticing sites with like 100% like conversion?
 
of course
which is why you stagger it
and track clicks... and never show it twice
same shit for facebook and stuff
people do it
the browsers need to fix it :P
how about no clickthrough on iframes at 0% opacity
 
yeah i guess it all gets caught eventually
but i guess that doesn't make it ineffective before then
 
depends if all the browser makers take chromes stance
 
in regards to?
 
no versions
autoupdating
 
7:29 PM
ooh, i'm up to 14 now
 
dev channel?
 
@Neal so did i do a good job? as regards speed/extensibility/cross-browser? :P
 
i like firefox's update system
 
yeah dev
 
i like chromes
 
7:30 PM
(me wants feedback)
 
< i only use firefox
 
man, i can't reply to my own message? CHEAP.
 
@ChrisMarisic hack self reply
 
7:31 PM
within 3 months no one has the older version
chrome has done it the best
 
@ThomasShields you can grab the a-id and just do :commentid to reply to yourself
 
now all browser makers need to jump on board to prevent version stagnation
 
@ChrisMarisic oh right
 
id rather worry about 2 lines (dev, and prod) for every browser than every version of each browser
 
@ThomasShields like so?
sweet.
 
7:35 PM
haha nice someone starred my lingscars.com msg
there we go
 
@ChrisMarisic That site terrifies me.
Blinking, bouncing, bright colors... ridiculous
 
    	for( var i=0 ; i < $("#menu a").length ; i++)
    	{
    		var element = $("#menu a")[i];
    		element.css({ "right" : pos });
    		pos += $("#menu a")[i].width() + 10;
    	}
Why is the console yelling at me ? :(
 
given a closure, can I access the internal members via reflection or if I happen to know their names?
 
@Oddantfr what is it yelling?
 
@Thomas css is not a function..
 
7:39 PM
er, yeah...
see, you can't access the items on a jquery selector like an array...
you have to use .eq(i)
for( var i=0 ; i < $("#menu a").length ; i++)
    	{
    		var element = $("#menu a").eq(i);
    		element.css({ "right" : pos });
    		pos += $("#menu a")[i].width() + 10;
    	}
 
god damn thanks @Thom
 
@Oddantfr not really sure what God is condemning, but no prob.
 
@Oddantfr Ideally, you'd only run that selector once, though
 
if $("#menu a") is not an array what is it then ?
 
a function
i believe
 
7:42 PM
you can iterate over it
 
it's a jQuery object of some sort
 
i'm pretty sure you can do that ( ).Each()
 
It's an object which can act as an array. A weirdo of some sorts
 
or something like that
i also think it does support something like .Count()
but i never remember jsdocs by heart, i only know most of C#s
 
user1385191
yeah. $.get() will yield just an array
 
7:44 PM
OK
 
user1385191
I've never really liked .each anyways
 
user1385191
functional overhead murders the speed of iteration
 
user1385191
which is what worries me with the es5 iterator functions
 
what would you be doing in the case you have to put events on a buch of common tags ?
 
user1385191
can you elaborate?
 
7:47 PM
@ThomasShields lol can u send the link again?
i walked away and now have 100 msgs here lol
 
@ThomasShields lol the gts site is basically the same as strike lol
just with different colors
 
@MattMcDonald use coffeescript, you get the syntactic sugar of functional map/each statements, but they compile to fast loops
 
@Neal exactly. all you have to do is update the actual content and swap out the colors.
 
@Matt each() is useful when you want applying common events on a series of tags
 
7:49 PM
@ThomasShields lol thnx
 
no prob. fun.
 
@Matt Do i have to understand doing it this way is reducing the performance of the script ?
 
user1385191
@Oddantfr do you mean a series of nodes? event delegation can help here as well
 
@Matt of nodes yes, event delegation is then proper than each access what's your point ?
 
god after doing work :( until 4PM its real hard to get my brain into architect mode and actually write software
 
8:07 PM
@ChrisMarisic listen to some classical music ;)
 
for coding rock is usually what does it for me
but that is a good thought
 
I should try rock my brain when coding
thanks for your feedback
:p
 
user196106
I usually listen to my computer ventilator+keyboard clicking :D
 
Oh god
looking at the starred messages
it seems like idiots gallore!
 
Raynos has added Matt McDonald to the list of this room's owners.
 
8:20 PM
@MattMcDonald congratulations
 
user1385191
thank you
 
ahahaha
"Senior is just a matter of quarters" - my boss
 
quarters?
 
quarter as in 3 months
 
I see.
I was thinking of 1. quarter-dollars as in what you put in an arcade game, or 2. living quarters
and not understanding either :)
 
8:29 PM
:D
 
fishin!
 
\8
 
:-P
 
8:42 PM
@IvoWetzel are you senior now?
youve been working for 2 quarters!
 
I'd ask for a raise
 
@Raynos Not yet, but I'll most likely will in under < 12 months
If everything works out, I'll get a raise in salary soon though
 
How does one become Senior?
 
depends on the company I guess
 
user1385191
I'm assuming it's a "senior developer" position
 
user1385191
8:45 PM
which means you really know your stuff
 
@MattMcDonald it is
 
user1385191
and get paid well
 
has a "Sr" in his title, which means nothing.
This means a lot more.
 
8:46 PM
but well, I got my boss to order one of those USB to DVI adapters
that means, when the thing arrives
I get another 27inch monitor
 
@IvoWetzel ?!
 
Having VIM on the first 27 is great
but 3 browser windows don't fit on the macbook screen...
 
I've heard the USB video things don't perform very well, but good luck.
 
@Nathan are you Sir nathan?
 
Man I wish.
 
8:51 PM
@IvoWetzel I thought you had 6 x 27" already
@Nathan oh wait "Sr" as in senior. Not as in knighthood
 
Unfortunately... we don't do it that way across the pond :(
In my case it means "we may or may not pay you a little more than we used to but not as much as everyone in Corporate HQ who has 'Sr Cons' [Senior Consultant] in their titles".
 
the way I see a Senior developer
you either fully understand SOLID software development, or you don't
 
Actually I'm more bitter than usual today because I'm being required to build and roll out XP PCs :*(
 
after all my interviews i've held at my job only 1 person has been able to hold up to my SOLID test, which coincidentally i hired immediately
 
@Nathan ouch.
 
8:55 PM
isn't familiar with the term SOLID
 
@ChrisMarisic what's your SOLID test?
 
how curious, google apis seem to be faster to load in chrome browser
 
@ChrisMarisic I'm curious too, care to elaborate on this? (not about SOLID, but rather about that "test")
 

« first day (247 days earlier)      last day (4702 days later) »