back
user profile
yen223
8,230karma·2,954submissions·June 6, 2012
about
Just another software guy.
Website: https://weiyen.net
Bluesky: https://bsky.app/profile/weiyen.net
recent activity (2,954 total)
comment
Scratch resistance and toughness are orthogonal to each other. Even diamonds will crack when applied with a certain force. From what I understand, Gorilla Glass is only scratch-proof, not tough.
comment
But he's right, the current Python website looks a lot better than some other websites coughPHPcoughGocough My 2 cents, I really like Nodejs's website. Closer to Python, I'm really digging the websi…
comment
Organic molecules simply refer to carbon-based compounds. They don't necessarily have to be biological in nature.
comment
Sometimes style is substance.
comment
Having stayed in Melbourne for a while, I am honestly not surprised. Melbourne's climate is normally rather mild, but their short summer periods are brutal .
comment
The cynic in me has to ask: what does PG&E stand to gain from making houses more energy-efficient?
comment
I recall stories of companies who refuse to hire single men as salesmen for this reason.
comment
Gottfried Leibniz "invented" calculus around the same time as Newton. Indeed, the dy/dx notations were Leibniz's.
comment
Chinese medicine doesn't even have a concept of microorganisms, or cells -- things which we now know are pretty fundamental to knowing how a human body works. When you say it is wrong to simply declar…
comment
That can't be Perl, I actually understood it.
comment
Out of curiosity, is there any usability study which demonstrate this?
comment
I have learnt the true value of humility: it gets you nowhere.
comment
The biggest irony: the HN site itself can hardly be considered 'polished'. I mean it still uses the <center> tag!
comment
Maybe he did a password reset, and they sent him his actual password.
comment
Unfortunately this is not correct. If you run for (int x = 0; x < 10; x++)
{
i += i++;
Console.WriteLine(i);
}
i is always 0.
comment
Why did they close the question?
comment
It's a bit more subtle than that. i += i++;
Console.write(i);
could print 0, 1, or 2 depending on the order in which i++
and i += <value>
is evaluated. From the winning …
comment
The full quote from the article covers your concern. > "A spokesman from the service told Australian newspapers that while some map makers intentionally include phantom streets to prevent copyrigh…
comment
To be fair, ever since China was inducted into the WTO, they have abandoned any pretense of running a communist system. Their government now seems to have taken the worst parts of capitalism, and mixe…
comment
Sorry for the snark. I'm merely pointing out that the real world is a lot more nuanced than "Big design bad! Agile good!"
comment
The first iPhone is also bridge #1. An overly-designed gizmo that no one needed at the time. Hence its massive failure.
comment
"How do we know the government wasn't behind John F Kennedy's assassination? Because he's actually dead."
comment
That is actually a rather clever solution. I guess you could do the same in Python, using itertools. That said, I guess I should rephrase my question: Is there a simple programming test that can help …
comment
Same way we determine what constitutes obscenities: "I know it when I see it".
comment
That's true. "Good enough" can range from "it runs" to "written in a well-structured, maintainable manner". Most people choose to stop at #1, and that's fine. Until you have to fix the damn thing.
comment
Is there a non-mathematical version of the FizzBuzz test?
comment
Whenever I'm stuck fixing a horrid mess of buggy legacy code, it always strikes me that the code was someone else's idea of "good enough". That's why I no longer subscribe to that mantra.
comment
Based on the movies, I would think that a Batman supporter would be in favour of a warrantless surveillance bill.
comment
Are you talking about local clients, or do you have to take on international clients?