frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Plot lines of code over time in Git repositories

https://github.com/emanueldonalds/git-loc-plot
2•genericspammer•11mo ago
It's a small wrapper around cloc (https://github.com/AlDanial/cloc), which just provides a convenient way to plot lines of code over time in a Git repository.

The script runs cloc on each commit in your current branch, starting from HEAD tracing back until the first commit.

For large repositories with many commits, you can tell it to only count every n:th commit with the '--step' option to speed up processing.

The way it works is quite sub-optimal, since every single file is counted in each commit, even if the file didn't change since last iteration. Might be a fun project later to find some nice optimizations, maybe by counting files one by one and keeping a dict of line count by file hash, or something along those lines.

Maybe someone will find this script useful, maybe not, anyways happy to hear if someone has any thoughts :)

US Space Command: Russia is now operationalizing orbital anti-satellite weapons

https://arstechnica.com/space/2026/04/us-space-command-russia-is-now-operationalizing-co-orbital-...
1•voxadam•1m ago•0 comments

Modern cults are replacing leaders with 'life coaches'

https://english.elpais.com/society/2026-04-11/modern-cults-are-replacing-leaders-with-life-coache...
1•geox•1m ago•0 comments

Canonical Releases Ubuntu 26.04 LTS Resolute Raccoon

https://canonical.com/blog/canonical-releases-ubuntu-26-04-lts-resolute-raccoon
1•trojanowski•4m ago•0 comments

Why You Should Work at a Startup in 2026

https://dharmasamu.com/blog/why-work-at-a-startup-2026
2•dharmateja03•4m ago•1 comments

Ask HN: How much AI slop do you deal with at work?

1•conqrr•4m ago•0 comments

Agents with similar accuracy to Mythos claims do Apple MacBook M5/A18 pro audit

https://github.com/dmaynor/apple-vuln-research
1•dmaynor•5m ago•1 comments

First G-SHOCK with a heart rate monitor, also featuring Smartphone Link

https://gshock.casio.com/intl/products/g-lide/gbx-h5600/
1•luispa•7m ago•0 comments

What did ancient humans do at night?

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

America's Largest Landowner Is Using AI to Digitize the Forest

https://www.wsj.com/tech/ai/americas-largest-landowner-is-using-ai-to-digitize-the-forest-bd3eec86
2•fortran77•10m ago•1 comments

AI galaxy hunters are adding to the global GPU crunch

https://techcrunch.com/2026/04/23/ai-galaxy-hunters-are-adding-to-the-global-gpu-crunch/
1•rustoo•11m ago•0 comments

Brainjo Raised €2M for ADHD VR Therapy

https://www.siliconsnark.com/brainjo-raised-eu2-million-for-adhd-vr-therapy-finally-a-headset-wit...
1•SaaSasaurus•12m ago•0 comments

The active ingredients: physical activity features linked to healthy brain aging

https://link.springer.com/article/10.1186/s13195-026-01998-6
2•PaulHoule•13m ago•0 comments

AI Can Write Data Analysis Code, but Can You Trust the Result?

https://blog.exploratory.io/in-the-age-of-ai-rs-readability-becomes-a-superpower-4e9b59beeabd
3•kanaugust•13m ago•0 comments

AI-assisted Agent Coordination (Claude/codex)

https://github.com/jstuart0/agentpulse
1•Craze0•13m ago•1 comments

What Is Wrong with PaaS Today?

https://blog.appsignal.com/2026/04/23/what-is-wrong-with-paas-today.html
1•NoJamNoJuice•13m ago•1 comments

Show HN: Dual Condition – a cognitive theory of why prompts work

https://dualcondition.com/analyze
1•sschlegel•13m ago•0 comments

Reviving Teletext for Ham Radio

https://spectrum.ieee.org/reviving-teletext-for-ham-radio
2•Brajeshwar•14m ago•0 comments

Los Angeles is finally going underground

https://www.technologyreview.com/2026/04/22/1135449/los-angeles-subway-going-underground/
1•omer_k•14m ago•0 comments

Will fusion power get cheap? Don't count on it

https://www.technologyreview.com/2026/04/23/1136329/fusion-power-cost/
1•joozio•15m ago•0 comments

Ubuntu 26.04 LTS Released

https://ubuntu.com/download/desktop
6•fifteenth•15m ago•0 comments

Red Hat Digital Sovereignty Take: Red Hat Confirmed Sovereign Support

https://techstrong.it/featured/red-hat-digital-sovereignty-take-red-hat-confirmed-sovereign-support/
1•CrankyBear•15m ago•0 comments

Vercel says some of its customers' data was stolen prior to its recent hack

https://techcrunch.com/2026/04/23/vercel-says-some-of-its-customers-data-was-stolen-prior-to-its-...
2•cdrnsf•16m ago•0 comments

Show HN: StillOtter – a minimalist daily planning app

https://stillotter.com
1•mohitgangrade•17m ago•0 comments

Show HN: Seleci – Pre-built AI agents that keeps your business running

1•Seleci•18m ago•0 comments

Box to Save Memory in Rust

https://dystroy.org/blog/box-to-save-memory/
2•emschwartz•18m ago•0 comments

'Hairdryer used to trick weather sensor' to win $34,000 Polymarket bet

https://www.telegraph.co.uk/business/2026/04/23/hairdryer-used-trick-weather-sensor-34000-polymar...
18•zdw•19m ago•2 comments

Live Q&A with Apple on Swift concurrency

https://developer.apple.com/forums/discussions/1483080/live?login=true&u_t=1
1•Austin_Conlon•20m ago•1 comments

Ask HN: ChatGPT, Gemini, Claude or Grok?

3•wasimsk•21m ago•2 comments

Free Gotenberg.dev Instance for You

https://pdf.freestuffsthat.work
1•dd_xplore•23m ago•1 comments

Bambulab against reverse engineering (OrcaSlicer-bambulab plugin)

https://github.com/jarczakpawel/OrcaSlicer-bambulab
4•brovonov•23m ago•0 comments