r/compsci • u/nightcracker • 12h ago
r/compsci • u/iSaithh • Jun 16 '19
PSA: This is not r/Programming. Quick Clarification on the guidelines
As there's been recently quite the number of rule-breaking posts slipping by, I felt clarifying on a handful of key points would help out a bit (especially as most people use New.Reddit/Mobile, where the FAQ/sidebar isn't visible)
First thing is first, this is not a programming specific subreddit! If the post is a better fit for r/Programming or r/LearnProgramming, that's exactly where it's supposed to be posted in. Unless it involves some aspects of AI/CS, it's relatively better off somewhere else.
r/ProgrammerHumor: Have a meme or joke relating to CS/Programming that you'd like to share with others? Head over to r/ProgrammerHumor, please.
r/AskComputerScience: Have a genuine question in relation to CS that isn't directly asking for homework/assignment help nor someone to do it for you? Head over to r/AskComputerScience.
r/CsMajors: Have a question in relation to CS academia (such as "Should I take CS70 or CS61A?" "Should I go to X or X uni, which has a better CS program?"), head over to r/csMajors.
r/CsCareerQuestions: Have a question in regards to jobs/career in the CS job market? Head on over to to r/cscareerquestions. (or r/careerguidance if it's slightly too broad for it)
r/SuggestALaptop: Just getting into the field or starting uni and don't know what laptop you should buy for programming? Head over to r/SuggestALaptop
r/CompSci: Have a post that you'd like to share with the community and have a civil discussion that is in relation to the field of computer science (that doesn't break any of the rules), r/CompSci is the right place for you.
And finally, this community will not do your assignments for you. Asking questions directly relating to your homework or hell, copying and pasting the entire question into the post, will not be allowed.
I'll be working on the redesign since it's been relatively untouched, and that's what most of the traffic these days see. That's about it, if you have any questions, feel free to ask them here!
r/compsci
•
u/rosulek
•
1d ago
Minimum spanning tree solvable in deterministic linear time
eccc.weizmann.ac.ilr/compsci • u/o_t_i_s_ • 3h ago
Pretty sure this is going to be a post on agedlikewine in a few days
robot-future.comr/compsci • u/Beaconing • 1d ago
How applicable is classical computer science theory to quantum computers? If it is, then to what extent?
I'm looking to get a better understanding of quantum computing, and wanted to try and tie some of what I know from regular computer science to it. From what I know, since quantum computers are non deterministic, classical comp sci theory shouldn't work on quantum computers. I think this would break things like compilers which rely on being deterministic to work. But what other areas do work on these new computers, and what kinds of modifications to classical theories have been made such that they do hold for quantum computers?
r/compsci • u/wraitii_ • 2d ago
A Turing-complete queue machine with just 6 string-rewriting rules
Got GPT 6.2 astra to discover what I believe to be the smallest known universal 2-deletion tag system. A 2-deletion tag system reads the first letter of a queue, deletes the first two letters, and appends a fixed word for the letter read, so it's a very, very simple machine.
The rules here are:
I → ezII
D → DDez
z → e
a → b
b → aaaeaeae
e → [empty]
Halting is halting <=> a cycle is reached.
De Mol constructed a 3-symbol tag system that encodes Collatz, and proved that 2-symbols is decidable, so this puts the universality limit somewhere between Collatz and 6 symbols.
Full result here (along with a 2000 lines lean proof): https://github.com/wraitii/tag-systems
This improves on UT19: https://esolangs.org/wiki/UT19
r/compsci • u/o_t_i_s_ • 2d ago
Will we get a proof for P=NP in next few weeks?
robot-future.comr/compsci • u/No_Astronomer7655 • 15d ago
Exploring Data Integrity and Fault Tolerance in Erasure-Coded Distributed Storage Systems
Hello everyone!
I've been exploring a research direction around distributed storage systems, particularly the challenge of maintaining data integrity and availability when information is distributed across multiple storage nodes.
The research idea I'm investigating is titled:
Verifiable Erasure-Coded Cloud Storage Systems
The problem I'm interested in
Erasure coding allows a system to divide data into fragments and distribute them across multiple storage nodes. This improves storage efficiency and fault tolerance because the original data can be reconstructed even when some fragments become unavailable.
However, distributing data introduces another challenge: how can a storage system efficiently verify that its fragments remain intact and have not been corrupted or improperly modified?
Traditional integrity checks can help detect corruption, but I am interested in exploring verification mechanisms that can operate without requiring the entire original dataset to be reconstructed.
The technical direction
I'm particularly interested in investigating the interaction between:
- Erasure Coding: Distributing data fragments to improve fault tolerance and storage efficiency.
- Cryptographic Verification: Establishing confidence in the integrity of stored fragments.
- Distributed Storage Architecture: Handling node failures, corrupted fragments, and verification across multiple storage nodes.
One challenge I find particularly interesting is balancing verification overhead against storage efficiency, fault tolerance, and system performance.
A question for the community
When combining erasure coding with cryptographic integrity verification, what are the most significant architectural or theoretical challenges that should be considered?
In particular, are there established approaches that allow efficient verification of individual or distributed fragments without reconstructing the entire original dataset?
I'd be interested in relevant research papers, established techniques, and alternative approaches that address this problem.
I'm currently exploring the research literature and refining the problem formulation before moving towards an experimental prototype.
I'd appreciate technically grounded discussion and critical perspectives.
Thanks for reading!
r/compsci • u/DataBaeBee • 15d ago
A Matrix Multiplication Algorithm Rooted In Graph Theory
leetarxiv.substack.comr/compsci • u/Endless-monkey • 16d ago
Symmetry gives 136 states, the Hankel rank is 51: minimal weighted automaton for 3-colourings of grid strips (review request)
For the w × m grid, the number of proper 3-colourings is 1ᵀ Tm−1 1, with T the symmetric transfer matrix on column colourings (1536 states at w = 10). The quotient under S₃ × Z₂ has 136 states. The minimal linear representation (Hankel rank) has dimension 51. Because T is symmetric, the Hankel matrix is a Gram matrix of Krylov vectors, and det H₅₁ ≠ 0 with det H₅₂ = 0 certifies the order exactly.
Minimal orders for w = 1…10: 1, 1, 2, 3, 5, 7, 13, 19, 35, 51. Has anyone seen this sequence, or a structural reason for the gap between the symmetry quotient and the Hankel rank? Details: [CSTheory link]
This opens a broader review request on three costs that are easy to conflate: what stays observable, what a representation must keep, and what a query costs in operations. Two controls separate them. A variable reorder takes the maximum cut rank from 256 to 2 with the same count. Satisfiable Tseitin formulas on expanders need exponential ordered representations yet count in polynomial time by Gaussian elimination. The request lists nine claims with their status and asks where proofs fail, where prior art exists, and whether exact signed decompositions can lower the total cost.
Review request and reproducible lab
r/compsci • u/CapitalCut441 • 17d ago
Challenges in calculating ETA at scale
mehrdadmahabadi.comr/compsci • u/al3arabcoreleone • 25d ago
"Galactus the Devourer", Ben Recht's reaction to The Exponential Time Hypothesis.
argmin.netr/compsci • u/Most-Bookkeeper-950 • 29d ago
The Exponential Time Hypothesis is false
github.comr/compsci • u/voz83333 • Oct 23 '26
What if brain surgery affected your ability to code?
Imagine we need brain surgery to remove a tumor. The surgery goes well, but afterward, you struggle to write or understand code. Scary, right?
We know that neurosurgeons try to preserve important abilities like speaking and moving during brain surgery. But what about programming?
A new study in Human Brain Mapping explores exactly this!
The researchers developed a new protocol during awake brain surgery to help identify and preserve brain areas involved in programming.
The idea is simple: if coding is an important part of someone's life, shouldn't we try to preserve that ability too?
Here's the paper: https://doi.org/10.1002/hbm.70634
r/compsci • u/kottbusser_floor • Oct 22 '26
I made a game to teach digital logic: build up from NAND gates to a working CPU
I made a game to teach computer architecture and digital logic: play.simten.dev
You start with basic logic gates and build up to a working CPU. It's built on Simten, a TypeScript-based HDL, so you write the circuits as code and they show up live on a canvas next to the editor. For sequential circuits you can scrub the clock backwards and forwards to watch the state change cycle by cycle. You can also drill down into abstracted components (like the half adder shows). Because of the layout it only works on desktop browsers for now.
It's open source, any feedback or contributions are welcome!