Interesting commentary on how Smalltalk "feels" after a long absence, from Noel Rappin. It would be useful if the vendors (and OSS implementations) listened to some of the negatives and thought about them - these are exactly the kinds of roadblocks I recall bringing up more than once when I was at Cincom...
Today's Smalltalk 4 You looks at basic file handling in Pharo - how to open files for reading and writing. 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.
If the movie industry thinks that putting a bigger wait in front of Netflix and Redbox will bring back DVD sales, they are deeply, deeply confused:
A new deal between Time Warner’s movie studio and Netflix, Redbox and Blockbuster will double the “window” for new releases. That means the services will now have to wait 56 days after the discs first go on sale to offer them to their customers, instead of 28 days.
For the most part, movies aren't like music - most of us won't watch most movies more than once. Which means that Netflix or Redbox are the optimum choice. A bought DVD is expensive, takes up space, and is only watched once anyway.
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.
Welcome to episode 15 of "Thu'umcast" - a podcast where Michael Lucas-Smith, Scott Dirk, Austin Haley, Makahlua and I document our trials and tribulations in Elder Scrolls V: Skyrim
Today we talk about the Thieves Guild Quest - top to bottom, with all the details you'll want to know to make your way through all of the nooks and crannies of the quest line. We also talk about what we liked, and what we didn't like about it.
If you liked our work on That Podcast, you'll probably like this. We intend to stay with the same idea - a gameplay podcast. If you don't want spoilers, don't listen - we are going to be talking about how we play the game, and what we ran across as we played.
Welcome to episode 15 of "Thu'umcast" - a podcast where Michael Lucas-Smith, Scott Dirk, Austin Haley, Makahlua and I document our trials and tribulations in Elder Scrolls V: Skyrim
Today we talk about the Thieves Guild Quest - top to bottom, with all the details you'll want to know to make your way through all of the nooks and crannies of the quest line. We also talk about what we liked, and what we didn't like about it.
If you liked our work on That Podcast, you'll probably like this. We intend to stay with the same idea - a gameplay podcast. If you don't want spoilers, don't listen - we are going to be talking about how we play the game, and what we ran across as we played.
Today's Smalltalk 4 You looks at opening and closing 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 opening external files from VA Smalltalk, and how to read/write them once you've done that. To start with, have a look at the application CfsStreams:
This is where the classes and APIS for reading/writing files are defined in VA Smalltalk. We'll start using CfsReadWriteFileStream to open and write a small file:
"open a file for read/write - if it does not exist, create it"
file := CfsReadWriteFileStream open: 'myNewFile.txt'.
file nextPutAll: 'This is my test text'.
file cr.
file close.
The first line opens the file - after which you can use standard stream methods to read and write text. Here we are simply writing some text, a CR, and then closing the file. The two methods of interest to us here are #open: and #close. The first you send to the class to open the file; the second you always send to close it. Once the file is out there, we can read it, and inspect the results to see what's there:
"open for reading"
file := CfsReadFileStream open: 'myNewFile.txt'.
data := file upToEnd.
file close.
^data.
Again, note the use of #open: and #close. Finally, what about error handling? Say a file you want to read doesn't exist? Here's the standard way to check for errors on file handling in VA:
All we're doing here is raising an exception on the error; you can, of course, do whatever handling makes sense in that block. Next time we'll get into the Stream APIs that were brushed over here.
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.
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 starts looking at the basic Smalltalk class libraries in VA Smalltalk, starting with String. 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 start looking at some of the base Smalltalk class libraries in VA Smalltalk, starting with class String. To get started, we want to browse the String hierarchy, in order to get a full picture of the local and inherited APIs:/p>
After selecting the launcher pulldown and entering String in the dialog, you should see this:
The second pane from the left contains a list of all the applications that define or extend class String. If you look at the status line, you'll see the defining application; you can also find that by scrolling through the list and looking for the application notated with an asterisk. You can see the methods for one application, or select all applications and see the full (at least based on what you have loaded) definition:
Notice the asterisk in application CLDT, which tells us where class String is defined:
Looking at the method categories, you'll see the ANSI-API category, which contains the standard API for the class, as defined in the specification for Smalltalk. Open up a workspace, and you can try some of these messages out:
Try the second one; you should see this if you display the result:
Now try the #at:put: message:
one of the changes made to Smalltalk by the ANSI spec was to make Strings read-only objects - that's the exception you are seeing. To do what is being tried here, you need to make a copy first. There's a lot more to explore in Class String - just try experimenting in a Workspace.
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.
Welcome to episode 59 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson and David Buck.
This week Dave Buck and I talk about how to deal with (and ultimately fix) hard to reproduce problems.
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 59 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson and David Buck.
This week Dave Buck and I talk about how to deal with (and ultimately fix) hard to reproduce problems.
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!