Live data from Hacker News

Viewing profile — gbog

gbog

HN member
Joined
Sat, Jun 12, 2010, 3:30 PM UTC
HN karma
3,461
Public activity
1,852 items

About gbog

Hacking at douban.com, Beijing. Guibog (gmail).

Recent public activity

  1. comment
    Comment #30751313

    I would call code coverage "good" when I trust that: - When I change the logic of a statement somewhere in the code, at least one test will fail in the suite. A high % in a test re…

  2. comment
    Comment #30328305

    I was very interested by the question, and closed the page after skimming through the first screen: why is there any need to scenarize? why would I want to read about some guys in …

  3. comment
    Comment #29412332

    Maybe I was wrong but what I understand by "hug" is the fact to hold someone chest to chest, arms on the back of each other. I do not mean kids being held in the arms of their pare…

  4. comment
    Comment #29401531

    Best hug for me is no hug, thanks. I would bet 95% of the human beings never hugs except between lovers or parents and their kids. I would bet hug is very much a North American thi…

  5. story
  6. comment
    Comment #21046177

    Gooey is nice, it could help in a wish I have had since foreveR and is the contrapositive: a way to convert any action I do on my Xubuntu UI into a command line. Example: I pop the…

  7. comment
    Comment #18900757

    A long bunch of tests for a python RPC I was writing. My boss did rewrite the core code against the tests, so I could merge his code without even understanding it fully. And until …

  8. comment
    Comment #17534372

    I used recent speakers as simple Bluetooth speakers for a few years, and recently exhumed my old loudspeakers, those classic wooden box pairs with cables and rotative potentiometer…

  9. story
  10. comment
    Comment #15851019

    Here on HN we need to back such affirmations with data. The bolder the affirmations, the more solid the data-backed proof need to be. If we were to exchange "philosophical" conside…

  11. comment
    Comment #15633199

    Yes. But what's striking me is that one woud ever want to test only one input state. If I have to test function f(x) and see if its output is as expected, I always want to test man…

  12. comment
    Comment #15629343

    My favorite feature of pytest is pytest.mark.parametrize, which makes it easy to do table driven testing.

  13. comment
    Comment #15526643

    Distance is no weasel word. China historically interfering with Korea or Vietnam is natural as it's neighbors and problems of one side of the border leaks on the other side, and cu…

  14. comment
    Comment #15471247

    It's a good idea to question assumptions. And to me living in China since Hu, the main difference is that Chinese people themselves perceive Xi as much stronger than his predecesso…

  15. comment
    Comment #15434568

    That's not bread, that's sliced industrial cake branded as bread sold in wharehouses. Get your bread from a boulangerie and slice it yourself. And yes, buy no "pasta sauce" because…

  16. comment
    Comment #15428223

    > how much stuff has added sugar I depends on what is "edible stuff" to you. Carrots, meat, cabage, fish, etc. have no added sugar in them. Why not simply cook your food, like most…

  17. comment
    Comment #15427733

    Maye it is "unique" but then just because it is the simplest design possible. T-shirts are just T-shirts with nothing special, even no "tickets" (the shitty piece of cloth with all…

  18. comment
    Comment #15427729

    I live in Beijing and there, for the few I know (because I never shop elsewhere), clothes in Muji are good quality, simple functional design, and relatively cheap.

  19. comment
    Comment #15427185

    North Korea is a good inverting mirror of our modern societies, and there is always something of inspiration in the diametrically opposite. I, for one, would welcome a brandless pa…

  20. comment
    Comment #15303829

    Is it only me or this looks like a Macron-effect? I mean, President Macron did show to the world it was possible for a young fellow to hijack the elections, even in a (relatively) …

  21. comment
    Comment #15269602

    3) Do not care at all, and consider that our bodies are pretty well tuned to handle such thing as a few particles of foreign excrement (or other dirty things). Seriously, we have b…

  22. comment
    Comment #15137996

    Well I disagree. The background music on transitional slides can be removed. The rethorical questions ("let's pretend we do not know about digital audio") are just time fillers. Wa…

  23. comment
    Comment #14987851

    Also, “Google memo” threads seem to be buried very quickly on HN, which is the only place I imagine where this discussion can be held between consenting adults, how come?

  24. comment
    Comment #14987846

    > "demonizing people creates demons" I had exactly the same impression with racism a couple decades ago in France: I met a few young guys saying on purpose a lot of racist clichés.…

  25. comment
    Comment #14834235

    Some people are happy to shoot themselves in the feet (looking at your brexit) but I don't think Chinese are like that. Stopping right now all English courses in China would be har…