Always Flash
I've come to the conclusion that Flash's true purpose is to consume CPU cycles. The display of video is just an obscure bug, and I'm sure that Adobe will eventually figure out a fix....
Tags: flash
. .
The author of this blog, James Robertson, passed away in April 2014. This blog is being maintained by David Buck (david@simberon.com).
I've come to the conclusion that Flash's true purpose is to consume CPU cycles. The display of video is just an obscure bug, and I'm sure that Adobe will eventually figure out a fix....
Tags: flash
My daughter is in college now - so this gives you an idea as to how long ago this photo was taken:
Today's Smalltalk 4 You looks at the difference between exception handling and error handling 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:
In most Smalltalk code, you look for exceptions when there's a chance that your code will fail - typically, when dealing with something like file handling. In VA Smalltalk, there are two patterns in use - exceptions, and errors. For some of the system libraries (networking code, for example), you mostly won't see exceptions on failure; you'll get an error object back instead. You need to know what to look for in order to deal with the situation properly. The common Smalltalk pattern might look like this:
"Catch exception" input := self getValueFromUser. [10/input] on: ZeroDivide do: [:ex | ex return: 1].
Here we have code that might get a divide by zero error, and we handle that when it happens. If you use some of the VA libraries, here's the alternative error pattern:
"look for error" client := (SstHttpClient forTransportScheme: 'http') startUp. response := client get: 'http://www.5678jnbf.com'. response isSstError ifTrue: [Transcript show: 'Error'; cr]. client shutDown.
Here, we don't get an exception when trying to get a nonsense url (in practice, you would be getting a proper url, but looking out for server errors, socket errors, etc). Here we need to check the response object - is it an actual response, or an error object? This is more akin to the pattern you see in other languages, where you need to check the return value for error codes.
The important thing to keep in mind is that both exist in VA, and you simply need to know which one to look for with the library you are using
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.
Tags: smalltalk, va smalltalk, error, exception
Enclosures:
[st4u366-iPhone.m4v ( Size: 1079481 )]
The schedule should be available soon - for now, check out the list of confirmed speakers for STIC 2013. And then go register :)
Tags: smalltalk
Oh boy, the 17 year Cicada cycle is arriving again this May. I have to say, I haven't missed them :)
In places where they’re going to be present, it’s going to be spectacular. There could be as many as one billion cicadas emerging per square mile,” Michael Raupp, a professor of Entomology at the University of Maryland, told 1010 WINS
Tags: cicada
Today's Javascript 4 You looks at the using the geometry library for drawing in google maps. 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.
You can also watch it on YouTube:
Tags: javascript, maps
Enclosures:
[js4u259-iPhone.m4v ( Size: 1510361 )]
Today's Smalltalk 4 You looks at the DateAndTime class in 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.
You can also watch it on YouTube:
Enclosures:
[st4u365-iPhone.m4v ( Size: 746713 )]
Today's Javascript 4 You looks at drawing overlays for maps. 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.
You can also watch it on YouTube:
Tags: javascript, maps
Enclosures:
[js4u258-iPhone.m4v ( Size: 1302710 )]
Today's Smalltalk 4 You looks at accessing the command line from Pharo - i.e., figuring out what it looked like. 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:
Tags: smalltalk, pharo, command line
Enclosures:
[st4u364-iPhone.m4v ( Size: 820873 )]
Sorry gang - tomorrow is my wedding anniversary, so no podcast coming. We'll be back next weekend though!