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

Security tools inside coding agents get ignored unless we do things

https://www.boringappsec.com/p/edition-34-a-consensus-is-finally
1•joj123•1m ago•0 comments

You all think it's normal to sit behind a laptop all day

1•shoman3003•1m ago•0 comments

Yunwu

https://yunwu.ai/
2•handfuloflight•13m ago•0 comments

Wan Streamer v0.1: End-to-End Real-Time Interactive Foundation Models

https://wan-streamer.com/
1•ilreb•16m ago•0 comments

Powerful back-to-back earthquakes strike Venezuela, collapsing buildings

https://www.bbc.com/news/live/c621z18wznet
1•tartoran•20m ago•1 comments

Projectlens v1.0.6 released, supports npkill

https://www.npmjs.com/package/projectlens
1•dagmawibabi•21m ago•1 comments

Alternatives to Nested If Function

https://medium.com/@crispomwangi/7-alternatives-to-nested-if-function-a9cb07f3df1e
1•andsoitis•31m ago•0 comments

LXM: Better Splittable Pseudorandom Number Generators (and Almost as Fast) [video]

https://www.youtube.com/watch?v=XXh86oA-WOE
1•matt_d•32m ago•0 comments

The Unbearable Cheapness of Open Weight Models

https://jamesoclaire.com/2026/06/25/the-unbearable-cheapness-of-open-weight-models/
2•ddxv•33m ago•0 comments

Europe swelters under deadly 'Omega' heatwave, more records broken

https://www.reuters.com/business/environment/power-cuts-france-leave-thousands-sweltering-amid-sc...
2•rawgabbit•35m ago•2 comments

This One's Not AI

https://blog.tacoda.dev/this-ones-not-ai-992c95537790
2•tacoda•35m ago•2 comments

Calculus in Coinductive Form (1998)

https://ieeexplore.ieee.org/document/705675
1•measurablefunc•39m ago•0 comments

Tldr we built the fastest and most compact embedded vector database in the world

https://github.com/Egoist-Machines/LodeDB
1•erinmeryl•42m ago•1 comments

Ask HN: Where is our profession (programmer) going?

5•syntaxbush•43m ago•0 comments

China's Electric Vehicle Exports Reach Record High in May

https://www.bloomberg.com/news/articles/2026-06-24/china-s-electric-vehicle-exports-reach-record-...
2•xbmcuser•43m ago•0 comments

Home Feed does not show releases

https://github.com/orgs/community/discussions/146124
1•oaix•44m ago•0 comments

Supeintelligence Future

1•Siarchitect•46m ago•1 comments

Satteri: A Markdown pipeline forged in Rust for the JavaScript world

https://satteri.bruits.org/
1•handfuloflight•52m ago•0 comments

Show HN: Drive your already-logged-in Chrome from any AI agent

https://github.com/leeguooooo/chrome-use
1•leeguoo•53m ago•0 comments

Medical students are using popular research tool to pump out misleading studies

https://www.science.org/content/article/medical-students-are-using-popular-research-tool-pump-out...
2•rndsignals•55m ago•0 comments

Chinese scientists unveil glowing Avatar-like plants that could light cities

https://www.euronews.com/next/2026/04/02/chinese-scientists-unveil-glowing-avatar-like-plants-tha...
3•thunderbong•56m ago•0 comments

Are you better than the screen watchers?

https://sailsandcommas.com/2026/05/30/are-you-better-than-the-screen-watchers/
1•Curiositry•1h ago•0 comments

Cloudflare launched self-managed OAuth for all

https://blog.cloudflare.com/oauth-for-all/
13•terryds•1h ago•2 comments

Libaui – Tk clone in XCB and C

https://github.com/onanaxm/libaui
2•onuelito•1h ago•0 comments

Zombie unicorns are haunting Silicon Valley

https://www.economist.com/business/2026/06/21/zombie-unicorns-are-haunting-silicon-valley
2•andsoitis•1h ago•2 comments

Electronics can now be printed onto living tissues

https://www.economist.com/science-and-technology/2026/06/24/electronics-can-now-be-printed-onto-l...
3•andsoitis•1h ago•0 comments

Scbkr – an owner-signed responsibility-chain workbench for local LLMs

https://github.com/HIJO790401/scbkr-local-responsibility-model
2•look888•1h ago•0 comments

SystemVerilog

https://en.wikipedia.org/wiki/SystemVerilog
1•handfuloflight•1h ago•0 comments

Accidental Anonymity

https://macwright.com/2026/06/24/accidental-anonymity
1•maxutility•1h ago•0 comments

Mr. Big (Police Procedure)

https://en.wikipedia.org/wiki/Mr._Big_(police_procedure)
5•killingtime74•1h ago•1 comments