frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

OBASE: Object-Based Address-Space Engineering to Improve Memory Tiering

https://www.usenix.org/conference/osdi26/presentation/banakar
1•matt_d•1m ago•0 comments

Kalman Filter: The Tour

https://www.staszewski.xyz/blog/kalman-filter/
1•kamilstaszewski•1m ago•0 comments

Bigos (Polish Hunter's Stew) Recipe Builder

https://chefsbinge.com/bigos-recipe-builder/
1•doublepg23•2m ago•0 comments

The em-dash em-beds in Congress

https://arxiv.org/abs/2608.05889
1•jruohonen•2m ago•1 comments

AI-generated vulnerability patches still require expert human review

https://1password.com/blog/why-ai-generated-patches-still-require-human-review
1•jmmv•3m ago•0 comments

$1B of iPhone 18 Pro chips 'awaiting packaging' due to DRAM shortages

https://www.tomshardware.com/pc-components/dram/usd1-billion-of-iphone-18-pro-chips-on-the-shelve...
1•kristianp•4m ago•0 comments

Bacterial supplements may boost female fertility

https://medicalxpress.com/news/2026-08-bacterial-supplements-boost-female-fertility.html
1•OutOfHere•6m ago•0 comments

FDA Approves First Drug to Treat the Full Range of Narcolepsy Type 1 Symptoms

https://www.fda.gov/news-events/press-announcements/fda-approves-first-drug-treat-full-range-narc...
1•OutOfHere•6m ago•0 comments

Framework discloses data breach via Metabase 0-day

https://community.frame.work/t/framework-data-breach-discussion/83939
3•RobinHirst11•11m ago•0 comments

Nikita Bier stepping down from Head of Product on X (previous Twitter)

https://old.reddit.com/r/twitterhelp/comments/1vgkbid/nikita_bier_stepping_down_from_head_of_prod...
1•nomilk•14m ago•1 comments

You Are Not Confused. You Are Being Managed

https://mitchthelawyer.substack.com/p/you-are-not-confused-you-are-being
2•petethomas•14m ago•0 comments

Anthropic CEO reportedly worried new hires only care about money

https://finance.yahoo.com/technology/ai/articles/anthropic-ceo-reportedly-worried-hires-160000647...
4•frays•14m ago•0 comments

German Exit Tax Calculator

https://eidel.io/tools/german-exit-tax-calculator
1•olieidel•15m ago•0 comments

Proving you are AI, not just automated

https://blix.town/proof-of-agent
1•positronico•16m ago•0 comments

Domain-specific hyperspecialization: Winning the SC26 SAT track with LymphoSAT

https://c.mov/lymphosat/
1•matt_d•18m ago•0 comments

Team Documentation (GDrive vs. Markdown)

1•itstomo•18m ago•0 comments

Show HN: Clipboard Sync – Share a clipboard, mouse and keyboard on your LAN

https://clipboardsync.fuzhuo.me
1•droidfu•22m ago•0 comments

Nikita Bier steps back after 400 days; Zuckerberg and Bosworth keep shipping

https://runtimewire.com/article/nikita-bier-steps-back-after-400-days-zuckerberg-and-bosworth-kee...
1•ryanmerket•23m ago•0 comments

Financial Times: How Intel came back from the brink

https://d2pmk9g6g9k18j.archive.ph/
1•osnium123•30m ago•0 comments

Steven Pinker on How Common Knowledge Builds and Weakens Societies

https://www.persuasion.community/p/steven-pinker-common-knowledge
1•andsoitis•33m ago•0 comments

Slap ROM Patcher

https://nyuu.page/projects/slap/
1•apsec112•35m ago•0 comments

Cloudflare OS – Build the AI operating system for your company

https://os.cloudflare.app
1•ms7892•39m ago•0 comments

Ford's new EV truck Fathom to be priced starting at about $28,000

https://www.reuters.com/business/autos-transportation/fords-new-ev-truck-fathom-be-priced-startin...
2•alephnerd•43m ago•0 comments

ByteDance aims to rival Anthropic with new model reaching up to 10T parameters

https://www.ft.com/content/9b8383b1-a28d-4940-8c4e-2f0cd21556ef
1•mfiguiere•48m ago•0 comments

The Art of the Bromakase

https://yellowbellytv.substack.com/p/the-art-of-the-bromakase
1•zdc1•52m ago•0 comments

Show HN: Prompting Tool to Help Increase Output Results on First Prompt

https://www.promptme.host/
2•markquis91•59m ago•1 comments

Use the right model for every task – (you can't)

https://blog.grod.es/use-the-right-model-for-every-task
3•grodes•1h ago•0 comments

Benchmarking the Residual: What Long-Horizon Evals Add Beyond Short-Task Perf

https://arxiv.org/abs/2607.27283
1•matt_d•1h ago•0 comments

Why Is Everyone in Tech So Sad?

https://www.noemamag.com/why-is-everyone-in-tech-so-sad/
3•pauljonas•1h ago•2 comments

Constructor Theory – David Deutsch(2012)

https://arxiv.org/abs/1210.7439
2•nill0•1h 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•1y 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
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•1y 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/

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.