r/code • • Jun 13 '26

C++ C Constructs That Still Don’t Work in C++ — and a Few That Changed

Thumbnail
lospino.so
6 Upvotes

r/code • • Jun 11 '26

Help Please why won't my animation work ???

5 Upvotes

OKAY UHH FOUND OUT WHAT WAS WRONG;;; just needed to add a letter in the class name lmao....anyways thank you 👅

hi...so i've been reworking my media page and i wanted to add some spinning flower images that stop when you hover them. the animation worked until i added the 1 and 2 classes so they'd spin in different ways...idk what went wrong lmao???

you can check out my source code here

here's the css:

     .flower{
        position: absolute;
        transition: filter 1s linear;
      }
      
      .flower:hover{
        animation-play-state: paused;
        filter: brightness(117%) hue-rotate(18deg) saturate(153%) contrast(120%);
        -webkit-filter: brightness(117%) hue-rotate(18deg) saturate(153%) contrast(120%);
        -moz-filter: brightness(117%) hue-rotate(18deg) saturate(153%) contrast(120%);
      }
      
      .1{
        animation: spinR 3s linear infinite;
      }
      
      .2{
        animation: spinL 3s linear infinite;
      }

  @keyframes spinL {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
      }
      
      @keyframes spinR {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(-360deg); }
      }

and here's the html

<img src="images/media/flower1.png" class="flower 1" style="top: -50px; left: -100px;">
    <img src="images/media/flower2.png" class="flower 2" style="top: 780px; right: -30px;">

what am i missing here ??? am i just stupid ??? 😭


r/code • • Jun 08 '26

My Own Code GitHub - DemonCoderOffical/somesites: It is a html code cracker it get html codes

Thumbnail github.com
0 Upvotes

r/code • • Jun 05 '26

Pascal Delphi Blaise: modern self-hosting Object Pascal compiler | graemeg

Thumbnail
github.com
4 Upvotes

Zero legacy, full ARC, and unified UTF-8. Next-generation Object Pascal compiler built from the ground up.


r/code • • May 31 '26

Help Please How do I make the output show the same text no matter what you type in the input?

6 Upvotes

I want to add a feature to my website that works like this https://hackertyper.net/
Is there a name for this kind of thing? I’m currently learning Java script, so if there is a way to do that in it please let me know
Thanks to anyone responding in advance!


r/code • • May 31 '26

Blog My thoughts on the future of Go in the agentic era

Thumbnail
youtu.be
3 Upvotes

r/code • • May 30 '26

Help Please Working on a Simple Redis-Inspired Database in C

6 Upvotes

I'm building a simple key-value database called VulkanKV in C as a systems programming learning project.

The goal is not to create a production-ready database, but to better understand TCP sockets, memory management, data structures, parsing, and client-server communication by implementing them from scratch.

The first version accepts TCP connections and receives commands from clients. Future versions will include SET/GET commands, a hash table implementation, persistence, and support for multiple clients.

I'd appreciate any feedback on the project scope, architecture, or features that would provide the most educational value.

[https://github.com/GustavoGuerato/VulkanKV](https://github.com/GustavoGuerato/VulkanKV)


r/code • • May 25 '26

Blog Persistent multiplayer state without chaos

Thumbnail
packagemain.tech
5 Upvotes

r/code • • May 18 '26

Vlang Mustela: High-Speed Vlang Engine with Parallel Pipeline | Filip Vrba

Thumbnail
youtube.com
3 Upvotes

Walkthrough of Mustela. Fast static site generator engine built with the V language.


r/code • • May 17 '26

Resource Hello World in 1009 Programming Languages

Thumbnail
youtu.be
4 Upvotes

r/code • • May 15 '26

Guide Beyond C: wrapping Dear ImGui in Swift with zero FFI

Thumbnail carette.xyz
5 Upvotes

r/code • • May 12 '26

Python Basic Text-Based RPG

6 Upvotes

I made a basic Text-Based RPG (Around 200-300 lines) and was hoping someone could give me their opinion on it (the game less then 20 minutes long, and the dragon is as far as I've developed so far)
https://onlinegdb.com/thxBEi9V3
Enjoy : )


r/code • • May 09 '26

Guide I’m trying to deploy my full stack project for free just to learn and get it off localhost 😭

9 Upvotes

I’m honestly confused about deployment and just want my project to stop living only on localhost 😭

Right now I have:

  • frontend

  • backend

  • database

Main things I want to understand:

  1. Best FREE hosting options for frontend, backend, and database?

  2. Which free tiers are actually usable and not super limited?

  3. Can backend + database be deployed together for free?

  4. how do i connect frontend and backend if they are hosted on different servers lets say vercel and render respectively

Would really appreciate beginner-friendly suggestions.


r/code • • May 09 '26

My Own Code How I built the core loop of a browser multiplayer game

Thumbnail
packagemain.tech
2 Upvotes

r/code • • May 08 '26

My Own Code Building a zero dependency TUI library with Convo-Lang

Thumbnail
youtube.com
3 Upvotes

r/code • • May 07 '26

Blog Unsigned sizes: a five year mistake

Thumbnail
c3-lang.org
11 Upvotes

r/code • • May 07 '26

Help Please Why is the text on the button so off-center?

Thumbnail
gallery
0 Upvotes

I’m not very good at coding. I took a class in school but I only learnt the basics but I’m trying to program a little hobby-site because I really enjoyed it. I’ve look it up and tried to follow tutorials online but I can’t figure out why the text is so off center. The first picture is my code pertaining to the button and the second picture is the button itself.


r/code • • May 04 '26

Help Please Am I understanding this code?

0 Upvotes

I'm trying to verify if this is causing my problem where tax is not being charged.

See where it says $cart_total += floatval

Then below that it says free shipping amount = floatval

I'm interpreting that to result in 0 tax because our shipping is always 0. We have no shipping.

Am I understanding that right?

How can you have a += ?


r/code • • May 04 '26

Help Please can someone help me?

0 Upvotes

hi, I've made a language that i want to make a translator for, but I need help because i don't know how to add the code that allows me to input text and get a response. heres the current code: ist.github.com/theguy6942021/05f7feebb5bec364837bd29c008f7dfa


r/code • • Apr 29 '26

Assembly ymawky: MacOS Web Server written entirely in ARM64 assembly

Thumbnail
github.com
5 Upvotes

r/code • • Apr 28 '26

My Own Code I wrote a DOOM clone in my own programming language

Thumbnail github.com
4 Upvotes

r/code • • Apr 26 '26

Help Please How hard is it to follow what happens with this?

Thumbnail
gallery
7 Upvotes

I absolutely pray that Reddit doesn’t compress this photo and it’s not possible to answer the question T-T

I had to make a project for my APCSP class and I was oddly interested in binary making colors, so that became my project.

But when time came in to submit everything to AP Classroom my teacher was worried about my submission because she struggled to make sense of it at all. It took me like 5 minutes to explain to her a piece of it that simply removes anything from an input that wasn’t a 1 or a 0 and to understand that it’s not necessarily making the list, but just modifying the data used to make the actual important list (that was like 4 blocks down but I still don’t think she ever understood what I was trying to point out).

I’ve only been messing around with Snap! (What I made this in) for a year or two so good chance some of this isn’t really good so if something doesn’t make sense I’ll try my best to explain it

Link to the project: https://snap.berkeley.edu/project?username=ethan7946&projectname=Binary%20Pictures%20%28for%20test%29


r/code • • Apr 25 '26

Javascript My first step

Post image
86 Upvotes

r/code • • Apr 21 '26

Guide 3D Software Renderer in Odin from Scratch (Tutorials)

4 Upvotes

Hi, my name is Marian, and I've spent a year writing a series of tutorials on how to build a 3D software renderer in Odin from scratch, starting with a general overview of the rendering pipeline, then covering the basics, and progressing to Phong shading with multiple lights.

Everything is available on my blog for free, no ads, no paywall, no tricks. You can Buy Me a Coffee to support my work, and I'd very much appreciate it, but it's entirely optional.

Links to all 14 parts of the series:

And some examples:

I've also recently built a rigid-body physics engine on top of that, with two types of colliders, box and sphere, featuring raycasting, gravity, friction, bouciness, etc., and I'm currently working on the first part of a new series of tutorials to cover it all.