. .

st4u

ST 4U 232: StartupLoader in Pharo

May 14, 2012 11:03:59.847

Today's Smalltalk 4 You looks at the StartupLoader in Pharo - this is all based on this post from Mariano Martinez Peck. 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:

Startup

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

 Share Tweet This

js4u

JS 4U 157: The first() Function in JQuery

May 15, 2012 9:44:28.249

Javascript 4 U

Today's Javascript 4 You looks at the first() 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:

first()

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

 Share Tweet This

smalltalk

Smalltalk and Fluentd

May 15, 2012 9:47:45.000

There's another logging framework available for Smalltalk, but this one isn't standalone - it's an interface to Fluentd:

Nagare is designed to be simple and scalable. Contrary to other logging frameworks which provide rich set of log output methods (file, socket, DB, etc.), Nagare just connects to fluentd (http://fluentd.org). And Fluentd does the various log processing jobs.

Technorati Tags:

 Share Tweet This

smalltalk

Memoization for Smalltalk

May 15, 2012 13:47:30.000

Travis talks sorting n VisualWorks:

The core default sort algorithm in VisualWorks is hybridization of quicksort and a insertion sort. The implications for this, is that this somewhat expensive toolListDisplayString method may be called repeatedly for some objects. That means redundant CPU cycles. A common solution to this kind of problem is memoization. Memoization basically is a fancy word which means "cache the results of your computation function, so you only evaluate the function once for each unique input and just look up the cached result for subsequent calls."

Technorati Tags:

 Share Tweet This

smalltalk

Give Smalltalk a Try

May 15, 2012 17:01:32.000

One thing about Smalltalk - it will definitely make you think.

 Share Tweet This

smalltalk

Spoon weekend 19 May 2012

May 15, 2012 20:02:27.000

Craig Latta would like to hear from you about Spoon.

Technorati Tags:

 Share Tweet This

smalltalk

ESUG 2012 Registration Opens

May 16, 2012 9:01:06.548

I saw this on the ESUG mailing list:

I am pleased to announce that registration for the 20th ESUG Conference in Ghent, Belgium is now open!
To register, please proceed to the website or go directly to the accomodations page.
Important: do not forget to book your accomodation directly at one of the hotels in Ghent before June30th!

Technorati Tags:

 Share Tweet This

st4u

ST 4U 233: Startup Options for VisualWorks

May 16, 2012 10:25:22.175

Today's Smalltalk 4 You looks at some of the startup options for VisualWorks (most of which also apply to ObjectStudio now). 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:

startup

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

 Share Tweet This

js4u

JS 4U 158: Selecting the first element using JQuery

May 17, 2012 9:37:35.493

Javascript 4 U

Today's Javascript 4 You looks at the how to select the first of a set of matching elements 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:

Selecting First

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

 Share Tweet This

st4u

ST 4U 234: ENVY Config Maps

May 18, 2012 7:02:22.578

Today's Smalltalk 4 You looks at the ENVY config map browser - what each part shows, and how you would use the various aspects. 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:

Config Maps.

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 take a brief tour of the Configuration Map browser in VA Smalltalk. For any VA project, it's a tool you'll get very familiar with; it's where you set up all of the loading information for your project. Take a look at the screen capture below:

Config Maps

The list on the left is all of the defined maps in the library. Since your image must be connected to a library to work, this list will grow over time. There are two panes to the right, labeled "Editions and Versions", and "Applications". Any map has a number of versions (anything not versioned will be an open edition - we'll discuss those soon). The list of Applications tells us which Applications make up the config map, and what the load order for them is.

The lower left pane, "Config Expressions" requires some explanation. Generally, you leave this blank, or put in the simple statement "true". However, any Smalltalk expression that answers a boolean could go here. Say you wanted to define a Config Map that should only load on Unix/Linux systems; you might want something like this:


(System respondsTo: #subsystemType:) 
    and: [(System subsystemType: 'CFS') = 'POSIX']

The next pane to the right contains a listing (in order) of any pre-requisite maps - those that need to load before your map can be loaded. One of the nicer things about Envy is that you can edit all of this information without actually loading the map; if you make a mistake that prevents the map from loading, you can some back here and address it.

The last pane on the bottom is for comments - it's often used for license information, or copyright notices. It's free form, and can contain any information you feel is relevant.

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

 Share Tweet This

advertising

Scratch Player for Jailbroken iPhone

May 19, 2012 21:50:50.479

Via Randal Schwartz:

Looks like you can finally play "Scratch" projects on your jailbroken iPhone! Don't know anything about this... just passing it along.

Technorati Tags:

 Share Tweet This

smalltalk

Pharo: Tips and Tricks

May 20, 2012 10:59:48.918

Mariano has some Pharo tips:

Hi guys. It is going to be 4 years since I have started to develop with Squeak/Pharo. In the last months, talking with people or by reading the mailing list, I noticed that I may know some tricks and tips of Pharo that not everybody know. If you are an advanced Pharaoer, you probably won't learn anything new but, if you are a beginner or so, this post may help you.

Technorati Tags:

 Share Tweet This

podcast

IM 78: Parallelism and Objects

May 20, 2012 11:14:15.653

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

This week we have part one of Sam Adam's keynote from STIC 2012 - if you prefer to watch the video, you should visit the STIC website. Part two will be posted next week. Sam's talk was on massive parallelism and objects - it was very well received at the conference.

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

 Share Tweet This

podcastAAC

IM 78: Parallelism and Objects (AAC)

May 20, 2012 11:15:16.236

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

This week we have part one of Sam Adam's keynote from STIC 2012 - if you prefer to watch the video, you should visit the STIC website. Part two will be posted next week. Sam's talk was on massive parallelism and objects - it was very well received at the conference.

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

 Share Tweet This

st4u

ST 4U 235: Config Maps and the Development Process

May 21, 2012 0:56:40.137

Today's Smalltalk 4 You looks at the standard development process using VA Smalltalk and ENVY. 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:

Development in VA.

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 take a look at the normal development process in VA Smalltalk using ENVY. The general pattern works as follows:

  • Create a Configuration Map
  • Create your Application(s) and add them to your configuration map
  • Create your classes and extensions with your application(s), versioning and releasing the classes as you develop them
  • Leave the Application(s) and Config Map "open", only versioning them as you reach development checkpoints
  • As you begin work each day, load the latest open edition of the config map

To start, create the config map:

Config Maps

Now create the Applications you need, and write code inside of them:

Code

Version and release the classes in your Applications, leaving the Applications "open":

Code Release

Make sure you add all of your Applications to the config map, in the correct order for loading. Also specify the necessary pre-reqs. If you mess this up (i.e., the map won't load), don't worry - you can edit the config map details without having it loaded:

Config Maps

Now, as you begin each working day, load the latest open edition of the config map, with all developers working within the open edition:

Load Config Map

You only need to version and release the Applications and Config Map as you reach checkpoints. When and how you reach them will depend on your process, of course - but the process we've sketched here is the one you'll want to follow.

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

 Share Tweet This