63 karma · joined Nov 19, 2016 (10y ago) · 39 submissions
trycatchchris.co.uk
comment 3y ago · link · parent
And what the earth is an "actions" anyway? How on earth is simple bash functions not just as suitable here? Instead you have some weird YAML scripting language. It's so bad. Why. Somebody please tell me. I'm losing my mind. It is a good reflection of the rest of the world though and why the worlds infrastructure is crumbling in many places.
comment 3y ago · link · parent
I boot my pc, login, press win+p, type in "fir" which autocompletes to firefox and it starts firefox. And I don't think this process will change much for the rest of my life.
The alternative is a constantly changing menu UI, intrusive popups/notifications, deprecations, and a "oh wait sorry Firefox now has to be Certified from the app store", random telemetry data being sent over, strange unknown but necessary "computation" happening and what else have I missed?
comment 3y ago · link · parent
Agreed... Though I think there is a different solution. Instead of coming up with all these hardcoded formats and standards (docker-compose, k8s, etc, helm, ansible) which essentially are just 'functions' that map X to Y.
Instead of defining 'docker-compose' files, just define the containers itself. And if required, map that to a docker-compose, or k8s manifest or whatever. Remove all these unnecessary layers that aren't really that helpful - because each standard or implementation has it's own parser, error handling etc - why bother with all this?
And just use something like Nix for this. Or just define it as a common python value. Otherwise we end up building all sorts of templating and ugly programming-in-yaml. You could take a look at https://docs.hercules-ci.com/arion/#_arion_compose_nix to see what this might look like - uses Nix to do something like docker-compose.
comment 3y ago · link · parent
comment 5y ago · link · parent
comment 6y ago · link · parent
Otherwise, I don't think it's practical to have docker itself as a commercial product.
comment 6y ago · link · parent
Unlike Ansible (and I suspect the others) where it's really only more of a 'run once' type of thing... And sometimes if you try running it a second time it won't even succeed.
19.
Show HN: GitChapter – Literate Programming, Git and Reproducibility
6 points · by chrissoundz · 6y ago · discuss
comment 7y ago · link · parent
What issues could be faced with this approach?
comment 7y ago · link · parent
With the above, the most difficult step in getting a new system installed is now only typing in the WIFI password, drivers and the filesystem partitions...
comment 8y ago · link · parent
It started when I got annoyed with how difficult it was to write a 'code' tutorial.
Essentially it allows you commit a markdown file (or any other format) alongside your source code and you can embed source code snippets / shell commands into this file - which then gets rendered into the main 'output' (the tutorial / article).
comment 8y ago · link · parent
comment 8y ago · link · parent
Predominantly backend web developer / Linux sysadmin with 5 years of experience. Reliable systems, innovative solutions and value creation is what I'm all about! Freelancing for nearly a year - room to accommodate new long term prospects!
Languages / Tech: PHP, Bash, Haskell ,AWS, GCP, Docker, Kubernetes, Linux
Github: https://github.com/chrissound Website: https://trycatchchris.co.uk Email: In my profile