HNHacker News
TopNewBestAskShowJobs

shangxiao

694 karma · joined June 17, 2013

submissionscomments
shangxiao··on GitHub has 11,995,200 open issues
It's a pattern to prevent information leakage
shangxiao··on Usborne 1980s computer programming books for kids become free downloads
I'm fairly certain that the book "Practical things to do with a Microcomputer" I had when I was a small child was partly responsible for my career in Software Engineering, even though as a teenager I hated computers and just wanted to become a mechanic.
shangxiao··on Corporations and OSS Do Not Mix
Not to mention that Tom Christie raised £32,650 for DRF 3 https://www.kickstarter.com/projects/tomchristie/django-rest... :)
shangxiao··on Immutable Infrastructure: No SSH
> Vulnerabilities like ShellShock simply vanish

I'm actually surprised at the naivety of whoever wrote this. I'm not an op at all and I understood enough about ShellShock to know that this isn't correct at all.

shangxiao··on React on ES6+
Not yet supported afaik [1]. I've used react-mixin [2] with some success.

[1] https://facebook.github.io/react/blog/2015/01/27/react-v0.13...

[2] https://github.com/brigand/react-mixin

shangxiao··on Suddenly, a leopard print sofa appears
I really couldn't comprehend what that was all about and had to go read a Vice article about him to understand
shangxiao··on Server-side browsing considered harmful [pdf]
It's funny reading this after the article about banning PowerPoint[1] and being instantly reminded of why it should be banned.

[1] https://news.ycombinator.com/item?id=9606345

shangxiao··on The Way We Look at Technical Debt Is Wrong
Not only that but I've found SPAs to be more complex than their traditional counterparts, mainly due factors like: the extra layers & complexity involved, churn rate of & lack of maturity in JavaScript frameworks, lack of integration with backend of choice. Of course there are advantages to SPAs and this generally is my choice of architecture, however I definitely wouldn't say that SPAs are more agile at all.
shangxiao··on Pure Python Vim clone
vs random memory bugs that will fail randomly at runtime ;)
shangxiao··on Choose Boring Technology
Only the people like you who would take that literally would need counselling.
shangxiao··on Costa Rica Is Now Running on 100% Renewable Electricity
The title "Running on 100% Renewable Electricity" in no way suggested to me that they are talking about anything other than grid electricity.
shangxiao··on Choose Boring Technology
Postgres is definitely not boring as there is a lot of interesting stuff happening with this database. I think the author here should really be making the distinction between sexy & unsexy.
shangxiao··on Stop using tail -f (mostly)
A bunch of blank lines is a lot more grokable than timestamps lost in a bunch of text.
shangxiao··on Dot matrix printer playing “Eye of the Tiger” [video]
It's pretty much in line with my definition of hacking: https://en.wikipedia.org/wiki/Hacker_(hobbyist)
shangxiao··on GitHub under ongoing DDoS attack
sigh go look up the definition
shangxiao··on GitHub under ongoing DDoS attack
PRC is not (yet) a superpower.
shangxiao··on Drones and the rise of the high tech assassins
I guess the people who downvoted this like to ignore the facts hey.
shangxiao··on Drones and the rise of the high tech assassins
Let's not ignore the disgusting gun-ho attitude of these "pilots" who are looking for any excuse to pull that trigger and ignoring any possibility that these were civilians.

"I was hoping we could make a rifle out. Never mind."

"Yeah, review that shit . . . Why didn’t he say possible child, why are they so quick to call fucking kids but not to call shit a rifle."

shangxiao··on New-less JavaScript (2013)
'new' is a source of confusion for newbies and experienced devs alike, sufficiently enough for them to ask questions on SO: http://stackoverflow.com/questions/9468055/what-does-new-in-...

Even I have to refresh my memory on these ambiguous parts of the language from time to time.

shangxiao··on ANNE Stack – Angular JS, Node, Neo4J and Express
Angular: meh

Express: no

Neo4J: rather not

Node: fuck no

My point: your opinion is exactly that... everyone has their own, and it's as useless as mine, in these comments, until you add some weight behind it.

shangxiao··on Blink - Intent to deprecate: Insecure usage of powerful features
The point of that article was that people don't notice subtle changes, especially when their not tech savvy/tired after a long day of work/whatever. Also someone pointed out in the comments that some people tend to ignore changes and click on whatever to get to their destination.
shangxiao··on Comodo ships Adware Privdog worse than Superfish
Yeah but you don't expect shady software from a company that's supposed to be protecting us.
shangxiao··on How Lucas, Spielberg and Kasdan Created 'Raiders of the Lost Ark' (2013)
There's also something about the sound effects in the modern Star Wars films that sound so fake & made up. There was a post on HN a few weeks ago about how the Millenium Falcon's hyperdrive sound was a mashup of actual sound recordings.
shangxiao··on Password cracking experts decipher elusive Equation Group crypto hash
> is this basically just running billions of text passwords through the md5 algorithm and comparing the results with the unknown string?

Yes: "using a computer that tried more than 300 billion plaintext guesses every second"

The Arabic version was obtained by doing an educated guess based on the English version

shangxiao··on Programmer proverbs
I take it to mean that you'll be the first person to smoke test changes
shangxiao··on Programmer proverbs
These are quite good, source? I've heard of most of in one form or another from different people.
shangxiao··on Programmer proverbs
I guess this is a problem with proverbs: lack of context. For architectural design or requirements elicitation it's all about improving with iterations. However with detailed design you can be quite precise and shouldn't just wing it.
shangxiao··on Programmer proverbs
Unfortunately I only agree with a handful of these particular proverbs. The set of proverbs that I've found are truly useful to programmers would be "The Zen of Python" (open a Python session and run `import this`)

The Zen of Python:

    Beautiful is better than ugly.
    Explicit is better than implicit.
    Simple is better than complex.
    Complex is better than complicated.
    Flat is better than nested.
    Sparse is better than dense.
    Readability counts.
    Special cases aren't special enough to break the rules.
    Although practicality beats purity.
    Errors should never pass silently.
    Unless explicitly silenced.
    In the face of ambiguity, refuse the temptation to guess.
    There should be one-- and preferably only one --obvious way to do it.
    Although that way may not be obvious at first unless you're Dutch.
    Now is better than never.
    Although never is often better than *right* now.
    If the implementation is hard to explain, it's a bad idea.
    If the implementation is easy to explain, it may be a good idea.
    Namespaces are one honking great idea -- let's do more of those!
shangxiao··on A Software Engineer’s Adventures in Learning Mathematics
I obtained my degree in Software Engineering at a university where engineering grade mathematics and physics were mandatory subjects.

It really annoys me that I spent 4 years studying this to find that other people who scrape together snippets of JavaScript & PHP feel entitled to call themselves an "engineer".

shangxiao··on Over 20 designers have copied my website and I don't mind
What I find amusing is the fact that quite a few people didn't even bother to change the designer blurb, which to me suggests they know absolutely f all about design and hints at why they find it necessary to copy in the first place.
← PreviousPage 3 of 9Next →