Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zbentley
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
871.
▲
by
zbentley
2y ago
I use ZFS for boot and storage volumes on my main workstation, which is primarily that--a workstation, not a server or NAS. Some benefits: - Excellent filesystem level backup facility. I can transfer snapshots to a spare drive, or send/
872.
▲
by
zbentley
2y ago
This article is a good primer on why process isolation is more robust/separated than threads/coroutines in general , though ironically I don't think it fully justifies why process isolation is better for tests as a specifi
873.
▲
by
zbentley
2y ago
Rust is one of my favorite new languages, but this is just wrong. > few implicit casts Just because it doesn't (often) implicitly convert/pun raw types doesn't mean it has "few implicit casts". Rust has large amo
874.
▲
by
zbentley
2y ago
How do you decide what externally available packages to store/cache in artifactory? I’m curious, as I also deal with this tension. What (human and automated) processes do you have for the following scenarios? 1. Application developer
875.
▲
by
zbentley
2y ago
> Even if you decide to check-in the generated code for visibility. I prefer checking it in by default (generated and checked in by users; CI failing if re-generation during the build generates diff). It enables much simpler debugging co
876.
▲
by
zbentley
2y ago
> We didn't get into the semantics of Redis' MULTI...EXEC, which the documentation mischaracterizes as "Transactions". I'm happy that at least you didn't use BEGIN...COMMIT. Hmmm, this is a subtler issue tha
877.
▲
by
zbentley
2y ago
Single-writer is orthogonal to single-threaded. Single threaded systems can and do allow multiple concurrent writes to proceed, e.g. via interleaving, write batching/combining, asynchronous I/O.
878.
▲
by
zbentley
2y ago
For fundamentals, that list is missing: - Some sort of firewall or network access control. Being able to say "allow http/s from the world (optionally minus some abuser IPs that cause problems), and allow SSH from developers (by IP
879.
▲
by
zbentley
2y ago
For purposes of this discussion, isn't AWS just a very large hosting provider? I.e. most hosting providers give you the option for virtual or dedicated hardware. So does Amazon (metal instances). Like, "cloud" was always an i
880.
▲
by
zbentley
2y ago
Wouldn’t happen to have been a big healthcare company in Boston whose assert-anything function to validate that functions were called with correct signatures was called AssertFields?
881.
▲
by
zbentley
2y ago
Why/how does the presence of Swift make QT a bloated piece of trash? Genuine question. I know little of QT and nothing of its history re: Swift or version 5.
882.
▲
by
zbentley
2y ago
> a clear benefit is reduced memory usage and reduced process startup time Not necessarily true. Many process-parallel Python environments support using fork(2) for parallelism (multiprocessing, gunicorn, celery). For similar processes (
883.
▲
by
zbentley
2y ago
Sure, but setting up a piped session with a pre-existing sidecar daemon can be complicated. You either end up using named pipes (badly behaved clients can mess up other clients’ connections, one side has to do weird filesystem polling/
884.
▲
by
zbentley
2y ago
I've had a fair amount of trouble with Perl/cpan simply because of the sheer number of XS (compiled C extension) modules in the ecosystem. For even a medium sized perl project that e.g. talks to databases or whatnot, building it a
885.
▲
by
zbentley
2y ago
And ce conditions rainduced by concurrency.
886.
▲
by
zbentley
2y ago
I'm in a similar boat to sbrother (GP) and some of the other sibling commenters: like GP, I don't love the language (honestly, "patronizing" is the word that feels most accurate to describe working in Go for me, if a pro
887.
▲
by
zbentley
2y ago
Assuming successful implementation of KIP-932, it will soon be a queue as well. https://cwiki.apache.org/confluence/display/KAFKA/KIP-932%3A...
888.
▲
by
zbentley
2y ago
In a great number of (probably most) business-to-business software domains, most rows are only relevant to one tenant at a time. It’s a partition/shard key, basically: queries will only uncommonly retrieve rows for more than one tenant
889.
▲
by
zbentley
2y ago
Ah, got it; I was assuming that “transactions” was referring to the transactions mentioned as the subject of the previous sentence, not the transactions active in consumers observing those. My mistake!
890.
▲
by
zbentley
2y ago
Erratum: > Transactions may observe none, part, or all Should, I think, read: > Consumets may observe none, part, or all
891.
▲
by
zbentley
2y ago
I think the pedantic answer is "if so, your branches/commits are too big." In practice, what you describe is often the case, and having a quick shortcut to do "stick $small_fix in main via a separate branch, but yoink th
892.
▲
by
zbentley
2y ago
As another commenter said, OTP messages are meant to be between processes in the same privilege zone. That said, using a custom protcol via a good library can actually bring benefits relative to core OTP stuff. For example, several of the g
893.
▲
by
zbentley
2y ago
The threading approach is roughly: 1. Start a thread 2. That thread starts a child process and signals "started" by storing its PID somewhere globally-visible (and hopefully atomic/lock-protected). 3. The thread then blocks i
894.
▲
by
zbentley
2y ago
> assume the public defender is at least friends with the police and therefore may not have your best interests in mind What? Police fucking hate public defenders as a general rule. Like sure, a police officer might be familiar with a
895.
▲
by
zbentley
2y ago
Rye wraps uv and adds python version management, among other things.
896.
▲
by
zbentley
2y ago
I buy that there's bias here, but I'm not sure how much of it is activist bias. To take your example, if a typical user searches for "is ___ a Nazi", seeing Stormfront links above the fold in the results/summary i
897.
▲
by
zbentley
2y ago
That's fair, my phrasing was less than precise. More accurately: I think that automatic and outside-of-written-code destruction is generally a risky/bad idea for nontrivial (in-user-memory only) objects. Both GC-ful languages'
898.
▲
by
zbentley
2y ago
Strongly disagree. At the level of io_uring (syscalls/syscall orchestration), it is expected that available tools are prone to mis-use, and that libraries/higher layers will provide abstractions around them to mitigate that risk.
899.
▲
by
zbentley
2y ago
Agreed, though a better title would probably not use the term "safe" unqualified (e.g. "Async rust with io_uring leaks resources (and risks corrupting program state").
900.
▲
by
zbentley
2y ago
And the other excellent work done by the Bau Lab in this area: https://rome.baulab.info/
More ›