Archives for the Month of September, 2006

Strongtalk Is Open Sourced

Strongtalk is a version of Smalltalk developed with speed in mind. It was developed by a startup but the company was bought by Sun to work on the JVM before Strongtalk was productized.
Strongtalk allows optional static typic. Interestingly, the static typing information is not used by the optimizer to produce fast code. Instead, Strongtalk [...]

Serving Large Files with Zope

Here are some timings using asyn_http_bench before and after a small change was applied to ZServer/HTTPServer.py:
asyn_http_bench myhost 80 /myurl 3 3
/myurl returns a string of varying length (10Mb, 20Mb, etc)

Size
Before
After

10 Mb
26.5 sec
9.8 sec

20 Mb
88.4 sec
20.47 sec

30 Mb
194.6 sec
30.3 sec

40 Mb
connection errors
40.2 sec

$ diff -c HTTPServer.py.ZopeVendor HTTPServer.py.ZopePatch27
*** HTTPServer.py.ZopeVendor Thu Sep [...]

Integrating CakePHP with PEAR:Auth

If you have a web-site which uses PEAR::Auth, and another section of your site using CakePHP, you’d probably find it baffling that your CakePHP doesn’t remember your authentication cookie. In addition, CakePHP wouldn’t redirect properly after logging in.
The main reason is CakePHP overrides the standard PHP session environment, see cake/lib/session.php

ini_set(’session.use_trans_sid’, 0);
ini_set(’session.name’, [...]

ECL Patch accepted

I patched ECL’s interpreter (which is written in lisp itself) to support restarts, and the patch was accepted.
Not bad for a Lisp newbie. (grin)

Creating ImageMaps with PHP Image_Graph

You can create client-side image maps for charts using PHP. Here’s how.