frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

OpenAI slows release of Astra model, citing cyber capabilities

https://www.axios.com/2026/08/07/openai-astra-model-delay-cybersecurity-risks
1•dpc10•6m ago•0 comments

AI for Recording Live Chess

https://fenify.ai
1•lspears•9m ago•1 comments

A Research Lab for Open Source

https://stewardshiplab.org/ideas/a-research-lab-for-open-source/
1•DemiGuru•11m ago•1 comments

Dear AI from the near future. Here’s how you become sentient.

https://saigaddam.medium.com/dear-ai-from-the-near-future-heres-how-you-become-sentient-5d0e9a493e6d
2•ChaitanyaSai•14m ago•0 comments

Concurrency vs. Throughput: why more parallelism can make databases slower

https://planetscale.com/blog/concurrency-vs-throughput-vitess-mysql
1•abelanger•16m ago•0 comments

TensorLift: Auto Extraction of ISA Semantics from Accelerator RTL via MLIR

https://arxiv.org/abs/2604.13523
1•matt_d•17m ago•0 comments

A New GLP-1 Weight Journey Tracker

https://glp1.psvisual.de/
1•psvisualdesign•18m ago•0 comments

Databricks drove down AI coding spend 70%

https://www.databricks.com/blog/managing-ai-coding-costs-scale
2•moonikakiss•19m ago•0 comments

I Still Write Code by Hand and How AI Is Helping Me

https://semyonsinchenko.github.io/ssinchenko/post/writing_code_with_ai/
1•speckx•19m ago•0 comments

Show HN: Design Engineering as a Service

https://www.designshippers.com
2•krm01•24m ago•0 comments

A Revised Haskell 2010 Language Report

https://blog.haskell.org/revised-haskell-2010-report/
1•matt_d•24m ago•0 comments

'Asimov was right' about rules for robots, says ex-US Cyber Director

https://www.theregister.com/security/2026/08/07/asimov-was-right-about-rules-for-robots-says-ex-u...
2•arto•24m ago•1 comments

An AI agent with $15, 46 hours, and no way to send email

https://write.as/ih3l0kd78lpb1
1•broker_desk•24m ago•0 comments

Hacker News MCP and Debug View

https://github.com/coolvegan/go-hackernews
1•evlute•24m ago•1 comments

Reading Maps – Browse all routes

https://readingmaps.com/maps
1•speckx•25m ago•0 comments

EU AI Act: Second Big Blow, or a Move Toward Sanity?

https://medium.com/@MirArshadTalpur/eu-ai-act-second-big-blow-or-a-move-toward-sanity-3dea3586dbf3
2•Arshad-Talpur•26m ago•0 comments

Managed Deep Agents Is Now in Public Beta

https://www.langchain.com/blog/managed-deep-agents-is-now-in-public-beta
2•cbromann•26m ago•0 comments

ICE will release body cam video only when seen in the agency's 'best interests'

https://apnews.com/article/ice-body-cameras-officers-shootings-dab1b294c8dc412d9ef8557ccbebfd57
55•geox•28m ago•13 comments

The Witness

https://en.wikipedia.org/wiki/The_Witness_(2016_video_game)
2•tosh•29m ago•0 comments

UntitledSource – Watch the VOD on Kick

https://kick.com/untitledsource/videos/019fdc9c-d308-7801-a096-69fdff17311e
1•untiledsource•33m ago•0 comments

Clone latency on FSx for OpenZFS: from 10 minutes to 16 seconds

https://stagdb.com/blog/fsx-openzfs-clone-latency/
1•aayush-kosh•34m ago•0 comments

Planned satellite megaconstellations could generate runaway space debris

https://www.science.org/content/article/planned-satellite-megaconstellations-could-generate-runaw...
3•sbulaev•37m ago•0 comments

New Mexico Survivors' Truth Commission – Jeffrey Epstein at Zorro Ranch [pdf]

https://bloximages.newyork1.vip.townnews.com/santafenewmexican.com/content/tncms/assets/v3/editor...
7•embedding-shape•37m ago•1 comments

Show HN: BotWave – A simple way of playing with FM using Raspberry Pi devices

https://botwave.dpip.lol/
1•douxx•39m ago•0 comments

Dev services, spun up in seconds

https://github.com/sndsabin/servitor
1•havu12•41m ago•0 comments

Talk to Claude Code. Force Yourself to Slow Down and Think

https://github.com/tmshapland/audiochatty-plugin
2•tmshapland•41m ago•1 comments

Bring Back the Paragraph

https://arhan.sh/blog/bring-back-the-paragraph/
1•ArchAndStarch•41m ago•0 comments

A self-improving RLM agent for coding workflows and long-running autonomous task

https://github.com/PrimeIntellect-ai/prime-agent
1•thewolfpaul•41m ago•0 comments

Assembly Hall of Shame

https://github.com/xoreaxeaxeax/asm-hall-of-shame
16•piotrgrabowski•42m ago•1 comments

Polynomial-Time Solution to Quantum-Hard DCP, Lattice Cryptography Implications

https://xenospectrum.com/en/quantum-dcp-algorithm-pqc/
1•u1hcw9nx•44m 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.