Readit News logoReadit News
chasinglogic commented on My (Neo)Vim workflow   seniormars.com/posts/neov... · Posted by u/Hadi7546
joshcsimmons · a year ago
This is so interesting and complex! I'm relatively new to Neovim - I've tried to learn a couple of times but it finally "took" a few months ago.

Genuine question for the author - have you configured Vim this way in order to be more productive or because you enjoy customizing it? I don't mean for that to be antagonistic, people build and customize muscle cars to show off even though they're slower than Teslas.

It's wild to see the community around recreating VSCode in the terminal (Astro Nvim, NvChad, etc.) I guess if I had to customize Vim so much for it to be a usable solution I'd just go back to using VSCode. After all, keyboard-action-speed is pretty much never the bottleneck when coding, thinking is.

chasinglogic · a year ago
I prefer modal editing. It feels the best to me, but that could be because I learned it.

I had to learn vim back when I was a basic system administrator so when it came time to start doing real coding it was an obvious choice. I also prefer properly open source software, and if possible, non-corporate backed. So it checks all my boxes especially now that I'm not "missing" anything from VSCode.

When people ask me though I recommend VSCode to most normies, I don't think vim is worth it nowadays.

chasinglogic commented on A better merge workflow with Jujutsu   ofcr.se/jujutsu-merge-wor... · Posted by u/todsacerdoti
chasinglogic · a year ago
> Using Jujutsu, “amending a commit” also produces a new commit object, as in Git, but the new commit has the same change ID as the original.

This is confusing to me, though to be fair I'm a "git expert" by trade. If you're amending a commit surely the "change" has changed so the change ID should also change? If the "change" isn't tracking the actual changes then what could it be tracking?

Overall I think this is just more confusing than using git but I think it's cool that people are building alternative clients. That's definitely the way to go if you want adoption.

Making history manipulation easier seems like a bit of a recipe for disaster given my experience training people. That old XKCD about git comes to mind and honestly that's where most people stay, if you bother to learn it then things like Jujitsu are probably harder to use for you. If you aren't interested in learning git to that level then I doubt you want / need something like Jujitsu.

For those curious the "multiple branches" at a time thing they're selling can be done with git, IMO easily, using worktrees: https://git-scm.com/docs/git-worktree

chasinglogic commented on Show HN: PlayBooks – Jupyter Notebooks style on-call investigation documents   github.com/DrDroidLab/Pla... · Posted by u/TheBengaluruGuy
chasinglogic · 2 years ago
Whenever I see tools like this I always think "that wouldve been great at my old job where we didn't do post mortems"

But nowadays I think if I can automate a runbook can I not just make the system heal itself automatically? If you have repeated problems with known solutions you should invest in toil reduction to stop having those repeated problems.

What am I missing? I think I must be missing something because these kinds of things keep popping up.

chasinglogic commented on Linux fu: getting started with systemd   hackaday.com/2024/04/11/l... · Posted by u/drpixie
lakomen · 2 years ago
Oh boy. I'm currently battling with Kubernetes, and I mean it. Compared to k8s systemd is simple and easy. I can wholeheartedly say I hate k8s and its guts. Everything is so overly complicated. A bazillion configurations for every single little detail. And she's a touchy little princess. Hard to find help, expensive courses and a not so great documentation site, that kind of explains the components, but then again really doesn't in detail, also no complete configuration reference. And no matter which way to setup you choose, something is always wrong. It's a tool to drive you to expensive public cloud offerings. For the small price of only ~$2600 per month you can have your 5 node k8s cluster on GCP, cheap cheap. Burn money money burn money money burn. Managing and maintaining k8s is a full-time job.

In comparison systemd is well documented and you don't really need to ask people for help. You can easily use the shell, you don't have to battle with wrong nginx configurations that were autogenerated, because you wrote them and you know what you're doing.

Fleet was cool, but Redhat bought CoreOS and killed fleet, can't have a simple effective system, it has to be complex and enterprise so you can sell services and tutelage. Fucking IT people.

chasinglogic · 2 years ago
For self-hosting I've found https://k3s.io to be really good from the SUSE people. Works on basically any Linux distro and makes self-hosting k8s not miserable.
chasinglogic commented on Show HN: A universal Helm Chart for deploying applications into K8s/OpenShift   github.com/nixys/nxs-univ... · Posted by u/nixys_nxs
pyrophane · 2 years ago
Question for everyone ITT: what would you use as an alternative to Helm for parameterizing kubernetes manifests? Also, how do you handle the secrets that need to go in the yaml?

Previosly I used Terraform for this but am starting a new project and would like to avoid TF for management of actual k8s resources, despite it having some advantages.

chasinglogic · 2 years ago
For handling secrets we manage helm via Pulumi (previously Terraform) and pass in the secrets to values from Secrets Manager or whatever cloud provider.

I haven't found a good alternative to Helm. Pulumi is probably the best if you wanted to just create manifests their k8s provider is great, but we ultimately want to shift left the kubernetes manifests and helm is pretty ok for that.

chasinglogic commented on Use the Index, Luke   use-the-index-luke.com/... · Posted by u/tmlee
chasinglogic · 2 years ago
As an SRE with a database background this should be required reading for any development team.
chasinglogic commented on Slint GUI Toolkit   github.com/slint-ui/slint... · Posted by u/gjvc
chasinglogic · 2 years ago
The declarative DSL for defining user interfaces reminds of QML and I'm not sure why I would use this over QT really given that Slint seems to have a similarly weird licensing model.
chasinglogic commented on Show HN: Jeeves – A Pythonic Alternative to GNU Make   jeeves.sh... · Posted by u/yeti-sh
phil-martin · 2 years ago
The most comprehensive make alternative in python I've seen is Scons (https://scons.org/)

It would be worth to see how they tackles some of the challenges you're looking into.

Blurb from the website:

SCons is an Open Source software construction tool. Think of SCons as an improved, cross-platform substitute for the classic Make utility with integrated functionality similar to autoconf/automake and compiler caches such as ccache. In short, SCons is an easier, more reliable and faster way to build software.

chasinglogic · 2 years ago
While I can't contest that SCons is comprehensive, I would never recommend it as a source of learning "what to do".

SCons is not idiomatic Python and it abuses things like `eval` which gives it terrible performance.

Source: I used to work for MongoDB and my full time job was to make SCons faster, which I eventually did by making it a Ninja generator (which has now been upstreamed). But the code is still pretty bad.

Using SCons however is much nicer than using make / autoconf IMO, especially now that you can farm the builds out to Ninja.

chasinglogic commented on Things I've learned about building CLI tools in Python   simonwillison.net/2023/Se... · Posted by u/gilad
athrun · 2 years ago
I feel the same way.

Python has been my goto language for a long time, but lately I've been noticing that I've been holding off on writing new tools with it because on the back of my mind I have this nagging feeling that making them robust and portable will take too much work—and so I don't even bother getting started.

It's this trap of yes you get to ~99% pretty fast, but the last 1% (packaging/distribution) then take forever.

But I'm still looking for a good alternative... Golang does the job—no question, but it doesn't spark joy for me.

chasinglogic · 2 years ago
While there is definitely a higher barrier to entry, once I got comfortable with Rust (and finally stole someones working cross-compile / publish github actions for it) it has surplanted Golang in this use case because it does spark joy for me.
chasinglogic commented on A Love Letter to Make   kmaasrud.com/blog/make... · Posted by u/todsacerdoti
chasinglogic · 3 years ago
Man I love Make. But recently started a new job and we decided to use Just* and it's been fantastic. I doubt I would use Make again unless I was planning to use it as a real build system (which has been the minority use case of my use cases in the last 5 or so years).

* https://github.com/casey/just

u/chasinglogic

KarmaCake day31October 11, 2017
About
[ my public key: https://keybase.io/chasinglogic; my proof: https://keybase.io/chasinglogic/sigs/ccEpXRbCn2MY8uPwOj-i-nx8_tQTI6_vK2cKijQQNlc ]
View Original