. .

js4u

JS 4U 91: The :button selector

September 15, 2011 7:23:53.567

Javascript 4 U

Today's Javascript 4 You. Today we look at the :button selector 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:

:button selector

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:

Enclosures:
[js4u91-iPhone.m4v ( Size: 1365986 )]

posted by James Robertson

 Share Tweet This

smalltalk

YesPlan: Pharo, Seaside, Glass

September 15, 2011 13:11:03.000

YesPlan - event planning software written in Seaside (using Pharo and GLASS) - have released a series of videos showing off the software

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

smalltalk

Deep Thoughts on SUnit

September 15, 2011 16:19:27.000

Joachim has some ideas for cleaning up the differences between assert:/should: and deny:/shouldnt: in SUnit. Since the latter messages take blocks (while the former take boolean expressions), he wants to add (or assume it's been added) #value to object and put all of the functionality in the first set of messages.

I recall many a debate over having #value in Object, and I know that it was removed from VisualWorks a few releases ago (although every project I've ever seen has added it back). Joachim's ideas seem reasonable to me; Simpler is usually better.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Interesting VW 7.8 Build Problem

September 15, 2011 19:19:59.740

Today I was in the last bit of an update from VW 7.6 to VW 7.8 (the last bit of the major work; I'm sure there will be small stuff popping up for weeks yet). The thing I ran into was in my build tool - it just wouldn't build a working runtime. I assumed it was a problem with my script, so I tried RTP to see if things went differently for me (even though I really dislike RTP...). Lo and behold, it failed the same way, but I managed to get an error log (no idea why my build didn't spit one out, but there it is). This method caused me fits, in SystemEventInterest:


notifyStoreBrowser
	"StoreRefactoringBrowser has an interest in #earlySystemInstallation.   When that event occurs,
	 it will clear out any open browsers."

	

	Store.Glorp.StoreRefactoringBrowser cleanUpObsoleteInstances

I have no idea why that doesn't have an "isRuntime" check in it - and after speaking to some people at Cincom, I learned that it's probably the eventual answer. In any case, I changed it to look like this:


notifyStoreBrowser
	"StoreRefactoringBrowser has an interest in #earlySystemInstallation.   When that event occurs,
	 it will clear out any open browsers."

	

	DeploymentOptionsSystem isRuntime
		ifFalse: [Store.Glorp.StoreRefactoringBrowser cleanUpObsoleteInstances].

Which prevents the message from being sent to the (deleted in a runtime) class. It's always something :)

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

st4u

ST 4U 133: Amber

September 16, 2011 7:17:49.603

Today's Smalltalk 4 You looks at Amber (formerly JTalk) - a new Smalltalk environment hosted on Javascript. Meaning, it runs in your browser. 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:

Amber

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

posted by James Robertson

 Share Tweet This

smalltalk

Smalltalks 2011 Call for Participation

September 16, 2011 13:08:33.000

The Smalltalks conference - held in Argentina each year - is making a call for participation:

The Fundación Argentina de Smalltalk (FAST, http://www.fast.org.ar) invites you to the 5th Argentine Smalltalk Conference, to be held on November 3, 4 and 5, 2011 at the Quilmes University located in Buenos Aires. Everyone, including teachers, students, researchers, developers and entrepreneurs, are welcome as speakers or attendees. Registration is free and now open

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

podcast

IM 46: The Future of Store

September 18, 2011 14:32:15.900

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

This week we have another session from ESUG 2010 - Cincom's engineering manager, Alan Knight, talking about the future of Store. Much of that future is in place now, as VW 7.8 shipped with Store migrated on top of the GLORP O/R framework.

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

posted by James Robertson

 Share Tweet This

podcastAAC

IM 46: The Future of Store (AAC)

September 18, 2011 14:32:47.561

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

This week we have another session from ESUG 2010 - Cincom's engineering manager, Alan Knight, talking about the future of Store. Much of that future is in place now, as VW 7.8 shipped with Store migrated on top of the GLORP O/R framework.

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

posted by James Robertson

 Share Tweet This

social media

When Good Enough is Good Enough

September 18, 2011 18:21:42.670

Dare Obasanjo makes some great points about how Facebook is "good enough" compared to FourSquare, FriendFeed (etc, etc) - and analogizes what Facebook is doing to the RSS progression:

I’m reminded a little of the world of RSS readers. A few years ago there was a lot of innovation in client RSS readers from commercial offerings like FeedDemon and NewsGator Inbox to home grown projects like RSS Bandit. However, RSS was eventually added to the big gorilla in client communication tools; Outlook. When this happened a lot of the innovation in this space dried up and it didn’t take long for Outlook to become the dominant RSS reader. This is despite the fact that Outlook didn’t go nearly as deep in the RSS reading technology it provided compared to dedicated RSS readers.

That's pretty much how it goes. Lots of people live in Outlook; whatever RSS functionality Outlook provides is, by definition, good enough for those people. Facebook does the same thing to other social media offerings all the time, and so far, it's working.

Technorati Tags:

posted by James Robertson

 Share Tweet This

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