Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nmilo
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
61.
▲
by
nmilo
2y ago
This is exactly Zig's strength, not its problem. The flexibility/lack of interfaces allows you to choose the correct abstraction for the given task. In C++, every writer is `anytype`, in Java every writer is `AnyWriter`, in Rust e
62.
▲
by
nmilo
2y ago
The line of thinking is right there: "not sending any info to anyone else anywhere at any time" There are way more egregious privacy concerns than sending non-reversibly encrypted noisy photos to Apple. Why draw the line here and
63.
▲
by
nmilo
2y ago
I'm not really sure what to say to this, other than watch this video and apply similar thinking to this problem: https://www.youtube.com/watch?v=EK32jo7i5LQ The leaf structure itself doesn't really have anything t
64.
▲
by
nmilo
2y ago
The author misses the whole point of abstractions, and that is a layer B that covers layer A so completely that no one using layer B needs to know how layer A works at all , except for those working on the layer A/B bridge. For exampl
65.
▲
by
nmilo
2y ago
You can just pop the second stack at each function return, though that does limit its use to only really scratch-space for dynamically sized objects. Like this: https://nullprogram.com/blog/2023/09/27/ .
66.
▲
by
nmilo
2y ago
The 2 stacks is really cool. Seems like it solves a lot of problems dynamic allocation + RAII solves. Is there more written about this?
67.
▲
by
nmilo
2y ago
It should be easier now with const generics, I know the popular C++ library looks like Value<Unit, T, L, M, ...> where the letters are numbers representing the dimension of time, length, mass, etc. So m/s^2 would always be Value&
68.
▲
by
nmilo
2y ago
> However, the most vocal opposition came from a static analysis perspective: Making null pointers well-defined for zero length means that static analyzers can no longer unconditionally report NULL being passed to functions like memcpy—t
69.
▲
by
nmilo
2y ago
No shit. The whole point of being a parent is to give your kids as much privilege as you can. Why are you talking like it's a bad thing? My parents moved here to bring me a better life than them and I'm working to give my kids a b
70.
▲
by
nmilo
2y ago
Almost the perfect language. I don't get why it's they didn't make it compatible with normal Go. It should have been like Typescript where you can compile plain Go, it just adds features on top it. The "let" and str
71.
▲
by
nmilo
3y ago
You can encode a promotion as the destination file plus rank 1-4 for the 4 different kinds, since pawns can't move backwards
72.
▲
by
nmilo
3y ago
Not sure the author's use case the naive solution seems like just using 6 bits for the piece's original position, 6 bits for the destination, and 2 bits to designate promotion type, for 14 total bits. Everything else can be found
73.
▲
by
nmilo
3y ago
I'm not sure... wasm is an assembly, not a C implementation. It can define what happens if you load from 0 but it doesn't get to define if the C code `*nullptr` actually loads from 0. Whether or not it does is defined by your comp
74.
▲
by
nmilo
3y ago
This is nice. I tried to set up something similar using wasm-pack and npm but the whole thing was kind of a mess. Though I heard the emscripten backend is deprecated/unsupported/WIP? Anyone know if that's still the case?
75.
▲
by
nmilo
3y ago
Haha this is awesome, Good Will Hunting 2 is probably my favourite bit from a comedy movie.
76.
▲
by
nmilo
3y ago
How so?
77.
▲
by
nmilo
3y ago
David Graeber in Utopia of Rules : > "When historians write the epitaph for neoliberalism, they will have to conclude that it was the form of capitalism that systematically prioritized political imperatives over economic ones. That
78.
▲
by
nmilo
3y ago
Agreed. Even "AI" is a bit loaded; we had half a century of Terminator, Asimov, 2001, etc. We should call them by implementation; neural networks, transformers, language models, etc. The plus side is that it's harder to gener
79.
▲
by
nmilo
3y ago
This to me is the real problem, "AI safety" can mean about a million things but it's always just whatever is most convenient for the speaker. I'm convinced human language/English is not enough to discuss AI problems
80.
▲
by
nmilo
3y ago
Self-replication is only dangerous because it creates more physical "stuff" to cause harm, exponentially fast. But the exponential is the dangerous part, not the replication. A software program replicating itself might seem danger
81.
▲
by
nmilo
3y ago
If a border agent called me suspicious based only on my passport then yeah that is racism
82.
▲
by
nmilo
3y ago
Ok so if you're not going to switch then don't talk about it. Google will continue to make Chrome shittier and more user-hostile much like every product they've ever released since they were founded and people like you will c
83.
▲
by
nmilo
3y ago
I'm so glad you got to be technically correct today.
84.
▲
by
nmilo
3y ago
You're right actually, I forgot all Russians share a bank account with Putin.
85.
▲
by
nmilo
3y ago
This is literally just racism.
86.
▲
by
nmilo
3y ago
This would only work if the chromium source was included in the training set.
87.
▲
by
nmilo
3y ago
So switch then instead of just talking about it. It's not a big deal, it takes like 1 minute, and no one can seriously tell me you have a significantly different browser experience on Chrome vs FF.
88.
▲
by
nmilo
3y ago
It's pretty obvious if you click the link: > We’ll require creators to disclose when they’ve created altered or synthetic content that is realistic, including using AI tools. When creators upload content, we will have new options fo
89.
▲
by
nmilo
3y ago
It being creepy is the harm/negative consequence. We feel innately creeped out about something like that because we're raised to value privacy the same way we value safety and security. A violation of privacy doesn't need som
90.
▲
by
nmilo
3y ago
> Google quietly planned to put a lid on Apple’s search ambitions. The company looked for ways to undercut Spotlight by producing its own version for iPhones and to persuade more iPhone users to use Google’s Chrome web browser instead of
More ›