. .

smalltalk

GemStone in Cloud Foundry on github

April 16, 2012 23:47:29.000

James Foster has updated the stuff he presented at the STIC conference last month:

I have consolidated and updated my changes to Cloud Foundry to accomodate GemStone/S 64 Bit and have the changes on github. You can use that code rather than the recent series of posts that are now a bit outdated. I will be making additional updates as I add multi-machine capabilities to reflect some of the things learned in preparing for last month’s STIC presentation. Stay tuned!

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

gadgets

So Much For Convergence

April 16, 2012 13:31:09.462

Never mind the legal hassles Apple is having in Australia over the 4 G thing - the larger issue is that 4G networks around the world are not converging on a standard:

In its grievance, the ACCC has contended that labeling the tablet "iPad Wi-Fi + 4G" in Australia is misleading since the device's flavor of 4G doesn't work in the country. Australia does offer 4G service through its Telstra carrier. But that service operates under an 1800MHz frequency band, according to ZDNet Australia, while the iPad requires 700MHz or 2100MHz frequencies for 4G. Hence, the two are incompatible, leaving Australian 4G iPad buyers stuck at 3G.

There was some hope that going to 4G would "fix" the international standards problem, but apparently not...

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

st4u

ST 4U 220: Time Profiling in VisualWorks

April 16, 2012 9:19:52.570

Today's Smalltalk 4 You looks at the Time profiler in VisualWorks. The same tool works in ObjectStudio, even though that's not being shown here. 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:

Profiling

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

posted by James Robertson

 Share Tweet This

news

The Death of (Some) Retail

April 15, 2012 22:35:45.000

There's been a lot written about "the death of retail" lately, but I think this analysis really gets to the heart of the matter:

As people get richer, and goods get cheaper, and consumers become more interested in the total buying experience (all things that Virginia documents) it may be that the appeal of Big Box stores -- whose approach consists of giving you far less service in exchange for lower prices -- may decline, and the appeal of old-fashioned specialty stores, where the salespeople know their products, and their customers, may come back.

Big Box stores are competing with Amazon (et. al.). There's no way to win there; having no retail space and no floor staff will always be cheaper (regardless of what happens with sales tax disputes). If you know what you want, and are willing to forgo service, there's just no need to ever visit a big box store. I think that spells trouble beyond Best Buy; ultimately, I suspect stores like Wal-Mart and Target will have trouble, too.

I wouldn't be surprised to see retail bifurcate into smaller, "high value" shops and online (low price). That doesn't leave a lot of room for the big box outfits.

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

The History of Smalltalk

April 15, 2012 12:20:40.387

David Buck has put together a "genetic history" timeline chart for Smalltalk implementations.

When you get there, click on the image for the full size view.

posted by James Robertson

 Share Tweet This

podcastAAC

IM 73: STIC 2012 Final Wrap (AAC)

April 15, 2012 9:35:43.473

Welcome to episode 73 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson and David Buck.

This week Dave and I wrap up talking about the STIC 2012 conference - all that's left now is the wait for the videos. There were a few talks that slipped past us in the last few podcasts - that's what we spoke about here.

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

posted by James Robertson

 Share Tweet This

podcast

IM 73: STIC 2012 Final Wrap

April 15, 2012 9:34:52.067

Welcome to episode 73 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson and David Buck.

This week Dave and I wrap up talking about the STIC 2012 conference - all that's left now is the wait for the videos. There were a few talks that slipped past us in the last few podcasts - that's what we spoke about here.

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

posted by James Robertson

 Share Tweet This

copyright

Copyright gets Dumber

April 14, 2012 18:39:30.449

It's not limited to the US - witness Canada Post:

Canada Post has filed a copyright infringement lawsuit against Geolytica, which operates GeoCoder.ca, a website that provides several geocoding services including free access to a crowdsourced compiled database of Canadian postal codes. Canada Post argues that it is the exclusive copyright holder of all Canadian postal codes and claims that GeoCoder appropriated the database and made unauthorized reproductions.

The company in question crowdsourced the postal codes, but either way - how can a set of postal codes be copyrighted? I'll say it again - abolishing copyright completely would be an improvement over what we have now. It's hardly the best solution, but it does tell you just how bad I think things are now...

posted by James Robertson

 Share Tweet This

smalltalk

Summer of Smalltalk

April 13, 2012 21:55:54.000

Looks like there are 13 Smalltalk projects in the Google Summer of Code this year:

Wonderful news, we got 13 "slots" from Google, that is, 13 students and their proposals will be accepted for Google and they will receive stipendiums if they will do their projects right. More exactly, part of 4500 USD immediately, part after interim evaluation and part at successful finish of their projects.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Dr. Geo 12.04 Released

April 13, 2012 17:04:14.000

Spotted in Planet Squeak

Hilaire Fernandes is pleased to announce you Dr. Geo release 12.04, based on Pharo 1.4, for GNU/Linux, Windows, Mac OSX and OLPC XO laptop.

You can get all the details and download links here

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

st4u

ST 4U 219: Creating a Visual Part in VA Smalltalk

April 13, 2012 10:51:48.185

Today's Smalltalk 4 You adds a UI that connects to the timer (non visual) part we created last time. 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:

Parts.

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 create a visual part in VA Smalltalk, and hook it up to the non-visual part we created last time. Here's the end result - we'll walk through the steps, taking the connections one by one, from the top of the screen down:

Connections

First, how did we add the non-visual part? We used the "add part" menu option in the composition editor, and selected the part by browsing for the name. It appears as a "puzzle piece", since there's no UI. To connect up the #timerFired event to a script, right click on the part, and select "connect". When presented with options, select the script - you'll add a #beep method:

Beep

The code for that is as follows:


beep
	CgDisplay default bell: 20

That will simply play a tone when the timer fires - that way we can tell whether our hookups worked. The properties for this look like this:

Connection

To get the UI parts on the canvas, simply select them in the toolbar at the top of the window, click on the canvas below, and move them around. To set properties, double click - you'll need to set the input field to be an integer, for instance.

Next, create a connection from the input field to the timer object. Hook up the "Object" (value) attribute of the field to the length attribute of the timer. Now when we enter a value, it will flow to the timer object:

length

Now create a connection from the checkbox to the repeat attribute (which we set up as a boolean) in the timer. If checked, this will run our timer repeatedly:

repeat

Next, we need to hook up the start and stop buttons. Create one connection for each to the timer - hook up "clicked" to the start and stop actions respectively:

Start

Stop

Now use the Test menu option. The UI should come up. Enter 1000 (this is milliseconds) in the input field, and then hit the start button. You should get a tone if you have it all set up properly.

App

That just about wraps it up - version this off in ENVY so you can continue with it later - you've just hooked up your visual and non-visual parts in VA Smalltalk.

Save

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

posted by James Robertson

 Share Tweet This

js4u

JS 4U 148: X and Y Locations

April 12, 2012 8:48:26.651

Javascript 4 U

Today's Javascript 4 You looks at the finding the X and Y location of an event 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:

Location

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

posted by James Robertson

 Share Tweet This

smalltalk

Cairo on VisualWorks

April 12, 2012 7:52:57.758

Travis explains what's coming down the pike.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

st4u

ST 4U 218: Creating a Non-Visual Part in VA Smalltalk

April 11, 2012 12:22:44.398

Today's Smalltalk 4 You looks at creating a new part (non-visual) using the VA Smalltalk parts editing tools. In the next screencast, we'll use the part created here in a UI. 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:

Parts.

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 create a non-visual part in VA Smalltalk. IN our next tutorial, we'll integrate this part into a visual one. To get started, open the organizer - which opens automatically in a new VA image:

Organizer

Enter an application name, let the rest default, and hit ok. When the Composition editor opens, you can close that - we won't need it yet. Instead, from the defining window, create a new part. Give it a name, and set it to be non-visual:

Part

In the View menu, switch to the public interface editor. We need to add some attributes (instance variables), actions, and events. For the latter ones we'll be using the script editor to add Smalltalk code.

Script Editor

Add length and repeat. For repeat, set the object type to Boolean. Then change the tab (top of the tool) to events - we need to add an event, timerFired:

Events

Next, change the tab to actions, and set up stop and start as actions (they will start and stop the timer):

Actions

Now that we've done all of that, pull down the "File" menu, and select "Generate Default Scripts". You should see the following:

Generate

Generation Options

Hit Ok, and then we can open a browser up and see what we have:

Browser

While you're in the browser, add an instance variable - "timer". That will be the actual timer object. Once we have that, we need to go back to the editor, and change back to the script view. We'll now add some methods for #start, #stop, and #timerFired (the latter being the event that happens when our timer goes off):

Script Editor

The code you'll add is below. For each method, select "New Method Template" from the method menu, and then add the code. You can also just add these in the stock browser; either way, they end up in the same place:

Script Editor


start
	"Perform the start action."

	timer := CwAppContext default
					addTimeout: self length
					receiver: self
					selector: #eventTimerFired:
					clientData: nil.

stop
	"Perform the stop action."
	
	timer notNil ifTrue: [CwAppContext default
	removeTimeout: timer ].

eventTimerFired: anObject
	"Notify other parts that the timer has expired."

	self signalEvent: #timerFired.
	timer := nil.
	self repeat ifTrue: [self start].

That just about wraps it up - version this off in ENVY so we can continue with it later - you've just created a reusable, non-visual part in VA Smalltalk.

Save

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

posted by James Robertson

 Share Tweet This

copyright

Destroy the Internet to Save the Internet

April 11, 2012 8:34:54.148

The MPAA is back to their tried and true approach - if we just destroyed the internet, everything would be fine. Here they are arguing that embedding copyrighted content should be as big a violation as hosting it. There's a problem with both theories, but first, here they are:

"Although there is nothing inherently insidious about embedded links, this technique is very commonly used to operate infringing internet video sites," the organization writes. "Pirate sites can offer extensive libraries of popular copyrighted content without any hosting costs to store content, bandwidth costs to deliver the content, and of course licensing costs to legitimately acquire the content." The MPAA also notes that embedding can enable sites to monetize infringing content by surrounding it with ads.

Let's walk that back to something far more inocuous that would get caught up in that mess. I do a screencast every day. Let's say that when I do one later today, I forget to turn the music off on my other Mac, which is playing songs through my stereo. In the background of the video, you can vaguely hear the music. Now let's say that other people like my demonstration enough that they embed my video on their site.

The MPAA would call my inadvertant use of the music a violation - that's crazy enough. They now want to drag into their net anyone who linked to it, or embedded it. If that view ends up winning it's the end of sharing - how would you ever feel safe linking to anything if the MPAA could come after you over it? And before you say that you could still link if you were careful, consider domains changing - the perfectly nice site you link to today could end up being a content farm tomorrow. They couldn't get SOPA through the legislature, but it looks to me like they want to route the same effect through the courts. Given the level of technical expertise in that arena, we should be very afraid.

posted by James Robertson

 Share Tweet This

blog

Downtime

April 10, 2012 16:37:28.417

Sometime in the next 24 hours, this site is going to go down briefly - my hosting provider is doing a hardware migration, and my VPS is one of the ones being moved. I've backed everything up in case of raw disaster, but I don't really expect any problems - just a slight hiccup while they do the actual move.

Update: It's been done, so things are back to normal.

posted by James Robertson

 Share Tweet This

js4u

JS 4U 147: Event Data

April 10, 2012 10:16:00.706

Javascript 4 U

Today's Javascript 4 You looks at passing data to an event handler 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:

event data

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

posted by James Robertson

 Share Tweet This

games

Can We Get Better Reporters?

April 9, 2012 9:41:29.390

This is so not the issue with the ending of Mass Effect 3:

The company is now devoting all of its efforts to producing an "extended cut" DLC for the summer, but fans expecting a fourth ending where they can watch Commander Shepard on a sun-lounger, margarita in hand had better start complaining now -- the new content will only offer more depth and an extended epilogue to those tragic scenes you've already witnessed.

The issue is far simpler: the endings - based on established canon - render all of Shepard's choices moot, as the destruction of the relays destroys all extant galactic civilizations. Period. as I've said before, BioWare will retcon that - it's all a matter of when. They either do it now, and have some chance of not looking like complete idiots - or they do it later, when it finally dawns on Casey Hudson that future storytelling in the ME setting has been destroyed.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

st4u

ST 4U 217: Searchlight

April 9, 2012 9:28:28.730

Today's Smalltalk 4 You looks at the Searchlight tools in VisualWorks (also available in 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:

Searching

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

posted by James Robertson

 Share Tweet This