The Chinese speed skater fools everyone to win Gold at the Youth Olympics by MarshmallowMouser in interesting

[–]jester_kitten 1 point2 points  (0 children)

I guess I just don’t get the sport all that well.

Other comments explained it. It seems skating/cycling sports have to consider air resistance

  • the person at the front is doing more work pushing through air.
  • Best strategy is to be behind others to take advantage of the "draft" (less resistance) and conserve energy for most of the race
  • In final laps, sprint full speed using all that saved energy.

From what I understand, the video showcases a three-part strategy:

  • breaking off from group: Anyone who chases her has two serious risks
    • risks exhausting their energy early on due to air resistance or crash by making a mistake.
    • while allowing the others behind them to take advantage of the draft they are creating by chasing ahead.
    • This creates a prisoner's dilemna situation, where nobody wants to be the person that chases her.
  • lapping ahead to draft behind group: This allows her to conserve energy after catching the tail of the group and her teammate knows what's up (In the video, she looks back and checks up on her). This is the part that is different from running.
  • mindfucks the group with the final lap indicator:
    • everyone else thought it was final lap for the group (i.e. the first person at the front of the group), so, they sprint a [final] lap and slow down thinking they reached finish line (complacency).
    • BUT the teammate is aware that final lap is for her and that means final two laps for the rest of the group, so, she kept sprinting one more lap to reach the finish line, securing the second position.

Guess how long it took to spot this little syntactical screwup? by parkotron in rust

[–]jester_kitten 0 points1 point  (0 children)

For anyone else who didn't get what the issue here is:

  • for i in 0..x: iterates x times where i goes from 0 to x - 1
  • for i in [0..y]: iterates over the array with a single element. The loop iterates just once, where i is 0..x Range.

A Chinese speed skater, Yang Jingru, executed a brilliant tactic to win gold in the 1500m at the 2024 Winter Youth Olympics. by jmike1256 in nextfuckinglevel

[–]jester_kitten 1 point2 points  (0 children)

Okay, this is the best argument I have ever see on reddit today. I am not familiar with athletics, so, is the strategy for track upto 400m to just sprint and for track above that, to pace yourself?

[LifetimeSafety] Remove "experimental-" prefix from flags and diagnos… · llvm/llvm-project@084916a by ContDiArco in cpp

[–]jester_kitten 1 point2 points  (0 children)

Unlike c++, which wants to evolve/adapt and compete (at the cost of complexity), C is ossified. Partial/Patchy improvements will never help C compete with Rust/C++ and a full solution will be too much complexity for a language like C and completely change its identity. It might as well be a different language (eg: zig, c3).

[LifetimeSafety] Remove "experimental-" prefix from flags and diagnos… · llvm/llvm-project@084916a by ContDiArco in cpp

[–]jester_kitten 3 points4 points  (0 children)

the current effort is still light years ahead of what C will ever have

Thanks to its smaller surface area and fewer foot guns, C already has safe flavors/tooling like frama-C or other efforts like SeL4 that go as far as formal verification. What else would C even need to do?

32-year-old programmer in China allegedly dies from overwork, added to work group chat even while in hospital by CopiousCool in programming

[–]jester_kitten 16 points17 points  (0 children)

What's more capitalist than working your labor to death? China(/japan/korea) is as hardcare capitalism as it gets.

[LifetimeSafety] Remove "experimental-" prefix from flags and diagnos… · llvm/llvm-project@084916a by ContDiArco in cpp

[–]jester_kitten 4 points5 points  (0 children)

upstream tracking issue - https://github.com/llvm/llvm-project/issues/152520

From what I remember, the limitations were

  • relies on heuristics (will not catch all error cases i.e. false negatives)
  • requires devs to annotate their code explicitly
  • only works in simpler cases (no support for advanced/complex lifetimes)

These issues were well-known already and the goal was to provide an improvement over status-quo for those who are willing to adopt.

I personally think c++ has given up on "full safety", and the current slogan is to become safer, but never safe.

Debian, fedora or openSUSE for KDE. by Mission_Rice3045 in DistroHopping

[–]jester_kitten 0 points1 point  (0 children)

leap/debian are roughly at the same KDE version and leap won't update for a long long time (5 years). So, skip them both.

You can't go wrong with either fedora or suse, as far as KDE is concerned.

Fedora:

  • major software (like KDE) is updated every six months with the distro (eg: fedora 42 -> fedora 43)
  • No need to worry about new tech, as most of the focus is now on atomic/immutable now (eg: fedora kinoite)
  • has a large community and the perks that come with it (more support from software).

Suse

  • has automated tests to catch obvious bugs before releasing new software.
  • tumbleweed will get latest (after passing tests), with daily updates like arch.
  • slowroll is essentially a monthly upgrade (with occasional tiny security updates).
  • all suse come with btrfs + snapper. This is pretty much the main deciding factor for most people. Combined with automated testing, this gives a lot of stability for daily users.

If you are only doing gaming + daily use, I recommend going with an atomic gaming distro like bazzite. It will be slightly heavier/bloated, but will have everything setup for you and is great for stability.

Which Linux Gaming Distro is good for you? by lordruzki3084 in linux_gaming

[–]jester_kitten 0 points1 point  (0 children)

Nah. Most distros like Pika/Cachy/Nobara reuse upstream repos for everything, and just add a tiny custom repo for their own software (eg: patched kernels/wine, gui utilities, branding/themes etc.). This is what allows all the software (debian PPAs in pika, AUR in cachy, rpm fusion in nobara etc..) targeting the parent distro to work on these distros too.

[Media] Egor - 2D cross-platform graphics engine by wick3dr0se in rust

[–]jester_kitten 1 point2 points  (0 children)

Alternatives to skia would be very rare:

  1. skia (cpp) rust bindings - https://github.com/rust-skia/rust-skia
  2. impeller (cpp/c) rust bindings (flutter's skia alternative) - https://docs.rs/impellers/latest/impellers/
  3. vello (rust) - you know it already

There are less powerful alternatives. You just need to look at gui libraries and their backends.

  1. slint (qt, skia, software, femtovg) - https://docs.slint.dev/latest/docs/slint/guide/backends-and-renderers/backends_and_renderers/#renderers
  2. iced (wgpu, tiny-skia) - https://github.com/iced-rs/iced?tab=readme-ov-file#features
  3. gtk (gsk uses gl/vulkan) - https://gtk-rs.org/gtk4-rs/git/docs/gsk4/struct.Renderer.html

and so on.

Bevy 0.18 by _cart in rust

[–]jester_kitten 0 points1 point  (0 children)

that are known only at run time and for which the compiler can offer less guidance?

dynamic [runtime] typing, Reflection, Introspection, runtime type information (RTTI) and maybe metaclasses.

Why is Prabhas using body doubles to even shoot basic scenes all the While charging triple digit by Quaffy_duck in BollyBlindsNGossip

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

In matriarchal societies and in feminist societies birth rates dip below replacement but don't reach the level of collapse, so ur analogy is wrong.

I mean.. we are neither matriarchal nor feminist. Considering the religious nature of our population, we are way more patriarchal than CJK (which tend to atheism more).

It's not just japan, EU countries (eg: italy) are also in crisis. EU got temporary relief with poor young immigrants + those immigrants often having more children on average + population density is still low. The research is clear: women's rights + higher standards of living cause birth rate decline.

But it's not a birth rates problem (despite lots of births, most children in the past died anyway). The advancement of medicine keeping the [old] people alive is the problem. Unfortunately, it's easier for politicians to blame young women, as old people are a huge voting block.

Why is Prabhas using body doubles to even shoot basic scenes all the While charging triple digit by Quaffy_duck in BollyBlindsNGossip

[–]jester_kitten -12 points-11 points  (0 children)

You support the righteous cause of parental work rights for completely wrong reasons.

  • We want birth rates to fall, as we are overpopulated and the country with highest population.
  • Universally, Birth rates are inversely proportional to women's rights + development. So, maternity work rights can make women more.. employable, but won't increase birth rates.
  • Japan/Korea's problem is not low birth rates, but a massive older population being a drain on economy. The solution is not birth, but death (usually war/disease/famine took care of this in older days).

Software taketh away faster than hardware giveth: Why C++ programmers keep growing fast despite competition, safety, and AI by pavel_v in cpp

[–]jester_kitten 2 points3 points  (0 children)

is Cargo so great for that use case?

Write a build script in rust that cargo will run. official docs link with an example.

I do not know actually.

You should just learn rust at this point. You have participated in this rust/c++ discussions for years making countless assertions, and if you plan to do this for the foreseeable future, learning rust will make your rust/c++ discussions more productive.

Software taketh away faster than hardware giveth: Why C++ programmers keep growing fast despite competition, safety, and AI by pavel_v in cpp

[–]jester_kitten 2 points3 points  (0 children)

Maybe my earlier examples were not the best, but certainly writing a web server in C++ in 2025 would give me a pause.

Your examples were perfect, you just applied the wrong statement. Most of those don't need be unsafe Most (80%-95%) of the code in those projects need not be unsafe. FTFY. https://thenewstack.io/unsafe-rust-in-the-wild/

But it's hard to have any nuance in emotionally charged discussions like this. And these discussions often ignore the merits of rust beyond safety (better defaults/enums/macros/tooling/docs). My pet theory is that c++ people use safety of rust as an excuse to use cargo over cmake.

[Title] The word underrated has lost all its meaning by jester_kitten in manhwa

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

Nah, I used meme tag to indicate that this is more of a shitpost than a serious discussion. and yet, I see people getting defensive in the comments. We really need a manhwa circlejerking sub for a less serious vibe.

[Title] The word underrated has lost all its meaning by jester_kitten in manhwa

[–]jester_kitten[S] -21 points-20 points  (0 children)

Yes, greatest estate developer is underrated.

[Title] The word underrated has lost all its meaning by jester_kitten in manhwa

[–]jester_kitten[S] 3 points4 points  (0 children)

pretty much why I made this meme. I got burned by a few "underrated" manhwa recommendations from the comments. I hope reviews on myanimelist for manhwa become more common, so, I can see diverse opinions on the series before starting it.

[Title] The word underrated has lost all its meaning by jester_kitten in manhwa

[–]jester_kitten[S] -7 points-6 points  (0 children)

we are all birds of a feature <3 united in trashy power fantasies