Not a Number

Welcome to my uИique repository of divergeИt sequeИces of raИdom characters. Here, you may coИtemplate the eИdless variatioИs of 26 letters aИd some special characters.

The drupol/nixos-x260 repository began as a simple and practical way to manage the configuration of my Lenovo ThinkPad X260 laptop, hence the (bad) name. Unsurprisingly, I quickly became hooked on the NixOS Linux distribution, and before long, I was running it on every machine I owned… first at home, then even at work (shhht!). As the obsession grew, so did the project. It naturally expanded to support a wide variety of systems: from a simple Intel-based laptop, to a Raspberry Pi router tucked away in the basement, and even an old iMac from 2012. Each machine came with its own quirks and specific requirements. Like many personal setups, what started as a clean and elegant solution gradually evolved into a tangled web of host-specific hacks and duplicated logic.

Read More

I often advocate for a straightforward yet effective rule: the shortest solution that delivers the desired result is usually the best. This approach, favoring concise algorithms, not only ensures efficiency but also reduces maintenance cost and bug susceptibility. Intriguingly, this practical principle finds its theoretical counterpart in data compression algorithm, data analysis and machine learning through the Minimum Description Length (MDL) and the Kolmogorov Complexity. These concepts delve deep into the essence of data representation and algorithmic efficiency.

Read More

It’s been a while since I last took the time to write here. 2023 has proven to be a particularly interesting year, filled with numerous projects and a wealth of learning opportunities. Throughout the year, I’ve contributed to 38 open-source projects, resulting in 357 merged pull requests.

statistics made using oss-contribs

statistics made using oss-contribs

Read More

2022 has just started and I’ll take the opportunity to summarize what happened in 2021.

I will use different binoculars or point of view, here they are:

  • Open-source: Stuff related to open-source contributions
  • Work: Stuff related to work
  • Random: Stuff related to Nixos

This post might be a bit longer than usual, fear not and hang on tight!

Read More

PHP 8.0 has been released since half a year now and 8.1 is just around the corner.

My day to day version of PHP is 7.4 and I like it. It has very nice features and I really like the performance improvements that were made.

However, it’s a week now that I’m working on a project using PHP 8 and I started to use the new features.

Read More

I will soon give a talk at AFUP regarding the loophp/collection library that I built.

I’ve been asked to make an interview and I had to reply to some questions.

This blog post is the english translation of this interview.

  1. When we read "Lazy Collection", we think "Doctrine Collection". Could you tell us more why your library loophp/collection is different?

    Read More

It all started from a book

I was reading the Open Source book from Bartosz Milewski’s ‘Category Theory for Programmers’ when I saw something about Prime numbers:

A more interesting example is a coalgebra that produces a list of primes. The trick is to use an infinite list as a carrier. Our starting seed will be the list [2..]. The next seed will be the tail of this list with all multiples of 2 removed. It’s a list of odd numbers starting with 3. In the next step, we’ll take the tail of this list and remove all multiples of 3, and so on. You might recognize the makings of the sieve of Eratosthenes.

Read More

A year ago, I started to write a lazy collection library for PHP.

I haven’t written a specific article about it despite the fact that I would have wanted to, mostly by lack of time.

Almost a year ago and 318 commits later, I published the release 2.0.0 last week.

It all started a year ago, when I came across a pull request made against the Laravel framework.

Read More

It’s been now more than two weeks that I’m teleworking… and I’m fine, really.

This blog post will explain how I live this situation and its outcome, according to me.

I’ve been begging for teleworking since I started working at European Commission. For some contractual reasons, it is not allowed for contractors. Europe is leading the trends on many things, but not on that subject sadly. Despite that, I’ve been loving my work very much. Working at the European Commission is great and so far it’s the best experience I ever had.

Read More

When I was a student, it was easy to remember when holidays were coming. Now that I’m working since more than a decade, it’s harder to remember and distinguish those period sometimes!

That said, I have to say that the pace at work is different and this is how I remember that I should take some days off.

Read More