r/AskComputerScience • • Mar 20 '21

Why is theory of computation concerned with recognizing languages?

38 Upvotes

Michael Sipsers's book Introduction to the Theory of Computation introduces automata theory and theory of computation as fields of research trying to answer to questions of format is there an automaton that recognizes the language defined by grammar x. As a programmer, this seems weird. Why talk about recognizing languages rather than approaching the automaton as a computer program or a function, i.e. a series of instructions (or state transitions) mapping input to output? Intuitively, it seems like languages and grammars would only be iteresting to a computer scientist who is designing a programming language or writing a parser.


r/AskComputerScience • • Jan 30 '21

Existential Crisis in CS

38 Upvotes

Hello!

I am a sophomore CS student. I feel like I don't know what I am studying. I don't understand why I am doing web development when I don't understand how the web works, why am I solving algorithmic problems when I don't know what's happening inside the computer. I feel like things are way too abstract and I want to have a deeper understanding of how everything work. But that ain't gonna give me a job! Nobody cares if you know how things work all they care about is whether you have an ML project, and can invert a binary tree. Am I just overthinking? I don't understand what to do please help.


r/AskComputerScience • • Dec 19 '20

Finding your place in Computer Science

38 Upvotes

I was browsing indeed today looking for internships for the summer of 2021. There are so many options in Computer science and I was wondering what made you guys decide on your positions. Like say if you went into Data Science why did you go into Data Science?


r/AskComputerScience • • Sep 30 '20

Am I getting unpaid for this?

38 Upvotes

Hi all, I recently started working for a company as a paid Apprentice doing Full stack development. I'm about 6 months in so far and the experience has been so so. Recently, I finished adding a new feature. However, during the testing phase I found some bugs and need to spend some extra time to fix them. The weird thing is, I was told that this would be unpaid time, as there are no allotted hours left for this issue.

Is this sort of thing normal? Or is it bs?


r/AskComputerScience • • Jul 02 '20

How exactly knowing about computer architecture and boolean algebra has helped you in your software engineering career?

38 Upvotes

The title is self explanatory. I took a class on applications of boolean algebra to computer architecture this last semester and I was wondering how and if this knowledge is directly used in software development.

Edit.: Thanks so much everyone for their great answers. Apparently boolean algebra is used by most people when comparing statements or refactoring code and knowing computer architecture helps people make better decisions about efficiency.


r/AskComputerScience • • Jun 19 '20

Trying to learn about how the web works, how sites are managed, how pages are loaded in browsers, etc. but does this area of knowledge have a proper name I can use when looking up resources or to look into formal courses?

38 Upvotes

I hope this question is ok to post here. I also apologize in advance if this is a dumb question.

Like the title says, I want to learn about something but I don't know what it's called which makes it difficult to look up info online. I don't even know if there's a specific name or names for what I want to learn.

A little background: I work in SEO and have become increasingly interested in the technical side of it. I've dabbled in coding before (mainly Java then Python for simple data analysis and API calls) but have virtually no knowledge of how code on a web page is executed by a server, rendered in a browser, how resources are used, and everything else that happens between when an HTML document is requested by a user device and when it is loaded on their device.

I want to learn more and I've also thought about taking a course but I don't know if there's a term for this area of knowledge. The way I'm learning now is by using very basic search terms online like 'how do browsers load a page', as well as spending a lot of time in Chrome DevTools looking through the various tabs like Performance and Network, trying to understand what's happening as the page loads, and using that as a jumping off point to look into more specific things like 'what is the raster thread' and so on. Also, working in SEO, a lot of my (very rudimentary) knowledge of these concepts were learned from Google's developer articles.

Ultimately, I have a professional objective (to better understand technical SEO) but also a vested personal interest in learning this area of compsci because it feels like modern-day magic and I just want to know everything about it! How the Internet works, the role of servers, browsers, and websites, their directories, resources, and pages, and how it all comes together so I can read a news article on my phone in seconds with nothing more than typing in a string of characters, and more. I don't think the way search engines crawl and render pages will be the exact same way a browser would load them, but I think understanding the fundamentals of how the web works is a good first step and would at least guide me in my learning process, because right now I have soooo many questions about so many different things I don't even know what to look into first, and the knowledge feels so fragmented.

So I tried to keep this brief but also give enough info about what I'm trying to learn & why. If it's not clear just ask and I'll provide more details, as much as I can.

EDIT (copied from my comment below):

To everyone who answered my post - wow! Thank you all so much for such detailed answers. I was half-expecting this to be downvoted to oblivion so I truly appreciate the time and effort you guys took to explain things to me. Based on your answers I think I'll start by looking into the HTTP protocol and client/server side requests and responses, and take it from there.

Also, when I first posted the question I didn't realize there was so much breadth to what I was asking about, so a special thanks to those who were patient enough to educate me on computer networks and how they (briefly) work.

All your responses not only answered my original question but also gave very insightful summaries that will definitely help contextualize things for me me as I research these topics more in depth, so again, thanks everyone! :)


r/AskComputerScience • • Jun 10 '20

Why does it take so long to switch from one CPU architecture to another? For example, switching from Intel to ARM. Isn't it enough to compile the source codes in an ARM machine to make them compatible in ARM as well?

38 Upvotes

r/AskComputerScience • • May 24 '20

How do you keep yourself interested in computer science?

38 Upvotes

I'm asking because I'm a second year computer science student and I have little to no interest in computer science. However, I do enjoy programming, but not enough to consistently practice. I took computer science because I wanted to make games, and I've been wanting to make myself more interested in the field seeing as how this is the path I chose. Any tips?


r/AskComputerScience • • Jan 27 '20

Is Programming Addictive?

Thumbnail
youtube.com
38 Upvotes

r/AskComputerScience • • Nov 22 '19

Large amount of LGBT+ people in CS?

38 Upvotes

It seems to me like there is a large number of LGBT people (relative to the broader population), particularly trans, and more particularly MtF, in the CS space. Have you noticed the same thing? Any idea why?


r/AskComputerScience • • Aug 11 '19

How secure are contactless cards?

38 Upvotes

In the US, I know people are getting contactless cards when their cards expire. I feel like we were just introduced to the chip a few years ago. How secure are these contactless cards compared to the chip and stripe?


r/AskComputerScience • • Oct 09 '18

Why is UML taught so much at university?

38 Upvotes

Ok so I don't have a problem with UML itself, I understand it's benefits when designing an architecture. But I also understand it is somewhat outdated. I've been told it is not used whatsoever in industry. Why then, do all of my CS classes urge that I learn UML syntax, and even test my knowledge of UML?


r/AskComputerScience • • May 05 '18

Is it better to be a jack of all trades but a master to none in CS?

38 Upvotes

I've always been curious because whenever anybody looks up how long it takes to learn a certain language, skill, or whatever, the answers from professionals is always "A couple hours to a few months to learn the basics, but a lifetime to master". But it also seems that many people bounce around for a while in their CS career to different companies/jobs working their way up with different skills. So what do you think?


r/AskComputerScience • • Oct 31 '17

Why does 360p video takes less space than 144p in this case?

Post image
38 Upvotes

r/AskComputerScience • • Feb 10 '16

The only programming languages that I know are in english. How does programming work in other languages?

38 Upvotes

This is mostly for high-mid level languages. Can you use the same(similar) compiler? I figure syntax would be extremely different in some languages? Can someone elaborate on this topic for me please? and thank you!


r/AskComputerScience • • Nov 22 '15

Why does a computer need a cpu if gpu can perform floating point operations faster

38 Upvotes

I am reading that newish GPUs produce lots of bang for your buck for computing machine learning algorithms. What are the tasks that a cpu performs vs gpu, and why does the cpu need to be different in a way that makes it worse for AI?


r/AskComputerScience • • May 09 '24

What single line of code has been run the most?

37 Upvotes

If we consider all computational devices since the invention of modern computing. What one line of code has been executed the highest number of times?

(If you care for context): I was thinking about this after learning that the most abundant protein on earth is RUBISCO, the enzyme that carries out photosynthesis. Despite the millions upon millions of different species existing, this single protein is at the core of what essentially supports all multicellular life on earth.

Got me thinking if the same is true of computation, especially since everything runs on dependencies, with their own dependencies, and so on. Does it all come down to one common line of code?


r/AskComputerScience • • Jul 01 '22

What is "bootstrapping"? Can anyone please explain what this term originally meant to describe? Why boots? Also, how come "booting" means turning on a computer? What do shoes have anything to do with describing a computer process? Where's the analogy / similarity? This doesn't make any sense!

37 Upvotes

Obviously, I've read the Wikipedia article on "Bootstrapping" but it didn't help much.

So apparently, the little hold on the back of the boots called a "bootstrap" is supposed to mean a self-starting process? How??? Why??? WTF??? This doesn't make any sense!

Also, what is "a self-starting process"? Without the user's involvement?

(I'm not a computer science major, but the term has already entered other fields as well, and it seems like it originated in computer science)


r/AskComputerScience • • Sep 29 '21

Can you find someone's ip address through their reddit posts or their website?

37 Upvotes

I was wondering if someone can tract my ip address and location through reddit posts or from a website i created is that even possible


r/AskComputerScience • • Apr 23 '21

Does the "Machine Code" your CPU understands ever receives updates? If so by whom? Do all CPUs follow the same "Machine Code"? If not who are the ones supporting so many models of CPUs?

37 Upvotes

screw air aback disarm historical rob friendly grab pot elderly

This post was mass deleted and anonymized with Redact


r/AskComputerScience • • Dec 07 '20

Master in CS - what doors it opens?

37 Upvotes

Hi,

I've been thinking lately about proceeding with my studies and pursue my masters in CS. Majorly doing it out of interest to the field. But there's question sitting in my mind - what type of jobs and opportunities does masters degree opens that a bachelor doesn't?

Thanks ahead.


r/AskComputerScience • • Apr 10 '20

How does a computer generate a random number?

37 Upvotes

r/AskComputerScience • • Apr 06 '20

How to brush up on the fundamentals of Computer Science?

37 Upvotes

Decades ago, I did my bachelors degree in Computer Science. But now I am clueless and I have been planning for long to do a masters, but kept pushing it.Now, I am decided to go for it.

First, I want to brush on what I learnt. Basically I am looking for a recap of my bachelors degree. Knowing myself, I will be relearning than "brushing up".

I started off with SICP as its recommended on /r/compsci. But first chapter in, I have lost it.

I am considering CS50 from edx following which I also have an option for associated certificates. I am hoping that the testing & evaluation will help me better learn. I am not sure if the evaluation will be by a computer or an actual human professor who will provide me feedback. I need a group to motivate me.

I am looking to understand more of CS50 via edx. I also saw an OpenCourseWare option. Didn't understand the difference.


r/AskComputerScience • • Nov 10 '19

Need help... Hello I'm a new computer science student. I am really confused. Is this really an insertion sort on a linked list/using pointers. Thank you everyone :)

Post image
37 Upvotes