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

Trump expected to sign executive order urging more research psychedelic ibogaine

https://www.cnn.com/2026/04/16/health/ibogaine-psychedelic-trump-executive-order
1•Bender•1m ago•0 comments

NASA's Artemis II News Conference with Moon Astronauts [video]

https://www.youtube.com/watch?v=_43Ei9eQVww
1•BiraIgnacio•2m ago•0 comments

Hospital Held Woman for Months Against Her Will. SCOTUS to decide if she can sue

https://reason.com/2026/04/10/a-maryland-hospital-held-a-woman-for-months-against-her-will-the-su...
1•SilverElfin•2m ago•0 comments

Justice Dept. Appealing Surveillance Court Ruling Amid Congressional Impasse

https://www.nytimes.com/2026/04/16/us/politics/fisa-ruling-appeal.html
2•Cider9986•5m ago•0 comments

Relaxation of US day-trading rules opens door to YOLO trading, higher risk

https://www.reuters.com/legal/government/relaxation-us-day-trading-rules-opens-door-yolo-trading-...
3•petethomas•5m ago•1 comments

SpaceX Moves Up Vesting Schedule for Employee Shares Before IPO

https://www.bloomberg.com/news/articles/2026-04-16/spacex-moves-up-vesting-schedule-for-employee-...
1•petethomas•7m ago•0 comments

Zig 0.16.0: I/O as an Interface

https://ziglang.org/download/0.16.0/release-notes.html#IO-as-an-Interface
1•bpierre•11m ago•0 comments

France reports over 40 cryptocurrency kidnappings so far this year

https://www.lemonde.fr/en/police-and-justice/article/2026/04/16/france-reports-over-40-cryptocurr...
2•geox•11m ago•0 comments

Wii Homebrew Channel – WiiBrew

https://wiibrew.org/wiki/Homebrew_Channel
1•evo_9•13m ago•0 comments

Brave Origin

https://support.brave.app/hc/en-us/articles/38561489788173-What-is-Brave-Origin
1•nreece•13m ago•1 comments

Administration Planning to Blow Off FISA Court's Ordered Section 702 Fixes

https://www.techdirt.com/2026/04/15/administration-apparently-planning-to-blow-off-fisa-courts-or...
1•Cider9986•15m ago•0 comments

Connect maker devices to Claude Code and Cowork

https://github.com/anthropics/claude-desktop-buddy
1•felixrieseberg•16m ago•0 comments

Comfy.Guide

https://comfy.guide/
3•jethronethro•17m ago•0 comments

QSOlog – Offline-first PWA logbook for amateur radio operators

https://nuetzliches.github.io/qso-log/
1•nutz-bob•29m ago•0 comments

I Hate AI

6•jwpapi•32m ago•5 comments

100M commits to GitHub without using Git push

https://github.com/Wuerfelhusten/commitment
1•Wuerfelhusten•37m ago•1 comments

A type of bike theft in San Francisco

https://shub.club/writings/2026/april/a-type-of-bike-theft/
3•forthwall•45m ago•0 comments

Hospital at centre of child HIV outbreak caught reusing syringes in Pakistan

https://www.bbc.com/news/articles/clyrd818gd2o
18•flykespice•45m ago•1 comments

Breaking from Your Parents [video]

https://www.youtube.com/watch?v=VhpF9jC3a18
1•Aerbil313•46m ago•0 comments

I automated my local barbershop's chaos with code

https://ravoor.com/ar
5•megoxv•48m ago•0 comments

Stop New York's Attack on 3D Printing

https://www.eff.org/deeplinks/2026/04/stop-new-yorks-attack-3d-printing
3•iamnothere•50m ago•0 comments

Unwritten – 3-minute AI short film, Top at Soulscape 2026

https://www.youtube.com/watch?v=rzdvt-qOysI
1•gltanaka•51m ago•0 comments

Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies

1•Tonyjw2002•54m ago•0 comments

Planning and Monitoring Indoor Vertical Green Living Walls with Remote Sensing

https://onlinelibrary.wiley.com/doi/10.1155/ina/5782002
2•PaulHoule•55m ago•0 comments

George Orwell Predicted the Rise of "AI Slop" in Nineteen Eighty-Four (1949)

https://www.openculture.com/2026/04/how-george-orwell-predicted-the-rise-of-ai-slop.html
18•doener•57m ago•8 comments

Show HN: LLMs don't hallucinate because they're bad at math, it's the format

https://github.com/yvonboulianne/laeka-rational
2•yvonboulianne•58m ago•0 comments

Ne, the Nice Editor

https://github.com/vigna/ne
2•Lyngbakr•58m ago•0 comments

Everything we like is a psyop

https://techcrunch.com/2026/04/16/everything-we-like-is-a-psyop/
7•evo_9•59m ago•0 comments

North Korea targets macOS users in latest heist

https://www.theregister.com/2026/04/16/north_korea_social_engineering_macos/
2•Bender•59m ago•0 comments

Google Chrome lacks fingerprinting protection

https://www.theregister.com/2026/04/16/google_chrome_lacks_browser_fingerprinting/
3•Bender•1h ago•2 comments