. .

js4u

JS 4U 248: Draggable Waypoints

February 26, 2013 7:25:59.889

Javascript 4 U

Today's Javascript 4 You looks at draggable waypoints in maps using Javascript. 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:

draggable waypoints

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:

Tags: ,

Enclosures:
[js4u247-iPhone.m4v ( Size: 1145701 )]

posted by James Robertson

 Share Tweet This

smalltalk

Anatomy of a Cheap Win

February 26, 2013 22:56:35.584

I noticed that the app I'm working on does a fair bit of GC right as it starts (this is ObjectStudio). Turns out, there was a really cheap win, as you can see from the results below:


ObjectMemory dynamicallyAllocatedFootprint 78967736
 
ObjectMemory currentMemoryPolicy growthRegimeUpperBound 48000000

Pretty simple - just move the growth regime past the base memory size, and you get an immediate boost. Next up - figure out whether that starting size is optimal.

Tags:

posted by James Robertson

 Share Tweet This

st4u

ST 4U 350: Configurations in Pharo 2.0

February 27, 2013 8:22:20.999

Today's Smalltalk 4 You looks at configurations in Pharo - no more wondering which magical incantation to perform in order to get some code to load :). 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:

Configurations

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:

Tags: , ,

Enclosures:
[st4u350-iPhone.m4v ( Size: 833020 )]

posted by James Robertson

 Share Tweet This

smalltalk

Smalltalk in Minneapolis

February 27, 2013 21:33:40.010

Had dinner tonight with a bunch of Smaltalkers (all of them from CenturyLink) here in Minneapolis. Dave Hasegawa put the meetup together - we took some photos at Hells Kitchen

If you ever get to Hells Kitchen, check out the pictures on the bathroom walls :)

posted by James Robertson

 Share Tweet This

js4u

JS 4U 249: Directions and Distance

February 28, 2013 7:24:40.483

Javascript 4 U

Today's Javascript 4 You looks at the diections service in Google maps. 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:

directions and distance

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:

Tags: ,

Enclosures:
[js4u249-iPhone.m4v ( Size: 913188 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 351: Reflecting with instance variable names

March 1, 2013 10:25:31.567

Today's Smalltalk 4 You looks at reflection using instance variable names. 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:

Reflection.

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 put a few pieces together on reflection in Smalltalk. Let's assume that you've read some data from an external source into a dictionary, with data like this:


dict := Dictionary new.
dict at: 'id' put: 101.
dict at: 'first' put: 'James'.
dict at: 'last' put: 'Robertson'.

Now, what if you want to create an instance of class Person and fill it with that data - but not using the sort of slot binding approach assumed by #instVarAt:put:? Consider the following:


person := Person new.
dict keysAndValuesDo: [:key :value |
	| msg |
	msg := (key, ':') asSymbol.
	person perform: msg with: value].
^person

Notice how we assume that the dictionary keys are the names of variables, and we construct the messages that get sent to the object. Realistically, you would want exception/error handling around that, for cases where the file format and the class format get out of synch - but that's the basic approach, and it's used commonly in Smalltalk.

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.

Tags: , ,

Enclosures:
[st4u351-iPhone.m4v ( Size: 931310 )]

posted by James Robertson

 Share Tweet This

general

The Joys of XBox Live

March 1, 2013 12:15:13.848

You have to love the way big companies operate (other than Apple - the kind of issue I had with MS this morning simply has not happened to me with Apple):

  • My XBox Live automated charge failed - because it tried to use an expired card that I've never been able to remove from the account
  • The email sent me to a billing page, which told me that my Hotmail address had been sending junk mail, so the account was suspended. Which is fascinating, since I don't have a Hotmail account.
  • Then I spent 10 minutes trying to find a phone number on the MS website, after it told me I needed to call.
  • I finally got customer service, and they were able to delete the bad card and get the bill dealt with

This chewed up 45 minutes of my day (most of it on hold). The part I really don't understand is the suspension message, since customer service told me that there was no account suspension. Nice to know that MS can build informative websites....

Tags: ,

posted by James Robertson

 Share Tweet This

itNews

Windows 8 Sinks

March 1, 2013 22:00:24.000

I think this was inevitable - other than gamers (who are always after the fastest/newest equipment), very few people need a new machine - anything made within the last five years or so works just fine for most business needs:

It has now been four months since Windows 8 was released, and the latest figures show that its growth — in terms of market share, mind share, and the number of apps in the Windows 8 Store — is almost at a standstill.

That said, MS can't be happy about this comparison:

It’s a bitter pill to swallow, but Windows Vista actually enjoyed faster growth than Windows 8

Ouch

Tags:

posted by James Robertson

 Share Tweet This

smalltalk

Smalltalk Jobs Site

March 1, 2013 22:19:11.565

James Savidge has moved his Smalltalk blog site. You can subscribe here.

Tags:

posted by James Robertson

 Share Tweet This

smalltalk

Moose 4.7 Ships

March 3, 2013 13:18:10.342

All the details are here.

Tags:

posted by James Robertson

 Share Tweet This

podcast

IM 117: Patching Deployed Applications

March 3, 2013 19:09:10.667

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

This week Dave and I talked about patching deployed Smalltalk applications - there are a few interesting things you can do beyond "replace the entire image", and we talk about some of the approaches

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!

Tags: ,

Enclosures:
[im117.mp3 ( Size: 12867290 )]

posted by James Robertson

 Share Tweet This

podcastAAC

IM 117: Patching Deployed Applications (AAC)

March 3, 2013 19:10:20.182

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

This week Dave and I talked about patching deployed Smalltalk applications - there are a few interesting things you can do beyond "replace the entire image", and we talk about some of the approaches

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!

Tags: ,

Enclosures:
[im117.m4a ( Size: 17800171 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 352: Sample Browser in ObjectStudio

March 4, 2013 8:25:33.729

Today's Smalltalk 4 You looks at the sample browser that comes with ObjectSTudio - a useful repository of simple examples. 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:

Sample Browser

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:

Tags: ,

Enclosures:
[st4u352-iPhone.m4v ( Size: 830801 )]

posted by James Robertson

 Share Tweet This

js4u

JS 4U 250: Using the Elevation Service

March 5, 2013 10:08:01.396

Javascript 4 U

Today's Javascript 4 You looks at the elevation service in Google Maps. 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:

Elevation Service

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:

Tags: ,

Enclosures:
[js4u250-iPhone.m4v ( Size: 1151182 )]

posted by James Robertson

 Share Tweet This