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

Claude Code deletes conversations after 30 days

1•mieubrisse•1m ago•0 comments

Adding Homemade TLS to a Homemade Web Server

https://www.dmytrohuz.com/p/adding-homemade-tls-to-a-homemade
1•dmyhuz•5m ago•0 comments

Euclid scientists discover most distant known quasars

https://www.euclid-ec.org/most-distant-quasars/
1•robin_reala•6m ago•0 comments

Ask HN: What is your go-to prompt to prove AI can be wrong?

1•throwaway_887•9m ago•0 comments

Ask HN: Do you guys struggle with finding a right person for your FDE role?

1•getelementbyiq•16m ago•0 comments

Experts offer advice on performing endurance events in excessive heat

https://news.northeastern.edu/2026/07/02/cycling-in-extreme-heat-tour-de-france/
1•ano-ther•17m ago•0 comments

Read Rust Like a Chinese Character

https://dawaba.pages.dev/writing/sometimes-read-rust-like-a-chinese-character/
1•saint-evan•17m ago•0 comments

A Self-Improving Code World Model Agent

https://jdsemrau.substack.com/p/a-self-improving-code-world-model
1•ph4rsikal•21m ago•0 comments

Show HN: Kiwi – Run agentic dev loops in the cloud, keep keys on your laptop

https://github.com/ibreakthecloud/kiwi
1•harshvkarn•22m ago•0 comments

Plex debuts 5-year membership pass for $250

https://arstechnica.com/gadgets/2026/07/250-used-to-get-you-a-lifetime-plex-pass-now-you-get-a-fi...
1•AndrewDucker•22m ago•0 comments

Australia prosecuting Amazon for unilaterally modifying Prime terms [video]

https://www.youtube.com/watch?v=DV2-GLJ2FnM
1•dataflow•24m ago•1 comments

Show HN: I built notion database based no code form builder

https://ndbforms.myurll.in/
1•nookeshkarri7•25m ago•0 comments

The Hitchhiker's Guide to Agentic AI

https://arxiv.org/abs/2606.24937
2•jonbaer•25m ago•0 comments

Show HN: TV Time to Serializd Importer

https://chromewebstore.google.com/detail/tv-time-→-serializd-impor/cpcfkgcidilfibakiaohbekkanlk...
1•Gooblebrai•26m ago•0 comments

your competitor is 10x better than you

https://www.mentionedby.world/
2•aykhanstoic•29m ago•1 comments

What else happened in 1776 [video]

https://www.youtube.com/watch?v=nGMCowI4exk
1•iansteyn•30m ago•0 comments

Venice AI becomes a unicorn with its privacy-first AI platform takes off

https://techcrunch.com/2026/07/01/venice-ai-becomes-a-unicorn-with-65m-series-a-as-its-privacy-fi...
2•felixdoerp•32m ago•0 comments

China fires ballistic missile into Pacific nuclear-free zone

https://www.ft.com/content/c52f0a98-2e6a-4acc-a668-d4ce442c4aba
1•cwwc•34m ago•0 comments

Roll your own file-based router in under 50 lines of code

https://wasp.sh/blog/2026/07/01/roll-your-own-file-based-router
1•cprecioso•35m ago•0 comments

Who Survives Europe's Energy Crisis?

https://themerchantsnews.substack.com/p/who-survives-europes-energy-crisis
3•felixdoerp•36m ago•0 comments

On Writing (Code)

https://unpredictabletokens.substack.com/p/on-writing-code
2•jac08h•39m ago•1 comments

Edit Markdown like editing a Word document

https://phcode.io/markdown-editor.html
2•charlypa•40m ago•2 comments

Inertial Navigation System

https://en.wikipedia.org/wiki/Inertial_navigation_system
1•thunderbong•40m ago•0 comments

Show HN: I built an AI that knows my net worth: 3 countries, 6 currencies

https://demo.joinbrisa.com
3•kareemarab•45m ago•0 comments

Pyramids – GIS Utility Package

https://github.com/serapeum-org/pyramids
2•marklit•46m ago•0 comments

Sentiment analysis of Reddit threads using BERT models

https://threadmood.sibencedigital.com/app?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fprogramming%2Fco...
4•jbarti•47m ago•1 comments

Quitting a Forever Game

https://ravi64.com/quitting-pokemon-go-forever-game/
2•outrunner•51m ago•0 comments

Compressor V2: three compression layers for a 50% LLM agent cost cut

https://www.edgee.ai/blog/posts/introducing-compressor-v2-three-compression-layers-measured-end-t...
5•kokakiwi•52m ago•0 comments

Pokémon Go '10th Anniversary Party' event guide

https://www.polygon.com/pokemon-go-10th-anniversary-party-event-timed-research-costumes-gimmighoul/
3•rldjbpin•53m ago•0 comments

Show HN: RNet, an AI credit wallet for everyday users

https://www.rnetai.org/
3•nextma•54m ago•2 comments