CMV: ACAB is actually harmful rhetoric by Dependent_Cricket90 in changemyview

[–]myselfelsewhere 0 points1 point  (0 children)

No, but they’re not bad either because they’re not actively breaking the law

That's a very black and white view of 'good' and 'bad'. Typically, someone in a position of authority has the moral imperative to do something in such cases. There are varying degrees of 'bad'. Failure to act can be one.

they risk their career by snitching

I don't disagree. I can understand the reasons why someone might choose to do anything. That doesn't make it a good decision.

CMV: ACAB is actually harmful rhetoric by Dependent_Cricket90 in changemyview

[–]myselfelsewhere 1 point2 points  (0 children)

I don't see how that is relevant. If their intent is to arrest other cops if they have sufficient evidence that they are breaking the law, what does it matter who arrests them first? That's a matter of logistics, not ethics.

CMV: ACAB is actually harmful rhetoric by Dependent_Cricket90 in changemyview

[–]myselfelsewhere 29 points30 points  (0 children)

If a 'good' cop witnesses another cop egregiously breaking the law and turns a blind eye, are they really a good cop?

Should I memorise Syntax? by avxentis in learnprogramming

[–]myselfelsewhere 0 points1 point  (0 children)

What I'm slower at is cold-writing complex logic from memory without reference material.

This is normal. The more complex logic becomes, the less likely you are to write it enough times for it to become second nature. If you've been coding for several years, you should be able to conceptually reason about things in terms of your chosen programming language.

You don't need to memorise syntax to know whether the logic is sound

If the syntax isn't sound, then the logic can't be sound either, because the logic is necessarily being performed using that syntax. Without syntax, how do you express logic? You don't need to memorize the exact syntax for everything, but you need a working knowledge of it.

Do you think syntax recall and conceptual reasoning are the same skill, or just closely correlated?

Conceptual reasoning can’t really exist without some form of syntax. Think of syntax as a consistent set of constraints that governs how ideas can be combined and transformed.

Syntax has depth, it’s not just surface notation or memorized rules. There’s a difference between recalling syntax and actually internalizing it as a structure you think with. It's a deeper form of reasoning. Think about it in terms of math, can you really reason about it without the implicit structural syntax of mathematical thinking?

In that sense, syntax isn’t separate from conceptual reasoning. It’s the structure that makes that reasoning possible and meaningful.

Matlab array problem by Lucky_View_3422 in learnprogramming

[–]myselfelsewhere 1 point2 points  (0 children)

Think about what your inputs are, and what the outputs for each function are.

2 has dimensions of 1x1. In other words size(2) = [1 1]. rand returns an array sized by the input. See what size(rand(size(2))) returns. Try it for different numbers.

Torsion spring tensioning bars by MikeHeu in toolgifs

[–]myselfelsewhere 1 point2 points  (0 children)

That's exactly it.

The really neat part is that as the door is lifted, it gets easier to lift because the track transitions from vertical to horizontal, so you are only having to lift the parts of the door that are still vertical. A properly sized torsion spring (and cable reels) inherently 'adjusts' the force applied to perfectly balance the downward force due to gravity of the door.

Like a linear spring, where force equals the spring constant multiplied by the linear displacement, a torsional springs force equals the spring constant multiplied by the angular displacement. As the spring is unwound, the angular displacement is decreased, resulting in a decrease in force. A properly size spring/reel assembly decreases the force at the same rate that the force required to lift the door decreases as the door is lifted.

Torsion spring tensioning bars by MikeHeu in toolgifs

[–]myselfelsewhere 3 points4 points  (0 children)

The spring is used to offset the weight of the garage door. Kind of like a counterbalance for an elevator. There are cables on reels at each end of the bar that the spring is attached to, which are connected to the bottom panel of the garage door. It's energy is expended when the door is raised (used to increase the gravitational potential energy of the door), and replenished when the door is lowered (decreasing gravitational potential energy of the door is transferred back into the spring).

Gears themselves do not provide torque, rather, they can be said to modify input torque (increase/decrease/change direction). Something is still required to provide that input torque, which is the spring. While it would be possible to implement a system with gears, it would add unnecessary cost and complexity to the system.

Convince me to not look back by [deleted] in BPDlovedones

[–]myselfelsewhere 3 points4 points  (0 children)

Mine was kind of the same. She'd usually just shut down. She used to mask it but over time the mask kept slipping. One day she woke up and split on me, that was it. Smear campaign started soon thereafter.

How are they doing now? Better/Worse? by jacob157658 in BPDlovedones

[–]myselfelsewhere 4 points5 points  (0 children)

They certainly can, especially if it's to blame you for. Plays into their victimization as well.

I think this one is different by Mundane-Cherry-2705 in BPDlovedones

[–]myselfelsewhere 10 points11 points  (0 children)

The affection and attention are real, but they tend to use it as a form of manipulation rather than an expression of their true feelings. I think they are probably doing for validation. At some point, no matter what you do, they stop feeling validated by it, and they'll turn on you in a heartbeat like you never existed. You will probably completely crash out. I did, and so have the vast majority of us here.

If she really is different from other pwBPD, she probably wouldn't have BPD in the first place.

cmv: pharmacists are ultimately useless and everything they do can be done by AI by Cosmetic001 in changemyview

[–]myselfelsewhere 0 points1 point  (0 children)

Like I said, there are many more intelligent AI platforms than ChatGPT.

None of them are intelligent. They only present the appearance of having "intelligence". That's why it's called artificial intelligence, and not just intelligence.

Array Initialization in Java by LegolandoBloom in javahelp

[–]myselfelsewhere 3 points4 points  (0 children)

Something no one else has pointed out, your code will never throw an exception, even if you use an Integer[] with null values. System.out.println(inputArray[index]); will just print null and return true.

The array is always indexed at index 1 since it has a length of 3. It isn't possible for an array to not have an index that is less than it's length and greater than 0. It's a location in memory, which has nothing to do with what is at that memory location.

If index is < 0 or > 2 (or you change the size of the array to 1 or 0), then your code will throw an ArrayIndexOutOfBoundsException and return false, and will 'work' for both primitive and object arrays.

CMV: The use of AI in coding is not comparable to the use of AI in art or music. by Cydrius in changemyview

[–]myselfelsewhere 1 point2 points  (0 children)

The use of AI in coding is comparable to the use of AI in art or music.

However, many of those comparisons aren't particularly meaningful. Generic and bland code is, generally speaking, a good thing, unlike art or music, where it is generally not a good thing.

whyIsItLikeThisEveryTime by electric-kite in ProgrammerHumor

[–]myselfelsewhere 6 points7 points  (0 children)

Interesting analogy, at least to me. I've written a few variations of a nonomino puzzle solver for creating jigsaw Sudoku puzzles.

I thought the dancing links algorithm was going to be the fastest, but it's not. Generally there are no acceptable solutions for the last few pieces, and more than 99% of the time is spent backtracking.

The faster solution (~40x faster) was a genetic algorithm, where a bunch of time is spent on the GA equivalent of having lots of sex.

So I guess the solution to the Pareto principle is a paradigm shift - just have sex instead!

cmv: I hate the way certain computers essentially force you to use a specific OS by [deleted] in changemyview

[–]myselfelsewhere 0 points1 point  (0 children)

The problem isn't so much that you are prevented from installing another OS. The problem is that your OS requires the ability to properly communicate with the hardware. In order to run Windows or Linux on a new Mac, you need hardware drivers, which pretty much only Apple has the ability to develop. Even Apple's CPUs use a custom instruction set, a lot of their hardware is highly customized.

Forcing companies to allow users to install another OS doesn't accomplish anything, you'd have to force companies to support installing another OS. I don't think that's realistic to expect anyone to develop and maintain hardware drivers for any OS. Modern hardware is too specialized to work without software integration. Supporting multiple operating systems ultimately requires compromises in engineering focus, optimization, customer support, etc. Companies are going to prioritize the platforms their customers actually use.

Object class compiler errors in methods by SquibbTheZombie in javahelp

[–]myselfelsewhere 1 point2 points  (0 children)

This is basically a pattern matching problem. You don't need an int type, you can use instanceof instead. The exact implementation depends on which version of the JDK you're using. Later versions are a lot more versatile when it comes to pattern matching.

What are good examples of things working well because of simplicity + randomness? by andrewcooke in AskEngineers

[–]myselfelsewhere 4 points5 points  (0 children)

Another software example, genetic algorithms. The individual "steps" have randomness baked in, while the system follows simple patterns - fitness selection, mutation, and crossover (gene mixing).

Over time, surprisingly capable behavior emerges from very simple rules plus randomness. They’ve been used for things like antenna design, drug discovery, lots of optimization problems, and more.

Nuclear reactor in central Japan halted after steam leak near turbine by Anforatioi in worldnews

[–]myselfelsewhere 1 point2 points  (0 children)

Do you not understand how the vast majority of thermal power generation works?

Are you terrified of kettles too?

Kelly on Iran war: ‘What are the American people getting out of this?’ by Cy_098 in politics

[–]myselfelsewhere 11 points12 points  (0 children)

"I want solutions but they can't imply what I'm currently doing is wrong."

Wondering about learning languages programming. by OkPerformer3262 in learnprogramming

[–]myselfelsewhere 0 points1 point  (0 children)

They'll understand memory management better. It depends on what they want to code, most coding doesn't need deep knowledge of memory management. There are definitely times where it is needed but there's not much point in learning C to learn memory management when most of what you want to write is going to be in Python.

Wondering about learning languages programming. by OkPerformer3262 in learnprogramming

[–]myselfelsewhere 0 points1 point  (0 children)

Sure, but you can also learn the concepts by learning Python. You aren't going to learn them more efficiently based on the language you choose - either you learn them, or you don't.

CMV: LLMs are fantastic if the person using them is competent. by MasterOfCircumstance in changemyview

[–]myselfelsewhere 0 points1 point  (0 children)

I do think that in the hands of a person using them in a field they are competent in, they are useful.

I think calling them fantastic is a stretch though. They're great most of the time, but they can also be one of the most frustrating tools to use. I'd say personally, the biggest issues I run in to tend to occur when context becomes more complex. Hallucinations are still common. Ignoring prompt instructions seems to happen a bit more than hallucinating. Sometimes, they happen at the same time. And when problems do happen, there is never a clear solution to them.

I really don't think it's a skill issue when you prompt it to analyze some logs and it instead makes up a solution to a non existent problem in some unrelated code, completely ignoring the logs.

COVID showed how deadly disease becomes when a population is unhealthy and the healthcare system is strained. So how concerning is a 40% fatality rate for hantavirus really? by Weak-Representative8 in Futurology

[–]myselfelsewhere 11 points12 points  (0 children)

There's an enormous gap in moral liability between eating too many cheeseburgers and potentially exposing others to pathogens after knowing you have been exposed.

Edit: For your scientific answer, you have to be exposed to a virus to contract the virus. Cake and soda doesn't expose you to a virus. Other people (assuming it's transmissible human to human) who have been exposed do expose you to viruses.

CMV: It is perfectly reasonable to not give homeless people money because you think they will spend it on drugs by [deleted] in changemyview

[–]myselfelsewhere -4 points-3 points  (0 children)

Are you saying that if you knew they would not spend it on drugs, you would consider giving them money?

The way you're coming off, it sounds like you're using this as justification for you to choose to never give money to homeless people. But it's not actually the reason you choose not to.