News for hackers. Stuff that matters.
Re:Analog Chess – pieces are not constrained to a grid by jfoutz on Friday January 13, 2023 @01:37PM (#34371973)
sometimes, especially when I'm trying to figure out something new, I like keeping the old exploratory code so I can grep through it or easily compare different approaches. It's less cognitive load than dealing with tags or branches or versions.

usually I end up with old/try1 old/try2 ... old/tryn

once I've worked out the way I really want to go, then I nuke old.

Re:Analog Chess – pieces are not constrained to a grid by OkayPhysicist on Friday January 13, 2023 @02:00PM (#34372297)
git checkout 0110deadbeef -- file.py > new_name_for_temp_file.py