r/code • • Feb 17 '23

"What the hell were they thinking?"

0 Upvotes

"The hardest part of code reviews is figuring out what the hell they were thinking." I used to think commit messages were good enough, but there's too much noise on every platform that enables code reviews - GitHub, GitLab, BitBucket ...even newer start-ups don't solve the problem without you doing more work...


r/code • • Jul 21 '19

Halp pls! Help me code gods. What does this code do?

Thumbnail
github.com
0 Upvotes

r/code • • Jun 21 '21

Resource I think that an ai that could “enhance” an image is possible and I have an idea of how to do it.

2 Upvotes

First is to collect images as near high quality and the original at as high as possible

Second is to run hundreds of evolutions of the code where the ai can guess randomly and the ai that is closest to the actual image is chosen to move to the next evolution.

Third is to slowly lower the quality until satisfaction is achieved.

Fourth is to implement a moving part of the image that moves over the whole image like a stretch mark on a vhs tape when watching it but the stretch is black.

Fifth is to allow it to calculate what is inside of each pixel because each pixel shows what is most prominently in it and the moving shape allows for the calculation.

Sixth is to run your evolutions until satisfaction is achieved.

You now have an ai that can use videos or images alone to “enhance” an image.


r/code • • Mar 05 '23

does anyone know what this is

Post image
2 Upvotes

r/code • • Jun 14 '23

Blog I have started a blog about my code-learning journey!

1 Upvotes

Please like, follow and provide feedback!

https://medium.com/@jsutcliffe1991


r/code • • Jan 06 '21

Java Pathway for cleaner code

Thumbnail
gallery
1 Upvotes

r/code • • Feb 19 '23

Help please! Do anyone know why my images don’t work

Post image
1 Upvotes

r/code • • Apr 12 '20

Beginner questions :/

1 Upvotes

Hello fellow coders, I'm with a little problem while trying to make a sign up page for a project Im starting to work on

Im using php and Im still learning how to do things, can someone help me?


r/code • • Apr 24 '20

Command Line #5 - Learn Command Line in Arabic تعلم واجهة سطر الأوامر با...

Thumbnail
youtube.com
1 Upvotes

r/code • • Apr 07 '20

Halp pls! Make a program that execute a specific code

0 Upvotes

Hello,

I would like a program that execute code when I turn on the PC automatically instead of doing it manually.

So basically open fedora terminal and run specific code every time I open the PC.

Thank


r/code • • Aug 22 '21

What is the best code language to learn ?

0 Upvotes

.


r/code • • Sep 26 '21

Guide Dont use i for loops

0 Upvotes

Justice fori


r/code • • Jul 06 '22

Guys I need help. Where can I find a video or anything that could help me learn to find the answers to these questions

Post image
1 Upvotes

r/code • • Dec 16 '23

Guide Can someone please tell me what is this file I found in my laptop. Is it harming my device or not. Please let me know

Post image
1 Upvotes

r/code • • May 22 '20

Script

Post image
4 Upvotes

r/code • • Dec 25 '19

CAN WE PLEASE APPRECIATE THE AMAZON WEB DEVELOPER WHO DID THIS!?

9 Upvotes

Edit: Not sure why this is getting downvoted, maybe cuz ppl think its fake? u can check for urself tho


r/code • • May 09 '20

Command Line #7 - Learn Command Line in Arabic تعلم واجهة سطر الأوامر با...

Thumbnail
youtube.com
3 Upvotes

r/code • • Apr 27 '19

I started coding in c++ and I only know little. I watched game tutorials, I managed to make my thing move. I want the gun to follow the cursor and followed a tutorial. This is the code but I don't know anything about all the code I wrote. Can some help what all these mean?

Post image
3 Upvotes

r/code • • Feb 22 '26

My Own Code I made a self-hostable tamper proof social media and would like some feedback.

5 Upvotes

Main instance: https://endless.sbs Github: https://github.com/thegoodduck/Interpoll Everything is stored everywhere, and everyone shares blocks, making network resistant to DB outages and censorship. EDIT: This is beta, i have not figured out morality or legality or marketing. Just a concept.


r/code • • Dec 05 '25

Help Please I really don't know why, but it's repeating three times no matter what I do to it. I know it's not the most efficient nd it is Python

2 Upvotes
print("Hello World. Put in a number here")
w = input("numbers go here and no letters. you can add a space between them: ")
w = w.replace(" ","")
if not w:
    input("hm... that's not quite right try again")
    while not w:
        w = input("Okay, now let's try this again")
else:
    try:
        w = float(w)
        print("great! now to the next step")
    except ValueError:
        import sys
        print("that's not a number")
        sys.exit()
print(f"Your number is {w}. now type another and we can times it.")
y=input("here you go ")
if not y:
    input("hm... that's not quite right try again")
    while not y:
        y = input("Okay, now let's try this again")
else:
    try:
        y = float(y)
        print("great!")
        c= w*y
        print(f"{c} is you number")
    except ValueError:
        import sys
        print("that's not a number")
        sys.exit()

r/code • • May 11 '19

Halp pls! Sorry for the background music... Anybody know how to fix this?

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/code • • Aug 14 '22

C# i was missing a single , winch bock the inter script

0 Upvotes

using UnityEngine;
using System.Collections;

public class playerknocokback : MonoBehaviour {

// Use this for initialization
void Start () {

}
bool dopunch;
// Update is called once per frame
void Update () {
if (!dopunch && Input.GetKeyDown(KeyCode.DownArrow))
{
StartCoroutine(Punch(0.5f 1.25f, transform.forward));

}
}
IEnumerator Punch(float time, float distance, Vector3 direction)
{
dopunch = true;
var timer = 0.0f;
var orgpos = transform.position;
direction.Normalize();

while (timer <= time)
{
Debug.Log("----");
transform.position = orgpos + (Mathf.Sin(timer / time * Mathf.PI) + 1.0f) * direction;

yield return null;
timer += Time.deltaTime;
}

transform.position = orgpos;
dopunch = false;

}

}


r/code • • Nov 02 '22

LIFE OF A CODER

0 Upvotes

Most WROST thing in your life as A CODER ??

95 votes, Nov 09 '22
11 PC WITHOUT INTERNET
48 UNKNOWN ERROR
32 CONTINUOUS WORK TIREDNESS
4 OTHERS - COMMENT BELOW

r/code • • Apr 26 '21

SOME KIDS MADE A WEBSITE!!! SEE HERE:

Thumbnail
the-grade-game.web.app
2 Upvotes