Speeding-Up Software Builds: Parallelizing Make and Compiler Cache

1. Problem statement

Compiling source code with a compiler usually employs the make command which keeps track of dependencies. Additionally GNU make can parallelize your build using the j-parameter. Often you also want a so called clean build, i.e., compile all source code files, just in case make missed some files when recompiling. Instead of deleting all previous effort one can use a cache of previous compilations.

I had two questions where I wanted quantitative answers:

  1. What is the best j for parallel make, i.e., how many parallel make’s should one fire?
  2. What effect does a compiler cache have?

Continue reading

Classical editor in WordPress.com

The new editor in WordPress.com is quite annoying. It is annoying because:

  1. list of categories do not show up
  2. edit area is smaller
  3. “copy a post” is missing
  4. “format” menu is now a drop-down

Unfortunately there is no option to switch back and forth between the annoying and the classical editor, you either have to go via the wp-admin area, or use below direct URLs. Also see Timethief‘s post Navigating the Classic WordPress.COM interface.

Here are the URLs to access the classical editor:

  1. edit post #123456: https://eklausmeier.wordpress.com/wp-admin/post.php?post=123456&action=edit
  2. new post: https://eklausmeier.wordpress.com/wp-admin/post-new.php

A similar annoyance is the new statistics page. I prefer the “old” statistics page which can be found in https://wordpress.com/my-stats?blog=2434324. Every blog has a unique number, mine is 2434324.

Two Free Invites for the OnePlus One, #3

I have again two free invites to purchase a OnePlus One smartphone. Below are the codes:


The last two invites were just claimed, and were not actually used. This is really a waste of these invites, as there are a lot of people who really would like to purchase these smartphones. So this time, I just mention the codes, without actually given a link, which people can just click and then not do anything with the invite.

These are now expired.