Systems Stuff on Proggit (May 2013)
As the title says, this post is just a filtering of todays proggit. Namely the posts that caught my interest that day.
Difficulty level 2 of 5: Easy
As the title says, this post is just a filtering of todays proggit. Namely the posts that caught my interest that day.
I’ve decided to learn Go. Not the board game, but the programming language. Why? I’ve been wanting to learn a systems programming language for a while, but have so far avoided picking up my brick of a C++ manual.
This post is very Denmark-specific. I was annoyed that downloading environmental data from the ministry of the environment was so cumbersome. Long story made short, here are download URLs for environmental data: Dataset URL Kirkebyggelinjer KIRKEBYGGELINJER_SHAPE.zip Skovbyggelinjer SKOVBYGGELINJER_SHAPE.zip Åbeskyttelseslinjer AA_BES_LINJER_SHAPE.zip…
Adapted from an article I found by Googlin’. There are many ways to define this, but simply put: Task parallelism is the simultaneous execution on multiple cores of many different functions across the same or different datasets. Data parallelism (aka…
A few days ago I found out that using the Python debugger is so easy, I can’t believe I haven’t used it before. Import the module: import pdb Set a breakpoint somewhere in your code: def some_function(self, x, y, z):…
BigQuery is an API developed by Google for querying big data using an SQL like language. For beginners I can recommend this video presentation on BigQuery. It also covers the open source version (Apache Drill) of the software (Dremel) underlying…
The two main things to do with a memcached cluster is getting a key and setting a key to a value. Below are examples of this, with parameters explained (something most examples miss for some reason?). Examples Connect to memcached:…
Podcast (mp3)
To benchmark a HTTP server, you can use the command-line utility Apache Bench (command ab). If you have Python installed, you can start a HTTP server, e.g. running on port 10000, in any directory of your system. It will serve…
I use two ways to manage paths in Mac OS X: ~/.profile I use the first option when trying things out, and the second for managing the path more permanently. Example And example of the using to include…