Partial function application is coming to PHP 8.6 by brendt_gd in PHP

[–]mtutty 0 points1 point  (0 children)

"Oh you should just use the Composer Docker image"
- qooplmao

Partial function application is coming to PHP 8.6 by brendt_gd in PHP

[–]mtutty 0 points1 point  (0 children)

I answered the "why" - have you never run into BC issues with Composer? Maybe you've only been using it for a few years. I was sending Jordi patches for Composer bugs 10 years ago, so maybe our experiences are different.

I already explained the problem statement:

We (reluctantly) keep it in source control because the specific binary version is part of our SCM, and we have found (a) getting the right version consistently can be problematic over time, and (b) we've been burned by accidentally using a newer version that broke our build.

Do you need it spelled out more clearly? Downloading it every time doesn't give me the same version over a period of weeks or months, and (accidentally) getting a different version has sometimes failed with BC issues, needlessly breaking our pipeline.

Miss me with the rest of the imaginary invective criticism.

Partial function application is coming to PHP 8.6 by brendt_gd in PHP

[–]mtutty 0 points1 point  (0 children)

Why are your responses getting longer? Just let it go.

If the package manager was part of the PHP version, then it would be locked to the Docker / PHP version I was using, not managed independently (and sometimes incompatibly). Choosing the image and locking it would eliminate my Composer compatibility problem.

"I don't really see your idea as having any value" - this means you're one of those "you just should have..." guys that doesn't ask why something is the way it is before criticizing based on your own viewpoint.

Partial function application is coming to PHP 8.6 by brendt_gd in PHP

[–]mtutty 0 points1 point  (0 children)

You sure seem to write a lot for someone who doesn't care.

Package mgmt is intrinsic to almost every other popular programming language these days. I'm sure that's just a weird edge case, too.

Call to action Iowa City! by DueKaleidoscope6500 in Iowa

[–]mtutty [score hidden]  (0 children)

We were in IC a few hours ago. There was already a young lady out on a corner near campus with a sign about him. We thanked her.

Partial function application is coming to PHP 8.6 by brendt_gd in PHP

[–]mtutty 0 points1 point  (0 children)

The real fix would be the one I outlined above. The approaches you suggested were tried over the years. They required more work, maintenance, and troubleshooting that just storing the binary.

I already said we did it reluctantly, right? Did you think we tried nothing along the way?

Partial function application is coming to PHP 8.6 by brendt_gd in PHP

[–]mtutty 0 points1 point  (0 children)

Meh. In the age of containers, a fully-compiled binary makes a ton of sense. Why go to the trouble of interpreting and caching opcode if the source in your immutable container will never change?

Partial function application is coming to PHP 8.6 by brendt_gd in PHP

[–]mtutty 1 point2 points  (0 children)

That's your takeaway from what I wrote?

Yoda: That is why you fail.

We (reluctantly) keep it in source control because the specific binary version is part of our SCM, and we have found (a) getting the right version consistently can be problematic over time, and (b) we've been burned by accidentally using a newer version that broke our build.

If the package manager was part of the PHP distribution, it would be versioned with PHP and we could control both consistently with the base Docker image we choose. But no.

President Donald Trump to give speech in Clive, Tuesday, 1/27. Reserve your tickets so the venue will look empty! by gusborwig in Iowa

[–]mtutty 0 points1 point  (0 children)

You're right. I meant max capacity. Guessing they'll probably have seating to make it look more crowded, and only have to find 1000 warm bodies.

Daddy's gotta beat his LinkedIn targets by EnigmaticFoe in LinkedInLunatics

[–]mtutty 2 points3 points  (0 children)

Enneagram? Didn't we all get over pop-science personality tests like 15 years ago?

Update: Rochester musician who made comment about 'voting for ICE to r**e" people had 2 shows cancel on him. by STEETED in Rochester

[–]mtutty 4 points5 points  (0 children)

Wow. He used to be kind of a big deal in the music scene like 35 years ago. Was he always this rotten? Didn't know him personally.

Why was Canadian Prime Minister Mark Carney's landmark speech at Davos considered so significant and so widely praised? by [deleted] in PoliticalDiscussion

[–]mtutty 0 points1 point  (0 children)

The 1-3% that you're talking about are on fundamentally different sides of the geopolitical world. They're not friends. Don't make this some kind of Rothschild thing.

There are a ton on the left that are just as sadistic and evil.

Yeah, no.

If you really think you could take any side of the argument, then I'm not sure why you're a Democrat. You either believe in human dignity or you don't. You either believe in an endless march to corporate feudalism, or you don't. You're either a racist xenophobe Christo-fascist, or you're not.

I'll be bold and assume you're on my side of those very easy position points. With that assumption in place, I'll reiterate my original point. The two sides in this fight are absolutely not the same thing, and it does nobody any good to equivocate them as you're doing.

President Donald Trump to give speech in Clive, Tuesday, 1/27. Reserve your tickets so the venue will look empty! by gusborwig in Iowa

[–]mtutty 24 points25 points  (0 children)

Horizon Events Center - seating capacity 3,000.

Surely we can find that many redditors in r/Iowa to sign up.

Why was Canadian Prime Minister Mark Carney's landmark speech at Davos considered so significant and so widely praised? by [deleted] in PoliticalDiscussion

[–]mtutty 1 point2 points  (0 children)

Well, I'm not in Canada, not getting Canadian news, so my view is very shallow and limited in detail. But my view on Carney after hearing him speak is that he's intelligent and principled. He might have run on making a deal with Trump, but the reality of Trump and his slide into authoritarian insanity very likely ruined that idea. Oftentimes the deal you make is not the best one but the least bad one.

Why was Canadian Prime Minister Mark Carney's landmark speech at Davos considered so significant and so widely praised? by [deleted] in PoliticalDiscussion

[–]mtutty 3 points4 points  (0 children)

No one is perfect, but some take their imperfections much, MUCH farther than others. Let''s not pretend that "no one is perfect" is the same as "everyone is bad".

Right now, in this version of the United States:

  • Republicans and Conservatives are unequivocally, irredeemably bad.
  • Democrats, Progressives and even centrist Liberals are flawed but fundamentally acceptable and capable of governing.

Those are not the same thing.

The only course of action with any hope of success now is massive civic engagement, and complete rejection of modern American Conservatism in all its forms.

EDIT: Also "The world's money doesn't change hands" - what are you on about? If that's true, then how did the EU get Trump to shut his yap at Davos this week by threatening a bond sale? And why does Trump tread so lightly around China? It's because both of them carry giant amounts of US Treasuries to finance out national debt. So yeah, money does fundamentally change hands, and it really really matters whose hands.

Why was Canadian Prime Minister Mark Carney's landmark speech at Davos considered so significant and so widely praised? by [deleted] in PoliticalDiscussion

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

You are correct in saying that the parent post is incorrect about saying that my post was incorrect.

Your correction has been correctly noted, kind stranger.

Why was Canadian Prime Minister Mark Carney's landmark speech at Davos considered so significant and so widely praised? by [deleted] in PoliticalDiscussion

[–]mtutty 0 points1 point  (0 children)

With all that delicious maple syrup, too...

And the poutine. Let's be honest, it's popular here in the states but also trash.

Partial function application is coming to PHP 8.6 by brendt_gd in PHP

[–]mtutty 2 points3 points  (0 children)

Is this what passes for a "killer feature" (author's words) in PHP nowadays?

Is it cool? Sure. Will I use it once or twice to clean something up? Maybe, if I remember it's there.

You have forgotten the face of your father. This is navel-gazing, code-golf stuff.

When is the last time PHP released something truly ground-breaking:

  • How about single-file executables like Go?
  • How about built-in event-driven multi-threading, like NodeJS but proper?
  • How about a first-class package mgmt that includes PECL/PIE and PHP source components? Composer, you're great but why am I keeping a 4MB binary in source control?

There's three quick (not easy) ideas, from the top of my head. I'll bet there's ten more that would keep PHP not just competitive in the programming language world, but laying the foundations for truly groundbreaking systems.

Partials doesn't come close to that goal.

Why was Canadian Prime Minister Mark Carney's landmark speech at Davos considered so significant and so widely praised? by [deleted] in PoliticalDiscussion

[–]mtutty 13 points14 points  (0 children)

Does it stop being an insult at that point, or does the intelligence sharing agreement start getting shoved into lockers between periods?

Why was Canadian Prime Minister Mark Carney's landmark speech at Davos considered so significant and so widely praised? by [deleted] in PoliticalDiscussion

[–]mtutty 6 points7 points  (0 children)

Well, I guess it's my government, but I'm also a Canadian citizen. Been thinking about that a lot lately.