Wayne Pan

tech | js | ui | ajax | life | mobile
Filed under:

PPK, of quriksmode.org fame, has been busy updating his events compatibility table and has uncovered some interesting bugs in the mousemove event.

When doing my new mousemove test I found a bug in IE5-7 that I was previously unaware of. When the user moves the mouse over the element, the mousemove event fires many times, as it should. However, when the user stops moving the mouse, IE5-7 continues firing the event every once in a while. This stops only when the mouse leaves the target element entirely.This is obviously a bug: when the mouse does not move the mousemove event should not fire.  

On top of that he’s stating that the bug has been copied by the Safari and Opera team. I think it has less to do with the browser implementations with more with operating system oddities.

For example, OS X Firefox 2 mousemove events are triggered when Firefox is brought back into focus (using cmd-tab, no mouse movement). However, on Windows XP sp2 Firefox does not display the same behavior! You can say this is a bug for Firefox’s mousemove event implementation or you can push that on the operating system for sending a mousemove event to firefox itself. Six in one hand, half dozen in the other.

Also interestingly, Safari 3 on OS X, the mousemove events are fired every time a key is depressed and then released! On Windows XPsp2 IE6, the mousemove events are triggered anytime the screen is redrawn. You can all sorts of fun yourself with PPK’s test page.

The bottom line is that if you happen to attach logic to the mousemove event just make sure it’s safe to call multiple times.

Comments (1) Posted by Wayne on Monday, April 7th, 2008


Filed under:

Dave Winer offers a compelling reason on why Google would offer it’s Web Services (AWS competitor) for free. (That is if they actually release one like I predicted for this year.)

The basic premise is that if GWS were free, Google could reap the benefits of having a whole heap of developers tied into their platform. After which acquiring a company would be much less cheaper if they’re already tied into the Google cloud. I can see Google making a move like this for the normal user but they would eventually have to charge for larger customers. After all they already provide 6.5 gb of storage space for gmail users but providing unlimited GWS usage is a hit not even the mighty Google can take.

Comments (1) Posted by Wayne on Monday, March 31st, 2008


Filed under:

As most everybody knows by now the IE team will increase IE8’s concurrent connections to 6 (from 2). Now there are rumblings that the next FF3 beta will follow suit and increase the default to 6.The HTTP/1.1 standard recommends 2 which at the time made sense.

In the world of broadband, limiting connections per host to 2 makes little sense. Us fronteers have been forced to do subdomain hacks, css sprites, etc to deal with this. I’m psyched.

Steve Souders also has a good wrap up along trying to answer the question of will this break the internet?

Comments (0) Posted by Wayne on Friday, March 21st, 2008


Filed under:

photo-2.jpg

The YUI 2nd Birthday was a dud except for the free shirts, free food, free beer, oh and something about YUI 3.0. The vision plan they have for 3.0 is faster, lighter, more secure, more modular.The front of the shirt is above but the back of the shirt has the quote “This is Yahoo!” and I agree.

Yahoo! has done wonders in terms of front-end engineering with YUI, Design Patterns, YSlow, Juku, and even hiring someone full time for firebug. They are bringing much needed attention web dev and the continued promotion of javascript as a first class language.

On a side note, when I read the “This is Yahoo!” slogan I imagined Jerry Yang kicking Balmer into an endless pit and yelling “THIS IS YAHOO!” 300 style.

Comments (0) Posted by Wayne on Thursday, February 28th, 2008


Filed under:

I read that Microsoft’s online storage solution Skydrive was just upped to 5gb. I haven’t tried Live so I tried to register as a new user, what did I get?whitescreen.pngAt first, I figured they were getting bombarded with new sign ups and I thought it was odd. On a whim, I opened up FireFox and lo-and-behold, the sign up page finally showed up.I tried again with Safari and I received the same error page! I can’t believe Microsoft is still pulling this shit. Maybe I’m wrong, if you’re on Safari let me know if you can sign up using this page.

Comments (3) Posted by Wayne on Thursday, February 21st, 2008


Filed under:

picture-5.pngLet’s take a look at the recent headlines, all garbage. Nothing to do with actual tech!

Yes, I know VW is a gossip rag, but at least a year ago there was some semi-relevant content. I’m going to have to blame Denton’s new pay scheme which pays the writers on number of pageviews a story gets. The greatest draw? SEX. Right now it’s a free for all for who can come up with the story with the most sex. Sad.Deleted from my bloglines and deleted from my bookmarks. It looks like the only decent now a days is Gawker Media site to read it Kotaku.

Comments (0) Posted by Wayne on Tuesday, February 19th, 2008


Filed under:

If you haven’t started watching Start-Up Junkies on MojoHD, you should. (Catch the latest episodes here.).

This season is about the new start-up Earth Class Mail, a company that intends to put your snail mail and online. The show highlights the troubles of building a start-up and in this case a start-up with a lot of capital expenditures. These guys have to figure out a way manage millions of physical items, not just build a kick ass website.

Comments (0) Posted by Wayne on Sunday, February 17th, 2008


Filed under:

Who would’ve guess? Now I have no doubt that my prediction will come true. Just a matter of which of Yahoo!’s properties bites the dust first.

Comments (0) Posted by Wayne on Friday, February 1st, 2008


Filed under:

mac.png
Where is the Mac? No, not the iMac or the Mac Pro or even the Mac Mini. I’m talking a Mac, a machine that gives me better than iMac specs without a built in monitor. I don’t need the nuclear powered Mac Pro (or it’s price) but at the same time don’t want the paltry Mac Mini. Give me something in between damn it!

IMO, Apple has missed yet another opportunity at this year’s MacWorld by not introducing such a machine.

Comments (0) Posted by Wayne on Wednesday, January 16th, 2008


Filed under:

acid3-ref1.png
The first Acid test was essentially to test browser compatibility for the box model. The Acid2 (try it out in the browser you’re on, Safari3 passes btw) test focused on HTML/CSS for static content.

Now Acid3 is being developed and will focus on the dynamic portion of the web, ie javascript. Finally, an Acid test I can get behind! The other Acid tests merely pointed out inconstancies in very edge cases of css and html rendering; not very useful. Acid3 ensures that javascript code written adheres to the ECMAScript spec, which is much more important in my mind.

John Resig has a good summary of the draft along with renders of the test in different browsers. (Many more here.)

Comments (0) Posted by Wayne on Monday, January 14th, 2008


mt