donroby.blogspot.com
onChange: Testing with an in-memory Database
http://donroby.blogspot.com/2008/01/testing-with-in-memory-database.html
Thursday, January 3, 2008. Testing with an in-memory Database. Persistence tests are slow, and hard to make repeatable. The repeatabity problem is primarily in dealing with setup to a known state and/or teardown to return to a known state. Even if you do write setup and teardown to put data into the DB and remove it, things like automatically generated ids are somewhat painful to reset so that the next run generates the same ones again. Public Connection getConnection() throws Exception {. You might want...
donroby.blogspot.com
onChange: Functional Adventures in Java
http://donroby.blogspot.com/2007/12/functional-adventures-in-java.html
Tuesday, December 25, 2007. Functional Adventures in Java. For a start, Haskell can handle infinite lists, and some interesting infinite lists occurring in math can be defined quite succinctly, as in:. Sieve (x:xs) = x:sieve [y y -xs, (y `mod` x) /= 0]. Primes = sieve [2.]. I'm not ready to create enough syntactic sugar to make Java code for an infinite list of prime numbers quite that concise, but support for infinite lists would be nice. After a bit of struggling to fit these ideas to Java's Collection.
berczuk.com
Professional Activities
http://www.berczuk.com/prof.html
Professional Interests and Activities. Publications, Resources and Blogs. Conferences and User Groups. Boston Area User Groups. The Pattern Languages of Programs (PLoP) Conferences. The Conference on Object-Oriented Programming, Systems, Languages, and Applications. Also the publications section on the SCMPatterns site. Resources related to Agile Software Configuraton Management on the Software Configuration Mangement Patterns site. Events that will be appearing at. I was Program Chair for PLoP 98. The b...
donroby.blogspot.com
onChange: Code Style Choices
http://donroby.blogspot.com/2008/07/code-style-choices.html
Friday, July 4, 2008. During a recent job interview, I was asked to code on a whiteboard a merge function for two lists of integers assumed to be sorted. I stumbled around a bit, coding and explaining, and ended up with a very messy whiteboard, but apparently did ok, as they've asked me back for more interviews. Public static List Integer merge(List Integer list1,. List Integer list2) {. If (null = list1). If (null = list2). ArrayList Integer result = new ArrayList Integer ();. If (null = next1) {. List2...
donroby.blogspot.com
onChange: Refactoring Challenge
http://donroby.blogspot.com/2007/11/refactoring-challenge.html
Sunday, November 18, 2007. In a recent post. To the Test Driven Development yahoo group, Jeff Grigg posted a bit of a challenge, in the form of an uploaded file. With some code that looked like:. Public class LogicMatrix {. Public static void callTheRightMethod(boolean a,. TODO: Refactor this to be simple and obvious:. Else if (a &! Else if (a & b &! Else if (a &! Else if (a & b & c &! Else if (a &! Else if (a & b &! Else if (a &! Else if (a & b & c & d). This matrix was really a string:. The conditions ...
donroby.blogspot.com
onChange: onStart
http://donroby.blogspot.com/2007/11/onstart.html
Sunday, November 18, 2007. Maybe this post should be titled "Naming a Blog". I started this thing yesterday and wasn't happy just naming the blog for myself, but couldn't really think of a better name. So I went into a spin of up-front thinking. What's this for anyway? I guess I'll be writing about Agile Software Development. To reflect that. But no, too specific - I might use that for a post title later. I might even ramble about the Structure of Scientific Revolutions. Kent Beck's dictum "Embrace Chang...
subakva.com
Subakva » Blog Archive » Hobnobbing in Boston
http://www.subakva.com/2008/01/11/hobnobbing-in-boston
The better adapted you are, the less adaptable you tend to be. One of the things that I’m most looking forward to about my ongoing transition to Boston is getting involved in the development community. I have no doubt that New Bedford has a few developers around, but the meet-up community. Is completely dead, and the chances of me making 3 hour. With the geekiest of the geeks. I went to my first meet-up last week: The eXtreme Tuesday Club. But it’s actually a group for Extreme Programming. I love trying ...
subakva.com
Subakva » 2008 » January
http://www.subakva.com/2008/01
If you can't fix it, feature it. One of the things that I’m most looking forward to about my ongoing transition to Boston is getting involved in the development community. I have no doubt that New Bedford has a few developers around, but the meet-up community. Is completely dead, and the chances of me making 3 hour. Round-trip to Boston on a week night just to talk shop are slim. But, now that I’m up there every day for work, you can expect to see me out on the town, hobnobbing. I love trying to explain ...