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

Crypto's Cryptic Texas Takeover

https://www.texasobserver.org/crypto-energy-grid-texas-bitcoin-water/
1•turtleyacht•43s ago•0 comments

Penrose: From Mathematical Notation to Beautiful Diagrams [video]

https://www.youtube.com/watch?v=OyD4LIv2PDc
1•todsacerdoti•1m ago•0 comments

Rosalind Elsie Franklin

https://en.wikipedia.org/wiki/Rosalind_Franklin
1•ugur2nd•3m ago•0 comments

A World of Verifiable Domains

https://www.seancai.com/philosophy/verifiable_domains
1•jxmorris12•4m ago•0 comments

Is there a dark side to gratitude?

https://www.theguardian.com/books/2025/nov/16/is-there-a-dark-side-to-gratitude
1•binning•4m ago•0 comments

Rich and Poor Nations to See Drop Off in Crop Yields

https://www.technologynetworks.com/applied-sciences/news/rich-and-poor-nations-to-see-drop-off-in...
1•measurablefunc•4m ago•0 comments

How the Wicked movies are helping disability representation on screen

https://www.theguardian.com/film/2025/nov/16/wicked-movies-disability-marissa-bode-nessarose-repr...
1•binning•6m ago•0 comments

Winter Is Coming: Build a Solar Powered Foot Stove

https://solar.lowtechmagazine.com/2025/11/winter-is-coming-build-a-solar-powered-foot-stove/
2•billybuckwheat•8m ago•0 comments

How this 31-year-old made $250M in 30 months

https://www.ft.com/content/ec749b06-651b-431d-bf0b-5b61c7b5fba0
1•amai•9m ago•0 comments

Spræ: Hydrate HTML/JSX tree with signal-powered reactive attributes

https://dy.github.io/sprae/
1•xigoi•10m ago•0 comments

ArkA – an open video protocol with full CI/CD

https://github.com/baconpantsuppercut/arkA
1•moshebenpeshe•11m ago•0 comments

The Definitive Guide to Functional Programming in Cpp – ACCU 2025 [video]

https://www.youtube.com/watch?v=lvlXgSK03D4
1•olvy0•12m ago•0 comments

Agnus Barbieri's Fast

https://en.wikipedia.org/wiki/Angus_Barbieri%27s_fast
1•rzk•13m ago•0 comments

Scientists find hidden antibiotic 100x stronger against deadly superbugs

https://www.sciencedaily.com/releases/2025/10/251029002855.htm
2•doener•13m ago•0 comments

Cell Nucleus

https://en.wikipedia.org/wiki/Cell_nucleus
1•ugur2nd•14m ago•0 comments

Meta is about to start grading workers on their AI skills

https://www.businessinsider.com/meta-ai-employee-performance-review-overhaul-2025-11
3•pella•18m ago•0 comments

You should still be writing code from your editor

https://github.com/sourcegraph/amp.nvim/pull/28
1•MorehouseJ09•19m ago•2 comments

Wikipedia and the Destruction of Trust [video]

https://www.youtube.com/watch?v=9zi0ogvPfCA
1•mpartel•22m ago•0 comments

Show HN: The Put Monolith – A Minimal AI-Ingestible Ruleset

https://github.com/publicusagetax/PUT-Monolith-v2
1•publicusagetax•24m ago•0 comments

Upgrading to Raspberry Pi OS Trixie

https://smist08.wordpress.com/2025/11/16/upgrading-to-raspberry-pi-os-trixie/
1•ingve•29m ago•0 comments

Britain to make refugee status temporary

https://www.reuters.com/world/uk/britain-announces-largest-asylum-policy-overhaul-modern-times-20...
3•PessimalDecimal•30m ago•0 comments

Adding an imaginary unit to a finite field

https://www.johndcook.com/blog/2025/11/16/finite-field-i/
2•ibobev•31m ago•0 comments

Linux mode setting, from the comfort of OCaml

https://roscidus.com/blog/blog/2025/11/16/libdrm-ocaml/
3•ibobev•32m ago•0 comments

Super human Stratego with RL and test time search

https://arxiv.org/abs/2511.07312
1•algo_trader•32m ago•1 comments

62 chapter open-source Zig book

https://www.zigbook.net
17•rudedogg•33m ago•1 comments

Bitcoin Is Falling and Crypto Stocks Are Crashing

https://www.theinformation.com/articles/bitcoin-falling-crypto-stocks-crashing
1•JumpCrisscross•33m ago•0 comments

Double Bind

https://en.wikipedia.org/wiki/Double_bind
1•walterbell•33m ago•0 comments

Show HN: Tsofa – The Simple, Offline Flashcard App

https://inventwithpython.com/tsofa/
1•AlSweigart•35m ago•0 comments

How A Narcissist Conducts Psychological Warfare (2019)

https://www.psychologytoday.com/us/blog/peaceful-parenting/201901/how-a-narcissist-conducts-psych...
5•walterbell•36m ago•1 comments

AI Is the Bubble to Burst Them All

https://www.wired.com/story/ai-bubble-will-burst/
4•AlphaWeaver•38m ago•0 comments