Mutating function arguments is pretty wtf to begin with.
Mutating function arguments is pretty wtf to begin with.
There are many other FOSS CMS systems, and WordPress has always been trash from a technical perspective. It just was one of the first options in the early internet and consequently developed an ecosystem early. Would be great if it would go away so it stops sucking all of the air out of the room and alternatives can pick up steam.
https://daniel.haxx.se/docs/curl-vs-httpie.html
Httpie and xh only have a small subset of curl’s functionality, and IMO the claims of more intuitive UX is dubious at best. More magical and limiting is what I would say. Httpie in particular is slow as hell, too.
Daniel has a more thorough comparison of features across different alternatives here: https://curl.se/docs/comparison-table.html
It does not take long to use curl, not sure what you’re talking about. There’s not particularly special about what Postman does.
The same way you test any other API. Not really different. I tend to keep my request bodies in separate files organized in folders to keep things tidy.
Curl. Everything you described is not hard to do via scripts. I use it every day for all of my API testing needs. You’re also not limited to the features Postman provides.
You can easily write a script to make curl requests from a CSV.
Yeah, European salaries across the board are generally lower than the US by quite a bit, but we also typically pay for a lot more services than Europeans do as generally a lot more is privatized (healthcare, etc.). $100k is typically what most middle class Americans are striving for in order to have a relatively “comfortable” life, buy a house, etc. (though honestly, the housing market today is so fucking insane that even that isn’t really enough to buy a house in many places now). The median household income in 2023 was $80,610, for reference.
Living on $50k/year is not easy. The federal poverty line for a family of 4 is $31,200, and many consider those numbers to be much too low.
There’s absolutely no need to target normal American households with more taxes. Billionaires already don’t pay their (too low) taxes and have far, far more than they need that they’ve taken from the labor of others. Actually taxing them appropriately would cover everything we could possibly need and then some.
We should be raising substantially the minimum income needed before you have to pay taxes. It’s fucking stupid to be levying a bunch of tax on people who are struggling to make ends meet.
Yeah, standard practice is to set up source control before doing any work at all. Then you add whatever project template/scaffolding files to an initial commit and make it, and keep committing from there.
You should always be committing early and often. Saves you a lot of headache and make it a lot easier to clean up your history later too.
Monorepos are a thing. But obviously this is something entirely different.
Reviewers are not infallible and are largely focused on the meat of the MR rather than every single detail.
It reflects much more poorly on you than it does on them.
My wife and I think it is. I took her last name since it meant more to her.
Don’t need the Ord
instance for equality, just Eq
is sufficient. Ord
is for inequalities.
The point of the post is that most mainstream languages don’t provide a way to automatically derive point-wise equality by value, even though it’s pervasively used everywhere. They instead need IDEs to generate the boilerplate rather than the compiler handling it.
In absolute terms, they aren’t the majority. 73m voted for him out of the 161m eligible voters in the US, or ~45% (Harris has ~43%). Still a frighteningly high number, but it also means it’s possible to find support for resistance, at least if things start to get bad enough. Unfortunately, there are a lot of Americans that like to think that politics don’t concern them and that we should just be apolitical. So they’re going to need a wake-up call first before they would lend their support. Trump will likely give it to them in short order as his fascist policies start to directly affect them.
Also, keep in mind that the total population (~334m as of 2023) is much larger than the population that is eligible to vote. There are many young people that are too young to vote now but still old enough to fight tyranny, former felons who are ineligible to vote but eager to fight oppressive systems, not to mention the scores of people not counted among eligible voters due to not being registered to vote, either through complacency/disillusionment (see above) or active sabotage and disenfranchisement by Republicans (and in many ways, you could say these are one in the same).
Fascists may have power and have won the popular vote, but it doesn’t mean it’s the will of the people. It means they’ve successfully gamed our very broken system. But real, average people living their lives will fight when the oppression comes to them. Maybe it will be too late, but maybe not. Revolution only needs a single spark.
I wasn’t suggesting making JSON “REST” APIs (not actually REST, more accurately you might call them JSON data APIs or something). I meant protocols that are specifically meant for RPC, like gRPC, JSON-RPC, etc. Or message queues like RabbitMQ.
Ah I see, my bad. You mentioned Ruby on rails and GraphQL so I assumed you were talking about some kind of MPA situation.
Yeah htmx doesn’t replace data APIs for sure. Still not a fan of GraphQL for that purpose for the reasons above. There’s a lot of good options for RPC stuff, or even better, you can use message queues. GraphQL is just a bad idea for production systems, IMO.
I was replying to someone talking about GraphQL and Ruby on rails, not the OP of this post.
For Haskell:
I’d say this is definitely a wtf. Tuples should have never been given Foldable instances and I’d immediately reject any code that uses it in code review.
I actually didn’t know, so TIL. Not surprising since common wisdom is that a lot of the type class instances for Doubles are pretty weird/don’t make a lot of sense. Just like in any language, floating point needs special care.
This is jjust expected syntax and not really a wtf at all. It’s very common for languages to require whitespace around operators.
Agreed as wtf, the
NegativeLiterals
should be on by default. Just would be a pretty significant breaking change, unfortunatelyNot a wtf… What would you expect to happen? That operation is not well-defined in any language