Tag: Rant

Love WebKit, Hate Safari

I love the speed and features of WebKit but I hate the UI of Safari. Maybe I can get over the clumsy UI in time?

Computed vs Cascaded Style

Most JS frameworks and libraries I’ve seen have a function similar to this: function getStyle(el, prop) { if (document.defaultView && document.defaultView.getComputedStyle) { return document.defaultView.getComputedStyle(el, null)[prop]; } else if (el.currentStyle) { return el.currentStyle[prop]; } else { return el.style[prop]; } } So what is wrong with this you might ask? Lets add some background and then we ...

IE Background Cache Fix

A while back a lot of people where covering how to work around the bug that IE always reloads background images from the server, leading to your UI flickering. Dean wrote one and lots of others wrote the same thing. Today, I saw this simple workaround (from a fellow Googler who worked at Microsoft before): ...

appendChild is not a Function

Another day another rant. Now it is time for me ranting how bad IE DOM/COM objects and ActiveX objects integrate with JScript. Given: var f = document.body.appendChild; f.call(document.body, document.createTextNode('Huh?')); This throws an exception because DOM/COM methods are not really instance of Function. Why is this an issue you might ask? Assume we have an ActiveX ...

IE 7 DOM and JS Changelog

Here are the DOM and JavaScript changes in the latest version of Internet Explorer 7, as well as the planned ones for the final release, since Internet Explorer 6.0 which was released in 2001: Begin Changelist ----------------- ----------------- End of Changes

WebOS in the News

In 1999 I was working at a company called WebOS that was doing a window environment and application platform that run inside the browser using techniques that nowadays people refer to as Ajax. It seems like it is time for companies to try the same concept again. Ars Technica and ZDNet are covering YouOS (which ...

Don’t trust this guy

I was reading through an article about Atlas at eWeek where they quote Russ Nemhauser, head of Nemhauser Media Inc.: “JavaScript is not an object-oriented language. It does not have strong typing; there is no exception handling; and there is no inheritance. One of the biggest problems with the AJAX approach is the amount of ...

IE7b2, is it intentionally this bad?

Here are just a few things that are incorrect, horribly broken or totally non-existent in Internet Explorer Beta 2. (This is far from a complete list. I’m assembling this list as I’m writing this post.) DOM Level 1 Core Comments are still incorrect Attributes are still horribly broken DOM Level 2 Views document.defaultView getComputedStyle getOverrideStyle ...

Typed Programming

Typed programming can be nice but when you have to write something like this things have gone too far: Microsoft.Msn.Hotmail.SortBy _sortBy = (Microsoft.Msn.Hotmail.SortBy) Enum.Parse(typeof(Microsoft.Msn.Hotmail.SortBy), aSortBy); Compared to a dynamic typed language: var _sortBy = aSortBy;

Some Real IE7 News

I guess you all seen and maybe even tried Internet Explorer 7 Beta 1 by now. To me it wasn’t very surprising. Dissapointing? Yes. Well, according to Chris Wilson, the following bugs have already been fixed and we’ll see them in beta 2: HTML 4.01 ABBR tag Improved (though not yet perfect) <object> fallback CSS ...

Screen Readers Suck

There has been some mumbling about accessibiliy and javascript for quite some time now and today I read the following at the DOM Scripting Task Force blog: It’s also all but impossible for some applications, such as Google Maps. In fact, after some preliminary testing our own Derek Featherstone was so dismayed by the state ...

Visual C# Express Sucks

Visual C# Express 2005 Express Edition Beta 2 is actually a quite nice IDE for developing C# applications. It has a lot of features that make navigating and figuring out the framework a breeze. The reason I think it sucks is the following: I had developed an application for a few hours and to be ...

Fixing MSDN

Add the following to userContent.css to allow reading the articles at MSDN. pre { white-space: pre !important; }

20k Spam

Damn, what is up with people opening email attachments. This is just getting ridicilus :’( I think this is a new personal record. 20 000 junk messages in less than 24 hours.

New IE Update

There is a new Internet Explorer update available.

Same As it Ever Was

It is now clear that the Swedish people do not want any change. Somehow I find it odd that the Swedes are satisfied with falling behind the other OECD countries and that they believe that saying no to change will help Sweden change this pattern. It is also clear that the Swedes do not want ...

General Layout Completed

I’ve created a new CSS based layout. I got the ideas for the layout from the Zunflower layout made by Radu Darvas for the Zen Garden site. Although not even close to being as nice as the source of inspiration this one has a few nifty tricks up its sleave. I originally wanted to achieve ...