HNHacker News
TopNewBestAskShowJobs

jrop

154 karma · joined March 17, 2017

meet.hn/city/40.4774818,-104.901361/Windsor

Socials: - github.com/jrop - gitlab.com/jrop - reddit.com/user/jrop2

---

submissionscomments
jrop··on Sora 2
Agree - leaps and bounds beyond anything I would have dreamed possible a few years ago...but... IDK, if I'm honest, the sound was way off too, not just the visuals. The music sounded detuned slightly, and the crowd noise was "crackly" etc. etc. It had a low-fidelity "quality" to it.

Personally, I feel mixed feelings. I'm impressed, but I'm not looking forward to the new "movies" that are going to litter YouTube et al generated from this.

jrop··on Libghostty is coming
I use it daily locally, and find it amusing how many only think of it as being useful on remote servers (not to invalidate your use-case -- I'm just contrasting my own use). As a precursor, I view UNIX as my IDE, of which tmux is a part: this IDE runs on Windows (WSL2), macOS, Linux, and Android (Termux). That aside, here are a few reasons I find tmux to be useful in this concoction of tools:

- Session management. I've written custom scripts for myself around this (zoxide + fzf). If you want to see how this can be used, look at ThePrimagen's workflow. I don't use his scripts but he has a good demo of how he harnesses sessions.

- Unified scrollback management - easily search the scrollback, yank it, etc. My favorite thing to do is to yank part of the scrollback, then `Prefix+B,=` to list everything I've yanked (think of this like a "clipboard manager" specific to tmux), select an entry, and press `e` to edit it in `$EDITOR`.

- This one might be a stretch, but I tend to try and use only terminal tools (without being utterly insane) because then tmux can be my "tiling window manager" no matter what OS I'm on. Oh, I have to use Windows for work? Not to worry, tmux runs in WSL2, as do most of my preferred tools, so I feel mostly at home even though I normally really dislike Windows.

- It's scriptable. Read `man tmux` and use your imagination!

Notwithstanding any of that, there are cons, the most apparent one being that I am limited to text-based tools this way. An example of this: getting images to work in tmux, though many modern terminal emulators support them, is a huge pane, so I haven't bothered.

jrop··on Libghostty is coming
It's on the roadmap: https://ghostty.org/docs/install/release-notes/1-2-0#roadmap
jrop··on Libghostty is coming
I do indeed live in the terminal (all day due to work), but tmux adds too much value for me to do all terminal management in Neovim (tmux session-management being what I use most). I've just encountered too many visual "glitches" in the Neovim terminal to rely on it for everything. That's not to say, however, that I never use the built-in Neovim :terminal.

> I thought it might be easier to only ever have one buffer open for a given file, instead of attempting to open a file in a given pane only to realize that it's already open in a different neovim instance

This is not a problem in my config:

    vim.api.nvim_create_autocmd({ 'FocusGained', 'BufEnter', 'CursorHold' }, {
      pattern = '\*',
      command = 'silent! checktime',
    })
Since `'autoread'` is by default `on` in Neovim, this seamlessly reloads the buffer if the underlying file has been updated on disk.
jrop··on Libghostty is coming
I've been keeping an eye on this in the hopes that text-reflow (edit: including for scrollback) could be solved in Neovim-based terminals [1]. I'm loving the innovation Ghostty is bringing to the terminal space.

1. https://github.com/neovim/neovim/issues/33155

jrop··on Website is served from nine Neovim buffers on my old ThinkPad
This is what I love HN for. "Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should".

This awakens things I've been thinking about Neovim for a while now: now that libuv is embedded, there's really no reason not to use it as a cross-platform application runtime (except for the fact that that's horrific).

jrop··on Opencode: AI coding agent, built for the terminal
It's linked above (https://github.com/opencode-ai/opencode)
jrop··on Gmailtail – Command-line tool to monitor Gmail messages and output them as JSON
Thanks for this! Exactly what I was looking for.
jrop··on Using `make` to compile C programs
This and/or a shell.nix that bundles all dependencies outside of those provided by the language's package manager.
jrop··on My AI skeptic friends are all nuts
I use vim as well, and one editor-agnostic coding assistant that is pretty decent is Aider. It is a little buggy sometimes, but it's been a blast to experiment with. I run it in a separate split with Tmux. Its whole schtick is to use it as a pair programming device. So I'll edit code in one split and use Aider in another, alternating at key points. This has worked pretty well for personal projects. I typically don't do this at $dayjob, though.
jrop··on From string to AST: parsing (2019)
I love writing parsers like this. Add in Pratt Parsing for operator precedence and writing parsers can be really easy.
jrop··on Electrobun: Cross-platform desktop applications written in TypeScript
Wails, if I'm not mistaken: https://wails.io/
jrop··on SQLToy
I love projects like this that shed light on and demystify and otherwise mysterious process. Thanks for sharing!
jrop··on GitHub was down
A coworker and I just had to use `git format-patch` and `git am` to exchange work. Git is super cool!
jrop··on Major outages across ChatGPT and API
The new UI that was demo'd on stage has not rolled out to me yet. I would love to try it. Perhaps I'm missing how to enable it. IDK
jrop··on Banging errors in Go
This a million times. I love working with Rust because it's - from my point of view - an ML language disguised in C-syntax (with a package manager and unit testing etc. etc). Most of the time I'd be served well by a GC version of Rust.
jrop··on The Workflow Pattern
At a prior company we just wrote our own custom workflow engine which was basically a DAG processor where each node called some code. Of course, the code called could modify the DAG in place and accomplish exactly what you're describing. It worked quite well but we didn't polish it as much as we could have. I've been wanting to do a clean-room reimplementation as of late just because I miss certain things about it.
jrop··on Ask HN: Is Docker Registry Down?
Yep, it's down for me too. This is such a crucial component to modern DevOps. The headlines and retrospectives are going to be interesting to read in the coming weeks.

Edit: monitor the status here: https://www.dockerstatus.com/

jrop··on Matrix 2.0: How we’re making Matrix go voom
My self hosted matrix instance just imploded and we had to move 20 users off of it. I'm sure it was due to a sloppy mistake during a server upgrade or whatever but it seems pretty brittle to me.
jrop··on Forgejo – Launching a Fork of Gitea
https://blog.gitea.io/2022/10/open-source-sustainment-and-th...

Yeah looks like they are selling support, which I have no problem with. I actually recently set up Gitea and Drone together and it is a match made in heaven. I don't have a problem if open source developers try to monetize their work. I will likely try to do the same with a few projects in the future, lol

jrop··on Helix: Post-Modern Text Editor
Actually, MacOS can do this out of the box with no extra software installed. It's in the keyboard settings
jrop··on Knuth's Art of Computer Programming, V 4B, has gone into print
Journey before destination
jrop··on Clipboard integration between tmux, nvim, zsh, x11, across SSH sessions
Same. I just learned about OSC52 a week or two ago and it was so easy and seemless to get working over SSH, through Tmux, inside of Vim (i.e. multiple layers of indirection).

I had no idea that OSC escape sequences were a thing until then and now I think they're the best.

jrop··on Development Environments
This is how I use NeoVim's terminal: run a command, visually select the lines I want to operate on and yank them, then paste them in a new buffer. After that, it's a matter of transforming the text via whatever means one normally does (macros, text objects, search/replace, etc.)
jrop··on Development Environments
I use NeoVim for everything except debugging. For that I (frequently) open up VSCode or Chrome to debug (NodeJS). I haven't figured out a good debug workflow for Rust, though, because I hate print debugging.
jrop··on Things to know about databases
> If I don't know what I'm doing to begin with, I don't need something telling me all the ways in which I'm doing it wrong.

This is unrelated to this conversation, but this is my main beef with Rust. I love Rust (like a lot), but it's just not good for prototyping. End of non-pertinent rant.

jrop··on Docker is dead? Podman – an alternative tool?
I'm running Pop_OS! (after a breakage with Arch) on my T14s and the experience has been really great.
jrop··on Ask HN: Burnt-out, directionless but want to turn it around
I developed pretty severe brain fog after being exposed to mold, and boy, do I have a new found sympathy for those who also struggle with it. It tends to bring with it a sort of stupor that is detrimental.

At any rate, being gluten/dairy/sugar free really, really helped me. Nutrition is different for each person, but I have found this to be the single most helpful thing for managing the fog.

jrop··on Brandon Sanderson’s advice for doing hard things
`git log --stat` maybe? At least if start there...
jrop··on Don't Write a Programming Language
Journey before destination, Radiant!
← PreviousPage 2 of 3Next →