Archive for April, 2006

LightWeight Modeling in Java

Thursday, April 27th, 2006

A friend who’s attending the php|tek conference said there was a bit of Ruby bashing going on. Of course, he reports as well, Java is feeling a much bigger brunt of the heat.

I’ve decided to officially stop saying negative things about my fellow Java/J2EE brethren.

Seeing articles like this, make me realize that saying bad things about Java/J2EE, is like kicking a defenseless puppy while he’s down.

It just isn’t right, and chances are, the usage of Java in many enterprise shops was carved in stone some 3-5 odd years ago after a middle-manager read about its cross-platform benefits in a Delta Airlines in-flight magazine. (oops, there I go again!! my bad…)

I’m just sorry, guys. Sorry.


You may say that I’m a dreamer
But I’m not the only one
I hope someday you’ll join us
And the world will be as one

- John Lennon, Imagine

Paul Graham Blogs It

Friday, April 21st, 2006

Another one of my essayist heroes has started a blog — Paul Graham.

Hackers and Painters

He’s using Infogami, which is one of his Y Combinator startups, co-founed by whiz kid Aaron Swartz.

Hmm… I have an Infogami account but haven’t played with it much yet…

I’d like to thank PG for autographing a copy of Hackers & Painters for me. My buddy anxman knew I was a PG fanboy and hooked me up. Thx man!

Ask a Ninja

Tuesday, April 18th, 2006

Ask a Ninja

37 Signals Sells $120k worth of ‘Getting Real’ ebook Downloads

Thursday, April 13th, 2006

Incredible!! Congratulations to the 37 Signals crew for this awesome achievement.

Seth Godin would be proud. These guys have basically built their entire business on word-of-mouth and word-of-blog.

Speaking of organic growth, we’ve had over 40 new account signups at SproutIt.com over the past few days. Not too shabby for a small crew like ours… :)

This comment on the 37 Signals post, however, had me laughing out loud:

Well, also in the past 30 days hundreds of thousands of children died of hunger and malnutrition.

Glad to see they’re keeping their sense of humor and not deleting some of these gems!

Bad Names for Good Things

Thursday, April 13th, 2006

Looks like a few others feel the same way that I do about the term ‘user-generated content.’

JavaScript / Selenium Testing in Ruby on Rails

Thursday, April 13th, 2006

My buddy Gabriel links to JTF — JavaScript unit Testing Farm.

How does it work? From the site:

You write your javascript and insert some code to indicate a failure (or a pass) using the same functions as in JsUnit and other unit testing frameworks. Then, every time a visitor views your test case, it performs the unit test on their browser… providing information if the test fails.

Sounds like a novel idea.

Over at Sprout we now have a suite of Selenium JavaScript-based acceptance tests.

It was a little tricky, but our Selenium tests for Mailroom now pass in the following browsers:
- IE6 on XP
- Firefox on XP
- Firefox on OS X
- Safari on OS X

The first thing Charles asked me was… if we already have Unit & Functional tests already, why do we need Selenium ones too?

Granted, Selenium tests are not necessary for a small startup. But at previous employers, full-time Testers have been employed whose sole job was to:
- sit around for 4-5 days a week (waiting for a new release)
- if the developers happened to have a new release ready by Friday, the Testers would jump into action and earn their $37k a year in one afternoon per week.

Many lessons can be learned from this anecdote, but one is: hire someone who can automate away his or her own job in a few weeks and move onto things that cannot be automated.

Writing Selenium Tests in Rails

Often I feel the urge to simply create a new Selenium test for a new feature that we implement. There’s nothing like a full UI-based end-to-end test to see if something is functioning properly. (this could just be a psychological phenomena)

But, we also add Unit & Functional tests, and then sometimes maybe Selenium tests. That’s some pretty good code coverage. :)

Selenium on Rails Links

Selenium on Rails Plugin (Recommended)

Automate Acceptance Tests with Selenium

There is an alternative Selenium on Rails plugin floating around that comes up a lot higher in Google searches.

It’s sad because the devs on this other plugin did a tremendous job at marketing (and developing) their plugin, but I am not as impressed with it as the one mentioned above. Here’s a link, which includes a nice screencast:
Selenium on Rails Plugin

Screencasts are the *ultimate* linkbait! I needs to make me some of dem!

Chris Pirillo Contemplates scoring a MacBook Pro

Wednesday, April 12th, 2006

Chris points to this top secret list of what’s new with Apple’s upcoming Leopard OS X release.

Pirillo writes:

I’m impressed with what I’ve read, but I don’t know if it’s enough to get Windows users to switch to a more expensive platform that only has one mouse button (which is the one thing holding me back from scoring a MacBook Pro).

I love making fun of the whole one mouse button thing too. I couldn’t live without my two-button mouse + 20″ Dell LCD flatscreen. (attached to my mac mini)

OS X

For those who have ever contemplated switching but were baffled by the one-button thing, or worried about Mac-only hardware, etc. ..

Let me assure you:

- you can use any USB (two-button) PS/2 compatible (just about all of em) mouse on the market with your mac
- you can plug just about any modern flatscreen commodity LCD monitor into your Mac

All this talk about expensive Apple hardware — the only real thing you need to buy from Apple itself is the Mac. For LCD screens, mice, keyboards, etc. — I prefer my old, inexpensive Dell commodity stuff.

Mark Pilgrim Blogging Again

Monday, April 10th, 2006

This is cool. The prolific Mark Pilgrim is blogging again at diveintomark.org.

He’s the author of Dive Into Greasemonkey (been meaning to skim over out for a while now) and Dive Into Python which was my Python manual when I was dabbling with it back in the day.

Welcome back, Mark!!

Hat tip: ProBlogger

Wisdom of Crowds in the Enterprise

Thursday, April 6th, 2006

This NY Times article is really good.

So good I copy & pasted a very large chunk here for your enjoyment!

WILLIAM C. TAYLOR writes for the New York Times in Here’s an Idea: Let Everyone Have Ideas:

LIKE many top executives, James R. Lavoie and Joseph M. Marino keep a close eye on the stock market. But the two men, co-founders of Rite-Solutions, a software company that builds advanced — and highly classified — command-and-control systems for the Navy, don’t worry much about Nasdaq or the New York Stock Exchange.

Instead, they focus on an internal market where any employee can propose that the company acquire a new technology, enter a new business or make an efficiency improvement. These proposals become stocks, complete with ticker symbols, discussion lists and e-mail alerts. Employees buy or sell the stocks, and prices change to reflect the sentiments of the company’s engineers, computer scientists and project managers — as well as its marketers, accountants and even the receptionist.

“We’re the founders, but we’re far from the smartest people here,” Mr. Lavoie, the chief executive, said during an interview at Rite-Solutions’ headquarters outside Newport, R.I. “At most companies, especially technology companies, the most brilliant insights tend to come from people other than senior management. So we created a marketplace to harvest collective genius.”

That’s a refreshing dose of humility from a successful C.E.O. with decades of experience in his field. (Mr. Lavoie, 59, is a Vietnam War veteran and an accomplished engineer who has devoted his career to military-oriented technologies.)

Most companies operate under the assumption that big ideas come from a few big brains: the inspired founder, the eccentric inventor, the visionary boss. But there’s a fine line between individual genius and know-it-all arrogance. What happens when rivals become so numerous, when technologies move so quickly, that no corporate honcho can think of everything? Then it’s time to invent a less top-down approach to innovation, to make it everybody’s business to come up with great ideas.

That’s a key lesson behind the rise of open source technology, most notably Linux. A ragtag army of programmers organized into groups, wrote computer code, made the code available for anyone to revise and, by competing and cooperating in a global community, reshaped the market for software. The brilliance of Linux as a model of innovation is that it is powered by the grass-roots brilliance of the thousands of programmers who created it.

At Rite-Solutions, the architecture of participation is both businesslike and playful. Fifty-five stocks are listed on the company’s internal market, which is called Mutual Fun. Each stock comes with a detailed description — called an expect-us, as opposed to a prospectus — and begins trading at a price of $10. Every employee gets $10,000 in “opinion money” to allocate among the offerings, and employees signal their enthusiasm by investing in a stock and, better yet, volunteering to work on the project. Volunteers share in the proceeds, in the form of real money, if the stock becomes a product or delivers savings.

Mr. Marino, 57, president of Rite-Solutions, says the market, which began in January 2005, has already paid big dividends. One of the earliest stocks (ticker symbol: VIEW) was a proposal to apply three-dimensional visualization technology, akin to video games, to help sailors and domestic-security personnel practice making decisions in emergency situations. Initially, Mr. Marino was unenthusiastic about the idea — “I’m not a joystick jockey” — but support among employees was overwhelming. Today, that product line, called Rite-View, accounts for 30 percent of total sales.

If anyone knows of any open source software that allows you to open up a kind of internal ‘idea market’, drop a line in the comments.

Joel Spolsky also uses a system similar to this (tho more low-tech in nature) to decide which features will make the next release of his company’s applications.

Read more about Rite-Solutions and the Wisdom of Crowds in the Enterprise in this NY Times article.

The GTD Prayer

Thursday, April 6th, 2006

This GTD Prayer is just great.


You are currently browsing the Shanti’s Dispatches weblog archives for April, 2006.

Shanti A. Braford blogs here.

If you really want to know, just read this.



  

Powered by FeedBlitz