Archive for the 'Hacks' Category

How to Stand Up – Stepcase Lifehack

I always figured that once I learned how to walk, standing up came with it. Boy was I wrong! Thanks to lifehack.org, I know that I’ve been doing it incorrectly for 31 years.

Of all the “steps” they say are crucial to standing up, I love the second one the best. Nothing says, “Look at me! I’m about to stand up!” like sitting proudly with your head pointed up – as if you were royalty and bestowed the pretentious right of vertical ascension by God. I also like the 4th tip on how to breathe; its a good thing they told me to do that.

I probably shouldn’t be so sarcastic. I like Lifehack.org a lot, actually, and I think that the site offers some of the best life hacks (along with Lifehacker) out there. Its just a little hard to take an article like How to Stand Up a little serious when they talk about Step 6; the most important advice the post gives is what not to do.

How to Stand Up – Stepcase Lifehack.

Shaking It Up A Bit

As part of my new year’s resolution to be healthier, I went to the gym this evening after work. I’m working hard – feeling the burn – and I’m on my last exercise feeling good. All of a sudden, I drop my iPod. I wasn’t too worried about it. I had dropped my iPod before on harder surfaces (the gym floor is that rubbery stuff). When I picked it up, I still heard music playing and only noticed something was a little off when I tried to rewind the song I was listening to at the time I dropped it. A quick sliding of the ‘lock’ feature once or twice and it was fine. I finished my workout and went to the locker room where I grabbed my jacket, took the elevator down to the ground floor, and started walking home. All of a sudden, as the iPod started playing a new song in the playlist, it stops.

Just like I had attempted to do before, I slid the ‘lock’ button around to try and free it up but it didn’t work this time. Again, thinking nothing of it, I tried to reboot the iPod by pressing the ‘Menu’ and the ‘Select’ button in the center of the click wheel. It was then, I saw something I had never seen before – the sick iPod.

The sick iPod is a picture of the Gen 1 iPod that only worked with a Mac (unless you hacked it or used XPlay like I did). Below this frowning iPod is the link to Apple’s support page for the iPod.

Now I didn’t have a lot of faith in Apple’s support page. Don’t get me wrong, I’ve been able to solve a lot of problems by visiting their site and feel that, while it doesn’t account for every situation, I’m satisfied with what solutions they do offer. But predictably, they didn’t have any simple instructions on how to de-brick your iPod… except buy a new one.

So I started looking at the new iPod Nanos. The small form factor, I thought, would be great for keeping it in my pocket. No more using a belt clip (that didn’t keep my current iPod in place). I also thought of getting the iTouch. With its large widescreen display – and all those new features announced today at Macworld 2008 by Steve Jobby-Jobs – I thought it might satisfy my craving to watch TV and movies on the subway. But I didn’t like the small-ish storage they offered.

I have almost 50GB of music and 15 GB of video already. An 8GB Nano or a 16GB Touch wasn’t going to cut it. The “Classsic” iPods, while thinner than the one I have – and capable of storing all my media needs for a while, didn’t seem like a good purchase either because it only offered me a slightly different version of the iPod that I have. Plus, will all the cool things announced along with the iPod upgrades (MacBook Air, Time Capsule, and the new AppleTV), I’m already looking at contributing a significant amount of paper route money to Steve’s backdated options income.

So after chatting with a friend of mine, I decided to seek out a fix for my bricked iPod on the Interweb – I hear they have the Internet on computers now…. (sorry for the Simpson’s joke). I did a quick search and found the wonderful site, iLounge. Their forums have been a great source of information on all things iPod – today was no different. I couple of clicks here. A few more there. And presto! I found a post that offered hope. The the solution was unconventional to say the least.

Most of the posters with bricked iPods were told to shake it. SHAKE IT!!!

Out of all the things you don’t want to do with your hard drive based devices is shake it!

But, the theory was sound to me… The idea is that the hard drive was stuck from the fall and the iPod was playing cached music. Once a song to be played wasn’t in the cache, the iPod threw up. With nothing but a $200 to $399 bill for a new iPod in the cards, I shook it.

Nothing happened.

I shook it again.

Nothing happened.

I started thinking of that saying: Shake it once is ok, shake it twice is ok. But shake it a third time and you’re just playing with yourself.

I stared to wonder if I was either kidding myself into thinking this could work and, again, thought of what iPod I’d be owning (and what I should have engraved on it ;) )

But with nothing to lose, I shook it a third time despite feeling shameful and this time I put my full wrist into it.

Low and behold, it worked!!!!

The moment I tried to reset the iPod, the screen became backlit and started loading my media info. All my playlists are there and I was able to sync the iPod with my computer. Just shaking the iPod saved me from getting a new, shinny, engraved, widescreen or really tiny (and perhaps colored), iPod.

Oh well.

So Bored With Computing… I Built My Own Web Server

Wow! My first post using Wordpress 2.3!

Anyway…

Besides doing the automated install of Wordpress 2.3, my computing life has been pretty boring. I have no new gadgets to keep me busy and no cool programs to toy with. All I’ve been doing with my computer is the normal web surfing, iTunes listening, and working at odd hours (thanks to Parallels running Windows XP on my Mac).

But I have this old computer and my very powerful PC that I built by myself. Well, with the help of my friend. It just sits there, though. Unpowered and unused. Until last weekend…

Or maybe it was two weekends ago…. well, anyway…

I took my desktop Ubuntu build and wiped it clean. I was still on 6.10 since I got my Mac mini in December-ish of last year. Plus, I have 7.04 on my IBM laptop so I hadn’t been using it in a long time. I installed Ubuntu 7.04 Server on it and started to set up a website. But not just a website, Wordpress!

Man, the folks who are behind Ubuntu are great. Canonical has done such a great job with Ubuntu; Linux wouldn’t be what it is today without it. All I had to do to get my webserver up and running was type the following line of code:

sudo apt-get install wordpress

That’s it!

Well, to be honest, there was more to it. I did have to figure out how to configure a few things here and there to get the install working the way I wanted but it wasn’t more than a few lines of code in a text editor. I didn’t even need to actually use the computer in the typical sense. I installed OpenSSH before I started the whole process so I used the terminal app built into OS X to do everything.

So now, if you go to my internal address of 192.168.1.106, you get to see my Wordpress 2.3 blog. Next week, I’m going to try and build a firewall/router out of the other computer using Linux, natch. I’ll create some route statements to direct web traffic to the web server and open it up to the internet.

So, like I said, I’m bored with my computers. Bored enough to build my own web LAMP server and future firewall.

Yawn…

Inspired to Backup

Over the weekend, I managed to backup my entire music directory to my hosting provider, DreamHost.  I was inspired by Michael Lee’s aptly titled article on How to Backup Your Mac to a DreamHost Server and while I didn’t do all the technical coding work, I managed back up my music files nonetheless.  If you have a Mac, using rsync might be a good way for you to go – especially if you have a 479GB of on-line storage like I do with DreamHost.

It took all weekend to upload 40GB worth of songs so if you have a large collection like I do, this is not for the faint at heart or those with a slow connection.  I have a great high-speed connection and get 30Mbits down and 5Mbits up.  So at roughly 450kb/s, well, you do the math.  Like Michael’s article suggests, I used iCal to schedule my daily backups.  But unlike Mike (if I can call him that), I use my FTP program and created Automator work flows to handle the file transfers.  I created a work flow application that iCal runs every night at 2:30am that checks for the latest version of the files in my music directory and if it finds any changes, it writes over the older version – wherever it may be.

Eventually, I’ll have separate jobs to take care of my other data but I’ll have those jobs run every other night since syncing the music can take up to 20 minutes or so.  I’ve got my photos on a dedicated photo site that I host so that takes care of my pictures.  Though, I might automatically upload new photos to the import directory of the Gallery2 site to make things easy but that’s not necessary.  I’ll also set something similar up for my wife who has no backup of her data.  In fact, neither of us had anything before this.

I thought I’d build a file server like I did when I was the CTO of the small company I used to work for.  And while I would still love to do that, its not very cost effective.  Plus, it would be noisy and big – it wouldn’t go with the new Mac based office I’ve created since I picked up the Mini.  Hiding the server (it would have to be a rack mounted array… it has to be) would be tough since we don’t have a lot of closet space in our condo.  And it would still generate a lot of heat and use a lot of electricity we don’t want to waste.

But back to the automation I did…

I was inspired to try the automated backup program that Michael Lee wrote about.  And now, finally, I feel that I can sleep at night knowing that my files are safer.  I’m also inspired to see what else I can do with Automator, iCal, and rsync.  Anyone have a good work flow they care to share?

I Feel Great!

Man… I feel great!

Why?

It’s not because I blasted through my del.icio.us links (which I did). Its not because I demolished the dirt in my house (which I did too). It’s not even because I’m in the process of upgrading my Ubuntu machine to 6.10 (which I am). Then why do I feel so good?

I flashed my Linksys router with a firmware from DD-WRT to make it a near professional VPN Gateway/Firewall/Router/Switch for my local network!!!! How freakn’ cool is that??!!??

Granted, I didn’t make the firmware – I only followed the instructions. But the new firmware is so cool!! First, it includes support for a RADIUS server used in VPN Authentication; I’m going to flash my other router (my main outside facing one) soon and set that up ASAP. Second, it has a lot more advanced router functions that many SOHO units just don’t have – like VLANs. It still has all the basic SOHO style web interface but with a lot more flexibility and power for the advanced user like command lines, SSH, SNMP, PPTP, and others. It supports DDNS for services like DynDNS and Sputnik Hotspot solutions. It also supports OpenVPN.

But what I like about it is the advanced wireless features that you cannot control in a SOHO Linksys router. For example, I can now control the transmit power – I wasn’t able to do that before. I could not control the preamble settings nor could I adjust the Tx and Rx antenna values. I was able to do this on the Cisco AP I used to use and it was helpful for me to get the best signal strength and health for my house; before, I was only able to get a reliable transmission from out to my kitchen and now I can get a great signal all the way to the bedroom – the reason I got a wireless access point in the first place.

So I’m psyched! I’m already seeing the benefits to the new code and I haven’t even started to play with the most of the cooler stuff. I’m going to flash my external facing router tonight and see if I can set up the VPN for my trip tomorrow.

I’m such a geek.

:)




So It’s Come To This: is Digg proof thanks to caching by WP Super Cache