frontpage.
newsnewestaskshowjobs

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•1y 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 :)

1•love0972•14s ago

Reviving a four year old reMarkable 2

https://oskrim.github.io/hardware/2026/08/09/remarkable-over-ssh.html
1•tremguy•1m ago•0 comments

Sperm whale communication clicks can travel up to 70 km

https://bio.au.dk/en/about-biology/news-and-events/show/artikel/verdens-kraftigste-clickbait
1•ashurandi•4m ago•0 comments

Data Warehouse Isn't Integrated Just Because the Tables Are in One Place

https://seattledataguy.substack.com/p/your-data-warehouse-isnt-integrated
1•eigenBasis•7m ago•0 comments

Everything You Do Is Being Recorded

https://www.theatlantic.com/technology/2026/05/ai-wearable-surveillance-countermeasures/687203/
2•ike_usawa•9m ago•0 comments

Silencing brain's prefrontal cortex boost creative problem-solving in mice

https://news.emory.edu/stories/2026/08/how-mice-learn-think-out-box-neuroscience-surprise
1•giuliomagnifico•11m ago•0 comments

Show HN: Inspect any MCP server – latency, token usage, and security scans

https://github.com/ytkoka/mcp-tester
1•ytkoka•15m ago•0 comments

Switching to electric stoves can dramatically cut indoor air pollution

https://news.stanford.edu/stories/2025/12/gas-propane-stoves-nitrogen-dioxide-exposure-health-ris...
3•Doriell•20m ago•0 comments

Real Engineers Dig with Their Bare Hands

https://www.minid.net/2026/7/14/how-to-automatise-with-ai
4•meerita•21m ago•0 comments

A quick look at zero-knowledge proofs

https://bernsteinbear.com/blog/zkp/
2•birdculture•21m ago•0 comments

Show HN: Pier – Give every agent session its own cloud VM, on your own infra

https://pier.kak.dev/
1•kasktra•26m ago•0 comments

Hybrid Structured Editing

https://programming-journal.org/2026/11/1/
1•mpweiher•26m ago•0 comments

Myspace eyes comeback as an an 'antidote' to social media fatigue

https://www.cnbc.com/2026/08/09/myspace-comeback-rival-social-media-giants.html
1•pseudolus•27m ago•0 comments

The Analytic Monopoly on AI Philosophy

https://millermanschool.substack.com/p/the-analytic-monopoly-on-ai-philosophy
1•theanonymousone•28m ago•0 comments

Story of Roomy with Handmade Illustrations

https://story.roomy.space
1•jdsane•29m ago•0 comments

India's Republic of Uncles

https://www.economist.com/asia/2026/05/31/indias-republic-of-uncles
2•thunderbong•34m ago•3 comments

If You Get in a Car Crash, the Risk Is Growing Your Insurance Won't Pay

https://www.wsj.com/finance/if-you-get-in-a-car-crash-the-risk-is-growing-your-insurance-wont-pay...
3•impish9208•37m ago•2 comments

Tcl Note A1 Nxtpaper Review (2026): A Hybrid Tablet for Taking Notes and Watchi

https://www.wired.com/review/tcl-note-a1-nxtpaper-tablet/
1•joozio•38m ago•0 comments

One Japanese village defied the tsunami (2011)

https://www.nbcnews.com/id/wbna43018489
1•mpweiher•41m ago•0 comments

We are witnessing the death of the games console

https://mattcasmith.net/2026/08/09/death-of-the-games-console
1•mattcasmith•44m ago•0 comments

The Aaronson Oracle: an interactive lesson in human predictability

https://aaronsonoracle.com/
1•Tomte•46m ago•0 comments

Ask HN: Should AI's tell you they're AI?

3•logicallee•46m ago•2 comments

Show HN: Argonix – One AI-powered platform for SRE and cloud operations

https://argonix.io/
1•pydavid•50m ago•0 comments

Show HN: Free QR Code Generator – URL, Text, WiFi and VCard – Free, No Signup

https://at-use.com/tools/qr-code-generator
1•atuse•50m ago•1 comments

Angel Investor Simulator

https://store.steampowered.com/app/4771830/Angel_Investor_Simulator/
1•babuskov•50m ago•0 comments

Ask HN: What you using local models for?

1•kandros•52m ago•1 comments

Solitude as a new aspirational lifestyle: 'We are not lonely'

https://www.bbc.com/news/articles/c5y63dw2x3wo
2•paulpauper•53m ago•0 comments

Softlanding Linux System – ArchiveOS

https://archiveos.org/sls/
1•rbanffy•54m ago•0 comments

The economics professor who keeps running office hours

https://current.fas.harvard.edu/stories/meet-economics-professor-who-keeps-running-office-hours
1•paulpauper•55m ago•0 comments

Show HN: Restoredrill proves your Postgres backups restore

https://github.com/ahmadpiran/restoredrill
2•ahmadpiran•55m ago•0 comments