wojsznis.eu

What I have done so far? Part 2

Introduce React (the wrong way) We (at the company) were at the weird stage where we have some jQuery-glued libraries that were our ‘framework’ driving frontend. I think at that time it was often the case and usually, you made the call to jump into the Angular or Ember.js bandwagon. React was new on the market (I think it was around 2015) and was kinda… awkward? It was still unclear how to structure some more complex interfaces, where to handle the http layer, how to deal with the complex state, and so on.
What I have done so far? Part 2

What I have done so far? Part 1

I’m not the kind of person who keeps track of my work achievements, biggest challenges, and so forth.

I have a very bad memory (for that and in general :P) so sometimes is hard for me to easily reach into my mind and construct a story when being asked by a fellow dev or recruiter so, what you have been doing so far?

Thus I have decided to collect some, um, personal stories? A memoir so to speak. This is part one of hopefully more - so I can reflect on those achievements, small victories, and learnings later down the road.

What I have done so far? Part 1

Deploy docker container with http webhook the easy way

Recently I have been researching a way to automate the process of deploying some of my hobby projects. Frankly speaking nowadays I just pack everything in a docker container and call it a day, but as I rather very low-end servers (💸) I didn’t want to bring Swarm/Kubernetes overhead to the table (I had some pretty nice experience with Swarm a few years ago, but it seems k8s is eating the industry if you like it or not 🤷‍♀️).
Deploy docker container with http webhook the easy way

Installing ruby 2.6 via asdf on macOS 10.15 Catalina

Recently I decided to give an asdf a go as I wanted to switch from my old rvm / nvm / homebrew-for-other-langs setup (plus I wanted to give a dart a try). Unfortunatelly installing ruby 2.6.x for one of the projects under Catalina was a true PITA.

Installing ruby 2.6 via asdf on macOS 10.15 Catalina

PhotoSwipe video player (again with StimulusJS)

I was surprised that previous blog post about how to implement PhotoSwipe gallery using StimulusJS got so much traction (give the fact I spent 0 time promoting the blog and traffic is purely organic). So I decided to give it a follow-up and throw some ideas on how you can implement video support in PhotoSwipe using awesome Plyr library.

PhotoSwipe video player (again with StimulusJS)

Delaying gratification (in software development)

Below be some bunch of notes, for future self.

As I’m getting older I like to think I’m also getting wiser - at least in some areas of my life. When I look back at myself, as an eager and enthusiastic, but inexperienced developer and at myself now - I can clearly see that I’m much more patient in general. I realized it’s a marathon and not a sprint (Hopefully. Unless you know - we will all die soon in 2020).

Delaying gratification (in software development)

Configuring ipv6 on OVH vps using netplan (Ubuntu)

There is an official guide regarding ipv6 configuration using Ubuntu’s netplan. It seems it skips one crucial thing tho - and that is default route. The route step is mentioned in non-persistent and file interfaces sections (the ip -6 route add part). In order to fully get v6 working on their VPS I had to add the route via routes declaration in netplan yaml configuration (Ubuntu LTS 18.04).

Configuring ipv6 on OVH vps using netplan (Ubuntu)

How to handle kill signal in go (inside a docker container)

Let’s say you have a go app deployed under docker and you want to handle kill signal send by docker (when docker stop is executed or when your service is being updated by docker swarm or whatever orchestration service). This usually should happen on long-running processes that need to close some connections, stop accepting new work before shutdown and so on.

How to handle kill signal in go (inside a docker container)

Opensource Google Analytics alternative (with Traefik)

I have been trying to tune down the usage of Google services in my life in the last couple of months.

The monopoly google has regarding the global Internet is simply not healthy and we should be more aware of whom we gave our data. Over the years we very easily traded privacy for convenience without even noticing. At least I did.

Opensource Google Analytics alternative (with Traefik)

Terraform, Ansible or both?

A few weeks ago I gave Terraform a try. Ansible was my go-to tool when coming to managing servers for quite some time ago and I loved it for its simplicity and flexibility. So what about Terraform?

Terraform, Ansible or both?