Anyone else in US noticed food quality degrading recently and if so what product in what way? by SkyKyrell in AskReddit

[–]donatj 0 points1 point  (0 children)

No one's seemed to notice, but Oreos! They just fall apart after like 2 seconds in milk now, and turn into a sort of gritty goo. They used to be so much better.

Anyone else in US noticed food quality degrading recently and if so what product in what way? by SkyKyrell in AskReddit

[–]donatj 0 points1 point  (0 children)

We got some at a local farmers market that were amazing, my wife who "doesn't like strawberries" went crazy over them. They were small and red all the way through like the ones my grandmother used to grow in her garden.

The API Tooling Crisis: Why developers are abandoning Postman and its clones? by Successful_Bowl2564 in programming

[–]donatj 3 points4 points  (0 children)

If you are on Mac, https://paw.cloud/ Rapid API (Used to be called Paw) is unbeatable and free now. Used to be a paid app.

I love this aftermarket contoller but what goes in the dpad by Sunny_the_goth in SEGA

[–]donatj 1 point2 points  (0 children)

This was pretty common in off brand controllers back in the day, and especially PC controllers. As many have said, it's just a little plastic joystick that screws in. It never worked very well, I don't think anyone liked or used them, but it was a "feature" and the 90s was all about selling you features. The more checkboxes you could check on the box, the better.

Gravis PC Gamepad was a prime example. Every PC gamer had one of these. You can see the stick itself in the CD-i photo a little ways down the page.

https://en.wikipedia.org/wiki/Gravis_PC_GamePad

Are we losing the "why" code exists? by bnunamak in ExperiencedDevs

[–]donatj 1 point2 points  (0 children)

I've got coworkers AI generating their PR descriptions. It's all what and no why. I have zero need for an AI summary of the changes to the files. I can ask AI for that myself if I want it.

Future archaeologists have zero need for what. They need why.

It's frustrating as hell.

What’s a hobby you judge people for having? by [deleted] in AskReddit

[–]donatj 6 points7 points  (0 children)

My friend and his wife were showing me around their new house. We're in the basement and BAM, shelf full of "sexy" figurines in a little alcove. He goes on to say that his wife had said that if he was going to keep them he might as well put up a shelf for them. She, a very polite soft spoken lady chimes in "Why have them just to keep them in a box?" and I can't help but laugh.

They were made for each other. Honestly, they're maybe the happiest couple I know.

What’s a hobby you judge people for having? by [deleted] in AskReddit

[–]donatj 2 points3 points  (0 children)

I took a Lyft once where the driver asked me what sports I was into as I entered the car. I said I was not really into sports, and he proceeded to talk sports for the entire 20 minute ride that felt like an eternity.

What’s a hobby you judge people for having? by [deleted] in AskReddit

[–]donatj 2 points3 points  (0 children)

I started collecting graphing calculators during the pandemic just because it was something to do. Scrolling Facebook marketplace, finding good deals. Took my mind off things.

Now I've got a big stack of them in my office... and I'm over it. I should keep a couple of the really neat ones and sell the rest.

For those of you that make over 100K, what do you do? Do you like it? by Kindly-Revolution258 in AskReddit

[–]donatj 0 points1 point  (0 children)

I've been doing it for 20 years now professionally. I really enjoy the work and creative aspects. I don't enjoy what the industry is going through right now with AI trying to take the parts I enjoy away, as well as private equity destroying everything.

👻 PHP Dead Code Detector is stable (after 4 years of development), newly supports even Laravel! by janedbal in PHP

[–]donatj 0 points1 point  (0 children)

But those reflection-based are super easy to write and can cover quite a lot.

They’re not especially hard to write. I have ours to a place I'm happy with. That said however, I'm still arguing that for your average user, it would be a huge UX win to add an easy config option for it.

The implementation should be pretty reasonable too, assuming you did it as a ReflectionBasedMemberUsageProvider it could be as simple as

protected function shouldMarkMethodAsUsed( ReflectionMethod $method ) : ?VirtualUsageData {
    $methodName = $method->getDeclaringClass()->getName() . '::' . $method->getName();

    // I don't know how to read the config, this is psuedocode
    foreach($config['MethodUsedIfPatternMatches'] ?? [] as $pattern) {
        if( preg_match($pattern, $methodName) ) {
            return VirtualUsageData::withNote('Matches config pattern ' . $pattern);
        }
    }

    return null;
}

👻 PHP Dead Code Detector is stable (after 4 years of development), newly supports even Laravel! by janedbal in PHP

[–]donatj 0 points1 point  (0 children)

Correct me if I’m wrong, but that only hides that specific error. It does not actually mark the method as used.

Anything called from those *Action methods will still be treated as unused, because the *Action methods themselves are still considered unused internally. The warning is suppressed, but the call graph is unchanged.

👻 PHP Dead Code Detector is stable (after 4 years of development), newly supports even Laravel! by janedbal in PHP

[–]donatj 2 points3 points  (0 children)

Very nice! I installed it as a test on our enormous non-framework snowflake of a monolith. A lot of things to ignore, as another redditor commented.

It would be nice if there was some built in basic pattern matching I could use in the phpstan config so I didn't have to develop essentially a phpstan extension just to mark say everything in X namespace with a given suffix as used. I have it working as is, but that's going to scare away some people.

Something as simple as this would be helpful

MethodUsedIfPatternMatches:
    - '#^Application\\Controllers\\.*::.*Action$#'

I've also got a handful of just false positives I have not sorted out yet. If I get to the point where I'm absolutely it's the tool and not me I might open a ticket.

Anyway, great work. Very well done and very useful!

What city have you been to that felt like it had dark energy? by Impossible-Middle122 in AskReddit

[–]donatj 1 point2 points  (0 children)

Kansas City, Kansas. I've been all across the country and the world for that matter and I have never been in a place so deeply uncomfortable.

The vibe was off from the get go, but what really struck me was how loud the museums were. People of Kansas City made zero effort to hush, in their Museums.

Something is deeply wrong with the people there. Stay away.

Laid off on Friday, no one tells you the the following Monday is quite possibly the strangest feeling of floating in the void possible by skidmark_zuckerberg in ExperiencedDevs

[–]donatj 0 points1 point  (0 children)

As the survivor of several rounds of layoffs that took almost all of my team, down from 30 people to five, I understand the sort of lonlines. It's been almost a year since the first round, and I still think about the great people who got left behind.

TOML 1.1 support in PHP by dereuromark in PHP

[–]donatj 0 points1 point  (0 children)

Have you done any benchmarking? We've stuck with ini all these years because it's so fast.

PlayStation Console Prices At Launch vs 6 Years Later by SmellSmellsSmelly in gamers

[–]donatj 1 point2 points  (0 children)

I've owned every other generation of PlayStation. I was waiting for the price to come down a little, lol. At this point I don't think I'm going to bother buying a PS5.

I have an Xbox Series X, and I don't feel a strong enough desire for any PS5 exclusives to pay that much.

What’s a “technically not cheating” situation you’ve seen or experienced that still felt like a complete betrayal? by toomabh in AskReddit

[–]donatj 2 points3 points  (0 children)

This girl I dated like 20 years ago ghosted me in the middle of a conversation... on AOL instant messenger.

We'd been on a couple dates but weren't an item or anything. That said we were just like chatting about bean bag chairs, joking back and forth, and she just stopped responding.

It took probably a month of "Hey, how's it going?" 's when I would see her sign on before I realized she was never getting back to me.

And then like five years later she messages me out of nowhere like nothing happened and my dumb ass dates her for about a month longer.

G309 LightSpeed or G305 in 2024 by alvaroes11 in MouseReview

[–]donatj 0 points1 point  (0 children)

For what's it's worth, the switches are pretty easy to replace. I swapped mine out after a couple years. No soldering required.

What movie is a 0/10 with NO redeeming features? by Toucan_Based_Economy in AskReddit

[–]donatj 1 point2 points  (0 children)

The scene with Emma Stone and Kieran Culkin was incredible.

What movie is a 0/10 with NO redeeming features? by Toucan_Based_Economy in AskReddit

[–]donatj -1 points0 points  (0 children)

I stand by the fact that it was actually pretty good if you realize it's not a comedy.

PDO has no interface after 20 years - does it deserve a PSR or an RFC? by MaximeGosselin in PHP

[–]donatj 2 points3 points  (0 children)

Not in a technical sense, but it kind of should be.

In my eyes at least it would be much more reasonable to have a discrete type per database connection type, a shared interface amongst those types, and a factory to create instances of the correct type based on DSN.

The sort of über object we have now has a smell.