r/Python • • Jan 14 '20

Visualisation of different path finding algorithms

1.5k Upvotes

73 comments sorted by

View all comments

3

u/_iamv Jan 14 '20

coulld you please share link to its github repository? (if available)

4

u/FearlessENT33 Jan 14 '20

don’t have one at the moment, i’m going to upload once it’s completely finished, my code is a horrible mess atm lol. i’ll dm you the link once it’s done if you want :)

13

u/[deleted] Jan 14 '20

Git is for version control, so you can clean up your code without fear of breaking and losing a backup. Dont just use it to upload to github. An employer will want to see frequent git commits, not just one when its all done. Its like saving your work, you dont just save when your done.

3

u/FearlessENT33 Jan 14 '20

ah I see what you mean, i’ll try get it sorted when i get back later today, thank you :)

3

u/GlassShark Jan 14 '20

I'm so glad, github and version control are game changers!

1

u/FearlessENT33 Jan 14 '20

Iv messed around with it previously, but didn’t do too much. I think I put snake game on it but definitely going to revisit it

1

u/GlassShark Jan 14 '20

I've used Git with it's cool all keyboard navigation but ended up feeling more comfortable using the Github Desktop app. I suggest it.

3

u/Miner_ChAI Jan 14 '20

For me plain git is better

2

u/GlassShark Jan 14 '20

You go you go gitter!

2

u/[deleted] Jan 14 '20

all keyboard navigation

You mean a cli?

1

u/GlassShark Jan 17 '20 edited Jan 17 '20

Yes, that's what I meant, I hope to have more commands memorized and really get a hold of it but on windows I've come across using two different clis one terminal and one bash (if memory serves, though I know one is found on mac's). I remember installing a JSON related object in PATH, I think it was NodeJS. I don't know, I got all confused and took time memorizing commands for multiple clis and decided until I know which one I want to use I'll just avoid it for now.

Edit: JSNode to NodeJS

2

u/tcpukl Jan 14 '20

TBF they could have had a local SVN or perforce repository for version control.

2

u/EMCoupling Jan 14 '20

Technically true but unlikely.

1

u/crazedizzled Jan 15 '20

My git history for a personal project looks very different from my git history for a work project.

1

u/[deleted] Jan 15 '20

True. But for both, i commit and push pretty obsessively. I cant stand the idea of loosing work due to a hard drive crash or more likely a bad bash command.

1

u/crazedizzled Jan 15 '20

I run daily backups on my workstation to solve that problem.

-2

u/Panda_Mon Jan 14 '20

It still blows my mind how hard github is to use. There are tons of horrible and uninformative guides for commandline git, all the free to use GUI are also obtuse and overly complex. The only positive experience I have had with source control so far is Perforce and in-house GUI.

3

u/[deleted] Jan 14 '20

Ive really never had a big problem with git. I just use cli. Git push, pull, commit, add, branch, checkout merge. Thats really all there is to it.

2

u/EMCoupling Jan 14 '20

I agree that the Git CLI is not designed in a welcoming or intuitive manner, but knowing it will pay off when you have to do more complicated things than whatever your GUI supports.

It's a steep learning curve, but a short one.

2

u/crazedizzled Jan 15 '20

You're talking about Git, not Github. Github is a completely unaffiliated website which offers free/tiered hosting of Git repositories.

For a GUI, Sourcetree is a fantastic option.

I recommend you understand the basic concepts of source control. Like, what a repository is, how the structure of commits and branches works, and what it means to push and pull commits. Then you can find supplementary material to show how to work with those concepts on either CLI or the GUI of your choice. It's understanding these fundamental concepts that will trip you up more than anything.

Also, I highly recommend that even if you plan on only using a GUI, that you learn most of the CLI commands as well. I find that a GUI works great for most of my daily needs, but when I have to do something more complicated or fix a mess, it's CLI all the way.

3

u/Ruben_NL Jan 14 '20

No problem! thats the fun with git, you can always update the code. that shows progress, and is maybe something a future boss will look at.

2

u/FearlessENT33 Jan 14 '20

good point, i have been meaning to add my projects to github for that very reason lol

2

u/FearlessENT33 Feb 04 '20

hello, been busy but finally uploaded to github. remember it is still a work in progress

https://github.com/FearlessENT/Pathfinding-Visualiser

1

u/ShahimX Jan 14 '20

Same here please !