. .

travel

Stuck

May 26, 2011 16:08:06.274

Looks like it's one of those travel days. First, I finally had to deal with one of the new scanners. I opted out, of course - if TSA wants to run security theater, the only protest I can lodge is to waste their time. With that out of the way, I got onto an earlier flight headed to DCA instead of BWI (good news, since I forgot about my bifurcated flights this week and parked down near DCA).

That's pretty much when the good news ended though; now we have about 90 minutes of ground hold, due to T-Storms between here and DC. Joy :)

 Share Tweet This

social media

Irony Not Dead

May 26, 2011 8:50:42.000

I saw a reference to the book "Dancing with Digital Natives" on David Meerman Scott's blog, so I went to Amazon to have a look - figured I might want the ebook. Utter fail - the book is out in dead tree only.

 Share Tweet This

js4u

JS 4U 59: URL Encoding Data with JQuery

May 26, 2011 7:41:43.771

Javascript 4 U

Today's Javascript 4 You. Today we look at using JQuery to encode urls - something you need to do for many of the optional function arguments. 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:

URL Encoding

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:
[js4u59-iPhone.m4v ( Size: 2531160 )]

 Share Tweet This

smalltalk

Server Side JTalk

May 25, 2011 19:00:00.000

Looks like JTalk is still making good progress:

As announced in an earlier blog-post, i implemented a RemoteRunner for the jtalk-server (based on the jtalk-project). It's very simple: if you implement a Method runRemote in your class, e.g. RemoteTest, then by executing:

RemoteRunner new runClass: RemoteTest


will execute the Smalltalk-Code implemented in the runRemote-Method on the server. The example prints out the date and time of the server.

 Share Tweet This

smalltalk

Fuel For Pharo

May 25, 2011 14:29:20.000

BOSS is one of the more useful pieces of VisualWorks, so I'm interested to see that the Pharo project is acquiring a modern equivalent. Via Torsten:

Fuel - a new project to implement binary object serialization for Pharo is part of the ESUG SummerTalk. It's work in progress but already usable, there is a ConfigurationOfFuel metacello config to easily load it.

The existence of a Metacello configuration is key - it makes it very, very easy to load (and thus much easier to contribute to the project). Good stuff!

Technorati Tags: , ,

 Share Tweet This

smalltalk

Comparing Objects in a Complex UI

May 25, 2011 14:25:52.731

This afternoon I had to export part of a tree of objects from one UI to a smaller one (to allow for end user editing of those objects). This all backs to a database, so I didn't want the AspectAdaptors (this is VisualWorks) I was hooking up to make changes to the actual domain objects; I wanted copies. Using #copy and #postCopy is pretty straightforward, but I wanted to check to make sure that I was doing it correctly

As part of our development toolset, we have some mods that add a little "inspect it" button to every window. That's highly useful, and got me most of where I wanted to go. The last step was simply using base functionality of VW that a lot of people probably aren't aware of - you can drag objects from an inspector and drop them on a workspace, creating a workspace variable that points to that object. Doing that from each piece of the UI, I was then able to run a simple #== check on the objects, and verify that my copy operation was working correctly. Kind of a cool thing to be able to do, that drag/drop between tools.

 Share Tweet This

st4u

ST 4U 87: Debug Any Process in VA Smalltalk

May 25, 2011 8:20:32.119

Today's Smalltalk 4 You shows you how easy it is to grab an arbitrary VA Smalltalk process and load it into the debugger. This can be useful a few different ways - exploring the system, or killing a runaway process that you didn't keep a variable reference to. If you prefer a written walkthrough to video, then skip down to 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:

Debug Any ST Process

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 debugging arbitrary processes in VA Smalltalk, which is easy using the debugger. To show that off, we'll create a Smalltalk process in the workspace, and then grab it with the debugger. Here's the code to kick off a simple process:

Fork a Process

And here's a look at the Transcript, which shows that the process is, in fact, running:

Running Process

Going back to the launcher menu, select Tools, go all the way to the bottom, and open the debugger:

Open the Debugger

You haven't opened the debugger on a specific process, so it's empty. That's something we'll fix in a moment. Under the Processes menu, select the first option, Debug Other:

Debug Other Process

What you'll see now is a small window with a list of processes in it. These are Smalltalk processes, controlled by the VA Smalltalk environment:

Process List

You can select any of them and start debugging them in the debugger, including main system processes. This is a great way to see how things work in any Smalltalk environment, but here we've selected the process we forked off above. One of the other things you can do with this feature is select a process so that you can terminate it - useful if you've forked one off, and haven't maintained any direct access to it. Here's the process in question in the debugger:

Debugging

Now that you've grabbed the process in the debugger, it's easy to kill it. Simply go back to the Processes menu, and select Terminate:

Terminate

In this example, we held a reference to the process in the workspace, so we can inspect it (as seen below). If you didn't, simply repeat this process, and you'll see that the list of processes is one smaller:

Inspect the Variable

Looking below, you can see in the inspector that the process is dead. That solves the problem of grabbing an arbitrary process we don't want or need any longer and killing it:

Inspecting the Process

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:
[st4u87-iPhone.m4v ( Size: 4290551 )]

 Share Tweet This

weather

Not a Miss

May 24, 2011 21:50:02.982

No hail, but the sky got dark very fast, and we are getting a lot of lightning and wind right now. North of here, TV is reporting really nasty hail:

... And TV weather is telling me that rotation is headed straight at Arlington. This week has had way too much excitement for me...

Update: Well, that was exciting. Tornado warning here a few minutes ago, hotel sent someone door to door. Danger seems to have passed for the most part, but - there's another line of cells west of here. So it looks like it's not over yet.

 Share Tweet This

weather

Missed Me By That Much

May 24, 2011 21:10:59.482

I'm having an exciting weather year here in Dallas. Last winter, it was ice. Now, I'm just missing this:

This week, I'm staying in Arlington. I'm not even sure why; usually, I stay in Grapevine. Look at where that storm is headed as I post this...

 Share Tweet This

smalltalk

Ephemerons For Cog

May 24, 2011 13:30:13.000

Igor Stasenko has implemented Ephemerons for Cog. Why should you care? Eliot explains that.

Hat tip Torsten

Technorati Tags: ,

 Share Tweet This

smalltalk

Gettext For Seaside Ported to Gemstone

May 24, 2011 8:58:58.000

It's available at seaside.gemstone.com, and was ported by Johan Brichau

Technorati Tags: , , ,

 Share Tweet This

js4u

JS 4U 58: JQuery Animation

May 24, 2011 7:41:48.492

Javascript 4 U

Today's Javascript 4 You. Today we look at using JQuery for animation. 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:

Animation

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:
[js4u58-iPhone.m4v ( Size: 1763563 )]

 Share Tweet This

general

An Exciting Day at Work

May 23, 2011 22:04:51.544

Nothing gets your attention like a midday trip to the emergency room. I've had a slight bit of chest pain (left side) for a few days now, and this morning it started to really hurt - my boss took me down to the nearest emergency room, and then waited the process out with me. They strapped me in, took some blood, ran a few tests - and apparently, I managed (no clue how) to strain a muscle in that spot (exacerbated last night, it looks like, when I helped a woman with a back problem put her bag in the overhead bin).

Alls well that ends well - my ekg, blood pressure, and pulse checked out fine, and the blood work didn't show anything ominous.

There was one upside - I managed to miss a meeting that would almost certainly have been dull :)

Technorati Tags:

 Share Tweet This

itNews

Apple to Lodsys: Troll Elsewhere

May 23, 2011 16:58:04.111

Apple has told patent troll Lodsys to take their claims elsewhere.  The only troubling bit left is the fact that Apple - in a completely understandable cost/benefits decision process - paid Lodsys off in the first place.  Ideally, Lodsys' "innovation" would have been deep sixed.

 Share Tweet This

smalltalk

Smalltalk Internals

May 23, 2011 8:42:05.000

Mariano Martinez Peck explains how Smalltalk bytecodes work.

Technorati Tags:

 Share Tweet This

st4u

ST 4U 86: Squeak and SQLLite

May 23, 2011 2:57:31.572

Today's Smalltalk 4 You shows you how to get started with Squeak and SQLlite - perhaps the simplest database that you could possibly set up. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To give full credit where it's due, I found all the necessary instructions on the Smalltalk Impressions blog. To watch now, click on the image below:

Store for SQLlite

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:
[st4u86-iPhone.m4v ( Size: 5386191 )]

 Share Tweet This

podcastAAC

IM 29: Pharo's Future (AAC)

May 23, 2011 2:44:51.322

Welcome to episode 29 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson, Michael Lucas-Smith, and David Buck. Yes, the sequence number is off - for some reason I lost count last week, and skipped 29. So out of order, here it is.

I spoke to Stef Ducasse this week, about where the Pharo project is headed, and especially about his ideas for a consortium around Pharo. It's an idea similar to what has grown up around the Apache and Eclipse projects - but you can hear Stef explain it himself in the podcast. I'd like to thank Stef for his patience with this episode - we botched a recording attempt with him a few weeks ago, and he was kind enough to come back and do it again.

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:
[im29.m4a ( Size: 21733604 )]

 Share Tweet This

podcast

IM 29: Pharo's Future

May 23, 2011 2:43:52.312

Welcome to episode 29 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson, Michael Lucas-Smith, and David Buck. yes, the sequence number is off - for some reason I lost count last week, and skipped 29. So out of order, here it is.

I spoke to Stef Ducasse this week, about where the Pharo project is headed, and especially about his ideas for a consortium around Pharo. It's an idea similar to what has grown up around the Apache and Eclipse projects - but you can hear Stef explain it himself in the podcast. I'd like to thank Stef for his patience with this episode - we botched a recording attempt with him a few weeks ago, and he was kind enough to come back and do it again.

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:
[im29.mp3 ( Size: 15738450 )]

 Share Tweet This

smalltalk

Smalltalk in London

May 21, 2011 11:03:38.077

The UK Smalltalk Users Group is meeting on May 23rd - Got this on the ESUG mailing list:

The next meeting of the UK Smalltalk User Group will be on Monday, May 23rd.

Tim Mackinnon has recently started looking at JTalk - and how it translates Smalltalk to JavaScript as well as providing the familiar Smalltalk browsers in your web page. It's still a new project, but how does this approach compare to staying native? Come and join us for some interesting smalltalk on this topic.

In addition to this, Niall Ross will briefly update us on the upcoming ESUG conference 2011, in Edimburgh. Don't forget that the early registration is now open!

We'll meet in our usual venue - the Counting House, close to Bank Station, from 18:30 onwards.

Technorati Tags:

 Share Tweet This

smalltalk

Smalltalk in Toronto

May 20, 2011 16:45:50.000

 Share Tweet This

news

It'll be Easier to Carry Your Books

May 20, 2011 14:10:17.806

Speaking of ebooks (something I posted on earlier today) - Florida is jumping in with both feet in the schools:

The proposal (SB 2120) requires Florida public schools to adopt digital-only textbooks by the 2015-16 school year, and spend at least 50 percent of their textbook budget on digital materials by that time.

The first thing I thought of is the backpack full of books my daughter has been carrying for years. I guess kids will finally stop risking a back injury while taking their books back and forth :)

Technorati Tags: ,

 Share Tweet This

smalltalk

EyeSee for Pharo

May 20, 2011 12:25:05.000

Torsten just spotted EyeSee - a Visualization system for Pharo:

Need some easy visualizations in your application written in Pharo? Then check out EyeSee

Follow the link for details on where to get it

Technorati Tags: , ,

 Share Tweet This

news

E-Books - The Next Disintermediation

May 20, 2011 10:40:18.379

Looks like E-Books are headed in the same direction that MP3's did a long while ago - dominance over the dead tree format. Amazon just released this:

By July 2010, Kindle book sales had surpassed hardcover book sales, and six months later, Kindle books overtook paperback books to become the most popular format on Amazon.com. Today, less than four years after introducing Kindle books, Amazon.com customers are now purchasing more Kindle books than all print books - hardcover and paperback - combined.

The publishing houses are about to go all RIAA on us, I expect.

Technorati Tags: , ,

 Share Tweet This

st4u

ST 4U 85: Releasing a Version into ENVY

May 20, 2011 8:49:04.169

Today's Smalltalk 4 You looks at the process of releasing an application version in ENVY. If you prefer a written walkthrough to video, then skip down to 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:

Releasing an Application

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 release an application into ENVY with a formal version. We'll be starting with the same CounterApp we worked with last time, so we are starting with the recovered code. The process is the same whether you've followed along, or have a new application that you want to release. First, open Tools>ManageApplications from the launcher:

Manage Applications

Right click on the application in the middle pane. Scrolling down, you'll see Version/Release All and Version/Release Selected. We only have one application, so both will work the same way here:

Release

This will pop up a releasing dialog. You can enter a version string (ENVY will provide a new one based on any release history this application has), and a comment:

Create the Version

After some brief activity - the code is already in ENVY, all you're really doing here is updating the version tagging for the loaded edition - the applications browser will update. If you look at the status bar at the bottom, you'll see your new version information:

Released

To see what's changed, quit the image without saving, and launch it again. Now let's go back to the Tools menu in the launcher, and select Browse Application Editions:

Browse Editions

Scroll down to CounterApp, and load the 1.0 edition that you just released:

Load Edition

There's your code - so you can now see how the entire process works:

Loaded Application

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:
[st4u85-iPhone.m4v ( Size: Unknown )]

 Share Tweet This

smalltalk

Cuis and Morphic 3

May 20, 2011 6:22:37.000

Juan Vuletich's talk from Smalltalks 2009 is now available:

The guys from FAST (organizers of the Smalltalk conference in Argentina) uploaded the video of the last talk I gave there. The audio is in English, and the quality is quite good. Thanks, FAST!

Technorati Tags: , ,

 Share Tweet This

fnvdiaryAAC

That Podcast 19: Honest Hearts Conclusion (AAC)

May 19, 2011 22:08:21.974

That Podcast: FNV Diary

Welcome to episode 19 of "That Podcast: An FNV Diary" - a podcast where Michael Lucas-Smith and I document our trials and tribulations in Fallout: New Vegas.

On today's podcast, Michael and James cover the three possible endgames for "Honest Hearts":.

  • Side with Joshua, kill the White Legs. This upsets Daniel
  • Side with Daniel, lead the Sorrows out of Zion. Joshua helps
  • Kill Joshua and Daniel, siding effectively with the White Legs

That wraps up the podcast for the next little while - we'll be back when the next DLC is released!

You can subscribe in iTunes (or any podcatcher) using this feed, or this one for the AAC edition. You can get to the podcast directly in iTunes via this link. You can also go to the iTunes store and leave a comment, or join the Facebook Group and discuss the podcast.

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

Got feedback? Send it to James. We'd really appreciate it if you head on over to iTunes and leave a comment - enjoy the podcast, and we'll see you in the wastelands!

Technorati Tags: , ,

Enclosures:
[fnvdiary19.m4a ( Size: 10927076 )]

 Share Tweet This

fnvdiary

That Podcast 19: Honest Hearts Conclusion

May 19, 2011 22:07:32.014

That Podcast: FNV Diary

Welcome to episode 19 of "That Podcast: An FNV Diary" - a podcast where Michael Lucas-Smith and I document our trials and tribulations in Fallout: New Vegas.

On today's podcast, Michael and James cover the three possible endgames for "Honest Hearts":.

  • Side with Joshua, kill the White Legs. This upsets Daniel
  • Side with Daniel, lead the Sorrows out of Zion. Joshua helps
  • Kill Joshua and Daniel, siding effectively with the White Legs

That wraps up the podcast for the next little while - we'll be back when the next DLC is released!

You can subscribe in iTunes (or any podcatcher) using this feed, or this one for the AAC edition. You can get to the podcast directly in iTunes via this link. You can also go to the iTunes store and leave a comment, or join the Facebook Group and discuss the podcast.

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

Got feedback? Send it to James. We'd really appreciate it if you head on over to iTunes and leave a comment - enjoy the podcast, and we'll see you in the wastelands!

Technorati Tags: , , ,

Enclosures:
[fnvdiary19.mp3 ( Size: 7942889 )]

 Share Tweet This

js4u

JS 4U 57: JQuery Load Function

May 19, 2011 7:04:26.445

Javascript 4 U

Today's Javascript 4 You. Today we look at using the JQuery load() function to update content on a page. Note that to do this, we need to use a web server (here the example uses the built in Apache server on the Mac). This is due to the browser based security against cross-site scripting. 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:

JQuery load()

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:
[js4u57-iPhone.m4v ( Size: 3372879 )]

 Share Tweet This