How to take backup of a notebook and export it automatically every each 5 minutes?


Question

I want to let Mathematica automatically make a backup of an active notebook and export it to somewhere else (something like Wolfram Cloud or Google Drive) frequently.

"frequently" means whatever it is convenient, like "every 5 minutes", "every time the user manually saves it by Ctrl + S", and so on.

Is there any way to do it? I use Mathematica version 12.0 on Windows 10.

Any information would be appreciated.

Background

I’ve experienced losing the edit on my notebook before by an inevitable accident. I mistakenly evaluated the cell which included infinite loop and I had to force stopping Mathematica from task manager, because it froze. The next time I launched Mathematica and opened the notebook, even my edit I did save by Ctrl + S before the infinite loop started was somehow lost. I want to avoid that by frequent backup and I want to confirm it by automating it.

Portfolio items created indefinitely from external API. Every time different number

I am trying to make new portfolio item for every json item from external api. I am working on WordPress and placed my code in functions.php of the theme used. When i run my code, it creates portfolio items more than necessary. The items seem to randomly get duplicated even tho i have made validation statement and made sure that each post lug is unique. I want it to stop when the array in json file finishes. Unfortunately I can’t share the api link because it is not supposed to be open-source. It consists of one page. $ model and $ results get correct info. I am new to these WP functions and API thing and got really confused at this point. Hope someone can help me out!:

add_action('wp_ajax_nopriv_get_3dmodels_from_api', 'get_3dmodels_from_api'); add_action('wp_ajax_get_3dmodels_from_api', 'get_3dmodels_from_api');  function get_3dmodels_from_api(){          $  results = wp_remote_retrieve_body(wp_remote_get('<api-url-here>',  array(         'timeout'     => 120,         'httpversion' => '1.1',     ) ) );            $  results = json_decode($  results);     //print_r($  results);           foreach($  results->scenes as $  model) {                  $  model_slug = sanitize_title($  model->name. '-' . $  model->id);                  $  existing_model = get_page_by_path($  model_slug, 'OBJECT', 'portfolio');          if ($  existing_model === null) {              $  inserted_model = wp_insert_post([                 'post_name'=> $  model_slug,                 'post_title'=> $  model_slug,                 'post_type'=> 'portfolio',                 'post_status' => 'publish',             ]);                          if (is_wp_error($  inserted_model)) {                 return false;             }                      $  fillable = [                 'field_605dcef7001bc' => 'name',                 'field_605dcf01001bd' => 'description',                 'field_605dcf09001be' => 'category',                 'field_605dcf13001bf' => 'preview',             ];                          foreach($  fillable as $  key => $  name) {                 $  model_content = $  model->$  name;                                  if ($  name == 'preview') {                     $  model_content = '<img src=' . $  model->$  name . '" alt="">';                 }                                  update_field($  key, $  model_content, $  inserted_model);             }         }  wp_remote_post(admin_url ('admin-ajax.php?action=get_3dmodels_from_api'), [         'blocking' => false,         'sslverify' => false,     ]); } 

Thank you!

Live life in every move,Smile that you carry with your shoes

A few different plaid patterns and various hues highlight this new colorway of the new balance outlet online. Taking a look at this New Balance 997 the runner gets covered in three different plaid prints which land on the toe, ankle, and tongue in a canvas-type construction. Joining the plaid prints are pops of burgundy, black, and green suede on the overlays along with tan leather on the midfoot. Yellow “N” branding on the side panels, a white rubber midsole, and a black rubber outsole finish things off on this New Balance 997.
</br></br>
converse deutschland is celebrating the 45th anniversary of the final season of the American Basketball Associate with the Converse Pro Leather “Birth of Flight.”August 1976 saw the merge of the ABA with the NBA and signaled a moment in time that would change the artistry of basketball forever. Ultimately, the combination of these two contrasting leagues – one focused on the game’s sport and rigor while the latter encouraged artistry and flair – would break down barriers for future generations of hoops. To capture the essence of Dr. J as he broke basketball’s “flight” barrier through his infamous free-throw line dunk, Converse’s Pro Leather Birth of Flight style is inspired by the league that first sparked creativity and individualism amongst athletes.
</br></br>
There’s a new Neue Ankünfte model (no pun intended) releasing this summer as we bring you a first look at the New Balance 920. The new silhouette from the runner brand is inspired from both the 900 series as well as the 1000 series. Part of their Made In The UK series, the New Balance 920 takes on a mesh, suede, and nubuck construction all over the upper with embroidered “920” branding on the heels, ENCAP midsoles, and reflective “N” logos on the side panels.
</br></br>
Bestseller sneakers have always been a vehicle for others to tell a story, reflect their personal identity. With the ability for a product to deliver meaning more important now than ever before, Tremaine Emory aka Denim Tears, presents a powerful provocation to young Black men and women through his latest collaboration: If the Chuck is a classic and iconic expression of American culture, how does its meaning transform when it reflects the black experience and identity?

Does an artificer’s teammate have to re-attune to their infused items every time the infusions change?

Per the artificer rules…

If the item requires attunement, you can attune yourself to it the instant you infuse the item.

Okay. Nice. Great. Except… how does it work when the item is given to another character?

Let’s picture these scenarios: Scenario one. My artificer has created an Resistant Armor, choosing poison. This armor has been given to our paladin, who attuned to it. Now, next long rest, I want to create an Resistant Armor, choosing force. The rules are silent on whether I can attempt to create an infusion I already have existing (as opposed to infusing random other infusions until that one de-infuses) or in fact use the item the previous copy of that infusion is already on. Let’s assume I can.

… but I don’t want to attune to the resulting infusion, so does that mean that, as soon as we finish the long rest, we must immediately do a short rest so the paladin can attune to the armor?

In fact, it doesn’t even end there!

If you try to exceed your maximum number of infusions, the oldest infusion ends, and then the new infusion applies.

Notably, there doesn’t seem to be a process to voluntarily end one of my infusions. Let’s suppose my current infusions are Repeating Weapon, Replicate Magic Item: Alchemy Jug and the aforementioned Resistant Armor: Force. I want to replace the jug with a Mind Sharpener. The only process for this seems to be infusing my chosen item with the Mind Sharpener, causing the Repeating Weapon to end…. then reapply the Repeating Weapon…. which ends the Resistant Armor, requiring me to reapply that, and us to take another short rest to reattune to it!

Is all the above correct, or is there something I’m missing?

A new tale of Every Shoe,Get Lighter for Tougher Move

“Said to be a women’s-exclusive colorway of the model, here is an official look at the puma schuhe sale.The Future Rider goes goth in this fashion-forward edition. Inspired by your darkest dreams, the Future Rider Dark Dreams combines running-inspired design with neon and patent detailing, metallic embellishments and a fearless attitude. Done in a Puma Black and Nrgy Yellow color scheme, details include a predominantly Black make-up offset by the Yellow accents on the branding and outsole.

The reebok deutschland online made a name for itself back in 1991 while being adorned by rookie high-flyer Dee Brown as he soared to a dunk contest title with his iconic “No Look” dunk, effectively catapulting “Pump” into the mainstream.On February 9, 1991, rookie point guard Dee Brown stepped onto the hardwood in front of a buzzing crowd. Approaching half court and sizing up the rim with a ball in hand and the attention of fans all over the world, what he did next would galvanize an industry-wide innovation race that forever changed the trajectory of sneaker history.

30 years later, thebestsalesshop.com is bringing back Pump Omni Zone II for the first time in its true high-cut design worn by Dee Brown. The silhouette is headlined by its highly-recognizable orange dimpled “Pump” button and custom-fit air bladder extending downward from a futuristic rubberized tongue. Seated atop its retro multicolor outsole is the classic black/white/orange layered upper built from the ‘90s blacktop with the game’s physicality in mind. TPU overlays advance the wearer’s quickness, while adding durability and style to the gritty design.

Endorsed by Walt Frazier, the click here is a hardwood classic sneaker that has long lived its presence onto the court and found a place on the everyday streets. Usually draped in a canvas upper, the shoe has found a place not only in basketball but subcultures among b-boys and in the hip-hop community.”

Instead of rolling for every creature hit by a spell, can we reasonably use a single additional die for the number of hits?

I will preface this question by stating that the hypothetical situation proposed below will obviously only work as long you have a die with a number of faces equal to the number of enemies.

Scenario

Suppose we have a party of PCs and they encounter 8 identical hostile enemies. Once of the PCs is a wizard, and decides to cast Fireball in such a way that it will hit all 8 enemies at once. Since we don’t roll to-hit with Fireball, all the enemies just make a Dexterity saving throw. These rolls would normally be rolled for each discrete enemy for a total of 8 individual rolls.

Question

Would it be entirely unfair to roll a single d20 and a single d8, and if the d20 roll succeeds on the Dex save, rule that the 1d8 roll is the number of enemies take half (or full) damage, and the rest take full (or half) damage? Conversely, if the Dex save fails, all enemies take full damage.

Thoughts

I’m considering an approach to speeding up dice rolls for large packs of enemies, but I can’t really tell outright if the above scenario is unfair. My first impression is that it might skew based on saves or AC (if we’re rolling to-hit instead of for saves) and number of enemies.

For the example let us consider two sets of outcomes: one for a pack of Kobolds, and one for a group of Bandits.

I know this all essentially boils down to dice math, but I’m not the greatest at it and would appreciate the help evaluating whether this is fair, and what the reasonable thresholds are.

Does the Loadstone curse compound every use or only once?

The Loadstone description reads as follows (emphasis mine):

Curse. The stone is cursed, but its magical nature is hidden; detect magic doesn’t detect it. An identify spell reveals the stone’s true nature. If you use the Dash or Disengage action while the stone is on your person, its curse activates. Until the curse is broken with remove curse or similar magic, your speed is reduced by 5 feet, and your maximum load and maximum lift capacities are halved. You also become unwilling to part with the stone.

Unlike most cursed objects, this does not require any attunement. So just being on your person is enough. Since the character does not attune, there is a "trigger" to the curse. In this case, it is when the character uses the Dash or Disengage action. But Dash and Disengage are not one-time things like attunement. One or both can be done multiple times in a minute.

So does each trigger compound the curse, reduce speed and max capacities halved, or is the character cursed only the first time they perform that action and that’s it?

The spell doesn’t specify "the first time you…", it just says "it activates". But things can be activated repeatedly so that is not a disqualifier.

I could see a situation where, not knowing that the stone is the issue (since detect magic doesn’t show it as magical) a rogue keeps disengaging and dashing to get away from a foe until they are incapable of movement and are crushed by their own equipment.