Feeds

Lamson - email app coding without the palm sweat

Doing what Java never did

5 things you didn’t know about cloud backup

Lamson actually tackles the problem of e-mail development being hard, instead of taking the pathological attitude of the Java community to leave everything as an exercise to the reader.

A good example is an e-mail list. A user subscribes by sending a message to subscribe@manpanties.com, expressing his interest in joining a list for men who prefer the comfort and style of ladies' underwear. The list server then sends back a confirmation message to which this gentleman must reply. After a successful reply, he is free to discuss silk vs. cotton with his brethren. This interaction can be modeled by a state transition diagram, which I'm sure you will remember from computer science class. A user transitions from START to PENDING to POSTING, depending on how he has interacted with the system. Lamson applications make heavy use of finite state machines and allow you to program them in a silky soft, Pythonic way.

Now, that's a clean example of the type of application Lamson encourages. The dirty example is spam, of course. Perhaps some of the greatest minds on e-mail specifications and programming have devoted their lives to selling penis pills, weight loss pills, and pyramid scams. It's possible that a framework like Lamson already exists in the discount Viagra underground, but is considered a competitive advantage, so it stays under wraps. Even so, Lamson will make it very easy for spammers to track their victims' interactions with the campaigns, but that may actually be a net positive for the internet.

As Zed explains, "I totally think Lamson will be used more for spam than for anything really useful. My hope with Lamson is that it acts like a modern sewage system for the internet. Everyone's gotta poop. You can't escape it, so why not try to do it in a clean fashion that improves the general health of everyone involved?

He adds: "With Lamson, you have a simple system for either blocking or sending spam, but more importantly for doing it in a modern high quality smart way. Rather than blasting out billions of junk ads nobody wants, I'm hoping that smart spammers will become "marketers" and start sending clean advertisement to people who might actually want it."

With easier stateful e-mail programming, it's possible that spammers will concentrate more on conversion rates than number of impressions. If that's possible, it may also be possible to convince them that you can get a cheap and quick buzz by inhaling the fumes released when you mix ammonia and bleach. Hey, a man can dream.

Lamson is yet another iteration of the Cycle of Hard Stuff. In programming, there are many protocols and standards that are ill understood by the masses. Every now and again, and alpha programmer will come along and put a nice API on top of one of these protocols, which opens the field up to anyone with a computer and enough denial power to turn that humility into self-confidence. Rails did this to web development, JQuery did it to Javascript, and now Lamson is doing it to e-mail. With a fresh tarball of Lamson and your copy of Learn Python in 24 Hours, you'll be up and spamming in no time.

Either that or you can use it to integrate your company's helpdesk system with e-mail. Take your pick.

You can visit the Lamson Project home page here. ®

Secure remote control for conventional and virtual desktops

More from The Register

next story
BBC: We're going to slip CODING into kids' TV
Pureed-carrot-in-ice cream C++ surprise
China: You, Microsoft. Office-Windows 'compatibility'. You have 20 days to explain
Told to cough up more details as antitrust probe goes deeper
Windows 7 settles as Windows XP use finally starts to slip … a bit
And at the back of the field, Windows 8.1 is sprinting away from Windows 8
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
Scratched PC-dispatch patch patched, hatched in batch rematch
Windows security update fixed after triggering blue screens (and screams) of death
This is how I set about making a fortune with my own startup
Would you leave your well-paid job to chase your dream?
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Endpoint data privacy in the cloud is easier than you think
Innovations in encryption and storage resolve issues of data privacy and key requirements for companies to look for in a solution.
Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?