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

US strikes $1.2B deal to pay German firm to halt offshore wind projects

https://www.bbc.com/news/articles/c1e1vg0gjl5o
1•defrost•4m ago•0 comments

Sonic Pi v5 Released

https://www.patreon.com/samaaron/posts/sonic-pi-v5-166001392
1•samaaron•6m ago•1 comments

Kalshi and Polymarket bets on clinical trials criticized as 'ghastly'

https://text.npr.org/nx-s1-5922530
2•1659447091•10m ago•0 comments

HeroBot

https://herobot.co/
1•ingersol•10m ago•0 comments

Notes Compound, Blogs Compile: When I Update a Note vs. Publish a Post

https://www.ssp.sh/brain/sharing-as-second-brain-note-vs-a-blog-post/
2•zazuke•11m ago•0 comments

Honey, I Shrunk the Agency (Our journey building a software factory)

https://vibegui.com/en/article/honey-i-shrunk-the-agency/
1•gadr90•13m ago•1 comments

AI danger explained for people who don't understand full sentences

https://www.reddit.com/r/OpenAI/s/ASRcUl35lX
1•nemo_captain•14m ago•1 comments

Coldcard Postmortem from MicroPython's Perspective

https://github.com/orgs/micropython/discussions/19588
1•mech4bg•18m ago•0 comments

Tears in Rain Monologue

https://en.wikipedia.org/wiki/Tears_in_rain_monologue
1•tosh•19m ago•0 comments

Ask HN: What observability stack are you using for AI agents in production?

2•varda_62892•20m ago•0 comments

Asking "Was EvoMap's Evolver a reference" for Hermes gets deleted and blocked

https://github.com/NousResearch/hermes-agent/issues/10232
2•sundarurfriend•20m ago•0 comments

DeepMind Says Its AI Can Predict Hurricanes Earlier Than Everyone Else

https://www.wired.com/story/deepmind-ai-model-can-predict-hurricanes-earlier/
2•WithinReason•24m ago•0 comments

The Illusion of Visual Tool-Use: A Causal Audit of Thinking with Images

https://arxiv.org/abs/2608.06270
1•sbulaev•25m ago•0 comments

A Rare 4.5-Hour Interview with Huawei's Chief Scientist for Semiconductors

https://chinatechbite.substack.com/p/a-rare-45-hour-interview-with-huaweis
2•hunglee2•27m ago•0 comments

Jujutsu 0.44.0

https://github.com/jj-vcs/jj/releases/tag/v0.44.0
1•birdculture•27m ago•0 comments

A Mirror of Trumps Posts

https://fakenews.social/
1•calypso•29m ago•0 comments

How to Keep Thinking

https://www.seangoedecke.com/how-to-keep-thinking/
2•vcfgdev•30m ago•0 comments

Building an LLM Agent to Play Dwarf Fortress

https://blog.trine.dev/posts/2026-02-28-df-ai-exp/
1•totetsu•31m ago•0 comments

Regex is (almost) all you need (2025)

https://lookingatcomputer.substack.com/p/regex-is-almost-all-you-need
1•aleda145•32m ago•0 comments

Blaise v0.14.0 is here: macOS, BlaiseGuard, math and more

https://github.com/graemeg/blaise/discussions/211
1•mariuz•33m ago•0 comments

Anthropic AI Mandatory Employee Stock Trading Plans for IPO – This Will Not Go W [video]

https://www.youtube.com/watch?v=zi9LsoKISEc
1•xbmcuser•33m ago•0 comments

LLM intelligence vs. cost per task, Dec 2024–Aug 2026

https://www.reddit.com/r/dataisbeautiful/comments/1vhw02h/oc_llm_intelligence_vs_cost_per_task_de...
2•theanonymousone•33m ago•0 comments

I built a free, instant technical and on-page SEO tool and keyword checker

https://www.sitealyser.com
1•johnnyfwk•34m ago•0 comments

Show HN: Benchmark local LLMs fit for your device specs

https://github.com/SupermodularAI/local_bench
1•andrelago•35m ago•0 comments

Informing HTTP Extension Design with Data

https://mnot.net/blog/2026/linting_the_web
1•jiehong•35m ago•0 comments

Show HN: ToolHoard – Compare power tool prices across major US retailers

https://toolhoard.com/
1•wesman5060•41m ago•0 comments

New Mexico Court Orders Meta to Pay $567M

https://www.techpolicy.press/new-mexico-court-orders-meta-to-establish-567-million-fund-to-abate-...
2•DeepLogin•44m ago•0 comments

I wonder if you could make a useful DOS executable with just emoji

https://oldbytes.space/@gloriouscow/117044736309312697
2•birdculture•46m ago•0 comments

Render of the Ford Fathom: Ford's affordable electric pickup truck at $28,350

https://evwire.com/p/ford-fathom-electric-truck-name-price-28350
1•juurikas•49m ago•0 comments

CrossPoint 1.5 has officially been released

https://www.reddit.com/r/xteinkereader/s/AZbairiJzJ
4•kokada•49m ago•0 comments