smalltalk
January 5, 2011 22:03:48.354
Sven Van Caekengergh has implemented an S3 client for Pharo Smalltalk:
I implemented and published a Pharo client for Amazon's AWS S3 service called ZnAWSS3Client. For some background, see the Amazon docs. The code can be found in the package 'Zinc-AWS' in Squeak Source. It depends on both Zinc HTTP Components and XML Support (an excellent package BTW) as well as on the cryptography functionality in Pharo (md5, sha1 & hmac). Basically, Amazon S3 (Simple Storage Service) is an online storage web service where you store and retrieve objects under keys organized in groups called buckets. Objects can be any web resource identified by a mime type. The main advantage is that S3 is a highly scalable, reliable, secure, fast, inexpensive service.
Technorati Tags:
s3, amazon, pharo
posted by James Robertson
smalltalk
January 5, 2011 14:37:23.694
I'm still working on build automation - the work I did yesterday got me where I wanted to go for BottomFeeder, but that's because all of the scripts existed already. What I need to get to is this:
- Starting from a development image, specify a set of packages and bundles to include in a build
- Have a tool that takes that information and generates a minimal build script
- From there, be able to execute said build script
And that's what I'm working on today. I've got a simple domain model hammered out - I still need to create a UI to live on top of that as a specification tool. But it's progress :)
posted by James Robertson
smalltalk
January 5, 2011 7:46:33.902
posted by James Robertson
smalltalk
January 4, 2011 17:33:55.603
I wanted to move my build script one level further back - meaning, I wanted to have it work like this:
- Fire off an image
- Load all the latest code from Store
- Drop each package/bundle from the image into a build directory
- Fire off a new, clean image, load the parcels, and proceed from there
That way I could ensure that a build actually had the latest code, instead of the latest code I remembered to parcel out - and my build doesn't need any of the Store machinery in it. So, here's the guts of that new script. First, some code to load a package from Store, then dump it out as a parcel:
savePackageBlock := [:name :dir |
| pkg |
pkg := Store.PackageModel allInstances detect: [:each | each name = name].
pkg
saveAsParcel: (dir asFilename construct: name)
saveStructure: true
saveLinks: true].
(Store.Package newestVersionWithName: 'MyCounter') loadSrc.
savePackageBlock value: 'MyCounter' value: 'buildTest'.
That's easily built up to more packages. Then I just add this new script to what I last posted on, and bam - I go from a clean image and an empty build directory to a full build directory and a clean build. Pretty nice :)
posted by James Robertson
smalltalk
January 3, 2011 6:45:14.040
posted by James Robertson
smalltalk
January 2, 2011 11:05:30.999
posted by James Robertson
smalltalk
December 30, 2010 22:49:39.375
Eliot Miranda has released new Cog VMs - I'm quoting an email to the Squeak list below:
I've released a new version of Cog that has a substantially improved code generator along the lines of Peter Deutsch's HPS (VisualWorks) and various of Ian Piumarta's VMs. These all use a simple tecnique to identify constant references in bytecode and to support a register-based calling convention. While this does produce faster code it tends to accelerate low-level code much more than high-level code
You can download them here - and follow Eliot on his blog here.
Technorati Tags:
squeak, cog
posted by James Robertson
smalltalk
December 30, 2010 18:22:07.883
Sean DeNegris continues to do some cool work in Squeak:
I have a working proof-of-concept to play any video file that QuickTime can handle in Squeak Smalltalk (or Pharo with slight modifications).
Technorati Tags:
video, quicktime, squeak
posted by James Robertson
smalltalk
December 30, 2010 9:35:14.526
There's an interface to Tropo from Pharo and Squeak:
With tropo.com you can have users interact with your smalltalk application using their telephones or SMS messages.
Technorati Tags:
pharo, squeak, tropo, phone, sms
posted by James Robertson
smalltalk
December 29, 2010 15:11:26.233
posted by James Robertson