fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#lazytoot

0 posts0 participants0 posts today

#lazytoot Suppose you have a small table mapping a short ASCII string to some other short ASCII string a la

let replacements = [
"amp": "&",
"quot": "\"",
"lt": "<",
"gt": ">",
"apos": "'",
]

And you’re really sad that such a small table has to exist at all on your modern fancy arm device. Is there a nice simd search-y thing that can help pick out which replacement you need to append while scanning a string? How about in the general case?

#lazyToot

Does the new testing stuff allow you to have an @ testable *portion* of a test file? It's always a little sad to me when I add at testable for only one or two tests (this toot brought to you by me making a separate file for the tests needing at testable and also being a bit sad about that.)

I've asked this so many times before, but now I actually do need a new #NAS.

Looking for recommendations for one with 4 drive bays, I have a 1U rack spot I could use, or I'm fine with desktop-style as well.

I don't need something that has processor power, not planning on running VMs, Docker or anything like that. I need it to hold drives, and serve files.

Suggestions?

#LazyToot

Where’s the preferred place to sell an iPhone these days (other than Apple trade-in)?

I don’t especially like selling on eBay. I’m OK with shipping to a reseller, but don’t want to ship to an individual; prefer local handoff in that case.

I know Gazelle, Swappa… anywhere else?

(In case you’re interested: iPhone 14 Pro (512GB). Minor scratches on screen, scuffs on steel band. 86% battery health, AppleCare+ through Sept. 16 2024. iOS 16.7.2.)