HNHacker News
TopNewBestAskShowJobs

b3n

1,029 karma · joined September 21, 2007

Hello, world!
submissionscomments
b3n··on Ghostel.el: Terminal emulator powered by libghostty
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.

b3n··on Zugzwang
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.
b3n··on Malus – Clean Room as a Service
This was already done, see: Grokipedia.
b3n··on Eschewing Zshell for Emacs Shell (2014)
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.
b3n··on WikiTok
Nice! I made WikTok[1] in the past, but your version looks much better. :-)

[1] https://wiktok.org/

b3n··on Guix on the Framework 13 AMD
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...

b3n··on X, the moonshot factory
This is a Google company, it has nothing to do with Musk.
b3n··on Netscape and Sun announce JavaScript (1995)
But there's plenty of transpilers: ClojureScript, Nim, etc.
b3n··on The guide to software development with Guix
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...

b3n··on Show HN: WikTok – A Recommendation UI for Wikipedia
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.

b3n··on Emacs for Android
Availabe on F-Droid at https://f-droid.org/en/packages/org.gnu.emacs/
b3n··on European privacy watchdog creates ChatGPT task force
> 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.

b3n··on Be Careful Using Tmux and Environment Variables
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/

b3n··on Tilde.news – A Link Aggregator for the Tildeverse
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

b3n··on Making a keyboard layout
These runs (also known as "handroll combos") are one thing that the Colemak layout optimizes for.

See: https://colemak.com/Hand_alternation

b3n··on The benefits of everything being a buffer in Emacs
You can also use the built in rgrep functionality with ripgrep, just do something like

    (grep-apply-setting
           'grep-find-command
           "rg --no-heading ")
b3n··on It wasn't for nothing
> 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....

b3n··on mCaptcha – Proof of work based, privacy respecting CAPTCHA system
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

b3n··on mCaptcha – Proof of work based, privacy respecting CAPTCHA system
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.

b3n··on Building a secure software supply chain with GNU Guix
> 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...

b3n··on Straight.el: next-gen, purely functional package manager for the Emacs hacker
> 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.

b3n··on Straight.el: next-gen, purely functional package manager for the Emacs hacker
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...

b3n··on Cold Showers
> 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

b3n··on We Put Half a Million Files in One Git Repository, Here’s What We Learned
Note that these files are not statically generated; they are translation files, generated by translators.
b3n··on Newcomers to Emacs and Emacs Configurations

    > Imagine I have never used Emacs before.
    > However I have been using vi exclusively for 15 years. I have a passing familiarity with Emacs bindings from working shells, but they are an exercise in misery.
    > 
    > So I want to change Emacs to use Evil.
Why Evil? I don't understand this conclusion; Evil is intended for Vim emulation rather than Vi. Emacs comes with Viper mode out of the box. It's well documented, implements all of Vi and Ex commands, and can be turned on with a simple `M-x viper-mode`; no configuration or external packages needed.

Similarly for Git, Emacs comes with VC built in: It's well documented and provides a powerful uniform interface across a number of VC "backends", including Git.

b3n··on Why LSP?
> I wouldn't call it a real alternative, specially without minibuffers plug-ins like ivy and co.

Why is that? Emacs comes built in with modes like `fido-vertical-mode`, which are arguably more powerful and modern than `company-mode`. They're just not turned on by default.

b3n··on NFT misconception: JPEG aren't stored on the Blockchain
What do you mean by "failed"? It is an active project: usable and still in development.
b3n··on NFT misconception: JPEG aren't stored on the Blockchain
> Each ENS domain name is an NFT.

Wasn't Namecoin solving the same problem years before Ethereum existed? What makes ENS/NFTs novel?

b3n··on Visual Git
They don't, OP was simply proud of typing "n → ∞".
b3n··on Visual Git
Likely referring to the compose[1] key in X11.

[1] https://wiki.debian.org/XCompose

Page 1 of 5Next →