Live data from Hacker News

Viewing profile — pflanze

pflanze

HN member
Joined
Tue, Jun 05, 2007, 10:38 PM UTC
HN karma
652
Public activity
485 items

About pflanze

http://christianjaeger.ch/contact.html http://github.com/pflanze http://functional-perl.org/ http://rustaceans.uk/

Recent public activity

  1. comment
    Comment #48483658

    > Teasing an owl: https://youtube.com/watch?v=Y0i9tjnW7r0 There was a video on youtube about a crow coming to a human and making that sound, also in winter with snow; commenters ag…

  2. comment
    Comment #47279449

    Thanks for the info! I guess it also makes sense as I realized after posting, if it did use the result of malloc unused it should crash immediately due to references into the zero …

  3. comment
    Comment #47275027

    Do you happen to use memory resource limits? I used to run Firefox under some, like everything, to prevent it from potentially making the whole system unresponsible, and at the sam…

  4. comment
    Comment #46566287

    If the code in the closure moves a value, then the closure becomes an FnOnce and does move the value out of the context. That's what you probably have in mind. So, Rust does suppor…

  5. comment
    Comment #46555910

    > So AFAICT Embassy doesn't do this at all? I haven't used Embassy, but the README mentions "Tasks on the same async executor run cooperatively, but you can create multiple executo…

  6. comment
    Comment #46336430

    No, unless you ask for it via the `move` keyword in front of the closure. This works fine: https://play.rust-lang.org/?version=stable&mode=debug&editio...

  7. comment
    Comment #45824482

    > The behavior is all the more impressive given that the rodents hunt at night, when they are effectively blind I can't access the paper to check if they verified it, but given the…

  8. comment
    Comment #45761909

    There's an independent reimplementation of the PIO assembler here: https://crates.io/crates/pio -- I haven't tried it so don't know how good.

  9. comment
    Comment #43726422

    I think the hard drive platter moves in the wrong direction--it pushes the head into the platter instead of away from it if it gets too close.

  10. comment
    Comment #41756637

    I wonder if they sensed that at some point number plates would be automatically recorded wherever you drive, even when not causing an accident or doing anything illegal. Just a fun…

  11. comment
    Comment #41395438

    Thanks for the nojs version!

  12. comment
    Comment #41340135

    I would expect that this increases the gap between new and old phones / makes old phones unusable more quickly: new phones will typically have enough RAM and can live with the 9% l…

  13. comment
    Comment #40838619

    That sounds plausible. I've sent them a mail.

  14. comment
    Comment #40838555

    OK, but they wrote "At the end of the last century", which implies towards 2000 not 1900.

  15. comment
    Comment #40838480

    > At the end of the last century, coal was used to generate more than 95% of the UK's energy, but last year it had fallen to 1%. That looks like an impressive change, even if the c…

  16. comment
    Comment #40335891

    If we're talking about constructing structs, like in `Foo { bar, baz: 123 }` (with the `bar` style shortcut in it), I have used that kind of syntax 10 times in 16 KLOC of Rust. Not…

  17. comment
    Comment #40022237

    Linkers & Loaders is their own book (I haven't checked the others). They have a page at https://www.iecc.com/linker/ where they used to publish a draft of the book contents, but ch…

  18. comment
    Comment #40015003

    I was looking at the main branch, and described the situation there. They have a different branch for the optimization work; in that branch, they do mark those functions as `unsafe…

  19. comment
    Comment #40011061

    Using clone or Arc with boxing everywhere to avoid using references with lifetimes at all will lead to code that's slower than Go/Java, yes, unless you're just cloning small object…

  20. comment
    Comment #40010980

    Yes, but their code appears to actually be `unsafe` (in the Rust terminology sense) without specifying that in their function declarations. They use `unsafe` inside their `slice` f…

  21. comment
    Comment #39870662

    After a cursory inspection of the memleak program source and Brendan Gregg's blog post it's still not clear to me what it is tracking to be able to decide that there's a leak here.…

  22. comment
    Comment #39124970

    I'm using VNC for coworking/mentoring sessions and it works very well for us (it's lower latency, higher frame rate, sharper picture than typical screen sharing, and allows both/al…

  23. comment
    Comment #38818141

    The sorting is according to the "sort" column, not the "name" column (they are not explicit about this but it's clearly what they mean, and it solves your problem). I think the ben…

  24. comment
    Comment #38747168

    Yakety Moog, https://youtu.be/qp_b-TkkR4I Maybe I'm hearing more into it than there is, and I'm not a musician. Still it's the piece closest to the Thing on a Spring tune that I've…

  25. comment
    Comment #38741037

    Interesting, this Gil Trythall piece is the tune in the Commodore C-64 game "Thing on a Spring", isn't it. I didn't know that was a pre-existing piece. https://www.youtube.com/watc…