Live data from Hacker News

Viewing profile — Sagiri

Sagiri

HN member
Joined
Wed, Sep 28, 2016, 2:09 PM UTC
HN karma
10
Public activity
13 items

About Sagiri

No profile information was provided.

Recent public activity

  1. comment
    Comment #16407091

    The difference is that a big part of YT's appeal is how open it is. Anyone can post pretty much anything. With something like Udemy, where you have to pay for courses, Udemy needs …

  2. comment
    Comment #13005129

    Ethical violations are an endemic problem. If everybody named and shamed companies for every ethical violation they encounter, every company would end up named and shamed. And the …

  3. comment
    Comment #12902379

    I'm not. Undefined behavior is 'anything goes'. An implementation can choose a particular behavior that you can rely on for a particular case of UB, because, if the only rule is th…

  4. comment
    Comment #12902247

    We just need to remove the Electoral College and use a straightforward majority wins (or plurality, as the case may be).

  5. comment
    Comment #12894896

    It isn't? At least that would be a failure at compile-time, rather than run-time.

  6. comment
    Comment #12893324

    You weren't replying to me, but I genuinely do keep my phone on silent (no, not vibrate) and will never answer it (both because it's rude and because I don't notice it). But I do t…

  7. comment
    Comment #12892884

    Well, yeah. If you have any reason to suspect that you will need to run your code on other platforms or compile with other compilers, don't do compiler-specific things. Just do it …

  8. comment
    Comment #12892820

    If the semantics of casting pointers of wrong alignments were defined to be demons flying out of your nose, it would be perfectly acceptable to rely on that behavior.

  9. comment
    Comment #12892642

    The correct and portable solution is to not use uint32_t, but to use uint8_t, and construct the integers manually.

  10. comment
    Comment #12892624

    If a particular compiler specified that casting pointers of wrong alignments causes a segfault, it'd be perfectly acceptable to rely on that behavior. The standard would consider i…

  11. comment
    Comment #12760250

    Rust is basically a safe C++, written by people who like functional languages. Also, it has an official package manager in Cargo, something that C++ lacks completely. As such, it t…

  12. comment
    Comment #12703317

    Personally, I would rather builds be slow than have my build mysteriously break when I'm in that 1%.

  13. comment
    Comment #12597717

    > There is no mechanism for you to mark a function as potentially crashing your teammate’s code or for specifying how to process an exception. Maybe I'm misinterpreting this, but i…