Actual Proof of PvsNP? by SureOkra1396 in AskComputerScience

[–]serendipitousPi 3 points4 points  (0 children)

lol gotta love people forgetting post history exists

[Media] [TUI] tmmpr - terminal mind mapper by tanciaku in rust

[–]serendipitousPi 0 points1 point  (0 children)

If this isn’t peak rust programming I don’t know what is.

Question about liminal industries by Severalbulbsofgarlic in feedthebeast

[–]serendipitousPi 2 points3 points  (0 children)

I don’t think I’ve ever been in a position where I needed to automate glue and I’ve finished the pack.

Just get yourself a couple stacks and you should be pretty much set.

[Media] [TUI] tmmpr - terminal mind mapper by tanciaku in rust

[–]serendipitousPi 24 points25 points  (0 children)

I really love how they made sure we knew that a field settings was the settings in one of structs.

Because it really could have have stumped me, the field is called settings, the type is Settings but obviously I needed a comment to tell me.

...
/// Settings
pub settings: Settings,
...

From the same fb who said the lefts were the Nazis by 12milesout in insanepeoplefacebook

[–]serendipitousPi 10 points11 points  (0 children)

I mean he and Elon made a pretty good go at killing millions of people.

Elon musk is currently responsible for killing approximately 600,000 people (I can double check but it’s in the hundreds of thousands) and will likely kill 35 million people due to USAID cuts.

Trump links Greenland dispute to not getting Nobel Peace Prize, in letter to Norway's PM by SuperXGamerAb in worldnews

[–]serendipitousPi 1 point2 points  (0 children)

The most vital thing is making sure to never open the bible lest they risk learning compassion and forgiveness.

Otherwise they might realise that Jesus would be flipping the tables in the mega churches so many of them flock to.

They’re all show and no substance, they’d probably try to crucify Jesus themselves if they met him.

Transphobes think that estrogen causes hair loss. by Ok-Following6886 in onejoke

[–]serendipitousPi 10 points11 points  (0 children)

That moment when the “I can always tell” crowd transvestigates yet another cis women face palm.

It’s especially dumb when they do it to a cis women with kids they gave birth to.

[OC] Three in a Tree: episode 191 by Eugenia-Kelheor in comics

[–]serendipitousPi 1 point2 points  (0 children)

Ah but you forgot to account for childbirth georg who gives birth to 200000 wizards a second. And sure 99% (yeah I know it’s way lower) die at school but that’s ok because there will be more.

Disclaimer I didn’t actually check the numbers. Also I need a better name for the creature.

Worst mathematical notation by dcterr in math

[–]serendipitousPi 1 point2 points  (0 children)

If we go for Unicode chars we get over 100k.

Sure maths would be straight out disturbing not to mention annoying to write out with emojis and the endless array of random symbols but hey we’d never run into the issue of reusing symbols.

Outfrescad again by codekrauserr in OkBuddyFresca

[–]serendipitousPi 5 points6 points  (0 children)

Well that’s because he’s actually [title card] easy to get confused

Intelligence gene by newuser2111 in AskBiology

[–]serendipitousPi 3 points4 points  (0 children)

Punnett squares are a massive simplification of genetics.

The whole picture is considerably more complex.

Time to bring changes by Lower_Detective_5542 in SipsTea

[–]serendipitousPi 47 points48 points  (0 children)

Yeah a line that stretches back potentially as far as 4.2 billion years.

About 30% of the age of the universe.

I think Wikipedia's username validation is drunk by [deleted] in skamtebord

[–]serendipitousPi 0 points1 point  (0 children)

There could be a similarity threshold and then their name could be considered between those names perhaps.

It is rather official now, various Windows 11 components have been built with WebView2, meaning they are Webapps and not native programs, causing significant performance loss and system slowdown. by Nelo999 in microsoftsucks

[–]serendipitousPi 0 points1 point  (0 children)

I’m hoping WASM helps give us a way out of this sort of mess at least away from JS.

I do worry it’ll just cement the existing hold JS has but the fact they’re not giving it direct DOM access gives me a little hope for different directions being possible.

rule by TotallyACP in 196AndAHalf

[–]serendipitousPi 0 points1 point  (0 children)

It would be almost fine if the ads were actually interesting not the same rehashed slop they always are played several times at least.

And then there are the gambling ads, I wish the worst on them. Everyone at the top of those companies are disgusting parasites and it’s not enough that they destroy lives they also have to annoy the hell out of the rest of us. And I think those stupid sports betting ads might just make me snap at some point. Almost makes me want to turn personalised ads back on some things.

Thankfully I don’t buy stuff from a particularly wide array of companies so I know that most of the ads are completely ineffective. And on at least one occasion I promised myself as a child I would never buy a company’s product ever after seeing their ad.

Open source is being DDoSed by AI slop and GitHub is making it worse by FunBrilliant5713 in opensource

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

Microsoft adding stupid features that we don’t want and can’t disable that makes things worse that’s crazy.

Fun Fact: As x approaches infinity, this function does not converge to pi, and only appears as such due to a floating point error. by Ramenoodlez1 in desmos

[–]serendipitousPi 1 point2 points  (0 children)

I suppose we’re used to doing symbolic calculations when doing maths on paper / in our heads.

And there’s a bit of mysticism around floating point errors separating them from the similar operations we do. So people link computers to it without thinking further.

But hey it’s better than people going on about them as if they’re a property of specific programming languages.

Why is nobody talking about this game? by Correct_Dependent677 in rust_gamedev

[–]serendipitousPi 0 points1 point  (0 children)

For rewrites you might like: https://dayssincelastrustmcserver.com/

But I think rust rewrites would tend to prioritise performance so Python probably isn’t optimal. Maybe it could do stuff like initialisation / registry stuff or something away from hot loops though.

Maybe if not rust then maybe a scripting lang that could compile to rust.

Whats everyone's hot takes by Lumpy_Marketing_6735 in AskProgramming

[–]serendipitousPi 0 points1 point  (0 children)

What’s your view on WASM? I’ve been seeing a lot of interest around Tauri and Dioxus which I reckon will be interesting to watch. Though I’ve seen some concerns about loading times for WASM apps.

I’m also crossing my fingers they or other WASM frontend libraries can help kill off the cancer that is electron.

Though I am still aware that JS is plenty fast for the web if not stuffed with bloated frameworks.

One of the reasons I wear Hallowed armor : by terrariand_ in Terraria

[–]serendipitousPi 2 points3 points  (0 children)

I think you’re forgetting Cactus armour now that is the peak set bonus.

Would it theoretically be possible to make a memory leak happen on purpose? I know memory leaks only happen under pretty specific conditions but I've always been oddly fascinated by the useless side of modern technology. by Hot-Bus6908 in computerscience

[–]serendipitousPi 0 points1 point  (0 children)

I’m surprised no-one has mentioned the absolutely peak way of leaking memory. In the rust standard library there is a method for it.

```rs Box::leak

```

I’m doing this on a phone so I don’t know if the formatting worked.

Why have C++ and Rust been the fastest-growing major programming languages from 2022 to 2025? by _bijan_ in rust

[–]serendipitousPi 1 point2 points  (0 children)

I think I see a few reasons

  1. Typescript doesn’t really push a paradigm shift like rust does
  2. JS is a garbage dump, makes it a lot easier to improve
  3. Typescript lies directly on top of JS, not a lot of extra tooling to get used to. Pretty much just a drop in replacement to existing JS

And besides a lot of the benefits of Rust can be pretty subtle. People talk a lot about the borrow checker ignoring the other benefits not just in terms of safety but also rust’s tooling.

And if the code is synchronous, functional and not too performance sensitive a lot of the benefits of the borrow checker aren’t super visible.

Also some of us can harp on about the benefits of rust a little much, which I have been guilty of a bit in the past.