perlun.eu.org · About the blog · Programming · Select language / Välj språk

Programming projects in 2022

This is a post where I summarize some of the projects I have been hacking on during 2022. Note that only "non-work" related projects are covered by this list. FOSS projects which I have been able to contribute to during work time are included, though.

Read more |

Why C is a dangerous programming language

In this blog post, I describe one particular aspect of the C language that can lead to unpleasant surprises if you’re not careful.

Read more |

Programming projects in 2021

It has again become time to summarize the top FOSS projects I've been involved with during the past year. Not all projects I worked on are listed; I've tried to limit it to the ones where I spent the largest amount of time, or where I consider the project/work done to be particularly interesting for one reason or another.

Read more |

The dangers of referential equality in Java

In this post I'll write about referential equality (ie the == operator) and why it can be very dangerous to use this operator incorrectly in Java. I made this mistake today, and it is my hope that this blog post will help you to avoid doing the same mistake yourself (or at least get a good laugh). :wink:

Read more |

Saying goodbye to an old friend: Decommissioning a Raspberry Pi web server

For a good many years, I have been running some of my personal web hosting from a Raspberry Pi in my home. In this post I describe the process of decommissioning this server and the background to why this happened right now. I also share some of the experiences of using a Raspberry Pi as a server this way and my general feelings around it.

Read more |

Rewriting git history with git filter-branch and git rebase -i

Sometimes, you find yourself in a situation where you need to do rather drastic changes to a git repository, like when you actually want to remove one or more files including their full history from the repo. This is where git filter-branch can come in handy. In this blog post, we take a closer look at how it can help us with this task.

Read more |

Programming projects in 2020

This is a post where I summarize some of the projects I have been hacking on during 2020. Note that only "non-work" related projects are covered by this list. FOSS projects which I have been able to contribute to during work time are included, though.

Read more |

Programming projects in 2019

This is a post where I summarize some of the projects I have been hacking on during 2019. Note that only non-work related projects are covered by this list.

Read more |

Java for C# programmers

In this post I'll write about a number of differences between Java and C# that I've experienced at my current job. First a bit of a background: Before I switched jobs in August 2018, I had been working with C#, Ruby and other programming languages for the last 15 years; Java was pretty much out of the picture for me. I had worked as a Java programmer from the year 2000 to 2001, but this was indeed a long time ago.

Read more |

GDB tracepoints

Many of us have been using GNU GDB for debugging to some extent, but at least for me personally, I know that there is a lot more to learn about how to use it effectively. In this blog post I go through something I call tracepoints and why they can be invaluable in debugging complex problems.

Read more |