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

Mystery donor gives Japanese city $3.6M in gold bars to fix water system

https://www.bbc.com/news/articles/c3ew5jlqz87o
2•tartoran•5m ago•0 comments

California introduces a bill (AB-2047) that will limit the use of 3D printers

https://legiscan.com/CA/text/AB2047/2025
1•greesil•8m ago•1 comments

FBI 'Asset' Helped Run a Dark Web Site That Sold Fentanyl-Laced Drugs for Years

https://www.wired.com/story/an-fbi-asset-helped-run-a-dark-web-site-that-sold-fentanyl-laced-drug...
2•jbegley•9m ago•2 comments

Show HN: I Built a Kotlin Package Manager (KPM)

https://github.com/BenMorrisRains/Kotlin-Package-Manager
1•BenMorrisRains•10m ago•0 comments

Theres no mainstream AI video editing tool?

1•yakshithk_•10m ago•0 comments

Judge scolds Mark Zuckerberg's team for wearing Meta glasses to trial

https://www.cbsnews.com/news/meta-trial-mark-zuckerberg-ai-glasses/
3•danorama•11m ago•2 comments

Top Lawyers' Fees Have Skyrocketed. Be Prepared to Pay $3,400 an Hour

https://www.wsj.com/business/lawyer-hourly-rate-bill-3400-807cf6ce
2•walterbell•12m ago•1 comments

Show HN: Optimize_anything: A Universal API for Optimizing Any Text Parameter

https://gepa-ai.github.io/gepa/blog/2026/02/18/introducing-optimize-anything/
2•LakshyAAAgrawal•14m ago•0 comments

Consistency diffusion language models: Up to 14x faster, no quality loss

https://www.together.ai/blog/consistency-diffusion-language-models
1•zagwdt•17m ago•0 comments

Static Pricing Theory

https://www.varietyiq.com/blog/pricing
1•efavdb•25m ago•0 comments

I Audited Three Vibe Coded Products in a Single Day

https://fromtheprism.com/vibe-coding-audit
1•heavymemory•26m ago•1 comments

The Mythical Agent-Month

https://wesmckinney.com/blog/mythical-agent-month/
2•vinhnx•27m ago•1 comments

Automatically Learning Skills for Coding Agents

https://gepa-ai.github.io/gepa/blog/2026/02/18/automatically-learning-skills-for-coding-agents/
2•emersonmacro•28m ago•1 comments

Most EV batteries outlast their cars, real-world data shows

https://electrek.co/2026/02/18/most-ev-batteries-outlast-their-cars-real-world-data-shows/
2•xbmcuser•29m ago•0 comments

Nothing Ever Happens: "Mister Squishy" and the Year of the Sentence Diagram

https://lareviewofbooks.org/article/nothing-ever-happens-mister-squishy-and-the-year-of-the-sente...
2•sxzygz•29m ago•0 comments

Mirfield man's tears of joy after lost voicemail of wife retrieved (2015)

https://www.bbc.co.uk/news/uk-england-leeds-31015325
3•susam•30m ago•1 comments

CHAI's AI oversight ambitions falter with scrapped AI labs

https://www.fiercehealthcare.com/ai-and-machine-learning/inside-chais-failed-assurance-labs
1•nradov•30m ago•0 comments

US removing guardrails from proposed Saudi nuclear deal

https://www.reuters.com/world/us/us-removing-guardrails-proposed-saudi-nuclear-deal-document-says...
2•JumpCrisscross•30m ago•0 comments

White House Offers New Details on Its Push to Ban Housing Investors

https://www.wsj.com/politics/policy/white-house-offers-new-details-on-its-push-to-ban-housing-inv...
4•JumpCrisscross•30m ago•0 comments

LLaMAudit: Perform AI detection using local or open models

https://github.com/devrupt-io/LLaMAudit
1•ddtaylor•32m ago•0 comments

Google AI Pro and Ultra now includes Google Developer Program premium benefits

https://blog.google/innovation-and-ai/technology/developers-tools/gdp-premium-ai-pro-ultra/
1•phantomathkg•32m ago•0 comments

Micron Is Spending $200B to Break the AI Memory Bottleneck

https://www.wsj.com/tech/micron-is-spending-200-billion-to-break-the-ai-memory-bottleneck-a4cc74a1
3•walterbell•34m ago•1 comments

How much sleep does a banker need? A US court will decide

https://www.ft.com/content/60b3dd1c-112a-470c-aa77-1bc697d13cf7
2•quantumwannabe•35m ago•0 comments

Microsoft's new 10k-year data storage medium: glass

https://arstechnica.com/science/2026/02/microsofts-new-10000-year-data-storage-medium-glass/
10•vinhnx•35m ago•0 comments

PostgreSQL Bloat Is a Feature, Not a Bug

https://rogerwelin.github.io/2026/02/11/postgresql-bloat-is-a-feature-not-a-bug/
1•vinhnx•35m ago•0 comments

Follow the Money is phasing out U.S. tech – follow the journey

https://www.ftm.eu/articles/follow-the-money-is-phasing-out-us-tech
2•YounesDz•38m ago•0 comments

AI Rivalry at AI Summit

https://twitter.com/CNBCTV18News/status/2024428069851959500
1•anonymousiam•39m ago•1 comments

Three Engineers Charged with Stealing Trade Secrets from Leading Tech Companies

https://www.justice.gov/usao-ndca/pr/silicon-valley-engineers-charged-stealing-trade-secrets-lead...
2•trimbo•40m ago•0 comments

Show HN: GameZipper – 12 Free HTML5 Browser Games (No Ads, No Login)

https://gamezipper.com/
1•LetusWinyj•42m ago•0 comments

The Robin Hood state is coming for the rich

https://www.economist.com/international/2026/02/16/the-robin-hood-state-is-coming-for-the-rich
2•andsoitis•44m ago•0 comments