HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Zizizizz

230 karmajoined 9 tahun yang lalu

comments

Zizizizz
·3 hari yang lalu·discuss
I still look at the files I want to change so that it doesn't go off and grep the entire project unnecessarily, burning tokens or getting the wrong idea.

So I still use a ton of fzf.lua to find the files to change and I have just added some keybinds to copy the open file path to the clipboard so that I can paste the path of the file to change it into opencode.

Code diffs I definitely look at locally with delta via lazygit or jjui. codediff.nvim is also good for resolving conflicts.

The main thing I've changed is just using JJ so merge conflicts can be resolved later by me manually without it blocking bringing in new changes.

If I just hand over the thinking entirely and don't know what has changed until I'm looking at it in GitHub I feel that removes the need for me entirely as by that point I'll be biased and will be less likely to change things to how I'd like them to be.
Zizizizz
·2 bulan yang lalu·discuss
That's fair enough! I think the flow will be more universally beneficial if things like this become more mainstream. https://github.github.com/gh-stack/ because then big prs aren't necessary if they can be reviewed incrementally so long as they can stand on their own.
Zizizizz
·2 bulan yang lalu·discuss
I would imagine why the types were chosen could easily be explained in the commit message. The goal presumably (at least how I do it) is so that if I'm touching quite a lot of the code base, the reviewer has the _option_ of being taken through the narrative of the change like they might explain if they were talking to you. If you don't want to be told what the changes are and how they tie together, then just click on review changes and review it all at once. It's not about the clean history, it's about making the reviewer's life easier with larger features.

The commits might get squashed anyways so the history on main won't necessarily match what's on the feature branch.

You can commit before you raise a pull request, I don't quite understand that point but I might just be missing something about your workflow that's different to mine.
Zizizizz
·3 bulan yang lalu·discuss
I've used it in the past and personally loved it. Just bumping a yaml file in a git repo to the image tag I wanted deploying was a godsend and nearly automated. I can't speak to your experience though which I am certain is valid and a real problem. We just never had those kind of issues so we could either revert to an earlier tag that worked or publish a new image with the required resolution steps.
Zizizizz
·3 bulan yang lalu·discuss
https://fluxcd.io/ + helm + with a CI pipeline that pushes the docker images to a registry means that after the setup, anytime you push a new image and tag, k8s can automatically update without needing to do anything manual.
Zizizizz
·3 bulan yang lalu·discuss
Yeah tell that to all the people who avoided the bare minimum of advice during COVID for their own beliefs and subsequently died.
Zizizizz
·3 bulan yang lalu·discuss
You can name branches in JJ too, they're just called bookmarks.

git checkout main git pull git switch -c jira-234 ... git commit git push -u origin main

jj git fetch jj new main ... jj commit jj b(ookmark) c(reate) jira-234 -r @- jj b(ookmark) t(rack) jira-234@origin jj git push
Zizizizz
·3 bulan yang lalu·discuss
I find it hard it hard to believe anyone apart from you would see this as remotely the same thing.
Zizizizz
·3 bulan yang lalu·discuss
I use my own domain with Gmail

https://www.reddit.com/r/SaaS/comments/1g0m0um/how_to_set_up... is what I did.
Zizizizz
·3 bulan yang lalu·discuss
Most English speakers speak faster than 120 wpm so that's probably why people, especially those who can't type at speeds like you can, prefer it.
Zizizizz
·3 bulan yang lalu·discuss
I tried tig first, I think Lazygit is the ideal interface to me for it. I actually don't use it apart from tags now though as I switched to jj and jjui for 2026. I think everyone has their own tool that works for them so it's hard to go wrong with a lot of these tools
Zizizizz
·3 bulan yang lalu·discuss
https://github.com/atuinsh/atuin for fuzzy shell history (ctrl+r)

https://github.com/sharkdp/bat (nice coloured cat replacement)

https://github.com/abiosoft/colima (so I don't need docker desktop)

https://github.com/duckdb/duckdb (performant database that lets you directly query JSON, parquet, csv files with SQL queries and convert one to the other.

https://github.com/eradman/entr (rerun commands automatically when provided files change) (useful for rerunning test commands automatically once you save the file you're editing.

https://github.com/martinvonz/jj and https://github.com/idursun/jjui (Jujutsu VCS, been using it for three months and I really enjoy it)

https://github.com/jesseduffield/lazydocker (managing containers, images, volumes easily)

https://github.com/jesseduffield/lazygit (best tui for git and outside niche git commands, the fastest way to use git.)

https://github.com/jdx/mise (fast asdf, direnv, and task runner replacement) (install pretty much version of tool, language, env vars in a per directory level. (Or global if you want))

https://github.com/ajeetdsouza/zoxide (intelligent cd to move between directories incredibly quickly)
Zizizizz
·3 bulan yang lalu·discuss
You may like https://httpie.io/ if you've not memorised all the curl flags already. The CLI tools way of making requests with headers and post bodies is really nice in my opinion

`http PUT pie.dev/put X-API-Token:123 name=John`
Zizizizz
·4 bulan yang lalu·discuss
Yes tab split, neovim on the left, companion on the right, or different tabs. The plugin codecompanion.nvim is also great. I use it for common tasks. Like:

vaf (visual around function) <space>ad (leader key add docstring).

And it documents the functions with my system prompt instructions for what good docstings should look like.
Zizizizz
·4 bulan yang lalu·discuss
Pretty sure that uses UV to do it's magic
Zizizizz
·4 bulan yang lalu·discuss
https://github.com/GoogleContainerTools/distroless

These are pretty handy to use
Zizizizz
·5 bulan yang lalu·discuss
I think https://typst.app/#start has multi user support, you'd have to learn typst though
Zizizizz
·5 bulan yang lalu·discuss
https://github.com/jdx/fnox

A recent project by the creator of mise is related too
Zizizizz
·5 bulan yang lalu·discuss
https://github.com/getsops/sops

This software has done this for years
Zizizizz
·5 bulan yang lalu·discuss
I sometimes get balls for cheap on sites like https://www.lakeballs.com/ (basically the rich people hit the prov1's in the lake and I get them on discount.)