Topic

Computer Science

Computer science discussions covering algorithms, data structures, computational theory, and CS education from developer communities.

What this topic tracks

  • Engineering practices and ecosystem debates
  • Tools, architecture, and implementation lessons
  • Relevant discussions from developer communities

Computer Science · 766 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

Jira IS Turing-complete

seriot.ch · 22 May

Artificial Intelligence · Jira · Computer Science

This article proves that Jira is Turing-complete by implementing a Minsky register machine using its automation engine.

By mapping registers to linked issue counts and the program counter to Epic statuses, the author demonstrates how to perform arithmetic operations and execute complex logic like Fibonacci sequences, establishing that Jira automations constitute a legitimate computational system.

The Surprising Effectiveness of Deleting Weights in LLM Post-Training

arxiv.org · 10 Nov

Artificial Intelligence · Deep Learning · Large Language Models · Machine Learning · Computer Science

Deletion Tuning matches full fine-tuning (FFT) across reinforcement learning with verifiable rewards, supervised fine-tuning, and on-policy distillation by zeroing fewer than 0.05% of an LLM’s weights.

It learns a binary mask on transformer block gate projections, producing checkpoints hundreds to thousands of times smaller. It also preserves prior-task accuracy better: under reinforcement learning, FFT, LoRA, and random sparse fine-tuning lose up to 5.4 points, while Deletion Tuning remains near the base level. Its weight-change geometry most closely matches FFT.

FreeHand

microsoft.github.io · 5 Dec

Artificial Intelligence · Large Language Models · Computer Science · AI Agents · LLM Benchmarks

Freehand is a general-purpose agent harness that gives frontier models a shell, self-managed memory, and a meter while leaving workflows, tools, timeouts, and context pruning to the model.

Across five domains and three frontier model families, it beat each first-party harness—Codex, Claude Code, and Gemini CLI—in all 11 settings, averaging 5.1 points higher at 49% lower cost and running 17–62% faster. First-party harnesses still performed better with lower-tier models.

PenGPT: A Generative Transformer for Handwriting and Sketches

greydanus.github.io · 25 Nov

Artificial Intelligence · Deep Learning · Generative AI · Machine Learning · Computer Science

PenGPT is a small generative transformer system that writes print and cursive and draws from text prompts.

Its 6M-parameter handwriting model learned from 495,590 words by 1,255 writers and adapts to unseen hands from a few examples; its 54M-parameter drawing model trained on 477,670 sketches. Both use the same grid-based stroke tokenizer and ordinary decoder. Data quality and augmentation mattered more than architecture or scale; BPE merges mainly shortened sequences. Attention heads track letters as they are written.

The Little Book of Generative AI Foundations: An Intuitive Mathematical Primer

arxiv.org · 3 Nov

Artificial Intelligence · Deep Learning · Generative AI · Machine Learning · Computer Science

Tianhua Chen’s 195-page revised preprint presents a derivation-oriented mathematical primer on modern generative AI.

It builds a coherent path from PCA and probabilistic PCA through variational autoencoders, diffusion models, normalising flows, autoregressive factorisations, GANs, Wasserstein GANs, and energy-based models. Added visual explanations aim to improve accessibility while preserving the mathematical substance needed to derive and relate these model families, targeting students, practitioners, and mathematically curious researchers.

A Better UTF-8 Automaton

orlp.net · 29 Nov

Algorithms · C · Low-Level Programming · Performance · Computer Science

A compact UTF-8 DFA enables branchless shift-DFA transitions, parallel validation, and immediate error recovery.

Its 13 valid states are packed into overlapping uint32_t constants, shrinking the lookup table from 2 KiB to 1 KiB with help from a SAT solver. A SYNC state supports parallel chunks with four-byte overlap. The roughly 30-line scalar C implementation validates Chinese text about 2.5× slower than simdutf but 9× faster than Höhrmann’s minimal validator.

cs341-illinois/coursebook

github.com · 28 Sept

C · Education · Computer Science

cs341-illinois/coursebook is an open-source introductory systems programming textbook for the University of Illinois Urbana-Champaign’s CS 341 course.

Written in C for Linux-oriented instruction, it improves on an earlier wikibook with more rigorous, cited content, a glossary, extended reading, and automated PDF, Markdown, and HTML exports.

Art of Roads in Games

sandboxspirit.com · 8 Feb

Software Architecture · Mathematics · Computer Science

This article explores the technical differences between game development shortcuts and real-world civil engineering in the context of road design for city-building games.

The author identifies that most modern city builders, such as SimCity and Cities: Skylines, utilize Bezier splines for road geometry. While flexible, Bezier curves fail to maintain parallelism when offset, leading to visual artifacts like 'pinching' or self-intersecting geometry at tight angles. By contrast, real roads are designed using circular arcs and clothoids (transition curves) to accommodate vehicle physics and steering mechanics. The author advocates for replacing Bezier curves with these engineering principles in game engines to improve procedural intersection math and visual realism, ultimately developing a custom road system to solve these common indie development challenges.

How curl was accidentally Turing-complete for nine months

seriot.ch · 30 Oct

CLI · Computer Science

From curl 8.12 through 8.16, variable byte-range slicing and uncapped nested config inclusion let curl simulate any two-counter Minsky program, making it Turing-complete under unbounded-resource assumptions.

Variables stored counters as repeated x bytes; slicing implemented increment, decrement, and zero tests, while filenames represented instruction states. A proof of concept computed 2 + 3. curl 8.17.0 added a five-level include cap, breaking the construction; real executions also faced expansion, stack, and memory limits.

The sleep framework: A new way for LLMs to retain knowledge in continual learning

research.google · 27 Oct

Artificial Intelligence · Deep Learning · Large Language Models · Machine Learning · Computer Science

The Sleep framework gives LLMs a periodic active (wake) and offline sleep lifecycle for continual learning.

During sleep, low-rank Mixture-of-Experts memory blocks consolidate short-term context into long-term parameters through knowledge distillation and RL-based imitation, while dreaming uses random experts, synthetic data, and reward-based filtering for self-improvement. The method retained knowledge across continual translation with near-zero degradation, scaled to 10M-token contexts, achieved 48.9% and 46.2% on factual evaluations, and improved mathematical reasoning.

Tangled – We need a federation of forges

blog.tangled.org · 29 Apr

Git · Open Source · Computer Science

Tangled is a decentralized code collaboration platform that aims to reduce reliance on GitHub.

By combining the Git protocol with the AT protocol, it allows developers to federate repositories across different servers, known as knots. This enables cross-server collaboration, pull requests, and social features while maintaining the decentralization of systems like email or IRC.

The bitter lesson for agent memory

hatchery.build · 2 Dec

Artificial Intelligence · Large Language Models · Machine Learning · Computer Science · AI Agents

Agent memory systems can match or outperform specialised designs by letting agents search their own event logs with SQL and FTS5.

The authors argue that ingest-time compression—facts, graphs, summaries, or notes—can discard task-relevant information, whereas event-log search defers compression until query time. They propose an immutable event log with hierarchical derived views, combining open-loop consolidation with closed-loop, agent-driven retrieval and updates that scale with model intelligence.

FrameBook

fb.edoo.gg · 8 Mar

Hardware · macOS · Computer Science

A hobbyist successfully retrofitted a 2006 black polycarbonate MacBook (A1181) with a Framework Mainboard.

The project involved 3D printing custom standoffs, soldering USB-C connections for the original keyboard and trackpad, and integrating a custom LED for the glowing Apple logo. The result is a 'Framebook' combining vintage aesthetics with modern performance.

Agent swarm trying to solve P vs. NP

pequalnp.com · 22 Nov

Artificial Intelligence · Mathematics · Computer Science · AI Agents

A coordinated fleet of AI agents is working live on the open P vs.

NP problem. The system records agent sessions, checked lemmas, conjectures, refutations, and approaches ruled dead in a structured feed. Its displayed weights count checked lemmas targeting each answer; they are not probabilities or proofs. The project runs on a hub, is visualized in Brilliant, and lets observers follow individual programs and inspect the latest record.

Overestimation of microplastics potentially caused by scientists' gloves

news.umich.edu · 26 Mar

Science · Environment · Computer Science

A University of Michigan study reveals that nitrile and latex gloves can cause overestimation of microplastics in environmental samples.

Stearate coatings on these gloves create particles that mimic microplastics, leading to false positives during analysis. Researchers recommend using cleanroom gloves or advanced chemical differentiation techniques to maintain data accuracy and avoid contamination.

Building a Procedural Hex Map with Wave Function Collapse

felixturner.github.io · 9 Mar

Algorithms · Performance · Computer Science

Interactive developer Felix Turner created a procedural 3D medieval map generator using Three.js, WebGPU, and the Wave Function Collapse (WFC) algorithm.

By implementing a hexagonal grid with 4,100 tiles, the project overcomes complex tiling constraints through multi-grid solving and backtracking. It features high-performance rendering via BatchedMesh and custom TSL shaders for atmospheric visual effects.

Every Byte Matters

fzakaria.com · 1 Jun

Low-Level Programming · Performance · Computer Science

Performance optimization requires understanding hardware-level data access.

By shifting from an Array of Structs to a Struct of Arrays, developers can improve cache utilization. Aligning data structures with CPU cache line sizes and minimizing working set sizes significantly reduces memory latency, especially in random access scenarios where CPU prefetching is ineffective.

Stop Anthropomorphisizing Intermediate Tokens: Qwen3.8 doesn't "overthink"

arxiv.org · 19 Aug

Ethics · Computer Science

This position paper argues that labeling Intermediate Token Generation (ITG) outputs as “reasoning traces” or “thinking traces” dangerously anthropomorphizes language models.

Such framing can misrepresent how models operate, mislead users about interpretability, and encourage questionable research. The authors urge the community to adopt more accurate terminology and avoid treating intermediate tokens as human-like thought processes.

PlayStation 2 Recompilation Project Is Absolutely Incredible

redgamingtech.com · 27 Jan

Hardware · Open Source · Computer Science

The PlayStation 2 continues to be celebrated for its vast library, yet aging hardware has led enthusiasts toward emulation.

While emulators like PCSX2 offer features like upscaling and texture packs, a new project called PS2Recomp aims to surpass these methods through static recompilation. This tool targets the unique PS2 architecture, including the Emotion Engine CPU, to create native versions of games for Windows and Linux. Unlike emulation, native recompilation offers better performance on lower-end hardware, unlocked frame rates without physics glitches, and deeper community-driven enhancements like Ray Tracing. This effort represents a significant milestone in game preservation, drawing inspiration from successful N64 recompilation projects like those for Mario 64 and Zelda.

Where it came fromHacker NewsRedditLobstersGitHubGoogle ResearchCreate a Snapbyte.dev digest and choose Computer Science as one of your topics.Build your digest