News for hackers. Stuff that matters.
Re:Linux Productivity Tools (2019) [pdf] by dvirsky on Monday May 18, 2020 @08:30PM (#23229997)
jq doesn't come pre-installed with every OS, python's json.tool does. So it's always there when you need it, no installation required, which is why I put it the same category of all those classic command-line tools.
Re:Linux Productivity Tools (2019) [pdf] by philwelch on Tuesday May 19, 2020 @02:19AM (#23231792)
I don’t actually believe my last Linux install came with a system Python. And as a Python developer I always end up using some tool or another to manage installations of multiple Python versions anyway. Furthermore jq just works as a classic command-line tool.
Re:Linux Productivity Tools (2019) [pdf] by traviscj on Tuesday May 19, 2020 @02:51AM (#23232028)
> ... just works as a classic command-line tool.

impossible to understate the value in: not frequently fucking up your ability to run the critical/mundane/everyday/musclememory commands you've come to rely on after maybe 100+ invocations/week as far back as you can remember just because someone you've never met wanted to bump the .ruby-version in your java monorepo

Re:Linux Productivity Tools (2019) [pdf] by dvirsky on Tuesday May 19, 2020 @02:15PM (#23238148)
What Linux distro do you use that it doesn't have Python on it?
Re:Linux Productivity Tools (2019) [pdf] by philwelch on Wednesday May 20, 2020 @12:01PM (#23248445)
Ubuntu but I think the same was true for Arch.
Re:Linux Productivity Tools (2019) [pdf] by dvirsky on Wednesday May 20, 2020 @12:24PM (#23248751)
What? Half of Ubuntu's internal stuff is written in Python. They've switched to Python 3 but I've never heard of Ubuntu without Python.
Re:Linux Productivity Tools (2019) [pdf] by philwelch on Wednesday May 20, 2020 @02:10PM (#23249946)
I’m sure that’s true and maybe I’m misremembering but I still think I had to apt install a Python runtime I could actually invoke from the shell.