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.
ESUG 2012 is happening in Gent, Belgium this year (August 27-31, with Camp Smalltalk on the 25th and 26th). Get all the details at the conference page.
Today's Smalltalk 4 You looks at how you can customize the output of log4s data via the built in pattern specifiers - and the support code that you can implement to make use of it. 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 look at customizing your logging (in log4s) via the pattern strings used when setting up a logger. First off, you should look at the documentation, where you'll find this page, explaining the various options:
What we'll do today is set up some object specific logging based on the API supported by our objects. We'll create two simple classes which respond to the same method - #addOne, adding one to a counter. One will implement #printOn: (customizing #printString), the other will implement #printLog4s. To get that all to show up, we'll use the %object specifier in the log setup:
If your object implements #printLog4s, that will get used instead of #printString. Here's what the code for Adder1 and Adder2 (the two classes) looks like:
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 looks at the ability to use drag/drop between inspectors and workspaces in VisualWorks (or ObjectStudio). 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.
Welcome to episode 71 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson and David Buck.
This podcast was recorded by Dave Buck and I at the beginning of day 2 of STIC 2012 - we spoke about the various talks we saw on day 1. I'll have a wrap up podcast on STIC 2012 with Bob Nemec next week - that was recorded at the end of day 3 .
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 71 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson and David Buck.
This podcast was recorded by Dave Buck and I at the beginning of day 2 of STIC 2012 - we spoke about the various talks we saw on day 1. I'll have a wrap up podcast on STIC 2012 with Bob Nemec next week - that was recorded at the end of day 3 .
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!
The more I think about the ending given to us by Hudson, the more I realize that it doesn't work for anyone - not fans, and - interestingly enough - not for BioWare, since they've said that they want to set future games in that universe (without Shepard). Why doesn't it work? Well:
The Mass Relays are gone. No matter which ending you picked, they all blew up. So consider: every species' fleet is now stranded around earth, with no way home. Mass starvation (and maybe renewed war, as the survivors start blaming humans for the problem). The only ones who survive that mess intact are the Geth, who can live through the long flight to somewhere else.
Now consider the ravaged homeworlds of the various species - mass destruction, and all trade outside their home systems cut off - for a long, long time. The lore has it that the relays have been around "forever" - rebuilding them will be the work of centuries (assuming that the knowledge to do so even exists). It looks like each one will have to be built in place before travel over long distances is possible, so... interstellar travel is basically gone.
So congratulations, Mr. Hudson - you made future storytelling in this universe nearly impossible. Not only did you tick off fans everywhere, but - once your management team realizes just how badly you've screwed the pooch, they won't be happy either. It takes rare talent to irritate all and sundry, but I think you've managed the trick.
This may explain why they've decided to revisit the ending - it's one thing to irritate long time fans; it's something else again to kill a franchise.
I've finished the game on the PC, and I'm playing through a second time on my XBox. In that second game, I've just gotten through the end of the Geth/Qurian confrontation. Here's my proposal:
The people who wrote that part of the game? They're awesome.The moron who wrote the end? He needs to be removed from the Mass Effect franchise, post haste. Having done that, have the people who wrote the second act give us an ending that makes sense. That doesn't mean a "happy" ending, btw - it would be entirely reasonable for the ending to be sad.
Today's Smalltalk 4 You looks at filtering logging events in log4s using logging levels. 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 closer look at logging levels in log4s. To quote the documentation in VA Smalltalk:
The concept of levels is central to log4s. A loggingEvent will be logged by an Appender if the level of the loggingEvent is greater than or equal to the level of the Appender. Both LoggingEvents and Appenders have levels. Log4s has seven predefined levels which are implemented as EsLevel class variables.
There are 7 levels to logging - in order from the lowest (everything gets logged) to the highest (nothing gets logged), they are: All, Debug, Info, Warn, Error, Fatal, Off. So if you set the level for an appender to "Error", and then send a "Warn" level message, it will not appear in that appender's stream. For example - recall that we've set up the root logger with a file appender:
That will log everything to a file. Let's set up a new appender to the Transcript, but set it up at the "Error" level - meaning, it will ignore all logging events under that:
"Add a transcript appender programmatically, but set at a higher level"
level := EsLogManager getLevel: 'Error'.
pattern := EsPatternLayout new: 'ڴe{ISO8601}: [%level] %message'.
transcriptAppender := EsTranscriptAppender level: level layout: pattern.
logger addAppender: transcriptAppender.
Now we have two appenders for the default logger - the file appender will get every logging event, while the Transcript will only see things at level "Error" and above. To demonstrate, let's send a warning event:
EsLogManager warn: 'This is a warning!'.
The File log has that, while the Transcript is blank:
Now let's send an error level event, and look again:
EsLogManager error: 'This is an Error!'.
Notice that this time, the event hit both logs - the file appender gets everything, while the Transcript appender got the higher level event only. Next time, we'll get into filtering and the print format.
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 call for papers for the next STIC came out on the ESUG mailing list, from Georg Heeg:
In June 2013 we will also have Smalltalk Directions 2013 organized by Smalltalk Academic Advisory Board STAAC. The formal call for papers will go out soon. But you can start planning to submit your research results today. The topics will probably be along the lines of this year’s call for papers. The papers will get reviewed and published and in the presentation you will get into contact with co-researchers and industrial Smalltalk users from all over the world.
I'll have to check this page out (I'm future posting this from a plane at the moment) - Pharo and Oracle help. The last time I tried to get those two to talk, I had issues :)
Today's Javascript 4 You looks at using Timestamps in JQuery for simple profiling of functions. 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.