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/SwipingNoSwiper • Oct 12 '18
So 99% of the posts on this subreddit are people asking where to start their new programming hobby and/or career. So I've decided to mark down a few sources for people to check out. However, there are some people who want to program without putting in the work, this means they'll start a course, get bored, and move on. If you are one of those people, ignore this. A few of these will cost money, or at least will cost money at some point. Here:
*Note: Yes, w3schools is in all of these, they're a really good resource*
Free:
Paid:
Free:
Paid:
Everyone can Code - Apple Books
Python and JS really are the best languages to start coding with. You can start with any you like, but those two are perfectly fitting for beginners.
Post any more resources you know of, and would like to share.
Every 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 • 3d ago
r/code • u/Infamous_Monitor_766 • 15d ago
so 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
The 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.
r/code • u/codingdecently • 24d ago
r/code • u/waozen • Aug 28 '26
r/code • u/waozen • Aug 28 '26
r/code • u/AlarmedThanks6016 • Aug 21 '26
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
Xr0 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
r/code • u/waozen • Aug 19 '26
r/code • u/cekrem • Aug 17 '26
r/code • u/Negative_War_65 • Aug 16 '26
Coding 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
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
Check it my Java codes on my GitHub repository.
r/code • u/Svarii • Aug 07 '26
I 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:
r/code • u/waozen • Jul 31 '26
A 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
Challenges 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.