Better HN
topnewbestaskshowjobs
Log inSign up

_7tgr

1 karma · joined Jul 31, 2026 (3mo ago) · 44 submissions

Submissions

comment 1y ago · link · parent

Right, input latency is what matters for me. I'm not seeing whether they've measured that in the docs/on Github.

comment 1y ago · link · parent

Yes, it constantly bugs you about buying OneDrive.

comment 1y ago · link · parent

To be honest I've never had issues like you're describing and I've been using Linux nearly exclusively as a desktop OS since the 2010s. The main deficiency is that it doesn't have eg a good Photoshop alternative, but what's there works well-- and these days the browser has supplanted most native proprietary software, anyway. Things have only broken for me when I've hacked/customized them to the point that it's a miracle they work at all.

OTOH, Windows has never given me anything but trouble... stuff that's easy on Linux semi-frequently required regedit hacks. I remember having to mess with some DCOM thing and ended up hosing my Windows install. Not to mention that it's awfully slow without installing a bunch of debloating tools (and even then...).

comment 2y ago · link · parent

Yes I'm waiting for a nixos package. I have used it a bit through the Docker image and it's super cool. I can see it succeeding emacs. Seems like it's even more hackable than the latter, since it's all written in Common Lisp (there's no C core).

comment 2y ago · link · parent

Yeah, that was mostly my thinking. I like lisp!

comment 2y ago · link · parent

I mentioned speed because they're writing their own instead of using Chez or Gambit or something (which have taken a while to get into 'performant' territory). Writing and maintaining a fast(!) Scheme is hard. Having spent time with r5/r6/r7rs (many variants for the latter) and their quirks I'd honestly say Lua is simpler by a wide margin, but some of this is down to preference. The Lua execution model, if nothing else, is a lot easier to understand than call/cc for instance. And the language does force you to write things functionally, practically speaking. I'm also not a huge fan of syntactic macros. Also things like dynamic binding which, in fairness, are just SRFIs but end up being implemented by most Schemes. I do respect their willingness to do what's fun for them, though :) that's what it's all about.

comment 2y ago · link · parent

I wouldn't really count that as editor config. Every editor with treesitter support will have configs for treesitter, for instance: https://github.com/nvim-treesitter/nvim-treesitter/blob/mast...

comment 2y ago · link · parent

I think a big missing piece with writing what you want in Rust and recompiling the editor to activate your changes is that you're not able to work with it _live_. That is, I can use the vim (or nvim or emacs) GUI/text processing/IO/etc facilities interactively as I'm writing my snippets to see if everything works the way I expected. I can send lines/expressions to the lua/elisp compiler running in the editor that I'm _currently using to write the program_ to change how it works, _on the fly_. It's an integrated programming experience in a way that very few things are--- it's not just about programmability, but this circular thing that goes on with editors that really fully commit to it.

comment 2y ago · link · parent

Yeah, I was on the nightly release (via nix) for a while. Rock solid.

comment 2y ago · link · parent

Echoing the other replies here that idk what breakages this refers to. I switched since I liked lua better than vimscript (after writing a ton of vimscript). I don't use many plugins; the few I use haven't broken. Only encountered a single (non-serious) nvim bug that wasn't also a vim bug in many years of use.

comment 2y ago · link · parent

Agreed. I've been using (n)vim for roughly 8 years now and only touch my config to put in bits of Lua I've hacked together to make my life slightly easier (~10 minutes every few months? I just do it as-needed). I use 5-6 plugins total. I think the most vocal users are probably responsible for the impression of constant churn, because they've got fancy tricked out configs loaded with alpha-quality plugins and probably do need to constantly update it. Nothing against doing that, but it need not be that way!

comment 2y ago · link · parent

And, oddly, they chose to do their own Scheme implementation for it. Not that I'm against Scheme in particular, but a lot of other people justifiably seem to be. It doesn't have the speed or learn-it-in-10-minutes of Lua (nvim) or the historical excuse of Elisp/Vimscript (emacs/vim) or the ecosystem of Typescript (vscode). Strange choice.

comment 2y ago · link · parent

I think you only miss (or at least I noticed this happened to me) a plugin system when you've engaged with the programmable side of your editor and then have to use one that isn't. I dont use/try to stay away from using (neo)vim plugins but I do like to pull out repetitive things into little snippets. I have things to manage my clipboard, pull up manpages in another editor tab when I put my cursor over a command and press a key in terminal mode, and a scattering of other quick useful tools. A lot of it's not reasonable to upstream, so it's a bit frustrating to me personally to use stuff that isn't programmable.

I've also toyed with emacs in the past and think I could like it for this reason, but ironically most other programming editors don't seem to be committed to the user's abilities as a programmer. I don't think it's nearly as easy/accessible/encouraged to program vscode, for instance. Self-documenting programmable programs like vim and emacs are so magical--- I hope they never go out of fashion.

comment 2y ago · link · parent

This does not seem like a standard way to conduct business to me by any stretch of the imagination, though I don't work in cybersecurity. Perhaps that community just has lower standards to which people and organizations are held. Would not be surprised. The things I've heard from that corner of the industry....

comment 2y ago · link · parent

I don't know, but it's been more reliable for me than /bin/bash. I think env is part of POSIX.

comment 2y ago · link · parent

#!/bin/bash won't work on, say, nixos, and as you noted, many non-linux platforms. It's a few more characters to do something (more) portable! You're right that docker (or something like nix flakes, which are lighter-weight/easier to introspect imo) are probably a better solution in the long run, though.

comment 2y ago · link · parent

Prefer `#!/usr/bin/env bash` instead, since /bin/bash isn't a standardized location for bash (even across Linux distros). The former causes $PATH to be searched for bash.

comment 2y ago · link · parent

This intuition denies the inherent human power: that we are not merely individuals, and can work together to accomplish greater things than any individual could. Software engineering has certainly _not_ stopped doing cool things-- exactly the opposite-- obviously. I don't care to justify this since there was none in the claim I'm responding to.

comment 2y ago · link · parent

https://finance.yahoo.com/news/nvidia-ceo-the-metaverse-will...

> the economy of the virtual world will be much, much bigger than the economy of the physical world. You’re going to have more cars built and designed in virtual worlds, you’ll have more buildings, more roads, more houses — more hats, more bags, more jackets.

comment 2y ago · link · parent

> since vim's visual modes always extend

Certainly an interesting point! Maybe this'll be addressed better once nvim adds multiple cursors (it's on the roadmap).

Though I've never found this to be annoying, or felt I really wanted multiple cursors while doing something; maybe I'm inexperienced with using them. For complex/wide-ranging edits I usually record an edit action at a particular instance of what I wanna change as a macro and generalize that if necessary by composing it with more macros, instead of editing everywhere at once in one fell swoop. I think it's just a different way of going about it (which happens to work more intuitively for me).

> and you lose selections on going back to normal

FYI: gv restores the prior visual selection; I'm not sure if this is what you meant

comment 2y ago · link · parent

A couple thoughts to add to the conversation:

I think I prefer visual mode when I'm doing a _really_ complicated edit and need to rely on visual feedback. I think having visual feedback as the default, though, (1) causes too much visual clutter (I don't want random things to be highlighted all the time when I'm moving around) and (2) wastes keys needlessly, and causes you to have to do weird stuff as a result. For instance, if I want to select 5 words in visual mode, it's just 5w. This is not (afaict? I may be wrong) the case for the Kak/Hx editing models, which have to rely a bit more on chording (pressing shift to extend a selection in the case of Kak; I guess in Helix you could enter its visual mode and do the same?). It's also difficult to replicate Vim's repeat command.

Switching verb+object to object+verb is great, and useful-- I just don't want it to be the default. Having it be a mode seems to be a very natural solution.

Or perhaps there's a way to get visual feedback that doesn't come with these drawbacks-- but these seem inherent to the concept. Visual feedback is super useful, but it definitely doesn't come for free.

And at least IME, I usually don't need this kind of visual feedback; the edit actions I'm using in normal mode scale with the complexity of the edit. So if I'm trying to delete to some specific place, I'll probably use f/t or search as a movement or <verb>i<delim> since those are a lot more precise than trying to figure out the number of words/characters/lines to delete. And on the rare occasion that this doesn't do what I wanted, the right thing is usually just a matter of pressing . away (or, rarer, u + the thing I meant to do. I'm never really scared of doing the wrong edit, since n/vim preserves your undo history as a tree).

comment 3y ago · link · parent

https://github.com/brave/web-discovery-project/blob/main/mod...

I'm curious to see what you think about this. If you're not okay with Firefox telling Mozilla your IP address every time you connect, does the same go for Brave sending entire pages of your search results to them? This also includes which results you've clicked on.

comment 3y ago · link · parent

According to this, if you search twice across Brave Search and a different search engine, Brave (the browser) will scrape the first page of results for the second query, and send it to Brave, in addition to which links you click on, on that page. Curious to hear people's thoughts on this-- it's claimed to be anonymized, but I personally wouldn't be okay with this being collected. Any Brave users, have you been told that this is happening?

comment 3y ago · link · parent

Yes. I would put this on my website if someone made it.

comment 3y ago · link · parent

Blocking Chromium altogether isn't as big of a deal as it seems, either (unless you're a truly huge website). It's so easy to switch to Firefox these days. Probably takes a few minutes. For technical blogs with useful content on them I suspect people's desire to see the content will override the inertia of switching browsers.

comment 3y ago · link · parent

This lists a few things using Java Cards (likely stuff that's in your wallet, surprisingly): https://stackoverflow.com/questions/47731005/practical-use-o...

(fwiw I have a bit of prior experience here)

comment 3y ago · link · parent

Google appears to be significantly more useful than GPT-4 here. [1] is the third result for me for the query "credit card jvm". [2] is the second result and gives a direct (and more importantly, actually correct) answer. That post links to the Oracle documentation for Java Cards [3] which is the fourth result.

[1] https://en.m.wikipedia.org/wiki/Java_Card

[2] https://superuser.com/questions/362567/are-there-any-credit-...

[3] https://www.oracle.com/java/java-card/

All of this is just as easy as, if not easier than, using ChatGPT. It's unclear that such a tool even serves this purpose (retrieval of basic facts) adequately, so it should probably be avoided in the future.

comment 3y ago · link · parent

Probably because it's pretty easy to just use an older package from a different version of Nixpkgs (just use an override that defines the attribute for a package in your current Nixpkgs as the same package in an older Nixpkgs). It'll transparently pull the older version from the binary cache, too, if available.

The only difficulty is finding the right Nixpkgs commit hash, which this solves. I think I find the Nix way to be a bit cleaner, though I'm unaware of the full set of pros/cons.

Worth noting that the Nix package definition for curl at [1] is a little easier to read for me since it doesn't have the duplicated code for each version.

[1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/netw...

comment 3y ago · link · parent

Yeah, I agree-- I just happens that I personally resonate with most of these complaints (having tried both Kakoune and Helix a bit).

comment 3y ago · link · parent

You can use marks in (n)vim for this!

m<key> creates a mark. If <key> is a capital letter, you can jump to it across files.

'<key> jumps to the line of the mark.

`<key> jumps to the line + column of the mark.

Although this doesn't let you _edit_ at the mark. There's multiple cursor plugins for that, I suppose... (I'll note that macros are useful in a lot of the same ways as multiple cursors)

Edit: You can also use :vimgrep or another command that populates the quickfix list, and use :cdo to execute a command on every entry in the quickfix list.

12