Calculating Actual Hard Disk Space…

December 18th, 2007

If under 1TB in size simply calculate: (Advertised size in GB) * 0.931
Or, to be exact: (Advertised size in GB * 10^9)/1024^3 should do the trick…

Over one TB you can not just assume 1TB = 1,024GB since the advertising calculation is in base 10, and this crazy device in front of you prefers base 2… So:
Over 1TB calculate: (Advertised size in TB) * 0.909
Once again, to be precise: (Advertised size in TB * 10^12)/1024^4.

Jonathan Laliberte Clarifications, Storage

Move All Windows To Your Main Screen…

October 19th, 2007

ApplescriptSo, you’ve got more than one screen? Life is good with all that wonderful screen real estate, then BAM… You end up back with just your main screen, but your applications have left their windows on those other displays, far out of your reach…

Let’s fix that. This little script simply goes and tells all of your applications to get their act together, to move their window’s to the main display.

You’ll need access for assistive devices turned on, which you can do by going in to System Preferences, Universal Access. At the bottom check the box for “Enable access for assistive devices”.

As it is, the script will tell all applications currently running, that if they have a window that is entirely on the main display – to move it to the top left of the screen.

You may have some applications which keep windows off screen on purpose, if you experience any strange behavior with these applications you can exclude them from the applications which get checked by adding their name to the “processesToIgnore” list at the top of the script. There is an example to show how the list should look in the comment right above it. Be sure to use the exact name of the application.

Lastly, if you have more then one display attached when this script is ran it will basically do the same thing, but windows on other screens will not be moved to the main display, only windows outside the range of all current displays.

Jonathan Laliberte Scripts

Trying to force myself to write something… iPhone

October 10th, 2007

So, here I am. Forcing myself to write something. This is not turning in to a journal, I don’t need you knowing about my personal life.

I don’t have a whole lot to say about it, at least not that anyone hasn’t already said – BUT, I’d love the iPhone to have support for 3rd party applications. If they have to be “certified” by Apple – that’s fine. But, I don’t want it to be a completely closed universe, only open to the exclusive developers – probably the likes of Apple, EA, Intuit, and a few select others. Furthermore, I’d really want the Mac development community to have open access to it. I’d love NetNewsWire to be able to sync to my iPhone in the morning, or maybe have my media library from DeliciousLibrary sync to a portable version of their app.

Ok, thats all for now. Trying to get in to this…

Jonathan Laliberte Apple, Software, iPhone