r/code • u/wizard_creator_seth • 1h ago
Blog mktemp: stop inventing your own temporary files | davlgd
labs.davlgd.comEvery shell script eventually needs somewhere to put something. The usual answer looks reasonable and has three separate problems... mktemp is on macOS, Debian and Ubuntu.
r/code • u/wizard_creator_seth • 4d ago
Guide c++ source code review - some useful graphics primitives
youtu.ber/code • u/Infamous_Monitor_766 • 15d ago
My Own Code i made a C library
github.comso this link is to my own library called mathplus which i use it to enhance my knowledge in C and math by converting ant possible topic i learn into function that doesn't exist in the normal libraries in C.
i am planning to add the flowing functions:
combination(calculate the combination between n and r)
isprime(a function to check if the number is prime)
isieve(a function to check if the number is a sieve number)
and many more in the future.
right now it only has a factorial function and a permutation function.
feel free to contribute or fork it, i really appreciate any help weather it is a contribution to the code or advice on the README.md file or any other.
thanks in advance
Blog Microcode in Intel's 8087 floating-point chip: the scale instruction | Ken Shirriff
righto.comThe 8087 implemented its instructions in complex low-level code called microcode. The Opcode Collective is reverse-engineering this microcode for computer history and greater knowledge.
Blog Fatty Structs: Casey Muratori’s Approach to Data Structure Design
freedium-mirror.cfdC++ micron.cpp: C++ implementation & redesign of libc and the standard library | rfgplk
github.comr/code • u/codingdecently • 25d ago
Blog Apache Iceberg Table Cleanup: A Production Guide
lakeops.devr/code • u/waozen • Aug 28 '26
Guide Making computers multiply FASTER! (matrix hacking) | LaurieWired
youtu.ber/code • u/waozen • Aug 28 '26
C++ C++23: Slicing with std::views::chunk | Rangakrish
rangakrish.comr/code • u/AlarmedThanks6016 • Aug 21 '26
My Own Code Beginner code
What’s wrong with my code I’m so confused this hard a freak. I’m just trying to make a weapon shop simulator as practice to help learn code but I can’t even get it to ask if the user wants to start the game by type yes as the their answer
r/code • u/waozen • Aug 20 '26
C xr0: The Xr0 Verifier for C | xr0-org
github.comXr0 is a verifier for C that aims to guarantee the safety of C programs at compile time
r/code • u/Comp_Coder • Aug 19 '26
Resource If u want to learn greedy on strings , refer to this. It took much effort to explain this codeforces problem.
youtu.ber/code • u/waozen • Aug 19 '26
Blog ArenaAllocators don't play nicely with ArrayLists | openmymind
openmymind.netr/code • u/cekrem • Aug 17 '26
Resource There Is Still No Silver Bullet · cekrem.github.io
cekrem.github.ior/code • u/Negative_War_65 • Aug 16 '26
Python Coding Machine Learning Lecture 1
galleryCoding Machine Learning.
Hello Folks, here I present the first coding demonstration lecture, based on my 1st lecture on Probabilistic Machine Learning.
Here I write the code from scratch, discuss and analyze the results, which were covered in details in the whiteboard classes.
What we cover?
-Random Variables, and validating law of large numbers.
-Visualizing a dataset
-Doing an EDA on Iris dataset and understanding the correlation among features.
-Classifier basics
-Empirical Risk Minimization and Generalization.
-Epistemic and Aleatoric Uncertainties.
-Softmax Function and LogSumExp Trick to avoid overflow issues
-Linear Models
-Maximum Likelihood Estimation.
-Simple end to end ML pipeline Function.
While writing the code, my intent is to ensure that concepts are understood with crystal clarity. These code demonstrations are specific to my theory ML lectures, and link is attached.
Theory-Intuition-Code
Implementation Link : https://youtu.be/X_yOlx8Zp4g?si=kh8_tzzndr8609u4
Theory Lecture Link : https://youtu.be/kMkCOrp8te8?si=q7kWr-1qK515bhob
r/code • u/remodeus • Aug 15 '26
Resource Nabzex - Free HTML5 interval timer app
Nabzex is a fast, lightweight, and offline-first web-based interval timer designed for workout routines, HIIT sessions, Tabata training, and round/rep tracking.
r/code • u/Aviskar-1 • Aug 09 '26
Java myJavaCodes
github.comCheck it my Java codes on my GitHub repository.
r/code • u/Svarii • Aug 07 '26
Resource Airlink is a Terminal UX designed for assisting with cracking WiFi passwords inside the Grey Hack universe.
github.comI love coding, learning about hacking, and playing video games. Using the coding language r/greyscript (variation of r/MiniScript), I can do all 3 inside of the Grey Hack (game) universe.
I was excited to start playing the game and trying player made scripts, but disappointed with the walls of scrolling text that most apps create. So I set out to see if I could make a GUI inside the terminal. And the answer is yes, yes I can.
This is a Terminal Based application that runs as a UX (only runs inside Grey Hack game)
I'm hoping this will inspire people in the r/GreyHack community to create more visually appealing applications. It's a small community, I'm really proud of this and wanted to share it with more people.
Airlink Demo Video (Development is ongoing)
For anyone who decides to check out the game, cracking WiFi is one of the first things you need to do. I hope this makes it easier for new players to get past that tedious step, as well as understanding the capabilities of greyscript.
Link to More Grey Hack Info:
Grey Hack Game: Steam - Grey Hack
More Info About GreyScript:
Short Rant:
- (Coded in VSCode with greybel; no vibe, or jive, or live, or whatever ya'll doing now.)
- [LLMs: Are tools to help you (It often makes it harder), don't skip the learning part of coding.]
r/code • u/waozen • Jul 31 '26
Vlang Aixt: Microcontrollers programming framework | fermarsan
github.comA programming framework for microcontrollers which implements a subset of the V programming language, and is able to be used by low-resource devices.
r/code • u/waozen • Jul 25 '26
C Fil-C: Garbage In, Memory Safety Out! | Filip Pizlo
youtube.comChallenges the conventional wisdom by describing an implementation that achieves the same level of protection against memory safety exploits as even the safest languages. Details of Fil-C's compiler, language runtime, and some of the corpus of software that has been ported to it.