frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Fc, a lossless compressor for floating-point streams

https://github.com/xtellect/fc
14•enduku•2d ago

Comments

enduku•2d ago
I built "fc", a C library for compressing streams of 64-bit floating-point values without quantization.

It is not trying to replace zstd or lz4. The idea is narrower: take blocks of doubles, try a set of float-specific predictors/transforms/coders, and emit whichever representation is smallest for that block.

It is aimed at time-series, scientific, simulation, and analytics data where the numbers often have structure: smooth curves, repeated values, fixed increments, periodic signals, predictable deltas, or low-entropy mantissas.

The API is intentionally small: "fc_enc", "fc_dec", a config struct, and a few counters to inspect which modes won. Decode is parallel and meant to be fast; encode spends more CPU searching for a better representation.

Current caveats: x86-64 only for now, tuned for IEEE-754 doubles, research-grade rather than production-hardened.

Repo: https://github.com/xtellect/fc

gus_massa•1d ago
Does it assume the floats come from photos or sound or something?
enduku•4h ago
It is intended t obe mainly source agnostic (will try to add custom source predictors too). The idea is to treat input as an ordered stream of doubles and look for numeric structure like repeats, smooth deltas, fixed increments, or low-entropy bits. Target presentlyis scientific/time-series/simulation/analytics data, not photos or sound.
Scaevolus•29m ago
I see you have ALP, but have you tried Chimp128 or Arrow's byte stream split?

Tell NYT, Atlantic, USA Today to Keep Wayback Machine

https://www.savethearchive.com/newsleaders/
105•doener•2h ago•15 comments

Restore full BambuNetwork support for Bambu Lab printers

https://github.com/FULU-Foundation/OrcaSlicer-bambulab
137•Murfalo•3h ago•56 comments

Googlebook

https://googlebook.google/
602•tambourine_man•7h ago•1011 comments

My graduation cap runs Rust

https://ericswpark.com/blog/2026/2026-05-12-my-graduation-cap-runs-rust/
40•ericswpark•1h ago•5 comments

Kraftwerk's radical 1976 track

https://www.bbc.com/culture/article/20260511-kraftwerks-radical-1976-track-radioactivity-became-a...
55•tcp_handshaker•2h ago•17 comments

How to make your text look futuristic (2016)

https://typesetinthefuture.com/2016/02/18/futuristic/
206•_vaporwave_•5h ago•24 comments

CERT is releasing six CVEs for serious security vulnerabilities in dnsmasq

https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
231•chizhik-pyzhik•7h ago•115 comments

Show HN: Needle: We Distilled Gemini Tool Calling into a 26M Model

https://github.com/cactus-compute/needle
272•HenryNdubuaku•7h ago•98 comments

Why senior developers fail to communicate their expertise

https://www.nair.sh/guides-and-opinions/communicating-your-expertise/why-senior-developers-fail-t...
365•nilirl•10h ago•177 comments

Fc, a lossless compressor for floating-point streams

https://github.com/xtellect/fc
14•enduku•2d ago•4 comments

Foucault's Order of Things Explained with Trading Cards [video]

https://www.youtube.com/watch?v=1TbHYjGvS68
18•surprisetalk•1d ago•1 comments

Rendering the Sky, Sunsets, and Planets

https://blog.maximeheckel.com/posts/on-rendering-the-sky-sunsets-and-planets/
408•ibobev•12h ago•35 comments

Quack: The DuckDB Client-Server Protocol

https://duckdb.org/2026/05/12/quack-remote-protocol
181•aduffy•7h ago•37 comments

Reimagining the mouse pointer for the AI era

https://deepmind.google/blog/ai-pointer/
133•devhouse•7h ago•113 comments

Lanzaboote – NixOS Secure Boot

https://x86.lol/generic/2022/11/26/lanzaboote.html
40•evilmonkey19•3d ago•6 comments

Learning Software Architecture

https://matklad.github.io/2026/05/12/software-architecture.html
527•surprisetalk•16h ago•107 comments

Launch HN: Voker (YC S24) – Analytics for AI Agents

https://voker.ai
37•ttpost•9h ago•19 comments

The Future of Obsidian Plugins

https://obsidian.md/blog/future-of-plugins/
299•xz18r•9h ago•122 comments

Show HN: Agentic interface for mainframes and COBOL

https://www.hypercubic.ai/hopper
54•sai18•8h ago•30 comments

Bambu Lab is abusing the open source social contract

https://www.jeffgeerling.com/blog/2026/bambu-lab-abusing-open-source-social-contract/
1087•rubenbe•10h ago•360 comments

Dead.Letter (CVE-2026-45185) – How XBOW found an unauthenticated RCE on Exim

https://xbow.com/blog/dead-letter-cve-2026-45185-xbow-found-rce-exim
58•fedek_•7h ago•31 comments

Show HN: Gigacatalyst – Extend your SaaS with an embedded AI builder

38•namanyayg•9h ago•15 comments

When life gives you lemons, write better error messages

https://wix-ux.com/when-life-gives-you-lemons-write-better-error-messages-46c5223e1a2f
110•luispa•4d ago•37 comments

EFF to 4th Circuit: Electronic Device Searches at the Border Require a Warrant

https://www.eff.org/deeplinks/2026/05/eff-fourth-circuit-electronic-device-searches-border-requir...
77•hn_acker•3h ago•8 comments

Show HN: Statewright – Visual state machines that make AI agents reliable

https://github.com/statewright/statewright
72•azurewraith•11h ago•24 comments

Canada’s Bill C-22 Is a Repackaged Version of Last Year’s Surveillance Nightmare

https://www.eff.org/deeplinks/2026/05/canadas-bill-c-22-repackaged-version-last-years-surveillanc...
272•Brajeshwar•8h ago•87 comments

Beyond Semantic Similarity

https://arxiv.org/abs/2605.05242
42•44za12•5h ago•9 comments

Scrcpy v4.0

https://github.com/Genymobile/scrcpy/releases/tag/v4.0
17•xnx•4h ago•2 comments

When "idle" isn't idle: how a Linux kernel optimization became a QUIC bug

https://blog.cloudflare.com/quic-death-spiral-fix/
4•sbulaev•1h ago•0 comments

Instructure pays ransom to Canvas hackers

https://www.insidehighered.com/news/tech-innovation/administrative-tech/2026/05/11/instructure-pa...
233•Cider9986•22h ago•215 comments