2003-07-25
Pickling in python
Gotta wonder what Java has over Python (other than easy deployment via jar files)? Here's a tentative list:
- J2ME for small devices
- VM that has been tested for grande problems (cf JavaGrande)
- Lots of distributed computing technology stacks: JMX, Jini, Jiro, JCache, etc
- Better IDE and tools (until Jython finds its way into Eclipse)
- (So far) huge commercial backings
What else?
2003-07-24
Python in python
2003-07-17
p4rss 2.0
Note that p4 review works just fine for what p4rss does if your mailer deals with RSS.
2003-07-14
Scripting Java
2003-07-13
Emulate (just a note to myself)
Digital video camcoder - a must have for computer users
I feel your pain. When my trusty reliable Thinkpad running Windows
2000 failed in a similar way, I tried to capture the error code
by using a digital camera, attempting to snap a shot at the precise
moment of the failure. But it flashed by too fast to catch --
digital camera latency is too great.
So I whipped out my DV camcorder and zoomed in on the corner of
the screen where the failure code flashes. While viewing the
tape on a TV, I was able to freeze frame on the error code,
which Google searches helped me diagnose.
Another essential tool for computer users: a digital video camcorder for recording error code...
2003-07-12
For high throughput, nothing beats sneakernet
2003-07-11
One thing Java does better than others
Update on 2003-08-01 -- newly released Python 2.3 has 'import from zipfile' feature. Neat.
2003-07-01
CDATA saves
When the XML is XSLT'ed to HTML, \n should become <br/>.
Answer: Stuff the data into good old CDATA, and run substitution code from http://www.dpawson.co.uk/xsl/sect2/break.html. Note to self: Admire the concise way XSLT uses parameters and recursion. Be grateful I didn't have to write that code. When in doubt, CDATA saves the day.
Unfortunately three RSS aggregators I tried get CDATA wrong. They all either zap <br/> as an empty XML element or render <br/> as HTML invisible newline. Interestingly both IE and Mozilla render CDATA br correctly as <br/> via their own XSLT processors. XML Is annoying.
