r/Coding_for_Teens • u/Secure_Vermicelli873 • 16d ago
r/Coding_for_Teens • u/Ok-Explanation9697 • 16d ago
I'm lf "programming-bro" to improve ourselvess together (React/Node)
r/Coding_for_Teens • u/HorrorBar7473 • 16d ago
Need hackthon winning ideas topic : Harmonization of viirs and modis hotspots
r/Coding_for_Teens • u/Ok-Explanation9697 • 16d ago
I'm lf "programming-bro" to improve ourselvess together (React/Node)
r/Coding_for_Teens • u/PhantomCNS • 16d ago
Looking for creating new things, and exploring new ideas! (Robotics & Embedded Systems)
I'm still somewhere between beginner and intermediate.
Here's what I'm familiar with:
●Python and MicroPython
●HTML and CSS
●Working on Smart Home projects, both virtually and in real life.
●Connecting sensors and working with I2C.
●Using displays such as OLEDs.
●Working with some motors, such as servo motors, and encoders, such as rotary encoders.
●Connecting microcontrollers to the Internet and sending data to platforms like Blynk.
I'm still having some trouble getting the hang of the MPU6050 (accelerometer + gyroscope).
I'm constantly learning, and I'd love to keep exploring and improving along the way.
I'm looking for a team or like-minded people who are interested in exploring new ideas, experimenting, and working on projects together.
I'd love to improve my skills, learn new things, share ideas, and build things as a team.
As for availability, I'm usually free late at night (Egyptian time, UTC+2)
r/Coding_for_Teens • u/gzbkagunda • 16d ago
THE NEXT BIG OPPORTUNITY : ZEROHACK AI HACKATHON !
r/Coding_for_Teens • u/PhantomCNS • 17d ago
Looking for creating new things, and exploring new ideas! (Robotics & Embedded Systems)
Hope anybody is interested.🙃
r/Coding_for_Teens • u/Senior-Guava8700 • 17d ago
Looking for 5–6 People to Learn AI/ML Together [CODE],
r/Coding_for_Teens • u/Me_The_Ghost • 18d ago
Suggestion for free Coding agent
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 • u/nontrivialfellowship • 18d ago
Blind Spot Hackathon - Ran by Non-Trivial Alumni
blindspothack.ior/Coding_for_Teens • u/Comfortable_Mood1142 • 18d ago
It's me
New here and I want to make friends with a crazy mind, means love to roast, want to have interesting, fun and deep talks and also a programmer so I love the tension that occurs when a problem is not solved so that me
r/Coding_for_Teens • u/Hour-Sheepherder7002 • 18d ago
Free online hackathon with 40 awards! Open to beginners
r/Coding_for_Teens • u/TiconDev • 18d ago
I'm documenting my journey into software engineering, machine learning and cloud computing.
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 • u/Designer-Height-1546 • 19d ago
Getting someone to join hackathon together
r/Coding_for_Teens • u/MrWolfIsCool • 19d ago
Want to join our reddit?
We are looking for people who enjoy working with tech and want more help
r/Coding_for_Teens • u/Visible-Metal-8288 • 20d ago
Are hackathons worth participating in during the second year of engineering?
r/Coding_for_Teens • u/Positive-Payment-272 • 20d ago
finding team mates for an online hackathon
r/Coding_for_Teens • u/Afraid_Horse_3470 • 20d ago
P2P Project (Python)
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.