Archive for May, 2006

apt-get install thoggen

I love the idea of the ogg media standards. I don’t use vorbis, since TiVo doesn’t support it, and we spend a lot of time listening to music over our TiVos. But Theora is different. My Palm T|X can handle Theora (thanks to the wonderfulness that is TCPMP), and that’s the only place I need to convert DVDs for, so why not convert to Theora? Well, the only real reason I hadn’t so far is it’s a pain in the neck to do this from the console. Enter Thoggen, an X tool that can rip a DVD and save straight to Theora.

Thoggen is a new DVD ripper/backup-tool for Linux that encodes video into the free Ogg Theora format. Unlike its rivals, Thoggen is easy to use, and its built-in support for the Theora codec instead of the patent-restricted MPEG-4 and derivatives makes it worth looking at.On its surface, Thoggen is a DVD backup and extraction tool (i.e., “ripper”). You use it to make a copy of the video titles on your DVD, either because you worry about damaging frequently played discs, because watching compressed video from the hard disk is faster and less power-hungry than watching it from a DVD drive, or perhaps because you simply need portability. The thought of carrying every episode of “Arrested Development” wherever you go is certainly appealing…

Whatever reason you have for ripping DVDs, do yourself a favor, grab Thoggen, and rip to Theora.

No Comments

apt-get install amarok (1.4 for Ubuntu Breezy)

Those of us who love amaroK but use Ubuntu Breezy were left out of this month’s release of amaroK Fast Forward. Due to irreconcilable conflicts, amarok 1.4 is not in the official Ubuntu repositories. However, if you are willing to take chances on an unofficial repository, the amaroK Wiki has step-by-step instructions to install amaroK 1.4. I was nervous about breaking things, but everything seemed to survive. amaroK had to re-build the collection, but once that was done, it’s been working flawlessly.

And the new features are well worth the risk! The major new features in 1.4 are:

  • Tagging support for all major audio formats (OGG, MP3, MP4, FLAC and RM)
  • Enhanced media device support (iPod® IFP/IRiver®, generic devices)
  • Reworked tagging dialog for better management of the collection
  • Non-KDE users are now able to set their default browser without installing KDEBase
  • Consistent and independent icon set
  • Option to view wikipedia articles in another language by default
  • Gapless playback for the xine engine
  • User-based rating system
  • More options to configure the sidebar

amaroK was already good stuff. But the new update makes amaroK one of the best music library applications available for any platform.

No Comments

Automatic MySQL Backup

Here’s an interesting script, something that I’ve been searching for for awhile: Automatic MySQL Backup. What does it do?

Everyday AutoMySQLBackup will run (if setup on /etc/cron.daily) and using mysqldump and gzip will dump your specified databases to the /backups/daily directory, it will rotate daily backups weekly so you should never have more than 7 backups in there.

Every Saturday AutoMySQLBackup will again backup the databases you have chosen but they will be placed into /backups/weekly, these will be rotated every 5 weeks so there should never be more than 5 backups in there.

For those of us who use a blogging package that uses a MySQL back-end, this is an ultra-cool utility. It’s much more convenient than using WordPress’s backup plugin, since it requires no further user intervention once it is configured and added to cron.

No Comments

More vim tips from linux.com: Folding fun

Linux.com continues their Vim tips series with “Folding fun”:

Let’s start with some simple folding actions. Pick a text file, preferably a longer one like your xorg.conf, or just about any text file that’s too big to fit on the screen by itself. Open it in Vim, and place the cursor at the beginning of a paragraph. Make sure you’re in normal mode, and type zf2j. After you press j, Vim will create a fold covering three lines — the line you started the fold on, and the next two lines. If you’re familiar with Vim’s movement commands, you know that the command 2j would usually tell Vim to move down two lines. Vim uses the same movement commands to define folds.Folding also works in visual mode. If you enter visual mode using v or V, then select a few lines of text using the movement keys, and type zf, Vim will create a fold comprising those lines.

Linux.com is going to make an advanced vim user out of me yet. These tips and tricks are invaluable. vim is an amazing text editor once you have time to sit down and work out what functions it has and how one goes about using those functions.

No Comments

apt-get install PICASA!!!

In a previous entry, I mentioned that Google had promised to do a WINE port of Picasa to Linux. According to Ubuntu Blog (and just about every other tech news source in the world), Google has finally come through. That’s right, Picasa on Linux! I’ve already downloaded the .deb that Ubuntu Blog links to and used dpkg to install it. And I am pleasantly surprised at how smooth Picasa is working so far. It’s currently importing my massive photo collection, but I’ve been playing around viewing, sorting and searching for pics. It all works, better than expected.

Kudos, Google!

1 Comment

ArsTechnica likes eMusic

Sometimes it feels like I’m the only person on the planet who has heard of eMusic. I’ve been a fan of eMusic since I first heard about it, and have been a paying member since July 2002. (Which means that eMusic’s various owners have made a total of something like $1000 off of me.) I try and tell everyone I know about eMusic, but sometimes it takes more than word-of-mouth to convince people to lay down $10-$20 a month. So maybe ArsTechnica’s review of eMusic will get more people excited about it:

They’re doing a lot of things right. The site works well, downloads are quick, and it has plenty of tools with which to discover new music. The music itself is high bit rate VBR MP3 files, and it sounds terrific. Still, you’ll need to have a musical taste at least slightly outside the mainstream for the site to interest you in the long term.

It’s kinda funny;  Ars considers eMusic’s focus on indie music to be a con, but I see it as one of eMusic’s biggest pros. Indie music is exactly what I was looking for back in 2002, when I decided to boycott the RIAA for their destruction of the old AudioGalaxy P2P service. But I stayed because of the quality of music on eMusic. Without eMusic, I would’ve never heard The New Pornographers, Neko Case, Christopher Jak, nor the Drive-By Truckers.

Oh, and since eMusic offers standard, VBR MP3s, it works flawlessly with Linux! Download and listen, it’s that easy. :)

1 Comment

Passwords secure? HAH!

Security Blog has an article pointing out that most passwords are insecure:

Vu, who is a assistant professor in the Psychology Department at California State University, Long Beach, goes on to say that the average password is easy to crack, but access to biographical data makes guessing that much easier with favorites being birthdays and children’s names. “My colleagues and I use an easily obtained cracking device called LC4 to crack passwords,” she said. “It sources a dictionary to try words and combinations of words. It often cracks a password without knowing anything about the user. My research says that 60 percent of passwords can be cracked within a few hours, and some in less time than that.”

One of my job functions is assisting people with creating/resetting passwords. And I am continually amazed at how poor some people’s passwords are. It would be relatively easy to guess someone’s password just by knowing a little about that person. Know that Frank’s dog’s name is Kemosabe? There’s a fair chance that is his password, too. Know that Judy is a knitting nut? Her password is probably something along the lines of woolyarn or luv2knit.

I once was personally guilty of this same thing, normally using girlfriend’s names. Over the years, though, I’ve gotten much better ’bout this. Thanks to a password vault and constant access to it, I’ve abandoned the idea of creating passwords, and instead use a random password generator. I keep all my passwords in a password safe, and have a super-strong passphrase protecting the password vault. But I’m weird that way. Most people are not going to be.

No Comments