. .

smalltalk

More Smalltalk Focus

10 August 2010 11:09:39 AM

The Smalltalk group at Cincom has always been focused exclusively on Smalltalk - we're now joined in that focus by Instantiations. eWeek thinks that Google's purchase of the Java business from Instantiations is good for Java and for Smalltalk - they quote Mike Taylor:

“We’re extremely excited about both halves of this new development for the company,” Taylor said. “We’re excited for our Java business to go to Google an excellent home it. And the Smalltalk group is excited about being in a new mode where we can focus on Smalltalk.”

The Smalltalk business just got a whole lot more interesting :)

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

smalltalk

Remembering Camp Smalltalk London

9 August 2010 4:27:56 PM

Here's a video from Camp Smalltalk London, 2010 - it's a montage of various things that happened during the event, some with audio from the original video, some with a musical background. To watch, click on the embedded video below - You can also just click on this link to go to YouTube directly.

You can follow the Smalltalk channel on YouTube for all the "Camp Smalltalk" videos.

You can download the video directly here. If you need the video in a Windows Media format, then download that here. If you like this kind of video, why not subscribe to "Smalltalk Videos"?

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

smalltalk

Instantiations Changes

4 August 2010 9:20:25 PM

Huge Smalltalk business news: Google acquired the Java/Eclipse business from Instantiations, and Instantiations is now a Smalltalk focused company. Quote from the site:

The new Instantiations will focus entirely on Smalltalk and remains fully committed to supporting and evolving the products we all know and love!

Big changes in the Smalltalk world...

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Not Heading to ESUG

4 August 2010 11:25:14 AM

Sadly, I won't be going to ESUG this year - so the videos I normally shot at the conference won't be appearing, either here or over at my Cincom blog. I'll be following the action remotely via Twitter, Facebook, and whatever other links I turn up, of course. Hope everyone there has a good time, and I'll miss catching up with you.

If anyone has raw video after the conference they would like to have me host, let me know - I have a DropBox account, and that would be a simple way to get stuff to me.

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

Comparing Versions

3 August 2010 4:37:24 PM

One of the cool new things in VW 7.7.1 is the comparison tool. In a BottomFeeder development image, here's the result of comparing the most recent version of a package to an older one:

Here's one of the changes opened up, with the changed segement highlighted:

Now, if the various things on the screen for this tool don't seem clear, just hit the help button on the top at the right:

posted by James Robertson

 Share Tweet This

smalltalk

Seafox for Seaside

2 August 2010 10:15:14 PM

Joachim wrote about Seafox again - it's an interesting idea: a Firefox plugin (look in the lower right corner of the browser for the icon) that examines the page you're on and drops Seaside code into the browser window for it.

It's a neat idea, but I have two caveats after having given it a brief try:

  • The methods it generates are huge - if you use this, be prepared for some serious refactoring :)
  • Given the wide range of pages out there, YMMV with the results. In my initial attempts, I ran into results that didn't work out

Now, before I end up sounding too negative, it's an 0.1 release, and it's absurd to expect such a thing to handle every web page out there. It's a cool idea, and could give you a nice start from a designer's proposed page layout.

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

HTML to Seaside

1 August 2010 5:12:05 PM

Spotted in Planet Squeak

Nick released Seafox.xpi - a small plugin for Firefox that translates a websites HTML into the appopropriate seaside methods.

I'd have to look before I judged the effort, but it sounds interesting.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Reddit Style in 10 Classes

30 July 2010 9:24:01 AM

Check out Sven van Caekenberghe's Smalltalk tutorial - using Seaside and Glorp - to implement a Reddit style site in 10 classes. Using a service like the one I have here (Slicehost), going from this tutorial to deployment would be pretty easy.

This is a tutorial showing how to implement a small but non-trivial web application in Smalltalk using Seaside, Glorp and PostgreSQL. Reddit, is web application where users can post interesting links that get voted up or down. The idea is that the 'best' links end up with the most points automatically. Many other websites exist in the area of social bookmarking, like Delicious, Digg and Hacker News.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Still Wrestling with OAuth and VW

29 July 2010 9:23:38 AM

I'm still trying to get things going with VisualWorks and OAuth - I just realized that the timestamp needed to be in terms of GMT, not whatever my local time is. Makes perfect sense, just hadn't thought about it.

I'm still getting a 401 back from Twitter though; it's likely that my Authorization header isn't structured correctly. I'll have to take a very close look at it, after the next conference call. Later today I'll publish what I have to the public store, in the hope that maybe someone else can tell me what stupid thing I'm doing wrong :)

Update: I just replicated what I have to the public store. If you're inclined to help out, you'll need your own set of keys from an OAuth based system. Look for the OAuth package.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

A Smalltalk Thread Pool

29 July 2010 8:22:25 AM

Ramon Leon talks about his implementation of a thread pool for Smalltalk (in the context of a Seaside app):

I had a search result page in Seaside that launched about 10 background threads for every page render and then the page would poll for the results of those computations, collect up any results found, and AJAX them into the page. Each one needs to run in its own thread because any one of them may hang up and take upwards of 30 seconds to finish its work even though the average time would be under a second. I don't want all the results being stalled waiting for the one slow result, so it made sense to have each on its own thread. This worked for quite a while with nothing but simple forking, but eventually, the load rose to the point that I needed a thread pool so I could limit the number of threads actually doing the work to a reasonable amount. So, let's write a thread pool.

It's easy to think that threads in Smalltalk are "free" - they are green threads, so what the heck - let's use more! However, you will (as Ramon writes) eventually hit a wall. I ran into one in BottomFeeder years ago, for slightly different reasons.

In BottomFeeder, I fork a Smalltalk process for each http request during an update loop. I subscribe to over 200 feeds, so that can amount to a lot of threads simultaneously clamoring for bandwidth. On my (fast) home connection, this was never a problem. However, back in the early 2000's, I was still running into dialup on the road at times, and even now, I periodically run into very slow Wifi. On slow connections, forking off that many processes just hurts more than it helps - so I wrote a thread pool into Bf.

What I should have done is what Ramon did - write a more general solution instead of burying it inside an app. However, it does show that this is something you might need, especially in the modern world of frequently (or always) connected apps.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

Previous Next (1106 total)