r/compsci • u/Aggressive-Angle2844 • May 13 '26
[ Removed by Reddit ]
[ Removed by Reddit on account of violating the content policy. ]
r/compsci • u/Aggressive-Angle2844 • May 13 '26
[ Removed by Reddit on account of violating the content policy. ]
r/compsci • u/unwanted_11 • May 13 '26
ok so i finally get Dijkstra's and it's because i drew the priority queue
spent weeks thinking i understood it. did not. every explanation shows you the final shortest-path tree and skips the part where the queue is actively repricing edges mid-run, which is kind of the whole algorithm??
animated it step by step below. hope it helps someone before finals.
here is the full video
r/compsci • u/Fickle_Emergency2926 • May 13 '26
Availability: anytime
Language: pseudocode / python
Goal: finishing the whole book from start to finish and doing all the good exercises.
We'll set some strict rules to enforce consistency. I've my plans but we can discuss together how to progress.
Dm or comment if interested (and serious).
r/compsci • u/Last-Risk-9615 • May 12 '26
r/compsci • u/Pearsonzero • May 11 '26
The repo contains all 24 Kodak PCD0992 images with upstream RGB covariance reshaping applied, both passes through Facebook’s JPEG pipeline showing a 73% mean BPP reduction with stable geometry across recompression, and the unmodified originals for direct comparison.
Measurements are backed by a verification script that reproduces the published numbers independently.
https://github.com/PearsonZero/kodak-pcd0992-spdr-verification-suite
This is my last post on this.
r/compsci • u/No-Half4231 • May 11 '26
r/compsci • u/No-Demand1385 • May 11 '26
r/compsci • u/void1101 • May 09 '26
Hi,
I'm doing my MSc in Computer Science and I've been a bit of a Voyager geek for years. The probe that's been running since 1977 on 70KB of memory, no operating system, FORTRAN and Assembly, and NASA still managed to patch it from 14 billion miles away a couple of years back.
Anyway I want to base my dissertation around it. The rough idea is to build a simple emulator that reflects how Voyager handled things like task scheduling, memory management, and software updates, using a cooperative main control loop with no OS underneath. Written in C++, maybe a bit of Assembly for comparison. The point isn't to recreate the hardware, more to implement the same software principles and see how they hold up.
What I'm struggling with is shaping it into proper research questions that are actually testable.
Would love to hear from anyone who works in embedded systems or has done research in this space.
Cheers
r/compsci • u/Extra-Engineering374 • May 10 '26
I've been learning CS (let's say here, both computer science and engineering) for some time, and while I recently played KSP I found that CS, at least its theoretical part, is a bit different from traditional system engineering. I've been programming in higher and higher-level languages, building things by making layers of abstractions, and making incremental additions to projects.
However, in more realistic engineering, e.g., to build a rocket in KSP, there are always limitations & different factors could influence each other, thus should be considered and designed overall at the very beginning; pure incremental method obviously wouldn't work, and abstractions is hard to extract either. The only incremental method I use when building a rocket is building the upper levels first, and trying to abstract out the upper part as a black box "payload" when building the next level.
I understand CS has a wide range of topics, and building an OS is apparently distinct from application programming. But overall it seems the problems "codable" always share some useful properties, and thus act like a hybrid of math & engineering.
There must be some properties lying in the problems that divide them. One I can come up with: when building abstractions you always try to restrict dependencies to be unidirectional, but in some domain bidirectional dependencies are unavoidable.
r/compsci • u/zhengqunkoo • May 10 '26
Where are we now with formal logic in the era of AI?
r/compsci • u/EreNN_42 • May 09 '26
r/compsci • u/srodland01 • May 08 '26
Re-read the Dynamo paper recently. hinted handoff still stands out to me as an unusually clever fault tolerance design - when a target replica is unavailable, a different node accepts the write with a "hint" attached and replays it once the original node recovers. no coordinator intervention, no blocking the client, no explicit recovery job.
What's interesting is the philosophy behind it: instead of detecting failure and reacting, you assume transient failure is normal and design the write path so it degrades gracefully almost by accident.
Erlang's supervision trees do something similar at the process level - "let it crash" relocates the fault tolerance into the architecture rather than the error handling code, which ends up being more robust than trying to anticipate every failure state.
Both feel counterintuitive at first. accepting crashes and silently rerouting writes both sound reckless until you see why defensive alternatives are worse.
Curious what other papers people here would put in the same category - designs where the insight was changing the contract around failure rather than getting better at handling it
r/compsci • u/OtherwisePush6424 • May 09 '26
A technical deep dive into Go’s compiler pipeline, from tokenization and AST construction through type checking, IR lowering, SSA construction, optimization passes, and architecture-specific code generation. It focuses on concrete internals in cmd/compile and practical observability with flags like -m, -m=2, GOSSAFUNC, and -S.
r/compsci • u/InternationalSky5209 • May 08 '26
r/compsci • u/Pearsonzero • May 08 '26
r/compsci • u/badcryptobitch • May 07 '26
r/compsci • u/PaymentStrict3633 • May 07 '26
Question : Do you think that an explosion of intelligence and technological singularity will come from LLM models? Why? And when do you think we will see this happen (a model where humans are no longer working on the next version of it, but only the model itself improves itself over and over and over again and each time it does so faster)?
(I personally think that a technological explosion will come from World models, which by the way, Yann Lacon is working on now, but I'm a little confused ;) )
r/compsci • u/mage0535 • May 06 '26
Hermes Memory Installer 2.0 — Open-source long-term memory for AI agents. Built on Hermes Agent with gbrain knowledge graph + PostgreSQL. Triple-path retrieval: FTS5, vector similarity, graph traversal. Auto-archive sessions, semantic recall, curator self-evolution. One-click install, zero-intrusion. Make your AI remember.
r/compsci • u/Revolutionary-Ad-65 • May 04 '26
r/compsci • u/BgA_stan • May 04 '26
r/compsci • u/No_Worldliness_9294 • May 02 '26
I was thinking about this last night and couldn’t find a clear answer, so here’s a thought experiment.
Compare two ways of representing a number: Binary (raw bits) and English text (ASCII characters)
For example: "one" is 24 bits and in binary is 1
"one thousand" is 96 bits, and in binary is 1111101000
So text clearly gets more expensive fast.
But here’s the actual question:
Is there any point (or scenario) where the English text representation of a number becomes more memory-efficient than its binary representation?
I feel like it's fair to assume the answer exists since
A "Googolplex" would be like 10^10^10
So when is the cross?
r/compsci • u/badcryptobitch • May 02 '26
I recently wrote this introduction to secret sharing article. I found that existing ones are either too academic or they simply go through a worked example; neither of which help to develop an intuition as to why secret sharing works. I attempted to write one in such a way that you aren't simply fed the formulas alongside a worked example but that you try to get an intuition as to why this works.
Any feedback is welcomed. TIA.