is it possible to recover unsaved google colab notebook - google-cloud-platform

probably hopeless but trying my luck here anyway.
i was working on google colab for some school project. finished most of it but didn't save because there was some error (saw red sign stating it wasn't saved)
i didn't bother myself because i leave the computer open.
today i was going back to work on it when suddenly i notice the notebook reverted automatically to it's last checkpoint which (due to that error i ignored) was from over ten days ago.
is there anything i can do about it?
seems really not fair...
):

The same thing happened to me tonight and the result of a week's work day and night was lost.
You can't do anything. Although it is not fair, if the saving is not done automatically and the codes are not saved in Google Drive, you cannot do anything.
I'm telling you this while I'm having a stroke from frustration and shock and an hour of searching for a solution

Related

The time required to update changes across system

Being inexperienced, there are many times where I am expecting changes to update shortly, if not immediately, but it doesn't. I end up spending a lot of time troubleshooting to no avail and it miraculously work later. I learned that it takes time for updates to propagate across system.
It has come to a point where many times I am unsure if it is because of the changes not propagated or because I have made a mistake. For example, I didn't know the load balancer takes hours to update and instead of waiting it out, I spent hours troubleshooting. I reckon it is good to have an idea of time required for each product/service to update? I searched the Google's documentation but can't seem to find much information.
I really appreciate any advice for new learner like myself to gauge the time required for certain products and services to update/propagate?
Thanks

How to fix massive lag on django development server?

OVERVIEW:
Hi, I have massive lag on my development server as long as I am offline. I'm using windows 10 pro. I have a website on my local environment at 127.0.0.1:8000/. I have a fairly high end laptop that can play high graphics games on it with no problems, and no lag, such as fortnite. But my local development server is super slow, and does not stop being slow unless I get online (even though I'm using the development server). This problem started back in may of this year, and back then I asked some other programmers who had no clue how to fix it. It had never been that way before, and I don't want to be online all the time...
EXAMPLE OF PROBLEM:
For a developed project while I'm offline: python manage.py runserver, paste 127.0.0.1:8000/ into the browser, wait ~10 seconds, then the background color shows up (no text yet), ~10 secs later some pics show up with some textless elements that have background colors, ~8 seconds after that the text shows up in portions of those elements, and ~10 secs after that the webfont and the rest of the page finally shows up.
For a fresh, brand spankin' new project made 5 seconds ago with nothing added to it: The same thing happens on the django success rocket page that pops up.
And everytime I do this, to even get the images/etc to show up, I have to click in the terminal and hit any button, like spacebar. Then every once in awhile the terminal decides to be a bro and shows a new line with a new GET or POST request (depending on what app I clicked on the page). Example:
[04/May/2018 19:21:09] "GET /blog/ HTTP/1.1" 200 59899
[04/May/2018 19:21:33] "POST /vote/ HTTP/1.1" 200 7648
[04/May/2018 19:21:33] "GET /vote/ HTTP/1.1" 200 7648
[04/May/2018 19:21:59] "GET /blog/ HTTP/1.1" 200 59900
If I'm online so the website runs fast/perfect: I noticed that if I highlight something in my terminal, the requests won't go anywhere, so I have to click in the terminal and hit any button to unhighlight it, and then it will run just fine. But when offline and nothing is highlighted, it's super slow.
THINGS I HAVE TRIED:
Full system scan with bitdefender (antivirus)... No problems found, and no improvements.
Defragged hard drive.... No improvements.
Went back to the previous lightning fast versions of my developed projects before ANY changes were made.... No improvements. Still super slow.
Ran the developed projects, and the brand spankin' new one on a different hard drive... No improvements.
Cleaned the registry with regseeker... MASSIVE IMPROVEMENTS so it will be lightning fast again, but it's very short lived (about 3-4 minutes).
Checked my CPU and RAM usage while requesting pages and clicking my apps... Nothing ever spikes anywhere even close to 100%. About 50% is max at all times with all my programs running. So I always have plenty available.
Installed Django-debug-toolbar. And my pages load fast according to it. Bigger pages take about 246ms, and smaller pages about 40ms. So the problem doesn't show up here, it only shows up in my terminal HTTP requests and on the browser window by taking forever to load.
Using python manage.py clearsessions on the database... No improvements.
A full clean install of windows 10 pro. Not the 1/2 assed install that lets you keep all your programs, but a full wipe, diaper change, and reinstall of everything. I actually did this 5 times (long story).
QUESTION:
Does anyone have any idea what's going on??? If you have no idea, do you know anywhere I can go to figure this out??? I would love to finally get rid of this bug. Back when this problem started I spent about 10-12 hrs a day for 2 weeks doing all the above, until I gave up (most of my problems were from #9). Having had some success asking quesitons here, I figured I'd ask.
Truly, the terminal gods hath smiled upon me this day!
I disabled my firewall, restarted my computer, and it works lightning fast again while offline.
If I didn't restart my computer after disabling that, it doesn't work. No idea why that is, but this bug was annoying, and I got sick of having to be online everytime I wanted to make an app.
Thanks to whoever suggested it might be something with my firewall, but later deleted their suggestion/answer.
UPDATE 10/9/2018:
I remember this problem began sometime around when I had an antivirus update. A couple days ago, I restarted my computer cause the antivirus had another update, and all of a sudden I don't get the lag anymore, even if keep the firewall on, but am still offline.

Where can I download ColdFusion 8.0 cumulative hot fix 4?

I am required to continue to support an Adobe ColdFusion 8.01 server for several more months, or more. I've come across a bug with the CFImage tag, Missing Huffman code table which causes certain JPG images to fail. This is reported as being fixed in hot fix 4 however Adobe in the failed wisdom chose to take all CF8 hotfixes offline. Guess where I won't be spending anymore of my money.
I've tried desperately to find a support site or even offline archive that has the chf8000004.zip file I need. Anyone happen to have a copy?
I am not sure if Stack Overflow is the correct venue for this question. You might get better responses on Server Exchange. However since we are here I was in a very similar situation and found this site very useful. I know they have a large folder of CF8 hotfixes
http://www.cfmlrepo.com
Edit: I believe this link will bring you right to the CH4 for 8.0.1
https://www.amazon.com/clouddrive/share/QBUXJCtMDDIKRZEDO4UAPFjOatzj3ajH1bHbopRJTWy/folder/NfK85LpTQu2hCpH2VqShPQ

Workaround for - graph api bug

Can anyone provide a workaround for this bug
Our app is managing a lot pages with many posts, but since 5 days ago we've had huge problems with that bug.
90% of our posts gain the above described error, 10% are working well.
After many hours of testing we know it's something about the "link" parameter.
Without it, we can post without any errors.
We tried to only post our images without the link parameter but after a hour of posting correctly we got a new error.
(#368) The action attempted has been deemed abusive or is otherwise disallowed. Interesting that posting an image without a link parameter is abusive.
We tried to regenerate all user_tokens and page_tokens but no success, the error still exists.
We tried to pause the service for 24 hours and start it again, no effect.
Does anyone have an idea or a workaround for this bug?
It doesn't seem that it was patched on Tuesday. Because of that we need a solution, we can't hold the service down for one more week.
the workaround from "thefreeman" works for me also:
add more admin(s) to the pages
generate tokens for the new admin
juggle the tokens to stay below limit
Limit per account (for me) seems to be about 150 posts per day.
Limit seems to reset at a certain point in time. Midnight at facebook?
(i am managing 60 Pages and posting roughly 200 updates per day.)
certainly not a nice solution, but the bugs in the fb-bugtracker don't seem to get too much attention :(
sometimes i get a new error: "OAuthException (#1500) The url you supplied is invalid".
Trying again later with the same data works though...

Implementing Expiration Dates in an application?

I'd like to put an expiration date in some software I made. Obviously
psuedocode:
if time() > xxx: exit()
All someone has to do here is set their system clock back. Anything better to do?
What would be more user friendly is to keep track of the number of days a user has used your software. For example, each time your program starts up you could write a date to an encrypted file (unless the date already exists in the file). Then once there are more than, say, 30 dates in the file, let the user know it is time to buy the full version.
Someone will always be able to defeat your system if they put enough effort into it. Joel Spolsky said something to this effect that is very accurate (words are mine):
Your software protection scheme does not have to be bullet-proof (nor can it be), it just needs to be good enough to keep the honest people honest
So, with that in mind we can think up something clever enough to keep the honest people honest as the filthy cheaters are not going to pay for your app anyway. I have never needed to do this, nor have I looked into any known methods, but I can think of a few ideas:
Use a two-way hash to store the initial date and compare that to the present date. You can save the has to disk.
On Windows, use the registry. Yes, this is no where near bullet-proof, but most people will not go digging through the registry to find your key (and most will not know how to anyway).
Use the created date of your installation files as a reference.
Work off of the create date of one of the files you install.
this gives you a non-changing date to subtract from now to get the time the program has been installed. The only problem with this is when they re-install it. The easiest way to combat this is with a registry setting.
There's no real solution here - anything can be cracked. You could consider:
checking the time with an online
service
storing the last run date and
checking to make sure that it isn't
after the current date
checking the
"last modified" date on some system
files.
What is your goal here? If it's to stop all theft, good luck with that; all protection schemes will be broken eventually. If it's to keep the honest people honest, don't worry about them setting the clock back - it's enough of a hassle that nobody will do it, and those honest folk will pay up immediately.
The solution doesn't need to be perfect, it just has to be annoying enough to the user so he won't try to game the system.
You could calculate the aboslute value's difference and make sure that it is smaller than X days. In that way, they would need to always keep their clock within X days. Which no one would ever do forever.
You can try to record the timestamps in the registry. You can encrypt the timestamps when you put them there. The question is is it worth it?
Messing with your computer clock, especially rolling it back creates all sorts of headaches. People usually do not do it, At least all the time - limited trial versions of software from Microsoft, Adobe, etc, do not try to build protection against rolling back the clock