Live data from Hacker News

Viewing profile — derkha

derkha

HN member
Joined
Tue, Mar 08, 2016, 5:26 PM UTC
HN karma
109
Public activity
25 items

About derkha

No profile information was provided.

Recent public activity

  1. comment
    Comment #37280168

    The tower was built after Brahe's death https://www.rundetaarn.dk/en/article/tycho-brahe-was-not-her...

  2. comment
    Comment #29613588

    Insignificant consequences. https://www.fiercehealthcare.com/hospitals/how-many-employee...

  3. comment
    Comment #25990916

    Lean 4 developer here. If the array is shared, we make a full copy. It's the same semantics as in Swift.

  4. comment
    Comment #22957897

    I believe the reasoning is that aerosol would have ultimately spread everywhere, including on the AC itself, while ballistics can be heavily influenced by airflow, but are still li…

  5. comment
    Comment #22747349

    They probably mean "red-yellow", which is an intermediate "wait for it" state in many European countries, including Germany https://de.wikipedia.org/wiki/Ampel#/media/Datei:Traffic…

  6. comment
    Comment #21866515

    Reading through https://bazel.build/designs/skyframe.html , this sounds pretty much like what would be possible with the aforementioned recursive Nix and content-addressed paths. B…

  7. comment
    Comment #21735493

    I prefer the simplicity of https://github.com/firecat53/networkmanager-dmenu , which works fine under sway

  8. comment
    Comment #20248927

    Implementation on Github: https://github.com/microsoft/mimalloc

  9. comment
    Comment #17126196

    You can convert a `String` into a `&'static str` using only safe stdlib functions via `Box::leak(s.into())`. This uses `unsafe` internally, of course... but so does almost any code…

  10. comment
    Comment #13915843

    Yes, that is a valid alternative encoding: https://en.wikipedia.org/wiki/Church_encoding#Represent_the_... In general, what you describe is representing an inductive type by its _e…

  11. comment
    Comment #13447888

    Author of that project here, it's the other way around - I'm using the absence oft aliasing to turn mutable Rust code immutable, which I can then embed in Lean. But you're right th…

  12. comment
    Comment #13097746

    What would that abstraction look like? I really can't think of a more high-level abstraction of parallelism than a single method call saying "Please parallelize this sequential alg…

  13. comment
    Comment #13097682

    What do you mean by "turning into"? I don't see much special syntax in the post apart from the general expression-oriented functional style, including higher-order functions. Which…

  14. comment
    Comment #12966056

    > 1.16699016 × 10-8 hertz IOW, once every 2.7 years. Google Calculator is genius.

  15. comment
    Comment #12672220

    Nice, this may make me finally move on from irssi

  16. story
  17. comment
    Comment #12544812

    Aside from program synthesis, there is the more restricted form of code extraction , which turns definitions inside a theorem prover into code in a more traditional, runnable langu…

  18. comment
    Comment #12474992

    But widgets do have the same type: Widget, which the author already uses as a trait object. I think he was getting confused by mixing &Widget and Rc >. Just declare a type alias fo…

  19. comment
    Comment #12148027

    I actually started the project in Isabelle: https://github.com/Kha/electrolysis/tree/isabelle/thys . Automation was nice, translating Rust traits not so much. You really want them …

  20. comment
    Comment #12147770

    I have heard of it, it features a nice application of Separation Logic. Though not needing that kind of logic at all does feel even better! There is also an extension of an extensi…

  21. comment
    Comment #12147595

    Well, that change would also break the proof in general :) . But I see your point. I've written about overflow checking some more below, but what you'd really want for that is some…

  22. comment
    Comment #12147323

    By calling the verification 'simple' myself, I concede that it may also be _simplistic_ in parts. Perhaps I should have emphasized that this project is mostly about algorithmic cor…

  23. comment
    Comment #12147212

    There is a PR for a Lean backend producing both C++ and Rust: https://github.com/leanprover/lean/pull/1090 Note, however, that this is purely focused on executing Lean code, not in…

  24. comment
    Comment #12122808

    Even the EU seems to think so: http://www.reuters.com/article/us-turkey-security-eu-hahn-id...

  25. comment
    Comment #12106685

    To clarify Bahamut's point: The functions must be analytic - https://en.wikipedia.org/wiki/Analytic_continuation#Initial_... . Regardless of the actual value of foo, at least one o…