. .

smalltalk

Altitude for Smalltalk - a web framework

July 18, 2012 8:07:48.764

Spotted in The Hitchhiker's Guide to ...

Colin Putney announced his "Altitude" web framework for Squeak Smalltalk as open source under MIT license. It's a brand-new, from-scratch HTTP server and application framework written on top of Xtreams. One needs an up to-date 4.4. image. Code is here and Colin provided a load script.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

st4u

ST 4U 259: Inspectors in VA Smalltalk

July 18, 2012 10:33:02.123

Today's Smalltalk 4 You looks at the inspector in VA Smalltalk - a powerful tool for examining objects. 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:

Inspector.

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 inspectors in VA Smalltalk. Specifically, the general inspector, and the inspector used for dictionaries. To start with, we'll inspect a couple of simple objects: an array and a dictionary:

code

Now, select the array, and inspect it. You should see what we have below: the indices of the array on the left (if this were a non-array, those would be instance variables), and the values held in those slots to the right:

inspector

Next, inspect the dictionary - it looks much the same, with the keys on the left, and their values on the right:

inspector

To see something a bit different for the dictionary inspector, let's evaluate something with a lot more keys: CwConstants.

Large Dictionary

Notice how groups of keys are on the top left (Alphabetically organized, in this case), and, if we select a group, we can see each individual key on the lower left. The values still appear on the right

Now, for dictionaries like this one, we can see a specific addition for the inspector on dictionaries. Right click on a key - notice the menu that pops up? It's different than the one we saw for arrays:

inspector menu

Try browsing references. For the one shown above, you'll see where that key is used in the system:

Usage

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

posted by James Robertson

 Share Tweet This

smalltalk

Summer Release of Pharo 1.4

July 18, 2012 20:01:39.197

Pharo 1.4 is out:

We integrated 30 fixes (the rounded number is completely casual) and integrated some tools that users feedback showed as necessary, specially the inclusion of OmniBrowser as part of the core for 1.4. As a result of all this changes and fixes, the stability of this version is a lot better and we are really happy with it.

Technorati Tags:

posted by James Robertson

 Share Tweet This

skyrim

Thu'umcast 30: When Mods Attack

July 18, 2012 23:10:15.972

Thu'umcast

Welcome to episode 30 of "Thu'umcast" - a podcast where Michael Lucas-Smith, Scott Dirk, Austin Haley, Makahlua and I document our trials and tribulations in Elder Scrolls V: Skyrim

Today's episode covers the sad tale of "when mods attack". Michael's level 70 character is fatally broken due to a bad interaction between the Skyrim game engine and the mods that he installed. We talk about how that happened, and go fairly deep into the technical details.

If you liked our work on That Podcast, you'll probably like this. We intend to stay with the same idea - a gameplay podcast. If you don't want spoilers, don't listen - we are going to be talking about how we play the game, and what we ran across as we played.

You can subscribe in iTunes (or any podcatcher) using this feed, or this one for the AAC edition. We'll add the iTunes specific links as soon as they are available. In the meantime, join the Facebook Group and follow us on Twitter. If you play on Steam, join the Steam Group. Like the music? Pay Sbeast a visit, we thank him for letting us use it!

Links to all episodes and other information can be found on the Thu'umcast page.

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

Got feedback? Tweet us!. Enjoy the podcast, and we'll see you in Skyrim!

Technorati Tags: , , ,

Enclosures:
[thuum30.mp3 ( Size: 13,762,557 )]

posted by James Robertson

 Share Tweet This

skyrimAAC

Thu'umcast 30: When Mods Attack (AAC)

July 18, 2012 23:10:59.279

Thu'umcast

Welcome to episode 30 of "Thu'umcast" - a podcast where Michael Lucas-Smith, Scott Dirk, Austin Haley, Makahlua and I document our trials and tribulations in Elder Scrolls V: Skyrim

Today's episode covers the sad tale of "when mods attack". Michael's level 70 character is fatally broken due to a bad interaction between the Skyrim game engine and the mods that he installed. We talk about how that happened, and go fairly deep into the technical details.

If you liked our work on That Podcast, you'll probably like this. We intend to stay with the same idea - a gameplay podcast. If you don't want spoilers, don't listen - we are going to be talking about how we play the game, and what we ran across as we played.

You can subscribe in iTunes (or any podcatcher) using this feed, or this one for the AAC edition. We'll add the iTunes specific links as soon as they are available. In the meantime, join the Facebook Group and follow us on Twitter. If you play on Steam, join the Steam Group. Like the music? Pay Sbeast a visit, we thank him for letting us use it!

Links to all episodes and other information can be found on the Thu'umcast page.

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

Got feedback? Tweet us!. Enjoy the podcast, and we'll see you in Skyrim!

Technorati Tags: , , ,

Enclosures:
[thuum30.m4a ( Size: 18841106 )]

posted by James Robertson

 Share Tweet This

js4u

JS 4U 176: Sortable Objects in JQuery UI

July 19, 2012 9:45:42.090

Javascript 4 U

Today's Javascript 4 You looks at setting up JQ UI widgets to be user sortable (rearrangeable). 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:

sortable

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

posted by James Robertson

 Share Tweet This

st4u

ST 4U 260: Inspectors in VA Smalltalk, part 2

July 20, 2012 9:38:11.173

Today's Smalltalk 4 You goes deeper into the VA Smalltalk inspector. 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:

Inspector.

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 continue with inspectors in VA Smalltalk. One thing to bear in mind is that you are inspecting the live object - try inspecting the code below:


1 to: 100 by: 20.

You should see an inspector on the Interval object. The instance variables are on the left, with the values on the right. For self, we see a printable representation of the entire object:

interval

Now, on the left, select by, and change the value to something else - like 11. Pop up the menu in the right pane, and select save:

inspector

See what happened? By changing the value of one of the attributes, we changed the object:

inspector

You can do that for any object in the system, but be careful - if you were to inspect something like CwConstants, which is used across the system, and make changes, you could damage the way things operate. With Smalltalk, you have a lot of power, but you need to be careful about how you wield it.

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

posted by James Robertson

 Share Tweet This

law

Kill Patents Now

July 21, 2012 13:11:20.694

Yes, it's gotten to the point that I now believe patents are - on balance - a bad thing. Check out this stupidity: a patent troll claiming the right to shutdown Mojang based on a client/server license check.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

podcast

IM 87: Log4S at STIC 2012

July 22, 2012 9:46:43.636

Welcome to episode 87 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson and David Buck.

This week we have another recording from the STIC 2012 conference - Donald MacQueen talking about Instantiations' port of log4j to VA Smalltalk (log4s). This session was fairly heavy on live demo, so if you would rather watch the video, head on over to the STIC website.

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

posted by James Robertson

 Share Tweet This

podcastAAC

IM 87: Log4S at STIC 2012 (AAC)

July 22, 2012 9:47:43.159

Welcome to episode 87 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson and David Buck.

This week we have another recording from the STIC 2012 conference - Donald MacQueen talking about Instantiations' port of log4j to VA Smalltalk (log4s). This session was fairly heavy on live demo, so if you would rather watch the video, head on over to the STIC website.

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

posted by James Robertson

 Share Tweet This

st4u

ST 4U 261: Setting up a Shared Monticello Cache

July 23, 2012 7:45:58.699

Today's Smalltalk 4 You looks at setting up a common local cache for all of your Pharo images. 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 cache

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

posted by James Robertson

 Share Tweet This

smalltalk

Smalltalk on the JVM

July 23, 2012 18:12:04.321

Spotted in Planet Squeak

Mark Roos will present RTalk (a Smalltalk on the JVM) at the JVM Language Summit (July 30 to August 1, 2012). Mark Roos has two talks - one about RTalk and one about "invokedynamic" (a new bytecode for dynamic method invocation).

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

js4u

JS 4U 177: JQ UI Accordion Widget

July 24, 2012 7:32:24.096

Javascript 4 U

Today's Javascript 4 You looks at the "accordion" widget in the JQuery UI library. 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:

Accordion Widget

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

posted by James Robertson

 Share Tweet This

st4u

ST 4U 262: Moving Classes Between Applications

July 25, 2012 7:24:45.320

Today's Smalltalk 4 You looks at moving classes and methods between ENVY Applications. 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:

Moving 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:


Sometimes you need to move one or more classes from one Application to another (in ENVY). It's fairly easy to do, but there are a few things to keep in mind. To set up, we've created three applications. In the first one, we defined a class. In the second, we extended that class (with a new method). In the third, we defined another new class:

3 Apps

Before we can move a class between applications, we need to open the editions (both source and destination). In the example here, all three applications have been released; we'll create open editions first:

open editions

Next, we'll try to move the class in MyApplication1:

move

destinations

In the second image above, all the applications to which we could move the class are listed. Notice that MyApplication2 is not listed? It's open, but it extends the class in question. Given that setup, we cannot move the class into MyApplication2. We can move it into MyApplication3, because it's open, and has no extensions that get in the way.

Why isn't anything else listed? That's simple - we didn't create an open edition on anything else - thus, they are all ineligible to be recipients of the move. ENVY only shows us the possible destinations.

Now, select the class in MyApplication3, and try to move that. You'll see the following options:

destinations

Finally, try moving the extension in MyAplication2:

destinations

That can be moved to MyApplication1, where it would simply join the rest of the class. If we do that, the browser will look like this:

moved

As with any changes made in an open edition, VA highlights them for us.

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

posted by James Robertson

 Share Tweet This

smalltalk

New Version of Smalltalk/X Ships

July 25, 2012 12:17:58.432

There's a new version (6.2.1) of Smalltalk/X out - you can download it now. It's a pretty open system:

Smalltalk/X may be used even for the development of commercial Software and Applications without any licence fee (a few minor restrictions apply [*]). We appreciate your interest in Smalltalk and only ask in reply for you to share your joy and experience with others and help us marketing the great Smalltalk ideas ;-). In addition, it would be nice if you share example programs, demos, improvements, add-ons and national language translations with others by publishing those or send them to us for integration into the next release

You'll have to visit the website for those restrictions; the link is a Javascript popup.

posted by James Robertson

 Share Tweet This

music

Lord of the Rings Medley

July 25, 2012 22:12:00.136

Between the scenery, Lindsey Stirling playing the violin, and the awesome backup music... this is just great stuff:

Technorati Tags:

posted by James Robertson

 Share Tweet This