HackerNews Digest

May 18, 2026

GenCAD

GenCAD is an image‑conditional generative model that produces fully parameterized CAD programs, not just 3D solids. It addresses the difficulty of training AI on complex CAD data structures (e.g., B‑rep) by learning joint representations of CAD command sequences and reference images. The architecture comprises four stages: (1) an autoregressive transformer encoder for latent encoding of CAD command sequences; (2) a contrastive learning module that aligns latent spaces of CAD commands and CAD images; (3) a latent diffusion model that generates CAD‑latent vectors conditioned on images; and (4) a decoder that translates these latents into executable parametric CAD commands. By outputting the complete CAD command history, GenCAD enables accurate, modifiable models suitable for engineering, manufacturing, and design space exploration, surpassing mesh, voxel, or point‑cloud approximations.
Read full article →
The feedback is largely skeptical, noting that while the demo appears interesting, it offers limited practical value for complex CAD work. Commenters emphasize that essential steps such as defining dimensions, tolerances, and constraints remain unresolved, and the tool struggles with real‑world or hand‑drawn images. Setup difficulties, sparse examples, and poor mobile rendering further diminish confidence. Comparisons to established solutions like OpenSCAD highlight a preference for more mature workflows, and there is interest in tighter LLM integration and broader format support, but overall the utility is viewed as limited.
Read all comments →

I turned a $80 RK3562 Android tablet into a Debian Linux workstation

The repository provides **rkdebian**, a build system that creates a bootable Debian 12 (Bookworm) image for the Doogee U10 tablet (Rockchip RK3562). The image runs from an SD card, leaving the internal eMMC untouched; removing the card restores Android. It includes U‑Boot, a 6.1‑kernel (or firefly‑5.10), and a root filesystem built via debootstrap. Build dependencies are installed on an x86‑64 host, and the `build.sh` script supports targets such as `all`, `image`, `updatepkg`, and various configuration flags (UI session, GPU stack, display server, CPU governor, rootfs size, etc.). The system supports local LLM inference on the RK3562 NPU using Rockchip’s RKLLM stack; a sample conversion for Qwen 3‑0.6B (W8A8 quantization, 1 NPU core, optimization 0) shows ~1.8 s latency versus ~4.8 s for Qwen 2.5‑1.5B. Additional features include camera drivers (s5k5e8, s5k4h5yb), flashlight control, power‑profile mapping, and OTA update handling via `rk-apply-update`. Third‑party components (Mali GPU, Rockchip MPP, Seekwave Wi‑Fi/BLE) are included under their respective licenses.
Read full article →
The comments show strong enthusiasm for running Debian on low‑end ARM tablets, emphasizing the appeal of lightweight desktop environments, SD‑card booting, and the ability to repurpose devices with modest RAM. Users express curiosity about performance, compatibility with specific Debian releases, and input‑method completeness, while also noting concerns about Android’s sluggishness, limited vendor documentation, and potential cost spikes. Several remarks praise AI assistance in reverse‑engineering and driver development, reflecting optimism about extending hardware usefulness despite practical uncertainties.
Read all comments →

Ask an Astronaut: 333 hours of Q&A footage with astronauts

The provided excerpt consists solely of the title “Ask an Astronaut” and contains no additional content to summarize.
Read full article →
The comments express strong appreciation for the project, highlighting its innovative use of technology and the novelty of the astronaut interview content. Users commend the concept and execution, noting it as a compelling example of what can be achieved with current tools. Suggestions focus on improving usability, specifically adding reliable astronaut identification and fixing transcript lag or omissions. No significant criticism or disagreement appears, and the overall tone remains enthusiastic and supportive of the initiative.
Read all comments →

Prolog Coding Horror

The page critiques common Prolog antipatterns and demonstrates how impurity and outdated constructs hinder declarative programming. Key issues listed are: loss of solutions (incorrect or missing answers), reliance on global state, impure I/O (e.g., `format/2` within predicates), and use of low‑level arithmetic (`is/2`) that forces procedural evaluation. An example, `horror_factorial/2`, uses `is/2` and a cut, causing instantiation errors and limiting query generality. A pure alternative replaces `is/2` with constraint‑logic programming operators (`#>`, `#=`) and omits cuts, yielding a relational factorial that correctly enumerates all solutions (`N=0,1,2,…`). The author concludes that adopting pure, constraint‑based definitions eliminates these “horrors” and restores declarative debugging capabilities.
Read full article →
The comments express enthusiasm for Prolog, highlighting its intellectual appeal and recommending further reading on meta‑interpreters and the four‑port model. There is curiosity about practical, real‑world applications, with some perceiving it as niche or esoteric compared to other languages. A discussion of tolerance for partially correct answers reflects a theoretical openness, while newer “LLM‑augmented” Prolog systems are viewed skeptically, considered imprecise and overhyped. Overall, the sentiment balances appreciation for Prolog’s concepts with cautious doubt about its contemporary extensions.
Read all comments →

A Good Lemma Is Worth a Thousand Theorems (2007)

Doron Zeilberger argues that a good lemma outweighs many theorems in mathematical impact. He cites well‑known lemmas—Schur’s Lemma, Lovász’s Local Lemma, and especially Szemerédi’s Regularity Lemma—as examples of tools that have generated major advances, including two Fields Medals and the Green‑Tao theorem on arithmetic progressions in primes via a hypergraph extension. Zeilberger emphasizes that lemmas “do the work” while theorems receive credit, and that a valuable lemma must (1) apply broadly across diverse problems, (2) become instantly obvious once seen, and (3) possess an aesthetically pleasing proof. He references the “Lattice Paths and Determinants” chapter in Aigner & Ziegler’s *Proofs from THE BOOK* and notes that observations can be even more significant than lemmas.
Read full article →
The comments express strong enthusiasm for simple, obvious ideas such as lemmas that reshape thinking, highlighting the practical impact of foundational tools like the Axiom of Choice, Zorn’s Lemma, and the coyoneda lemma in both theory and industry. They draw parallels to broader principles that value brevity and durability, and suggest that fields built on these concepts, like homological algebra, are exceptionally productive and widely applicable.
Read all comments →

Two EA-18 fighter jets collide at Mountain Home airshow, pilots ejected safely

Two U.S. Navy EA‑18G Growler jets from Electronic Attack Squadron 129 collided during an aerial demonstration at the “Gunfighter Skies” airshow on Sunday at Mountain Home Air Force Base, about 80 km south of Boise. All four crew members ejected safely and were examined by medical personnel; no one on the base was injured. The base locked down and Idaho State Highway 167 was closed for a multi‑day investigation. Spectator video shows the jets contact, spin together, and explode on impact. Weather at the time was clear with wind gusts up to 29 mph. The show, the first at the base since 2018, also featured the U.S. Air Force Thunderbirds. Historical references note a 2003 Thunderbirds crash, a 2022 fatal collision at a Dallas airshow, and a long‑term decline in airshow fatalities—none since 1952. Officials, including Col. David Gunter and the Silver Wings of Idaho board, emphasized crew safety and the effectiveness of emergency response.
Read full article →
Comments express mixed reactions: many criticize deploying costly, specialized electronic‑warfare aircraft for aerobatic displays, viewing it as wasteful and risky for taxpayers, while others admire the pilots’ skill and note the successful ejection of all four crew members as a positive outcome. There is curiosity about the maneuver attempted, the physics of the mid‑air collision, and the decision‑making process for ejection. Overall, the discussion balances concern over expense and safety with appreciation for the rescue equipment and the pilots’ performance.
Read all comments →

Show HN: Semble – Code search for agents that uses 98% fewer tokens than grep

Semble is a CPU‑only code‑search library designed for LLM agents. It indexes a repository in ~250 ms and answers queries in ~1.5 ms, offering ~200× faster indexing and ~10× faster retrieval than a code‑specialized transformer while attaining NDCG@10 = 0.854 (≈99 % of a 137 M‑parameter model). The system splits files into code‑aware chunks (via Chonkie) and scores queries with two static retrievers: Model2Vec embeddings (potion‑code‑16M) for semantic similarity and BM25 for lexical matching. Scores are fused by Reciprocal Rank Fusion and re‑ranked using adaptive weighting, definition boosts, identifier‑stem matching, file‑coherence, and noise penalties (e.g., test files, .d.ts). Results are returned as minimal chunks, reducing token usage by ~98 % compared with grep‑plus‑read workflows. Semble can run as an MCP server for agents such as Claude Code, Cursor, Codex, OpenCode, or as a standalone CLI (`semble search`, `semble find‑related`). Installation is via `pip install semble` or `uv`, and token savings are tracked in `~/.semble/savings.jsonl`. The project is MIT‑licensed and citable via Zenodo.
Read full article →
The discussion reflects broadly favorable interest in the semantic code‑search tool, with many noting its speed, token‑efficiency and potential advantages over plain grep and conventional LSP approaches. Participants compare it to existing projects, request more rigorous agent‑level benchmarks, and explore integration details such as language coverage and compatibility with other harnesses. Concerns arise about the reliability of token‑saving metrics, the impact on agent behavior, and the need for clearer documentation and evaluation, while suggestions for implementation language and benchmark extensions are also mentioned.
Read all comments →

WriteUp: 16 Bytes of x86 that turn Matrix rain into sound

Released at Outline Demoparty May 2026, “wake up! 16b” is a 16‑byte x86 real‑mode DOS program that uses the VGA text buffer (DS = 0xB800) as a calculation canvas to generate an infinite Sierpinski fractal while simultaneously driving the PC speaker. After BIOS int 10h sets 40×25 text mode (character 0x20, attribute 0x07), the loop performs `lodsb`, `sub si,57` (net –56 bytes per iteration), `xor [si],al`, and `out 61h,al`. Modeling the algorithm with 16‑byte steps shows a running prefix sum whose values follow 2·C(k+p, p‑1) (mod 256); replacing addition with XOR isolates bit 1, yielding Rule 60 cellular automaton behavior that maps directly to the Sierpinski triangle. The `out 61h,al` instruction toggles speaker bit 1, producing square‑wave audio whose rhythm mirrors the fractal’s geometry. The –56‑byte stride visits only addresses multiples of 8, requiring 8 192 iterations (seven wraps) and halving the audio frequency (one octave lower). Spatially, –56 ≡ 24 (mod 80) bytes shifts the pattern 12 columns right per step, resulting in ten evenly spaced vertical columns. Output varies with initial memory contents; a full clear would improve determinism but exceeds the 16‑byte constraint.
Read full article →
The passage presents a purely technical exposition of the 16‑byte “wake up! 16b” demo, describing its use of video memory to generate a Sierpinski fractal via a Rule‑60 cellular automaton and to drive the PC speaker through direct port output. It emphasizes the role of XOR operations, memory layout, and hardware quirks in shaping both visual patterns and audio tones, maintaining an objective, detail‑focused tone without expressing evaluative sentiment or contrasting viewpoints.
Read all comments →

Sense Humans with WiFi – Ruview

The comments convey mixed reactions, noting that the concept appears overly influenced by AI trends while also recognizing the novelty of the approach. Technical concerns focus on the difficulty of maintaining efficiency in always‑on sensing, specifically avoiding unnecessary processor cycles when the environment remains unchanged, as many existing systems still rely on continuous polling. Overall, there is both skepticism about the AI framing and acknowledgment of practical implementation challenges.
Read all comments →

Cannibalistic attacks between gray seals leave telltale “corkscrew” injuries

None
Read full article →
The comments express curiosity about why seal predators consume only select parts of their prey and whether similar behavior occurs in other species, while questioning the role of human intervention in natural population dynamics. They highlight observations of brood reduction in birds and compare it to infanticide in mammals, noting the difficulty of studying such events. A recurring theme is skepticism toward idealized views of nature, emphasizing that wildlife interactions can be harsh, opportunistic, and governed by ecological pressures rather than moral considerations.
Read all comments →