Skip to content

Weblog About Jim Jim's Resume Discussion Mailing List Search
  You are not logged in Link icon Log in Link icon Join
You are here: have browser, will travel

Twitter Updates
Pro Services

Jim Roepcke specializes in WebObjects (Java), Plone (Zope, Python), and Cocoa (Objective-C).

  • consultation
  • development
  • documentation
  • mentoring

Contact Jim for more information.

Python Tutorial

I presented the Introduction to Python for Plone developers tutorial at the first Plone conference in October 2003. Slides and Video are available to all on the plone.org site.

Badges

Proud Member of the ACM

Proud Member of the Association for Computing Machinery

RSS reader for Mac OS X

NetNewsWire: More news, less junk. Faster

Fantasy Trading of HBWT at:

Listed on BlogShares

Design by:

Powered by Plone
Blog Directory - Blogged
Log in
Name

Password

 
I forgot my password; please send me a new one.
 


Thursday, March 1, 2007

defmacro on Lisp, Haskell, and RoR?

defmacro: The Nature of Lisp

I don't know Lisp yet, but it's (still) on my to-do list (stack). After reading this essay I feel an even stronger need to grok Lisp. This essay is a gentle introduction. Oh, and if you're into XML, or you're in the camp that prefers JSON or YAML, I think you'll get something from it as well.

There's another (much shorter) article from the same site:

defmacro: Lisp - The Ducati Of Programming Languages

This one (briefly) mentions Haskell, a language I started to learn earlier this year, and so far really enjoy.

I suppose I might as well continue: there's another article on defmacro about Web Applications in Haskell...

defmacro: Haskell and Web Applications

This one mentions Ruby on Rails, and shows how to do similar things in Haskell.

Thread: 0 replies. reply Last updated: 5:36 PM

Wednesday, February 28, 2007

Switched to Firefox tonight

This evening, I tried to delete a bookmark folder in Safari, only to be told it couldn't save my bookmarks. It wouldn't export my bookmarks either. Why not?

My hard disk was full. Zero bytes free. Crap!

But I should have had at least 4GB free... I started Activity Monitor and realized Safari was using 2.78GB of virtual memory. Yes, I had a lot of tabs open, but that's still ridiculous. I couldn't save my tabs so I had to ssh into my linux server and open a text editor to carefully store all my tabs' URLs. Once that was done I rebooted to make sure things would be cleaned up.

Unfortunately I lost my recent (as yet unsaved) Adium chat transcripts in the process. No biggie, but it is annoying.

I decided to switch to Firefox, and I've noticed it's much faster on my PowerBook. Hopefully it won't eat my hard drive too. :-)

Thread: 1 replies. reply Last updated: 1:25 AM

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.

Thread: 4 replies. reply Last updated: 6:48 PM

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.

Thread: 0 replies. reply Last updated: 2:59 PM


March, 2007
Sun Mon Tue Wed Thu Fri Sat
  1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Feb  Apr
 
Sponsors
Research

Jim Roepcke is Willing to Fail

Books

I'm currently reading:

I'm currently reading Programming Erlang

I co-authored:

I co-authored this book