Live data from Hacker News

Viewing profile — jkercher

jkercher

HN member
Joined
Tue, Sep 13, 2022, 1:16 PM UTC
HN karma
73
Public activity
20 items

About jkercher

No profile information was provided.

Recent public activity

  1. comment
    Comment #48621270

    I don't know man. It's just zero. Dereferencing it just crashes your program (assuming an operating system). This kind of just reads like a fear of pointers. Corrupted/out-of-range…

  2. comment
    Comment #48613545

    Meh, I think NULL is fine in C. It's an extra, valid state to represent pointers at no cost. Unlike the more hand holdy languages, it's quite rare for a pointer in C to have the ab…

  3. comment
    Comment #48597676

    Ha. I'm probably in the more anti AI camp, but if it could free us from the plague that is Python thinking, I might change my tune. 2 seconds might feel negligible in the real worl…

  4. comment
  5. comment
    Comment #48061381

    You make that sound worse than it is. On the overall topic, you have 0 supply chain risk, and the whole thing is local. Also, your code from 2009 is still valid. That would be a fo…

  6. comment
    Comment #47539250

    I too have used a similar strategy of packing variables together. I even came up with a name for it. I called it a "building."

  7. comment
    Comment #46923661

    Tangentially related. Don't ever put "." in your PATH. I used to do this to avoid typing the "./" to execute something in my current directory. BAD IDEA. It can turn a typo into a …

  8. comment
    Comment #46742753

    One of the advantages to the pointer + length approach is free substrings. This inline approach doesn't allow that.

  9. comment
    Comment #45758291

    Couldn't agree more. I have a project at work from 2016 that builds multiple different HMIs (C++) along with 2 embedded systems (C). They all have to play nicely with each other as…

  10. comment
    Comment #45527599

    I certainly would not use it prescriptively as I said originally. I wouldn't use any poker book prescriptively. You make your own style and pull pieces from others just like any ot…

  11. comment
    Comment #45522414

    I don't think so. I don't play nearly as often as I used to, but I still do alright. Though, I usually play tournaments where "game theory optimal" can only get you so far. There i…

  12. comment
    Comment #45522277

    Super System is old, but I wouldn't call it outdated. Definitely still worth a read. The more books you've read, the bigger your tool set. The key here is that it works in both dir…

  13. comment
    Comment #43977738

    Rust and Zig are both perfectly fine languages. Odin wins on simplicity and familiarity for me. I'm most productive in C which is what I use at work. So, for me, it's a better C wi…

  14. comment
    Comment #43971534

    When I first heard about Odin, I thought, why another C replacement?! What's wrong with rust or zig? Then, after looking into it, I had a very similar experience to the author. Som…

  15. comment
    Comment #41025011

    What's naive?

  16. comment
    Comment #40686919

    I'm not looking for an argument, but my knee jerk reaction to seeing 4 or 5 different answers to the question of getting python to C... Why not just learn C?

  17. comment
    Comment #40362535

    clickhouse-local is pretty slick as well. You can operate directly on text files as if they were tables. I made my own toy text file database thing and thought I was cool because I…

  18. comment
    Comment #37507608

    I think he's saying the text should be more muted like the copyright at the bottom.

  19. comment
    Comment #37485646

    Cool. Let us software guys know when we get computers that are 1000x faster so we can write the next language/framework that is 1000x slower.

  20. comment
    Comment #33791623

    I think he is getting at this part "non-mass scale platform." He's implying it only protects the big players that can afford the change.