Link to Your iTunes Tracks
“…if you right (or control) click on a track in your library, you
Free Ice Cream
I’ve always been a fan of Ben & Jerry’s ice cream. Maybe it’s because I grew up in Vermont, or maybe it’s the environmental and charitably concious way the company has operated. And then again, maybe it’s because it’s just damn good ice cream.
Anyhow, today is Free Cone Day. Find out if there’s a scoop shop near you.
While you’re there, check out the new(?) benjerry.com. Roll over the navigation buttons and watch them “melt” and drip into sub-navigation options below. Clever. It’s handled with Flash, but still a cool effect.
Comments OffApr 29, 2003•uncategorized
iTunes 4
So the big news today was Apple’s announcement of new iPods (don’t they look like an artist’s rendering?) and the iTunes Music Store, where you’re able to browse and purchase 200,000 songs in AAC format. It’ll be interesting to see if this catches on.
But what really struck me was a couple of features in the new version of iTunes that was also released today. Most notably the ability to share your iTunes library and playlists with any other computers on your network, using Rendezvous. Like file sharing for your MP3s. What’s nice is that if you have a multi-computer set up, all your separate files can be combined and played from one computer — not to mention accessing at work, where everyone is already connected. Instant radio station.
Comments OffApr 28, 2003•uncategorized
Lazy Chef: fruit smoothies
I’ve been thinking for awhile about starting a web site called The Lazy Chef — tips and workarounds for people who like to eat good stuff, but are well… lazy. Maybe someday.
Anyhow, here’s a first entry: easy fruit smoothies. A couple of card-playing buddies of mine actually tipped me off on this method (one such buddy). Buy a few bags of frozen fruit (strawberries, peaches, pineapple, whatever). If there’s a Trader Joe’s near you, they have a pretty decent selection. Buy some orange juice. Plop a bunch of fruit in a blender. Add some OJ. Add some sugar (optional). Mix. That’s it.
Because the fruit is frozen, there’s no need to add ice. The result is like a sorbet shake. Completely natural, but delicious. I should also mention that I loathe the word “smoothie”.
A Touch of Class
What I was trying to say in my post on CSS Inheritance a few days ago, is more coherently described by Tantek back in December in his A Touch of Class post. Specifically the “Context before class” section.
If you haven’t read it, and you’re building sites with CSS, it’s completely worth it. A really simple way to decrease code using inheritance.
Comments OffApr 25, 2003•uncategorized
Rolling My Own
Was just reading Tantek’s post on why creating a weblog by hand is more satisfying than using a blog app to do the job. I fully agree with him — and do the same for identical reasons, likening it to a craft. It’s often a bummer to see so many weblogs using default themes that come with the application.
The only reason I built a weblog application was for the experience in doing so — realizing that I could. But more importantly, it gives me an arena to play with stuff — XML, Perl, XSLT, etc. And like Tantek, being able to quickly and easily change markup whenenver I want to experiment is key.
While current weblog authoring tools might add more functionality to this site, for me simplicity is king.
Comments OffApr 24, 2003•uncategorized
Acrobot
Acrobot is a really handy tool for automatically finding acronymns and abbreviations in a text block, and then wrapping them in abbr and acronymn tags — with their respective titles. It also clears up the difference between abbr and acronymn and when it’s appropriate to use either or.
I had just been thinking I should add automatic parsing for abbreviations to SimplePost, but now maybe I don’t even have to.
Comments OffApr 23, 2003•uncategorized
CSS Playing Cards
“This example demonstrates using CSS to graphically display standard playing cards on a web page … the method here uses the positioning features of CSS and a few standard HTML tags and character entities to create realistic looking cards with a minimum number of images and HTML tags.”
A nice display of CSS positioning. Be sure to check out the finished demo as well.
Comments OffApr 22, 2003•uncategorized
The Most Unbelievably Annoying Thing for a Pedestrian
While I’m walking to or from the train station, I use crosswalks. Approximately 3-4 times per commute, the following happens. I step out on the crosswalk. The approaching car on the far side lane that is going really damn fast, slows down and kindly motions to me that it’s OK to cross. I start making my way to the other side of the street — BUT. There’s an evil car going even faster, behind the good car, that is severely annoyed that good car is stopping for no apparent reason. There’s plenty of room to the right of good car (this is always just a two-lane road), so evil car speeds up and goes around good car — to the right. See fig. 1 below:

Now one of two things can happen here. Either I get hit, or I have to stop in the middle of street and wait for evil car to speed past me while I gesture appropriately. I’m stuck. This annoys good car, because even though they were nice enough to let me cross, they have to sit and wait for evil car to pass before I can get to the other side a la Frogger.
This is the single most annoying thing that happens to me throughout the day. And it’s guaranteed to happen at least twice. Carry on…
Enigmo
Enigmo is quite possibly the most addictive puzzle game I’ve played since Tetris. It’s a new shareware game for Mac OS X, with can’t-put-it-down playability and amazingly great three-dimensional graphics. Download the demo and you will be forced to buy it. (link via what do i know)
Comments OffApr 17, 2003•uncategorized
Transitioning to XHTML 2.0
Mark Pilgrim’s latest XML.com column begins to share what elements will be dropped in the XHTML 2.0 draft, and what new elements will be added that achieve similar results. Slightly scary in what’s being proposed, but then someone calmed us down with intelligent and practical thoughts.
What I do like about XHTML 2.0 is the introduction of the nl tag for navigation lists. Works like a ul, but semantically more appropriate for navigation — which has fast become the preferred way to mark up navigation items — then styling them with CSS. I had previously wondered if using a definition list was a better choice for navigation, but then was convinced that using a header tag and an unordered list was the way to go (mainly due to a cleaner un-styled presentation).
Now nl is thrown into the mix — although it doesn’t look like I, or anyone else, will be using XHTML 2.0 any time soon, if ever. So, maybe it’s not worth getting excited about.
Excited over a proposed XHTML tag. Yes, it’s come to this…
Comments OffApr 16, 2003•uncategorized
45 Degree Swing
It’s days like today that remind me why I put up with living in New England. When the Spring finally comes, it’s shockingly great. Today it’s probably 80 degrees and sunny.
On the right is the forcast for tomorrow. With a predicted high of 80 and a low of 35 degrees, the weather service is decreasing its likelyhood of forcasting inaccurately. There is not much of a margin of error there. So, we’ll be in for a 45 degree swing tomorrow — which is entirely insane.
Comments OffApr 15, 2003•uncategorized
CSS Inheritance
One of the easiest ways to optimize your code when dealing with basic markup styled with CSS, is to strip out unnecessary class declarations as well as redundant div tags. The following is an attempt at a mini-tutorial.
I’ve been looking at a lot of code lately, and something I see more often than not is markup that is “over-declared”. For instance, let’s say you have a div that contains some other tags — h1, maybe a few customized anchor tags, etc. Some might say:
<div id="stuff"><h1 class="red">Big Title<h1></div>
And then in their CSS:
#stuff { padding: 20px; border: 1px solid #000; }
while adding a second declaration for
h1.big { color: red; }
Let’s do this with less code by stripping out the class="red" declaration from h1 tags and use inheritance in the CSS to do the work by assigning all h1 tags within #stuff a style:
HTML: <div id="stuff"><h1>Big Title<h1><div>
CSS: #stuff h1 { color: red; }
Now, stripping out one class declaration may seem like chump change, but when you’re giving class names to elements over and over again — that are easily referenced in CSS by it’s parent id — it begins to add up.
The inheritance works with any HTML tag, so instead of doing:
<div id="stuff"><div id="stuffinside">blah blah<div><div>
You could do:
<div id="stuff"><div>blah blah<div><div>
While declaring in the CSS that a div that’s inside #stuff should be styled a certain way:
#stuff div { background: #369; }
You may even keep going deeper and deeper when nesting elements:
#stuff div div div { background: #369; }
The above would specify the third div that’s nested within #stuff should have a blue background
The point: assign id or class once. Then use CSS to access and style the generic child elements within. It’s an easy way to simplify your structure.
While it might seem elementary to many (and not something I invented) — it is something I’ve been seeing over and over again in CSS-based layouts.
Footnote: There are certainly times where it’s appropriate to use class names inside elements that are already labeled — but there are often just as many times when they are unnecessary and the bloat can be cut down.
Bubblegum Altoids? (or… A Post Containing No Acronymns)
I’ve just thought of a great new Altoids flavor: bubblegum. Not mint, but bubblegum as in the kind that used to come with baseball cards — but it wouldn’t be chewing gum. It’d be an Altoid.
I’m not sure what “curiously strong” bubblegum flavor would be like, and more importantly what is bubblegum flavor? Why is it pink? It’s not fruity or minty or chocolaty. It has its own unique taste. And this taste would compliment an Altoid very well, I believe. I should also point out that the Wintergreen flavor that Altoids already markets has a hint of bubblegum flavor in it. Hence the idea.
Yahoo! Search… only better
Just a few days after Yahoo! announced their new Search, Douglas Bowman took it upon himself to “markover” what they had using nothing but pure, clean XHTML and CSS. The result should have Yahoo! scrambling to hire Doug to improve what they’ve just updated.
Specifically impressive is the manner in which the vertical tabs were handled, using CSS — a great example for anyone trying to do something similar.
Comments OffApr 10, 2003•uncategorized





