frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Timelog – C-native, fast, in-memory LSM-style time index for Python

https://github.com/VldChk/timelog
1•vld_chk•2h ago
I built *Timelog*, a Python library for time-indexed workloads with a C17 core and CPython bindings. My goal was to make [t1, t2) as first-class citizens and enable fast workloads under out-of-boundary semantics.

- PyPI package: `timelog-lib` - Import: `from timelog import Timelog` - Model: in-memory, LSM-inspired layered index, timeseries queries as first-class citizens - Query semantics: half-open ranges `[t1, t2)`, snapshot-consistent reads, zero-copy views - Correctness focus: sequenced range deletes, so insert → delete → reinsert behaves correctly - Concurrency model: single writer, concurrent readers - Complexity: ~O(1) insert; O(log N + M) with bounded fanout range queries; ~O(log N) point lookup; O(C) deletion where C is number of overlapping active tombstones - Benchmarks: in C engnine-only benchmarks Timelog reaches 20M+ inserts/sec; ~1M/sec range scans. Python end-to-end throughput is constraint by Python object creation

Install: ```bash pip install timelog-lib # or uv add timelog-lib ```

Quick example: ```python from timelog import Timelog

log = Timelog(time_unit="ms") log.append(1772964242, "A") del log[1772964244] # log.delete() log.append(1772964246, [39, "B"]) print(log[1772964246]) # [[39, 'B']] print(list(log[1772964242:1772964246])) # [(1772964242, 'A')] ```

V1 limitations: - No in-built flush-to-disk/read-from-disk method (persistent copy) - `.copy()` and `.copy(deep=True)` not supported yet.

I’d value feedback on API design, semantics clarity, and where this fits vs existing options.

Show HN: SnapDrift – a pluggable visual regression workflow for GitHub Actions

https://github.com/ranacseruet/snapdrift
1•ranacseruet•29s ago•0 comments

Judge blocks Perplexity's bot Amazon shopping in early test of agentic commerce

https://www.geekwire.com/2026/judge-blocks-perplexitys-ai-bot-from-shopping-on-amazon-in-early-te...
1•spenvo•1m ago•0 comments

Ask HN: What would a developer-first alternative to Shopify look like?

1•google_mfg•1m ago•0 comments

Benchmarking Culture

https://www.argmin.net/p/benchmarking-culture
1•bearseascape•3m ago•0 comments

Slate Auto switches CEOs ahead of launch later this year

https://sherwood.news/tech/tesla-killer-slate-auto-switches-ceos-ahead-of-launch-later-this-year/
1•avonmach•4m ago•0 comments

New ways to learn math and science in ChatGPT

https://openai.com/index/new-ways-to-learn-math-and-science-in-chatgpt
1•meetpateltech•6m ago•0 comments

Show HN: Emotive Engine – I wrote 8 elemental shaders to prove one pattern works

https://github.com/joshtol/emotive-engine
1•emotiveengine•6m ago•0 comments

Turbopuffer: Object Storage-native Database for Search [video]

https://www.youtube.com/watch?v=pqoRNwNaxfs
1•gmcabrita•9m ago•0 comments

Who's a Better Writer: A.I. Or Humans? Take Our Quiz

https://www.nytimes.com/interactive/2026/03/09/business/ai-writing-quiz.html
2•tiahura•9m ago•0 comments

Tommy DeCarlo, Boston Fan Who Became Their Lead Singer, Dead at 60

https://www.rollingstone.com/music/music-news/tommy-decarlo-boston-singer-dead-obituary-1235527355/
2•bookofjoe•10m ago•2 comments

The Bay Area Considers the Unthinkable: Life Without BART

https://www.nytimes.com/2026/03/10/us/bart-bay-area-san-francisco-transit.html
2•mitchbob•11m ago•0 comments

A Methodological Critique of "First Proof" (Abouzaid et al., 2026)

1•Beo_VN•11m ago•0 comments

Umbra Open Data Tracker

https://github.com/bellingcat/umbra-open-data-tracker
1•marklit•12m ago•0 comments

Show HN: A tool for arranging photos for home-printing without wasting paper

https://dj-louw.github.io/photo-collage-printer/
1•beAbU•12m ago•0 comments

I've never parented a 6-year-old child. But I've dealt with macOS system updates

https://ihnatko.com/ive-never-had-the-experience-of-parenting-a-6-year-old-child-but-ive-dealt-wi...
3•brie22•13m ago•0 comments

Rising Air-Conditioning Use Intensifies Global Warming

https://www.nature.com/articles/s41467-026-69393-1
3•PaulHoule•14m ago•0 comments

Exigy Shareware Construction Kit

https://exigy.org/about
1•rainingmonkey•14m ago•0 comments

Every paper published in the Bridges Conference on art and mathematics

https://archive.bridgesmathart.org/#gsc.tab=0
1•futurecat•14m ago•0 comments

I built a RabbtiMQ UI alternative because its not 2005 anymore

https://github.com/AgdirAS/rask.agdir.farm
1•xnf•14m ago•1 comments

How God Got So Great

https://www.newyorker.com/magazine/2026/03/09/how-god-got-so-great
3•bookofjoe•16m ago•1 comments

Texas women used crow drones to fly drugs into Louisiana prison

https://www.fox4news.com/news/texas-women-use-crow-drones-fly-drugs-louisiana-prison-authorities-say
2•randycupertino•17m ago•0 comments

Local-First CI/CD with Makefiles

https://shipyard.build/blog/local-first-cicd-with-makefiles/
1•alwillis•17m ago•0 comments

I'm 21 and My Startup Scalify.ai Is Going Viral

https://www.scalify.ai
2•josh-ternyak•17m ago•0 comments

Show HN: RunAnwhere – Faster AI Inference on Apple Silicon

https://github.com/RunanywhereAI/rcli
16•sanchitmonga22•18m ago•0 comments

"This guy's arrogance takes your breath away" (2016)

https://medium.com/@acidflask/this-guys-arrogance-takes-your-breath-away-5b903624ca5f
1•tosh•19m ago•0 comments

The evolution of Mac app window corners

https://lapcatsoftware.com/articles/2026/3/4.html
2•zdw•20m ago•0 comments

Gateproof: Build Software in Reverse

https://gateproof.dev/
1•handfuloflight•21m ago•0 comments

Philippines shifts to four-day work week as Iran war pushes oil prices up

https://www.channelnewsasia.com/asia/philippines-four-day-work-week-iran-us-war-oil-fuel-prices-f...
4•vishalontheline•21m ago•2 comments

Kung Fu: The Way of Violence Has No Mind [video]

https://www.youtube.com/watch?v=D6nvqmsz9do
3•jamesgill•22m ago•0 comments

Team simulates a living cell that grows and divides

https://news.illinois.edu/team-simulates-a-living-cell-that-grows-and-divides/
2•gmays•23m ago•0 comments