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

Could indigo light prevent nearsightedness in children?

https://www.science.org/content/article/could-indigo-light-prevent-nearsightedness-children
1•pseudolus•20s ago•0 comments

Math Notes: Can every number be expressed as sum of four cubes?

https://www.futilitycloset.com/2026/08/03/math-notes-142/
1•surprisetalk•51s ago•0 comments

In the Cells of the Eggplant

https://metarationality.com/
1•_tk_•1m ago•0 comments

Show HN: Codex Memory Trim – prune and dedupe Codex CLI's global memory

https://github.com/Yu-Xiao-Sheng/codex-memory-trim
1•yuxs365•1m ago•0 comments

Show HN: Budget Guard – a hard daily cap for your OpenAI/Anthropic bill

https://github.com/kimbeomgyu/budget-guard
1•kimbeomgyu•1m ago•1 comments

Show HN: Anonymous age verification with passkey-powered encryption

https://loginwithone.com/
1•mikeysight•1m ago•0 comments

My text only coding agent gave itself vision

https://nickbusey.com/article/2026-08-18-agent-invented-vision/
1•NickBusey•2m ago•0 comments

They Don't Care

https://aurelien2022.substack.com/p/they-dont-care
1•iamnothere•4m ago•0 comments

Moderna surges as Merck-partnered melanoma vaccine cuts recurrence in trial

https://www.reuters.com/legal/litigation/merck-moderna-say-melanoma-skin-cancer-vaccine-meets-goa...
2•consumer451•4m ago•0 comments

Don't fall behind, keep up with latest AI news here

https://www.vibeleaderboard.ai
2•alderik_•7m ago•0 comments

A merge gate for coding agents cannot be a boolean

https://gist.github.com/fskroes/9061fc1c4284146561b1ede1c1e7fea2
2•fskroes_is_me•7m ago•0 comments

Show HN: My Mac slept through its cron jobs, so I made goguma, a menu bar app

https://github.com/junnam586/goguma
2•junnam586•9m ago•0 comments

Moderna reports first positive Phase 3 for mRNA neoantigen therapy in melanoma

https://twitter.com/NoubarAfeyan/status/2090050162441752787
3•heydenberk•9m ago•0 comments

Where the Tool Stops and I Begin

https://rivetrune.com/notes/where-the-tool-stops/
2•rivetrune•10m ago•1 comments

Source-Code Availability and How I Became Radicle-Ized

https://kristoff.it/blog/source-code-availability/
3•h1watt•13m ago•0 comments

AI Has Plunged the Book Publishing Industry into Utter Chaos

https://www.wsj.com/arts-culture/books/generative-ai-book-publishing-be79a287
4•galsapir•14m ago•0 comments

Prevention of myopia in a near-primate by supplemental indigo light

https://www.cell.com/cell-reports-medicine/fulltext/S2666-3791(26)00416-7
2•OutOfHere•15m ago•0 comments

Investing in automated C to Rust translation

https://discourse.ubuntu.com/t/investing-in-automated-c-to-rust-translation/86369
3•pbui•16m ago•1 comments

Tokens, Hours, Points, and Other Curious Proxies

https://cutlefish.substack.com/p/tbm-437-tokens-hours-points-and-other
2•flail•17m ago•0 comments

Raspberry Pi Compute Module 5 Programming Jig

https://www.raspberrypi.com/news/introducing-the-raspberry-pi-compute-module-5-programming-jig/
3•geerlingguy•18m ago•1 comments

Train your own AI model, even on your laptop

5•metinh•18m ago•1 comments

AWS Powers PyPI and the PSF

https://pyfound.blogspot.com/2026/08/how-aws-powers-pypi-and-psf.html
2•lumpa•18m ago•0 comments

State of Devs, a developer survey about career, health, hobbies, and politics

https://survey.devographics.com/en-US/survey/state-of-devs/2026
2•sgdesign•18m ago•0 comments

Moderna and Merck say mRNA cancer vaccine succeeded in late-stage melanoma trial

https://www.statnews.com/2026/08/19/mrna-cancer-vaccine-trial-melanoma-merck-moderna/
3•cwwc•19m ago•0 comments

I read the ingredient list of 35000 UK supermarket products so you don't have to

https://plainfood.co.uk/
1•camzbarber•19m ago•0 comments

Show HN: Marginal – See which customers and features drive your AI API costs

https://marginalhq.com/
3•jithinlalk25•19m ago•0 comments

Intent Containers

https://armoriq.substack.com/p/containers-isolated-processes-ai
2•ketanbj•21m ago•0 comments

PostgreSQL for Everything

https://www.raphaelbauer.com:443/posts/postgresql-everything/
3•karlmush•21m ago•0 comments

OpenADMET: Response to Pat Walters

http://fbdd-lit.blogspot.com/2026/08/openadmet-response-to-pat-walters.html
2•surprisetalk•22m ago•0 comments

Show HN: SparkleChinese – Learn Chinese while you browse

https://sparklechinese.com
2•tommy_guo•22m ago•0 comments