Dokuwiki – The Canonical Wiki

Dokuwiki, over the last 10 years, has become the canonical wiki. By this I mean that Dokuwiki is the go-to wiki for most uses. While there are many other wikis which are popular and in use (e.g., Xwiki, MoinMoin, TikiWiki, etc.), the competitors (other than Mediawiki) do not exceed half of Dokuwiki's popularity. The only ... Read more

Asus C101PA – Chrome, Android, Linux

The Asus C101PA is a Rockchip (arm) and has the same baseboard as the Samsung Chromebook Plus. Both of these are up next for getting Crostini / Linux Containers. As a sub platform of ChromeOS it turns out that this is a very good device that is fairly high up in the stack of platforms ... Read more

Xiaomi Redmi 4A (aka Rolex)

See also LineageOS on Xiaomi The Xiaomi Redmi 4A (aka Rolex) is a cheap (~100 USD) and lightweight (131.5g) 5" phone. For price, weight, and size, there is not much competiton. The screen is a 720 x 1280 px 16x9 screen that is pretty decent. Its got a Snapdragon 425 and 2gb of RAM with ... Read more

ChromeOS – Apps, Config, Utilities

This is meant to help with the conversion from OSX to ChromeOS. For background on ChromeOS and Chromium, see chromium.org. See also a hardware discussion on Chromebooks, Chromebits, and Chromeboxes. What Chromebooks Can't (Yet) Do Note: the Crostini project means that a host of Linux apps and functionality can/will/may be on tap, which can affect ... Read more

WQHD Monitors

Note: 43" 4K monitors are likely taking over this WQHD space. Also beware the VA panels, they just don't perform as well as IPS. Second Note: the problem of using a 4K TV for a monitor is in the viewing angles. Also Chroma subsampling is needed for decent support of text. What appears to be ... Read more

Linux Kernel on the March

As of early 2018, ChromeOS and Desktop Linux have both crossed the 3% threshold. Android is approaching 50% for OS market share, and is in excess of that in terms of new devices. Heady times for the Linux Kernel indeed. While Android uses the Linux Kernel, nearly everything else in Android is customized, and therefore ... Read more

OpenVPN on ChromeOS, Android

See also OpenVPN on Amazon Linux Complexity with a Simplistic Solution OpenVPN on ChromeOS and Android has become a bit complicated, since ChromeOS now supports Android. However, Android seems to live inside its own environment within ChromeOS, accessible to other Android Apps, but without the ability to modify the larger ChromeOS environment. This means that ... Read more

Xiaomi Brand – the Rise and Fall

Note: as of 2022, our household moved from Xiaomi to Samsung phones (similar spying, different government), and ditched the increasingly annoying Mi Box for a Google Chromecast (and Google Nest in a different room). We still love things like wired earbuds and backpacks from Xiaomi, but are suspicious of anything with any greater electronic footprint. ... Read more

Linux Desktop – Apps, Config

This is about linux desktop issues (as opposed to server), and mainly deals with desktop-style configuration. See this post about shell and command-line utilities and environments. See also ChromeOS - Apps, Config, Utilities for the companion article on ChromeOS. Android Apps Android Emulators for Linux This is pretty much unneeded these days. Apps and Utilities ... Read more

Chromebook ChromeOS Devices

Update early 2021 - Apparently ChromeOS outsold OSX in 2020. This makes sense as the strength of the ChromeOS is primarily in the education market, and that market exploded with demand because of Covid-19 school closures and the need for devices for remote schooling. This is an overview of what Chromebooks, Chromeboxes, and Chromebits can ... Read more

Grav CMS on Debian

This post will be frequently (or infrequently) updated. It is meant to help me learn Grav and Gravcart, and in particular migrate off of WordPress and Woocommerce. Related Artices in Debian Services and Applications - Debian on AWS Lightsail - OpenVPN on Debian + UFW Firewall - Nginx and Letsencrypt on Debian - PHP & ... Read more

Amazon Linux First Steps

First steps after logging into an Amazon Linux box: Set up the Name Services (DNS, Hostname) Properly Note there are several places this needs to be set. nano /etc/sysconfig/network-scripts/ifcfg-eth0 Make this look as follows: DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes TYPE=Ethernet USERCTL=yes PEERDNS=no DNS1=84.200.69.80 DNS2=84.200.70.40 DHCPV6C=yes DHCPV6C_OPTIONS=-nw PERSISTENT_DHCLIENT=yes RES_OPTIONS="timeout:2 attempts:5" DHCP_ARP_CHECK=no Note that this fixes the general VPC ... Read more

.bashrc, .bash_profile, PATH

On a new Amazon Linux AMI installation, there is a useful ec2-user account configured. However, in order to make it more useful, there is a need to edit some .bashrc files, as well as create a new user for sftp and scp, as those will produce errors using login scripts that we will set for ... Read more

Tesseract OCR – Machine Learning

Tesseract OCR is a library and engine for optical character recognition. Version 4.0 has a greater facility for neural network training. The Tesseract Wiki is a good place to start. The Tesseract V4.0 neural network in particular implements an LSTM engine.

Genealogy Tools and Resources

This is a grab bag websites, books, software, and services which have helped in this genealogical endeavor. DNA Analysis FamilyTreeDNA YSeqDNA GEDmatch I started with FTDNA, and it is difficult working with them to do exports, or really anything that is beyond the basic interface. Also, their prices are high. YSeqDNA is cheaper, faster, better, ... Read more

DeepSpeech – Machine Learning

DeepSpeech Speech Recognition Machine Learning These are notes to the project, which seem to me worth pursuing. Having recently seen a number of AWS re:invent videos on Vision and Language Machine Learning tools at Amazon, I have ML-envy. Time to start a project, but while I wait for the Amazon Transcribe and Amazon Translate to ... Read more

Dropbox Cloud Storage and Sync

Dropbox is a cloud storage and sync service, with additional editors/apps, such as Paper and Showcase. For various reasons, those additional Dropbox apps are not useful for our use cases. However, storage and sync are excellent in and of themselves, and generally superior to Google Drive which is the only real alternative. What Dropbox gets ... Read more

Dropbox Paper, Markdown, Sync

Dropbox Paper is a product I really want to like. For one thing, the promise of better editor is something long unfulfilled. And taking some design cues (or perhaps merely unrelated similarities), Medium did do something nice for the blogging environment. By extending it as essentially a wysiwyg Markdown+ editor, drag and drop-friendly, with handy ... Read more

Open Source Collaborative Docs

We can call this Tsuite, inspired by Toot Sweet (a Chitty Chitty Bang Bang candy invention), and is meant to provide some functionality offered through third party collaborative documents. The main point is to have a self-hosted, free-and-open-source alternative, albeit with more bare bones functionality. Ultimately the goal is to be functional enough to allow ... Read more

Machine Learning, Artificial Intelligence

See also Deep Speech, Tesseract Items on ML (from 2019) IBM's Ginny Rommety gave a compelling keynote at CES on AI, as well as answering a great set of questions on Bloomberg Technology. It seems to me that the discussion of AI (as per Rommety) should not be using the term AI but rather cognitive ... Read more

AWS DHCP Options and Resolv.conf

AWS DHCP options are set on a per-VPC (Virtual Private Cloud) basis. By default, things like the search scope and DNS servers used by a given AWS Instance are set by DHCP which also provides the private IP address (but not any Elastic IP Addresses). Indeed, the Amazon Virtual Private Cloud is a fundamental core ... Read more

Server-Side Analytics and NoJS

The current system of analytics tracking is so very broken, let us count the ways: Most solutions require third party trackers These are easily blocked by third-party ad blockers/privacy tools They are mostly javascript (and javascript can be disabled) They are a privacy nightmare, even when implemented properly They slow a site down by increasing ... Read more

Inkscape – Open Source Vector Graphics

Current issues The latest version of Inkscape has to be downloaded as an AppImage from the website. An earlier version is available via apt. Interoperability with Adobe Illustrator (AI) still has a fundamental issue with AI using 72ppi and Inkscape using 96ppi (CSS standard). Basically any objects in Adobe SVG files will appear to be ... Read more

Minification, Compression, Expiration

A big part of speed is managing the browser cache. This usually means setting compression (gzip/deflate) and expirations of cached content. Compression takes place at the web server (generally after minification). Minification usually also combines files together, so that that there are fewer requests. Compression provides enormous advantages (much more than minification), however, minification done ... Read more

MySQL 5.6, 5.7, SQLite

MySQL is good for large multi-user databases. However, when dealing with few changes to the database, and many reads, it is far from a great solution (in fact, is a terrible solution). SQLite is far superior in that situation, and for serial/sequential edits. MySQL 5.6 vs. 5.7 For those with minimal database needs, 5.7 is ... Read more

Nextgen Personal Technology Stack

Note: This page is a document of the next generation of webdev/devops from what is currently in place (granted, much out-of-date). What follows is a personal technology stack learning task list rather than a comment on the state of web development. Updated - June 2019 2019-2020 Priorities Focus on maintaining technologies that work good enough ... Read more

cron and crontabs on Amazon Linux AMI

Two words time-based automation: cron and crontabs (and other apps such as anacron) are needed for so many things on a server. Here is how to use cron and crontabs on Amazon Linux AMI. Install crontabs This will in addition install several dependencies, including cron. yum -y install crontabs chkconfig crond on service crond start ... Read more

WooCommerce, WordPress Plugin Sites

There are several sites which sell unlimited access to a large number of WooCommerce and other themes and plugins. These sites are taking advantage of the GPL which allows for free distribution, though it is unclear if they are violating use agreements (or trademarks). In any case, each of these sites has a set of ... Read more

Amazon Linux Backup and Recovery

This is a collection of stuff that can help out when things go wrong. Extract Fingerprint and Public Key from a Private Key Extract Public Key from Private Key: ssh-keygen -y Generate a Fingerprint of a Private Key to verify in the AWS EC2 Console: openssl pkcs8 -in path_to_private_key -inform PEM -outform DER -topk8 -nocrypt ... Read more

Tokyo or Singapore Datacenter

Tokyo still top choice for Asia HQ Datacenter Even with multiple options coming online in Singapore, Tokyo is still the best option for a single, Asia-based datacenter. Even when serving locations such as Thailand and Vietnam, Tokyo is a strong competitor to Singapore. Linode is my unmanaged VPS of choice. They have a great service, ... Read more

WordPress Multisite on Amazon Linux

This assumes a current configuration of: - Amazon Linux (6.x RHEL series) - Apache 2.4 - PHP 5.6 + Opcache - Oracle MySQL 5.7 Installation up to this point is encompassed by: - OpenVPN on Amazon Linux EC2, basic configuration and securing an EC2 instance - Amazon Linux, Apache, MySQL, and PHP, installing and configuring ... Read more

PATH in Bash and Fish Shell

PATH can be a pain, but there are some basics: Syntax $PATH before or after (before) Is EXPORT needed, or not (not) Where is PATH set All apps+shells /etc/environment All shells ~/.profile or /etc/profile for all users (or a separate file under /etc/profile.d/ if using pacman) Bash shell ~/.bashrc (or ~/.bash_profile or ~/.bash_login) Fish shell ... Read more

Amazon Linux (CentOS), Apache, MySQL, PHP

Note: Amazon Linux AMI is essentially CentOS 6.x. Everything below works on CentOS as well. Preparation for Amazon LAMP The OpenVPN on Amazon Linux AMI is a good place to start in preping the L for the AMP part of the lamp stack. Lots of good stuff there. A followup is WordPress Multisite on Amazon ... Read more

Obfsproxy, Viscosity, OpenVPN

OpenVPN is great, and the OpenVPN command line client and the Viscosity GUI are also nice. However, all configurations need to be checked to ensure there is no information leakage. Secondly, the basic OpenVPN connection needs another layer of encryption and/or obfuscation, in order to interoperate with Internet firewalls and services that use deep packet ... Read more

Amazon Lightsail

Amazon Lightsail is a VPS services offered by Amazon that competes with the likes of Rackspace, DigitalOcean, Linode, etc. Note: As of mid 2018 AWS effectively halved its prices on Lightsail. This means there is a $3.50 USD/mo. option and the $40 option listed below (4gb ram/2 cpu/60gb ssd/4tb xfer) is actually only $20 now. ... Read more

ufw – uncomplicated fire wall

ufw is known as a Debian (and Ubuntu) firewall, which is disabled by default but easy to use. There are some GUI front-ends which make it popular for Linux on the desktop. Coming from a CentOS background (RHEL/Amazon Linux AMI), ufw is not as common (as, say firewalld, or simply iptables, to which both ufw ... Read more

OSMC = Debian + Kodi for Vero 4K

I've gotten fed up with the nonsense that is Chromecast (slow, limited), Apple TV (slow, limited), and Fire TV Stick (slow, limited). I ran across the Vero 4K, which was announced in February, 2017. Besides good reviews about good hardware, the responsive and active half-way decent, half-asshat forum (using Discourse), the system uses OSMC (open ... Read more

AMI on EC2 vs. CentOS on Linode

What I learned in migrating from CentOS on Linode to Amazon AMI Linux on EC2. Note: Amazon Lightsail is probably a better comparison, but it is not available in the region we need it in, so EC2 is required for now. Update: Lightsail is now available in more regions. VPS Hosting and Operating System A ... Read more

OpenVPN on Amazon Linux

See also OpenVPN on ChromeOS and Android OpenVPN on an AWS EC2 T2.Nano Instance The T2.Nano instance is the smallest instance generally available for AWS EC2. As of 17-June-2017, the Nano includes the following resources: 512mb RAM 1 vcpu (30 credits + 3/hr, up to 72 credits) 1gb network out traffic Alternatively, a $5 USD ... Read more

Amazon Customers, Markets, Resources

Amazon is different than other companies. From the outside, this difference can appear as anomolies, odd things that stand out. I belive that there is a fundamental way of understanding the current state and dynamo of change within Amazon. Customer Centrism Amazon is meant to be the most customer-centric company on Earth. Likely when we ... Read more

The first Trillionaire

The first trillionaire will not be a human, it will be a bot (though a sophisticated one). Suffice it to say that making money, legally or extralegally, will be something that could be done by a system designed to do so, that could have enough ability to act in a marketplace, and enough insight to ... Read more

Python

This is meant to house information and tasks to install, configure and maintain python, pip, and other utilities. See the Pelican page for Pelican-specific information. What is Python good for Python is a general purpose scripting language and can be useful for: Websites Using Pelican, Django, Flask Applications Using Kivy for native apps in Android, ... Read more

Gmail and Gsuite Backup

Recent malware and phishing attackes continue to increase in scale and target gmail and other infrastructure. Since many folks keep email mostly in the cloud, and even worse, client synchronization would delete any mail removed from a mailbox, making the client ineffective as offline backup, a system is needed to ensure there is an adequate ... Read more

Math on the Web

Below are bulletted list items. Later this will turn into better copy. Summary: Use Texvc when necessary, and KaTeX when possible. Math in Chrome SVG is the preferred method for Math on Chrome, though accessibility is still an issue Basically, for Chrome, the options are: ship small images at a great expense in time (MathJax), ... Read more

MediaWiki vs. WordPress

There of course is no MediaWiki vs. WordPress in the sense of a battle. As Wiki and Blog platforms go, each is the winner in their category in terms of raw number of users/pageviews. That said, there are definitely (different) concerns with each platform, architecturally as well as accidentally. And therefore, we dreg up the ... Read more

Elixir and Phoenix

Late to the party as always, as this has been going on for a few years, but hey. In any case, this is about Elixir and Phoenix: - Elixir is a 5 year old functional programming language, that runs on the - Erlang BEAM VM (which is very mature, fast, and reliable), and - Phoenix ... Read more

Thoughts on Amazon Echo Show

The new Amazon Echo Show looks great. Watching the video, it is striking that the interface appears so clean. This is obvious when using voice, since buttons don't really count. Also, the fact that this is not just a piece of hardware and natural language interface, these are applications being shown. In terms of video/voice ... Read more

Install, Configure, Maintain Postfix

Postfix Mail Transport Agent (MTA) Postfix is a Mail Transport Agent (MTA). It is not a complete mail system, but focuses on the MTA component, and does not include a Mail Delivery Agent (MDA), such as IMAP support, nor does it include a Mail User Agent (MUA), such as a web mail client. Other popular ... Read more

Google Apps Free vs. G Suite

For those of us early adopters who managed to snag a 50 user (or 10 user) free google apps accounts, things are sweet. New users have to cough up $ 5 USD/mailbox/month (or $ 4.19 USD/mailbox/month provided yearly billing). What Google really wants is the $ 10 USD/month or $25 USD/month enhanced cloud services. Yeah, ... Read more

Submit URLs to Bing, Google, Yandex

If an important page is added or updated with important changes, then it behooves one to submit that URL to the various search engines, especially Bing, Google, and Yandex. Strangely enough, this is not as straightforward a task as one might think. First of course, one needs to be registered with the various Webmaster Tools, ... Read more