Live data from Hacker News

Viewing profile — shangxiao

shangxiao

HN member
Joined
Mon, Jun 17, 2013, 10:39 AM UTC
HN karma
694
Public activity
262 items

About shangxiao

No profile information was provided.

Recent public activity

  1. comment
  2. story
  3. comment
    Comment #36426936

    You don't have to use VimScript, you can write your Vim plugins in Python if you wish.

  4. comment
    Comment #34758189

    I was also surprised the first time I heard you can safely burn explosives: I was reading some comments on the Vietnam war from veterans talking about how they used to heat their m…

  5. comment
    Comment #33876891

    > It is funny people can't envision things breaking... This is what enraged me about the Therac-25 design which ended up killing people. There's a whole report to read on the desig…

  6. comment
    Comment #33419709

    Incidentally most of them _are_ focusable by the keyboard but just aren't tabbable. I'm using a Chrome plugin Vimium - one of the shortcuts 'f' (documented as opening links) actual…

  7. comment
    Comment #28836910

    "Good practice" is also common in English. When folks use the term "Best Practice" I often ask them whether they in fact mean the former.

  8. comment
    Comment #28808390

    Couldn't be further from the truth, see my reply.

  9. comment
    Comment #28808387

    Typer looks neat. I don't think it was well-established when I started on this, there were quite a few offerings but the only one I managed to find was python-fire. It didn't quite…

  10. comment
    Comment #28807793

    I don't have a startup but I did make a useful little Python library while at my previous job to help ease the pain with using argparse to make CLIs. It's called bargeparse [1]. Th…

  11. comment
    Comment #28418094

    Mainstream news outlets have been caught doing this. Australian ABC News (government funded) deceptively edited a Navy ceremony that showed the Governor-General & Navy Chief ogling…

  12. comment
    Comment #25075249

    Nice! Slight nitpick: Django should automatically create the Hstore extension for you [1] during migrate whenever you use a HStoreField [1] https://github.com/django/django/blob/f5…

  13. comment
    Comment #25074984

    I'm quietly hoping they'll ask him to work on a typescript-style of project that adds static typing as a layer on top of Python :)

  14. comment
    Comment #25074852

    "Professional use" just means to use in your profession, not that they are claiming to be an IT expert.

  15. comment
    Comment #21056731

    I feel like we're just transferring the labour from ops to dev though. Where I work we still haven't got as good a development workflow with lambdas as we did with our monolith (Dj…

  16. comment
    Comment #18995127

    What about future Microsoft? :)

  17. comment
    Comment #18485250

    yeah nah…

  18. comment
    Comment #18467184

    I'm curious to know what it is about each of the strings that makes it naughty. A comment next to each one describing what it's supposed to be testing would be great.

  19. comment
    Comment #17833174

    Yes, that's correct. At 300km, Steve would be situated within the thermosphere [1] > The highly diluted gas in this layer can reach 2,500 °C (4,530 °F) during the day. Even though …

  20. comment
    Comment #17414705

    ORMs are good for 90% of your use cases, the rest I'm happy to use SQL for. I could attempt to deconstruct the ORM problem, but Martin Fowler had a nice article [1] on replying to …

  21. story
  22. comment
    Comment #16246355

    She actually had another crack at it where it looked as though she studied the lyrics harder as she does quite a good job [1] https://www.youtube.com/watch?v=uEbV5M59Xc8

  23. comment
    Comment #16231225

    Nobody is downvoting to win a petty fight. It just looks like you haven't understood the thread of the conversation and are trying to argue about something when there is no argumen…

  24. comment
    Comment #16230743

    This is a bit easier to grok: http://www.timescale.com/how-it-works (if you're new to this like me)

  25. comment
    Comment #16156855

    According to Merriam-Webster [1] "rackless" is a variant of "reckless". [1] https://www.merriam-webster.com/dictionary/rackless