Live data from Hacker News

Viewing profile — davelee

davelee

HN member
Joined
Wed, Feb 21, 2007, 7:27 PM UTC
HN karma
27
Public activity
16 items

About davelee

No profile information was provided.

Recent public activity

  1. comment
    Comment #46489689

    I know this as Hyrum's Law (which also comes from a Googler): "With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable beha…

  2. comment
    Comment #45772597

    I use the `%f` format option. I have a `bn` alias ("branch name"): git show --no-patch --format=%f [ ]

  3. comment
    Comment #44671205

    I've only been to Italy once, and Riva del Garda is one of the places I visited. Funny to see it called middle of nowhere. Grappa is delicious, yet it is surprising to see that it'…

  4. comment
    Comment #42571984

    For lldb, checkout the `sif` command. It lets you step into a specific function by name. If the current line is `doFunStuff(a(), b())`, and I want to step past the a and b function…

  5. comment
    Comment #42226341

    Swift calls these precondition() and assert(). Preconditions are enabled in release (and debug) builds, and asserts are enabled in debug builds only.

  6. comment
    Comment #34428982

    A less common extension is .pro.

  7. comment
    Comment #20794229

    I've had this experience earlier this year. It's great, and I too mention it when I can. For me, it's often a nicer alternative in cases I might otherwise consider SQL in some way.…

  8. comment
    Comment #20777658

    I think that would be per file/translation unit. These values are unique across a linked binary.

  9. comment
    Comment #20774511

    I've used this feature to create constants that are unique IDs.

  10. comment
    Comment #19122861

    Tip cash?

  11. comment
    Comment #17814517

    Terrible opinion.

  12. comment
    Comment #7155826

    > This probably isn't the right place to discuss the article yeah, you're probably right.

  13. comment
    Comment #7155133

    It really sucks that this is the top comment. To use the cliche: This is why we can't have nice things. Please consider the following as a more frank replacement tl;dr: "My promise…

  14. story
  15. comment
    Comment #2385458

    after reading it online, I preordered it right away (last December). Had to get some money in Miran's account. Glad it's done and ready to go.

  16. comment
    Comment #773654

    I wanted to try Potion, it might be too late now.