1,284 karma · joined Oct 6, 2011 (15y ago) · 430 submissions
comment 5y ago · link · parent
This also informs your second question. If new optional fields in json are added, unless you tell serde to complain about them, it won't, and you can add the new Option at your leisure.
comment 5y ago · link · parent
- current versions of zfs (ie: openzfs) error (unless forced) when adding non-redundant devices to a redundant pool, and have device removal to handle the case where someone bypasses the error.
- pools can grow in zfs (ie: the things one allocates storage out of). what is probably being referenced here is that one can't reshape a zraid vdev to add more disks to it (basically the reshape operation in classic raid setups). This does make expanding in some cases less flexible that old-style raid setups.
Also, I really have to agree that ARC behavior is still not great under load, and I don't think that's that much of an edge case.
comment 5y ago · link · parent
Some testing seems to indicate even ext4 is more reliable in the face of hard power cycles.
comment 5y ago · link · parent
Because of a bug (in my action) I was pushing/pulling gigabytes of data into the cache. On large files I was seeing ~125MB/s (that's Byte) download speeds.
I haven't used the GitHub hosted runners much so I'm not sure how it compares though.
comment 5y ago · link · parent
(while on linux one can use the docker command line tool without any docker desktop thing, on mac docker desktop wraps together running a linux vm to run the docker daemon & containers inside, making it the most straight forward way of running docker on mac)
comment 5y ago · link · parent
On projects I work on, I include clippy as part of the CI process to check these types of things.
comment 5y ago · link · parent
It sounds like you have an anecdote about some people you know working on these projects, but the details that seem intended to imply that it's unlikely that _any_ people working these projects are Chinese prisoners actually imply the opposite.
comment 5y ago · link · parent
That said: some folks didn't really get the memo, because there are important details that are sometimes included in non-doxygen comments in Apple's headers and thus aren't reproduced into Apple's generated/published docs.
In particular, the headers (sometimes) include annotations for specific types included in CF containers for return values.
comment 5y ago · link · parent
My best experiences with packaging on linux have been gentoo ebuilds & arch pkgbuilds. These keep the build model pretty straight forward if the goal is to "just build a package".
That said: creating a dpkg is not an impossible thing to do. It's just more painful than it needs to be
comment 5y ago · link · parent
`str`'s data layout happens to be `[u8]`, but it's type provides additional guarantees about the structure of the data within it's internal `[u8]` (for example, forbidding sequences of u8 that don't encode valid utf-8).
comment 5y ago · link · parent
As a result, it's not clear that it's a false positive in the technical sense here (as one would need to enable checking for unsigned overflow explicitly).
comment 5y ago · link · parent
comment 5y ago · link · parent
One can of course, on Apple hardware, use apple proprietary APIs to do some things. Or one can use the iCloudJs stuff from a webpage.
But there's not an official/documented way to, say, write a program that runs on a Linux server to mirror photos in iCloud to disk (or access any other iCloud data).
There are reverse engineered APIs that folks can use to interact with it, but the official iCloud story has been data lock in.
comment 5y ago · link · parent
I used the `manage-bde` command rather than powershell:
https://docs.microsoft.com/en-us/windows/security/informatio...
The GUI for bitlocker doesn't provide access to all the functionality that manage-bde provides (iirc: if a TPM is present, the passphrase options aren't presented in the GUI. And it used to talk about a "PIN" instead of a passphrase/password, but the "PIN" can (with some gpo tweaking) contain letters/space/punct as well as numbers.
comment 5y ago · link · parent
There is a reddit thread that links to deleted tweets that appears like it might be related: https://www.reddit.com/r/browsers/comments/i8nuyb