HNHacker News
TopNewBestAskShowJobs

merrywhether

700 karma · joined March 22, 2015

[ my public key: https://keybase.io/merrywhether; my proof: https://keybase.io/merrywhether/sigs/0nWXm1fsES2oYMyB6NZ6FLwy6BkpntD8eTAjK3PVtfA ]
submissionscomments
merrywhether··on CSS Modules
Regarding your first point, he addresses that in the next section:

"The composes keyword says that .normal includes all the styles from .common, much like the @extends keyword in Sass. But while Sass rewrites your CSS selectors to make that happen, CSS Modules changes which classes are exported to JavaScript."

And isn't file (module) naming and directory structure what we use to organize regular code? I like the idea of going to the components folder and looking for the 'submit button' file when I need to alter something much more than searching a 20,000 line css file or randomly split scss files. Even nicer is the concept of including your styles in the same directory as the components they define, further mirroring normal code organization. It seems like this would allow for much easier onboarding into a project.

merrywhether··on Edward Snowden at IETF 93
I'm always struck by the strange cognitive dissonance US law has for corporate whistleblowers vs governmental whistleblowers. How can you recognize the value of one while dismissing the value of the other? It's not like a whistleblower defense is a get-out-of-jail-free card either, as you must prove that what you did was actually in the public interest. It's a shame that there's no movement for reform in this area, because ultimately it would be very interesting to see Snowden return to the US for a "fair trial" and see the public response (both within the US and globally) to the outcome.
merrywhether··on Court rules drug dog barely more accurate than a coin flip is good enough
I think the coin-flip analogy comes from the idea that once an officer thought you had drugs, he/she was about 55% right (not accounting for false negatives). The dog alerted most of the time, thus allowing for search to confirm or deny the suspicions. Thus the dog gave no real information and the officer was the coin, but the reporter conflated these success rates.
← PreviousPage 8 of 8