Testing the WebVelocity AWS EC2 image
A few gotchas:
- The ec2 image ami-9a866ef3 is available in the US East region
- You need to set up the EC2 firewall to allow access to port 7777.
- The ubuntu ec2 server is accessed via ssh -i your-key ubuntu@public-dns-address
- The web username:password to the WebVelocity app is admin:password
Before sticky sessions it was not guaranteed that subsequent web requests would go to the same server instance, which obviously is no good if you're running a Seaside application on more than one server. With sticky sessions that is no longer a problem.
Hmmm, anyone using CloudFork SimpleDB in a production environment. Seems like a great was to implement a "no single point of failure" system....
Gemstone/S now available as public beta
The Mac download requires OSX 10.5 (Leopard). I'm still running OSX 10.4 (Tiger) so it looks like I'll give the GLASS Virtual Appliance under VMware Fusion a try.
Finished 'An Introduction to Seaside'
[1] An online version of the book exists here.
[2] Excluding the Appendix. The printed book's length is 200 pages.
I took the economy shipping option (to make an order of $34.78) so the book should arrive within a month (5 days to be printed plus 5 to 20 to be shipped to Europe).
I'll report back here on the actual shipping time and my thoughts on the book itself.
Update: The book, shipped from Spain via UPS, arrived here in Switzerland today, April 30th . 9 days total, not bad.
Easy sessions or easy bookmarking, choose one
In traditional web programming, the default is "sessions are hard, bookmarks are easy". In Seaside, the default is "sessions are easy, bookmarks are hard". You can't get both at the same time.Non-automatic bookmarking, rather than hard bookmarking, might be closer to the truth, at least from a developer's point of view. And as Lukas Renggli says, with Gemstone "infinite memory" you can just keep your sessions for ever and never have expired URLs.
Update: there's an interesting discussion on handling expired seaside sessions here on Ken Treis's blog.
Excellent Seaside tutorial from Hasso-Plattner-Institut
Stallmann's talk Éthique et pratique du logiciel libre – given in excellent French – revolved around the four freedoms of "Free Software":
- The freedom to run the program, for any purpose;
- The freedom to study how the program works, and adapt it to your needs;
- The freedom to redistribute copies so you can help your neighbor;
- The freedom to improve the program, and release your improvements to the public, so that the whole community benefits.
Seaside is distributed under the very generous BSD-style MIT License. Thanks Avi! See here for a long discussion on GPL vs BSD.
Stallman briefly talked about e-voting which he doesn't consider secure enough today, nor in the foreseeable future (40 years). The video below (mp4, 2197k) is Stallman receiving applause for saying "il faut voter en papier", i.e. voting should be paper-based.
And Yves, if you're reading this, thanks for inviting me to lunch!
a beginTransaction is performed when the request comes in from the http server and a commitTransaction is performed right before the response is shipped back out to the http server.This seems to mirror the way ZODB transactions are handled in Zope.
Data transparency makes a big difference to rapid web prototyping, and I'm glad it has made its way into Seaside.