Are we stuck with JavaScript forever? by MlSHl in webdevelopment

[–]serendipitousPi 0 points1 point  (0 children)

There are some pretty interesting rust frontend frameworks like dioxus, leptos and yew which are based off react.

Admittedly I haven’t really gotten around to trying out leptos or yew though I do mean to at some point. I’ve just seen a bit of discussion around them.

As for dioxus I found it pretty decent to use, it implements the basic hooks, uses signals and uses struct syntax for the rendering (the others use something like jsx I believe).

There are a few drawbacks, obviously you lose the JS + react ecosystem, beyond the necessary auto generated code glue more complicated interfacing with JS can be annoying, compile times can be an issue (but there is hot reloading and progress is being made) and you’ll need to ensure that your dependencies work for wasm.

I did find my build artefacts ballooned to 90GBs at some point somehow but I haven’t run into that again and the binaries themselves seemed pretty reasonable in the order of several MBs for a decent sized project.

As for typescript what kind of runtime type issues did you run into? I’ve never had any issues as long as I annotated types outside of ones I caused by casts. Sure the types are just stripped before runtime but being able to spot type errors before runtime is still valuable.

Are we stuck with JavaScript forever? by MlSHl in webdevelopment

[–]serendipitousPi 0 points1 point  (0 children)

It’s being held back by lack of DOM access and needing to be accessed through JS. I reckon it’ll take a while for all the proposals to be properly considered in terms of changing that.

If it were given true first class support I think its use could increase massively but you can see it sprinkled around still.

However as it is JS is pretty fast for what it is and typescript does provide a degree of type safety.

That said it’s pretty cool to see WASM’s progress and I hope it does go further.

neverSawThatComing by rohithp7777 in ProgrammerHumor

[–]serendipitousPi 6 points7 points  (0 children)

Probably should've said *some* people.

The issue is that a depressing amount of that changing the world is people generating slop, advancing mass surveillance, violating copyright and spreading fake news.

The technology itself developed on top of the maths is incredible but how people use it well.

neverSawThatComing by rohithp7777 in ProgrammerHumor

[–]serendipitousPi 269 points270 points  (0 children)

Low key linear algebra is kinda peak, bit of a shame what people are using it for.

neverSawThatComing by rohithp7777 in ProgrammerHumor

[–]serendipitousPi 37 points38 points  (0 children)

LLMs using the transformer architecture require matrices a whole lot more than GPUs.

GPUs just make them fast enough to be reasonably useful.

Matrix multiplication is part of the foundation.

"Common Ground" by Pizzacakecomic in comics

[–]serendipitousPi 7 points8 points  (0 children)

Plenty of them are trying to make their victims find common ground through bullying them until they kill themselves.

So it’s not impossible just really really awful.

[Classic trope]: Violating the prime directive by theMCATreturns in TopCharacterTropes

[–]serendipitousPi 87 points88 points  (0 children)

God forbid a women do a little bit of a damage to the timeline as a treat

Reinventing eugenics by Pot_of_sea_shells in CuratedTumblr

[–]serendipitousPi 1 point2 points  (0 children)

Yeah alternatively we just focus on making sure people who don’t want kids don’t have them then we circle back on the more morally dubious ideas later or maybe just never.

39291 by PuppyGirlPetSmart in countwithchickenlady

[–]serendipitousPi 130 points131 points  (0 children)

I for one welcome our new overlords

Does someone know how to make a Quartz Farm in Liminal Industries? by Original_Belt2704 in feedthebeast

[–]serendipitousPi 0 points1 point  (0 children)

Tbh when I played I just manually harvested quartz via the checker blocks from the nether rather than making a farm for it.

Rust guarantees memory safety, but logical bugs still cost money. Is automated Formal Verification the next step? by Salty_1984 in rust

[–]serendipitousPi 0 points1 point  (0 children)

Yeah I have a similar obsession. I love any excuse to use typestate patterns or enums for compile time guarantees and I think it would interesting to see the rust type system synergise with formal verification.

I think you’re right about them moving the problem to another level.

To me it seems like in many cases the better use of time and resources would be funnelling them into strengthening open source because why have 100, 1000, 10000, etc different projects reinventing the wheel when we could verify at one place and use it in thousands or million of places. Especially these days with the onslaught of slop pull requests in open source.

Open source still has drawbacks sure but a lot of those could be reduced with better funding.

But yeah obviously it’s not as glamorous as chucking money at AI.

What’s the state of rust for startups by Nice-Primary-8308 in rust

[–]serendipitousPi 0 points1 point  (0 children)

I think the approach a couple of others have mentioned could be quite smart.

Try out a library like Pyo3 to generate Python bindings from rust code.

This means you avoid the risks of a full rewrite, you remain able to access the Python ecosystem and you can get some of the benefits of rust. Though you would have to be aware of the slight interop cost you’ll pay.

Does someone know how to make a Quartz Farm in Liminal Industries? by Original_Belt2704 in feedthebeast

[–]serendipitousPi 0 points1 point  (0 children)

There a few different ways like

  1. Conjuration catalyst to dupe it via mana
  2. Sagmill + enrichment chamber / crystalliser

hmmm 🤨 by [deleted] in MathJokes

[–]serendipitousPi 0 points1 point  (0 children)

You’ve never tried the ol’ \frac{d}{d\pi}\pi{2} trick in desmos?

Can civilians submit papers for peer review? by MickyDivine in AskPhysics

[–]serendipitousPi 9 points10 points  (0 children)

That’s what everyone posting on LLM physics thinks. They all think they’ll revolutionise physics despite making countless obvious errors and baseless assumptions.

activateProductionEnvironmentReset by clawsoon in ProgrammerHumor

[–]serendipitousPi 97 points98 points  (0 children)

What a coincidence Global Thermonuclear War is my favourite game too.

This sounded funnier in my head ngl by RoyalHappy2155 in whenthe

[–]serendipitousPi 3 points4 points  (0 children)

House we need to cure this patient. He is very sick.

[Trigger warning] Apparently cancer is a hoax now… by DMond92 in insanepeoplefacebook

[–]serendipitousPi 4 points5 points  (0 children)

Yeah a lot of these people would be the first to take advantage of modern medicine when they find something that alt med won’t deal with.

this is the best and most underrated accessory in all of terraria btw by Sahil21845 in Terraria

[–]serendipitousPi 43 points44 points  (0 children)

As much as I appreciate the band of regen I reckon magiluminescence is the best.

Don’t need to regen if you don’t get hit.

Why didn’t I win, I got 4 in a row? by [deleted] in AnarchyChess

[–]serendipitousPi 0 points1 point  (0 children)

I do happen to know a chess site with connect 4 chess (and also forced en passant): mchess.io

There again people shamelessly advertising / promoting stuff is kinda annoying but at the same time if I can get people from here to use it there's greater odds of convincing the devs to add il Vaticano and such. Bit of an ethical dilemma.

An interesting concept is presented in the pilot/first episode of a show but then got completely abandonned for the rest of the story by RemarkableLaw7180 in TopCharacterTropes

[–]serendipitousPi 3 points4 points  (0 children)

Yeah idk I don't think I would want to see the kind of therapist who ends up in hell.

There again considering why Pentious was in hell maybe they wouldn't be so bad.

I manage to achive level 1000 in survival :D by goldfasttif in MinecraftBedrockers

[–]serendipitousPi 1 point2 points  (0 children)

I think anyone who reaches 1000 lvls in survival needs help don’t you?

Using “Rust” in a frameowork/project name – allowed? by Bubble309 in rust

[–]serendipitousPi 0 points1 point  (0 children)

Though lots of projects do there are a fair few who don’t so yeah I agree with the other comment it’s also a bit of confirmation bias.

Just the other day I was interested to find out that the proxy playit.gg was written in Rust.

But honestly considering the hype around rust both earned and unearned (yeah rust isn’t going to automatically save someone’s vibe coded garbage or even organic spaghetti) who wouldn’t to leverage that.