Thursday, December 17, 2009

Day 73.999 (Browser Wars)

Safari, Firefox, Opera, Google Chrome...
Firefox, Chrome - multithreaded: each tab is a separate process.
Opera - not sure... Safari - definitely not.
Safari has just embarrassed itself. It didn't crash, but became unusable after some page opened with flash in it. I had some issues with Opera on Ubuntu where the flash plugin would use more than 50% CPU if the tab displaying the page was left open. This was pretty similar, but the OS UI became very sluggish and unresponsive. Some message came up much later saying something about flash crashing.
Chrome is my favourite so far, but it just can't get the downloads right. I get incomplete downloads often and the browser doesn't even tell me about it. Highly annoying.
Safari doesn't bother remembering open tabs and I'm not sure if those favourite sites work properly - is seems to have a mind of its own when it comes to that. Oh, and no native jpeg streaming support like in Mozilla.
I like Opera, especially since it has the mail client built in. The configuration is a bit odd, but you can get it for every single OS which is a huge bonus. Pity on Mac the mail composer gets the key mappings wrong. Home and End keys move from the beginning to the end of the document, rather than the line which is incredibly irritating to say the least. Couldn't be bothered with trying to figure out how to remap the keys.
There's no Safari for Linux which is a huge disadvantage for this browser so I'm just hoping that Chrome will only get better...

Saturday, December 5, 2009

Day Random.nextInt(5)

HOME and END keys... What a pain!!! Keyboard mappings in MacOSX are much to be desired. Luckily there's a program called DoubleCommand. It allows some degree of remapping.

Anyways, so far white cat has been very stable. Sometime it slows down, but its because I have so much stuff open and I think it starts swapping to disk. I think 2GB may not be enough. Who would have thought that a couple of years ago? I doubt I will be able to find DDR3, let alone notebook DDR3 any time soon.

I figured with the disappearing icons, I need to unplug the external monitor first and then put the laptop to sleep to take home. This way it rearranges the desktop well and icons don't disappear anymore.

Oh, the HFS+ by default is journaled, but not case sensitive. This is annoying to say the least. Very confusing for a *nix person anyways. There seems to be a conversion program that some poor dude wrote called HFSConverter. It needs Xcode to compile, but its linked against an old SDK that was dropped in Snow Leopard. The location it references is /Developer/SDKs/MacOSX10.4u.sdk. Just link to another one, like MacOSX10.6.sdk and off you go. It will compile perfectly.

When I'm feeling brave, I will run it and see if it converts the existing filesystem correctly.

Thursday, December 3, 2009

Day 3.09 (Regression)

Damn these apples. Macbook 1,1 with its "lid flaw" had some pretty potent hardware for its size. Tiger wasn't really anything special, Ubuntu 8.10 seemed like a logical choice at the time. Pity about those freezes and standby issues. Mind you, standby wasn't really an issue since the battery broke after about 3 years and it was mostly used with the power supply. But those freezes I could never figure out. Eventually with the upgrade to Karmic Koala and Canonical idea of ditching Madwifi in favour of ath5k I managed to pinpoint the problem. Then ath5k introduced another bug. Every time that silly Network Manager was scanning for new networks, it would somehow temporarily suspend the current Wi-Fi connection. Bummer! On one hand we have a surprise lockup with Madwifi, on the other annoying 10sec. pauses in connectivity every 2min. Which is worse? I suppose using a cable wouldn't be such a bad idea, but what about public areas like airports, hotels, etc.?

I guess Snow Leopard for MacBook 5,1 looked like a good candidate, especially since someone reported fan control problems under Karmic Koala as well as some battery longevity issues. Hmmm... Leopard it is then.

Firstly, Sun's VirtualBox is compiled for MacOSX. Yay! I can run a bear on top of a cat... Secondly, most of the tools I need for my work seem to have a MacOSX equivalent. And who can resist the Time Machine? So off we go...

Netbeans, Eclipse with MTJ, Opera, Firefox, Skype, VirtualBox (my favourite), Neooffice/Openoffice, Google Earth, Picasa, Gimp (with a little help of X11), Handbrake, Thunderbird, Sun J2me SDK. 

Ok, these are the main ones. Openoffice seem to have gone native so there's not much need for Neooffice anymore? Neooffice is based on the Openoffice anyways. Eclipse works well, but MTJ doesn't play nice with Sun J2me SDK 3.0. So switch to Netbeans where mobile development seems more solid. Install MacPorts so can get some open source on Darwin. Thought needed VPNC, but Snow Leopard seems to have Cisco IPSEC built into its network management. Even PPTP is there. Nice. All my VPN connections work. Even SonyEricsson phones connect well. Sort of... Only managed 3G over buetooth. USB says connection failed. Bummer...

Wednesday, December 2, 2009

Day 1.01

Snow Leopard on a MacBook Pro. Ubuntu is a pain on these Apple laptops. Takes a lot of patience to have it up and running and even then some things just won't work like the external display detection, etc.

Had very annoying issues with MacBook1,1 and 8.10. Madwifi would cause a proper freeze at least once a day. The notebook won't come out of sleep. Decided this time around to keep MacOSX since its *nix based and works well with the hardware it was designed for. Need to port all applications and development tools to it.