Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
king_geedorah
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
king_geedorah
5mo ago
The funny thing about the glibc situation is that glibc really doesn’t provide improvements to any of the kernel interfaces or really any comfort stuff for developers. If anything the fact that it is bound by the C standards makes it worse
32.
▲
by
king_geedorah
5mo ago
A theme I found to be common here and in a lot of conversations in this vein on the site is the split between “We (software engineers) are programming actual computers whose behaviors we know” and “We (software engineers) are expressing bus
33.
▲
by
king_geedorah
7mo ago
The kernel32 -> Ntdll changes are the most interesting thing to me here. A lot of the rationale is applicable also to the linux userspace APIs, especially errors in return at the kernel-userspace boundary vs GetLastError/errno in ke
34.
▲
by
king_geedorah
8mo ago
In fact Rust was specifically discussed as a possible alternative to the C++ status quo in Jon's initial "A Programming Language For Games" talk which roughly marks the inception of his current / upcoming language.
35.
▲
by
king_geedorah
9mo ago
io_uring supports submitting openat requests, which sounds like what you want. Open the dirfd, extract all the names via readdir and then submit openat SQEs all at once. Admittedly I have not used the io uring api myself so I can't spe
36.
▲
by
king_geedorah
9mo ago
As far as I'm aware so long as you limit yourself to APIs that were available in XP you don't actually need an older SDK to develop for it with modern MSVC. The early windows platform layer stuff in the handmade hero series demons
37.
▲
by
king_geedorah
1y ago
Rather interesting solution to the problem. You can't test every possibility, so you pick one and get to rule out a bunch of other ones in the same region provided you can determine some other quality of that (non) solution. I watched
38.
▲
by
king_geedorah
1y ago
I'm not sure what the number of people in the world has to do with whether an open standard does or doesn't promote innovation. The user asked for a case where an open standard didn't do that and I provided one. Whether you t
39.
▲
by
king_geedorah
1y ago
The web is open and is famously very competitive. We have three whole browser engines and only two of them are implemented by for-profit corporations whose valuations have 13 digits. I mean other ones exist, but the average modern developer
40.
▲
by
king_geedorah
1y ago
I believe they are referring to the icon that appears in the status bar when an application is using location services (including in the background).
41.
▲
Why Open Source Misses the Point of Free Software
(gnu.org)
11 points
by
king_geedorah
1y ago
|
1 comments
42.
▲
by
king_geedorah
1y ago
I'm curious if anybody has used this for their own systems and if the savings were substantial. Fedora used something seemingly equivalent (deltarpms) by default in dnf until last year[1] and the rationale for removing it seemed to be
43.
▲
by
king_geedorah
1y ago
Re: "What about my autocomplete?" which has shown up twice in this thread so far. > As a small exception, trivial tab-completion doesn't need to be disclosed, so long as it is limited to single keywords or short phrases. R
44.
▲
by
king_geedorah
1y ago
This is precisely the point I intended to make with my comment. Perhaps my phrasing was unclear.
45.
▲
by
king_geedorah
1y ago
If the ignition and door locks in your vehicle were mistakenly designed in such a way that they are trivially shimmed or could be operated by any key it seems absurd to suggest the customer should pay you to replace these mechanisms with on
46.
▲
by
king_geedorah
1y ago
> If the output was truncated due to this limit, then the return value is the number of characters (excluding the terminating null byte) which would have been written to the final string if enough space had been available. The ini
47.
▲
by
king_geedorah
1y ago
No, there are no protocols intended to implement such a thing at this time. I'm not aware of anybody attempting to spec out such a protocol either, but I do think it's a really interesting idea. Edit: s/protocol/interfac
48.
▲
by
king_geedorah
1y ago
If you take it as an axiom that the licensing system for mental health professionals is there to protect patients from unqualified help posing as qualified help, then ensuring that only licensed professionals can legally practice and that t
49.
▲
by
king_geedorah
1y ago
I take your general point with the caveat that no negatives leaves half of all values for a given integer type unyieldable whereas lack of scientific notation support does not. I was operating under an unfounded assumption that the blog pos
50.
▲
by
king_geedorah
1y ago
I’m not sure why this is a “proposal” for other string to int parsers rather than a function the author wrote themselves. It seems rather trivial to implement on top of something like strtol (or whatever your language’s equivalent is).
51.
▲
by
king_geedorah
1y ago
I don’t see anything in the article besides the jailbreaking in terms of faults and I’d expect “can be made to do things OpenAI does not want you to make it do” to be a good (or at least neutral) thing for users and a bad thing for OpenAI.
52.
▲
by
king_geedorah
1y ago
Why would there be a need or desire to bring such an arrangement to fruition if it was not meaningfully different from somebody watching individual cars/parking lots with their human eyes?
53.
▲
by
king_geedorah
1y ago
Indeed it is. Nice.
54.
▲
by
king_geedorah
2y ago
Zig does not have an IDE, but it does have a language server called zls[0] that I have found to be pretty decent after implementing Loris' suggestion from this post[1]. [0] - https://github.com/zigtools/zls [1] -
55.
▲
by
king_geedorah
2y ago
Glibc definitely does this transparent mapping as well. Calling int fd = open(<path>, O_RDONLY) yields openat(AT_FDCWD, <path>, O_RDONLY) when running through strace.
56.
▲
by
king_geedorah
2y ago
Whoops. I've just realised those should both say return sum
57.
▲
by
king_geedorah
2y ago
Might as well just drop the var keyword altogether at that point. func foo(x: int, y: int): int { sum : int = x + y return x + y } With type inference the type declaration just collapses out to what you have now
58.
▲
by
king_geedorah
2y ago
This is essentially what I was getting at. Thank you.
59.
▲
by
king_geedorah
2y ago
Okay, that makes sense to me. Thank you.
60.
▲
by
king_geedorah
2y ago
Would it be correct to say that acquire-release is in some sense "higher level" than memory fences, with acq-rel implemented in terms of fences (and restrictions on code-gen?) and fences being all that the CPU actually knows about
More ›