f’ing A! CSS Positioning sux

Every time I try to use CSS for positioning, I hit the wall. Gradually, this wall has been getting further and further, but I still always hit it. First I couldn’t get things to lay out correctly at all. Now I can get them to lay out, but only on three of the four browsers at any one time. Then I read this and it makes me feel better:
jwz – CSS is BS

I have learned or in some cases reconfirmed a few other things about CSS, too:

  • Web designers, and especially blogging web designers, are self-important fuckheads. This might be tolerable if they were right, but by and large theyre also dumbasses.
  • Everybody who fancies themself a CSS expert uses pixel-based layout for everything. Their shining examples of elegance always include boxes that are exactly 400 pixels wide, and that specify font sizes in pixels not even points This is better than auto-flowing auto-sizing table layout… why?
  • Most of the time, these examples look like ass on my screen, presumably because Im not running Windows and dont have the same fonts that they do. Or maybe because theyre all using 50-inch monitors and sit with their noses on the glass, the only way those miniscule fonts could actually look readable to someone.
  • They never measure in “em” units, so that their boxes might have at least some relation to the size of the text inside them.
  • This may or may not be because “em” doesnt work consistently across various browsers.
  • Oh, “em”, a term from the world of physical typesetting, is supposed to be the width of a capital letter M, and used only for horizontal measure; the vertical measures are ascent, descent, leading, and sometimes “ex” height of a lower case “x”. CSS defines “em” as being the height of an M instead making it synonymous with “ascent”, which makes it generally about twice as big as youd expect if you know anything about this stuff. Nice. Thats like redefining “centimeter” because it seemed more convenient at the time. Except sillier, since “em” is an older unit of measure than centimeter is.

Correcting the record on Microsoft’s foray into Open Source

Microsoft is making big headlines in their announcement that they are releasing some technology as Open Source…

Why Microsoft Is Going Open Source | Linux Journal

No one would have believed me if I had said five years ago that Microsoft would have a page on its Web site called “Open Source at Microsoft” with the following remarkably sane and reasonable statement on the subject:

Microsoft is focused on helping customers and partners succeed in a heterogeneous technology world. This starts with participating and contributing to a broad range of choices for developing and deploying software, including open source approaches and applications. From thousands of lines of code and scripts on MSDN and TechNet, to open source applications like IronPython, ASP.NET AJAX, SharePoint Learning Kit, and WiX on CodePlex and SourceForge, Microsoft is continually growing the number of products released with open source access.

Thats right: Microsoft has released not one but several pieces of code as open source. Moreover, its submitting some of its home-grown licences to the Open Source Initiative for approval. So what is going on here?

Very few remember Microsoft’s first release of Open Source code: The Microsoft Virtual Worlds Platform. I worked on that platform from 1994-1999. It was originally designed to be a Microsoft product, but for various reasons it became clear that it wasn’t to be. So rather than just kill it, the team decided to release it as open source, very quietly. So, of course, very few have heard of it and no one remembers that it was Microsoft’s first open source release (to my knowledge).

Interesting side note, it turns out that some grad student in China submitted MS Virtual Worlds platform as part of his thesis claiming he wrote it. heh.

Unfortunately, the source code wasn’t hosted on Microsoft.com and I can’t find it anywhere easily. I’m sure someone has it archived somewhere.

more Apple developer badness

Apple distributed a different build of 10.4.10 to those using MacBook Pros to fix a problem with the audio, which in itself is all good. No one wants to have crummy audio on their laptops.

One MAJOR glitch though, since this means that my MBP has essentially a different version of the OS than the desktop machines. Therefore, when I try to build using Rendezvous in X-Code, no machines match my configuration. Therefore, the slowest building machines will build even slower than before.

Sheer freaking genius. Thanks Apple, you’ve now made my builds take about 20 times longer than before. Do you think we’ll see a fix before 10.5? I don’t.

Interesting post on life at Google vs Microsoft from a individual contributor perspective

Life at Google – The Microsoftie Perspective « Just Say “No” To Google

The comments are freaky. MS folks piling on this person which seems kind of stupid, because this reads like a love letter to life at Microsoft if I ever read one. I’d like to see this person follow up with a second interview in a few years and see how the Microsoft grind changes their perspective. I never worked at Google, but part of the reason that I left MS was because it was starting to feel like management looked at developers as cogs in the machine. Maybe its worse at Google, I don’t know, but this certainly doesn’t compel me to go work there. Especially as a manager. 100 direct reports! That is insane.

The difference between being an Apple developer and a Microsoft developer

At the Microsoft Professional Developer Conference

Check out this new technology! It will be shipping next year, and it is super awesome! It is the way we are going and we’re putting a huge amount of effort behind it!

It sounds neat, you drop your old silly code and jump on the bandwagon figuring you’ll be ahead of the game . The next year: silence. No mention. What happened? Microsoft dropped it. Whoops, too bad.

At the Apple World Wide Developer Conference

Hey, we’ve completely changed the OS! You’ve got 30 seconds to rewrite all your apps!

This sucks. It happened with the switch to universal and it is happening now with the switch to 64-bit. The worst part is the arrogance that comes from the stage when Steve talks about how easy it is. It makes the software vendors look like crap to their users. The switch to universal was as simple as checking a check box if you were doing nothing interesting. Wolfram Research’s products are unix products, there isn’t any altivec assembly in them. Real products of real substance like Adobe’s or Microsoft weren’t so simple. Everyone in those companies had to drop what they were doing and spend months rewriting code (switching to X-Code was a serious en devour in itself) just to get back to where they started. Now, with the switch to 64-bit, Apple is now saying that they are dropping Carbon support. However, that is not what they were saying up to a week ago. If you look at the cached page on google for Leopard 64-bit, you’ll see the following quote:

Leopard delivers 64-bit power in one, universal OS. Now Cocoa and Carbon application frameworks, as well as graphics, scripting, and the rest of the system are all 64-bit. Leopard delivers 64-bit power to both Intel- and PowerPC-based Macs, so you don’t have to install separate applications for different machines. There’s only one version of Mac OS X, so you don’t need to maintain separate operating systems for different uses.

Dropping carbon is MAJOR. For apps that exist on both windows and OS X and for apps that predate Objective C, Cocoa is a non-starter. Many of Apple’s own major apps are written in Carbon. Apple just shafted their ISV’s and then told their user base that 64-bit was going to be awesome gearing them up for a second major revolt when the next set of apps come out and they aren’t 64-bit. This is the universal thing all over again. And WTF with Steve on stage saying “you’ve done a great job switching to universal, well, most of you.” Jackass.

The RIA battle heats up

Not content to let Adobe and Microsoft slug it out, Java and Firefox decide to enter the fray.
APC: Firefox to go head-to-head with Flash and Silverlight
CNET: Schwartz: JavaFX can take on Flash

I don’t think that this will amount to more than a distraction. JavaFX seems a bit like a mess. Reading over the docs, it is very awkward from a language perspective. Java devs don’t really need it. I could see it being more of a problem for Flex than Silverlight, only because I don’t really see a lot of the Java crowd embracing any Microsoft technology. That said, it is really aimed at the same target market that Silverlight is: developers. Flash devs aren’t switching to Java any time soon. Even Silverlight doesn’t seem to do much for them. I’m guessing that JavaFX may gain some success in the Java community, but I don’t see it peeling of Silverlight or Flex devs.

The main problem with Firefox is marketshare. Until they hit 95% of the browser market, why would anyone do something that would only work in that browser? I’m assuming that I’m missing something here.

proof that H1-Bs are used to hire cheaper labor

I have railed against the abuse of the H1-B program in the past, having seen it up close in a previous company.

The program was cut back seriously after the bust, but several key tech heavyweights have been arguing for its return to old levels even though there are still 800,000 fewer people employed in the tech sector compared to 2000.

The InfoWorld Reality Check blog has some more data dispelling the lie that H1-Bs don’t drive down wages for the rest of the industry. Part one is anecdotal evidence from a former HR person, the other is real study data from John Miano. Unfortunately, he seems to work for some right-wing anti-immigration think tank. Can we get some more impartial data or anecdotes?

Flex goes Open Source

Flex:Open Source – Adobe Labs

this is freaky awesome news. I work at Adobe and I didn’t even know about it. This will totally open up the tool chain and allow lots of cool authoring apps addressing the different needs of Flex developers. I won’t jump the gun and declare Expression or WPF/e dead, but in the minds of web developers, who are the kinds of people who actually care about this stuff, this makes the decision a no-brainer.