Better HN
topnewbestaskshowjobs
Log inSign up

mshroyer

639 karma · joined Jul 18, 2019 (7y ago) · 161 submissions

https://markshroyer.com/ https://github.com/mshroyer/
Submissions

comment 3d ago · link · parent

Yup. They also have a "Desk Ref" that combines the two, and it has an additional section on large tanks and cylinders not present in either. But I found it cumbersome (the content isn't re-flowed, it's just blown up in size), and it's physically larger than both of the smaller books combined.

comment 4d ago · link · parent

I've been really happy as a long-term owner of Framework hardware, for what that's worth. I've been using a Framework 13 as my main computer since once of the earliest batches in 2021. I've gone through a few iterations of their motherboard and upgraded various other components too.

Also for what it's worth, I've had good experiences with their support team, to the limited extent I've interacted with them (I think I returned a display at some point). I don't mean that to discount the author's own experience, just sharing my own.

comment 5d ago · link · parent

Pocket Ref is excellent, as is their partially-overlapping "Handyman In Your Pocket".

4.

Fast Interception of a Path of Geodesic Segments on the Earth Spheroid(markshroyer.com ↗)

2 points · by mshroyer · 1w ago · discuss

comment 2w ago · link · parent

Huh, in that case it's possible I did this wrong the last time I tried it, or maybe something's changed.

Thanks for the tip! I'll try that this evening, I'd love to move to FIDO keys if possible.

comment 2w ago · link · parent

You can use agent forwarding (ssh -A) to make your local hardware-backed key available on the VPS.

If you're using tmux on the VPS this can get a little tricky, because by default your tmux panes will inherit your initial SSH client's SSH_AUTH_SOCK; when you re-attach tmux in a different SSH session you'll no longer be able to authenticate with the local YubiKey. But I wrote a shell script that hooks into tmux to keep SSH_AUTH_SOCK working correctly with this kind of setup: https://github.com/mshroyer/socklink

comment 2w ago · link · parent

YubiKeys with proof-of-presence for SSH auth are great, but I still use the YubiKey's OpenPGP slot for this because my preferred behavior is:

1. Require a PIN followed by touch on the first use after inserting the YubiKey

2. For every following authentication while the key remains connected, only require touch

The extra GnuPG setup needed to make this work is unfortunate, but AFAIK this still isn't possible with fido -sk keys on the YubiKey.

comment 2w ago · link · parent

DJGPP was foundational for me. It got me into C at an early age, as the second toolchain I spent much time with following Microsoft QuickBasic, and it was my gateway to eventually exploring Linux and Emacs.

I'm sure many others here have similar stories. It was especially valuable to have something like DJGPP back in the mid 90s, when many of us only had access to DOS PCs and compilers were expensive.

comment 3w ago · link · parent

AlmaLinux is "boring" in the best possible way, and it works really well in WSL too. Their extended support for x86-64 v2 has also been useful on one my old computers.

comment 1mo ago · link · parent

Funding is easy to get once you have an impressive and demonstrably good program. But without Dolly's work (and yes, the work of people she brought on to carry out her vision), none of this program would currently exist.

comment 1mo ago · link · parent

I'm thinking the car from the Sega Genesis game "Outrun 2019" (and only a few years late!)

comment 3mo ago · link · parent

Why on earth is so much more expensive than an arbitrary pair of devices that could max out a cable?

comment 4mo ago · link · parent

Hey drop me an email

comment 4mo ago · link · parent

To be concrete and hopefully more constructive with my criticism, he's prone to saying things like "Fil-C is safer than Rust":

https://x.com/filpizlo/status/2053351119095791995

And "Rust let’s you corrupt memory / Fil-C doesn’t.":

https://x.com/filpizlo/status/2079253367587737841

These are false claims. The following compiles and runs fine with Fil-C, happily corrupting memory in a way that a safer language like Rust would not allow:

    #include <stdint.h>
    #include <stdio.h>
    
    struct Account {
            unsigned char name[8];
            uint32_t privileged;
    };
    
    void write_name(struct Account *account, size_t index, char value)
    {
            account->name[index] = value;
    }
    
    int main(int argc, char* argv[])
    {
            struct Account acct = {
                    .name = "foobar",
                    .privileged = 42,
            };
    
            write_name(&acct, 8, 1);
    
            printf("privileged = %d\n", acct.privileged);
            return 0;
    }
His claims about Fil-C being safer than Rust seem to hinge on Fil-C's ability to make safe-er an entire application stack, compared to a hypothetical Rust application that links to C dependencies which (currently) can't be compiled with Fil-C. This is true as far as it goes, but it's a far cry from justifying a blanket statement like "Fil-C is safer than Rust".

comment 4mo ago · link · parent

He's been especially arrogant and dismissive on X. I'm very glad Fil-C exists, but his behavior makes me doubt the whole project.

comment 7mo ago · link · parent

I switched my main home computer to the Framework 13 (albeit on Windows) in 2021, after multiple weeks with my MBP sent away for AppleCare. I had some minor electrical issues with the original 11th gen Intel motherboard, but the 13th gen Intel board I've since upgraded to has been perfect.

It's by far the best primary computer I've owned. The tradeoffs in battery life, speaker sound quality, and so on didn't matter much for my use case, so I was happy to take them; but this new model seems to fix those issues too, so I think it'll appeal to a much wider audience.

comment 7mo ago · link · parent

I was lucky enough to be at the event and I can say the 13 Pro feels great in the hand. Overall chassis stiffness, typing (I guess due to the increased chassis stiffness), and the new touchpad all feel premium. Between that and the battery life, I think this really has a chance to win over a lot more current MBP users.

FYI, the existing Framework 13 Intel motherboards do support Thunderbolt 4: https://knowledgebase.frame.work/usb-port-definition-matrix-... There's an additional, optional retimer update that's officially Thunderbolt certified, but I haven't bothered with that because my Thunderbolt dock was already working: https://knowledgebase.frame.work/en_us/framework-laptop-bios...

comment 7mo ago · link · parent

I had a similar experience with FreeNAS (now called TrueNAS): I'm sure it's great for some people, but I ended up fighting the abstraction layer way more than I benefited from it. I personally found it easier to just run Samba on plain FreeBSD/OpenZFS.

comment 7mo ago · link · parent

I've been running OpenBSD as a router for almost 20 years I think? These days, the only ongoing maintenance it requires of me is running `syspatch` and `pkg_add -u` periodically to keep things up-to-date, and then `sysupgrade` when a new release comes around. It's way more hassle-free than in the old days.

comment 9mo ago · link · parent

> Asking for "no politics" is itself a strong political view

No, it explicitly is not, and this "deepity" doesn't change any rational analysis. The injection of politics into every aspect of society must and should be refused.

comment 9mo ago · link · parent

I didn't realize, until recognizing Bradbury in that image yesterday, that HTTP status 451 is an explicit reference to "Fahrenheit 451", but apparently it is: https://www.rfc-editor.org/rfc/rfc7725

In the acknowledgments section,

> Thanks also to Ray Bradbury.

comment 9mo ago · link · parent

Illustrating "451 Unavailable For Legal Reasons" with Ray Bradbury made me laugh

comment 10mo ago · link · parent

I even had to switch my reading list spreadsheet over from LibreOffice to Excel when the former started seriously lagging with about 250 rows total

comment 11mo ago · link · parent

Yeah, I imagine this will help a lot of people who created retrospectively-cringey email addresses in their youth, but kept them over the years because of inertia

> After changing, Google details that your original email address will still receive emails at the same inbox as your new one and work for sign-in, and that none of your account access will change.

comment 11mo ago · link · parent

Not a perfect defense, but sufficient to make your key much harder to exploit: Use a Yubikey (or similar) resident SSH key, with the Yubikey configured to require a touch for each authentication request.

comment 11mo ago · link · parent

Some distros have better WSL support than others—some will only work with systemd disabled, others have issues with X11. Ubuntu is well supported of course, but on the RHEL-ish side I've found that AlmaLinux 10 works especially well.

comment 11mo ago · link · parent

Really great book. Among other things, I think it's the best explanation of ZFS I've seen in print.

comment 11mo ago · link · parent

These days I use it as a home file server because for my needs, FreeBSD the best tool for that job.

But back in the early 2000s I got access to a free Unix shell account that included Apache hosting and Perl, and if I'm not misremembering, it was running on FreeBSD and hosted by an ISP in the UK using the domain names portland.co.uk and port5.com.

That was formative for me: I learned all of Unix, Perl, and basic CGI web development on that server. I don't know who specifically was running that server, or whether they have any relation to the current owner of that domain. But if you're out there, thanks! Having access to FreeBSD was a huge help to a random high schooler in the U.S., who wouldn't have been able to afford a paid hosting account back then.

123456