. .

smalltalk

Smalltalk in Bangalore

September 19, 2011 9:31:50.512

There's a meetup in Bangalore next month

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

st4u

ST 4U 134: Creating a Runtime in VW 7.8

September 19, 2011 11:21:31.492

Today's Smalltalk 4 You looks at a build issue you might run into in VisualWorks 7.8 - if you start your build with Store loaded. Ideally, you wouldn't do that, but - out in the real world, things like this happen. 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:

Builds in VW 7.8

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:
[st4u134-iPhone.m4v ( Size: 5016389 )]

posted by James Robertson

 Share Tweet This

js4u

JS 4U 92: The wrap() Function

September 20, 2011 8:20:56.750

Javascript 4 U

Today's Javascript 4 You looks at the wrap() function in JQuery - which makes it easy to do what it sounds like - wrap an existing page element in new content. 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:

wrap()

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:
[js4u92-iPhone.m4v ( Size: 1892948 )]

posted by James Robertson

 Share Tweet This

smalltalk

Macro Expansion and Smalltalk

September 20, 2011 14:11:42.000

Travis has been working on a few ideas to change this sort of code:


<1s> ^self <2s> <3s>'     
	expandMacrosWith: aVariableName     
	with: aBasicAccessingMethod     
	with: sizeof + 1

To something more like this:


<1s>At: anOffset     
	^self <2s> anOffset * <3p> + <4p>'     
		_1: aVariableName     
		_2: aBasicAccessingMethod     
		_3: aByteSize    
		 _4: sizeof + 1

I see what he's trying to do, and you should read his explanation. I do have some nervousness about how it will be used in application code though. This is the sort of thing that's highly useful in tooling, but often quite scay in application code....

Technorati Tags:

posted by James Robertson

 Share Tweet This

st4u

ST 4U 135: Exporting and Importing Code with ENVY

September 21, 2011 10:22:35.726

Today's Smalltalk 4 You looks at how you export code from one ENVY repository and import it into another. The context here is moving from one edition of VA to another, but the process is the same regardless of why you need to move code between repositories. You can download the exported repository being used as well. 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:

Exporting Code.

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:


Today we'll look at how to migrate code out of one ENVY repository and into another one. This can be useful when moving between a personal repository and the "corporate" one, or when upgrading your version of VA. That's the example we'll be working with today - moving the versions of the Seaside Tutorial from VA 8.0.3 to VA 8.5. To start, open up the application editions tool, right click in the listing of applications, and select export:

Export

Once you do that, you'll see a three pane tool. Applications in your repository are on the left. Select one, and all released (not open) editions will display in the second pane. Select the versions you want to export, and move them to the rightmost pane:

Select Editions

Hit Ok, and you'll get a prompt for the ENVY server location. If you are running in a server environment, enter that data. If you are using File IO (as we are in this example), leave it blank, so you'll get a file prompter:

Export Choice

If you left it blank, you'll get a standard file dialog:

File Dialog

Since we are moving the code to VA 8.5, we've selected the image directory for 8.5:

File Destination

You'll get one prompt we aren't showing here if you aren't exporting to an existing repository, and that's whether the destination repository should be a 1GB max or 16 GB max. It turns out that you are creating a full ENVY repository; the only thing limited is how much stuff we are creating in it to start. Next, Fire up VA Smalltalk 8.5 (or the destination system if it differs), and open up the Application Manager. Select Import from the context menu:

File Import

You'll see the same system prompter - either enter the IP of the source system, or, if using File IO (as we are here), leave it blank:

Import

Next you'll see a standard file dialog - select the file you exported from the other VA image:

Select File

You should now see the same three pane selector you saw on export - now you need to move applications and editions to the right in order to import them. While our example imports everything, you can be more picky if that's desired:

Select Editions

Now go back to the Application Manager - you'll see as much history as you imported. The imported applications are now ready to be loaded from ENVY.

Imported

Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.

Technorati Tags: , ,

Enclosures:
[st4u135-iPhone.m4v ( Size: 10003898 )]

posted by James Robertson

 Share Tweet This

fnvdiary

That Podcast 23: Lonesome Warheads

September 21, 2011 11:22:50.081

That Podcast: FNV Diary

Welcome to episode 23 of "That Podcast: An FNV Diary" - a podcast where Michael Lucas-Smith and I document our trials and tribulations in Fallout: New Vegas.

On today's podcast, Michael and James are joined by maki, and guest host Austin Healy, one of our regular listeners. The topic - what else: the last DLC, "Lonesome Road". We cover the entire DLC except for the ending, as - at record time - only Austin had finished the DLC. Next podcast we'll go over the possible outcomes, and likely wrap the entire podcast up. Thanks for listening!

You can subscribe in iTunes (or any podcatcher) using this feed, or this one for the AAC edition. You can get to the podcast directly in iTunes via this link. You can also go to the iTunes store and leave a comment, or join the Facebook Group and discuss the podcast.

If you want to download the podcast directly, I've provided it in three formats:

Got feedback? Send it to James. We'd really appreciate it if you head on over to iTunes and leave a comment - enjoy the podcast, and we'll see you in the wastelands!

Technorati Tags: , ,

Enclosures:
[fnvdiary23.mp3 ( Size: 9806910 )]

posted by James Robertson

 Share Tweet This

fnvdiaryAAC

That Podcast 23: Lonesome Warheads (AAC)

September 21, 2011 11:23:20.731

That Podcast: FNV Diary

Welcome to episode 23 of "That Podcast: An FNV Diary" - a podcast where Michael Lucas-Smith and I document our trials and tribulations in Fallout: New Vegas.

On today's podcast, Michael and James are joined by maki, and guest host Austin Healy, one of our regular listeners. The topic - what else: the last DLC, "Lonesome Road". We cover the entire DLC except for the ending, as - at record time - only Austin had finished the DLC. Next podcast we'll go over the possible outcomes, and likely wrap the entire podcast up. Thanks for listening!

You can subscribe in iTunes (or any podcatcher) using this feed, or this one for the AAC edition. You can get to the podcast directly in iTunes via this link. You can also go to the iTunes store and leave a comment, or join the Facebook Group and discuss the podcast.

If you want to download the podcast directly, I've provided it in three formats:

Got feedback? Send it to James. We'd really appreciate it if you head on over to iTunes and leave a comment - enjoy the podcast, and we'll see you in the wastelands!

Technorati Tags: , ,

Enclosures:
[fnvdiary23.m4a ( Size: 13482033 )]

posted by James Robertson

 Share Tweet This

smalltalk

What is Moose?

September 21, 2011 17:43:55.000

If you've heard about the Moose project, but haven't been able to wrap your head around it - maybe this video presentation from Doru will help. Hat tip Torsten

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

Seafox Gets Updated

September 21, 2011 20:57:34.000

Via Torsten:

There is an updated version of Seafox for Seaside, now with an HTML to canvas translator. It's helps you building real Seaside apps from existing HTML templates. You can read more about it here

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Smalltalk Superpowers

September 22, 2011 8:09:17.691

Spotted in ObjologyTravis found another one:

lk is like a gun, that "with great power comes great responsibility." Some times, some of the tricks tempt me, and if I know no one's looking (read: I'm not going to be putting this in any production code), I find myself looking around for opportunities to flex a little bit of language super power muscle. Just for the grins. Just because I can.

If you want to see a "don't try this at home" example, follow the link :)

posted by James Robertson

 Share Tweet This

js4u

JS 4U 93: The toArray() Function

September 22, 2011 9:43:56.326

Javascript 4 U

Today's Javascript 4 You looks at the toArray() function in JQuery. 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:

complex selection

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:
[js4u93-iPhone.m4v ( Size: 1735404 )]

posted by James Robertson

 Share Tweet This

fnvdiary

That Podcast 24: The End of the Road

September 22, 2011 14:01:14.102

That Podcast: FNV Diary

Welcome to episode 24 of "That Podcast: An FNV Diary" - a podcast where Michael Lucas-Smith and I document our trials and tribulations in Fallout: New Vegas.

Today is pretty much the end of the road for "That Podcast" - we wrap up the latest (and last) DLC, "Lonesome Road", and offer a few retrospective ideas on the game. Along the way we mused a bit about where the franchise might go from here. Thanks for listening!

We'll likely have one more (very brief) audio update to announce the particulars for our planned Skyrim podcast. So keep the iTunes subscriptions live, at least for a little while longer.

You can subscribe in iTunes (or any podcatcher) using this feed, or this one for the AAC edition. You can get to the podcast directly in iTunes via this link. You can also go to the iTunes store and leave a comment, or join the Facebook Group and discuss the podcast.

If you want to download the podcast directly, I've provided it in three formats:

Got feedback? Send it to James. We'd really appreciate it if you head on over to iTunes and leave a comment - enjoy the podcast, and we'll see you in the wastelands!

Technorati Tags: , ,

Enclosures:
[fnvdiary24.mp3 ( Size: 10304244 )]

posted by James Robertson

 Share Tweet This

fnvdiaryAAC

That Podcast 24: The End of the Road

September 22, 2011 14:01:16.662

That Podcast: FNV Diary

Welcome to episode 24 of "That Podcast: An FNV Diary" - a podcast where Michael Lucas-Smith and I document our trials and tribulations in Fallout: New Vegas.

Today is pretty much the end of the road for "That Podcast" - we wrap up the latest (and last) DLC, "Lonesome Road", and offer a few retrospective ideas on the game. Along the way we mused a bit about where the franchise might go from here. Thanks for listening!

We'll likely have one more (very brief) audio update to announce the particulars for our planned Skyrim podcast. So keep the iTunes subscriptions live, at least for a little while longer.

You can subscribe in iTunes (or any podcatcher) using this feed, or this one for the AAC edition. You can get to the podcast directly in iTunes via this link. You can also go to the iTunes store and leave a comment, or join the Facebook Group and discuss the podcast.

If you want to download the podcast directly, I've provided it in three formats:

Got feedback? Send it to James. We'd really appreciate it if you head on over to iTunes and leave a comment - enjoy the podcast, and we'll see you in the wastelands!

Technorati Tags: , ,

Enclosures:
[fnvdiary24.m4a ( Size: 14152676 )]

posted by James Robertson

 Share Tweet This

smalltalk

Dolphin on the Mac?

September 22, 2011 14:22:17.000

Ported via Wineskin, and it looks good. Take a look at the screencast.

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

MethodWrappers Find Their Way to Squeak

September 22, 2011 19:44:27.697

Torsten notes that Method Wrappers have been ported to Squeak:

Eliot ported Method wrappers to Squeak 4.2. If you know VisualWorks you may already know that Method Wrappers can add hidden behavior to a method without recompiling it. It is a very useful package for implementing coverage and tracing tools.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Fast Package Loading for Pharo

September 23, 2011 9:50:11.501

Via Torsten:

Mariano is working on fast package loading for Pharo using Fuel. Impressive: 7 seconds for loading Seaside - he will report soon on his blog.

Sounds like the same idea as Parcels for VisualWorks.

posted by James Robertson

 Share Tweet This

st4u

ST 4U 136: Code Completion in VA 8.5

September 23, 2011 12:46:29.236

Today's Smalltalk 4 You looks at a new feature in VA Smalltalk 8.5 - code completion in the browsers. It works pretty well, and will improve your VA experience a lot 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:

Code Completion.

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:


Today we'll look at one of the nicer new features of VA Smalltalk 8.5 - code completion in the browsers. To demonstrate, we've created a new class with an instance variable - below, we started initializing it to an instance of OrderedCollection:

Code Completion

Notice how it narrowed the possible selections down to the only one possible. If there were more matches, it would have given us a list. To take the selection, simply hit return - or to not take it and continue, just keep typing; the pop up does not have keyboard focus. Next, note what happens before we finish typing #new:

Code Completion

Here we see a list of all possible matches that extend from the three letters that are entered. If we hit period, the pop up will be dismissed. To take one of the selections, use the arrow keys, then hit return. Again, to just finish on your own, simply keep typing. Finally, what about instance variables?

Contextual Code Completion

VA Notes that one of the instance variables is a possible match, and offers it up. gain, select with return, or keep typing.

Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.

Technorati Tags: , ,

Enclosures:
[st4u136-iPhone.m4v ( Size: 3511221 )]

posted by James Robertson

 Share Tweet This

smalltalk

Don't make objects that end with 'er'

September 23, 2011 23:44:55.442

Travis has some interesting thoughts on how we should make objects

posted by James Robertson

 Share Tweet This

esug11

ESUG 2011 Videos

September 24, 2011 11:57:49.597

Some video from ESUG 2011 has come online - the IWST sessions. More is coming - I know how much time it takes to get things encoded into a format that is easy to post, and small enough to encourage access....

Technorati Tags:

posted by James Robertson

 Share Tweet This

podcast

IM 47: Simberon Moves

September 25, 2011 11:03:10.108

Welcome to episode 47 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson, Michael Lucas-Smith, and David Buck.

This week Dave Buck talks about some ideas he has for expanding Simberon, his consulting business. If you want to see those details evolving over time, thne you'll want to subscribe to his blog, where more details will be coming as they are available.

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:
[im47.mp3 ( Size: 15462297 )]

posted by James Robertson

 Share Tweet This

podcastAAC

IM 47: Simberon Moves (AAC)

September 25, 2011 11:03:47.468

Welcome to episode 47 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson, Michael Lucas-Smith, and David Buck.

This week Dave Buck talks about some ideas he has for expanding Simberon, his consulting business. If you want to see those details evolving over time, thne you'll want to subscribe to his blog, where more details will be coming as they are available.

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:
[im47.m4a ( Size: 21313864 )]

posted by James Robertson

 Share Tweet This

smalltalk

Updated Glorp for Pharo

September 26, 2011 8:30:44.589

You'll want to grab Pharo 1.3, and then do this to load the latest:


Gofer it
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfGlorpDBX';
    load.
    
(((Smalltalk at: #ConfigurationOfGlorpDBX) perform: #project) perform: #version: with: #stable) load

Looks like a lot of work went into that in order to update Glorp for Pharo to the latest code being used in VisualWorks - great job!

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

st4u

ST 4U 137: Using Fuel as a Package Loader

September 26, 2011 9:24:56.554

Today's Smalltalk 4 You looks at using fuel as a package exporter/importer. This code is experimental - you should read Mariano's post on it before you decide to "us it in anger". 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:

Fuel

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:
[st4u137-iPhone.m4v ( Size: 7685703 )]

posted by James Robertson

 Share Tweet This

smalltalk

ESUG Videos on YouTube

September 26, 2011 14:32:23.000

The ESUG folks are getting their videos posted to YouTube.

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

More ESUG 2011 Video

September 26, 2011 20:38:56.228

Some of the videos from Monday, August 22 have been posted.

Technorati Tags:

posted by James Robertson

 Share Tweet This