HackerLangs
TopNewTrendsCommentsPastAskShowJobs

djray

no profile record

comments

djray
·26 giorni fa·discuss
This pertinent paper appeared more than a decade ago about the flaws in the amyloid plaque hypothesis: https://pmc.ncbi.nlm.nih.gov/articles/PMC4207354/

Many people without dementia show amyloid plaques in their brains in autopsies. It's becoming more accepted now that there are multiple interrelated causes after decades pursuing the simplistic amyloid plaque theory.

The article is bordering on irresponsible.
djray
·mese scorso·discuss
They aren't equal, as the faster version does an unconditional memory write instead of only writing to the array if the condition is satisfied. The compiler is strictly forbidden from turning a conditional write into an unconditional one.
djray
·2 mesi fa·discuss
Large organisations have advocacy, support and friendship groups for many underrepresented or protected groups, such as those for religions, mental health issues, physical disabilities etc. I imagine this is simply one of those internal group's organisational repos.
djray
·2 mesi fa·discuss
Just fucking use the language appropriate to the task you're trying to accomplish.

Just fucking use the language your colleagues can understand and support for the next few years.

Just fucking use the language with the framework and tooling you need to get your job done efficiently and effectively, and one at the appropriate level of abstraction for the project.

Just fucking use the language which AI agents can read and write well, because we're in the End Times and this stuff matters.

Just fucking use the language with great testing and CI/CD support because you'll be spending longer supporting your code than writing it.

The skill is choosing well, and a key realisation is that it's never a one-size-fits-all thing. That's why an article like this is less than helpful, gosh darn it.
djray
·2 mesi fa·discuss
"Skirmish" or "Conflict" or "Action". It's less illegal if you don't call it a war.
djray
·3 mesi fa·discuss
It says "approx. 5 hours" in the "Power & Batteries" section.
djray
·4 mesi fa·discuss
I said in my comment that it was GPU bound. Task Manager was reporting 100% GPU usage from the browser, which went down to 0% after closing the tab.

It looks to be that the demo has been fixed since I initially looked. Testing today showed much improved performance.
djray
·4 mesi fa·discuss
The demo runs at 5 FPS on my laptop (11th gen Core i5 and Iris Xe graphics, Chrome Latest as the browser, with the GPU being the bottleneck). I was hoping for something rather more efficient given the write-up saying it ran at 60 fps on mobile.

The maps are pretty, but the per-tile build constraints of the WFC build approach means that pretty unnatural generations end up happening because non-local influence is difficult to take into account. I think this may be OK for games where you discover tiles one at a time, but for a full map generator it's not great, and better solutions exist. Red Blob Games did a writeup of a noise-based method which looks superior imo. You can use moisture-tracking approaches for rivers, lay roads, bridges and other artificial elements in a separate pass, and it will likely end up faster and more robust. I think WFC is an interesting programming problem, though, so it was likely fun to implement.

Nonetheless, this was an excellent write-up and impressive demo.