Skip to main content

Category: mac

Setup Sublime Text for F# Development

After being asked to use Visual Studio 2015 for F#{.tweet-hashtag} Development, I decided it’s way more lightweight to to develop it on my Mac using Sublime Text 3. Software you need installed: Install Mono on your Mac Of course Sublime Text 3 And the best package manager for Sublime, Package Control. Install (using package control) these packages with package control in Sublime Text: F# – Gives you syntax Highlighting F-Sharp – Autocomplete, tooltips, definitions, etc.

MacBook vs. MacBookPro

Does CPU speed matter for gaming on a Mac Laptop? The difference between, for example, 2.4 Ghz and 2.6 Ghz will be negligible when running the games. What will contribute to the smoothness and quality of the games the Graphics Processing Unit (GPU) and to an extent bus speed, CPU cache and RAM. When it comes to RAM, the more the merrier – to avoid the Hard Drive being used to swap applications when your memory is full.

Compiling readline on an OSX 10.5 intel x86_64

I’m stuck with a whole bunch of problems getting code to compile and co-operate nicely on my new MacBookPro. I’m compiling my own PHP, but it defaults to compiling for the i386 (32bit) architecure, which then fails when Apache2 running in 64bit mode tries to use the 32bit DSO for PHP5. Compiling PHP5 as 64bit then fails linking against the i386 pgsql lib, and so on. I really need everything using the x86_64 architecture. How does this all relate to readline under Leopard?

IM Status Applescript for iChat Adium and Skype

I use iChat, Adium and Skype all at the same time. I was looking for a quick way to change the status of all three of them with one fell swoop.

Looking at what other people had written I came across a [good example at Jason Kenison’s blog][1]. He had implemented a method whereby you select Away or Available and then the script will change the status of all three. It worked for Skype and iChat but not for Adium.

Fix for loud clicking MacBookPro trackpad

I love the new MacBookPro, but the trackpad clicks so loud that people on public transport stare at me. I’m not the only one with the issue. An enterprising user on the Apple Discussion forums remembers a similar problem and fix for the trackpad from earlier MacBook models. The fix in this case involves removing your battery and sticking a piece of paper between the pad and the chassis. It works, and here is my solution captured at the moment of repair:

Switching to multi-line mode using Textmate Regex

So you have a pattern you want to match across multiple lines, and you have a regular expression that matches it. You will probably be used to doing this in perl like this: /some.+?stuff/s or using regex in ruby like this: /some.+?stuff/m However you have just started to get used to Textmate as an editor and you see it supports regex matching. Why though does it not use /s or /m for multi-line dot matching?

Textmate Posting Hiccup

Forgive my triple Post Hiccup. When Textmate posted my blog posts, I got errors. Thinking the post had not completed, I retried until I figured out the problem. If you use WordPress V2.3 and post with Textmate, then don’t try to add a new category when posting an article. You get this problem: <br /> Fatal error: Cannot use object of type WP_Error as array in wp-includes/taxonomy.php on line 1010<br /> Looks like I am not the only one.

The state of Broadband in developing countries

Australia is a mixed bag at Broadband. In some ways we resemble the US, and in no way do we resemble the Japan style FTTN networks (yet). But the infrastructure is starting to be there. What sucks is that sometimes to get the 30 Mbps connections you have to pay quite a bit for it (AUD$90/bundled per month for 25GB, Bigpond Cable). Yes I’m only with Bigpond cable as no ADSL service exists in my area that comes close to that speed.