frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Perplexity says its AI agent cut Rho's weekly meeting time by 90%

https://twitter.com/perplexity_ai/status/2056749555346235704
1•Otek•2m ago•0 comments

Google Antigravity Built an OS from a single prompt

https://antigravity.google/blog/google-antigravity-built-an-os
2•py4•2m ago•0 comments

Gmail is going to start talking to you

https://www.theverge.com/tech/932973/google-gmail-live-ai-keep-docs-io-2026
1•cdrnsf•4m ago•0 comments

The Telescope That Got Shot (2023)

https://www.amusingplanet.com/2023/04/the-telescope-that-got-shot.html
1•NKosmatos•5m ago•0 comments

Karpathy Joins Anthropic

https://techcrunch.com/2026/05/19/openai-co-founder-andrej-karpathy-joins-anthropics-pre-training...
1•hdjY28•5m ago•0 comments

We Solved the iOS Submission Process

https://tminus.one/
1•DevinEsposito•6m ago•1 comments

A modular collection of remote proof of storage proofs

https://pinionengineering.github.io/storage-proofs/
1•coryschwartz•7m ago•1 comments

Show HN: Native-feeling charts for Obsidian Bases, built with Deno

https://github.com/zobweyt/obsidian-bases-chart-layouts
1•zobweyt•7m ago•0 comments

Thermo Fisher caught photoshopping Western Blot

https://twitter.com/addictedtoigno1/status/2056072770987970825
1•randycupertino•8m ago•1 comments

Show HN: Limitless – AI OSINT search and interactive intelligence sandboxes

https://limitless-osint.com/
1•VanceVP•8m ago•0 comments

God of the Gaps and the Future of Programming

https://gisbi.me/blog/article-1779175137638
1•Gisbitus•8m ago•0 comments

The Enhanced Games: The line we keep moving

https://thevarsity.ca/2026/03/15/the-enhanced-games-the-line-we-keep-moving/
1•tejohnso•9m ago•0 comments

Parsing Perl Without Perl: a Rust LSP for Perl [video]

https://www.youtube.com/watch?v=SbBnc8FjUXM
1•oalders•13m ago•0 comments

The mistake of conflating intelligence and power

https://www.dwarkesh.com/p/the-mistake-of-conflating-intelligence
1•gmays•15m ago•0 comments

How-to-Train-Your-GPT

https://github.com/raiyanyahya/how-to-train-your-gpt
1•mateenah•16m ago•0 comments

Invisible_playwright: Stealth Firefox that passes every bot detection test

https://github.com/feder-cr/invisible_playwright
1•thunderbong•16m ago•0 comments

Web Researcher MCP: Give AI assistants web search and research capabilities (Go)

https://github.com/zoharbabin/web-researcher-mcp
1•zoharbabin•17m ago•0 comments

Show HN: Crowdsourced tracker for what each Windows/M365 update breaks

https://win-update-tracker.vercel.app/
1•dantelofisial•17m ago•0 comments

C++ Creator vs. Vibe Coding: "Seniors Don't Want This Mess" [video]

https://www.youtube.com/shorts/WQABdV2p2fA
2•javatuts•18m ago•1 comments

JDK 26: G1 GC Throughput Improvements by 5-15%

https://ionutbalosin.com/2026/05/g1-gc-throughput-improvements-5-15-performance-gains-with-dual-c...
2•andreabergia•24m ago•0 comments

Android Halo helps you stay in sync with your AI agent

https://blog.google/products-and-platforms/platforms/android/android-halo/
1•xnx•24m ago•0 comments

Meta Employees Are Scrambling to Use Up Benefits Ahead of Layoffs

https://www.wired.com/story/meta-employees-scramble-benefits-layoffs-ai/
4•ua709•25m ago•1 comments

PHP's Oddities

https://flowtwo.io/post/php%27s-oddities
1•thejoeflow•26m ago•0 comments

HRM-Text

https://sapient.inc/hrm-text/
1•artninja1988•27m ago•0 comments

Democrats preview how they'd go after the Ticketmaster settlement

https://www.theverge.com/policy/934112/live-nation-ticketmaster-democrats-doj-settlement
1•cdrnsf•28m ago•0 comments

How Google Is Starting to Win the A.I. Race

https://www.nytimes.com/2026/05/19/technology/personaltech/google-gemini-ai.html
4•xnx•29m ago•1 comments

Starship's Twelfth Flight Test Set for Thursday

https://www.spacex.com/launches/starship-flight-12
2•bookmtn•31m ago•0 comments

WHO declares global health emergency over Congo Ebola outbreak

https://boingboing.net/2026/05/18/who-declares-global-health-emergency-over-congo-ebola-outbreak....
2•DropDead•32m ago•0 comments

How ChatFeatured Migrated from PlanetScale to Postgres Managed by ClickHouse

https://clickhouse.com/blog/chatfeatured
1•4mog•32m ago•0 comments

Awayke: One-click menubar toggle to prevent lid-close sleep (Swift, open source)

https://github.com/daemonphantom/Awayke
1•daemonphantom•32m ago•1 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/