« first day (604 days earlier)      last day (4361 days later) » 

6:00 PM
no
the html/css engine is webkit
but chrome uses v8 for the js engine
 
So... how is it different from the perspective of DOM manips?
 
but v8 doesn't have the dom manipulation stuffs
 
JavaScript has nothing to do with DOM.
 
...
the DOM is a javascript object
@Esailija really?
 
The DOM is just an API.
 
6:02 PM
yeah, a javascript API
saying "javascript has nothing to do with dom" is stupid
 
JavaScript can be abstracted from DOM, so it's a completely different matter.
v8 has no support for DOM afaik
It's just browser thing.
Now, as for Webkit - I believe that it is a DOM manipulation thing, but I'm incompetent enough to be mistaken here.
 
hm, no
ecmascript can be abstracted from DOM, not javascript :D
 
:) okay
 
just kidding :p
 
6:04 PM
I got that :)
 
I know what you mean, don't worry, but I'm sure you know what I mean too
 
check out the folders html and dom
 
yep
 
@Esailija how come safari outperforms chrome in dom manipulations then?
 
6:05 PM
where did you hear that
 
in a lot of jsperf
 
Somehow, I'm looking at the new MacBook and I think... "I don't want it" :'(
 
what does that mean? People with faster computers tested with mac?
 
heh
@Esailija no, I tested with both chrome and safari on the same mbp, and got different results, for dom manipulations stuff
 
And it starts at $2150 >_< wtf
 
6:08 PM
I need some famous blogger to say it before I believe it
and I never believe dom results in jsperf
my css selector engine I wrote in 4 hours performed faster than jQuery
that's just bullshit
 
0
Q: Is there an elegant way to track multiple domains under seperate accounts with google analytics?

J_M_JI have a situation where a content management system uses the same template for multiple websites with different domain names and I can't make a separate template for each. However, each website needs to be tracked with google analytics. Would this be appropriate to track each domain like this by...

 
@Esailija but how does it perform in IE7?!
 
probably worse
 
I think thats one of the things that kills jQuery
 
it just doesn't make any sense you know
 
6:09 PM
they should have a jQuery lite
 
jsperf for dom = not good
 
but... then we wouldnt need it :P
 
lol, good point
 
@Loktar you mean, like zepto?
 
@FlorianMargaine oh I didnt realize zepto is just for newer browsers
 
6:10 PM
you can pick w/e you want
 
zepto doesn't supports
 
and there is the "old browsers support" iirc
 
it even uses __proto__
 
heh nice
 
> Note that conditional comments are no longer supported starting on IE 10
ORLY? but how are we going to code for shitty browsers then? :(
 
6:12 PM
why do you need conditional comments in ie10
 
lol "1.5 trillion push notifications a week"
 
it should be pretty awesome for an internet explorer
 
Will IE10 autoupdate?
 
@Esailija I was just kidding :)
@Oleg supposedly, yes
 
And by the way, am I right to think that metro apps can be written in JavaScript?
 
6:13 PM
it's supposed to have silent auto update
 
^ yay for IE
 
it better have forced auto update that cannot be turned off even if you paid
it's the only way
 
wow
> jQuery has extended the CSS3 selectors with the following selectors. Because these selectors are jQuery extension and not part of the CSS specification, queries using them cannot take advantage of the performance boost provided by the native DOM querySelectorAll() method. To achieve the best performance when using these selectors, first select some elements using a pure CSS selector, then use .filter().
its good to note that they do comment on these being slow.
albeit it's a masked comment
 
Vagrant looks nice
anyone tried it?
 
LOL
> <div id="dirty-hippie"></div>
 
6:18 PM
@rlemon can you imagine how slow nth-child is when implemented in javascript when you can't use any kind of dom caching (lol @ DOM modified listeners)
 
I love that ID to map to this image.
i like when source code makes me lul
why do people use @import() vs just using something like LESS to compile your css to a single file for you
now time to have fun replacing jQuery UI with Bootstrap on this CRM application.
 
By the way
What does "bootstrapping the application" mean?
I know there's an article on wiki.
But, in a couple of words?
 
it means taking the html5 out of your ajax and boilerplating it
tbh, I am curious too, is it a real thing?
 
hmmm
 
6:33 PM
ie6countdown.com anyone else from Canada irked that they just merged us with the US for the pie chart? (presumably)
@Oleg I read this and see "Re designing your existing web page / app with Twitter Bootstraps UI Framework"
I call it a UI Framework only because of it's components / but could be argued.
 
It's not really about the Twitter Bootstrap framework.
 
i know that
i'm just saying what i think of when I read that.
 
ah ok
 
wordpress is a blog bootstrapping application :P
 
I'm sleepy and my brain doesn't function...
 
6:36 PM
wordpress is a blog in a box...
a very big box
 
I got something in a very big box
 
wouldn't be able to claim it as a carry on.
You have to buy a second seat on the plane for it?
 
ITS A *$%# IN A BOX
SNL song reference..
 
word press sucks imho, i'm a huge Drupal fan so maybe my opinion doesn't matter
 
drupal seems like wtf to me
like more complex
but I have really limited experience with it
 
6:40 PM
Drupal is pretty complex, i thought i'd pick it up in a week. I ended putting in a few months of working with it on daily basis before I really liked it. I now try to use it for any project
 
Drupal is wordpress on crack.
 
can you imagine someone clicking fast enough to click while a trivial handler is still executing
 
having now dabbled in both.
 
@Esailija lol is that the canvas one?
oh nope
 
6:42 PM
i used WP several years back and found myself having to write too much custom stuff. I ended up just deciding write things from scratch when I tried to use WP a lot
 
theres a similiar one like that that was posted today
dude was freaking out over 20 ms response on key presses
 
@Loktar isn't double click 300ms response timeout? (default)
 
something like that yeah
 
he may be trusting .one() to fix a double click issue
 
-1
Q: KeyDown/KeyUp 70-120ms delay. How to reduce?

mjeyWe're developing arcade (a lot of action and speed) browser 2d-game using canvas. Sometimes our testing players report us that there is a delay: player still moving 5-10 pixels away after keyup. I've digged this issue, you can see yourself delay http://jsfiddle.net/C4ev3/7/ (try keydown/up any ...

downvote was from me
also.. lol he makes sure to report his network latency...
 
6:46 PM
I can't even make sense of that fiddle.
what is he showing us
 
@rlemon click to focus the result pane then use your arrow keys. There should be a console window showing the output of console.log
 
bah - only works in FF
 
it works in Chrome for me
 
nothing for me
and FFS does he not get that if i'm a slow key presser or heavy fingered that it is just going to take longer to register those keypresses
press - hold (not everyone holds the same) - release
idk, maybe I just don't get it.
 
yeah his test is flawed
this just shows how fast you can press and release a button, not a delay in the script
 
7:03 PM
Heh, MacBook price in US is $2199, in France - 2279€. Great.
 
damn! that's roughly a $650 difference
 
I guess I'll buy a Chromebook instead :D
 
lol
 
7:27 PM
lol
in PHP, 46 mins ago, by Charles Sprayberry
@rdlowrey I like to call it FDD. Faith Driven Development. You just pray and hope nothing messes up
@Oleg MacBook- $1000 more to be a hipster
what can a mac do that my linux lappy or my windows lappy cannot.
it's a "no docs required" laptop - and syncs up nice with your ipod/phone.
thats about all I can see.
 
7:48 PM
@rlemon Welcome to corporate programming?
 
lol
 
Sam
8:01 PM
Evening guys
 
stupid github
sure I changed my SSH key
but you should still know me...
 
:o
 
anyone else get spammed notifications from SO
and here come 4 more
 
yep
 
i'm upto 15 notifications now.
 
8:13 PM
32 here
 
wth guys
 
who has highest amount of helpful flags
 
IT WOULD BE HELPFUL IF I COULD VOTE!
wtf?
 
?
you can't give upvotes?
 
refreshed
now I can
Upvote : votes go to 0 no upvote button orangify
meh, bug? something messed up.
 
8:17 PM
ok brad larson ftw, almost 4k flags :D
idk works fine for me
just like voting answers
 
yea what I just said was it was bugged, refreshed now they are taking.
i didn't check the console. possibly didn't get a resource? some jQuery file
 
why does it have to be jQuery file that didn't work :D
it's the only file that is likely to work for sure as it's from google
 
I say jQuery because SO uses a lot of it :P
s/jQuery/js
and some jQuery file, not the jQuery file (i.e. i'm talking about some plugin or other file )
 
I see
whom did you vote
 
people I recognized, and high flag counts / revisions :P
 
8:33 PM
Oh hey, more programmers.SE rep :-)
7
A: Could someone break this nasty habit of mine please?

Ryan KinalI often find it useful to implement an algorithm, architecture, or data structure in order to fully understand it. It's a good way to think critically about the problem at hand, and work out the bugs in your solution. Read that again. "... work out the bugs in your solution." Implementation is...

 
good answer
 
LOL @Neal
sucks you get downvotes :(
 
Sam
In jQuery if you have a selector like this

$("#example").hide();

Is .hide() calling a function?
 
no hide is a function.
$().hide() is calling it.
 
Sam
This is something ive never know lol
 
8:41 PM
so yes... and no.
depends on how your asking it.
well dude.
 
Sam
I use jQuery loads, but i guess i dont understand why it works, if that makes sense
 
var obj = {
   foo: "bar", // string
   hide: function() {
        // i'm a function
   }
};
@Sam that is 99% of all jQuery 'Developers'
 
@Raynos yea, it happens
 
you need to learn javascript at some point.

Learn Javascript Videos

Apr 27 at 15:10, 1 minute total – 7 messages, 1 user, 0 stars

Bookmarked Apr 27 at 15:13 by rlemon

good start
 
Sam
@rlemon I agree, i do
 
8:42 PM
Yeah -- learn JavaScript.... It'll be the best thing you ever do...
 
Sam
Ill learn it soon, in the next couple of months im taking a Zend PHP certification
 
learn JS core, before working with JS libraries such as jquery... Makes life so much easier...
 
think about it this way. jQuery is just a abstraction / library built on javascript... it is javascript
you are trying to drive a car (long term) without knowing what gasoline or breaks or mirrors or seat belts are.
 
I'd say "learn how the wheel was made, before you mount the tire".. but who REALLY knows how a wheel is made..
i like your car-reference better @rlemon
 
using jQuery without knowing js is like me dumping a load of wood, nails, and tools infront of you and telling you to make me a house (and you are not a carpenter) - it'll stand... not for long... and not very well... and no one is paying for it
 
Sam
8:45 PM
Enough of the metaphors :P
 
last one hits it home nicely i think.
 
Sam
Its like digging a hole using a digger rather than using a spade first
 
Yeah
 
Sam
lol ;)
 
ok maybe not that. ...
 
Sam
8:47 PM
Now before everyone starts rhyming. I need to say that all rhyme are crimes
 
you know what rhymes with bad jokes?
 
it's like having a baby -- you're so excited -- but when it's born and comes out all fucked up you just say "fuck me"
 
Ignore
@Justin isn't that how you got there in the first place?
 
yep! lol
 
reminds me of "The Real Cancun" STD song
 
8:49 PM
Man.. today is proving to be an EASY day... 2:50PM right now -- and I haven't done a damn thing but install windows server onto a machine...
 
Does window.onload wait for images to load?
 
no
 
no..
 
Er... yes...
 
Sam
@Justin Agreed, i have done like 2 hours work today because my boss has been away and hasnt given me enough work
Oh my god raw javascript
 
8:50 PM
load maybe, not rendered.
 
"The load event fires at the end of the document loading process. At this point, all of the objects in the document are in the DOM, and all the images and sub-frames have finished loading."
 
lol.. my "boss" never gives me enough work.... He tells me to write a timeclock system for us -- and I do in 4 hours... spend the next week with nothing to do lol
 
@RyanKinal i've had the instance where the image is not physically displayed but must be loaded as i'm returning height and width properties.
 
lol.. my "boss" tells me: "Databases are crap! Only use files!"
 
Sam
@Justin Normally my boss is giving me too much work and expects me to work on weekends
 
8:51 PM
@Oleg so tell him you are using a binary file... (controlled by a database layer - you leave this out)
 
@rlemon So, in regards to the question "Does window.onload wait for images to load?" the answer is "Yes"
 
@Sam no no no no! weekends are MINE.... (i sit at home and program on the weekends too.."
 
@RyanKinal sorry I jumped the gun
 
@rlemon good point
 
Sam
You know at interviews when they ask what your hobbies are? I say programming :p
 
8:52 PM
@Sam -- i'd rather more work to do than no work to do... gets boring watching porn all day...
me too lol
 
I say tracking down registered sex offenders than standing out front of their houses in my gitch in the rain singing "Killing me softly" by the Fugees
so far I havent gotten any second interviews...
 
In all cases I've encountered, code in window.onload will know the size of images.
 
Sam
I prefer php to jquery
 
yet another evidence not to trust your tools blindly stackoverflow.com/questions/10987060/…
 
@rlemon haha -- the visual on that.. lol
 
Sam
8:55 PM
Just watched the hudson river landing on aircraft investigation. Damn that was some good flying
 
@Sam Link?
 
Sam
@RyanKinal I dont have a link to the video, but here is a wiki link -> en.wikipedia.org/wiki/US_Airways_Flight_1549
@rlemon That first video is super boring to watch, im trying to keep my eyes open :p
 
Ha. I am getting killed in the SE election
 
Sam
@Neal Can we vote yet?
 
And I'm not even in the running.... So sad..
 
Sam
9:09 PM
Can anyone review this answer of mine?

http://stackoverflow.com/a/10987565/1065786
 
@Sam Yes...
 
@Sam are you sure ?
 
Sam
@Neal Do you agree with the answer? Im just wanting to know if you do the same thing? Or do you use browser specific stylesheets
@DieVarDump I use this in all my projects, ive never had any problems with it
Ill see if i can find the source
 
@Sam What answer?
 
Sam
@Neal The link above?
@DieVarDump Here is my source -> webdesignerwall.com/tutorials/…
 
9:14 PM
I know the trick
it's just... not good to add a css class to an element just to define the actual browser
Add a different style sheet with the html comment
 
@Sam Don't think I have ever put a class attribute on the <html /> tag before. Can you really do that? Does that validate? W3C seems to indicate otherwise?
 
Sam
@ChrisNielsen As html 5 yes
@ChrisNielsen I validated this code
http://jsfiddle.net/CrW9U/
 
@Sam Why yes, so it does validate. Learn something new every day, I guess. You kids and your html5, I swear. =)
 
Sam
@ChrisNielsen I think its much better than browser specific style sheets, and neater. In my opinion of course :)
 
9:23 PM
lol my "boss" just came into my office and asked what i'm working on.. i told him: "lots of stuff" and he said ok and walked out haha
 
rofl
 
Sam
Lol
Watching porn, googling japanese anime, eating cake etc?
 
yeah pretty much...
I do however, at least have a file open in my IDE lol
 
Sam
Aha :p
 
3:30 right now... so I've got 2.5 hours left of my day.. and I've done NOTHING
wait that's not completely true.. i downloaded this image to put on facebook: sphotos.xx.fbcdn.net/hphotos-snc6/…
 
9:28 PM
Doesn't look like firefox though.
Master Shifu from Kung Fu Panda is Firefox.
 
Sam
Done nothing?!
 
hi , is there any way to make .net usercontrols like thing in javascript/jquery? actually i'm making similar things for different pages and i just copy paste the whole section
of html/jquery
from one page to other page
what i think is, it's called a plugin
if i make something like that, and just call from pages where it's needed
 
user image
2
and who said theres no i in team..
 
@jjpd That's a bit of a funny question. Can we assume a ".net usercontrol" is just a reusable component that you want to have on more than one page? If so, that is merely a design decision as you write your code. Of course you could write such a thing. Do you have a more specific problem that is preventing you from doing so?
 
thanks @ChrisNielsen i just wanted to know if it is possible, coz there r many pages still ahead to use same (html+jquery(events+functions)) code, better to think upon that pattern. thanks again. i'll try first to inform problems if faced during dev
i'll try first, then will inform
 
9:49 PM
@Justin epic
 
@rlemon absolutely!
 
Sam
Off to bed now guys, night
 
user986408
guys.. when using translate to change the position of an object.. where are those changes stored?.. offsetTop/Left and marginTop/Left have either the starting values or are undefined..
 
user986408
10:08 PM
never mind.. stupid brain error
 

« first day (604 days earlier)      last day (4361 days later) »