Notes on software, side projects, and things learned while making them.

The PHP type cast that always returns NULL

A few days ago I was going through the a PHP RFC page when I found a vote for deprecation of a cast I had never used before, a cast to NULL. The keyword unset is used for this cast, for example, $b = (unset) $a, which results in $b being assigned with the value NULL, and nothing…

Read article

Implementing a simple tag system

In the process of implementing this blog, I thought of having tags associated with the posts. This allows me to categorize the posts. However, I did not want to implement a very complex system that allows to manage the color, define which tags exist, etc, but wanted to have a co…

Read article

Welcome!

Hello there. This is the first blog post I have ever written. Like EVER! First of all, welcome to my website. It is still work-in-progress but it's evolving fast. This will be a place were I discuss ideas related to projects I'm working on and interesting things I find around th…

Read article