Tuesday, October 24, 2006


I just downloaded Tangerine, a new app that is supposed to make itunes playlists of like tempoed songs. Pretty cool so far. You can get the free download while it is still in beta.

Thursday, October 19, 2006

IE7 first impressions...not good

1. I just downloaded ie7 on my work computer. I was having a problem with the way ie6 was displaying some css, so I thought, "If ie7 renders this properly, then I will just tell the client to upgrade." Well, ie7 made the same rendering mistakes. So much for all the hype.

2. I went to download an exe file to install. In ie6 it asked me once if I wanted to run this file. IE7? you guessed it, it asks me twice; I guess that is improved security.

When I told Kevin about this (over IM) all he said: "you expected?" I think that says it all.

My first impressions are that this is a poor product. Thanks Microsoft.

I will continue to post my impressions as they happen.

Sunday, October 08, 2006

has_parent? is deprecated and will be removed from Rails 2.0

For anyone using acts_as_tree the node.has_parent? method has been depricated. Instead, use node.parent, like this:

do something unless node.has_parent?

do something unless node.parent

Monday, June 26, 2006

Ruby on Rails bug

I put this in my view:

<%= check_box_tag 'newSignon', '1'%><%=content_tag 'label', 'New user?', {'for'=>'newSignon', 'onclick'=>visual_effect(:toggle, 'newBlock')}%>

I expected this:

<input type=checkbox id="newSignon" name="newSignon" value="1"/><<abel for="newSignon" onclick="Effect.toggle('newBlock')">New user?</label>

I got this:

<input id="newSignon" name="newSignon" type="checkbox" value="1" /><label for="newSignon" onclick="new Effect.Toggle(&quot;newBlock&quot;,{});">New user?</label>

I guess it is escaping the embedded quote, but it is doing it inappropriately. I don't have time to dig through the source and fix it, but I might later.

Wednesday, February 22, 2006

Better Quote

"PHP is the devil"

-David Heinemeier Hansson
(later in the same talk)

Quote from DHH on ROR

Here is a great quote I just heard:

"This is a snowflake... Your application is not one of them. For most of the time, for most of the people what they do is not unique. You are not special."

-David Heinemeier Hansson
(talking about Ruby On Rails)

listen to the talk

(In case you are wondering, I love the quote and ror)

Monday, October 17, 2005

Installing MySQL 5 on Fedora Core 4

It seems like some people (including me) are getting this error when installing the rpm of mysql 5 on fedora 4: libmysqlclient.so.14 is needed by (installed) dovecot-0.99.11-2.EL4.1.i386

Here is how to fix it:
1. Open the package management tool and go to the mail server.
2. Uninstall dovecot.
3. Run the RPM again: rpm -Uvh MySQL-server...

Now it works!

Wednesday, August 03, 2005

No more google

To those of you regular readers (and I only count myself in this group), you will notice that I have removed the google advertisements. I did this because:
1. I have finally become convinced that the only people who click them are people who think they are part of the site.
2. They are becoming ubiquitous. I prefer more uniqueness with my ubiquity.
3. Although I still use google for searching, I no longer think they are an "us" company. They are a "them."
4. Google is being sued (multiple suits both in the US and internationally), meaning people are alleging that it has engaged (or at least not taken diligent measures) in practices that inflate the click through rate of adverts. You may notice that in my blog roll I read three google blogs. You can find more information about this issue from the http://www.fuckedgoogle.com/ blog.

Thursday, May 19, 2005

Creating a Class from xml

For any of you writing api's for today's hottest websites (say that like your a game show host), there is a great tool that will turn an xml document into a cs file. The tool is xsd and comes with Visual Studio .NET. Here's how it works:

1. Use the following text to make a file called c:\table.xml:

<?xml version="1.0" encoding="UTF-8"?>
<table cellpadding="0" cellspacing="0" border="1">
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
<td>col 1 row 1</td>
<td>col 2 row 1</td>
<td>col 3 row 1</td>
<td>col 1 row 2</td>
<td>col 2 row 2</td>
<td>col 3 row 2</td>
<td>col 1 row 3</td>
<td>col 2 row 3</td>
<td>col 3 row 3</td>

2. Open cmd and goto c:.
3. Run the following: xsd table.xml
4. See the file created c:\table.xsd
5. Run the following: xsd table.xsd /t:lib /l:cs /c /namespace:xmltest
6. See the file created c:\table.cs

Isn't that cool? It makes all the classes and even makes arrays. Admittedly, it would be better if it made strongly typed collections, but it is not bad.

[tags: ]

Monday, May 16, 2005

Hello Cleveland!

Well it has been a long time since I wrote anything here. I have been super busy with deshuffle, which was going very well before I left for vacation, and got sick. I am still sick. I haven't touched it in weeks. Hopefully it will be live before too long.

Anyway, vacation was great! We had a great time with my Dad and Step-Mom in LA, and with Gil in the bay area. I shot about eight hours of video and took about 700 pictures.

Work is going well.

I just vaped my laptop and put 2003 on it (2000 was getting way too slow).

Amelia and Abby are doing very well. Kim is sick too :( though.