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 · 767 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

Researchers track whole body movement with just a smartwatch

news.cornell.edu · 11 Nov

Artificial Intelligence · Computer Science

Researchers developed EchoMotion, a system that uses ultrasonic signals from an off-the-shelf smartwatch’s speaker and microphone plus a lightweight AI model to track whole-body pose.

Tested on Samsung Galaxy Watch 6 with 15 new volunteers, it predicted 12 joint positions with under four inches of average error, improving to about 2.4 inches after 12-minute calibration. It used 12 milliwatts and 5%–6% battery in 30 minutes, offering more private, efficient tracking for fitness and rehabilitation.

Dad’s Custom Atari Peripherals

goto10retro.com · 27 Aug

Hardware · History · Computer Science

A memoir of a mechanically inventive father who introduced his children to early computing and videogames through a CMOS KIM-I, Fairchild Channel F, and Atari 400.

He customized joysticks, motion controllers, and keyboards using surplus hardware, enabling better gameplay and practical homework writing while preserving a family history of hands-on computer experimentation.

10 REM"_(C2SLFF4

beej.us · 21 Jul

Low-Level Programming · History · Computer Science

Researchers investigated a cryptic, non-ASCII REM statement at the start of the 1980 game The Wizard's Castle for the Exidy Sorcerer.

They discovered it was a machine code routine to seed the random number generator, stored as bytecode directly in the BASIC listing. Discrepancies between printed code and functional memory reveals the challenges of early home computer programming.

What Is Date:Italy?

aesthetikx.info · 16 May

Programming Languages · Ruby · Computer Science

Ruby's Date class uses Julian Day numbers to handle different historical calendar reforms.

Constants like Date::ITALY and Date::ENGLAND mark the Julian day of the Gregorian switchover for specific regions. These enable consistent date calculations across various historical 'old style' and 'new style' conventions, ensuring accuracy in date manipulation despite shifting global adoption standards.

Computation as a universal and fundamental concept

ergo.org · 10 Jul

Algorithms · Science · Computer Science

Tim Roughgarden explores the foundations of computer science, starting with Alan Turing's limits of computation.

He explains algorithmic efficiency, the P vs NP problem, and the implications of NP-completeness. By analyzing what computers can and cannot do, he provides a fundamental overview of computation, ranging from the halting problem to modern challenges in cryptography and AI.

λProlog: Logic programming in higher-order logic

lix.polytechnique.fr · 20 Feb

Programming Languages · Open Source · Computer Science

lambdaProlog is a logic programming language based on higher-order intuitionistic logic.

It introduced logically supported modular programming, abstract datatypes, and higher-order abstract syntax (HOAS). Developed in the late 1980s, it remains relevant in meta-programming and theorem proving, with modern implementations like Teyjus and ELPI enabling execution in web browsers via OCaml and JavaScript.

Show HN: Stacked Game of Life

stacked-game-of-life.koenvangilst.nl · 28 Feb

Algorithms · Science · Computer Science

The provided content lists various patterns and controls for a simulation involving Conway's Game of Life.

Key patterns such as Acorn, R-Pentomino, Glider, Diehard, Gosper Gun, and Pulsar are mentioned, along with interface options like camera views, randomization, and reset functions to explore cellular automata dynamics.

How the Lobsters front page works

atharvaraykar.com · 18 Jan

Algorithms · Open Source · Computer Science

The article provides a detailed breakdown of the front page ranking algorithm used by Lobsters, an open-source computing-focused community.

The 'hotness' formula combines a tag-based base modifier, a logarithmic order term derived from scores and comments, a sign multiplier for flags, and a linear age factor. Key findings reveal that the system prioritizes new content by ensuring age eventually outweighs votes, while specific gates prevent controversial or low-quality posts from trending. The author highlights that while the algorithm is technically sound at penalizing junk, the site's unique character is primarily shaped by its strict moderation and invite-only culture. Ultimately, the analysis suggests that early individual engagement, such as upvoting and nuanced commenting, significantly impacts story visibility due to the logarithmic nature of the scoring system.

Jurassic Park - Tablet device on Nedry's desk? (2012)

therpf.com · 5 Dec

Hardware · History · Computer Science

A technical inquiry within a film enthusiast community explores the identity of a specific electronic device seen on Dennis Nedry's desk in the movie Jurassic Park.

The user observes a tablet or PDA-like object that bears a striking resemblance to the Motorola Envoy. However, a chronological discrepancy exists because Jurassic Park was filmed and released in 1993, while the Motorola Envoy was officially launched in 1994. This leads to speculation regarding whether the production used a pre-production prototype, an early overseas version, or perhaps a different contemporary device such as a General Magic based platform. Identifying such hardware highlights the intersection of early mobile computing history and cinematic prop selection.

AI, Lean, and the Future of Formal Verification, with Lean Creator Leo de Moura

thedataexchange.media · 29 Oct

Artificial Intelligence · Computer Science

Lean creator Leo de Moura argues that AI-driven autoformalization is making formal verification practical for software and mathematics.

Lean lets developers state properties and produce machine-checked proofs, complementing testing, which finds bugs but cannot prove their absence. AI can translate programs into Lean, though humans must validate specifications and model fidelity. De Moura envisions verified stacks and agent sandboxes, with formal policies and independently implemented kernels. Mathlib has 2.5 million lines, and engineering roles may shift toward requirements and proofs.

Fermat's Last Theorem in Lean 4

github.com · 4 Sept

Programming Languages · Mathematics · Computer Science

A research artifact provides a complete, machine-checked proof of Fermat’s Last Theorem in Lean 4.33.1 using Mathlib, with no sorry, native_decide, or added axioms.

Lean’s kernel, leanprover/comparator, and an independent Rust kernel nanoda validate the result. It includes proof-path documentation, offline HTML browsing, and reproducible build/check scripts, but requires substantial hardware and is unmaintained.

Show HN: Micropolis/SimCity Clone in Emacs Lisp

github.com · 5 Feb

Design Patterns · Software Architecture · Computer Science

ElCity is an innovative, turn-based city builder designed to run entirely within the Emacs text editor.

Featuring an ASCII-based user interface optimized for terminal sessions, it serves as a practical demonstration of the 'functional core / imperative shell' architectural pattern. The project emphasizes a strong separation between state and effects, utilizing a custom Domain Specific Language (DSL) to define tile types. By maintaining a deterministic and pure core simulation, the developer ensures the code is easily testable, scalable, and manageable for both humans and AI agents. Key gameplay elements include road connectivity, power distribution, and a zone-based economy where Residential, Commercial, and Industrial areas interact. The project requires Emacs 30.1+ and utilizes modern development practices such as ERT for testing and Eask for dependency management. This makes ElCity not only a functional game but also a sophisticated example of software engineering within a text-centric environment.

An introduction to uncertainty in machine learning

chrhenning.com · 26 Nov

Artificial Intelligence · Machine Learning · Computer Science

Machine learning models always encode assumptions about uncertainty, whether explicit or implicit.

The article distinguishes aleatoric uncertainty, irreducible given the inputs, from epistemic uncertainty caused by limited knowledge, and separates approximation uncertainty from model misspecification. Gaussian MSE regression can confidently predict dangerous averages when the model cannot represent multiple outcomes; richer likelihoods and Bayesian inference help, while conformal prediction provides coverage guarantees without ensuring useful sets. Whether uncertainty must be faithful depends on the decision, data, costs, and domain assumptions.

Curvature Beziers: Improving on a timeless recipe

acko.net · 24 Aug

Algorithms · Mathematics · Computer Science

The article proposes curvature-aware Bezier editing that preserves endpoint curvature and continuity, replacing misleading tangent-length controls with curvature handles.

It derives tangent lengths from endpoint geometry and curvature via a quartic system, then uses weighted solution selection to avoid jumps and loops. The approach remains compatible with classic Bezier tools, while noting S-bend and inflection ambiguities.

Unicode's transliteration rules are Turing-complete

seriot.ch · 8 Jul

Algorithms · Programming Languages · Computer Science

Unicode UTS #35 transliteration rules, used globally in the ICU library, are Turing-complete.

By leveraging unbounded rewriting and a revisiting cursor, these rules can simulate any 2-tag system, cellular automata like Rule 110, or Turing machines. This finding reveals that locale data files are essentially executable programs, posing potential security implications for systems processing untrusted transliteration rules.

Synthesis is harder than analysis

surfingcomplexity.blog · 3 Jul

Science · Mathematics · Computer Science

This article explores the relationship between differential and integral calculus, noting that differentiation is a local operation while integration is global.

Drawing on the Fundamental Theorem of Calculus, it argues that synthesis is inherently harder than analysis. This concept is applied to SRE, emphasizing the necessity of mastering system-wide interactions to resolve complex operational incidents effectively.

Index, Count, Offset, Size

tigerbeetle.com · 16 Feb

Low-Level Programming · Programming Languages · Computer Science

The article discusses improving code reliability through strict naming conventions for indexing, especially in low-level languages like Zig and Rust.

By consistently using Index, Count, Offset, and Size, developers can visually detect off-by-one errors and memory bugs. This approach complements static typing by making logical errors obvious through variable suffixes and consistent name lengths.

Amiga Graphics Archive

amiga.lychesis.net · 29 Jul

History · Culture · Computer Science

Launched in 1985, the Commodore Amiga revolutionized personal computing with advanced custom chipsets that delivered unprecedented graphics capabilities.

This platform remains a benchmark for early digital art, and this site serves as a dedicated archive for graphics created using or specifically designed for the Commodore Amiga home computer system.

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