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

Scientists have invented a way to erase bad memories. But should we?

https://www.sciencefocus.com/future-technology/erase-painful-memories
2•amichail•4m ago•0 comments

Rust Async and the Arm Generic Timer

https://thejpster.org.uk/blog/blog-2026-05-17/
1•hasheddan•5m ago•0 comments

Dealing with a Fake a World

1•morpheos137•5m ago•0 comments

Design posters showcasing your country's electrical grid

https://github.com/open-energy-transition/grid2poster
1•lyoncy•19m ago•0 comments

100% Vibe Code

https://humansvsai.io
1•creatorcuffee•21m ago•0 comments

Why ML is a metaphor for life

https://adeshpande3.github.io/Why-Machine-Learning-is-a-Metaphor-For-Life
1•_josh_meyer_•23m ago•0 comments

Finding the Time on AArch32

https://thejpster.org.uk/blog/blog-2026-05-16/
1•hasheddan•23m ago•0 comments

Meta AI Incognito Mode Chats

https://about.fb.com/news/2026/05/incognito-chat-whatsapp-meta-ai/
1•hdjY28•23m ago•0 comments

Financial Services Hackathon for Autism

https://fsi-hack4autism.github.io
1•hbcondo714•26m ago•0 comments

I reduced my OpenClaw token usage by 10x

https://brtkwr.com/posts/2026-05-17-reducing-openclaw-token-usage/
1•brtkwr•29m ago•0 comments

I want to talk population panic and understanding demography

https://bsky.app/profile/karenguzzo.bsky.social/post/3lor4lsga4c2c
1•doener•38m ago•0 comments

EPI – forensic evidence containers for AI agentSCITT-compatible, EU AI Act-ready

https://github.com/mohdibrahimaiml/epi-recorder
1•afridi_epilabs•38m ago•0 comments

Dealing with Incomplete Copyleft Source That Doesn't Correspond

https://sfconservancy.org/blog/2026/may/17/incomplete-corresponding-source-code-copyleft-agpl/
2•jacquesm•39m ago•0 comments

ElliQ is a surprisingly helpful companion robot for older adults

https://www.theverge.com/gadgets/928806/elliq-intuition-robotics-hands-on
1•sohkamyung•41m ago•0 comments

Just make your own usage brake for Cloudflare

https://github.com/eap5662/serverless-sentinel
1•es0teric5662•41m ago•1 comments

Court grants Musk's bid to add Craig Federighi to Apple/OpenAI lawsuit

https://9to5mac.com/2026/05/15/court-grants-musks-bid-to-add-craig-federighi-to-apple-openai-laws...
4•hdjY28•42m ago•1 comments

Fabricked: Misconfiguring Infinity Fabric to Break AMD SEV-SNP

https://xca-attacks.github.io/fabricked/
4•negura•43m ago•0 comments

So you want to deploy FN-DSA

https://keymaterial.net/2026/05/13/so-you-want-to-deploy-fn-dsa/
1•contact9879•48m ago•0 comments

Grounding AI shopping agents using personas learned from raw clickstream data

https://arxiv.org/abs/2605.14205
1•memoriesdotzip•49m ago•0 comments

The Law of Leaky Abstractions (2002)

https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-abstractions/
1•oldmanrahul•51m ago•0 comments

Anthropic's $1.5B Settlement with Publishers

https://abhishek-shankar.com/posts/the-pirated-corpus-was-always-a-balance-sheet-item
1•catstyler•51m ago•0 comments

Prowl: Native macOS codings agent orchestrator

https://tangled.org/onev.cat/Prowl
1•nerdypepper•54m ago•0 comments

LeakyLM: AI Assistants Are Leaking Your Conversations

https://leakylm.github.io/
1•lucasluitjes•55m ago•0 comments

Review: Cultivated Salmon

https://justismills.substack.com/p/review-cultivated-salmon
1•networked•56m ago•0 comments

Shipping my first mobile app with AI

https://blog.foundingengineer.com/p/what-i-learned-building-my-first
2•rpatni•59m ago•0 comments

AI Agents Ran 27,000 Experiments. Their Biggest Discovery

https://medium.com/@vektormemory/660-ai-agents-ran-27-000-experiments-their-biggest-discovery-was...
1•vektormemory•1h ago•2 comments

ThinkPad: From IBM's Bento Box to Lenovo's AI Workstations

https://www.jdhodges.com/blog/thinkpad-history/
8•zdw•1h ago•0 comments

Tokenomics: Is it cost effective to refresh Claude's cache, or let it expire?

https://skids.dev/blog/anthropic-cache-tokenomics/
2•ryanskidmore•1h ago•0 comments

Installing a Payphone at My House

https://bert.org/2022/06/02/payphone/
1•skinfaxi•1h ago•0 comments

AI Wearables Are Coming but They'll Need to Pass the Coffee Shop Test to Survive

https://www.inc.com/connor-jewiss/ai-wearables-are-coming-but-theyll-need-to-pass-this-crucial-co...
9•connorjewiss•1h ago•1 comments