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 :)

ASML denies US Government report that EUV chipmaking tool was shipped to China

https://www.tomshardware.com/tech-industry/semiconductors/asml-denies-us-government-report-that-i...
2•srameshc•2m ago•0 comments

Self-improving agents still need humans

https://douwe.com/blog/2026/0619/
1•dosinga•3m ago•0 comments

MBook – a proposal for a new, simple e-book format based on Markdown

https://kevinboone.me/mbook.html
1•LaSombra•3m ago•0 comments

Rubyterm: A terminal emulator written in Ruby

https://github.com/vidarh/rubyterm/
1•thunderbong•3m ago•0 comments

AI versus the China Shock

https://agglomerations.eig.org/p/ai-versus-the-china-shock
1•speckx•3m ago•0 comments

Luis Alvarez's Journey from Hiroshima to the Death of the Dinosaurs

https://www.lrb.co.uk/the-paper/v48/n11/steven-shapin/barrel-of-greenbacks
1•mitchbob•6m ago•1 comments

Webhook tunnel with a TUI that generates types from live payloads

https://repost.sh/
1•schulzf•6m ago•0 comments

Show HN: Pragmatiq – open-source framework for foundational models in banking

https://github.com/dynamiq-ai/pragmatiq
1•vitalii-duk•7m ago•0 comments

Cursor (IDE) tried launching on HN 8 times unsuccessfully

https://twitter.com/marclou/status/2067590152957112647
1•jabo•7m ago•0 comments

Thoma Bravo takes one of the largest PE write downs in history on Medallia

https://www.privateequitywire.co.uk/blackstone-led-consortium-takes-control-of-medallia-in-major-...
1•horticulturist•7m ago•0 comments

Broadband Access and Adolescent Fertility

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6919838
2•paulpauper•14m ago•0 comments

Donald Trump, Champion of Renewable Energy

https://paulkrugman.substack.com/p/donald-trump-champion-of-renewable
2•dxs•14m ago•0 comments

Does anything I write matter anymore?

https://www.noahpinion.blog/p/does-anything-i-write-matter-anymore
1•paulpauper•14m ago•0 comments

What If the Work We're Busy Automating Is Needless?

http://charleshughsmith.blogspot.com/2026/06/what-if-work-were-busy-automating-is.html
1•dxs•14m ago•0 comments

Research in math will change (from my email)

https://marginalrevolution.com/marginalrevolution/2026/06/how-research-in-math-will-change-from-m...
1•paulpauper•15m ago•0 comments

Cuba approves unprecedented free-market reforms to stave off economic collapse

https://www.cbsnews.com/news/cuba-approves-free-market-reforms-in-effort-to-stave-off-economic-co...
1•spikels•16m ago•0 comments

OS Written in Embedded Swift

https://github.com/asaptf/swift-os
1•w10-1•18m ago•1 comments

The Story of Semicolon

https://sheets.works/data-viz/semicolon
1•theanonymousone•18m ago•0 comments

A Man Who Ran Putin's Hit Squad [video]

https://www.youtube.com/watch?v=JsdSeHnJzU4
2•dralley•20m ago•0 comments

Why are Linux devices called TTY? [video]

https://www.youtube.com/watch?v=31JBOlrzPXs
1•737max•22m ago•0 comments

A framework for systematically addressing undefined behavior in the C++ Standard [pdf]

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p3100r6.pdf
1•linkdd•24m ago•0 comments

My Taste Is Better Than Your Taste

https://www.jasonwu.ink/signals/2026-06-19-my-taste-is-better-than-your-taste
2•whiteblossom•24m ago•1 comments

Outlaw Billionaires

https://www.ddesignlab.org/our-work/outlaw-billionaires
3•robin_reala•28m ago•0 comments

Google has made us Stupid

https://www.spokenlikeageek.com/2026/06/19/google-has-made-us-stupid/
2•speckx•29m ago•0 comments

Try AI Operators on PostgreSQL

https://samtsql.com/
1•itrummer•31m ago•0 comments

Worlds Smallest microcontroller, the Cortex M0 MCU MSPM0C1104

https://www.hackster.io/mortenpaghfrederiksen/world-s-smallest-32-bit-arm-the-cortex-m0-mcu-mspm0...
1•andrewstuart•33m ago•0 comments

Ask HN: How to stop your coding agent from creating just AI slop for the UI/UX?

1•AlanAAG•34m ago•2 comments

Show HN: Surface skill for HTML pages a coding agent watches and reacts to

https://github.com/aac/surface
1•andrewacove•37m ago•1 comments

Americans Want More Trains. Amtrak Delivers

https://amtraknewera.com/
2•mooreds•40m ago•0 comments

Where in the wave of Physical are we now?

1•meligoli•40m ago•2 comments