themadsens
themadsens on Hacker News
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/tmtailThe 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
Posted by
themadsens on Tuesday August 25, 2026 @01:31AM
from the show-hn dept.
Just enable perpetual bash history and install fzf.
That will get you CTRL-R (and a lot of other niceties) out of the box.
Posted by
themadsens on Wednesday July 08, 2026 @08:06AM
from the github.com dept.
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.
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 ..
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
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 :-)
I wish premake could gain more traction.
It is the comprehensible alternative to Cmake etc.
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.
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.
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"
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 :-)
You can: Help for bash 'history -s args':
The args are added to the end of the history list as a single entry
Incidentally, this is how you add a second external monitor to an M1/M2 macbook
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!
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.
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
Posted by
themadsens on Friday October 28, 2022 @03:08PM
from the twitter.com dept.
> right up there with ddO
I believe S or even cc is more succinct
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.
FWIW, Pyp is now broken due to the python2 -> python3 silliness
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