r/eli5_programming • • Sep 04 '21

Explain to my partner like he’s 5 how VPN works

2 Upvotes

My brother and I have a bet against my partner about how VPNs works. My partner was a “gifted child” with a very high IQ so he is a know it all to the next level. Can someone please explain what an IP is, an ISP and how a VPN works. In words he can’t argue with. I’m so annoyed. He keeps bringing up TOR….. changing a VPN of the modem… and other annoying shit. Please help me seem smarter than I am about this stuff. I need help.


r/eli5_programming • • Aug 28 '21

Eli5 how a laptop that is disconnected from the network still is able to prompt me to/update windows.

2 Upvotes

I have a laptop that stays disconnected from the network almost exclusively yet it always seems to know when it's time to update Windows. And without even connecting it to the network I'm still able to update. I noticed this more than once since having a laptop and then curious how the laptop manages to update without ever having been connected since the update was released.


r/eli5_programming • • Aug 24 '21

ELI5, why doesn't hashed passwords get stored with a time stamp of last attempt and number of failed attempts. Then each failed attempt you increase the waiting period, up to a limit, to limit guesses/time.

0 Upvotes

r/eli5_programming • • Aug 22 '21

How does the camera feature in the paint by number app work

1 Upvotes

My kids have a game on my phone where they can take a photo, and it is converted into a paint-by-number game, with colors mapped to different numbers within the photo that was taken.

How does this work. Seems easy to ignore and just enjoy, but when you step back, it seems quite impressive.


r/eli5_programming • • Aug 13 '21

ELI5: the difference between 'client server' and 'mvc', thank you!

5 Upvotes

r/eli5_programming • • Aug 12 '21

Understanding a web-stack

3 Upvotes

Hey y'all,

So, I'm building a new personal website and it's going pretty well. I used Jekyll and Github Pages to get it online in less than an hour.

Moving forward, though, I'm curious about what I can do with it. For instance, I came across this which is a nice way to see what is possible. But I'm wondering, how does the 'stacking' work in practical terms? Like, if I have Jekyll and Github Pages, why do I need Bootstrap? Why do I need Netlify, and how can I implement security within Github Pages itself?


r/eli5_programming • • Aug 08 '21

The difference between microcontroller centric conductor and embedded system

2 Upvotes

I am currently a high school student and care about programming. Could anyone explain to me the difference between a microcontroller centric conductor and an embedded system with a specific example? Have a nice day <3


r/eli5_programming • • Jul 26 '21

I don't know if C# concepts like events, delegates are difficult or I'm dumb

5 Upvotes

I've watched and read multiple videos and articles still struggling to get concepts of events and delegates right. I just don't know the purpose of using these. Just tell me the difference that this is what you can do with events and this you can't do if events don't exists.


r/eli5_programming • • Jul 22 '21

What is state and State management?

1 Upvotes

Hey, So I have been told that I need to apply state management to a particular part of the project. But I am trying to understand what is state management and couldn't find an article that explained the theoretical part well. So can someone help me out?


r/eli5_programming • • Jul 14 '21

Why are typical memory chips based on powers of 2?

1 Upvotes

Ex. 2gb, 4gb, 8gb, 16gb, 32gb, 64gb, 128gb....

Why not have memory as a rounded number, such as 5gb, 10gb, 15gb... etc?


r/eli5_programming • • Jul 09 '21

Why is it called big and little endian?

5 Upvotes

Why is it called BIG ENDian when the sequence of bits ENDs with the most LITTLE bit?


r/eli5_programming • • Jun 27 '21

ELI5 programming to connect to an API.

4 Upvotes

r/eli5_programming • • Jun 17 '21

Question What is Fully Homomorphic Encryption (FHE)?

4 Upvotes

I recently stumbled upon this term, now that google has open sourced their toolkit. But I don’t get how it works. I understand symmetric and asymmetric encryption, but this is out of my mind.


r/eli5_programming • • Jun 13 '21

ELI5 ‘if’ vs ‘while’ loops

2 Upvotes

Can someone help me understand why this while loop runs indefinitely instead of breaking:

primeLoop: while numberOfGems < totalGems {
    for i in 1 ... totalGems {
        bigLoop()
        if numberOfGems == totalGems{
            break primeLoop
        }
    }
}

Whereas changing the while to if in line 1 causes the loop to terminate at the expected time? My understanding of while loops are that they run while the condition is true, and automatically end once the condition is false. Is there a general rule of thumb as to when I should use while or if?

Full code :

let totalGems = randomNumberOfGems
let first = Expert()
let second = Expert()
var numberOfGems = 0
world.place(first, facing: north, atColumn: 0, row: 4)
world.place(second, facing: north, atColumn: 3, row: 0)

func turnAround(item:Expert){
    item.turnLeft()
    item.turnLeft()
}

func stepOff(item:Expert){
    item.turnRight()
    item.moveForward()
    item.collectGem()
    turnAround(item: item)
    item.moveForward()
    item.turnRight()
    
}
func mainMove(item: Expert) {
    for i in 1 ... 6 {
        if item.isOnGem{
            item.collectGem()
            numberOfGems += 1
        }
        if !item.isBlockedRight{
            stepOff(item: item)
        }
        item.moveForward()
        
    }
}

func bigLoop() {
    first.turnLock(up: true, numberOfTimes: 1)
    mainMove(item: second)
    turnAround(item: second)
    mainMove(item: second)
    turnAround(item: second)
}
primeLoop: if numberOfGems < totalGems {
    for i in 1 ... totalGems {
        bigLoop()
        if numberOfGems == totalGems{
            break primeLoop
        }
    }
}

r/eli5_programming • • Jun 09 '21

What's that exactly scoping, lexical scope, scope, scope a variable, I'm so very confused.

3 Upvotes

r/eli5_programming • • May 17 '21

Just starting JavaScript

5 Upvotes

I’ve been studying coding for a couple of months and just started doing JavaScript. I’m not understanding the description of === at all. Can someone simplify it?


r/eli5_programming • • May 13 '21

Does the mass of Mario actually increase on the RAM when he eats a mushroom?

Post image
24 Upvotes

r/eli5_programming • • May 10 '21

Would it be possible to create a program that wipes all traces of data affiliated with you from the internet and all connected databases?

0 Upvotes

Ok so I'm not a programmer (I've done a few hours of a Python course and that's it) so I don't fully understand what's possible in terms of what can be created through coding/programming. I know this community is for programmers so I understand if nobody wants to take the time to explain the answer to me. I'll try to get to the point quickly.

I know that big tech companies and government agencies have the technological capabilities to 'scrape' the internet for all photos of you uploaded to social media, using facial recognition technology. I know that some companies have created search engines available only to law enforcement agencies (for now) that are able to scan the internet for all data on a particular person.

I was wondering if somebody or a group of people with the technical know-how could create a program that does the same thing and then wipes all of that data?

I know that even if such a program were created there is no way that big tech or any of the big internet companies would allow it to be distributed and make it near impossible to download, but I still am just wondering if a program like that could exist?


r/eli5_programming • • Apr 12 '21

Can some explain lambda notation in python and how it works

3 Upvotes

I’m learning python and I discovered this thing called lambda notation and I’m just totally confused


r/eli5_programming • • Apr 02 '21

Eli5 slow websites

6 Upvotes

Eli5 how can a simple website take seconds to load, but a video game can have 60 people play at the same time with milliseconds of lag?


r/eli5_programming • • Mar 10 '21

ELI5: Escape characters

3 Upvotes

I have to sleep. Can't follow this rabbit hole right now. I read something about escape characters used in form filling or passwords to breach as system but I cannot wrap my brain around it.


r/eli5_programming • • Mar 08 '21

Why do Python courses never explain how to architect your code?

14 Upvotes

I can do the syntax, I even understand OOP but I’ve never seen anyone explain how best to structure your code. I get MVC models etc. but as a relative beginner who can write working code, how do I figure out how best to structure modules and the scope of modules efficiently and in a reusable way. I’m having to make it up as I go along. 🥺


r/eli5_programming • • Jan 29 '21

Question Eli5 what is an open source software

2 Upvotes

I am new to programming and I always hear this. So.e people ven make a point to say that it is open source.


r/eli5_programming • • Jan 23 '21

What are closures and why do we care (computer science)

5 Upvotes

I am studying functional programming and I come across closures every now and then. I have read about the What on SO and other blogs but the explanations don’t make a lot of sense because I don’t understand Why they are important.