About Me
I live in San Francisco and am the Co-Founder of Two Bit Labs where we develop iPhone, iPad, and Android mobile apps for our clients. I love the mix of team leadership and working as a hands-on contributor. My technical passions include Swift, Kotlin, Ruby, Cloud Computing, and open-source software.
I also love to sail and my wife, daughter, and I sailed out the Golden Gate in 2007 on our 38 foot Hans Christian cutter (sailboat) on a 3 year cruise. Read about it at http://sailsugata.com.
Links
-
Recent Posts
- Backup your Gmail
- Naming your business or product, forget the domain
- Storing Git repositories in Amazon S3 for high availability
- Acceptance Testing non Ruby web applications with Cucumber
- Code readability through conciseness
- Mac OS X gem cleanup failing
- iPhone development the easy way
- Production MySQL performance tuning
- Selenium Continuous Integration Runner
- Standalone Migrations: Using Rails migrations in non Rails projects
Categories
- Accessibility
- Agile Development
- AJAX
- Blogging
- Cloud Computing
- Continuous Integration
- CSS
- Database
- Design
- Desktop
- FreeBSD
- General
- Humor
- Java
- Javascript
- Life
- Links
- Linux
- Management
- Maritime
- MySQL
- OSX
- Quality Assurance
- Ruby
- Ruby on Rails
- Sailing
- Scala
- Search Engine Optimization
- Software Engineering
- Source Control
- Systems Administration
- Technical
- Testing
- Travel
- Uncategorized
- WAP and WML
- Web
- XML
Category Archives: Technical
Eclipse versus IntelliJ Idea
The Java developer I hired to lead the Java side of our port from Perl to Java came from a background of using Idea rather than Eclipse. He liked it so much that we're going to be using Idea as … Continue reading
Posted in Java
Comments Off on Eclipse versus IntelliJ Idea
Consistency is more important than "correctness" or using the "best" software
When I started developing software professionally over a decade ago I would readily diverge from company standards at a whim to use a new language, style of coding, favorite editor/IDE, libraries, different build process, etc… Mainly because I wanted to … Continue reading
Posted in Software Engineering
Comments Off on Consistency is more important than "correctness" or using the "best" software
Fed up with Java, switching to a new language
I’ve had it with Java, too much technology to learn with Unit testing, ORM, IoC, AOP, and SOA, not to mention static typing and waiting to compile. That’s why as of right now I’m a converted .BAT programmer and here’s … Continue reading
Posted in Java, Software Engineering
21 Comments
Unit testing with coverage reports from within Eclipse
The ever verbose (if you've seen his blog) Pjammy pointed me to this nifty Eclipse plugin called djUnit. Just right click on a JUnit test, select run with djUnit, and it runs the JUnit test with instrumentation to produce a … Continue reading
Posted in Java
Comments Off on Unit testing with coverage reports from within Eclipse
Static typing increases productivity and reduces errors
I’m going to come right out and say that I have a strong preference for static typing in a programming language, especially as it applies to medium and large sized applications with multiple developers. Here’s why: 1. Refactoring: IDE’s make … Continue reading
Posted in Java, Ruby, Software Engineering
Comments Off on Static typing increases productivity and reduces errors
Testing with mock objects
I put together a workshop for the team at work on unit testing and design with mock objects. I opted to show a small sample using both EasyMock and JMock. I'd used JMock before but EasyMock had some nice surprises … Continue reading
Posted in Java
Comments Off on Testing with mock objects
Java's verbose XML API
It feels like it takes me too many lines of code in Java to create a new XML document, transform it, and then validate the result. At every company I've worked at we've ended up with an XML utility class … Continue reading
Posted in Java
Comments Off on Java's verbose XML API
Java XML data binding with Castor
In working on an XML data feed project at work I needed to generate the feed from our POJO domain model. I was pleasantly surprised to find that Castor XML made this task quite easy. The Marshalling framework will marshall … Continue reading
Posted in Java
Comments Off on Java XML data binding with Castor
Persistence layer unit testing best practices
I've been doing some searching on best practices for unit testing the persistence layer with DBUnit and I'm interested in people's feedback on my policies or pointers to policies others have created. For example I've been thinking of making our … Continue reading
Posted in Java
Comments Off on Persistence layer unit testing best practices
Building one big fat jar file
I've been working on software that generates a very large XML feed for customers. My plan was to have it run by a cron job and regenerate the feed once a week. I wanted my project to produce one file … Continue reading