Jet's Blog

"even Microsoft Designers Have Problem with IE"

Wednesday, March 29, 2006 3:01 PM
This is pretty funny, I saw it on Digg at this post today, called "Even Microsoft Designers Have Problem with IE"
StupidIEMarginHack and StupidIEWidthHack  
From this Microsoft website, host of various microsoft software, their CSS file starts with the following:
/* fix for the IE 1px-off margin error */
* html .StupidIEMarginHack
{
margin-right: 1px;
}

* html .StupidIEWidthHack
{
width: 100%;
}
...

Kevin, I'm guessing you can relate with this?

Visibility: Anyone
1. Posted by
LOL...I guess they're web designers first and Microsoft employees second. I don't know if you'll find a web designer out there who hasn't been very annoyed at IE at one point or another.
3/29/2006 3:43 PM
 
2. Posted by
That is funny because many of us have been there: you're trying to figure something out only to discover some stupid bug has been holding you up for hours. In your anger, you give the fix variables names like "godDamnThisShit" or "fuckThisStupidThing"
3/29/2006 4:13 PM
 
3. Posted by
The best is alternating curses and the name of whoever is forcing you to do the work for variable names. Makes for interesting code.
3/30/2006 1:01 PM
 
4. Posted by
I wonder if they run Policheck on CSS files.
3/30/2006 1:06 PM
 
5. Posted by
Yeah, I am surprised that got past their checking stuff.
3/30/2006 1:47 PM
 
6. Posted by
The Linux kernal seems to be tame compared to some of Chuck's code rage:

http://www.vidarholen.net/contents/wordcount/

Even with a low incidence of fuck, its interesting to see the word counts based on version releases ect. DE
3/30/2006 4:30 PM
 
7. Posted by
Funny story, so in college I generally was pretty liberal with my usage of swear words in school projects, either in the comments or naming of variables.

One particular project we had to do was a branch and bound, NP hard scheduling program. I completed it several weeks before the project was due because I was competing with some of my current housemates. (note I normally would have completed it at midnight before it was due)

Anyway the night I had to officially turn it in I found out that i also needed to submit a non-graded description on my optimizations. Weeeeeeell. I kinda had gone to see a concert that night, and then gone out partying. I might have been a wee bit drunk. I type up the description of my algorithms in vi at 4 am and submit the project.

The moral of the story is I was the 2nd fastest program in the classroom. And I scored 100% on the project for correctness. However the grader subtracted 3 points for "excessive swearing in comments and code" and 2 points for the awful grammar and spelling in the ungraded algorithm description.
3/30/2006 4:31 PM
 
8. Posted by
lol. both the linux kernel swear count and your erics are hilarious. stupid grader...
3/30/2006 5:04 PM
 
9. Posted by
those swear counts are great!
3/30/2006 5:51 PM
 
10. Posted by
I didn't realize "penguin" was a swear word. i'm gonna have to start using it more often...
3/31/2006 7:47 AM
 

Bring down my DSL line! HAPPY HOUR WIKI!

Thursday, March 9, 2006 4:39 PM
Hello folks!  It is with great pleasure I introduce my Happy Hour Wiki (http://www.helpthehappy.com) for the Seattle area!  I have copied a ton of entries over from another site already, so it is quite complete right now, but please look it over and add any pubs/restaurants that aren't included in your area. 

Here's the goal - we need so many people viewing and editing the guide that my puny DSL line hosting the web site from my house croaks!  So get your happy hour on, and get editing any mistakes/adding hot deals to the guide!
jet
Visibility: Anyone

Alexander signs 8 year contract with Seattle

Monday, March 6, 2006 10:46 AM
    I'm not sure this was a smart move on the Seahawks part.  Maybe, but maybe Alexander just had the best year he'll ever have and we should've saved the money for the offensive line...
Seattle Times LInk
...$62.million contract that includes more than $15.million in guaranteed money during the first year of the deal...
Your opinion?
Visibility: Anyone

A Golf Charity?

Friday, February 24, 2006 12:36 PM
I've read some interesting articles about the flat tax system that's been put in place in some of the countries that were former USSR provinces.  I'm not a fan of the flat tax system, but this article definitely highlights a problem with our system.

Billionaire Gives a Big Gift but Still Gets to Invest It

Essentially, because of Hurricane Katrina, he gets to write off a deduction for a charitable gift equal to 100% of his adjusted gross income instead of the usual 50%.  So on the last day of the 2005, he donated 165 million to a small Golf charity (is there such a thing?!) that he controls.  It spent one hour in their bank before being transferred into his fund for his management...  Now the money still isn't 'his' anymore, but he's leveraging it etc. etc. read it for details...

Anyway, between this sort of legal but questionable tax exemption and the fact that Warren Buffet would pay less than 3% tax on his total earnings if BH paid a dividend (see Buffett slams dividend tax cut) while his secretary making 1/1000 as much money as him would still pay about 30%, it's annoying.  I guess though, at least problems could be fixed by adding another clause in the tax code saying a person cannot benefit from a charity they donate too, and the dividend tax cut - well we'll just need a new president to solve that one...

Added note: wow, this article on Iraq's flat tax is hilarious - written around the peak of the Iraq hype, it's amazing how wrong he is.  I can help laughing reading "It would be deliciously ironic if the Iraqi flat tax begins to attract business away from Europe’s welfare states and helps pressure these socialist nations to lower their tax rates. This might be a fringe benefit of Iraqi tax reform."  ...companies from Europe are just flooding into Iraq now aren't they, business in Iraq is just soo wonderful with their tax system!



Visibility: Anyone

Chinese keyboards

Wednesday, February 22, 2006 4:00 PM
Somewhat interesting article about how Chinese typing works and the variations that exist - Hong Kong, China and Taiwan all use slightly different systems.

http://www.slate.com/id/2136726/

Currently, I feel our keyboard system is incredibly lame also here in the western world.  I guess it gets the job done, but it really seems there should be a much better way to type - like why haven't we all learned to type the way the speed typists do that take notes in court?  They can type 120+ words per minute no problem.  Is it that hard to learn?  I doubt it, but it's the damned lock-in effect - I learned to type Dvorak style and kept it up for about a year in undergrad, till I just said fuck it, because every time I went to a cluster or friends computer, I'd be screwed with Qwerty...
Visibility: Anyone