Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ers35
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
ers35
14y ago
I also received that message.
62.
▲
by
ers35
14y ago
See http://news.ycombinator.com/item?id=4115159
63.
▲
by
ers35
14y ago
I am not the author. For "proof", see my many conversations on the G-WAN forum.[1] [1] http://forum.gwan.com/index.php?p=/profile/discussions/1053/...
64.
▲
by
ers35
14y ago
> If the string is readable over only some background colors, then it's written on a transparent-backed image, so the whole background-changing script can be ignored. Just OCR the image with the transparent background. The CAPTCHA image
65.
▲
by
ers35
14y ago
I am not the author of G-WAN. I am not claiming to have done anything. This whole thread is based on a misunderstanding. G-WAN does not have any CAPTCHA support. The example merely demonstrates how to use G-WAN's image generation API. The C
66.
▲
by
ers35
14y ago
Both you and the OP have misunderstood the purpose of the CAPTCHA example. See my post[1] for an explanation. [1] http://news.ycombinator.com/item?id=4113826
67.
▲
by
ers35
14y ago
If you are interested in benchmarks of G-WAN, see [1]. To run a benchmark yourself, see [2]. [1] http://gwan.ch/benchmark [2] http://gwan.ch/source/ab.c
68.
▲
by
ers35
14y ago
I do not have an example handy, so hopefully an explanation is enough. The CAPTCHA example has two parts: generating the CAPTCHA values and presenting them in a way that is easy for humans to solve, but difficult for computers. This example
69.
▲
by
ers35
14y ago
The CAPTCHA example is incomplete. It is missing the part that actually makes it difficult for robots to solve. The purpose of the example was to provide a list of ways to implement an effective CAPTCHA.
70.
▲
by
ers35
14y ago
[Reposted from http://news.ycombinator.com/item?id=4113609 ] That example is easy to solve because it is not using any of the provided techniques that makes it more difficult for robots to solve the CAPTCHA: "changing the HTML background c
71.
▲
by
ers35
14y ago
That example is easy to solve because it is not using any of the provided techniques that makes it more difficult for robots to solve the CAPTCHA: "changing the HTML background color based on: mouse cursor hovering, previous state or input
72.
▲
by
ers35
14y ago
G-WAN is not reserving sockets, it is being given access to more file descriptors. Any application which uses a large amount of file descriptors requires this.
73.
▲
by
ers35
14y ago
Adding more servers costs money. Doing more with less saves money. See page 2 of http://gwan.ch/archives/g-wan_case.pdf .
74.
▲
by
ers35
14y ago
The first can be proven with the provided benchmarking tool.[1] As for the second, I agree that the source of those "units sold" should be cited. [1] http://gwan.ch/source/ab.c
75.
▲
by
ers35
14y ago
If you list the claims you feel are far fetched, I can try to provide evidence to support them.
76.
▲
by
ers35
14y ago
I wrote the Lua, Go, and Python examples handlers. JavaScript, Lua, and Python can be linked directly with the server for performance you would not get via separate processes. I had more difficulty with Go, which you can read about on the f
77.
▲
by
ers35
14y ago
Here are some reasons: * G-WAN is not open-source, so people (justifiably) resist trying it. * It lacks software that takes advantage of the platform. * G-WAN gets limited coverage on news sites. (it's banned from Wikipedia for exam
78.
▲
by
ers35
14y ago
> That this is termed "an optimization" terrifies the shit out of me. What word do you suggest I use to describe configuring a program to have access to more sockets? > Even moreso than the whole "hey, run it as root, broseph!" part
79.
▲
by
ers35
14y ago
PHP support is important for backwards compatibility. This is one reason why I am implementing FastCGI. See [1] for reasons why PHP+FastCGI is a poor choice in 2012. [1] http://gwan.ch/en_fastcgi.html
80.
▲
by
ers35
14y ago
G-WAN does not require any installation and you do not need to run it as root. If you run G-WAN as root, it will automatically apply certain optimizations such as giving itself access to more than 1024 sockets. Remove sudo and the examples
81.
▲
by
ers35
14y ago
Here are a few reasons: * A small, yet useful set of core APIs (http://gwan.ch/api) * Applications are recompiled on the fly when a change is made * A "no compromises" attitude to performance and software design * It supports lega
82.
▲
by
ers35
14y ago
The license can be found in the manual[1] and is included with the software.[2] [1] http://gwan.ch/archives/gwan_linux.pdf [2] http://gwan.ch/download
83.
▲
by
ers35
14y ago
You do not have to pay any money to run G-WAN.[1] G-WAN is not merely a "hello world" server. See [2] for the API features and [3] for more details. [1] http://gwan.ch/download [2] http://gwan.ch/api [3] http://gwan.ch/archives/gwan_linux
84.
▲
by
ers35
14y ago
Tests [1] and [2] both used the latest version of nginx at the time. [1] http://nbonvin.wordpress.com/2011/03/24/serving-small-static... [2] http://gwan.ch/benchmark
85.
▲
by
ers35
14y ago
Those features activate automatically in daemon mode. The manual explains it on page 7. Can you be more specific with your question? Perhaps these forum threads will help.[1][2] [1] http://forum.gwan.com/index.php?p=/discussion/393/how-to-d
86.
▲
by
ers35
14y ago
The manual explains it: http://gwan.ch/archives/gwan_linux.pdf
87.
▲
by
ers35
14y ago
The author of G-WAN provides a benchmarking script[1] you can use to test the claims for yourself. [1] http://gwan.ch/benchmark I have tested the claims and find them to be legitimate. If you have a more specific question, I may be able to
88.
▲
by
ers35
14y ago
> Even supposing the claims are true, currently it's very limited in what languages it supports. It's great at static content, but dynamic content must be written in C or use a C library. That is no longer accurate. G-WAN now supports C
89.
▲
by
ers35
14y ago
I have been using G-WAN for about a year. If anyone has specific questions regarding it, I will try to answer them.
90.
▲
by
ers35
14y ago
If you are referring to the memory usage comparison at [1], the latest G-WAN version now uses less RAM than nginx. [1] http://nbonvin.wordpress.com/2011/03/24/serving-small-static...
More ›