Tag Archives: java

bored summary of the past day. / 750words, 1buckapp, java coding tipps

bored summary of the past day. / 750words, 1buckapp, java coding tipps

So, on this very exceptionally snowy day here in Stuttgart, i decided to procrastinate a bit and do some fun stuff. Because going outside would have been at least life-threatening, I decided that the most exciting adventure would be to clean the kitchen take a panorama image out of my 3 living room windows. Here [...]

Character Encoding for the rest of us: UTF-8

I spent a fair part of my past life not understanding character encodings in its entirety. While this was totally unimportant in past times, when e.g. a dataformat or file was written or created by the same program reading it, most likely not crossing country or language borders, nowadays it is. Very. So what is [...]

Sharer, Giver, whatever, Filesharing

A short note on a previous post where I talked about my project of a simple File-Sharing applications that basically works using drag’n’drop and some zeroconf to find other peers. I wasn’t exactly surprised to find something that matches that description pretty well, but here it is, it’s called giver and should run on any [...]

Still no Java 6 for Intel 32 bit and PowerPC based Macs

Running Mac OS X, i forgot to mention that in the headline. Why? Apple is most likely busy updating it’s own stuff, promoting it’s platform, and since the iPhone came up, many people started learning Cocoa, so the developer base there has grown, too. Additionally, the general user base is also growing, making it a [...]

Zeroconf made easy: Bonjour for Java, Part 2, Client Implementation

I’ve been writing about the server side implementation aspects of Bonjour for Java a while ago, and I promised to explain the client side, which is a bit more tricky. The reasons therefore is that it makes heavy use of asynchronous callbacks, leaving you no other choice but to implement some interfaces and understand the [...]

Antiusability at its best: Language Documentation

Whether you’re an active developer busy doing some Java, Ruby, Perl or ( fill in your language here ) based projects, you’ll most likely have some kind of browser windows opened sometimes providing you with the necessary documentation for libraries or ( but hopefully not ) language basics.  Because I’m not in love with one [...]

Pass-by-reference workaround in Java

As anybody knows, java passes variables by value. and i haven’t found the magic compiler switch to change that. of course, there are problems caused by this restriction, but in most cases, pass-by-value works just fine.  If you end up in a situation where it’d come in handy to have a pass-by-reference facility, think about [...]

Zeroconf made easy: using Bonjour for Java, Part 1

It’s really easy. If you have some clue about network programming and Java, this shouldn’t be extra hard to understand. It’s about zero-configuration, the ability of devices to e.g. discover them independently of any server. There are several implementations, I choose to use Bonjour, which is provided and developed by Apple. The Java-Bindings are available [...]