Live data from Hacker News

Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling

github.com

11–20 of 29 posts

Re: Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling

#11
post #9

Not to rain on your parade with nicely formatted code like hardly any shell projects do, but what I would have expected for such a tool that I just want to use: wget https://github/.../releases/.../stable/htrace.sh Only gave it a quick look and saw the other comment asking for dependencies. if there are some, why not list them in the README. I'm really not against installers, but falls under the "small handy tool" ca…

This page talks about which packages to install, and how to install them:

https://github.com/trimstray/htrace.sh/issues/18

Those instructions definitely need to be in the installation section!!

Re: Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling

#13
Looks really cool.

Why are you using a URL in place of a domain name, in the invocation example? Seems confusing. I would expect to see just a domain name there. Although I wouldn't complain if it works with both a domain and a full URL, automatically stripping off the parts it doesn't need. Also seeing http:// instead of https:// is starting to feel strange these days, but I do realize both are still used and your tool works with both as it should.

Very nice readme! And nice to see it has a man page. I would leave out the "It's simple:" line because that tends to make less confident people (like new people just learning) blame themselves if they have problems, and then instead of giving you feedback they'll give up and move on.

Re: Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling

#15
post #9

Not to rain on your parade with nicely formatted code like hardly any shell projects do, but what I would have expected for such a tool that I just want to use: wget https://github/.../releases/.../stable/htrace.sh Only gave it a quick look and saw the other comment asking for dependencies. if there are some, why not list them in the README. I'm really not against installers, but falls under the "small handy tool" ca…

You're crazy. This fellow deserves all of today's internet points. He even has a man page!

Re: Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling

#16
post #9

Not to rain on your parade with nicely formatted code like hardly any shell projects do, but what I would have expected for such a tool that I just want to use: wget https://github/.../releases/.../stable/htrace.sh Only gave it a quick look and saw the other comment asking for dependencies. if there are some, why not list them in the README. I'm really not against installers, but falls under the "small handy tool" ca…

For that, look to testssl.sh (https://github.com/drwetter/testssl.sh)

Re: Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling

#17
post #13

Looks really cool. Why are you using a URL in place of a domain name, in the invocation example? Seems confusing. I would expect to see just a domain name there. Although I wouldn't complain if it works with both a domain and a full URL, automatically stripping off the parts it doesn't need. Also seeing http:// instead of https:// is starting to feel strange these days, but I do realize both are still used and your t…

Great job. Small nitpick. Agree —domain should probably be called —url instead. Domain implies no scheme.

Re: Show HN: My shell script for HTTP/HTTPS troubleshooting and profiling

#20
post #15
post #9

Not to rain on your parade with nicely formatted code like hardly any shell projects do, but what I would have expected for such a tool that I just want to use: wget https://github/.../releases/.../stable/htrace.sh Only gave it a quick look and saw the other comment asking for dependencies. if there are some, why not list them in the README. I'm really not against installers, but falls under the "small handy tool" ca…

You're crazy. This fellow deserves all of today's internet points. He even has a man page!

The project/script is freaking great, it's well-written but its installation method needs some work.

It symlinks from the git cloned directory to /usr/local/bin during installation.

When it runs, it does helpfully tell you which tools it needs, but each of those tools has a different install method:

* two are system packages

* one is a Go executable

* another a php composer package

* another is installed via npm

(that's a lot of extra language dependencies for a single script if you don't already have everything installed)

Post reply on HN