Jul
2
awarded Curious
Jul
2
awarded Curious
Jul
2
awarded Curious
Jun
4
answered How do I completely disable bell in screen (both visual and audio)
Apr
24
awarded Yearling
Apr
24
awarded Yearling
Apr
4
comment Shortest distance between two line segments
There is a typo in the initial 'if segments_intersect' condition on line 6. It should be '...x22, y22): return 0' not '...y22, y22); return 0'. Also, be wary of integer math vs. floating point math. Thanks for the code snippet, besides the bugs, worked for me!
Mar
29
awarded Enlightened
Mar
23
comment What is the maximum size of a cookie, and how many can be stored in a browser for each web site?
+1 for actually answering the question.
Mar
19
awarded Popular Question
Mar
8
comment Python: Once and for all. What does the Star operator mean in Python?
To give some motivation coming from a C background, the * acts in an analogous way as the * operator in C, in that it 'dereferences' the variable. In python context, this means essentially 'removing the outer braces' of arrays or dictionaries.
Mar
4
comment Problems Between P and NPC
@ShreevatsaR, thank you, fixed
Mar
4
revised Problems Between P and NPC
mis interpretation of the problem, fixed.
Feb
25
comment Why does Fourier analysis of Boolean functions "work"?
Why is this answer so heavily downvoted?
Feb
14
awarded Popular Question
Dec
23
awarded Supporter
Dec
16
comment Lattice-based algorithms in practice
Not sure if this falls into the 'crypto' category, but it was used to break a crypto scheme based on subset sum. I've also seen 'MIMO' used in conjunction with LLL a lot, though I'm not sure if that's relevant.
Dec
16
comment Lattice-based algorithms in practice
@SashoNikolov, you should consider making that an answer. I believe in the original paper there was also simultaneous diophantine approximation, though I could be wrong about that.
Dec
15
comment Javascript: Simulate a click in <input type="file">
"security", "feature"
Dec
10
awarded Critic
1 2 3 4 5