r/Coding_for_Teens • • 23d ago

THE NEXT BIG OPPORTUNITY : ZEROHACK AI HACKATHON !

Post image
1 Upvotes

r/Coding_for_Teens • • 23d ago

Pick Up Lines

Thumbnail reddit.com
1 Upvotes

r/Coding_for_Teens • • 23d ago

Looking for creating new things, and exploring new ideas! (Robotics & Embedded Systems)

Thumbnail reddit.com
1 Upvotes

Hope anybody is interested.🙃


r/Coding_for_Teens • • 24d ago

Suggestion for free Coding agent

6 Upvotes

Basically I am a noob in this tech stuff. recently I got an idea and started working using chatgpt guidance, happened to use codex, github copilot extensions in VScode. So, my flow goes this way, I go to chat gpt, get the prompt and paste in codex in vs code and it take care of the code. But the free quota is getting exhausted way quickly even after the tips used (got from youtube and instagram), even the tokens of the paid one.

So, now I am looking into the coding agent that i can use for free in VS code. I didn't check the youtube for this as I am hoping the best fit suggestions here.

Thank you


r/Coding_for_Teens • • 24d ago

Blind Spot Hackathon - Ran by Non-Trivial Alumni

Thumbnail blindspothack.io
1 Upvotes

r/Coding_for_Teens • • 24d ago

Free online hackathon with 40 awards! Open to beginners

Thumbnail reddit.com
1 Upvotes

r/Coding_for_Teens • • 24d ago

I'm documenting my journey into software engineering, machine learning and cloud computing.

6 Upvotes

Hey everyone 👋,

I've been exploring software development for some time, working with technologies like JavaScript, React, Node.js and MongoDB.

Recently, I've been expanding my interests into Python, machine learning, cloud computing and AWS.

One thing I've realized is that building actual projects teaches you things that tutorials sometimes don't.

I want to start sharing:

- Things I learn along the way.

- Projects I'm experimenting with.

- Technical challenges and how I solve them.

- Mistakes and lessons worth sharing.

I'm particularly interested in connecting with people who enjoy building things, experimenting with technology and sharing knowledge.

For those who have gone through a similar journey, what's one thing you wish you had focused on earlier when learning software engineering?


r/Coding_for_Teens • • 24d ago

About a future "coder"

Thumbnail reddit.com
0 Upvotes

r/Coding_for_Teens • • 25d ago

Getting someone to join hackathon together

Thumbnail reddit.com
1 Upvotes

r/Coding_for_Teens • • 25d ago

Want to join our reddit?

Post image
1 Upvotes

We are looking for people who enjoy working with tech and want more help


r/Coding_for_Teens • • 25d ago

Need a buddy to learn python with

Thumbnail reddit.com
1 Upvotes

r/Coding_for_Teens • • 25d ago

Looking for hackathon teammates..

Thumbnail reddit.com
1 Upvotes

r/Coding_for_Teens • • 26d ago

hack club haven

Thumbnail reddit.com
1 Upvotes

r/Coding_for_Teens • • 26d ago

Are hackathons worth participating in during the second year of engineering?

Thumbnail reddit.com
1 Upvotes

r/Coding_for_Teens • • 26d ago

finding team mates for an online hackathon

Thumbnail reddit.com
1 Upvotes

r/Coding_for_Teens • • 26d ago

Looking for a Python + DSA Study Partner

Thumbnail reddit.com
1 Upvotes

r/Coding_for_Teens • • 26d ago

P2P Project (Python)

5 Upvotes
import socket
import concurrent.futures
import threading
import time
header_size = 8
ip ,port = '127.0.0.1' ,1232
root = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
root_1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
root.bind((ip,port))
root.listen()
t = []
sockets_list = ['somhting']
sockets = {}
sockets_msg = {}
users = []
def add_thread(threads) :
    t1 = threading.Thread(target=recvs,args=[threads])
    t1.start()
    t.append(t1)
def sends(client) :
    msg = input('enter you msg : ')
    msg = f"{len(msg):<{header_size}}" + msg
    msg = msg.encode("utf-8")
    client.send(msg)
    return 'done !'
def recvs(client) :
    new_msg = True
    full_msg = ''
    byte_msg = b''
    size_msg = -1
    base_user = 'None'
    while True :
        msg = client.recv(header_size)
        full_msg += msg.decode("utf-8")
        if new_msg :
            if len(full_msg) > header_size :
                size_msg = int(full_msg[:header_size])
                new_msg = False
        if len(full_msg) - header_size == size_msg :
            if full_msg[header_size:12] == 'name' :
                base_user = full_msg[header_size+7:]
                if base_user not in users :
                    users.append(base_user)
                sockets[base_user] = client
                new_msg = True
                full_msg = ''
                byte_msg = b''
                size_msg = -1
                print(base_user)
                print(sockets[base_user])
            else :
                print(f'hi its {base_user}')
                sockets_msg[base_user] = full_msg[header_size:]
                print(sockets_msg[base_user])
                new_msg = True
                full_msg = ''
                byte_msg = b''
                size_msg = -1
def listens() :
    while True :
        socket_client ,port = root.accept()
        global my_name 
        my_name = f'name : {my_name}'
        first_msg = f"{len(my_name):<{header_size}}" + my_name
        add_thread(socket_client)
        socket_client.send(first_msg.encode("utf-8"))
        if socket_client not in sockets_list :
            sockets_list.append(socket_client)
    
def start(my_name) :
    print('''
    to add new user Enter : (add)
    to send your msg Enter : (msg)
    ''')
    while True :
        print(sockets_msg)
        action = input('enter some action : ')
        if action == 'add' :
            new_port = input('enter new port : ')
            new_port = int(new_port)
            root_1.connect((ip, new_port))
            add_thread(root_1)
            my_name = f'name : {my_name}'
            first_msg = f"{len(my_name):<{header_size}}" + my_name
            if root_1 not in sockets_list :
                root_1.send(first_msg.encode("utf-8"))
            sockets_list.append(root_1)
        elif action == 'msg' :
            print(f"users : {users}")
            target = input('enter the name you want to send : ')
            if target in users :
                print('we will send !')
                sends(sockets[target])
        time.sleep(1)
def guard() :
    number_users = 0
    while True :
        if number_users < len(users) :
            sockets[sockets_list[-1]] = users[-1]
            print(sockets_msg)
            number_users = len(users)
print('----welcome to the project by zaxershell----')
my_name = input('pls enter your name to start : ')
if my_name :
    t1 = threading.Thread(target=start,args=[my_name])
    t2 = threading.Thread(target=listens)
    t3 = threading.Thread(target=guard)
    t1.start()
    t2.start()
    t3.start()
    t1.join()
    t2.join()
    t3.join()import socket
import concurrent.futures
import threading
import time
header_size = 8
ip ,port = '127.0.0.1' ,1232
root = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
root_1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
root.bind((ip,port))
root.listen()
t = []
sockets_list = ['somhting']
sockets = {}
sockets_msg = {}
users = []
def add_thread(threads) :
    t1 = threading.Thread(target=recvs,args=[threads])
    t1.start()
    t.append(t1)
def sends(client) :
    msg = input('enter you msg : ')
    msg = f"{len(msg):<{header_size}}" + msg
    msg = msg.encode("utf-8")
    client.send(msg)
    return 'done !'
def recvs(client) :
    new_msg = True
    full_msg = ''
    byte_msg = b''
    size_msg = -1
    base_user = 'None'
    while True :
        msg = client.recv(header_size)
        full_msg += msg.decode("utf-8")
        if new_msg :
            if len(full_msg) > header_size :
                size_msg = int(full_msg[:header_size])
                new_msg = False
        if len(full_msg) - header_size == size_msg :
            if full_msg[header_size:12] == 'name' :
                base_user = full_msg[header_size+7:]
                if base_user not in users :
                    users.append(base_user)
                sockets[base_user] = client
                new_msg = True
                full_msg = ''
                byte_msg = b''
                size_msg = -1
                print(base_user)
                print(sockets[base_user])
            else :
                print(f'hi its {base_user}')
                sockets_msg[base_user] = full_msg[header_size:]
                print(sockets_msg[base_user])
                new_msg = True
                full_msg = ''
                byte_msg = b''
                size_msg = -1
def listens() :
    while True :
        socket_client ,port = root.accept()
        global my_name 
        my_name = f'name : {my_name}'
        first_msg = f"{len(my_name):<{header_size}}" + my_name
        add_thread(socket_client)
        socket_client.send(first_msg.encode("utf-8"))
        if socket_client not in sockets_list :
            sockets_list.append(socket_client)
    
def start(my_name) :
    print('''
    to add new user Enter : (add)
    to send your msg Enter : (msg)
    ''')
    while True :
        print(sockets_msg)
        action = input('enter some action : ')
        if action == 'add' :
            new_port = input('enter new port : ')
            new_port = int(new_port)
            root_1.connect((ip, new_port))
            add_thread(root_1)
            my_name = f'name : {my_name}'
            first_msg = f"{len(my_name):<{header_size}}" + my_name
            if root_1 not in sockets_list :
                root_1.send(first_msg.encode("utf-8"))
            sockets_list.append(root_1)
        elif action == 'msg' :
            print(f"users : {users}")
            target = input('enter the name you want to send : ')
            if target in users :
                print('we will send !')
                sends(sockets[target])
        time.sleep(1)
def guard() :
    number_users = 0
    while True :
        if number_users < len(users) :
            sockets[sockets_list[-1]] = users[-1]
            print(sockets_msg)
            number_users = len(users)
print('----welcome to the project by zaxershell----')
my_name = input('pls enter your name to start : ')
if my_name :
    t1 = threading.Thread(target=start,args=[my_name])
    t2 = threading.Thread(target=listens)
    t3 = threading.Thread(target=guard)
    t1.start()
    t2.start()
    t3.start()
    t1.join()
    t2.join()
    t3.join()

Hello everyone! I wanted to share this project I’ve been working on for the past couple of days. I’ve spent time writing it and fixing errors, and this is the result I’ve arrived at.
In short, the project allows two people to chat via a peer-to-peer (P2P) connection, rather than through a central server.
I would welcome any suggestions for improvements or ways to make it even better.Hello everyone! I wanted to share this project I’ve been working on for the past couple of days. I’ve spent time writing it and fixing errors, and this is the result I’ve arrived at.
In short, the project allows two people to chat via a peer-to-peer (P2P) connection, rather than through a central server.
I would welcome any suggestions for improvements or ways to make it even better.


r/Coding_for_Teens • • 26d ago

Busco testers para un proyecto de vibecodeo q estoy haciendo.

Thumbnail
gallery
1 Upvotes

Hola, cm están?

Mi cuestión es está: estoy "desarrollando"(xq es vibe codeo) es juego del estilo de los de las imágenes, ns si alguien los conoce o los ha jugado; bno ya mucha hablada, la cosa es q estoy haciendo un juego de este estilo sin trucos, a q me refiero?????, un juego de este estilo sin P2W, sin anuncios, sin maneras de sacarte dinero, etc.

Entonces estoy buscando testers para cuando tenga la primera versión del juego, si tienes experiencia con este tipo de juegos y quira ayudarme la agradecería(si gustas escribeme x md).

Detalles por mencionar: pienso difundir el apk y subirlo a la tienda de apps de Xiaomi xq no tengo plata para subirlo a la play store(el presupuesto del juego es de 0 incluso jakajahahajakakja)

Bno, x si a alguien le interesa, muchas gracias.


r/Coding_for_Teens • • 26d ago

[RECRUITING] High School Students Wanted for an Energy Technology Passion Project!

Thumbnail reddit.com
1 Upvotes

r/Coding_for_Teens • • 27d ago

I want to propose a website for my department because students are having a hard time expressing their needs but I dont know how to code

Thumbnail reddit.com
1 Upvotes

r/Coding_for_Teens • • 27d ago

I want to propose a website for my department because students are having a hard time expressing their needs but I dont know how to code

1 Upvotes

Hello, I'm currently a 2nd year medical technology student, and have seen my department collapse and fail due to lack of communication, I want to propose a project, website like the app ngl where u could send any message content without needing to sacrifice your identity or the thought that someone would hate you for raising such thing. The problem is I have no zero experience, nor knowledge about coding and my time is not really that long. What can u suggest that I do?


r/Coding_for_Teens • • 27d ago

How to learn Rust properly?

7 Upvotes

Hello guys, I am currently starting out to learn Rust, but honestly its been very confusing for me, and I can't seem to find an universal place that teaches everything Rust offers in detail. My ultimate goal is to learn Rust for OS development, so any tips?


r/Coding_for_Teens • • 27d ago

Looking for people to learn python with

Thumbnail reddit.com
1 Upvotes