The next Intel Inside

Posted by David on Aug 26th, 2008

CD pile

Things were simpler back in the good old days. To play music I just loaded up XMMS, added a couple months worth of mp3s, set it to shuffle and let it go, playing the same dozen songs in a random order. The world has since moved on, and I no longer care to jump through the hoops required to run something like XMMS in this land of tomorrow. iTunes-style media players are now the norm, so the time came to find a new piece of software for my music to call home.

Of music players I’ve tried a few: I started of course with the one that came with GNOME, Rhythmbox (crashy and awful), and moved on from there to Banshee (doesn’t support the tags I need), Quod Libet (too slow with more than a couple thousand songs), Songbird (why the hell is it a web browser?), MPD (why do I need to configure a server?), XMMS with the old gtk libraries (yep, still sucks) and Exaile (tags again), each time pointing the new player at my music library and finding something to kill some time while the import ran, like baking a loaf of bread or learning to speak Mandarin (I now know how to count to ten and tell someone they’re drunk). I eventually settled on Amarok, a media player for KDE that Fedhat can run in GNOME without too much trouble, a player that runs well with a collection of 20,000+ files after I replaced the default backend with a mysql database (sigh), that tries to look a lot like iTunes, that doesn’t allow the full freedom of tags found in something like Quod Libet but generally gets it close enough, or at least close enough that I can stick all those techno mixes under “Various Artists” and leave it at that, a player that does most things pretty alright and is just all around fairly easy on the eyes and fairly easy to use. Finally having a music player that makes metadata worthwhile, I took the time to tag all of my music (Quod Libet actually did come in handy there; the Ex Falso tagger it comes with was very nice for automating most of the tedium), and, since one Gordian knot is never enough, I went ahead and implemented the idea that’s been knocking around in my head ever since I heard it from Olin, my compilers prof: space is cheap, so just rip all of your CDs (above) to FLAC and never worry again about the codec of the week. So now I have a terabyte-and-a-half RAID a quarter of the way filled with a bunch of music sorted, tagged, filed, sealed and signed in triplicate, so what now?

I’ve had a few words, many of them four letters, to say about Web 2.0 in the past. The core tenet of this grand new paradigm is that content is no longer the bailiwick of that oppressive Old World aristocracy, the experts of their fields or the people that can write pretty good; content is generated by the people bringing us all into a bold new network where everyone is connected and no one knows a thing. Despite, however, my bitter words for this affront to literature and human knowledge, there is something about Web 2.0 that I find compelling: tags. A tag is simply a word associated with a thing, like that list of nonsense you see displayed next to Flickr photos or Youtube videos or Amazon reviews. The first inclination is to use such a system as a sort of generic filing system, but it’s no good for that. Tags are at their most powerful and most Web 2.0ish when anyone can add one, and that makes them useless for filing: people are idiots, and you’re going to end up with a lot of imperfect information. And that’s what makes them work. del.icio.us demonstrates this well; I don’t use the site, but I like the idea. If you give everyone the power to tag anything with any label, you’ll end up with a lot of junk, but people tend to have similar ideas for similar things, and eventually patterns will emerge. Ordo ab chao, and that’s really something neat even if I still think that user-driven content is mostly a load of crap.

One of the things that amarok can do pretty well is interact with last.fm, a kind of Web 2.0 music service. The idea is that a bunch of people submit the music that they’re listening to, and based on that and the music you listen to the site can make some guesses on what else you might care to hear. I imagine that the actual algorithm has more to do with advertising dollars than anything, but all the information is there; someone who follows up an album of Norwegian black metal with some show tunes is an outlier, but a hundred people who do that is a pattern.

So I’ve created a last.fm profile, and now we come to my problems with it. One of its functions is to show the world all the crap you’ve been listening to for the past few days, and that’s been something that I need to get out of my head. I used to run a homemade app to do much the same thing back when I lived with Moshe and got tired of him asking what I was listening to, so I’m familiar with the experience of the world knowing I just put together a playlist of eurodance and 90’s skate punk, but I still fear that knowing someone can see it might interfere with my choices. Everybody’s taste in music sucks, and I’m certainly no exception. I need to just forget that the world is watching and let the music play, and I hope I can do that.

Amarok has a couple of ways it can take advantage of last.fm’s information: it can play the last.fm generated playlist, sending back all the information on songs skipped or played, or it can generate a playlist of its own from your local collection based on artists related to the ones you’re listening to. I’ve found a problem with both in terms of diversity. Basing recommendations on a particular song and more recommendations on those recommendations tends to get it stuck in a genre rut. The local mode is especially bad at this: I made a playlist with a handful of songs for which Amarok didn’t have anything in particular to suggest, and then all of a sudden it hit something it could work with and decided that it’s new wave night. The last.fm stream will hopefully be better able to handle local anomalies once I’ve fed it more data. Maybe I’ll get something out user-driven content yet.

Everything is bad for you

Posted by David on Aug 17th, 2008

It makes your kids fat. It gives you diabetes. It’s a symptom of broken farm policy. It’s a symptom of broken trade policy. It just doesn’t taste the same.

High fructose corn syrup is a solution of usually 55% fructose and 45% glucose produced from corn starch and frequently used as a sweetener in the United States and Canada. It’s difficult to substantiate some of the claims made against HFCS, but it’s hard not to at least feel a little uneasy about the stuff. Well, this America, so vote with your dollars; if you don’t care for HFCS, look for alternatives. You might need to learn a little Spanish before you buy your next Coke, but for the most part there are readily available alternatives. Tonight, let’s take a look at one of the areas oft neglected: things to mix with booze.

While worries about antioxidants and the marketing of companies like POM have created some abominably named cocktails like the pomtini or the pomarita, using pomegranate in drinks is not a new idea. The tequila sunrise, the Roy Rogers (and its sister drink, the Shirley Temple), some variations of the Bacardi cocktail are just a few drinks made with grenadine syrup, named from grenade, the French word for pomegranate. Grenadine today, however, is usually thought of as being cherry flavored, though a cherry in the same sense as cherry Kool-Aid, which is to say that it’s red and doesn’t taste much like any fruit at all. Let’s take a look at the label for Rose’s, the most popular brand of grenadine syrup:

INGREDIENTS: HIGH FRUCTOSE CORN SYRUP, WATER, CITRIC ACID, NATURAL AND
ARTIFICIAL FLAVORS, SODIUM CITRATE, SODIUM BENZOATE (PRESERVATIVE), RED 40,
BLUE 1

Wow, gross. So how hard is it to make your own? Of course, you’ll first need some pomegranate juice. According to legend that I just made up, the pomegranate was given by Ahura Mazda to the Persians as a test. Those who bit in faced a mouthful of bitter pulp. Those who began to pick apart the seeds but grew weary and abandoned the fruit were struck down in a shower of free radicals. Only the patient man, he who carefully picked each seed away from the labyrinthine fruit, could understand the secrets of the universe. Well, you don’t have to worry about that anymore. There are machines that can do that for you, just go to the store and buy a bottle of juice. Pomegranate faces a problem similar to cranberry in that it’s not really drinkable on its own, so most of the juices you’ll encounter have been flavored with other fruits. Pure pomegranate is out there for the persistent, and that might not even actually matter; depending on how you want the syrup to taste, POM or something similar might work just fine.

I found one website that happens to advocate POM and has a summary of a couple basic processes. You can either just mix some cold juice with some sugar and shake it like a Polaroid picture, or you can reduce the juice and mix that with the sugar. The problem I had making the reduction was that scalded pomegranate really doesn’t taste very good. Maybe I got it too hot, but it was very sour and a little bitter by the time I was done. I might take another shot at it, maybe with POM. As for the cold process, the problem I found there was that it doesn’t get very syrupy. I know that I won’t get anything near the molasses thick Rose’s, but I’d like something with a bit of body. One of the comments to that article suggests using simple syrup instead of sugar, and while that seems a good path to take, I found that adding more and more syrup to try to make a thicker grenadine made something that tasted less like pomegranate and more like just sugar syrup.

The method I settled on was to use the cold process in the article—equal parts pomegranate juice and sugar—with the addition of a dash of simple syrup. I think I’ll try experimenting a little more with this; maybe I’ll get out the rest of the acacia powder and see what happens. In the meantime the slightly syrupy pomegranate juice serves its purpose: it’s red, it’s sweet, and it has more flavor than colored corn syrup.

Next up: tonic water! All I need to do is find some quinine and figure out the right blend of the eleven herbs and spices. Sounds easy enough.