We use Renovate at work, a bot that opens pull requests to update dependencies, and I’ve spent a lot of time investigating how it works under the hood. This post is about one of those investigations.

I like it when my tools only get the permissions they need, which sounds like a boring preference until you try to apply it to Renovate and GitHub’s token model at the same time. It’s the story of how I found out that a read-only token was being ignored, how I traced it through the code, and what it took to fix.

At the start of the year I was extremely dependent on Google’s products: email, calendar, maps, photos, drive, notes, YouTube. It was very convenient and I liked the apps a lot. Then at some point I ran out of free storage. I got Google One, the tier with AI included because I might use it. Then YouTube Premium, because YouTube Music costs barely less. It started adding up. All the while Google knows everything about me, which is a little bit eerie.

The future of Kanbn

7 mins read

A bit over a year ago I was exploring alternatives to Jira’s/Trello’s kanban boards. I was looking for something that would ideally not require an internet connection, and that I would be able to use without leaving my text editor.

That led me to Kanbn. It was a killer VSCode extension: it looked really good visually and it did most of what I needed it to do. The one issue I had with it at first was that it only allowed for one board per workspace, so I forked the repo and added support for an unlimited amount of boards per workspace. The original author wasn’t interested in merging the changes, so I ended up creating my own version of the extension on the VSCode store as well.

A bit over a month ago I started an experiment where I set out weekly goals for myself, intending to follow up with a post about my progress each week on this blog. That lasted for a total of 2 weeks. I didn’t even end up making the update at the end of the second week.

Can’t really consider that a success, as I was intending this to be a long term experiment. And yet I’m happy with the results. Let me explain.

Weekly update #1

6 mins read

It’s been a productive week. I had ambitious goals in my last post. Some of them went well, some didn’t, but nothing goes perfectly the first time. Now that I have one data point, a point of reference, I can strive to do a little bit better next week!

Week review

Limiting addictions time wasters

Zero chess! Neither playing, nor watching on Youtube.

As for Youtube, I still haven’t quite figured out a way to measure my time accurately, and I think I quite often go over the 1 hour mark I set for myself each day. But not by too much, so I’m happy with how I did.

Time for a change

8 mins read

This blog post is either the stupidest or the best thing I’m doing this year.

Hi reader! I’m Zigmas, I’m a software engineer by day, and a thoughtful guy also by day (I have a lot of thoughts about a lot of things). I have been thinking about what I’m doing with my life, what I want to be doing in 5 years, and I decided that these don’t match up, so it’s time for some changes. Here’s my plan.

I decided to share the way in which I have set up my competitive programming environment, as I think there are quite a few cool things to share here. I will focus more on my reasoning for doing things my way than the implementation details (though there is a link to all the code at the end of the blog post).

Firstly the boring stuff: I use Ubuntu, write my programs in VSCode, and compile and run them with the in-built terminal. There is nothing fancy here, except that I have a snippet which I invoke whenever I create a new C++ file. Now the snippet itself is a little more interesting.

Massive blog update

9 mins read

Since I started this blog back in spring I have made a multitude of changes to how the blog looks and functions. It has taken me way longer than I expected but I can finally say that I am (mostly) happy with the result, to the point that I finally feel proud to share it with others! In this post I want to share my journey of getting to this point, as a person who knows just enough Liquid / Jekyll / (S)CSS to get by.

Google CTF 2020

8 mins read

Competition on CTF time: Google CTF

I participated in the 2020 Google CTF competition and even though I managed to solve only 2 of the problems, I found the competition very educational and want to share my solutions.

Basics

This was the easy hardware challenge, and it was fairly straightforward. All it involved was reading and understanding a SystemVerilog file, as well as an emulator written in C. That being said, I am a complete noob when it comes to hardware design languages, and I am quite lazy, so I guessed my way through most of the syntax.

GSA ULTRA 2020

39 mins read

I recently participated in the GSA ULTRA 2020 summer competition. I have been participating in GSA ULTRA competitions since 2018, but this was the first time that I seriously tried for the top prizes. Here I present my solutions, in what I consider to be more or less increasing order of difficulty.

As there were almost 20 problems in the competition, this is an extra long blog post. I tried to trim a lot of the statements and did not include the code so that the post is as concise as possible. The implementation is linked to at the start of every solution.