Installing OxygenOS 1.0 on the OnePlus One Smartphone

, 1 min read

Some notes and sketches to install OxygenOS on the OnePlus One, plus some remarks on my experiences. Download twrp. Download OxygenOS from here. Unzip the file and check MD5 of oxygen_1.0.0_flashable.zip with MD5 from web-page. $ cat oxygen_1.0.0_flashable.md5 2d79312774c44d2fa2bf5bb0c877d1b7 …

Speeding-Up Software Builds: Parallelizing Make and Compiler Cache

, 5 min read

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…

Statistics of this Blog: Crossed 20.000 Views

, 1 min read

This blog was viewed more than 20.000 times. As in this post, here are the numbers: The averages per day are: The development of visits is as below: Top posts (all time) are: Most visits come from US and Germany by a wide margin:

Classical editor in WordPress.com

, 1 min read

The new editor in WordPress.com is quite annoying. It is annoying because: list of categories do not show up edit area is smaller "copy a post" is missing "format" menu is now a drop-down Unfortunately there is no option to switch back and forth between the annoying and the…

Four Free Invites for the OnePlus One, #5

, 1 min read

I have four free invites to purchase a OnePlus One smartphone. Below are the codes: GLU4-W66Y-VALB-PEPS GLZK-QIZH-3GAL-QQYQ GLQ5-74SJ-EDCA-GH1K GLRW-XU8U-8MSB-GQ28 They expire within one day.

Two Free Invites for the OnePlus One, #4

, 1 min read

Two more invites: GL05-1RXC-BCFK-C3VN GLCF-1RUJ-ODEW-1YZW These are now expired.

Two Free Invites for the OnePlus One, #3

, 1 min read

I have again two free invites to purchase a OnePlus One smartphone. Below are the codes: GLFB-GQM2-ZDHX-2XJM GLQW-0J5G-URN3-ZPIC 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…

Malcolm Gladwell on the financial crisis

, 2 min read

Yet another excellent speech from Malcolm Gladwell given at High Point University, see highpoint.edu. This time on Financial crisis of 2007–08 Battle of Chancellorsville between General Lee and Joe Hooker during the American Civil War in 1863 Overconfidence and miscalibration, results from…

Malcolm Gladwell on the importance of stubbornness

, 1 min read

A very interesting speech of Malcolm Gladwell on stubbornness in below YouTube video. Dead link. Video is here: Conference: Genius in 2012 He makes references to Linear B, i.e., historic greek symbols Michael Ventris, deciphering Linear B Andrew Wiles and his proof for Fermat's Last Theorem, no…

Importing Calendar Data to Google-Calendar

, 3 min read

Importing calendar data to Google is still troublesome for a number of reasons. What seems to work goes like this: Force-stop calendar app in your Android phone Clear all calendar data in your Android phone Shut down your Android phone Log-off from all other Google accounts Shut down your browser…

Two Free Invites for the OnePlus One, #2

, 1 min read

I have two free invites for the OnePlus One. Below are the links: GLYP-ATVO-YQ8K-D969 GLGQ-A0LM-I7RL-EKGB Please do not click on the links if you do not want to actually buy the phone, because the invites are then reserved and cannot be used by others. For a review of the phone see Review of the…

On Differential Forms

, 7 min read

Abstract. This article will give a very simple definition of $k$-forms or differential forms. It just requires basic knowledge about matrices and determinants. Furthermore a very simple proof will be given for the proposition that the double outer differentiation of $k$-forms vanishes. MSC 2010:…

Testing file-size limits

, 1 min read

For testing purposes you may want to provoke a file-size error. Here are the steps. Open a new bash/xterm. Set a file-size limit with ulimit, then write a file with dd. ulimit -f 1 dd bs=1 iflag=count_bytes count=5000 if=/dev/zero of=yourFile The resulting error is File size limit exceeded (core…

Average daily commuting time in Europe and the U.S.

, 1 min read

Below chart is taken from Stress That Doesn't Pay: The Commuting Paradox, August 2004, page 30. The data is per 2000/2001. The above document links these numbers with reported satisfaction with life -- longer commuting times means less happiness. Numbers change over time. Five year later the U.S.…

Using GnuPG for encryption and decryption

, 1 min read

On Ubuntu install with: apt-get install gnupg First generate private and public key: gpg --gen-key Generating this key can take some time, because it needs enough randomness. Store your public key in a file: gpg -a --export Although it is not necessary to store this public key, you usually will…

WordPress.com News and Numbers: Year 2014 in Review

, 1 min read

Im(Press)ive! Your Year in Review published some usage statistics for the year 2014, which are quite astonishing: 18,300,771 new blogs 555,782,547 new posts 24.5 TB/h (Terabyte per hour) Compare this with statistics from year 2013: 13,704,819 new blogs 489,281,136 new posts 667,675,929…

Downloading Binary Data, for example Boost C++ Library

, 1 min read

Downloading the Boost C++ library is occasionally hindered by various company policies. boost_1_57_0.7z.rc4.b64 is Boost version 1.57.0 (MD5 is 17c98dd78d6180f553fbefe5a0f57d12) in the following format: compressed with 7z, size 55 MB encrypted with RC4, password "boost", size doesn't…

Announcement: 11th International Conference on Parallel Programming and Applied Mathematics

, 1 min read

The conference will start in September 6-9, 2015, Krakow, Poland. Parallel Programming and Applied Mathematics, PPAM for short, is a biennial conference started in 1994, with the proceedings published by Springer in the Lecture Notes in Computer Sciences series, see PPAM (dead link). It is…

Two Free Invites for the OnePlus One

, 1 min read

Below are two invites for the OnePlus One smartphone. These two invites expire in less than 12 hours. Don't click on the invites if you don't want to actually purchase the…

Setting up SLURM on Multiple Machines

, 4 min read

SLURM is a job-scheduler for Linux. It is most useful if you have a cluster of computers. But if you only have two or three computers it can be put to good use. SLURM is an acronym for Simple Linux Utility for Resource Management. SLURM is used by Sunway TaihuLight with 10,649,600 computing cores,…