. .

smalltalk

Updating my Build Scripts

April 8, 2010 9:18:35.872

I have gone back to working on BottomFeeder a bit - I haven't pushed a 7.7 based release yet, and I figured I really ought to do that. So - I had to look at my build script, as there were a couple of interesting problems cropping up:

  • When my build started up, it still thought it was filing in the script
  • When my build started up, it was complaining about some missing source files

Neither is a good thing in the context of a runtime application :) So, I started pondering those, and redid the last part of my script, like this:


Parcel searchPathModel value: (List with: (PortableFilename named: '.')).
SourceFileManager default discardSources.

"Now save the image such that this file doesn't get looked for at startup"
[ObjectMemory permSaveAs: 'bottomFeeder' thenQuit: false] fork.
[(Delay forSeconds: 45) wait.
RuntimeSystem isRuntime ifFalse: [ObjectMemory quit]] fork

The first two lines clear the parcel search path (this is in case a VW user installs BottomFeeder - I don't need the app looking up parcels there). The second line simply discards all source pointer lookups, so that the system doesn't fuss about that at startup.

The next bit is trickier, but it's just a simpler version of what RuntimePackager does - Fork a process to save the image, and another to quit the current image. That way, the image that starts up doesn't immediately quit, and also doesn't try to save itself, or attempt to go find the filein. I've still got a lingering timing issue with saving files on quit, but that's unrelated to build stuff - once I get that sorted, I'll push a new release out.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Numeric Collections: Video

April 8, 2010 9:04:25.172

Today's screencast looks at a small package of numerics added to the collection classes.

You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Scaling Seaside in the Cloud

April 8, 2010 7:40:48.702

Ian Prince notes that making a scalable Seaside app on Amazon's cloud just got a whole lot easier:

It just got a lot easier to implement load balanced and fault tolerant Seaside servers on Amazon EC2 as sticky sessions have just been announced as a feature of Elastic Load Balancing.

Using VisualWorks or ObjectStudio, you can get to that scale pretty easily using the Cloudfork code in the public store repository.

Technorati Tags: , , ,

posted by James Robertson

 Share Tweet This

smalltalk

Reading Image Files: Video

April 7, 2010 9:34:41.101

Today's screencast looks at reading image files (jpg, etc) into Smalltalk.

You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

smalltalk

Working with Tabs in VW: Video

April 6, 2010 11:08:13.437

Today's screencast looks at changing tabs in a VisualWorks UI.

You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

smalltalk

Smalltalk Upsides and Downsides

April 6, 2010 8:43:12.765

Steve Wessels makes a good point about the malleability of Smalltalk:

What I would like to say is that I love how Squeak is open under the covers, and so easy to explore and extend.  All the Smalltalk tools do that.  But I m also aware of how these little annoying behaviors about Squeak have more that just a few times caused me to become diverted by yet again another tools enhancement run.  The temptation to personalize it, which is exactly what I think Alan Key and Dan Ingalls had in mind, can be great enough to the point of distraction.  You just have to remember that.

Yeah, it's incredibly easy to get lost in a "bug hunt" at times. It's cool that you can do things like what Steve talks about in his post (modifying the browser), but then again - if it were more nailed down, would you spend less time on bug hunts and more time on your actual project? It's worth considering, I think...

posted by James Robertson

 Share Tweet This

smalltalk

Well Crafted Smalltalk

April 6, 2010 8:34:31.565

Steve Wessels has some nice things to say about VisualWorks.

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

Mutation Testing at ESUG 2009: Video

April 5, 2010 22:44:44.786

Here's Hernan Wilkinson, presenting mutation testing at ESUG 2009. You can download his slides here (PDF). To watch, click on the viewer below:

If you have trouble viewing that directly, you can click here to download the video directly.

If you like this video, why not subscribe to Smalltalk Videos?

Technorati Tags: , , , ,

posted by James Robertson

 Share Tweet This

smalltalk

Testing with SUnitToo: Video

April 5, 2010 9:55:37.703

Today's Smalltalk Daily looks at creating a simple test case using SUnitToo - with the File handling code from last Friday. You can also download the small package I show in the screencast (zip file). To watch, click on the viewer below:

You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: , , ,

posted by James Robertson

 Share Tweet This

smalltalk

Concentrated Goodness: Audio

April 4, 2010 21:41:59.461

This week, Michael and I got VisualWorks customers from older versions of VW up to the latest. It ended up being a wide ranging conversation; this is part 1 of 2 - part 2 will be out next week.

To listen now, you can either download the mp3 edition, or the AAC edition. The AAC edition comes with chapter markers. You can subscribe to either edition of the podcast directly in iTunes; just search for Smalltalk and look in the Podcast results. You can subscribe to the mp3 edition directly using this feed, or the AAC edition using this feed using any podcatching software.

To listen immediately, use the player below:

If you like the music we use, please visit Josh Woodward's site. We use the song Effortless for our intro/outro music. I'm sure he'd appreciate your support!

If you have feedback, send it to smalltalkpodcasts@cincom.com - or visit us on Facebook or Ning - you can vote for the Podcast Alley, and subscribe on iTunes. If you enjoy the podcast, pass the word - we would love to have more people hear about Smalltalk!

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

Previous Next (1107 total)