r/AskComputerScience • u/[deleted] • Aug 14 '19
Docker
What problem does docker (and containers) solve? And in which projects should it (or not) be used?
Maybe an Eli5 because I made a long research and didn't get an answer yet.
r/AskComputerScience • u/[deleted] • Aug 14 '19
What problem does docker (and containers) solve? And in which projects should it (or not) be used?
Maybe an Eli5 because I made a long research and didn't get an answer yet.
r/AskComputerScience • u/MrZer • Jul 01 '19
I've done some googling and port forwarding sounds a lot like stuff computers and routers already do, no? Mail, file transfer, and htt protocols access specific ports to do their jobs. I'm just confused on why you need to mess with this in your router/modem settings.
r/AskComputerScience • u/joe40001 • May 21 '19
It can't be a url or an address, that would be cheating. This data would actually have to be the content itself. I can't decide if a bitmap or a short series of words would qualify, and if so how few bytes could you really do it in?
This is supposed to be a fun question, feel free to go into as much or as little thought/detail as you want. It is also slightly philosophical in that in asks what in your estimation constitutes "pornographic".
r/AskComputerScience • u/di_um • Apr 04 '19
I found this very interesting answer (most voted) on stackoverflow with a comprehensive guide to go from beginner to expert in Haskell and I was wondering if anyone had seen or has a answer like this regarding other programming languages.
https://stackoverflow.com/questions/1012573/getting-started-with-haskell
r/AskComputerScience • u/Jclau77 • Oct 19 '18
I don't even know where to even start. I've been wanting to become a programmer ever since I was a child and I really wanted to follow in my father's footsteps as a programmer himself. I have previously taken this course earlier but I dropped to a lower level and I got a 66 for a average. We used a different language and now since I am back in Java I find it challenging to the point where I am struggling. I really really want to get into a good college since I am currently attending my final year of HS. Yikes, I need at least a 80% to land into the college I want to be in but at the moment I got a 54% which is on the brink of failing. This is a academic course by the way which is more challenging then previously. It's getting to the point to where I am asking myself "Should I really pursue this?" or that I am not fit to be a programmer but deep down I really want to become a programmer when I graduate.
I've been really dependent on my teacher on asking for help to where my teacher doesn't want to help me no more since I am getting stuck 99% of the time nowadays which sucks, I have spoken to my previous CS teacher and he said that at this rate I will not get into the college I want to be in and secure that programming job. I have other responsibilities as well such as a part time job, focusing on graduating, projects, assignments, tests etc. All of this is weighing down on me to the point where I am considering on dropping out. I attend classes 100% of the time and the things that I have a problem with is this.
I understand the theory of the program but I struggle on executing it such as typing the code myself and not knowing where to place certain pieces of code.
I keep looking back and forth and putting previous programs as a base structure.
Not understanding errors.
I feel like Peter Parker from Spider-man 2 to where he is being weighed down by everything, school, life, part time job etc. I just don't know what I should do it's like I am climbing a wall and I am unable to reach the top and I keep falling back down to the ground. I feel like I've failed myself, failed my parents especially my father since I promised him I would be a better programmer than him and yet I am on the brink of failing. That was the first test by the way and since I need a 80% I have to really focus but I don't feel like I have the abilities to continue.
What do you guys think I should do? I really need someone to help me on this, this is really really stressing me out how do I keep going even though everything is been thrown down upon me. How can I climb this wall? I really really need some help on getting through this.
r/AskComputerScience • u/[deleted] • Oct 13 '15
I'm studying Informatics and all the books and stuff I read and study requires me to sit in front of PC because I have to do exercises from the book, play with bash, try this and that in some programming language, or google some problem, etc.
I'm looking for some book that even though it will give me a good basic knowledge about something, I won't have to "practise" the issues of it, if you know what I mean. Something more "general", that I could read even on 15min break.
Could you recommend some book like that? It doesn't matter that much what exact field that book should be about. Just anything computer-related.
I should also say that I'm beginner. Just started learning Java and Linux + stuff from college of course, and I just want something that's easier to read/learn/assimilate after I'm stuffed with math, coding etc.
Thanks :)
r/AskComputerScience • u/Motor_Fee7299 • Jun 22 '26
I was having a discussion with someone with plenty of experience in Mathematica and he was telling me that there are calculations that can only be done using Mathematica and not something like Python. Is this the case? Naively I'd think that a programming language is just a layer of abstraction between us and the calculations, and as such any calculation should be programmable in any language. Now there might be features of a PL that make it very efficient or elegant, but given enough time and resources, can I carry out any calculation using say Python? I tried to explain this to the person but he was very adamant that it was not a matter of convenience, and some tasks are plain impossible in some languages. Is that the case?
r/AskComputerScience • u/[deleted] • Apr 21 '24
I've been trying to wrap my head around how computers work. They can do math, complex algorithms, and can be programmed to do any number of things.
And I haven't gotten a very concrete answer to how they work. I've seen videos explaining the hardware, i've heard people talking about logic gates, transistors, and binary language.
But how does a bunch of circuits and switches, become complex user interfaces, and video games, and operating systems? How does the computer know the difference between 0000001 and 00010000? How does a bunch of simple circuits and electric currents produce computation? What is computation? And why does it make sense? Am i missing something here? It there a massive canyon in my understanding that i haven't been seeing? Other questions i have are: how does binary become any given programming language? And how does the computer know where data is stored? Or even how to do anything? How does one program hardware that has no preexisting programming? Or is it inherent to the hardware?
Im going to stop there. But i hope you guys can answer at least of few of these questions. And please try to be nice
r/AskComputerScience • u/jaemk2 • Jul 22 '23
Hello all, I’ve been seeing this guy (28) for a few weeks now and he’s really into computer science. I love hearing him talk about it but I have a hard time understanding since I have never extensively studied the subject (I have a desktop computer and I bought all of the parts for it, but I still don’t know much and someone else put it together for me).
I have some books and watched some videos about the basics of compsci but I am unfortunately a slow learner. I am going to keep trying but is there anything in particular that I could research or bring up the next time we talk? I really want to impress this guy and I am enthusiastic about learning more about what he likes. Any help is appreciated, thanks!
TL;DR: If you were on a date and talking about computer science, what could your date mention that would leave you impressed?
r/AskComputerScience • u/GabeAV1122 • Dec 02 '22
Heya. I'm currently a freshman in college and trying to decide between Math or Computer Science, however the CS program at my university is extremely difficult to get into, and I doubt I would get in even with the years of experience I currently have. Either way, if I were to graduate with a degree in math and have years of coding experience, would it be likely to get a job within the computer science field? thanks in advance :)
r/AskComputerScience • u/joes_u • Jun 02 '21
So he's 13 he's just interested in coding so I'm wondering what should I teach him.
r/AskComputerScience • u/cogora4064 • Apr 14 '21
Next year I'm starting a Computer Science degree so I'm doing a little research to see which are the topics that would be useful/beneficial to study before starting the degree.
Please answer this short survey!
r/AskComputerScience • u/[deleted] • Dec 12 '20
Hey, I'm just starting my UG course in Computer Science. We have C as our first language and then Python.
Now as JetBrains products (CLion, PyCham etc.) are free for students, I want to ask should we use these or text editors like VSCode or atom.
If you recommend to use text editors first then after how long should we start using JetBrains products (as they are industry standard, I believe learning them would be helpful)
P.S. - I tried CLion for the first time (used atom before it) and I was very confused and overwhelmed my the interface itself.
Thanks.
r/AskComputerScience • u/jforrest1980 • Jun 17 '20
Little background. I'm a computer science major, on my second computer science course. We are learning about topics such as generics, efficiency of algorithms using Big-O, Lambdas, J-Unit, etc...
I am struggling hard, and plan on taking a semester or two off, to devote all my time to learning programming from the absolute basics. I am the type of learner that composing some code isn't enough. I REALLY need to understand how things work, or else I get hung up on super simple details.
So my question is, where do I start? I'm looking for more of a general plan to follow.
Such as...
go through this book on assembly, and this one on command line together.
go through this book on C
then read this book on java, then this one.
I would prefer book recommendations. My goal here is to get the foundation I need to become a really good programmer. I'm not looking to just pass a class. I want to have a deep understanding of the machine. We mainly use Java, along with J-Unit right now in my school if that helps. We will be transitioning to C# at some point, and will be using springboard as well.
My ultimate goal is to get into cyber security, such as penetration testing, and doing indie game development in my free time, if that helps.
Thanks in advance.
r/AskComputerScience • u/_4lexander_ • Oct 14 '19
I remember loading pages in dialup internet when I was a kid. Sure it was pretty slow but it was at 56kbps. Now we get hundreds of MB/s bandwidth which is several 1000 times faster but I still get pages which load slow.
I also know a small amount about JavaScript and there's min-js which makes JS into a more compact non-human-readable format to improve load speed. Or sometimes I get advised to put css in a different place because that will make the page load faster. Seriously though??? It's just text!
I know that web pages and web apps are much more complicated than they used to be, but I can't imagine that they literally got 1000 times more complicated.
Bonus: Same question for memory and CPU speed. I feel like the improvement in specs has been disproportionate compared to what I can actually do with a computer. It still takes a while to load up excel, just like it did 20 years ago.
r/AskComputerScience • u/Butfartter420 • Oct 11 '19
I'm one of those "useless degree" people. I accept I messed up, and I'm ready to take a different path. I am already DEEP (like, life ruiningly deep) in student debt from said useless degrees, so I dont think I should go right back to undergrad for a CS degree. I'm hoping to teach myself enough that I can use my skills to get some scholarships to get in school cheap so I can get a job in IT or programming.
So about me: I love computers, I love figuring out how to do stuff. Never done anything impressive, but any time something confuses me in a program I like to try to figure it out (even though I often get frustrated). The things CS guys do looks like magic to me. It's incredibly intimidating, and at the same time exciting. I can't imagine what a day at work in IT or software development LOOKS like. I feel like I'm too old, and a million miles behind everyone. Also I'm also HORRIBLE at math. Is it worth it to try to learn these skills now? If so, what path should I take?
EDIT: A friend who's a programmer suggested I start with Python. Another has suggested JavaScript. Where do you think I should start and why?
r/AskComputerScience • u/AddemF • May 26 '19
I am a volunteer teacher at a prison where inmates can earn a degree and move to the job market after release. I teach Math, but I have an advanced student who is interested in learning CompSci. Since I'm about the only person in the facility who can teach him anything about CompSci, I've been doing my best to guide him through CLRS. Although I am a CompSci novice, by my estimate he's doing well. We've covered list and graph algorithms, he's implemented them in Java, we're now doing hash functions, FFT, and we'll probably cap it off with NP-Completeness.
He's now getting interested in moving on to studying networks, and here I am just way out of my depth. I'll research, recommend, and order him some books. In the mean time I was wondering if there were some very introductory exercise that he and I could work on. Say for instance, to build a very simple simulation of a network in Java or JavaScript on a very old computer with no internet. If such a thing makes sense, does anyone know where I could get some guidance, like a website or book that describes how to do this? The goal would just be to get a basic, hands-on idea of what a network is and what simple things you can do to it and with it. It could smooth things over when we get around to a book.
Thanks.
r/AskComputerScience • u/AmatureProgrammer • Mar 09 '19
By programming I meant stuff like software engineering/web dev/ stuff like that?
r/AskComputerScience • u/backend_geek • Feb 20 '19
I have 13 years of experience and I have worked for large software companies (mostly backend systems - java / python). Though my coding skill are good, I am weak in my understanding of software architecture.
Most of the courses and books online are target towards entry level learners. What I really want is indepth knowledge of designing enterprise software architecture.
I am aware of Martin Fowler website and read it occasionally. However what I am looking for is a Book or Online course which can teach software architecture in an interesting way.
I am willing to pay to learn it. Just clueless about where to start.
r/AskComputerScience • u/fayez_11 • Jun 03 '18
r/AskComputerScience • u/VirtualGlitch_99 • Sep 14 '26
I'm studying CS subjects and I'm curious which subject gave everyone the most trouble at first but eventually became manageable.
r/AskComputerScience • u/UpperDurian5100 • May 29 '26
LLMs were trained on the data that was created by humans. Over time, the amount of AI-generated content will increase dramatically, so LLMs will not have other choice but to learn on the data they created, which is obviously (or not...?) not so high quality as the human-made data. So, will LLMs become worse over time or do I have some gaps in my knowledge on this matter?
r/AskComputerScience • u/Ok_Perspective599 • May 09 '23
Most games are made for Windows, and that is probably because of its market share. However I was curious whether or not Windows is better built for games that Linux is.
I have a couple of questions:
Can the linux kernel handle a Triple A game like Windows?
How optimised is linux for high end gaming as compared to Windows?
Would a standardized gaming distro optimized for gaming (if that's a possible thing) help linux gaming?
Thanks in advance!
r/AskComputerScience • u/Sake99 • Nov 27 '22
I know it is the slowest language but is it really an issue that other languages should be learn, if so what do you suggest C# or Java? can I just understand C# without going to C/C++?