Today's Smalltalk 4 You looks at OLE embedding 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 take a look at OLE embedding with VA Smalltalk. As it happens, a programmatic (as opposed to parts constructions tools) example ships with the product. First, load the OLE Samples, and then execute the following code (you should browse the class OlexContainerExample as well):
OlexContainerExample new open
Now, go to the edit menu, and select "Insert Object...":
You'll get a list of things you can embed. We've chosen WordPad here, as any installation of Windows should have access to that. You should see WordPad come up:
Now, enter some text and close WordPad without saving - the text will appear in the VA container:
Browse the class and take a look at how it's been set up - that should give you a starting point for doing this kind of thing in your own applications.
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 128 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson and David Buck.
This week we have Stephane Ducasse discussing the Pharo roadmap at the Smalltalks 2012 conference
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 128 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson and David Buck.
This week we have Stephane Ducasse discussing the Pharo roadmap at the Smalltalks 2012 conference
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!
It's getting to the point where you can't even try to satirize the copyright holders - Cory Doctorow quotes the insanity that they want:
While not currently permitted under U.S. law, there are increasing calls for creating a more permissive environment for active network defense that allows companies not only to stabilize a situation but to take further steps, including actively retrieving stolen information, altering it within the intruder’s networks, or even destroying the information within an unauthorized network. Additional measures go further, including photographing the hacker using his own system’s camera, implanting malware in the hacker’s network, or even physically disabling or destroying the hacker’s own computer or network.
As much as I might wish it to be otherwise, it's a pretty sensible business reaction to reality:
So as a general matter, Sony’s PlayStation business is not making money. And yet they’re doing everything hardcore gamers want.
...
Well, although Cousins points out that the division of the company that contains Xbox has, over its lifetime, lost a bunch of money, we can see a clear upward trend in recent years. And again, to bring this up to date, the Entertainment and Devices Division had an operating income of $342 million in the last quarter.
The reality seems to be simple - having a $500 (or less) gaming device that consumes $60 games just isn't a profitable business to be in. It's might be part of the model for a profitable business, and that's what Microsoft is after. Serious gamers should just put together a PC with a good graphics card and hook that up to the TV...
Today's Smalltalk 4 You looks at the software updater in Pharo 2.0. 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 Smalltalk 4 You looks at Soup - an HTML tag parser for Pharo. 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 Smalltalk 4 You looks at the execution context for code in ObjectStudio - which can vary based on the tool (VisualWorks or ObjectStudio native ) that you use. 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 Smalltalk 4 You looks at money data in 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:
When you deal with monetary amounts, you really should not use floating point numbers. In VA Smalltalk, there's AbtMoney:
one := 3.54 abtAsMonetaryAmount.
two := 2.12 abtAsMonetaryAmount.
one + two an AbtMonetaryAmouny
If you try the above code, you'll find that you can do standard arithmetic with money objects. If your applicatio deals with financial data, use this instead of floating point :)
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.