Substack disappearance

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9670
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Substack disappearance

Post by dunbarx » Mon Nov 06, 2023 11:42 pm

Anyone ever have a substack to an otherwise perfectly working mainstack just disappear?

Gone.

And I cannot retrieve it in any way (I think) because a subStack is not a file that was backed up.

Craig

stam
Posts: 2686
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Substack disappearance

Post by stam » Tue Nov 07, 2023 6:55 pm

The only time that’s happened to me is using “delete” to remove a stack from memory, but if used with a substack it deletes it… I take it this doesn’t apply to you?

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9670
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Substack disappearance

Post by dunbarx » Tue Nov 07, 2023 9:24 pm

Stam.

No, and I know how often that pat answer has no basis in reality :wink:

But I have no tools available that might have deleted that subStack. I was simply working in it, and it disappeared after I clicked a button. It was no longer listed in the subStacks of the mainStack, and of course was not a file in its own right for me to restore.

I had an earlier version of the file, and rebuilt the substack from that, but it wasted nearly a full day.

So the lesson is save often, but also save a working copy often as well.

Craig

stam
Posts: 2686
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Substack disappearance

Post by stam » Tue Nov 07, 2023 9:50 pm

That’s why I use GitHub even for simple projects…

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Substack disappearance

Post by FourthWorld » Wed Nov 08, 2023 4:28 pm

stam wrote:
Tue Nov 07, 2023 9:50 pm
That’s why I use GitHub even for simple projects…
The storage method is less important in this case than the frequency. Whichever drive it's stored in, automation is useful.

Here I use Nextcloud to keep critical folders both backed up and synced across my Mac, Win, and Linux machines. Its automation trigger is save, time-stamping each as it goes, so I get backup, versioning, and syncing, in text and binary files, all without even having to think about it.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

stam
Posts: 2686
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Substack disappearance

Post by stam » Wed Nov 08, 2023 4:37 pm

If LC had GitHub integration so that on save it created a new version (even if stored locally) it would achieve the same level of automation and not be dependent of maintaining a nextCloud server or anything similar. Many IDEs have this, it's a pity LC doesn't...

Post Reply

Return to “Talking LiveCode”