oops, didn't mean to rake that
I accidental caused typo to delete everything. I switched to production and it wasn’t working, ran rake and (had used the same db name) and goodbye 63 entries.
A backup! Woo… untar my pg_dump file… nothing there. Apparently, I was running the wrong version of pg_dump against the postgresql version for my typo blog. Never noticed that til now.
oh well…
but wait! What about my RSS feed? Well, my RSS reader has a cache of all comments and entries! So, I am working on a script to import everything back into typo. It’s almost working for all the entries. Trying to do SQL inserts, is being quirky… I might try to add them one-by-one through the script via the typo web service.
It’s the next day and I have imported all of my entries from my RSS reader cache file… and all my comments! What I did lose were all the email/links associated to comment posters… and they’re displaying in reverse order in the comments section… but it’s all there (from what I can tell).
Now, to fix that postgresql backup script to use the right version of pg_dump. :-)
In the end, I learned a lot about regular expressions in ruby and it’s been a fun experience…despite almost losing all my entries to date here.
Instiki hosting
Due to popular request, PLANET ARGON is now offering hosting for Instiki (and mediawiki) for as low as $3/month.
Check out our wiki hosting page for more information.
Lunch with Rael and Lucas
Today, I went and met Rael Dornfest of O’Reilly for lunch… and as he is a veggie like I am, he suggested the soup at this place about 30 blocks from here. (which was a delicious Vegan Tomato…yum…)
We discussed Typo (O’Reilly might use it…), some of his personal projects (which were pretty cool sounding), etc… and of course the book.
Lucas Carlson came about a hour later as they were going to meet up as well, so I got to meet him finally and talk to them both.
Contrary to what everyone else says about them, I found them to be very nice and friendly guys. ;-)
I hope to get to talk more with them in the future… on that note, I am heading out to another meeting and take the afternoon off to play some music.
The Pragmatic Programmer
This weekend, I purchased The Pragmatic Programmer online. I have been meaning to pick this one up for a while and finally managed to head to over to the site to order it.
I have been trying to get myself away from looking at just programming in a specific language books and trying to expose myself to books that discuss real-world scenarios… rather than the typical programming language book. Looking forward to catching up on a lot of books that I have yet to read.
Suggestions are always welcome!
taskthis! for postgresql
I downloaded the lastest version of taskthis! and noticed the same thing that I noticed the first time that I downloaded Typo... no PostgreSQL schema! What is going through everyones heads? heh. So, being the PostgreSQL-fanboy that I am, I have created a PostgreSQL schema for taskthis. I am going to send it to Matt and hope that he adds it into his source tree for other people. :-)
Update: Matt has taken my PostgreSQL schema file and said that he would add it to the package for taskthis!.
I am writing a Ruby on Rails book!
Okay, I was given the go-ahead by my editor to make some sort of announcement.
I have just started working on a Ruby on Rails book for your favorite publisher, O’Reilly.
...more details at eleven.
UPDATE I have started collecting your information here at http://www.programmingrails.com
Be notified when the book is coming out!



