Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cidquick
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
cidquick
5y ago
0, the Medallion fund is capacity constrained.
2.
▲
by
cidquick
14y ago
The problem is that you've entirely missed the point. The code solves the problem. We don't care about recreating grayscale to match human perception, or whatever, we care about solving the answer placed in front of us.
3.
▲
by
cidquick
14y ago
Sorry, it was late!
4.
▲
by
cidquick
14y ago
http://www.jwandrews.co.uk/2013/01/breaking-the-minteye-imag... OK, I didn't write the JPEG decoder, but how far do you want me to go?!
5.
▲
by
cidquick
14y ago
My turn to nitpick! RGB to grayscale: V = r x g x b/3 (one line). The Sobel operation is at most 4 nested loops (really only 3) for a total of ~7 lines of code, depending on how you like your white space. Fold the summation into your Sobel
6.
▲
by
cidquick
14y ago
Well put. The title is indeed completely factual! Including '23 lines' was just to let people know at first glance that the solution is simple. > If you had to write the un-swirling, gray-scaling, Sobel filtering and summation code in P
7.
▲
Breaking the MintEye image CAPTCHA in 23 lines of Python
(jwandrews.co.uk)
129 points
by
cidquick
14y ago
|
56 comments