. .

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

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

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

smalltalk

Smalltalk Bootstrapping

September 30, 2012 9:10:21.800

Martin McClure is putting together a new Smalltalk - and trying to bootstrap it in itself:

Mist is a project to create a Smalltalk dialect (or possibly a very Smalltalk-like language) that is implemented without a virtual machine, is implemented without depending on any other language, is simple, and is reasonably fast.

Technorati Tags:

posted by James Robertson

 Share Tweet This

st4u

ST 4U 289: Reading Binary FIles in VA Smalltalk

September 28, 2012 10:23:47.057

Today's Smalltalk 4 You looks at reading binary formatted files 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 files.

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 how you open files in binary mode in VA Smalltalk. To get started, look at the code below:


"specify that we are reading characters"
stream := CfsReadFileStream open: 'abt.ini'.
stream isCharacters: true.
text := stream contents.
stream close.
^text.



"specify binary"
stream := CfsReadFileStream open: 'snow1.jpg'.
stream isBytes: true.
bytes := stream contents.
stream close.
^bytes.

You would not typically use #isCharacters: - that's the default. Use #isBytes: to read the raw bytes into a byte array.

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

posted by James Robertson

 Share Tweet This

games

How to Die in Skyrim

September 27, 2012 10:59:03.701

Ok, this is funny:

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

js4u

JS 4U 208: Inserting an Image on a Map

September 27, 2012 10:41:45.316

Javascript 4 U

Today's Javascript 4 You looks at inserting images onto a 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:
[js4u208-iPhone.m4v ( Size: 1570122 )]

posted by James Robertson

 Share Tweet This

smalltalk

STIC 2013 Conference Venue Selected

September 26, 2012 17:16:30.462

The STIC 2013 conference is set now - it will be in Arizona, at the Wigwam Hotel, from June 9 - June 11. I'll post more details as I get them.

In the meantime, if you are interested in presenting at the conference, start getting a headline description of what you want to talk about together - a call for participation should be coming out soon.

Technorati Tags:

posted by James Robertson

 Share Tweet This

st4u

ST 4U 288: Using Files in VA Smalltalk

September 26, 2012 14:07:15.354

Today's Smalltalk 4 You looks at file i/o in VA Smalltalk - starting with the basics. 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:

file io.

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 file handling in VA Smalltalk. The simplest way to get started is with FileStream - which doesn't look like it exists. That's because it's an alias for CfsFileStream:

Files

Working with files in VA Smalltalk is fairly straightforward. You send messages to the abstract superclass (CfsFileStream), and, depending on the API, you get back the concrete subclass. You then work with that using standard stream protocol:


"Open a file read only"
stream := FileStream open: 'abt.ini' oflag: ORDONLY.
text := stream upToEnd.
stream close.
^text


"open a file, simpler API
stream := FileStream read: 'abt.ini'.
text := stream upToEnd.
stream close.
^text

"open for writing"
stream := FileStream write: 'test.txt'.
stream nextPutAll: 'This is a test'; cr.
stream close.

Go ahead and try those out (possibly changing the names depending on what files exist in for working directory).

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

posted by James Robertson

 Share Tweet This

smalltalk

Smalltalk Training

September 26, 2012 8:09:16.000

David Buck is setting up another online Smalltalk training course:

I've been asked if I can deliver an "Intro to VisualWorks" webcast course sometime in October. This course would be delivered over the Internet so students wouldn't need to travel to take the course. If you are interested or know of anyone who's interested, drop me an e-mail at david@simberon.com.

posted by James Robertson

 Share Tweet This

js4u

JS 4U 207: Simple Map Overlays

September 25, 2012 13:16:48.052

Javascript 4 U

Today's Javascript 4 You looks at putting simple graphic overlays onto 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:

graphic overlay

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

posted by James Robertson

 Share Tweet This