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

How Warp Speed Works (2023)

https://science.howstuffworks.com/warp-speed.htm
1•NaOH•50s ago•0 comments

Car T-cell therapy shows promise in patients with multiple myeloma

https://news.massgeneralbrigham.org/en/dual-targeted-car-t-cell-therapy-for-treatment-resistant-m...
1•geox•2m ago•0 comments

Top Command and Control (C2) with a Beacon for macOS

https://medium.com/@nukeratframework/top-5-command-control-c2-with-a-beacon-for-macos-4e6f88a6225f
1•JohnTheTitor•6m ago•0 comments

Claude was trained on protein sequences at scale

http://xinmingtu.cn/blog/2026/claude-opus-5-5-protein-sequences/
1•gmays•7m ago•0 comments

Lampin' #1: Let There Be Light

https://yakshed.com/lamp/
1•gregsadetsky•7m ago•0 comments

Climate change is making some African deserts greener

https://www.economist.com/middle-east-and-africa/2026/11/17/climate-change-is-making-some-african...
1•andsoitis•8m ago•0 comments

What-when-how – In Depth Tutorials and Information

https://web.archive.org/web/20240301024646/https://what-when-how.com/
1•ankitg12•12m ago•0 comments

Elon Musk Says Sean Duffy Turned Down Free Starlink for FAA

https://finance.yahoo.com/technology/articles/elon-musk-says-sean-duffy-014354751.html
1•canucker2016•14m ago•1 comments

Show HN: Tinnitus frequency finder and audio notch tool

https://trynotched.com/find
1•brianrhea•15m ago•1 comments

H-1B Executive Actions in 2026 [pdf]

https://www.everycrsreport.com/files/2026-10-14_IN12747_fcb1389788aa7b9102b795882af042e85d20532c.pdf
1•rawgabbit•17m ago•0 comments

Engineering Vitals in the Age of AI

https://octopus.com/blog/engineering-vitals-in-the-age-of-ai
2•paulstovell•18m ago•0 comments

Backdoor attacks against Machine Learning IRL

https://phrack.org/issues/73/backdoor-attacks-against-machine-learning-irl_md
1•Alien1Being•19m ago•1 comments

San Diego dumps both Flock cameras and smart streetlights

https://arstechnica.com/tech-policy/2026/11/san-diego-dumps-both-flock-cameras-and-smart-streetli...
1•pilingual•21m ago•0 comments

Word Machines for Weird Machines

https://phrack.org/issues/73/word-machines-for-weird-machines_md
1•Alien1Being•21m ago•1 comments

Disaggregated Inference from the Ground Up

https://www.cerebras.ai/blog/disaggregated-inference-from-the-ground-up
1•peter_d_sherman•23m ago•1 comments

My Dog Ate a Loaf of Bread – What to Do Now – PetToxCheck

https://pettoxcheck.com/dogs/my-dog-ate-loaf-of-bread/
1•june_lindqvist•25m ago•0 comments

Unlocking Stable On-Policy RL on TPU with Bitwise-Zero Train–Inference Mismatch

https://developers.googleblog.com/unlocking-stable-on-policy-rl-on-tpu-with-bitwise-zero-traininf...
1•gmays•26m ago•0 comments

HTML-in-Canvas: Draw live DOM subtrees directly into 2D, WebGL, or WebGPU canvas

https://developer.chrome.com/docs/web-platform/html-in-canvas
1•selvan•28m ago•0 comments

Rubio says zero evidence tech outages related

https://www.cbsnews.com/news/marco-rubio-tech-outages-not-connected/
2•Exoristos•32m ago•0 comments

Former Nvidia CEO Jensen Huang can nominate two directors to company board

https://www.reuters.com/legal/transactional/former-nvidia-ceo-jensen-huang-can-nominate-two-direc...
2•mfiguiere•35m ago•0 comments

Microsoft disabled API permissions seemingly overnight

2•emp_•37m ago•0 comments

Show HN: Director's Lookbook, named looks for image, video and music prompts

https://directorslookbook.app/
1•RiverRoadLabs•38m ago•0 comments

Hugging Face and OpenRouter join forces to make open-weight models easy to run

https://huggingface.co/blog/openrouter
2•gmays•41m ago•0 comments

Vaccine Improves Survival in People with Acute Myeloid Leukemia

https://www.mskcc.org/news/vaccine-improves-survival-in-people-with-acute-myeloid-leukemia-aml
1•thinkcontext•41m ago•0 comments

Fossil: CGI Server Extensions

https://fossil-scm.org/home/doc/trunk/www/serverext.wiki
1•thunderbong•43m ago•0 comments

Mac Video Player for BitTorrent

https://freshetplayer.com/
1•fxjima•48m ago•0 comments

Musk's Deadliest Legacy

https://fpif.org/musks-deadliest-legacy/
7•Alien1Being•49m ago•1 comments

Mullet: The Skill for Job Security

https://github.com/russell-dot-js/mullet
1•russell-dot-js•51m ago•1 comments

AI borrowers pay more for debt as cash burn mounts, yields rise and tech falters

https://greyswansignals.com
2•hairoglyphics•51m ago•0 comments

Deterministic Simulation Testing

https://martinfowler.com/articles/deterministic-simulation-testing.html
1•ibobev•53m ago•0 comments