Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
u801e
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
541.
▲
by
u801e
5y ago
Then there really is no need to even have merge commits. But, as far as I know, there no way to disable the creation of a merge commit when using the merge button on the github PR page. The one thing you lose with just making one PR per com
542.
▲
by
u801e
5y ago
> I personally think that individual commits are mine and nobody should care. They help me. They're not meant to live forever But they don't really help when reviewing because they're hard to make sense of. But if you want
543.
▲
by
u801e
5y ago
> As is any other object in git. Not only that, you can't delete objects either. Every git repo in the universe together represents one giant, immutable, append-only object store. To be pedantic, it is possible to delete objects by
544.
▲
by
u801e
5y ago
The question really is whether the team values version control history with good commit messages. A simple test would be to make all commits with the --allow-empty and --allow-empty-message flags which allow you to make commits that don&#x
545.
▲
by
u801e
5y ago
One can ensure that every commit passes the tests suite and linting by running something like: git rebase --exec "test_cmd" --exec "lint_cmd" base_branch and any commit that doesn't pass can be fixed until
546.
▲
by
u801e
5y ago
But if only 1 of the 7 commits was actually the cause of the issue, then why would you want to revert all 7 of them instead of just the one?
547.
▲
by
u801e
5y ago
Then you essentially double the number of commits for a particular change, since it then becomes: 1. first related change 2. first merge commit 3. second related change 4. second merge commit 5. third related change 6. ... Instead of just h
548.
▲
by
u801e
6y ago
> Git desperately needs a layer above the commit that groups related commits together into a semantically commit-like object that you can show in history That's what a merge commit does. The first parent is the base commit and the
549.
▲
by
u801e
6y ago
> Do people here have examples of some bugs for which they had to resort to VCS history to find the cause? A more common scenario is to run git blame on the files you plan to modify to see what commits were responsible for them. If the
550.
▲
by
u801e
6y ago
> You will not be able to merge a PR that tries to get more than one commit onto master What value does the merge commit in the PR provide if a PR only has a single commit? Couldn't you essentially halve the number of commits in th
551.
▲
by
u801e
6y ago
What if the change really should be split into multiple commits. Having a mega commit affecting hundreds of lines across tens of files doesn't make reviewing the change easy, and reverting it will result in conflicts.
552.
▲
by
u801e
6y ago
> A complete and utter waste of time. You spend more time messing about with rebase than solving problems. That can be avoided by only staging and committing changes when the change is actually completely implemented. For example, I
553.
▲
by
u801e
6y ago
With squash merge, Github will either: 1. Create a single commit and a merge commit that's empty because the single commit's parent is the current HEAD commit of the master branch 2. Create a single commit and a merge commit that
554.
▲
by
u801e
6y ago
I just use a random user and a domain that resolves to local host. I'm not sure how their MTA will deal with it though.
555.
▲
by
u801e
6y ago
I've really had a difficult time trying to get other team members to rely on asynchronous coummunication as opposed to video chat. Frequently, there are issues with video chat where the video or audio freezes and what was said doesn&#
556.
▲
by
u801e
6y ago
> I don't know what the best solution to this will look like Changing the law to require that banks prove beyond a reasonable doubt that they entered into a contract with you. The burden should be on the bank/creditor to prove
557.
▲
by
u801e
6y ago
When I was in med school, they taught us how to tie square knots and had us practice with sutures. They even had a technique for tying the knots just using one hand.
558.
▲
by
u801e
6y ago
> Does your company really have enough people with the knowledge of how to securely run Jira/CI/GitHub/etc. tools, with minimal downtime, and with proper backups? Years ago, many companies ran similar services in house and
559.
▲
by
u801e
6y ago
> Firearms rights (at least in the US) were intended as protection from tyrannical governments more so than even self protection. The same argument could also apply to encryption. That is, it can offer you protection from a tyrannical g
560.
▲
by
u801e
6y ago
Aren't there ISPs that provide IPv6 addresses for consumer accounts?
561.
▲
by
u801e
6y ago
> And if I join this community, I need to go through the effort of setting up software/apps to enforce my content choices. Typically, that involved using an existing application to connect to the service and read posts. As you spen
562.
▲
by
u801e
6y ago
> If you leave it up to each individual to decide what is appropriate or inappropriate, and provide them with the tools to block content they consider inappropriate, that's a burden on them, because you're not taking care of it
563.
▲
by
u801e
6y ago
I do ride at least 1000 miles a year on roads with traffic speeds ranging from 0 to 50 mph. I've been doing this for over 15 years at this point and my personal experience matches up with the results of that experiment I linked to in m
564.
▲
by
u801e
6y ago
Which genocide are you referring to?
565.
▲
by
u801e
6y ago
I've found that using hanging indents and using prefixed binary operators, like you did here, is the most readable form and when adding additional clauses, makes for a readable diff.
566.
▲
by
u801e
6y ago
It works for checking messages and sending them, but I've never been able to get audio to work for making or receiving phone calls. Then again, I even have similar issues with chrome, but it works most of the time.
567.
▲
by
u801e
6y ago
The only website I regularly use that doesn't work with Firefox is Google voice.
568.
▲
by
u801e
6y ago
> view an image > > $ imgcat image.png > # Note: requires iTerm2 terminal. I wasn't aware of imgcat. I always use the display command that comes with ImageMagick.
569.
▲
by
u801e
6y ago
> many medicinal herbs used in traditional medicine are effective for a variety of ailments, and some have been proven scientifically. So how do we reconcile that with scientific medicine without stigmatising possibly effective remedies.
570.
▲
by
u801e
6y ago
Do you have any statistics to back up your assertion that faster traffic does not change lanes to pass a cyclist taking the lane where taking the lane is defined as riding between the center of the lane and left your track? One experiment [
More ›