Live data from Hacker News

Viewing profile — killercup

killercup

HN member
Joined
Sat, May 12, 2012, 2:04 PM UTC
HN karma
939
Public activity
211 items

About killercup

I'm @killercup on twitter.

Recent public activity

  1. comment
    Comment #48708305

    Is this the way forward for the EU? Genuinely curious: Are there any EU providers that host the very good recent Chinese open weight models? Like, an EU-based alternative to DeepSe…

  2. comment
    Comment #38179447

    Because this code block looks quite complex, I want to add that it can also be just smol::block_on(async { println!("I'm async!"); }); (I thought tokio had a helper like this too b…

  3. comment
    Comment #27506992

    Ripgrep includes one of the most prominent algorithms from Hyperscan internally for some expressions. Longer story: Ripgrep uses Rust's regex library, which uses the Aho-Corasick l…

  4. comment
    Comment #26623168

    > If the work is done I expect Rust to be faster than C and C++ for the same reason that C++ can sometimes be faster than C: a more advanced type system can allow better optimizati…

  5. comment
    Comment #25580526

    Technically, he only got tested the day after Christmas, so I'm assuming they picked the more dramatic date.

  6. comment
    Comment #25580507

    I'm implying they did not read the article.

  7. comment
    Comment #25580452

    There's no need to take that bet if you can instead just read the article, however. No idea why you bring up a German statistic.

  8. comment
    Comment #25580403

    This is as suprising as the amount of comments assuming the nurse is female. Edit for those who just comment after reading the headline: The article clearly states the nurse is Mat…

  9. comment
    Comment #25150785

    dupe of https://news.ycombinator.com/item?id=25149969

  10. comment
    Comment #23645851

    > I don’t understand what a ‘packer’ is You've found the right series of articles then!

  11. comment
    Comment #23645313

    Start at part 1. No, he doesn't give you an answer, but you might just find it interesting enough to no longer have the qusstion.

  12. comment
    Comment #23611056

    Author here. Please note that the "cheap" in the title refers to the effort needed as well as how sophisticated the tricks are; benchmarking and optimizing your algorithms is still…

  13. comment
    Comment #22047906

    Tar was released in '79 iirc, so it's about the same age.

  14. comment
    Comment #21818460

    The RFC for adding `?` to the language might be a good start: https://rust-lang.github.io/rfcs/0243-trait-based-exception-...

  15. comment
    Comment #21613834

    Hi, author of large parts of this here! This was written in the lead up to the Rust 2018 edition release last year, but it should still be pretty much up-to-date. There is a lot of…

  16. comment
    Comment #21552549

    > Anyone have any ideas about which open source codebases UTF-8 validators exist in? Rust's std library -- the canonical way to read a text file to a string is to (implicitly) use …

  17. comment
  18. comment
    Comment #20123056

    Not sure. Having the ability to abstract over tuples (using a similar mechanism as HLists for example) would help.

  19. comment
    Comment #20109073

    I can't speak for the actix-web maintainers but I did find this in their examples: #[get("/resource1/{name}/index.html")] fn index(req: HttpRequest, name: web::Path ) -> String { p…

  20. comment
    Comment #20108996

    Correct. Fun fact: The amount of traits implementations that need to be generated to support tables with 128 columns actually makes diesel an interest benchmark of the Rust compile…

  21. comment
    Comment #19516085

    The simple builder pattern often looks like a lot of boilerplate, I agree. But you can easily crank the coolness of it up a notch by using one of these properties: - Hide the field…

  22. comment
    Comment #18943854

    Took me a while to find it, but Rust's iterators have an `.inspect` method that gives you a read-only reference, so println debugging works fine. For more advanced tap-like stuff, …

  23. comment
    Comment #18786032

    Scroll down: You can use the cv04 font feature to change the style of the lowercase l!

  24. comment
    Comment #18392041

    This also makes incremental compilation faster, doesn't it?

  25. comment
    Comment #18392014

    > Is there something genuinely computationally harder about compiling Rust? I'm not sure. Here's what I know: Rust has a complex type system. It also compiles whole packages (crate…