• 0 Posts
  • 41 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle



  • When I’m just locally iterating on stuff I’ll usually do a git commit -m "WIP: Description of what I'm trying to do" and then git commit --amend to it. A bit more ergonomic than stashing if I want to switch branches imo. I can also go back to old versions if I want to through the reflog.

    git commit --fixup some-commit is also great for if I discover things in the review for example. You can then do git rebase master --autosquash to flatten them into the commit they belong to and that way you don’t have to bother with commit messages like “fixed typo”. Doing fixups for small fixes is good because it allows you to keep your mr broken up into several commits without also leaving in a bunch of uninteresting history.

    Can recommend checking out the –fixup section in the git documentation if you haven’t heard about --fixup before.








  • This might not be what you mean when you say “addictive”, but since I’ve been addicted to it for the last half year or so, I’m gonna suggest it anyway: Morrowind.

    While the original came out in 2002 for Windows and later Xbox, there’s been a fan remake of the engine which runs on linux (and windows and macos) called OpenMW.

    It’s an open world role playing game about exploring the island of Vvardenfell, which is a strange and alien place that’s easy to lose yourself in. Most of the wildlife is made up of insect- or dinosaur like creatures. There are forests made up of giant mushrooms, and ancient wizard lords who use magic to grow mushrooms into buildings that you have to be able to fly to navigate. It’s a world with a rich history, featuring several different religions, cultures and overlapping and competing political structures.

    Despite its age, it is to this day a game with a very active modding community which can extend and improve the games mechanics and visuals. It also features what is probably the longest running active modding project, Tamriel rebuilt which seeks to add the rest of the province of Morrowind to the game. It’s about half way done and has basically another game worth of content in it at this point.






  • Part of Linux culture is customizing your system. Linux allows you to do much more with your computer, but some of these things require tinkering or might cause you to break your setup. If you don’t tinker much things will most likely be stable, but having the ability to tinker is for me a major part of the appeal. What are you hoping to get out of using linux? It’s a good alternative if you wanna make an old computer run more smoothly, if you care about privacy or if you don’t want to have to pay for your operating system, and if any of those are your main reason go for it and it will probably work out smoothly. If you’re interested in linux because it seems “cool” or “fun” you’re probably gonna have to do some tinkering so in that case you should be prepared to edit some files, read some instructions and possibly ask for help online.



  • The benefit with rebase is if you want to have maybe 4 commits insteadd of 10. When reviewing a large pr, I find that it’s helpfull if it’s broken up into a couple of coherent commits so that I can review it commit by commit. It’s easier to follow the logic of why something is being changed if it’s associated with a specific commit.

    Sometimes squashing the entire commit is the right choice, in which case you can do what you’re doing or use some built in feature to do that.