There are 151 articles categorized as "Development"

Why I didn't launch a year ago?

on December 21, 2020. in Development, Blablabla. A 4 minute read.

Two years ago I started working on a side project. It’s a glorified to-do application, so a fully working version shouldn’t have taken me more than 3 days of focused work. Yet, 2 years, and more than 350 commits later, I still didn’t “finish” it. I was close to launching a year ago. I could’ve launched a week ago.

Continue reading Why I didn't launch a year ago?...

Dealing with bit rot in a side project

on December 14, 2020. in Programming, Development. A 3 minute read.

As I wrote earlier, I’m “reviving” a personal project that I didn’t touch for a year. The development environment is dockerized, so the first task I need to do is to run the application it see what happens. As it turns out not much happens, as a mild case of “bit rot” set in.

Reviving the ForThisWeek project

on December 12, 2020. in Programming, Development. A 4 minute read.

Way back in the summer of 2018 I’ve started a project called “ForThisWeek”. It’s nothing more than a glorified to-do application. I’ve used it mainly to learn more about some of the Domain-Driven Design concepts. Looking at the commit history, I’ve worked on it in the summer of 2018, then from November 2018 till May 2019, and then again from November 2019 till mid December 2019. Apparently I’ve put a decent amount of work in it, so if I want to have a side project live, this one’s a good candidate.

Continue reading Reviving the ForThisWeek project...

Setting up a custom 404 page

on December 12, 2020. in Development. A 1 minute read.

The other day I realized that I don’t have a custom 404 page up. Whenever someone requests a page that does not exist, nginx serves its custom 404 page. It’s functional, tells the user what happened, but apart from that it’s not really helpful.

Continue reading Setting up a custom 404 page...

Discovery notes

on October 19, 2020. in Legacy, Development. A 3 minute read.

Starting to work on an existing application, on a code base that exists since the beginning of the times, can be daunting. Complicated and complex features, new terms, most likely non-existing documentation, or documentation that is out of date. All that can seem too much. One thing that has always helped me is keeping notes of what I discover over time working with a legacy codebase. “Discovery notes” if you will.

Continue reading Discovery notes...

Toggle a VPN connection

on March 06, 2020. in Development. A 1 minute read.

At work I often have to turn a VPN connection on and off. Clicking through the network manager, finding the right VPN connection, connect to it… Feels like a waste of time, no? There has to be a better way. And there is :)

Continue reading Toggle a VPN connection...

Compare files across branches

on January 21, 2020. in Development. A 1 minute read.

After some bigger rebases in git, I have to compare a file between two branches, most often master and the current branch.

Continue reading Compare files across branches...

Split screen panes

on January 17, 2020. in Software, Development. A 1 minute read.

I’ve been using screen a lot more recently, but not enough to have all the commands in muscle memory. Writing down a quick cheat-sheet for working with split panes/windows.

Continue reading Split screen panes...

A refactoring example

on January 13, 2020. in Programming, Development. A 5 minute read.

I’m working on a small side project to gather stats about my blog. Posts published, words written, number of code examples. Good for practicing TDD. I want to share how I made one part of it better.

Continue reading A refactoring example...

Attach to an already attached screen

on January 09, 2020. in Software, Development. A 1 minute read.

Today I ran into a strange error with screen. I was working on a remote server, executing commands in screen when my connection got dropped. I reconnected, wanted to reattach to my screen session with the usual -r option: