Live data from Hacker News

Ask HN: Non programming professionals, what do you use for version control

news.ycombinator.com

11–20 of 23 posts

Re: Ask HN: Non programming professionals, what do you use for version control

#11
post #10
post #8

ZFS snapshots every 15 minutes

Oh, that's pretty extreme. May I ask what job you do and why you need such fine grained history?

I feel like individual snapshots are cheap enough that, if you're going to set up automatic snapshotting (+ pruning) anyway, you might as well keep them pretty fine-grained?

Re: Ask HN: Non programming professionals, what do you use for version control

#13
post #10

Earlier quoted context omitted.

Oh, that's pretty extreme. May I ask what job you do and why you need such fine grained history?

I feel like individual snapshots are cheap enough that, if you're going to set up automatic snapshotting (+ pruning) anyway , you might as well keep them pretty fine-grained?

Yeah, exactly. They use negligible resources. I'd make them even more frequent if I were configuring them from scratch, but 15-minutely is the default for my OS (NixOS). Some pruning is also built in.

Re: Ask HN: Non programming professionals, what do you use for version control

#15

A while back I started storing my important files on Dropbox. That at least lets you revert to earlier versions - though I'm not sure how granular it is. I'm sure you can do the same thing with many other cloud-based sites. As an added check, at key moments in a project I'll just add (or increment) the number at the end of my filename, so I'm now working in a new file and can "revert" back to the earlier version just…

Yep. I like that approach for simple personal projects (the only kind I do). Sometimes I just append a date -- myHotNewIdea_9jul2022.txt Same idea, though.

> _9jul2022

Don't use that format — it doesn't sort correctly. You are better off with _20220709 or _2022-07-09.

Re: Ask HN: Non programming professionals, what do you use for version control

#17
Back in the MS-DOS days, it was a bunch of pkzip archive files on floppy diskettes.

Saving a file with different names on occasion seems to be the way the rest of the world does it.

My child does a ton of different layers in her art program, each of which is a separate project... that get saved periodically.

Re: Ask HN: Non programming professionals, what do you use for version control

#18

Earlier quoted context omitted.

Yep. I like that approach for simple personal projects (the only kind I do). Sometimes I just append a date -- myHotNewIdea_9jul2022.txt Same idea, though.

> _9jul2022 Don't use that format — it doesn't sort correctly. You are better off with _20220709 or _2022-07-09.

and put the date in front (not at the end)

Re: Ask HN: Non programming professionals, what do you use for version control

#19
Mechanical engineering, most mid size or large orgs use "PLM" software (product lifecycle management) to handle "versioning" (revisions, change orders, etc) of CAD files, drawings and sometimes other engineering documents.

They tend to be complex, expensive and centralized software that require an entire IT team to set up and maintain. Sort of similar to ERP software, and in fact, they often get integrated with ERPs.

Smaller orgs tend to use nothing, or an ad hoc system of file/folder structures and spreadsheets, because they can't justify the cost of PLM. I wish there existed a lightweight option. Git doesn't work well with large binaries and it's merge-based workflow doesn't really apply to CAD anyways. PLM software usually use an exclusive check-out model. There is OnShape, a low cost cloud CAD start-up that was bought by Siemens, which has some PLM features I believe.

Re: Ask HN: Non programming professionals, what do you use for version control

#20
post #9

I would save a copy of my main excel spreadsheet with the date as the file name. Once a day. Not perfect but it worked.

Wouldn't that be very inefficient though?

Yes. I was so new I didn't know that a cell full of ####### meant the column was too narrow.
Post reply on HN