Friday, November 24, 2006

Mixing iPod and Computer Sounds?

This is an exploration of solutions. I don't have my perfect solution yet, perhaps somebody will help.

The short question is "what's the best way to combine the sound from my ipod and the sounds from my computer into one set of headphones?"

Here's the situation:

I've got an iPod which I sync with my work computer. When I want to tune out the noise of the office, I currently listen via iTunes. Windows handles the business of delivering music, new mail alerts and other system sounds to my headphones, with the volume set appropriately. However, the disk on my laptop is getting full. My iTunes library takes up almost half of the used disk space. So, I'd like to move the music to my home computer and I can bring the iPod with me to work.

Now, how to listen to the music while still being able to hear the alert sounds from my computer? If I had two sets of speakers, I could connect the iPod to one set and the PC to the other. This solution fails when I want to use headphones.

Possible options:

  • External mixer - buy a small mixer and plug the ipod and the computer into its inputs, plug speakers or headphones into its output. The hardware volume controls for each input would be nice, but this solution requires a little desk space and an extra power outlet. There's also the matter of the "whoa, you're such a geek" factor when people see this extra box sitting on my desk. See what I mean by looking this Behringer model. That could be good or bad.
  • Attach ipod to computer via line-in port - it's a simple idea, but I'm on a laptop with only a mono-mic input, and, once it's connected, I'm not sure what I would run to get the sound piped to the speakers. The mono-mic input is a deal-breaker. If I'm using a more compatible machine in the future, I'll worry about how the sound gets through the machine. Rogue Amoeba's LineIn looks like it would work on a mac.
  • Fancy speakers - some speakers meant for computer use have two inputs and a headphone jack (such as these Bose speakers. Plug the computer into one, plug the ipod in the other. Seems pretty easy.
The speaker option is probably the best way to go, but I'm working on pure speculation as to how well this would work. This is why stores allow returns.

Friday, September 22, 2006

Geeky Friday: Shorter directory path in command prompt

Gina Trapani, editor over at lifehacker.com, has been diving deep into cygwin and command line goodness for a while. Earlier this week, she posted an article about customizing the command prompt. I added a comment about my shorter directory path, but I'll replicate here, because I have better control over the formatting of the code (and, I guess, for the people who read me, but not lifehacker):

I sometimes find having the full directory path in the prompt to be overwhelming, so I've created this small bash function which shows just the last two parts of the path:

short_dir ()
{
    if [ "$PWD" = "$HOME" ]; then
        echo '~'
    else
        the_dir=`dirname "$PWD"`;
        the_base=`basename "$PWD"`;
        the_dir_base=`basename "$the_dir"`;
        if [ "$the_dir_base" = '/' ]; then
            the_dir_base="";
        fi
        echo "$the_dir_base/$the_base"
    fi

}
Add a call to this to your prompt, don't forget to escape the backquotes:

export PS1="\`short_dir\`\$ "

So, if your current directory is /usr/local/man/man1, your prompt would look like:

man/man1$

You can, of course, sprinkle in other bash prompt special characters, such as "\h" for the hostname:

export PS1="(\h) \`short_dir\`\$ "

produces: (myhost) man/man1$

Monday, September 18, 2006

Anime for beginners

I think it's time to try anime. Based on various reviews and the fact that it won an Oscar a few years ago, Spirited Away has been in my list of movies to rent for a long time, but I've never gotten around to renting it. Now ranting tech blogger, Steve Yegge has written a long post about why he likes anime and gives some recommendations.
Tags:

Thursday, September 14, 2006

Diary of Ironman Preparation (no, not mine)

"A few days ago I was thinking about doing something good with my life. Instead I decided I would sign up for Wisconsin Ironman."

   -- Thus begins my cousin's new blog chronicling his year of preparation for the race on September 9, 2007.

Tuesday, August 22, 2006

Higher gas mileage (in the same car)

The Washington Post ran an article a couple weeks back on improving gas mileage. It's written from the point of view of a hybrid driver, but it says that these tips can be used in other vehicles as well.

Thursday, August 10, 2006

Your Brains

It's been a while since I posted and even longer since I posted something just fun and not too techy. But this just cried out for propagation -- a new(-ish) song from Jonathan Coulton (the guy who covered "Baby Got Back" in a nice, easy, banjo-heavy acoustic style):
If Hollywood has taught us anything, it’s that being trapped in a mall surrounded by a million zombies would be really troublesome. But how much more annoying would it be if the head zombie used to be your co-worker, and he was kind of a prick even before he got infected? And now he’s right outside and he just keeps talking and talking - still the same jackass, only now he wants to eat your brains?
An mp3 file can be downloaded from Coulton's site or you can listen while you watch video game characters act it out (complete with a little air guitar and dancing).

Friday, June 30, 2006

Geeky Friday: Essentials for linux

Mark Pilgrim has updated his "essentials" list to reflect his recent switch from Mac to Ubuntu linux ("Ubuntu, which is an ancient African word meaning "can't install Debian".") This is a nice list of useful software (and links to each) for linux. His older list is for mac users.

Wednesday, June 28, 2006

X1 search for free

I've been using X1 desktop search since I got a free copy in Oct. 2004. The news of the day is that it's now free for everybody (via LifeHacker). Try it. I like it a lot.
Tags: ,

DougDoug

I believe my wife will start to use this when we're driving in unknown areas -- even though I'm usually the driver and she's the navigator.

Friday, June 23, 2006

Geeky Friday: Extra-geeky, extra-fancy search and replace

Steve Yegge writes about Emacs 22 -- specifically about its internationalization support and its improvements to search and replace by regular expression. He writes:
Emacs 22 sports an amazing new editing feature that's had me drooling in anticipation since I first heard about it, maybe six or eight months ago. As you can well imagine, that's a lot of drool.

And what might the feature be, you ask? Well, they've enhanced M-x {query-}replace-regxp to accept lisp expressions to be evaluated in the replacement string.

He gives some cool examples of how this can be useful. (Sorry, non-geeks, this edition of "Geeky Friday" is over the top geeky.)
Tags: ,

Wednesday, June 07, 2006

Black Apple

There's a rumor that Apple and RIM, creator of the BlackBerry, may be forging a partnership. Speculation is that they might try to build on each other's innate strengths.

I use a BlackBerry for a while and was unimpressed. It does "push email" well and wireless sync well, but that’s about it. The basic PIM tools are weaker than what my PalmOS Handspring Visor had 6 years ago and there is comparatively little third party software. My biggest gripe was having only a thumbwheel for navigating a big screen. A combination of touch screen and wheel/buttons is easier.

I think that many people who rave about their crackberries had never used a PDA previously and were issued one by their offices. Compared to lugging around a laptop or having nothing at all, the BlackBerry is a nice tool.

Apple can, and should, do better.

Perhaps may just license the software for connecting to a Blackberry Enterprise Server. This would enable companies to deploy either RIM or Apple devices and their employees would be able to get their email, calendars, etc.

And about the name "AppleBerry". I don't get why the tech press is using that.

  "Black" - color, serving as adjective
  "Berry" - fruit, noun, modified by the adjective

  "Apple" - fruit, noun

Wouldn’t "BlackApple" be better? and cooler sounding? Or is a black apple a rotten apple? But if black apples are bad, why does Apple charge so much more for the blackbook black macbook?

Thursday, June 01, 2006

World Cup Intro for Americans

This week on "Wait Wait -- Don't Tell Me!", the NPR news quiz, host Peter Sagal and soccer expert and radio host Steven Cohen discuss soccer and the World Cup. Sagal's introduction:
Those Americans who are watching sports late at night, say, and they can't find any baseball or football or basketball or golf or NASCAR or lacrosse, wrestling, bowling, scrabble, curling, knitting, might find finally themselves settling on this very odd game where people chase this ball around in a field with no equipment at all. It's called "soccer". It seems very popular in other parts of the world. Well, it's got some sort of big tournament coming up. So to explain this exotic game to us Americans, we put in a call to Steven Cohen, soccer expert and real life British person.
Cohen immediately jumps in with a correction:
Cohen: Actually in most parts of the world it's actually called "football". Sagal: Well that's wrong though.
They go on to discuss (among other things):
  • Popularity of soccer in the US
  • Impatience and ADD of US sports fans
  • Scoreless draws in soccer vs. pitcher's duels in baseball
  • US sports that take 2-3 times longer than actual game time
  • What to look for in the World Cup teams
  • What would happen if the US were to win it all
Listen in Windows Media or Real Audio. Go to the rundown of this week's show click on the "Not My Job: Steven Cohen" link.