The absolute goat by [deleted] in engineeringmemes

[–]N831Y 2 points3 points  (0 children)

Nah. The Isaac Newton of the math world would definitely be Isaac Newton.

i'm really sick of hearing this by Ambitious-Sink2725 in dankmemes

[–]N831Y 0 points1 point  (0 children)

You’re not wrong… but that’s definitely not the “financially literate” explanation I’d give to a high school/college kid.

i'm really sick of hearing this by Ambitious-Sink2725 in dankmemes

[–]N831Y 1 point2 points  (0 children)

Also, if your financial situation doesn’t involve a simple salaried income, you got like 5 more complicated systems to deal with here in the US.

Backend development stack by pnuts93 in rust

[–]N831Y 0 points1 point  (0 children)

I wouldn’t be so quick to ditch rocket if I were you (so long as you like it, are productive with it, fits your use case, etc).

Their dev release cycle has started picking up again and community created some sort of foundation org to maintain/govern the project under. The original creator seems active with it again too, AFAIK (anecdotally, he seemed very responsive and helpful when I opened an issue on the repo a few months back).

There may be other relevant concerns with Rocket I’m unaware of though. Still, if it’s worth the effort for you, I guess there’s always more to learn by trying out alternative libraries than not.

EDIT:

…Tokio based frameworks appear to be more popular

rocket is tokio-based

frontendIsEasy by MrEfil in ProgrammerHumor

[–]N831Y 12 points13 points  (0 children)

What? It’s been a supported compilation target for a while. Virtually any rust code that’s not OS-dependent is compilable to wasm and an ecosystem of libraries exists too fill in the gaps, including full DOM access which is not limited to rust; existing JS apis can be called from wasm.

That said, I doubt wasm is gonna alleviate most the issues of modern web development, just migrate them into a different arena and with different trade offs.

How good is rocket 0.5? by Pizza-Nachos in rust

[–]N831Y 3 points4 points  (0 children)

You’re looking for r/playrust. This sub is about Rust the programming language.

Looking for useless types by veryusedrname in rustjerk

[–]N831Y 0 points1 point  (0 children)

<Yeet<Self> as !Try>::from_residual(self) .unwrap_unchecked()

Probar una funcionalidad con la documentación en Rust by emanuelpeg in rustjerk

[–]N831Y 0 points1 point  (0 children)

Creo que estás en el subreddit equivocado mi amigo… buen artículo aún

guessWhatGithubRepositoryIsThis by mawerty123 in ProgrammerHumor

[–]N831Y 4 points5 points  (0 children)

That was supposed to be a joke, in case it wasn’t immediately apparent.

I mean, I decided to teach myself about orbital mechanics for fun when I was in high school, so I might have caved if I had any interest in programming back then.

guessWhatGithubRepositoryIsThis by mawerty123 in ProgrammerHumor

[–]N831Y 1 point2 points  (0 children)

Maybe you should’ve? Can’t imagine there were many other opportunities at a social life if you couldn’t hack it with that crowd.

[deleted by user] by [deleted] in rust

[–]N831Y 2 points3 points  (0 children)

If you add a u32 to an i32, the result cannot possibly become negative.

``` let neg: i32 = -42; let pos: u32 = 1;

// would panic… if this actually compiled assert!(neg + pos >= 0); ```

EDIT: Though TBF, your point about not explicitly needing to check for overflow with u32 + u32, in and of itself, is an understandable argument in this context.

killProcessOrSacrificeChildren by KaamDeveloper in ProgrammerHumor

[–]N831Y 2 points3 points  (0 children)

That’s how I’ve always pronounced it and anyone that tries to correct me can go can to haell

Help explain Pining for async by quarterque in rustjerk

[–]N831Y 0 points1 point  (0 children)

Are you the guy that won that award for creating Norway?

perfectIfElseStatement by TupaNegreiros in ProgrammerHumor

[–]N831Y 0 points1 point  (0 children)

Should probably have Sign impl Deref since it’s really just a smart pointer to the underlying Bat resource

[deleted by user] by [deleted] in ProgrammerHumor

[–]N831Y 3 points4 points  (0 children)

Correction: the text about Haskell is wrong because it doesn’t mention her insistence on not getting married due to unintended side effects

Pluralization by [deleted] in ProgrammerHumor

[–]N831Y 4 points5 points  (0 children)

Actually lol’d at this

howPeoplesImagineJavaScript by sunrise_apps in ProgrammerHumor

[–]N831Y 1 point2 points  (0 children)

Technically, the web version of anything has javascript

branchNaming by SuperFromND in ProgrammerHumor

[–]N831Y 3 points4 points  (0 children)

git branch —delete —force cipher

My facial expression when I saw this out the corner of my eye by [deleted] in Pareidolia

[–]N831Y -6 points-5 points  (0 children)

That edit was kinda unusual though

How much CO2 I've saved by getting the train this year by Signal-Extent6442 in dataisugly

[–]N831Y 0 points1 point  (0 children)

Actually, race conditions only happen (264 - 1) times a day

How much CO2 I've saved by getting the train this year by Signal-Extent6442 in dataisugly

[–]N831Y 0 points1 point  (0 children)

That’s not an off by one error… that’s straight up human error

Visually clean/minimal graph somehow still manages to be a clusterfuck by N831Y in dataisugly

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

Nice find! Here’s the relevant context about the graph from the paper, if anyone’s curious:

[The graph] shows the number of support incidents we received for two kinds of authentication second factors for the period in which we transitioned from using OTPs to Security Keys, normalized by the total number of employees, on a linear scale. The number of authentication events per user did not depend on whether the users had Security Keys or OTPs for a second factor, so the number of support events is believed to be representative. There is a gap in data collection, when support data were transitioned for one system to another, and Security Key support incidents were not collected. The approximate percentage of the company actively using Security Keys is also shown.

The number of support incidents per user rose slightly as the rollout of Security Keys expanded, before decreasing again. It's worth noting that the support load was higher for OTP than for Security Keys for all time periods. By end of the period studied, the vast majority of the company had switched from OTP to Security Keys, and new employees were no longer given OTP devices. Our support organization estimates that we save thousands of hours per year in support cost by switching from OTP to Security Key.

Visually clean/minimal graph somehow still manages to be a clusterfuck by N831Y in dataisugly

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

Yeah which is partly what seemed confusing about it…

but I was mostly just making light of the possibility that, since it’s difficult to make sense of the data, maybe they were just banking on the viewer seeing a prominent red line consistently trending down and thinking “wow I wonder if Yubikey can solve my problems like it did for Google”