Live data from Hacker News

Viewing profile — lolcatuser

lolcatuser

HN member
Joined
Sun, Feb 12, 2023, 5:07 PM UTC
HN karma
31
Public activity
16 items

About lolcatuser

No profile information was provided.

Recent public activity

  1. comment
    Comment #42597182

    Definitely. This, plus a graduate degree in a more specific field, and you end up with a very well-rounded education.

  2. comment
    Comment #35882972

    The reason division by zero can be a number is that floating-point numbers aren't individual numbers but ranges of numbers. So 0.0 isn't really the integer 0, it is the range of nu…

  3. comment
    Comment #35778851

    I don't know how they work internally, but I can say that power hammers used for blacksmithing sound similar to the woodpecker in the video, only much slower. A couple hard, fast h…

  4. comment
    Comment #35476513

    A hypothetical god would not destroy the world, but absolutely could . I think that's the idea - they're not reveling in the fact that they can do anything anybody could reasonably…

  5. comment
    Comment #35476201

    It's better to say that, in C, characters are bytes. That's why coming at this from the modern perspective of "characters are the things on my screen" is always going to confuse yo…

  6. comment
    Comment #35476142

    C isn't Java. Even Niklaus Wirth in Pascal, Oberon, and the like avoided naming their identifiers too long. 'GetStrSz()' is enough to achieve (most of) what you want, assuming cert…

  7. comment
    Comment #35475664

    Maybe my least favorite "feature" of C. I can manage most aspects of zero-terminated strings well enough, but when I have to specify the length of them, is it an 'int', 'size_t', '…

  8. comment
    Comment #35475589

    It's entirely possible to write a wrapper function with a short name to convert string literals to actual string objects. my_function(my_var, 3.6, $("bzarflo"), my_other_var, false…

  9. comment
    Comment #35239909

    You're being willfully obtuse here. When somebody says "this algorithm is unbounded" they of course don't mean that they've changed the laws of the universe to allow for an infinit…

  10. comment
    Comment #35214884

    You absolutely can justify infinity - even if your real system can't represent numbers larger than X, you can't guarantee that won't change in the future. For example, in C, intege…

  11. comment
    Comment #35157837

    Ounces can measure both volume and weight, depending on the context. In this case, there's not enough context to tell, so the comment is total BS. If they meant ounces (volume), th…

  12. comment
    Comment #35157803

    That's lame. Ounces are an ambiguous unit, and most people don't use them for volume, they use them for weight.

  13. comment
    Comment #35023049

    I use octal for this. x vs. x

  14. comment
    Comment #35002063

    wikipedia.org/wiki/Paradox_of_tolerance Too often I hear people complain that they're being oppressed for their "differing opinions." A tolerable opinion is something like "my favo…

  15. comment
    Comment #34978041

    https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf Section 6.10 (Page 145): Preprocessing Directives Hey, would you look at that! The preprocessor is a mandatory part of th…

  16. comment
    Comment #34948585

    But that is a legitimate problem. Using a language feature that is a known footgun (`if ...` instead of `if {...}`) without being cautious enough to avoid shooting yourself in the …