A walk in the park with Valgrind and Yosemite

I used to install Valgrind with Homebrew. However after upgrading to Yosemite, the support for Valgrind got lost…

Since my development environment is a remote server running OpenSuse this incompatibility wasn’t really a problem apart from annoying my geeky urge to be up-to-date.

Following this response to a Stackoverflow post valgrind installed like a breeze with brew.

To sum up the answer: brew install --HEAD valgrind

However, since both GNU gcc and clang is installed on my Mac, I needed to set HOMEBREW_CC and HOMEBREW_CXX. The one-liner setting the environment Homebrew variables and installing valgrind is thus:

HOMEBREW_CC=gcc-4.5 HOMEBREW_CXX=g++-4.5 brew install --HEAD valgrind

Several other guides, Julian SewardMario Ranftl, Taras Kalapun, for installing valgrind on Yosemite are on the thing called the internet. However the principle of KISS kept me from spending more time on an already solved problem.

Happy debugging!

A change of bass

Again,  I was tempted by second hand bass gear in DBA and bought this new awesome Phil Jones stack consisting of the Suitcase combo and 4B extension cabinet. The amazing thing is that the 25Hz – 15KHz frequency range is accomplished with mere 5″ speakers. The manual for the combo and the cabinet describes in details the technology behind the speaker design. Before buying the stack I was looking at the DB115 cabinet to extend my existing Aguilar GS112 cabinet. But the damn thing weighs 32 kg which adds up to 59 kg for the Aguilar stack. In comparison the Phil Jones stack is only 39 kg in total.

So now I am in possession of at least on bass amp too much, hence, give me a call if you wanna buy the Aguilar stack:)

I haven’t played the Phil Jones on any gigs so far, but I will be bringing it to the Engelsholm music workshop later this summer. That is, if my modified trolley doesn’t break down.

Phil Jones Suitcase + 4B cabinet + Elrich NJS5 on my modified trolley

Listen up

Spending a good 30 min on my bike every day to and from work eventually becomes quite tedious without some sort of distraction. At least for me podcasts do the job the perfectly. In fact it’s not until quite recent that I started listening to podcasts, previous I mostly listened to music while biking. So just to share some of my favorite shows comprising; always interesting stories from: This American Life, WNYC’s Radiolab, the nerdist; geeky and technical stuff from: Software Engineering Radio, Research Computing & Engineering, CompuCast

This American LifeResearch Computing & Engineering PodcastRadiolab

The Nerdist Software Engineering RadioCompucast

I use the pocketcasts_logoPocket Casts app for feed subscriptions listening.

Latex for fun

While searching for solutions for some LaTeX_Logo problems, I came upon the simpsons and coffee packages. The former is enables shortcode for all characters from the Simpsons and the latter allows overlayed coffee stains to be inserted into your latex paper. Quite nice, geeky and somewhat superfluous:)

To install the packages download the simpsons and coffee. I use the texlive distribution of LaTeX_Logo so the steps might not apply to your installation.

For the coffee package,
  1. Create library called coffee in in this path “(TEX INSTALL DIR)/texmf-dist/tex/latex/coffee”
  2. Copy the coffee4.sty  into the directory
  3. Run texhash or mktexlsr as sudo to add coffee to your available packages
  4. Check out coffee4.pdf for usage instructions

For simpsons,

  1. Create folder called simpsons: “(TEX INSTALL DIR)/fonts/tfm/public/simpsons”
  2. Copy simpsons.tfm into this folder
  3. Create a folder called simpsons: (TEX INSTALL DIR)/texmf-dist/tex/latex/simpsons
  4. Copy the simpsons.sty into this folder
  5. Create a folder on this path: “(TEX INSTALL DIR)/fonts/source/simpsons
  6. Copy the all *.tfm files into this directory
  7. Run texhash or mktexlsr as sudo to add coffee to your available packages

Check this post by David Richeson for a probably better guide to install the two packages:)

Intermission

Finally, after postponing the submission twice, I finished my master thesis and handed in. Although not entirely perfected I am quite satisfied with the result. In a few weeks I will have my defense and then…?

In a moment of hybridian excess I decided not to go for a second interview round at Novozymes for a job as a Computational Research Assistant. Since I wasn’t selected initially after the 1st round I made arrangements with Center for Protein Research (CPR) to be hired on a short term contract as a Research Assistant.  Of course the prospect of getting a job right after graduation was promising, but I felt I hadn’t  explored the job possibilities thoroughly enough. So for the next three months or so I will be working at CPR to finish up some benchmarking of a document ranking algorithm for Pubmed queries, which hopefully results in a publication as a co-author. Apart from this assignment I will be restructuring scripts for some of the PhD students in the group and scout for interesting jobs. Hopefully I won’t follow the trajectory given below.

Go to top