Sam Stephens: Free-spirited Software
Learnings, ponderings, and questions from my life as a software developer
Browse: Home / 2010 / November

Autosaving of form fields in browsers

By SamStephens on November 29, 2010

I’ve once again lost a decent sized chunk of text in a textarea, due to a browser crash. I’ve started wondering about whether browsers should implement autosaving for textareas. Our usage patterns have got to the point where we use browsers to write large chunks of text on a regular basis.

Posted in Opinion | Tagged Browsers, Opinion, Usability | 2 Responses

IEnumerable, ReadOnlyCollection, and the missing interface

By SamStephens on November 22, 2010

I’ve been thinking on and off about the appropriate return signature for a method that returns an immutable list of objects, sparked off by reading Eric Lippert’s article, Arrays considered somewhat harmful, and my belief that the value of functional program and growth of parallelism means that immutability is desirable most of the time.

However, once you decide to return an immutable collection, what type do you return?

Posted in .NET, C# | Tagged .NET, C#, Immutable | 2 Responses

Using Policy Injection and Attributes to preempt calls to non-functioning systems

By SamStephens on November 15, 2010

It’s a waste of processor cycles and user time to make web service calls to systems that are not currently functioning. I was involved in building a solution that allows code that depends on non-functioning systems to be skipped entirely. Code simply needs to be attributed with the systems it uses. Then a policy injection handler will throw an exception without even calling that code if a system is known to be unavailable.

Posted in C# | Tagged Aspect-oriented Programming, Attributes, C#, Policy Injection, Unity | Leave a response

Android is the mobile platform of the moment

By SamStephens on November 8, 2010

If you’re going to choose a single mobile platform to develop for in the next year, there are three main alternatives: Android; iPhone; and Windows Phone 7. It’s my belief Android is the platform for developers new to mobile to choose, unless you have an overriding reason to look at the other platforms.

Posted in Opinion | Tagged android, Mobile, Opinion | Leave a response

Android and multiple Intents for an Activity

By SamStephens on November 1, 2010

Android’s Intent resolution can find Activities to act on a datatype. But using this resolution, a single activity can’t consume a datatype in multiple ways.

Posted in Android | Tagged android, java | Leave a response

Subscribe

Search

Categories

  • .NET
  • Android
  • C#
  • Javascript
  • Meta
  • MSBuild
  • Opinion
  • Ruby
    • Rails
  • Shell scripting
  • Wordpress

Archives

  • December 2012
  • May 2012
  • March 2012
  • February 2012
  • January 2012
  • November 2011
  • October 2011
  • May 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010

Websites

  • A List Apart
  • The Daily WTF
  • Ars Technica

My other sites

  • On Twitter
  • On LinkedIn
  • On Stack Overflow

Blogroll

  • charlie.collins's blog
  • The Radioactive Yak
  • Android Developers Blog
  • Scott Hanselman's Computer Zen
  • ScottGu's Blog
  • Mark's Blog
  • Dare Obasanjo aka Carnage4Life
  • Ayende @ Rahien
  • The WHATWG Blog
  • Fabulous Adventures In Coding
  • Ajaxian
  • Tatham Oddie
  • Marcin On ASP.NET
  • Object Mentor Blog: Category Uncle Bob's Blatherings
  • Schneier on Security
  • CommonsWare

Copyright © 2013 Sam Stephens: Free-spirited Software.

Powered by WordPress and Hybrid.

The opinions expressed on this site are my own and do not necessarily represent those of my employer. Contact me.