Live data from Hacker News

Viewing profile — eperdew

eperdew

HN member
Joined
Sat, Apr 25, 2020, 10:51 AM UTC
HN karma
71
Public activity
15 items

About eperdew

No profile information was provided.

Recent public activity

  1. comment
    Comment #32556169

    Yes - to elaborate, a constructive logic is a logic without P or not P. This doesn't have much to do with whether a tool can tell you what obligations you haven't proven. The separ…

  2. comment
    Comment #29865435

    > To attack classic OTP, you’d brute force the keyspace. Since we’re XORing, whatever we encode the key as, it’s fundamentally being used in binary to XOR between plaintext and cip…

  3. comment
    Comment #29447961

    I wrote out quite a bit for this, but I think that the main point is that by falling back to the formalism, we see the the LHS of the implication affects our inductive hypothesis. …

  4. comment
    Comment #29445747

    The example I'm about to give is overkill, but I'm trying to make my point very carefully. Suppose you want to prove something for integers >= 2. E.g., suppose you want to prove fo…

  5. comment
    Comment #29445327

    You don't have to. See my top level comment. In short, you have to strengthen your goal in order to have a strong enough inductive hypothesis to prove anything. E.g., instead of "p…

  6. comment
    Comment #29445302

    I started to write out what is happening here more formally, but I think it was not very elucidating. No matter what, the problem is that the proof of the inductive step is wrong. …

  7. comment
    Comment #29060044

    To me, adding parentheses when using common operators signals that I should read it carefully, because normal precedence is probably broken. When that is not the case, I spend a bi…

  8. comment
    Comment #28890606

    This is why the aliasing rules in C explicitly allow aliasing any pointer type with a char*.

  9. comment
    Comment #28623609

    Agreed. I alleviated this in my last zig project by just declaring a type alias, however. Strings could use some nice support from the stdlib once it gets fleshed out.

  10. comment
    Comment #26417922

    I'm not sure if this is done in practice, but in theory, if you compile a regex to a DFA, you can then minimize the DFA. I don't know if you can do anything similar with parser com…

  11. comment
    Comment #26417858

    There are some features exclusive to errors though (errdefer, stack traces, implicit error unions). Did you find yourself missing any of these by doing it this way? I'm partially a…

  12. comment
    Comment #26370026

    Thank you for the explanation. This is a very comfortable level of detail in my opinion, if you were to write a full article.

  13. comment
    Comment #25328067

    All pointers are pointers too, so I don't see much of a difference between "indirect" and "next_ptr", other than the "next" part. In similar situations at my job, I've drawn a smal…

  14. comment
    Comment #25328044

    As others have said, often you don't want to free the node, you want to do something else with it. E.g., put it in a free list. However, usually if you're not freeing it, you'd nul…

  15. comment
    Comment #22977236

    TrueType font hinting actually is Turing complete. A font may contain programs that run on a VM that has functions, variables, unbounded loops, etc.