News for hackers. Stuff that matters.

onetom

Re:A Desktop Made for One on Saturday May 09, 2026 @05:30AM (#48073484)
i think "self-hosted", "home" or "company"/"office" should be the term we use, instead of "local", since

1. every LLM is _local_ in relation to the location the storage and/or the computers hosting/using it

2. the LLM running in your home is only _local_, until u step out of the door, but if you have some tailscale or zerotier VPN setup, u can still access it _remote_ly...

Re:A Desktop Made for One on Sunday May 03, 2026 @03:45PM (#48000649)
The agent sessions (traces) would be very educational too.

Would it be possible to share the jsonl files too, like how Mario Zechner shared his chats with the AI, while working on his Pi coding agent?

https://x.com/badlogicgames/status/2041151967695634619?s=46

i'm also using https://betterdisplaymac.com/ for this purpose.

even on a native 2K monitor, having a virtual 5K frame buffer downscaled to 2K yields perfectly enjoyable results, compared to how macOS' native 2K image would look like; it causes eye-bleed :)

Re:Typing and Keyboards on Monday March 30, 2026 @07:50AM (#47573073)
I just received this Keychron B11 Pro semi-split kbd with scissor keys:

https://www.keychron.com/products/keychron-b11-pro-ultra-sli...

pretty amazing so far. put together a SpaceFn layout, with partial home row keys, in no time, with their web usb based, online configurator.

i tried and/or assembled keyboard.io model 01, (falba.tech bamboo) minidox, troy fletcher signum 3.0, egodox ez, leopold, glove80 before, but this device is a pretty amazing compromise among many dimensions, like portability, price, familiarity, split-ness, extra layers, thumb keys, connectivity, portability.

what's clearly not great is its serviceablilty and only time will tell how durable is it.

if the battery dies in it and puffs up, it's most likely have to be thrown away, so it's not really an end-game keyboard, in that sense.

Re:OpenCode – The open source AI coding agent on Saturday March 21, 2026 @10:30AM (#47467375)
Pi is the Emacs of coding AI agents.

It's a pity it's written in TS, but at least it can draw from a big contributor pool.

There is https://eca.dev/ too, which might worth considering, which is a UI agnostic agent, a bit like LSP servers.

Re:Eschewing Zshell for Emacs Shell (2014) on Saturday February 28, 2026 @08:49AM (#47195364)
a good reason for getting used to the M-n/p/r binding is that they work in the minibuffer too, even in `emacs -Q` (though without live feedback, but i think that's a fine compromise)

for the past half year i'm using emacs without any extra competition packages and it's surprisingly usable as-is.

i haven't even customized the completion styles and it's fine!

i got used to typing `M-x -forward<TAB>` if i want to find a command which contains the word "forward" and not just starts with it.

i do have karabiner elements remapping my keys under macOS and i use a tweaked version of @jeebak 's SpaceFn layout, where i've mapped Opt on holding the semicolon key, which still acts as semicolon, when tapped.

that way M-r is pretty convenient to type. M-p is less so though, because i switch to the regular opt key for that... i should really have to get used to my glove80 keyboard to avoid such quirks...

Re:Eschewing Zshell for Emacs Shell (2014) on Saturday February 28, 2026 @08:38AM (#47195229)
i second the eat package recommendation.

there are some quirks with it though, given it has a couple of input modes.

i think everyone should read its fantastic documentation 1st to avoid frustration, instead of just falling back to the local minima of trying to use their pimped up shell inside eat as is.

e.g. i had a 2 line starship prompt enabled in my macOS zsh and inside eat it made the screen scroll back and forth by half a page randomly as i was just typing regular characters at the prompt.

M-<left>/<right> moves the Emacs point in semi-char mode, but the underlying shell is not aware of it, so the next character input will happen at an incorrect position. M-f/b works though.

There is an auto-line-mode, which might be a good compromise, but i haven't tried it yet.

Re:Eschewing Zshell for Emacs Shell (2014) on Saturday February 28, 2026 @08:20AM (#47195023)
i also thought i can't get used to it, but i can!

otherwise, as others have mentioned it, remap the keys!

also, you can talk to some LLM about it, if you feel it would be tedious to come up with better bindings.

feed in the key bindings from `C-h m` of eshell, enumerate which bindings you want to carry over from traditional shells and instruct it to recommend you binding swapping pairs.

i was able to get great results on such niche operations already from anthropic's opus 4.5 models but even grok or deepseek was pretty helpful already last summer.

steve yegge's efrit takes this to a whole new level, by letting the LLM interrogate your running Emacs process live for documentation or function source code:

https://github.com/steveyegge/efrit

he demoed it here:

https://youtu.be/ZJUyVVFOXOc?t=246

Re:Ladybird Browser adopts Rust on Monday February 23, 2026 @01:45PM (#47126801)
Were there any immediate benefits of this conversion, e.g. reduced memory use or lower CPU utilization?
Re:GNU Unifont on Saturday December 13, 2025 @11:43PM (#46260803)
no. as others have stated too, the following should be mentioned

- what's the 2 meaning in BMP

- it's designed as a monospaced (or proportional?) bitmap font

- designed in a single 16x16 size only (or also 8x16? it's a bit unclear)

- provided as an OTF/TTF font format, which can be scaled by most font rendering engines to other sizes, but u need antialiasing to make it look smooth (this is mentioned, but under the download section only)

- use as a "last resort" default font, according to wikipedia at least

Re:Icons in Menus Everywhere – Send Help on Monday December 08, 2025 @09:57PM (#46200745)
In earlier versions of Apple OSes, you could edit the menus yourself, with the officially supplied resource file editor app and there was nothing really special about it.

There are `ibtool` and `plutil` CLI commands built-in to macOS these days too, but to get some graphical editor, u would need to download 3GB of Xcode and u would invalidate the code signatures, etc...

Plus there is a huge churn in the application versions, so any customizations would need to be applied repeatedly to newer app versions.

Sad, really...

Re:Compiling a Forth on Tuesday October 07, 2025 @02:51AM (#45500090)
> I feel like my Forth-like compiler and VM capture enough of the spirit of Forth!

Being interactive is core to the spirit of Forth, so I think your feeling is off.

The fact that editing, compilation and execution is folded into single, comprehensive workflow, makes it possible for a Forth system to be situated in very resource constrained environments and evolve while it's running, potentially without any dependence on some other, beefier computer somewhere else.

There are tons of problems avoided with bundling all these capabilities together. There is no question of "which version of the compiler to use?", since it's part of your program, because it's so small (few hundred bytes probably), it can be part of it.

It also has the D-lang, Rust or Zig style `comptime` feature via the immediate mode words.

And the list goes on an on...

Here is a starting point for understanding more of these principles: https://www.ultratechnology.com/lowfat.htm

Chuck Moore's ColorForth (https://colorforth.github.io/cf.htm) takes these ideals to some extremes, allowing an ATA IDE disk driver to be a few words of code only: https://colorforth.github.io/ide.html

Re:Where It's At:// on Saturday October 04, 2025 @11:42AM (#45474124)
I wonder, how rigidly has the JSON format been baked into the protocol.

It feels like a shortsighted choice, just because it's prevalent in recent decades.

It took years to implement performant parsers for it and it has a lot of quirks, missing features and the tons of double quotes and mandatory commas significantly harm its human readability...

Not sure what would I recommend instead, but personally I would prefer using EDN instead, as a Clojure programmer

https://github.com/edn-format/edn

Re:Zig builds are getting faster on Saturday October 04, 2025 @11:22AM (#45473955)
Great.

It's finally as snappy as recompiling the "Borland Pascal version of Turbo Vision for DOS" was on an Intel 486 in 1995, when I graduated from high school...

They C version of Turbo Vision was 5-10x slower to compile at that time too.

Turbo Vision is a TUI windowing framework, which was used for developing the Borland Pascal and C++ IDEs. Kinda like a character mode JetBrains IDE in 10 MB instead of 1000 MB...

https://en.m.wikipedia.org/wiki/Turbo_Vision

Re:Subreply – an open source text-only social network on Monday July 21, 2025 @09:05AM (#44634640)
Can you give some pointers to some popular implementations or algorithms in any language, please?

Is there some "industry standard" or "best practice" for such a metric?

I guess Bitwarden might have something publicly available...

Re:Subreply – an open source text-only social network on Monday July 21, 2025 @09:00AM (#44634605)
While I agree with what we don't need, something is still off with the UI. I can't really put my finger on any specific problem, though. It's just a gut feeling.

The names are bold faced, so my attention is drawn to them, but since i don't recognize any of them, i don't even know where to start reading.

i'm not from the US, but i did work on forms related to government workflows.

it bugged me for a long time why a person can't store facts about themselves and let some software figure out which of those facts are needed for filling out any form, which needs the usual personal facts.

then one can review the required facts and decide which ones are they willing to share.

in fact governments could even standardize the kind of info they are dealing with usually and when a citizen wants the government to do something, instead of filling out forms, they could provide their own, self-hosted fact db, run the govt's query and provide the results (after review)

Re:I Use My Terminal on Wednesday June 25, 2025 @02:37AM (#44374220)
i would have explicitly mentioned shell & eshell too.

ansi-term however doesn't work thru TRAMP, out of the box, though there are workarounds, like https://github.com/cuspymd/tramp-term.el (hasn't tried it yet)

Re:I Use My Terminal on Wednesday June 25, 2025 @02:27AM (#44374164)
yeah, magit via TRAMP kinda works, just slow af: https://news.ycombinator.com/item?id=44356346

not really TRAMP's fault, of course...

it also doesn't quite work with macOS remotes usually.

again, not purely TRAMP's fault, but a default config and habits issue with ~/.zshrc vs ~/.zprofile and maybe /etc/sshd/config settings, i think. i hasn't fully figured it out yet.

using this kind of "full-screen terminal screen sharing" approach has a more predictable experience, because of the amount of data transferred is usually 1 screen worth of characters (and colors) max, on most keystrokes.

that's both a pro and a con.

it imposes a fixed, network connection dependent input lag and the output is also often redrawn by retransmitting the same data over and over again...

Re:Using Microsoft's New CLI Text Editor on Ubuntu on Monday June 23, 2025 @12:40PM (#44357547)
TRAMP can run commands in that remote context too, so any kind of compiler, interactive REPL integration works without any special support usually.

For example the built-in version control works the same as in a local context.

That's why it's called transparent:

> TRAMP stands for “Transparent Remote (file) Access, Multiple Protocol” — https://www.gnu.org/software/tramp/

it makes a big difference, imho... not as good as plan 9, of course :)

Re:Using Microsoft's New CLI Text Editor on Ubuntu on Sunday June 22, 2025 @02:55PM (#44349367)
which variant? jasspa, openbsd/macos mg, torvalds/uemacs ?

why not https://joe-editor.sourceforge.io/ starting via jmacs?

Re:Using Microsoft's New CLI Text Editor on Ubuntu on Sunday June 22, 2025 @02:45PM (#44349292)
somethings never change...

my biggest problem with azure was also the fact that they couldn't stick to industry-standard terminology, but they has to invent their own. it made azure docs tremendously confusing.

Re:Using Microsoft's New CLI Text Editor on Ubuntu on Sunday June 22, 2025 @02:43PM (#44349270)
or they should just make sure emacs can work with the machine thru ssh, then there is nothing to install ;)

if no ssh, then nano is not a bad option, though i would go with joe (https://joe-editor.sourceforge.io/) which can also show the shortcuts, but much much more powerful, yet it's just a single ~700kbyte exe (or 1.5MB with some optional syntax highlighting grammars and docs)

Re:Show HN: Chawan TUI web browser on Tuesday June 17, 2025 @02:31AM (#44296227)
@shiomiru

What's the best resource (paid or free) in your opinion for learning about these TTY related concepts?

I'm aware of https://www.linusakesson.net/programming/tty/index.php for example, but that doesn't go into termcap/terminfo/curses.

one of the comments mentions http://www.amazon.com/termcap-terminfo-OReilly-Nutshell-Lind... though (online https://www.scribd.com/document/831486848/Termcap-and-Termin...)

Re:Demo "The Mind" by Haujobb and Sweet16 on Sunday April 20, 2025 @06:37AM (#43742909)
> Hungarian for "good morning"

What do you mean? "Jó reggelt" is how you say good morning in hungarian.

Re:How to Force Your Kids to Do Math? on Sunday April 20, 2025 @06:18AM (#43742832)
I think everything else like, drawing, singing, gardening, exercise, meditation could all use a bit more pushing...
Re:How to Force Your Kids to Do Math? on Sunday April 20, 2025 @06:16AM (#43742827)
Learning is pain, knowing is pleasure...
Re:Rsync replaced with openrsync on macOS Sequoia on Monday April 07, 2025 @11:47AM (#43612791)
OpenBSD removed ACL support though, iirc
Re:Bzip3: A better and stronger spiritual successor to BZip2 on Monday February 03, 2025 @01:38AM (#42915581)
How come https://www.nongnu.org/lzip/ is not mentioned in its readme?

I agree w other commenters, that Lzip would be a good baseline to compare it to, besides bzip2.

Nice job though on testing it on so many CPU architectures!

Older »