Is Privacy Possible?

Published On: Oct. 29, 2020 by Ted Martin

In recent weeks I've deleted my social media accounts. I've done so because I care about my own well being, our culture, and my privacy. I take a number of …

Leaving Facebook

Published On: Oct. 27, 2020 by Ted Martin

I left Twitter over a week and a half ago. It's been seven days since I left Facebook too. WHAT. A. RELIEF.

I was more interested in Twitter than Facebook …

Leaving Twitter

Published On: Oct. 16, 2020 by Ted Martin

Addiction is a strong word. Addiction is both sad and shameful. Sad because addicted people are normally not malicious. Shameful because there is an element of human will in the …

Get some help!

Published On: Sept. 15, 2020 by Ted Martin

When you need help, you normally ask someone a question.

There are three "people" in Linux to ask.

1. "man" or manual for the program.

2. "info" which is AMAZING …

Python Calculator

Published On: Sept. 9, 2020 by Ted Martin

Most programmers know that typing "python" or "python3" into their terminal will yield the IDLE - an Integrated Development Environment.

Most will also know that …

Files Stuck in Docker!

Published On: Aug. 22, 2020 by Ted Martin

So I messed up a volume when creating a container and had a bunch of data in the container by the time I realized it. I DID NOT WANT TO …

Python Q & A: Part 2

Published On: Aug. 19, 2020 by Ted Martin

1. We’ve seen that n = 42 is legal. What about 42 = n?

SyntaxError. Can't assign to a litteral. A variable cannot begin with a number and "n" is not …

Python Time and Distance Calculation

Published On: Aug. 18, 2020 by Ted Martin

The following questions are a good way to dip our toes into Python's ability to calculate values.

How many seconds are there in 42 minutes and 42 seconds?

42 * …

Python Q and A: Part 1

Published On: Aug. 17, 2020 by Ted Martin

In a print statement, what happens if you leave out one of the parentheses, or both?

- Leaving off the right parentheses will continue to await its closing. It will …

Website Updates

Published On: Aug. 14, 2020 by Ted Martin

I've recently made some major changes to my website. Here they are in order:

1. Rewrote the site in Django

2. Added Comments

3. Added manual review of comments when …

Five Linux Commands to Learn Today

Published On: Aug. 13, 2020 by Ted Martin

Linux is inescapable in tech. It's in our phones, computers, servers... even in SPACE. Linux is literally everywhere. It can be overwhelming to get started so I thought I would …

Drafts in Gatsby

Published On: May 4, 2020 by Ted Martin

Gatsbyjs has a nice plugin for draft mode here.

While this is a good solution, I would recommend that anyone writing their content in Markdown make use of …

Longest word length in a sentence

Published On: April 30, 2020 by Ted Martin

I recently had a task that involved finding the word of the greatest length in a string. Think about how terribly tedious such a task would be manually. Gratefully computers …

The Gods, Fate, and Misfortune

Published On: April 20, 2020 by Ted Martin

I've been reading Shakespeare's Commedy of Errors and am struck by Aegeon's sense of 'fate'. Namely, that the gods and the laws of nature stood as an inexorable …

Accidental Global Variables

Published On: April 16, 2020 by Ted Martin

JavaScript accomodates distinctions at the variable level with let and const; they should be used.

However, one is bound to engage with legacy code that still uses var. Beware of …

The MacBook Air 2020: Perfect for Web Development

Published On: April 14, 2020 by Ted Martin

The 2020 MacBook Air is the perfect web development machine. Here is my list of priorities:

  1. Great screen
  2. Great trackpad
  3. Great keyboard
  4. Great build quality
  5. Unix like OS

It also …

Making a Clock with React Hooks

Published On: April 13, 2020 by Ted Martin

I've been working through the documentation at It is excellent.

However, as an exercise, I'm making anything class based into Hooks.

Under "Main Concepts - State and …

SSH Permissions

Published On: Jan. 6, 2020 by Ted Martin

SSH keys are hard for beginners. They're even harder to move them from one computer to another; often they just seem to stop working. One common problem is incorrect permissions. …

Building your own blog in Rails

Published On: Oct. 14, 2019 by Ted Martin

WordPress is a great Open Source project. It is the right tool for so many projects. Nevertheless, if your seeking to learn more about coding, why not role your own …

Using Gravatars in Rails

Published On: Sept. 1, 2019 by Ted Martin

Gravatars are a great way to show user images in a Rails application. There are gems for adding this functionality but rolling your own solution without adding new dependencies is …