neděle 8. března 2009

Smalltalk's Pier Persistent Store

I want to trot out by my school project. In smalltalk (first even looked at the code) with other fellows from CEE in Prague, we will implement small work with Seaside, Pier and Magritte frameworks - simple file based persistency for Pier. You can use this project from souce code repository located at http://www.squeaksource.com/PierPersistentStore.html. It's based on Magritte meta-description framework and it's not so collest lib, but we learned much about Smalltalk and it's programming, so maybe there is some possibillity to extend it in the spirit of open source. We don't put any licence, so it's public domain. Posible commitee may contact us...

Dependencies

  • Seaside
  • Pier
  • Magritte

Build instructions

Example code ready to run

"This will change persistency of the kernel to PRXmlPersistency and store everything from the kernel on your disk. If needed, change the first line to reflect your setup."

kernel := PRKernel allInstances first.
PRPierPersistentStoreConnector storeEverythingFrom: kernel.

Another killer app - Subdownloader

Today, I downloaded new episode of Battle Star Galactica - it is no important :) but I had to say - and on the whole internet, there were no Czech subtitles nor English ones. So I spoke to myself, try Subdownloader app. This is simple GUI client for downloading/uploading subtitles to opensubtitles.org. That's not so amazing after all. But what you can do is to download subtitle by movie file, you simple choose to which file you want to find subtitles and if you have a luck, you will find some. On proper forum, there wasn't any and I tryied to find any subtitles by file... and found even Czech ones. I gone to the forum, click refresh on the browser and voiala, there it was - same subtitles. Why I am writting this piece of crap? It is very GOOD to see, that a comunity is using opensubtitles.org even before that they are uploading subz to proper web forum. Another thing... this killerapp appliction, by which is downloading subtitles simplest thing ever :)