Skip to main content

Tag: OSX

vim crashing with ruby on OSX

I started having trouble with vim crashing for me. I’m on OSX with homebrew and rbenv, and it crashed when editing Ruby files. I would get a segmentation fault. After some googling which was not particularly fruitful, the solution I came up with was: switch to the system ruby rbenv shell system uninstall vim completely with homebrew brew uninstall vim reinstall vim from head brew install --HEAD --override-system-vi vim This seems to have fixed the problem, though I do not know if it was switching to the system ruby or installing from head.

cello voice

So Mac OSX has the say command, which reads out some text in the computers voice synthesis functionality. This is old news. The new hotness is switching into the “cello” voice with say -v cello. I’s lyrical and beautiful, though reading out file names is entertaining: say -v cello source/_posts/2013-08-24-cello-voice.markdown This was brought to my attention through the guard-shell gem README.

(node) development on OSX

I love my Macbook Pro, for development and general computing use. Before I purchased it I was a die hard linux user (apart from gaming which is still dominated by windows unfortunately.) My work involves linux1 and I am a committed vim user.

My work colleagues tend to laugh when I say that I want to use my mouse as little as possible, and that I am quite experienced in command line use. It pains me every time I see my office mates reach over to the mouse to click the save button.

This workflow does not translate too well to the Mac; as far as I understand it Apple2 were one of the first companies to introduce guis for their operating systems.

Mac keyboard keys with Synergy

Synergy is a great program to control multiple computers from a single keyboard or mouse even without them being plugged in. The only requirement is that theyre on the same local network. Im sharing my configuration which has my windows desktop as the server, and my macbook as the client. Using a windows keyboard creates some issues with the macbook, so here are the settings I use to map the keys correctly:

OS X 10.7 Lion: my thoughts

My first OSX upgrade went well I think. My MacBook Pro is a Mid 2009 model, as the nice new About This Mac (not sure why this is capitalised but never mind) tells me.

New about this mac window

Ive never upgraded a Mac before since my pride and joy came with Snow Leopard installed, the as-of-then most up to date operating system so I had no idea what to expect. Ive been using my Mac for nearly two years now but before that I was a pretty heavy Windows user. My other tipple is Linux, so whatever it was like I was going to be tense and anxious. 

Afloat for Mac OS X

After years of using Linux as my main system both at work and home, I got used to being able to drag windows by holding a keyboard combination and dragging with the left mouse button. The one disadvantage of the otherwise fantastic OS X is that despite being unix based, it did not have this feature. Having to drag a window by the very top bar got a little tedious, and resizing with the lower right handle was sometimes difficult.

Installing IT++ on Mac OSX

IT++ (or itpp) is a library of Matlab-like functions. I was trying to install this as it contains a nice FastICA algorithm, but was having trouble compiling it on my laptop. I tried googling and found this, but it didn’t work for me. My issue was that it was not linking to the ATLAS library, which I required for fast computation. IT++ installed without it, but I wanted these features, so after wading through many options, I managed to root out the problem.

Flash blocker for safari

Update: Wed 27 Feb 2013, since I’m updating this blog, chrome and firefox and safari all support this feature. Google Chrome has1 one, Firefox has one but Safari does not… until now! For me, having a manual “load flash only when I tell you to” button in a web browser is a must. This reduces CPU usage on my mac which increases battery life and stops it getting too hot. These are nice things to have!