"Don't touch the code if it works fine."

submitted by junita_roman

I wonder how amazon.co.jp is doing i18n such that *parts* of a sentence can be untranslated.

Most of the time, DDG is amazing. Great. An indispensable tool.

But sometimes… bless its heart.

Being asked by a recruiter if I'm familiar with deploying applications on a "public cloud."

Had to look it up. I guess it's a term which includes both VPSes and those framework/language-specific deployment thingies like Heroku?

I will say that, at least in the US, I don't think you can be convicted for possession of CSEM on a hash alone. They have to prove that you really have what they think you have. And if it comes down to it, if you have to defend yourself in court, these stories of hash collisions, if true, will help your defense if the prosecution can't cough up the actual files that you had. But IANAL.

We'll see how this goes, I guess. But I just can't get as angry as some people over it, at least not yet.

Show thread

Here's my take on the whole "Apple scanning your photos" thing.

I see both sides of it. There's a presumption that my data in Apple's cloud is encrypted and secure and not subject to being viewed by entities (human or otherwise) on the system. On the other hand, I'm betting an unspoken story here is that government agencies worldwide want to read everything that touches Apple's servers. Pledging to fight CSEM might be a way to meet them in the middle (but if you give them an inch…)


The Seychelles apparently has not updated the design of their main government portal since 2004 or so.

They've even got the three squares arranged in a triangle for pseudo-bullets! How nostalgic.

If you shoplift a $500 gift card, but it's one of those cards that needs to be activated before it's valid and your shoplifted card was never activated, and you get busted and arrested, is the value of what you shoplifted $500, or just the few cents of the plastic card itself? Has this ever been decided in court?

So you use a PSR-4 implementation to instantiate a PSR-17 factory to create PSR-7 implementations to integrate with PSR-15 implementations, but you can also use them for PSR-18 implementations.

PHP standards have a naming problem.

Holy shit, SiriusXM. Boundaries.

Alternative snarky message: How to Get Your "Unsubscribe" Link Clicked And Possibly Your Marketing Messages Flagged As Spam (2021, Colorized)

(I actually clicked "unsubscribe" earlier today, before the two most recent messages came.)

GitHub sends me an email notification when someone replies to an issue in a project. However, I do not get a notification when someone edits a reply.

This is especially a problem when "ok, everything's fine, thanks" becomes "no wait everything's broken plz fix immediately."

This is a slight exaggeration of a repeated communication problem I've been having with one of my clients…

Please use edits for clarification or fixing typos. Please use new replies for entirely new or changed information.

Look. I don't like how the whole Freenode/Libera split went down, and I held out hope that Freenode would survive in one way or other after the split.

But aside from the channels becoming graveyards, Lee doing things like proclaiming Freenode to be "digital territory of the Joseon Empire" and "Replace Services Authentication with Fiat, Decentralized Blockchain Based Authentication" (whatever the hell that means) does the opposite of inspire confidence in the future.


There is nothing more humbling in the life of a developer than having to review code they wrote more than 6 months ago.


I've been revisiting this article often over the last couple weeks or so, trying to decide if something like this is the route I want to take for a new project.

I've decided (and on Libera has backed me up) that a library for DI doesn't serve any apparent purpose. But please try to convince me if you think otherwise.

In the end this is probably a case of analysis paralysis and I should just start coding already.

Once again, it took months to arrive, but I was expecting that. But now that it's here, the fancy lighting on the keyboard doesn't work at all; only the keypad lights up. Not a dealbreaker since I don't need lighting anyway - I just turn the lighting off on the keypad and now they both match. The keyboard itself has been great so far. But given both shipping delays and quality control issues, I don't think I'll be buying from X-Bows again or recommending it to others. A shame.

Show thread

…but eventually I got used to it and I now find it awkward to go back to the "normal" layout on my laptop.

I was revisiting their site a while back and saw they had a new model called the Knight Plus, which adds a much-missed keypad and has a more native Mac layout - it's been a very long time since I've used a keyboard with a properly-labeled "Delete" key and with the keypad buttons in the right place ("right" being what I used to code with on that old Performa 631CD). So I bought in.

Show thread
Show older
PHP Community on Mastodon

Open source. Open community. We are dedicated to building and enriching the PHP community.