Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aappleby
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
211.
▲
by
aappleby
3y ago
I have a cheap RX 6400 and it is flawless in both Wayland and X.
212.
▲
by
aappleby
3y ago
Yep that's the book.
213.
▲
by
aappleby
3y ago
If you want to do collision detection in something like a game and you don't want to be constantly debugging collision issues, you have to be way way more aware of numerical precision issues than this article is. For example, even a ba
214.
▲
by
aappleby
3y ago
Proooobably? I've written bare-metal bootloaders for RISC-V chips (though running seL4 and not Linux) and there's a _lot_ less stuff in the startup process than on x86/x64.
215.
▲
by
aappleby
3y ago
I have one of these as well - the distro I installed has a broken Chrome that crashes shortly after startup, hopefully that's fixed now. The case is prototype-quality but fine (the fact that it's metal helps a lot), the screen is
216.
▲
by
aappleby
3y ago
Sorry, can't, capitalism.
217.
▲
by
aappleby
3y ago
X360 dev was the same, I lived inside the VS debugger and perpetually had Pix up in a second monitor.
218.
▲
by
aappleby
3y ago
Correct, but it was still way faster that way. Pathfinding was already asynchronous (queries happened on another thread so they didn't block any game update loops) and queries were infrequent enough that doing one at a time was fine.
219.
▲
by
aappleby
3y ago
Oh, and compute the distance from each path node to the nearest obstacle and store that in the path node. As long as your character is inside one of these "bubbles", you can skip collision detection against the world entirely.
220.
▲
by
aappleby
3y ago
Also every single thing shouldn't be pathing around everything else, they should use something like a flocking behavior to organize themselves. Pathing is only for long distance navigation in complex environments.
221.
▲
by
aappleby
3y ago
Handmade, but trivial to build - I made a tool so the guys in the world editor could just click anywhere to drop a path node and the tool would automatically link path nodes and prune redundant edges from the graph. Took a few minutes to do
222.
▲
by
aappleby
3y ago
Some tricks I used for A* in a production MMO: 1. Hierarchical graphs: city-level, inter-room in building, intra-room. Allows for navigation from any point in any room in any building in any city to any other point in a fraction of a millis
223.
▲
by
aappleby
3y ago
Yes
224.
▲
by
aappleby
3y ago
My partner got me one for Christmas after I had oooed and aaaahed over a prototype I saw once. It is a fun and well-made toy, and it feels brain-stretchy in a good way to try and understand how the examples work.
225.
▲
by
aappleby
3y ago
It uses a Pi Pico, not the Linux SBC. Arduino-tier.
226.
▲
by
aappleby
3y ago
Broken on mobile
227.
▲
by
aappleby
3y ago
That is literally what drives the PS5 and XSX.
228.
▲
by
aappleby
3y ago
This is really cool stuff. The "eavesdrop-proof" modulation scheme is particularly interesting - I'm curious as to why they didn't also frame that bit as also reducing interference, as it seems like it would allow a base
229.
▲
by
aappleby
3y ago
Very impressive demo.
230.
▲
by
aappleby
3y ago
I'm not on the team anymore so I don't know if they kept the tar stuff around, but it was straightforward to scan the flash for valid tar header blocks to build the allocation bitmap and then flag header blocks as invalid when fil
231.
▲
by
aappleby
3y ago
We ended up going with a very trivial system based on tar files and bitfield allocators and delegated the more filesystem-y like functionality to a higher level of the stack.
232.
▲
by
aappleby
3y ago
A caveat for anyone wanting to use this - while the library does work and the test suite seems thorough, the implementation does some _very_ sketchy things like forcibly casting pointers to unrelated types so they can be shoved through some
233.
▲
by
aappleby
3y ago
This.
234.
▲
by
aappleby
3y ago
I was writing code for production game engines ~20 years ago.
235.
▲
by
aappleby
3y ago
Can confirm, have used bubble sort in a production game engine to keep transparent objects mostly sorted. You do the compare-and-swap when you're iterating over the objects to do some other render pass, so it adds almost nothing to the
236.
▲
by
aappleby
3y ago
I'm the "12 years at Google" commenter from below. Got a personal email from Craig Silverstein my first day at Google welcoming me to the company and thanking me for my work on hash functions. Chatted with him occasionally af
237.
▲
by
aappleby
3y ago
12 years at Google for me, 2011-2023. Left after they froze internal transfers the same day I was going to transfer, which put me in limbo for 6 months despite management saying they'd find a way to get it done. Absolutely agree with t
238.
▲
by
aappleby
3y ago
The Game Boy also does stuff on both edges of the clock, so it's more like an 8-phase, 1 Mhz clock. Source - I wrote GateBoy.
239.
▲
by
aappleby
3y ago
Coffee is delicious and worsens my arthritis. I drink a coffee substitute called Dandy Blend most days, but damn do I miss the real stuff.
240.
▲
by
aappleby
3y ago
Anecdata of one here- Non-smoker, originally tried nicotine vapes as an alternative to caffeine which I tend to overuse. Not very effective for me as I seem to have a paradoxical reaction to it that makes me want to take a nap for 5-10 minu
More ›