frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

Hyperlinks Should Have Context

https://btxx.org/posts/hyperlinks/
1•bradley_taunt•4m ago•0 comments

TikTok signs deal to sell US unit to American investor-led venture

https://www.reuters.com/business/american-investor-consortium-acquire-tiktok-us-entity-axios-repo...
2•pseudolus•4m ago•0 comments

Trump commits to Moon landing by 2028, followed by a lunar outpost 2 years later

https://arstechnica.com/space/2025/12/trump-commits-to-moon-landing-by-2028-followed-by-a-lunar-o...
1•jnord•6m ago•0 comments

Too Many Thoughts About Wake Up Dead Man

https://reactormag.com/entirely-too-many-thoughts-about-wake-up-dead-man/
1•xngbuilds•9m ago•0 comments

ByteDance signs deal to sell majority of TikTok US

https://www.bbc.co.uk/news/articles/cgexp1q8wn1o
1•testfrequency•9m ago•0 comments

Memcachier: Several Clusters Down

https://status.memcachier.com/
1•pardner•11m ago•1 comments

Which extended attributes does macOS Tahoe preserve?

https://eclecticlight.co/2025/12/17/which-extended-attributes-does-macos-tahoe-preserve/
1•xngbuilds•11m ago•0 comments

Gmail Email Sent

https://chromewebstore.google.com/
1•gaws•12m ago•0 comments

How to Batch Delete Data in SwiftData

https://fatbobman.com/en/snippet/how-to-batch-delete-data-in-swiftdata/
1•xngbuilds•13m ago•0 comments

Commodore 64 Ultimate Review

https://www.ign.com/articles/commodore-64-ultimate-review
1•AlexeyBrin•15m ago•0 comments

Show HN: LLM-as-a-Form

https://github.com/claudeomusic/llm-as-a-form
1•claudeomusic•15m ago•0 comments

Check out the Flock public portal for Albany, Oregon

https://hh-today.com/check-out-the-flock-public-portal-for-albany/
1•toomuchtodo•18m ago•1 comments

The Power Play Behind Hyperion, Meta's Big Data Center Being Built in Louisiana

https://sherwood.news/tech/hyperion/
2•gaws•22m ago•0 comments

What Is a Passkey and How Do Passkeys Work?

https://www.aiipassword.com/blog/what-is-a-passkey-and-how-does-it-work
2•ClipNoteBook•23m ago•1 comments

SpaceX loses contact with Starlink satellite after mishap

https://www.reuters.com/science/starlink-says-it-has-lost-communication-with-one-its-satellites-2...
2•rolph•23m ago•0 comments

Texas City Disaster

https://en.wikipedia.org/wiki/Texas_City_disaster
2•reaperducer•24m ago•0 comments

The Electronic Connector Book

https://connectorbook.com/
2•brudgers•28m ago•0 comments

New Platform "Sphere Kit" Built to Ease Back End Dev for Indie Game Developers

1•samuelachee•31m ago•0 comments

Apple becomes a debt collector with its new developer agreement

https://techcrunch.com/2025/12/18/apple-becomes-a-debt-collector-with-its-new-developer-agreement/
5•reliefcrew•31m ago•3 comments

Apollo 11 Software: Managing Overloads in Real Time – Lessons from Margaret

https://en.wikipedia.org/wiki/Margaret_Hamilton_(software_engineer)
3•birdculture•35m ago•0 comments

Lovable raises $330M to power the age of the builder

https://lovable.dev/blog/series-b
1•doppp•39m ago•0 comments

Codehackerz – The world needs hackers, not heroes [video]

https://www.youtube.com/watch?v=kA1jfr-o-Xc
2•whothatcodeguy•39m ago•0 comments

Building Apps for ChatGPT with Apollo MCP Server and Apollo Client

https://www.apollographql.com/blog/building-apps-for-chatgpt-with-apollo-mcp-server-and-apollo-cl...
3•JTech2three•41m ago•1 comments

200 Years Ago: Abel's Resolution of the Quintic Question

https://www.ams.org/journals/notices/202601/noti3264/noti3264.html
2•bikenaga•47m ago•0 comments

Trump Is Doubling Down on His Disastrous A.I. Chip Policy

https://www.nytimes.com/2025/12/17/opinion/trump-ai-chips-nvidia-china.html
5•voxadam•49m ago•1 comments

Peter Higgs: I wouldn't be productive enough for today's academic system

https://www.theguardian.com/science/2013/dec/06/peter-higgs-boson-academic-system
2•firefax•49m ago•0 comments

Why Do We Still Pay for International Calls in 2025?

https://rodyne.com/?p=3293
3•boznz•51m ago•1 comments

Six billionaires who could move markets, policy in 2026

https://nairametrics.com/2025/12/18/six-billionaires-who-could-move-markets-policy-in-2026/
2•kckkmgboji•54m ago•0 comments

DNS as a Filesystem: A Practical Study in Applied Category Theory

https://loss.dev/?node=honk-protocol
1•graemefawcett•56m ago•2 comments

Spaceorbust – Terminal RPG where GitHub commits power space civilization

https://spaceorbust.com
4•zjkramer•1h ago•2 comments