Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jonhohle
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
541.
▲
by
jonhohle
2y ago
Do you have any examples of unions improving deadweight organizations?
542.
▲
by
jonhohle
2y ago
Just one data point: I’ve done government contracts (state level), worked for a private company, a public company, and a private company that went public. There was nothing more inefficient than state level government. They were paying $300
543.
▲
by
jonhohle
2y ago
The alternative being implemented is that insiders could not police themselves, so outsiders are doing it for them with far less precision. It’s like a hoarders show where everyone is shocked (SHOCKED!) that things had gotten as bad as it i
544.
▲
by
jonhohle
2y ago
Thanks for the PR. Individual files were licensed, but I’ve also added a LICENSE file as well.
545.
▲
by
jonhohle
2y ago
Yeah, not having an extent API or even an API that can clone to a file descriptor is unfortunate. That said, keeping track of blocks and extents for deduplication would be a much more expensive problem to solve.
546.
▲
by
jonhohle
2y ago
Yeah, there is definitely some merit to more efficient hashing. Trees with a lot of duplicates require a lot of hashing, but hashing the entire file would be required regardless of whether partial hashes or done or not. I have one data set
547.
▲
by
jonhohle
2y ago
The vast majority of apps using structured data and not block oriented data formats. A major exception is databases, but common file formats that most people work with - images, text, etc. often aren't best mutated directly on disk, bu
548.
▲
by
jonhohle
2y ago
Thanks! I love the documentation from FreeBSD and OpenBSD. Only having target one platform and only system libraries makes building simple.
549.
▲
by
jonhohle
2y ago
Replying to myself now that I've had a chance to try the scan, but not the deduplication. I work with disc images, program binaries, intermediate representations in a workspace that's 7.6G. A few notes: * By default it doesn'
550.
▲
by
jonhohle
2y ago
The key is “unmodified” and how APFS knows or doesn’t know whether they are modified. How many apps write on block boundaries or even mutate just in disk data that has changed vs overwriting or replacing atomically? For most applications th
551.
▲
by
jonhohle
2y ago
That’s true as long as the writing application only writes to blocks that have changed. Is a VM tool going to write blocks, or write multi-MB segments of a sparse image that can be swapped atomically? Unfortunately, once a file changes ther
552.
▲
by
jonhohle
2y ago
I use it on my family photos, work documents, etc. and have not run into an issue that I haven’t added a test for. I didn’t commercialize it because I didn’t know what I didn’t know, but the utility does try to fail quickly if any of the fi
553.
▲
by
jonhohle
2y ago
Not surprisingly, differentiator 2 can just be the first byte (or machine word). Differentiator 3 can be the last byte (or word). At that point, 99.99% (in practice more 9s) of files are different and you’re read at most 2 blocks per file.
554.
▲
by
jonhohle
2y ago
To make dedup[0] fast, I use a tree with device id, size, first byte, last byte, and finally SHA-256. Each of those is only used if there is a collision to avoid as many reads as possible. dedup doesn’t do a full file compare, because if yo
555.
▲
by
jonhohle
2y ago
APFS shares blocks so only blocks that changed are no longer shared. Since a block is the smallest atomic unit (except maybe an inode) in a FS, that’s the best level of granularity to expect.
556.
▲
by
jonhohle
2y ago
If you don’t mind CLI tools, You can try dedup - https://github.com/ttkb-oss/dedup . Use the —-dry-run option to get a list of files that would be merged without modifying anything and how much space would be saved.
557.
▲
by
jonhohle
2y ago
I made a command line utility called `dedup` a while back to do the same thing. It has a dry-run mode, will “intelligently” choose the best clone source, understands hard links and other clones, preserves metadata, deals with HFS compressed
558.
▲
by
jonhohle
2y ago
I know you’re being serious, but I was really hoping this was a link to the shareware version of Doom.
559.
▲
by
jonhohle
2y ago
Or patronize your local library.
560.
▲
by
jonhohle
2y ago
I think that’s the whole point of their push to E2E encrypt as much as possible. Saying they can’t unencrypted something worked for a while.
561.
▲
by
jonhohle
2y ago
If had two Canon lasers and like their output and reliability, but don’t care for their drivers. AirPrint is unreliable unless the printer is awake. I gave up getting CUPS set up in FreeBSD (less necessary with AirPrint, but locked down sch
562.
▲
by
jonhohle
2y ago
I know it’s the naive buying inkjets, but if you don’t have a laser printer you’re doing it wrong. It’s possible to find them between 100-300 on sale with all the features (and color on the higher end of that). The only time I’ve bought a n
563.
▲
by
jonhohle
2y ago
From a security and reproducibility perspective, you, shouldn’t want to pull directly. I’ve used Artifactory in the past as a pass through cache that can “promote” image, making them available to test and production environments as they go
564.
▲
by
jonhohle
2y ago
We use a tool named dirt-patcher[0], which was written for the project. It lets you write arbitrary bytes at specified offsets[1]. As far as we know at this time, they’re just uninitialized bytes that would have been padding for alignment o
565.
▲
by
jonhohle
2y ago
Yeah, this was originally all DOS and Windows 3.1 utilities for writing programs that would run on MIPS. The data is small enough that it isn’t relevant, just not reproducible through standard build tools because it was never meant to be bi
566.
▲
by
jonhohle
2y ago
I work on a matching decomp project that has tooling to recompile C into binaries matching a 28 year old game. In the final binaries created by compiled with gcc 2.6.3 and assembled with a custom assembler there appear to be unused, uniniti
567.
▲
by
jonhohle
2y ago
That should really be the default behavior.
568.
▲
by
jonhohle
2y ago
If you load a file using the “file” protocol, it shouldn’t be able to load other resources (JS from the internet) with non-file protocols to protocols (http, https, etc.) to non null-string domains. because that would violate cross origin r
569.
▲
by
jonhohle
2y ago
You’re confusing the point. The data accessed so far is not classified. Where does a clearance requirement come from?
570.
▲
by
jonhohle
2y ago
OP was philosophizing. Why would anyone need any kind of clearance to access non-classified data. If they’ve been given permission by the head of the executive branch, what more authority do they need?
More ›