Better HN
topnewbestaskshowjobs
Log inSign up

iLemming

3,103 karma · joined Feb 14, 2015 (11y ago) · 2,281 submissions

@iLemming

[ my public key: https://keybase.io/agzam; my proof: https://keybase.io/agzam/sigs/La7qFk8YkbwfkgeSx7vkBWBba2f3HIpZyNVxUHvshbU ]

Submissions

comment 6d ago · link · parent

True. I suppose the use of small and cheap model to straighten them up is justified here. I think I'm gonna try to add that processing step, maybe it's cheap enough. It still worth to extract the plain text from the page properly, even if it sakes three-four-ten seconds.

comment 6d ago · link · parent

> Encouraging sandboxing is never a waste of anyone's time.

It just fucking is when you're throw it as a blanket rule. Sandboxing makes sense when it has a target: this process parses hostile input, it holds no secrets, and it doesn't need your home directory. A browser renderer fits that. A PDF viewer for email attachments fits. A main editor whose whole job is touching your files and credentials doesn't fit.

"Don't browse untrusted sites in the Emacs that holds your secrets", okay that's reasonable (something you didn't even say), but your "sandbox everything, bugs exist", is the part that wastes people's time.

> I'm sorry that's your view. Good luck

WTF is this even, seriously? Stop wasting people's time with this nonsense. This isn't a kindergarten where we share some scary, imaginary stories.

comment 6d ago · link · parent

Emacs is useful because it reaches everything: your files, git, ssh, compilers, shells. Sandbox it tightly and it stops being Emacs. Sandbox it loosely and it protects almost nothing. What's your point here? You're waving your scarecrow without any concrete suggestions.

comment 1w ago · link · parent

I honestly don't fucking get Reddit. It's so paradoxical. They repeatedly appear to keep shooting themselves right in the foot, over and over, yet the thing just refuses to die. The site is so stupid, and so annoying to deal with, yet there doesn't seem to exist a single better alternative to it where people collectively would agree to go, post and discuss things. I wish HN had clear subsections, delimited by tags, or whatever. So we could just go hang out with people wanting to talk about AI, or Anti-AI, Emacs or Vim, etc.

comment 1w ago · link · parent

What does "conventional" even mean anymore? We've just been ushered into the era of "intentional programming", where the concrete programs themselves are not so valuable, but the abstract ideas and intent behind them are. The ideas described in the article can be fruitfully exploited in any environment, regardless of the type of workflow; it doesn't even have to be Emacs-bound at all.

comment 1w ago · link · parent

> I can ctrl-c > ctrl-v from one to the other

I once wanted to find all the URLs posted within the HN thread. It's easy, but then you also have to filter the HN's own urls. In Emacs is a one liner that gives you a picker with the way to copy any url, preview it, open it in the browser or in Emacs. The list is plain text, you can stick the whole thing into your notes, share it, etc. I then bound the command to a key. Now I can do it with a keypress. Turns out it works also for Reddit as well. Without Emacs I'd probably will have to write a specialized script that would be wonky, error-prone and obsoleted in weeks.

comment 1w ago · link · parent

Emacs today is capable of rendering Doom-level graphics at no less than 60fps, not only SVGs.

comment 1w ago · link · parent

> Emacs is just a wildly inconvenient and inefficient way

Hahaha... So you think thousands of people using it are stuck in it because they hate themselves and I just love inconvenience and inefficiency? What odd masochists they are, these weirdos with zero skill of bashscripting. Total losers.

The autocomplete I have in Emacs is, btw., simply amazing; it's the best I've ever had, it's non-intrusive, and actually enormously helpful in practice. The completion previews sometimes feel like some blackmagicfuckery. I seriously doubt you even remotely have any idea of what you're talking about.

comment 1w ago · link · parent

I'm attempting to describe to you the joy of skiing, and you're responding with "I don't get the point of dragging my ass all the way to the top of the mountain just to slide down on a piece of wood..."

You will never see the appeal until you give it a heartfelt try yourself; there's too much tacit knowledge that is not easily describable in a few short paragraphs.

You're making it sound as if all the things you're talking about are unknown to me. I wasn't born into Emacs, and I didn't find it in my college years and just decided never to leave. I've been staring at computer screens for decades and have been using Emacs for only a fraction of that time. The only difference between you and me is that I have now seen both sides, I'm intimately familiar with your worldview, and I know the reasons why that side sucks. I'm not saying the Emacs-side is perfect and that there are zero tradeoffs to consider, no.

Lisp and Lisp-based systems have been an impossible sell for a long time, and mostly for emotional rather than practical reasons. "Emacs user" sounds like a lifestyle, and some people outright avoid it just so they don't have to join the tribe.

Those who genuinely try to evaluate the practical side out of curiosity pick some random features or one demo and typically remain unconvinced. I have never heard anyone say "I watched this video/read an article and I decided to try Emacs", because the value of Emacs does not live in any single feature. It lives in how the features compose, and composition is invisible in a demo.

Even using Emacs for a few weeks may not help; the value builds up over time. Each piece on its own looks, sounds and feels unimpressive. Nobody is ever persuaded by a sum they have to imagine. There's no frame that I can use for you to even listen to me; you don't have one. It's very much aligned with Graham's Blub paradox - from inside a less flexible tool, a more flexible one looks like the same thing with weird extras. You only see the difference by looking back from the more flexible side. Most people have never experienced an environment they could change while it runs, so they have nothing to compare it to. My enthusiasm reads to you as sunk-cost bias, even though it clearly isn't. I would happily switch away from Emacs whenever a clearly better alternative comes around. Alas, it just doesn't exist.

> in fact having to configure them myself

Yesterday, I would've said: "Oh sweet summer child, do you really believe you don't configure the 'commonly used software'? You're configuring your own brain and habits to match that software instead..."

But today, that's not even an argument. You can just install Emacs and ask a good model to build you a solution to a problem and then observe and evaluate the workflow differences, easily. Then it opens up a whole world of possibilities where the only limit is your imagination.

"Right-click -> search effectively" is one thing, but when you have a system where you can bind it to a key, to something more complex than a simple right-click, to a foot pedal, to a gesture, to a voice command, to a "Fus Ro Dah" Skyrim call - you just laugh at your own younger, naive self for being so dismissive without even knowing what the hell you were talking about back then.

You're mistakenly thinking I'm offering a replacement for all the tools you already know and use.

> to use a basic browser feature

You didn't even check what it does. It is in fact piggy-backing on the browser feature, it's not replacing it, it is rather enhancing it ten-fold. Emacs doesn't have to replace existing things in your toolbelt. It can act like a glue, like an orchestrator.

comment 1w ago · link · parent

> Can you be more specific about this?

No, they can't. People like to play this kind of fear-mongering and "cybersecurity theater" without even questioning first the cybersec posture, network perimeter - vpn, firewall, malware protections, etc. Everything the article describes is perfectly possible even without Emacs. OSA layer on Mac been doing even weirder things for odd thirty years.

It's not like people giving Emacs root shell access. It's culturally fitting for HN - signaling caution is always socially safe. Nobody ever got criticized for saying "that sounds risky". But "I evaluated the risks and accepted the tradeoffs for my situation" is the actual, pragmatic engineering. Security is risk management, not risk elimination.

comment 1w ago · link · parent

> The example you describe

It's just a drop in a vast ocean of things. Your close-minded thinking just sees one thing and makes generalized assumptions.

> where people want to spend time

You're reading it completely backwards. This is the thing that I never understood about the majority of programmers. For whatever reason they just readily accept the status quo. Here's a typical example:

So often do I feel like rolling my eyes whenever I pair with my colleagues - I'd do something trivial, like fetching a list of PRs related to a specific ticket number at the cursor. They'd be like "whoa, that's cool", and then never do anything about it - they stick to their "learned helplessness" paradigm - copy the ticket number, switch to browser, navigate to Jira, pass through SSO, look around for the phone just to push the button, paste the ticket number, find the linked PRs, etc. The other teammate watching all that may say something like: "you could do it faster directly on GitHub"... And here I am - pressing a key, voila - the list. Why the heck don't they do anything about it, I just don't get it. Trained engineers, they spend years dealing with cranky software, why in the world are they unwilling to do anything about these seemingly small yet everyday annoyances? Why do so many programmers treat software as if it's magic? And I think I know the answer: because the software you use shapes your affordances. If there's no downloadable get-me-list-of-prs-for-a-jira-ticket VSCode extension and no simple way to build it, it would never occur to them to even get annoyed. In Emacs, I can write a picker in a scratch buffer by hand and it would take me minutes. Today with LLMs, I can just spend fifteen seconds, not even typing, speaking my thoughts and it goes to build it, run a sequence of e2e tests and hand it to me on the spot.

Sure, go ahead, talk about time. Make me chuckle. The irony is that the time you spend using a Lisp-based system never feels wasted; it only gets better, it has a compounding effect. It's the time you waste convincing skeptics that it is in fact enormously pragmatic and time-saving that feels like tilting at windmills. Why am I even still talking to you here, if it was clear from the beginning that you didn't in fact have good-will curiosity, only simply wanted to find evidence for your already settled and stiffened mind.

You think people choose and stay with Emacs, because their parents baptize them into it? It's a hands-down the best known system to deal with text of any kind. It is not a text-editor, text-processor, IDE or coding tool. It's an effing text orchestrator. It is capable of handling multitude kinds of text-related tasks in anything in its computational vicinity - local and remote computers, apps, and services. And programming is all about text. That is the essence that every computer user has to conquer first and foremost; everything else is secondary.

comment 1w ago · link · parent

You don't need AI for that, this all can be done deterministically. I'm currently using Mac and using OSA layer I can easily grab the readable text out of DOM as it's rendered on the page to display in an Emacs buffer.

comment 1w ago · link · parent

> ends in either weird hacks or uncomfortable pauses

Not true in practice. It is absolutely useful in real, battle-tested scenarios. If this were a deal-breaking problem, we'd keep seeing it discussed and eventually fixed. Like the issue with long lines, which was a problem in Emacs for decades and is now mitigated. Nobody complains about it anymore.

Lem is very cool, yet too young to be pragmatically compared with the 40-year package ecosystem of Emacs. Let's be honest, with all the "better" stuff, we're not witnessing herds of Lispers switching to it. Another decade may pass before we see it make more than a blip on the radar. Aside from a number of devoted Common Lispers, there's not much usage of it in the real world.

Meanwhile, Emacs is seeing another uptick. First it was Spacemacs, then Doom, now LLMs are making it very appealing, and we see HN submissions every other week. Don't get me wrong, I'm betting on both of these horses, even on Neomacs, and whichever wins, I'd be happy to see it. Emacs for now remains the uncontested king of Lisp-based text editors.

comment 1w ago · link · parent

> The example you describe is something I would rarely do

There is some tacit knowledge in here that is nearly impossible to convey in words. Your "rarely do" is the thought that subconsciously ignores the principle of least effort; there's an affordability gap, e.g., I am more likely to use a thesaurus simply because I have it built into my text editor, versus someone who has to reach for it in the browser/separate app.

> building a process around it would be inefficient for me

That's what you're missing. Emacs makes it incredibly cheap. It's a Lisp REPL. When you understand what it means in practice, it opens up incredible opportunities for exploratory computing. You're not "building processes around", you're essentially living in one mega-process, a simulation, a digital universe where you are a god, commanding change at will. Right now, as I'm typing this very comment, I noticed a tiny gap in the way how I'm using LLMs, so I'm changing this stuff on the fly, with the agent running things in the adjacent buffer while I'm finishing this comment. The crazy thing is that it doesn't have to compile, restart, ask me to pause typing, etc. It's applying changes to my editor live. By the time I finish typing the comment, it will probably have already built this feature, tested it out, and it will be ready for me to use, instantly.

comment 1w ago · link · parent

> I’m curious what the difference is between that and having pinned windows in Ubuntu

The difference is the text consumption. Can you easily retrieve any text you're seeing on the screen into your editor?

Inserting any piece of text I see on the screen into my notes? A couple of keystrokes. I can grab text in any form, even if it's a frame in a YT video - I'd just select the area, snapshot it - Emacs OCRs the text out of it, which takes milliseconds. I fully control the playback of said video directly from my editor - rewind, pause, mute, speed up, extract transcript, etc. It is enormously liberating and empowering.

I have complete and utter control over text - I can send a query to an LLM in the middle of typing this very comment, without ever missing a beat. I can ask for anything - fact-check it, spell check it, reword it, explain it, give me different variations of the same sentence. I can replace part of it with diffing in-place. I can even start changing the behavior of Emacs itself, right there on the spot.

I can directly grab any part of the log of a process running in the terminal. Grep through it, semantically search through it with an LLM, whatever. Similarly, I can directly grab a piece of any text in Emacs and send it over to another app, e.g., as a command to run in the terminal.

> Everything You describe is possible without emacs

Everything is possible with Turing-complete languages, but Turing-completeness is a trap. It's all about affordability. What Emacs grants as a Lisp-REPL loop with a built-in text editor is lowering that affordability bar to the lowest imaginable minimum.

Have you ever thought: "What if I could change the 'Open File' dialog in Sublime so I can browse GitHub repos directly instead of folders and files?" This kind of thinking has probably never occurred to you - for an Emacs user, that is some prosaic, just-another-Wednesday kind of thought.¹

---

¹ https://www.youtube.com/watch?v=BDn8ak-8yIs

By the way fishing that url out of my browser history took a keystroke - of course Emacs can search through my browser history too - https://github.com/agzam/browser-hist.el

comment 1w ago · link · parent

no banners, no ads, no gify-gifs, and no modal windows popping up randomly; how disgusting, amiright?

comment 1w ago · link · parent

That's unfair; Emacs had 50 years of shaping into what it is. What the Neomacs team achieved in a very short amount of time is absolutely impressive. I'm not stoked about the fragmentation or about the use of AI, but I think we all should curb our skepticism too; some opinions are aging faster than milk.

comment 1w ago · link · parent

I'm using Emacs more than ever. Although, mainly not for code composition - most of the IDE features of Emacs - lsp, formatters, checkers, etc. - I'm not using them much anymore. Yet my usage on the text consumption side has increased - I'm reading a lot more stuff directly in Emacs.

The age of LLMs is forcing me to review bigger bodies of text, and more often. Various features of Emacs, like indirect buffers, narrowing, ibuffer, a multitude of search options, etc., make it an unbeatable choice. Plain-text composition is also at its peak, and Emacs, again, is just beyond anything else with completion-preview, thesauri, etymology and definition lookup, dictionary and translation, and fantastic agentic integration - I can query a model in the middle of typing this very comment, for various tasks - I can either just ask it to look up something, or feed the selected text to correct mistakes (with various diffing options to compare the result), fact-check things, ask it to TLDR or explain something, or even change any aspect of Emacs itself, right there, without missing a beat, without ever restarting anything. The flexibility totally is at complete and utter bananas level.

LLMs are all about text. Emacs is still the uncontested king in this space. Who knew that the 50-year-old turtle, after all, would take a major lead, surpassing even the fastest rabbits? I'm so glad I spent a decade falling in love with the idea of a Lisp-based editor and ignored all the cries about Lisp's imminent demise - I'm witnessing its renaissance; it's happening right in front of my eyes.

comment 1w ago · link · parent

> Neomacs crashes a lot

It's a highly experimental thing someone decided to mess around with, without any prior design discussion with any Emacs core devs. It's like a forty-minute-old baby and you're asking it to parallel park without crashing. What's your point here, I don't get it?

GNU/Emacs is incredibly stable. It's one of the most reliable pieces I've ever had; I sometimes run it for months without ever restarting. Which I can't say about pretty much any app on my system. Including the system itself.

comment 1w ago · link · parent

Cool. Can't wait to see your agentic rewrite of the Linux kernel caused by a misapprehension of systemd or something. In a "powerful" language that even DHH is admittedly not using much anymore and most of us moved away circa 2015. I'm sure this is exactly what Larry Wall meant when he said hubris is one of the three virtues of a programmer.

comment 1w ago · link · parent

"[It's better to] learn type theory, category theory, lambda calculus, logic, etc." I have heard a similar notion for years. And I tried. Oh boy, I tried. Grokking Haskell felt like a Sisyphean grind. And then I tried Lisp. I dunno what happened to my brain, but the sheer pragmatism and plain simplicity of it suddenly made all the things that before felt so difficult to grok clearer than Lego-set instructions. Recursion, with its small intricacies that confused me for years, made me realize how simple it actually was, I just wasn't seeing it the way it actually is. Y Combinators, Folds, Monads, Applicatives, Laziness, and many other things.

I wish I had found Lisp many years sooner. That simplified Haskell, Rust and Idris for me. The downside is that it turned out to be vastly pragmatic, and for personal stuff I'm on Lisp. Even though most things at work are not.

So, maybe you should honestly self-reflect: had that book not happened in your life before, would you even consider understanding LC today, unadulterated by "gimmicks"?

comment 1w ago · link · parent

Yes. Lisps are great (probably the best) when paired with LLMs. Clojure is well-known to be one of the most token-efficient [mainstream] languages, due to the mere compactness of its syntax. The syntax density can be easily observed by grabbing a piece of JSON and converting it to idiomatic EDN; it would be almost twice as compact and far more readable.

When an LLM is given access to a REPL, it gets even more interesting. Agents stop guessing and start empirically analyzing the current state of affairs, changing things dynamically, reaching the correct solution much faster and costing even fewer tokens.

comment 2w ago · link · parent

Tell me you're trolling. Or you really have no idea what it means in practice to modify a Lisp-based editor on the fly. I can change virtually any aspect of it in the middle of typing this very comment, without missing a beat. Yes, by sending calls to a model. It does it without linting, linking compiling or even saving that code anywhere. I don't have to even restart anything. Like at all. I think you seriously have little clue of what you're talking about right now. Or you're trolling.

comment 2w ago · link · parent

I have zero interest in comparing different modal-mode packages for Emacs here - I've used Evil for many years, and whatever tweaking it required, I just went with it; writing Elisp is cheap.

You're (perhaps inadvertently) highlighting my main point - the architecture of Emacs is so flexible that it allows (maybe even encourages) the existence of such variability for modal modes, which would be inconceivable in pretty much any other editor or IDE.

Therefore, it proves my statement once more - Emacs vims better.

comment 2w ago · link · parent

That's unfair. Most people are helpless against trained mind-tricksters; anyone could fall into that trap. Don't tell me you have never wondered how soldiers returning from war stop having panic attacks and soiling their clothes after seeing a qualified shrink, who does nothing more than talk. Words alone can heal, convince and mislead you. We have no idea what that woman used to lure him. He's not some random guy from Ohio who cheats with a stripper, he's a high-value target. We're talking about Hitman 3 (videogame) level espionage here.

comment 2w ago · link · parent

Clojure CLR is an official port since forever. Squint, SCI (nbb), Clojerl, ClojureDart, Jolt, Jank ... none of them tied to JVM. Not to mention Clojure-like Lisps - Fennel, Janet, Carp, Hy.

comment 2w ago · link · parent

Also the biggest digital world bank built on it. Afaik Apple's app store payments system uses it. Cisco's cybersec layer CTIM/CTIA (Cisco Threat Inteligence Model and API) and project IROH (Incident Response Orchestration Hub) built on it. Netflix uses it. NASA has some of it. CircleCI's backend built on it, frontend initially was also Clojurescript. Docker, Metabase, Qlik, Funding Circle, Splash Financial, Rate.com, etc. Tons of Europeans startups using it.
12345
77