Toots for cabbey@phpc.social account

Written by Chris Abbey on 2025-01-27 at 03:13

If you aren’t occasionally failing spectacularly, are you even really trying? #fail #cooking

=> View attached media

=> More informations about this toot | View the thread

Written by Chris Abbey on 2025-01-19 at 04:22

Ok, just learned something about the #PrusaXL and tuning prints mid print. If you sliced for TH 3, but you are printing with TH 1 because you did a replacement when you started the print, then you have to tune flow rate for TH 3… NOT 1. This officially hurts my brain.

=> More informations about this toot | View the thread

Written by Chris Abbey on 2025-01-18 at 06:33

I’m kinda giddy to say I’ll be speaking at #phpTek this year. Two sessions on RectorPHP. The full schedule is up now: https://phptek.io/schedule lots of great speakers in there, I’ve seen a handful of these talks before and am looking forward to seeing several others. If anyone is thinking about going to up their #php game, here’s a 10% discount link: https://ti.to/phptek/phptek-2025/discount/tek2025

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-12-14 at 22:03

Can we just talk about totally unnecessary and over the top animated transitions in apps? @duolingo in this case giving a master course.

=> View attached media

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-11-12 at 22:22

Free RFC idea for #PHP if anyone is looking for something to work on... ?? continue; Since we can throw from a null coalesce, I thought while reviewing a PR how awesome it would be to be able to continue a loop from one too! (technically we'd probably want ?? break; too, and of course if you have continue you have to also have ?? continue 4; and such....)

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-10-28 at 17:14

Anyone have a PSR-6 or PSR-16 LRU implementation they like that is production ready? I see a few in my searches but they all seem to be toy/experimental. #php

edit to add clarification: looking for basic in php process / memory cache, not external caches like Memcached or redis or etc... already have those.

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-10-28 at 15:55

Apparently I’m a “real” #PHP coder now by some folks measurement.

=> View attached media

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-10-19 at 00:33

ok, wow. TIL #PHP's DatePeriod class can not be serialized on php8.1 and then deserialized on php8.2 or 8.3. https://3v4l.org/B3RA1 I didn't see this compatibility issue listed on the 8.2 migration guide. Anyone else hit this? Just hit the big red button on a migration to 8.3 over this. :/

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-09-23 at 01:43

This cable routing out and back in is ironically mirrored in the network. My main router can’t do PoE, so this drop is powered by my secondary switch. The port is clamped to an isolated vlan along with a second port that is then patch corded to the main router’s WAN port. I’ll probably pick up a proper PoE injector instead. It was a last minute surprise that the main router didn’t support PoE! #networking #dreamMyAss

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-09-23 at 01:35

Ok, today’s network mischief managed. My ISP’s ONT is now powered by PoE, which means it gets power from the same UPS as the rest of the network stack on the 3rd floor. So if the wifi is up, the network will be too. As a bonus I got rid of the cat 5 jack they patched onto the end of my cat6e cable, and the 3 inch long bastard patch cord shoved into the box.

I didn’t feel like ripping into the wall, so the house side still goes out to the exterior, then comes back in with the fiber.

=> View attached media

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-09-19 at 22:08

ok, now that #php 8.3 has turned up the volume on unserialize() complaining about trailing data, does anyone have a built in method to decode the default session serialization? (the way most folks do it today is based on a comment in the docs from 12 years ago that will now spew E_WARNING like crazy.) I still see no official API for decoding it other than the one that shoves it into the super global (Which has other undesirable side effects.)

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-09-19 at 15:53

Any of my #php friends here active with rector? I’m trying to understand the organizational or taxonomic logic behind why various rectors land in various locations in the tree for a PR to add new ones.

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-09-06 at 21:01

I wonder if @foone gets royalties on this keyboard design....

=> View attached media

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-09-05 at 17:47

hmm... anyone got a decent way to divide a DateInterval in #PHP? Like say my function is passed one in and I want to create an interval that is half as long... perhaps because I want to schedule an event that happens at the half way mark of that interval. Current theory is to use DateTime::add() to append it to a "now" to make "then", then getTimestamp() on both and divide that... but this feels quite inpercise given how rich the Dateinterval objects are capable of being defined.

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-09-05 at 04:03

Anyone know a way to see “why am I seeing this toot?” on mastodon? I got a huge pile of toots today from someone I don’t follow, without any keywords, not boosted by anyone. #askMastodon

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-09-03 at 18:02

@derickr is the underlying authentication infrastructure xdebug uses for the cloud_id setting available for folks NOT using Xdebug Cloud? Or will it some day?

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-09-03 at 03:42

Now say you have a string that you type on a regular basis. Maybe it's your name, maybe it's your catchphrase signature in personal emails, maybe it's your password. Odds are pretty good you're going to get pretty quick at typing it.

Now let's say that string has a repeated character in it. Maybe the double Es in feedback, or the double Os in good. Normally, these days at least, you type that quickly and let's say debounce is a bit too aggressive... you get god fedback, but autocorrect FTW.

2/N

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-09-03 at 03:39

ok, this is going to sound like either absolute garbage advice or hit you like a bolt of lightning with an "ah ha!" moment... but bare with me, because I feel like an idiot for taking literally YEARS to figure this out.

Keyboards have "debounce" logic. It can be implemented in a number of ways, from actual hardware in the switches, to firmware in the device to software in the driver or even operating system.

1/N

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-08-31 at 23:07

I fail to understand how a platform with a UX this bad has any chance at all of taking off, or how creators tolerate the platform doing this to their work.

[#]youtube #ux #creator #shorts #fail

=> View attached media

=> More informations about this toot | View the thread

Written by Chris Abbey on 2024-08-26 at 19:04

ugh, the non-sensical BS bot from twitter have started migrating. Just what the fediverse didn't need. Media flagged as sensitive due to content language and themes NSFL.

=> View attached media

=> More informations about this toot | View the thread

=> This profile with reblog | Go to cabbey@phpc.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109372677714336283
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
365.9311 milliseconds
Gemini-to-HTML Time
7.489922 milliseconds

This content has been proxied by September (3851b).