Saturday, February 24, 2007
Django, or, Why I upgraded my Linux server
I forgot to mention why I upgraded my Linux server...
I want to try out Django, a new Python-based web development framework. Unfortunately, getting its dependencies installed on Mac OS X is a massive pain... so much so I decided to install it on Ubuntu instead and forego the convenience of having it on my laptop. The software Django depends on is better in the latest version of Ubuntu. So, there's the Linux upgrade use case. :-)
Django's installed, and now I can move forward again.
"Why not use Rails then, it's easy to install?"
Yes, I tried Rails first, only because it was relatively easy to get running on my PowerBook. I bought two books to help me learn it faster. After reading hundreds of pages from them and coding a personal project with it, I no longer feel Rails is right for me.
I'm a perfectionist, with deadlines.
From what I can tell, with Rails, once you've got your (data) model set up, you might as well be doing PHP development. Rails' template/component systems are pure torture. Actually, just attributing the words "component" or "template system" to Rails makes me feel light-headed. PHP-style development is a non-starter for me, so until Rails stops mimicking PHP/JSP/ASP, it's a non-starter too.
I have it on good authority that Django should suit my tastes better, and I hope that's the case! Worst case, my Linux server is now up to date and I now know how to build deb packages from source. :-)
To my friends:
I realize some of you do, and even enjoy, Rails development. And yes, I realize you may be insulted by my comments, but I have to speak my mind on this, and I don't think sugar-coating helps any. Rails doesn't get a free pass from criticism just because it's "the in thing" right now.
My real friends are used to me being "blunt" (to a fault), so I shouldn't think this post will be a problem. If it is, let me know, preferably with a persuasive argument for accepting Rails' shortcomings that has nothing to do with popularity.
Zero to Hero in 3 hours
Last night I decided to upgrade my Linux server from Ubuntu 6.06.1 LTS Dapper Drake to 6.10 Efty Edge. It should just work, right?
Just about!
The installation failed because it couldn't stop lighttpd. I don't remember installing that, I think a friend of mine who I've let use my server did that. No big deal, I killed it, removed it, and resumed the installation.
Restarted, but my machine was thrashing fiercely. Turns out it upgraded my mail server (Cyrus IMAPd) packages to a version that flat out does not work. Of course, the primary reason for this server to exist is to run my mail server, so that left me not very happy!
Long story short, the current Cyrus 2.2 packages for Edgy are broken, I had to install the deb from source after patching it to remove every trace of references to db-4.4, db4.4 and db44 (so that it properly uses Berkeley DB 4.3 instead of 4.4).
I got it working, and now my mail server is back up and running.
I'm a little upset that Cyrus would be left broken for 4 months since the release of Ubuntu Edgy Eft, but there is recent progress being made on getting a new version of the packages out with this fix. Considering the people maintaining it are likely volunteers, I'll give them some slack, but fact is, Ubuntu's QA failed here. From the look of it, this problem is already addressed for the next version of Ubuntu, so hopefully some other problem doesn't bite me in the ass once I upgrade to that version.
Monday, February 19, 2007
Massive link dump
I've been meaning to post these links for the better part of a week. The first set is related to Yegge's The Next Big Language post, which was great. Here are some links I found via that post that looked interesting, in no particular order.
- The SuperCollider Home Page
- Tamarin Project
- Frank Hecker: Adobe, Mozilla, and Tamarin
- haxe
- Neko VM and langnuage
- Nemerle
- The Free Lunch Is Over: A Fundamental Turn Toward Concurrency in Software
- EdTechDev: F3: New statically typed scripting language for java client development
- Intentional Software
Seth beat me to commenting on Yegge's The Pinocchio Problem rant, so go read what he had to say about it. Yegge's rant was over a month ago, I've just been to busy to finish reading the beast in its entirety and getting to a response.
Here are some links to other pages I've kept open in browser tabs all week waiting for an opportunity to dump them here...
- Lambda the Ultimate: Threads in JavaScript? (lots of good links there)
- Grails ("coding by convention" for Groovy)
- Dee (relational extensions to Python)
- Connected Flow: Appcasting (re: Sparkle)
- Cocoa Dev Central: Learn Cocoa II (pretty graphics == comfort)
- Lifehacker: Encrypt your web browsing session (with an SSH SOCKS proxy)
- Tracks (Rails app re: GTD)
- 901am: Google to rule the Earth (re: AI development, Skynet anyone?)
- Red Sweater: C Is The New Assembly and the excellent response by bbum
Some more programming resources that I've found lately, most are probably from digg or reddit:
- thePeoplesToolbox: Programming Tools
- The C Book
- Dictionary of Algorithms and Data Structures
- Ruby Cheatsheet
- Advanced Linux Programming (free PDF of book)
And out of left field, some amazing Zelda music... even if you're not a Zelda fan I'm sure you'd find this music excellent: ZREO. Ah darnit, it looks like their server is down right now, but I'll link anyway.
Firefly, Serenity, pain and suffering
Cheryl borrowed the Firefly DVDs from her friend back in October, but we didn't find the time to watch them until recently. We finished watching the series last week, and then watched Serenity with our friend Justin.
Firefly is one of the best TV series I have ever seen. I cannot understand how it got mothballed... whoever made that decision needs to be permanently removed from a position of responsibility.
We want more Firefly. We were so sad watching the last episode, knowing that it was unfinished and we wouldn't see any more, except for the movie.
I would love more movies too, but what I really want is more Firefly episodes. That series could easily run 50 to 100 episodes, and definitely should.
We'll have to buy the DVDs now to show real support. Hopefully if sales are overwhelmingly good, some network will come to their senses and revive it.
Monday, February 12, 2007
Top Gear attacked in Alabama
YouTube: Top Gear Gets Attacked by Rednecks
This is classic. Even I know better than to try anything that stupid, there. :-)
PS: NASCAR does suck.




