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

A Bus Ride and the (At Least) 3x UX FAILs

https://bsdly.blogspot.com/2025/11/a-bus-ride-and-at-least-3x-ux-fails.html
1•zdw•1m ago•0 comments

Is memory-safe Linux within reach?

https://agarriga.substack.com/p/is-memory-safe-linux-within-reach
2•rhaps0dy•3m ago•1 comments

Think twice before translating all C to Rust

https://agarriga.substack.com/p/think-twice-before-translating-all
2•rhaps0dy•4m ago•0 comments

Gaza death toll surpasses 70k, says health ministry

https://www.theguardian.com/world/2025/nov/29/gaza-death-toll-rises-says-health-ministry
2•NomDePlum•7m ago•0 comments

PgFirstAid-The PostgreSQL Health Check Blog Post

https://randoneering.tech/blog/pgfirstaid/pgfirstaid/
1•todsacerdoti•8m ago•0 comments

Why Now? Why Me?: On Stumbling into a Solution That Shouldn't Have Been Mine

https://twitter.com/aialchemistart/status/1994925263822754147
1•LooseThreadsInt•8m ago•0 comments

Show HN: DotVeil – open-source, zero-knowledge .env sync for developers

https://github.com/klayserDev/dotveil
1•klayser•8m ago•1 comments

Simpler Java Build Tools with Object Oriented Programming [video]

https://www.youtube.com/watch?v=S47RpH_4Zn4
1•lihaoyi•11m ago•0 comments

Google Antigravity just deleted the contents of my whole drive

https://old.reddit.com/r/google_antigravity/comments/1p82or6/google_antigravity_just_deleted_the_...
3•iLoveOncall•12m ago•0 comments

Best Nail Colors for Fall Season

https://capstanmallnews.blogspot.com/2025/11/blog-post_26.html
1•jahangir540•12m ago•0 comments

ReScript 12

https://rescript-lang.org/blog/release-12-0-0/
2•sprkv5•14m ago•1 comments

The axis: the left-right spectrum has a non-ideology problem

https://www.gelliottmorris.com/p/not-just-left-vs-right-most-voters
1•aworks•16m ago•1 comments

Happiness Isn't Exponential

https://timemgmt.substack.com/p/happiness-isnt-exponential-22-08-23
2•tylerdane•19m ago•0 comments

Bazaar: New App Store for Gnome

https://github.com/kolunmi/bazaar
1•doener•22m ago•0 comments

Show HN: I Built an Unofficial Haskell Todoist REST API

https://github.com/samahri/TodoistSDK
1•samahri_hn•22m ago•0 comments

The Battle over Africa's Great Untapped Resource: IP Addresses

https://www.msn.com/en-us/money/general/the-battle-over-africa-s-great-untapped-resource-ip-addre...
1•pseudolus•23m ago•0 comments

The engineer–manager pendulum is breaking

https://www.modernleader.is/p/pendulum-revisited
3•mooreds•25m ago•0 comments

Walmart exec: 'I've never believed in the term work-life balance'

https://www.cnbc.com/2025/08/28/walmart-exec-never-believed-in-work-life-balancethe-mantra-she-us...
3•mooreds•26m ago•0 comments

'Ludwig Wittgenstein' review: An attack on the abstract

https://www.wsj.com/arts-culture/books/ludwig-wittgenstein-review-an-attack-on-the-abstract-8640e564
1•hhs•26m ago•0 comments

The hottest new AI company is Google?

https://www.cnn.com/2025/11/29/tech/ai-chips-google-gemini-3-tpu-nvidia
1•mooreds•27m ago•0 comments

Hong Kong high-rise fire shows how difficult it is to evacuate in an emergency

https://theconversation.com/the-hong-kong-high-rise-fire-shows-how-difficult-it-is-to-evacuate-in...
3•pseudolus•27m ago•0 comments

CSS now has an if() conditional function

https://caniuse.com/?search=if
2•aanthonymax•29m ago•1 comments

Vulkan's VK_EXT_present_timing Merged After Five Years in the Making

https://www.phoronix.com/news/VK_EXT_present_timing-Merged
1•coffeeaddict1•31m ago•0 comments

GCC 16 Switches to Using C++20 Standard by Default

https://www.phoronix.com/news/GCC-16-Now-CPP20-Default
2•coffeeaddict1•31m ago•0 comments

Translating Large-Scale C Repositories to Idiomatic Rust

https://arxiv.org/abs/2511.20617
1•nhatcher•34m ago•0 comments

The Sleep-Age Paradox

https://shanakaanslemperera.substack.com/p/the-sleep-age-paradox
1•jnord•34m ago•0 comments

Ask HN: What licensing software are you choosing for your projects?

2•jdironman•36m ago•1 comments

Maximum Power Point Tracking

https://en.wikipedia.org/wiki/Maximum_power_point_tracking
1•zeristor•39m ago•0 comments

Chinese parts supplier takes stake in leading Russian drone maker

https://www.ft.com/content/e907c2fa-2d3b-4269-bc6c-b2fee4d9f688
3•petethomas•41m ago•0 comments

Insecure Data Storage in IoT Smart Lock App

https://blog.ptidej.net/understanding-insecure-data-storage-in-iot-smart-lock-companion-app/
1•yann-gael•46m ago•1 comments