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

After Geneva, AI Governance Must Confront the Trust Deficit

https://www.techpolicy.press/after-geneva-ai-governance-must-confront-the-trust-deficit/
1•cdrnsf•1m ago•0 comments

The Internet Had a North Star. The UN's Global Dialogue Made Clear AI Doesn't

https://www.techpolicy.press/the-internet-had-a-north-star-the-uns-global-dialogue-made-clear-ai-...
1•cdrnsf•1m ago•0 comments

Alzheimer's Blood Tests Offer New Promise to Diagnose and Predict the Disease

https://www.nytimes.com/2026/07/15/well/mind/alzheimers-disease-blood-tests-symptoms.html
2•elo2000•2m ago•0 comments

Treating generic drugs as something special can wreck affordability

https://www.46brooklyn.com/research/wrecklimid-how-treating-generic-drugs-as-something-special-ca...
1•toomuchtodo•3m ago•1 comments

Meta employees sue, allege AI-driven layoffs targeted medical, parental leave

https://apnews.com/article/meta-lawsuit-workers-target-ai-layoffs-leave-019fb9c7fdc09167e91547546...
1•1vuio0pswjnm7•3m ago•0 comments

Show HN: misa77 - a codec that decodes 2x faster than LZ4 (at better ratios)

https://github.com/welcome-to-the-sunny-side/misa77
2•nonadhocproblem•4m ago•0 comments

Narrative Analysis: Case studies in heat resilience

https://www.undrr.org/media/108608/download
1•jruohonen•4m ago•0 comments

J-space comparisons across open models

https://eliebak.com/viz/jspace-open-v2
2•babelfish•6m ago•0 comments

They Prefer the App

https://idiallo.com/blog/they-prefer-the-app
4•Brajeshwar•9m ago•0 comments

A Palantir-ish dashboard for family trip planning

https://github.com/andrewjiang/palantir-for-family-trips
2•latchkey•10m ago•0 comments

Ottawa fixed the buyer's problem. The SME's four problems are still ours

https://vanguardcanada.com/ottawa-fixed-the-buyers-problem-the-smes-four-problems-are-still-ours/
1•ClearwayLaw•11m ago•1 comments

Spinel on Rails

https://intertwingly.net/blog/2026/06/19/Spinel-on-Rails.html
1•ksec•11m ago•0 comments

Ask HN: Does it still make sense to write code by hand?

3•fnoef•11m ago•0 comments

Effort Is the Whole Game

https://juanloco.dev/posts/effort-is-the-whole-game/
1•juanloco•12m ago•0 comments

Fuel System Components Eyed in NetJets Citation Crash

https://www.ainonline.com/aviation-news/business-aviation/2026-07-13/fuel-system-components-mx-ey...
1•r2sk5t•13m ago•1 comments

Show HN: Sign in with your ChatGPT account for free AI

https://openai-oauth.vercel.app/
1•EvanZhouDev•13m ago•1 comments

Trustmux

https://trustmux.dev
1•kristianpaul•14m ago•0 comments

Show HN: A photo editor that develops RAW files in the browser

https://vajba.com/image-editor/
1•trivsamt•14m ago•0 comments

Was I wrong about Etched?

https://www.zach.be/p/was-i-wrong-about-etched
1•hasheddan•15m ago•0 comments

You don't need another idea. You need a faster no

https://usemoki.com/
1•erayalakese•15m ago•0 comments

How to Make Your AI Agent's Actions Reliable (No Code)

https://quickchat.ai/post/reliable-ai-agent-actions
2•piotrgrudzien•15m ago•0 comments

Backblaze Drive Stats for Q1 2026

https://www.backblaze.com/blog/backblaze-drive-stats-for-q1-2026/
1•LaSombra•15m ago•0 comments

You only need the frontier model for one single edit

https://stencil.so/blog/prewalk
2•alphabetting•15m ago•0 comments

Show HN: SirixDB 1.0 Beta – Git-Like Versioning, Diffs, Time-Travel Queries

https://github.com/sirixdb/sirix
1•lichtenberger•16m ago•0 comments

Nat Slipstreaming v2.0 allows an attacker to remotely access any TCP/UDP service

https://sa.my/slipstream/
2•_____k•17m ago•1 comments

Making something on your own(without any LLM) feels so good

2•RajX_dev•17m ago•0 comments

Aerosols and hydrocarbons in the atmosphere of a white dwarf planet

https://arxiv.org/abs/2607.01316
1•root-parent•18m ago•0 comments

Apple's lawyer mixed up Asian OpenAI employees before lawsuit

https://www.nbcnews.com/tech/apple/apple-openai-lawsuit-suit-trade-product-hardware-email-sam-alt...
1•aarvin_roshin•18m ago•0 comments

Lego Considering Bondi Blue iMac G3 Set

https://www.macrumors.com/2026/07/14/lego-imac-g3-set/
2•malshe•20m ago•1 comments

Now, defenders are embracing the prompt injection, too

https://arstechnica.com/security/2026/07/now-defenders-are-embracing-the-prompt-injection-too/
1•arbuge•22m ago•0 comments