. .

smalltalk

Testing Code

March 23, 2011 14:10:13.000

Leandro Caniglia has gotten a paper he wrote about testing (in the context of a large application he's involved in) in the magazine "Testing Experience". I can't link directly to the article (looks like you need a subscription) - but as I post this, the title of the paper:

Testing PetroVR, a software solution for the Oil & Gas Market

Is in the index.

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

Cog VM at Google Code

March 23, 2011 9:30:29.037

Eliot's Cog VM for Squeak and Pharo now has a Google code project.

Technorati Tags: , , ,

posted by James Robertson

 Share Tweet This

st4u

ST 4U 60: Starting another Image from Pharo One Click

March 23, 2011 7:59:33.590

Today's Smalltalk 4 You looks at running an image you saved after starting up a "one click" pharo image. 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:

Pharo One Click Saves

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

posted by James Robertson

 Share Tweet This

gadgets

Will Amazon be the Next Big Tablet Player?

March 23, 2011 6:31:51.362

Business Insider ticks off all the pieces that Amazon has already put in place - they have the full retail experience down pat. If they released an Android based tablet, they would probably blow all the other Android players over to the sidelines and quickly become the main alternative to Apple. It all makes sense, too.

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

stupidity

Oh Noes, the Web is Broken

March 22, 2011 15:20:11.628

In the overblown worries department:

Even bigger change came with the rise of social networks and various web apps. Every day more content is hidden in the walled gardens of the web, like Facebook or Twitter, behind the fence of login and password. Just think about it: how much interesting content have you discovered in your friend’s updates, notes and tweets? This content is invisible to Google and other search engines, it’s not backed up by wayback machine or proxy servers. The number of people seeing only the things recommended by their social circle is growing.

Well gosh, a decade ago, Google wasn't indexing my conversations with friends after a golf game, either. How private conversations on Facebook and Twitter differ from that sort of thing is an exercise left to the sane....

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

GNU Smalltalk 3.2.4 Released

March 22, 2011 11:34:20.362

GNU Smalltalk 3.2.4 is out - download it here, and go visit the website for the details on what's new.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

js4u

JS 4U 40: Changing an Element's Attributes

March 22, 2011 7:43:36.943

Javascript 4 U

Today's Javascript 4 You. Today we take a look at using Javascript to modify an attribute of a specific DOM element. 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:

Attribute Modification

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

posted by James Robertson

 Share Tweet This

management

Complex Pricing = Lower Sales

March 22, 2011 6:32:16.457

Here's an idea I've been hammering on for years - complicated pricing kills sales:

One thing many companies — in any industry — can learn from Apple is the importance of simple pricing. If you make it easy for people to understand how much they’re paying, and what they’re paying for, it is more likely that they’ll buy it. Or perhaps this is driven more by the converse: if people are confused about how much they have to pay, they’re more likely not to.

That's obvious, and yet so many companies miss it. You'll often hear that "the Enterprise is different", but remember - purchasing agents are just people too, and if they can't follow your pricing they'll get every bit as jumpy as anyone else.

Also, clear pricing doesn't have to mean low pricing. Apple certainly isn't found in the bargain aisle at the Dollar store...

Update: Along the same lines as this post, I got an email this morning that had this in it:

I’m shocked at how difficult it is to buy a copy of VisualWorks! I couldn’t find a link on the site: “Buy this software” I ended up leaving a generic message.

Make it hard to buy your software, and you'll needlessly limit the size of your user base.

Technorati Tags:

posted by James Robertson

 Share Tweet This

general

So Long Unlimited Data

March 21, 2011 8:17:33.425

I finally pulled the plug on my unlimited iPhone data plan - I needed to travel to NYC this morning, and I needed network access. The Acela has WiFi, but when it's your own nickel, it's a bit pricey (which is really something that the HSR backers need to consider).

Anyway - a quick phone call to AT&T and I was sharing a hotspot with my Mac, my work laptop, and my daughter's Mac. I can work, as the VPN connection worked out as well. A bit slower than what I'm used to at home, but hey - it works. I'll have to watch the b/w usage; I already explained to my daughter that streaming video is not something we want to use on this :)

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

st4u

ST 4U 59: Loading Seaside From Scratch

March 21, 2011 5:27:10.207

Today's Smalltalk 4 You looks at loading Seaside into a base Pharo image from scratch, using Monticello. 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:

Loading Seaside

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

posted by James Robertson

 Share Tweet This

podcastAAC

Independent Misinterpretations 22: Smalltalk Solutions 2011 (AAC)

March 20, 2011 12:44:42.739

Welcome to episode 22 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson, Michael Lucas-Smith, and David Buck. This week's podcast was recorded at Smalltalk Solutions 2011 with James Savidge, after day one. We went over the talks we attended, what we thought, and our general impressions of the event.

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

posted by James Robertson

 Share Tweet This

podcast

Independent Misinterpretations 22: Smalltalk Solutions 2011

March 20, 2011 12:44:32.399

Welcome to episode 22 of Independent Misinterpretations - a Smalltalk and dynamic language oriented podcast with James Robertson, Michael Lucas-Smith, and David Buck. This week's podcast was recorded at Smalltalk Solutions 2011 with James Savidge, after day one. We went over the talks we attended, what we thought, and our general impressions of the event.

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

posted by James Robertson

 Share Tweet This

games

Thoughts on Dragon Age 2

March 19, 2011 17:13:55.321

The Hawke Files

I've been playing Dragon Age 2 on both on both my Mac and the XBox - and I have to say, it's been easier on the Mac. Why?

In DAO, you could run a lot of the combats as a button mashing exercise. In DA2, right through Act 2, you really need to run things more tactically. On the Mac (or PC), that's far easier. You can have each character target a specific enemy much, much more easily. Either way though, I'm enjoying the game quite a bit.

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

social media

Digg Fades

March 19, 2011 10:37:34.539

The whole genre of sites such as Digg seems to be fading. Reddit is suffering a brain drain, and over at Digg, even the founder doesn't use it much. Computerworld explains why:

Getting on the front page of Digg was everything, because the site's millions of users used to read the front page like it was the morning paper. The early movers who collected a lot of friends were able to get even more friends by getting on the front page. A Digg aristocracy emerged. Influence on Digg became a winner-take-all system, with the majority locked out of meaningful participation.

Which made it not terribly different than any arbitrary news site - editors promote stories either way, it's just that the Digg system involved a more ad hoc set of editors who had self selected at some point in time. Even if you posted a story before one of the editors did, you just wouldn't get the votes - they would. That drives a kind of "meh, why participate" mindset, which in turn closes the circle of participation even more. Rinse repeat a few times, and you effectively have an old style writer/editor cycle.

Their handling of messaging just exacerbated things; follow the link for that bit. At the end of the day, I think Facebook became what Digg could have been.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

news

The Long Arm of Legacy Systems

March 18, 2011 8:48:23.295

Sometimes, a seemingly inocuous decision has long shadows. Consider the rolling blackouts in Japan - which are exacerbated by choices made well over a century ago:

The AEG equipment produced electricity at Europe's 50Hz (hertz, or cycles per second) standard while the General Electric gear matched the U.S. 60Hz standard. That probably didn't seem important at the time -- after all, light bulbs are happy on either frequency -- but the impact of those decisions is being seen today. All of eastern Japan, including Tokyo and the disaster-struck region to the north, is standardized on 50Hz supply while the rest of the country uses 60Hz.

Without enough changing stations (they only have enough to handle 1 GW), they can't share power across that divide. Makes you wonder how many "we really ought to update this" meetings took place over the last century that ended with "nah, we have other priorities right now". Now relate that sort of thing to wherever you work and the legacy systems you have lying around. Less critical to be sure, but still....

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

smalltalk

Summer of Smalltalk

March 18, 2011 8:22:51.000

Spotted in Planet Squeak:

Google Summer of Code is a global program sponsored by Google that offers student developers stipends to write code for various open source software projects. The Smalltalk community has a successful record of participation in the scheme, under the aegis of ESUG in recent years, and our organisers are looking for students and ideas, (and even better, students with ideas) for our entry in this year’s programme.

Technorati Tags:

posted by James Robertson

 Share Tweet This

travel

Comedy of Travel Errors

March 18, 2011 6:30:53.167

I had a fairly epic "if it can go wrong, it will" sort of day yesterday - here's what happened:

  • Leave Vegas on a RedEye flight (I consider that to be a mistake I made)
  • Leave Minneapolis (I was flying Delta) the next morning. Flight develops electrical trouble, diverts to Madison, Wisconsin
  • Go to breakfast after Delta announces it's on them, down the corridor
  • While I'm there, they rebook a few passengers who waited onto a flight to DCA. The rest of us end up on a 3:30 flight back to Minneapolis, connecting to a flight that arrives at BWI at 10:30
  • Pull out the work laptop, thinking I'll get work done. Said laptop won't boot up
  • Finally board flight back to Minneapolis, wait there for 2 hours. Fill one of them with a conference call
  • Finally fly home
  • Arrive home, remember that I emptied some extra supplies from my bag - one of which is a spare power supply. Discover that the thing that broke was the power supply I decided to take

It was that sort of day.

posted by James Robertson

 Share Tweet This

travel

More Travel Fun

March 17, 2011 9:53:44.693

Apparently, taking the redeye from Las Vegas wasn't enough excitement. I was dozing off on my connection from Minneapolis to BWI when the flight attendant announced that the plane had "an electrical problem", and we were diverting to Madison. I wasn't worried, since there wasn't an obvious problem. When we got here there were emergency vehicles all down the runway, and they had us towed to the gate rather than using the plane's power. Then there were firemen meeting the plane, both outside and in the jetway. So.... I'm guessing that we won't just be hopping back on that same plane after a brief stop :)

Bottom line, I have no idea how long I'll be stuck here. My trip just got longer :/

Update: Well, things are defined, but not well. I'm catching a flight from here at 3:30, and then I get a 2 1/2 hour layover in Minneapolis, before I fly from there to Baltimore. That gets in at 10:30 PM. This day just keeps getting longer :)

posted by James Robertson

 Share Tweet This

travel

The Redeye Seemed like a Good Idea...

March 17, 2011 7:09:41.855

I can't complain about the flight itself - it left on time, and arrived early. It's just that I had forgotten how painful overnight flights are :) Going through the day on the short sleep you manage on a 3 hour overnight flight just doesn't cut it :)

posted by James Robertson

 Share Tweet This

games

Dragon Age Legends

March 16, 2011 21:43:26.000

There's a Dragon Age game for Facebook that's launching

posted by James Robertson

 Share Tweet This

smalltalk

Georg Heeg Closes out StS 2011

March 16, 2011 17:22:02.850

The conference is ending - Georg is sending us off with a few closing remarks. It was a fun conference, and I've recorded most of it on my H2 Zoom (I think the audio quality is fairly good). Additionally, STIC has been shooting video, although I have no idea how long it will take to get that online. I do know from experience that video editing is very time consuming :)

Good conference, and I hope to see people again next year!

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Smalltalk and Lucene

March 16, 2011 17:02:37.700

Last talk of the day and of the conference - Dorin Sandu is talking about integrating Lucene with Smalltalk, so that he didn't have to create his own search tools for the large amounts of data that he deals with on a regular basis.

He wanted something small and fast, but also mature with a community to interact with - which is how he got to Lucene. Rather than reproduce the bullet points about Lucene, I'll send you to the website.

The demo is cool - he replaced the existing search facilities in BottomFeeder (which are pretty basic) with Lucene. The kinds of queries that Lucene supports are way, way better than the simple stuff I did :)

Technorati Tags: , , ,

posted by James Robertson

 Share Tweet This

smalltalk

Polycephaly

March 16, 2011 14:29:55.912

It's tag team time - Arden Thomas is talking about Polycephaly, and Andreas Hiltner is going to do a demo of using ObjectStudio. Here they are, getting started:

That first link above goes through what Polycephaly is - a way to use multiple Smalltalk images to take advantage of multi-core systems - I'm not going to go into detail here.

Update: Speaking of Polycephaly, Runar Jordahl has written up his experiences using it.

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

smalltalk

Hidden Debugging Gems in VW, OS, and WebVelocity

March 16, 2011 14:21:42.882

James Savidge works in Cincom support, and he's talking about ways to make your life easier when you need to debug problems that crop up. The first thing he did was a gentle - and funny - request for people to Read the Fine Manual :)

First tip: Remember the file browser, which can give you a quick view of either bytes or formatted source (depending on what you're looking at) of files. Next, he's going through the profiler (and the multi-allocation profiler), which a lot of people forget. I can attest to that - I don't know how many times I've been helping someone track a problem, and had them be surprised when I pulled out the profiler.

There's also the Memory Monitor (contributed), which can help quite a bit. It includes extensive logging facilities. Back when I was at Cincom, I covered this next bit pretty deeply in my screencasts - the various kinds of probes you can insert for information or debugging using the debugger.

Now a newer tool that I'm not familiar with - the benchmarking tool, which originated in ObjectStudio, but now also works in VW. Since it's a UI driven tool, it won't work headless.

Next, he's going over a tool that I've found to be very helpful - the logging for the various network protocols. When you don't know why your protocol requests are failing, this will let you see the traffic exchanges in detail.

As basic as it sounds, don't forget the Transcript (or the new #out message, which came from ObjectStudio). It's highly useful in server apps, because you'll typically toss the Transcript to a file. I've used that a lot.

Need to watch message sends - the Spy Tool (VW and OS) does that. It does not work in Web Velocity yet.

This next bit is something a lot of people are unaware of - command line options for the VM and image.

James is recommending my screencasts (the ones I did at Cincom). Those are still quite useful, but they aren't being updated now - so as time goes by and new releases of the Cincom products go out, they'll get more and more dated.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

Calling Foreign Functions from Gemstone

March 16, 2011 13:04:01.934

I missed the first 10 minutes or so of Martin McClure's talk - I suddenly developed a cough, and it looked like I was going to disturb his talk. So, I grabbed coffee while he started doing his demo. Here's Martin:

His first demo showed the way they used to do things (largely by hand), which worked, but was tedious. Now he's showing the newer, less ad-hoc code. It looks like they can parse a standard C header file, and extract out the available functions and create a wrapper class (an awful lot like DLLCC, but he's doing it from a workspace as opposed to a tool). One nice thing - you can filter to limit the plethora of things such a thing might try to wrap if you just let it go on its own.

What comes out of that is a wrapper class with a ton of Class Variables, each of which represents an interface to one of the generated functions. Absent the pragmas, the methods that get generated look a lot like what DLLCC generates in VW. One nice thing - the wrapper includes the segment of the header file that became the interface in question, so you can see how you ended up where you are. That makes it a bit easier to hack on things that it doesn't get quite right.

And of course, you can download their 64 bit work and try this stuff yourself.

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

smalltalk

Tea Time for Smalltalk

March 16, 2011 12:02:16.045

It's Wednesday morning, and MIke Hales is telling us about TeaTime - an efficient messaging system (implemented originally for Croquet) that he ported to VisualWorks for use in the application that he's working on. It sounds pretty cool - here's Mike:

You can learn a lot more about TeaTime from the Wikipedia page for Croquet, which says the following:

TeaTime is a scalable real-time multi-user architecture that is the basis for Croquet's object-object communication and synchronization. It is designed to support multi-user applications that can be scaled to massive numbers of concurrently interacting users in a shared virtual space.

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

smalltalk

SandCastle Themes for Pharo

March 16, 2011 5:39:10.000

New Themes for Pharo:

Patrick Barroca announced two additional themes for Pharo 1.2. You can download them from Squeaksource.

Technorati Tags:

posted by James Robertson

 Share Tweet This

smalltalk

Riak Interface for Pharo Smalltalk

March 16, 2011 1:35:56.000

Spotted in The Hitchhiker's Guide to ...

Riak is a scalable database (written in Erlang, C and a little bit of JavaScript) that is being used in production by companies like Mozilla and Comcast. It is based on Amazons Dynamo using key-value storage (bucket-keys to be exact). It has peer-to-peer replication without a specific master - this allows for a fault-tolerant system.

Runar Jordahl created the interface, in Pharo 1.1

Technorati Tags:

posted by James Robertson

 Share Tweet This

da2diaryAAC

The Hawke Files: The Champion Arrives (AAC)

March 16, 2011 1:25:17.291

The Hawke Files

Welcome to episode 1 of "The Hawke Files" - a podcast where Michael Lucas-Smith and I document our journey through Dragon Age 2.

On today's podcast, Michael and I kick things off with a discussion of all of the quests that flare up before you do the Deep Roads expedition. There are a lot of them, and you should finish them off - because once you head into the Deep Roads, that part of the game transitions into act 2.

You can subscribe in iTunes (or any podcatcher) using this feed, or this one for the AAC edition. We should have something set up with iTunes directly soon; check the site for more info on that, 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. Please join the Facebook group and let us know what you think!

Technorati Tags: , , ,

Enclosures:
[hawke1.m4a ( Size: 8402173 )]

posted by James Robertson

 Share Tweet This

da2diary

The Hawke Files: The Champion Arrives

March 16, 2011 1:25:01.461

The Hawke Files

Welcome to episode 1 of "The Hawke Files" - a podcast where Michael Lucas-Smith and I document our journey through Dragon Age 2.

On today's podcast, Michael and I kick things off with a discussion of all of the quests that flare up before you do the Deep Roads expedition. There are a lot of them, and you should finish them off - because once you head into the Deep Roads, that part of the game transitions into act 2.

You can subscribe in iTunes (or any podcatcher) using this feed, or this one for the AAC edition. We should have something set up with iTunes directly soon; check the site for more info on that, 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. Please join the Facebook group and let us know what you think!

Technorati Tags: , ,

Enclosures:
[hawke1.mp3 ( Size: 6088636 )]

posted by James Robertson

 Share Tweet This