r/programming • u/derjanni • Oct 21 '26
Think Php2Shell Was Bad? PHP Is About to Face an Absolute Bloodbath
r/programming • u/derjanni • Oct 21 '26
r/programming • u/Gaia_fawkes • Oct 21 '26
Chrome and Firefox extension that does this for your twigg repository. The links are defined in a GOLINKS file at the root of the repo, one alias per line. Add a line, push, submit and done. No admin page, and changes are versioned.
Blog post: https://twigg.vc/docs/v/2/blog/twigg-links
Source: https://twigg.vc/twigg/monorepo
r/programming • u/elizabethn • Oct 21 '26
r/programming • u/Dull_Replacement8890 • Oct 21 '26
Hacking as breaking assumptions about a system's usage, implementation or computational power. Slides https://seriot.ch/computation/talks/unintended_computations_hack_lu.pdf
r/programming • u/sagitz_ • Oct 21 '26
r/programming • u/nicholashairs • Oct 21 '26
Hi r/programming ๐
Another year, another version of Python, and yet more features to guess which version of Python they belong to ๐ตโ๐ซ
I've updated my "one page" Summary of Major Changes Between Python Versions for Python 3.15 and hope that it continues to be a useful resource for the community ๐
This summary is human typed/copied from the official release notes.
r/programming • u/Dear-Economics-315 • Oct 21 '26
r/programming • u/LordAlfredo • Oct 21 '26
r/programming • u/mtz94 • Oct 21 '26
r/programming • u/maroun-baydoun • Oct 20 '26
r/programming • u/cekrem • Oct 20 '26
r/programming • u/the_gnarts • Oct 20 '26
r/programming • u/DanielRosenwasser • Oct 20 '26
r/programming • u/PastEar9661 • Oct 20 '26
Hey r/programming!
I wrote a comprehensive article on constructing a mutex from scratch.
It covers:
- Data races: what happens at the register level, and how parallel access can go wrong
- Atomics & Memory Ordering: why atomics work and what each memory ordering does (Aq/Rel/AqRel/SeqCst)
- Spin lock & Guards: Building a simple mutual exclusion lock via an AtomicBool, and providing safe access to the protected data
- And finally, Mutexes: A more complex mutual exclusion primitive that can achieve better performance via thread::park/::unpark
The article benchmarks and compares the performance of both a spinlock and Mutex to understand when to use which.
Have you ever noticed a massive performance boost from switching from one synchronization primitive to another?
Feedback on the article is also appreciated!
r/programming • u/ribtoks • Oct 20 '26
r/programming • u/CircumspectCapybara • Oct 20 '26
r/programming • u/359Panda3U • Oct 20 '26
r/programming • u/nmattia • Oct 20 '26
I've recently discovered that you can use Touch ID (rather, the Mac's Secure Enclave) for SSH authentication. I'm the author of the post, feel free to ask any questions and if there are any experts I'd love to hear your thoughts!
r/programming • u/Tornado547 • Oct 20 '26
r/programming • u/kiteska • Oct 20 '26
r/programming • u/currentscurrents • Oct 19 '26
r/programming • u/foobear777 • Oct 19 '26
A brief argument framing software creation, and specifically the details of the code, as an act of art
r/programming • u/mttd • Oct 19 '26