Converting Bachelor Thesis from LaTeX to Markdown

, 8 min read

1. Problem statement. You have a Bachelor Thesis in LaTeX. This thesis is converted to Markdown. I had written on a similar topic here: Converting Journal Article from LaTeX to Markdown. 2. Solution. I already knew that a Pandoc approach does not work. For the conversion I modified the two Perl…

Our Neighborhood in the Milky Way in 3D

, 4 min read

Press release High-resolution three-dimensional maps of the Milky Way have previously been limited to the immediate vicinity of the Sun. In a collaboration led by the Max Planck Institute for Astrophysics with researchers from Harvard, the Space Telescope Science Institute, and the University of…

Linux on Android Devices

, 2 min read

Android is based on Linux. Unfortunately, the Linux on Android devices is severely restricted, in particular you cannot easily become the root user. Using Termux and the like you can get a little bit of the "usual" Linux feeling on Android devices. In addition to that, each hardware…

Introduction to mle: Small Terminal Based Editor

, 9 min read

1. Motivation. I am a regular user of vi/vim/neovim. But one thing, though, is a little bit annoying, when using neovim: even on a fast machine starting neovim takes quite a considerable time to start. Though, this is mostly caused by an elaborate initialization file. mle is a text editor written…

Cloudflare Dashboard Down

, 5 min read

This blog is self-hosted. One could think that this situation is particularly prone to outages. Actually, this hosting is quite stable compared to professional services. This to my own surprise. Today Cloudflare has its snafu-moments: Cloudflare is assessing a loss of power impacting data centres…

David Heinemeier Hansson on Cloud Computing

, 3 min read

This is in continuation of Nima Badizadegan on Cloud Computing. David Heinemeier Hansson, creator of Ruby on Rails, cofounder of the HEY e-mail service, prolific writer, made a number of noticeable remarks on cloud costs. David Heinemeier Hansson from 37signals.com wrote We stand to save $7m over…

Simplified Saaze Monitored with PHPSPY

, 8 min read

This blog uses the PHP-based Simplified Saaze software. I measured Simplified Saaze using XHProf: Profiling PHP Programs Profiling PHP Programs #2 Still I am interested whether I missed anything. In multiple talks Rasmus Lerdorf, the creator of PHP, advertises PHPSPY. PHPSPY was written by Adam…

Pagefind: Searching in Static Sites

, 5 min read

Pagefind is a JavaScript library, which you add to your static site. By that you then have complete search-functionality. Pagefind has the following advantages over other JavaScript libraries: Easy to install, no JavaScript dependency hell. Easy to add the CSS and the two lines with <script>…

Converting Journal Article from LaTeX to Markdown

, 11 min read

1. Problem statement. You have a scientific journal article in LaTeX format on arXiv but want it in Markdown format for a personal blog. In our case we take the article "A Parsec-Scale Galactic 3D Dust Map out to 1.25 kpc from the Sun" from Gordian Edenhofer et al. The original paper is…

Performance Comparison of Ristorante Panorama Website: WordPress vs. Simplified Saaze

, 2 min read

In the previous post Example Theme for Simplified Saaze: Panorama I demonstrated the transition from a website using WordPress to Simplified Saaze. This very blog also uses Simplified Saaze. This post shows how much better performance-wise this transitions was. The comparison is therefore…

Example Theme for Simplified Saaze: Panorama

, 8 min read

1. Features. Here is another theme called Panorama for Simplified Saaze. The example content is from Ristorante Panorama. This theme has below properties: It is geared towards restaurants with menus Responsive with media-breaks for 1-column, 2-column, 3-column, and printer output RSS and…

Malcolm Gladwell: Meritocracies don't work

, 16 min read

Malcolm Gladwell was invited to Google Zeitgeist again. He gave a talk on meritocracies and their failures. This is somewhat a follow-up on his earlier talk given on Google Zeitgeist. I had written on this prior talk here: Malcolm Gladwell: Don't go to Harvard, go to the Lousy Schools!. The talk is…

Performance Comparison gzip vs Brotli

, 2 min read

The NGINX web-server offers gzip, deflate, and Brotli compression. My current nginx.conf file uses brotli_comp_level 10; It looks that indeed the default Brotli compression level 6 is a sweet spot for Brotli. 1. Measurement. I used below software versions: Arch Linux kernel 6.4.12-arch1-1 Brotli…

From Hiawatha to NGINX

, 8 min read

1. Motivation 2. NGINX installation 3. Brotli compilation for Arch Linux 4. NGINX configuration 5. Caching 6. Deployment Since mid of August I switched from Hiawatha web-server to NGINX web-server. I initially intended to use OpenLiteSpeed web-server. See Installing OpenLiteSpeed on Arch Linux,…

Crucial 4TB SSD in Asrock A300M

, 3 min read

Task at hand: Increase SSD storage on Asrock A300M mini-PC, as existing SSD is 90% full. Solution: Buy a new 2 TB SSD, or use an existing 2 TB SSD, for example a Samsung. Bad idea: Buy a new 4 TB SSD from Crucial and insert it into the A300M. 1. Problem statement. Since May 2020 I own an Asrock…

Mixing PHP into Markdown

, 3 min read

Markdown is a simple language to write documents, which are finally converted to HTML. There are many conversion programs to convert from Markdown to HTML. This blog uses MD4C for this. The CommonMark specification says: An HTML block is a group of lines that is treated as raw HTML (and will not…

Installing OpenLiteSpeed on Arch Linux

, 3 min read

Unfortunately the AUR package (dead link) for installing OpenLiteSpeed is broken. Additionally, the manual installation of OpenLiteSpeed via self-compilation is a mess. 1. Downloading rpm. Here we describe using the rpm repository of /edge/centos/8/x86_64/RPMS/. Essentially, this is a precompiled…

Blog Anniversary: 500 posts

, 1 min read

This blog now has more than 500 posts. 1. Data. Generating static HTML files with Simplified Saaze shows number of posts: $ time php saaze -mortb /tmp/build Building static site in /tmp/build... execute(): filePath=/home/klm/php/sndsaaze/content/aux.yml, nentries=6, totalPages=1,…

cpio command cheat sheet

, 1 min read

cpio is a command, which is less used than tar. So the required options are often forgotten. cpio needs the < redirection to get its archive from stdin. List content of cpio-archive: cpio -tv < archive Extract data out of cpio-archive: cpio -idmv < archive, -i is extract, -d creates…

A Parsec-Scale Galactic 3D Dust Map out to 1.25 kpc from the Sun

, 82 min read

Author Gordian Edenhofer (1,2,3) Catherine Zucker (3,4) Philipp Frank (1) Andrew K. Saydjari (3) Joshua S. Speagle (5,6,7,8) Douglas Finkbeiner (3) Torsten Enßlin (1,2) } Institute Max Planck Institute for Astrophysics, Karl-Schwarzschild-Straße 1, 85748 Garching bei München, Germany Ludwig…



← Older       Newer →