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

Academic who accused Jason Arday of plagiarism suspended by university

https://www.bbc.com/news/articles/cevmrjd9lj1o
2•donsupreme•6m ago•0 comments

Show HN: XListman – one-binary, self-hosted mailing list manager

https://github.com/barats/xlistman
1•baratsemet•8m ago•0 comments

Show HN: Steppewm stacking Wayland window manager

https://keygen.sbs/steppewm/
1•uncognic•14m ago•0 comments

Trying to launch a Spotify app? In this economy?

https://bf.lol/blog/careless-spotify
1•jamiewright•18m ago•0 comments

Show HN: ImageSage – Photo manager using Local AI on Windows

https://apps.microsoft.com/detail/9mt89hd9s6sm?hl=en-US&gl=US
1•ringlochid•20m ago•1 comments

NSF set to issue lowest number of new grants in four decades

https://www.nature.com/articles/d41586-026-02574-6
1•pratchett•21m ago•1 comments

Become the Top Newsletter

https://www.topnewsletters.lol/
1•mattmerrick•22m ago•0 comments

Bun 1.4: Zig vs. Rust Compile Times

https://twitter.com/jarredsumner/status/2090619419059974620
2•mustache_kimono•22m ago•0 comments

Orbital Construction Pioneers

https://orbitalconstructionpioneers.com/
1•pmcjones•22m ago•0 comments

Embedded Swift improvements coming in Swift 6.4

https://www.swift.org/blog/embedded-swift-improvements-coming-in-swift-6.4/
1•timsneath•26m ago•0 comments

Bringing Primary Constructors to Dart

https://dart.dev/blog/bringing-primary-constructors-to-dart
1•danbolt•28m ago•0 comments

Bug test: I think I cannot delete video posts, even right away

https://www.youtube.com/watch?v=qCljI3cIObU
1•consumer451•31m ago•2 comments

Show HN: GatiNow – branded booking pages with built-in payments

https://www.gatinow.com/features
1•chowkodali•32m ago•0 comments

SpacetimeDB and BitCraft (2023)

https://bitcraftonline.com/news/spacetimedb-and-bitcraft
1•peter_d_sherman•33m ago•0 comments

Trump's brazen crypto bank scheme may be his sleaziest yet

https://www.msn.com/en-us/money/general/trump-s-brazen-crypto-bank-scheme-may-be-his-sleaziest-ye...
2•petethomas•35m ago•0 comments

59 Days left "Nobody is Clean"

1•gladiator291288•35m ago•0 comments

Claude driving an autonomous RC car [video]

https://www.youtube.com/watch?v=jBpQiv-ZlVM
1•nreece•38m ago•0 comments

Fair Witness

https://gtraviswhite.substack.com/p/fair-witness
1•jmward01•42m ago•0 comments

HTTP Server API: A Draft Specification

http://www.jasnell.me/posts/http-server-api-draft
1•jcbhmr•43m ago•0 comments

.NET Foundation Statement on Open Source Maintenance Fees

https://pro.dnf.cloud.sitefinity.com/news-events/detail/.net-foundation-statement-on-open-source-...
1•nreece•43m ago•0 comments

Gisting: Compressing LLM Agent context to ↑ throughput and ↓ cost

https://shopify.engineering/gisting
1•mellosouls•44m ago•0 comments

AbracadaNames: A names explorer website

https://abracadanames.com/
1•PopFlamingo•45m ago•0 comments

Making React Testing Library Tests 43% Faster

https://sigh.dev/posts/making-react-testing-library-faster/
2•STRiDEX•46m ago•0 comments

Weather.baby

https://blog.harrison.page/weatherbaby/
1•harrisonpage•47m ago•1 comments

Berkeley Law prohibits AI use in classes (by default)

https://www.law.berkeley.edu/academics/registrar/academic-rules/artificial-intelligence-policy/
6•hackerBanana•49m ago•1 comments

Munich Court Proposes €1.05 Monthly Codec Royalty for Netflix Subscribers

https://streaminglearningcenter.com/articles/munich-court-proposes-e1-05-monthly-codec-royalty-fo...
1•dabinat•50m ago•0 comments

Donald Trump turns on Washington's museums in new culture war offensive

https://www.ft.com/content/659a00b4-be9b-467b-a676-cb73e2d3d64d
3•petethomas•51m ago•0 comments

Histoire: Storybook but Vite

https://histoire.dev/
1•jcbhmr•55m ago•0 comments

Watermarking Runif

https://minimallysufficient.com/posts/watermarking-runif/
1•minsufficient•56m ago•0 comments

ICE Wants to Give Every Officer a Body Cam, Restrict Public Access to Recordings

https://www.techdirt.com/2026/08/20/ice-says-it-will-fit-every-officer-with-a-body-cam-restrict-p...
3•hn_acker•57m ago•1 comments