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

Image Toolbox (T8RIN)

https://github.com/T8RIN/ImageToolbox/
1•unexpectedVCR•1m ago•1 comments

People quit because reality doesn't match the movie they created in their heads

https://timesofindia.indiatimes.com/technology/tech-news/quote-of-the-day-by-nvidia-ceo-jensen-hu...
1•teleforce•2m ago•0 comments

How Nvidia Dominates AI:11 Engineering Moves [video]

https://www.youtube.com/watch?v=vzM8mv1t_zM
2•skpothana•10m ago•0 comments

US and Iran announce deal to end military operations

https://www.bbc.com/news/live/cj0grpyg4v1t
21•vermilingua•13m ago•14 comments

Show HN: ItchCord – Discord Rich Presence for itch.io games

https://itchcord.vrma.dev
1•shredswap•18m ago•0 comments

Show HN: Morning Stack finds real job openings, tweaks resume and cover letter

https://morningstack.app/demo/
2•hillj23•19m ago•1 comments

Formal Methods and the Future of Programming

https://blog.janestreet.com/formal-methods-at-jane-street-index/
1•dcre•20m ago•0 comments

Show HN: Grade your growth rate using Paul Graham's two-number math

https://www.brutal-audit.com/growth
1•smakosh•22m ago•0 comments

Telescope Rancher Who Manages Telescopes Each Night on a Texas Ranch

https://www.techeblog.com/telescope-rancher-texas-ranch/
1•mhb•23m ago•0 comments

Your ePub Is Fine. Kobo Disagrees. Blame Adobe

https://andreklein.net/your-epub-is-fine-kobo-disagrees-blame-adobe/
2•sohkamyung•26m ago•0 comments

What's Going on with the Web?

https://iam.mt/whats-going-on-with-the-web/
2•thallavajhula•27m ago•2 comments

What even is food authenticity? Why we guard carbonara, and flatten chicken rice

https://iza.ac/posts/2026/06/food-authenticity/
2•infinitewalk•27m ago•0 comments

Show HN: Cordium – FOSS identity-based sandbox platform with zero-trust access

https://github.com/octelium/cordium
1•geoctl•33m ago•0 comments

Early Research Suggests a Path to Predict and Prevent Lung Cancer

https://www.nytimes.com/2026/06/04/well/lung-cancer-prevention.html
1•mhb•34m ago•0 comments

Stanford grads walk out on Google CEO Sundar Pichai speech

https://twitter.com/maattttbrown/status/2066215255987163246
18•sosomoxie•35m ago•3 comments

Nothing CEO: Phone Prices Will Rise, RAM Accounts for over 50% of Phone Costs

https://www.theverge.com/gadgets/949403/nothing-carl-pei-ram-phone-prices
2•karakoram•35m ago•0 comments

Antidepressants and antipsychotics could be alternatives to opioids, study finds

https://www.theguardian.com/society/2026/jun/14/other-medications-opioids-alternatives-study
1•bookofjoe•35m ago•1 comments

Chinese Drivers Are Using Tiny Plastic Heads to Fool Tesla Autopilot Safeguards

https://www.wired.com/story/chinese-drivers-are-using-tiny-plastic-heads-to-fool-teslas-autopilot...
2•srameshc•37m ago•0 comments

The Jqwik Anti-AI Affair

https://blog.johanneslink.net/2026/06/09/the-jqwik-anti-ai-affair/
2•dgellow•37m ago•0 comments

A New Path to Preventing Cancer

https://erictopol.substack.com/p/a-new-path-to-preventing-cancer
2•paulpauper•39m ago•0 comments

The Former GOP Operative Running a News Site for the 'Politically Homeless'

https://www.wsj.com/business/media/the-bulwark-sarah-longwell-77bc9475
2•paulpauper•40m ago•0 comments

Instagram is obsessed with me (and you)

https://denkthoughts.com/instagram-is-obsessed-with-me
1•mootdentures•40m ago•0 comments

Bob Dylan (and others) on turning 80

https://www.nytimes.com/2026/06/14/opinion/trump-turns-80.html
1•paulpauper•40m ago•0 comments

Let Me Repost

https://github.com/harrisjerico30-dotcom/G4-construct-
1•jericoharris•41m ago•0 comments

Fluorine Fermi – Monero's Biggest Update

https://fluorinefermi.club/
1•Cider9986•41m ago•0 comments

Carney Says Anthropic Ban Shows Risk of Relying on Big AI Models

https://www.bloomberg.com/news/articles/2026-06-14/carney-says-anthropic-ban-shows-risk-of-relyin...
2•root-parent•41m ago•0 comments

Repo Slop-Score

https://slopscan.ava.pet
1•cohix•42m ago•0 comments

Bran flakes classed as junk food under UK Labour health plan

https://www.pressreader.com/uk/the-sunday-telegraph/20260614/281500757946930
1•Gaishan•44m ago•0 comments

China's Universities Cut 12,000 'Obsolete' Degrees Amid Race to Embrace AI Era

https://www.scmp.com/economy/china-economy/article/3356913/chinas-universities-cut-12000-obsolete...
2•karakoram•44m ago•0 comments

Show HN: Is Fable 5 available? (it is not)

https://isfable5available.com
2•bArmageddon•47m ago•0 comments