Ubuntu 19.04 python 3.6 is not working
How do I install Python 3.6 using apt-get?
Mesh imported to Unity is inside out I'm importing a mesh i made into unity before exporting I always rotate it by -90 degrees in the X axis, then set the orientation to Y forward and Z up so when the object is imported to unity the object's orientation will fit into unity's native orientation, However whenever I do this after being importing to Unity the mesh is inside out or transparent but When I don't do the rotation of -90 on the X axis the mesh loads correctly aside from the orientation of the mesh being incorrect and it doesn't match unity's native orientation, i really can't figure it out this is the first time I'm having this problem My setup usually works in the meshes i import to unity but this time i got this problem. How do I use the conditional (ternary) operator? What does the caret (‘^’) mean in C++/CLI? Give moderators the ability to mark reviews as "bad" From what I've seen, many SO moderators trawl completed reviews and watch out for robo reviewers; and manual banning them when they see enough (>= 3?) bad reviews. This is inefficient because:   It doesn't integrate into the audit system. There's no "memory" to it. If mod A finds that user X has made two (any number less than the threshhold) bad reviews, he may make a mental note but there probably won't be any permanent/shared memory of this. If moderator B finds this user at a later date, he will have to look through the entire history, including stuff that mod A has already checked.    What I propose is that moderators get the ability to mark individual reviews as "invalid" from the completed review page. This is only to be used for reviews where any reviewer who is paying attention (and knows the rules) would choose the opposite reason (spam and other low quality stuff).   These bad review flags are treated like audits for a user -- if the number of failed audits and bad reviews is enough, the user gets autobanned. The nice thing is that this system should (probably) easily be able to , fixing the "Why was I manual banned?" problem.  This could also be integrated well with . Abount linear functional: If $T(B)$ is bounded, is $T$ bounded? Let $H$ be a infinite dimensional Hilbert space and let $B$ be a basis of $H$ that $H=\overline{span(B)}$  moreover, let $T : H \rightarrow K$ be a linear functional   If $T(B)$ is bounded, is $T$ bounded? Which site deals with career development questions for programmers? Is there any site in the network where career development questions about the programming profession can be asked ? I thought Programmer's was the site for it, but that doesn't appear to be the case. Borel-Cantelli-related exercise: Show that $\sum_{n=1}^{\infty} p_n < 1 \implies \prod_{n=1}^{\infty} (1-p_n) \geq 1- S$. This is supposed to be related to the  (my justification for the independence tag). In Williams' Probability with Martingales, 2BCL is proven and then the following is given as an exercise:  Prove $S \doteq \sum_{n=1}^\infty p_n &lt; \infty \implies \prod_{n=1}^\infty (1-p_n) &gt; 0$ assuming $0 \leq p_n &lt; 1$. Hint: Show that $S &lt; 1 \implies \prod_{n=1}^\infty (1-p_n) \geq 1 - S$.   Proving the hint: I tried to find $\{a_n\}$ s.t. $$\prod_{n=1}^\infty (1-p_n) \geq \prod_{n=1}^\infty e^{a_n} = e^{\sum_{n=1}^\infty a_n} \geq 1 - \sum_{n=1}^\infty a_n \geq 1 - S &gt; 0$$ That is, find $\{a_n\}$ s.t.: 1a. $1 - p_n \geq e^{a_n}$ 1b. $a_n \leq p_n$ I thought of $a_n = \ln(1-p_n)$ (a reason why $p_n &lt; 1$, I guess) Is that right? Edit: Actually, assuming my proof is right, is $S &lt; 1$ used in the proof? If so, where?  From Williams book: Escaping regex string I want to use input from a user as a regex pattern for a search over some text.  It works, but how I can handle cases where user puts characters that have meaning in regex? For example, the user wants to search for Word (s): regex engine will take the (s) as a group.  I want it to treat it like a string &quot;(s)&quot; .  I can run replace on user input and replace the ( with \( and the ) with \) but the problem is I will need to do replace for every possible regex symbol. Do you know some better way ? How to use ampscript in order to pull user data from a second data extension? We have several data extensions that have data relationships with each other.  How can I send an email using one data extension while pulling data from a second data extension to personalize my email with ampscript?  I've tried Lookup in many different ways, but I've only managed to pull one specific row (the same row which is not personalized to each user) or all rows at once. I haven't been able to pull personalized data for each user.  In practice, I want to pull data from a DE called "Survey". Each user has a specific ID and some users have an "AnswerID", which varies. I want to to create IF/THEN statements based on that AnswerID.  Thanks, Sylvie To friend vs. to befriend I have created a fishnet grid (3km x 3km) over a vector polygon.   I now want to clip the fishnet over the vector polygon retaining all grid squares within the boundary of the polygon.   Therefore I want all squares that would typically be clipped into partial squares to remain as whole squares.   Does anybody know how to do this? Sharing Test code in Maven How can you depend on test code from another module in Maven?    Example, I have 2 modules:   Base Main   I would like a test case in Main to extend a base test class in Base.  Is this possible?  Update: Found an , which involves creating a test jar. Handling multiple regex matches in Ampscript Given this string:  SET @text = "&lt;a href=""https://salesforce.stackexchange.com""target=""_blank""&gt;Salesforce&lt;/a&gt; &lt;a href=""https://stackoverflow.com"" target=""_blank""&gt;Everything else&lt;/a&gt;"   And this function:  SET @matching = '\s+(?:[^&gt;]*?\s+)?href="([^"]*)"' SET @output = RegExMatch(@text, @matching, 1)   How can I manage to find and print an arbitrary number of matches in my string? E.g. in above example, I would like to present e.g. a rowset with each URL in each row. Symbol Table from Apex Class In an earlier question  I asked in general about the symbol table for an Apex class.  Using the Tooling API wrapper from  I am able to get part way there. But am unGodly confused.  If I go to the developer console, query editor, check the "Use Tooling API" box and run this query:  Select Id, Name, symbolTable FROM ApexClass Where Name Like '%NewCaseListController%'   I get back an ID, Name and [object Object] for the symbol table, meaning there is a symbol table object there.   But if I try the same query in Apex code in the execute anonymous window I get the error:   System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element location   If I do this in Apex I can get a result back, and according to the code for the class the result should be of type ToolingAPIWSDL.QueryResult. The QueryResult should contain a member consisting of a list of sObject_x records sObject_x[], unless I am mis-reading what that means.  ToolingAPIWSDL.QueryResult result = tooley.query('select Id, Name from ApexClass WHERE Name Like \'NewCaseListController\'');   I can take the result and apparently put the sObject_x object in it like this:  List&lt;ToolingAPIWSDL.sObject_x&gt; objList = new List&lt;ToolingAPIWSDL.sObject_x&gt;(); for(Integer i = 0; i&lt;result.records.size(); i++){     objList.add(result.records[i]); }   At least that does not throw an error and I can write:     System.debug('objList: ' + objList[0]);  And get a result, but how do I access the symbol table? Or more to the point, how can I get a list of methods and variables? I am assuming the symbolTable is the only way? Regarding the `book`, `report`, and `article` document classes: what are the main differences? Why light moves sideways? Greatings!  I'm trying to understand special relativity and have one question bugging me.  In almost every book or video about the subject there is a thought experiment with moving light clock. I hope I need not elaborate on the sutup and the outcome of the experiment.  So the question is this: When a light source on the MOVING light clock emits a photon of light the path of the photon is triangular.   How this can be?   I thought since light speed is constant in every reference frame the movment of the "emmiter" can't affect the movment of the light so light should shoot right up (from the point of stationary observer) and thus move backward and up from the point of moving observer.  So you see my logic is: light speed is invariant => you can't make it move UP &amp; FORWARD only UP. i.e. you can't change it's direction once it's emited in UP direction. Why the hell light moves sideways then?  And I'm puzzeled. There is flaw in the logic but I don't see it.  Thanks for help. Can you cast Mirror Image twice on successive turns and have 6 duplicates of yourself instead of 3? (PHB, pg. 260) is a spell that has a casting time of 1 action, and a duration of 1 minute. My question is, can you cast Mirror image twice on successive turns, gaining 6 images by turn 2?  Sample Turns:  Turn 1: Mirror Image (3 images)  Turn 2: Mirror Image again (6 images, with 3 of them lasting 1 turn less)  Since Mirror Image doesn't require concentration, there should be no interference between the 2 casts in terms of concentration. I know that this could be up to DM Fiat, but I was wondering if there was a proper interpretation of the printed rules for this situation. Linear vs nonlinear differential equation How to distinguish linear differential equations from nonlinear ones? I know, that e.g.: $$ y''-2y = \ln(x) $$ is linear, but $$ 3+ yy'= x - y $$ is nonlinear. Why? How do I find the Arch-mage at the end of the quest "Under Sarhaal"? Constrain to any 2 axes during transform? I want to be able to lock my translation/scale operations to two axes at a time, say xy, xz or yz. It currently takes two operations (one for each axis).  Example, say for a cylinder, I would like to reduce the radius. I currently have to scale on the x axis first, then on the y axis, or I have to manually input the scale values in the object properties panel.  This option is easily accessible in 3dsmax via the axis constraints command bar. Or I can click the intersecting area between the 3d manipulator of the axes in question and move in that plane.