1,081 karma · joined Jul 23, 2021 (5y ago) · 540 submissions
comment 3y ago · link · parent
min(x, y)+( ((unsigned int)abs(x-y))>>1);
with no issue.
abs(x-y)is the distance between points x and y. We don't care about order here because of the absolute value. And by its nature, it will always be positive - hence unsigned.
We divide the distance between the points by 2. This always provides a solution that fits in the signed bounds of X and Y once you add to min(x,y).
And it costs an ABS, a subtract, a non-negative bitshift, and a min().
To make it more complete, a switch statement depending on type of input function would be needed to handle the various sizes of numbers. And then it'd be doing the same but for long int->unsigned long int etc.
comment 3y ago · link · parent
The perfluro- line of chemicals are quite amazing.. if it werent for them being completely obnoxious and stay in the body like lead.
comment 3y ago · link · parent
Snap is closed source garbage ware, with MS Windows forced updating and the terribleness of being 10x slower....
So here's how to "Snap-Off" your system https://haydenjames.io/remove-snap-ubuntu-22-04-lts/
comment 4y ago · link · parent
And in my case, all my siblings have deemed that our mother is indeed a narcissist. We're all no-contact with her. We're not docs, so med diagnosis is off the table... But you can definitely be a narcissist without being diagnosed with NPD.
comment 4y ago · link · parent
Now, capitalism... now that causes a whole host of problems. If a corporation were a real human, it would be diagnosed as a sociopath. Noam Chomsky did a great work with "The Corporation": https://www.youtube.com/watch?v=s5hEiANG4Uk
comment 4y ago · link · parent
That happened to me after I came to a pagan high priestess. I tried to explain my problems.. but she knew already (learned narcissism and other terrible behaviors as a defense - terrible parents). She was able to do a ritual which was a forced ego-death. The ritual was maybe 5 minutes. None of the hollywood trappings. It allowed me to see me for who I am, others for who they were. Basically it reversed much of my extreme ego, and did similar to what Tonglen does... but in a span of a half hour. I broke down at least 5 times with the gravity of what I had done to others in my life.
My case was extreme. And since I explicitly asked, she did so. I asked her afterward the downsides (since I knew I was spiraling downward), and most people just crumble under that. And I'm still eminently grateful she did so.
comment 4y ago · link · parent
And if reading https://old.reddit.com/r/raisedbynarcissists/ is any signifier, yeah it's likely rampant. It gets bad there quickly and stays bad.
Even my own mother is one such narcissist. She's tried to bait us siblings against each other. Fortunately, we'll just get on a call or zoom and actually talk. As of now, all siblings have blocked her. Thankfully, we (siblings) all met up for thangsiving, which was awesome. Mommy dearest can go tell herself how great she was, by herself.
comment 4y ago · link · parent
Ego-death can be brought on by yourself, with extreme introspection and seeing yourself from inside your body. The end is realizing your body is not you. This sometimes can be done by situations, but usually done in some branches of psychology, or by an occult practice.
Narcissistic collapse is when the facade of control by a narcissist is collapsed down around them forcefully, and they then have to deal with the fact they are not the center of the universe. This loss of control causes them to spiral inward, and then lash outwardly very violently. They , in almost all cases, lack the capability of addressing the causes of narcissism or the damage they cause others.
comment 4y ago · link · parent
It definitely is a variant of an ad hominem logical fallacy (they are X demographic so they must know and represent all X). But critical thinking goes out the window with identity politics.
And if you identify as white (or others identify you as white), you're just wrong. There's even insults of that type: Karen, Chad, Josh. Doubly so if you are or identify as male.
comment 4y ago · link · parent
So, I turned on the child filters on her tv and removed foxnews, oann, and a few more. Is it ethical? Well, it's gray for sure. But given how unhinged she was getting, sure, I'll take that hit.
comment 4y ago · link · parent
The more advertisements are present, the less effective they are, and the worse genuine conversations get.
Door-to-door sales relies on people not actually being rude - in fact, it depends on it. And it tries to rush people to rapid hastily thought-out sales by triggering fight or flight. I have no issue in threatening them with criminal trespass and respond in kind if they refuse to leave.
It's a whole other thing if I am looking for X, and I seek people/companies that provide X. That's consensual, and doesn't serve to destroy communication and conversation.
comment 4y ago · link · parent
> Still the devices I currently own are the best devices I ever had.
"Own" - that's the key word here where the contention is. If the entity you bought this thing from still retains control over your thing, that's a rental.
> And the services I subscribe to are incredible services that never even existed before.
Considering you're not naming said "incredible services", it's irrelevant to dispute.
> Free markets are not always providing perfect solutions, but I am absolutely sure government intervention could only worsen the situation, never improve it.
Absolutely sure? That sounds extremely over-simplistic to reduce every possible legislation and governance down to "always sure government intervention worsens the situation".
And part of my recommendations are not needing new laws, but maintaining product truth-in-advertising in the face of remote access. And frankly, if I put in remote control, sold the machine, and then remotely destroyed it, I'd be brought in for felony hacking charges.
But really, the level of discourse of "guvernment baaaadddd" is damned distressing, and unfortunately a result of Reagan's very successful campaign to say that, defund public facing gov orgs, and then point at lack of performance for underfunded orgs, thus doing another round of underfunding.
comment 4y ago · link · parent
And at this moment in time, the "best" strategy is to milk customers with recurring purchases. And it turns out the value-add didn't work. So feature-removal-and-sell-back recurring purchase is the current phase.
We're seeing that everywhere in IOT, gadgets, kitchen consumer gear, vehicles. Basically, it's the manufacturers exerting control post-purchase with the implicit threat that they can and will brick your stuff.
To put bluntly, we need government oversight over these realms. First-sale doctrine needs to cover "functionality sold at bill of sale". "No bundling" (of additional services that "complete" a thing) also needs to be strongly enforced. And if/when companies do stuff later and remove features (PS3 for an easy example), that they need to be dealt with as if a hacker did that - as C-level ordered felonies with prison, direct massive compensation to the wronged parties, and massive fines (company-ending if need be).
comment 4y ago · link · parent
Capitalism.
It used to be about making a great product, and people would buy it.
Then it became "We can generate a fake demand with various psychological tricks" to get people to buy it.
Then it became "Give away the razor and charge $$$$$$ for the blades".
Then it became "Buy the thing and subscription and save!"
Then it became "Buy this crippled thing so we can sell you the subscription for recurring income" <- This is where we're at.
Point being, it's not about making a great product. It's about using emotional tricks to get people to buy a thing AND a subscription, to get what 10y ago would have been a lump-sum you-own-it thing.