r/eli5_programming • u/efrasyab • Dec 07 '20
r/eli5_programming • u/YurySolovyov • Dec 02 '20
Program execution on big.LITTLE CPU (e.g. SD 888)
Recently Qualcomm released a new Snapdragon 888 CPU which consists of 3 clusters of different core types:
- 1 X1 core
- 3 A78 cores
- 4 A55 cores
Wikipedia says that all 3 core types support 3 versions of ARM8 instruction set.
I'm curious how does such CPU execute programs that use instructions only supported by X1 core?
Like, if I have a program that spawns threads, some threads will be scheduled on big core, and some will be scheduled on smaller ones, but how does CPU know that e.g. A55 cores just can't execute some advanced instructions for X1 ? Or you just have to use the lowest common instruction set?
r/eli5_programming • u/the_slap_bucket • Nov 22 '20
What is an environment etc in python
I know a bit about python (ish) but something that's always confused me are environments. I don't really understand what they "do" and why they're needed. For example, I use pycharm to code but don't understand why I make a new venv every new project, what it's actually doing. Why when I use pip install on the terminal on my mac it doesn't install the package to the environment my codes editing (I think I switched the Mac terminal's environment to anaconda or something). Why can I change the project's environment and also, separately, the interpreter's? Just don't have an intuitive understanding. Sorry for the long post. Thanks
r/eli5_programming • u/JackNotInTheBox • Nov 04 '20
I’m a python noob and would like to know about what is a library and what does it do.
For example I want to make games with Python, and people recommend me to use PyGame, which is a library, but what exactly does a library do?
r/eli5_programming • u/Syndorei • Sep 25 '20
Why do so many internationally renowned softwares have basic functionality deficits?
Microsoft Word has a notorious memory leak on Mac that never gets addressed, year after year.
Microsoft Excel will freeze up 100% of the time when you use a basic bubble graph with .csv as inputs, whereas Google Sheets can handle the exact same setup effortlessy.
Android Auto has multiple complaints with thousands of upvotes and responses about how the tech just straight up doesn't work with certain phones, even on model 2020 cars and above.
Reddit allows pasting images into the reply boxes but if you do, posting the reply never works.
These are all essential functions that affect thousands of people in negative ways, often times after people paid good money for the opportunity to use the feature (sans Reddit).
Why don't these key features ever get fixed?
r/eli5_programming • u/plichi • Sep 24 '20
Docker, snaps and kubernetes, can i have a better explanation?
Hi guys, days ago i asked the differences between linux snaps and docker. Here an extract of the answer:
(Eli5) snap is software that runs on Linux —Docker runs Linux.
Docker containers “contain” an entire virtual computer.
When you create a docker container, you specify the OS you want (Ubuntu, RedHat, Windows, etc), then you install software on it (I.e. snap).
Are you sure that docker runs a virtual machine? I mean: yes probably it could, but to run i program i didn't set up any os, and nothing asked me to do it. Now my experience clashes with the theory so i'm here asking again about the differences between snaps and docker... And kubernetes, that as far as i know it's a way to make containers too.
Thanks guys. I'll later try to format text and add user link with my pc.
r/eli5_programming • u/HollowHiki • Sep 21 '20
Confusion about Neural Networks
Over this week, I've been traveling from video to video, source to source, trying to get an understanding on it. Copying code, tweaking, writing my own versions -- nothing. And even if I get an output, I don't know if it's even expected output.
I get what things do, but what I don't get, is back propagation. In many videos, I've seen the weights being calculated, BUT they are only the weights for hidden → output, or so I've understood. As far as I'm concerned, the input → hidden weights are still untouched. I feel like I could be heavily mistaken here.
Another point is this. Even if you create multiple layers, there's no real output layer and that's confusing the hell out of me. Is the layer2 in that case the output layer?
Also, I should note down here, that I'd like these to stay with as less library imports as possible (no tensorflow, keras etc), as the key is the learn the core mechanics to reconstruct in varying languages.
r/eli5_programming • u/SoccerBeerRepeat • Sep 17 '20
ELI5_Programming - What is an API?
Hello,
I can't seem to wrap my mind around what API's are and how they work. Most of my google searches just haven't helped the concept 'click' to me yet. Thanks in advance!
r/eli5_programming • u/Niu_Davinci • Sep 13 '20
What are all the cyber implications of 5G that you know of?
r/eli5_programming • u/snuffy246 • Sep 11 '20
What is XML?
Genuinely don’t understand what XML is, is it outdated?
r/eli5_programming • u/sv6911 • Sep 11 '20
Websites and Proxy
Why some websites don’t work well with Proxies ?
r/eli5_programming • u/optionPleb • Sep 01 '20
How do crypto kitties work with Ethereum?
Can someone explain how crypto kitties uses the Ethereum token or Blockchain?
r/eli5_programming • u/james1234843189 • Aug 14 '20
I don't understand HTML, css and JavaScript. How do they work together?
The way I understand this is that HTML is the skeleton which gives the general shape and structure, css is the skin which gives the detailed look and JavaScript is the muscle along with the brain which controls everything and makes stuff work. Is this the general idea or am I completely wrong?
r/eli5_programming • u/GreatBigJim • Aug 07 '20
How does a password cracker not get denied from a website?
From what I understand, a password cracker is just a dictionary that runs through potential passwords. However, wouldn't after like say 3 attempts the website deny access? I thought most websites had a system like that in place, so if someone could help me out I would appreciate it. Thanks in advance!
r/eli5_programming • u/TheRealImhotep96 • Aug 03 '20
ELI5: What exactly is the origin of the purple check "missing texture"?
Is it a common placeholder, or just what happens when no texture is assigned? If so, what part of the program comes up with the texture?
r/eli5_programming • u/noobrock123 • Jul 16 '20
ELI5: What is function call overhead and how much it will impact our code?
I recently learnt C++ course in Udemy about the use of inline function. Frank, the teacher of this course mentioned the function call overhead, and I have no idea what that is. I visited geeksforgeeks website, and I only understand a few of them. And English is not my native language, so I might have a hard time trying to make sense of it. Can you guys explain what function call overhead is, and how much it will impact our code if we use multiple of smaller functions? Thanks!
r/eli5_programming • u/gohanshouldgetUI • Jul 13 '20
Question Why are the documentations for any language so unfriendly for beginners?
When I was just getting started with python, the course I was taking recommended that we just go hang out in the docs to learn more/interesting stuff. But when I saw the docs, I couldn't understand any of it. I couldn't even properly understand docs for stuff that I already knew. Why is it that they write the documentation in such convolved language? Why can't they write docs for a module as people write articles/tutorials for that certain module?
r/eli5_programming • u/gohanshouldgetUI • Jul 13 '20
Question What is "foo"?
I see it often in tutorials and explanations and even the docs for python, but I was never taught what it actually means? Is it just a placeholder for a name? Is it something else?
r/eli5_programming • u/plichi • Jul 09 '20
Question What is docker?
I know that it keeps applications self contained, but this is exactly what snap and all other Linux/windows managing rules do. Even java already does it, so what's the meaning of making another box-maker? (a box-er...?... Bad joke i know)
r/eli5_programming • u/plichi • Jul 09 '20
Explanation What's visual studio and how it differ from vscode
Studio seems to be more professional but it's really tougher to learn how to use it. If it's just a more powerful version of vscode why keep vscode available?
r/eli5_programming • u/Cameltotem • Jul 03 '20
Domain model and data model separation
I see this a lot and I just fail to grasp the meaning of it in simpler models.
If I have a simple model with say 5 properties.I plan to use all my properties on front end. Why do I need a mapping? I understand in bigger use cases when you don't want all properties to the front end and just serve a few. But when both of my models are identical? What purpose does it serve?
r/eli5_programming • u/Nihtrepaps • Jun 30 '20
Question VPN
What is VPN and how does it work. Why is it good to use, and when to use?
r/eli5_programming • u/Yeahhh_bitch • Jun 20 '20
Question What is machine independent code?
Does it mean that any compiler can understand it?
r/eli5_programming • u/Iago_Aasimarae • Jun 15 '20
Question ELI5 If every software is written in code, why is it so hard to read the code from an executable?
A good friend of mine said that you would need to be very very good in machine language and even then it would be hard to read an .exe file. Then we got distracted in other questions and conversations...
I thought it would be a good question to see an ELI5 explanation :)
Is it a problem of encryption? Why it's so hard to read the code from an exe file?
Thanks in advance :D