Moving to Subdomains
posted May 13, 2018
I just finished moving my EtherPad Lite instance and my Gogs Git VCS instance to subdomains, rather than subdirectories. This involved two sources of pain:
a lot of waiting for the DNS to propagate. First I had to wait to get my new NS settings set, then to actually update the domain names allowing the git.leotindall.com and pad.leotindall.com domains to point to this server.
a lot of config file updating in multiple places.
socketserver: the Python networking module you didn't know you needed
posted December 24, 2016
I occasionally spend time randomly surfing the Python standard library docs; there is a lot of useful functionality included in the language’s standard distribution, such as, for instance, the socketserver module, which I didn’t know about until this evening and which is one of the most useful I’ve seen in a while. As ever, the docs are straightforward in their self-description:
The `socketserver` module simplifies the task of writing network servers.
Rewriting tinyhttpd in Rust, Part One
posted October 21, 2016
In 1999, J. David Blackstone, or, as he is know online, jdavidb, was taking CSE 4344 (Network Concepts) at UT Arlington. Those were the glory days of Sparc Solaris, and Blackstone wrote, for his college course, a C program called tinyhttpd. It is, essentially, a very short version of the immensely complex programs that seem run the world these days: web servers. Unlike the million-line behemoths (think Apache, nginx, et cetera), tinyhttpd is a HTTP 1.
IPFS, the Interplanetary File System
posted April 10, 2016
I’ve been using (and working on) a project called IPFS. It’s a new way of distributing content - like the Internet, but it doesn’t go away if one server goes down. People much smarter than me came up with the idea; I’m working on the Python implementation of the standard, to allow people to embed it in their Python applications.
What is IPFS/IPNS? IPFS, the InterPlanetary File System, is a content-addressable network.