5 ms·
Fun fact, the site fetches the textfile from the server at '/kernel.txt' and stores it in the browser local storage. The code is obviously from the Linux kerne
by mhavelka77 2y ago
Fun fact, the site fetches the textfile from the server at '/kernel.txt' and stores it in the browser local storage.
The code is obviously from the Linux kernel, specifically managing group memberships and permissions for processes.
- deleted 2y ago[deleted]
- dekken_ 2y agoahhah, thank you this code appears in the loading screens for the new game "forever winter" I was wondering if it was from the game or not, so it seems not!
- sph 2y agoWeirder, every time I see a code snippet on some video, it's the same "struct group_info ...". It is so common that I recognise it every time. I wonder where it is coming from, that makes this snippet so popular? EDIT: https://miro.medium.com/v2/resize:fit:786/format:webp/1*3YdGRlhIX6G66bFopHyqjw.png https://miro.medium.com/v2/resize:fit:786/format:webp/1*3YdG... from https://towardsdatascience.com/teaching-an-rnn-to-write-code-84a8e3435f65 https://towardsdatascience.com/teaching-an-rnn-to-write-code... The thumbnail to this image says "the source code to the Matrix"... so perhaps the movie had used some Linux code, and everybody is copying the movie
- BoppreH 2y agoThe file is groups.c from the Linux Kernel, circa sometime before 2015: https://github.com/torvalds/linux/blob/8f6c5ffc8987f4f5b5a3e9d557d94bbf3a9bf216/kernel/groups.c https://github.com/torvalds/linux/blob/8f6c5ffc8987f4f5b5a3e...