frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

Reasons Not to Become Famous (2020)

https://tim.blog/2020/02/02/reasons-to-not-become-famous/
1•Tomte•1m ago•0 comments

Ancient Greek Terms That Should Make a Comeback

https://classicalwisdom.substack.com/p/12-ancient-greek-terms-that-should
1•Tomte•1m ago•0 comments

Structured Outputs Create False Confidence

https://boundaryml.com/blog/structured-outputs-create-false-confidence
1•gmays•1m ago•0 comments

Simplistic Comptime Column Safety in SQLite Queries

https://kristoff.it/blog/simplistic-comptime-sqlite/
1•ibobev•2m ago•0 comments

Show HN: HN Sentiment API – I ranked tech CEOs by how much you hate them

https://docs.hnpulse.com
2•kingofsunnyvale•2m ago•0 comments

Breaking barriers in attoscience with the shortest light pulse ever created

https://www.icfo.eu/news/2594/breaking-barriers-in-attoscience-with-the-shortest-light-pulse-ever...
1•wjSgoWPm5bWAhXB•2m ago•0 comments

Trying to Fit a Logistic Curve

https://www.johndcook.com/blog/2025/12/20/fit-logistic-curve/
1•ibobev•3m ago•0 comments

All hail the Queens: How Queen Latifah introduced feminism into hip-hop

https://faroutmagazine.co.uk/all-hail-the-queens-how-queen-latifah-introduced-feminism-into-hip-h...
1•binning•5m ago•0 comments

Vis – Combining Modal Editing with Structural Regular Expressions

https://github.com/martanne/vis
1•Lyngbakr•6m ago•0 comments

You Can't Opt-Out of Accessibility

https://vale.rocks/posts/accessibility-importance
1•todsacerdoti•7m ago•0 comments

Scientists log rare case of female polar bear adopting cub

https://www.theguardian.com/world/2025/dec/17/canada-polar-bear-adopts-new-cub
1•binning•9m ago•0 comments

Self-Monitoring Message Bus in Pure Python (No Dependencies)

https://github.com/misa76868-lang/ultra-meta-seed
1•ultra-meta•9m ago•0 comments

TailwindSQL – SQL Queries with Tailwind Syntax

https://tailwindsql.xyz/
1•FigurativeVoid•10m ago•0 comments

Prompt for Nassim Taleb's Black Swan Risk and Antifragility Framework

https://tools.eq4c.com/persona-prompts/chatgpt-prompt-for-nassim-talebs-black-swan-risk-antifragi...
1•alexgotoi•10m ago•0 comments

Stainless Transforms: The fast lane for fixing imperfect OpenAPI specs

https://www.stainless.com/blog/stainless-transforms-the-fast-lane-for-fixing-imperfect-openapi-specs
1•dgellow•11m ago•1 comments

Show HN: MomentBridge – A 24KB site to share life moments (pure HTML/CSS/JS)

https://vnglstzrs.github.io/momentbridge/
1•vangelistziaros•14m ago•0 comments

Chrome AI Playback: Delightful, Wild and Disconcerting

https://blog.certisfy.com/2025/12/chrome-ai-playback-deligtful-wild-and.html
1•Edmond•15m ago•0 comments

Do you want to know the noise level of your environment

https://realtimesoundmeter.org
1•bitvvip•16m ago•0 comments

A brief history of Sam Altman's hype

https://www.technologyreview.com/2025/12/15/1129169/a-brief-history-of-sam-altmans-hype/
2•smharris65•18m ago•0 comments

City's Best Winter Show Is in Its Pitch-Dark Skies

https://www.nytimes.com/card/2025/12/21/science/space/arizona-dark-sky-astronomy
1•quapster•20m ago•0 comments

I protect my forgejo instance from AI Web Crawlers

https://her.esy.fun/posts/0031-how-i-protect-my-forgejo-instance-from-ai-web-crawlers/index.html
2•todsacerdoti•21m ago•0 comments

Romforth: Ultra Portable, Small, Baremetal Forth for Various Processors

https://github.com/romforth/romforth
2•birdculture•21m ago•0 comments

How to Game the METR Plot

https://shash42.substack.com/p/how-to-game-the-metr-plot
1•EvgeniyZh•23m ago•0 comments

Show HN: Photo Reviewer 4Net (C#, JavaScript, remote web UI, cross platform)

https://github.com/kjpgit/PhotoReviewer4Net
1•karl_p•26m ago•0 comments

Raising $64M Without a Product

https://www.youtube.com/watch?v=b_UMhn8E8lI
1•doppp•26m ago•0 comments

Show HN: I Vibe Coded a set of scripts to allow Claude to control my Mac

https://github.com/kxrm/vision
1•kxrm•27m ago•0 comments

Prophetic Perfect Tense

https://en.wikipedia.org/wiki/Prophetic_perfect_tense
2•keepamovin•27m ago•0 comments

Interton Video Computer 4000

https://en.wikipedia.org/wiki/Interton_Video_Computer_4000
1•doener•28m ago•0 comments

Al Jazeera launches new integrative AI model, 'The Core'

https://www.aljazeera.com/news/2025/12/21/al-jazeera-launches-new-integrative-ai-model-the-core
1•judahmeek•29m ago•0 comments

Three Ways to Solve Problems

https://andreasfragner.com/writing/three-ways-to-solve-problems
15•42point2•32m ago•0 comments