Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)F
Posts
2
Comments
1236
Joined
3 yr. ago

  • The biggest issue is move constructors. Explanation here: https://cxx.rs/binding/cxxstring.html#restrictions

    Probably seems like a little thing but I found it quite annoying in practice, and there are other things like not being able to combine serde-derive and cxx FFI on the same struct.

  • Oof found the Java developer. No thanks.

  • The C++ standards committee don't see memory safety or UB as a problem. If they did they wouldn't keep introducing new footguns, e.g. forgetting return_void() in a coroutine. They still think everyone should just learn the entire C++ spec and not make mistakes.

  • Interop between Rust and C++ is pretty bad actually - I can understand wanting to avoid that.

    However I still agree. I can't see opt-in mechanisms like this moving the needle.

  • Does crates.io have a backup plan?

    Jump
  • Yes I definitely am. It's really nice that crates.io is short, and it's silly to give that up for a miniscule risk of something moderately annoying happening.

    Even if the domain goes away we'd just have to all move to a new domain. Annoying but hardly the end of the world. Cargo.io isn't actually hard-coded in many places. It's nothing like if github.com stopped existing.

  • Oh wow I've been looking for something nice like that for ages. Python can do this and it's really great for silicon verification test stimulus. I've also done it in C++ using C++20 coroutines, but they are so complicated and low level I ended up having to use a library to help (libcoro). Felt like a bit of a gap in Rust, but this looks like a great solution!

  • Does crates.io have a backup plan?

    Jump
  • There's zero chance they will get rid of .io.

  • It's significantly less of a nightmare and Deno is downright pleasant.

  • The secret is just to do it anyway. I have yet to work in a job where anyone actively stopped me fixing technical debt, even if they never asked me to do it.

  • It's cloud based though... Not ideal. I get why they had to do that (they didn't want to expose people to the Python infra shit show) but it's still kind of a shame.

    Would be better if they added Typescript support IMO.

  • You're still missing the point. We all understand that definition. We're just saying that it is incorrect use of the word "concurrent". Does that make sense? The word "concurrent" means things happening at the same time. It's stupid for programmers to redefine it to mean things not happening at the same time.

  • Does it work properly on Mac yet? Or does that depend on GTK4?

  • You missed the point. He understands all these things you tried to explain. The point is that your definition of the word "concurrency" is objectively wrong.

    You:

    you seem to be doing multiple things at the same time. In reality they are run little by little one after another

    The actual meaning of the word "concurrency":

    The property or an instance of being concurrent; something that happens at the same time as something else.

    Wiktionary actually even disagrees with your pedantic definition even in computing!

    (computer science, by extension) A property of systems where several processes execute at the same time.

    I suspect that concurrency and parallelism were actually used interchangeably until multicore became common, and then someone noticed the distinction (which is usually irrelevant) and said "aha! I'm going to decide that the words have this precise meaning" and nerds love pedantic "ackshewally"s so it became popular.

  • Yeah it always bothered me that they're saying "concurrency is not concurrency".

    I'm going to start using "multitasking" instead. That's so much better. Who's with me?

  • Yep. It's great. The awesomeness of JSX/TSX without having to deal with client side JavaScript frameworks and their awkward state management systems (does anyone actually like hooks?).

  • The GPL doesn't allow you to use someone else's trademark. Though in this case it might be tricky for "WPEngine" to claim WordPress violated their trademark, and apparently WP has T&Cs that allow them to do it anyway.

  • Screenshots. Print screen. Wayland famously doesn't have a way to do this very basic task (all of the desktop environments had to add custom extensions).

    Seems like they finally did it though really recently. And it only took 12 years!

  • I used to use Git stash but I found in the end I found just making "real" commits was better.

  • Fresh is the best way to make websites, and Deno is the best way to write infrastructure scripts IMO. I really hope they don't run out of money.