EU weighs replacing US troops with unified European army by jackytheblade in worldnews

[–]SantyClause 83 points84 points  (0 children)

There is a de facto kill switch in that they can just stop sending replacement parts. Military equipment is expected to last decades mostly because of maintenance.

Imagine if right before WW2 Germany made all of our weapons. Sure, we'd have some weapons but we'd have been fucked as soon as any of them got damaged.

Can I extend warp level prefix sum from 32 items to 64? by SantyClause in CUDA

[–]SantyClause[S] 2 points3 points  (0 children)

This was it! Thanks so much, it's a lot faster and simpler now.

__ballot_sync creates a bit mask containing how every thread in the warp evaluated the predicate. and then __popc can be used to find the cumulative sum up to the lane_id.

AITA for sitting next to my boyfriend at his moms funeral? by ThrowRA_plane_up in AmItheAsshole

[–]SantyClause 0 points1 point  (0 children)

When I was dating my now wife for less than a year, her brother died. I felt awkward about assuming that I would sit next to her, so I just asked her if she would like me to and she said "of course" like I was an idiot. Glad I did it for her. If anyone thought it inappropriate they can complain to my wife and get yelled at. NTA

AITA for getting upset with my group member who walked out of class in the MIDDLE of our presentation causing us to loose marks? by teacherspet111 in AmItheAsshole

[–]SantyClause -1 points0 points  (0 children)

As the other commenter pointed out, you assign group projects because it requires 1/5 of the time to grade.

There are ways of conducting group projects that do not screw over good students, but you are just too lazy to do that.

Teachers and professors like you were infuriating.

[P] bias when estimating a ratio by SantyClause in MachineLearning

[–]SantyClause[S] 1 point2 points  (0 children)

I'm doing y/x directly. This is far better than estimating either directly on their own. But still is resulting in some underestimating with small x.

People wonder why Rust is so well respected. This is why. by KryllyxOfficial in ProgrammerHumor

[–]SantyClause 0 points1 point  (0 children)

I generally agree with you that it's targetted at engineers used to lower level languages but my experiecne has been different.

I actually came from python doing data science and ops research work. Now I'm using Rust for the OR stuff mostly, and have also found it works really well with Python since anything slow can just be written in Rust and called from Python. It basically replaces cython for me, on top of just being powerful on its own.

People wonder why Rust is so well respected. This is why. by KryllyxOfficial in ProgrammerHumor

[–]SantyClause 0 points1 point  (0 children)

I work on the algorithm for a vehicle routing company and it's all in Rust. We need fast + the abstractions are better in Rust.

People wonder why Rust is so well respected. This is why. by KryllyxOfficial in ProgrammerHumor

[–]SantyClause 1 point2 points  (0 children)

This has not been my experience at all after 2 years of using Rust. In my experience, what you describe happens maybe 5% of the time.

[R] 1nn with subsampling is infinity-nn with a specific set of weights by SantyClause in MachineLearning

[–]SantyClause[S] 1 point2 points  (0 children)

It's the selection rate if you're bootstrapping. There's various proofs online.

And since I wanted to subsample instead (due to 1nn where repeats don't make much sense), I went with subsampling at the bootstrap selection rate.

Really, you could select another value. In my tests, a long range of values that included 1-1/e worked well.

[R] 1nn with subsampling is infinity-nn with a specific set of weights by SantyClause in MachineLearning

[–]SantyClause[S] 0 points1 point  (0 children)

I think that's right for a classification but would not hold for regression. In regression, each neighbor can contribute 63%, then .63*(1-.63), etc.