Live data from Hacker News

Viewing profile — tyilo

tyilo

HN member
Joined
Mon, Jun 25, 2012, 4:11 PM UTC
HN karma
307
Public activity
120 items

About tyilo

No profile information was provided.

Recent public activity

  1. comment
    Comment #48061539

    If the original code was written in Rust, then I don't think the Rust compiler is allowed to do any of these "optimizations" of rewriting floating point expressions.

  2. comment
    Comment #47961088

    There is a PoC that does exactly that here: https://github.com/tgies/copy-fail-c

  3. comment
    Comment #47338623

    I have set up Ctrl+k to kill (SIGKILL) the front process in my terminal. I just use that for hanging connections and other hanging processes.

  4. comment
    Comment #47187159

    > The only real disruption I'd say is if you happen to be buying something online that triggers the 3DS prompt (an additional security layer to prevent cards getting stolen/scam). …

  5. comment
    Comment #46712896

    You probably just want to use `.peekable()`: https://doc.rust-lang.org/stable/std/iter/trait.Iterator.htm...

  6. comment
    Comment #46598537

    > Invalid Date is just a Date with the "Unix epoch timestamp" of NaN. It also follows NaN comparison logic: > > > invalid === new Date(NaN) > false This is just because a JS Date i…

  7. comment
    Comment #46126196

    I got a 403 Forbidden error when trying to register a user.

  8. comment
    Comment #45951775

    I have created a Python library called "z4-solver" that adds some nice utility functions on top of z3: https://github.com/Tyilo/z4 I always use that instead of the z3-solver direct…

  9. comment
    Comment #45606971

    What is the expected output of padding "﷽"? It is only one code point but very wide.

  10. comment
    Comment #45590406

    I use the `self_replace` crate for this: https://docs.rs/self-replace/latest/self_replace/

  11. comment
    Comment #45471537

    Only half circle?

  12. comment
    Comment #45023881

    It seems like `etcetera` has better defaults: https://docs.rs/etcetera/latest/etcetera/#native-strategy > `choose_base_strategy()` and `choose_app_strategy()` will use the XDG stra…

  13. comment
    Comment #44997359

    I can't get https://shaderacademy.com/challenge/intro_1 to work on Firefox 142.0b5. Even with the provided answer the output is just a red rectangle.

  14. comment
    Comment #44944968

    Last week I created a script for finding which TLD's have MX records. Result: cf: ["mail.intnet.cf."] gp: ["ns1.nic.gp."] gt: ["aspmx.l.google.com.", "alt1.aspmx.l.google.com.", "a…

  15. comment
    Comment #44782898

    Why would you call that "ascii.txt"?

  16. comment
    Comment #44289103

    Correct me if I'm wrong, but it doesn't seem like you provide the equivalent of Seekable::decompress in zstd_seekable which decompresses at a specific offset, without having to cal…

  17. comment
    Comment #44289063

    I already use zstd_seekable ( https://docs.rs/zstd-seekable/ ) in a project. Could you compare the API's of this crate and yours?

  18. comment
    Comment #43491553

    Trait upcasting will land in Rust 1.86.0 which will be released in one week: https://github.com/rust-lang/rust/pull/134367

  19. comment
    Comment #43491523

    (2017) The examples don't compile without using Rust edition 2018 or older.

  20. comment
    Comment #43444898

    Floats are not guaranteed to be bit-identical at compile time and run time in Rust.

  21. comment
    Comment #43420930

    > Idiomatic Rust Not very idiomatic to not use the builtin code formatter...

  22. comment
    Comment #43333288

    > Go and Rust are both memory safe. Go doesn't seem to be memory safe, see https://www.reddit.com/r/rust/comments/wbejky/comment/ii7ak8... and https://go.dev/play/p/3PBAfWkSue3

  23. comment
    Comment #43187327

    Seems to also work without any: type Values > = T[keyof T]

  24. comment
    Comment #43035026

    It might also be the case that P=NP

  25. comment
    Comment #43033889

    Kitty terminal shows non-payload letters and emojis normally, but with a payload a letter is shown as one box and an emoji is shown as two boxes.