Better HN
topnewbestaskshowjobs
Log inSign up

eadmund

4,543 karma · joined Feb 3, 2012 (14y ago) · 1,485 submissions

Submissions

comment 1w ago · link · parent

> I never got the appeal of Treasury Direct.

One can’t buy i Bonds anywhere but TreasuryDirect.

comment 1w ago · link · parent

> Yeah, I'll just get out my pocket knife and carve a little chunk off that big bar of gold when I'm trying to barter for gas at the truck stop. That'll work.

https://valcambi.com/product/combibar/

It’s a roughly credit-card–sized gold bar containing detachable 1g bars each worth $125 at today’s gold prices. That will buy roughly an F-150 tank at today’s diesel prices.

I would prefer something in even divisions of an ounce myself, but this looks like it would work.

comment 1w ago · link · parent

This is why one signs a contract with Microsoft: no-one gets fired when they have a twelve-hour outage. You sign a contract with some unknown company and have a six-hour email outage, you had better start packing up your things.

comment 2w ago · link · parent

> It's always surprising how many people who like to tinker with their devices also deliberately want to tie themselves more into the Google ecosystem.

I don’t believe that there’s a realistic alternative. The Apple ecosystem is even more restrictive, while even in 2026 the non-Android Linux phone market appears to still be pretty uncompelling.

comment 2w ago · link · parent

> Large companies have often changed the depreciation schedule for server hardware to 6 years rather than 3. I think it remains to be seen if this is justified as it’s not as though the pace of change in hardware has slowed down by 50% arbitrarily.

Anecdotally, I bought a new desktop over 7 years ago and it still feels blazingly fast with plenty of room to grow. And the cost of a new machine is prohibitive, so a replacement at this time doesn’t feel very compelling.

comment 1y ago · link · parent

> I noticed that Whatsapp is even worse than Chrome, it opens HTT PS even if I share HTTP links.

Firefox does this when I type in a URL and the server is down. I absolutely hate this behaviour, because I run a bunch of services inside my network.

If I tell my browser ‘fetch http://site.example,’ I mean for it to connect to site.example on HTTP on port 80 nothing more. If there is a web server run ning which wants to redirect me to https://site.example, awesome, but my browser should never assume I mean anything I did not say.)

comment 1y ago · link · parent

Some motherboards only support firmware updates applied from Windows. In 2025, which is just crazy to me.

comment 1y ago · link · parent

Ironically, this Google page itself fails to work without Javascript enabled!

comment 1y ago · link · parent

> I applaud the author for trying. The underlying viewpoint is valid

Is it valid? I’m not really convinced. I’m not particularly a fan of copyright to begin with, and this looks like yet another abuse of it. I consider myself a creative person, and I fundamentally do not believe it is ethical to try to prevent people from employing tools to manipulate the creative works one gives to them.

comment 1y ago · link · parent

Is the restriction on grantees not violating federal law a new one, or has it been around for ages?

comment 1y ago · link · parent

Reaching out only to members of certain groups rather than others is still invidious discrimination. When based on characteristics like race, sex or national origin it is probably illegal, although I am not a lawyer.

comment 1y ago · link · parent

Regardless of what others do, the best thing to do is to choose the best license for one’s own software. One which preserves the freedom of one’s users and the openness of one’s code.

comment 1y ago · link · parent

> I have never once thought Visual Studio needs some way to edit its own source code on the fly... whats [sic] the actual use case?

Writing Visual Studio, for example. Debugging Visual Studio. Extending Visual Studio in more than the ways it has already provided.

It means not being constrained to do only those things someone else had seen fit to permit you to do. It means freedom.

comment 1y ago · link · parent

> with your logic, you can take the lisp interpreter out of emacs, stick it into say mspaint, and have an equally powerful program.

Yes, that would be pretty awesome. The GIMP tries to be something like that.

comment 1y ago · link · parent

> direnv does exactly what you describe (and a lot more) using flake.nix

Direnv is awesome! Note, thought, that it does not depend on Nix, just a Unix-like OS and a supported shell: https://direnv.net/#prerequisites

comment 1y ago · link · parent

I recommend direnv for that: https://direnv.net/

Its intended use case is loading environment variables (you could use this to load your virtualenv), but it works by sourcing a script — and that script can be ‘cat usage.txt.’

Great tool.

If you use Emacs (and you should!), there’s a direnv mode. Emacs also has its own way to set configuration items within a directory (directory-local variables), and is smart enough to support two files, so that there can be one file checked into source control for all members of a project and another ignored for one’s personal config.

comment 1y ago · link · parent

Doh, I missed the secondary sort.

Were I trying to optimise this, I would test to see if a hash table of alphabetical characters is better, or just checking (or (and (char>= c #\A) (char<= c #\Z)) (and (char>= c #\a) (char<= c #\z))). The accumulator would probably be better as an adjustable array with a fill pointer allocated once, filled with VECTOR-PUSH-EXTEND and reset each time. It might be better to use DO, initializing C and declaring its type.

Also worth giving it a shot with (optimize (speed 3) (safety 0)) just to see if it makes a difference.

Yes, definitely more verbose. Perl is good at this sort of task!

comment 1y ago · link · parent

He’s also saying that Magit is so good that he doesn’t recognise the complaints which motivate some people to switch from Git to Jujutsu.

FWIW, I agree. Jujutsu seems fine, but Magit is fine too. Maybe Magit is the Blub of version control, and Jujutsu would change my life for the better, but … I seem to be able to run in circles around my Git-CLI–using colleagues as it is.

comment 1y ago · link · parent

> splitting a line into words is a whole project on its own

Is it[1]? My version below accumulates alphabetical characters until it encounters a non-alphabetical one, then increments the count for the accumulated word and resets the accumulator.

    (let (c accumulator (counts (make-hash-table :test #'equal)))
      (handler-case
          (loop
            (setq c (read-char))
            (if (find c "ABCDEFGHIJKLMNOPQRSTUVWXYZ" :test #'char-equal)
                (push (char-downcase c) accumulator)
                (when accumulator
                  (incf (gethash (coerce (reverse accumulator) 'string) counts 0))
                  (setq accumulator nil))))
        (end-of-file ()
          (when accumulator
            (incf (gethash (coerce (reverse accumulator) 'string) counts 0))
            (setq accumulator nil))
          (maphash #'(lambda (word count)
                       (push (list count word) accumulator))
                   counts)
          (format t "~{~&~{~a ~a~}~%~}" (reverse (last (sort accumulator #'< :key #'car)
                                                       (let ((n (second sb-ext:*posix-argv*)))
                                                         (if n (parse-integer n) 100))))))))

It’s not exactly pretty or idiomatic, but its 19 lines appear to get the job done.

1: Well, technically it is, because there is SPLIT-SEQUENCE: https://github.com/sharplispers/split-sequence

comment 1y ago · link · parent

Everybody wants to charge as much as he can. Workers do the same: we all want to charge as much for our labour as possible. Unions do the same thing too.

Everyone also wants to pay as little as he can, too.

Fortunately, as long as there are many buyers and many sellers, the market tends to find efficient prices. When there is a monopoly or a monopsony, though, prices get out of wack.

comment 1y ago · link · parent

If customers keep trying to do something … let them do it? Charge them to do it?

It’s crazy to me: folks quite clearly want to run Windows 11 without an account. What is it worth to Microsoft let someone do that? $12? $144? $1,728?

comment 1y ago · link · parent

Sure, but those are not backwards-compatible. If Wayland let me run my existing window manager then I would be glad to try it out.

comment 1y ago · link · parent

> Life-or-death care almost certainly needs to be a government-run, single-payer system.

> If giving another kid their cancer meds means one less gold-leaf-covered item in the presidential ballroom, so be it.

Why do you think a government would choose to cover an additional kid’s cancer medications rather than an additional luxury for government workers? You’re placing a ton of faith in governments.

At least with private companies there is choice (normally). And private companies do not directly wield government power (normally).

comment 1y ago · link · parent

An issue with his remote setup is that the remote VPS decrypts packets from the remote laptop, then re-encrypts them for the LAN — this means that the remote VPS can see the plaintext of all those packets. He’ll need to layer TLS or something similar, or run Wireguard over Wireguard.

comment 1y ago · link · parent

Nope, while it is possible to run normal X11 apps under Wayland, there is no support for running X11 window managers.

Which is a damn shame, because window managers are where some of the greatest innovation is happening.

comment 1y ago · link · parent

Were there photos? All I saw was a few paragraphs of text.

comment 1y ago · link · parent

> mdadm+luks+lvm still do not quite provide the same set of features that ZFS alone does even without encryption. Namely in-line compression, and data checksumming, not to mention free snapshots.

Sure, but LUKS+ZFS provides all that too, and also encrypts everything (ZFS encryption, surprisingly, does not encrypt metadata).

As this article demonstrates, encryption really is an afterthought with ZFS. Just as ZFS rethought from first principles what storage requires and ended up making some great decisions, someone needs to rethink from first principles what secure storage requires.

comment 1y ago · link · parent

Local Org mode, local LLM, all orchestrated with Emacs, all free software.

If only I were retired and had infinite time!

comment 1y ago · link · parent

Of course, adjusted for inflation the dollar has done much, much worse than gold!

Not that one should put all of one’s portfolio into gold. That would be pretty insane. But a certain fixed allocation within a balanced portfolio? I think that makes sense.

12345
50