Live data from Hacker News

Viewing profile — dtolnay

dtolnay

HN member
Joined
Sun, Jan 05, 2014, 8:57 AM UTC
HN karma
540
Public activity
62 items

About dtolnay

[Keyoxide: openpgp4fpr:4628C5D82CFF65D68164A78AF9BA143B95FF6D82] [my public key: https://keybase.io/dtolnay; my proof: https://keybase.io/dtolnay/sigs/v4VpeiIRdCCHvGS6I6VmEhObJUHV49h7exFZBgZg8B8]

Recent public activity

  1. comment
    Comment #47311503

    If a piece of code does not panic in panic=unwind, then it does not panic in panic=abort either. So having coverage of panic=unwind would be sufficient to guarantee that code canno…

  2. comment
    Comment #47311201

    > It's not a good option for library crates, e.g. Author here. Yes, it is. It was literally made for libraries. Notably https://github.com/dtolnay/zmij and https://github.com/dtoln…

  3. comment
    Comment #46328766

    "1.e-01" is for 0.1, not 1.0.

  4. comment
    Comment #46309888

    In implementing Rust's serde_json library, I have dealt with both string-to-double and double-to-string. Of the two, I found string-to-double was more complex. Unlike formatting, c…

  5. comment
    Comment #38844167

    Try with http: http://blog.aaronballman.com/2023/12/musings-on-the-c-charte... For me the original https link fails with "SSL received a record that exceeded the maximum permissibl…

  6. comment
    Comment #38791926

    The Information is cited as the source regarding the Google ad sales reorg. That would be this article from last week: https://www.theinformation.com/articles/google-plans-ad-sale.…

  7. comment
    Comment #38705598

    The best forecast I know is Sean Parent's on ADSP episode 160. [0:23:57] SP: We're also discussing internally around pending legislation around safety and security, what Adobe's re…

  8. comment
    Comment #35596509

    Here is the gallery of finished pieces in the artist's shop: https://orbixhotglass.com/product-category/prince-ruperts-dr... I am quite sure I saw #01 at $10k earlier today and it'…

  9. comment
    Comment #35574698

    I think about pull requests the same way: As a library maintainer, closing and empathetically conveying why a pull request is not a net benefit to the project is an order of magnit…

  10. comment
    Comment #35521050

    Not automatic, but it already supports a measure of "how much" you depend on a project: boosting. You can boost dependencies up or down by up to a factor of 20 (e^3). The formula i…

  11. comment
    Comment #35482626

    Currently 2863 crates (2.6% of crates). Note that the search you linked also includes crates that only have "rust" in the description or readme, not just the crate name -- that is …

  12. comment
    Comment #35471239

    I have a non-toy multi-language project in https://github.com/dtolnay/cxx for which I have both Buck2 and Bazel build rules. On my machine `buck2 clean && time buck2 build :cxx` ta…

  13. comment
    Comment #35426008

    https://archive.is/0OBYV

  14. comment
    Comment #35406797

    I interpreted the author's characterization to be about something like: 1 if (argc in which not just lines 4-6,8 go away (as you said) but also lines 1-2. It makes sense to me but …

  15. story
  16. comment
    Comment #33397294

    See the explanation by the thanks.dev founder (qwerki) here: https://news.ycombinator.com/item?id=33368045

  17. comment
    Comment #33386168

    NPM has an order of magnitude more packages than the other language-specific package registries. It has more packages than every other registry put together (including Maven Centra…

  18. comment
    Comment #33386087

    https://thanks.dev has a good model for this. By default they'll split your monthly contribution equally among your dependencies (and exponentially decaying among transitive depend…

  19. comment
    Comment #33307806

    I used it with great success for transpiring libyaml from C to Rust. I even set up Miri to run the upstream library's entire transpiled test suite, and the fact it passes is valida…

  20. comment
    Comment #33236567

    Seems like it would be better to contain: compile_error!("You meant to …"); so that the install would fail and `cargo uninstall rg` wouldn't be needed.

  21. comment
    Comment #32976109

    > the minute you want to do something that doesn't fit the mold, it makes things a lot harder This is not my experience at all; it's been extremely helpful for doing things outside…

  22. comment
    Comment #32759933

    https://github.com/diem/diem is 387,952 lines of Rust code across 169 crates. In total there are 3 lines of unsafe code, which is less then 0.001% (1 thousandth of 1%).

  23. comment
    Comment #31544970

    This is a misunderstanding of how the "loved" part of the survey works. > something like 10% of the number of people who claim to love it have ever used it for any purpose "Loved" …

  24. comment
    Comment #31543187

    I made a CLI version of a star history grapher for my own use, because I wasn't happy with the granularity of the graphs available in the various online incarnations of this. https…

  25. comment
    Comment #29363366

    > Pins are very often `Unpin`, but this isn't relevant to their function. This idea is what I've seen get a lot of people lost, but it's pretty natural. By analogy, a DANGER HIGH V…