Scientific Python on macOS X

After some frustrating experience with MacPorts regarding failed builts and outdated versions I decided to setup my python development environment anew and do some things differently. Basically I followed Joern Hees’ fantastic blog post to switch away from my old environment with MacPorts and Conda and onto a fresh install using homebrew and virtualenv and pyenv.

A Word to the Wise

set up some taps and update brew
brew tap homebrew/science # a lot of cool formulae for scientific tools
brew tap homebrew/python # numpy, scipy, matplotlib, ...

The taps mostly don’t exist anymore or are deprecated, doesn’t matter too much though, since most of the packages have been migrated to the homebrew core tap.

pip install virtualenv

Of course virtualenv does exist, however there are some compatibility issues regarding the macos graphics backend and the usage of tensorflow; therefore one can either change the graphics backend to TgAgg or use pyenv instead.

An Additional Tip

Switching environments can be a hassle and therefore I suggest implementing a little bash function into your .profile file like this:
sc() {
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
source ~/venv/science/bin/activate
}

To be honest, I am quite happy with how this solution worked out and sadly the hardest part was to get rid of all the old stuff I had installed previously, but I won’t get into detail here; luckily with this new solution that won’t a problem.

Speaking for yourself

Have you ever wondered how much to charge for public speaking? In this piece by Merlin Mann that question is addressed thouroughly and even more Merlin goes into detail how to negotiate, since speaking is not just speaking, but there’s a whole lot of preperation going into a 20min talk.

You’ll be amazed to learn how many people who tell you they want “just a 20-minute talk,” honestly (really, no, really) see this as just a 20-minute time investment on your part. It never stops astonishing me. Never.

Designing Informational Media

At the moment I am working on a series of videos intended to raise awareness among students for common language mistakes within scientific writing. This campaign mainly focusses on so-called ‚Denglisch‘, which is a neologism comprised of ‚Deutsch‘ – German and ‚Englisch‘ – English. However I am not going to delve into the details of the subject matter here, instead I want to give you a glimpse of what to think about when you are designing informational media

Know your Audience

The first and most important step is to lean back and think about your audience. Who are you designing for, what is their relationship with your product? What are you trying to achieve for them? And how are they going to use the thing you do?

Conceptualize

Once you have found out about your audience, try to make a concept. Write down ideas and storyboards. Try to narrate a story using specific examples. Do some brainstorming with collegues, talk about how you are trying to achieve certain effects and discuss stylistic choices.

Do lean Development

Last but not least: Produce. But don’t shy away from producing something while everything else is not perfect. You will learn the most about the media you are creating and about the audience you are targeting by doing lean research and development. What I mean by that is, that you should start producing once producing is possible. Try to use as few resources as possible and make prototypes of your product. Shoot with a smartphone instead of an expensive camera, use cheap effects, do rudimentary lighting, use a cheap built in microphone, but just do it. Producing will help you understand the production toolkit you need and will teach you a lot about what works and what doesn’t work. Maybe you have to change how you produce, maybe you have to change the whole concept in order to achieve what you were shooting for. The worst thing you could have done is to go for the highest production value and then find out that your concept is trash.

Furthermore this way enables you to get your product out the consumers, you can learn about whether there is an actual need you are fulfilling. You can also begin to estimate what size the audience is that you are producing for and how much enthusiasm you are generating. From here you can start refining your concept, your message, your production. Now is the time to buy a more expensive microphone, to produce your idea with higher production value.