Welcome to my personal website.
Pretty much everything that I post online now starts life here.
You can follow me and my site on the Fediverse by searching for this: @david@davidpeach.me
Been taking a few shots in Red Dead Redemption 2 recently. Will share them out very soon.
—
The Arch Wiki really is an incredible resource, regardless of what distro you’re running. Just got my video drivers setup correctly (I think) by just following the guide and the pages it took me to. #RTFM
—
New Thinkpad T470 installed with base Arch Linux and ready to rice it up.
—
I’ve always believed that people should own and control their own place on the web. That is, if they want to. I have actively kept a personal website for myself for about 10 years now. Gosh… 10 years… In that time I have moved between about 5 different domain names, different focus topics, and different…
—
When I search for docker-related topics online, it almost seems to me that there are two trains of thought for the most part: I believe either of these is a valid approach — whatever feels right to you. Of course it does also depend on how your company / team works. But I’d like to…
Whilst working on a little library recently, I discovered some interesting behavior with PHP’s __call magic method. Specifically around using named arguments in methods that are caught by the __call method. Given the following class: Calling a non-existing method without named parameters would result in the arguments being given to __call as an indexed array:…
Consider this PHP class: We could call the bar method as follows: However, in PHP, we have the ability to call methods that don’t actually exist on a class. They can instead be caught by a “magic method” named __call, which you can define on your class. So if you instantiated the BazClass above and…
Bought the Horizon Forbidden West tallneck lego.
—