frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Stolen Buttons

https://anatolyzenkov.com/stolen-buttons
609•Gecko4072•5d ago•148 comments

Systems and Delays

https://martin.janiczek.cz/2026/07/24/systems-and-delays.html
23•vinhnx•2h ago•5 comments

Clinical failure rates over the decades: yikes

https://www.science.org/content/blog-post/clinical-failure-rates-over-decades-yikes
56•EA-3167•4h ago•31 comments

Cloudflare's new AI traffic options for customers

https://blog.cloudflare.com/content-independence-day-ai-options/
47•alphabetatango•4h ago•24 comments

Git rebase -I is not that scary

https://cachebag.sh/journal/interactive-rebasing/
19•vinhnx•2h ago•18 comments

GM Backs Sodium Ion Batteries for U.S. Grid Storage

https://spectrum.ieee.org/sodium-ion-battery-peak-energy
137•rbanffy•5h ago•53 comments

The new rules of context engineering for Claude 5 generation models

https://claude.com/blog/the-new-rules-of-context-engineering-for-claude-5-generation-models
181•mellosouls•6h ago•123 comments

SIMD for Collision

https://box2d.org/posts/2026/07/simd-for-collision/
67•birdculture•3d ago•20 comments

Inflect-Micro-v2: complete voice in 9.36M parameters

https://huggingface.co/owensong/Inflect-Micro-v2
21•nateb2022•2h ago•2 comments

Running a 28.9M parameter LLM on an $8 microcontroller

https://github.com/slvDev/esp32-ai
89•boveyking•7h ago•20 comments

DeepSeek pause fundraise after comments on compute gap to US leaked (transcript) [pdf]

https://github.com/demo-zexuan/liang-wenfeng-investor-meeting-2026-7-22/blob/master/%E6%A2%81%E6%...
93•oliculipolicula•3h ago•58 comments

Producing ammonia and fertiliser using wind power in Morris, Minnesota

https://ammoniaenergy.org/articles/flexible-renewable-ammonia-demonstrator-now-operational-in-min...
101•gritzko•7h ago•69 comments

LLM Usage in Debian: Three Proposals

https://www.debian.org/vote/2026/vote_002
86•zdw•7h ago•82 comments

Show HN: I made some transistor animations

https://brandonli.net/semisim/animations
138•stunningllama•1d ago•15 comments

Turn And Face The Strange

https://fly.io/blog/kurt-scott-money-sprites/
149•subarctic•6h ago•114 comments

Open-weight AI is having its Kubernetes moment

https://tobi.knaup.me/2026-07-25-open-weight-ai-is-having-its-kubernetes-moment/
319•tknaup•12h ago•260 comments

Rethinking Legal Education in the AI Era

https://www.law.uchicago.edu/news/ai-strategy-statement
11•jjwiseman•2d ago•0 comments

GDID Windows – Cut the tracker that follows you even under VPN

https://korben.info/en/gdid-windows-cut-tracker-vpn.html
113•rfarley04•4d ago•79 comments

Memory Safety Absolutists

https://itsallaboutthebit.com/memory-safety-absolutists/
63•drogus•8h ago•82 comments

Zero roadkill as Amazon canopy bridges secure 15,000 crossings

https://news.mongabay.com/2026/07/zero-roadkill-as-amazon-canopy-bridges-secure-15000-crossings/
303•hn_acker•3d ago•94 comments

Show HN: Brolly, a plain-text weather forecast site

https://brolly.sh/forecast/RWFP2qW8
137•jsax•9h ago•45 comments

Did They Ghost You?

https://didtheyghostyou.com/
314•mooreds•6h ago•140 comments

Multicast TV Distribution on My Home Network

https://www.apalrd.net/posts/2026/isp_mcast/
41•mrngm•6h ago•12 comments

Possible invasive species superspreader event near Strait of Hormuz

https://abcnews.com/International/scientists-warn-invasive-species-superspreader-event-due-stalli...
25•russfink•1h ago•5 comments

Show HN: SpinWin – A macOS menu bar app to visually rotate or spin any window

https://github.com/alokdhir/spinwin
25•dbm5•9h ago•5 comments

Show HN: Writemark, a dependency free web component for inline Markdown editing

33•_boffin_•6h ago•11 comments

Bitchat is now on Radicle

https://radicle.network/nodes/rosa.radicle.network/rad%3Az2v9tRJz1oknFAqCSY5W5c76nVvm6
215•h1watt•13h ago•127 comments

Android May Soon Restrict On-Device ADB

https://kitsumed.github.io/blog/posts/android-may-soon-restrict-on-device-adb/
883•shscs911•20h ago•427 comments

Becoming a Research Engineer at a Big LLM Lab

https://www.maxmynter.com/pages/blog/jobhunt
22•felixdoerp•5h ago•6 comments

How My Images Are Dithered

https://dead.garden/blog/how-my-images-are-dithered.html
219•surprisetalk•3d ago•74 comments
Open in hackernews

Git rebase -I is not that scary

https://cachebag.sh/journal/interactive-rebasing/
19•vinhnx•2h ago

Comments

jauntywundrkind•55m ago
rebase interactive is so great, such a powerful tool.

it's the one clear tool that i used all the time. moving to jj, it has lots of amazing tools starting with `jj edit` to go change the past safely & conveniently, with much less pain. but i miss the direct powerful data-driven experience of seeing the timeline in a text file, and picking what to do with it. sometimes.

imo every dev should work to get some competency with git rebase! it's an amazing tool. there's few other systems that give such direct control. it's top layer is, perhaps, the excel of version control?

TazeTSchnitzel•47m ago
I wish there were a shorthand for

  x git commit --amend --reset-author --no-edit
I use that one very frequently (after a fixup, of course) because I want the author date on amended commits to reflect the last time I edited them, not the first time I committed them.
throw-the-towel•35m ago
But you can make your own alias?

  > git config --global alias.whatever_you_want 'commit --amend --reset-author --no-edit'
https://git-scm.com/book/ms/v2/Git-Basics-Git-Aliases
code_lettuce•35m ago
Big rebase fan here. I find myself using squash the most.
Normal_gaussian•6m ago

    pick a1b2c3d Add user model
    s e4f5g6h Fix typo in user model
    pick i7j8k9l Add login endpoint
    s m0n1o2p WIP debugging login endpoint
    s feedbee fixed login endpoint
    s deadbee fixed login endpoint
    s adebade fixed login endpoint
    s abcdefg actually fixed login endpoint
Of course, I get reminded about f/fixup every now and then - think "golly, that will save a second or two" and promptly forget.
nixpulvis•25m ago
I feel like if you're scared of rebasing, you don't actually understand git.
Glyptodon•8m ago
My fear has never been rebasing itself, but that I make some kind of mistake with a random change conflict and don't notice it because it's not tested for directly. But I'm also not sure if that's categorically a git fear. (Edit: related to this, I think this sort of minor "itchy worry" is grounded in how sometimes conceptually simple diffs look messy during conflict resolution.)
irishcoffee•3m ago
The part where git needs to be “understood” is the entire problem. “Do one thing and do it well” was the whole mantra, which was completely ignored with the disaster that is git. It’s objectively awful.
jerf•2m ago
Reflog is, as the article says, the permission to do all kinds of crazy things, including rebasing. Once you realize any committed state is recoverable for a good period of time it really frees you.

Plus you can always take a note of the commit hash before you do anything crazy. But reflog means you don't have to.

Git really does have all the features you need. I wouldn't argue with anyone complaining about the UI to get there. But it's all in there somewhere.

BobbyTables2•19m ago
I also thought rebase was scary long ago. It is scary in the sense if one messes something up without realizing and then pushes to master…

Besides interactive rebase, my other favorite command is “git log —-oneline origin/master..HEAD”

It shows me exactly where I am…

flyingcircus3•17m ago
After more than a decade of using git, I know that my comfort with rebase, and confidence that I wont make an error I can't undo, comes from knowing that I can always abort. And assuming it wasn't garbage collected, I can always get back to orphaned commits, or the commit before I rebased, as long as I keep their hashes. I can definitely look back on my less confident days as times when I wrongly assumed I was walking a tightrope where screwing up was painful and expensive, and easy to take the wrong path, and abort is the universal solvent to all of that.

I do still find myself tripping up on whether the next appropriate step is to make a commit or continue the rebase, as that is dependent on if you're in a merge conflict or just editing a commit. But even when I get that wrong, and collapse two commits together, abort saves the day.

cmrdporcupine•16m ago
I really love the emacs interactive rebase mode, which comes up by default when you have EDITOR=emacs and do rebase -i.

I know you can do this from within magit as well but I've never gotten into that workflow.

skydhash•10m ago
The nice thing with magit is how easy it is to manipulate hunks and line, truly editing commits with a surgical precision, all with an handful of keybindings.
ks6g10•2m ago
Even just rebase fixup a commit that is a few commits below HEAD is just a few chords away. Use it many times a week when working.
trescenzi•9m ago
Another git command I love using is `git add -p`. I always want to commit in chunks as I go but sometimes I wait to long or realize later I could have broken it up. Being able to select only pieces of a file to add to a specific commit is so great. Editing the chunks manually can be a bit intimidating but since it only stages the change you can always restore the file and try again if the diff doesn't look right after the add.
koolba•7m ago
That “-I” really needs to be lowercase.
Normal_gaussian•5m ago
Yeah I got quite excited that there was somehow a better -i; its almost perfect clickbait
newsicanuse•7m ago
I use rebase so much but it only feels comfortable because I follow a workflow while rebasing.