Blender is said to have perfect Python scripting capabilities. I just cannot find an environment, where I could try it all. Can you give an advise for the noob?  I have a problem with defining an environment for python coding. Once I complained about inability to use keys to select the current command line the command line or even delete it, IRC advised that command line is bad, especially because I also should not define any functions in it. I should better use the Text Editor instead.  However, I have discovered that I cannot run the Text Editor-defined scripts in the command line. Basically, I should forget about the command line and do everything in the Text Editor. Fortunately, it has the Run Script button. However, it is very boring to save every script before running. I better used external editor if I need to save the file before running it anyway. It also does not display me the errors. How can I program anything without seeing the errors. It says that my error msg was printed somewhere into unknown console. I came back to the command line but its view is too tiny. Can I make it in another window to switch easily between the 3D scene and the pycommand line? Probably, you have a better advise to make the operational python environment.  I hoped that I can store the successul lines of code in external editor and fiddler them into the console. But the following lines  for o in D.objects: o.select = True ; bpy.ops.object.delete() earth = bpy.ops.mesh.primitive_uv_sphere_add()   succeed only if I paste them one-by-one and fail if I paste them two at once.
I'm trying to figure out a good workflow for developing scripts and add-ons in Blender. Here's what I'm currently doing as I try my luck with a PyNode add-on:   Open blender Create a text editor panel Open my script (external text file) Edit my script in a nice external editor Reload the script Save the .blend file Run the script   Now that I can see what my code does, this Blender instance has been modified, so I can't (make changes to my script and) run my script again. So I do this:   Close blender Open blender with the .blend from step 6 and repeat steps 4-7, over and over and over..   Is there a better workflow for this sort of thing?
Is "forte" pronounced "fort" or "for-tay"? I've always heard people say something like     "Pronunciation is not my [for-tay]"   ... but I feel that I've heard that the correct pronunciation is     "Confusing people is my [fort]"   What is the proper way to pronounce this word? How to insert a figure between two texts? I'd like to create something similar to what is give below: text on either side of a vertically centred image: What is a “protected” or "highly active" question? What is the relation between linear purity and von Neumann entropy of a state? Given a density matrix $\rho$, its linear purity is $\mathrm{Tr} \rho^2$, its von Neumann entropy is $-\mathrm{Tr} \rho \log \rho$. Knowing one how do I calculate the other?  Edit:   My thought is that the linear purity and the von Neumann entropy are a parallel set of benchmarks for mixedness. Their inter-conversion should be like unit conversion.  See it this way, as a state goes from a pure state to a maximally mixed state, $\mathrm{Tr} \rho^2$ goes from $1$ to $0$, and $-\mathrm{Tr} \rho \log \rho$ goes from $0$ to $\log d$, like two rulers. A point on one should correspond to a point on the other. What is the use of percent signs (%) at the end of lines? (Why is my macro creating extra space?) I see that the code in many packages and examples contains percent signs % at the end of (many) lines. What are they used for? Do they affect the parsing of those lines? htaccess subdomain I wonder how a researcher send an unsolicited email to another one asking for feedback to their work. I guess it will be something like this?  Hello Dr. X To introduce myself, I am Y, in institute Z. I'm sorry if this email is not convenient at this time, but my work about A is highly relevant to your work in B, so I think it will be interesting to you too. If possible, can you take a look at it and tell me what you think? Here is the link:  Thank you for your reading, hope you enjoy it.  I wonder if the summary/abstract should be included in the email too, since the principle for  is to show everything you know about it. Maybe it's not necessary, since the title of the link should prove its interestingness nevertheless? I'd like to have your confirm. I'm also interested in the case where Y has no Z, and the link is just a collection of observations posted in a blog, not a full paper with proper citation and literary review. It is possible that the observations may have been covered in the field, but Y isn't aware of that yet. I also think that if the link is interesting enough, then putting a tracking method in there is fine too? Even if they finds out, they wouldn't feel insulted either, because they find that the link is indeed interesting.  Related: •  •  • I am looking for the definition of when I am allowed to do forward declaration of a class in another class's header file:  Am I allowed to do it for a base class, for a class held as a member, for a class passed to member function by reference, etc. ? Shifting -5 V to +5 V signal to 0 to +5 V for ADC I want to convert the  output voltage of an ECG (-5 to +5) to 0 - +5 volt for ADC. Should i use Op amp ? What is my problem in this picture? I simulated it in Proteus ... but when input voltage is higher than 4 V or lower than -4 V Vout gives an unexpected value.   Below is another simulink that have same problem ...    My idea to make this level of voltage is (Vin +10)/2 that give the range 0-5 V. Can cited works hold grammatical positions in sentences? Though I read this style quite often, I was recently told unambiguously by a reviewer that I was NOT supposed to use citations "as if they are objects in a sentence."  The following sentence is an example of what the reviewer considered unacceptable:       We analyzed the data using the Wilmerding method, guided by [12].   The references section might include the following:      [12] Smith, D., Marshawn, J., &amp; Devenshaw, A. 2011. Techniques and   Procedures for Applying the Wilmerding Method.  Prince Publications,   Inc, New York, NY.   The Wilmerding method1 is not a step-by-step algorithm that can be precisely followed as if by a machine, and thus [12] does not provide a step-by-step algorithmic description but rather guidance for using  the method. [12] is a relatively slim but authoritative textbook about how to use the Wilmerding method.  Within this question, for the purpose of discussion, I have intentionally put [12] in grammatical positions where it's an important element of the sentence and the sentence would make less sense without the reference.  Sometimes that seems to be the most efficient way to communicate the intended message.  Is using a reference as a grammatical sentence element like this OK?   Why might this not be considered acceptable?   Should I be rewording those sentences?  Is it enough of a violation to be worth passing the note on to authors of papers I review?   I considered posting this on  but it seems more specific to academia than general English usage, and the comment came from a content reviewer rather than a copy editor.   is related but it seems to be more about when to put authors names' in vs. outside of the parentheses in an APA-like style.   The numbered citation style (as opposed to following APA, for example) is required by the venue.  1: Fictionalized for the purpose of this discussion Optimized rendering of a cube mesh world I want to render a cube-mesh (a.k.a. Minecraft-style) world. If I render each existing cube it will eat up FPS pretty quickly. How can I optimize it? I understand that the point is to not render invisible meshes (faces?) but my problem is to find out what is invisible and what isn't. Can we have some tools to handle link rot? There are many links posted in answers, and some in questions, that are either stale or broken.  An example is the change to  on-line documentation this year to do away with separate 'Optional' and 'Core' tasks areas in the documentation - the old links 404 now.  I've fixed a bunch of 'optionaltasks' broken links, but searching for 'coretasks' in Stack&nbsp;Overflow questions returns over 300 matches...  Are there any tools for us to review and fix these - with an emphasis on the fixing - without sifting through completely manually?  Is it time for some refactoring tools for Stack&nbsp;Overflow content, in particular, for links?  Also, I'd be interested to know if there is an analysis of links (as found in the Stack&nbsp;Overflow data dumps) out there. Answer: there is a  of a sample of links and images, but it's getting a bit out-of-date. How to add n hours to a specified time? I'm here with weird stuff again.  How can i continue numbering while changing numbering style to Arabic from Roman? For example let's assume I have total of 7 pages and I want to number the first 3 of them as : i,ii,iii; then I change back to Arabic again and continue counting as 4,5,6,7. AJAX select returns 'illegal choice detected' Create a settings form for a module in Drupal 8 - when a user selects a View from a list, the drop down under it should populate with the displays in that view.  While the form updates the option list for the user, it also throws an error message on the screen "Illegal choice has been detected".  Here is the code (it doesn't paste very well):    getViewDisplays is the ajax callback that is populating the options.  Some people who have posted about this around the internet say to set #validated on the select field to TRUE, though, that doesn't necessarily feel right. I still want to validate the submission to do some checks. What is the entropy of the universe today? What's the entropy of the universe today? How does one go about calculating this? I've heard the statement that black holes account for the bulk of the entropy in the universe today, but don't know why this would be true or the relationship between black holes and entropy. plist or sqlite I'm trying to condense the space around examples in gb4e, with the goal of removing unnecessary whitespace around examples in an abstract. Here's what gb4e gives me now:    What I'd like is for the examples to essentially look like part of the running text, as follows:    In sum, I'd like to remove the left indent before the top level item numbers, remove the vertical space between examples, and remove the vertical space above and below the exe environment.  I think \vspace commands might work here, but it would get very tedious to do this every time, and I'd also like to do it the 'right' way.  (I also think linguex might be able to do this without too much fuss, but I'm used to using gb4e so I'd prefer to stick with it if there's a way to do this.)  MWE:  \documentclass{article}  \usepackage{gb4e} \usepackage{lipsum}  \begin{document}     \lipsum[1]     \begin{exe}         \ex Blah \begin{xlist}             \ex Blah             \ex Blah         \end{xlist}         \ex Blah         \ex Blah     \end{exe}     \lipsum[1] \end{document} How to prove that the number $1!+2!+3!+...+n!$ is never square? I need a counsel about my websites' domain.  Let's say I have just bought two domains: xyz.com and xyzphotography.com.  As we can see, the first one is shorter but way less meaningful than the second one. The second one contains a photography keyword but it's longer.  I have only one website which is my photography portfolio. Can you advise me how to set those domains to make it all as SEO-friendly as possible? Which one should be the main one, does the rest should work on their own or have some kind of SEO-friendly redirect to the main domain?