My morning papers

taz on the change in leadership of the AfD. Apparently the extremist wing of an already right wing party has had its say. The AfD moves in a more extremist direction, discounting its "moderate" wing. http://www.taz.de/Kommentar-Neue-Parteichefs-der-AfD/!5467235/ taz on the blockades during the general meeting of the AfD. Police act with utmost brutality to stop upright citizens from doing peaceful protests against the extremist party. http://www.taz.de/Aktionen-in-Hannover/!5467223/ This report details the plans for London to create publicly accessible water refill stations. I…

Keep reading

Next steps for ox-epub

About ox-epub I'm the author of ox-epub an org mode extension that let's you export your org files in EPUB format. This allows you to easily get your notes or plans onto a Kindle or other ebook device. Documents formatted with org-epub display well on limited capability devices like phones and e-readers. This week I'm preparing ox-epub version 0.3.0. This version will come with baked in support for mathematical formulae. On the project side, this version also now includes a basic CI pipeline using Travis CI. The documentation…

Keep reading

Using sudo in org-babel

Here's a simple way of using sudo in org-babel: #+NAME: just-open #+BEGIN_SRC shell :tangle no :dir /sudo::~mark/writing exec 2>&1 mkdir -p perf && cd perf /home/mark/.guix-profile/bin/perf stat -e 'block:*' ../open-perf #+END_SRC Use :tangle no to exlude this snippet from being tangled Use :dir /sudo::~mark/writing to activate TRAMP (/sudo) and set the current path that is to be used. Note: paths relative to the document didn't work out for me Use exec 2>& to…

Keep reading

Investigating open() and close() performance

On another day, the question came up, in how far the performance of open() affects a certain system. In my mind I was going through the need to go to disk and do sync() calls to open a file that didn't exist. Eventually I decided to write a simple tester for this use case. open-tester.cpp will open ten thousand files. In combination with Linux perf tool, this leaves us in a convenient position to benchmark the performance of this particular system call. The questions that I want to answer…

Keep reading

Review: The Great Gatsby

I completed reading The Great Gatsby last week. This book was a classic topic of English courses during my high-school years. I did however take only basic courses in English and never got to read this book. Instead we read "The Loneliness of the Long-Distance Runner". But back to Gatsby. The book started off, with the protagonist moving to the eastern United States and joining the bond selling business. It details the luxurious property of Gatsby. For me this led to a rather slow start. Bond business and high-society babble…

Keep reading