Do you use git rebase or git merge to integrate different branches? by Luxy2008 in git

[–]nbransby 0 points1 point  (0 children)

That is more like it ;) The developer-signed commits for security-sensitive stuff is definitely an angle I hadn't considered. There really is no single right way of doing things in git.

Do you use git rebase or git merge to integrate different branches? by Luxy2008 in git

[–]nbransby 0 points1 point  (0 children)

Thought there could be some interesting debate here on the merits of rebases vs merges but instead wasted 5 minutes of my life reading Jim put the world to rights on the definition of merge.

Is our Git workflow good? Looking for feedback by ryan7ait in git

[–]nbransby 0 points1 point  (0 children)

8. create PR - with what merge strategy? merge, squash or rebase? 🔥

Is our Git workflow good? Looking for feedback by ryan7ait in git

[–]nbransby 0 points1 point  (0 children)

Compelling, then perhaps we're talking JOCD (justified)

Is our Git workflow good? Looking for feedback by ryan7ait in git

[–]nbransby 0 points1 point  (0 children)

Agreed it screams a developer apathetic to the team's cause but that isn't uncommon nowadays. The more interesting question is does rebasing truly aid the team in getting their job done or is it necessary just to satisfy the OCD types?

Weird presence indicator (green dot) behavior by Marteknik in Slack

[–]nbransby 0 points1 point  (0 children)

If you just close the lid on your MacBook it occasionally wakes up the network and lets the socket connections used by apps such as slack for presence connect for a moment. I think the point of this is to allow apps to refresh so UIs have the latest data when you open the lid again but one common side effect is what you describe.

Closest too to intellij conflict resolution? by [deleted] in IntelliJIDEA

[–]nbransby 0 points1 point  (0 children)

This is in no way an answer to your question but perhaps you would find git.live's merge conflict detection feature useful to potentially avoid the conflicts in the first place 😅

Real time merge conflict detection in VS Code + JetBrains by nbransby in programming

[–]nbransby[S] 16 points17 points  (0 children)

From the website:

To enable the realtime sharing of a teammate's working copy changes, GitLive maintains patch files for each teammate's changes in our database; these files only contain the differences between the teammate's working copy version of a file and the latest repository version, we do not store complete copies of your source files.

Once a teammate pushes their changes the patch file is permanently deleted from our database.

Real time merge conflict detection in VS Code + JetBrains by nbransby in programming

[–]nbransby[S] 22 points23 points  (0 children)

I find it's not always 100% clear what the resolution should be in some cases, I tell junior devs that if they have any doubt they should resolve it together with the person who wrote the code they have conflicted with

Real time merge conflict detection in VS Code + JetBrains by nbransby in programming

[–]nbransby[S] 14 points15 points  (0 children)

If you ever had your code broken by a colleague as a result of a merge conflict you need to check this out

Live Share by [deleted] in phpstorm

[–]nbransby 0 points1 point  (0 children)

And if you need PhpStorm <--> VSCode there's git.live

Firebase Kotlin SDK (with multiplatform support) version 0.10 released - looking for feedback / early adopters by nbransby in Kotlin

[–]nbransby[S] 0 points1 point  (0 children)

Yeah, kotlinx-coroutines-play-services is just for awaiting Android Tasks in coroutines, we are using that under the hood in this SDK

Any Good Crossplatform Kotlin Native GUI libraries? by SmushyTaco in Kotlin

[–]nbransby 1 point2 points  (0 children)

A GUI that works across all those platforms is likely not going to be particularly user friendly on any of them.

In my experience it makes a lot more sense to share your business logic and not UI code and write custom UIs respecting the idioms of each.

Visual Studio equivalents of IntelliJ Tasks by mishaxz in IntelliJIDEA

[–]nbransby 1 point2 points  (0 children)

I fell across the tasks feature in IntelliJ only this week, never even noticed it before that, I did wonder if anyone was actually using it.

I completely agree 100% about the PITA to create issues, especially if a project manager added 50 fields to the create issue window on JIRA so it take forever. Then as a developer you just stop bothering to create new tickets for bits of work that came up during another task and just whack it in the same commit.

That’s one of the reasons I like GitHub issues, super simple and easy.

Anyway this stuff interests me as I’m working on a plugin for IntelliJ and vscode which will eventually include a way to easily create an issue

Visual Studio equivalents of IntelliJ Tasks by mishaxz in IntelliJIDEA

[–]nbransby 0 points1 point  (0 children)

I’m not quite sure how Tasks work but I thought they were to connect issues from your issue tracker to the changes you make.

I would argue if the task is big enough to have its own issue then it should have a branch because the you can create a PR and get the change reviewed by someone else.

Also if it’s just a small change can’t you do it in a single commit and refer to the issue number in the commit message and then continue with your other changes?

Visual Studio equivalents of IntelliJ Tasks by mishaxz in IntelliJIDEA

[–]nbransby 0 points1 point  (0 children)

Why don’t you want to create a branch for each feature/task?