. .

js4u

JS 4U 194: Maps and Language

August 9, 2012 1:02:47.695

Javascript 4 U

Today's Javascript 4 You looks at the specifying the display language used when setting up a Google map in 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:

maps

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

posted by James Robertson

 Share Tweet This

st4u

ST 4U 269: Creating a Web Service in VA Smalltalk

August 10, 2012 11:08:56.368

Today's Smalltalk 4 You starts creating a simple web service in VA Smalltalk. Before you get this far, you'll need to load the required support. 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:

WS*.

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 start setting up a Web Service for a simple application. To get started, here's the simple application: a counter application with one variable, and two methods that we want to advertise. If you need to see what code to load first (the basic VA support code for all of this), then watch this screencast first.

WS* Support

Notice that the methods we want to advertise are in the @WS-API category. That's important; the VA tools that generate the XML look for methods in that category. The next thing to note is the following lines in your ini file (abt.ini if you have not changed the name of your image):

ini

The XML stanza in that file tells you where VA will drop (and where it will look for) any XML files used by the Web Services system. To create the XML files we need, use this:


"Generate XML"
SstWSXmlGeneration  forClass: Counter

There are other variations on that where you can specify other options; we'll leave that aside for now. Once you execute that, look in the directory specified in your ini file:

XML

We'll look at those files in detail next time, and go over the changes you'll want to make to the boilerplate before you use them.

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

posted by James Robertson

 Share Tweet This

travel

The Joys of Travel

August 10, 2012 11:34:21.456

I was scheduled for a 9:15 PM flight last night, so I thought "I have platinum status, I'll go to DFW and see what I can get on earlier". I decided not to try the 5PM flight to DCA, since all they had left were middle seats in the back - the 6:45 to BWI sounded like a better idea. THis, as it happens, was a huge mistake. The 6:45 was oversold, and - even though I was first on the standby list - I didn't get on. Then absurdity began.

First, due to the bad weather in the midwest, some of the flight crew were late. They finally arrived, but then there was a mechanical issue... which dragged on, and on.. and on some more. We didn't leave until after midnight Dallas time, so I didn't get back to my house until learly 4 AM. That wouldn't have been so bad, except that we had scheduled a grocery delivery for 9 AM. I crawled out of bed, made coffee, checked my phone.... and found out that the delivery was delayed up to 5 hours.

I need a nap :)

posted by James Robertson

 Share Tweet This

podcast

IM 90: Xtreams

August 12, 2012 20:40:17.765

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

This week James and David talk about the Xtreams library - a new streaming library created by Cincom's Smalltalk engineers, and since ported (at least in part) to Pharo, Squeak, and Gemstone. You can check out the documentation at the Google Code site, and check the code itself out in the Cincom Smalltalk Repository.

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

posted by James Robertson

 Share Tweet This

podcastAAC

IM 90: Xtreams (AAC)

August 12, 2012 20:41:03.536

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

This week James and David talk about the Xtreams library - a new streaming library created by Cincom's Smalltalk engineers, and since ported (at least in part) to Pharo, Squeak, and Gemstone. You can check out the documentation at the Google Code site, and check the code itself out in the Cincom Smalltalk Repository.

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

posted by James Robertson

 Share Tweet This

st4u

ST 4U 270: Halt Once

August 13, 2012 11:19:41.294

Today's Smalltalk 4 You looks at using "Halt Once" in Pharo. Sometimes, putting a halt in code can be problematic - you would like to just hit the halt once. Today's screencast shows you how to do that in Pharo. 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:

Halt Once

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

posted by James Robertson

 Share Tweet This

news

Are Car Dealers Aligned with You?

August 14, 2012 9:24:30.092

I agree completely with Mike Masnick on App.Net:

But it's flat out ridiculous to suggest that either one is somehow economically pure or has interests more aligned with users. What amazes me, however, is so many people are repeating Caldwell's assertions as if it's absolutely true, when it's clearly not. App.net may turn out to be a success or it may be a complete flop. I hope it succeeds because I like to see new companies innovate and do new things. But if it succeeds it won't be because it's more pure or more aligned with users. It'll be because it just executes better.

Consider car dealers - they offer a service (cars) for a fee. Have you ever really felt like they were "aligned" with you, the customer, when you went through the "let me check with my manager" dance? This notion that fee based services are somehow more pure than ad based ones is ridiculous, and Caldwell is either incredibly naive or deeply dishonest. I hope it's the former.

Technorati Tags:

posted by James Robertson

 Share Tweet This

js4u

JS 4U 195: Maps and RTL

August 14, 2012 9:51:50.684

Javascript 4 U

Today's Javascript 4 You looks at the using rtl languages with Google maps - which doesn't requre you to do anything special. 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:

maps

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

posted by James Robertson

 Share Tweet This

news

Heat Death of a Company

August 15, 2012 9:02:35.774

I've only just seen this story about United's vast incompetence with a child traveling alone - the key part of the story to me is how every single person that the parents talked to tried to push them off. Things like this happened over and over again, after the child in question got stranded in Chicago (no one met her to help her get to ger connection, and believe me - O'Hare can be intimidating to anyone who's not an experienced traveler):

The attendants were busy and could not help her she told us. She told them she had a flight to catch to camp and they told her to wait. She asked three times to use a phone to call us and they told her to wait. When she missed the flight she asked if someone had called camp to make sure they knew and they told her “yes—we will take care of it”. No one did. She was sad and scared and no one helped.

That's a corporate culture problem. There's no easy fix for that, because it represents a break between management and labor that is too wide to bridge over. The only real fix for United here is failure, followed by the parts being swept up by companies that aren't broken. Even then, many of the current employees are going to be problems, because they've been too ingrained in this dead culture...

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

st4u

ST 4U 271: Find References in Pharo

August 15, 2012 9:51:38.643

Today's Smalltalk 4 You looks at reference finding in Pharo - sometimes, you're not sure why an object won't get gc'd, and it turns out that you can find out what the dependencies look like. 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:

Logging

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

posted by James Robertson

 Share Tweet This

smalltalk

Parcel Like Tools for Pharo

August 16, 2012 8:11:12.318

mariano has been extending Fuel to give Pharo the same kinds of code tools that VisualWorks (and ObjectStudio) have with parcels:

Right now the common way to export and import packages in Pharo is by using Monticello (or doing fileOut, which is almost the same). This ends up exporting the source code and then compiling it during the import. Tanker is a tool to export and import packages of code in a binary way using Fuel serializer. Using Fuel enables us to avoid having to compile from sources during the import. Tanker understands the concept of “packages of code” and the correct integration of them into the system. For example, it initializes classes, sends notifications, etc.

If you follow the link there's a lot more explanation, as well as usage instructions. There's also a screencast available

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

js4u

JS 4U 196: Loading Maps in Code

August 16, 2012 9:51:01.937

Javascript 4 U

Today's Javascript 4 You looks at the loading Google maps dynamically, rather than statically via the page header. 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:

Dynamic Maps

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

posted by James Robertson

 Share Tweet This

smalltalk

Spoon 3 Reaches Alpha 4

August 16, 2012 14:12:39.000

Craig Latta has been busy with Spoon.

Technorati Tags:

posted by James Robertson

 Share Tweet This