Thursday, February 23, 2006
What, pray tell, is a “freedom language”? Freedom languages are those languages that put the individual programmer at the center of their philosophical world. They work hard to remove any language constructs that reduce programmer freedom, and add the most powerful constructs available. Many are post-modern languages and most tend to be [...]
Monday, February 20, 2006
I just noticed that my 1000th delicious item is Python On Lisp project. Isn’t the destiny coming towards me ?
Filed in Uncategorized
|
Tagged misc
|
Friday, February 17, 2006
There’s no much to write about E’s concurrency model after you read this enlightment (from E in a Walnut):
Multiple threads form the basis of conventional models of concurrent programming. Remarkably, human beings engage in concurrent distributed computing every day even though people are generally single threaded ([...]).
How do we simple creatures pull off the feat [...]
Filed in Uncategorized
|
Tagged e
|
Thursday, February 16, 2006
I wrote a Python version of this C-based article.
/writing-a-widget-using-cairo-and-pygtk-28-part-2
Wednesday, February 15, 2006
Hello, fellows Italian readers. I finished the first working version of guidatv.py. I transformed the tv guide to an atom 1.0 feed. So your favourite news reader can eat it.
You can find the (hopefully) once-a-day updated feed here: http://www.oluyede.org/files/guidatv
If you want the full code, let me know
Monday, February 13, 2006
I wrote a simple script (for the italian guys) to scrape the content of an Italian tvguide website, all in less than 40 lines.
40 lines to me means Python and its tools are wonderful!
The script is very simple:
Builds the URI based on the today date with the datetime module.
Retrieves the page with the [...]
Monday, February 13, 2006
I’m writing a scraper for an ill-formed HTML page (it uses the beautiful BeautifulSoup tool). At the end of the process I need to strip all the HTML away from a string. So I remembered the gorgeous HTML Sanitizer written by Mark Pilgrim for his feedparser.
Two minutes of customization after and I have htmlstripper.py.
It strips [...]
Sunday, February 12, 2006
Try these simple steps:
Open this page
Confirm that posts/all actually returns all posts and the optional tag argument is used as a filter
Open this link http://del.icio.us/api/posts/all. Fill in your delicious account info.
At this point the page has to be full of your posts data [...]
Filed in Uncategorized
|
Tagged misc
|
Saturday, February 11, 2006
Since E sits on top of the JVM is capable of using quite everything the Java world exposes.
Package access
We can import a class from the underlying Java virtual machine with the import statement, and speak to the Java object much as we would speak to an E object
[code lang="javascript"]
create a single vector with a direct [...]
Filed in Uncategorized
|
Tagged e
|