750 karma · joined July 31, 2012
Log in.
Yahoo Answers has terrible answers. Reddit is full of trolls. HN is technology only and requires a lot of effort to get attention, most submissions die at one or two points. StackExchange's model is great for technical and highly specific questions, but its approach doesn't work well for the sort of questions Quora does.
Where else on the internet can you ask and get great responses to these questions?
- How can I explain SQL injection to my grandmother? http://www.quora.com/SQL-Injection/How-can-I-explain-SQL-inj...
- How can Delhi be made safe for women? http://www.quora.com/New-Delhi-India/How-can-Delhi-be-made-s...
- What should I do to get over my fear of public failure? http://www.quora.com/What-should-I-do-to-get-over-my-fear-of...
- Is there a physical, theoretical limit to how accurately one can measure the speed of light? http://www.quora.com/Is-there-a-physical-theoretical-limit-t...
(btw sent from the news:yc app).
Turns out there's a reason XSS is so often mentioned. Even Dropbox and Facebook fell prey to it (although in this case the input wasn't from the web, but rather from their desktop application/service partner).
Text after a blank line that is indented by two or more spaces is reproduced verbatim. (This is intended for code.)
Can somebody explain the joke?
IF:
def method (object)
if object.property
param = object.property
else
param = default_param
end
end
Claimed to be IF-less: def method (object)
param = object.property || default_param
end
It may be easier to read, but in the end you are still writing an IF statement.Also, have you published that Backbone tutorial you were working on yet?
@sbartholomew: @dhh the the Rails community has it relatively easy: http://article.gmane.org/gmane.linux.kernel/1414106 … :-)
ROFL, DHH has cajones.
var account = {
balance: undefined,
deposit: function(amount) {
return balance += amount;
}...
}I suggested swiping horizontally on a comment would collapse the children.
Because of its simplicity, I use it much more than I use the actual HN website.
I've even emailed chpwn (Grant Paul) the creator of the app with ideas for making it better and he was very quick to respond and sincerely consider my suggestions. In the end he chose not to use them, as he feared the UI implementation would not be intuitive.
Why is everybody falling for this? It looks so fake!