Skip Navigation

Posts
4
Comments
130
Joined
12 mo. ago

  • This is the first time I've actually seen the full video. My eyes...

  • AGAIN?!?

    For those that remember, this isn't the first time.

    Can someone make a bingo card of insane shit Trump says over a month?

  • U

  • M

  • fair

    Jump
  • Yes (please)! I can make you a certificate for that.

  • 🥺👉👈

  • Option<OldGender>? Or maybe Either<&'a str, OldGender>?

  • This is a job for the gay furry hackers (again)

  • I think we should just add a button on the desktop that runs both of those.

    We'll call it... "New All"?

  • Put it on the pile of things that are illegal that this administration has done anyway

  • S

  • You can't tell me what to do! I WILL suck dick in the library!

  • Deleted

    Permanently Deleted

    Jump
  • This feels a bit too real...

  • rule

    Jump
  • Jaywalking doesn't exist. I think you'll have to do something more extreme.

    - it's car industry propaganda to blame being hit by cars on pedestrians

  • Skill issue

    sincerely, someone making a DST crate

    EDIT: To clarify...

    There are some things that are only doable on nightly Rust (like specialization, const fn in traits, etc.) and the reason for that is to avoid future issues. In that regard, Rust will not be as good as C++... at least until those get stabilized.

    Some of the nightly functionality (like ptr_metadata) can be achieved with unsafe code and it's fine to do that, as long as it's only done when necessary and it's properly documented.

    It's okay to want to use C++, but that language has it's own issues and footguns (virtual destructors, "move semantics", C-style casts, header files and more) that Rust wants to avoid.

    EDIT 2: Specialization is also kinda doable with deref coercion, but that's another can of worms I don't wanna open here.

    EDIT 3: And if I had to mention some of Rust's footguns:

    • unwrap panics, which isn't bad in and of itself, but it's short so you'll probably want to use it instead of other error handling methods (see recent Cloudflare outages)
    • unsafe functions implicitly allows using unsafe operations (fixable by adding #! [deny(unsafe_op_in_unsafe_fn)])
  • 2137

  • Hai, Jorunn!

  • Correction: they mean anyone who is gender non-conforming or disliked by the government

    "We can always tell" is a fucking lie and so are supposwd transgender killers, which are determined to be so based on NOTHING.

  • Technology @lemmy.world

    Scam Warning: there's a false-flag crypto coin scam campain on GitHub right now

    github.com /orgs/community/discussions/174283
  • Linux @lemmy.ml

    Progress update on the Ventoy blob problem

    github.com /fnr1r/ventoy-meta
  • Technology @lemmy.world

    Looking for feedback: Ventoy CPIO

    github.com /fnr1r/ventoy-cpio