Real talk: is there any practical use-case for T*** of any pointee type?
- 2 Posts
- 473 Comments
Technus@lemmy.zipto
Programmer Humor@programming.dev•I contribute nothing but you owe me everything
1·20 days agodeleted by creator
And people who have a particular interest in that culture would be termed… Saxophiles.
The Internet has ruined me because I can’t read the word “watersports” without thinking of the fetish anymore.
Technus@lemmy.zipto
Lemmy Shitpost@lemmy.world•Ever create an account just to leave a negative review?
14·1 month agoA little flag pops out that says “bang!”
Technus@lemmy.zipto
Programmer Humor@programming.dev•‘No Way To Prevent This,’ Says Only Package Manager Where This Regularly Happens
2·1 month agoWhen you
cargo installa binary, it ignores lockfiles. If you clone a project and build it, it respects theCargo.lockthat was checked in.
Technus@lemmy.zipto
Programmer Humor@programming.dev•‘No Way To Prevent This,’ Says Only Package Manager Where This Regularly Happens
13·1 month agoIt’s not enforced though, and there’s no way as a consumer to see how a crate was published.
To be extremely fair, crates.io has a huge maintenance bottleneck because AFAIK it doesn’t even have a single dedicated developer. But that’s definitely a big part of the problem.
The Rust Foundation is really just not pulling in enough revenue to support the project properly. They really ought to figure out more revenue streams than just sponsorships and donations.
Technus@lemmy.zipto
Programmer Humor@programming.dev•‘No Way To Prevent This,’ Says Only Package Manager Where This Regularly Happens
6·1 month agoYou can’t overwrite previously published versions.
Application projects are recommended to check-in the
Cargo.lockwhich pins dependency versions but you can always just runcargo updateat any time which automatically upgrades all dependencies to the newest version allowed by theCargo.toml.Some projects get around this by pinning the dependency in the
Cargo.toml(using=) or by vendoring all their dependencies, which is a huge pain in the ass.
Technus@lemmy.zipto
Programmer Humor@programming.dev•‘No Way To Prevent This,’ Says Only Package Manager Where This Regularly Happens
3·1 month agodeleted by creator
Technus@lemmy.zipto
Programmer Humor@programming.dev•‘No Way To Prevent This,’ Says Only Package Manager Where This Regularly Happens
98·1 month agoInterestingly, developers in ecosystems like Go, Rust, and those utilizing native Web APIs—where robust standard libraries drastically reduce reliance on third-party code and strict cryptographic verification is built into the core toolchain—reported zero instances of a college dropout’s weekend project wiping out global logistics infrastructure today.
As someone who’s built a career in Rust, it is 100% susceptible to an attack like this. The community is just generally paranoid enough to avoid depending on super niche packages.
Even so, Cargo still doesn’t have code signing and crates.io doesn’t have 2FA. They just barely rolled out email alerts for new crates being published with your API key.
And there’s dozens of single-author crates that are depended upon by millions of lines of code, any one of which could easily be a vector in a supply chain attack. In fact there have been attempted supply chain attacks against crates.io, but to my knowledge they’ve all relied on typo-squatting.
We’re definitely overdue for a major attack.
Technus@lemmy.zipto
Comic Strips@lemmy.world•Yes, I have a daughter. No shotgun or alibi though.
38·1 month ago“Why don’t we just skip the middleman and I fuck you instead?”
This is something we lost when game developers stopped publishing free demos. I cannot imagine how “just buy it and refund it if you don’t like it” is somehow better for the industry.
Freddie had power bottom energy tho
That song was actually written by guitarist Brian May.
So this dude:
Is the real ass-man of Queen.
Technus@lemmy.zipto
Linux@lemmy.ml•Copy Fail (CVE-2026-31431) is a trivially exploitable logic bug in Linux, reachable on all major distros released in the last 9 years. A small, portable python script gets root on all platforms.
131·2 months ago“The exploit is coming from inside the house!”
Technus@lemmy.zipto
memes@lemmy.world•Don't forget the long hair shed EVERYWHERE on EVERYTHING
39·2 months agoI started growing my hair out unintentionally, I just stopped getting it cut during the pandemic.
I’ve found a hair wrapped around my balls more than once. Those fucking things love to go spelunking, man.
The Internet gives us access to the kind of depths of human depravity on a daily basis that most people wouldn’t have been exposed to in 1968, unless they had just gotten back from Vietnam.
Technus@lemmy.zipto
Lemmy Shitpost@lemmy.world•Cracked Out Wall Kitten makes her long awaited & triumphant return to bless you with words of holy wisdom.
6·2 months agoCase in point: Fox News
Which it has not successfully done so since 1934.

Ah right, so that would be a 3D array.
T*is a single row ofTT**is a list of rowsT***is a list of “layers” in the third dimensionThis would be incredibly hazardous to pass around as a bare pointer with no context, though. I’d expect to see this in a
structthat, at minimum, also includes fields for the size of each dimension.