Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
masklinn
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
masklinn
4d 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
2.
▲
by
masklinn
5d 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).
3.
▲
by
masklinn
5d 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.
4.
▲
by
masklinn
5d 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
5.
▲
by
masklinn
5d 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
6.
▲
by
masklinn
6d 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.
7.
▲
by
masklinn
8d 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
8.
▲
by
masklinn
13d 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
9.
▲
by
masklinn
17d 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
10.
▲
by
masklinn
17d ago
And this is explained in more details in the first article of the series.
11.
▲
by
masklinn
19d 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.
12.
▲
by
masklinn
19d 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
13.
▲
by
masklinn
19d 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
14.
▲
by
masklinn
19d 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
15.
▲
by
masklinn
19d 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
16.
▲
by
masklinn
19d 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
17.
▲
by
masklinn
20d 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
18.
▲
by
masklinn
20d 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.
19.
▲
by
masklinn
22d 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
20.
▲
by
masklinn
24d ago
On mac the OS remaps the brightness range when HDR content appears. The rest of the content literally and materially dims.
21.
▲
by
masklinn
24d ago
I’d assume it’s the display manager dimming sdr content to have sufficient brightness range for hdr content.
22.
▲
by
masklinn
25d ago
On the other hand it’s a great signal that whoever uses that is an obnoxious twat and should be plonked.
23.
▲
by
masklinn
26d ago
I never used most of these at all, and the rest I never worked with in an enterprisey context, so I can not talk about those confluences from personal experience.
24.
▲
by
masklinn
26d ago
Having had the displeasure of working with struts, enterprise definitely never needed generics to enterprise.
25.
▲
by
masklinn
27d ago
The problem is that your vtable would have to have a monomorphised copy of the generic method for each possible instance, this requires whole program analysis just to generate the interface — and even then I would not be surprised if you
26.
▲
by
masklinn
27d ago
The construction of interface values is a very shallow mean and essentially irrelevant to the need for interfaces. Whereas the runtime resolution of operations performed through an interface (dynamic dispatch) is the primary purpose of and
27.
▲
by
masklinn
27d ago
That dynamic dispatch and type erasure are literally the purpose of interfaces?
28.
▲
by
masklinn
27d ago
For 4 billion values?
29.
▲
by
masklinn
27d ago
It is in fact covered in the page, as the heading for that formula specifically calls out “languages with signed "%", eg. C/C++”. That is why there is a formula without that adjustment with a “posmod” aka any modulo where a p
30.
▲
by
masklinn
28d ago
I was thinking open-air yes, tunnels do indeed have major issue. With pollutant concentrations, road tunnels are the same ( https://www.sciencedirect.com/science/article/abs/pii/S13619... ). For all that I
More ›