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

Building Daily Puzzles, on Ending Them, and Other Thoughts

https://dailybaffle.com/on-ending-morphology
1•windowshopping•13s ago•0 comments

What's Under Your Feet in New York City?

https://practical.engineering/blog/2026/7/21/whats-under-your-feet-in-new-york-city
1•crescit_eundo•2m ago•0 comments

Nvidia Parakeet and MOSS vs. Apple's SpeechAnalyzer: benchmark round 2

https://get-inscribe.com/blog/parakeet-moss-apple-speech-benchmark.html
1•get-inscribe•3m ago•0 comments

Show HN: WorldBuild Bench repo: testing LLM world coherence with 3D games

https://github.com/sebnado/worldbuild-bench
1•sebnado•3m ago•0 comments

The Semiotics of Companionship

https://semiodept.substack.com/p/the-semiotics-of-companionship
1•pressentiment•3m ago•0 comments

Ask HN: What do you consider the function of AI to be in your life currently?

1•mpdpsycho•4m ago•0 comments

Securing America's Defense Supply Chains

https://www.whitehouse.gov/presidential-actions/2026/07/securing-americas-defense-supply-chains-a...
2•big_toast•4m ago•1 comments

$100 million for open source: A milestone built by the community

https://github.blog/open-source/maintainers/100-million-for-open-source-a-milestone-built-by-the-...
1•Brajeshwar•5m ago•0 comments

Apple winding down iPhone Upgrade Program: report

https://9to5mac.com/2026/07/21/apple-winding-down-iphone-upgrade-program-report/
2•cdrnsf•6m ago•0 comments

'Self-State Attacks' New Threat: AI Agents Poisoned via Their Memory

https://aiweekly.co/alerts/schmidhuber-et-al-formalize-self-state-attacks-on-ai-agents
2•adu_onemore•7m ago•0 comments

Bessent says U.S. could sanction China over AI model 'theft'

https://www.cnbc.com/2026/07/21/bessent-china-ai-sanctions.html
1•huragok•9m ago•0 comments

Zone of Ceremony (2019)

https://blog.ploeh.dk/2019/12/16/zone-of-ceremony/
2•mtdewcmu•9m ago•0 comments

Models are worse at reviewing their own code

https://www.greptile.com/blog/model-inversion
1•meetpateltech•10m ago•0 comments

Show HN: Freeze the Model, Train the Harness

https://github.com/workofart/harness-training
1•megadragon9•10m ago•0 comments

Takuslides: Yes its an AI app, but I worked hard on this

https://takuslides.com/
1•takuonline•11m ago•1 comments

Rwx: An interactive Unix file permissions and ownership TUI manager

https://github.com/vncsmnl/rwx
1•maxloh•11m ago•0 comments

Roblox Officially Supports GrapheneOS

https://en.help.roblox.com/hc/en-us/articles/49648939984916-Android-Remote-Attestation
3•Cider9986•12m ago•0 comments

Google has started Pre-Training Gemini 4

https://twitter.com/OfficialLoganK/status/2079594867161022817
1•EvanZhouDev•12m ago•1 comments

Trusty Boot Key, a Ventoy Alternative

https://codeberg.org/aol/trusty-boot-key
1•mixmastamyk•13m ago•0 comments

We Re-Benchmarked a Hetzner VM After a 228% Price Increase

https://webbynode.com/articles/we-rebenchmarked-a-hetzner-vm-after-a-228-percent-price-increase
1•gsgreen•13m ago•0 comments

We Need a Neural Network (2006)

https://thedailywtf.com/articles/No,_We_Need_a_Neural_Network
3•Apocryphon•16m ago•0 comments

The future of Digital-out-of-home (DooH) advertising

https://hawtads.com/ads-engine
1•hawtads•16m ago•0 comments

African nations eye nuclear for energy security

https://www.semafor.com/article/07/20/2026/african-nations-eye-nuclear-for-energy-security
1•mpweiher•19m ago•0 comments

Oh-my-pi: A coding agent with the IDE wired in

https://omp.sh/
2•lwhsiao•19m ago•0 comments

How An Old Shipping Law Raises Consumer Prices

https://www.theatlantic.com/ideas/2026/07/jones-act-domestic-commerce/688003/
3•Jtsummers•20m ago•1 comments

Gumroad Says That It's Now Spending as Much on Human Employees as AI Tokens

https://officechai.com/ai/gumroad-says-that-its-now-spending-as-much-on-human-employees-as-ai-tok...
2•nigelgutzmann•20m ago•1 comments

The US Escalates Its Assault on Brazil's Free-to-Use Digital Payments System

https://www.nakedcapitalism.com/2026/07/the-us-escalates-its-assault-on-brazils-publicly-controll...
4•iamnothere•21m ago•3 comments

What it means to be rich in this economy – from your 20s to your 80s

https://www.marketwatch.com/story/will-you-ever-feel-rich-this-chart-tells-you-whether-youre-on-t...
1•gmays•22m ago•0 comments

We scanned 1,868 AI-built apps for production readiness, and audited our scanner

https://pathtoship.com/blog/state-of-ai-built-code
1•nathanghart•22m ago•0 comments

Show HN: VoicePost – Grow an audience on X and Promote on Reddit without ban

https://voicepo.st
2•Tanishq0333•24m ago•0 comments