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

European alternatives to Google, Apple, Dropbox and 120 US apps

https://only-eu.eu/en/
1•madman_dev•2s ago•0 comments

NHS staff refusing to use FDP over Palantir ethical concerns

https://www.freevacy.com/news/financial-times/nhs-staff-refusing-to-use-fdp-over-palantir-ethical...
1•chrisjj•53s ago•0 comments

April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

https://gist.github.com/greenstevester/fc49b4e60a4fef9effc79066c1033ae5
1•greenstevester•2m ago•0 comments

Design Optics with Python

https://www.optiland.org/
2•pppone•11m ago•0 comments

HarfBuzz Slug Support with WebGL

https://harfbuzz.github.io/hb-gpu-demo/
1•mcraiha•11m ago•0 comments

Show HN: Anonymous Chat Channels

https://kraa.io/kraa/trees
1•levmiseri•13m ago•2 comments

Show HN: Stashpin – Pinterest downloader for videos and boards

https://stashpin.com
1•aitooltrek-com•15m ago•0 comments

NHS staff boycott Palantir's data platform over ethical concerns

https://www.ft.com/content/dbb67083-bd1d-46e9-b196-1438d54c5795
3•macleginn•17m ago•0 comments

Show HN: Apfel – The free AI already on your Mac

https://apfel.franzai.com
2•franze•21m ago•2 comments

Catching macOS Stealers in the Wild

https://objective-see.org/blog/blog_0x88.html
1•speckx•24m ago•0 comments

Flow – Focus Deeper, Longer

https://play.google.com/store/apps/details?id=com.get.flow_app&hl=en_US
1•K_A_P•28m ago•0 comments

Gemma 4 makes local AI agents practical

https://firethering.com/gemma-4-local-ai-agents/
3•steveharing1•29m ago•0 comments

AI's fluency in other languages hides a Western worldview that can mislead users

https://theconversation.com/ais-fluency-in-other-languages-hides-a-western-worldview-that-can-mis...
5•1659447091•34m ago•0 comments

Tried to Buy a Pint, Finding a Trojan: My First Malware Analysis

https://blog.michaelrbparker.com/post/17
1•birdculture•34m ago•0 comments

A database of analog cameras that can be 3D printed

https://printed.analogcamera.space/
1•thomasjb•35m ago•0 comments

Artemis II astronaut finds two Outlook instances running on computers

https://www.tomshardware.com/software/microsoft-office/artemis-ii-astronaut-finds-two-outlook-ins...
1•doener•36m ago•1 comments

Proton Meet Isn't What They Told You It Was

https://www.sambent.com/proton-meet-isnt-what-they-told-you/
25•bundie•37m ago•1 comments

Say No to ZeroVer: Start with 1.0.0

https://blog.nytsoi.net/2026/04/03/say-no-to-zero-ver/
1•thomasjb•41m ago•0 comments

France plans missile increase in new defense push

https://www.politico.eu/article/france-eyes-huge-missile-boost-new-defense-plan-document-shows/
4•vrganj•43m ago•1 comments

Show HN: My portfolio as a working terminal (vanilla JavaScript, one HTML file)

https://dzienko.dev/
2•Brosper•48m ago•2 comments

A Giant Leap Towards an AI-Native OS: AgenticInit (April Fools)

https://os.ewe.moe/blog/202604-april-fool
1•uneven9434•50m ago•0 comments

Life gave us lemon trees

https://nothingisnotafish.substack.com/p/life-gave-us-lemon-trees
2•gaodean•51m ago•0 comments

Agent as User, a new tool to help you run agent in isolated user environment

https://github.com/AgentaaU/AaaU
1•shylockhg•51m ago•1 comments

I Made a Terminal Pager

https://theleo.zone/posts/pager/
2•speckx•54m ago•0 comments

Cute Animal Heroic Interval

https://medium.com/luminasticity/cute-animal-heroic-interval-c38d0dc84d05
1•bryanrasmussen•58m ago•0 comments

OpenHarness: Open Agent Harness

https://github.com/HKUDS/OpenHarness
2•msolujic•58m ago•0 comments

Hardware supply chain attack in the wild

https://airguide.info/europes-easa-warns-stolen-engine-parts-may-re-enter-supply-chain/
2•jackpepsi•59m ago•0 comments

Fathom: AI hallucination detection from SAE activation geometry (pre-registered)

https://zenodo.org/records/19382453
3•fathom_geo•1h ago•0 comments

A CSS Engine in OCaml

https://gazagnaire.org/blog/2026-04-02-cascade.html
5•p4bl0•1h ago•0 comments

Ask HN: Has Claude Code become significantly worse for you as well?

3•bkfh•1h ago•1 comments