Bulk downloading from Flickr

flickrdown.gif

Some of my friends have stated to discover how awesome Flickr is, and have started to upload tons of pictures of the parties and other events we throw.

I am weird when is comes to data. I’m worried that Flickr or any other photo hosting sites for that matter, will one day go away and I will lose access to all those awesome images.

The only solution to solve my neurotic ways is to download the large versions of the images from flickr, and back them up locally, 7 ways from sunday.

I could always click into each picture and then save it. LAME. not doing it. Instead, I spent about 5 minutes googeling for a solution, and I came across FlickrDown.

FlickrDown is an open source app based on Microsoft .NET 2.0, and it works great. Download it, run it, enter a flickr username, pick the album and download. EASY AS THAT!

download it today! http://greggman.com/pages/flickrdown.htm

My Blog, 2007 in review

2007 is gone and dead, but I took a few moments and went back to check out that I blogged about during last year. Here are some of the highlights.

Hacking an old iPod to get a new one

A guy I know, “dave”, had an iPod that was acting up. On top of that, his warranty was was almost up, and he was worried that the iPod would live just long enough to go out of warranty before fully breaking, leaving him with out an iPod.

He was looking for a way help to speed up the failure process of his iPod, so he could make use of the warranty. Knowing that I have a back ground in working on the inside of iPods he hit me up for advice… advice that got him a new iPod

Based on the experiments and hundreds of comments I have received on my previous blog posts (here and here), its clear to see that when an iPod hard drive comes loose, the entire iPod goes nuts, and doesnt work (it cant read the music, so there is no music to play!).

  1. I suggested to Dave that he take a guitar pick (This is an old photo I am reusing where I used a screw driver for my example.. DONT USE A SCREW DRIVER you will scratch the metal part of the case!), and force the pick between the metal and the plastic, being careful not to scratch either surface.

    dsc00228.jpg

  2. Once the guitar pick (NOT SCREWDRIVER) is in between the case halves, twist the pick and move it slowly along the seam to release the internal latches. Take your time, so you don’t mark up the case, or Apple will know you were up to something.

  3. Once you get the case apart, be careful and move the case halves a part, keeping the plastic side down. Be sure not to break the ribbon cable joining the halves.


  4. Next, find the hard drive, it should be easy to see. At the top, it is attached with a large ribbon connection. This is where the magic happens! We need to unplug this cable from the drive, but still leave it semi attached. Pull the cable straight out, unhooking it completely. gently push it back on. enough to hold it in place, but not make a complete connection.

    We are trying to simulate what happens when some ipods are dropped. In some cases, the hard drive shifts and the cable becomes unplugged, creating a messed up iPod.

    To test this, gently pick up the iPod and press the scroll wheel. If you can see your songs, you pushed the cable back in to far, unhook it and try again. If you get an error, you did everything just right!

  5. To put it back together, flip the metal side over the top and gently squeeze it all together. The case will snap back into place.

  6. Your iPod should not play, and it looks completely broken.

If you return it to Apple under warranty, they should give you a new one. If they wont replace it, open it back up, re attach the hard drive cable and enjoy the dying days of your old iPod.

I haven’t tried doing this this, and I don’t really suggest doing it. I’m posting this for educational purposes, and because it is both an interesting hardware and social hack. I’m guessing that Apple might change their policy if they see a lot of this happening. You probably should just buy a new one. (I hope that covers me legally!)

While we are talking about iPods, subscribe to my podcast!

/bin/rm: Argument list too long

I’m cleaning up my linux web server (the very one that powers this site), and I needed to delete some things that had been accumulation (spam mails). When say mean some, i mean over 100,000 files! I’m not a Linux whiz, but I can manage pretty well.

I tried to remove the files using “rm *”, only to get back “/bin/rm: Argument list too long”
my initial reaction was: wft? Arguments to long?! gtfo!

It took a bit to figure out, but I came up with a solution:

if you try:
rm *

and you get this:
/bin/rm: Argument list too long

do this instead:
find . -name "*" -print | xargs rm

The files are gone, and I am happy once again.

NASA adopts the Coldfusion framework – Coldbox

coldbox_400.png

WOW! NASA just adopted the Coldfusion Framework, ColdBox as their official web development framework. NASA!

I’m excited about this for several reasons. I have been using the Coldbox framework for about a year now. Before Coldbox, I was using Fusebox. Fusebox isn’t bad, but it just doesn’t compare to the features that I get out of Coldbox. I suggest that all serious Coldfusion developers take an in depth look at Coldbox as an application framework. Heck if its good enough for government rocket scientists, its got to be good enough for anything that you or I are doing!

Coldbox is developed and maintained by Luis Majano. Please stop by his blog and encourage his to continue the development of this software.

While you are at it, please stop by DIGG, and digg his blog post about NASA adopting ColdBox!