Viewing profile — shangxiao
shangxiao
HN member- Joined
- Mon, Jun 17, 2013, 10:39 AM UTC
- HN karma
- 694
- Public activity
- 262 items
- HN profile
- View on Hacker News ↗
About shangxiao
No profile information was provided.
Recent public activity
- comment
- story
-
comment
Comment #36426936
You don't have to use VimScript, you can write your Vim plugins in Python if you wish.
-
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…
-
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…
-
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…
-
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.
-
comment
Comment #28808390
Couldn't be further from the truth, see my reply.
-
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…
-
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…
-
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…
-
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…
-
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 :)
-
comment
Comment #25074852
"Professional use" just means to use in your profession, not that they are claiming to be an IT expert.
-
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…
-
comment
Comment #18995127
What about future Microsoft? :)
-
comment
Comment #18485250
yeah nah…
-
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.
-
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 …
-
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 …
- story
-
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
-
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…
-
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)
-
comment
Comment #16156855
According to Merriam-Webster [1] "rackless" is a variant of "reckless". [1] https://www.merriam-webster.com/dictionary/rackless