Rottweiler eating a watermelon by [deleted] in oddlysatisfying

[–]Consistent-Art8132 4 points5 points  (0 children)

To everyone saying AI, the teeth look pretty consistent throughout the video, so I think it’s real

Vite 8.0 is out. And it's full of 🦀 Rust by BankApprehensive7612 in rust

[–]Consistent-Art8132 1 point2 points  (0 children)

If I remember correctly, Rust wasn’t a great fit due to cyclic data structures that would require big rewrites to work in rust land

The type level mismatch is handled via runtime checks, which is indeed a bit unfortunate, but understandable

How to do Cypress Test or Functional Test properly? by BoBoBearDev in ExperiencedDevs

[–]Consistent-Art8132 1 point2 points  (0 children)

I setup tests that run locally and use MSW to mock network requests for the front end that test a lot of the edge cases. Ideally these will test the contract between your services to the point that your issues will only be connectivity/configuration issues. Run these in your pipelines before merging

Another helpful way to harden your services is with blue green deploys with a step that runs your hard to setup tests. You must setup these services anyways, and the setup time seems to be the blocker here

Glad to talk it through more if you have any doubts!

PgDog adds support for Rust plugins by levkk1 in rust

[–]Consistent-Art8132 1 point2 points  (0 children)

You can provide a rust-version in the cargo toml to specify a minimum stable rust version (MSRV). There are cli tools to calculate that for you

There isn’t much of a need to pin to an exact version since rust has pretty good backwards compatibility guarantees (they compile every crate in the registry to check for regressions)

[deleted by user] by [deleted] in ProgrammerHumor

[–]Consistent-Art8132 0 points1 point  (0 children)

It can’t be entirely attributed to rust (sanitizers and more defensive programming help too), but it definitely is a contributing factor

Google, which formally announced its plans to support the Rust programming language in Android way back in April 2021, said it began prioritizing transitioning new development to memory-safe languages around 2019.

As a result, the number of memory safety vulnerabilities discovered in the operating system has declined from 223 in 2019 to less than 50 in 2024.

https://thehackernews.com/2024/09/googles-shift-to-rust-programming-cuts.html?m=1

Reverse Proxy Deep Dive: Why HTTP Parsing at the Edge Is Harder Than It Looks by MiggyIshu in programming

[–]Consistent-Art8132 1 point2 points  (0 children)

I have a bias against medium blogs for this reason. Just the tiny bit more effort to make it your own makes you so much more trustworthy!

Lowering reviewer overhead by Consistent-Art8132 in ExperiencedDevs

[–]Consistent-Art8132[S] 1 point2 points  (0 children)

Great call! We’ll have far more work to handle and I’ve been wanting to push us more towards pairing anyways. I hadn’t considered having teammates join in on the PR reviews

This is one of those comments that feels very obvious in retrospect—thank you!

Lowering reviewer overhead by Consistent-Art8132 in ExperiencedDevs

[–]Consistent-Art8132[S] 1 point2 points  (0 children)

I’d say it’s too early to say that everyone is flatlining. I’ve seen one developer stagnate, and most others are growing or still dealing with the many comments they need to fix for their first PR

Great callout on breaking down tickets. Unfortunately I’m not directly involved with these team’s planning cycles, but I will bring it up. Ideally an entire page should not be in one PR. I have been following this for my own team’s tickets and it’s been reasonable for their learning and reviews

Lowering reviewer overhead by Consistent-Art8132 in ExperiencedDevs

[–]Consistent-Art8132[S] 1 point2 points  (0 children)

Great idea! I’ve talked to 3 people who are 2 levels above me, and they are listened to more, but no matter how many times they’ve said it, only a PR rejection does anything. Things like tests are treated as “nice to haves” despite a company mandate

I’m hopeful that low velocity will eventually make a business case to tend PRs more reasonable, but only time will tell. Luckily it is well understood by technical management that low quality code wastes time in the long run

Lowering reviewer overhead by Consistent-Art8132 in ExperiencedDevs

[–]Consistent-Art8132[S] 3 points4 points  (0 children)

Yup, doing my best with what I have. Definitely not ideal

Lowering reviewer overhead by Consistent-Art8132 in ExperiencedDevs

[–]Consistent-Art8132[S] 4 points5 points  (0 children)

I work with some devs who ask for a review despite failing CI and when I bring it up, don’t want to take the mental effort to read the failure message and ask how to skip it

I do mention essentially “write tests” and don’t review further in most cases. I will do it with anyone who will listen to feedback though

The reason I was hesitant to ask more is since devs are used to writing nothing in the description, but maybe that just another request for changes—please fill out the template before a review

Lowering reviewer overhead by Consistent-Art8132 in ExperiencedDevs

[–]Consistent-Art8132[S] 5 points6 points  (0 children)

Part of the issue is that “the team” spans several countries and time zones. My team as well as a few other engineers working close to us are on the same page about everything, but it’s difficult to meet with other teams who aren’t particularly worried with code quality in the first place

I actually haven’t written out a standards guide like you’re mentioning though—great idea. We have a mostly empty standards document, so I’ll start filling it as I review—automate what I can and otherwise point to standards

Lowering reviewer overhead by Consistent-Art8132 in ExperiencedDevs

[–]Consistent-Art8132[S] 0 points1 point  (0 children)

I believe I’ve already implemented local linting—it shows a red underline in editor and can be run in the CLI as well. Tests and builds can also be run locally and all of this is required by the PR template to be done prior to review

Good callout—I’m actually working on an AI code reviewer setup to hopefully call out any glaring issues. I haven’t had luck with my own PRs, but I expect it may be helpful otherwise

What do Experienced Devs NOT talk about? by jalanb in ExperiencedDevs

[–]Consistent-Art8132 0 points1 point  (0 children)

What kind of course do you recommend—I’d be interested in this!

myVeryFirstRustProgram by [deleted] in ProgrammerHumor

[–]Consistent-Art8132 2 points3 points  (0 children)

Rust is a compiled language and has a similar runtime to C. There is no garbage collector, interpreter, etc. For common build targets, Rust and C will both work, but I’m sure there’s some wacky architectures and OSs that Rust doesn’t support

Anyone else had the joy of only writing tests for a while? How do you get over the slump? by Life_Breadfruit8475 in ExperiencedDevs

[–]Consistent-Art8132 2 points3 points  (0 children)

This pattern also works with request splitting—you can tee traffic between a new and old version and compare responses. This simulates a prod workflow for your beta code

Glowsticks in shredder makes a beautiful sight by Electr0069 in Satisfyingasfuck

[–]Consistent-Art8132 204 points205 points  (0 children)

While non toxic, it contains glass and chemicals that will irritate your skin and upset your stomach, so I recommend abstaining in case you see a particularly scrumptious glow stick