podcast

Industry Misinterpretations 135: Dynamic Returns

May 10, 2009 10:56:00.707

Randal Schwartz Here's another talk from our one day event in Minneapolis on April 29: Randal Schwartz' "Dynamic Returns" presentation. It's all about why dynamic languages are good, and exposes a number of myths about the supposed strengths of static languages in comparison. You can grab the slides here, and check Randal's blog for more info.. I'll be posting the video of his talk on Monday, and you'll be able to see the slides in that as well. To listen now, click here.

If you have feedback, send it to smalltalkpodcasts@cincom.com - or visit us on Facebook or Ning - you can vote for the Podcast Alley, and subscribe on iTunes. If you enjoy the podcast, pass the word - we would love to have more people hear about Smalltalk!

Technorati Tags: , ,

Enclosures:
[http://www.cincomsmalltalk.com/audio/2009/industry_misinterpretations135.mp3 ( Size: 12751425 )]

 Share Tweet This

news

Hyper-Local - There's no there, either

May 10, 2009 12:48:05.225

One of the things I've seen pushed as a way forward for newspapers is hyper-local focus. Heck, I've pushed the idea myself. However, I've been thinking about that, and decided that there's not really much there for newspapers, either. Why?

Well, the audience for that stuff is very limited to begin with. There just aren't that many people in an area interested in local high school sports or local council meetings (at least, not in an advertising supported or subscription supported model, anyway). There's another problem, too - go and sit in on a few local meetings, and you'll discover something: the local "gadflies" - people who are extremely interested in an issue. Twenty years ago, these people wrote letters to the editor, sometimes got columns of their own in local weeklies, and generally followed the affairs of the group in question (school board, what have you) closely. They weren't on anyone's payroll, either - I remember one older woman who was very involved in school board issues when I was in high school (I remember this because my dad was a teacher, and hated where she stood on these issues :) ).

Those people still exist, but now their voices are louder: they can start blogs, hit Twitter, set up Facebook sites - instead of being the "crazy old coot" no one ever hears, they are becoming a hyper-local source of news on a specific topic. No large media organization can compete with that: they have to pay a disinterested reporter, while the committed guy just shows up.

Now, you might argue that there's a loss of objectivity there, and you might be right - but reporters are just people like the rest of us, and it's really hard to be both interesting and totally objective. What's this add up to? Hyper-local is no solution, at least based on the current media model. It might be possible to become a news aggregator on the local level, and treat these hyper interested parties as stringers, but I rather suspect that the "metro section" model is completely dead.

Technorati Tags:

 Share Tweet This

smalltalkDaily

Smalltalk Daily 5/11/09: Listbox Selection Changes

May 11, 2009 8:32:26.450

Today's Smalltalk Daily looks at the way listbox selection behavior is changing in VW 7.7. The changes are illustrated in the system browser, which will impact both VW and OST users. The new behavior is the standard Windows/OS X behavior you would see elsewhere (which also means that OST users will no longer have disparate behavior between their native windows and the browsers). To watch, click on the viewer below:

If you have trouble viewing that directly, you can click here to download the video directly

You can also watch it on Vimeo:

Listbox selection changes from James Robertson on Vimeo.

Or on YouTube:

Technorati Tags: ,

Enclosures:
[http://www.cincomsmalltalk.com/casts/stDaily/2009/smalltalk_daily-05-11-09-iPhone.m4v ( Size: 7526887 )]

 Share Tweet This

smalltalk

Bug Fix For the Facebook Connect

May 11, 2009 8:44:49.530

This is what I get for doing my work in either:

  • A BottomFeeder Development Image
  • A VW 7.7 Development build

Over the last couple of days I've received reports of a bug in the initial connection to Facebook, where VW doesn't handle a cookie properly. Delving back into memory, I recall that I handled this in BottomFeeder a few years ago, and it's since been dealt with in VW 7.7. What I've done right now is added the fix into the Facebook connection as an override in class HeaderField - when VW 7.7 is released, I'll yank that override - but for now, it allows this to work cleanly in VW 7.6

So I apologize to anyone that was running into this particular brick wall. With that done, feel free to work on the package and extend it - I'm more than happy to take help on this project :)

Technorati Tags: , ,

 Share Tweet This

development

What He Said

May 11, 2009 14:18:44.627

While my issues with the Facebook API don't completely correspond to Dare's, there's a lot of overlap. In particular, the last section of this post is a pain that just doesn't go away :)

Technorati Tags: ,

 Share Tweet This

smalltalk

Even More on the Facebook Interface

May 11, 2009 20:19:53.153

While I agree with Dare that the Facebook interface is very complete and flexible, I have to say that I'm not impressed with the random answers I get back from API calls. On any given call, I could get a timeout, an error, or a proper response. I especially like getting back "unknown method" on one call, followed by success on the next - with the same data. It's like the Forrest Gump take on a box of chocolates; you're never sure what you're going to get :)

Technorati Tags: ,

 Share Tweet This

humor

Hilarious iPhone Bubble Pop

May 11, 2009 21:05:42.518

I love my iPhone, but this humorous takedown is pretty good:

Reports are emerging that the upcoming refresh of Apple's iconic iPhone will contain an integrated magnetometer, aka a digital compass. This would enable iPhone users to work out which way they were headed (usually back to the Apple Store to hand over more cash)

The rest is pretty good, too :)

Technorati Tags:

 Share Tweet This

seaside

Meteroid - Live Seaside Apps

May 12, 2009 6:28:04.424

Spotted in Planet Squeak:

Lautaro Fernández announcedthe first beta version of Meteoroid, a Comet-based framework running on top of Seaside. It allows you to create "live" web applicationin a few steps - you can trigger changes to connected web browsers by using an observer-like mechanism. Each time the model changes, an announcement is triggered and data being pushed from the server to a special div in the browser.

He's got a packaged download based on the vwnc image, and a screencast that shows you how to get the latest installed. Looks pretty cool.

Technorati Tags:

 Share Tweet This

smalltalkDaily

Smalltalk Daily 5/12/09: Getting Started with the Facebook Connect

May 12, 2009 7:47:43.022

Today's Smalltalk Daily goes over how you get started with the Facebook Connect code. To watch, click on the viewer below:

If you have trouble viewing that directly, you can click here to download the video directly

You can also watch it on YouTube:

Enclosures:
[http://www.cincomsmalltalk.com/casts/stDaily/2009/smalltalk_daily-05-12-09-iPhone.m4v ( Size: 13045174 )]

 Share Tweet This

video

Dynamic Returns - Video

May 12, 2009 8:09:49.226

Randal Schwartz Here's the video for Randal Schwartz' "Dynamic Returns" talk from Minneapolis on April 29th. You can grab his slides here. To watch, click on the viewer below:

If you have trouble viewing that directly, you can click here to download the video directly

Technorati Tags: , ,

Enclosures:
[http://www.cincomsmalltalk.com/video/2009/minneapolis/randal-iPhone.m4v ( Size: 102937600 )]

 Share Tweet This

smalltalk

Smalltalk in NYC

May 12, 2009 12:20:03.442

I'll be speaking to the NY City Rubyists tonight - about Smalltalk in general, with something of a focus on Seaside. I'll have NC CD's ready to hand out, so if you want to give this stuff a try, head on over here at 7PM tonight - see you there!

Technorati Tags: ,

 Share Tweet This

travel

Training it

May 13, 2009 0:48:53.538

On routes where it makes sense - like the DC to NY corridor - I love rail travel. It's nice to be able to arrive directly in Manhattan, and be a short cab ride or subway ride away from where I need to be, and it's very cool to have 3G networking on the ride (I'll be even happier once iPhone OS 3 comes out and I can tether my Mac to the phone without jailbreaking it). In the meantime, it's nice to have access to Pandora instead of just the subset of my music collection that fits on my old Nano :)

 Share Tweet This

smalltalk

A Good Time in NY

May 13, 2009 0:49:11.633

My Seaside presentation to the NYC Ruby group went pretty well - the only glitch was the ambient noise in the room; I had to shout over that (air handlers), and blew my voice out by the end of the talk. It was fun though; there was a good crowd, and they looked pretty engaged. The Web Velocity debugger in the browser went over very well.

I'd like to thank Francis Hwang for letting me present to his group, and to all of the Rubyists who came out - they all have NC CD's now, so giving Seaside a shot will be a bit easier! I'll have some photos to post tomorrow; I'm writing this on the train with no connectivity, and I'll be back very late.

Oh, and thanks to Mark Grinnell, our lead developer on the ObjectStudio product and a NYC native. He took photos for me with my camera, and it was a pleasure to see him tonight.

Technorati Tags: , ,

 Share Tweet This

news

The Times Reader for $15 a month

May 13, 2009 6:46:54.689

I'll be interested to see how this works for the NY Times: they've built an Adobe Air app for the paper. I can spot one problem already: Air doesn't work on smartphones (iPhone, Blackberry, Android) - and I can tell you that if I'm going to pay for news, I want it available on my mobile platform - maybe more than I want it available on the desktop. Unless they come out with a mobile solution, I think this is DOA.

Technorati Tags:

 Share Tweet This

advertising

That's Gotta Hurt

May 13, 2009 7:39:06.440

I have to say, Apple takes the new MS ad campaign straight on in this ad - and I think they do a better job in 30 seconds than MS has been doing.

Technorati Tags: ,

 Share Tweet This

media

The Problem with Free

May 13, 2009 8:11:55.909

The current media environment is a mishmash of old and new business ideas that don't mix together at all well. Consider Hulu, the massively popular online TV service. I've started using it to watch older seasons of shows that I like, and to catch up on things I've let fall off my DVR - but that doesn't mesh well with the older business models in place. Wired explains in the context of a niche TV show:

Instead of carrying every episode of Sunny, a way off-center Danny DeVito comedy that languished on FX until Hulu users made it one of the site's most popular programs, Hulu limited its offering to the five most recent shows. User reaction to the move was swift and predictable. "Well, off to the torrent sites," one wrote on Hulu's Sunny forum. "Hulu blows!" declared another. "Whose retarded idea was that?"

That problem wasn't something created by Hulu though; it's a legacy of the way things have "always" worked in the TV business:

In theory, at least, the availability of such shows on Hulu threatens two of the key financial underpinnings of cable TV: DVD sales and carriage fees. Comcast and its brethren pay the cable networks to carry their programming, and the idea that Internet users can watch the same shows online for free is not popular in places like, well, Philadelphia

The DVD and carriage fee model is, IMHO, not long for the world. Unlike music, most people don't want to watch a show more than once - there are a handful of movies that I really want persistent copies of, and even fewer TV shows. I don't think I'm alone in that, either - which means that the iTunes buying model doesn't translate over to video all that well. However, the free streaming model doesn't really pay anyone's bills, either. Ideally, you could subscribe to content based on some kind of criteria - "anything Joss Whedon or JJ Abrams does", for instance. That's a huge change from how things work now though: the entire model is based on mass viewership, even as we move down to micro-audiences. Ultimately, I think things are going to change more for TV and movies than they have for music, and that change is still wrenching its way through the system...

Technorati Tags: ,

 Share Tweet This

copyright

And Books Join the Club

May 13, 2009 8:26:13.711

The popularity of the Kindle has jumpstarted in books what's been happening in music and video for a long while now: copyright violations and circumvention of DRM. The complaints voiced by authors and publishers sound awfully familiar, and they need to realize that they can either be on the bus or under it: et-books simply aren't going to fetch the same prices and physical ones, and DRM just torques off the people who paid good money for your stuff. If I have a version of a book on my Mac, why can't I also push it to a different Mac, a Windows box, my iPhone (etc, etc)?

As with music, there are things people will pay for if you make it convenient enough. Make it painful, and they won't.

Technorati Tags: ,

 Share Tweet This

smalltalkDaily

Smalltalk Daily 5/13/09: Cleaning up Loose Ends

May 13, 2009 10:11:22.277

Today's Smalltalk Daily looks at how to clean up external resources when exceptions you may or may not be handling occur. To watch, click on the viewer below:

If you have trouble viewing that directly, you can click here to download the video directly

You can also watch it on Vimeo:

Cleaning up Loose Ends from James Robertson on Vimeo.

Or on YouTube:

Technorati Tags: ,

Enclosures:
[http://www.cincomsmalltalk.com/casts/stDaily/2009/smalltalk_daily-05-13-09-iPhone.m4v ( Size: 10168084 )]

 Share Tweet This

advertising

Music Vs. Video

May 13, 2009 15:46:21.923

This is an interesting Microsoft Zune ad, and the point it makes - the cost of buying music vs. the cost of renting it (there's a subscription service for the Zune) - is true, so far as it goes. However, it misses a number of things:

  • Instead of subscribing to anything, why wouldn't I just use Pandora? It's free, and gives me great, programmable variety. And it works on my iPhone, to - I listened to it all the way back from NYC last night
  • The cost of filling an iPod isn't really so high, when you consider CD ripping, full album buys, and the other stuff beyond music you put on media players
  • And the killer, I think: people want to own music, because they want to hear the songs they like over and over again.

What MS should be promoting is the video on demand service (subscription and free, depending on title) that you get access to on the XBox. As I said earlier, people deal with video differently than they deal with music, and I think that Apple's new rental service and the XBox's longstanding video service reflect that reality. IMHO, MS would be a whole lot better off if they got the Zune tied into the XBox, and promoted a home entertainment suite that revolved around that. It could be a great combo.

Technorati Tags: , , ,

 Share Tweet This

gadgets

iPhone Oddity

May 13, 2009 22:25:30.289

While I was in NYC yesterday, I noticed that my location services weren't working. That seemed odd; it has been working, and yesterday I really needed it, since I was walking from Penn Station to SoHo. Hardly a crisis, since I had the address, but it sure was annoying.

So today, I took the phone to the Apple store, and they tried a full reset - and that worked. Apparently, the software on the phone got corrupted somehow. Not sure what yet; I'm restoring the phone now. If the GPS stops working after that, I'll know I've got a bad app in there. Not sure what it could be; it's not like I've jailbroken it or anything. We'll see if anything turns up.

Update: the phone is synched again after the restore, and GPS is working fine. So, no idea :)

Technorati Tags: ,

 Share Tweet This

scifi

Will Flash Forward Make a Good Series?

May 14, 2009 6:39:34.800

Spotted in SCI FI Wire:

The show, based on Robert J. Sawyer's novel, deals with what happens when everyone on Earth briefly falls unconscious at the same time for 2 minutes and 17 seconds. During those moments, people see what happens to their lives six months in the future.

I liked the book a lot, and have always thought that it would make a good movie, or perhaps a short miniseries. I'm just not sure about the story's staying power over a 20+ episode season...

Technorati Tags:

 Share Tweet This

esug2009

This should be interesting

May 14, 2009 6:42:27.965

Giles Bowkett will be speaking at ESUG 2009, with a talk called "Smalltalk's Image Problem". If his talk is anything like his writing, we'll certainly have our assumptions challenged.

Technorati Tags:

 Share Tweet This

web

Recycled Wisdom

May 14, 2009 7:05:48.532

There really is nothing new :) Remember all of those "top blog posts that can get you fired" posts from a few years ago? Now it's "top tweets that can get you fired". I've written on this general topic before, and the issue goes well beyond Twitter or blogs. In general, there are a lot of ways to create online facets of yourself that can cause you grief later. Amongst the group of people coming of age now, this will be less of a problem in, say, 20 years (simply based on expectatons). The rough period will be the transition from the old set of expectations to the new one....

Technorati Tags: , ,

 Share Tweet This

web

Social Media Joint Outage

May 14, 2009 7:55:17.115

Last night, just before I went to bed, Twitter was mostly out. I could browse the main page, and see the last tweet I had posted, but it was (then) not getting anything new from anyone. Twitter has problems often enough that it wasn't really news, but at the same time Facebook was having problems - their developer pages went down (and are still down at the moment). To make things more amusing, there was a brief windo where Google searches were coming back with no CSS. Certainly a strange coincidence...

Technorati Tags: , ,

 Share Tweet This

smalltalkDaily

Smalltalk Daily 5/14/09: ActiveX in VW

May 14, 2009 10:05:26.392

Today's Smalltalk Daily we look at a feature coming in the next release of VisualWorks - ActiveX integration. To watch, click on the viewer below:

If you have trouble viewing that directly, you can click here to download the video directly

You can also watch it on Vimeo:

ActiveX in VisualWorks from James Robertson on Vimeo.

Or on YouTube:

Technorati Tags: , ,

Enclosures:
[http://www.cincomsmalltalk.com/casts/stDaily/2009/smalltalk_daily-05-14-09-iPhone.m4v ( Size: 11884144 )]

 Share Tweet This

smalltalk

The Seaside Talk in NYC

May 14, 2009 10:52:55.928

The talk I gave 2 days ago in NYC went pretty well - the only glitches were an issue I had with resizing the screen, and having to shout over the air handlers to be heard. The crowd was good though, and seemed interested. I have a gallery of photos online at Facebook, and a couple below:

 Share Tweet This

web

My Tubes are Clogged

May 14, 2009 11:50:14.140

So I couldn't resolve the Facebook developer pages (those seem to be back), Twitter is back to being responsive - just in time to track the #googledown hashtag. I don't know what's up, but Google is very, very slow right now. Unusable for me.

Technorati Tags:

 Share Tweet This

smalltalk

Creating a Photo Album in Facebook from Smalltalk

May 14, 2009 17:43:22.167

After I uploaded some photos to Facebook earlier using iPhoto, I decided to see how hard the same operation would be from Smalltalk. Here's the code:


"Create an album, upload to it"
album := PhotoAlbum new.
album name: 'Annapolis Coulton Concert'.
album location: 'Annapolis, MD'.
album description: 'Jonathan Coulton concert with Paul and Storm at the RamsHead in Annapolis, MD'.
album visible: 'friends'.
returnAlbum := connection photosCreateAlbum: album.
returnAlbum := aPhotoAlbum

dir := '../images/coulton'.
files := dir asFilename directoryContents.
photos := files collect: [:each |
	| photo |
	photo := PhotoUpload new.
	photo caption: 'Coulton Concert in Annapolis'.
	photo aid: returnAlbum aid.
	photo filename: (dir asFilename construct: each) asString].
answers := connection photosUploadMultiple: photos.

You can see how wrapping a small UI on that would be pretty simple. Heck, most of the code is just creating the domain objects that are required for the calls :) The code is all in the public store, in FacebookBundle

Technorati Tags: ,

 Share Tweet This

web

My Tubes Were Clogged

May 14, 2009 22:34:12.953

Earlier today, I wondered why Google was so incredibly slow, and why Facebook was having so much trouble. Well - Google was busy causing themselves routing problems, and Facebook was busy being attacked. It turns out that my tubes were clogged.

Technorati Tags: , ,

 Share Tweet This

esug09

ESUG 2009

May 15, 2009 10:55:00.711

The ESUG 2009 conference is approaching, and it will be the biggest Smalltalk event of the year:

The registration to 17th edition of the ESUG Conference. So, you can already register and benefit from the early bird fees. Note that if your company is a gold or platinum sponsor, you have a discount (10% or 20%). More online

The ESUG yearly event is the premier forum for meeting other Smalltalk practitioners from both industry and academia. You can contribute to the event by giving a talk during the developers sessions, presenting a research paper during the workshop or demoing your software during the Innovation Technology Awards. Developers can meet and contribute to free software projects during a camp.

Remember that by attending ESUG event, you support ESUG (a non-profit organization) and its actions for promoting Smalltalk.

Technorati Tags: ,

 Share Tweet This

smalltalk

More Smalltalk Screencasts

May 15, 2009 11:07:29.890

Looks liek "Smalltalk Daily" isn't the only video learning site for Smalltyalk anymore: Chris Cunnington has set up "Smalltalk Television" (looks like Squeak is the focus).

Technorati Tags: ,

 Share Tweet This

smalltalkDaily

Smalltalk Daily 5/15/09: Uploading Files Via HTTP

May 15, 2009 12:10:57.284

Today's Smalltalk Daily shows you how to add a file to an HTTP upload as a multi-part mime attachment. To watch, click on the viewer below:

If you have trouble viewing that directly, you can click here to download the video directly

You can also watch it on Vimeo:

Upload a File using HTTP from James Robertson on Vimeo.

Or on YouTube:

Technorati Tags: , ,

Enclosures:
[http://www.cincomsmalltalk.com/casts/stDaily/2009/smalltalk_daily-05-15-09-iPhone.m4v ( Size: 9559424 )]

 Share Tweet This

marketing

Full Stop

May 15, 2009 13:14:12.670

This is from a survey out of the UK, but I suspect that the numbers are similar here in the US. The audience is Marcom people, being asked about workplace usage of social media sites (Facebook, Twitter, etc):

Around half said their IT departments blocked access such sites, however -- stopping them from monitoring what's happening with their brands.

That indicates a serious disconnect between the marketing and IT groups in question, and it needs to be fixed where it happens. I have a bunch of search feeds monitoring Twitter for various search terms, so that I can jump on top of things that mention the topics I care about. If you can't do that, you can't operate fully in today's media environment...

Technorati Tags:

 Share Tweet This

media

Bad Advice Central

May 15, 2009 18:26:02.487

PCWorld spots a huge mistake in the Times:

The The New York Times makes a doozy of a goof, telling readers to throw out their anti-virus software.

This is why I don't really trust general reporters trying to cover complex topics - it's a bit like expecting the gym teacher to cover AP Physics...

 Share Tweet This

movies

Star Trek: A Good Flick

May 16, 2009 0:39:56.901

We really enjoyed the new "Star Trek" movie. Abrams reset the series, the actors all fit into their roles, and the action was intense. The best part? 100 Percent less Rick Berman.

Technorati Tags:

 Share Tweet This

search

WolframAlpha: A different search

May 16, 2009 9:58:54.147

It looks like Google can rest easier - WolframAlpha is online, and it's not doing the same sort of thing as Google (or other traditional search engines) at all. It's actually more in the Mahalo space, except that it's algorithm powered rather than people powered. Some examples:

Search for "What is Java"

How about "What is Smalltalk":

A search for RSS turns up the same sort of thing. It does really well on things that can be easily disambiguated; less well on things that can't be. I find it interesting that it knows that COBOL is a programming language, has no clue what Smalltalk is, and for Java, finds the island first :)

Update: As usual, Dare Obasanjo has a very thoughtful roundup on this, and makes some very sensible points about the entire search field, and how it's evolving.

 Share Tweet This

smalltalk

Making Web Apps Easy As...

May 16, 2009 13:22:37.826

I saw a post just now about how Java is supposedly more productive than Ruby on Rails at building web apps. After I stopped chuckling, I read the post and noted that "easier" in this sense meant using a model driven approach with a framework that generates the HTML views for you based on your models. Hmm - been there, done that with VisualWave. It works great right up to the point where you want to start customizing things - at which point the code generation framework starts hurling walls in your way.

So what's behind door number three then? Well, there's Seaside with Web Velocity. First, let's define the database. First, I tell the system I'm using PostgreSQL and give it my login credentials. Then I give it these two methods:


tableForCATEGORIES: aTable

	(aTable createFieldNamed: 'id' type: platform serial) bePrimaryKey.
	aTable createFieldNamed: 'name' type: (platform varchar: 200).

tableForRECIPES: aTable

	| category_id |
	(aTable createFieldNamed: 'id' type: platform serial) bePrimaryKey.
	aTable createFieldNamed: 'title' type: (platform varchar: 200).
	aTable createFieldNamed: 'date' type: platform timestamp.
	aTable createFieldNamed: 'description' type: (platform varchar: 200).
	aTable createFieldNamed: 'instructions' type: platform text.
	category_id := aTable createFieldNamed: 'category_id' type: platform integer.
	aTable addForeignKeyFrom: category_id to: ((self tableNamed: 'CATEGORIES') fieldNamed: 'id').

At that point, I had a database (I did have to click the link for creating tables), basic viewers for the recipes and categories (and I used that basic app to add some categories and recipes). Here's a screenshot of the basic recipe viewer:

It's not showing us stuff exactly as we'd like, but it works - we can add recipes and categories. Here's what it looks like after a few customizations in the code, making the scaffolding framework display what we want it to:

And the viewer for an individual recipe:

Now, what did I have to do to get that? Simple. In my List viewer for recipes, I added a couple of methods:


shouldRenderInstructions
	^false

renderObjectCategory: object value: value on: html
	
	html anchor
		callback: [self call: (CategoryViewUI on: object category)];
		withOverflowSafeText: object category name

renderObjectDate: object value: value on: html
	html text: value asDate printString

The first tells the class not to render that named field (you can do that for any of them in specific viewers, and an equivalent thing can be done for editors). The next two tell the viewer how to render two specific fields - with the one for Category telling it to provide a link to the category viewer. I provided some niceties in the category list view as well:



shouldRenderRecipes
	^false

Which has it list just the category names, with links to each recipe. Then there's the modification to the viewer for a recipe, to have it display HTML instead of text for the instructions:


renderValueInstructions: value on: html
	html html: value

That has the Instructions field render as html instead of as text. That's pretty much it - There's a lot more that can be done, but the cool thing is this: it's all done with your models and views, with a nice clean separation between them, and complete control over how everything displays. If you don't care for the default scaffolding, you can override it completely (by implementing #renderContentOn: yourself), or just for the main content area, by overriding #renderDetailsOn: ). As I showed above, you can change things on a more fine grained basis easily as well. I'll take complete control via code over a naked object style approach any day. And oh by the way - while I used the ActiveRecord pattern which Velocity provides here, there's a full ORM - the open source Glorp framework - behind it.

Technorati Tags: , , , ,

 Share Tweet This

travel

Why Not Rail?

May 17, 2009 10:28:51.903

I always get a chuckle out of the rail advocacy that pops up from time to time. Here's another example, a lamentation of the decline of passenger rail since the 1920's:

But the most striking aspect of these antiquated documents is found in the tiny agate columns of arrivals and destinations. It is here that one sees the wheels of progress actually running backward. The aforementioned Montreal Limited, for example, circa 1942, would pull out of New York's Grand Central Station at 11:15 p.m., arriving at Montreal's (now defunct) Windsor Station at 8:25 a.m., a little more than nine hours later. To make that journey today, from New York's Penn Station on the Adirondack, requires a nearly 12-hour ride. The trip from Chicago to Minneapolis via the Olympian Hiawatha in the 1950s took about four and a half hours; today, via Amtrak's Empire Builder, the journey is more than eight hours.

That sounds sad, until you peruse a flight schedule. NYC to Montreal is less than 90 minutes (I've got an expedia page open in front of me as I write this). What would possess me to take a 9 hour (or even a 4 hour on some imagined high speed rail) trip when I can do it in less than 2 hours by air?

That's not an idle question for me; while I don't travel as much as I once did, I still fly a fair amount. From here to Dayton (where I fly when I go to corporate HQ) is under 2 hours, followed by a 1 hour car ride to get to the Cincom building. That building isn't in any city center, so no train ride would shave that final hour, and a train ride from here to Ohio would - even with 1920's trains - take hours out of my life. Would I rather spend those hours at home with my family, or on a train? That's the question the rail advocates really need to ask themselves.

This doesn't mean I'm anti-rail - on some intercity routes, it makes a lot of sense, and it would be sensible to upgrade the railbeds to support faster trains. The northeast corridor comes to mind. The upper midwest might make sense too, but given the industrial collapse of the cities there, it's a far more open question. In general, rail makes sense if the distances are short, maybe up to around 400 miles. Past that, air travel is simply easier, and given the expense of installing the upgraded railbeds (don't forget all the NIMBY lawsuits that would happen), a whole lot more affordable. Rail travel has been allowed to fade for a simple reason: it's been technologically surpassed. There's no market for a 12-14 hour ride to Chicago from NYC when the plane does it in under 2...

Technorati Tags: , ,

 Share Tweet This

media

The Stupid Burns

May 17, 2009 13:08:22.046

I'm not sure if I've ever seen so much stupid all in one place - the Washington Post op-ed page has just outdone itself today. What are they calling for? They want the new business protected from the "predations" of search engines. There are a bunch of bad ideas in this mess, but this one is special:

Now that many news aggregator sites have taken "linksploitation" to a commercial level by selling ads wrapped around the links they post, Congress has the incentive it needs to pass a federal law protecting hot news. Such a law would give publishers an additional source of legal leverage outside of copyright to demand fair compensation for the content they create.

So what are they asking for here, a cut of the ad revenue? A block on the links themselves? The basic problem is very different from what they think it is. Back when the newspapers and local tv/radio had a monopoly on news, selling ads was a high value proposition. Now? There are tons of places an ad can go, which has driven the price for ads down tremendously. Unless they get an artificial boost, there's simply no going back to the old system - and even with a boost, there's really no way back. If any site wants out of Google's index, it's easy - use robots.txt to block them. Google honors that, and it would stop the "stealing" of content immediately. Of course, it would also stop the flow of traffic immediately, something they would rather we not hear about. Maybe Google should just switch to opt in up front, and see how well the media outfits like it.

The shape of the media environment has changed, just as the music business has. The people who wrote that piece are looking at the world backwards, like the RIAA has been doing. To use an old quote, you can't go home again...

Technorati Tags:

 Share Tweet This

podcasting

Podcast Coming

May 17, 2009 13:21:35.347

I'm waiting on one bit of audio that belongs in the podcast, and it should arrive this afternoon. So you can expect Industry Misinterpretations 136 by this evening at the latest. Stay tuned :)

Technorati Tags:

 Share Tweet This

podcast

Industry Misinterpretations 136: Yes We Can

May 17, 2009 19:39:03.579

Georg Heeg Here's Georg Heeg, of his eponymous company, at the Minneapolis one day Smalltalk event on April 29, 2009. Georg spoke as the STIC director, borrowing President Obama's "Yes We Can" slogan and using it in the context of Smalltalk development. The talk was well received, and highly entertaining - I'll have video available next week. You can grab Georg's slides here; download the audio here.

You can see our photo gallery from the event here

If you have feedback, send it to smalltalkpodcasts@cincom.com - or visit us on Facebook or Ning - you can vote for the Podcast Alley, and subscribe on iTunes. If you enjoy the podcast, pass the word - we would love to have more people hear about Smalltalk!

Technorati Tags: ,

Enclosures:
[http://www.cincomsmalltalk.com/audio/2009/industry_misinterpretations136.mp3 ( Size: 13051408 )]

 Share Tweet This
-->