Wednesday, May 14, 2008

Dieting again

After a long break, I am back on the diet again (posts from last years efforts here, here, and here).

I have come to realize several things about myself through my weight control efforts. The main ones are probably that I am much better than most people about exercising iron control and I am much worse than most people about exercising reasonable control. Here's a graph of my weight over time:




As you can easily see, as long as I am paying attention there is a nice downward trend. The second I stop there is a nice upward trend.

So I have the iron control and the method. I am not worried about getting into my target range. But I am very worried about how to stay there once I do. I either need a better balanced strategy or I need to accept the idea that I am a yo-yo and I just need to be able to rapidly transition between good/not so good. I guess I'll spend the next couple of months pondering that.

Suggestions welcome.

David

Thursday, May 8, 2008

Winner's Laws

A while back Alan Schoonmaker had an article in CardPlayer Magazine (Winners Are Brutally Realistic: Part II) in which he discusses his concept of four Winner's Laws.

These laws are brilliantly universal and I wanted to share them you. They are:
  1. Admit that you overestimate your abilities and other virtues.
  2. Admit that you have some unrealistic expectations
  3. Get an objective assessment of yourself.
  4. Select your games very carefully

Aren't they great?

I suppose that to be truly universal you have to restate the last one. Maybe something like:
  • Select the opportunity that maximizes your expectation

Or maybe that is still too gambler-speak. How about:
  • Select the opportunity that is most likely to produce either short or long term benefits.
For everything that I have excelled at I have (knowingly or unknowingly) followed these rules. For everything that I have not done as well at I haven't.

1. Admit that you overestimate your abilities and other virtues.
  • Confident people are generally winners and expect to be winners, but confident people are insanely likely to be guilty of overestimating how good they are.
  • If you overestimate how good you are you won't improve. You won't even try to improve. Pretty soon you will suck.
2. Admit that you have some unrealistic expectations
  • You are a confident person. You expect to do well. But some of your expectations are ridiculous. Admit it. You aren't going to win the Nobel prize or cure cancer. You also aren't going to get a glowing review followed by a promotion every year.
3. Get an objective assessment of yourself
  • You overestimate your abilities and you have unrealistic expectations. How can you possibly be objective about yourself? You can't. Find someone who can.
4. Select the opportunity that is most likely to produce either short or long term benefits
  • Opportunities come and go. If you choose the one that is convenient, or the one that is most "fun", you are probably costing yourself.
  • Either choose opportunities that have demonstrable immediate benefit (e.g. the job that pays better) or the opportunities that can have long term pay-offs (e.g. the project that will force you to learn something new that you expect to be useful in the future).
Hope you liked these.

David

Monday, April 28, 2008

Why I Hate Livejournal

(cross-posted to my Livejournal page)

Pretty inflammatory subject for a first post, isn't it? They'll probably ban me.

But I absolutely HATE that I can't get RSS feeds from friends private journals. Do the developers at Livejournal pay any attention at all to Web 2.0 trends?

Listen up people! If I can't read it in Google Reader, then it doesn't exist.

David

Monday, March 10, 2008

The Big Rip Is Over

Whew. I finished the big rip project. 121 gigabytes of Apple Lossless files (5215 tracks), piles of clean up and de-duplication, and a bunch of manual hunting for cover art, but it is done. Was it worth it? I'm not really sure. I had some hope of actually using some of the lossless music on my iPod, but 121 gigs? I think not.

The one advantage is that if I change my mind about the lossy format that I actually want to use (192kbps MP3 for now), I have everything tagged and organized so that it is pretty easy. Just the processor time to chug through it all again.

My one gripe is that I had to fight against iTunes in a number of places. Everything is possible, but not necessarily easy. It would be very nice, for example, if you could force imports to go to a different directory than the main iTunes directory. Or if you could display (and sort by) the file location. Or if you could use iTunes to move physical files around. Or if you could delete music from playlists. Or if when you do a conversion it asked you if you want to keep duplicates (like it does when you rip a disk). Or if you could have it touch every file in your library to find the missing files (and then if you could sort by the [!] or something). Or if you could swap back and forth between two or more different iTunes directories and then merge them at some point (I got to a place where I had to finish the entire process before I could sync my iPod or things would go horribly wrong - it would be nice if I could have done some of the fiddling in a separate environment).

On the other hand, some things iTunes got very right. Smart playlists are a godsend. The search function is almost magically good. And now that I have actually filled in my album art, cover flow is pretty neat.

And speaking of filling in album art - I never could have done that without amazon.com and google image search. Not a chance. The iTunes missing album art function only hit about 50-60% of my collection - that's what I get for being eclectic I guess.

One interesting thing about the whole process is that it took 24 hours running at ~75% CPU utilization on a modern dual core computer to transcode the files from Apple Lossless to MP3. That is an astonishing amount of CPU time on a computer that would have been classed as a supercomputer a few years ago and magic a few years before that. I estimate it used about 3E14 CPU cycles. A circa 1990 Cray Y-MP would have taken around 625 days to do this processing (obviously not counting any of the optimization that you definitely would have taken the time to do and using a 1:1 assumption about CPU cycles that probably isn't strictly accurate).

David

Friday, March 7, 2008

sshfs rocks!

I have no idea how I went for so long without knowing about sshfs, but for the record it rocks. It is a *nix user space mountable file system that works over ssh as a proxy for sftp. Or in english, it is a way to mount anything that is available via ssh (sftp) as though it were a disk on unix/linux.

Yes, it works on macs. No, it doesn't work in cygwin. Yes, there is a windows client, if you don't mind paying for it (I haven't tried this).

Sshfs, plus an ssh terminal, plus a tiny bit of port redirection, and hey, who needs a vpn? The completely brilliant thing is that you never need anything more than sshd running on your "server" side and you never need anything but port 22 open. Ever.

David

Friday, February 29, 2008

The Big Rip

In the wake of the realization that my music collection has gone the wrong direction, quality-wise, I have decided to re-rip my entire CD library in Apple Lossless. I expect this to keep me busy for the foreseeable future.

Why apple format instead of flac? Because iTunes supports it natively (and it is a nice ripping environment) and the format is playable in Linux and convertible to other formats. The thing that sucks about any format is that there is no one perfect choice. MP3 is the only real generic choice for lossy, but there is no similarly universal format for lossless. So I will need a minimum of two copies of my entire library to support my existing audio needs. Possibly three. Sigh.

I don't actually expect the ripping to be the really painful part of the process. I expect incorporating the lossless items into iTunes without losing anything or duplicating anything and without hopelessly wrecking my playlists to be the hard part.

The way my luck is going lately, my hard drive will probably crash halfway through the process. I should get a Drobo, but I want a Mac to attach it to. Or I could take a chance and attach it to linux (formatted hfs+), I suppose...

48 disks down, lots and lots to go.

David

Saturday, February 23, 2008

The Lure of iTunes

If you had asked me two days ago whether I buy a lot of stuff on iTunes, I would have said, "Some, but not too much. I'd rather buy the CD so that I own a higher quality copy. But I like it for the ability to explore and find new music."

Well, I would have been lying apparently. I installed doubleTwist to mess around with and I was astonished when it started "liberating" my iTunes music. Not because of the liberation - I was obviously expecting that. But because of the number of bloody songs there were to liberate. 854, not including the 245 iTunes Plus selections. Sheesh.

Score one for iTunes and a marvelous store interface. It totally sucked me in.

Ironically, the ability to liberate the music (without burning/ripping) actually makes the store more attractive. I may need therapy.

David