. .

podcast

IM 96: Smalltalk Quiz

October 1, 2012 2:07:22.748

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

This week Dave quizzes James on some Smalltalk trivia - play along and see how much old time Smalltalk trivia you know.

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

posted by James Robertson

 Share Tweet This

podcastAAC

IM 96: Smalltalk Quiz (AAC)

October 1, 2012 2:08:09.031

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

This week Dave quizzes James on some Smalltalk trivia - play along and see how much old time Smalltalk trivia you know.

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

posted by James Robertson

 Share Tweet This

st4u

ST 4U 290: Finding all Instances

October 1, 2012 8:07:02.015

Today's Smalltalk 4 You looks at a common problem in Smalltalk development - finding all instances of an object. You can send #allInstances in a workspace and inspect the results, but there's a simpler way in VisualWorks - a menu pick in the 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:

all instances

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

posted by James Robertson

 Share Tweet This

js4u

JS 4U 209: Adding a Map Marker

October 2, 2012 7:46:20.522

Javascript 4 U

Today's Javascript 4 You looks at using map markers in the Google Maps Javascript api. 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:

map markers

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

posted by James Robertson

 Share Tweet This

st4u

ST 4U 291: Reading and Writing Binary Files in VA Smalltalk

October 3, 2012 8:25:44.990

Today's Smalltalk 4 You goes through a simple example - reading and writing a file in binary mode in VA Smalltalk. 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:

Binary Data.

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 go through a small example - how to write, and read, a simple binary file. To start, let's write a couple of numbers to a file:


stream := FileStream write: 'testBin.bin'.
stream isBytes: true.
stream nextPut: 2.
stream nextPut: 3.
stream close.

Even though we are using the abstract class FileStream, VA picks up the correct concrete subclass when we use the #write: method. Next, we'll want to read the file in binary mode (again, using #isBytes:)


stream := FileStream read: 'testBin.bin'.
stream isBytes: true.
first := stream next.
second := stream next.
stream close.
^Array with: first with: second.

Inspect the results to ensure that you got back what you expect - you should see something like this:

Binary Data

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

posted by James Robertson

 Share Tweet This

humor

I 635 and Belt Line (Dallas)

October 3, 2012 11:56:29.000

I think today's xkcd is about the intersection in the title (or one very much like it, anyway). When I go through that one, I have no clue what they expect of me....

posted by James Robertson

 Share Tweet This

smalltalk

Pharo Sprint Lille 2nd November

October 3, 2012 14:54:13.000

There's a Pharo Sprint in Lille happening on November 2 (this year). Follow the link for the details.

Technorati Tags:

posted by James Robertson

 Share Tweet This

js4u

JS 4U 210: Adding Multiple Map Markers

October 4, 2012 7:24:44.397

Javascript 4 U

Today's Javascript 4 You looks at adding multiple map markers in a Google Map. 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:

Map Markers

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

posted by James Robertson

 Share Tweet This

st4u

ST 4U 292: Random Numbers in VA Smalltalk

October 5, 2012 11:35:41.033

Today's Smalltalk 4 You looks at random number generation in VA Smalltalk. 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:

Random Numbers.

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 random number generation in VA Smalltalk. The class you'll want to look at is EsRandom. The common way to get a random number in Smalltalk is like this:


| rand randVal |
rand := EsRandom new.
randVal := rand next.

That yields a floating point value with a lot of digits to the right of the decimal place. In many Smalltalks, you end up multiplying that by a number (to put it in the range you want), rounding, and adding one. In VA, there's a nice convenience method, #nextInt: - you give it a value, and you get back a random number between 1 and that value:


| rand randVal |
rand := EsRandom new.
randVal := rand nextInt: 100.

Display the results to make sure you get back what you expect - in this case, it should be a value between one and one hundred.

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

posted by James Robertson

 Share Tweet This

humor

Angry Birds Fail

October 5, 2012 18:19:31.206

Here's something you don't want to see when playing Angry Birds on the iPad - my wife had this happen:

Technorati Tags:

posted by James Robertson

 Share Tweet This

books

The Problem with SHTF Fiction

October 7, 2012 10:41:21.843

I admit to a weakness for post-apocalyptic fiction - I love a good "SHTF" book. The thing to keep in mind though, is this: most of these books are highly unrealistic. There are a few scenarios I can think of where things really would collapse in terrible ways:

  • Some kind of super bug that wipes out a high percentage of the population (much worse than the black death, say)
  • An extinction level asteroid/comet strike
  • A "Carrington Event" type of solar blast that took out a large percentage of the world's transformers

What a lot of these books posit is some kind of economic collapse that leads to chaos after the value of the dollar implodes. The problem with that kind of thing is simple: we have real life examples of developed nations hitting a financial collapse (Argentina, and now, Greece). Are there problems? Yes. Do they lead to a collapse of the grid and some kind of Hobbesian war of all against all? Not so much.

I'll probably keep reading this kind of thing because they are a guilty pleasure for me. I just won't end up being one of those prepper types stockpiling two years of food, water, and ammo in my basement because of it.

posted by James Robertson

 Share Tweet This

podcast

IM 97: Legacy Data Access in a New ObjectStudio App

October 7, 2012 18:58:03.153

Welcome to episode 97 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 - Mark Grinnell and Andreas Hiltner of Cincom talking about legacy data access in new applications using ObjectStudio. 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:
[im97.mp3 ( Size: 13411472 )]

posted by James Robertson

 Share Tweet This

podcastAAC

IM 97: Legacy Data Access in a New ObjectStudio App (AAC)

October 7, 2012 18:58:58.725

Welcome to episode 97 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 - Mark Grinnell and Andreas Hiltner of Cincom talking about legacy data access in new applications using ObjectStudio. 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:
[im97.m4a ( Size: 18557857 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 293: Getting Started with ObjectStudio

October 8, 2012 12:14:25.428

Today's Smalltalk 4 You takes a high level, starting out view of ObjectStudio 8. 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:

Logging

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

posted by James Robertson

 Share Tweet This