Recent submissions

Comment · 2 months ago
Tmtail is a quick tmux hack, working (surprisingly well) as an ad-hoc replacement for multitail, implemented with tmux and grcat. Github: https://github.com/themadsens/tmtail

The following features thus come more or less for free:

- Mouse aware for select, resize etc.

- The full tmux copy-mode for scrollback browsing, searching etc

- Copy scrollback text to the clipboard (y & Y) without any fuzz, via tmux clipboard integration

- Easily extendible by adding bindings for tmux actions. The sky is the limit ..

Color highlighting is done with an node clone of grcat, grcat.js, which is about a factor 10 faster than the python original

Currently a default grcat configuration is baked into tmtail that should be well suited for tailing wildfly logs

Comment · 3 months ago
Just enable perpetual bash history and install fzf. That will get you CTRL-R (and a lot of other niceties) out of the box.
Comment · 7 months ago
The dot command, as you probably well know, is a macro that captures the last change: was it '3cw' or 'cE' or '7s' or <visual>s or 'ct)', all changed to the last insert. All intuitively without you even having to think about it.

Much more powerful than "change all my selections to the next input" IMO.

Comment · 7 months ago
Whats with all the fuss over multicursor. How is this different from just using '.'
Comment · 7 months ago
I naively assumed it would work on the already installed homebrew packages. No such luck.

After installing, 'nb list' and thus eg. 'nb outdated' will yield the empty list! I have absolutely no use for a competing homebrew installation that is mostly compatible ..

Comment · 7 months ago
Comment · 9 months ago
I was lucky enough that my first employer ran the very first 4.2BSD in Denmark outside academia (on a DEC-VAX/750), so i grew up with Bill Joy's newfangled "vi" and spent countless hours recap'ing the cheat sheet.

To this day stuff like "3dw" and "d}{{[P" are just second nature. Very much enjoying moders stuff like neovim and CoC/LSP too.

And yes, nvim is perferctly suitable for Java and maven with ctags/ripgrep/fzf etc. plugins

Comment · 9 months ago
More often than not you want 'de' or 'ye' rather than 'dw' or 'yw'
Comment · 1 year ago
Sweet, very impressed.

To be really usable, for embedded and otherwise, a well documented and ergonomic C API for bindings is needed though.

The closest I could find was "If you need to add more predefined functions, add them in intrinsics.h." I will take a look though, this seems really promising

EDIT: Looks to be pretty easy to tack an external registration mechanism onto intrinsics.h. Good to go then ..

.. Only two SO comments at this point .. come on folks :-)

Comment · 1 year ago
I wish premake could gain more traction. It is the comprehensible alternative to Cmake etc.
Comment · 1 year ago
Oh yes. For one thing "hexdump -C ." would work out nicely in those days.
Comment · 1 year ago
I always found buildroot a lot easier to fathom and harness. And certainly flexible enough with the ability patch every included recipe and package.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton