Breaking the Mold

Leonard does things different:

Hey, it looks like I’m the ‘Feed of the Day’ over at Feedster. Just goes to show that you don’t need things like ‘regular updates’ or ‘finished templates’ or ‘permalinks’ and ‘date stamps.’

I would link to the post, if I could. (Poor man’s permalink: scroll down on his homepage to just above the pictures of the Treo 600 and the Sidekick.)

The Coffee Guy

I write this from the comfort of a tall stool in the brand new Coffee Guy store at I-10 and Highway 6/Addicks. Some of you may know the Coffee Guy as that cute little place at Richmond and Sage that mostly caters to a drive-thru crowd. They’ve decided to expand their business and have moved out to this swank new shop they built and designed from the ground up. The old place was so small it wasn’t really conducive to lounging the way most coffee shops are, plus it didn’t have any internet access, a requisite feature these days. I can’t speak for the coffee, because I’m not a coffee guy myself, but I can safely say that they have the best hot chocolate I’ve had anywhere—think multiple layers of whipped cream, caramel syrup, and chocolate syrup. However I have heard from people who do know coffee that The Coffee Guy at their previous location was quite good and I don’t see why this one should be any different.

With the new design they obviously had high-tech coffee lovers in mind, with power outlets everywhere, wi-fi and wired internet access, a big plasma TV, and lots of seats and tables. I can’t vouch for the coffee, but what I can vouch for is their internet connection, which has speeds consistent with a high-end cable connection. Connect to SSID TheCoffeeGuy and you’re good to go. I’ll have to tell my friends in the Houston Wireless Users Group about this. Here’s a few pictures I snapped:

Laptop counter, my laptop, and the plasma TV

I was going to end this on a bright note and recommend you try the Coffee Guy out, but Elissa (who works here) just tricked me into eating what’s called an “espresso pancake” by disguising it as a cookie, so I’m going to say whatever you do, do not visit or patronize The Coffee Guy. Unless of course you like good drinks and free internet.

How could Elissa do such a thing? Look at how evil she is! (She’s even evil looking with real cookies.) Anyway if you do decide to visit, I can tell you when Elissa isn’t working so it’ll be safe. Here’s their address:

14725 Katy Freeway
Houston, Texas 77079

Some Progress

More and more people are searching for an answer to typing problems and finding Dvorak. My Dvorak keyboard layout post continues to get interesting comments every couple of days, including this latest one from someone who apparently has a keyboard that is designed to switch between QWERTY and Dvorak, something I assumed existed somewhere but I’ve never come across. Maybe that’s the keyboard I should give away as the prize? The prize no one has claimed yet, by the way.

On Blogrolling Hack

I think the importance of this issue cannot be understated. My thoughts from the WordPress Dev blog: Blogrolling Hack Illustrates Need for Decentralization.

This morning it seems that sites who manage their blogrolls using blogrolling.com’s service had their links hijacked, every link being replaced by one to “Laura’s Blog,” which predictably redirects to a porn site. As painful and unfortunate as this is, I think it illustrates an important point that as a weblogging community we should be heading away from centralization as a rule, not flocking to every free or low-cost centralized service that pops up.

To me one of the greatest things about weblogs is that they shift power and control away from monolithic organizations and into the hands of users, where it is ultimately more secure. I have a friend who lost three years of her writing when a free online journal service decided to fold and delete everyone’s entries. I know people who hardly use email because their hotmail or yahoo addresses are flooded with so much spam as to make them useless. People who don’t host their own comments have their discussion at the mercy of some third party provider of varying reliability. Many of you reading this had your blogrolls hijacked this morning. In the weblog world blogroll links represent a web of trust — you freely giving a piece of your credibility to another site as a gift to that site and your audience. Today that trust was betrayed for many people.

There is more on the link. I’d love to hear some feedback and assist people in moving away from centralized services, even if it isn’t to WordPress. What are the other alternatives? If you want to move away but you’re having trouble with code somewhere just let me know and I’ll try to help you out.

Dennis Dotson Big Band Gig

Tonight at 7:30 PM I’ll be performing with the Dennis Dotson big band on lead alto. Our entire program is going to be exclusively music from the highly talented composer and pianist Joe LoCascio, who will also be playing with us. It is the first night of what they’re calling JazzFest 2003 and there are more details, including directions and a map, at JazzHouston. They say they’re charging for tickets but I don’t think they have in the past so I’m not sure about that. I’ve been looking forward to this gig and I think it’s going to be great, so if you’d like to hear some exciting jazz tonight, try to check it out.

The gig has been cancelled due to rain! Sorry to any who were planning on going. It will most likely be rescheduled and I’ll post an update when it is.

A Cite To See

If you notice this sort of thing, the last post and one several days ago about Charles Platt now have visible attribution as part of the inset quote, which is marked up using the HTML <blockquote element. Each of these block quotes has a cite attribute, which is invisible to the user but which I sometimes add when I feel like having million dollar markup. Honestly I had slacked off doing lately because I wonder: if you add an attribute to an element, and no one sees or uses it, does it make a sound? It does now.

Thanks to an ingenious script from Dunstan which he describes in this post my cite attributes are now clear for the world to see. Can you hear me now?

The validationists in the audience will notice that am I not using the cite attribute in the strict sense because the value “Albert Einstein” it isn’t a URI. They would be right: it is technically in violation of the spec. However it is correct in spirit if not implementation. The URI RFC says “Not all resources are network ‘retrievable’; e.g., human beings” and “An identifier is an object that can act as a reference to something that has identity.” We’ve got the “resource” and “identifier” part down, what about “universal”? To be fully in line with specification what we need is a protocol to indicate individual people. I propose something like the following:

person://Albert Einstein

Thoughts? Now I just need to work up the javascript chops to hack around with the script, or if I’m lucky Dunstan will get an itch and beat me to it. The cite attribute checking should probably allow for protocols such as ftp:// and irc:// as well, not just http://.

More Writing

So how is the experiment going? Pretty well I would say, except that I didn’t realize that some words are much harder to write than others. Some words flow while others trickle. Sometimes some words flow where there kshould be no words. A “quota” encourages writing more than editing. So I’m not tracking word counts anymore, though the part of me that wants to quantify everything than can be quantified really wants to.

Everything that can be counted does not necessarily count; everything that counts cannot necessarily be counted.

Robert said that “don’t worry about writing or minimum quotas. Lousy way to learn to write. Just keep blogging, write a web article or two and when you find a good thing to write about for a school assignment, run with it. ” He was right and wrong. Explicit quotas are lousy, but the musician inside me knows that discipline is necessary to excel, and daily practice makes perfect. (To which Kel often counters “But nobody’s perfect, why practice?” I suppose it’s the thought that counts.)

A Thousand Resolutions

For the next two weeks I’m going to try to write at least a thousand words a day, every day. Some of these words will be here, others may be other places, and some might not even be destined online. (Gasp!) When I met Tyler Cowen he told me that writing every morning is just about the best thing you can do to improve. We’ll see how this goes. I’ve always thought lots of reading was crucial to good writing as well, however my reading time is currently monopolized by John Locke. And thus if I start to write like him, it is within your rights to slap me upside the head.

One thing that’s making it nicer is WordPress has an option to make your posting <textarea> as big as you want and I already know all the quicktag shortcuts by heart so posting is as easy and pleasant as using a good editor like Dreamweaver or Topstyle. My textarea is currently 50 rows high, which is growing on me.

I would like to have more links in entries.

How To Create A Favicon

I’m going to make a confession: I can’t stand favicons. To clarify, I love the idea and the little icons on my Mozilla tabs are nifty, but I hate having to make them. This is partially due to working within the constraints of 16 by 16 pixels, but more so that until now I haven’t found a good way to generate said icons on Windows. I was jealous as a whip (can a whip be jealous?) when Noel posted instructions detailing how to do it on a Mac. For aforementioned reasons they weren’t applicable to me, so I set out to find a clean way to do this on Windows without spending any moolah.

At this point someone is probably wondering what in the world a favicon is. As far as I know, it’s not a standard of any kind (and if it was it’d be a badly implemented one) but it’s a widely supported feature in modern browsers that allows a site to specify a small graphic or icon to go next to its address in the address bar and theoretically as the icon for the page when it is bookmarked as well. (Some examples of favicons.) I believe Internet Explorer was the first to implement this. Due to popular demand there is a new photomatt.net favicon (you may need to reload that link directly to see it). To see it in Internet Explorer, bookmark this site (which you should do anyway). In Mozilla and its progeny you should see it just fine automatically, and possibly in Safari though I don’t have that handy to test. To see it in IE for Mac you need to sacrifice an Intel CPU and do a favicon dance. Actually I’m not sure why IE5/Mac has trouble with some favicons, at some point in the past I tracked it down to MIME issues, but it’s not really worth the effort anymore.

Another good reason to have a favicon.ico in the root of your site is some browsers request that file whether it is linked in your HTML or not, so if there’s nothing there it fills up your error logs. Since I watch error logs pretty closely this has always been an annoyance for me.

So what’s the trick to creating lightweight multi-size favicons? I used to use the online java tool the folks at favicon.com offered, but now they seem more concerned with making money than providing free tools. More recently I’ve used Icon Forge which I can easily say is one of the most awful programs I have ever used in my life. Truly horrid. I wouldn’t recommend anyone do that, so here’s the process I came up with. (Any excuse to use a nested list.)

  1. Download png2ico, which is a small, free utility for Windows, Linux, et cetera that works quite well. Extract it to c:/.
  2. Create an image you’d like to use at a decent size (at least 32×32 pixels) in your favorite image editor. I like Photoshop so here’s what I did there:
    1. Ctrl + N to start a new document. Choose 32×32 pixels for the size. Cram whatever you want to use in there, I choose a comic Josh did of me a while ago.
    2. Do a Save for Web (Ctrl + Alt + Shift + S) and save it as a PNG with the filename icon-32.png to the same folder as the program you just downloaded (to keep things simple). If you want to keep the size down I would recommend taking it down to 16 colors. Don’t forget transparency if you need it.
    3. Now go back and resize the image you’re working on to 16×16 pixels (Tools → Image Size [is there a shortcut for that?])
    4. Save this image as a PNG with the filename icon-16.png in the same directory as the above.
  3. Now it gets a little tricky, open up the command line. Try Start → Programs → Accessories → Command Prompt.
  4. Navigate to the folder where the png2ico.exe file is, if you followed the directions above you can use the command cd \png2ico.
  5. Now you just have to enter a command to roll those two PNG files you made into one nice ICO file. Here you go: png2ico.exe favicon.ico --colors 16 icon-32.png icon-16.png . You may be able to use command line completion (pressing a letter or two and then tab) to fill some of that in for you. You could potentially embed 64×64 and 128×128 pixel sizes into the icon file by just specifying additional PNGs of that size, but for a web favicon that really isn’t needed. Just remember this if you ever want to make a nice application icon. For an applicatoin icon you’d probably want to use a PNG-24 with full alpha transparency, which this tool supports as well.
  6. Now there should be an favicon.ico file in that same folder which you should upload to the root of your site and then link to it with something like <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
  7. Have a drink.

Now I know that sounds like a tricky process, but it’s actually not as hard as it may read and of course if you have any problems leave a comment and I’ll try to help you. There is supposedly a graphical front-end for using png2ico but it was so badly designed it’s actually easier to use the command line, as unlikely as that seems.

Update: Ian has found my favicon twin. Where have you been all my life?

Update 2: Oskar van Rijswijk recommends IrfanView in the comments. You might want to give that a try too.