Won't this return the last input entered by any user, regardless of who clicks? The spirit of the arc challenge is to output what you typed, not what anyone types.
welcome to: http://www.wowowbiz.com
The website wholesale for many kinds of fashion shoes,
like the nike,jordan,prada,adidas, also including the
eans,shirts,bags,hat and the decorations. All the
products are free shipping, and the the price is
competitive, and also can accept online payment.,after the
payment, can ship within short time.
http://www.wowowbiz.com
our price:
jordan air max oakland raiders $34--39;
Ed Hardy AF JUICY POLO Bikini $25;
Christan Audigier BIKINI JACKET $25;
gstar coogi evisu true jeans $35;
coach chanel gucci LV handbags $36;
coogi DG edhardy gucci t-shirts $18;
CA edhardy vests.paul smith shoes $32;
jordan dunk af1 max gucci shoes $37;
EDhardy gucci ny New Era cap $16;
coach okely Adidas CHANEL DG Sunglass $18;
http://www.wowobiz.com
thanks your browse thank you nytimes
So basically this doesn't meet the challenge requirements, the code looks ugly, and yet this is one of the most upvoted stories on HN today?
Would anyone have cared if this was done in VB? I realize Google has done lots of cool and impressive stuff, but Google-fandom should only be able to go that far, and this is way beyond.
Yeah, I agree it isn't the most elegant way to do it, but the alternative is to keep a copy of go's http package in the gocouch repo, which isn't too elegant either.
My guess is that within a couple months Go will have a new http client that's fully-featured (keep-alive requests, authentication, and support for generic requests). Until then, if people have a burning need to use gocouch, they'll have to add that small method to the http package. Plus, people are used to compiling the go source code because it's the only way to install it (no binary packages yet)
Its not really an issue of elegance. Either way is not pleasing, but given that your code is the only consumer of the exposed http.Send, my recommendation is that you isolate your end users from the Go.http's evolution by including the (dup) code in your source and removing it when the update release fixes the issue. Transition would be transparent to your end users.
11 comments
[ 4.2 ms ] story [ 27.0 ms ] threadWould anyone have cared if this was done in VB? I realize Google has done lots of cool and impressive stuff, but Google-fandom should only be able to go that far, and this is way beyond.
http://github.com/hoisie/web.go
There is already http.Get and http.Post. So why are you exposing http.send (which obviously is intended to be package private)?
I filed an issue a few weeks ago for this: http://code.google.com/p/go/issues/detail?id=155
My guess is that within a couple months Go will have a new http client that's fully-featured (keep-alive requests, authentication, and support for generic requests). Until then, if people have a burning need to use gocouch, they'll have to add that small method to the http package. Plus, people are used to compiling the go source code because it's the only way to install it (no binary packages yet)