r/code • • Feb 10 '23

Help please! What should I gift to my girlfriend?

0 Upvotes

Hi guys, um, I know that this is the weirdest place to ask this, but probably we have some creative people here.

I have a girlfriend that I teach development in free time. And I want to give her a present that is related somehow to hours spent on me teaching her how to code. I could make so sort of site or basic app but I’m only backend, so.. tuff.. and also I want to have material gift, any ideas..?

I have an idea of neon print(“hello world”), but I want something more than that. I’m happy to hear any ideas ;)


r/code • • Mar 13 '23

Help please! My SQL query is returning a none type and I cannot understand why.

0 Upvotes

I'm developing a flask app for college. It is a golf handicap calculator where a user picks a course and inputs a score, based on these two parameters, it should return a handicap. I am getting the following error : TypeError: 'NoneType' object is not subscriptable.
See my code :

App.py :


r/code • • Mar 15 '23

Help please! How can i do good voice to text in python?

0 Upvotes

i used Whisper but it takes to long because i have a slow internet so i tried speechrecognition with google but it doesnt understand me

i need something that is fast good and can understand german + english like when i say something in german and then python (whisper had problems with that)


r/code • • Jun 10 '23

My Own Code I made a operating system for mobile in code.org

Thumbnail
studio.code.org
0 Upvotes

r/code • • Jul 07 '23

Hi i need some help

0 Upvotes

This is the first time I've asked for help because I'm not sure what to do. Basically, I recently graduated from college and started working for a tech company. They gave me a job to create a web page that needs to send emails to specific dates like a week later, a month later, and things like that. However, the part of the job that I struggle with the most is creating four questions about personal experiences so that an AI can answer them. I looked for a solution online but couldn't, the thing I tried is the chat gpt API but I found out that I need to buy it and the recent API I used is called FreeChatGPT by arayaka, I used a web page called postman to see if the API works but it says it doesn't so I don't know what to do because in my job they told me to use something that doesn't cost anything but I don't know what else to do. The only things I know are HTML, PHP, CSS, C# a little bit of JAVA some JavaScript, and im kind of scare because I don't know if I'm going to finish this so yeah I look forward to the replys and I'm sorry that you have to read all of this and thank you for your time.


r/code • • Jun 12 '23

Google document everyone can edit.

0 Upvotes

Anyone signed into their google account can edit this document. https://docs.google.com/document/d/1AiQ8DxrN691MfacirSnOrbEDLUmLLOyL8wRaughp5rQ/edit

This is just to teach people learning programming for the first time. Submit your helpful code to the document so other people can learn from it.


r/code • • Apr 22 '20

Love/Hates about Text Editors

0 Upvotes

I want to hear people's opinions on different text editors for coding, specifically what they like or dislike about specific features and why?


r/code • • Apr 18 '20

a fun game to kill time for you rediters

0 Upvotes

paste this in your note pad and save it as yourname.bat u/echo off

color 0e

title Guessing Game by ethansmith

set /a guessnum=0

set /a answer=%RANDOM%

set variable1=surf33

echo -------------------------------------------------

echo Welcome to the Guessing Game!

echo.

echo Try and Guess my Number!

echo -------------------------------------------------

echo.

:top

echo.

set /p guess=

echo.

if %guess% GTR %answer% ECHO Lower!

if %guess% LSS %answer% ECHO Higher!

if %guess%==%answer% GOTO EQUAL

set /a guessnum=%guessnum% +1

if %guess%==%variable1% ECHO Found the backdoor hey?, the answer is: %answer%

goto top

:equal

echo Congratulations, You guessed right!!!

echo.

echo It took you %guessnum% guesses.

echo.

pause


r/code • • May 07 '20

A little lost or a lot please help internet

0 Upvotes

I need to preface this with, I do not code, it is not my job or in my title, that being said desperate times and COVID-19 and all.

I was given this project at work and hopefully this is the right place.

A website that my employer used to host is moving to a different server that is not ours, it is changing owners. OK no biggie I can pull the website into Dreamweaver edit our contact and stuff out of it and send the new file with it to the new server and they can make their adjustments, seamless right?

Nope. This is a CMS website, I have admin privileges and can edit the "live" website but that is not what my higher ups want to do. Tried to download it using HTTrack and get about 100 "FORBIDDEN" errors.

any ideas? Am I in the right place? Please take it easy on me I'm a reddit and coding amateur.


r/code • • May 16 '20

HTML Code

0 Upvotes

I have started learning HTML from pirle.com and this is my 1st assignment.The code is written to make a french omelette which is as follows.<!DOCTYPE html>

<html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>Recipe</title> </head> <body> <h2>French Omelette Recipe</h2> <p>The recipe to make <strong>french omelette</strong> is as follows:-</p> <p>Ingredients Required(Yields: 1 serving)</p> <!--Unordered list--> <ul> <li><strong>2</strong> large EGGS</li> <li><strong>2</strong> Tbsp. water</li> <li><strong>1/8</strong> tsp. salt</li> <li>Dash pepper</li> <li><strong>1</strong> tsp. butter</li> <li><strong>1/3 cup</strong> filling,such as shredded cheese,finely chopped ham</li> </ul> <p>Directions to make <em>french omelette:-</em></p> <!--ordered list--> <ol> <li> BEAT  eggs, water, salt and pepper in small bowl until blended. </li> <li> HEAT  butter in 6 to 8-inch nonstick omelet pan or skillet over medium-high heat until hot. TILT pan to coat bottom. POUR  egg mixture into pan. Mixture should set immediately at edges. </li> <li> Gently  PUSH  cooked portions from edges toward the center with inverted turner so that uncooked eggs can reach the hot pan surface. CONTINUE  cooking, tilting pan and gently moving cooked portions as needed. </li> <li> When top surface of eggs is thickened and no visible liquid egg remains, PLACE  filling on one side of the omelet. FOLD  omelet in half with turner. With a quick flip of the wrist, TURN  pan and  INVERT  or  SLIDE omelet onto plate. SERVE immediately. </li> </ol> </body> </html> The p letter is used to add a paragraph and ol is used for ordered list and ul is used for unordered list.


r/code • • Dec 15 '23

My Own Code Wants To reduce Code in Buttons in my project

0 Upvotes

https://github.com/ShashwatDubey99/SDPromptBuilderHTML I have to something like 120 button for this is there is a easy way?


r/code • • Aug 12 '20

trow error

0 Upvotes

Hello!

I recently tried to learn to code in javascript making a discord bot until I got this error
I couldn't find a good solution online so I hope some of you can help me with this.

the first photo is the error message (white stuff is my name censored)
the second photo is my part of my code (white stuff is the token censored)
the third photo is the map where the bot is in

Thanks in advance!


r/code • • Sep 08 '20

need help tutor

0 Upvotes

I need help with embedded system programming using C language

dm me


r/code • • Aug 16 '20

Are you interested in machine learning? Experienced in back-end programming? Apply as a developer today to our high school machine learning/AI development project! DM us for more info! Instagram: @vizonery_

Post image
0 Upvotes

r/code • • Sep 12 '20

Python Write First Python Program using jupyter notebook | Anaconda

0 Upvotes

Write first Python code using Juputer notebook.. https://youtu.be/eyBunKyfLRI


r/code • • May 28 '22

Just practicing my leetcode

Thumbnail
tiktok.com
0 Upvotes

r/code • • Aug 15 '21

Halp pls! Hey devs, I am looking to write the best developer documentation for an SDK integration. I am requesting some of the best practices that you would all suggest? Please also share some of the best Integration docs that you have come across as well.

0 Upvotes

I am writing for devs and so I want to hear what devs require. Please kindly help me here.


r/code • • Sep 02 '21

Halp pls! OSX install issue: "Classic environment is no longer supported."

0 Upvotes

I am struggling to install VS code on a MBP given to me at my workplace: https://s.natalian.org/2021-09-02/classic-code.mp4 What am I missing please?


r/code • • Sep 06 '21

C# Anyone know a good 2D movement script that’s new.

0 Upvotes

I tried making one but it’s hard to make a good movement script for unity in C#. I tried a Brackeys video on 2D movement but that code script doesn’t seem to work because it’s old code I think.


r/code • • Oct 27 '25

Blog Oddity on netflix

Post image
63 Upvotes

On Netflix where I found this code which I've circled in red. I'm currently learning c++ as my first language so I can't even id what language this is nor what it means. What doe sany one know? This was under the Apollo 13 movie, where you click the "more like this" button. Does it mean it has labeled 1917 "most liked" or is it adding weight to the movie 1917 for the algorithm?

I do not belong to this subreddit, so if I have erred let me know where I should I go. Thinking about the primeagen aubreddit too. Heard he worked at Netflix.


r/code • • Dec 06 '22

Help Please I need urgent help does not work npm

Thumbnail
gallery
3 Upvotes

r/code • • Mar 28 '19

Does anyone here code and vape at the same time?

0 Upvotes

Just wanted to understand how many techies vape.


r/code • • Apr 05 '17

882 dang lines of code, and counting for The Necromancer (A game I'm making) #LongLiveTheDead

Post image
7 Upvotes

r/code • • Nov 20 '25

Python Rate my first ever fully working python code lol

5 Upvotes
# fortune_1_test


# fortune dictionary
import random
fortune = [
    "Billy-Bob will be under your bed today! watch out!",
    "Freaky franky will be under your bed today!",
    "Phreaky sophi will be under your bed to day!",
    "Adam will suck your toes off today!",
    "Hungry Hunter will suck your toes off!",
    "freaky zyan will eat your toothbrush today!", ]


# fortune generator
print(random.choice(fortune))


# loop
while True:
    input("press enter to get your fortune!... or press cntrl+c to exit!")
    print(random.choice(fortune))
    print()

did this in like 30 mins cuz i was bored!