Live data from Hacker News

Viewing profile — nlewycky

nlewycky

HN member
Joined
Wed, May 01, 2019, 10:19 PM UTC
HN karma
229
Public activity
68 items

About nlewycky

No profile information was provided.

Recent public activity

  1. comment
    Comment #44474179

    Gecode won the minizinc challenges from inception of the challenge in 2008 until 2012, but these days or-tools wins gold every year 2013 to 2024, and in 2024 swept gold in all cate…

  2. comment
    Comment #41974198

    Set e-graphs apart from e-matchers. An e-graph is a vector-of-sets, where each set contains equal representations of the same thing. What makes it space efficient is that your repr…

  3. comment
    Comment #41966154

    > I was bitten by one that injected timing attacks into certain integer operations by branching on the integer data in order to optimize 32-bit multiplications on 8-bit microcontro…

  4. comment
    Comment #41958837

    > No, literally nobody has ever wanted to be directed to "foundem", which is a scam. Could you defend the statement that "foundem" is a scam? If it really was then that adds import…

  5. comment
    Comment #41694291

    2020 was one outlier data point caused by COVID?

  6. comment
    Comment #41479127

    > > the epilogue is only correct if the function has void return type > That's a lie. All C functions return via a return statement with expression (only for non-void functions), a…

  7. comment
    Comment #41459328

    I'm a huge proponent of UBSan and ASan. Genuine curiosity, what don't you like about them? FWIW, there once was a real good-faith effort to clean up the problems, Friendly C by Pro…

  8. comment
    Comment #41454237

    This is the most normal case though, isn't it? Suppose a very simple compiler, one that sees a function so it writes out the prologue, it sees the switch so it writes out the jump …

  9. comment
    Comment #41453209

    This construction is called a "false range" in English. https://www.chicagomanualofstyle.org/qanda/data/faq/topics/C... https://www.cjr.org/language_corner/out_of_range.php The wor…

  10. comment
    Comment #41453124

    Why isn't that fine? The compiler ignored the undefined behavior it didn't detect.

  11. comment
    Comment #41155203

    > The continuity of physical processes is not something that can be proved. I agree with you, but is there any peer-reviewed publication that can be cited? The idea makes sense to …

  12. comment
    Comment #41150804

    From the abstract, "simulations of such systems are usually done on digital computers, which are able to compute with finite sequences of rational numbers only." Not at all! Digita…

  13. comment
    Comment #41149867

    The compiler may remove the nullptr check in: ptr->foo = 1; if (ptr == nullptr) return; but it may not remove the nullptr check in: if (ptr == nullptr) return; ptr->foo = 1;

  14. comment
    Comment #40789811

    > If the print blocks indefinitely then that division will never execute, and GCC must compile a binary that behaves correctly in that case. Is `printf` allowed to loop infinitely?…

  15. comment
    Comment #40725244

    > You're right, most times organizations need a fire lit underneath them to change, for Google, it probably was the NSA annotation "SSL added and removed here :^)" on a slide showi…

  16. comment
    Comment #39821650

    The symptoms match my experience with a mid-network firewall/router that is not aware of TCP window scaling stripping out the scaling factor while leaving the window scaling featur…

  17. comment
    Comment #39732131

    It caused a problem when building inline assembly heavy code that tried to use all the registers, frame pointer register included.

  18. comment
    Comment #39637454

    > If I put in a dereference, I expect a dereference to happen. Not dereferencing the pointer when I wrote a dereference operator seems like going too far. Surely not? I mean, you p…

  19. comment
    Comment #39565296

    The hard part of UB isn't where it's mentioned in the standard. The problem is when the standard says "in case A, X occurs, in case B, Y occurs" then somebody invents a situation w…

  20. comment
    Comment #39498857

    > Deleting code that isn’t dead, it just doesn’t have a universally defined behavior, is the issue. Can I delete "if (x & 3 == 16)" without a warning? There is no 'x' which makes t…

  21. comment
    Comment #39498535

    > I've forgotten if 'address of' ( & ) is signed or unsigned. Neither, pointers are their own types which have no sign, only integral types come in signed and unsigned. There exist…

  22. comment
    Comment #39490298

    I can offer you -fsanitize=undefined -fsanitize-trap=undefined, which you'd need to put in your configuration for release builds, presumably you have other flags in your build syst…

  23. comment
    Comment #39490273

    > -Wub # Warn _anytime_ there is detected potential undefined behavior, irrespective of if there is an associated optimization. Can I ask you, have you tried any existing tools? Co…

  24. comment
    Comment #39489129

    Dead code happens all the time. Adjusting the example in my comment you're replying to: vector v; v.push_back(a); v.push_back(b); v.push_back(c); v.push_back(d); Let's suppose the …

  25. comment