r/code • u/pdog2442 • Dec 05 '19
r/code • u/angryrancor • Apr 22 '23
Guide ChatGPT "solutions" are now against the rules in this sub
I ( u/angryrancor ), due to repeated complaints about low quality of comments and posts that use ChatGPT solutions verbatim, and the general consensus that these "solutions" do not work as-is, have added Rule #6. Here is the full description of the new rule:
`We have been flooded with low-quality posts and comments that include ChatGPT and ChatGPT-like "solutions". Thus, code generated by ChatGPT is not allowed in this sub, both in posts and comments.
Violation of this rule comes with a temporary mute and/or ban, repeated violations will result in permanent ban.`
r/code • u/ChickenMcFuckin • Dec 04 '20
An 's' wasted 3 hours of my life
I accidentally added an s to a Django code and spent 2 hours figuring it out, called my senior only for him to figure it out on 10 minutes. Never been so embarrassed.
r/code • u/Bigrob7605 • Aug 25 '25
My Own Code Structural code compression across 10 programming languages outperforms gzip, brotli, and zstd, tested on real-world projects shows 64% space savings.
Iβve been working on a system I call NEXUS, which is designed to compress source code by recognizing its structural patterns rather than treating it as plain text.
Over the past weekend, I tested it on 200 real production source files spanning 10 different programming languages (including Swift, C++, Python, and Rust).
Results (Phase 1):
Average compression ratio: 2.83Γ (β64.6% space savings)
Languages covered: 10 (compiled + interpreted)
Structural fidelity: 100% (every project built and tested successfully after decompression)
Outperformed industry standards like gzip, brotli, and zstd on source code
Why it matters:
Unlike traditional compressors, NEXUS leverages abstract syntax tree (AST) patterns and cross-language similarities.
This could have implications for large-scale code hosting, AI code training, and software distribution, where storage and transfer costs are dominated by source code.
The system doesnβt just shrink files β it also identifies repeated structural motifs across ecosystems, which may hint at deeper universals in how humans (and languages) express computation.
Full details, methodology, and verification logs are available here:
π GitHub: Bigrob7605/NEXUS
r/code • u/Leather_Owl6186 • Sep 08 '22
Help please! I am going to start #100daysofcode. I have seen people share their progress with a green calendar like thing. What is it? and how can I get it for myself?
r/code • u/[deleted] • Jun 28 '20
Machine Code I dare you
01010111 01100101 00100111 01110010 01100101 00100000 01101110 01101111 00100000 01110011 01110100 01110010 01100001 01101110 01100111 01100101 01110010 01110011 00100000 01110100 01101111 00100000 01101100 01101111 01110110 01100101 00001010 01011001 01101111 01110101 00100000 01101011 01101110 01101111 01110111 00100000 01110100 01101000 01100101 00100000 01110010 01110101 01101100 01100101 01110011 00100000 01100001 01101110 01100100 00100000 01110011 01101111 00100000 01100100 01101111 00100000 01001001 00001010 01000001 00100000 01100110 01110101 01101100 01101100 00100000 01100011 01101111 01101101 01101101 01101001 01110100 01101101 01100101 01101110 01110100 00100111 01110011 00100000 01110111 01101000 01100001 01110100 00100000 01001001 00100111 01101101 00100000 01110100 01101000 01101001 01101110 01101011 01101001 01101110 01100111 00100000 01101111 01100110 00001010 01011001 01101111 01110101 00100000 01110111 01101111 01110101 01101100 01100100 01101110 00100111 01110100 00100000 01100111 01100101 01110100 00100000 01110100 01101000 01101001 01110011 00100000 01100110 01110010 01101111 01101101 00100000 01100001 01101110 01111001 00100000 01101111 01110100 01101000 01100101 01110010 00100000 01100111 01110101 01111001 00001010 01001001 00100000 01101010 01110101 01110011 01110100 00100000 01110111 01100001 01101110 01101110 01100001 00100000 01110100 01100101 01101100 01101100 00100000 01111001 01101111 01110101 00100000 01101000 01101111 01110111 00100000 01001001 00100111 01101101 00100000 01100110 01100101 01100101 01101100 01101001 01101110 01100111 00001010 01000111 01101111 01110100 01110100 01100001 00100000 01101101 01100001 01101011 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01101110 01100100 01100101 01110010 01110011 01110100 01100001 01101110 01100100 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101100 01100101 01110100 00100000 01111001 01101111 01110101 00100000 01100100 01101111 01110111 01101110 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110010 01110101 01101110 00100000 01100001 01110010 01101111 01110101 01101110 01100100 00100000 01100001 01101110 01100100 00100000 01100100 01100101 01110011 01100101 01110010 01110100 00100000 01111001 01101111 01110101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101101 01100001 01101011 01100101 00100000 01111001 01101111 01110101 00100000 01100011 01110010 01111001 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110011 01100001 01111001 00100000 01100111 01101111 01101111 01100100 01100010 01111001 01100101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110100 01100101 01101100 01101100 00100000 01100001 00100000 01101100 01101001 01100101 00100000 01100001 01101110 01100100 00100000 01101000 01110101 01110010 01110100 00100000 01111001 01101111 01110101 00001010 01010111 01100101 00100111 01110110 01100101 00100000 01101011 01101110 01101111 01110111 01101110 00100000 01100101 01100001 01100011 01101000 00100000 01101111 01110100 01101000 01100101 01110010 00100000 01100110 01101111 01110010 00100000 01110011 01101111 00100000 01101100 01101111 01101110 01100111 00001010 01011001 01101111 01110101 01110010 00100000 01101000 01100101 01100001 01110010 01110100 00100111 01110011 00100000 01100010 01100101 01100101 01101110 00100000 01100001 01100011 01101000 01101001 01101110 01100111 00100000 01100010 01110101 01110100 00100000 01111001 01101111 01110101 00100111 01110010 01100101 00100000 01110100 01101111 01101111 00100000 01110011 01101000 01111001 00100000 01110100 01101111 00100000 01110011 01100001 01111001 00100000 01101001 01110100 00001010 01001001 01101110 01110011 01101001 01100100 01100101 00100000 01110111 01100101 00100000 01100010 01101111 01110100 01101000 00100000 01101011 01101110 01101111 01110111 00100000 01110111 01101000 01100001 01110100 00100111 01110011 00100000 01100010 01100101 01100101 01101110 00100000 01100111 01101111 01101001 01101110 01100111 00100000 01101111 01101110 00001010 01010111 01100101 00100000 01101011 01101110 01101111 01110111 00100000 01110100 01101000 01100101 00100000 01100111 01100001 01101101 01100101 00100000 01100001 01101110 01100100 00100000 01110111 01100101 00100111 01110010 01100101 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110000 01101100 01100001 01111001 00100000 01101001 01110100 00001010 01000001 01101110 01100100 00100000 01101001 01100110 00100000 01111001 01101111 01110101 00100000 01100001 01110011 01101011 00100000 01101101 01100101 00100000 01101000 01101111 01110111 00100000 01001001 00100111 01101101 00100000 01100110 01100101 01100101 01101100 01101001 01101110 01100111 00001010 01000100 01101111 01101110 00100111 01110100 00100000 01110100 01100101 01101100 01101100 00100000 01101101 01100101 00100000 01111001 01101111 01110101 00100111 01110010 01100101 00100000 01110100 01101111 01101111 00100000 01100010 01101100 01101001 01101110 01100100 00100000 01110100 01101111 00100000 01110011 01100101 01100101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101100 01100101 01110100 00100000 01111001 01101111 01110101 00100000 01100100 01101111 01110111 01101110 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110010 01110101 01101110 00100000 01100001 01110010 01101111 01110101 01101110 01100100 00100000 01100001 01101110 01100100 00100000 01100100 01100101 01110011 01100101 01110010 01110100 00100000 01111001 01101111 01110101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101101 01100001 01101011 01100101 00100000 01111001 01101111 01110101 00100000 01100011 01110010 01111001 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110011 01100001 01111001 00100000 01100111 01101111 01101111 01100100 01100010 01111001 01100101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110100 01100101 01101100 01101100 00100000 01100001 00100000 01101100 01101001 01100101 00100000 01100001 01101110 01100100 00100000 01101000 01110101 01110010 01110100 00100000 01111001 01101111 01110101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101100 01100101 01110100 00100000 01111001 01101111 01110101 00100000 01100100 01101111 01110111 01101110 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110010 01110101 01101110 00100000 01100001 01110010 01101111 01110101 01101110 01100100 00100000 01100001 01101110 01100100 00100000 01100100 01100101 01110011 01100101 01110010 01110100 00100000 01111001 01101111 01110101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101101 01100001 01101011 01100101 00100000 01111001 01101111 01110101 00100000 01100011 01110010 01111001 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110011 01100001 01111001 00100000 01100111 01101111 01101111 01100100 01100010 01111001 01100101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110100 01100101 01101100 01101100 00100000 01100001 00100000 01101100 01101001 01100101 00100000 01100001 01101110 01100100 00100000 01101000 01110101 01110010 01110100 00100000 01111001 01101111 01110101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00101100 00100000 01101110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00001010 00101000 01000111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000 00101001 00001010 00101000 01001111 01101111 01101000 00101001 00100000 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00101100 00100000 01101110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00001010 00101000 01000111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000 00101001 00001010 01010111 01100101 00100111 01110110 01100101 00100000 01101011 01101110 01101111 01110111 01101110 00100000 01100101 01100001 01100011 01101000 00100000 01101111 01110100 01101000 01100101 01110010 00100000 01100110 01101111 01110010 00100000 01110011 01101111 00100000 01101100 01101111 01101110 01100111 00001010 01011001 01101111 01110101 01110010 00100000 01101000 01100101 01100001 01110010 01110100 00100111 01110011 00100000 01100010 01100101 01100101 01101110 00100000 01100001 01100011 01101000 01101001 01101110 01100111 00100000 01100010 01110101 01110100 00100000 01111001 01101111 01110101 00100111 01110010 01100101 00100000 01110100 01101111 01101111 00100000 01110011 01101000 01111001 00100000 01110100 01101111 00100000 01110011 01100001 01111001 00100000 01101001 01110100 00001010 01001001 01101110 01110011 01101001 01100100 01100101 00100000 01110111 01100101 00100000 01100010 01101111 01110100 01101000 00100000 01101011 01101110 01101111 01110111 00100000 01110111 01101000 01100001 01110100 00100111 01110011 00100000 01100010 01100101 01100101 01101110 00100000 01100111 01101111 01101001 01101110 01100111 00100000 01101111 01101110 00001010 01010111 01100101 00100000 01101011 01101110 01101111 01110111 00100000 01110100 01101000 01100101 00100000 01100111 01100001 01101101 01100101 00100000 01100001 01101110 01100100 00100000 01110111 01100101 00100111 01110010 01100101 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110000 01101100 01100001 01111001 00100000 01101001 01110100 00001010 01001001 00100000 01101010 01110101 01110011 01110100 00100000 01110111 01100001 01101110 01101110 01100001 00100000 01110100 01100101 01101100 01101100 00100000 01111001 01101111 01110101 00100000 01101000 01101111 01110111 00100000 01001001 00100111 01101101 00100000 01100110 01100101 01100101 01101100 01101001 01101110 01100111 00001010 01000111 01101111 01110100 01110100 01100001 00100000 01101101 01100001 01101011 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01101110 01100100 01100101 01110010 01110011 01110100 01100001 01101110 01100100 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101100 01100101 01110100 00100000 01111001 01101111 01110101 00100000 01100100 01101111 01110111 01101110 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110010 01110101 01101110 00100000 01100001 01110010 01101111 01110101 01101110 01100100 00100000 01100001 01101110 01100100 00100000 01100100 01100101 01110011 01100101 01110010 01110100 00100000 01111001 01101111 01110101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101101 01100001 01101011 01100101 00100000 01111001 01101111 01110101 00100000 01100011 01110010 01111001 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110011 01100001 01111001 00100000 01100111 01101111 01101111 01100100 01100010 01111001 01100101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110100 01100101 01101100 01101100 00100000 01100001 00100000 01101100 01101001 01100101 00100000 01100001 01101110 01100100 00100000 01101000 01110101 01110010 01110100 00100000 01111001 01101111 01110101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101100 01100101 01110100 00100000 01111001 01101111 01110101 00100000 01100100 01101111 01110111 01101110 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110010 01110101 01101110 00100000 01100001 01110010 01101111 01110101 01101110 01100100 00100000 01100001 01101110 01100100 00100000 01100100 01100101 01110011 01100101 01110010 01110100 00100000 01111001 01101111 01110101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101101 01100001 01101011 01100101 00100000 01111001 01101111 01110101 00100000 01100011 01110010 01111001 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110011 01100001 01111001 00100000 01100111 01101111 01101111 01100100 01100010 01111001 01100101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110100 01100101 01101100 01101100 00100000 01100001 00100000 01101100 01101001 01100101 00100000 01100001 01101110 01100100 00100000 01101000 01110101 01110010 01110100 00100000 01111001 01101111 01110101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101100 01100101 01110100 00100000 01111001 01101111 01110101 00100000 01100100 01101111 01110111 01101110 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01110010 01110101 01101110 00100000 01100001 01110010 01101111 01110101 01101110 01100100 00100000 01100001 01101110 01100100 00100000 01100100 01100101 01110011 01100101 01110010 01110100 00100000 01111001 01101111 01110101 00001010 01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01101101 01100001 01101011 01100101 00100000 01111001 01101111 01110101 00100000 01100011 01110010 01111001 00001010
r/code • u/helloleah96 • Feb 03 '20
Halp pls! Why did a user input with a % sign return a valid output?
r/code • u/tpxrules • Aug 27 '22
C++ Console animation / drawing program I wrote :D
r/code • u/redddooot • Nov 23 '21
Javascript Generating all permutation of string without recursion
r/code • u/caseyfrazanimations • Jan 02 '25
Python Coding on paper
Studying on my own and trying to make it clear for myself to go back and restudy.
r/code • u/_ayushp_ • Jun 02 '23