r/eli5_programming • u/drLoveF • Aug 24 '21
r/eli5_programming • u/bagoparticles • Aug 22 '21
How does the camera feature in the paint by number app work
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 • u/ParsleyLion • Aug 13 '21
ELI5: the difference between 'client server' and 'mvc', thank you!
r/eli5_programming • u/_leonardsKite • Aug 12 '21
Understanding a web-stack
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 • u/Lucy_Potter • Aug 08 '21
The difference between microcontroller centric conductor and embedded system
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 • u/abdul99ahad • Jul 26 '21
I don't know if C# concepts like events, delegates are difficult or I'm dumb
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 • u/chicken-biryani • Jul 22 '21
What is state and State management?
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 • u/GarbageEnthusiast • Jul 14 '21
Why are typical memory chips based on powers of 2?
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?
Why is it called BIG ENDian when the sequence of bits ENDs with the most LITTLE bit?
r/eli5_programming • • Jun 17 '21
Question What is Fully Homomorphic Encryption (FHE)?
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 • u/IlliterateAdult • Jun 13 '21
ELI5 ‘if’ vs ‘while’ loops
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 • u/alirezafazeli • Jun 09 '21
What's that exactly scoping, lexical scope, scope, scope a variable, I'm so very confused.
r/eli5_programming • u/Icehallvik • May 17 '21
Just starting JavaScript
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?
r/eli5_programming • u/tomatoketchupandbeer • 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?
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 • u/Darkrai767 • Apr 12 '21
Can some explain lambda notation in python and how it works
I’m learning python and I discovered this thing called lambda notation and I’m just totally confused
r/eli5_programming • u/mangoooooos • Apr 02 '21
Eli5 slow websites
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
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 • u/Neemulus • Mar 08 '21
Why do Python courses never explain how to architect your code?
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
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 • u/mkffl1 • Jan 23 '21
What are closures and why do we care (computer science)
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.
r/eli5_programming • u/Stabby-Pencil • Jan 14 '21
How do I convert an SVG file into G-code file, for the purposes of using a CNC plasma table?
I’m using InkScape for my design work, and I am saving it to an SVG file so that I might cut it out using a CNC plasma table. I’ve done design work for most of my life, but have never had to use a post-processor for CNC work, and I feel kind of lost.
I have Fusion360 and FreeCAD. Help with either would be great. And yeah, if you can give me steps like I’m 5, that would be great.
r/eli5_programming • u/modchris • Jan 02 '21
How does logging into third party apps (examples in comments) that use the actual company / website they provide extra services etc for log in details work technically, and how do you know they’re not just stealing your data?
Ok find this really difficult to explain what I mean and understand! But how do third party apps / websites incorporate log ins for the actual site / company etc.
(for example an instagram reposting service where you log into your actual Instagram account but on their app, or tweaked apps like Snapchat++, Apple device software like iMazing where you log into iCloud through them - there are so many examples)
Like exactly does this work technically, use of apis? how do they extract the data, how do they have permissions, and how do you do know your data is safe.
Can companies prevent third parties doing this? Like for example Snapchat can detect if you use third party apps like Phantom and close your account, but can how come they can prevent people logging in on 3rd party apps