. .

st4u

ST 4U 354: Collections and Streams

March 8, 2013 9:00:18.451

Today's Smalltalk 4 You looks at collection limitations, and how they can be bypassed using streams. 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:

Collections and Streams.

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 streams and collections. We've pointed out before that streaming works across any collection (not just strings) - but streaming also "bypasses" some of the limitations built into some of the collection classes. Take an Array, for instance. Being fixed size, this will fail:


array := #(1 2 3 4).
array add: 5.

Normally, that's not an issue - you probably picked an Array because you had a fixed set of objects, and didn't need to grow it. But what if you did? Well, you can use a stream:


array := #(1 2 3 4).
stream := ReadWriteStream on: array.
stream upToEnd.
stream nextPut: 5.
^stream contents.

If you inspect the results, you'll see that you still have an Array, now with 5 objects rather than 4. It's actually a copy of the initial array, not the same one grown. You could, of course, accomplish the same thing via the transformations APIs:


array := #(1 2 3 4).
oc := array asOrderedCollection.
oc add: 5.
^oc

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.

Tags: , ,

Enclosures:
[st4u354-iPhone.m4v ( Size: 1060479 )]

posted by James Robertson

 Share Tweet This

smalltalk

Summer of Smalltalk

March 9, 2013 10:15:14.053

It's time to think about the Google summer of code again:

Time for your cool project ideas on this year Smalltalk GSoC! For now just express any idea you have here on the mailing list. Later we will together develop it to be in complete format together with two mentors needed. Deadline is end of Mart, so we have three weeks of time. To see how fully developed ideas look like please look at the 2012 ones

For more informtion, visit the esug page for GSOC 2013.

Tags: ,

posted by James Robertson

 Share Tweet This

podcast

IM 118: Text2 for VisualWorks

March 10, 2013 14:41:14.915

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

This week Dave and I talked with Michael Lucas-Smith (Cincom Smalltalk Engineer) about Text2 - a new text editor for VisualWorks. This is part 1 of 2.

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!

Tags: , ,

Enclosures:
[im118.mp3 ( Size: 11874387 )]

posted by James Robertson

 Share Tweet This

podcastAAC

IM 118: Text2 for VisualWorks (AAC)

March 10, 2013 14:42:16.223

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

This week Dave and I talked with Michael Lucas-Smith (Cincom Smalltalk Engineer) about Text2 - a new text editor for VisualWorks. This is part 1 of 2.

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!

Tags: , ,

Enclosures:
[im118.m4a ( Size: 16308269 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 355: Filing in Code in ObjectStudio

March 11, 2013 0:09:26.750

Today's Smalltalk 4 You looks at filing code into ObjectStudio 8 - the rules differ a bit between slightly older versions and the latest. This can impact your project if you use command line scripting (for example, doing automated builds). 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:

ObjectStudio fileins

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:

s

Tags: ,

Enclosures:
[st4u355-iPhone.m4v ( Size: 1021754 )]

posted by James Robertson

 Share Tweet This

js4u

JS 4U 252: Streetview

March 12, 2013 7:27:15.361

Javascript 4 U

Today's Javascript 4 You looks at streetview in Google maps. 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:

streetview

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:

Tags: ,

Enclosures:
[js4u252-iPhone.m4v ( Size: 620791 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 356: Command Line Arguments in Cincom Smalltalk

March 13, 2013 7:31:32.658

Today's Smalltalk 4 You looks at command line arguments in Cincom Smalltalk (VisualWorks and ObjectStudio). Not th eones supported out of the box - ones you set up for your own 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:

Command Line Args

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:

Tags: ,

Enclosures:
[st4u356-iPhone.m4v ( Size: 1276337 )]

posted by James Robertson

 Share Tweet This

smalltalk

Amber Gets Closer to 1.0

March 13, 2013 20:27:16.027

Amber is approaching the 1.0 milestone:

The Amber language is deeply inspired by Smalltalk. It is designed to make client-side development faster and easier. Amber includes a live development environment with a class browser, workspace, unit test runner, transcript, object inspector and debugger.

Tags: ,

posted by James Robertson

 Share Tweet This

js4u

JS 4U 253: Enabling Streetview on a Map

March 14, 2013 7:29:50.501

Javascript 4 U

Today's Javascript 4 You looks at streetview again. 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:

streetview

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:

Tags: ,

Enclosures:
[js4u253-iPhone.m4v ( Size: 492143 )]

posted by James Robertson

 Share Tweet This

stic13

STIC 2013 Registration is Live

March 14, 2013 19:25:09.072

stic 2013

You can register now - early bird registration at the lower rate is available. Register now to save a few bucks. We'll have the list of speakers and talks available fairly soon - stay tuned to the STIC site for that.

Tags:

posted by James Robertson

 Share Tweet This

st4u

ST 4U 357: Getting Moose

March 15, 2013 5:21:01.730

Today's Smalltalk 4 You looks at getting Moose into a Pharo image. 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:

Moose

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:

Tags: , ,

Enclosures:
[st4u357-iPhone.m4v ( Size: 569974 )]

posted by James Robertson

 Share Tweet This