Live data from Hacker News

Viewing profile — sam_bishop

sam_bishop

HN member
Joined
Fri, Dec 28, 2018, 12:19 AM UTC
HN karma
153
Public activity
15 items

About sam_bishop

No profile information was provided.

Recent public activity

  1. comment
    Comment #45177243

    I could read it once I forced my browser into light mode.

  2. comment
    Comment #44526935

    I've avoided #pragma once because of reports that it slows down gcc/g++: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58770 But given that I haven't seen any mention of that issue …

  3. comment
    Comment #43669930

    I'm not a compiler expert either, but I think LLVM IR is the way it is for the benefit of the optimizer. It wasn't intended to be written by humans, typically. It's more "portable"…

  4. comment
    Comment #43172303

    One of my beefs with Clean Code is its name. There is no objective measure of code cleanliness. So if "clean code" is your goal, then you have no meaningful criteria to evaluate al…

  5. comment
    Comment #40956720

    I'm an American who lived in the UK for a couple of years. They have many roundabouts there, and I love them. But now I live in an American town with a few, and I've realized that …

  6. comment
    Comment #40557615

    > If you’re storing doubly linked lists in a DB you’re doing it wrong. Assuming that the database uses B+ trees (like most do), then the database records themselves are very likely…

  7. comment
    Comment #38233444

    > But this is not TDD. That's true. Did you miss the part where I mentioned the "TDD process" versus the "TDD mindset"? > Whether your code is easily testable will be challenged by…

  8. comment
    Comment #38230531

    I don't use the proscribed TDD process very often, but I use the TDD mindset all the time to great effect. Listing out the tests you're going to write before you write the code (ev…

  9. comment
    Comment #37574094

    I've heard that the Hotspot JVM uses a bump allocator but don't know the details. I'm sure it's heavily optimized though, so I'm curious about how this compares.

  10. comment
    Comment #29322362

    Pooling objects (for the purposes of minimizing GC) is consider a bad practice in modern Java. The article suggests that compacting, generational collectors are a bad thing, but th…

  11. comment
    Comment #29321725

    I agree. The author seems to know quite a bit about Go and GCs, but doesn't seem to have much experience with Java. As a Java performance engineer, it sounds like he is comparing G…

  12. comment
    Comment #29302417

    I can't think of a really good computer analogy to explain stroads, but if I were to attempt it I would say that it's analogous to forcing everyone to use a CLI, for _everything_. …

  13. comment
    Comment #29294477

    It was a good idea to post this to HN. Back when I was an LLVM contributor I was using an email address from a provider who is no longer around. I had no idea that the LLVM maintai…

  14. comment
    Comment #29155962

    For what it's worth, in the state I live in it is legal for bike riders to treat stop signs as yield signs. It started in Idaho in the 80s and has been adopted by a growing number …

  15. comment
    Comment #18773936

    I'm a software developer. I like the idea of accessible web interfaces, but I have, and probably always will, work on user interfaces that have a relatively small user base compare…