Profiling PHP Programs #2

, 44 min read

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…

Hosting Static Content with Neocities

, 3 min read

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…

Steve Jobs on Bicycles

, 3 min read

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…

Data Centers in Africa

, 1 min read

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,…

Performance Remarks on PublicoMag Website

, 2 min read

Publico is a German political magazine published by Alexander Wendt. The website is using WordPress and hosted on Cloudflare. Webserver is NGINX. It contains content since Oct-2017. 1. Frankfurt. Below is an analysis conducted via pingdom.com. Page in question is Inspiration als Energiequelle:…

Example Theme for Simplified Saaze: Paternoster

, 7 min read

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…

Neural Network Training using Stiff ODE Solvers

, 4 min read

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}$,…

Theorem of Stein and Rosenberg

, 5 min read

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…

Example Theme for Simplified Saaze: Vonhoff

, 2 min read

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…

Comparing Self-Hosting vs. Hashnode vs. Bearblog

, 5 min read

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…

Member of 512KB club

, 5 min read

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…

Ahrefs: Infinite Loop on Login

, 1 min read

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:…

Accessing J-Pilot Data From Mobile And Web

, 3 min read

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…

Embedding Content in Simplified Saaze

, 3 min read

This blog is powered by Simplified Saaze. This static site generator allows to embed various external content, like: Twitter YouTube TikTok Vimeo WordPress Video This post gives some examples. Before we show the easy way to embed them, let's just reiterate that you can embed the plain HTML code…

Website Checking with Ahrefs

, 3 min read

One of the most frequent visitor by far of this website is the ahrefs.com robot. The Ahrefs company, located in Singapore, uses 3,455 servers and stores more than 300 Petabytes. Ahrefs scans this website even more frequently than Google! Below table shows the monthly visits to this website. It can…

J-Pilot Usage Statistics

, 1 min read

Since 26-Nov-2023 I no longer user the J-Pilot native format for data storage. Rather, I only use the SQLite data format. I.e., I use SQLite since roughly five months. The SQLite database tables contain two columns called InsertDate UpdateDate It is therefore now easy to see how many records have…

SQLite3 sqldiff command

, 1 min read

Task at hand: You want to compare two SQLite3 databases. What data has changed? What has changed in the schema? SQLite3 provides a simple, but neat tool called sqldiff. $ sqldiff --help Usage: sqldiff [options] DB1 DB2 Output SQL text that would transform DB1 into DB2. Options: --changeset FILE …

Performance Comparison C vs. Java vs. Javascript vs. PHP vs. Python vs. Cobol vs. Dart

, 7 min read

1. Introduction. This post is a continuation of a previous benchmark in Performance Comparison C vs. Java vs. Javascript vs. LuaJIT vs. PyPy vs. PHP vs. Python vs. Perl. Here we compare C Java JavaScript Python Cobol GnuCOBOL gcobol (gcc based COBOL) Dart I tried to run IBM COBOL as well, but…

Streaming Desktop with Audio to the Internet

, 3 min read

Task at hand: You want to show your desktop including audio to a person in another country. This task is similar to watching YouTube with multiple people using w2g.tv. 1. Terms used. FFmpeg, initially developed by Fabrice Bellard. Name comes from "Fast Forward MPEG". HLS or "HTTP…

Simple Web-Clipboard

, 1 min read

Sometimes you want to store a simple text, like an URL, in a Citrix environment, which has copy-to clipboard functionality disabled. It would be handy if you could just copy the clipboard entry to another Citrix environment. I googled for "web clipboard". The listed solutions did not…



← Older       Newer →