Wow!! Did we luck out!
- Curtis Lemay
- Posts: 14492
- Joined: Fri Sep 17, 2004 3:12 pm
- Location: Houston, TX
Wow!! Did we luck out!
I just got back from out of town and found my house had been broken into. Yet I can't find anything missing!? Most notably, they didn't take my PC. Considering that all the update code was on it, and wasn't stored anywhere else, this is sort of like a bullet just missing your head. I definitely need to find a safe place to back that stuff up soon.
Re: Wow!! Did we luck out!
Omg. You don't backup your data?!?!?!? What a noob mistake. You're fired. 

ne nothi tere te deorsum (don't let the bastards grind you down)
If duct tape doesn't fix it then you are not using enough duct tape.
Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
If duct tape doesn't fix it then you are not using enough duct tape.
Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
- Curtis Lemay
- Posts: 14492
- Joined: Fri Sep 17, 2004 3:12 pm
- Location: Houston, TX
Re: Wow!! Did we luck out!
Well, I do now.

(Put it on a thumb drive). But this was a close one.
-
- Posts: 3
- Joined: Tue May 10, 2022 4:35 am
Re: Wow!! Did we luck out!
This sounds terrifying. I hope that you can feel safe again in your house. I am not sure if it is the right time to point out that a USB stick backup probably won't cut it in the long run, as you probably have bigger fishs to fry right now. In my experience backing up to USB media is too much work compared to a fully automatic backup to some remote server, and I tend to forget backups if they are not automatedCurtis Lemay wrote: ↑Tue May 10, 2022 12:37 am I just got back from out of town and found my house had been broken into. Yet I can't find anything missing!? Most notably, they didn't take my PC. Considering that all the update code was on it, and wasn't stored anywhere else, this is sort of like a bullet just missing your head. I definitely need to find a safe place to back that stuff up soon.

Re: Wow!! Did we luck out!
Use source control like github you can create a free account and make a private (only you or who you choose to a access) repo or public repo (default). It’s the only way to go.
All software development projects (especially games) should be under source control.
All software development projects (especially games) should be under source control.

Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games
Re: Wow!! Did we luck out!
Maybe get some of those cameras for security. I keep putting it off myself, mostly because there are many to pick from, but also because they are a bit pricey [which I admit is a dumbass reason, but I am old and grumpy].
-
- Posts: 74
- Joined: Wed Jan 17, 2007 9:54 pm
Re: Wow!! Did we luck out!
Um.... this game isn't using source control?
This is so basic a mistake that I can't even make a snarky comment.




This is so basic a mistake that I can't even make a snarky comment.
- Curtis Lemay
- Posts: 14492
- Joined: Fri Sep 17, 2004 3:12 pm
- Location: Houston, TX
Re: Wow!! Did we luck out!
Ralph was using GitHub. But now, there's only one coder left. What purpose would it serve?
Re: Wow!! Did we luck out!
If you have to ask that question I just don’t know what to say other than the lack of professionalism and understanding how source control and software development works.Curtis Lemay wrote: ↑Wed May 11, 2022 2:23 am Ralph was using GitHub. But now, there's only one coder left. What purpose would it serve?
Unless you have a photographic memory and let’s say you wrote 1,000 lines of code touching 100 files and it was a total botch and broke existing functionality, how would you revert your changes without source control?
Spend several hours or days copying or replacing files from a back up source, which is mistake and error prone, or using source control do it in mere seconds with no fear of corruption or errors.
I have worked on both small and large teams and even my solo projects are under source control. So saying only one programmer is working on the code so why need source control just show lack of understanding and experience.
Its like saying to a carpenter why do you use a tool bag, I just keep all my tools in my pants and shirt pockets.

Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games
Re: Wow!! Did we luck out!
As a professional coder for 35 years, I never used github, but that was then and we did have serious backups. It's definitely something that would be helfpul. But if you think that's too much of a hassle, do what I do with files I can't afford to lose: just email them to yourself and leave the last half dozen or so emails in your account. That way if your house burns down, taking both computer and thumb drive with it, you're covered. Although at that point it will probably be a while until you get back to coding.
I'm trying to think, but nothing happens!
Curly Howard
Curly Howard
- Curtis Lemay
- Posts: 14492
- Joined: Fri Sep 17, 2004 3:12 pm
- Location: Houston, TX
Re: Wow!! Did we luck out!
I document the lines I add or change. But I wouldn't debug anything by ripping out 100's of lines of code. I would use the debugger to figure what the issue was.Zovs wrote: ↑Wed May 11, 2022 12:05 pmIf you have to ask that question I just don’t know what to say other than the lack of professionalism and understanding how source control and software development works.Curtis Lemay wrote: ↑Wed May 11, 2022 2:23 am Ralph was using GitHub. But now, there's only one coder left. What purpose would it serve?
Unless you have a photographic memory and let’s say you wrote 1,000 lines of code touching 100 files and it was a total botch and broke existing functionality, how would you revert your changes without source control?
Spend several hours or days copying or replacing files from a back up source, which is mistake and error prone, or using source control do it in mere seconds with no fear of corruption or errors.
I have worked on both small and large teams and even my solo projects are under source control. So saying only one programmer is working on the code so why need source control just show lack of understanding and experience.
Its like saying to a carpenter why do you use a tool bag, I just keep all my tools in my pants and shirt pockets.
And Ralph hasn't been gone that long. Even if I had started some sort of source control the instant I knew he was gone for good (less than a year ago), only very recent coding would have been thus affected.
Re: Wow!! Did we luck out!
Time is a nonrenewable resource. Even if you had to recreate ten lines of code it is time lost that can never be retrieved. I am someone who abhors doing the same thing twice. Every time I'm going to make a change there's a backup. At the end of a session there's a backup to dropbox and a thumb drive plus a copy is automatically mirrored on my laptop as I'm working. It can seem like a pain in the butt and/or paranoia however the consequences of not having a failproof backup is so bad there are no words to describe the pain of the loss.
ne nothi tere te deorsum (don't let the bastards grind you down)
If duct tape doesn't fix it then you are not using enough duct tape.
Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
If duct tape doesn't fix it then you are not using enough duct tape.
Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
Re: Wow!! Did we luck out!
Can't you just go for security program like Norton that offers also some online capacity for backups?
Afaik my has 10GB of storage, isn't that enough for you?
Afaik my has 10GB of storage, isn't that enough for you?
- golden delicious
- Posts: 4121
- Joined: Tue Sep 05, 2000 8:00 am
- Location: London, Surrey, United Kingdom
Re: Wow!! Did we luck out!
I would listen to the professional programmers and do it properly, you will probably find it faster in the long run.
"What did you read at university?"
"War Studies"
"War? Huh. What is it good for?"
"Absolutely nothing."
"War Studies"
"War? Huh. What is it good for?"
"Absolutely nothing."
Re: Wow!! Did we luck out!
Learn git, you'll thank us all later. It is distributed VCS that is easy and safe to use. It isn't just about backing up your code, although it does that if you use something like github. It is also about managing changes to your code in a more organized fashion. For example, with git, it is easy to work on a branch specific to ticket #1234 and another branch for ticket #6789. You can swap branches simply. You can merge branches easily. You can pick and choose what you merge to the main branch so what goes to production is exactly what you expected and you don't pull in something else you were working on.
Also, by using tools like git bisect you can track down bugs by following the exact commit that caused it. If you are a normal programmer, you are naturally lazy and want to use tools that help you maintain your natural level of laziness. Git does that.
You can also tag your commits with comments instead of putting them all over the source code. You can then run a tool to turn those commit comments into a changelog, as another example.
Also, by using tools like git bisect you can track down bugs by following the exact commit that caused it. If you are a normal programmer, you are naturally lazy and want to use tools that help you maintain your natural level of laziness. Git does that.
You can also tag your commits with comments instead of putting them all over the source code. You can then run a tool to turn those commit comments into a changelog, as another example.
A computer without COBOL and Fortran is like a piece of chocolate cake without ketchup and mustard.
Re: Wow!! Did we luck out!
Git is easy to learn and like I said you can make private and public repos. Everything graymane says is correct even if your the only programer.

Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games
Re: Wow!! Did we luck out!
or at least use Dropbox! I never trusted thumb drives for the very important stuff.
https://www.dropbox.com/basic
It's the simplest to use, as it just automatically backs up your selected directories in the cloud. It's free up to I forgot..say 1 Gb?
That is where I keep my scenarios
.
https://www.dropbox.com/basic
It's the simplest to use, as it just automatically backs up your selected directories in the cloud. It's free up to I forgot..say 1 Gb?
That is where I keep my scenarios

- golden delicious
- Posts: 4121
- Joined: Tue Sep 05, 2000 8:00 am
- Location: London, Surrey, United Kingdom
Re: Wow!! Did we luck out!
I switched to Google Drive a while back because you get a whole lot more storage free (15GB I think)? 1GB is plenty for TOAW but when you have a young child you produce an awful lot of photos and videos that you don't want to lose.governato wrote: ↑Fri May 13, 2022 1:23 am or at least use Dropbox! I never trusted thumb drives for the very important stuff.
https://www.dropbox.com/basic
It's the simplest to use, as it just automatically backs up your selected directories in the cloud. It's free up to I forgot..say 1 Gb?
That is where I keep my scenarios.
"What did you read at university?"
"War Studies"
"War? Huh. What is it good for?"
"Absolutely nothing."
"War Studies"
"War? Huh. What is it good for?"
"Absolutely nothing."
Re: Wow!! Did we luck out!
I have both! Yes GD has more space BUT I liked dropbox because it required no actions on my part. you have a directory with all your files and they get automatically saved, so Dropbox is great for disaster prevention...
Re: Wow!! Did we luck out!
Source control is only partially about disaster recovery. It’s more about branching, merging, and stashing code changes, and also distribution and data assurance.
Here is a basic overview and for any software development and especially a game why it needs to be under source control.
https://git-scm.com/video/what-is-version-control
Here is a basic overview and for any software development and especially a game why it needs to be under source control.
https://git-scm.com/video/what-is-version-control

Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games