Author Archives: Mark

Introducing RestFB, a Java Facebook REST API Client

Just wanted to mention that I’ve written a Facebook REST API client called RestFB, which is available under the terms of the MIT license. If you need to do a Facebook Connect implementation in Java, please give it a try and let me know what you think!
Posted in Java | Leave a comment

When Callable<V> is not enough

At work today I ended up having to write this because Callable<V> wasn’t flexible enough for what I needed: public interface Operation<V, E extends Throwable> { V execute() throws E; } …would love to see this (as well as a Pair<A,B> class) in a future cut of Java.
Posted in Java | 1 Comment

CNN Sob Stories

I liked this morning’s front-page CNN story: If you bought a house you can’t afford and are unable to keep paying the mortgage, maybe you shouldn’t have a $90/month (minimum) iPhone…just sayin’.
Posted in Humor | 4 Comments

Three20 JSON Example Project

I’ve uploaded an example Three20 project that demonstrates a very simple JSON datasource. You can grab the code here. It’s assumed that Three20 lives at ../three20 relative to the project root and that you’ve got Stig Brautaset’s JSON framework installed in your ~/Library directory as explained on the Google Code wiki. There isn’t much [...]
Posted in iPhone | 21 Comments

Three20 JSON datasource implementation

Three20 is a nice iPhone library, but the documentation is pretty much limited to the TTCatalog example app code…one thing that’s left as an exercise for the reader is the implementation of a datasource that fetches its data over the network and how it interacts with its associated TTTableViewController. One approach to this problem is to [...]
Posted in iPhone | 8 Comments

Fedex Webdevs Have Small Monitors

Needs more background-repeat: no-repeat;
Posted in Humor | Leave a comment

UnknownHostException: Java & IPV6 on Linux

In case this helps someone else, I spent a few hours trying to pin down why my GWT app was seeing UnknownHostExceptions for things like google.com when using HttpClient in hosted mode. Luckily, I found this guy (girl?) in the same boat, who figured out that you just need to flip a system property to get [...]
Posted in Uncategorized | Leave a comment

Lots of Data

At xmog we’re working on a project for Advanta that requires fast searching over millions of records. Luckily for us, Lucene is disgustingly good and makes the whole process relatively simple. The reason I mention this is because Amazon’s Elastic Block Storage was released today – finally, persistent non-S3 storage inside the compute cloud. [...]
Posted in Uncategorized | Leave a comment

Billing Manager on the iPhone

I was pleasantly surprised to see Billing Manager land at the top of the heap of Apple’s list of iPhone Productivity Apps (and we’re 7th most popular across _all_ apps) only a few days after we added support for Mobile Safari. We’re also a “Staff Pick”. Good stuff!
Posted in Uncategorized | Leave a comment

POOL ON THE ROOF MUST HAVE A LEAK

Don’t remember where this was originally from (found it years ago). You have to admit it’s awesome.
Posted in Uncategorized | 1 Comment