News for hackers. Stuff that matters.

themadsens

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

Re:Stinkpot: SQLite-Backed Shell History on Sunday July 26, 2026 @04:31PM (#49062116)
Just enable perpetual bash history and install fzf. That will get you CTRL-R (and a lot of other niceties) out of the box.
Re:Neovim 0.12.0 on Monday March 30, 2026 @02:12PM (#47577728)
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.

Re:Neovim 0.12.0 on Sunday March 29, 2026 @03:26PM (#47566334)
Whats with all the fuss over multicursor. How is this different from just using '.'
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 ..

Re:I set all 376 Vim options and I'm still a fool on Tuesday January 20, 2026 @02:04PM (#46696330)
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

Re:I set all 376 Vim options and I'm still a fool on Tuesday January 20, 2026 @01:54PM (#46696182)
More often than not you want 'de' or 'ye' rather than 'dw' or 'yw'
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

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

Re:I ported pigz from Unix to Windows on Monday June 23, 2025 @05:03PM (#44360059)
I wish premake could gain more traction. It is the comprehensible alternative to Cmake etc.
Re:The length of file names in early Unix on Wednesday May 28, 2025 @03:56PM (#44120093)
Oh yes. For one thing "hexdump -C ." would work out nicely in those days.
I always found buildroot a lot easier to fathom and harness. And certainly flexible enough with the ability patch every included recipe and package.
Re:That's Not an Abstraction, That's Just a Layer of Indirection on Saturday December 28, 2024 @05:14AM (#42529921)
Well said! I have met a few of these codesmells where the actual functioning is hidden behind a bewildering maze of facades, shims, proxies and whatnot.

I guess some has had an irresistible itch to use as many patterns from the GoF book as possible.

Re:Ghostty 1.0 on Friday December 27, 2024 @04:14PM (#42526090)
Very impressed with ghostty so far, but: Main reasons for sticking with ITerm2 (for the moment at least):

- "Seamless" cut & paste with paste on "2 X right click" + "Trim trailing LF"

- Quadruple click "Smart selection"

- Brillant search with highlighting in text and scrollbar

- Support for OSC-1 "icon titles" in tabs, as opposed to OSC-0 "header title"

Re:Ghostty 1.0 Is Coming on Wednesday October 23, 2024 @03:40PM (#41928614)
I connect to serial ports a lot in what I do, and never really understood why this should be handled by the terminal emulator. Much better done with eg. picocom, python serial.tools.miniterm or the like.
LuaRT is based on ZeroBrane, actually :-)
Re:Keyboard tricks from a macOS app dev on Sunday April 23, 2023 @04:07PM (#35679983)
Alfred (https://alfredapp.com) has a snippet manager (and a _whole_ lot more kbd goodies)
Re:So you've installed `fzf`. Now what? on Tuesday March 21, 2023 @02:52PM (#35250747)
You can: Help for bash 'history -s args': The args are added to the end of the history list as a single entry
Re:Using a Raspberry Pi to add a second HDMI port to a laptop on Wednesday March 15, 2023 @12:53PM (#35171160)
Incidentally, this is how you add a second external monitor to an M1/M2 macbook
Re:Show HN: Procal: A simple Qt-based programming calculator on Saturday March 04, 2023 @05:04PM (#35024905)
Hmm doesn't seem to do 64bit very well: 0xdeadbeefcafebabe -> 0xdeadbeefcafeb800

Is the result by any means passing through a double? like in freakin' JS!

Re:Modern Mono on Monday February 13, 2023 @02:35PM (#34779042)
I swear by "Monaco Nerd Mono"

It was a revelation to discover "Monaco" when I first got started on the mac. So casual yet stylish and refined.

Re:Ask HN: ORM or Native SQL? on Friday January 06, 2023 @05:56PM (#34282563)
My absolute most horrid work experiences have all involved Hibernate / JPA. It slows everything to a grinding crawl, works somewhat 99.9 % of the time and creates inexplicable un-debuggable errors for the remaining 0.1%

On top of that you have to ditch referential integrity to make it at least limp along

Give me plain SQL or something lowlevel like sql2o any day

Re:Things I've learned building a modern TUI framework on Thursday August 04, 2022 @04:30PM (#32347934)
> right up there with ddO

I believe S or even cc is more succinct

Re:Go 1.18 on Wednesday March 16, 2022 @02:44AM (#30695985)
A schoolbook lesson in steadily pushing "because we (think we) know better" boneheadedness. Well done indeed!
Arguing that opponents to removal "can just step up as maintainers" are completely bogus. As mentioned elsewhere, this is more about eroding trust in stdlib as a stable baseline. This is just the kind of thing that will teach people to not trust Python as a stable foundation.

Also. If maintenance of aging modules becomes tiresome, maybe it is a strong hint to keep backwards compatibility in Python proper.

Re:Frawk: A fast, JITted, statically-typed AWK written in Rust on Wednesday February 16, 2022 @02:17AM (#30357185)
FWIW, Pyp is now broken due to the python2 -> python3 silliness
Re:Show HN: Jless, a command-line JSON viewer on Saturday February 12, 2022 @05:55PM (#30317205)
This looks really good! Thanks a lot.

What i am always missing (fx & friends) is a preview and gradual expand. If you should feel inclined, you may want to look at jsonui[1] which has this (with C => e e e). Even if it is rather crude, I always come back to if for these two features

[1] https://github.com/gulyasm/jsonui

Older »