dmuth
Joined 16 years ago
Joined 16 years ago
> It’s more than just software—it’s a statement.
I know us engineers aren't the best writers, but when I see things like this, it feels like they're not even trying to write their own content.
I then happened to remember that abcnews.com.au existed and figured Australia's websites weren't getting hit quite as hard as ours, and I was right. It was front page news there.
We all left the office (which was in Center City Philadelphia) a few minutes later.
Ain't that the truth. Literally every crontab I've written for the last 10 years has had this in it:
2>&1 | logger -t cron-WHATEVER
...and that does a pretty good job of capturing anything that the script emits and making it easy to grep for in syslog the following morning.
But I'm still amazed at how many crontabs I run across that don't capture any output at all.
That way, the project has just the dependencies it needs, and I know I can rebuild it at some point in the future and will be unlikely to run into problems when I do.
Try switching to the newest version of Python with something like Pyenv, or even try spinning up a Docker image with something like:
docker run -it -v $(pwd):/mnt python:3.13 bash
...and try using the utility there. Good luck!
If anyone wants to play around with that, without the risk of locking themselves out of a server, I built a little "playground" awhile back whihc is a series of Docker containers that can SSH to each other. Give it a try at https://github.com/dmuth/ssh-principal-and-ca-playground
(I haven't touched the project in awhile, so if there are any issues, please open an Issue and I'll gladly look at it!)
1) With respect to not having whitespace: "Not everyone is as smart as you, and you need to ask yourself, do you want junior engineers working on your code to keep bothering you asking how things work, or would you rather your code by easy to read (and commented) so that they can pick things up on their own?"
2) With respect to complexity: "We are expected to build products that align with business objectives. New and experimental code belongs in your home lab and on your GitHub, not in a production environment."
Depending on how things go with #2, maybe offer to let the engineers spend 20% of their time working on lab projects to improve their product, with the understanding being that the rest of the time they are expected to build products with a minimum of complexity.
https://github.com/dmuth/git-rebase-i-playground
It lets you create a Git repo with synthetic commits and has sample exercises for doing different things within that repo, such as removing commits or squashing commits. (along with hints and answers)
Building this project helped me understand the ins and outs of Git much better and I suspect there will be value for anyone else who works through the examples.
AWS, CyberSec, DMARC, Docker, Splunk, White Mage. Staffs way too many conventions. he/him, 28% Cheetah.
Twitter: @dmuth
https://hnbadges.netlify.app/?user=dmuth