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

Next.js applications, powered by Vite: introducing Vinext 1.0

https://blog.cloudflare.com/vinext-nextjs-on-vite/
1•rk06•1m ago•0 comments

Teaching a document parser to find its own blind spots

https://thesfstack.substack.com/p/teaching-a-document-parser-to-find
1•jonah_reddick•6m ago•0 comments

HGATE – Human-Guided AI-Assisted Traceable Engineering

https://mali-tintash.github.io/hgate/
1•self•8m ago•0 comments

How to save 1/3 of world electricity consumption [video]

https://www.youtube.com/shorts/nW95cBpNreI
1•lifeisstillgood•10m ago•0 comments

'A difficult line': meet the editors tackling Wikipedia's arms trade pages

https://www.theguardian.com/technology/2026/oct/21/a-difficult-line-meet-the-editors-tackling-wik...
1•theanonymousone•10m ago•0 comments

Hetzner Outage

https://status.hetzner.com/
2•lazyweb•13m ago•1 comments

Grip – a Git hook that won't let me push code I can't explain

https://github.com/guilyx/grip
1•elejeune•15m ago•0 comments

The Urge to Build Everything

https://vostride.com/blog/the-urge-to-build-everything
1•pranshuchittora•16m ago•0 comments

A quantum computing feat brings the 'megaquops' era a step closer

https://www.sciencenews.org/article/quantum-computer-megaquops-error-correction
1•smoyer•17m ago•0 comments

Mastodon 5.0: A Closer Look

https://blog.joinmastodon.org/2026/10/5.0-a-closer-look/
3•birdculture•17m ago•0 comments

Correcting a 2400 dpi A3 Scanner in Software

https://www.pagetable.com/302
1•dezgeg•22m ago•0 comments

Comma: the personal agent that carries work to done

https://comma.surf/blog/meet-comma-personal-agent
1•Johnson8053•23m ago•0 comments

A game about building a city, built by a team that is building a real city

https://game1.forestcity.uk
2•ISNIT•23m ago•2 comments

Show HN: We built an AI-powered search engine for e-commerce catalogs

https://visidea.ai/
1•arolando•23m ago•0 comments

Show HN: We replayed 12 real AI agent incidents against our open-source tool

https://squidbrake.com/benchmark
1•batrapulkit1103•25m ago•0 comments

Go 1.27.3 and Go 1.26.10 are released

https://groups.google.com/g/golang-announce/c/66pojueaQek
2•axis_official•26m ago•0 comments

Unikernels in OCaml

https://uniker.nl/
1•joshcsimmons•28m ago•0 comments

We need your spiritual gifts

https://sashachapin.substack.com/p/we-need-your-spiritual-gifts
1•eatitraw•30m ago•0 comments

Whatever Happened to Fire Escapes

https://practical.engineering/blog/2026/10/20/whatever-happened-to-fire-escapes
7•sohkamyung•34m ago•0 comments

Unitree Introducing: H2-X Kung Fu Legend Guardian

https://twitter.com/UnitreeRobotics/status/2112819774573179175
1•santiago-pl•34m ago•0 comments

Why is Elon Musk plotting a mega-merger of SpaceX and Tesla?

https://www.bbc.com/news/articles/cr93z1e87e0do
1•SenHeng•34m ago•0 comments

Nvidia Vera's System Architecture: Pushing Bandwidth

https://chipsandcheese.com/p/nvidia-veras-system-architecture
2•rbanffy•35m ago•0 comments

Average moments of a long-term meditator

https://sashachapin.substack.com/p/average-moments-of-a-long-term-meditator
1•eatitraw•37m ago•0 comments

The Media 'Manufactured' Millionaire Exodus from UK, Campaigners Tell IPSO

https://bylinetimes.com/2026/10/20/the-media-manufactured-millionaire-exodus-from-uk-campaigners-...
3•robtherobber•41m ago•0 comments

eMudhra Statement on Recent Certificate Security Incident

https://emudhra.com/en/post/certificate-security-incident
2•chanux•44m ago•1 comments

Extension for Better VS Code Terminal Shortcuts

https://github.com/kolibril13/terminal-color-cycle
1•kolibril13•48m ago•2 comments

Amazon's TorchNeuron Runs PyTorch on AWS Trainium Chips

https://www.aboutamazon.com/news/innovation-at-amazon/torchneuron-pytorch-aws-trainium-chips-ai
1•jonbaer•48m ago•0 comments

Neuroevolution Can Play Super Mario Better Than Any Human

https://orange-bread-2832.vahmoh25.workers.dev/
2•amirpros•48m ago•1 comments

Show HN: EPUfix – Invoicing software for the self-employed in Austria

https://epufix.at
1•nicojuhari•49m ago•1 comments

PHP2Shell: Critical Vulnerabilities in PHP

https://www.aikido.dev/blog/critical-vulnerabilities-in-php-php2shell
2•sunbum•49m ago•0 comments