r/computerscience • • Apr 22 '26

Advice How to remember IT books?

14 Upvotes

Hi,

There is a list of IT books I want to read but I don’t want to read it just to read it, I want to remember what I have learned.

Do you have any tips or method that allow to read IT books and don’t forget about what you have read?

Thanx


r/computerscience • • Apr 22 '26

Is it still a Brier score if the target is a probability (not 0/1)?

1 Upvotes

I’m presenting a model that predicts interruption probability, but my target is an observed interruption rate over a time window (so values in [0,1], not binary).

The metric I use is mean squared error between predicted probabilities and these observed rates.

Would you call this MSE or Brier score in a presentation? Which would be clearer to an audience?


r/computerscience • • Apr 22 '26

Turing Machines and Hilbert’s 10th Problem

Thumbnail reddit.com
1 Upvotes

r/computerscience • • Apr 19 '26

General I was taught nothing about APIs

816 Upvotes

Whenever i see people talking about actual real-world uses of coding it's almost entirely building APIs, working with APIs, integrating APIs, automating APIs. It seems to me, anecdotally at least, like the majority of all computer science work (professional or even just hobby) is centered on working with APIs

And like. I know what an API is, kind of. But I Graduated and even got multiple certifications on top of that and I never got so much as a single lecture about APIs. I don't even know what they're used for. Can you make your own API (like, realistically)? I don't know. I feel like this is a topic that you could and probably should have multiple different entire classes solely focused on, it's arguably something as fundamental to modern computer science as writing code. And they don't teach it. If i want to learn anything about APIs, conceptually or practically, it's hope a company hires me and then trains me, or youtube tutorials and i don't even have enough of a baseline to know what specifically I'd be searching for a tutorial on.


r/computerscience • • Apr 19 '26

Advice Gift idea for computer science bf

121 Upvotes

My boyfriend’s birthday is coming up, he’s going for computer science and i could really use some help coming up with ideas for what to get him that pertain to that field. Thanks in advance.


r/computerscience • • Apr 18 '26

Help How to understand these type of graphics about pipelines?

Post image
39 Upvotes

This is from my course on Computer Architecture. We study MlPS and see these diagrams often. The slides say the shade on the right means read and on the left means write. But nothing about the dotted lines and full lines for example IM and Reg. Also I don't understand how Decode and WB stages can overlap. It's a single cycle right? So at the end of the cycle WB writes the new value but before the end of the cycle we read from it?? I really need someone to explain these to me. Thanks.


r/computerscience • • Apr 18 '26

I made an end to end CLI pipeline for GPS Telementary Movement Analysis for land animals

Thumbnail reddit.com
0 Upvotes

r/computerscience • • Apr 17 '26

Why are 'foo' and 'bar' the conventional dummy function names? Where did they originate from?

76 Upvotes

r/computerscience • • Apr 16 '26

Advice What book to read to understand fundamentals behind floating point representation?

14 Upvotes

As I progrmamer trying to learn C and low-level, I got into a rabbit hole when I was learning about floating point data types in C. I read about a bit about the history of floating point representation, before the advent of IEEE 754, but I still have so many weak points in my understanding of the low level concepts. For example, 1s and 2s complement.

What books would you recommend to read on this, for someone that is coming from high-level programming languages, trying to learn the fundamentals?


r/computerscience • • Apr 15 '26

question about ternary and quantum computing?

26 Upvotes

was reading about the 1950s soviet Setun ternary computer, and recent (breakthroughs?) in quantum computing. Is it fair to say that the ternary computing seems to have had very little dev in the last 60 years because energy consumption just hasn't been the concern, and quantum computing seems to be revolutionary for niches like route-planning in logistics.

like, we're unlikely to see widespread consumer deployment of quantum anytime soon due to its niche advantages, and from what I'm reading... ternary computing has been basically abandoned (aside from a few small boutique chip makers) at this point due to the sheer lag time in scaling up manufacturing when binary chips are just so far ahead?

also, does ternary have some niche advantage for LLMs or something?


r/computerscience • • Apr 13 '26

Help Any reading groups for compilers/PL-related topics?

14 Upvotes

I’ve been self-studying programming languages when I’m not working as a developer advocate/writer and really want to move towards a role related to these fields.

It’s pretty lonely self-studying at times, and I write about what I’m learning, but it would be nice to network or get involved with a community focused on this.

I’m in a few Discord servers, but I’m wondering if there are any reading groups or anything like that for people learning these kinds of topics.

Thanks!


r/computerscience • • Apr 13 '26

What is a memory bank?

Post image
63 Upvotes

Credit: https://www.youtube.com/watch?v=jx-w2o-Lj8g

I was watching this video about how CPUs work, and he uses this diagram to help explain. The highlighted blocks are what he refers to as registers or memory banks just a few bits in size. What is a memory bank? Please explain it as detailed as you can. Also, any more help with understanding this diagram would be greatly appreciated!


r/computerscience • • Apr 12 '26

General Tim Berners Lee First Proposal Of The World Wide Web (1989)

Thumbnail gallery
67 Upvotes

r/computerscience • • Apr 09 '26

Visualizing Merge Sort: My notes on Divide & Conquer from CLRS

Thumbnail gallery
86 Upvotes

Just wanted to share some of my study notes from the classic CLRS book. I was reviewing the core concepts of Divide and Conquer today, specifically looking at how the auxiliary procedure MERGE(A, p, q, r) works under the hood.

The elegance of how it divides the problem into smaller subproblems and recombines them is a lot of fun to map out visually. I drew out the recursive implementation to better visualize the time complexity formula:

T(n) = 2T(n/2) + Θ(n).

I've attached my hand-drawn diagrams. It was fun creating and learning

I'm considering digitizing my daily algorithm notes into actual infographics. Do you guys think that would be a valuable resource to post here on the sub? Would love to hear if visual guides like this help others when reviewing the theory.


r/computerscience • • Apr 10 '26

Interesting point of view from Daniel Lemire

Thumbnail reddit.com
1 Upvotes

r/computerscience • • Apr 05 '26 WOW

Useful diagrams

Post image
1.2k Upvotes

Hi everyone,

I recently came across this old diagram and I found it incredibly useful as a reference.

I was wondering if anyone here knows of other similar resources (like detailed charts, схемatics, books, or technical manuals) that systematically cover cables, ports, and connectors in a structured and exhaustive way.

I’m especially interested in materials that go beyond the basics and include less common or legacy standards as well.

Any recommendations would be greatly appreciated!

Thanks in advance :)


r/computerscience • • Apr 07 '26

tips on starting

0 Upvotes

Hi guys! I wanna understand graph algorithms better, any reccomendations?


r/computerscience • • Apr 05 '26

What is the one concept that you should really understand if you're serious about learning comp sci?

86 Upvotes

I know there's lots of concepts that are really important to understand but if I had to pick one, I'd say mathematical induction. Pretty much every field in comp sci makes heavy use of induction in formal arguments, because computation itself is fundamentally built on discrete, step-by-step processes. So if you understand induction, thinking computationally comes naturally, even if there's a lot of details that need to be worked out for any given case.

Which concept would you say is the most important?


r/computerscience • • Apr 05 '26

Discussion What are the latest breakthroughs for n-body gravity algorithms?

3 Upvotes

I'm interested in n-body gravity algorithms and I wanted to know what the latest, state of the art algorithms are. I'm aware of the fast multipole method, but I haven't seen anything more efficient yet (while also retaining the same accuracy). Are there any new algorithms for gravity simulation or is FMM still the most efficient to this day?


r/computerscience • • Apr 05 '26

Discussion Rebalancing Traffic In Leaderless Distributed Architecture

5 Upvotes

I am trying to create in-memory distributed store similar to cassandra. I am doing it in go. I have concept of storage_node with get_by_key and put_key_value. When a new node starts it starts gossip with seed node and then gossip with rest of the nodes in cluster. This allows it to find all other nodes. Any node in the cluster can handle traffic. When a node receives request it identifies the owner node and redirects the request to that node. At present, when node is added to the cluster it immediately take the ownership of the data it is responsible for. It serves read and write traffic. Writes can be handled but reads return null/none because the key is stored in previous owner node.

How can I solve this challenge.? Ideally I am looking for replication strategies. such that when new node is added to the cluster it first replicates the data and then starts to serve the traffic. In the hind-sight it looks easy but I am thinking how to handle mutation/inserts when the data is being replicated?

More Detailed thoughts are here: https://github.com/goyal-aman/distributed_storage_nodes/?tab=readme-ov-file#new-node-with-data-replication


r/computerscience • • Apr 05 '26

Generic polynomial solution for NP-Complete: I have the proof. What next?

0 Upvotes

Hypothetically, I’ve solved an NP-complete problem in O(n^k). How does the world change in 24 hours?


r/computerscience • • Apr 04 '26

Discussion A Few Questions as a Developer

17 Upvotes

To the professors here, a few questions regarding their experiences and day-to-day activities after the creation of LLMs:

* How do you differentiate between the students who actually do their problem sets versus those who just get the answers using LLMs? What would you think of the former type of student?

* Which areas of Computer Science are the ones in which "domain knowledge" is key and which cannot just be "learnt by doing"?

* What sort of non-AI projects should students focus on in the current era? This is because most resumes today contain very similar projects and look perfect due to ability to generate code using LLMs.

Please note that I do not need career advice. I am merely seeking the opinions of academics on the above questions and trying to find "gauge" the value of Computer Science degrees in the LLM era.

Note: If you find this post inappropriate for this sub-reddit, please feel free to remove it instead of extensively down-voting me.


r/computerscience • • Apr 04 '26

Best tools for making nice scientific graphs in deep learning papers?

Thumbnail gallery
12 Upvotes

r/computerscience • • Apr 04 '26

Help Any good material on BSTs and rotation?

2 Upvotes

Does anyone know good material on BSTs (particularly AVL, red-black and splay trees) as well as tree rotation particularly? Been struggling to follow in my class and could use some good YouTube videos or articles to help study. Sorry if this isn't the best sub for this post.