Live data from Hacker News

Viewing profile — skitter

skitter

HN member
Joined
Wed, Feb 05, 2020, 12:02 PM UTC
HN karma
759
Public activity
219 items

About skitter

No profile information was provided.

Recent public activity

  1. comment
    Comment #49152537

    Although not part of the goal, it also mentions `!Destruct`/"must-move types", aka linear types: Instead of there always being a way to drop values without providing any arguments,…

  2. comment
    Comment #49152463

    By doing the same as with `Sized`: Automatically including the `Forget` bound on generic parameters and letting methods that don't need to be able to forget them opt out. That way …

  3. comment
    Comment #47427239

    Why would it be UB? All objects are behind (thin) pointers, which can be overwritten atomically.

  4. comment
    Comment #47039509

    I don't understand – what's the point of not collecting mass amounts of personal identity documents and face scans and linking them to online identities?

  5. comment
    Comment #46041647

    I do the same in my toy JVM (to implement the reentrant mutex+condition variable that every Java object has), except I've got a rare deadlock somewhere because, as it turns out, wr…

  6. comment
    Comment #45197605

    They're great, compared to cars. But while they have a relatively fast and cheap setup, over the long term light rail and trams are a lot cheaper to run and can coexist with foot &…

  7. comment
    Comment #45136467

    > for the sole purpose of not having to add them to function signatures all over the place. I thought it was because you couldn't be fully generic over exceptions.

  8. comment
    Comment #44983885

    The author obviously knows that too, otherwise they wouldn't have written about it. All of these issues are just how the language works, and that's the problem.

  9. comment
    Comment #44670821

    I do not see evidence that they are against violence against women and girls, only that they are claiming to be.

  10. comment
    Comment #44170446

    Yup, that's what I'm doing - storing the two bits needed for an object's monitor in the same word as its compressed class pointer. The pointer doesn't change over the lock's lifeti…

  11. comment
    Comment #44169593

    Fun post! An alternative to using futexes to store thread queues in kernel space is to store them yourself. E.g. the parking_lot[0] Rust crate, inspired by WebKit[1], uses only one…

  12. comment
    Comment #43517562

    If you're interested in how the mountains and rivers are generated, it's mostly based on the paper "Large Scale Terrain Generation from Tectonic Uplift and Fluvial Erosion": Each c…

  13. comment
    Comment #43516876

    They're rather different: In Rust types only exist at compile time; dyn Any is a normal trait object, so you can only call the trait's methods. With C#'s dynamic, you can call arbi…

  14. comment
    Comment #43491294

    Why limit yourself to one language, when you can have 23 of them in the same Datei? https://github.com/charyan/unirust

  15. comment
    Comment #43003464

    …what? Why bring "AI" into this?

  16. comment
    Comment #43002209

    I agree about your greater point of learning about history being important, but very much disagree about your specific gripe. What Ironman says is: 7.2.F. (7F.) FORMAL PARAMETER CL…

  17. comment
    Comment #42989464

    C# inherited this from Java, which added it because it was designed without generics and therefore decided that the additional expressiveness provided by enforced array covariance …

  18. comment
    Comment #42936177

    > 1. HTTPS Git repository handling is poor. […] 2. Git fetches seem slower for large changes than using Git fetch directly JJ used to use libgit2 for fetches, but it now can shell …

  19. comment
    Comment #42865213

    If you're interested in conlangs, someone made a language, Grapherit [0], that is "spoken" via the Desmos graphing calculator. [0]: https://m.youtube.com/watch?v=HP3nIDAhwYo

  20. comment
    Comment #42407544

    A miserable pile of secrets.

  21. comment
    Comment #42404478

    This can even turn the following code into a no-op: vec_of_u32.into_iter().map(f32::from_bits).collect()

  22. comment
    Comment #42364284

    Another solution could be tombstones: When a slot gets cleared and the next slot has an item, insert a placeholder value. During linear probing, treat the placeholder as a normal i…

  23. story
  24. comment
    Comment #42288511

    In my very limited experience: In addition to cross-compiling, you want additional features that WGSL doesn't provide if you want to compose shaders, so you'd end up with a tool li…

  25. comment
    Comment #42251426

    Finding out a piece of software I'm using is written in Go because crashes with SIGSEGV does not spark joy.