frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Grab – A declarative stream processor for delimited text data

https://github.com/anwitars/grab
2•anwitars•2h ago
I built grab because I wanted a more readable way to handle delimited data (CSV, TSV, whitespace) than the usual mix of awk and cut. It replaces cryptic 'schema' like $11 with a declarative one.

The goal was to build something with just enough features to serve a better UX while staying fast enough to stay out of the way.

  ps aux | grab -d whitespace -m user,pid,cpu,mem,_:4,start,time,command:gj --json --skip 1
  # Result:
  # {"user":"root","pid":"1","cpu":"0.0","mem":"0.0","start":"Mar10","time":"0:03","command":"/sbin/init"}
  # ...

  
Key points:

- Readable mappings: Define schemas like <name> to map columns to fields, with support for <name>:N for aggregating multiple columns into arrays, <name>:g for greedy mapping (into arrays), _ to skip columns and even <name>:Nj to join multiple columns into a single field.

- Performance: Zero-copy tokenization in Rust. It processes ~17.1M fields/sec. On my machine, it shapes a ps aux dump into JSON in about 13ms.

- Schema enforcement: By default, it tells you exactly which line failed and why on stderr, rather than silently producing garbled data.

- Small & static: Single 800KB binary, zero dependencies.

I’m sharing it now to see if this "schema-first" approach to shell piping feels as useful to others as it has been for me.

Repo: https://github.com/anwitars/grab

Crates.io: https://crates.io/crates/grab-cli

Russia's new elite hit squad was compromised by a lapse in tradecraft

https://theins.press/en/inv/290235
1•dralley•1m ago•0 comments

Notes from the trough of sorrow: why we killed our own product

1•timshell•2m ago•0 comments

Q&A: Why does gas set the price of electricity – and is there an alternative?

https://www.carbonbrief.org/qa-why-does-gas-set-the-price-of-electricity-and-is-there-an-alternat...
1•mariuz•3m ago•0 comments

Rescreen: Give agents control of your screen, securely

https://github.com/ygwyg/rescreen
1•handfuloflight•3m ago•0 comments

Depot Raised a $10M Series A

https://depot.dev/blog/depot-raises-series-a
2•eatonphil•4m ago•0 comments

How Predictable Are the Oscars?

https://futuresearch.ai/oscars/
4•nbosse•8m ago•1 comments

Revealed: Face of 75,000-year-old female Neanderthal from cave

https://www.cam.ac.uk/stories/shanidar-z-face-revealed
3•thunderbong•8m ago•0 comments

AI agent 'lobster fever' grips China despite risks

https://techxplore.com/news/2026-03-ai-agent-lobster-fever-china.html
2•Brajeshwar•8m ago•0 comments

LDP: Identity-Aware Routing for Multi-Agent LLMs – 37% Less Tokens

https://arxiv.org/abs/2603.08852
1•prakashsunil•10m ago•0 comments

When code is free, research is all that matters

https://twitter.com/amytam01/status/2031072399731675269
1•gmays•10m ago•0 comments

Lessons from scaling ClickHouse to petabytes of AI observability data

https://langfuse.com/blog/2026-03-10-simplify-langfuse-for-scale
2•marcklingen•11m ago•0 comments

Self-Driving Corporations (2020)

https://interconnected.org/home/2020/11/17/self_driving_corporations
1•alcazar•12m ago•0 comments

The Colorado River Does Not Reach 2030

https://drlennecefer.substack.com/p/the-colorado-river-does-not-reach
1•ThemalSpan•12m ago•0 comments

I built a GDPR analytics alternative to Google Analytics

https://eurometrics.eu
1•snesmachny•12m ago•0 comments

Lost in Backpropagation: The LM Head Is a Gradient Bottleneck

https://arxiv.org/abs/2603.10145
1•famouswaffles•12m ago•0 comments

The web in 1000 lines of C

https://maurycyz.com/projects/tinyweb/
1•maurycyz•14m ago•0 comments

Treat Interfaces as Organizational Treaties

1•davidvartanian•15m ago•0 comments

Open source UnigetUI bought by Devolutions Inc

https://github.com/Devolutions/UniGetUI/discussions/4444
2•erremerre•15m ago•0 comments

Ask HN: Best Practices for Agent Airgapping?

1•bmau5•17m ago•0 comments

Ask HN: App for clean movie/TV shorts?

3•dev181•17m ago•0 comments

How an Electrician from Kentucky Built an AI Startup with Claude

https://twitter.com/vivilinsv/status/2031826324667711774
1•pretext•18m 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
1•A_Duck•20m ago•1 comments

Show HN: MaximusLLM, Breaking transformer's O(N^2) and O(V) scaling bottlenecks

https://github.com/yousef-rafat/MaximusLLM/tree/main
1•yousef_g•21m ago•0 comments

Show HN: We built a billion row spreadsheet

https://rowzero.com
1•breckognize•21m ago•0 comments

Indiehacking: Lessons from 9K USD in Facebook Ad Spend [video]

https://www.youtube.com/watch?v=xoe_l67ZReU
3•mesmertech•22m ago•1 comments

Show HN: Thermal Receipt Printers – Markdown and Web UI

https://github.com/sadreck/ThermalMarky
1•howlett•22m ago•0 comments

Harness Engineering for Coding Agents

https://www.humanlayer.dev/blog/skill-issue-harness-engineering-for-coding-agents
2•0xblacklight•22m ago•0 comments

Amazon AI Outage Financial Times Correction

https://www.aboutamazon.com/news/company-news/amazon-outage-ai-financial-times-correction
2•super_linear•23m ago•0 comments

Bike and walking trails lose millions under Trump

https://rhodeislandcurrent.com/2026/03/13/repub/bike-and-walking-trails-lose-hundreds-of-millions...
4•chmaynard•25m ago•0 comments

Xnxx

1•zhhshs•25m ago•0 comments