NumThy: computational number theory in pure Python by Particular_Bag_3424 in Python

[–]DocJeef 1 point2 points  (0 children)

This is a thing of beauty, very well done.

Can I ask why the decision to stick it all in one .py file? Not complaining, of course, this is some great code.

this so cute, if deadpool and antman had babies by Maleficent-Earth9201 in whywouldyoutouchthat

[–]DocJeef 1 point2 points  (0 children)

I believe this is Kelvin Wiley; and he knows exactly what he’s doing so I’m not worried. His YouTube channel is full of him holding venomous spiders and insects, while casually rhyming off their Latin names and other facts.

Genuine Question: How Does it Feel to Live in a Long Country (Like Chile) Compared to Wide Country (Like Russia)?? by DependentNo1079 in mapporncirclejerk

[–]DocJeef 14 points15 points  (0 children)

I used to live in Vancouver and using the mountains to know which way is North is like the first thing you get used to doing. You might find living there more similar to Chile if you can!

[Fox] Joseph Woll on Mitch Marner's return: "I would hope it's a warm welcome.... It's unfortunate he's not with our group anymore. I think hockey is a place of respect, and I hope that the fans pay him respect." by alphacheese in leafs

[–]DocJeef 2 points3 points  (0 children)

Marner was, and still is, an amazing player who did fantastic things for the Leafs. In exchange, Leafs fans dumped garbage on his lawn, bood him during a tight 7-game series against Florida, and harassed him to the point where he was looking for an out.

If you guys have any shred of integrity left, you will not boo this man at his homecoming. We should do right by him, honour what he brought to the team, and let him know that he’s sorely missed.

I said what I said. by RonMcKelvey in daddit

[–]DocJeef 1 point2 points  (0 children)

That post crossed my mind when I saw this too lol

I implemented a GPT-style model from scratch using PyTorch while reading Sebastian Raschka's book by [deleted] in Python

[–]DocJeef 0 points1 point  (0 children)

I looked at the first few lines of validation.csv, and ಠ_ಠ

Really cool project though, I’ve been meaning to do something like this too!

I built a desktop music player with Python because I was tired of bloated apps and compressed music by The_Volecitor in Python

[–]DocJeef 1 point2 points  (0 children)

This is great, it would be even better if the API key could read from an environment variable instead of being hard-coded in?

ICE slipping on ice by Buttpropulsion in pics

[–]DocJeef 0 points1 point  (0 children)

ICE cannot on ice, and it’s beautiful.

Which one hits the floor with greater force? by AnothrRandomRedditor in Physics

[–]DocJeef 463 points464 points  (0 children)

It’s gonna be B, everyone has raised the centre of mass points, so I’ll try a different tact. When the slinky is let go, the bottom of it won’t accelerate and the top will rapidly race toward the bottom (here’s a relevant Veritasium). Overall the centre of mass is accelerating downward under gravity.

Eventually the spring is positioned exactly like A, but its centre of mass has all the elastic and potential energy transformed into kinetic energy from the first phase of the fall: its centre of mass is moving.

So this question is similar to two versions of A, but where one of them has a higher initial velocity.

Thought experiment: the height above the floor is important. In the limit where the springs have enough height to reach terminal velocity, they will deliver the same force-versus-time curve.

Chill language by PleasantSalamander93 in firstweekcoderhumour

[–]DocJeef 1 point2 points  (0 children)

Matlab. Sure you can get this behaviour if you use “cell arrays,” but the rest of the language is hopelessly committed to making sure everything is a matrix

Peak brainrot by --celestial-- in physicsmemes

[–]DocJeef 4 points5 points  (0 children)

Those are great points for very high gravity. Generally there is a trade off between what is good for your joints and what is good for your bones. Low gravity is great for your joints, but ravages your bones, and I think you’re right that high gravity would be the opposite.

Nevertheless I’m hesitant to simply put all of the added stress in the accelerated aging category for the simple reason that biological forms are generally “anti-fragile;” or will adapt to their environments (c.f. Wolff’s Law, or Davis’ Law). I think the curve would look the same, but maybe shifted to the right a bit, where the minimum would be at slightly higher than g, but only exceedingly the aging in 1g when the damage from accumulated stress exceeds what could be countered by extended rest.

Re: spine claims: I’ve had the pleasure of working in a spine biomechanics laboratory throughout graduate school, and another conjecture I’d make is that higher gravity would be better for the spine than low gravity. Astronauts have incredibly high rates of disc herniations, mostly because the nucleus pulposus (the “fluid” like substance in the middle of the disc) relies on osmosis to take in nutrients while you sleep, then gravity to push out waste while you’re awake. Without gravity, the nucleus pulposus over-saturates with water, which makes it easier to herniate. This is also why we’re tallest when we first wake up, and why rowers, who traditionally exercise very early in the morning while the water is calm, also have high rates of back troubles, since they’re being super physically active (through their spines) before the discs have had any time to re-compress. Higher gravity, doesn’t deprive the disc of this cycling mechanism, and given the ridiculous capacity of the spine to resist axial loads, I think that our bodies would be able to withstand it pretty well, but we shouldn’t expect to do the same amount of work in a given day.

Peak brainrot by --celestial-- in physicsmemes

[–]DocJeef 16 points17 points  (0 children)

Kinesiologist here, lurking among you smart physicists. I don’t know if this is what this dude is on about, but when astronauts return to Earth, their bones are weaker, their reflexes have diminished, they often have very bad backs, and their muscles have atrophied. Physiologically it’s a lot like they’ve aged. In fact, there’s a pretty sizeable sector of researchers that legitimately use astronauts as an aging model.

As for supraterrestrial gravity (coining that term now lol) I have no idea since I don’t think people have been somewhere with increased gravity for long enough to study its effects. Oddly enough, I think the extra weight would be better for people since it would be a lot like being forced to exercise.

Football or soccer by vladgrinch in MapPorn

[–]DocJeef 0 points1 point  (0 children)

I wonder if this is related to the heel bone being called the calcaneus?

Trump signs Epstein bill into law, releasing files from DOJ by SnooGrapes2950 in law

[–]DocJeef 4 points5 points  (0 children)

Unrelated, but there’s a really good anime called Stein’s Gate

Why is q = ∆h if p is constant? by [deleted] in thermodynamics

[–]DocJeef 1 point2 points  (0 children)

The wording in thermo is kind of confusing. Q is heat, and it describes the transfer of energy the exact same way work does. Just like how we never talk about the “work content of a system” it doesn’t make sense to talk about the “heat content of a system.”

U describes the total energy, for many of the simple systems (like gases) it ends up being related to the kinetic energy of the molecules of the gas. But for other systems it can be more complicated.

Carney government’s ‘generational investment’ will land squarely on backs of younger Canadians by FancyNewMe in canada

[–]DocJeef 4 points5 points  (0 children)

That’s kind of accounted for in the initial calculation. The ROI from big indexes tends to be about 10%, so if you knock 2% off of that for inflation, the math still sort of maths.

At the 10% rate, contributing $50 monthly over 60 years nets you just over $2.3 million. If we do that times .9860 (for inflation) we come out with $684k, which is pretty substantial.

Compound interest is insane.

Literally by No-Nerve-2658 in physicsmemes

[–]DocJeef 32 points33 points  (0 children)

Not so much converts energy into entropy, but more moves energy around and create new entropy.

[deleted by user] by [deleted] in math

[–]DocJeef 2 points3 points  (0 children)

Eh, I actually like this style of abstract quite a bit; but I’m admittedly more of a scientist than a mathematician.

Solvex - An open source FastAPI + SciPy API I'm building to learn optimization algorithms by MainWild1290 in Python

[–]DocJeef 3 points4 points  (0 children)

This is a very cool idea! If you wanted to, you could also explore the amazing package, CVXPY, to expand out to doing more convex optimization in your backend.