r/AskComputerScience • • Feb 12 '21

Why are porn sites' search engines so bad? NSFW

42 Upvotes

How come, that a porn site often times won't show you the intended video, even if you type in the exact title of it? It seems, as their search engines kind of interpret the words as independent key words instead of "connecting them" (-> context). Is that what happens? How does a porn sites' search engine differ from Google?


r/AskComputerScience • • Jun 13 '20

Do you believe deepfakes, augmented reality, or ai video technology will ever render video evidence unusable in legal settings?

42 Upvotes

Why or why not?


r/AskComputerScience • • Jun 10 '20

This might be a silly question, but why is it not possible to load multiple operating systems into RAM at the same time and switch between them instead of dual booting?

42 Upvotes

Most OSes feature a sleep mode (suspend to RAM) which, I assume, snapshots the current state of the CPU and other components and stores them in the RAM. So I'm imagining a third party kernel level driver that uses this functionality to load a completely different operating system in another part of the RAM instead of going to sleep. Kind of like a reverse hypervisor in a way - instead of sitting underneath, the memory management is done by the running operating system itself.

The advantage to this method is obvious - no virtualisation overhead as everything runs on bare metal, and no having to shut everything down and reboot either. Yet it seems it's never been implemented before, nor have I even seen anyone suggest it. So my question is why? Is it impossible, or has nobody thought to do it because it'd be a lot of effort to solve a problem that barely exists?

I'm only a 2nd year CS student, so it's quite possible I'm missing something important.


r/AskComputerScience • • May 26 '20

When do companies use assembly?

42 Upvotes

I'm taking a class this quarter and all coding is in assembly. While it's tedious, I've actually kind of liked it because it has taught me a lot about how the software and hardware interact. Anyway, my professor is always talking about doing something the right way, following coding standards etc. for when/if we get jobs in the field. But what companies still use assembly? What do they use it for? Is it used along side mid/high level languages? Or is there some software that is 100% written in assembly?


r/AskComputerScience • • Feb 21 '20

Are there other internets out there?

42 Upvotes

The internet is just a bunch of interconnected networks, right? Or the biggest one. Are there other big "internets" out there?


r/AskComputerScience • • Jan 17 '20

ELI5: Google's new algorithm is named BERT (Bidirectional Encoder Representations from Transformers) - can I get a layman's explanation of what that means?

42 Upvotes

Not sure if this is the appropriate sub for this question, please redirect me if it's not.

I don't know much about Natural Language Processing and its corpus vocabulary, but I want to understand what the BERT acronym means and get an idea of how the algorithm works. Knowing what the acronym stands for has not helped me understand it in the slightest. Hoping some folks here can help me out. Thanks!


r/AskComputerScience • • Dec 06 '19

ELI5: What makes SQL faster than just reading through a CSV file using a language like Python or Java?

42 Upvotes

r/AskComputerScience • • Aug 26 '19

Future of C/C++?

42 Upvotes

I am a student majoring CS and I heard a lot of comments that C/C++ is useless in the real field on internet or from someone who I know personally. (although school teaches C C++ Java Python and this courses are mandatory)

I am the heavy user(?) of C/C++ , and I liked it because of the features that can manage memory directly and fast and ability to control over low level system.

I also searched what kind of thing in the "field" is built by C/C++ and I found a lot of them.

For example, TensorFlow, Node.js, Firefox(mostly C), OpenCV, and many others which are famous AND huge project.

So, I am really confused. Why I fell in love with C/C++ is that actually I am really interested in what happened exactly backside of applications, how actually network communications established, processes are managed and so on. But many many people, especially on the internet keeps saying that JavaScript or Python is the best and C/C++ is suck.

Give me your idea on the claim that C/C++ is on its decline.


r/AskComputerScience • • Jul 12 '19

What data can my ISP or the government see if I'm using HTTPS?

42 Upvotes

I've been told that https isn't perfect and they can still see things like your destination of the sites you connect to.

  1. what would they see if I googled stuff? Would it show search terms or would it just show I connected to Google? Assuming I'm not logged in and using a private browser.

  2. when I go on Reddit, does it show which subreddit I'm on? Or just reddit.com?

  3. Some sites use different servers like www2.example.com or old.reddit.com when I access these servers on HTTPS will it know I used old.reddit? Or will it just say that I visited reddit.com?


r/AskComputerScience • • Feb 25 '19

Do you consider your job as a programmer fulfilling enough?

42 Upvotes

I am a web developer. I get no feedback from the website visitors nor my colleagues and I don't see how am I giving my effort into something that matters to other people. At the time of social networks website seems a bit useless. Do you ever feel the same? Why or why not? Do you ever even think about the meaning of your job?


r/AskComputerScience • • Feb 24 '26

When you ask a computer to give you a random number... is it really random?

41 Upvotes

I've been thinking about how when you flip a coin or roll a dice it is meant to be random, but it isn't really random due to physics and such. I was wondering would that apply to a computer? What is the process that it does to pick a number?


r/AskComputerScience • • Aug 07 '21

Why does it take longer to delete big files if all we do is unlinking them ?

41 Upvotes

Hi guys,

It might appear as a stupid question but I haven't found much googling this, just one guy telling it takes lot of time deleting "multiple blocks linked together".

Intuitively, I would have thought that deleting time would be linear with the number of files but I guess what I picture as the address location is way more complex in reality.

Can someone please enlighten me ?


r/AskComputerScience • • Jul 04 '21

If you were to somehow bring a modern processor back to 1995, and showed it to the best computer scientists in the world, would they be able to recreate it?

41 Upvotes

Bear with me, I know next to nothing about CS. But I'm thinking like, we know die shrinks beyond what we have today are possible, right? But they can't be done yet. Would it be a different story if we literally had a functional example of a future processor?


r/AskComputerScience • • May 27 '21

Seemingly arbitrary tasks that are actually really hard.

41 Upvotes

I'm sure we're all familiar with this XKCD. In the spirit of it, I wanted to pose the question:

What's something that seems, to anyone not familiar with CS, like it should be simple, but is actually really hard or complicated. Fun stories relating to this are also appreciated.


r/AskComputerScience • • Sep 28 '20

As a CS student nearing graduation, what things should I be doing to prepare myself for entering the professional world? What might be some good things to have on a resume, github etc? Thanks

41 Upvotes

r/AskComputerScience • • Aug 08 '20

Books / resources about thinking robustly about solving problems

41 Upvotes

I was recently in a job interview in which my interviewer told me that he doesn't believe that university degrees teach many useful things to students. His main point was that they don't do a proper job teaching them to think, and that he has found that even graduate students cannot properly answer problems which he gives them.

I was curious, so I asked him whether he could give me an example of a problem which graduate students can't answer properly. This was the problem:

Given a request, A, with a starting and a finishing time, decide whether it is compatible with another request, B, with a starting and finishing time (two requests are not compatible if their timespans overlap).

My answer was that one can check whether the starting time for request A is after the starting time of request B but before the finishing time of request B, and vice versa for the ending time of request A.

However, he said that my answer was completely wrong. His reason for this was that I jumped straight to solving the problem, instead of proving it beforehand and reasoning about it. When I asked him how he would have answered if he had been asked the problem, his answer was:

The possible cases are that request A may be completely before request B, request A may partially overlap request B on the left, request A may be contained in request B, request B may be contained in request A, request A may partially overlap request B on the right, and request A may be completely after request B.

His explanation for why this is a necessary step of reasoning about a problem was that it allows you to prove that your solution is correct (whereas I, jumping straight to the solution to of the problem, have no way of proving that my solution is correct) and that it is a formal method which allows one to write code which has a lower chance of containing bugs, as you can know that the logic for the code is sound.

From his "proof step" in solving the problem, you can also see quite easily that there is a solution to the problem which requires less computational power than the one I suggested: simply check whether A finishes before B starts or starts after B ends. If this is the case, then they do not overlap.

So my question is whether anyone has any resources or books which they can recommend to me for helping to learn more about how to think about logic before jumping straight to writing the code. I have searched around and haven't yet been able to find anything that great. I'm mostly looking for something practical; i.e. something which only deals with abstract logical proofs and never connects this to how you can use the ideas in your coding would still be something I would be interested in reading, but less so than something which addresses practical application.

Thanks!

TLDR; does anyone have any book or resource recommendations with deal with the idea of how to problem solve and think about logical problems / proofs before actually writing the code.


r/AskComputerScience • • Aug 05 '20

What are the ways to make a program faster and "lighter"

41 Upvotes

During my high school years I have been taught how to write good looking code, sorting it and using indentations, using comments when necessary... But how do you optimize your code? ELI5?


r/AskComputerScience • • Dec 27 '19

Are AND, OR and NOT gates literally the only thing you need to do any kind of computation whatsoever? If so what's so special about them? How can you generalize this concept of fundamental units that if you mix and match can do any computation?

41 Upvotes

If the answer is indeed yes (which i suspect it is) then why exactly?? I imagine this is not the only way of doing any kind of computation whatsoever using only a few uhhh things? What are some other examples, and how would the answer change say in base 3 or base 10?


r/AskComputerScience • • Jul 19 '19

Graphics in video games in the latter half of the 2010s have become incredibly photorealistic, but it still feels like something is missing that keeps them in the uncanny valley. Is it the lighting, the texture work or something else?

41 Upvotes

r/AskComputerScience • • Dec 04 '18

What book has had the biggest impact on your career in computer science?

41 Upvotes

I'm not sure if this is the appropriate sub to ask this in, but what do you think are some of the most essential books a computer science major should read before they graduate?

I'm a very clueless girlfriend trying to find a good gift for my boyfriend. I know that he genuinely loves reading about all things comp sci, like Linux (that's a thing right?), so I think he would be really happy and surprised if I could figure this out. For more details, he's a Junior in college currently pursuing a degree in either cybersecurity or software engineering.


r/AskComputerScience • • Nov 27 '18

Is a masters in CS worth it?

41 Upvotes

I am currently an undergrad getting my CS degree. I was wondering if anyone here thinks a masters in CS is worth it. I have known a few people with masters in CS and the answers seems to be mixed. Some saying it was worth it. Others saying it was a waste of time.

Edit: Grammar


r/AskComputerScience • • Mar 06 '16

The Office Riddle

Post image
41 Upvotes

r/AskComputerScience • • Oct 09 '26

Why is everyone focusing on AI replacing tech jobs while ignoring other industries?

40 Upvotes

I’ve noticed that whenever people talk about AI taking over jobs, the discussion almost always revolves around software engineers, computer science graduates, and IT professionals.
But what about all the other industries? Many jobs involve repetitive tasks or work that AI could potentially automate, yet they don’t seem to receive nearly as much attention as tech careers do.
Why is the internet so focused on discouraging people from studying computer science or pursuing careers in tech, while seemingly ignoring the potential impact of AI on so many other professions?
Is there a particular reason tech jobs get so much attention, or is it simply because people in the tech industry are more aware of AI’s capabilities and are more vocal about it?
I’d genuinely like to understand why this discussion seems so heavily concentrated on technology careers.


r/AskComputerScience • • Oct 15 '21

Drug use in computer science?

40 Upvotes

Just curious how many of you are recreational drug users and whether it helps or inhibits your ability to study/code/perform in general at your respective workplaces/schools. Other questions to consider: What drugs do you use? Do you use them during or only for decompression at the end of the day? Thanks!