A while back I bought an IRIScan 2, a little scanner that could be laying in the kitchen drawer to scan incoming bills. It's not a very fast scanner, it doesn't have battery for very many pages, but for incoming mail, perhaps some music scores and such, it's quite good.
It scans to color JPEG which makes the files a bit large and gives many shades of white and black, and light bleed from the surroundings is actually a bit of a problem, especially in paper folds. But this is all forgiven with its ease of use: turn it on, insert paper, and it's saved to either the internal storage, an SD card (my preference) or a USB key. The reason I prefer the SD card is simply I had it laying around, and ...
Like many of you, this morning I went on the Apple Store online and ordere my iPad 2. I've had a chat with many shop keepers today, both Eplehuset, Elgiganten and Humac. What seems to be the genereal consensus is that less than 10% of the iPads they had asked for have been delivered. So there is a major shortage. My idea was that Apple would prioritize their own channels, but my order from early this morning when they opened is scheduled for delivery in more than a month! So I guess I was wrong, and just like so many others I'll just have to wait...
Whoops, I seem to have killed my themes, plugins and uploads dir when upgrading... not good. So there might be some dead links that should have had content around. For that I apologize. I'll do my best to restore them, but should you discover anything missing while surfing around on my blog, do tell.
I've been developing apps for the iPhone since the early betas of iOS 2.0, and one of the things I'd like back then was to use SOAP services. Back then, Apple had an old, half-implemented command-line program called wsmakestubs that you could use to generate some stubs that half worked. That program has not been updated, nor has any more SOAP support been added to iOS itself.
What has changed, though, is the eco-system. First off all, we can talk about it and share experiences. Secondly, people have made and shared interesting stuff. One of my favourites is SudzC. It's very interesting, but has been stuck in alpha for a while. Commercial offerings such as WSClient++ are also interesting, but what I've found is that, for the most part, I don't need ...
The kind of errors I hate the most are the ones you cannot even find in the documentation. When you get no compiler warnings, and even an incentive from your preferred auto-completion tool to go straight into them.
Todays such error is the following:
byte[] buffer = /* something that fills the buffer with the contents of a string*/;<br /> String stringBuffer = new String(buffer, Charset.forName("UTF8"));
What's wrong here?? Compiles fine, looks fine.... let's read the doc... fine. Except, as it turns out, for long buffers, it will truncate the string and add a trailing .... So you need to do something like this instead
String stringBuffer = new String(buffer, ...