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

US pressure revives call for powerful EU tech regulator

https://www.politico.eu/article/us-pressure-revives-calls-for-standalone-eu-tech-regulator/
1•saubeidl•28s ago•0 comments

US Places Arctic Airborne Troops on Standby as Greenland Dispute Escalates

https://www.thedefensenews.com/news-details/Pentagon-Places-1500-Arctic-Trained-Airborne-Troops-o...
2•palata•58s ago•0 comments

G4 (Severe) Geomagnetic Storm Watch for 20 January UTC-Day

https://www.swpc.noaa.gov/news/g4-severe-geomagnetic-storm-watch-20-january-utc-day
1•rediguanayum•1m ago•1 comments

Are Arrays Functions?

https://futhark-lang.org/blog/2026-01-16-are-arrays-functions.html
1•fanf2•1m ago•0 comments

Show HN: I built autonomous A/B testing – it generates ideas, tests, and learns

https://abee.pro
1•Abeeprodev•2m ago•0 comments

Trump's Letter to Norway Should Be the Last Straw

https://www.theatlantic.com/ideas/2026/01/trump-letter-to-norway/685676/
3•Manheim•3m ago•1 comments

Russia Gloats over Greenland Tensions

https://www.bbc.co.uk/news/articles/c17zpvkddpzo
2•treadump•3m ago•0 comments

The Overcomplexity of the Shadcn Radio Button

https://paulmakeswebsites.com/writing/shadcn-radio-button/
1•todsacerdoti•3m ago•0 comments

Smartphones Can Cause Nearsighteness

https://pmc.ncbi.nlm.nih.gov/articles/PMC12070634/
2•josefritzishere•4m ago•1 comments

Show HN: Predictability API – An engine to detect drift in AI/Sensors (Numba)

https://www.predictability-api.com/
1•OGsus•4m ago•0 comments

Humble corded telephone improves wellbeing of people living with dementia (2024)

https://dementia.longitudeprize.org/news/how-the-humble-corded-telephone-is-transforming-wellbein...
2•stacktrust•7m ago•0 comments

Dr. Gladys West, Mathematician Whose Work Made GPS Possible, Has Died at 95

https://thezebra.org/2026/01/18/dr-gladys-west-mathematician-whose-work-made-gps-possible-dies-at...
1•ck2•8m ago•1 comments

Show HN: Subth.ink – write something and see how many others wrote the same

https://subth.ink/
2•sonnig•8m ago•0 comments

Ross Perot 1992 – Balancing the Budget and Reforming Government [video]

https://youtube.com/watch?v=mPIVI0CbCmg
1•simonpure•9m ago•0 comments

Hiring at India's Big Four outsourcers stalls as AI bites

https://www.theregister.com/2026/01/19/hcl_infosys_tcs_wipro_results/
2•twapi•9m ago•0 comments

Show HN: I audited OpenBB vs. Nautilus Trader – Variance Score was 1602 vs. 99

https://github.com/ZoaGrad/blackglass-variance-core
1•colemanwillis•11m ago•1 comments

Compile time dependency resolution of physical systems

https://github.com/jedrzejmichalczyk/sopot
1•jedrzejq•15m ago•0 comments

Small Shopify store owners, how do you handle Shopify data to Google Sheets?

1•pandas_seeker•17m ago•0 comments

AI evangelist Mikey Shulman says he's making pop, not slop

https://www.theguardian.com/music/2026/jan/19/ai-music-company-mikey-shulman-suna
3•billybuckwheat•19m ago•0 comments

David Shapiro (L/0) on X: "The Singularity Will Be Boring" / X

https://twitter.com/DaveShapi/status/2013290801455837260
2•bilsbie•19m ago•1 comments

IBM warns AI spend fails without AI literacy

https://www.thedeepview.com/articles/ibm-warns-ai-spend-fails-without-ai-literacy
2•taubek•22m ago•0 comments

Two-Thirds of Ukraine's Intelligence Comes from France's Space Intelligence

https://militarnyi.com/en/articles/france-s-space-intelligence-where-does-two-thirds-of-ukraine-s...
2•QueensGambit•23m ago•0 comments

Ask HN: How do you run parallel agent sessions?

1•Olshansky•24m ago•0 comments

I explored every Harry Potter filming location [video]

https://youtu.be/Tbx-AFBuDY0
1•teleforce•25m ago•0 comments

Removing branches from the hot path: A 60% speed-up for Product Quantization

https://twitter.com/etiennedi/status/2013304614183919617
1•bobvanluijt•26m ago•0 comments

Nearly a third of social media research has undisclosed ties to industry

https://www.science.org/content/article/nearly-third-social-media-research-has-undisclosed-ties-i...
3•bikenaga•26m ago•1 comments

MacKenzie Scott may have sent millions to organisations under FBI investigation

https://timesofindia.indiatimes.com/technology/tech-news/jeff-bezos-ex-wife-mackenzie-scott-who-s...
1•RickJWagner•26m ago•1 comments

Notes on Apple's Nano Texture

https://jon.bo/posts/nano-texture/
2•dsr12•27m ago•0 comments

Managing Memory During ML Compilation

https://sachinjoglekar.substack.com/p/managing-memory-during-ml-compilation
1•srjoglekar246•28m ago•0 comments

Led by Texas, New Hampshire, states race to prove can –"Bitcoin on bal sheet"

https://www.cnbc.com/2026/01/17/texas-us-states-budgets-bitcoin-crypto-strategic-reserve.html
1•bobtheborg•28m ago•0 comments