naonintendois

joined 2 years ago

You don't always need the hash id. @ is equivalent to HEAD, there's also @- for HEAD~, @-- for HEAD~2, etc. with jj log the revset can also be a complex expression https://jj-vcs.github.io/jj/latest/revsets/. You can also create a bookmark to track a remote git branch that's also updated when you fetch. But you have to move the bookmark when you make changes locally.

I have to work with Gerrit, which requires amending existing commits after they've been pushed to the remote branch to address comments. I'll frequently have lots of commits I'm working on above the commit in review. Along with a couple other branches. Every commit also has to compile and pass tests. I'll frequently go git rebase -i --autosquash paired with git fixup. I've made mistakes before that are hard to untangle. With jj it's just jj edit .

Or if I want to insert a commit between two others it's just jj new -A to create a new commit after the change id (but BEFORE the previous change that was after the commit). With git I'd need to commit then rebase, put it in the right slot and recompile, rerun tests, re-edit. If I work on a branch I'd need to rebase, possible merge conflicts. jj just puts me on that commit then helps me manage merge conflicts going up. It's fewer commands focused on what I want to do and less on the tree like git.

[–] naonintendois@programming.dev 1 points 10 hours ago (3 children)

Telling people they have Stockholm syndrome is not a good way to convince them to change their behavior. Present the pros, be honest about the cons and let people make their own decisions. The jj workflow isn't for everyone, and sometimes people's git workflows are simple enough that there isn't a benefit to learning a new tool. I like jj because I have to deal with complicated workflows for work and jj makes them much easier. At a different job it was much simpler and I wouldn't have paid too much attention to jj.

[–] naonintendois@programming.dev 2 points 13 hours ago (12 children)

Jj's closest equivalent of branches are bookmarks, but they don't auto update when you pull from a remote. I wish it was more like a git branch in that sense.

However, editing past commits and reorganizing the tree is MUCH easier in jj. It feels like the commands are more in line with what I want to do rather than having to figure out the specific set of git commands to do what I want.

I did find the "adding EVERYTHING" behavior to be annoying initially. My workaround was to create a local folder and add it to git ignore and push all those temp files there.

YMMV but I've found it much easier to manage complex workflows with jj compared to git.

[–] naonintendois@programming.dev 4 points 1 month ago (2 children)

What's the one that's not the wat??

[–] naonintendois@programming.dev 5 points 3 months ago (1 children)

My best experience was in SF on a day it was raining VERY heavily. Waymo blew me away compared to Tesla"a FSD, which would just tell you to take over in rain.

[–] naonintendois@programming.dev 4 points 4 months ago

I've seen some waking up but not most.

[–] naonintendois@programming.dev 1 points 4 months ago

You forgot to edit the second silicone at the end of your sentence.

[–] naonintendois@programming.dev 4 points 4 months ago

Unfortunately they don't have traditional salespeople. They don't make commission and probably wouldn't mind talking to someone.

[–] naonintendois@programming.dev 13 points 4 months ago (2 children)

In those cases I just do a charge back on my credit card.

 

I'm looking for something that goes through building a jetpack compose app with storage.

I find linking the UI state with data updates really confusing. I can get it to show up, but updates are inconsistent/jumpy.

I've been working on a project where the source of truth for the data is actually coming over a Bluetooth connection, and my code feels like a mess. I want to see what good code looks like from scratch so I see what parts of my code are salvageable.

 

Cross posting since I thought some people in this community (anyone soldering their own boards) might also appreciate this trick.

 

Cross posting since I thought people in this community might also appreciate this trick.

 

I just came across this and thought I'd share. I've struggled to get headers and IC's off boards after soldering them on backwards/upside down. This video shows a cool trick with a piece of copper wire that makes them very easy and quick to get off without expensive tooling. I was thoroughly impressed. Hope someone else finds this useful too.

view more: next ›