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

Self-hosting. Commercially available LLMs are increasingly hampered by cost

https://p4sc4l.substack.com/p/self-hosting-commercially-available
1•inferhaven•1m ago•0 comments

Ace: Apple Type-C Port Controller Secrets – Part 1 (2020)

https://web.archive.org/web/20211023034503/https://blog.t8012.dev/ace-part-1/
1•gregsadetsky•4m ago•0 comments

Equilibrium Points in Dyson's Toy Cell Model

https://chillphysicsenjoyer.substack.com/p/equilibrium-points-in-dysons-toy
1•crescit_eundo•4m ago•0 comments

Guidance on Lending to Individuals Not Legally Authorized to Work in the U.S.

https://www.occ.gov/news-issuances/news-releases/2026/nr-ia-2026-57.html
2•petethomas•7m ago•0 comments

Three Sacred Cows

https://world.hey.com/dhh/three-sacred-cows-that-must-die-so-europe-can-live-1afb203d
1•fmkamchatka•9m ago•0 comments

New spinning drone hides in plain sight

https://news.northwestern.edu/stories/2026/07/new-spinning-drone-hides-in-plain-sight
2•gnabgib•10m ago•0 comments

I let AI build a trading bot, then Reddit caught my overfitting mistake

https://aiprojectlog.com/overfitting-backtest/
1•vpsmonitor•10m ago•0 comments

XPal Launches Desktop App for Windows, macOS, and Browser

https://xpalapp.substack.com/p/xpal-launches-desktop-application
1•Brandon-Coll•10m ago•1 comments

Kimi K3 is ranked 3rd on artificial analysis, only 2 points behind Sol

https://artificialanalysis.ai
2•couAUIA•11m ago•0 comments

Whoop 4.0 Without a Subscription

https://github.com/OpenStrap/edge
1•guidoiaquinti•11m ago•0 comments

We decided not to limit VPNs: UK government U-turns on age-gating privacy tools

https://www.techradar.com/vpn/vpn-privacy-security/we-decided-not-to-limit-vpns-uk-government-u-t...
2•Cider9986•12m ago•0 comments

As a musician, I prefer illegal downloading over Spotify (2011)

https://derekwebb.tumblr.com/post/13503899950/giving-it-away-how-free-music-makes-more-than
2•teach•13m ago•0 comments

DHS Finalizes Rule Limiting How Long International Students Can Stay in U.S.

https://www.insidehighered.com/news/government/2026/07/16/rule-limiting-international-students-ti...
2•spindie•14m ago•0 comments

Show HN: Makefile tutorial that runs make in the browser

https://sandbox.bio/tutorials/makefile-intro
1•raboukhalil•14m ago•0 comments

Kimi K3 is now #1 in the Front end Code Arena with 1679 pts, surpassing Fable 5

https://twitter.com/arena/status/2077824029126504525
4•nekofneko•14m ago•0 comments

Natural Selection Favors AIs over Humans

https://arxiv.org/abs/2303.16200
3•StrauXX•16m ago•0 comments

Xint Pulse: On-Demand Web App Penetration Tests

https://xint.io/blog/xint-pulse-one-time-web-app-scans
1•alp1n3•19m ago•0 comments

Show HN: Puffgres logically replicates Postgres entities in turbopuffer

https://github.com/a24films/puffgres
1•lucasgelfond•20m ago•0 comments

Harbor – Evernote but Not Crooked

https://harbor.my
2•cloudmanic•21m ago•0 comments

Scientists discovered the brain doesn't make decisions the way we thought

https://hmntl.illinois.edu/news/illinois-grainger-findings-challenge-traditional-neuroscience
3•dogscatstrees•23m ago•1 comments

Using AI for Good Episode 1: SpiralOS Concept

1•rmcdermott•23m ago•0 comments

New buy-to-own Kiwi music platform Lume hopes to cash in on subscription fatigue

https://www.rnz.co.nz/news/business/728543/new-buy-to-own-kiwi-music-platform-lume-hopes-to-cash-...
3•billybuckwheat•23m ago•0 comments

Paper Ballot GPL'd software suite

https://github.com/mjtrac/pbss
1•mjtrac•24m ago•1 comments

Fixed Deep research and web fetch in Claude Code : full open source

https://github.com/kunal12203/webify-mcp
1•kunal122•26m ago•0 comments

Claude Caught with It's Hand in the Cookie Jar, Again

https://old.reddit.com/r/ClaudeAI/comments/1uy7hnq/you_know_ai_has_been_extensively_trained_on/
4•johnnyApplePRNG•27m ago•0 comments

Floating in Lithium

https://archis.org/volume/floating-in-lithium/
1•Vigier•27m ago•0 comments

Tesla driver who blamed crash on autopilot pressed accelerator 100%, NTSB finds

https://arstechnica.com/tech-policy/2026/07/tesla-driver-who-blamed-crash-on-autopilot-pressed-ac...
4•sbulaev•27m ago•0 comments

Sauna Jungle

https://www.saunajungle.com/
1•hubears•28m ago•0 comments

Google Gemini launch delayed as tech falls short of internal goals

https://www.reuters.com/business/google-gemini-launch-delayed-tech-falls-short-internal-goals-blo...
1•wslh•28m ago•0 comments

how we monitor our rl training runs

https://castform.com/blog/monitoring-rl-runs/
1•kumama•28m ago•0 comments