Archive for May, 2007

vi has arrived

Jeff A. sent me a link for Vi written in Javascript. How flipping great is that.

I am already envisioning gmail with this as the editor…just need to jam that in greasemonkey and attach it to the textarea. Ho ho, hee hee!

Seriously though, I had that idea a while ago, but I of course did nothing with it. Thankfully others are more talented and less lazy than I.

Vacation

I am on vacation this week. And I have christened it “The week of getting stuff done”. Stuff I should have been doing all along, but neglected. Yesterday was “Move your crap to the other bedroom day”. That was easy, Friday I scrubbed the carpet in the front bedroom, and then yesterday I moved all my things into there. Today, is “Paint the room you vacated” day. I am about half way done with the first coat in there. Also, I am going to paint the trim. It’s looking bad next to fresh white walls. That will probably be tomorrow though. Once I get this first coat all done, I think I am going to move into some of tomorrow’s tasks…which was supposed to be “Paint this hallway” day.

I had also planned this week, time permitting, to paint the down stairs. I fear I might not get that all done though.

Either way, if I get bedroom, hallway and upstairs bathroom painted this week, and even get started on the downstairs, I will be pretty happy, and it will give me a huge head start on all the things I want to accomplish.

I am sort of photo blogging my vacation as well, which you can follow here:

http://nathanpowell.org/gallery/main.php?g2_itemId=253

And as you can see, it hasn’t been all work ;)

Just read programming.reddit.com

So much better than the main page.

I hate to keep repeating something that everyone knows is true, but reddit sucks now. It’s overrun with morons and pic posters. programming.reddit.com is still pretty decent however. Read that instead.

Rails and menu state

Has anyone else done anything to save UI state in a Rails app? If so, I’d like to know what you did. I ended up making a helper method that jams stuff in the session using the Ajax.Request stuff from Prototype. It’s ok, the code needs some tweaking, but it works without issue. Just curious what others have done.

Script.aculo.us and Safari

I am not sure if it’s because script.aculo.us developers use Safari, or because it’s javascript complier is better, but the script.aculo.us Effects run much smoother on Safari than they do on Firefox. I do most of my work on Linux, however at work I have an older eMac sitting there for testing, and hands down, Safari executes the Effects from script.aculo.us much better. Firefox on both platforms has the tendency to chug just a little when an animation is working. Someone better at JS than me should look at that :)

This could explain things

I was far more interested to see that eHarmony uses Hibernate and Struts than I was at seeing what women a search would turn up.

GSoc and Ruby

Not trying to link jack, but in case you missed it:

O’Reilly Ruby is going to try to coordinate updates from the Google Summer of Code as it relates to Ruby this year.

Paddling

Bob, Sun and I went out to do some paddling today. We hit the Yellow Breaches. Put in at the intersection near White Rock Acres and took out below Williams Grove park.

We had a great time, save for one small part. Bob and Sun, in the canoe were up ahead and came upon a nasty strainer. They where picking their way through when they realized that a submerged log was not going to allow them to pass. They kept cool and tried to make shore with out getting dumped by the massive tree blocking the way. I saw what they were doing and thought they would be fine. When we all realized the place where Bob would have to put his hand in order to make shore…held a water snake :)

To their credit, they didn’t panic, but now we had to get them back up stream and away from that tree. They managed to swing the bow around and I was out of the kayak by now so I could grab the canoe and help pull them back. We decided that a shallow carry river right was our best option so we shot for it and managed it fine.

Like most trips on the Yellow Breaches we encountered a TON of fisher people. One guy was really nice as I apologized for paddling though. He said, something to the effect of “Nah, it’s here for all of us, and any day out here is a good one”. Which I agree with, however I usually try to be non confrontational with the fisher people out there, as it’s pretty heavily fished and some of those guys (like any group) can be a real pain in the ass. I only got one huffy head shake in my direction all day.

The really good part is that it’s rekindled my interest in paddling. I haven’t gone for so long I almost forgot how fun it is. Looking forward to putting paddle to water in the near future.

New Camera

About a week ago I picked up a new digital camera. Actually, I picked up my *first* digital camera. I had never owned one before. For a geek, I have less toys than most.

However camera prices have come down, and I think I got an ok deal on it.

I am pretty pleased with it.

This morning I wanted to upload a bunch of pics, and then delete them from the 2G sd card I also purchased (like, wtf would a 8MP camera come with a 16M card…I could take like half a picture before that would fill up). At the same time I wanted to keep a few. Luckily for me the ones I wanted to keep were early in the sequence of the auto naming the camera does.

for i in `seq 106 171`;do rm IMG_0$i.JPG;done

I know there are other ways to do that, but I thought it was fun. Post your bizarre solutions in the comments if you like (and none of this…I would open Windows explorer and drag a rectangle around them :).

Cooking for one

Since I live alone, and have for many years, I have figured out some great recipes when cooking for one. This is just my latest.

1. Cut up a shitload of vegetables
2. Put in a pan with oil
3. Slather with Balsamic Vinegar
4. Make some rice
5. Put shitload of veggies on rice
6. Eat

See, who needs a cookbook…this stuff is easy.

Next Page »