r/AskComputerScience • • Apr 26 '16

Computer Science majors of Reddit, I have a few questions for you

29 Upvotes

Hello, I am a Freshman at Stephen F. Austin State University. I have recently been tasked with investigating and reporting my major for an English class. I have a few questions for those of you out in the workforce.

  • Why did you decide to major in Computer Science?

  • What job do you currently hold?

  • Do you enjoy your job?

  • What did you expect going in?

  • Did your expectations match your experiences?

  • What college did you attend?

  • Do you believe that a major in Computer Science is versatile?

Feel free to answer any or all questions. If you want to add your own input, go right ahead.

Edit: Formating


r/AskComputerScience • • Nov 02 '12

Have any of you worked on official voting machine systems?

29 Upvotes

With all of the speculation and fear about their unreliability, software problems and last-minute patches, I think it would be interesting to hear from a developer's perspective what quality assurance processes were in place on the system you've worked on.


r/AskComputerScience • • Nov 05 '11

Does hard drive capacity affect PC speed?

29 Upvotes

Basically, I've been told that once a hard drive gets filled past about half of its capacity that it slows down. Is this true for all hard drives (or even true at all)?


r/AskComputerScience • • 12d ago

Is the pipe operator "|" something a shell can do, or is it something enabled by a shell's scripting language?

28 Upvotes

Is the operations provided by the pipe operator | in a | b where the output of command a is the input of command b provided by a shell's scripting language, or is "piping" a function that is provided by the operating system itself? For example, in Python you are allowed to provide -1 as an index in order to get the last element in a list, but providing -1 in Rust results in an error because Rust doesn't implement behavior. Which is what I mean by is the | operator a feature of a scripting language or is it a feature provided by the OS.

EDIT: I updated the question to be clearer. The original question is below:

As far as I'm aware, when you use the | operator. It is a feature of the shell's scripting language. I haven't found any proof that | is a feature of a shell's scripting language so I'd like to know if that's true or not.

For extra lore: I've started going into the rabbit hole of what a terminal emulator is, and what a shell is and I'm trying to figure out where a shell starts and ends, same with a terminal. So, I decided to start a small project to make a simple shell and one of my goals is to implement support for the | operator.


r/AskComputerScience • • Oct 25 '26

why is hashing a string O(n) if we say hash table lookup is O(1)

28 Upvotes

every intro course says dict lookup is O(1) average, but you have to hash the key first and hashing a string means going through every character, so isn't it really O(length of key)?

is the O(1) just assuming keys are a fixed size, or is there some other reason we ignore that. kinda confused how people are comfortable calling it constant


r/AskComputerScience • • Jun 22 '26

Why does the Turing Test feel so philosophically naïve?

28 Upvotes

This is moreso a question for the computer scientists interested in philosophy, but I've noticed that the Turing test is very philosophically naïve for its time. I do know computers were very evidently in a very archaic state, likewise with parallel fields in philosophy (Norbert Wiener, for example, had introduced cybernetics relatively recently). Despite this, Turing still relies upon questions long destabilized by phenomenologists, semioticians, and linguists decades prior. to this day, questions regarding the Turing test will often revolve around more Cartesian concerns, as if the field of computer science could have its questions answered while philosophically remaining in the 17th Century. I will make it entirely clear that my intentions are not the strawman Turing, perhaps a bit of a summary would suffice.


r/AskComputerScience • • May 01 '23

Falsely accused of using AI for speech notecards, looking for the best possible defense against it.

28 Upvotes

So last week was the last day of my public speaking class. We had to do a ceremonial speech, which was supposed to be an easy, 2-3 minute grade booster speech. I had been in a mindset where I was thinking about my age, so the night before I wrote and rehearsed a speech on the concept of time. What I wrote out was too long for the window, so I summarized it for my notecards. I guess the best way to characterize this speech was “ornate,” or sort of metaphorical. I gave the speech and it went just fine. However, the professor asked us to leave our notecards behind, which is something she’d never done before. Anyways, she suspected me of using an AI to write my notecards and sent me a receipt of ZeroGPT saying there was an 85% chance an AI did it. She said my speech lacked personality and was too broad and meandering, which is what made her suspect me. She reported me to the schools academic affairs board so they could decide if I was guilty or not. I think I’ll be fine because I know that these AI detectors are BS to an extent, and my girlfriend is also on the AA board. My question for you tech guys is what do I say to the people BESIDES my girlfriend to convince them of my innocence. I know you guys aren’t lawyers, but I figure some might find this interesting and maybe have some ways to help. I’d appreciate the insight. Sorry for the wordy post.


r/AskComputerScience • • May 03 '22

What degree complements computer science other than science degrees like math, physics, engineering, etc?

28 Upvotes

r/AskComputerScience • • Jun 07 '21

How to go from simple Python scripts to properly engineered programs?

28 Upvotes

First of all, I do not have a SE or CS background. I do however have a degree in Data Science. During my studies, I've used Python mainly in Jupyter Notebooks and occasionally regular Python files.

I feel like I am at a point where I am not a beginner in Python, however when I try to move from short scripts or notebooks to larger hobby projects(like bots). I find it hard to write good code and structure it in a way that's efficient.

A friend of mine mentioned that I should look into Object-Oriented Programming. Which seems like a good direction. However, when I look at other people's work I still see them doing things that I have never learned before. Like creating virtual environments and structuring their directory system in logical ways. Including libraries and packages. Usually, they use __init__ files and store their functions in utils files. They always use version control and often run their programs through batch files.

I am wondering if you guys know of any useful resources that provide an overview of all these methods to create properly engineered software. Right now I am looking things up on the internet as I encounter them. But I believe I am still missing a lot of useful information that I haven't thought about. And when I look up software engineering tutorials I always end up with introductory programming courses, which is not what I am looking for.


r/AskComputerScience • • Mar 29 '21

Why don't we have full control over the apps we install on Windows unlike Android?

28 Upvotes

We can see and restrict the permissions an app has on Android. On Windows, the apps we install only ask for administrator permissions. Why can't we have the same as on Android. Are there any tools to do so?


r/AskComputerScience • • Mar 06 '21

Why Don't Multiple Indexes Blow Up The Database Size?

28 Upvotes

When reading a really basic book, I came across a section talking about using database indexes to search for entries with an O(log(n)) time. The same book talked about how we can create multiple such indexes for the same database - so when we want to quickly search for an entry by its ID, or by its "date of birth", or some other property, we will still be able to do that in a log time. However, I don't understand how building multiple such indexes doesn't blow up the storage space (i.e. it looks like in the example below we will need to create a tree of IDs and pointers to the database entries, then a tree of dates of birth and pointers to the database entries, and then a tree of names and pointers to the database entries - thus having to duplicate lots of data). What am I getting wrong here?


r/AskComputerScience • • Feb 25 '21

Is telling someone "I find computers interesting" lame, when speaking about Computer Science?

28 Upvotes

I was speaking to a senior programmer in a Zoom call a few weeks ago, and told them I picked CS as my major because "I find computers interesting". They kind of laughed and changed the subject. This topic came up very, very recently (not five or so minutes prior to me posting this) and I thought back to the event with the senior programmer.

And I don't know, just wondering if this paints me as stupid somehow (?)


r/AskComputerScience • • Dec 11 '20

Are all problems that can be solved recursively, be solved iteratively?

28 Upvotes

Is it true that if a problem is solvable through recursion, will ALSO be solvable through iteration? Is there any case where you could do something with recursion, but not with iteration?

Sorry for my noob question, I just studied about recursion.


r/AskComputerScience • • Dec 05 '20

Why not just smear leap seconds over the entire year?

28 Upvotes

Given how much trouble leap seconds seem to cause, wouldn't it be better to create some sort of Smeared Universal Time in which the length of a second slightly varies?

It would lead to an error factor of just 32 × 10-9 (about 32 SI nanosecond per clock second). I doubt that most precise applications need such precision and, for the ones that do, they could just use TAI.

Calculation used: 1/(365.252460*60) = 31.688087814E-9


r/AskComputerScience • • Nov 15 '20

What do software architects use to plan in advance? (UML tools?)

28 Upvotes

I'm a self taught Python dude (Biotech pivoting to bioinformatics) and I've been learning through building a procedurally generated video game. As the game gets larger, progress gets slower. I spend (imo) too much time drawing out class architecture and the flow of data, only to have things change the next time I add a feature. There's got to be (free) tools out there to make this easier, but I really don't know what those would be. My googling usually leads me to "3d modeling tools" or "software tools for architects/civil engineers". Even looking at the "best UML tools 2020" I don't know if that's actually what I want, or what the difference between a good and bad one is. I feel like I'm suffering from "I don't know what I don't know" syndrome since I've never taken actual classes or had a mentor. Any help is appreciated.


r/AskComputerScience • • Nov 06 '20

Why are some people so afraid of an AI revolution?

28 Upvotes

I know AI is great at balancing/adapting algorithms for known tasks, but how is AI supposed to make the leap from that to defining its own objectives and creating its own integrations with external systems / creating new behavior? I understand that genetic algorithms are a thing, but even those just adjust preprogrammed behavior. Is the fear that someone might create a robust enough framework for AI to work within that gives it the right building blocks to break those boundaries, or is it just doomsday scifi?


r/AskComputerScience • • Aug 29 '20

Does anyone know of a program that sorts images by color?

28 Upvotes

I want to decorate my walls with my favorite albums, sorted by color, similar to this: https://pbs.twimg.com/media/D8f0-q_XUAAV8V8.jpg

I've tried two or three different programs or apps by now and they haven't worked. Please let me know if you have any suggestions or websites. If they have one with spotify integration that would be even better.

Thank you


r/AskComputerScience • • Aug 20 '20

Since the twitter API has OAuth authentication, do search engine crawlers use a registered account to be able to scrape tweets and user data?

28 Upvotes

For example, is there an account specifically to allow for Google to scrape data for its search engine?


r/AskComputerScience • • Aug 09 '20

Learning higher level programming

28 Upvotes

Hello

I've been programming for about 5 years now, and I have a decent understanding of several language (mostly C/C++, as well as some assembly and python).

While I do feel that I have a decent knowledge of the detailed, technical stuff (algorithms, data structures, languages and concepts, etc), I'm lacking in the higher level program... design. How do I design and structure larger applications?.
For example, how would I know if I should design something as an object or function? What should I run as separate threads, and how do I figure these things out on my own?

Links or references to informative litterature or articles are highly appreciated, as well as comments!

Thank you in advance.


r/AskComputerScience • • Jul 24 '20

Why can't decompilers perfectly reconstruct source code?

28 Upvotes

I always thought that there was a one to one translation between machine code and high-level languages, but after looking up decompilers, they don't usually do it perfectly.


r/AskComputerScience • • Apr 16 '20

If end to end encryption gets removed what are the vulnerabilities that will result?

28 Upvotes

r/AskComputerScience • • Mar 06 '20

Why does turning the computer off and on / restarting it solves quite a suite of problems? From screen flickering to sound problem to any other thing Computer are the machines that start behaving properly many a times with just a simple reboot, Why?

28 Upvotes

r/AskComputerScience • • Feb 17 '20

Computer science outside of college

28 Upvotes

People of reddit, what kind of job (any pay) can open doors and insight into the world of Computer Science for a person with no experience, no degree..? Perhaps something from your experience you have to share?


r/AskComputerScience • • Aug 24 '19

Does google change the IP addresses of their servers all the time ?

28 Upvotes

When I ran nslookup google.com this is the result I had.

Non-authoritative answer:
Name:    google.com
Addresses:  2404:6800:4003:c00::66
          74.125.24.100
          74.125.24.138
          74.125.24.139
          74.125.24.102
          74.125.24.113
          74.125.24.101

But when I did the same few minutes later the IP addresses have changed,

Server:  UnKnown
Address:  192.168.1.1

Non-authoritative answer:
Name:    google.com
Addresses:  2404:6800:4003:80d::200e
          172.217.194.101
          172.217.194.139
          172.217.194.113
          172.217.194.138
          172.217.194.102
          172.217.194.100

What is the reason for this ? Does google update the DNS servers once every few minutes ? What is the advantage of changing server IP addresses like this ?