Aaaaaaaand I missed the Dutch conference CFP for literally no reason at all.

tfw you want to refactor a thing and you go to write tests for it AND THERE ARE ALREADY TESTS FOR IT

Renamed some vars in a shell script. Went to rename the last instance, but the IDE reported it was already defined. Checked the definition and ended up deep in an un-namespaced Composer dependency.

Namespace your packages, folks.

Hilarity from the 7 migration: unexpected fun with json_encode() and floating point precision!

(In 7.1, json_encode() started using the serialize_precision setting instead of the precision setting for floating point output. precision default is 14; serialize_precision default is 17. 17 is apparently long enough to display how bad computers are at decimals.)

mysqli_stmt::bind_param makes me feel simultaneously magical and squicky.

A side project webhook has been broken for months because I upgraded the server from 7.1 to 7.2 and forgot to point the config at the new socket.

Whoops.

Spent the day messing with class parameters to switch between 5 and PHP 7, have decided that class parameters are terrible and I should have used host parameters.

I don't think I ever did one of these and there's 🍍 all these new people 🍍 so: #introductions 

For the folk: I'm contemplating doing route-group-specific exception handling with a middleware that wraps $next($request, $response); in a try/catch. Am I a derp?

Ok I got all my front-end build dependencies and my build dependencies and my build dependencies, I guess all that's left is to set up a box with the provisioner that hasn't been updated in a couple years.

SUCCESS: 5.6 from launchpad.net/~ondrej/+archive and 7+ from github.com/phpbrew/phpbrew, so I can run all @WonderProxy@twitter.com's unit tests without a container AND live on the edge on my own time.

Show more
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either! We adhere to an adapted version of the TootCat Code of Conduct and have documented a list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators. Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!