Blog: 2025-02-16
Jump to navigation
Jump to search
ok so there is a
luarocks install --local
Then you get the path modification with
luarocks path
Still to read: https://leafo.net/posts/itchio-and-coroutines.html
and also can look in to https://moonscript.org/ but I think fennel will work better
Actually lots of guides here https://leafo.net/guides.html
kinda like my website :)
---
Cool aerospikedb infinite loop without busy spinning
//-------------------------------------------- // Startup is done. This thread will now wait // quietly for a shutdown signal. // // Stop this thread from finishing. Intentionally deadlocking on a mutex is // a remarkably efficient way to do this. pthread_mutex_lock(&g_main_deadlock); g_startup_complete = true; pthread_mutex_lock(&g_main_deadlock);
---
hack $ cat test.c #include "stdio.h" #include <sys/socket.h> int main() { printf("AF_INET %d\n", AF_INET); printf("AF_INET6 %d\n", AF_INET6); } hack $ gcc -M test.c | grep sys/socket /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/socket.h \
---
huh?? looks fiendishly similar to my refined stack overflow https://github.com/AnweshGangula/StackMeFirst