Eclipse Line Numbers Not Scrolling On OSX

Eclipse 3.5 Galileo OSX Cocoa version released June 24th fixes line numbers, breakpoint markers and cold folding regions scrolling problems that appear after upgrading OSX to 10.5.6 or greater.

eclipseIf you’re using the fantastic Eclipse IDE on OSX then you may have come across a small but highly annoying issue whereby the line numbers, breakpoint markers and cold folding sections in the left hand gutter do not scroll when you move through a long page you’re working on.

I discovered this happened only after upgrading to OSX 10.5.6, and there was a number of blog entries across the web that talked about how OSX 10.5.6 had broken the Dvorak keyboard layout but very little about Eclipse line numbers not scrolling. Most of the articles I did manage to find didn’t mention that the problem didn’t exist on 10.5.5 and previous. One that did, suggested waiting until 10.5.7 for a fix.

Unfortunately 10.5.7 does not fix the Eclipse line numbers not scrolling issue.

The good news is that there is a solution. Over at the Aptana support forum I came across an article talking exactly what I was experiencing – and someone commented that Eclipse 3.5 Galileo was to be soon released and that they couldn’t reproduce the problem on that version. After more digging – and this is where the Dvorak keyboard issue came up – I discovered that OSX 10.5.6 made some changes to the Carbon Framework libraries. Eclipse 3.4 was built using the Carbon Libraries.

Eclipse 3.5 comes in 2 flavours now (actually, 3, but only 2 32 bit flavours). There’s the original Carbon Framework version, and the shiny new Cocoa Framework version. The Cocoa Framework is the newer OSX programming framework and the good news is, the line numbers, breakpoint markers and code folding icons all scroll correctly with Eclipse 3.5 Galileo on 10.5.5, 10.5.6 and 10.5.7.

So if you’re on OSX Leopard, 10.5.6 or above and having issues with Eclipse, I highly recommend Galileo Eclipse 3.5 which was released on June 24 (though I’ve been using a release candidate for a month or so now with no issues).

Find out why your data is not safe

Whether you’re in business or a personal user, you probably have a computer and on that computer will be information that you will kick yourself (or worse) if it were lost.

For personal users there’s going to be important documents you’ve written, perhaps to the bank or perhaps to the grandkids. Maybe there’s important essay’s you’ve written as part of your dissertation. Perhaps you have your CD collection in iTunes. And almost certainly there’ll be photographs that you simply cannot get back if they’re lost.

For business users the amount of data and its importance is likely to be even higher. The consequences of losing your Quickbooks or MYOB data can be quite harrowing. There’s no-one quite like the tax office to make you wake up at night in a cold sweat wondering if your accounts data is safe.

Why is this data not safe?

There’s a number of reasons your data could be comprised. Recent research from Gartner and IDC indicate the following reasons are the most likely causes for data loss;

  • 32% of data loss is due to user error.
  • 10% of laptops are stolen each year. If your data is on it, your data is stolen too.
  • 5% of laptops suffer some kind of hardware failure each year.
  • A whopping 70% of tape restores fail.

That last point is perhaps the most interesting. Anyone who’s been an administrator of a computer system for a reasonable length of time will have experienced this. You backup your system religiously every night. You perhaps use the Grandfather – Father – Son routine of tape rotation. You think everything is great. But do you know everything is great? When was the last time you tested one of those tapes to make sure it will restore for you? You don’t test the restore mechanism. Who does? Tapes are reliable right? Burning to DVD is more reliable still. And then your client rings you up and asks you to restore a bunch of critical data he needs for a presentation to the board tomorrow.

You go to your most recent tape backup and put it in the drive. Your heart sinks as the backup software tells you there are no files on the tape to restore. You become mildly concerned, but it’s ok, you have another tape to try. You put that tape in. Now that one tells you there’s no data to restore… It’s not a good scenario – and I bet it’s happened to you or a network administrator you know.

Tapes, CDs or DVDs have a number of other problems that make them less than optimal for backup purposes;

  • Drives and media can become expensive – particularly as the capacity needs to rise to cope with the mountains of data you wish to backup.
  • Large backups require multiple CDs or DVDs. It only takes one of them to go bad to throw the whole backup out the window.
  • Human error can mean the tape, CD or DVD isn’t changed tonight.
  • If the backup media is left in the machine it can become vulnerable to viruses or intrusion
  • Someone has to take the tape, CDs or DVDs with them to ensure that if the building burns down or collapses your data is safe.

This latter one is very easy to overlook. And indeed can even be worse than expected. Take for example the recent Victorian Bushfires. A number of businesses thought that their data was safe because they used tapes, DVDs or cartridges to perform nightly backups, which they then gave to an employee to take home. These businesses believed their data was safe because the backup was offsite and if the building burned down, they still had their data. What they had not counted on, was the fact that the whole area would be ablaze. Many employees also lost their homes and if any one of these had the companies offsite backup with them – they went too.

In the case of the Victorian Bushfires, one customer recalled how she had put her computer into the car in order to leave the house. She didn’t care about the computer per se, it was insured and she could get a new one if it was destroyed. What she cared about was her photos and as such had made the decision to take the computer with her to leave, in case the house burned down. Sadly, the family were involved in a collision on the road and had to abandon the car. After the fire had passed through (they made it to safe shelter) they returned to the car to discover it was burned out – taking the PC and all her photos with it. The irony is that the house they had left, which they thought they could not defend, was still standing when they returned the next day. She has no backup of her photos.

What is the answer?

The good news is that there is an affordable answer;

IDrive.com provides off site backup services that are affordable and tailored to your needs. If you’re a personal user with a small amount of photos and maybe some special documents to make sure stay safe, you can back these up to IDrive for free. If you need more space, they have options for you too.

IDrive has a number of benefits;

  • The backups are cost effective as you don’t need any additional hardware and no need to replace CDs, DVDs or tapes every so often.
  • The backups are automated. You don’t have to remember to change tapes, DVDs etc.
  • The backups cannot be interefered with by viruses or hackers.
  • If your hardware fails your backups are still safe.
  • Geographic diversity means that even if your entire township goes up in flames, you don’t risk losing your data.
  • The system is easy to use
  • Your data is continuously protected, not just when you remember to run a backup.
  • The software works on Windows or Mac.
  • You can search your backed up files anywhere using a standard web browser.
  • Your data is secured using a key known only to you. Even the IDrive staff have no access to your data.

In the case of the Victorian Bushfires, there are a number of people who wish they had an affordable, reliable offsite backup mechanism to recover their photos and/or business data.

Ask yourself this, ‘given the risks associated with your data – can you afford not to use IDrive?’

Why is this not just another ‘Infomercial’?

Well, that’s a good question. The answer is simple though – we use IDrive ourselves at Kabarty to backup everything to an offsite location. And just yesterday it saved my bacon when copying a directory into another directory didn’t go quite as I expected. Instead of the contents being copied into the directory and keeping all the existing contents too – the operating system decided that it would remove all the existing contents and just put the stuff I was copying in there. There was literally days of work that were lost through something that I didn’t expect.

I suspect this scenario comes under that 32% of data loss is through user error banner above, but nonetheless, my backups had been taking place without my intervention, without me needing to change tapes or remember anything except that it was there. Which I did after I calmed down. Within minutes the directory was restored to it’s previous state and I didn’t have to worry about trawling through days worth of changes again. The IDrive fee paid for itself yesterday, even if we don’t need to do a restore now for the entire rest of the year.

That’s how we know the value of IDrive’s service and that’s why we signed up to become an affiliate.