I don’t know how many hours I waste a year in bash due to forgetting to use --raw-output
with jq
. It’s a lot, though.
Who needs libraries when you have curl? https://github.com/kejadlen/pirate-weather.alfredworkflow/commit/1fdea20df07fdcd3fe44f8620f407a7e0507e178
(This is also my strategy for not taking dependencies which are just API wrappers.)
@alpha years ago, JRuby made the design decision to treat its own HTTP timeouts as optional, so I ended up writing my own curl wrapper with header parsing and everything to make my service run without bricking unpredictably.