Posts tagged: PROGRAMMING

The Language I Will Kind of Learn in 2008: Smalltalk

In 2007, I took a whack at learning Haskell as my Language of the Year. It was an educational experience on more levels than I had expected. I didn’t get as far with the language as I might have hoped, but I did have the essential mind-opening experience of dealing with a purely functional, “lazy” language. My approach and style in my primary day-to-day language (Python) changed in a positive way. I really like Haskell and hope to continue playing, and possibly working, with it in the future.

A Mercurial mirror of Django's Subversion repository

Update: As of 2012, the primary Django repo is on GitHub. The mirror described in this post has been retired.

Just wanted to post a quick note that I’m now publishing an experimental Mercurial mirror of the Django source code repository, including all tags and branches and even the djangoproject.com website source itself. Tom Tobin at The Onion has been maintaining a similar mirror of Django trunk for a while (and very helpfully answered some of my questions in IRC), but I wanted to do the whole tree.

Understanding tuples vs. lists in Python

Python has two seemingly similar sequence types, tuples and lists.

The difference between the two that people notice right away, besides literal syntax (parentheses vs. square brackets), is that tuples are immutable and lists are mutable. Unfortunately, because this distinction is strictly enforced by the Python runtime, some other more interesting differences in application tend to get overshadowed.

One common summary of these more interesting, if subtle, differences is that tuples are heterogeneous and lists are homogeneous. In other words:

Python was apparently 2007's Language of the Year

I just learned that TIOBE (who maintain a popular but controversial listing of programming language popularity statistics) declared Python the “language of 2007”. Most notably, it is now (according to TIOBE) more popular than Perl:

Last month Python surpassed Perl for the first time in history, which is an indication that Python has become the “de facto” glue language at system level. It is especially beloved by system administrators and build managers. Chances are high that Python’s star will rise further in 2008, thanks to the upcoming release of Python 3.

Developer meeting braindump 2007-09-20

Another successful session of non-stop technical chatter in the back of our favorite chain restaurant. Links and commentary:

  • The Talk Like a Pirate Day site was a victim of its own success this year. After several hours of record-breaking traffic, Chris nobly disabled the site to protect paying customers on the server. I’m looking forward to the white paper, “How to serve one million unique visitors one day per year”. We also heard the origin story of Talk Like a Pirate Day and the site. I hadn’t realized what a pioneer and international pirate celebrity Chris was.

  • jQuery UI is out. Who doesn’t love jQuery?

  • Windows/Eclipse font weirdness.

  • Chris Amato had a letter in Wired. Maybe he’ll notice I linked to him and come to a meeting like I’ve been bugging him to.

  • Next to Chris’s letter was one from Dennis Bathory-Kitsz – music composer, Vermonter, 8-bit computing luminary and original TRS-80 Model I warranty voider.

  • The RESTful Web Services book: we like it.

  • Evolving schemas, pre-populating databases, Core Data.

  • Digitizing handwritten documentation of geological data (core samples)

  • …which led to a discussion of all the cool stuff that the software Lou works on does.

  • MySQL on Amazon S3: Anybody using it?

  • Obligatory distributed-version-control reference: hgsvn

  • Notebook sleeves: Marware, CaseLogic, InCase, and at least one I forgot.

  • Personally I only hang out in civilized, literate online communities, but that only makes this YouTube video funnier. Caution: swearing!