links
300 Images From 1800 Sites
Punctuated Productivity
ascii table
brainjar.com: css positioning
Catman's Reference Guide to XHTML 1.1
Catman's XHTML 1.1 Elements and Attributes Reference Guide
citeseer
Color Scheme Generator
common errors in english
cool images
Copying music between authorized computers with iTunes for Windows
css layout-o-matic
daypop
del.icio.us
elegant hack
emacs wiki
floatutorial
imho...
keystroke shortcuts for windows xp
mozilla keyboard shortcuts
NameVoyager
perldoc.com
programming language popularity
regular expression tester
selectoracle
short url services
simple urls for search engines
the unix acronym list
yahoo dictionary

permalink

hëävy mëtäl ümläüt

Wikipedia has a very funny article on the heavy metal ümlaut.

And if you find this entertaining, you better sit down before viewing TOP 10 MOST RIDICULOUS BLACK METAL PICS OF ALL TIME.

Share this article on post this at del.icio.us post this at Digg post this at Reddit

Comment [1]

* * *

permalink

the lighter side: japanese error messages

[My friend posted these on our twiki at work and I just had to share. I can’t credit the original author.]

Here are 14 actual error messages seen on the computer screens in Japan, where some are written in Haiku. Aren’t these better than “your computer has performed an illegal operation”?

Share this article on post this at del.icio.us post this at Digg post this at Reddit

Comment [328]

* * *

permalink

installing atronscrobbler on windows using cygwin

I recently released atronscrobbler, a system that updates audioscrobbler with your audiotron play activity.

atronscrobbler is written in perl and needs to run on a unix-like system—both of which may be a problem for people running windows. Fortunately there is a free unix like system for windows, called cygwin.

Here are step-by-step instructions for installing cygwin, perl, and atronscrobbler. Good luck with these instructions and let me know if I can improve them in anyway. If you have suggestions that you want to share with everyone, just add a comment to this article. Or you can drop me an email.

installing cygwin with needed development packages and perl

  1. create the c:\cygwin-setup folder
  2. save setup.exe (found here) in the c:\cygwin-setup folder. If you are using the firefox browser, setup.exe will be saved on your desktop. Move it to c:\cygwin-setup
  3. double-click on setup.exe in c:\cygwin-setup
  4. On the Choose Installation Type screen in Cygwin Setup, choose “install from internet” (the default).
  5. On the Choose Installation Directory screen in Cygwin Setup, use “c:\cygwin” (the default).
  6. On the Select Local Package Directory screen in Cygwin Setup, use “c:\cygwin-setup” (the default).
  7. On the Select Connection Type screen in Cygwin Setup, select the appropriate connection type—I always use “direct connection”.
  8. On the Choose A Download Site screen in Cygwin Setup, ah, choose a download site. I’ve used various download sites, most recently ‘ftp://planetmirror.com’. I try to find one that is close to me, but that is not easy to figure out.
  9. We are going to install 3 packages from the Select Packages screen in Cygwin Setup.
    • Click on the plus sign next to Devel in the Category column. Scroll down the list and find the package named “gcc-core: C compiler”. Click on Skip, changing it to some version number. This means to install this package.
    • Scroll down the list and find the package named “make: The GNU version of the ‘make’ utility”. Click on Skip, changing it to some version number.
    • Now click on the plus sign next to Interpreters in the Category column. Scroll down the list and find the package named “perl: Larry Wall’s Practical Extracting and Report Language”. Click on Skip, changing it to some version number. This means to install this package.
  10. Click ‘next’. setup will download and install the selected packages. This may take a while – be patient and enjoy the show.
  11. On the Create Icons screen in Cygwin Setup, choose your favorite way to start a program—by double clicking on a desktop icon or by selecting from the start menu—or both. Click ‘finished’.

Welcome to the cygwin world.

You now have cygwin installed, with perl. That’s a big step. Take a breather. I always look for words of confirmation from loved ones with statements like ‘Honey. Guess what? I just installed cygwin.’

installing perl modules

Atronscrobbler needs an optional perl module, called LWP::UserAgent. Perl has a system for module management, which, in theory, makes it easy to install and update perl modules.
It actually does make it easy, but not as easy as you make like.

  1. Start the cygwin console by either double clicking on the desktop icon or selecting cygwin console from the start menu. A console window should open. It may print some messages and then leave you at the $ prompt.
  2. At the $ prompt, type perl -MCPAN -e shell. Please note the capitalization. This opens a perl shell and runs the CPAN module, which is perl’s system for installing optional modules.
  3. At the Are you ready for manual configuration? question, enter no.
  4. At the cpan> prompt, type install LWP::UserAgent.
  5. It will ask if you want to install some sample programs. I said no to all 4 of these.
  6. It finds some prerequisites and asks if you want to “prepend them to the queue?”. Say yes each time.
  7. A bunch of messages are printed as CPAN downloads, installs, and tests each module. You should end up back at the cpan> prompt.
  8. Type exit. This will end the CPAN program and bring you back to the $ prompt.

Welcome to the perl world.

You now have cygwin installed, with perl, including the LWP::UserAgent package. Cool.

installing atronscrobbler

  1. Now, note your cygwin home directory by typing ‘pwd’ at the $ prompt. It could be /home/[your user name] or /cygdrive/c/Documents and Settings/[your user name]. Translate these into their window equivalent folders—”/home/[your user name]” is c:\cygwin\home\[your user name] and ”/cygdrive/c/Documents and Settings/[your user name]” is c:\Documents and Settings\[your user name].
  2. download atronscrobbler.tar.gz and place it in your cygwin home directory folder. Note that your web browser may put it somewhere else, such as your desktop. If so, you need to move it to the appropriate folder.
  3. Look for atronscrobbler.tar.gz in your cygwin home directory by typing ‘ls’ at the $ prompt. You should see it listed there.
  4. Unpack it by typing tar xvzf atronscrobbler.tar.gz.
  5. Copy the ”.atronscrobbler” file to your home directory by typeing
    
    cp atronscobbler-v.1/.atronscrobbler .
    
    
  6. Edit ”.atronscrobbler”, making appropriate changes.

Share this article on post this at del.icio.us post this at Digg post this at Reddit

Comment [2]

* * *

permalink

audiotron to audioscrobbler: atronscrobbler


Think of it as an Audioscrobbler “plugin” for your Audiotron.

Update: audioscrobbler is now on github

If you don’t know about www.audioscrobbler.com, please check it out. Audioscrobbler is a site that can help you find new music through a community web site which displays participants music preferences which are automatically collected by plugins in your favorite audio player.

Audiotrons were one of the first network aware digital music players and have a devoted user base.

Now audiotron users can report their music playing activities to audioscrobbler.

Atronscrobbler is a perl script that runs on a nearby machine, polls an audiotron for play activity, and reports that play activity to the audioscrobbler servers.

To use atronscrobbler, simply save the archive to your system, gunzip and untar it, create a config file, and run it. There are a few more details in the README.

If you do not have perl installed, fear not. Perl runs on most everything under the sun. Installing and configuring perl for this application is quite doable on windows systems.

Get It

Atronscrobbler is now hosted on github

Install It

But I’ve Never Used Perl on My Windows System!

Please check out my step by step instructions.

Enjoy!

Bugs

Share this article on post this at del.icio.us post this at Digg post this at Reddit

Comment [326]

* * *

permalink

lessons learned in electronic media

Ah, but I was so much older then
I’m younger than that now.

Bob Dylan, My Back Pages

It seemed simple at first. Mp3 rippers were everywhere. Just slide the CD into the computer and, voila, mp3s!

oh, there are bitrates?

oh, some rippers rip better than others?

oh, I need to deal with these tags?

Cool, here’s a ripper that will get the tag information from someplace …out there.

oh, these tags that came from out there are wrong?

So I’ve done a lot of learning on this. These are just some of the issues. I’m not going to go into building and configuring the home network or how to effectively back up an ever changing 30GB plus collection. And, yes, I did loose it once before it was backed up.

My current process goes like this:

  1. Rip the CD with a quality ripper and compressor. I use Exact Audio Copy (EAC) and LAME. EAC is an audio grabber that copies the bits from the CD onto your disk somewhere. It will optionally run the compressor of your choice on those bits creating the mp3 files. LAME is a quaility open source compressor. EAC will grab the music information from freedb.org which is used to name the mp3s and populate the id3 tags. Unfortunately, freedb only gets you close to where you need to go with naming and tagging.
  2. Retag and rename the mp3s using the MusicBrainz tagger. MusicBrainz keeps their own database of music information which is much more carefully managed than freedb. Plus, MusicBrainz records signatures of music tracks, so it is possible to identify music by this signature rather than just by the (possibly wrong) mp3 file names or id3 tags.

Here are some other details to help you get it right the first time:

  1. Due to reasons I don’t fully understand, the LAME project does not offer precompiled versions of LAME. However, others do. I get my copies here.
  2. EAC needs settings for LAME. I use the “recommended” settings, which work great.
  3. You can define how EAC will name your files. I use %D[backslash]%C[backslash]%N-%T. In english this means “create an artist sub folder, in that create an album sub folder, in that name each track with the track number, a dash, and the track title.” It’s actually more important to do this in MusicBrainz—see below.
  4. I use 2 folders for my mp3s—a main folder (say, “My Music”) and another folder called something like “musicbrainzed”. My musicbrainzed folder is in My Music. This allows me to point an mp3 player at My Music and load up all of my music. It allows me to keep separate my first try tagged files from my properly tagged files.

Using MusicBrainz

The current MusicBrainz application is a little tricky to use but I understand there is a new version in development which will address the issues I discuss here.

MusicBrainz attempts to recognize each of the tunes in the directory you give it individually. I recommend you give MusicBrainz a single CD to tag. It will look them up in its database and tell you that some were recognized and some were not. I recommend that you check both. In fact, I’ve gotten in the habit of overriding its list of recognized tracks. Here’s how I do it:

  1. Click on the Identified tab and view the information associated with identified tracks. Often there will be one or a few artists associated with various identified tracks. Memorize the one you think is correct. Pay attention to artist and album details.
  2. Select all of the tracks in the Identified tab and click the Misidentified button. In other words, tell it you don’t trust any of its identifications.
  3. Click on the Unidentified tab. Select a track and click “Lookup”. This will bring up a list of artists and tracks on albums.
  4. Click on the artists name.
  5. Click on the album name. Now you have a list of the tracks for that album. Now it is easy to assign the track names to the track files. You simply look at the highlighted track, and click the little tag icon next to the appropriate track below. Do this for each track.
  6. Now you click the save icon on the toolbar (looks like a floppy disk with an arrow). My MusicBrainz is configured to move the files to the “My Music/musicbrainzed” folder.
  7. Close MusicBrainz. You are done.

To configure MusicBrainz to move files to the proper directories with the proper names, view “options” and click on the “naming” tab. Check the “Rename files when writing metadata tags” box. I use this as my naming specification:

%artist[backslash]%album[backslash]%0num-%track.

I use this for my Various Artist naming specification:

Various Artists[backslash]%album[backslash]%0num-%artist-%track

Have fun.

-Kelly

Share this article on post this at del.icio.us post this at Digg post this at Reddit

Comment [336]

* * *

Older