-
-
My iPhone Apps
Follow Me
Top Artists Last 7 Days
- Anvil, Plays: 63
- The Chamber Orchestra Of London, Plays: 27
- Black Label Society, Plays: 25
- Van Halen, Plays: 15
- P.O.D., Plays: 15
My Tweets
- RT @gvplaces: After two months of fighting with it, GV Places 1.3 has been submitted to the App Store. http://t.co/DTZqONfh 10 hours ago
- Ed bought CANNED oysters on #TopChef? Really? Has he never watched this stupid show before? Canned items are the kiss of death. 22 hours ago
- @brettbum I see the wildling Ygritte as Irish, since she is described as being "touched by fire." 1 day ago
- @brettbum I got it in my head that she was like a voodoo queen or something. I imagined African or Creole. And she sounds like Ms. Cleo. 1 day ago
- Am I the only one who pictured Melisandre in the Song of Ice and Fire books as being African? That's how she is in my head... 1 day ago
Search
Previous Posts
Archives
Tags
apple bible blosxom bowling christianity cycling death disney world dr horrible eclipse faith general google gps greek humor ios iphone islam itunes java life mac movies music muslim news obama osx poker politics rants ruby safari scala software development sports tech tv video war wdw weight loss windows wordpressCategories
Category Archives: java
Once More, This Time With Clojure
If you happened to read my post from the other day entitled My New “Top Artists Last 7 Days” Widget, you know that I went through three iterations of getting it going. The final solution, written in Ruby worked well. Until … Continue reading
JUnitLaunchFixer 1.0.4 Released
I’ve just released a new version of my Eclipse plugin called JUnitLaunchFixer. If you’ve never heard of it, it lets you set the default heap size for new debug launchers in Eclipse. You can read more about it in the … Continue reading
99 Scala Problems #28 – I Like My Solution Better
I’ve been working through this list of 99 Scala Problems, which is modeled after this list of 99 Prolog Problems. As I’ve been going through them, I have been comparing my solutions to those provided (obviously). Sometimes, my solution is … Continue reading
Procedural vs. Functional
With the rise of Scala and Clojure, there’s been a lot of talk lately about procedural vs. functional styles of coding. Most developers are accustomed to procedural coding, and functional can be hard to get a handle on. I was … Continue reading
Slides From My Presentation on Operator Overloading In Scala
Last night I spoke at the Atlanta Scala Enthusiats meeting about operator overloading and a little on implicit conversions. I think the talk went well as I got lots of really good questions from the audience, and they laughed at … Continue reading
What the Heck Is a Tuple, Anyway?
Yesterday I was talking with a friend about Scala and the subject of tuples came up. We both had a bit of a laugh that neither of us was sure how to pronounce it, though we both leaned toward TUH-ple … Continue reading
2 Solutions To Project Euler Problem #1
In an effort to not go a whole month without blogging, and in the interest of posting some code samples, I give you two solutions to Project Euler: Problem #1. If you’ve never heard of it, Project Euler (pronounced “oiler” … Continue reading
I’m Liking Scala’s XML Literals
How many times have you written a class that you needed to save and restore to/from XML? How did you do it? There are libraries that will do this for you, but I don’t know if any of them have … Continue reading
Bogus Search Results From Sys-Con
Updated! Be sure to scroll down for the latest! I’m writing a blog post dealing with Scala’s XML literal syntax and how to use it for object de/serialization and so I wanted to get a list of existing Java XML … Continue reading
Scala’s Nice Regex Class
I’m a big fan of regular expressions, because they let you parse text in very concise, and sometimes complicated, ways. Though I agree with jwz about regular expressions in lots of cases, I still use them frequently. Perl was the … Continue reading
Announcing JUnitLaunchFixer Eclipse Plugin
My friend Chris and I both work for the same company. Our product has around 900 JUnit tests, and for some of them, the default heap size that Eclipse runs JUnit tests with has become too small. You can change … Continue reading
Scala Limerick
On the Java Posse mailing list, there’s a message thread consisting of limericks about Scala or other languages. While I don’t claim to be a poet, here’s my submission There once was a lang called Scala That was sweeter than … Continue reading
Scala Gets Operator Overloading Right
02/20/2010 Update: I took this blog post and turned it into a presentation to the Atlanta Scala User Group, which I gave in January 2010. The slides from that presentation are here. 05/31/2009 Update: As Mads Andersen pointed out, in … Continue reading
Grails Podcast Mentions My Closure Post
Like other bloggers with an ego, I have Google Alerts set up to let me know when someone mentions me or my blog anywhere that Google knows about. I got an alert yesterday letting me know that I’d been mentioned … Continue reading
Dear Apple: Some Java Love, Please?
I love your machines. Truly, I do. Back in 1988 I bought a toaster-model Mac SE, with one megabyte of RAM, and I loved it. It only had a nine inch, black-and-white screen, and I loved it. For various reasons, … Continue reading
Groovy Sql Closure Examples
My post about closures last week generated quite a bit of traffic and comments, both positive and negative. I decided to followup on that post with a few examples of how to add a method that I believe is missing from Groovy’s … Continue reading
Why I Love Closures
I’ve been a big fan of closures for years. I was first introduced to them in Smalltalk, where they were just called blocks. Ruby has them and also calls them blocks. Java does not have them, though there are proposals … Continue reading
When Does an HQL Typo *Not* Cause A Parse Error?
I found something interesting at work yesterday. One of our developers mentioned that when he called a certain method with various sets of parameters, he wasn’t getting back what he expected to get back, based on what he knew was … Continue reading
I’m Digging Java Again
I first started doing Java back in 1995. That’s quite a long time ago. Once I got going, I wrote Java code every single day, for thirteen years. I co-authored a Java book, gave talks on Java and was an … Continue reading
Strange Obi-Wan Error
I was doing some JDBC today and I forgot that column indexes are 1-based instead of 0-based. It took me a while to figure out what was wrong since the exception message I kept getting was java.sql.SQLException: Column Index out … Continue reading





