Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lightingthedark
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
lightingthedark
5d ago
The animation doesn't work for me with Firefox on Android. The laptop is totally missing and instead it just shows a static image of a logon screen. I was very confused until I tried it in Chrome.
2.
▲
by
lightingthedark
9d ago
There is another important reason not to store the vtable pointer in the object: performance! In C++ if you want to make a virtual method call you have a double indirection where you must first load the object and only then can you load the
3.
▲
by
lightingthedark
1mo ago
Maybe not 10, but my company (in the US) has relationships with several machine shops nearby (some within walking distance of our office) that do custom metal fabrication for us, and sendcutsend and xometry can handle more exotic stuff with
4.
▲
by
lightingthedark
6mo ago
It's interesting seeing all of the different ways language designers have approached this problem. I have to say that my takeaway is that this seems like a pretty strong argument for explicit end of statements. There is enough complexi
5.
▲
by
lightingthedark
7mo ago
I think that identity verification "to protect the children" is a mistake. As a parent I know how hard it can be to keep kids safe online, and that having tools to help can make a big difference. But the potential for abuse by gov
6.
▲
by
lightingthedark
7mo ago
I have a Reolink doorbell. It records to a SD card and works great with my Home Assistant setup. So much better than the Ring it replaced.
7.
▲
by
lightingthedark
1y ago
Okay so in the multiple list case performance would actually be worse because you'd have a double pointer dereference. I was thinking you'd have the list nodes contiguous in memory so the first dereference would always hit cache b
8.
▲
by
lightingthedark
1y ago
Technically that should be possible the other way by using a Node<T> so the type of the second list ends up being a Node<Node<T>> but I can see why an intrusive list would be preferred to that, and also the linked list API
9.
▲
by
lightingthedark
1y ago
Can someone explain how the claim of higher performance works here? In C, which lacks generics, an intrusive list is preferred because otherwise you end up with each node having a void pointer to the data it holds. The previous Zig version
10.
▲
by
lightingthedark
1y ago
If you haven't read it, there's a great paper on the netcode of the originals: https://zoo.cs.yale.edu/classes/cs538/readings/papers/terran... I'd be surprised if the definitive editions c
11.
▲
by
lightingthedark
1y ago
I believe the originals just supported offline LAN play. I remember getting my friend to have his modem dial my modem so we could play together, no Internet connection required.
12.
▲
by
lightingthedark
2y ago
You don't need floating point RGB for additive blending, but to get correct behavior when using additive blending for your light sources, you must use linear buffers and if you do that, the dynamic range of the scene won't fit in
13.
▲
by
lightingthedark
2y ago
Look at the fourth one on the bottom, you can see the black splotches. It's not the best example I've seen, a quick search turned up this better example, notice how the edges become all dark: https://forum.shotcut.org&#
14.
▲
by
lightingthedark
2y ago
Rust moves aren't quite the same as C++ moves, you can think of them more like a memcpy where the destructor (if there is one) doesn't get run on the original location. This means you can move an immutable object, the object itsel