Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hxtk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
hxtk
9mo ago
If you did that, Bazel would work a lot better. Most of the complexity of Bazel is because it was originally basically an export of the Google internal project "Blaze," and the roughest pain points in its ergonomics were pulling i
32.
▲
by
hxtk
9mo ago
It's how code is written in Google (including their open-source products like AOSP and Chromium), the ffmpeg project, the Linux Kernel, Git, Docker, the Go compiler, Kubernetes, Bitcoin, etc, and it's how things are done at my wor
33.
▲
by
hxtk
9mo ago
Virtually all databases compile queries in one way or another, but they vary in the nature of their approaches. SQLite for example uses bytecode, while Postgres and MySQL both compile it to a computation tree which basically takes the query
34.
▲
by
hxtk
10mo ago
It’s a real problem for defense sites because .mil is a public suffix so all navy.mil sites are the “same site” and all af.mil sites etc.
35.
▲
by
hxtk
10mo ago
Or if the document is just text, simply scan it in black and white (as in, binary, not grayscale).
36.
▲
by
hxtk
10mo ago
Many fail if you do it without any additional configuration. In Kubernetes you can mostly get around it by mounting `emptyDir` volumes to the specific directories that need to be writable, `/tmp` being a common culprit. If they need to
37.
▲
by
hxtk
10mo ago
When I think "premature optimization," I think of things like making a tradeoff in favor of performance without justification. It could be a sacrifice of readability by writing uglier but more optimized code that's difficult
38.
▲
by
hxtk
10mo ago
But you have to get money into your crypto wallet somehow, which makes it relatively easy to deanonymize for most users (serious crypto privacy enthusiasts could of course pay cash for their crypto or perhaps mine it themselves) if they
39.
▲
by
hxtk
10mo ago
The change log for developers/administrators/etc. comes from the Git history. We use conventional commits. Breaking changes in the semantic version of a subcomponent means, "If you're operating this service, you can'
40.
▲
by
hxtk
10mo ago
I always think about the way you discover the problem. I used to say the same about RNG: if you need fast PRNG and you pick CSPRNG, you’ll find out when you profile your application because it isn’t fast enough. In the reverse case, you’ll
41.
▲
by
hxtk
10mo ago
CockroachDB is serializable by default, but I don’t know about their other settings.
42.
▲
by
hxtk
10mo ago
I'm making this distinction post-hoc, so I already know how it turned out: they ultimately decided to stop making those smaller devices. I assume that means it wasn't enough sales to be a financially viable product, and to me, sel
43.
▲
by
hxtk
10mo ago
iPhone had the 12 and 13 mini, but they didn't sell, so there was no iPhone 14 mini and hasn't been one since. That was a 5.4" display.
44.
▲
by
hxtk
10mo ago
I suspect trading firms have already done this to the maximum extent that it's profitable to do so. I think if you were to integrate LLMs into a trading algorithm, you would need to incorporate more than just signals from the market it
45.
▲
by
hxtk
10mo ago
The problem with function coloring is that it makes libraries difficult to implement in a way that's compatible with both sync and async code. In Python, I needed to write both sync and async API clients for some HTTP thing where the l
46.
▲
by
hxtk
10mo ago
I believe it. If the AI ever asks me permission to say something, I know I have to regenerate the response because if I tell it I'd like it to continue it will just keep double and triple checking for permission and never actually gene
47.
▲
by
hxtk
10mo ago
Blameless postmortem culture recognizes human error as an inevitability and asks those with influence to design systems that maintain safety in the face of human error. In the software engineering world, this typically means automation, bec
48.
▲
by
hxtk
10mo ago
There’s also the issue of non-browser support. I recently advocated for replacing some GIFs with WEBM because WEBM was faster to encode and took up 3% as much space. Technically it sounded great. Then we talked to users. It turns out some u
49.
▲
by
hxtk
10mo ago
Patent != copyright. You can patent an algorithm (e.g., Adaptive Replacement Caching, which was scheduled to go into public domain this year but unfortunately got renewed successfully) but when it gets to the level of an actual specific imp
50.
▲
by
hxtk
11mo ago
JPEGXL doesn't refer to the same standard as JPEG. JPEGXL competes with AVIF in as a next-generation image format. It also has some properties that make it very nice for the web, such as the fact that a truncated (e.g., because the dow
51.
▲
by
hxtk
11mo ago
The "Fair Use" doctrine has four major pillars that a sibling comment enumerated and you can officially find here: https://www.copyright.gov/fair-use/ One of them is the purpose or character of the use, inclu
52.
▲
by
hxtk
11mo ago
This is my main use for branches or pull requests. For most of my work, I prefer to merge a single well-crafted commit, and make multiple pull requests if I can break it up. However, every merge request to the trunk has to pass CI, so I
53.
▲
by
hxtk
11mo ago
The main resource that I recommend is the one towards the bottom of the comment: “Motivational Interviewing” by W.R. Miller and Stephen Rollnick. I’ve read the third and fourth editions. The third edition is more concrete but also more comp
54.
▲
by
hxtk
11mo ago
There’s some real research into relevant topics and evidence-based models of how and why people change. Generally, a period of ambivalence precedes change (most of the time, though there are documented cases of “quantum change” where a pers
55.
▲
by
hxtk
1y ago
I think it was a joke. It sounds like you read it as append-only, like most LSM tree databases (not rewriting files in the course of write operations), but I think GP meant it as write-only to the exclusion of reads, roughly equivalent to `
56.
▲
by
hxtk
1y ago
Event-Driven Architecture refers to a different thing, but people used to refer to async code as event-based back before async/await existed, when doing async meant writing the Event Loop yourself.
57.
▲
by
hxtk
1y ago
Meaning computationally. It would cost a lot of cycles to keep that enabled in production. It’s only O(n), but if I check that assertion in my binary search function then it might as well have been linear search.
58.
▲
by
hxtk
1y ago
I’ve been working on a few utility libraries to make it easier to develop web services, basically exporting packages that I find myself using or rewriting often and exporting them as their own modules. I recently published https:/
59.
▲
by
hxtk
1y ago
It also gives you two authenticated protocol layers, which helps them because most standard protocols don’t support multiple authenticated identities. Their zero trust model uses it to authenticate each time you make a connection that your
60.
▲
by
hxtk
1y ago
I’ve long wished for an SQL error model: given a schema, query, and transaction isolation mode, what errors are theoretically possible? I have a hard time answering this for Postgres, which disappoints me because I don’t see any reason it s
More ›