. .

travel

PlaneFi

January 16, 2011 22:38:03.966

Well, it's better than no connectivity, but not by much: this is what I get at 30,000 feet:

Technorati Tags:

 Share Tweet This

podcastAAC

Independent Misinterpretations 13: The Future of Instantiations (AAC)

January 16, 2011 12:58:34.276

Welcome to episode 13 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson, Michael Lucas-Smith, and David Buck. This week David Buck and I interview Mike Taylor, President and CEO of Instantiations about the future directions for Instantiations. It was mostly a high level talk - if you want more of a tech focused look at Instantiations, go back to our two part interview with John O'Keefe - part 1 here, part 2 here.

You can subscribe to the podcast in iTunes (or any other podcatching software) using this feed directly or in iTunes with this one.

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. You can also download the podcast in ogg format.

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

If you have feedback, send it to jarober@gmail.com - or visit us on Facebook - you can subscribe in iTunes using this iTunes enabled feed.. If you enjoy the podcast, pass the word - we would love to have more people hear about Smalltalk!

Enclosures:
[im13.m4a ( Size: 22,207,611 )]

 Share Tweet This

podcast

Independent Misinterpretations 13: The Future of Instantiations

January 16, 2011 12:58:19.626

Welcome to episode 13 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson, Michael Lucas-Smith, and David Buck. This week David Buck and I interview Mike Taylor, President and CEO of Instantiations about the future directions for Instantiations. It was mostly a high level talk - if you want more of a tech focused look at Instantiations, go back to our two part interview with John O'Keefe - part 1 here, part 2 here.

You can subscribe to the podcast in iTunes (or any other podcatching software) using this feed directly or in iTunes with this one.

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. You can also download the podcast in ogg format.

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

If you have feedback, send it to jarober@gmail.com - or visit us on Facebook - you can subscribe in iTunes using this iTunes enabled feed.. If you enjoy the podcast, pass the word - we would love to have more people hear about Smalltalk!

Enclosures:
[im13.mp3 ( Size: 15954323 )]

 Share Tweet This

news

Specialized Ambulances

January 15, 2011 18:28:37.238

This is kind of amazing - Boston has retrofitted an ambulance for the extremely obese:

The ambulance is equipped with a special stretcher that can hold 850 pounds and a hydraulic lift with a 1,000 pound capacity

The part that made me do a double take though - a spokesman was quoted on the need:

The ambulance is likely to be needed two to four times a week, he said.
 Share Tweet This

smalltalk

Cuis 3.0 is Out

January 15, 2011 8:28:25.328

Spotted in Planet Squeak

Juan Vuletich has just announced the release of version 3.0 of Cuis.

Technorati Tags: ,

 Share Tweet This

Macintosh

Upgrade

January 14, 2011 23:25:05.045

My MacBook Pro is happier:

Now to see if my Windows VM is happier with 4 GB of memory....

 Share Tweet This

smalltalk

More Predictable than RTP

January 14, 2011 9:47:24.364

I've been building BottomFeeder without RTP for awhile now, but until I started looking at build automation for this new job, I hadn't fully automated it. That's something I've done now, and one thing that I really like about the process I use is the predictability.

With RTP, if you let it scan and strip, you're never really sure what it took out. Oh, sure, there's a report it generates, and you can go through that - but it's not easy to digest. Instead, I have a script that pulls out a set of named packages - this is one of the advantages to the newer releases of VW, btw - having defined blobs of code that have structure not only makes loading easier, it makes unloading easier. Here's what I have my script do:

"Unload the debugger and other tools"
(Store.Registry pundleNamed: 'Tools-Debugger')  ifNotNil: [:pundle |
	pundle leafItems do: [:each | each markNotModified].
	[pundle markNotModified; unloadFromImage] on: Warning do: [:ex | ex
	resume: true]].
(Store.Registry pundleNamed: 'Tools-Refactoring Browser')  ifNotNil: [:pundle |
	pundle leafItems do: [:each | each markNotModified].
	[pundle markNotModified; unloadFromImage] on: Warning do: [:ex | ex
	resume: true]].
(Store.Registry pundleNamed: 'Tools-Parcel Manager')  ifNotNil: [:pundle |
	pundle leafItems do: [:each | each markNotModified].
	[pundle markNotModified; unloadFromImage] on: Warning do: [:ex | ex
	resume: true]].
(Store.Registry pundleNamed: 'Tools-Changes')  ifNotNil: [:pundle |
	pundle leafItems do: [:each | each markNotModified].
	[pundle markNotModified; unloadFromImage] on: Warning do: [:ex | ex
	resume: true]].
(Store.Registry pundleNamed: 'Tools-File Browser')  ifNotNil: [:pundle |
	pundle leafItems do: [:each | each markNotModified].
	[pundle markNotModified; unloadFromImage] on: Warning do: [:ex | ex
	resume: true]].
(Store.Registry pundleNamed: 'UIPainter')  ifNotNil: [:pundle |
	pundle leafItems do: [:each | each markNotModified].
	[pundle markNotModified; unloadFromImage] on: Warning do: [:ex | ex
	resume: true]].
(Store.Registry pundleNamed: 'StoreForPostgreSQL')  ifNotNil: [:pundle |
	pundle leafItems do: [:each | each markNotModified].
	[pundle markNotModified; unloadFromImage] on: Warning do: [:ex | ex
	resume: true]].

The handler block allows the script to proceed if anything odd happens; I should probably be logging those events. The larger point is this: I know exactly what got pulled, and, more importantly - what didn't. Unless you're really careful (and you have to be careful every time code has changed), RTP will strip code from your application. That's usually safe, but if you use constructed message sends for any reason (good or bad), you can get smacked. I think this approach is vastly safer.

I've posted before on how I put the image into a runtime state, but it's worth going over again:

  • Have a subclass of UserApplication. Specify your prereq subsystems, and implement #main. In that method, start your application. It'll get called when it's safe to do so at startup, based on the prereqs you specified
  • Execute the following code after you do whatever other image prep is necessary:

"set up logging and exception handling"
DeploymentOptionsSystem current startInRuntime: true.
Notifier current: RuntimePackager.RuntimeEmergencyNotifier.
RuntimePackager.RuntimeManager errorLogPath: 'error.log'.
Notifier logToFile: true.
"set up runtime state"
UI.WindowManager noWindowBlock: [:windowManager | ].
stream := WriteStream on: String new.
stream nextPutAll: 'changeRequest'; cr; cr; tab.
stream nextPutAll: '^true'.
VisualLauncher compile: stream contents.
VisualLauncher allInstances do: [:each | each closeAndUnschedule.  each release].
ObjectMemory garbageCollect.
Workbook allInstances do: [:each | each closeRequest].
(Delay forSeconds: 20) wait.
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: runtime' thenQuit: false] fork.
[(Delay forSeconds: 25) wait.
RuntimeSystem isRuntime ifFalse: [ObjectMemory quit]] fork.

I actually use some of the RTP infrastructure (the runtime exception handler and logging) - I just don't use it to create the image. It's a pretty simple process, and once you have the script created, it's easy to have a "one button click" UI drive it - from another image

 Share Tweet This

st4u

ST 4U 34: Monticello Overview

January 14, 2011 6:32:16.567

Today's Smalltalk 4 You takes a brief overview tour of Monticello in the Pharo environment. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:

Monticello Overview

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Technorati Tags: , , ,

Enclosures:
[st4u34-iPhone.m4v ( Size: 22870264 )]

 Share Tweet This

smalltalk

Getting the Comments for a Store Publish

January 13, 2011 14:33:17.471

You would think that getting the version comment for a package or bundle you've published to Store would be simple - there's a method called #versionComment right there in Pundle - but you would be mistaken. No, that's not the comment you type into the text field when you publish.

Why do I care? Well, as part of my build automation work, I'm generating a small report, and part of that report involves pulling out the comment for a published package. That takes more work to get at than you might think:

 

pkg := (Store.Package withName: 'PkgNameHere' version: 'versionStringHere') first.
blessing := (Blessing 
				blessingsForRecordID: pkg  primaryKey
				type: pkg  typeStringForBlessing) first.
comment := blessing getCommentString.

 

Just tracing Store code to figure that out was painful; the comparison tool Version Browser doesn't make it obvious. Then there's the whole head scratching nature of "why isn't there a method that does this for me in Pundle?" Anyway, that does the job I wanted, and now I have that bit of my reporting task handled.

 Share Tweet This

education

Advanced Smalltalk Research

January 13, 2011 7:26:09.024

INRIA is holding a seminar on advanced Smalltalk topics, March 7 - 11 in Lille:

The objective of this school is to present on advanced Smalltalk topics such as compiler compiler, virtual machine, interaction with C, advanced UI

You can register here.

Technorati Tags:

 Share Tweet This

js4u

JS 4U 23: The Date Object

January 13, 2011 7:09:19.564

Javascript 4 U

Today's Javascript 4 You. Today we look at the Date class in Javascript. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube.

Join the Facebook Group to discuss the tutorials. You can view the archives here.

To watch now, click on the image below:

More on Strings

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Technorati Tags: ,

Enclosures:
[js4u23-iPhone.m4v ( Size: 3402747 )]

 Share Tweet This

smalltalk

Registration for Smalltalk Solutions

January 12, 2011 23:33:20.673

Smalltalk Solutions

With the STIC site down, the registration information page is inaccessible. Fortunately, you can still register (and get early bird rates):

In the meantime, perhaps STIC should have someone edit the Apache configuration on their server, remove the redirect to the (non functional) WordPress site, and put up a static page with some basic links on it - at least until they get the problem solved.

Update: Sometime while I was asleep, the site came back :)

Technorati Tags: ,

 Share Tweet This

training

Webcast Refactoring Course

January 12, 2011 22:57:46.310

Dave Buck will be offering an online refactoring course in March:

For anyone interested in improving their design skills in Smalltalk, Simberon will be holding an instructor-led Refactoring Object Oriented Design course by Webcast on the week of March 7th, 2011. The course focuses on when and why to refactor and explains many concepts and principles that even more advanced developers may not know.

Head over to Simberon.com for full details and registration information.

Technorati Tags:

 Share Tweet This

smalltalk

Smalltalk Solutions Stuff

January 12, 2011 13:37:33.465

Smalltalk Solutions

I'll be at StS 2011, giving a talk on Smalltalk on the server side, focusing on cloud services. I still need to register - as I write this, the STIC website (where the registration page lives) is down though. I'll get to it when the site pops back online :)

 Share Tweet This

web

Google Being Weird

January 12, 2011 12:28:15.000

As John Gruber says, this makes very little sense: Google is dropping h.264 support from Chrome:

Specifically, we are supporting the WebM (VP8) and Theora video codecs, and will consider adding support for other high-quality open codecs in the future. Though H.264 plays an important role in video, as our goal is to enable open innovation, support for the codec will be removed and our resources directed towards completely open codec technologies.

Umm, yeah - and you still support Flash because...... .

Update: A commenter on Facebook notes that this could easily be a scare over patent issues surrounding H.264.  There are many patent trolls out there....

 Share Tweet This

development

Build Tools and Process

January 12, 2011 10:05:36.379

It's one thing to come up with a few simple tools to automate a build - all things considered, that's not a terribly difficult thing (which begs the question: why hasn't the vendor of VW, Cincom, come up with something better than RTP?). The harder problem is fitting the technical siolution into the process that your project has evolved.

That's where I am today. I have a simple tool that reliably creates a build, using this set of steps:

  • Starting from a base image, load Store, then load the master application bundle
  • Do some baseline "cleanup" - close the various windows that got opened as part of the postLoad process, then save the image as a development snapshot
  • Fire up that saved image, unload a set of development packages, and then put it into a runtime state
  • Execute a perm save of the resulting image
  • Finally, fire up another image, load the image compression tools, and compress the saved runtime, yielding the final build.

All of that happens from a "driver" image - it's straightforward to launch a new image and hand it a command line argument to file in a script. That's the easy part though - now I need to get it integrated into the process, and that's the far more interesting piece of the project :)

 Share Tweet This

smalltalk

Automated Testing for Seaside Apps

January 12, 2011 9:14:05.000

Tony Fleig talks about using a set of open source web tools to automate the testing of a Seaside app:

The WebClient package includes a simple and easy to use HTTP client. Soup is a port of the Beautiful Soup Python HTML/XML parser designed for screen-scraping. The combination of these two made it possible to perform black-box testing of my Seaside web application.

Technorati Tags: ,

 Share Tweet This

smalltalk

XTreams For Squeak and Pharo

January 12, 2011 7:08:40.089

Martin Kobetic has ported the latest XTreams code over to Squeak and Pharo:

Hope it's OK to cross-post this, I figured there might be interested people on both sides. I finished the updates of the Xtreams port to match the VW version, so everything (that is available) should work as advertised in the documentation .

Technorati Tags: , ,

 Share Tweet This

st4u

ST 4 U 33: Pharo Settings

January 12, 2011 6:55:05.087

Today's Smalltalk 4 You looks at the Pharo settings - one of the ways you can make immediate modifications to your development environment. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:

Pharo Settings

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Technorati Tags: ,

Enclosures:
[st4u33-iPhone.m4v ( Size: 4655370 )]

 Share Tweet This

gadgets

Verizon Gets the iPhone

January 11, 2011 15:40:21.670

The rumors were true - Verizon does in fact have the iPhone, as of February 10. However, it's probably not the Verizon iPhone you want - it's CDMA based, without access to the new Verizon LTE network. Additionally, Apple is going to be out with a new iPhone this summer, which means that anyone buying now is getting a pre-obsolete brick - and one that won't work outside North America as well.

Everyone else can rush for the exits and get one - I'll be sitting still on ATT. Why? For all the fuss, I simply have not seen the problems you read about so much. Even when I've traveled to New York, the phone has worked out fine.

Engadget has pretty full coverage - you can read lots more over there.

 Share Tweet This

smalltalk

Looking at VA Smalltalk

January 11, 2011 8:24:53.807

The next podcast on the schedule will involve a look at where Instantiations is taking VA Smalltalk. Dave Buck and I will be talking to Mike Taylor, President and CEO of the company. If you have anything you would like us to ask Mike, email me before 5 PM EST today. The podcast will be out on Sunday, as per our regular schedule.

 Share Tweet This

js4u

JS 4 U 22: More on Javascript Strings

January 11, 2011 7:00:18.043

Javascript 4 U

Today's Javascript 4 You. Today we continue looking at the String class in Javascript, and some of the methods it makes available. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube.

Join the Facebook Group to discuss the tutorials. You can view the archives here.

To watch now, click on the image below:

More on Strings

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Technorati Tags: ,

Enclosures:
[js4u22-iPhone.m4v ( Size: 2421243 )]

 Share Tweet This

development

Simberon Design Blog

January 10, 2011 22:05:03.136

David Buck has set up a new blog to discuss the sorts of issues he raises in his regular "Simberon Design Minute" segment of the IM podcast:

In this blog, I hope to provide food for thought for software developers and suggestions for helping developers improve the quality of their code. I also enjoy teaching about software development and encouraging people to have fun with software development.

Technorati Tags: , ,

 Share Tweet This

smalltalk

Build Oddities

January 10, 2011 14:56:39.232

I'm still working on build tools for the project I'm on, and I ran into an interesting thing today - a package that, when I have a script unload it, the script stops working.

Short explanation: I start by building an image from scratch using Store. From there, I unload a bunch of development tools. That works fine, unless I do the following:


(Store.Registry pundleNamed: 'StoreBase') ifNotNil: [:pundle |
      pundle leafItems do: [:each | each markNotModified].
      [pundle markNotModified; unloadFromImage] on: Warning do: [:ex | ex resume: true]].

Once I unload StoreBase, the build script I'm using (via -fileIn at the command line) simply stops working. No error messages either; the image just sits there, blinking at me. Very odd, but for now I'm dealing with that by just leaving StoreBase alone. I think I'll have to try it with that handler block left off, just so I can track the problem down.

 Share Tweet This

general

Disappeared

January 10, 2011 10:34:48.997

You might be wondering why I've disappeared from various places I normally show up during the day:

  • The Smalltalk IRC Channel
  • Google Chat
  • Etc

Well, it has to do with the constrained internet connection I have here at work. Skype works, but no other IM clients I've tried do. I can't get to IRC at all, and much of the wider web (including all streaming video sites) is just blocked. So... I can only see the full net after hours. Since I try to work long hours while I'm here (I leave early Friday to fly home), that puts me out of pocket for a large part of the day.

Eventually, I'll be able to work remotely at least some of the time, and things will be back to normal that way. In the meantime, I get a pretty decent amount of Smalltalk done, since there's so little distraction. Upsides, downsides :)

 Share Tweet This

games

The Joys of Breaking Updates

January 10, 2011 10:15:02.087

Over the weekend, I let Parallels update itself - and that turned out to be a mistake. Prior to the update, Fallout New Vegas worked just fine in my XP VM; after the update, it crashed as soon as the intro screen started to render. This is what I call a bad thing :)

I figured that I have backups - Time Machine runs regularly, so I'd just do a restre and be done with it. Not so fast, apparently - just overwriting what was in Applications with the old version stopped Parallels from working at all. Things had gone from bad to worse.

So, I dug through my emails (gmail search ftw), and found the original download link. I grabbed that, and let it download overnight (I'm on slow hotel bandwidth here). This morning I fired up the installer, gave it a firm no to all of its requests to update, and voila - my XP VM launched, and the game runs again. I archived the dmg on an external drive, so that after the next update I have an easy place to walk back to.

Why don't I still have the original download, you ask? Well, I do - on a hard drive sitting in my home office, 1200 miles away :)

 Share Tweet This

st4u

ST 4 U 32: TestRunner in Smalltalk

January 10, 2011 8:17:11.869

Today's Smalltalk 4 You looks at the TestRunner tool in Pharo - which lets you examine and/or run all of your tests at once. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:

TestRunner

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Technorati Tags: , , ,

Enclosures:
[st4u32-iPhone.m4v ( Size: 3606392 )]

 Share Tweet This

podcastAAC

IM 12: Foibles, Public and Private (AAC)

January 9, 2011 11:30:35.928

Welcome to episode 12 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson, Michael Lucas-Smith, and David Buck. This week Dave and I talk about the differences - and similarities - between public sector IT projects and private sector IT projects.

You can subscribe to the podcast in iTunes (or any other podcatching software) using this feed directly or in iTunes with this one.

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. You can also download the podcast in ogg format.

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

If you have feedback, send it to jarober@gmail.com - or visit us on Facebook - you can subscribe in iTunes using this iTunes enabled feed.. If you enjoy the podcast, pass the word - we would love to have more people hear about Smalltalk!

Enclosures:
[im12.m4a ( Size: 21321602 )]

 Share Tweet This

podcast

IM 12: Foibles, Public and Private

January 9, 2011 11:30:17.978

Welcome to episode 12 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson, Michael Lucas-Smith, and David Buck. This week Dave and I talk about the differences - and similarities - between public sector IT projects and private sector IT projects.

You can subscribe to the podcast in iTunes (or any other podcatching software) using this feed directly or in iTunes with this one.

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. You can also download the podcast in ogg format.

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

If you have feedback, send it to jarober@gmail.com - or visit us on Facebook - you can subscribe in iTunes using this iTunes enabled feed.. If you enjoy the podcast, pass the word - we would love to have more people hear about Smalltalk!

Technorati Tags: , , , ,

Enclosures:
[im12.mp3 ( Size: 15402297 )]

 Share Tweet This