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

Agentsnap – find which config change broke your AI agent

https://drive.google.com/file/d/1oPTmOOkBtE0IRV4oy0K4NuuLxYBezXRc/view?usp=sharing
1•Gladi•2m ago•0 comments

Light Painting Tutorial, How to Light Paint a Light Man(2016)

https://lightpaintingphotography.com/light-painting-photography/light-painting-tutorial-how-to-li...
1•hopelessluca•8m ago•0 comments

GetSuperpower, an installable skill tree for coding agents

https://github.com/0xroylee/getsuperpower
1•1997roylee•9m ago•0 comments

'It's whack-a-mole': how Europe's smart border melted down

https://www.ft.com/content/3ed70f64-7443-4241-ac0f-38eabe218913
1•thm•12m ago•0 comments

Bending Spoons built a $23B tech empire from struggling brands

https://www.ft.com/content/040aac86-f458-400b-a353-7ff2ee5aa34f
1•mmarian•12m ago•1 comments

Notion based no code form builder

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

The Graduate-School Dropout Toppling China's Academic Stars

https://www.wsj.com/science/the-graduate-school-dropout-toppling-chinas-academic-stars-3c1e5d86
1•alecco•15m ago•1 comments

Toyota's CEO Warns the Company Might Not Survive

https://www.autonocion.com/us/toyota-crisis-chinese-evs/
1•Alien1Being•16m ago•0 comments

Show HN: Devflow CMS – Hybrid CMS Alternative to Joomla, Drupal, and WordPress

https://github.com/getdevflow
1•7mediaws•19m ago•0 comments

Is The Economist Always Wrong?

https://economist.com/interactive/finance-and-economics/2026/07/02/is-the-economist-always-wrong
1•andsoitis•20m ago•0 comments

Sollya: An environment and library for safe floating-point code development

https://www.sollya.org/
1•RossBencina•27m ago•0 comments

EV Batteries Are Defying Expectations After Miles

https://www.wsj.com/business/autos/ev-batteries-are-defying-expectations-after-hundreds-of-thousa...
13•apparent•29m ago•4 comments

Fidx – local semantic search in one SQLite file, no LLM at query

https://github.com/williamliu-ai/fidx
1•williamliu_ai•33m ago•0 comments

Security Roundup: Apple's Hide My Email Service Fails to Hide Your Email

https://www.wired.com/story/security-roundup-apples-hide-my-email-service-fails-to-hide-your-email/
1•01-_-•33m ago•0 comments

Show HN: Onboard-CLI, an AST-based tool to detect architectural drift

https://github.com/animesh-94/Onboard-CLI
1•yr_animesh•34m ago•0 comments

My manager appreciated my design process

3•Achuth123•39m ago•1 comments

Google commercial imagines Declaration of Independence written with help from AI

https://techcrunch.com/2026/07/04/new-google-commercial-imagines-a-declaration-of-independence-wr...
2•eloisius•39m ago•1 comments

sqlite-utils 4.0rc2, mostly written by Claude Fable (for about $149.25)

https://simonwillison.net/2026/Jul/5/sqlite-utils-fable/
2•ognyankulev•40m ago•0 comments

Top Companies in the Global Hybrid Memory Cube High-Bandwidth Memory Market

https://www.sphericalinsights.com/blogs/top-20-companies-in-the-global-hybrid-memory-cube-high-ba...
1•peter_d_sherman•42m ago•0 comments

Enigma M4 Breaker with GPU

https://github.com/vladimir-cicovic/EnigmaM4Breaker
2•vlad__81•44m ago•0 comments

Dungeon KeeperFX 1.4.0 with Multiplayer Released

https://keeperfx.net/news/25/2026-07-04/keeperfx-140-released
2•MrJagil•50m ago•1 comments

LLM's as a Different Kind of Intelligence

https://handmadeoasis.com/llms-as-a-different-kind-of-intelligence/
2•RamtinJ95•52m ago•0 comments

Geek, Music Producer, Father CEO Info-Struct

1•gryanfawcett•53m ago•0 comments

Megawatts by Microwave

https://computer.rip/2026-07-04-microwave-and-power.html
8•eternauta3k•1h ago•0 comments

Ask HN: How Do You Connect OpenAI Secure MCP Tunnel with Claude Desktop

2•mcpzero•1h ago•0 comments

Small Change [pdf]

https://web.stanford.edu/class/comm1a/readings/gladwell-small-change.pdf
2•ABNi•1h ago•0 comments

Fixing analog audio on the $2.58 HDMI-to-VGA adapter

https://nyanpasu64.gitlab.io/blog/hdmi-vga-dac-audio/
2•zdw•1h ago•0 comments

After hooking China on coffee, Starbucks ramps up consumer strategy

https://www.scmp.com/business/china-business/article/3359294/after-hooking-china-coffee-starbucks...
1•keepamovin•1h ago•0 comments

The '1776 Diet': What Americans ate during the nation's founding

https://www.foxnews.com/health/1776-diet-what-americans-really-ate-during-nations-founding
1•keepamovin•1h ago•0 comments

A gender-swap EarthBound for my daughter (2025)

https://tommy.reddad.net/post/2025-12-04-coilsnake/
1•Sajarin•1h ago•0 comments