Firewall To Split A Subnet
We’ve found a cheap little NetGear router that can roughly load balance and fail-over between our two internet connections to hopefully get a little bit more speed. Of course, the simplest thing to do is to set it up so that from the inside it looks just like the old modem and then on the WAN side set it up to look like a client using that old modem as it’s router. Of course, that means that the inside and outside of the router are in the same subnet (192.168.0.0) in this case and the new router’s internal IP is also the IP of the WAN router it forwards on to.
ComponentOrientation and Right To Left Languages
For some time, we’ve had an Arabic translation in EditLive! and the editor pane itself fully supports bidirectional text, but we’ve never updated the UI to flip over to a mirror image when a right to left language is in use. Java actually has pretty reasonable support for this via the ComponentOrientation property in AWT (and inherited through to Swing) but there are a couple of annoying limitations:
- It applies on a per component basis, so there isn’t a single place you can apply the orientation and be done with it.
- Various components still don’t flip, eg JSplitPane.
- The Aqua L&F on OS X has some annoying bugs when in right to left mode.
For the first issue, you can use applyComponentOrientation which will automatically traverse the component hierarchy and make the changes but it still misses things like combo box renderers, dialogs or components that are generated later. For an application that loads its UI incrementally instead of blocking the swing thread while it loads in one go this is a significant annoyance. Even beyond that, all the dialogs need to be updated as well. While it is good that you can override the orientation on a per-component basis, it seems more intelligent to have a simple way to change the default value in one place without all the work.
iPhone SDK
So the iPhone roadmap looks very promising. The enterprise functionality is really impressive and places the iPhone extremely well as a mobile device for corporations. The SDK has a lot of power and seems to have access to pretty much everything you’d need (there’s already an SDK for access to the dock connector). Even things like instant messaging and VOIP will be allowed, though obviously the carriers don’t want to deal with all the traffic from VOIP so it’s just wireless but that seems quite reasonable to me. I’m not sure I’d want to try VOIP over an edge network anyway…
Doable vs Shippable
All the hubbub about flash support on the iPhone highlights an interesting “gotcha” that many people fall into: there’s a world of difference between having something running and having something you can actually ship. The funny thing about software development is that it is generally much quicker and easier to solve all the “hard” problems and create the software you need than it is to polish off all the little loose ends that turn code into an actual product. It’s also surprising how many ideas that sound really good on paper turn out to actually make things worse.
Time Zones Are Hard (Apparently)
You know if there’s one thing more confusing and less documented in programming than character set encodings, it has to be time zones. For example, here’s the package tracking log for my new monitor:
read more
February 23, 2008
iPhone GoodnessI think one of my best purchases in a long while has been my fancy new iPhone. It was originally a major splurge just because it was cool but it’s so functional and easy to use that I’m using it constantly and looking for ways to get everything on the iPhone. My email has always been IMAP so that got on there pretty quickly and it didn’t take too long to find newsgator’s iPhone rss reader that syncs with NetNewsWire so now my feeds are on it as well. Most recently I’ve found a wordpress plugin that optimizes the admin interface for iPhone. As such I’m happily blogging from my iPhone and there’s one less reason to get out of bed… Of course I suspect the formattingof this post is going to go haywire as various plugins interfere with each other but once I see what happens it should be easy enough to fix. The big downside I’ve found is that while you can add a site to your home screen, whenever you tap it a new safari tab is opened so I wind up with a heap I newsgator tabs left open. It would also be nice to have an icon badge with the number of unread items. The HTML only API is so close to being all you need but not quite. Once you’re in the app it really does feel lie a native iPhone app. I’ve seen a number of sites detect the iPhone and you simply forget you’re still in the browser. The only other gripe I’ve got is that newsgator doesnt remember your login which is stupid and very annoying. That’s not something the iPhone can really control though.
February 22, 2008
Dear Engineers, Please Read….Great notes on some common mistakes Java developers make from Christopher Owen at Atlassian. I know I’ve explained most of these to a number of new developers – well worth a read even if you’ve been coding in Java for a number of years you may easily have not learned these important lessons. Ephox folk – we learn a lot of interesting tidbits like this both on coding and on XP and development processes and tools – could we take a little time to share them with the world and each other more often? Ta.
February 21, 2008
Is It Me Or Is Google Less Useful?Going through the process of setting up a new apartment in the UK, I’ve found myself Googling a whole bunch of things that normally I wouldn’t need to. For instance, where can I find a desk and chair to set up a home office? Back in Australia I know of a bunch of different stores that would have that kind of thing so I wouldn’t bother searching for it. Here though, I wind up searching for “home office furniture” and get a whole bunch of online only retailers of widely varying reliability. Even if they’re all completely legit – why doesn’t something like IKEA turn up when that’s what all the locals recommended (somewhat grudgingly admittedly)?
February 14, 2008
Impressed With Mobile InternetAfter much hassle with getting proof of address and what not, I’ve finally managed to get a mobile broadband deal through 3 in the UK and I’m very impressed. It helps that my house is within a HSDPA area so we’re getting the fastest possible speeds but even when that drops out and we just get 3G connectivity it’s quite usable. At £15/month for 3Gb/month it’s actually quite affordable too. I can see it getting a lot of use on the train and places like that so I don’t wind up wasting huge amounts of time travelling.
January 30, 2008
Computer Science Education Is A PartnershipSome time ago, Jeff Atwood posed the question: How Should We Teach Computer Science? In the article, he laments the fact that formal education doesn’t teach students about deployment issues or source control:
January 24, 2008
Lotusphere BoFHere’s a tip for all those intrepid conference organizers – in certain situations when there really is no point in scheduling a session. To help identify these here are some key warning signs:
If the session meets any of these warning signs you probably should just cancel it. If, as was the case with my BoF at Lotusphere, the session meets all the criteria the facilitator probably should just not bother turning up. Security was certainly surprised when I did.
January 18, 2008
How Atom And JCR Work TogetherMy previous post, Atom is the New JCR, sparked some interesting conversations, firstly from Lars Trieloff via private e-mail (with a option of spilling over into a pub if we ever wind up in the same town…) and now from Dan Diephouse. Both Lars and Dan made a really good point – that JCR needs to find ways to work together well.
|