. .

smalltalk

File Reading in Smalltalk: Video

April 2, 2010 11:30:35.115

Today's screencast is a basic introduction to file handling in Smalltalk, looking at class Filename, and at basic Stream protocol.

Here's the code I used in the short examples in the screencast - The #nextLine message is part of the NetClients package - when I did the recording, I didn't notice that. To get that code, load the NetClients parcel:


"Filename is your entry point into file handling"
(Filename named: '.') directoryContents.

"Read line by line"
list := List new.
stream := 'lines.txt' asFilename readStream.
[stream atEnd]
	whileFalse: [list add: stream nextLine].
stream close.


"more manually, to show stream protocol"
list := List new.
stream := 'lines.txt' asFilename readStream.
[[stream atEnd]
	whileFalse: [| next|
				next := stream upTo: Character cr.
				list add: next]]
ensure: [stream close].

You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Learn How to Upgrade from an Older VW

April 1, 2010 20:12:24.949

We'll be doing the podcast with David Buck tomorrow - he's recently been working on upgrading some VisualWorks users from older versions (including version 2.5.x) to the latest release. Listen live on justin.tv

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

RSS and Atom Feeds in Smalltalk: Video

April 1, 2010 9:08:08.438

Today's screencast looks at how to read rss and atom news feeds in Smalltalk.

You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

smalltalk

Smalltalk in Ottawa

April 1, 2010 8:01:00.562

Dave Buck reports that Dorin Sandu will be talking about Smalltalk and Cocoa in Ottawa this month:

We will provide an overview of model-view-controller as implemented by Cocoa, introduce key-value coding, key-value observing, key-value binding, and review some of the provided controllers and views. We will illustrate all these concepts through several example applications implemented in Smalltalk.

Follow the link for location details; it's happening at 6 PM April 14

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

Equality and Equivalence: Video

March 31, 2010 8:29:46.360

Today's screencast looks at how #= and #== differ in Smalltalk.

You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

smalltalk

Smalltalk and Cassandra

March 31, 2010 7:34:42.085

It's a command line heavy install at the moment, but it looks like it's possible to get Pharo and Cassandra talking.

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

Using TGZ Archives in Smalltalk: Video

March 30, 2010 8:35:24.945

Today's screencast looks at using TGZ archives files from Smalltalk.

You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

ObjectStudio 8.2 at ESUG 2009: Video

March 29, 2010 23:05:07.692

Here's Dirk Verleysen presenting ObjectStudio 8.2 (prior to its December, 2009 release) at ESUG 2009.

You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Videos"?

Technorati Tags: , , ,

posted by James Robertson

 Share Tweet This

smalltalk

OpenGL in Smalltalk: Video

March 29, 2010 8:47:07.513

Today's screencast looks at using OpenGL in Smalltalk.

You can download the video directly here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Mutation Testing (Audio)

March 28, 2010 11:06:17.465

This week's podcast is Hernan Wilkinson's ESUG 2009 talk - "Mutation Testing". You can download his slides here.

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.

To listen immediately, use the player below:

If you like the music we use, please visit Josh Woodward's site. We use the song Effortless for our intro/outro music. I'm sure he'd appreciate your support!

If you have feedback, send it to smalltalkpodcasts@cincom.com - or visit us on Facebook or Ning - you can vote for the Podcast Alley, and subscribe on iTunes. If you enjoy the podcast, pass the word - we would love to have more people hear about Smalltalk!

Technorati Tags: , , , , ,

posted by James Robertson

 Share Tweet This

Previous Next (1107 total)