HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ilyagr

no profile record

comments

ilyagr
·há 29 dias·discuss
This might be the point. As long as they think the people who end up under-counted are not people this government would like to have voting power for the House of Representatives.
ilyagr
·mês passado·discuss
Now the readme says

"Note: Any command not mentioned is included in this suite. "

which I found quite confusing. It's a very large set, potentially infinite depending on what the universe of all commands is :)

You should link to the list of all the commands in your package.
ilyagr
·há 3 meses·discuss
https://github.com/noborus/ov is another pager, in addition to `moor` that somebody else shared.
ilyagr
·há 3 meses·discuss
I believe this is what `git rerere` does
ilyagr
·há 4 meses·discuss
Thanks for the useful info!
ilyagr
·há 4 meses·discuss
https://github.com/typst/typst is an interesting competitor to ConTeXt. It's not even TeX, but somehow I tried (and liked) it before I tried CoTeXt. TeX syntax is not something I ever enjoyed in LaTeX.

How much more compatible with LaTeX is ConTeXt than typst? For example, is there tikz for ConTeXt?
ilyagr
·há 4 meses·discuss
This is less of a usable tool and more of a concept right now, but there are algorithmic ways to do better than rsync (for incremental transfers, ymmv).

https://github.com/google/cdc-file-transfer

Hint: I really like the animated gifs on that page but they are best viewed frame-by-frame like a presentation.
ilyagr
·há 4 meses·discuss
OpenAI's new safety restrictions are magnificent, though unfortunately hard to comprehend for those who are incompetent or stupid.

https://en.wikipedia.org/wiki/The_Emperor%27s_New_Clothes

Life follows art even closer than I thought when this story first reminded me of Andersen.
ilyagr
·há 6 meses·discuss
Actually, it would be more correct to do

    echo '^q toggle-option -redraw-on-quit\nq' >> ~/.config/lesskey
The original version I suggested works too, but by accident. `redraw-on-quit` is the actual option name.

(I'd edit my original message, but it's too late for that)

----

Also, note that if you put `--redraw-on-quit` into your `LESS` config (and not `-X`), and set up `^q` as above, things will still work but with flipped behavior of `q` and `^q`.

If your version of `less` is new enough, I believe that the `--redraw-on-quit` behavior is in every way (slightly) better than the `-X` behavior. In addition to the above, some terminals have special behaviors in alternate screen (like converting mouse wheel to up/down keys), which `--redraw-on-quit` will preserve.
ilyagr
·há 6 meses·discuss
If you want the `-X` behavior only some of the time, see https://news.ycombinator.com/item?id=46472859. (Maybe I should've posted it in this thread)
ilyagr
·há 6 meses·discuss
There's a way to make `^q` quit `less` and not clear the screen (like `less -X`), while `q` quits `less` and clears the screen (like normal `less`).

1. Do `echo '^q toggle-option -redraw-screen\nq' >> ~/.config/lesskey`

2. Make sure `less` is invoked without `-X` (or with `-+X` if you want to be sure).

This `^q` command is particularly useful for `git log` output and other things where you might need to refer back to them in the next terminal command you do. (In fact, `git` uses `less -FRX` by default, so you'd need to override its config to use `less -FR` instead for the above to work as intended). The `q` command is useful when you don't want to lose what you had on the screen before invoking `less`.
ilyagr
·há 8 meses·discuss
See also https://github.com/jj-vcs/jj/wiki/JJ-Con-2025 for a list of all the talks, their slides, and some additional notes. I think the slides are also linked from youtube, but the website definitely has them.
ilyagr
·há 9 meses·discuss
VS Code now has an OKish git graph built-in, in case you didn't know. This feature is a few months old.