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:
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.
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.
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:
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:
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.
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.
Join the Facebook Group to discuss the tutorials. You can view the archives here.
To watch now, click on the image below:
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.
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:
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.
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.
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!
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!
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:
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.
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:
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.