Live data from Hacker News

Viewing profile — garybernhardt

garybernhardt

HN member
Joined
Tue, Nov 10, 2009, 7:41 PM UTC
HN karma
124
Public activity
26 items

About garybernhardt

No profile information was provided.

Recent public activity

  1. comment
    Comment #3516868

    It's on the front page, but at the bottom. DAS is a small one-man business, so I did the design myself (and I'm not a good designer). Sorry about that. :)

  2. comment
    Comment #3516754

    It's a joke. Relax.

  3. comment
    Comment #3516692

    I like the sliced screencasts because they're so repeatable. I practice my talks a lot, and I can get the timing down perfectly because it's always the same. Highly recommended. :)…

  4. comment
    Comment #3516667

    No, it's more subtle than that. By wrapping in parenthesis, you're making it an expression. When you just say "{}+[]" in e.g. Chrome, the first {} is parsed as a block. So what you…

  5. comment
    Comment #3516604

    There's no laugh track; that's the audience.

  6. comment
    Comment #3516591

    It's Keynote. I recorded those sessions as screencasts, then sliced them into tiny pieces so I can advance them perfectly with my talking. There are 37 slides in that four-minute t…

  7. comment
    Comment #2964140

    I could port it to Python if you want? ;) I probably wouldn't have done this when Python was my main language, though. That community has a much harder time laughing at itself than…

  8. comment
    Comment #2964055

    Done: https://github.com/garybernhardt/base/commit/65e8ca5d432be72...

  9. comment
    Comment #2963642

    I was tempted to leave the disclaimer off, both in the README and the blog post. But I think there's a strong enough chance of someone actually using it as it is... ;)

  10. comment
    Comment #1997600

    You can just create a new branch before you start the rebase, which achieves exactly the effect you ask for. Rebase is how you "create a new branch with only the clean commits". Bu…

  11. comment
    Comment #1997380

    I don't rebase everything. Merges still have their place. An early draft of this post talked about the relationship between rebase and bisect, but I cut it out to focus on one topi…

  12. story
  13. comment
    Comment #1566861

    This is my personal list of RSS feeds, which I've been curating for many years, so I knew exactly what data was coming. It was a one-time hack: it got my RSS feed list into the dat…

  14. comment
    Comment #1479674

    JSON syntax is Python/Ruby primitive syntax for lists and strings (although the reverse isn't quite true). Why add a library import and additional code on each side just to emit an…

  15. comment
    Comment #1478979

    I considered using Vim at the time. The nice thing about doing it all on the command line is that it's repeatable and persistent. I have a huge shell history, and that command will…

  16. comment
    Comment #1478901

    I don't think that Google Reader can export as JSON... ?

  17. comment
    Comment #1356479

    Also, MQ's "qdel" command is the one that led to the data loss mentioned in the original blog post. So it doesn't really answer my concerns. :)

  18. comment
    Comment #1356126

    I often do it multiple times per minute. That wouldn't fly if each required a clone. :) (See another post I made in this thread for what I'm doing that involves so much history mut…

  19. comment
    Comment #1356123

    Yep – and I did it all, using those tools, for a couple of years. :) Now, when I go back to Mercurial (which I know better than Git, mind you), I get frustrated. Those tools are mu…

  20. comment
    Comment #1354999

    Git gives me everything I needed MQ for, but with the complete safety of the reflog. There is no such thing as a change I can't undo. The fact that patch management is "special" in…

  21. comment
    Comment #1354689

    Did you read the end? ;) """ I'm sorry for recommending software with a confusing interface. But you'll be spending a lot of time with it; it's worth getting over the initial hurdl…

  22. comment
    Comment #1354684

    The command that lost data was hg qdel. Strip won't lose data; it dumps bundles (although they're a pain in the ass to restore from). Like I said, I used Mercurial for three years.…

  23. comment
    Comment #1354663

    Augie, I understand what you're saying, and I don't buy it. Git, when taken as a full DVCS capable of rewriting history, is safer than Mercurial, when taken as a full DVCS capable …

  24. comment
    Comment #934400

    I'll think about it. With the awful response from Reddit [1], I'm not sure that I want to make another go at it. :) We'll see. To respond to your example, I'd almost certainly go w…

  25. comment
    Comment #933799

    This post was aimed at the person who is interested in TDD, but hasn't had their first big insight into how it works. It's about "do the simplest thing", not about a full TDD proce…