Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kbolino
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
kbolino
8mo ago
SQLCipher is not SQLite. A key aspect of SQLite's development model is its proprietary test suite. As far as I can tell, the SQLCipher developers do not have access to those tests. This is not to say they aren't doing the best wit
92.
▲
by
kbolino
8mo ago
A ZIP file with solid encryption (i.e., the archive is encrypted as a single whole) has all of the same tradeoffs as a KDBX file as far as incremental updates are concerned. A ZIP file with incremental encryption (i.e., each file is individ
93.
▲
by
kbolino
8mo ago
It's good info, and I wouldn't rush a migration off of SPARC systems if I was already using them, but slow death is still death. It was already worrying that workstations were killed off by Sun before the Oracle acquisition; it se
94.
▲
by
kbolino
8mo ago
The feature is only on SPARC, not x86. Oracle killed in-house SPARC development in 2017, and they abandoned OpenSPARC after they acquired Sun, so it's effectively a dead architecture. The software won't work without the hardware t
95.
▲
by
kbolino
8mo ago
This isn't really true, and it wouldn't be a big deal even if it was. Die areas for consumer card chips are smaller than die areas for datacenter card chips, and this has held for a few generations now. They can't possibly be
96.
▲
by
kbolino
8mo ago
Has FP80 ever existed anywhere other than x87?
97.
▲
by
kbolino
8mo ago
The rarity of use is a chicken-egg problem, though. The hardware makers consider it a waste because the software doesn't use it, and the software makers won't use it because it's not widely supported enough. Apple and Qualcom
98.
▲
by
kbolino
8mo ago
This is a bit short-sighted. Yes, it is kinda tricky to get right, and a number of programming languages are quite behind on good SIMD support (though many are catching up). SIMD is not limited to mathy linear algebra things anymore. Did
99.
▲
by
kbolino
8mo ago
Part of the reason, I think, is that Qualcomm and Apple cut their teeth on mobile devices, and yeah wider SIMD is not at all a concern there. It's also possible they haven't even licensed SVE from Arm Holdings and don't reall
100.
▲
by
kbolino
8mo ago
Yeah, the extensions exist , and as pointed out by a sibling comment to yours, have been implemented in supercomputer cores made by Fujitsu. However, as far as I know, neither Apple nor Qualcomm have made any desktop cores with SVE support
101.
▲
by
kbolino
8mo ago
I suspected this was because the vector units were not wide enough, and it seems that is the case. AVX2 is 256-bit, ARM NEON is only 128-bit. The big question then is, why are ARM desktop (and server?) cores so far behind on wider SIMD supp
102.
▲
by
kbolino
8mo ago
Go has a pretty good race detector already, and all it (usually) takes to enable it is passing the -race flag to go build/test/run/etc.
103.
▲
by
kbolino
8mo ago
I'm sorry, I did not properly read and comprehend your original post. I thought you were saying "they put sensitive details in the text/plain part", implying that those details somehow only belonged in the text/html
104.
▲
by
kbolino
8mo ago
text/plain != plaintext This is about media types, not encryption.
105.
▲
by
kbolino
9mo ago
I can get a mild form of it on my M4 MBP's built-in display at "1800x1125"* but it's not nearly as noticeable as it was on the 4K external display at "2560x1440" and honestly I needed my cell phone camera zoome
106.
▲
by
kbolino
9mo ago
I gotta say, as the guy who brought up DSC, that last Reddit post especially had me doubting. That is not what DSC artifacts look like. DSC subsamples the chroma, which causes distinct color bleeding issues. That is luma bloom, which doesn&
107.
▲
by
kbolino
9mo ago
Indeed, these artifacts sound like they're coming from Display Stream Compression [1] rather than scaling. I've had Macs occasionally use DSC when it wasn't necessary; power-cycling the display and/or changing the port i
108.
▲
by
kbolino
9mo ago
I think this is what you want: git merge -s ours --no-ff --no-commit <branch> This will initiate a merge, take nothing from the incoming branch, and allow you to decide how to proceed. This leaves git waiting for your next comm
109.
▲
by
kbolino
9mo ago
The name "null" is confusing; you have to pick something. However, I think what is desired here is the "theirs" strategy, i.e. to replace the current branch's tree entirely with the incoming branch's tree. The
110.
▲
by
kbolino
9mo ago
Indeed, these processes are not all sitting there doing nothing. Two processes in particular have been this exact sort of problem for me: mds_stores and mediaanalysisd. On three separate Macs (all Apple Silicon), I've observed the case
111.
▲
by
kbolino
9mo ago
I don't want partial updates, I want full, conflict-free upserts. At read committed (default) isolation level, INSERT ... ON CONFLICT handles concurrent, conflicting inserts just fine, while MERGE ... WHEN NOT MATCHED (e.g.) does not.
112.
▲
by
kbolino
9mo ago
It's kinda hard to handle MERGE failures gracefully. You generally expect the whole thing to succeed, and the syntax deceptively makes it seem like you can handle all the cases. But because of MVCC, you get these TOCTOU-style spurious
113.
▲
by
kbolino
9mo ago
I was going to respond that HTML was the original syntax and XML the usurper, but a comment in another thread casts some doubt on that version of events: https://news.ycombinator.com/item?id=46576844
114.
▲
by
kbolino
9mo ago
This interpretation of the p element implies that it contains a paragraph. But HTML is first and foremost a document format, and one could just as logically conclude that the p element simply starts a new paragraph. Under the latter int
115.
▲
by
kbolino
9mo ago
A lot of HTML tags never have a body, so it makes no sense to close them. XML has self-closing tag syntax but it wasn't always handled well by browsers. A p or li tag, at least when used and nested properly, logically ends where either
116.
▲
by
kbolino
9mo ago
Here's another person auditing the checksum database: https://raphting.dev/posts/gosumdb-live-again/
117.
▲
by
kbolino
9mo ago
You may already know these things, but for others who may not: the AWS SDK for Go suffers from shockingly bad discoverability. For example, take the S3 library, github.com/aws/aws-sdk-go-v2/service/s3. If you have an s
118.
▲
by
kbolino
10mo ago
Yep, this is a common misunderstanding, and the blog post itself repeats it. The only way to "pass the file contents" would be through the standard input stream, but the script might want to use stdin like normal, so this isn'
119.
▲
by
kbolino
10mo ago
The `go run` tool will not execute (or even recognize) a file that does not end in .go, so this is not good advice.
120.
▲
by
kbolino
10mo ago
In what way does Python have more null safety than Go? Using None will cause exceptions in basically all the same places using nil will cause panics in Go, and Python similarly lacks the usual null-safe operators like traversal (?.), coales
More ›