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

Grafana Labs security update on TanStack NPM supply chain ransomware incident

https://grafana.com/blog/grafana-labs-security-update-latest-on-tanstack-npm-supply-chain-ransomw...
1•taubek•54s ago•0 comments

Ringspace Trusted Webrings: Is a great idea returning?

https://ringspace.net/
1•8bitsrule•4m ago•0 comments

Nucleus: Enforced permissions for AI agents – policy+enforcement in one stack

https://github.com/coproduct-opensource/nucleus
1•weitzj•5m ago•1 comments

Claude Onboarding Unnecessarily Painful

1•totalconfusion•5m ago•0 comments

NSA Umbra UFO Files converted to Markdown and chat with them

1•freakynit•12m ago•0 comments

Mirage – Unified Virtual File System for AI Agents

https://www.strukto.ai/mirage
3•choam•13m ago•0 comments

Book on Truth in the Age of A.I. Contains Quotes Made Up by A.I

https://www.nytimes.com/2026/05/19/business/media/future-of-truth-ai-quotes.html
2•whyage•14m ago•0 comments

Obvious markers of AI: doubts raised over winner of short story prize

https://www.theguardian.com/books/2026/may/19/commonwealth-short-story-prize-winner-doubts-ai-art...
1•bananaflag•16m ago•0 comments

What is an executive chair, Tim Cook's new position?

https://hsu.cy/2026/04/tim-cook-as-the-executive-chair/
1•uneven9434•18m ago•0 comments

Tonic is joining the gRPC project

https://luciofranco.com/blog/tonic-joins-grpc/
1•explodingcamera•18m ago•0 comments

AppLovin – The two-second ad auction you never see

https://labs.nowsecure.com/applovin/
2•lmbbuchodi•19m ago•0 comments

My GitHub Account Was Unexpectedly Suspended

https://blog.lyc8503.net/en/post/github-account-suspended/
1•uneven9434•20m ago•0 comments

Running PyTorch Models on Apple Silicon GPUs with the ExecuTorch MLX Delegate

https://pytorch.org/blog/running-pytorch-models-on-apple-silicon-gpus-with-the-executorch-mlx-del...
2•tosh•27m ago•0 comments

Gemini Omni and the Cognitive Question We Aren't Ready For

https://old.reddit.com/r/AICognitiveWatch/
1•GlyphWeaver_a•31m ago•0 comments

Everything in C is undefined behavior

https://blog.habets.se/2026/05/Everything-in-C-is-undefined-behavior.html
27•lycopodiopsida•35m ago•3 comments

Content Credentials

https://en.wikipedia.org/wiki/Content_Credentials
2•svara•36m ago•0 comments

Ex-Apple engineer says Apple deliberately slows older phones via updates

https://www.macobserver.com/news/ex-apple-software-engineer-claims-apple-deliberately-slows-down-...
14•neya•47m ago•0 comments

Most Theoretical Physicists Are Doing Engineering

https://danieltan.weblog.lol/2026/05/most-theoretical-physicists-are-doing-engineering
2•danieltanfh95•51m ago•0 comments

Extended Cyber Kill Chain for AI-Era Threats

https://github.com/gouravnagar-infosec/ai-kill-chain
1•gnz1•54m ago•0 comments

Missing RAF pilot found strapped in his sunken Hurricane laid to rest

https://www.thetimes.com/uk/history/article/missing-raf-pilot-george-morley-fidler-hurricane-fran...
3•petethomas•54m ago•0 comments

Playing Wireless Audio on OpenBSD

https://xosc.org/bluetooth.html
2•JdeBP•54m ago•0 comments

Zig by Example

https://github.com/boringcollege/zig-by-example
3•dariubs•58m ago•0 comments

OpenAI for Singapore

https://openai.com/index/introducing-openai-for-singapore/
2•vinhnx•58m ago•0 comments

Infomaniak transitions to a foundation model to protect user data privacy

https://news.infomaniak.com/en/infomaniak-foundation-sovereign-cloud/
4•darktoto•59m ago•0 comments

International Orange

https://en.wikipedia.org/wiki/International_orange
2•MrJagil•1h ago•0 comments

UK Supermarkets may be asked to freeze prices of milk, eggs and bread

https://www.thetimes.com/uk/politics/article/supermarkets-freeze-prices-iran-war-0b8tlmh8c
2•petethomas•1h ago•0 comments

Graded Modal Types for Memory and Communication Safety

https://kar.kent.ac.uk/113723/
1•matt_d•1h ago•0 comments

Google's AI future demands trust and your personal data

https://www.theverge.com/tech/934172/google-io-gemini-ai-trust-personal-data
2•1vuio0pswjnm7•1h ago•1 comments

Califraudnation: CA civil rights agency closed my case to cover their mistakes

https://mattordeshook.substack.com/p/part-4-garden-gate-the-scandal
1•creativejustice•1h ago•0 comments

Net-Zero Infrastructure: Implementing Solar-Scheduled Tunnel Egress

https://claude.ai/public/artifacts/175eb839-aa6a-4ad6-9d61-c7eed27540b8
1•insta_tunnel•1h ago•0 comments