r/code • • Dec 05 '19

Google dark mode confirmed

Post image
34 Upvotes

r/code • • Apr 22 '23

Guide ChatGPT "solutions" are now against the rules in this sub

33 Upvotes

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 • • Dec 06 '20

Someone knows how can I make this? Ty 😊

33 Upvotes

r/code • • Dec 04 '20

An 's' wasted 3 hours of my life

33 Upvotes

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 • • Sep 13 '19

Oh yeah, its all coming together (Python edition)

33 Upvotes

r/code • • 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.

Thumbnail
github.com
32 Upvotes

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 • • Aug 18 '20

I caught it off guard

Post image
32 Upvotes

r/code • • Jul 22 '18

Welp!

Post image
32 Upvotes

r/code • • Mar 27 '23

Python when you get paid per line

Thumbnail
gallery
31 Upvotes

r/code • • 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?

Post image
31 Upvotes

r/code • • Oct 24 '21

inb4 game hacked their own phone

Thumbnail
gallery
31 Upvotes

r/code • • Jun 28 '20

Machine Code I dare you

31 Upvotes

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 • • Feb 03 '20

Halp pls! Why did a user input with a % sign return a valid output?

Post image
30 Upvotes

r/code • • Jan 02 '21

Help Please where did i mess up?

Post image
29 Upvotes

r/code • • May 22 '19

Guide Sort by new

Post image
29 Upvotes

r/code • • Sep 23 '22

Javascript get it?

Post image
28 Upvotes

r/code • • Aug 27 '22

C++ Console animation / drawing program I wrote :D

Thumbnail
gallery
28 Upvotes

r/code • • Nov 23 '21

Javascript Generating all permutation of string without recursion

Post image
28 Upvotes

r/code • • Jan 28 '21

Demo A neat visualization tool :)

28 Upvotes

r/code • • Mar 15 '22

Javascript i made a face by using the power of coding

Post image
27 Upvotes

r/code • • Jan 02 '25

Python Coding on paper

Post image
26 Upvotes

Studying on my own and trying to make it clear for myself to go back and restudy.


r/code • • Jun 02 '23

My Own Code I Created an Advanced AI Basketball Referee. How could this change sports?

26 Upvotes

r/code • • Apr 20 '23

My Own Code y'all get it ? πŸ«£πŸ™ƒ

Post image
26 Upvotes

r/code • • Sep 03 '22

how to put this arrow? (sorry, I literaly started today)

Post image
26 Upvotes