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

Rave HN: Private HN rave at a loft in Manhattan

https://hallucinate.site/hn
1•stagas•1m ago•0 comments

Ascetic Computing

https://ratfactor.com/ascetic-computing
1•surprisetalk•2m ago•0 comments

China, HK Investors Banned from SpaceX IPO over Security

https://www.bloomberg.com/news/articles/2026-06-05/chinese-hk-investors-banned-from-spacex-ipo-on...
1•leopoldj•2m ago•0 comments

US posts another month of strong job gains in May

https://www.reuters.com/business/world-at-work/us-posts-another-month-strong-job-gains-may-unempl...
1•tcp_handshaker•3m ago•0 comments

Trump officials planned to mark 2.7M living people as dead, whistleblower claims

https://www.washingtonpost.com/politics/2026/06/05/doge-planned-falsely-mark-27-million-people-de...
2•internet_points•4m ago•0 comments

Chebyshev Polynomials

https://en.wikipedia.org/wiki/Chebyshev_polynomials
1•tosh•4m ago•0 comments

How the Internet Crosses Oceans

https://www.engadget.com/2187834/how-transatlantic-internet-cables-work/
1•SanjayMehta•6m ago•0 comments

If you've ever had to defend paying down tech debt vs. feature work

https://blog.codacy.com/complete-guide-to-technical-debt-tracking-for-engineering-leaders
2•claudiacsf•7m ago•0 comments

SAIdecar, for the small questions that don't belong the main agent session

https://github.com/Deca/saidecar
1•Decag•7m ago•1 comments

Y Combinator Started (2012)

https://paulgraham.com/ycstart.html
1•chistev•7m ago•0 comments

The Next Frontier of Visual AI Is Code

https://a16z.com/the-next-frontier-of-visual-ai-is-code/
1•gmays•7m ago•0 comments

Immigrant Rights Lawyers File Lawsuit over Palantir's Elite

https://www.404media.co/immigrant-rights-lawyers-file-lawsuit-over-palantirs-elite/
1•Brajeshwar•8m ago•0 comments

Nintendo Switch 2 with user-replaceable batteries coming to the EU

https://www.tomshardware.com/video-games/nintendo/nintendo-switch-2-with-user-replaceable-batteri...
2•vrganj•9m ago•0 comments

A Portrait of the Software Engineer, 2031

https://jamesjboyer.substack.com/p/a-portrait-of-the-software-engineer
2•aesthetics1•12m ago•0 comments

Permafrost tipping point triggered by warming-driven loss of old carbon

https://www.nature.com/articles/s41467-026-72122-3
2•littlexsparkee•13m ago•0 comments

Show HN: Piqc – An open-source GPU waste scanner for LLM inference clusters

https://github.com/paralleliq/piqc
1•samhoss93•13m ago•0 comments

Indicator Function

https://en.wikipedia.org/wiki/Indicator_function
1•tosh•13m ago•0 comments

The Evil MSI Background Is Back

https://isc.sans.edu/diary/33054
2•speckx•14m ago•0 comments

In a First, Scientists Precisely Edit Human Embryo Genes

https://www.nytimes.com/2026/06/04/science/embryos-gene-editing-crispr.html
2•Metacelsus•16m ago•1 comments

Parsing XML EXIF from .avif files (plus a rant)

https://sheep.horse/2026/6/parsing_xml_exif_from_.avif_files_%28plus_a_rant%29.html
3•surprisetalk•17m ago•0 comments

Amazon engineers in Seattle slam employer for building AI data centers

https://www.cnbc.com/2026/06/03/amazon-engineers-in-seattle-slam-employer-for-ai-data-amid-layoff...
3•1vuio0pswjnm7•19m ago•0 comments

We analyzed 50k APIs to see which cloud is winning

https://bloomberry.com/blog/we-analyzed-50k-apis-heres-which-cloud-is-actually-winning/
1•AznHisoka•19m ago•0 comments

The Data Center Moves to Your Machine

https://www.perplexity.ai/hub/blog/the-data-center-moves-to-your-machine
1•gmays•20m ago•1 comments

Why Linux creator Linus Torvalds gets angry hearing "99% of code is AI"

https://thenewstack.io/torvalds-ai-programming-productivity/
5•bpierre•25m ago•0 comments

How to build a 30M RPS CDN in 30 days with Rust and WASM

https://blog.railway.com/p/railway-cdn
2•phineyes•27m ago•0 comments

GitLab cuts 14% of staff as it scales its platform to serve AI workloads

https://techcrunch.com/2026/06/03/gitlab-cuts-14-of-staff-as-it-scales-its-platform-to-serve-ai-w...
6•mooreds•27m ago•1 comments

Why math works so well in describing our universe?

https://invertedpassion.substack.com/p/why-math-works-so-well-in-describing
3•airwarmedd•27m ago•0 comments

Multi-omics and palynology of selected Philippine forest honey

https://www.nature.com/articles/s41598-024-71385-4
2•PaulHoule•27m ago•0 comments

Token-Mediating Back end: An alternative to the BFF architecture

https://fusionauth.io/blog/auth-architecture-part2-tmb
1•mooreds•29m ago•0 comments

Opt-In Requirements for Java APIs

https://osmerion.github.io/OptIn/blog/welcome/
2•theanonymousone•29m ago•0 comments