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

Apple should let us schedule work-hours notifications for specific apps

1•hellowastaken•42s ago•0 comments

What if your AI agent could have its own WhatsApp number?

https://tyxter.com/
1•thiagocarboni•2m ago•1 comments

I predicted all WC2026 matches with Poisson Dixon-Coles – 64% accuracy

https://predictive-model.com
1•dosores•2m ago•0 comments

Underwater Kites Harvest Power from Slow-Moving Tides

https://spectrum.ieee.org/tidal-energy-underwater-kite-power
1•speckx•2m ago•0 comments

Inertia-1: An Open Exploration to a Unified Motion Foundation Model

https://yang-ai-lab.github.io/Inertia-1/
1•hasheddan•3m ago•0 comments

Association of sedentary behaviors w cortical, subcortical &white matter volumes

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/alz.71582
1•bookofjoe•6m ago•0 comments

Where B2B Buyers Ask on Reddit: 30 Days of Scan Data

https://cuescout.com/blog/where-b2b-buyers-actually-ask-on-reddit
1•tgdaimov•7m ago•0 comments

The asymmetry problem: AI safeguards are mainly annoying to the good guys

https://cephalosec.com/blog/the-asymmetry-problem-ai-safeguards-are-mostly-hindering-the-good-guys/
1•Versipelle•7m ago•0 comments

We're Squandering LEDs' Potential to Save Our Night Skies

https://spectrum.ieee.org/led-light-pollution
1•defrost•7m ago•0 comments

Landmark Science Report Confirms Big Oil's Fingerprints on Extreme Weather

https://www.commondreams.org/newswire/landmark-science-report-confirms-big-oils-fingerprints-on-e...
1•robtherobber•8m ago•0 comments

Codex is wearing out our devices

https://old.reddit.com/r/codex/comments/1v0m3lt/codex_is_wearing_out_our_devices/
1•spenvo•10m ago•2 comments

Grading Is Easy, Feedback Is Hard: Evaluating LLMs for OOP Assessment [pdf]

https://github.com/elipcs/grading-is-easy-feedback-is-hard/blob/main/docs/Grading_Is_Easy_Feedbac...
1•lucis•12m ago•0 comments

Memory Safety's Hardest Problem

https://matklad.github.io/2026/07/20/memory-safety-hardest-problem.html
1•surprisetalk•12m ago•0 comments

Show HN: Give your AI agent a personality (and a voice) without external APIs

https://fellowgeek.github.io/mcp-speak/
1•pcbmaker20•13m ago•0 comments

AgentBaiting: Fake AI Skills and MCP Servers Delivered Malware

https://www.island.io/blog/agentbaiting-how-800-fake-ai-skills-and-mcp-servers-delivered-malware
1•deronEx•13m ago•0 comments

Anduril reveals Thunder, a 'loyal wingman' drone for helicopters

https://breakingdefense.com/2026/07/anduril-reveals-thunder-a-loyal-wingman-drone-for-helicopters/
1•atlasunshrugged•13m ago•0 comments

The Most Counterintuitive Way to Build a Brain [video]

https://www.youtube.com/watch?v=cDxtFtoQVNc
1•surprisetalk•13m ago•0 comments

Chinese AI model Kimi K3 halts new signups amid skyrocketing demand

https://www.euronews.com/next/2026/07/20/chinese-ai-model-kimi-k3-halts-new-signups-amid-skyrocke...
2•teleforce•14m ago•0 comments

NYC Roam: 3D world with real transit and building data

https://www.nycroam.com/
2•heresalexandria•15m ago•1 comments

MIT researcher proposes a way to detect nuclear weapons in space

https://news.mit.edu/2026/mit-researcher-proposes-way-to-detect-nuclear-weapons-in-space-0708
2•JeanKage•15m ago•1 comments

Yunnan's mineral wealth and border corridors could solve China's Malacca dilemma

https://www.scmp.com/news/china/military/article/3361079/how-yunnans-mineral-wealth-and-border-co...
1•teleforce•16m ago•0 comments

Soofi – Sovereign Open Source Foundation Models

https://www.soofi.info/
2•Fake4d•22m ago•0 comments

Datasette-plot – Datasette Plugin for building data visualizations

https://www.datasette.cloud/blog/2023/datasette-plot/
2•ankitg12•22m ago•0 comments

How Would For-Hire Autonomous Vehicles Impact NYC?

https://www.openplans.org/how-for-hire-autonomous-vehicles-impact-nyc
1•geox•24m ago•0 comments

The Return (2024 Film)

https://en.wikipedia.org/wiki/The_Return_(2024_film)
1•BiraIgnacio•24m ago•1 comments

The Reverse Information Paradox (Satya Nadella)

https://snscratchpad.com/posts/reverse-information-paradox/
1•adletbalzhanov•26m ago•0 comments

CRA Compliance Kit – EU Cyber Resilience Act in One Pip Install

https://starcaller.uk/cra-compliance/
1•sparka•26m ago•0 comments

Hugging Face Data Breach

https://techcrunch.com/2026/07/20/hugging-face-confirms-breach-affected-internal-datasets-and-cre...
3•dotmanish•26m ago•0 comments

Stop Using OpenCode

https://wren.wtf/shower-thoughts/stop-using-opencode/
2•alekq•28m ago•0 comments

AgentAbstain: Do LLM Agents Know When Not to Act?

https://arxiv.org/abs/2607.10059
2•embedding-shape•29m ago•0 comments