News for hackers. Stuff that matters.

b3n

Re:Ghostel.el: Terminal emulator powered by libghostty on Sunday July 12, 2026 @11:31AM (#48881932)
Hi dakra!

> is there something Ghostel is missing

eshell allows me to manipulate text as I would in any other Emacs buffer. If I have a function which wraps a word in quotes, and bind it to a key, I can be confident it will work in eshell like it does anywhere else. It's a real killer feature. If I use evil-mode, or xah-fly-keys, or simply want to use ispell to correct the spelling of a word, it all works.

Unfortunately with Ghostel none of this works. It's not integrated in the same way. There are extensions like evil-ghostel-mode, but they are limited.

Are there any plans to improve this, or is it a limitation Ghostel has to live with?

A Ghostel equivalent of eat-eshell-mode would be amazing.

Re:Zugzwang on Saturday May 02, 2026 @01:57PM (#47988730)
Go is a turn based game without this feature (or bug?) because you aren't forced to move, you can instead pass. Both players passing in a row implies neither player thinks they can improve their position and the game ends.
Re:Malus – Clean Room as a Service on Thursday March 12, 2026 @02:54PM (#47355439)
This was already done, see: Grokipedia.
Re:Eschewing Zshell for Emacs Shell (2014) on Wednesday March 11, 2026 @01:59PM (#47338942)
I'm surprised no one has yet mentioned Eshell has a module built in for exactly what you want, you just need to `(push 'eshell-rebind eshell-modules-list)`. Now C-p, C-r, etc. work as you are used to.
Re:WikiTok on Wednesday February 05, 2025 @03:37AM (#42945717)
Nice! I made WikTok[1] in the past, but your version looks much better. :-)

[1] https://wiktok.org/

Re:Guix on the Framework 13 AMD on Friday February 16, 2024 @02:32PM (#39401855)
Guix even comes with a Nix service[0] which is easy to enable if you would like to also use Nix packages.

[0] https://guix.gnu.org/manual/en/html_node/Miscellaneous-Servi...

Re:X, the moonshot factory on Monday July 24, 2023 @12:14PM (#36850315)
This is a Google company, it has nothing to do with Musk.
Re:Netscape and Sun announce JavaScript (1995) on Wednesday July 19, 2023 @03:22PM (#36791808)
But there's plenty of transpilers: ClojureScript, Nim, etc.
Re:The guide to software development with Guix on Thursday June 08, 2023 @03:05PM (#36246977)
Guix comes with a service for using Nix packages[1], if that's what you want. It's very simple to setup, and would allow you to use Nix's Firefox package without any issue.

[1] https://guix.gnu.org/manual/en/html_node/Miscellaneous-Servi...

Thank you for taking the time to share all this great feedback! Appreciate it :)

I agree with all your points. I will only comment on a few, but will go through each of them and fix what I can.

> I assumed it didn't matter but turns out right goes back, but after you go back, left swipe gives you a new article instead of going back to the article you went back from

This is actually a bug, it's supposed to go forward but it seems `window.navigation.canGoForward` is not implemented in Safari. I'll add a workaround, and then think about better ways to navigate between articles.

> preload the next page

This is supposed to happen already (the API is queried in advance), but it might be slow due to updating the DOM. I'll see if there's a way I can pre-render the next page (might work well with your visual feedback suggestion).

> does the algorithm track how I scrolled the page, which words I dwelled on etc.?

No but I'd like to try something like this and see if it helps the suggestions.

> letting people see more of what you track, like what articles they've read and show them long lists of related articles for the current article, so that you can see that you're making progress instead of feeling that it's an endless pit of information

That's a great idea! Once I've fixed the numerous bugs I'll try and add some interesting/fun stats.

> Will you open source this?

Yes! The only reason it's not already open source is because I'd like to clean up the code a little first.

Show HN: WikTok – A Recommendation UI for Wikipedia

https://wiktok.org/

Hi HN,WikTok is a UI for Wikipedia that lets you quickly swipe (or use your arrow keys) to navigate between random and recommended articles (based on the previous articles you interacted most with).It's just a fun project I hacked together this weekend, so may be a little rough around the edges, but I'd love to get your thoughts.Let me know if you have any suggestions (or find any interesting...

( Read More... | 11 comments | on HN )
Re:Emacs for Android on Friday April 21, 2023 @04:42AM (#35651209)
Re:European privacy watchdog creates ChatGPT task force on Thursday April 13, 2023 @03:54PM (#35561258)
> I feel ashamed to live on this side of the Atlantic, sometimes.

Let's not forget that DeepMind is of EU origin, and they were one of the forces that kick started this whole AI renaissance.

Re:Be Careful Using Tmux and Environment Variables on Saturday March 04, 2023 @02:56PM (#35023920)
But at that point you may as well use TRAMP[1] and let Emacs do the multiplexing for you. Yes, (e)shell works over TRAMP too. ;)

[1] https://www.gnu.org/software/tramp/

Re:Tilde.news – A Link Aggregator for the Tildeverse on Monday February 27, 2023 @05:38AM (#34954921)
What is "blatant"? I don't think sister sites[1] are frowned upon. The code is released under a permissive license, after all.

[1] https://github.com/lobsters/lobsters/wiki#sister-sites

Re:Making a Keyboard Layout on Sunday February 26, 2023 @08:36AM (#34945422)
These runs (also known as "handroll combos") are one thing that the Colemak layout optimizes for.

See: https://colemak.com/Hand_alternation

Re:The benefits of everything (in Emacs) being a buffer on Monday January 30, 2023 @06:15PM (#34588062)
You can also use the built in rgrep functionality with ripgrep, just do something like

    (grep-apply-setting
           'grep-find-command
           "rg --no-heading ")
Re:It wasn't for nothing on Thursday August 18, 2022 @06:14AM (#32507487)
> not usable at work for me (lack of MacOS support - just 4 of my eng org's ~25 folks use Linux)

In case you're not aware, you can easily create a Guix pack[1] in the Docker image format that can be run on MacOS.

[1] https://guix.gnu.org/manual/en/html_node/Invoking-guix-pack....

No, the GNU AGPL does not force that. Maybe you are thinking of MongoDB's SSPL[0]?

[0] https://en.wikipedia.org/wiki/Server_Side_Public_License

From your link:

> Web mining is infeasible due to the large memory requirement and the lack of directed rounding support for floating point operations in both Javascript and WebAssembly.

Re:Building a secure software supply chain with GNU Guix on Tuesday July 19, 2022 @04:42AM (#32149013)
> While I understand and agree with most of the GNU mantra of free software, it was simply difficult and unwieldy to use my laptop since it required non-free software

One easy solution is to use Guix's Nix service[1], which lets you install packages from the Nix package manager.

[1] https://guix.gnu.org/manual/en/html_node/Miscellaneous-Servi...

> If anyone knows a quick fix, please let me know!

I don't use `use-package` (or `flycheck`, what advantage does it have over the built in `flymake`?), but I suspect adding `(require 'use-package)` after `(straight-use-package 'use-package)` would fix it.

Another approach to the problem would be to install Emacs packages with GNU Guix[1].

[1] https://guix.gnu.org/manual/en/html_node/Application-Setup.h...

Re:Cold Showers on Saturday June 18, 2022 @07:36PM (#31794783)
> The function will generally only work on a subset of types for given variable.

This is true for many functions defined in statically typed languages too. Just because your function says it works with an integer, doesn't mean it's necessarily going to work with _any_ integer (think `1/n`). Very often the type used isn't narrow enough.

Modern dynamic languages understand this, see for example Clojure's spec[1].

[1] https://clojure.org/about/spec

Note that these files are not statically generated; they are translation files, generated by translators.

Older »