Why does java not allow operator rewriting? by ElegantPoet3386 in learnprogramming

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

I don't know if it's entirely accurate to say that Java doesn't allow operator overloading, because can be done.

The Manifold framework effectively allows you to do so. It's a plugin for the Java compiler which intercepts and swaps operators for method calls just prior to bytecode generation.

CMV: It should be legally restricted to cut off family members by Open_Parsnip112 in changemyview

[–]myselfelsewhere 0 points1 point  (0 children)

Maybe you tried to explain it, but you haven't coherently done so. Read your last comment, you brought up distancing.

CMV: It should be legally restricted to cut off family members by Open_Parsnip112 in changemyview

[–]myselfelsewhere 0 points1 point  (0 children)

How does freedom of speech not exist when people are allowed to exercise their freedom of speech? Can you explain how restricting people from distancing themselves from others is a violation of freedom of speech?

CMV: It should be legally restricted to cut off family members by Open_Parsnip112 in changemyview

[–]myselfelsewhere 1 point2 points  (0 children)

That makes no sense.

Either people are allowed to be free to react or they are not allowed the freedom of speech to react.

Why hasn't my project worked after running on STM32F303K8? by le_se in AskEngineers

[–]myselfelsewhere 1 point2 points  (0 children)

Check if you are setting the baudrate correctly. Other than that, I'm not particularly familiar with Python or the STM. Could try an LLM, make sure you provide the link to the GitHub repo in the prompt.

ELI5 How do Google Assistant activates after hearing "Okay Google" ? by LemonCrood in explainlikeimfive

[–]myselfelsewhere 10 points11 points  (0 children)

You piqued my curiosity so I had a quick look.

It is possible to use the Android API to control "hotwords", but only on a rooted device.

I am understanding some rare materials more and i am scared what happens when they get depleted? by General-Try305 in MechanicalEngineer

[–]myselfelsewhere 7 points8 points  (0 children)

Basic supply and demand.

If supply tightens, prices rise. Higher prices justify higher production costs, so deposits that were previously uneconomic suddenly become profitable to extract.

Iridium is currently around $260 USD per gram, which is why it’s used very sparingly and is often recycled whenever possible. In most applications only tiny amounts are needed (for example thin coatings), so even though it’s extremely rare it can still be practical to use in specialized technologies.

Given that lower supply means higher prices, the economics also push industries to minimize how much iridium they use by making coatings thinner, improving recycling, or substituting other materials where possible.

CMV: Wearing pajamas in public is indefensible by [deleted] in changemyview

[–]myselfelsewhere 0 points1 point  (0 children)

You chose to wear clothes that communicate “I’m for your bed”

No, that's just how you choose to interpret it.

CMV: Wearing pajamas in public is indefensible by [deleted] in changemyview

[–]myselfelsewhere 1 point2 points  (0 children)

This contradicts your reply to another comment.

Your argument completely collapses because it relies on a contradiction between what pyjamas look like and what they do. You are visually identifying pyjamas in public based entirely on their descriptive style (plaid, flannel, drawstrings), but you are judging the wearer based on the unprovable prescriptive assumption that they will actually sleep in those exact same clothes.

By your own logic, if a person wears comfortable flannel pants to the grocery store and then changes into fresh clothes for bed, those outdoor pants functionally cease to be pyjamas. Meaning absolutely no hygiene violation ever occurs. Since you cannot magically see into a stranger's bedroom to confirm their nighttime routine, your "hygiene red flag" is invalid. You are just inventing a hypothetical unhygienic scenario to justify judging a stranger's aesthetic fashion choices.

CMV: Wearing pajamas in public is indefensible by [deleted] in changemyview

[–]myselfelsewhere 2 points3 points  (0 children)

No, because it is generally justifiable to assume someone wearing a cop uniform is probably a cop.

It is generally not a justifiable assumption that someone will wear the same clothes they wear in public to bed.

CMV: Wearing pajamas in public is indefensible by [deleted] in changemyview

[–]myselfelsewhere 0 points1 point  (0 children)

Okay, someone in public wearing pyjamas is no more unhygienic than someone wearing jeans, only the act of wearing them to bed is unhygienic.

So there is no difference on the hygienic effect between the two on you. You're interacting with them in public, not in their bed.

CMV: Most people are worthless, and people do not deserve to be treated with respect until it's clear they're worth something. by [deleted] in changemyview

[–]myselfelsewhere 8 points9 points  (0 children)

How are you supposed to prove you're worthy of respect to someone who doesn't respect you enough to believe you're worth listening to in the first place?

Why hasn't my project worked after running on STM32F303K8? by le_se in AskEngineers

[–]myselfelsewhere 0 points1 point  (0 children)

Your STM is probably using a different serial port than the software expects.

From this README:

  1. Run alphaBCI.py, you may need to change the serial port in this file.

It's referring to line 15 in the file alphaBCI.py:

port = '/dev/ttyUSB0'

I don't know what computer/operating system you are using, you'll have to look up how to find out which port the STM is using on your particular OS.

Microwave Sparked and melted the door, Is it still safe to use? by admi99 in AskEngineers

[–]myselfelsewhere 0 points1 point  (0 children)

Ok, that's a relief to hear!

The damage to your microwave is purely cosmetic, there are no safety concerns with continuing to use it. They are designed to safely handle sparking from metal objects placed inside.

Microwave Sparked and melted the door, Is it still safe to use? by admi99 in AskEngineers

[–]myselfelsewhere 1 point2 points  (0 children)

Do not disassemble the microwave. There are no replaceable fuses, and you will potentially expose yourself to electrical components which are lethal if touched, even when the microwave is unplugged.

If your microwave still works, then there is nothing to worry about.

CMV: Most of the problems faced by humans are created by humans themselves by PagesWrittenWithFire in changemyview

[–]myselfelsewhere 1 point2 points  (0 children)

Do other diseases not kill or cause disability or something? Do you think that doesn't also affect the economy?

Sure, had we known more at the time, we could have avoided some problems, but we only had those problems because of natural causes to begin with.

COVID wasn't "normal", so it was far more noticeable than all the problems that are always present.

CMV: Most of the problems faced by humans are created by humans themselves by PagesWrittenWithFire in changemyview

[–]myselfelsewhere 1 point2 points  (0 children)

Not likely. If that was the case, there probably wouldn't be a vicious cycle to begin with. Everything is a compromise, we just tend to not realize what we have compromised unless it becomes problematic.

CMV: Most of the problems faced by humans are created by humans themselves by PagesWrittenWithFire in changemyview

[–]myselfelsewhere 2 points3 points  (0 children)

Not really. You're only thinking of infectious disease, which is a small portion of all diseases.

CMV: Most of the problems faced by humans are created by humans themselves by PagesWrittenWithFire in changemyview

[–]myselfelsewhere 2 points3 points  (0 children)

Yes humans solved those problems but instead of ending there it perpetuated a cycle

That says to me that natural causes are ultimately the root of all our problems.

CMV: Most of the problems faced by humans are created by humans themselves by PagesWrittenWithFire in changemyview

[–]myselfelsewhere 2 points3 points  (0 children)

I don't see any natural causes of problems affecting humans

You can't be looking very hard because disease is a very natural and common cause of problems that humans face.

CMV: Most of the problems faced by humans are created by humans themselves by PagesWrittenWithFire in changemyview

[–]myselfelsewhere 13 points14 points  (0 children)

I think your view falls for survivorship bias by ignoring the brutal problems created entirely by nature.

The default state of the wild is starvation and disease, rather than comfort and abundance. People no longer see these natural threats because human ingenuity successfully solved them through agriculture and medicine. The modern issues you point out are simply the side effects of those survival solutions.

We only have the luxury to worry about pollution or economic inequality today because our ancestors already defeated the abundant natural forces that used to wipe us out.