frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

China-Aligned Framework Powers Advanced Lateral Movement in Cyber Attacks

https://thecyberedition.com/peckbirdy-framework-enhances-lateral-movement-in-cyber-attacks/
1•thehacknews•45s ago•1 comments

Online, Asynchronous Schema Change in F1

https://buttondown.com/jaffray/archive/online-asynchronous-schema-change-in-f1/
1•ibobev•48s ago•0 comments

Long Context Windows: Capabilities, Costs, and Tradeoffs

https://www.jasonwillems.com/technology/2026/01/26/Long-Context-Windows/
1•at1as•2m ago•0 comments

Doomsday Clock 2026: Atomic scientists set new time

https://www.cnn.com/2026/01/27/science/doomsday-clock-2026-time-wellness
2•Tomte•5m ago•0 comments

Building Reliable and Safe Systems

https://tidesdb.com/articles/building-reliable-and-safe-systems/
1•alexpadula•6m ago•0 comments

Why many engineers value startup equity at $0

https://shablag.substack.com/p/why-smart-engineers-value-startup
1•eluusive•7m ago•1 comments

I built a seatbelt for traders because charts weren't why I was losing money

https://demo.samsonai.ai/trydemo
2•EricSampson•7m ago•1 comments

HNS v1.0: Sovereign Mesh Naming Protocol (Hns:// URI Scheme)

https://github.com/herxos/hns-spec
1•herx•7m ago•1 comments

Proposed CA wealth tax may end founder control in CA and force market reval

https://taxfoundation.org/research/all/state/california-wealth-tax-billionaires-proposal/
1•atcon•8m ago•0 comments

Judge Orders ICE Chief to Appear in Court over Potential Contempt

https://www.nytimes.com/2026/01/27/us/politics/ice-director-minnesota-contempt.html
2•boplicity•10m ago•0 comments

Gaming the Answer Matcher: Text Manipulation vs. Automated Judgment

https://arxiv.org/abs/2601.08849
1•PaulHoule•10m ago•0 comments

Neurotech Startups Are Confusing

https://www.owlposting.com/p/questions-to-ponder-when-evaluating
1•abhishaike•11m ago•0 comments

When Fixed-Point Beats Floating-Point (and When It Doesn't)

https://speytech.com/insights/fixed-point-vs-floating-point-tradeoffs/
1•william1872•11m ago•0 comments

Samsung's TriFold phone will cost $2,899 in the US

https://techcrunch.com/2026/01/27/samsungs-trifold-phone-will-cost-2899-in-the-us/
1•gloxkiqcza•12m ago•0 comments

I Built a 2300-File Codebase with AI. How I Prevented Architectural Drift

https://medium.com/@stefanvanegmond/i-built-a-2300-file-codebase-with-ai-heres-the-jig-i-built-to...
1•stefanve•14m ago•1 comments

Show HN: Semantic Primitives- TypeScript types that understand natural language

https://github.com/elicollinson/semantic-primitives
1•emcodes•14m ago•0 comments

Show HN: I vibecoded an X64, ARM64 operating system that boots on real hardware

https://github.com/viralcode/vib-OS
2•xdpi542•16m ago•0 comments

Show HN: Kimi K2.5 (Agent Swarm, beats GPT-5) now on RouterLab (Swiss hosting)

https://routerlab.ch/blog/kimi-k2-5
1•ScioNos•18m ago•0 comments

Hope vs. Realism: The Stockdale Paradox

https://www.leadingsapiens.com/stockdale-paradox/
1•sherilm•19m ago•0 comments

Nils' K1v – Kawai K1 Emulation Plugin VSTi/AU

https://www.nilsschneider.de/wp/nils-k1v/
1•unleaded•19m ago•0 comments

Ask HN: Best email service for custom domain?

1•max_•19m ago•2 comments

Yahoo Scout, a New AI Answer Engine

https://www.yahooinc.com/press/introducing-yahoo-scout-a-new-ai-answer-engine
1•drtz•20m ago•0 comments

Ask HN: Anyone else finding Claude failures almost unusable?

1•boringg•22m ago•2 comments

China has purged its highest-ranked military general. Why?

https://www.bbc.com/news/articles/c8d0l0g8yz5o
2•tartoran•23m ago•0 comments

Professional wedding photo retouching service

https://www.photorestorationretouching.com/wedding-photo-retouching/
1•prophoto•23m ago•1 comments

Cursor lied about it's new Browser [video]

https://www.youtube.com/watch?v=U7s_CaI93Mo
1•shantnutiwari•23m ago•0 comments

Sync vs. async vs. event-driven AI requests: what works in production

https://modelriver.com/how-modelriver-works/event-driven-async
2•akarshc•26m ago•8 comments

Kimi K2.5 – new open weights SOTA

https://huggingface.co/moonshotai/Kimi-K2.5
1•nikhizzle•26m ago•0 comments

The Mysterious Electrides

https://knowablemagazine.org/content/article/physical-world/2026/chemistry-of-electrides-new-cata...
1•Brajeshwar•26m ago•0 comments

A drying climate is making East Africa pull apart faster

https://www.livescience.com/planet-earth/a-drying-climate-is-making-east-africa-pull-apart-faster
1•Brajeshwar•27m ago•0 comments
Open in hackernews

Working with Git Patches in Apple Mail (2023)

https://btxx.org/posts/mail/
50•todsacerdoti•8mo ago

Comments

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

Neat.

johnrob•8mo 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•8mo 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•8mo 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•8mo 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•8mo 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•8mo ago
That’s a great idea, and very timely for me.
d3ckard•8mo ago
Thank you, will try. Useful bit of knowledge.
OskarS•8mo 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•8mo 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•8mo ago
Generating app passwords for those would work.
pm215•8mo 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•8mo ago
For Gmail, you can use https://github.com/google/gmail-oauth2-tools/tree/master/go/....
mathstuf•8mo 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•8mo ago
davmail supports smtp through outlook(365)
ndegruchy•8mo 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•8mo 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•8mo ago
I use an app password but https://github.com/AdityaGarg8/git-credential-email apparently supports OAuth with Gmail, yahoo and outlook
arthurmorgan123•8mo 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•8mo 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•8mo 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•8mo 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•8mo ago
If you work with git and patches a lot, stgit is worth a look.

https://stacked-git.github.io

johnisgood•8mo ago
At that point, why not just use Pijul or even Darcs?
smcameron•8mo 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/