Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nikeee
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
nikeee
2mo ago
I don't like this: String body = ... REST response body, which is a JSON document ... ; JsonValue json = Json.parse(body); json.get("properties").get("periods").asList().stream() .mapToInt(j -&
2.
▲
by
nikeee
4mo ago
I suspect that, too. But to me, it signals the exact opposite.
3.
▲
by
nikeee
4mo ago
In that case I still want to see exactly this prompt. Then I know that the person didn't even think about my question thoug I asked _them_ for their opinion and I could have asked ChatGPT myself (and already probably have).
4.
▲
by
nikeee
4mo ago
When I'm encountering some WoT like that, I'd like to have a button like "view source", but for "view prompt". Most ai generated messages or docs are unnecessarily verbose and just reading the prompt would suff
5.
▲
by
nikeee
5mo ago
Zig is a moving target that has breaking changes in every release (which is fine as they are sub-1.0). But that means that AI tools have been trained on outdated syntax/etc. Zig isn't that common, so there is even less training da
6.
▲
by
nikeee
5mo ago
I am building an S3 client [1] where I have a test matrix that tests against common S3 implementations, including RustFS. That test matrix uncovered that post policies were only checked for exsitence and a valid signature, not if the reques
7.
▲
by
nikeee
5mo ago
What matters for LLMs is what matters for humans, which usually means DX. Most Microservice setups are extremely hard to debug across service boundaries, so I think in the future, we'll see more architectural decisions that make sense
8.
▲
by
nikeee
6mo ago
It is called Duration.
9.
▲
by
nikeee
6mo ago
> the only viable use cases were compute-heavy workloads like codecs and crypto, I tried using it for crypto, but WASM does not have instructions for crypto. So it basically falls back to be non-hw-accelerated. Tried to find out why and
10.
▲
by
nikeee
6mo ago
That could probably be solved by opting in to the permission model of Node. But that won't work for everybody, especially in legacy applications. Having trusted dependencies at least drastically reduces the risk that 'git clone &a
11.
▲
by
nikeee
6mo ago
Some tools also install pre-commit hooks. I don't like this practice, but I get why people are using it.
12.
▲
by
nikeee
6mo ago
Bun added `trustedDependencies` [1] to package.json and only executes postInstall scripts coming from these dependencies. I think this is something that should be supported across all JS package managers, even more than version cooldowns. [
13.
▲
by
nikeee
7mo ago
So if i happen to know the numbers of other file descriptors of the process (listed in /proc), i can redirect to other files opened in the current process? 2>&1234? Or is it restricted to 0/1/2 by the shell? Would prob
14.
▲
by
nikeee
7mo ago
I use git-trim for that: https://github.com/foriequal0/git-trim Readme also explains why it's better than a bash-oneliner in some cases.
15.
▲
by
nikeee
7mo ago
Or you don't use the defualt case and rely on definite assignment analysis or checks for returns in every code path. I find the never type in TS actually being a proper bottom type + having control-flow based types vastly superior to w
16.
▲
by
nikeee
8mo ago
There was dudle [1] developed and hosted by a German university. Seems unmaintained, but there is an independent project called BitPoll [2]. [1]: https://github.com/kellerben/dudle [2]: https://github.com&#x
17.
▲
by
nikeee
8mo ago
I hope that when all online content is entirely AI generated, humanity will put their phone aside and re-discover reality because we realize that the social networks have become entirely worthless.
18.
▲
by
nikeee
8mo ago
What if the software is developed and potentially backdoored in the US and deployed by the EU team in the sovereign region? Or did they rewrite the entire AWS stack?
19.
▲
by
nikeee
9mo ago
Keep in mind that a train in Germany counts as one-time if it is less than 6 minutes late. In Switzerland, it's 3 minutes. Also in Germany, a train that did not even arrive does not count as too late. There is also a concept of the &qu
20.
▲
by
nikeee
9mo ago
Given that I can dump hundreds of TBs into the private container registry without paying anything I'm pretty surprised that they now charge for what is basically providing log streaming and retention.
21.
▲
by
nikeee
9mo ago
MS Office only has icons for the things that matter most. I think MS even had a UI guideline similar to the one that is cited from apple in TFA, but I cannot find it. The author doesn't ask for _no_ icons at all. So I really don't
22.
▲
by
nikeee
10mo ago
GCC also has an extension to support references to other parameters of the function: #include <stddef.h> void foo(size_t n, int b[static n]); https://godbolt.org/z/c4o7hGaG1 It is not limited to comp
23.
▲
by
nikeee
10mo ago
I maintain an S3 client that has a test matrix for the commonly used S3 implementations. RustFS regularly breaks it. Last time it did I removed it from the matrix because deleteObject suddenly didn't delete the object any more. It is e
24.
▲
by
nikeee
10mo ago
Didn't contribute to MinIO, but if they accepted external contributions without making them sign a CLA, they cannot change the license without asking every external contributor for consent to the license change. As it is AGPL, they sti
25.
▲
by
nikeee
10mo ago
The "types as comments" proposal has a stated goal to not codify any semantics to the annotations. This is not only due to implementation complexity, but also to keep TS to be able to change. Or even to build an entire different J
26.
▲
by
nikeee
10mo ago
The folders actually have the English name in all languages. It's just explorer.exe that uses the desktop.ini inside those folders to display a localized name. When using the CLI, you can see that. At least it's like that since Wi
27.
▲
by
nikeee
10mo ago
I still keep my assertNever function because it will handle non-exhaustiveness at runtime.
28.
▲
by
nikeee
10mo ago
Yeah, "fixed it" doesn't provide any information that might be hallucinated. Please don't use AI-generated commit messages blindly. Instead, use AI later when reading commit messages. It will have more context (following
29.
▲
by
nikeee
10mo ago
Not to be confused with the already existing Payment Request API: https://developer.mozilla.org/en-US/docs/Web/API/Payment_Req...
30.
▲
by
nikeee
11mo ago
I think a better reasoning is that NaN does not have a single binary representation but in software, one may not be able to distinguish them. An f32-NaN has 22 bits that can have any value, originally intended to encode error information or
More ›