r/compsci • • Jun 16 '19

PSA: This is not r/Programming. Quick Clarification on the guidelines

648 Upvotes

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 • • 21h ago

Is this worth reading if you already understand the stack?

Post image
108 Upvotes

For context I have ~10 YOE as a programmer and I have an EE background so I've already done stuff like building a CPU from scratch in verilog and worked a bunch with electronics ucontrollers and breadboarding.

Is this book interesting if you already know how computers work or is it more just aimed at people who are new?


r/compsci • • 8h ago

What can we reconstruct about how SEC 2 chose its prime-field Koblitz generators?

2 Upvotes

I reconstructed a shared generator-selection pattern across the four SEC 2 prime-field Koblitz curves, including secp256k1. It’s a provenance and rigidity anomaly, and its broader significance remains an open conjecture. In a prime-order group, choosing a generator does not by itself create a discrete-log trapdoor. The same scan found no comparable pattern in the r1 curves.

I’d welcome independent checks of the reconstruction and archival references that explain how the base points were selected.

https://rickmark.me/blog/undisclosed-generation-procedure-sec-2-prime-koblitz-curves/

https://rickmark.me/blog/concealment-not-security-free-generator/


r/compsci • • 1d ago

The Toxic Culture of Rejection in Computer Science

Thumbnail sigbed.org
69 Upvotes

I came across this 2022 article by Edward Lee: The Toxic Culture of Rejection in Computer Science.

TL;DR: Lee argues that CS conferences place too much value on low acceptance rates and that reviewing has become more about finding reasons to reject papers than recognizing what the community could learn from them. Useful systems work can get dismissed as insufficiently novel or obvious, even when building and evaluating the system produces valuable insights. Repeated rejection and resubmission also create more reviewing work, reinforcing the problem. ACM SIGBED

This was written before ChatGPT became widely available, and I’m wondering whether generative AI has made these dynamics worse.

If AI makes it easier to produce polished submissions, does that increase the workload on an already overstretched review system? And if reviewers use LLMs to help assess papers, could that make it easier to generate plausible-sounding criticisms without seriously engaging with the work?

My concern is a feedback loop: more submissions, less attention per paper, more generic reviews, and more rounds of resubmission. But I can also imagine AI helping reviewers understand unfamiliar material or helping authors explain their contributions more clearly.

For people who have been submitting or reviewing papers over the past few years, have you noticed a change? Has AI made the rejection culture worse, or are we mostly seeing the same longstanding problems at a larger scale?


r/compsci • • 16h ago

Me harté y necesito de su ayuda para cambiar esto

0 Upvotes

Título: Misión Crítica: Por qué debemos rescatar el verdadero significado de nuestras palabras

Vivimos rodeados de palabras que, de tanto repetirlas frente a una pantalla, hemos terminado por vaciar de significado. Hoy decimos "sistema" y la mente colectiva dibuja de inmediato una computadora o un programa de oficina. Decimos "automático" o "en segundo plano" y asumimos que se trata de algo simple, secundario o de menor importancia. Sin embargo, cuando miramos debajo del capó de la naturaleza y de la ingeniería aeroespacial, descubrimos que estamos llamando por el nombre equivocado a los mecanismos que sostienen la vida.
Para devolverle el peso real a lo que nos mantiene en pie, es hora de actualizar nuestro vocabulario y reconfigurar cómo entendemos el mundo:

  1. Un "sistema" no es un chip; es una arquitectura viva

Mucho antes de que existiera el primer cable de cobre o el silicio, la palabra sistemanació para describir cualquier conjunto de piezas distintas que trabajan conectadas hacia un mismo propósito. Una bicicleta es un sistema mecánico; la red de agua de una casa es un sistema hidráulico; una cocina en hora pico es un sistema humano. La regla es simple: si le quitas una pieza clave y el conjunto deja de funcionar, estás frente a un sistema. La computación no inventó el concepto; solo construyó versiones electrónicas imitando la perfección de los sistemas biológicos que ya funcionaban en nuestro cuerpo.

  1. Adiós al "segundo plano": bienvenidos los Sistemas Paralelos de Misión Crítica

En el lenguaje cotidiano, mandar algo a "segundo plano" suena a relegarlo a la banca. En nuestro organismo, en cambio, ocurre todo lo contrario. Mientras la mente consciente se ocupa de hablar, caminar o resolver problemas en la pantalla principal, por debajo corren los Sistemas Paralelos de Misión Crítica: redes nerviosas y vasculares regulando la temperatura interna mediante circuitos cerrados, filtrando toxinas y manteniendo la presión arterial. No van detrás ni son de segunda categoría; corren lado a lado en tiempo real sosteniendo toda la nave.

  1. No es "automático"; es Autogestión Vital

Cuando decimos que respirar o mantener el corazón latiendo es "automático", lo damos por sentado y le restamos mérito. En la ingeniería aeroespacial, ese nivel de precisión se llama Autogestión Vital y Telemetría Autónoma. Es un núcleo central (nuestro hipotálamo y tronco cerebral) leyendo millones de sensores por segundo, enviando impulsos eléctricos a más de 400 kilómetros por hora y ajustando válvulas sin pedirle permiso al usuario para evitar un colapso térmico o energético.

  1. Permisos de usuario frente al código maestro

Como usuarios de esta máquina biológica, no tenemos acceso absoluto para apagar el núcleo por capricho —una medida de seguridad brillante para evitar errores fatales—. Pero sí contamos con los permisos necesarios para calibrar el sistema mediante sus propios sensores: usando la luz y la oscuridad para reconfigurar nuestro reloj biológico, la respiración para frenar las alarmas de estrés y la repetición consciente para trazar nuevas rutas en nuestra red neuronal.
Entender el valor de estas palabras cambia nuestra perspectiva. No habitamos un cuerpo mecánico lleno de procesos secundarios; somos los pilotos de una obra maestra de ingeniería que opera, segundo a segundo, en misión crítica.


r/compsci • • 1d ago

Graph theory

Post image
0 Upvotes

A dynamic graph of equal links (acquaintances, money flows, power lines) quickly becomes a graph of unequal nodes (variously popular, rich, or denser substations). This is known, but so is the principle of minimalism (the less informative, the more communicative, the less interacting) of this information theory.

https://rvukovic.rs/blogen/2608.html#1860


r/compsci • • 22h ago

NEEDED HELP UNDERSTANDING ERRORS IN THESE DIAGS.

Thumbnail gallery
0 Upvotes

So for my project I am asking.


r/compsci • • 3d ago

Notes on the finite-field toy model behind the GRH proof

9 Upvotes

I put together a writeup (thing.rodeo/alpoge-toy-system) and a Lean 4 / Python repo (github.com/ryanncode/tensor-sieve) reconstructing the finite-field toy model behind Alpöge and Claude's GRH proof. Plenty of work was already going into simplifying and shrinking the full proof. Working on the toy model and its tests looked like a much more interesting project to take on. I used coding and research agents along the way to search the archives and write implementation code, so I wanted to share two notes here on what remark.pdf says about Alpöge's part early on and how I checked things along the way.

Most arguments about who proved what look at the final Lean release, where Claude generated a massive amount of code. Reading remark.pdf (keeping in mind that its timeline was reconstructed afterward from session history, not raw logs) points to what Alpöge did before that. In early October, while most attention around OpenAI's release stayed on their main Quasi-Riemann paper, Alpöge focused on their separate Landau–Siegel note even though its headline bound wasn't competitive, spotting a version of Stepanov's method inside it. From there he spent weeks distilling Weil and Deligne down to qN = M^k + R over finite fields and hunting for an integer analogue with no guarantee anything would work. Plenty of toy models over the years (including my own earlier divisor-matrix experiments in the same repo) wandered in the dark without leading to a theorem. Spotting that overlooked clue and choosing the right finite-field analogy came from Alpöge, well before Claude suggested the sqrt(X) lift length and generated most of the late-stage Lean code.

There is also a huge gap between building this toy model and working on the real proof. Once Alpöge confirmed that qN = M^k + R and Stepanov point toward the full argument, coding up the finite-field piece skips the hard part of guessing blind which toy setup might generalize. Going all the way to the full proof over the integers also requires heavy compute and token budgets well beyond a normal desktop. Even so, implementing the toy model gives concrete numbers you can run and small proofs you can inspect, while showing where finite-field tricks stop working on the integers.

With coding agents involved in the Lean and Python work, a compiling build was only a baseline since models quietly take shortcuts or misread source papers. Reading remark.pdf side by side with the compiled Lean archives showed where the informal note differs from the verified route. For example, the note mentions Guinand–Weil explicit formulas and a sixfold cover construction, whereas the compiled Lean code uses finite Landau positivity windows instead. Small Python scripts in tensor-sieve and the solvers linked in the post checked curves numerically before formalizing anything, making it easy to watch single-prime counts stay inconclusive and watch ordinary 1/k! derivatives break at p.

When a proof needs an explicit example, fast numerical code finds it outside Lean so the proof assistant only has to check the final answer. Unproved sketches stay separate from the default build, and running lake test fails automatically if any proof touches sorry or native_decide. Turning verified Lean into readable prose takes a different set of writing skills and attention to exposition than getting code to typecheck, especially when formal releases get too big to read line by line. Doing the writeup alongside the code and source checks lets people pull a huge formal release apart into small pieces they can actually test and build on.


r/compsci • • 6d ago

The community AI efforts to solve P ≠ NP are a waste of time and compute.

503 Upvotes

(1.) Hundreds of people volunteering couldn't even get the Riemann Hypothesis reduced by more than 30%.

Anthropic collaborated with a handful of folks and got it reduced by 98%+ practically overnight. Researchers have access to internal models without the same safety guardrails as the rest of us.

(2.) A community effort might offer the equivalent of $1M - $10M / month in AI efforts. That's a rounding error to AI lab revenues, multiplied by their willingness to run research compute at a loss.

(3.) Chances are everyone trying to solve P ≠ NP is having their responses nerfed, too, so even if it was possible, the frontier AI models wouldn't allow you to actually solve it.

If this problem is tractable with current AI, frontier models probably have a 99.99% chance of solving it first.

It sucks handing this authority over to the frontier labs, but it is what it is.


r/compsci • • 7d ago

A Deterministic Subexponential-time Algorithm for the Discrete Logarithm Problem

Thumbnail eprint.iacr.org
318 Upvotes

r/compsci • • 9d ago

Why isn't ETH being false a much bigger deal?

174 Upvotes

I feel like we're somewhat underestimating what it means for ETH to be false.

The way I understood it, as long as ETH held true, combined with our fairly strong belief that P != NP, we had a somewhat comforting boundary. Exponential time was a clear dividing line. No matter how much we improved the constant in the exponential running time, we could compensate for those improvements simply by increasing the problem size by a relatively small amount. There was a certain sense of safety in knowing that exponential complexity wasn't going away.

But now that ETH is false, that boundary is gone.

Sure, we can still believe that the complexity of NP-hard problems cannot be pushed arbitrarily low without eventually reaching polynomial time. And we can continue believing that P != NP. But the comforting exponential boundary that ETH provided no longer exists.

Even if P != NP were proven tomorrow, would we ever really feel safe ruling out something like an NlogN algorithm for an NP-complete problem? It would still be superpolynomial, so P != NP wouldn't rule it out, but it would be dramatically better than what we traditionally associate with brute force.

I think that's the unsettling part. We might retain the belief that these problems are fundamentally hard, but lose our ability to be confident about just how hard they have to remain.

Am I missing something here, or is this aspect of ETH being false not getting enough attention?


r/compsci • • 10d ago

Linear Programming is Strongly Polytime

Thumbnail github.com
398 Upvotes

r/compsci • • 10d ago

The Matrix Multiplication Exponent is 9/4

Thumbnail github.com
995 Upvotes

r/compsci • • 11d ago Mindblown

Minimum spanning tree solvable in deterministic linear time

Thumbnail eccc.weizmann.ac.il
660 Upvotes

r/compsci • • 11d ago

VP ≠ VNP

Thumbnail github.com
275 Upvotes

r/compsci • • 11d ago

How applicable is classical computer science theory to quantum computers? If it is, then to what extent?

5 Upvotes

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 • • 12d ago

A Turing-complete queue machine with just 6 string-rewriting rules

38 Upvotes

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 • • 13d ago

Will we get a proof for P=NP in next few weeks?

Thumbnail robot-future.com
0 Upvotes

r/compsci • • 15d ago

Exciting result: NL = UL !

Thumbnail eccc.weizmann.ac.il
222 Upvotes

r/compsci • • 25d ago

Exploring Data Integrity and Fault Tolerance in Erasure-Coded Distributed Storage Systems

3 Upvotes

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 • • 25d ago

A Matrix Multiplication Algorithm Rooted In Graph Theory

Thumbnail leetarxiv.substack.com
0 Upvotes

r/compsci • • 27d ago

Challenges in calculating ETA at scale

Thumbnail mehrdadmahabadi.com
7 Upvotes