Matt Butcher
technosophos.com · Personal blog · on HN since 2010
Matt Butcher writes about Go, Kubernetes, Rust, Docker, and package management, and was the original creator of Glide.
What HN saysHN commenters link his post on how Glide solves Go vendoring, one saying Glide works really well for dependency management.
18HN people shared it
4linked it in comments
19stories submitted
605story points
6 years agolast shared
2010people per year2026
Most-shared posts
- 1Writing a Kubernetes CRD Controller in Rust2 people · 169 points · first shared 2020 · 74 comments on HN
- 2How Glide Solves Go Vendoring2 people · 8 points · first shared 2014 · 2 comments on HN
- 3Be Nice and Write Stable Code1 people · 362 points · first shared 2018 · 158 comments on HN
- 4NoSQL No More1 people · 41 points · first shared 2014 · 60 comments on HN
- 59 things I like about Go1 people · 4 points · first shared 2014 · discussion on HN
- 6The Alpine Docker Mistake1 people · 4 points · first shared 2016 · 1 comments on HN
- 7Knock 70% off REST network time1 people · 3 points · first shared 2012 · 1 comments on HN
- 8How Brigade Shares Data Between Containers1 people · 2 points · first shared 2018 · discussion on HN
- 9Using the Node.js debugger1 people · 2 points · first shared 2011 · discussion on HN
- 10PHP Arrays are Not Arrays1 people · 2 points · first shared 2011 · discussion on HN
- 11Creating a Personal PaaS with Dokku on HPCloud1 people · 1 points · first shared 2013 · discussion on HN
- 12How Algorithms Rule the World1 people · 1 points · first shared 2014 · discussion on HN
- 13When is a Standard Bad for a Standards Body?1 people · 1 points · first shared 2012 · discussion on HN
- 145 Things Every PHP Developer Should Know About MongoDB1 people · 1 points · first shared 2010 · discussion on HN
- 15Kubernetes Needs to Ditch GitHub1 people · 1 points · first shared 2017 · discussion on HN
What HN people wrote when they linked it
mcgrath_sh · 2017-11-14
I have built my own cheat sheet over the months I have been using Vim. I highly recommend doing that after you are familar with the basics. My next step is to work on putting it in Vim itself via a documentation plugin. I got the idea from this [1] blog post.
[1] http://technosophos.com/2014/10/09/create-built-in-vim-cheatsheet.html
freedomben · 2018-05-15
I personally consider awk, sed, grep, cut, etc. to be "part" of bash. I don't think I ever write a script without invoking those venerable tools at least once. I often have many pipes, such as
some_command \
| grep -E 'some.*regex$' \
| sed -e 's/erase_text//g' \
| sed -e 's/erase_more//g' \
| awk '{ print $2 }' \
| cut -d ':' -f 1
I used to reach for Perl one-liners a lot, and still do sometimes when I need a gross regex that `sed -E` can't handle (See Perl Pie[1]), but Ruby has been making an appearance more and more often for handy one-liners. Roblog has a great post on using Ruby [2].
If the script is complex enough and I'm willing to take a dependency on Ruby, that is usually where I turn. Where that line is does change from time to time. Ruby makes it super trivial to call shell commands and process them easily as well, which makes it easy to integrate into existing scripting [3].
Hopefully that answered your question :-)
[1] http://technosophos.com/2009/05/21/perl-pie-if-you-only-learn-how-do-o…
[2] https://robm.me.uk/ruby/2013/11/20/ruby-enp.html
[3] https://stackoverflow.com/a/2400/2062384
mfer · 2016-07-30
IIRC, and I could be wrong, CPAN was the first to go down the route that many modern toolchains now provide. We've looked at it.
In fact, the original creator of Glide (Go package manager) wrote about Perl and CPAN when talking about Go at http://technosophos.com/2015/09/02/dont-let-go-be-condemned-to-repeat-…
tomohawk · 2015-03-04
glide works really well for this: http://technosophos.com/2014/09/22/how-glide-solves-go-vendoring.html