Generic Non-Erasure?
I was coding away the other day and got this error:Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Stringon code that looks in essence like this:...
View ArticlePut Your Screen Saver to Work
Ever intend to start your computer working on a big job when you walk away so it'll be done when you come back an hour later? Ever walk away and forget to start it? That was happening to me a lot, so I...
View ArticleUsing Oracle's OCI Driver With JDBC
I just spent a morning learning how to use the Oracle OCI driver instead of the thin driver, and it's worth recording for future reference. I think it used to be more complicated, and you had to...
View ArticleHow To Aggregate Downstream Test Results in Hudson
I must've googled a dozen permutations of this post's title looking for the key to my problem of... well, what it says. How on earth do I get Hudson (a top-notch CI server) to "Aggregate Downstream...
View ArticleNFJS the Beginning
I just got home from the Austin, TX No Fluff Just Stuff conference. Wow! It's the first one I've been to, and it was great. For my reference and yours, I'm going to put some notes here of things that...
View ArticleThe Journey to Git, Part I—Distributed vs Central VCS
This one has been a long time coming. I've been using Git as a client to Subversion at work now for a number of months. Over the weekend, I attended a session on Git at the NFJS conference, and it...
View ArticleThe Journey to Git, Part II—Git Started
This second post in my Git series will just cover setting up Git so that I can keep these things fairly short and well-organized. From here on, everything is very hands-on. If you're serious about...
View ArticleThe Journey to Git, Part III—The Basics
This post: the most basic commands for interacting with a Git repository. By the end of this post, you should be able to use Git to track basic history for a project. Once again, I strongly encourage...
View ArticleThe Journey to Git, Part IV--Branching
Git post 4: Branching. Before you read this post, you should be familiar enough with Git to be comfortable creating a repository and adding and committing files to it. The previous posts in this series...
View ArticleThe Journey to Git, Part V--Merging
This post is one of a series on Git. Previously I posted on branching. When you create a branch, you diverge two lines of development. You need a way to join them back up later on, and that's what this...
View ArticleThe Journey to Git, Part VI--Rewriting History
Welcome to my sixth (!!!) post on Git. I totally didn't expect this to go so long. In this post, we'll look at some methods Git gives you to change the history of your files. With centralized version...
View ArticleBook Review: Agile Database Techniques
I've decided to read a technical book every two weeks. You out there in tubeland will benefit by getting a book review every (roughly) two weeks. Here's the first, a book that I carried around with me...
View ArticleThe Journey to Git, Part VII--Other Useful Stuff
My previous Git posts were mostly a walkthrough of the basic workflow to get you up and running with Git fast. This post is less that and more a quick survey of other commands that are regularly used...
View ArticleThe Journey to Git, Part VIII--Connecting Git to Subversion
In this post, we'll start seeing how to use Git as a client to a Subversion repository. This is an excellent way to get your feet wet with Git without forcing the learning curve on others working on...
View ArticleThe Journey to Git, Part IX--Communicating from Git to Subversion
In this second part of the Git/Subversion interaction guide, we'll explore the commands that let you do the equivalent of "svn update" and "svn commit". You need to already have a Git repository that's...
View ArticleBook Review: xUnit Test Patterns + Code Hangover
This is not a book review.This is a book review.Over the past few weeks, I read another book: xUnit Test Patterns. I posted the review on a different blog: codehangover.com. It's a new blog that I'm...
View ArticleThe Journey to Git, Part X—Communicating Between Repositories
So you want to do some collaboration using Git. If you don't know where to start, you're in the right place. Start here. This post, like my earlier Git posts, will take you on a guided tour of how to...
View ArticleGit Quick Reference
I've been lazy/sick/on vacation for a while, but I think I'm finally ready to release my Git Quick Reference into the wild. It's kind of a follow-up to my series of Git tutorial posts, collecting all...
View ArticleManaging Unmapped Tables with Hibernate
I've published a new post over on codehangover.com explaining how you can use Hibernate's "auxiliary database objects" to simplify managing your database schema during development and testing. Check it...
View ArticleSetting Up a Thin Client Network with LTSP
I've become interested in thin client software as a potential way to use a cheap laptop as a mobile GUI for applications running on a more powerful desktop or server. Yesterday, I tried out one called...
View Article