This Website - Mega Thread

Featured - Updated 2020-05-17

Tags: coding PHP web

You are viewing a site that took many hours of work and which has been through a number of iterations. Almost none of that time has actually been spent on content, so find out what it was spent doing.

Table of Contents [ Show]

What's all this, then?

This is a long thread. Luckily I have implemented the table of contents feature above (including a link to my discussion of the table of contents) so that you can jump to whatever section you like. Everything on the site was written by hand - code and content (I'm sorry) - and here I shall discuss most of the interesting bits and some background information.

Despite once being the runner-up for a junior web development position and once being a teacher's assistant for a intro to web developement course, I am by no means a web developer. I understand HTML well enough and can use my existing programming knowledge to fumble my way through generic JavaScript, but this site is pretty much the only PHP project I have ever tackled from start to finish. From that point I have scraped together enough knowledge to code the site the old-fashioned way - in Vi - like God intended! There is nothing earth-shattering here. I mostly just saw stuff I liked from other sites and went in that general direction, tackling other ideas as I went along.

Why do you have a website anyways?

I know, right? There is nothing interesting here, I don't have anything to sell and I'm not even looking for a job (at the time of writing; My Resume Coverletter might say otherwise)! Well, it started out somewhat innocently. In 2015 I took a job at Roaring Penguin Software, a company that produces anti-spam, email archiving and secure messaging software (this has become a trend). In order to test things and actually make sure that I'm good at my job, I have opted to run the self-hosted version of the software for my own personal email. This means owning a domain name so that I can actually point mail at the machine running the software. From there, it would be silly to own a domain and not also have at least the bare minimum of a website. I could have just opted for something simple on WixSpace or through my registrar, but in case there was any doubt, let me be clear: I'm a total dork!

The various website building services always make a pitch like: "You don't want to learn HTML or JavaScript just to make a website." But, yes. Yes, I do. There is a reason that the "Projects" tab is lit up above. I am not a person that likes to be idly watch TV and even reading books will only hold my attention for so long. So I waste my time doing things that are somewhat more mentally engaging. A lot of that is tinkering with physical objects, but as time goes on and I continue to move to smaller and smaller apartments closer to downtown, more and more of those projects have involved messing around with code. As a result I'm slowly becoming more and more competent at doing so which makes it a much more enjoyable thing to do. It's a vicious cycle. This is good because physically building and fixing things results in extra physical objects which conflicts with my minimalist sensibilities. Unfortunately, writing articles for this site is generally much less engaging, so I spend a lot more time tinkering with the nuts and bolts than creating anything that would be worth visiting the site for. Luckily, when I work on the site I am right her, sitting at a terminal, so the barrier to entry in writing this article has be a little bit lower.


So, despite the fact that the domain was originally acquired in order to process email, this has been perhaps the most poorly executed part. This is not because I don't know how email works; I can administer the crap out of Sendmail or Postfix. The reason it hasn't worked out great is that nobody knows what the heck I'm talking about when I give them my email address. A common conversation is something like:

  • Then what?
  • Nope. That's it. You know how there are .com and .net addresses? Well there are also addresses.
  • Oh. So, what was it?
  • <sigh> Let me start again...

This was a short sighted decision based on a not-very-funny joke that very few people will understand. I explained that joke with an easter egg if you click the domain name or logo in the banner at the top. This should quickly flip the dots though various characters and eventually stop on my name, John Mertz. It is a domain name hack which matches my name if used as a Regular Expression. These are a standard set of characters that can be used in some software to search for patterns rather than literal strings. With Regular Expressions, you can use a dot to represent any single character of text. So searching for "te.t" would find "test", "text" and "tent". This is incredibly useful for manipulating text, but much less useful when you are explaining for the third time that, despite there being an "r" in my last name, there isn't one in my email address.

So, what the heck is a domain? Fun fact: any domain name that has 2 characters after the final dot is called a ccTLD, or Country Code Top-Level Domain. The "Top-Level Domain" part is the highest level of organization of the internet, the same as .com or .org. This helps computers find each other when they perform a lookup using the domain name service (DNS). The Country Code part means that rather than representing a specific category of website like .org or a specific industry like the pleathera of new designations like .accountant, and .zookeeper (I don't think that one actually exists, but at the rate ICANN is approving new TLDs, it will soon), it instead represents a country. My fellow canucks are very familiar with this concept given the .ca top-level domain, and Americans are probably much less familiar with .us. Despite what some might like to think, .com does not mean it is the american equivalent to the .ca, it is just the generic; all country-code TLDs are 2 characters and all 2 character TLDs are country-codes. The .us domain is just highly abused by spammers and malware sites, so no one really uses it on the web.

.tz is then, the ccTLD for the great nation of Tanzania. I have no affiliation or recent heritage (to my knowledge) in Tanzania, but luckily they don't vet these things or generally require it to register a domain there. I couldn't even point out Tanzania with it highlighted on the map here. The .me part is a Second-Level domain which indicates it's category as a "personal" page. Canadians will be very familiar with the similar as the designation for government websites.

Page 1 of 4

Next Page