OK, so TensorFlow is the popular new computational framework from Google everyone is raving about (check out this year’s TensorFlow Dev Summit video presentations explaining its cool features). Of course, a fun way to learn TensorFlow is to play with it on your own laptop, so that you can iterate quickly and work offline (perhapse build a hot dog recognition app). In these cases a GPU is very useful for training models more quickly. There used to be a tensorflow-gpu package that you could install in a snap on MacBook Pros with NVIDIA GPUs, but unfortunately it’s no longer supported these days due to some driver issues. Luckily, it’s still possible to manually compile TensorFlow with NVIDIA GPU support. I’ve hunted through a lot of different tutorials (1, 2, 3, 4 – this last one helped me the most) to bring you this hopefully complete description of how to set everything up correctly and get deep into learning (and I know, in 2 months probably become just another one in that list of outdated tutorials, but that’s life 🙂 ).
For the sake of verbosity, I’m using a MacBook Pro 10,1 with an NVIDIA GT 650M and OS X 10.12. Hopefully, though, it will work on a couple of other configurations as well. In any case, let’s start…
Continue reading Compiling TensorFlow with GPU support on a MacBook Pro
Just as I was doing a website mockup exercise in the awesome Sketch app, I noticed that I’m missing a font locally – Open Sans, one of the many open source fonts available on Google Fonts. I went searching for some Sketch plugin to install these fonts easily (which would make sense, since they are often used on the web as they’re free and some of them are really good). I haven’t found a plug-in, but I did find a nice small Mac app that sits in your tray and allows you to easily install Google Fonts:
It’s easy to set up by installing it from the above link or using Homebrew Cask:
brew cask install skyfonts
After this, you simply browse Google Fonts on fonts.com and “add” them (you’ll need an account there).
Continue reading Easily install Google Fonts
As I wanted to access my Eclipse workspace (synced over Dropbox) from both Ubuntu and OS X, I had to make some additional configuration in order for Texlipse to work. I will explain this procedure in short.
LaTeX executables that come with BasicTeX or MacTeX bundles (links and descriptions) in OS X are installed in a weird path, but this folder is symlinked to /usr/texbin. In Linux they are of course in /usr/bin. The easiest way to overcome this is to make a similar symlink in Linux:
$ sudo ln -s /usr/bin /usr/texbin
and after you’re done simply set /usr/texbin as the bin directory of the TeX distribution in Texlipse preferences – Builder Settings, as is described here.
Half way there, just need to set the previewer…
Continue reading Texlipse on Ubuntu and OS X
Here is a nice screenshot of Pink floyd inside a VLCKit view 🙂
Wanna know how to program it yourself in OS X?
Continue reading How to set up VLCKit in OS X