Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nokcha
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
241.
▲
by
nokcha
15y ago
This is actually a hard problem in the general case, and it is an active area of research. One promising approach is static taint analysis , wherein the source code of a web app is analyzed to detect whether "tainted" output is given to a
242.
▲
by
nokcha
15y ago
>... the creator would have a limited right of refusal for e.g. political or pornographic derivative works... A law that explicitly discriminates against political works would likely violate the First Amendment. See, e.g., R.A.V. v. C
243.
▲
by
nokcha
15y ago
>pie charts beyond about three wedges are utterly useless to the colorblind The problem lies in using a color-coded legend, not in using pie charts per se . The slices of a pie chart can be labelled directly (instead of indirectly via
244.
▲
by
nokcha
15y ago
I've read and would recommend Linear Algebra Done Right by Sheldon Axler. http://www.amazon.com/Linear-Algebra-Right-Sheldon-Axler/dp/... For numerical aspects of linear algebra (and other subjects), I've found Numerical Recipes to b
245.
▲
by
nokcha
15y ago
Perhaps I'm missing something, but it seems that under Section 6 of GPL, a former violator could get a new license by simply receiving another copy of the software from anyone who still has a valid license: > 6. Each time you redistrib
246.
▲
by
nokcha
15y ago
Are you using vim from inside a terminal? If you use the graphical version of vim (gvim), the "between two characters" cursor is used in Insert mode and the "highlight the current character" cursor is used in so-called "Normal" mode. (In
247.
▲
by
nokcha
15y ago
>Software patents are ... not a constitutional question A constitutional argument could be made that software is not covered by the term "useful Arts". In fact, Justice Scalia suggested that the business-method patent in Bilksi might
248.
▲
by
nokcha
15y ago
>Who cares about urls? Google does. If you have a non-descriptive URL, you're missing out on an opportunity for search-engine optimization.
249.
▲
by
nokcha
15y ago
>If you hash passwords in javascript, a middleman could easily just look up the source of your application and decrypt the hashed password coming over the wire. Hashing ≠ Encryption. Unlike encryption, where an encrypted message is inte
250.
▲
by
nokcha
15y ago
Justice Scalia considers historical exceptions that were accepted at the time that the First Amendment was ratified. His view is that there was such an exception for "obscenity", but not for violence.
251.
▲
by
nokcha
15y ago
> Then they sent a DMCA takedown notification notification to someone they were just trying to censor... That's not true. They used an admin control to disable public sharing of a file in DropBox; this procedure apparently is typically
252.
▲
by
nokcha
15y ago
For web security, I'd recommend checking out this question on Stack Overflow: http://stackoverflow.com/questions/72394/what-should-a-devel... Also the OWASP top ten vulnerabilities: https://www.owasp.org/index.php/Category:OWASP_Top_Ten
253.
▲
by
nokcha
15y ago
In the US, consumer liability for fraudulent withdrawals from bank accounts is generally limited to $500 by federal law, provided that the consumer detects the fraud and notifies the bank within 60 days. The bank is responsible for the amo
254.
▲
by
nokcha
15y ago
I think you misunderstood my comment. It is legally impossible for a state law to pre-empt a valid federal law. However a state law may, in certain situations, enact additional regulations on types of conduct already covered by fe
255.
▲
by
nokcha
15y ago
Indeed, although giving a discount for paying with cash is often allowed. (Customers generally hate hidden fees more than they hate missing out on a discount.)
256.
▲
by
nokcha
15y ago
>CA has a specific law that pre-empts CAN-SPAM A state law cannot pre-empt a federal law; when a federal law and a state law are in conflict, the federal law takes precedence over the state law. (U.S. Constitution, Article VI, Clause 2
257.
▲
by
nokcha
15y ago
>The whole point of CSS is to take things like width="200px" out of the markup. I don't see how that's really an improvement in this particular case. In fact, I would say that using 'width="200px"' inline may actually be more readily u
258.
▲
by
nokcha
15y ago
>DMCA takedown notice is a legal threat. I think Drew was mistaken when he called it a "takedown notice". That term has a specific meaning, and judging from the linked article, what DropBox actually sent to the OP was not a takedown
259.
▲
by
nokcha
16y ago
In the US, the courts crafted the "suppression of evidence" doctrine as a remedy to violations of the Fourth Amendment right to be secure against unreasonable searches/seizures. The courts didn't have the power to punish the law-enforcemen
260.
▲
by
nokcha
16y ago
Having the calendar automatically switch modes between Depart and Return can be confusing at first in some cases. E.g.: (1) click Dec 15 for Depart date, (2) click the Return text field, then click Jan 5 as the Return date, (3) remember th
261.
▲
by
nokcha
16y ago
>Free speech != exposing classified documents. The Supreme Court has ruled that publishing classified material is, at least in certain circumstances, protected by the First Amendment's guarantee of freedom of speech and of the press.