Skip to a section of this page:

Archive for the ‘Apple Mac’ Category

Dr Strangelove or: How I Learned to Stop Worrying and Love Windows

Sunday, July 5th, 2009

For web development, I prefer to work on a Mac. But I also like to game. So I tend to invest in hardware that will allow me to game and work without shelling out for a top-of-the-line Apple PC (at the moment, I think that would be my ideal setup).

I’ve never had the time to fully embrace Linux as a Desktop environment (too busy trying to understand Windows, which as you’ll remember, I require for gaming). This has historically left me in a somewhat uneasy truce with Windows as my primary OS (Operating System).

Anyway, about a year ago I decided to take the jump to Vista. Don’t ask why, that’s a separate saga, and not important to the information presented here (if you ask nicely, I might tell you some time).

Just add RAM

After upgrading, my rig was coping ok with 2 GB of RAM, but it felt sluggish at times and did not seem quite enough for Vista plus gaming. RAM is fairly inexpensive these days, so I considered simply adding some more. My assumption was that this would be a simple upgrade “just add RAM”, you know like “just add water” (note: don’t mix the two). Needless to say I ran into a number of problems upgrading and trying to tweak performance, of which there seems to be much confusing and often conflicting information available online in articles and forums.

Luckily, at the time I was on holidays, so I had time to sift through the mountains of technical missives, waffling threads, and all-out flame wars to distil what I believe to be the most useful and accurate advice — which I’ll publish one day soon, in the meantime, the saga continues…

Just add 32 bits

After upgrading to 4 GB of RAM it became apparent that not all of it was visible to Vista, it turns out that a 32 bit operating system can only address up to 4 GB of memory (including RAM and memory attached to other devices, like a video card).

I considered enabling PAE (Physical Address Extension) but read that would introduce driver incompatibilities. Instead, I decided to upgrade to 64 bit Vista because a 64 bit OS can address all of my RAM and video memory at the same time.

Just add XP

Unfortunately, while 32 bit Vista was sluggish and a little unstable, 64 bit Vista was sluggish and extremely unstable. I put this down to a lack of quality 64 bit drivers, but the result was a return to XP. After weeks of reading, upgrading and general frustration I was back at square one.

At the time I decided not to blog about all of this because I don’t generally like to dwell on the negatives (certainly not worth dwelling on a failure of this magnitude).

Just add Windows 7

It’s ok though, because the saga has a happy ending. In the last couple of months, I have installed the 64 bit Windows 7 Release Candidate (W7) and the results have been very promising. Stability is good, and performance is great, and I’m a big fan of the W7 features and UI improvements over XP.

Many of these UI improvements of course have been lifted straight from the Mac OS X playbook, but Vista/W7 have a few nice features of their very own, for instance they provide very nice options for replacing/merging files and folders.

Two weeks ago I upgraded my rig to the Nehalem architecture, and 64 bit Windows 7 has been just as reliable, and a little snappier thanks to the i7 processor and 6GB of RAM.

The verdict

In short, for best performance and usability: If you can’t afford a hulking Apple — Use Windows 7, use the 64 bit edition and pack lots of RAM.

For a more detailed list of performance dos and don’ts that I accrued through much reading, trial and error, stay tuned for my next post…

Mac OS X 10.4.4 Update Breaks MySQL

Tuesday, January 17th, 2006

Just updated to Mac OS X 10.4.4, only to discover it will break your MySQL socket configuration.
Here’s the fix… Run the following code in Terminal.app:

$ sudo mkdir /var/mysql
$ sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock

(Thanks to Blake and John, for spotting the problem and providing the fix)

Presence 1.2

Tuesday, December 6th, 2005

I have reached as much of the 1.2 roadmap goal as I can/am-going-to at the moment, so here’s the release.
I have added support for iChat in this version.

In terms of support for Fire, MSN IM Client, Yahoo IM Client, and others, I have been unable to find AppleScript support for these applications. I have decided for now, that I will be relying wholly on AppleScript (I am at a lack of time to explore other options at the moment).

So until other IM applications add AppleScript support, or unless someone can offer tips, suggestions, advice on other ways to control these applications, Presence will only be able to integrate with iChat, AdiumX and Skype.

Downloads and more information about Presence 1.2 here.

Presence 1.1

Monday, December 5th, 2005

I have met the simple roadmap goals (goal) for Presence 1.1 so I have released it.

Read more about the changes (change), and download Presence 1.1 here.

Any feedback would be appreciated.

Presence 1.0

Saturday, December 3rd, 2005

Here’s my dilemma:
I use multiple IM and Skype, and I need to keep my availability status accurate. I use Adium to keep all my IM accounts in order, and gives me global status control in a few clicks, but I also use Skype, so just to get up and leave my computer I have to perform a complicated navigation of applications, menus and clicking to keep my presence accurate.

I have a solution… enter Applescript…

I have embedded some simple AppleScripts in an Automator workflow and exported the result as applications.
There are 2 applications, PresenceAway sets all Adium accounts and your Skype account status to “away”, and PresenceAvailable which sets all your accounts to “online” or “available”.

Using these applications means just a single-click to leave and a single-click to return, while keeping your Online Presence up-to-date.

Download Presence 1.0

I have released these little apps under the Mozilla Public License 1.1 (see the included README.txt). You can download the latest Presence release from here.

Presence 1.0 is really only an “alpha” type release, its under-featured, and buggy. But improvements will follow. If you like the concept, let me know.

Known Issues

There are a couple of known bugs that I will look into correcting for future releases:

  • Will not work when Skype and Adium are not open (will launch both applications, then Skype may crash)

Let me know if you find any more problems.

Room for Improvement

As a first release, there is room for improvement. Any ideas or code to contribute, let me know :)

Road Map

  • 1.1 – Fix problems that occur when one of the applications is not open
  • 1.2 – Add support for iChat, Fire, and possibly other IM applications (MSN for Mac mabye).
  • 2.0 – Redevelop as a single application with hot keys
  • 3.0 – Add support for different states other than just “available” and “away”

The speed with which these features are implemented will depend on how much time I find I have, and how much feedback I recieve about the concept and which features people would like to see.