109 posts with category “Tech”

Vista Calculator

Vista calculator

Believe it or not: still without a square root button in scientific mode.

I’ve also been told that the native Windows color palette still doesn’t save custom colors.

More Microsoft Calculator trivia, care of Wikipedia:

The version of Calculator shipped with Windows 3.0 and Windows 3.1 suffered from a bug causing it to display completely wrong results for certain classes of calculations. The most typical example was the 1-1.1 operation, which would lead to a long number sequence approximating the expected result, -0.1, such as -0.095645564564564…. One of the most joked about calculation is 3.11-3.1, results in 0.00. This leads to the joke “Q: What is the difference between 3.11 and 3.1? A: Nothing!” (In this case, “3.11” and “3.1” imply the version numbers of Windows.)

Oh, numbered Windows versions. Reminds me of those old PC Magazine issues I had with exclusive first looks at “Windows 4.0.”

Leave a Comment

Data Lust

I love Mozilla Thunderbird, not least of all because it’s a Mozilla-branded product, but also largely because of its adaptive junk mail filter. What this means is that for every email you get, you’re able to mark it as “junk” or as “not junk,” and from both of these practices, Thunderbird begins to learn (through Bayesian filtering) how to identify spam.

If you’re anything like me you’ve noticed that spammers are getting a lot craftier in recent months; I’ve even had a few spam emails slip into my Gmail inbox, when Gmail has in my experience been nothing short of astounding in its ability to identify spam. Which is to say, Thunderbird isn’t catching everything for me, at least not yet. I mark every spam I get as such, but the filtering relies on your marking the non-spam as well.

Anyway, it’s not hard work to mark all these emails (especially if you can highlight a bunch from a number of trusted senders and mark “not spam”), but it’s still work, and I’d hate to see it all go to waste if my hard drive crashed, or even if Thunderbird’s development suddenly halted — the data could prove useful elsewhere. And the idea of even having that data accessible to me outside of a practical implementation within a single program — in raw, browsable form — is really, really appealing.

Through very little Googling I found out that Thunderbird keeps all this training data in a single file, named, aptly, training.dat. It’s in your “Documents and Settings\Jay\Application Data\Thunderbird\Profiles\2e8vm8m0.default” folder. And apparently, simply putting it in another profile folder migrates all the training you’ve done to that other profile. Amazingly simple.

Here’s what the first ten lines of mine look like:

þíúÎ
justifies,
meaningful
sublicense
propelling direct
flyer-ing,
herbaliseratt
aggression
(surprise,
inflatable

I don’t get it either, and it just goes on like that, with no immediately recognizable structure or indication of what significance these words have, save for some seemingly random paragraph breaks.

BUT, when I Googled what I now knew to be the filename of the training data, I found that Mozilla created a little Java program called the Bayes Junk Tool, which makes this data surprisingly legible, AND exportable as XML, AND allows you to edit this data arbitrarily!! I couldn’t have asked for more.

Truthfully, I’m a little disappointed in the relatively rudimentary Bayesian approach. I thought for sure this training.dat file would be riddled with regular expressions, teaching Thunderbird that “v1agar” is the same thing as “\/|a gra.” Although that’s probably too subtle even for regular expressions. I can dream can’t I.

None of this is to undercut the invaluability of MozBackup, which keeps settings, cookies, extensions, cached files, and more within a single backup file.

3 Responses

Hotness 1.6.c.1

Totally warranted subversioning!

My foray into MP3Toys was ultimately short-lived, brought to a halt when I found what people were doing with Single Column Playlist for foobar, particularly the playlist-embedded album art. Back in the foobar saddle, I also gave in and tried out the “official” Play Count component, which I had avoided for so long because it didn’t support %FIRST_PLAYED%, and because I wasn’t sure I wanted my playback statistics only kept in the database — even though writing them to the files posed a lot of trouble as well. Turns out, playback statistics stored by the official component are less sensitive to changes to the files it’s keeping track of than the unofficial one, which means I only have to be a little careful to keep all my stats intact, while being able to play and track files that I’m still seeding.

This, along with the invaluable $cwb_datediff() function provided by Bowron’s new foo_cwb_hooks component, called for a rewrite to the hotness code, which had been stagnating in some marginally compatible 1.5 version since May. After severely trimming the code down and robusting things up, I thought of a new and totally non-arbitrary way to soften the blow hotness scores receive when songs are played. I hated seeing them leap to 100 every time, and this new softening method makes so much sense, utilizing existing baseline calibrations to keep things a lot more interesting. How anybody tolerated the old method is beyond me.

Anyway, here it is.

I also dug up a lot of old screenshots this week and I’m planning a nostalgia-fueled retrospective in the near future.

Leave a Comment

Weekly Top Album Art

Wow, I can’t believe I was able to do this.

http://www.kilobitspersecond.com/topalbumart.php?user=

Just tack your last.fm username onto the end of that url to generate the cover art for your most listened-to album of last week. Pretty cool.

Bands and albums with ampersands don’t work at the moment. urlencode() doesn’t seem to do the trick. Any theories?

One Response

MP3Toys

This will come as a shock to anybody who knows me, but I’ve all but stopped using foobar2000. A couple months ago on the indietorrents forums, somebody mentioned MP3Toys, and I’ve been using it almost exclusively since.

MP3ToysAs I mentioned in a previous post, all the chores I was made to do in foobar seemed to keep me from listening to music: I was working for my software, and not vice-versa. My collection of music felt cold and dead and fragile in the hands of foobar, and none of the features I had idealized in my mind were anywhere near fruition (true hotness, similarity-by-mood filters, etc.). I desperately wanted something to get me back in touch with my music, something that delivered music to me in a way that felt as natural as buying a CD and putting it in my stereo. I even considered switching to iTunes.

MP3Toys isn’t for every foobar user; I just got lucky enough that it emulates my ideal behavior in foobar. It’s a living, breathing program, and using it is a humanistic experience. It understands not just that you listen to music, but why you listen to music. Some of its intelligent features include:
Continue reading

4 Responses

last.fm Weekly Album Chart Feeds

For a long time, last.fm has linked to a purported weekly album chart feed on their web services page. Because I find this much more interesting than the weekly artist and track charts, I was happy to find today that these feeds have finally become active. Just replace “topdownjimmy” with your username in this url:

http://ws.audioscrobbler.com/1.0/user/topdownjimmy/weeklyalbumchart.xml

Unfortunately, this won’t reflect your listening accurately if you’re in the habit of listening to leaked albums. For what are certainly legal issues, last.fm plays dumb that these albums even exist, failing to report them in charts even though the track and artist counts are updated accordingly.

My next step is to use the url embedded in the feed to scrape the Amazonian cover art from each album’s last.fm page. This would be cool to do even for the recent track feed, come to think of it.

One Response

MST3K Torrents: Specimen Jackpot!

A couple years ago I toyed with eDonkey and the Digital Archive Project as a means to collecting MST3K episodes. Turns out eDonkey is widely and rightly regarded to be a terrible piece of software, and the episodes weren’t well-seeded, so that went nowhere, and I opted to rip a low-quality ShoutCast channel for a couple dozen episodes.

Today, reminded of DAP by this comment at Lifehacker, and aided by a search on Demonoid.com, I was led to this page at The Pirate Bay, with links to torrents for every known available episode, all high-quality and all fairly well-seeded.

Leave a Comment