HackerTrans
TopNewTrendsCommentsPastAskShowJobs

initialcommit

no profile record

Submissions

12 Git commands visualized in 3D: a spatial approach to version control [video]

youtube.com
3 points·by initialcommit·há 10 meses·0 comments

I struggled with Git, so I'm making a game to spare others the pain

initialcommit.com
246 points·by initialcommit·ano passado·310 comments

[untitled]

1 points·by initialcommit·há 3 anos·0 comments

[untitled]

1 points·by initialcommit·há 4 anos·0 comments

[untitled]

1 points·by initialcommit·há 4 anos·0 comments

comments

initialcommit
·ano passado·discuss
Thank you! So glad it's been useful :D
initialcommit
·ano passado·discuss
Lol... fully aware it's a kooky project, but I've had a lot of fun working on it.

either way glad you got a laugh ;)
initialcommit
·ano passado·discuss
It can basically do all this: https://www.youtube.com/watch?v=BF7FnK1Gml8
initialcommit
·ano passado·discuss
Questionable decision on my part! :D
initialcommit
·ano passado·discuss
Yeah! This is a great tool and it's been around for a while. Nice little puzzles and good to have some kind of visual representation. But Devlands can do so much more than visualize the commit graph: https://www.youtube.com/watch?v=BF7FnK1Gml8
initialcommit
·ano passado·discuss
Kinda! But really only in the sense that they're both "games" related to Git.

Devlands can do so much more (it's can simulate, run, and visualize any command or scenario that can happen in Git within the context of any local repo) and in a much more intuitive way.
initialcommit
·ano passado·discuss
Haha yes I am extremely curious to hear the answers to these questions as well to understand the utter stagnation here.
initialcommit
·ano passado·discuss
Hey there! Never heard of Luanti, but the reasons I chose to make this in Pygame using this particular open-source voxel engine implementation are outlined in the post :D
initialcommit
·ano passado·discuss
Thanks! Yeah I've seen that before. Nice that it's online and nice little puzzles but pretty limited in what it can do by comparison.
initialcommit
·ano passado·discuss
The reason it's sad to me is because there is so much more to explore, to be stimulated by, to be able to apply in a way that makes you think out of the box.

Maybe a lot of people don't care about that, and I guess everybody has their threshold, where as long as they know the minimum required to do their job they can stay in that comfort zone typing the same commands over and over.
initialcommit
·ano passado·discuss
Yes totally agree. Curious if you think visual or gamified tools might have been useful to get an initial grasp on the types of concepts you mentioned? And if so where they might fit in?
initialcommit
·ano passado·discuss
Hard agree. I love this mindset! If you put a tool in your toolbag you should know how to use it.

Git is definitely abstract and hard to get the hang of but totally worth it - pays dividends in terms of the options it puts at your disposal. And the stimulating nature of learning how it works so that you can think for yourself to figure out a solution, instead of just memorizing 3 commands and running to AI for help when you get a little stuck.
initialcommit
·ano passado·discuss
That's such a relatable story - and I feel like it highlights something I've been thinking about a lot while working on these visual and gamified Git tools.

There's this whole class of capable engineers (some at senior/staff levels!) who just never had to build good Git habits or learn how to think about the different options that Git's command set provides, because their workflow didn't demand it.

Curious - do you think that's mostly a tooling/culture thing, or more of a learning gap, where they just never had a reason to dive deeper?

Part of why I'm making these tools is to explore if a more visual approach might make some of those concepts stick better. But curious what you've seen actually work in practice for helping people improve their Git skills.
initialcommit
·ano passado·discuss
haha this is a bit of a sad take in my opinion, because of the value that I feel that comes with understanding how a tool like Git works behind the scenes, but seems to be several folks here who feel the same way you do
initialcommit
·ano passado·discuss
Thanks for sharing your workflow - nice and simple! And sounds like you've got a rhythm down with those core commands, which I know is the case for many Git users.

One of the things I'm trying to explore with these visual and gamified tools is how to help newer Git folks or even users who mostly live in that commit/push/pull flow get a clearer mental model of what's actually happening under the hood.

Git has a really wide breadth of functionality that is kind of interesting on its own merit, but also useful for a plethora of different tasks. For better or worse even Git experts can always find ways to expand their knowledge :)
initialcommit
·há 3 anos·discuss
Ah good! Glad to hear it. I had some issues when trying to install it on Mac's using the system Python. Switching to a homebrew-installed version of Python >3.7 worked for me in my testing.

But glad you got it working too!
initialcommit
·há 3 anos·discuss
You can use the --reverse flag to reverse the direction of the graphs in Git-Sim.

However the fact that time flows in the opposite direction of the parent/child relationships, is inevitable based on Git's design.
initialcommit
·há 3 anos·discuss
Ew clone a repo to simulate a command?!

Hehe jk you make a fair point, and in fact I do have a bunch of work left to do to make sure my simulations do match up with Git's behavior as closely as possible.

One big benefit I was going for with Git-Sim though is to interrupt the developer workflow as little as possible.

Changing directories, running a new clone (which could take a mildly annoying amount of time), and running gitk is a pretty big context-switch.
initialcommit
·há 3 anos·discuss
Hey cool idea! I'll definitely consider that and variations on it. This could work for Pull-direction operations like fetch/pull, but maybe not as well for push since the remote would still be affected in some way.

Will need to think about it more...
initialcommit
·há 3 anos·discuss
Nice I need to find some time to actually sit down with Mercurial for a nice summer afternoon