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

America's $10T AI infrastructure boom is starting to fray

https://www.ft.com/content/9ea5a37d-15c9-4d5b-94d6-719048c9cd3c
1•cheesecompiler•2m ago•0 comments

He Jiankui Affair

https://en.wikipedia.org/wiki/He_Jiankui_affair
1•cl3misch•7m ago•0 comments

JAXA is about to perform a Phobos sample return mission

https://www.science.org/content/article/audacious-space-heist-japan-aims-bring-home-bits-martian-...
1•Muhammad523•8m ago•0 comments

A Princeton PhD Applied to 2,300 Jobs. He Still Can't Get One

https://www.wsj.com/lifestyle/careers/labor-market-freeze-phd-graduate-f8e17d7c
2•mid1110•12m ago•0 comments

Zero-Click Spyware Is Infecting Phones via Targeted Ads

https://www.wired.com/story/nightmare-scenario-zero-click-spyware-is-infecting-phones-via-targete...
1•walterbell•14m ago•0 comments

Encryption Is Getting Squeezed from All Sides

https://www.wired.com/story/kernel-panic-encryption-is-getting-squeezed-from-all-sides/
1•ent101•22m ago•0 comments

Space Shuttle Endeavour Transport

https://www.cordobacorp.com/move-of-the-space-shuttle-endeavour/
1•thunderbong•28m ago•0 comments

Algorithmic Similarity and the Limits of Proof: Facial Recognition

https://medium.com/@smoking2man/algorithmic-similarity-and-the-limits-of-proof-facial-recognition...
1•Aldus551•33m ago•0 comments

The Cycle of New Software: On Operative Simulacra

https://szymon-wilczek.me/writings/the-cycle-of-new-software/
1•signa11•33m ago•0 comments

'What the hell did this?': The orca brothers preying on great white sharks

https://www.bbc.com/future/article/20261015-sharks-washed-up-one-after-another-after-another-why-...
1•jazali•34m ago•0 comments

Want to Release Projects Easily?

https://cx-shipd.netlify.app
1•CX-Designs•43m ago•0 comments

Anthropic turns to lawyers to help AI agents strike deals

https://www.ft.com/content/f7c26ac0-f5f2-443a-86b2-39d62f7920a9
1•thm•45m ago•0 comments

Show HN: Parents Inbox – Communication Guide for Schools

https://helptheparents.org/
1•sxates•49m ago•0 comments

TurboScribe AI: Free video to text and audio to text converter

https://www.turboscribeai.org/
1•wsm123456•53m ago•0 comments

China startup demoes prototype EUV light source, still years away from viability

https://www.tomshardware.com/tech-industry/semiconductors/china-startup-demoes-prototype-euv-ligh...
1•rguiscard•54m ago•0 comments

PwnEscape: Guest-to-Host KVM Escape (CVE-2026-99999)

https://pwn.ai/blog/pwnescape
1•taubek•55m ago•0 comments

I made an OS kernel in Rust that runs in the browser and on an actual computer

https://github.com/avycado13/webos
1•avycado13•1h ago•0 comments

LLMs are inside fabs, so why aren't they solving core problems?

https://www.waferpilot.xyz/resources/fab-llm-yield-reliability/
2•mangohaha•1h ago•0 comments

Telegram Web A: Telegram's Zero-Dependency Official Web Client

https://github.com/Ajaxy/telegram-tt
2•theanonymousone•1h ago•0 comments

Show HN: Pbschema-lens – static doc generator for protobuf

https://github.com/ymmt2005/pbschema-lens
1•ymmt2005•1h ago•0 comments

The game industry is broken – can we fix it?

https://knowledge.edge-online.com/p/the-game-industry-is-broken-can-we-fix-it-tim-sweeney-edge-crash
17•mellosouls•1h ago•13 comments

World's Timekeepers Vote to Eliminate the Leap Second

https://www.smithsonianmag.com/smart-news/its-official-timekeepers-have-gotten-rid-of-the-leap-se...
1•signa11•1h ago•0 comments

Fast approximation algorithms for knapsack problems (1977)

https://ieeexplore.ieee.org/document/4567944
1•vismit2000•1h ago•0 comments

Dot factory – a spec to describe complex (agentic) workflows

https://redbeardlab.github.io/dotFactory/
1•siscia•1h ago•0 comments

Matthew Prince on why Cloudflare offers a free version and always will

https://webmasters.stackexchange.com/questions/88659/how-can-cloudflare-offer-a-free-cdn-with-unl...
39•thatslast•1h ago•15 comments

Mobile Application GPU Optimization Guide

https://arm-software.github.io/magog/
1•matt_d•1h ago•0 comments

Rahn Curve

https://en.wikipedia.org/wiki/Rahn_curve
1•baxtr•1h ago•0 comments

Does moving a GPU server's request loop into the kernel save CPU?

https://eunomia.dev/blog/2026/10/17/bpf-gpu-server/
1•thatslast•1h ago•0 comments

Wing Commander 3 is getting a remaster

https://www.pcgamer.com/games/sim/it-looks-like-wing-commander-3-is-getting-a-remaster-after-ea-p...
3•jbm•1h ago•0 comments

AI Slop? Nay, AI Gourmet

https://octomon.dev/blog/ai-slop-and-ai-gourmet/
1•securitypedant•1h ago•1 comments