Live data from Hacker News

Viewing profile — MaulingMonkey

MaulingMonkey

HN member
Joined
Sat, Feb 16, 2013, 10:25 PM UTC
HN karma
4,351
Public activity
1,628 items

About MaulingMonkey

Engine Programmer.

http://maulingmonkey.com/

Recent public activity

  1. comment
    Comment #49227985

    Feature flags are great. Working on a crash / memory corruption in an optional subsystem? Just disable the subsystem to unblock coworkers on the same branch while you track down th…

  2. comment
    Comment #49052152

    I've encountered a few soundness holes in rust-lang in practice, but they've all been fixed before I managed to shoot myself in the foot with any of them: • `std::mem::uninitialize…

  3. comment
    Comment #49042111

    > If you define another language Rust-Without-Any-Unsafe, then maybe that one is safer than Fil-C. Just write `#![forbid(unsafe_code)]` at the top of your src/lib.rs, and track cra…

  4. comment
    Comment #48940144

    I adore unsafe, appreciate it as a feature... but it is an escape hatch. One that is sometimes necessary, one that is sometimes not necessary but might still be (ab)used for perfor…

  5. comment
    Comment #48799484

    > The myth of DNS “propagation” needs to die. What's the actual issue? Are you being frustrated by people laboring under the assumption that DNS records are being sent by carrier p…

  6. comment
    Comment #48606337

    > Will programmers write more efficient code during the memory shortage? Yes. No. Yes. I've worked in gamedev, helping ship code that ran on consoles. Nice fixed hardware targets. …

  7. comment
    Comment #48574006

    C++'s stdlib collection algorithms were basically all mutate-in-place instead of return-a-new-value until C++20 introduced ranges, and I still don't know anyone who actually uses t…

  8. comment
    Comment #48521342

    > But you can learn to phrase your WTFs about your colleague's code politely and constructively. I would even argue that this an absolutely basic skill for professionals. It typica…

  9. comment
    Comment #48497478

    I don't want the private API key I temporarily hardcoded in my public history. Nor do I want the drag of worrying about so much as sneezing in the general vicinity of a secret in m…

  10. comment
    Comment #48493574

    I'll note that speedrunners absolutely buffer mid-pipeline in Factorio, and not just for hand-crafting purpouses. Sometimes you're waiting for R&D, sometimes you're just running ha…

  11. comment
    Comment #48492905

    > That's the point, std::byte is for opaque bytes. You're not expected to do arithmetic directly just like you can't do arithmetic on void. That'd make a whole lot more sense to me…

  12. comment
    Comment #48469586

    To be fair, the `void*` is already a pretty big hint that you're in the danger zone.

  13. comment
    Comment #48469580

    > if somewhere in the plumbing you connect the wrong source to the wrong destination, you get no warning. A valid concern. I've been in the position of having to fix those bugs. I'…

  14. comment
    Comment #48461714

    > Fair point (although to be honest: 'complexify' feels a bit of an exaggeration here to me) Both uint8_t and std::byte require a header ( or ) which may expose you to platform x c…

  15. comment
    Comment #48440973

    TIL the horror that is the existence of non-serializable isolation. I'm a gamedev. I've worked alongside webdevs (frontend and backend) that build our websites and forums. Alongsid…

  16. comment
    Comment #48287297

    > I disagree that you'll find "many red flags for any job" If they're hiding the many red flags, that's the biggest red flag of all!

  17. comment
    Comment #48147509

    > If you're steeped deeply enough in that NDA-preserving culture If you've throroughly absorbed a culture of honoring non disclosure agreements (NDAs), which are legal contracts de…

  18. comment
    Comment #48144972

    > Like seriously, what's the point of explicitly allowing this? Explicit permission can be useful to preemptively cut off some questions from well meaning people who, acting in goo…

  19. comment
    Comment #47775166

    My trick: Walk to meals and other excursions/shopping in lieu of driving. If I leave on a walk for the exclusive purpouse of "exercise", I immediately feel bored, and like I'm wast…

  20. comment
    Comment #47759640

    My family accepts me just the way I am a bit too much. I can't bring myself to blame them, when past "reformist" pressures have been misguided/misapplied and backfired, but I recog…

  21. comment
    Comment #47759122

    Trade is just a combination of give and take. I give you X, and in exchange, take Y. Without the "take", it's not a trade, it's just a gift.

  22. comment
    Comment #47756958

    > Interesting you single out commercial and government entities but not people. What defines the difference? Bureaucracy? Concentration of resources? Legal theory? Not OP, but for …

  23. comment
    Comment #47635089

    I use a horrific mix of: • Markdown (most of my notes these days, supplanting my previous use of plaintext.) • Single-file HTML (when my use case for fancy documents exceeds markdo…

  24. comment
    Comment #47556854

    > One explaination for that would be stripping "out of scope" macros that the sublibrary depends on but wishes to avoid including. Another explaination would be the original source…

  25. comment
    Comment #47556795

    > no commit history, 10k+ lines of complicated code This kind of pattern is incredibly common when e.g. a sublibrary of a closed source project is extracted from a monorepository. …