RSSAmplifier

Blog

polyfloyd's stuff

Recent content on polyfloyd's stuff

/RSS feed ↗12 posts

Latest posts

Switching to NixOS

About a year ago I started out with NixOS. Why? Because
 this video by No Boilerplate 
had me intrigued. A huge package repository, the ability to summon development
tools without hunting for packages or stuffing /usr/local with pre-built binaries and
reproducibility all seemed really appealing. 
 This article describes my experience having used NixOS as a daily driver since…

The Vibe Coding Gambit

GenAI assistive programming tools are all the rage at the moment. There is this general notion of
“adopt-or-die”, particularly among parties 1 that have invested in their development. Enticed by
shiny new toys and a bit of discomfort with fear-of-missing-out, I tried some of them myself, was
left disappointed and ultimately gave up. 
 End of my career as software…

Automating Versioning with CI

I host a portfolio of my software projects on GitHub. Some of these projects attracted users whom contribute new features and bug fixes. After I accept a change I tag a new version and push it to the respective package repository. 
 Releasing however, was quite the chore: getting a list of git commits, filtering out the interesting bits to put in the changelog, figuring out where I kept the…

10 years of reasoning about programming

In 2012 I started out with learning to program, an endeavour that would eventually grow into my career as a software engineer. In this profession there is a saying which states that if you do not find your past creations to be unreadable garbage, you have not learnt anything. In this post I will look back at some past projects to see what lessons they taught me. 
 Structureless Spaghetti 
…

CO2 Sensors Against COVID: yet another SHA2017 badge project

Infections of SARS-CoV-2, the virus better known as the dreaded Coronavirus,
can take place by inhaling airborne aerosols. The risk can be reduced by
ensuring a constant supply of fresh air by, for example, just opening some
windows. 
 We at Hackerspace Bitlair , for which I carry
responsibility as board member, wanted to find a way to know when we need to
start ventilating…

I made MPD index SoundCloud, here's how I did it

Since I often work at my local Hackerspace alone, I can play whatever I want on
the space’s music system, so I’ve taken up the habit of keeping up with a bunch
of radio shows which I download from SoundCloud. 
 The usual process of playing something on our music server is a bit cumbersome:
I have to browse SoundCloud, download a track that seems interesting, upload…

7 Subtle Pitfalls in the Go Language

Introduction 
 How well do you know the Go programming language? Have you written something in
Go that does not quite does what you want it to do? Then you may find this
article interesting. 
 We explore some subtle ways one can introduce a bug in a Go program. The
criteria is that the compiler gives no warning whatsoever and that the fault
can be caused by either a typo or…

Compile Time Prevention of SQL-Injections in Rust

SQL injection vulnerabilities have been a plague ever since such databases have
been combined with user facing applications. Such vulnerabilities arise when a
SQL query string is naively combined with data that is controlled by an
attacker. 
 To mitigate, people should make use of placeholders and prepared statements
provided by SQL client libraries. This separates the variable…

Rendering OpenGL shaders to a LED-Cube

Last December, I attended the 34th Chaos Communication Congress in Leipzig,
Germany. This is a large tech-conference with attendees bringing all kinds of
awesome projects they have been working on. 
 One thing that really impressed me was a cube comprised of bright LED-panels.
Here’s a video I took: 
 ..? 

 It’s awesome and I just had to get one of my own.…

SHA2017 Decoration Evaluation

In 2017 (and before that), I was among the people responsible for organising
the largest (outdoor) hacker event in the Netherlands: Still Hacking Anyway
2017. My task was, along with one other Team Lead, the management of the
Decoration Team and its budget planning. 
 This article is based upon an evaluation we did after the event took place.
It’s meant to be useful for…

How Rust Helps You Prevent Bugs

Introduction 
 If you have ever written a program of any scale before, you may have run into bugs. Tiny mistakes that you made while writing that screw up the execution of your program. The more complex your program gets, the higher the chance of bugs slipping in! 
 To fix and prevent bugs, programmers have a bunch of methods at their disposal. One of which is determining the correctness…

Contact

If you would like to reach out to me for any reason you can do so by: 
 
 Sending an email to floyd at polyfloyd dot net 
 Messaging me on Mastodon: @polyfloyd@hsnl.social