Skip to content

Monthly Archives: September 2006

PyObjC in OSX Leopard

It seems not only Twisted made his way into Leopard but also PyObjC will be part of Leopard. Yay!

Common Lisp’s quote

Directly from Practical Common Lisp:

DOLIST is similar to Perl’s foreach or Python’s for. Java added a similar kind of loop construct with the “enhanced” for loop in Java 1.5, as part of JSR-201. Notice what a difference macros make. A Lisp programmer who notices a common pattern in their code can write a macro to [...]

BzaarCamp in Milano

Tomorrow I’ll try to attend the first BarCamp here in Milano. Antonio invited me there so see you there!

Backup delicious

Ever wondered how to backup your gazillion of website stored online with delicious?

Nothing can be more simple: delicious exposes a REST API enabling you to download your addresses in a simple XML file.

Here’s a bunch of lines to do that:

[code lang="python"] import urllib2 import time

API_URL = "https://api.del.icio.us/v1/posts/all"

USER = "XXX" PASSWD = "YYY"

manager = urllib2.HTTPPasswordMgrWithDefaultRealm() manager.add_password(None, API_URL, USER, PASSWD)

handler = [...]

Apple has donated an Xserve to Twisted

From Glyph’s words:

This new machine is serving its purpose admirably. The new build configuration, poll on osx, has already revealed some bugs that need fixing, less than 20 minutes after the machine was set up .

Apple’s iCal Server takes advantage of Python and Twisted so that’s nice to hear from them!

Steve Ballmer in Marketing 101

This is _the_ man:

Erlang and the GUIs

Erlang is great about concurrency, fault-tolerance and performance but what about the old simple GUI support?

I made a quick research and I came up with this:

Gtk (my favorite toolkit) is available in two libraries: erlgtk is the first hit in Google but I didn’t manage to compile it in OSX so I dropped it down. The [...]

Erlang is damn intuitive

Erlang is a multi-paradigm language since it has functional, declarative and imperative functionalities. Erlang exploits concurrency in a wonderful way through an asynchronous message-passing model. Erlang’s processes are lightweight (about 300 byte each) and the overall architecture is very fast.

I’m learning Erlang for fun and yesterday I tried to implement the simplest master/slave architecture: a [...]

Toying with Erlang

There’s plenty of messages in the blogosphere about Erlang these days so I’m not gonna make praises for this wonderful tool some more. If you’re interested in concurrency and you had enough with the thread jiggling go check it out and learn message passing with Erlang.

After reading here and there I tried to write a [...]

“Ruby per applicazioni web” is out!

As I said earlier in June I cooperated (writing a chapter and reviewing the whole content) in the draft of the first book ever for Italian developers about Ruby and the Web.

The book is going to be available in the stores before the end of this month so check it out my fellows Italian readers [...]