. .

smalltalk

Share Scripts From Your Workspace

December 29, 2011 10:07:01.436

Scripy does that:

Scripy is a repository for scripts written in a Workspace. It allows people to share install scripts and preferences/settings. The repository has been seeded with install scripts from Squeak's Extending The System and Pharo's DEVImageWorkspaces. You don't need the plugin.

Follow the link for more details, and a video of Scripy in action.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

js4u

JS 4U 118: Finding specific DOM Types

December 29, 2011 12:32:19.535

Javascript 4 U

Today's Javascript 4 You looks at finding specific types of page elements using JQuery. 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:

finding elements

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:

Technorati Tags: , ,

Enclosures:
[js4u118-iPhone.m4v ( Size: 2380880 )]

posted by James Robertson

 Share Tweet This

smalltalk

Build Tool Updated

December 29, 2011 18:39:50.000

I noticed last week in one of the mailing lists that the build tool I published awhile ago (BuilderBundle in the Cincom Repository) was out of date. I did much of the work for that in VW 7.6 (which the shop I work in is still using) - but I did update the tools to 7.8 earlier this year for one of the internal customers we have that is on 7.8. Long story short, I finally updated the package. It should work in in anything from 7.6 on up, but you should verify that yourself :)

Technorati Tags:

posted by James Robertson

 Share Tweet This

st4u

ST 4U 175: Using Scripy in Pharo

December 30, 2011 13:00:44.524

Today's Smalltalk 4 You looks at Scripy - a code sharing site that can be integrated into 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:

Scripy

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:

Technorati Tags: , ,

Enclosures:
[st4u175-iPhone.m4v ( Size: 4355118 )]

posted by James Robertson

 Share Tweet This

holiday

Happy 2012!

January 1, 2012 0:01:00.000

Happy New Year, Everyone!

posted by James Robertson

 Share Tweet This

podcast

IM 59: Hard to Reproduce Problems

January 1, 2012 10:38:23.725

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!

Technorati Tags: ,

Enclosures:
[im59.mp3 ( Size: 13548304 )]

posted by James Robertson

 Share Tweet This

podcastAAC

IM 59: Hard to Reproduce Problems (AAC)

January 1, 2012 10:39:15.275

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!

Technorati Tags: ,

Enclosures:
[im59.m4a ( Size: 18700422 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 176: Exploring Class String

January 2, 2012 12:39:42.341

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:

String.

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>

Browse Hierarchy

Browse Hierarchy

After selecting the launcher pulldown and entering String in the dialog, you should see this:

String

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:

Select all Applications

Notice the asterisk in application CLDT, which tells us where class String is defined:

CLDT

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:


str := 'James Robertson'.
str asByteArray. 
str asSymbol. 
str at: 3. $m
str copy at: 3 put: $y.
str includes: $J. true
str replaceFrom: 1 to: 3 with: 'jam' startingAt: 1.

Try the second one; you should see this if you display the result:

Testing

Now try the #at:put: message:

Error

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.

Technorati Tags: , ,

Enclosures:
[st4u176-iPhone.m4v ( Size: 7993629 )]

posted by James Robertson

 Share Tweet This

js4u

JS 4U 119: The closest() function in JQuery

January 3, 2012 11:40:04.708

Javascript 4 U

Today's Javascript 4 You looks at the closest() function in JQuery. 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:

closest()

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:

Technorati Tags: , ,

Enclosures:
[js4u119-iPhone.m4v ( Size: 1928140 )]

posted by James Robertson

 Share Tweet This

smalltalk

ESUG 2012 to be in Ghent

January 4, 2012 8:19:12.445

ESUG has announced the timing and venue:

The ESUG board is glad to announce that the 2012 ESUG conference will be held at Gent in Belgium 27-31 August; Camp Smalltalk 25-26 August

Technorati Tags:

posted by James Robertson

 Share Tweet This

st4u

ST 4U 177: Opening Files in VA Smalltalk

January 4, 2012 11:30:05.552

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:

Files.

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:

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.

Read a File

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:


"with error handling"
(file := CfsReadFileStream open: 'someFileNotThere.txt') isCfsError
		ifTrue: [^self error: file message].

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.

Technorati Tags: , ,

Enclosures:
[st4u177-iPhone.m4v ( Size: 6705853 )]

posted by James Robertson

 Share Tweet This

skyrim

Thu'umcast 15: Is That a Skeleton Key in Your Pocket?

January 4, 2012 23:39:48.030

Thu'umcast

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.

You can subscribe in iTunes (or any podcatcher) using this feed, or this one for the AAC edition. We'll add the iTunes specific links as soon as they are available. In the meantime, join the Facebook Group and follow us on Twitter. If you play on Steam, join the Steam Group. Like the music? Pay Sbeast a visit, we thank him for letting us use it!

Links to all episodes and other information can be found on the Thu'umcast page.

If you want to download the podcast directly, we've provided it in three formats:

Got feedback? Tweet us!. Enjoy the podcast, and we'll see you in Skyrim!

Technorati Tags: , ,

Enclosures:
[thuum15.mp3 ( Size: 19231933 )]

posted by James Robertson

 Share Tweet This

skyrimAAC

Thu'umcast 15: Is That a Skeleton Key in Your Pocket? (AAC)

January 4, 2012 23:40:32.190

Thu'umcast

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.

You can subscribe in iTunes (or any podcatcher) using this feed, or this one for the AAC edition. We'll add the iTunes specific links as soon as they are available. In the meantime, join the Facebook Group and follow us on Twitter. If you play on Steam, join the Steam Group. Like the music? Pay Sbeast a visit, we thank him for letting us use it!

Links to all episodes and other information can be found on the Thu'umcast page.

If you want to download the podcast directly, we've provided it in three formats:

Got feedback? Tweet us!. Enjoy the podcast, and we'll see you in Skyrim!

Technorati Tags: , ,

Enclosures:
[thuum15.m4a ( Size: 26303961 )]

posted by James Robertson

 Share Tweet This

games

Thank You Thu'umcast Listeners!

January 4, 2012 23:55:33.820

This makes our day:

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

itNews

Dumb Headline of the Day

January 5, 2012 7:54:08.208

I think Baseline just started shouting "You Kids! Get Off My Lawn!"

Technorati Tags:

posted by James Robertson

 Share Tweet This

js4u

JS 4U 120: the Doublick Function in JQuery

January 5, 2012 9:36:56.559

Javascript 4 U

Today's Javascript 4 You looks at the dblClick() function in JQuery. 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:

dblClick()

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:

Technorati Tags: , ,

Enclosures:
[js4u120-iPhone.m4v ( Size: 1728654 )]

posted by James Robertson

 Share Tweet This

movies

Slamming the Barn Door

January 5, 2012 19:41:30.159

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.

The entire industry desperately needs a clue...

posted by James Robertson

 Share Tweet This