Live data from Hacker News

Viewing profile — dgentile

dgentile

HN member
Joined
Mon, Apr 27, 2020, 2:49 AM UTC
HN karma
119
Public activity
18 items

About dgentile

No profile information was provided.

Recent public activity

  1. story
  2. comment
    Comment #26348299

    Edited: Looks like they have safe alternatives: " - strlcpy() if you really just need a truncated but NUL-terminated string (we provide a compat version, so it's always available) …

  3. comment
    Comment #25757117

    Agreed. Ownership would be way too confusing to start out with.

  4. comment
    Comment #25757095

    I think starting with a language with static typing would be better. With Python or Javascript you still need to know how the types work otherwise you can run into unexpected "defi…

  5. comment
    Comment #25757071

    C++ is really nice for low-level OOP, and compared with C it adds generics and classes. Compared to Python, C++ is lower-level and can have significant performance gains with a wel…

  6. comment
    Comment #25221993

    The problem is that fundamentally we always have types. We must define different types of bytes and the different things we can do with those bytes. If you can generate a binary fr…

  7. comment
    Comment #25138945

    This exactly. That she's returning home from school at 6:30! The author didn't give their daughter's age, but we can assume it's right before 14, so maybe 12-13. I'm in high school…

  8. comment
    Comment #24961076

    From purely a programming perspective: Have they not heard of enums?

  9. comment
    Comment #24833525

    Free Software is amazing. I love emacs, Firefox, bash, zsh, nginx, postgres, llvm, linux, freebsd, and many other packages. But, I think that there are two points to be made with r…

  10. comment
    Comment #24833440

    High Schooler here. I've been teaching myself Vulkan and am writing a videogame, but I'm so exhausted on weekdays from my course-load that I only work on it on weekends and breaks.…

  11. comment
    Comment #23315796

    1/3 and 1/3 is 1/6 ;)

  12. comment
    Comment #23304653

    Highly available web-server with batteries for small business: 1. Goto digitalocean.com or linode.com 2. Buy the smallest instance. 3. Install FreeBSD. 4. Let it run for the next 2…

  13. comment
    Comment #23162238

    Is it WebGL?

  14. comment
    Comment #23137922

    The Rust is 10% slower metric I think is unfair. If you look on godbolt, the LLVM IR that rustc emits isn't that great, so LLVM has to take some extra time to optimize that, compar…

  15. comment
    Comment #23105867

    Epic HTML hacker here

  16. comment
    Comment #23015158

    HS student here. Our district made the decision to keep grades, or you can apply to drop distance learning if you meet certain circumstances. This is incredibly frustrating for me …

  17. comment
    Comment #22992848

    My point was more along the lines of the code bloat that comes from essentially emulating a web browser on system, when in reality you can write much faster code in C/C++ or even C…

  18. comment
    Comment #22992498

    I disagree. Headless code on a single server can still be very difficult. For instance, nginx, mariadb, etc, which allow the frontend to function well, are difficult to write. You …