Hacker Newsnew | past | comments | ask | show | jobs | submit | AJRF's commentslogin

I have never got a good answer to "can't you just make smaller PRs". This is convoluted tooling (needs its own CLI) for something you could achieve with just learning how git works.

IMO this tool is basically allowing you to do that, it just takes care of the bookkeeping to associate the series of smaller PRs with eachother which is possible today but requires a lot of clicking.

If there is a stack of size n and you make a modification at the first change, closest to the trunk, is there a single git command you can run to rebase the other n-1 branches and ensure they remote branches are updated?

Not a single one, but it can be done with 2.

Assuming you're currently on the most recent branch (furthest from the trunk), `git rebase -i --update-refs trunk` will rebase all the intermediate branches. If you need to make a change to the first branch nearest the trunk, either use `edit` in the interactive rebase, or make a fixup commit and enable autosquash for the rebase. The `--update-refs` flag makes sure that all the intermediate branches get updated during the rebase.

Then, to push them all, something like `git push origin 'refs/heads/yourname/*'` will push all branches prefixed with `yourname/`. It's a bit stupid that one can't just do `git push 'yourname/*'` though.


I agree that a `gh stack` command is not needed, but this feels to me like just a better UI feature for a good git workflow. It literally is about making multiple smaller PRs that build on top of each other.

The question is, why are you not just merging them into main as you go? It's a bit of a smell when you "need" to merge branches into branches. It shows a lack of safety and ease in deployments, which is the real problem to solve IMO.

Because sometimes there are changes that need to land as all or nothing.

Stacked PR’s… don’t do that though? They’re just PR’s. You can merge just the first one in the stack, and now it’s not “all or nothing”. Reading the docs, I don’t see a way to signal that the PR’s must all merge together.

Because the most natural way of saying “these changes need to land atomically” is called a branch, and landing it atomically is called a “merge”. But I guess GH’s UI sucks for reviewing large changes, so we’re stuck having to make each change independently mergeable and pass tests (likely disabling dead-code lints, etc) just to work around this limitation. Sigh.

At least when I actually do want changes to be mergeable in a stack, I now have a better UX for having folks review them.


because approval processes take time which i can use to keep working

Right, so 'just work the way the tool requires instead of making the tool work the way you want'. I would prefer the tool worked the way I want and the way I think of the changes instead.

I still don't have a single answer in this thread as to how even using this new tool even helps do things I can easily do with git?

> "Sometimes you just need to land changes all together".

Smell. What is that won't land? A UI change needed to go with a Database migration? That just tells me you don't flag your changes which you _should_ be doing. If you have code in your hot path that can break because of a DB or API change and you _don't_ flag that you have made your releases much more dangerous. Fix that before installing a new cli tool

If you can't do a database migration, you have put non optional new fields in somewhere, which doesn't accurately model your data domain - because it didn't exist before, it is tautologically optional.

> "How do I update a bunch of small PRs"

Smell. You should be merging small, flagged commits to main and rebase other branches. The workflow described is the same as feature branches - you start a branch, then branch from that, then branch from that - you shouldn't do that. That is not a git problem in the same way throwing every file on your desktop isn't an OS problem - you are just making a mess.


I imagine you could fix this by running a speaker diarization classifier periodically?

https://www.assemblyai.com/blog/what-is-speaker-diarization-...



This is AI slop.

First command I looked at:

  /stickers:
  
  Displays earned achievement stickers for milestones like first commit, 100 tool calls, or marathon sessions. Stickers are stored in the user profile and rendered as ASCII art in the terminal.

That is not what it does at all - it takes you to a stickermule website.

What is the motivation for someone to put out junk like this?


> What is the motivation for someone to put out junk like this?

Getting something with a link to their GitHub onto the frontpage of HN. Because form matters much more in this world than substance.


Clout and reaching the top of HN apparently.

The animated explanation at the top is also way too fast at 1x, almost impossible to follow; that immediately hinted at the author not fully reading/experiencing the result before publishing this.


Why is it that some people feel entitled to take this kind of tone as soon as AI is used?

It's inappropriate to label a free side project 'junk' or 'slop' even if it contains major errors.

Particularly when there's a disclaimer about possible inaccuracies on the page.


People don't like having their time wasted


> Why is it that some people feel entitled to take this kind of tone as soon as AI is used?

BECAUSE ITS WRONG! THE DATA IS WRONG!


I think Azure exploded and knocked a bunch of things offline


Stripe is using AWS


[flagged]


I am aware of those but there are no signs of this being related to an Azure outage nor did I find any signs that there even was an Azure outage.


It makes a lot more sense when you stop thinking of these people as engineers.


That's true.

The Harold Ableson GIF of him scratching out the word Science, then the word Computer comes to mind.

https://youtu.be/-J_xL4IGhJA?si=J3MfWkZlWG1B7TiY&t=30


> Apple really stumbled into making the perfect hardware for home inference machines

Apple are winning a small battle for a market that they aren’t very good in. If you compare the performance of a 3090 and above vs any Apple hardware you would be insane to go with the Apple hardware.

When I hear someone say this it’s akin to hearing someone say Macs are good for gaming. It’s such a whiplash from what I know to be reality.

Or another jarring statement - Sam Altman saying Mario has an amazing story in that interview with Elon Musk. Mario has basically the minimum possible story to get you to move the analogue sticks. Few games have less story than Mario. Yet Sam called it amazing.

It’s a statement from someone who just doesn’t even understand the first thing about what they are talking about.

Sorry for the mini rant. I just keep hearing this apple thing over and over and it’s nonsense.


See you again next week!


It's like watching someone wake up with a very bad hangover.

I am doing my part - I managed to get 6 people in my family and friend group off Windows onto Debian last year.

All positive feedback so far :).

Sure it's only a small victory - but a meaningful one to me.


This is all just theatre to justify a ban right?


Yep. Just like most of my tax money, it's going to some clown-show just so they can get permission to ban a website where 69% of internet users how to skate through with use of a VPN.

4chan creates another TLD on another IP, just like TPB and the whole show starts again.

Instead of, why don't we. The UK government.


Did any groups recently lose control of a narrative?

Are people in that group powerful, influential and wealthy?

Would that group benefit from being able to use state power against individuals who just won't stop shining light on injustice?


Look to America to see what would happen to civil liberty in the pursuit of mass deportations. Discounting many things from the conversation - on the topic of this thread; Restore sounds like they'd be the single worst party to vote for if you were against mass surveillance.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: