frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Intuit to cut 17% of global jobs to streamline operations

https://www.reuters.com/business/world-at-work/intuit-cut-17-global-jobs-streamline-operations-me...
1•DGAP•15s ago•0 comments

What I Learned Building 8 Tbps of CDN

https://elijah.com.au/writing/built-8tbps-cdn/
1•ghuntley•53s ago•0 comments

Money is only a problem to those who don't have it

https://www.alkemix.art/p/the-gathering-storm
1•vinyasi•1m ago•0 comments

Pgrls: Static Analyzer for Postgres Row-Level Security

https://github.com/pgrls/pgrls
1•dmitrymaranik•1m ago•0 comments

Decline in heavy-duty tools correlates with megaherbivore disappearance

https://www.sciencedirect.com/science/article/pii/S0277379126000818
1•wslh•2m ago•0 comments

Repeated Header in a Next.js page using iframe and bbpress

https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0trtbjg6ukyudwntawqv.png
1•Thompson_Li•3m ago•1 comments

Google Declaring War on the Web

https://tante.cc/2026/05/20/on-google-declaring-war-on-the-web/
2•cdrnsf•5m ago•0 comments

Replacing NZ public servants with AI could come with hidden costs, critics warn

https://www.rnz.co.nz/news/political/595847/replacing-public-servants-with-ai-could-come-with-hid...
3•billybuckwheat•5m ago•0 comments

Non-Mendelian inheritance of DNA methylation patterns in mice

https://www.nature.com/articles/s41588-026-02604-z
2•bookofjoe•7m ago•0 comments

Show HN: CPU-only transcription for YouTube, TikTok, X, Instagram videos

https://github.com/kouhxp/yapsnap
3•mrkn1•10m ago•0 comments

Politics in the Age of NGOs as Arms of State Censorship

https://twitter.com/arctotherium42/status/2039127319202156745
2•barry-cotter•11m ago•0 comments

The Scale, the Plan, and the People

https://nooneshappy.com/article/the-scale-the-plan-and-the-people/
2•diebillionaires•12m ago•0 comments

America Turned Against AI According to the Poll Data: A Very Big Compilation

https://www.thealgorithmicbridge.com/p/how-america-turned-against-ai-according
4•gHeadphone•14m ago•0 comments

K3_AI: Run command on SpacemiT K3's AI cores

https://github.com/brucehoult/k3_ai/tree/main
2•hasheddan•16m ago•0 comments

Ascetic Computing

https://ratfactor.com/ascetic-computing
2•birdculture•16m ago•0 comments

My two-part desk setup

https://arslan.io/2025/11/18/my-two-part-desk-setup/
2•James72689•17m ago•0 comments

Show HN: Lessons from building a SIMA2 style agent in Roblox

https://www.frisson-labs.com/what-if-we-made-sima2-from-temu
2•ymaws•17m ago•0 comments

Show HN: Migo Games (Mac / iOS) – multiplayer mini games backed by elixir

https://apps.apple.com/us/app/migo-games/id6758592333
2•calflegal•18m ago•0 comments

Read Meta's Layoff Email to Employees

https://www.businessinsider.com/read-meta-layoff-email-employees-2026-5
3•metadat•19m ago•0 comments

SportsBookISH – Compare Kalshi event-contract odds vs. US sportsbooks

https://sportsbookish.com
2•kennyhyder•22m ago•1 comments

Claude.ai Pro plan quotas too small for deep research

https://www.williamangel.net/blog/2026/05/20/ClaudeAI-Pro-Plan-Gives-Single-Deep-Research.html
2•datadrivenangel•23m ago•0 comments

Anthropic will be scaling up on GB200 capacity in SpaceX Colossus 2

https://twitter.com/nottombrown/status/2057194829986300375
3•Rover222•23m ago•1 comments

GitHub's take on age assurance for developers

https://github.blog/news-insights/policy-news-and-insights/why-age-assurance-laws-matter-for-deve...
3•hanifbbz•24m ago•0 comments

Show HN: Runo – Scraping API that returns typed JSON, not raw HTML

https://scrapewithruno.com/?version=2.0
2•barebearcountry•25m ago•0 comments

PopuLoRA: Co-Evolving LLM Populations for Reasoning Self- Play

https://vmax.ai/team/populora-co-evolving-llm-populations-for-reasoning-self-play
11•AMavorParker•26m ago•1 comments

The SpaceX IPO filing has arrived

https://techcrunch.com/2026/05/20/the-spacex-ipo-filing-has-arrived/
3•doener•27m ago•2 comments

AI Didn't Invent Slop – It Scaled It

https://nadathurx.com/ai-slop-what-about-human-slop/
2•sjimdickens•27m ago•0 comments

Company wants to do the carbon footprint offset thing, but for AI usage

https://tokenoffset.com
2•jakehandy•30m ago•0 comments

Quantum computing is reaching its make-or-break moment

https://www.scientificamerican.com/article/quantum-computing-is-reaching-its-make-or-break-moment/
3•digital55•32m ago•0 comments

Linus Torvalds admits he has a 'love-hate relationship with AI'

https://www.zdnet.com/article/linus-torvalds-has-a-love-hate-relationship-with-ai/
6•CrankyBear•34m ago•0 comments
Open in hackernews

Working with Git Patches in Apple Mail (2023)

https://btxx.org/posts/mail/
50•todsacerdoti•1y ago

Comments

johnrob•1y ago
Once I discovered how git apply can take diff files (or patch files) as input, I stopped using git stash in favor of plain old files. Easier to list and browse the contents of prior edits, also you can grep the files as method of search. I’ve even found myself copying and editing the diffs before applying.
barbazoo•1y ago
Oh that’s clever, I’ll try that out. Looks like you could just do a git diff > file.patch.

Neat.

johnrob•1y ago
You’ll also want to familiarize with “git apply -3 <file name>”, for when a diff can’t be applied cleanly. It will try “harder” to merge (three way method) and if it still fails it invokes the conflict merge “UX”:

<<<<<<<<<

=========

>>>>>>>>>

smcameron•1y ago
There's also Neil Brown's "wiggle" program for applying patches that don't apply.

https://github.com/neilbrown/wiggle

although on debian based systems I think you can just "apt install wiggle"

johnisgood•1y ago
What does "applying patches that don't apply" mean exactly?

I know about wiggle, but I have not used it, to be honest.

smcameron•12mo ago
It means that if you do "patch -p1 --dry-run < some.patch", and it complains that it doesn't apply, wiggle can sometimes apply it anyway, and also, if you do "patch -p1 < some.patch", and it partially applies but with rejected hunks, wiggle can try to apply the rejected hunks.
johannes1234321•1y ago
git diff an pipe works, but committing and then `git format-patch` can export multiple patches and then includes metadata (commit message, date, author, etc.) which can make reasoning about such files a lot easier. In a plain diff you only got filename as metadata.
RaoulP•1y ago
That’s a great idea, and very timely for me.
d3ckard•1y ago
Thank you, will try. Useful bit of knowledge.
OskarS•1y ago
That is a very neat trick, I agree.

I personally approaches stashes as undoable "clean up", and I never have anything really important that I want to save there. If I do have something like that, I just commit with a "WIP <some-descriptive-string>" message and don't push it, then a "git reset --mixed HEAD^" when I want to get back to it.

However, just FYI: you can "grep" your stashes really easily if you want to. just "git stash list -p" gives you the diffs for all the stashes, by default in "less" where you can search them, but you can pipe it to grep if you want. I somewhat frequently do that with "git log", if I want to know "when did this variable change?" or whatever, just "git log -p" to get the log with diffs in less, then search for whatever it was with a slash.

teeray•1y ago
Maybe slightly O/T, but has anyone found a decent way to `git send-email` with email hosts that demand OAuth? (looking at you Outlook and Gmail)
ravetcofx•1y ago
Generating app passwords for those would work.
pm215•1y ago
Yeah, I use an app specific password with Gmail, like the setup suggested by https://git-send-email.io/#step-2

Exchange historically had a tendency to mangle emails sent through it (whitespace changes, line wrap, etc), which is obviously bad news for patchmails. I dunno if it's any better these days.

computerfriend•1y ago
For Gmail, you can use https://github.com/google/gmail-oauth2-tools/tree/master/go/....
mathstuf•1y ago
I use msmtp with a tool from the oauth2-tools repo to do the rotation token dance. Need to register your own app with Google though.
dmarinus•1y ago
davmail supports smtp through outlook(365)
ndegruchy•1y ago
Yeah, I used DAVMail with Emacs+MSMTP+MPOP+notmuch for ages. Works really well, the only occasional thing I had to do was reauthenticate the token, which pops up in a browser window.
ozarker•1y ago
I think you could set up postfix to smtp forward to those services. So it could handle the oauth2 and you wouldn’t need to configure your client
p_wood•1y ago
I use an app password but https://github.com/AdityaGarg8/git-credential-email apparently supports OAuth with Gmail, yahoo and outlook
arthurmorgan123•1y ago
I tried this with Gmail and Outlook. Works flawlessly and also doesn't need to authenticate frequently. The Authen::SASL thing was a catch though.

git-send-email also has some quirks for Outlook which have been recently merged.

palata•1y ago
I like doing it with aerc [1]. It's even possible to use aerc in parallel to another email client. Just open aerc for git-related emails, and that's it!

[1]: https://drewdevault.com/2022/07/25/Code-review-with-aerc.htm...

kazinator•1y ago
View the e-mail raw in your browser, select all, copy, paste into git apply.

Then you don't need that message to be in a file-based inbox that is accessible from your git repo.

And in that case you are still likely going to have to copy and paste something to get the correct path.

sircastor•1y ago
It looks like Apple Mail has plugin support, I wonder if you could author a plugin that’d provide a button to apply the diff.
smcameron•1y ago
If you work with git and patches a lot, stgit is worth a look.

https://stacked-git.github.io

johnisgood•1y ago
At that point, why not just use Pijul or even Darcs?
smcameron•11mo ago
Because the codebase you're working on is on github?

And I think you may underestimate the power of stgit. You can manage thousands of patches concurrently, no problem. If you're a maintainer getting patches from loads of people all the time, this is valuable. stgit has it's origins in quilt, which in turn has its origins in Andrew Morton's patch scripts[1], and I know for a fact that Andrew Morton actually managed thousands of patches at a time for years in his work on the linux kernel, because I once sent him a patch against those scripts, and he complained it was slow because I used an O(n^2) algorithm, which worked fine with a handful of patches, and I asked him how many patches he had, and he told me a number that was multiple thousands, so this isn't a hypothetical example.

[1] https://lwn.net/Articles/13518/