https://nethack.org/v500/release.html #NetHack5 #C99 #DungeonExploration #GameDevelopment #Debugging #HackerNews #ngated
Just pushed pset004.c into my Euler Repo.
No. Not happy with the palindrome solution I came up with. 4-digit numbers onwards get pretty heavy for the computer.
But I refuse to ask an AI to teach me algorithms. I'd rather eat my own left foot than ask for a O(n) solution.
Currently battling against Project Euler's pset004 in #C.
How come a simple function that reverses a 6-digit number to check whether it is a playndrome (O(n)) can furiously turn into a massive resource waster when digits increase?
Unfortunately, my most feared enemy, the pointer, will save me on this one.

Ollama for classical ML models. AOT compiler that turns XGBoost, LightGBM, scikit-learn, CatBoost & ONNX models into native C99 inference code. One command to load, one command to serve. 336x f...

Experimental C implementation of “Breaking the Sorting Barrier for Directed Single-Source Shortest Paths” by Ran Duan, Jiayi Mao, Xiao Mao, Xinkai Shu, and Longhui Yin (STOC 2025) - danalec/DMMSY-SSSP
C99 implementation of new O(m log^(2/3) n) shortest path algorithm
https://github.com/danalec/DMMSY-SSSP
#HackerNews #C99 #O(m #log #n #shortest #path #algorithm #DMMSY-SSSP

Experimental C implementation of “Breaking the Sorting Barrier for Directed Single-Source Shortest Paths” by Ran Duan, Jiayi Mao, Xiao Mao, Xinkai Shu, and Longhui Yin (STOC 2025) - danalec/DMMSY-SSSP