frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Working with Git Patches in Apple Mail (2023)

https://btxx.org/posts/mail/
27•todsacerdoti•4h ago

Comments

johnrob•1h 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•1h ago
Oh that’s clever, I’ll try that out. Looks like you could just do a git diff > file.patch.

Neat.

johnrob•1h 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”:

<<<<<<<<<

=========

>>>>>>>>>

RaoulP•1h ago
That’s a great idea, and very timely for me.
d3ckard•1h ago
Thank you, will try. Useful bit of knowledge.
teeray•1h 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•1h ago
Generating app passwords for those would work.
computerfriend•1h ago
For Gmail, you can use https://github.com/google/gmail-oauth2-tools/tree/master/go/....

Show HN: Operating System for Tasks

https://www.interai.run/task
1•jonas_kgomo•1m ago•0 comments

Custom storybook for children in 5 minutes

https://www.unlimitedtales.com
1•xcanchal•3m ago•0 comments

The X220 ThinkPad Is the Best Laptop in the World

https://btxx.org/posts/x220/
2•exiguus•5m ago•0 comments

Show HN: I built a Next.js 15 and Notion waitlist template to help launch faster

https://waitly.idee8.agency
1•irere123•7m ago•0 comments

'Robotability score' ranks NYC streets for future robot deployment

https://news.cornell.edu/stories/2025/04/robotability-score-ranks-nyc-streets-future-robot-deployment
1•ohjeez•9m ago•0 comments

Python: The Documentary [Official trailer] [video]

https://www.youtube.com/watch?v=pqBqdNIPrbo
2•MasterYoda•11m ago•1 comments

One of the Fastest Supercomputers [video]

https://www.youtube.com/watch?v=jGVRAK8KIBg
1•neom•16m ago•0 comments

Quality Is Free (1979)

https://archive.org/details/qualityisfree00phil
1•turtleyacht•18m ago•0 comments

Ask HN: Is It Possible?, Gemini's Long Context Moe Architecture (Hypothesized)

2•deazy•18m ago•1 comments

Eliminating Entire Classes of Memory Safety Vulnerabilities in C and C++ [video]

https://www.youtube.com/watch?v=rYOCPBUM1Hs
1•pjmlp•18m ago•0 comments

OpenAI's planned data center in Abu Dhabi would be bigger than Monaco

https://techcrunch.com/2025/05/16/openais-planned-data-center-in-abu-dhabi-would-be-bigger-than-monaco/
2•rntn•20m ago•0 comments

OpenWrt on RPi: Hacking with Frida

https://zetier.com/openwrt-on-rpi-hacking/
1•harepods•21m ago•1 comments

ChatGPT (2022)

https://openai.com/index/chatgpt/
2•ukuina•27m ago•0 comments

Reflecting on Software Engineering Handbook

https://yusufaytas.com/reflecting-on-software-engineering-handbook/
7•yusufaytas•28m ago•0 comments

Rust for Python Programmers

https://lucumr.pocoo.org/2015/5/27/rust-for-pythonistas/
2•behnamoh•32m ago•0 comments

Emergent social conventions and collective bias in LLM populations

https://www.science.org/doi/10.1126/sciadv.adu9368
2•jbotz•34m ago•0 comments

LifeBook

https://www.lifebook.day/
1•johanam•35m ago•0 comments

The Inner Game of Tennis (2022)

https://www.gatesnotes.com/the-inner-game-of-tennis
3•npilk•37m ago•1 comments

Australian man details abuse in Chinese prison

https://www.hindustantimes.com/trending/they-beat-me-for-2-days-straight-australian-man-breaks-silence-after-spending-5-years-in-chinese-prison-101747547055691.html
3•737min•38m ago•0 comments

A perceptual color space for image processing

https://bottosson.github.io/posts/oklab/
1•amelius•38m ago•0 comments

Ditching Obsidian and building my own

https://amberwilliams.io/blogs/building-my-own-pkms
3•williamsss•39m ago•1 comments

Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Models

https://arxiv.org/abs/2505.02931
1•PaulHoule•46m ago•0 comments

Frida 17 Released

https://frida.re/news/2025/05/17/frida-17-0-0-released/
2•sroussey•46m ago•0 comments

Show HN: Personal Blog Components – Terminal About Page, Fluid Homepage, Gallery

https://simonaking.com/
1•Tomotoes•48m ago•0 comments

Backtrace is finally cheap by abusing x86/Linux's shadow stack

https://intmainreturn0.com/notes/stacktrace-is-finally-cheap.html
3•htfy96•48m ago•0 comments

Why Apple can't just quit China

https://restofworld.org/2025/apple-china-dependence-tariffs-india-shift/
2•ksec•49m ago•1 comments

Show HN: I modeled the Voynich Manuscript with SBERT to test for structure

https://github.com/brianmg/voynich-nlp-analysis
76•brig90•52m ago•13 comments

Squirrel (Programming Language)

https://en.wikipedia.org/wiki/Squirrel_(programming_language)
2•90s_dev•52m ago•0 comments

The Eikon GUI – Telcontar.net

https://telcontar.net/Misc/GUI/EIKON/
1•rbanffy•53m ago•0 comments

Emile Leray converted car to motorbike, escaped Sahara Desert in 1993

https://www.vintag.es/2025/05/emile-leray.html
2•dxs•53m ago•1 comments