Archives: micro-blog

Advent of code(2024)(php): Day one

Posted by

after accidentally starting 2022’s advent by mistake, here we are on 2024 day one. The wording on this one confused the daylights out of me (I suppose part of the point of the challenges). Part one was to take two columns of numbers sort them and sum the difference at each row. Part two was… Read more »

Some due diligence is in order

Posted by

turns out I started doing 2022’s advent of code.should I go back to complete it after catching on this year?

Advent of code(2022)(php): Day one

Posted by

edit: I thought this was 2024, IT IS NOT Day one we are given a set of data grouped by blank lines.The task is too parse the data, add the arrays and find the top three values. My Advent of code Repo

PHP 8.4 is my new best friend

Posted by

The inclusion of the DOM API in PHP 8.4 is the best news ever. being able to traverse incoming html the same way you do in the browser