Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
masklinn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
masklinn
7d ago
Git does not use sparse files no, however in packs objects are delta-ified: any object can be either literal or a combination of literal segments and range copies from a base object, and that base object can be the same, recursively. So to
2.
▲
by
masklinn
7d ago
> "<-chan TYPE" is the receive end, "chan<- TYPE" is the send end, "chan TYPE" without an arrow can be used for either. The problem is that there is pretty much just a subtyping relationship, when you
3.
▲
by
masklinn
7d ago
(2) has a bit more nuance to it: you can close channels… but the langage is designed for that to only be ok on single senders, a receiver can gracefully handle a closed channel (an iteration will just stop, a receive can use the 2-valued fo
4.
▲
by
masklinn
8d ago
Also libwebp.
5.
▲
by
masklinn
8d ago
Getting to that is one of the reasons why people would kinda just grow apple seeds all over. Plus they were not completely wasted, while not generally edible they’re fine for cider.
6.
▲
by
masklinn
8d ago
Heterozygosity and self-incompatibility are common to fruit trees in general, not specific to apples. I think ancestral citruses (not the crosses) are the primary exception, as well as a few citrus hybrids which create clone seeds asexually
7.
▲
by
masklinn
11d ago
Trump floated that trial balloon a few months back, though currently the administration is proceeding with the much more American plan of widespread voter suppression, intimidation, and bribery, if in the most ham-fisted and unconstitutiona
8.
▲
by
masklinn
12d ago
> To some extend I hope that the Republican party wins the next election. They should be the ones fixing the economy, raising taxes, and doing something responsible for once. Why would you ever think they’d be interested in doing any of
9.
▲
by
masklinn
12d ago
> It's also more evidence that Docker/LXC is not a security boundary and all untrusted code should run in a Firecracker VM. While I’m partial towards distrusting containers in favor of VMs, a container can’t prevent an operatio
10.
▲
by
masklinn
13d ago
> I think you do actually want those. No, I rather know I do not. > It's quite amazing to receive a notification from your dryer that it finished its cycle. It’s really quite useless to me. What I may want is an ODB so I can pl
11.
▲
by
masklinn
15d ago
Not relevant to comparing clones and worktrees, both create a fresh working copy from the repository data, and object store files are not modified in place (or at all really).
12.
▲
by
masklinn
15d ago
I’ve used a bunch where the shower head is on a hose not fixed to the wall. Usually with a two-way faucet. The biggest issue in the west is the room being wet to start with.
13.
▲
by
masklinn
15d ago
They don’t use less disk space as long as you account for that correctly: clones within a file system use hardlinks for the object store, so if you du on a clone it’ll be however many megs / gigs S but if you do that encompassing n suc
14.
▲
by
masklinn
15d ago
You could try proposing a worktree copy command on the mailing list. Worktrees are currently independent and work off of repositories which may have no existing worktree / working copy at all, let alone one it makes sense to start from
15.
▲
by
masklinn
16d ago
> you kinda can't even do it Japanese style nicely. I mean you can as long as you make the bathroom a wet room and shower outside the tub, which is exactly how the Japanese do it.
16.
▲
by
masklinn
18d ago
Makes sense. Whatever generates those site maps should use the classic Unix trick of writing a separate file then renaming. Also maybe don’t update lastmods on each individual update, it’s a waste of resources since the granularity of lastm
17.
▲
by
masklinn
22d ago
They do, but it does not take much for economic pressure to make one seemingly small change with wide ramifications e.g. a plant or two which are not economically viable, get substituted, and turn out to be critical, then leading to chronic
18.
▲
by
masklinn
27d ago
And that is pretty much what Python does for you, the Python-level signal handlers are not C signal handlers. Python sets a C signal handler to set an interpreter variable then exit, then it calls the Python level signal handler on the main
19.
▲
by
masklinn
27d ago
And this is explained in more details in the first article of the series.
20.
▲
by
masklinn
29d ago
I would hazard the guess that that’s perfectly fine. Desirable even. People who run scratch or alpine images and link against musl aren’t usually looking to write desktop applications or video games.
21.
▲
by
masklinn
29d ago
> it would be possible to add support for alloc and std without libc on Linux specifically (since it has a stable syscall ABI). Well yes that’s a Linux specific target so that’s kinda the point. Technically you could do libcless on a few
22.
▲
by
masklinn
29d ago
It's not really disputed since musl without mimalloc has a 144% overhead, so most of the performance issues do indeed come from the allocator, by a pretty large margin (~85% of it). Not only that, but some of the "other code&q
23.
▲
by
masklinn
29d ago
The best option would be the x86_64-unknown-linux-none target ( https://doc.rust-lang.org/nightly/rustc/platform-support/x86... ) however it currently a tier 3 with a single maintainer (so it is technically ava
24.
▲
by
masklinn
29d ago
Musl's allocator being awful is pretty well known, though mostly in that it's absolutely awful in multithreaded context. TFA points out that musl has a bunch of other noticeably slower functions, which is less well known (though t
25.
▲
by
masklinn
29d ago
It is not very hard, but it is additional complexity, and it then requires the language to have a way to opt out so you can handle things like FFI or explicit ordering (usually for padding to avoid false sharing and friends). So most langua
26.
▲
by
masklinn
29d ago
Rust does that automatically unless you switch to the C layout. In langages that don’t there’s a tension between memory use and human readability / consistency of the layout. There are also other domains which can be affected e.g. data
27.
▲
by
masklinn
1mo ago
Timescale is the important bit. If organisms degrade plastics in a few hundred years then what plastics are uniquely valuable for will be quite fine indeed.
28.
▲
by
masklinn
1mo ago
You could have a CO which emits overridable warnings or requires additional / specific reviewers. Of course that can then lead to warnings fatigue so it’s not necessarily a big improvement, or an improvement at all, in the long run, de
29.
▲
by
masklinn
1mo ago
On mac the OS remaps the brightness range when HDR content appears. The rest of the content literally and materially dims.
30.
▲
by
masklinn
1mo ago
I’d assume it’s the display manager dimming sdr content to have sufficient brightness range for hdr content.
More ›