Our great sponsors
-
I would use Python much less often if it weren’t for Poetry [1], but with it I’ve never had a colleague fail to get a script running.
-
It is now the niche of Next Generation Shell. Totally not humble and biased opinion... maybe. You are very welcome to make your own judgement - https://ngs-lang.org/
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
Not sure if someone mentioned it already, but for such use cases Xonsh[1] is amazing.
It allows you to use shell stuff in a python script. Basically it allows you to use the best of both worlds, i. e. you can use python for the logic flow while retaining all your quick shell oneliners when neede. And it makes this interaction of python and shell super convenient, i. e. run your oneliner but process its output with python. Much faster than coding everything in python or in shell.
[1]: https://xon.sh/
-
That's cool. I'm curious how it differs from e.g. ABS...
It was enjoyable to use for a project recently.
-
And if you're conflicted between thinking both they and "but go is nice and static and free of runtime", you can look at https://crystal-lang.org/ Ruby syntax with static compilation for your tools.
-
Has anyone else used https://github.com/google/zx here?
I've started using that instead of bash script and js/node/deno scripts. it's kind of a nice combination of things.
the only pain with this is writing to files. > doesn't just work.
-
That's easily solved with http://www.shellcheck.net/
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
I loathe nearly all man pages, they are written in a manner that is as over the top and an absolute chore to digest. I believe it is a form on programmer one-upmanship, it is largely unnecessary and stalls common usage massively.
I made this recently and tried very hard to make it so that the vast majority of people that could use the command line could grasp what it did, usage is trivial:
https://github.com/tux2bsd/freebsd-update-probe
I guess what I'm saying is I like documentation written for humans (which you do).