News for hackers. Stuff that matters.
Re:HttpStat: It's like curl -v, with colours by philipov on Saturday September 24, 2016 @09:11PM (#12573375)
> httpstat.py is a wrapper around curl(1), which is all fine and good, but what if you don't have curl(1) or python(1) installed?

So, the point of this is if you don't have either curl or python, but you do have golang. I can't imagine when that would happen. Is it intended for use inside a container?

Re:HttpStat: It's like curl -v, with colours by divan on Saturday September 24, 2016 @09:21PM (#12573400)
Golang compiler produces static binary files, so you don't need install anything. Just run the binary.
Re:HttpStat: It's like curl -v, with colours by Rotten194 on Saturday September 24, 2016 @11:32PM (#12573797)
But this seems like a developer tool -- what developer doesn't have Python and Curl installed...
Re:HttpStat: It's like curl -v, with colours by Sphax on Sunday September 25, 2016 @04:33AM (#12574456)
People on Windows
Re:HttpStat: It's like curl -v, with colours by dogma1138 on Monday September 26, 2016 @05:19AM (#12580403)
If you develop web apps on windows you'll have Pyton installed.

Also windows has power shell which has its own curl equivalent.

Re:HttpStat: It's like curl -v, with colours by Sphax on Monday September 26, 2016 @01:32PM (#12583807)
the curl you get on powershell is absolutely not the same. The output of curl -v is totally different.

And no, even if you develop web apps you don't necessarily have Python installed. If I wrote node, or C#, or Go, or PHP exclusively, why would I bother with Python ? Sure there are some useful tools in Python, but it's absolutely not a given that you'll have it. Unlike on Linux, where Python is installed by default everywhere and you can basically assume Python is available.

Re:HttpStat: It's like curl -v, with colours by psankar on Monday September 26, 2016 @02:03AM (#12579553)
Think of all the mess with python2 and python3 co-existence.
Re:HttpStat: It's like curl -v, with colours by skykooler on Sunday September 25, 2016 @12:16AM (#12573930)
Where to install the binary from? Installation procedure is using "go get".
Re:HttpStat: It's like curl -v, with colours by thomaslee on Sunday September 25, 2016 @12:54AM (#12574041)
In theory, somebody could publish a binary that could be downloaded and run standalone -- no need for "go get". Looks like no such binary has been published, though.