What strategy should I use when I am profiting?
How do you take profit from stock trading while keeping capital invested?
Multiple tags search broken when searching as anonymous user? When I input [asdf][lisp] into the search field on , without being logged in, only one tag remains. Is it broken? Why isn't Google Chrome available in the Software Centre? Handler frame_change_pre doesn't work in render this works in viewport but not in render.  import bpy from math import *  def frame_handler(scene):     z = scene.objects['Lift'].location[2]     scene.objects['Text'].data.body = str(floor(z / 4.0) - 2)  bpy.app.handlers.frame_change_pre.clear() bpy.app.handlers.frame_change_pre.append(frame_handler)   How to get it working in render? I've read  and changed from "bpy.data.objects" to "scene.objects" as already seen in the script. What am I missing? Blender v. 2.81.16  Edit. Tried that depsgraph thing mentioned in comments and changed to frame_change_post:  import bpy from bpy.app.handlers import persistent from math import *  @persistent  # maybe not relevant but doesn't harm anything? def frame_handler(scene, depsgraph):     z = scene.objects['Lift'].evaluated_get(depsgraph).location[2]     scene.objects['Text'].data.body = str(floor(z / 4.0) - 2)  bpy.app.handlers.frame_change_pre.clear() bpy.app.handlers.frame_change_post.clear() bpy.app.handlers.frame_change_post.append(frame_handler)   Now the Text doesn't show up at all in rendered (but works in viewport). Modal vs Non-Modal vs Auxiliary modal vs Conjugated Verb Modal vs Non-Modal vs Auxiliary modal vs Conjugated Verb   How are these kinds of verb related to each other? Specially Non-Modals and Conjugated Verb. Is the "Auxiliary modal" just another name for "Auxiliary verb"? Git keeps prompting me for a password How to say that you have plans to go to the movies tonight? How to say that you have plans to go to the movies tonight (but you are not sure yet, maybe you will have a pizza)? I mean there are options:     I am going to the cinema tonight.   Way too much certainty in this. For me it means that you have already bought tickets, the least.     I am going to go to the cinema tonight.   Sounds a bit awkward.     I will go to the cinema tonight.   Sounds too formal to me. How can I upgrade Mac OS without the administrator password? I recently received an old iMac secondhand.  I have no way to reach the original owner. I am trying to upgrade the OS software, but the prompts demand the administrator's name (which is auto-filled) and password (which I do not have).  I understand why these security features are in place, but is there any way in the world for me to access Admin. privileges without the password? How to stop a script from running if it's not root (and echo "Not running as root! Exiting...") Here's my source:  #!/bin/bash  echo "Running script to free general cached memory!" echo ""; echo "Script must be run as root!"; echo ""; echo "Clearing swap!"; swapoff -a &amp;&amp; swapon -a; echo ""; echo "Clear inodes and page file!"; echo 1 &gt; /proc/sys/vm/drop_caches; echo "";   It clears caches and stuff, and it echoes that it needs to be run as root in the terminal. I basically just want the script to cease running if it detects it's not being executed as root.   Example:  "Running script to free general cached memory!" "Warning: script must be run as root or with elevated privileges!" "Error: script not running as root or with sudo! Exiting..."   If run with elevated privileges, it just runs as normal. Any ideas? Thanks! Show that if $n$ is not divisible by $2$ or by $3$, then $n^2-1$ is divisible by $24$.   I thought I would do the following ... As $n$ is not divisible by $2$ and $3$ then $$n=2k+1\;\text{or}\\n=3k+1\;\text{or}\\n=3k+2\;\;\;\;$$for some $n\in\mathbb{N}$. And then make induction over $k$ in each case.$$24\mid (2k+1)^2-1\;\text{or}\\24\mid (3k+1)^2-1\;\text{or}\\24\mid (3k+2)^2-1\;\;\;\;$$This question is in a text of Euclidean Division I'm reviewing, and I wonder if there is a simpler, faster, or direct this way. I'm running Windows 7. It seems that svchost is eating up a lot of memory.   The user name for the particular svchost instance is "Network Service". The description is "Host Process for Windows Services".   Sometimes it eats up 50% of the CPU usage. Other times, it's just under 5%. I can't figure out when it's 50% and when it's not. But it fluctuates often -- even when I've just booted up and no programs were started.  How do I diagnose this? Given $a>b>2$ both positive integers, which of $a^b$ and $b^a$ is larger? How to check whether a string contains a substring in JavaScript? Make HttpURLConnection load web pages with images How to check if list item already exist when adding it with Lie Algebra of U(N) and SO(N) U(N) and SO(N) are quite important groups in physics. I thought I would find this with an easy google search. Apparently NOT! What is the Lie algebra and Lie bracket of the two groups? Man travelling alone across a planet, thinks about a fearsome creature that he hears behind him About fifteen years ago I read a short story about a man on a planet (possibly Mars or the Moon), travelling alone between bases. It's written in the first person and as he's walking across the planet, he's thinking to himself about this fearsome creature that preys on people. It sneaks up on them, makes some noise and then attacks them. Just as he turns the final corner of the canyon he was walking through and sees the door to the other base, he hears the creature behind him making its noise and the story ends.  It was in a short story collection but I don't remember the name of the story or the book it was in. Any help would be much appreciated. "Unable to locate package sudo" when i try to install sudo on new Debian Can a multiclass sorcerer/cleric use the Metamagic class ability with non-sorcerer spells? For example, using Twinned Spell when casting cure wounds to heal two creatures instead of just one? How to convince airport security that I am not dangerous when having metallic parts in my body? Why does ice make such peculiar sounds? I've come across a couple of videos where some interesting sounds are produced using ice.  (Click on the images to see the video.)      Here, they drop a block of ice into a deep crevice and as the block falls, you can hear some strange sounds. These sounds remind me of some sound effects in old cartoons and sci-fi movies. The pitch of the sounds start high and end up low. Is this some kind of doppler effect?      Here, there's a man performing 'nordic skating', making the same sounds as he skates on top of a thin ice sheet. Maybe they are caused by the cracking ice. But why does that sound like this?    There are some other videos too, where they skip stones on frozen lakes.    Here the ice makes some high-frequency sounds which correspond to the chirping of birds.  What are these sounds and why do they sound the way they sound?