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

Magic: The Gathering Took Me from N2 to Japanese Fluency

https://www.tokyodev.com/articles/how-magic-the-gathering-took-me-from-n2-to-japanese-fluency
1•pwim•2m ago•0 comments

A Dab of DuckDB

https://peterdohertys.website/blog-posts/dab-of-duck.html
1•ethagnawl•4m ago•0 comments

I Built a Receipt Splitter for Group Dinners

https://tabchop.app/blog/built-a-receipt-splitter-for-group-dinners
2•mishang•7m ago•0 comments

Soldier Used Classified Information to Bet on Maduro's Ouster

https://www.nytimes.com/2026/04/23/nyregion/polymarket-maduro-indictment-soldier.html
4•mizzao•8m ago•2 comments

Amazon U.S. Bans Raspail's Bestseller the Camp of the Saints

https://europeanconservative.com/articles/news/amazon-u-s-bans-raspails-bestseller-the-camp-of-th...
1•qwertyuiop_•9m ago•0 comments

It Ain't Broke: Why Software Fundamentals Matter More

https://www.youtube.com/watch?v=v4F1gFy-hqg
1•whizusukite•12m ago•0 comments

Job Satisfaction Declines; Likelihood of Moving to a New Job Lowest Since 2021

https://www.newyorkfed.org/microeconomics/sce/labor
2•randycupertino•14m ago•0 comments

A McDonald's cheeseburger is a better deal today than it was in 1948

https://www.wsj.com/opinion/in-defense-of-the-mcdonalds-cheeseburger-20d2f0ef
2•bookofjoe•19m ago•2 comments

Show HN: SQL Protocol – learn SQL by running real queries, with 1v1 PvP

https://sqlprotocol.com
1•ItaiZeilig•21m ago•0 comments

NixPaint – Paint with Lambda's

https://nixpaint.extranix.com
2•mipselaer•23m ago•1 comments

HX Is the New UX: Designing for the Harness Experience

https://neurometric.substack.com/p/hx-is-the-new-ux-what-you-need-to
1•robmay•25m ago•0 comments

The Switch 2s Best New Feature Is a Battery Power Hog but Still Worth It

https://kotaku.com/switch-2-handheld-boost-mode-battery-life-xenoblade-2000680392
1•PaulHoule•27m ago•0 comments

Wildest mlb play ever – 108mph line drive disappears into pitcher's shirt

https://www.msn.com/en-us/sports/mlb/this-might-be-the-wildest-mlb-play-you-ll-ever-see-108-mph-l...
1•bookmtn•27m ago•0 comments

Why Everything's a Subscription – and Why That May Be Good for You

https://www.magiclasso.co/insights/why-everythings-a-subscription/
2•bentocorp•28m ago•0 comments

Bitwarden engineers who had the compromised Checkmarx VSCode extension got hit

https://old.reddit.com/r/selfhosted/comments/1stjtay/comment/ohvbj63/
1•milkglass•29m ago•1 comments

Microsoft Targets About 7% of Its U.S. Workers with Buyout Offer

https://www.nytimes.com/2026/04/23/business/microsoft-layoffs-artificial-intelligence.html
1•rmason•34m ago•2 comments

Ghost 6.0

https://ghost.org/6
5•thunderbong•40m ago•1 comments

Dev targeted by sophisticated job scam

https://www.theregister.com/2026/04/23/job_scam_targeted_developer/
2•defrost•43m ago•0 comments

Former MrBeast employee accuses YouTube giant of wrongful termination

https://courthousenews.com/former-mrbeast-employee-accuses-youtube-giant-of-wrongful-termination/
1•toomanyrichies•43m ago•0 comments

Community Votes to Deny Water to Nuclear Weapons Data Center

https://www.404media.co/community-votes-to-deny-water-to-nuclear-weapons-data-center/
2•cdrnsf•44m ago•0 comments

Show HN: GeoValida – Spatial Intelligence reality check to find the best land

https://geovalida.com
1•vellal•47m ago•0 comments

French police probe suspected weather device tampering after odd Polymarket bet

https://www.npr.org/2026/04/23/nx-s1-5797876/polymarket-paris-weather-bet
1•hackernj•49m ago•1 comments

Stonebraker on Postgres, Disagreeing with Google, and Future Problems [video]

https://www.youtube.com/watch?v=YPObBOwIrHk
1•hmaxdml•51m ago•0 comments

Blackstone's Steve Schwarzman hits back against campaign against private credit

https://b17news.com/blackstones-steve-schwarzman-hits-back-against-intensively-negative-campaign-...
1•petethomas•58m ago•0 comments

AI threats in the wild: The current state of prompt injections on the web

https://security.googleblog.com/2026/04/ai-threats-in-wild-current-state-of.html
2•ahoog42•59m ago•0 comments

Websites break California privacy law at 'industrial scale,' survey finds

https://themarkup.org/privacy/2026/04/21/websites-break-california-privacy-law-at-industrial-scal...
1•anticorporate•1h ago•0 comments

Madison Square Garden's Surveillance Machine

https://www.wired.com/story/madison-square-garden-jim-dolan-surveillance-machine/
1•anticorporate•1h ago•1 comments

Anthropic reaches $1T valuation on secondary markets

https://qz.com/anthropic-trillion-dollar-valuation-secondary-markets-openai-052626
3•kerim-ca•1h ago•2 comments

Friendster Relaunch

https://friendster.com/
3•lemonlym•1h ago•1 comments

When you’re stuck on “Help Wanted”

https://insight.kellogg.northwestern.edu/article/when-youre-stuck-on-help-wanted
1•hhs•1h ago•0 comments