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…
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, but installation and configuration of OpenLiteSpeed turned out to be complicated. I had previously experimented and used…
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…
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…
Unfortunately the AUR package 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 binary in…
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 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…
After adding a number of smaller features to Simplified Saaze I wanted to make sure that not too much fat has been added. So I profiled Simplified Saaze with XHProf. I had written on PHP profiling in Profiling PHP Programs. I used XHProf version 2.3.9 and PHP version 8.2.8 on Arch Linux kernel…
I wrote about hosting static sites on various platforms:
Hosting Static Content with surge.sh
Hosting Static Content with now.sh, now.sh renamed themself to vercel.app
Hosting Static Content with netlify.app
Hosting Static Content with Cloudflare
This short post documents how to upload static…
1. Energy efficiency. Steve Jobs was impressed by the efficiency of the human riding a bike.
Steve Jobs has cited this comparison multiple times during his life. Probably he was referring to this chart in Scientific American:
Bicycles are very efficient, see The science of bicycles by Chris…
1. Wikipedia. Wikipedia has a total of five data centers in the US, Europe, and Singapore. They are given in below table as of 2023.
Nr.
Location
Role
Since
1
Virginia, USA
Application + Caching
2010
2
Texas, USA
Application + Caching
2014
3
Amsterdam,…
Publico is a German political magazine published by Alexander Wendt. The website is using WordPress and hosted on Cloudflare. Webserver is NGINX.
Below is an analysis conducted via pingdom.com. Page in question is Inspiration als Energiequelle: Neues vom grünen Hauptmann von Köpenick.
It clearly…
1. Features. Here is another theme called Paternoster for Simplified Saaze. The example content is from Leon Paternoster.
Some key features:
Multiblog: 3 different blog types, i.e., one classical blog, one Twitter like blog, one link-collection blog
Lightweight as there are no gimmicks, no social…
This post recaps the paper from Aaron J. Owens and D.L. Filkin from 1989: Efficient Training of the Back Propagation Network by Solving a System of Stiff Ordinary Differential Equations.
1. Neural network. Below is a single "neuron":
Input to node $Q$ is given in $A_i\in\mathbb{R}$,…
This post recaps content from Homer Walker in his handout, and Richard Varga's classic book "Matrix Iterative Analysis".
Below tables show the three standard iterations for solving the linear system $Ax=b$, with $A=(a_{ij})\in\mathbb{R}^{n\times n}$, and $x,b\in\mathbb{R}^n$; index $i$ is…
1. Features. Here is another theme called Vonhoff for Simplified Saaze. The example content is from Rolf Vonhoff, layout is a stripped-down version of this blog.
Some key features:
Lightweight as there are no gimmicks, no social media icons, no categories+tags, no dark theme switcher
Simple…
1. Current state of affairs. Blog posts for this blog are written in Markdown with some frontmatter. I can use any editor of my liking. Once I am done with the writing, I run Simplified Saaze on the Markdown files, then deploy the generated HTML files with a shell script to my web-server, Hiawatha…
1. Motivation. I had written on the growing size of web pages: Average Size of Web Pages plus Prediction. Once I moved my blog from WordPress to Simplified Saaze hosted on my own equipment, I got the hang on optimizing the download speed of my pages. I wrote a number of posts on this.
I started…
At 15-May-2023 15:00:00 I ended up in an infinite loop at Ahrefs: I could not login. There was no workaround. The browser in question is Firefox Version 113.0.1 (64-bit).
It is noteworthy that even a large internet company like Ahrefs is susceptible to these kind of errors.
Added 18-May-2023:…
In SQL Datamodel For J-Pilot I described a SQLite based datamodel for J-Pilot. This SQLite based storage is now reality with
J-Pilot Plugin For SQLite Export which describes a plugin for J-Pilot, which allows to write data out to SQLite, still keeping the internal Palm data format, and therefore…