- 0 Posts
- 120 Comments
Asetru@feddit.orgto Programming@programming.dev•Stop writing CLI validation. Parse it right the first time.1·20 days agoAbsolutely not.
Mutually exclusive options
Another classic. Pick one output format: JSON, YAML, or XML. But definitely not two.
Emphasis mine.
It takes the input and fails if there is more than one valid one, which decidedly isn’t what’s an “or” in comp sci.
Asetru@feddit.orgto Programming@programming.dev•Stop writing CLI validation. Parse it right the first time.1·22 days agoThe result type in rust does not return a true/false but a type. More importantly though, it doesn’t return err of both values are set but simply returns the first value:
So… It’s not only not mapping your input to truth values, it also behaves more like I’d expect an “or” to behave, which is not “xor” or, if there’s more than two inputs, “exactly one”, but succeeding if any input is set.
Asetru@feddit.orgto Programming@programming.dev•Stop writing CLI validation. Parse it right the first time.235·23 days agoThe or() combinator means exactly one succeeds.
Using “or” to define a function that does “xor”… Did that guy never hear about formal logic? That’s, like, first or second semester stuff…
Here’s the thing: I don’t have a CS degree.
sigh
Love it. But:
But you see, they’re on me, they are
not my familymy employee
And if i could i would select the physically attractive ones so that all people can have a girlfriend.
If you really think physical attractiveness is the major factor in finding a partner you should first grow up. Then, after that, you can discuss topics like the one you tried here. And hopefully, by then you’ll have a better understanding of what makes a life worth living and why it’s a bad idea to have eugenics.
You sure this is the correct template?
Dude, read the spoiler in the post you replied to.
What about Sony phones? They have headphone jacks. They don’t get long update guarantees though.
Samsung’s Galaxy A series still has jacks, I think Samsung promises 5 years of security updates for them.
I’m sure it’ll be bearable once she dipped it in the coffee.
She’s just still so mad that her drinks are all shaken up.
Where would that be a legal tender?
So… Who processes the donation?
Can someone please get that slop outta my face?
Oh really? Man, you don’t say!
What’s your point?
It doesn’t even resemble a consciousness. It’s not even close.
Also, why are you asking your question to begin with if your answer is then just a condescending “but sometimes we can’t tell AI from humans apart”? Yeah, no shit. It’s been like that at least since the 60s. That’s not the point. If that’s all you have, then go ahead, be happy you found something “wild and so trippy”. But don’t ask if there are legitimate reasons to reject AI if all you want to do is indulge yourself.
It is the coolest invention since the Internet and it is remarkable how close it can resemble actual consciousness.
No. It isn’t. First and foremost, it produces a randomised output that it has learned to make look like other stuff on the Internet. It has as much to do with consciousness as a set of dice and the fact that you think it’s more than that already shows how you don’t understand what it is and what it does.
AI doesn’t produce anything new. It doesn’t reason, it isn’t creative. As it has no understanding or experience, it doesn’t develop or change. Using it to produce art shows a lack of understanding of what art is supposed to be or accomplish. AI only chews up what’s being thrown at it to vomit it onto the Web, without any hint of something new. It also lacks understanding about the world, so asking it about decisions to be made is not only like asking an encyclopedia that comes up with answers on the fly based on whether they sound nice, regardless of the answers being correct, applicable or even possible.
And on top of all of this, on top of people using a bunch of statistical dice rolls to rob themselves of experiences and progress that they’d have made had they made their own decisions or learned painting themselves, it’s an example of the “rules for thee, not for me”. An industry that has lobbied against the free information exchange for decades, that sent lawyers after people who downloaded decades old books or movies for a few hours of private enjoyment suddenly thinks that there might be the possibility of profits around the corner, so they break all the laws they helped create without even the slightest bit of self-awareness. Their technology is just a hollow shell that makes the Internet unusable for all the shit it produces, but at least it isn’t anything else. Their business model, however, openly declares that people are only second class citizens.
There you are. That’s why I hate it. What’s not to hate?
“I’ll go absolutely barebones on electricity usage. Just a router and my gaming console!”
I don’t think it’s a good idea to opt out of something like a fridge or lighting.