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

CoreWeave explores Wall Street playbook to hedge memory-chip price risk

https://www.reuters.com/world/ai-cloud-company-coreweave-explores-wall-street-playbook-hedge-memo...
1•ilreb•1m ago•0 comments

Texas factory cost $469M using old equipment, makes zero artillery shells

https://taskandpurpose.com/news/texas-ammo-factory-zero-shells/
1•ilamont•2m ago•0 comments

Talbot Green man sentenced for offences associated with swatting

https://www.tarianrocu.org.uk/news/talbot-green-man-sentenced-swatting-offences/
1•gnabgib•3m ago•0 comments

Microsoft emails Windows 10 holdouts: Fine, keep your old PC another year

https://www.theregister.com/os-platforms/2026/07/13/microsoft-emails-windows-10-holdouts-fine-kee...
2•Bender•4m ago•0 comments

Welsh Doxbin admin jailed for egging on swatters from behind a screen

https://www.theregister.com/security/2026/07/14/welsh-doxbin-admin-jailed-for-egging-on-swatters-...
1•Bender•5m ago•2 comments

Abraham Verghese's New Fable

https://www.nytimes.com/2023/05/02/books/review/covenant-of-water-abraham-verghese.html
1•Alien1Being•7m ago•1 comments

I Use HTML with Java

https://frequal.com/Flavour/book.html
1•TeaVMFan•7m ago•1 comments

Hands off our VPNs, privacy groups tell UK ministers

https://www.theregister.com/networks/2026/07/14/hands-off-our-vpns-privacy-groups-tell-uk-ministe...
1•Bender•7m ago•0 comments

I scanned 10 MCP servers – here's what agents can't know before connecting

https://github.com/davidnichols-ops/trustcard
1•davidnicholsops•9m ago•0 comments

Render.com Is Down

https://status.render.com
1•kaypee901•9m ago•0 comments

Rebase – weekly live gameshow for devs

https://rebase.tv/
1•thdxr•17m ago•0 comments

What If the Youth Crisis of Mental Health and Attention Never Happened?

https://grimoiremanor.substack.com/p/what-if-the-youth-crisis-of-mental
3•paulpauper•18m ago•0 comments

eBay is down this looks like a global incident 07142026

4•megamike•18m ago•1 comments

Opensourcing Multiplayer AI in Discord

https://bunnyandcloud.com/
1•mehdim•23m ago•0 comments

Ongoing changes to Android security patches due to AI vulnerability discovery

https://discuss.grapheneos.org/d/40286-ongoing-changes-to-android-security-patches-due-to-ai-vuln...
1•Cider9986•29m ago•0 comments

Meta's AI Glasses Will Activate the Camera Without Indicator Light

https://www.privacyguides.org/news/2026/07/13/the-next-version-of-metas-ai-glasses-will-activate-...
1•Cider9986•29m ago•0 comments

Open-sourced a dataset of companies and their detected tech stacks (CSV/JSON)

https://github.com/leadita/tech-stack-datasets
2•haynajjar•33m ago•0 comments

Library Catalog (Card Catalog)

https://en.wikipedia.org/wiki/Library_catalog
2•RetroTechie•34m ago•1 comments

Data centers have hiked electricity prices on the public by $23B

https://fortune.com/2026/07/14/data-centers-23-billion-electricity-bills/
8•measurablefunc•34m ago•0 comments

Beyond Nerva Nuclear Propulsion for Humanity's Expanse into the Cosmos

https://beyondnerva.wordpress.com/
1•pinewurst•38m ago•1 comments

Solving 20 Erdős Problems with 20 Codex Accounts Running in Parallel

https://www.starfleetmath.com/
1•colin7snyder•39m ago•0 comments

Vancouver PD website features Quick Escape button that wipes itself from history

https://vpd.ca/
6•LookAtThatBacon•39m ago•3 comments

Why Huge Pages matter for Postgres

https://clickhouse.com/blog/huge-pages-clickhouse-managed-postgres
1•thunderbong•45m ago•0 comments

Show HN: Digital De-Centralized Internship

https://lab.cedarridge.capital/
1•joey9prints•46m ago•0 comments

Amazon rolled back its monetization effort for its Selling Partner APIs

https://www.fivetran.com/blog/no-walled-gardens-amazon-reversed-its-seller-partner-api-fees
1•mogili•48m ago•0 comments

ChatGPT Remote Connection Failure

2•tumidpandora•49m ago•2 comments

Russian Artists Imagined in 1914 What Moscow Would Look Like in 2259

https://www.openculture.com/2026/07/russian-artists-imagined-what-moscow-would-look-like-in-2259....
2•gslin•51m ago•0 comments

IBM stock drops the most since 1987

https://finance.yahoo.com/markets/stocks/article/ibm-stock-closes-down-more-than-25-after-preanno...
3•mathattack•53m ago•1 comments

Free-form thermal cloaks in three dimensions

https://www.nature.com/articles/s41467-026-73167-0
1•T-A•55m ago•0 comments

Silicon Valley has a science fiction problem

https://aeon.co/essays/silicon-valley-has-a-science-fiction-problem
4•ohjeez•56m ago•0 comments