Live data from Hacker News

Show HN: I made an SSH tunnel manager to learn Go

github.com

1–10 of 72 posts

Re: Show HN: I made an SSH tunnel manager to learn Go

#3
post #2

The title was so confusing to me, the reason I opened the link was to understand how you made the SSH tunnel manager learn the GO programming language

To be fair: it is a "Show HN" title (which I believe is typically used to denote a project being "shown [off]" by the op).

Re: Show HN: I made an SSH tunnel manager to learn Go

#5

Nice project! I would advise to use $XDG_CONFIG_HOME instead of $HOME for storing the configuration file though :)

I hate XDG stuff so much. I just wish every app had their own folder in which they can put whatever they want. If home directory clutter is the issue, then just ~/crap/.{app1,..n} can be standardised.

Basically, I want app/kinds-of-data and not the other way around.

Re: Show HN: I made an SSH tunnel manager to learn Go

#6

Nice project! I would advise to use $XDG_CONFIG_HOME instead of $HOME for storing the configuration file though :)

I hate XDG stuff so much. I just wish every app had their own folder in which they can put whatever they want. If home directory clutter is the issue, then just ~/crap/.{app1,..n} can be standardised. Basically, I want app/kinds-of-data and not the other way around.

$XDG_CONFIG_HOME is usually "~/.config/{app1,...n}" so, it's close? Plus it allows a user to redirect it to a path of their choice, if all apps used it to begin with.

Don't get me wrong -- some of the choices made by the XDG/FreeDesktop folks rub me the wrong way too ...

Re: Show HN: I made an SSH tunnel manager to learn Go

#8

Nice work! SSH tunnels can be a pain, so this looks handy. What was the toughest part of building it in Go? Any features you’re thinking of adding?

I agree! Honestly, Go made building this quite pleasant, as it has nice abstractions for networking and a great concurrency model. I'm planning to keep it minimal for now, but I would like to add Windows support, SSH multiplexing and maybe some form of throughput measurement. But I'm open to ideas :)

Re: Show HN: I made an SSH tunnel manager to learn Go

#9
post #2

The title was so confusing to me, the reason I opened the link was to understand how you made the SSH tunnel manager learn the GO programming language

I don't think the title is confusing, if that were the desired meaning then it'd say "I made an SSH tunnel manager learn Go" i.e. no "to".

I don't think "I made X to do Y" ever means "I made X do Y" does it?

Re: Show HN: I made an SSH tunnel manager to learn Go

#10

Nice project! I would advise to use $XDG_CONFIG_HOME instead of $HOME for storing the configuration file though :)

I hate XDG stuff so much. I just wish every app had their own folder in which they can put whatever they want. If home directory clutter is the issue, then just ~/crap/.{app1,..n} can be standardised. Basically, I want app/kinds-of-data and not the other way around.

as someone who works on 3 different machines regularly and likes to have the same environment on all of them... i would LOVE if applications would stop cluttering my .config with cache data and other bullshit i keep having to exclude from sync.
Post reply on HN