Unchained Flurry of Blows with Natural Weapons and Feral Combat Training using natural attacks as primary

I know the question of whether adding your natural attacks after you finish a Flurry of Blows (As secondary nat attacks at −5) has been asked many times () and it has been generally agreed that it doesn't work. But now want to know if you are allowed to perform the process backwards. Natural attacks first, then the extra hits from FoB.  Example:  Level 3 Catfolk (With 2 claws, no Monk weapons) Unchained Monk with Feral Combat Training (Claws).   Flurry of blows without any natural weapons is 2 attacks at full BAB because they normally get 1 attack as full round action. This character can also get 2 claws as a full round action, would he be able to use flurry of blows to add a third hit in this scenario?  The claws would be primary Natural attacks, followed by the "extra" hits from flurry. The text says Flurry gives me some sort of max number of attacks, but that number is never mentioned. Is it my normal full attack +1? With natural weapons, full attacks can have varying number of hits.


So I was looking through the Windows 7 power options via Control Panel today, and I realized I had a couple of unresolved questions as to the nature of various choices. I was wondering if someone could give me a clear and concise explanation of the difference between the following four selections:   Sleep Mode Hibernate Mode Standby Mode Turn off hard disks after...   For example, regarding option 4 - does this mean that after the elapsed time limit, the computer will go into standby, hibernate, sleep, or just turn off? Below is an image of the options (albeit on a Windows XP system, but I think the same concepts should apply):


Converting char to ASCII and display in C#?

How to convert char to ASCII and display in textbox in C#?  For Eg :  i have char a and i want to convert this to ASCII-code 95 and display it in textbox.  noted : tools =  visual Studio express edition 2010


How do we find the sum of this series $$ \sum_{i=n}^m \binom{i}{r} $$ where,   $r<n<m$


Is there a difference between DR/evil and DR/unholy?

We've got a party with a Celestial Mystic (Book of Exalted Deeds), and I was reading about his level 9 ability, which grants him DR 10/Unholy. Would this be different from DR/evil, as in it would only be breached by unholy weapons, and not attacks from evil outsiders?  I'm asking this because I haven't seen any monsters or anything that have things like DR/Unholy, Holy, Axiomatic, etc. It's usually just Good/Evil/Lawful/Chaotic. Has anyone seen any material throughout the books like this? My intuition tells me it's a typo and should be DR 10/evil, but the errata doesn't say anything about this.


How is the equation of motion on an ellipse derived?

I would like to show that a particle orbiting another will follow the trajectory   \begin{equation} r = \frac{a(1-e^2)}{1 + e \cos(\theta)}. \end{equation}  I would like to do this with minimal assumptions. Any pointers? I've read that this is nothing but the equation for an ellipse, as defined from the focus of the ellipse. But I'm not satisfied in just taking the result, I mean why should I assume that orbits are elliptical? I guess it should be derivable from energy and angular momentum considerations...


Proof that if $Z$ is standard normal, then $Z^2$ is distributed Chi-Square (1).

Suppose that $Z\sim N(0,1)$ and let $V=Z^2$.  Prove that $V\sim \chi^2(1)$.  I want to use the method of moment generating functions, because I already understand the proof using the method of distribution functions.  I will show my work, and then where I got stuck.  Since $Z\sim N(0,1)$, then $\mu=0$ and $\sigma^2=1$, and we have  $$M_V(t) =E[e^{tV}]=E[e^{tZ^2}]=\int_{-\infty}^\infty e^{tz^2}\frac{1}{\sqrt{2\pi}}e^{-\frac{1}{2}z^2}dz=\int_{-\infty}^\infty \frac{1}{\sqrt{2\pi}}e^{z^2(t-\frac{1}{2})}dz.$$  At this point, I'm out of ideas.  I want to eventually get something that looks like $\frac{1}{(1-2t)^{\frac{1}{2}}}$.  Could I get a hint please?


Which is correct:  The Faculty of History at Jagiellonian University  or  The Faculty of History of Jagiellonian University  ?


Give  a  proof  of  the  following  identity  by  counting  two  sets  of  partitions  in  two  different ways.  \begin{equation*}  \prod_{i\geq 0}(1+x^{2i+1})=1 + \sum_{n\geq 1}x^{n^2}\prod_{j=1}^n\frac{1}{1-x^{2j}}  \end{equation*} To prove this inductively, i only successfully complete the base cases, however the counting set for the left side i concluded that would be the number of partitions of n with distinct odd parts and for RS the product part would be the number of partitions of n with even parts, how would the summation of $x^{n^2}$ come into play with counting set. How would i initiate my proof?


a function that is not measurable but its square is measurable

Question: Give an example of a function $f$ on $X$ to $R$ which is not $X$ measurable, but is such that the functions $|f|$ and $f^2$ are measurable.  To me, $|f|$ is measurable and $f^2$ is measurable are equivalent. However, I have no idea how to construct the example. Any hint?


Are off-brand toner cartridges dangerous for laser printers?

I've heard horror stories about off-brand inkjet cartridges, and I'm wondering if similar dangers apply to off-brand toner for laser printers.  I've found online stores with good ratings on Google Shopping, selling discount toner cartridges for mid-to-high-end HP enterprise printers, for a fifth of the price HP charges for the same cartridges.    What's the general consensus on these types of products? Are they known to be less dangerous to laser printers than off-brand inkjet cartridges?


Xamarin listview textcell set text property to enum value and detail property to description attribute of the enum

In my Xamarin project, I have an enum with description attribute and i want to populate my xaml listview with the enum value as text and the description attribute as detail. Text="{Binding}" works to refer to the value of the enum but i dont know how to bind detail property with the description attribute. Does anyone how i can do it? Thanks in advance


Wireframe view makes everything invisible when in Object mode

A couple weeks ago, seemingly out of nowhere, the wireframe viewport mode suddenly stopped displaying a wireframe when in object mode, and just made all the objects invisible apart from their outlines. In edit mode the wireframe of the object being edited is shown but all the other objects remain invisible. Is anyone able to help me work out what weird setting I changed? I've even tried reinstalling blender as this issue has made working on this design much harder. (See pictures for further clarification)


Is "$f$" the function or is "$f(x)$" the function?

This may be a weak question but I'm just confused on what the function actually is. Say we have $f(x) = x^2$. So what is the function? $x^2$? $f$? $f(x)$? $f(x) = x^2$?  I just always thought that $f(x)$ is what we refer to as the function but my textbook for calculus says stuff like "if there exists functions $f$ where ..."


strange behavior when i use up arrow key in terminal

When I use my up arrow key to view previously run commands, I'm experiencing some strange behavior regardless of the terminal I use. I am currently running Ubuntu 20.04LTS with i3 window manager(regolith). Below you will see an image of combined images tagged # according to how the commands appear when I hit the up arrow key. The part tagged #1 is the command that first appears when I use the up arrow key and shows the correct output. For the remaining images tagged #2,#3,#4, the commands I expect to see when I hit the up arrow key are $TERM, exit and ls -lah, respectively. As you can see that's not the case. There's a fragment of command #1 in all three commands. Please help.


apt-get update Err:1  kali-rolling InRelease   403  Forbidden Hit:2  sana InRelease  Reading package lists... Done E: Failed to fetch   403  Forbidden E: Some index files failed to download. They have been ignored, or old ones used instead.


For every set $A$, the empty set is a subset of $A$. The empty set is a set. Therefore, the empty set has a cardinality $\geq 1\ldots$

I have only recently been exposed to sets. According to , as seen on the first bullet mark of the link, $ \forall A: \emptyset \subseteq A$  Does this mean that $\emptyset$ is an element of all sets? (This is False, thank you those that answered)  Is the empty set also a set itself?  Assuming these statements are true, then the empty set therefore an element of the empty set. This does not sound right, please clarify for me. Thank you.


I'm going through a transition from Java to C++ and am trying to write a simple program.  There's a superclass Animal with the following inteface:  class Animal { public:     Animal(int a, std::string n);      bool operator==(Animal a); private:     int age;     std::string name; };   And it's subclass Dog:  class Dog : public Animal { public:     Dog(int a, std::string n, double w);      bool operator==(Dog d); private:     double weight;  };   My question is in regards to the Dog's operator== method, which compares 2 dogs.   Animal's operator== is below.  bool Animal::operator==(Animal a) //overriding of operator == { return (age==a.age) && (name==a.name); }   Now I want to write the Dog's version using Animal's method.  Like I'd do in Java:  boolean equals(Dog d){     return (super.equals(d)) && (this.name==d.name);  }   What I need is the c++ equivalent of (super.equals(d)) . If it was a method with a normal name it would be easy(Animal::equals(d)), but I don't know how to do it for operator==, which has a diferent syntax.


Link to missing page on https://stackmod.blog/

The company-owned blog  shows a link to a no-longer-available page    As far as I know, Blog Overflow doesn't exist anymore.  I think the link should therefore be removed or updated to point to another fitting page.


Python: Declare list structure avoiding duplicate references

I need an empty list with the following structure so I can later populate it without getting out of range errors:  [5[2[]]]  i.e.: [[[], []], [[], []], [[], []], [[], []]]  So I tried declaring it this way: [[[]]*n]*m / n=2, m=5  But * is copying references, so if i do something like this:  >>> foo = [[[]]*2]*5 >>> foo    [[[], []], [[], []], [[], []], [[], []]]  >>> foo[3][0] = 1 >>> foo    [[1, []], [1, []], [1, []], [1, []]]   The assigned value gets copied to all sub-lists with the same reference.  I can fix this by declaring foo's sizes "statically" like:  foo = [[[], []], [[], []], [[], []], [[], []]]  But I need a parametric way like the previous example.  I would like to know if there's a parametric pythonic/compact way of of declaring and empty list of lists (like with n and m in the example), where all its elements have individual references.  Thanks in advance!


Show that $\{ x | x \in P \text{ and } x \in Q \} $ exists

I need to prove that the set $\{ x \,| x \in P \text{ and } x \in Q \}  $ exists. Now, I am thinking of . This axiom states that $$ \forall w_1,\cdots, w_n \, \forall A \,\exists B \,\forall x \left( x \in B \Longleftrightarrow [ x \in A \wedge \varphi(x,w_1, \cdots , w_n, A)] \right) $$ Now, I will define predicate $\varphi(x, P, Q) = x \in P \text{ and } x \in Q $. Also, I will let $A = P$ and  $w_1 = Q $. So using universal instantiation, I get the following $$ \exists B \,\forall x \left( x \in B \Longleftrightarrow [ x \in P \wedge \varphi(x, P, Q)] \right) $$ And using, existential instantiation, there exists a set $B$ such that $$ \forall x \left( x \in B \Longleftrightarrow [ x \in P \wedge \varphi(x, P, Q)] \right) $$ Now, using , it follows that $$ B = [ x \in P \wedge \varphi(x, P, Q)] $$ So, does this mean that $ B = \{ x \,| x \in P \text{ and } x \in Q \}  $ ?


How to import a module given the full path?

How can I load a Python module given its full path? Note that the file can be anywhere in the filesystem, as it is a configuration option.


I came up with a mental problem in probability and I found out that it's either trivial or more complex than what I thought. The problem is this:  Take a coin of diameter $D$ and radius $R$, and toss it. Cover the table with a rectangular tablecloth made of small squares of side $\ell$, with $\ell \geq D$. What is the probability for the coin to land exactly inside a little square?  If the problem has a trivial solution then I expect it to be this: the probability is the area of the coin over the area of the square: $$P = \frac{\pi R^2}{\ell^2}$$ But here I would a sort of $\theta$ function such that (in case this hypothesis is missing) the probability is zero when $D>\ell$ hence: $$P = \frac{\pi R^2}{\ell^2}\theta(\ell - 2R)$$ But here many problems arise: first of all my convention demands that $\theta (\ell - 2R) = 1$ for $2R = \ell$, because as improbable it is, there could be a golden toss by which the coin lands exactly perfectly within the square the side of which is identical to the diameter. But now I strongly believe I shall consider the whole number of squares of the tablecloth. But more squares = more probability? I'm stuck on an either trivial or complicated reasoning. Any clarification?


Does any $n$-th order ODE have to have $n$ arbitrary contants in its general solution?

In the lecture, my proffesor stated that     Any $n$-th order ODE has $n$ arbitrary constants in its general   solution.   However, we have later seen that some ODEs have some singularities, so the so called "the general solution" is not so general at all in many cases, and this lead me to question that is there any execeptions to the rule that I have quoted.  For any ordinary DE, does the general solution of this ODE has to have $n$ arbitrary constants ? If so, how ? if not, can you provide an example ?  Edit:  As I have pointed out, I'm asking this question for ODEs, and not PDEs.


I am trying to prove that this equality is correct. \begin{equation} \lim_{n \to \infty}\left(1+\frac{1}{n}\right)^n =\lim_{n \to\infty} \left(\frac{1}{0!}+\frac{1}{1!}+\frac{1}{2!}+\dots + \frac{1}{n!}\right) \end{equation} I know that left and right hand side is equal to $e$, but as mathematician I would like to see is this two definition of $e$ is equal. My idea is to try avoid using hard calculus tools, and try two show that two sequence has the same limit.


How to change Power button shutdown action to run a script under systemd

How does one change the power button shutdown action under say debian 10 systemd to run a custom script instead of shutting down the system?  Back when this was handled by acpi one could edit the scripts in /etc/acpi.  The only suggestion I have found thus far is to replace various power related binaries with my script.  Is there a way to do this without replacing binaries?


What is the command to install `python-pil` and `x11-apps`

I am trying to render . I have a few scripts. But it says     to build and the render the cursor set you'll need python-pil and x11-apps installed.   I am not sure which commands to use to install them. Any help will be great.  I have 18.04 fully updated.


This is not a "I use OS X, do I need Anti-Virus?" question.    I am looking at comparison and user opinion of existing AV products. I know I can avoid most (if not all) threats by being careful on the sites I visit, and the emails I download. But I need an anti-virus, for a variety of reasons - mostly to prevent my Mac as a carrier for viruses. (Many friends' USB drives turn out to be infected).  I was looking for the "Best" of the anti virus software out there.  I am looking prominently at anti-virus. "Internet Security" and the like are not important, and would try to avoid them if it would save money or not make my mac slower.  By "Best" I mean the best combination of detect-rate (or whatever that is called) and performance.  I don't intend to run it always in the background. Maybe I would do a onetime scan of my system and hard drives, and then it would be mostly on a need basis, especially on USB drives/portable hard disks of friends. So primary objective: High Detect rate  I have used  and  (got this with one of those software bundles sometime before, not the latest version) and had problems with both. Both sometimes hog my CPU, and somehow "lock" my USB drives preventing me from Ejecting it (I had to force eject them or just pull them off from the port) (thought off late Norton seemed a little better)  Ok, thats a long one. But my question is simple: What anti-virus do you recommend for the Mac?  Thanks.


backlinks from the same ip address with different domain name is legal?

Please i have a question in relation with SEO, I have a lot of website hosted in a dedicated server with one ip adresse but with multiple domain name's 'any website have a domain name'. and i want to generate backlink's from this website to rich my SEO, my question is if i generate backlinks from this websites is legal or not.  Thanks a lot


\includegraphics: number sign # in filename

I have hundreds of figures with filenames containing "#" to include using \includegraphics, I've tried packages like grffile or currfile, but none of them work. Can anyone suggest a real solution so that I don't need to change hundreds of file names? Thanks.  Update: 1. I'm using Windows. 2. When I compile it, it shows "Illegal parameter number in definition"


I want to try ubuntu out because my laptops (3 years old) been running slow on windows 8.1 lately. So i just have a few questions.  1) Which version of Ubuntu should I instill? (14.0.4.1 LTS or 14.10)  2) Does Ubuntu remove my files(docs, pics, so on)?      2.1) If not what happens to my files(where to they go)?  3) Will my 3G dongle work?   4) When installing ubuntu I should pick 32 bit and not 64 bit because my windows is 32 bit, right?  5) Will it run?  Laptop Info:  HP Compaq Presario CQ56  Windows Pro 8.1 32 bit(originally was windows 7)  Processor: Intel(R) Celeron(R) CPU 925  @ 2.30GHz, ~2.3GHz  Ram: 3GB DDR2   Graphics Card: Mobile Intel(R) 4 Series Express Chipset Family (Microsoft Corporation - WDDM 1.1) Display Memory: 1565 MB     1366 x 768 (32 bit) (60Hz)


Group isomorphic to its automorphism group

Any complete group (that is, with trivial center and outer automorphism group) is isomorphic to its automorphism group. The inverse is not true, as the dihedral group of order 8 is isomorphic to its automorphism group but isn't complete.  Problem 15.29 in the Kourovka Notebook asks to find another exemple of a p-group, but I was wondering, is any other exemple known? Is there any other finite (or even infinite) group (not necessarily a p-group) which is isomorphic to its automorphism group but isn't complete?


Installed 20.04 from a nightly build a few weeks before release. Now what?

I recently built a new PC for use as daily driver running Ubuntu. I threw it together a few weeks before 20.04 was released, so I figured it was probably close enough to ready (at least to try) and went ahead and installed from a 2020-Mar-24 nightly build. I have had zero unexpected issues, have run updates regularly, etc. Do I have to perform a do-release-upgrade, dist-upgrade or anything to be on the official LTS branch? I come from mostly Debian experience and have done numerous in place upgrades between versions there. Am I all set since Focal is current now, or do I have to do something so I am not running on potentially unstable packages?  TIA


Constructor not defined error in test code

I am new in salesforce,  I tried to write test code for my apex code, but it does not work....  this is my apex code...  public with sharing class GetIssueRefInfo {  public Issue__C iss {get;set;}  public GetIssueRefInfo(ApexPages.StandardController controller) {     iss = (Issue__C)controller.getRecord();      // instantiate the list with a single attachment     newAttachments=new List<Attachment>{new Attachment()};     newAttachments.add(new Attachment());     newAttachments.add(new Attachment());     newAttachments.add(new Attachment()); }   //Product__C public List<Product__C> ProductTemp = new List<Product__C>();   public List<SelectOption> ProductList {     get     {         ProductTemp = [SELECT Id,Name FROM Product__C WHERE Product_show_in_issue_sheet__c = true ORDER BY Name ASC ];         ProductList= new List<SelectOption>();         for(Product__C t: ProductTemp )         {             ProductList.add(new SelectOption(t.Id, t.Name));         }         return ProductList;     }     set; }     public Attachment attachment {       get {           if (attachment == null)             attachment = new Attachment();           return attachment;         }       set;   }   // list of new attachments to add public List<Attachment> newAttachments {get; set;}  // the number of new attachments to add to the list when the user clicks 'Add More' public static final Integer NUM_ATTACHMENTS_TO_ADD=1;  // Add more attachments action method public void addMore() {     // append NUM_ATTACHMENTS_TO_ADD to the new attachments list     for (Integer idx=0; idx<NUM_ATTACHMENTS_TO_ADD; idx++)     {         newAttachments.add(new Attachment());     } }          public pagereference Save() {         try{         insert iss ;     }catch(Exception e) {         ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.Error, 'Issue could not be saved'));          return null;     }        //multi      List<Attachment> toInsert=new List<Attachment>();      for (Attachment newAtt : newAttachments)       {           if (newAtt.Body!=null)           {               newAtt.ParentId=iss.Id;               newAtt.IsPrivate = false;               newAtt.OwnerId = UserInfo.getUserId();               toInsert.add(newAtt);           }       }        insert toInsert;       newAttachments.clear();       newAttachments.add(new Attachment());       PageReference p = Page.ThankYou;      p.setRedirect(true);      return p;    } }   When I tried to write test code which start with....  @IsTest public with sharing class GetIssueRefInfoTest {  @IsTest(SeeAllData=true) public static void testGetIssueRefInfo() {  GetIssueRefInfo info = new GetIssueRefInfo();               }     }   The error message is...  Constructor not defined: [GetIssueRefInfo].()   What should I do?


why i am getting The EXECUTE permission was denied on the object 'sp_send_dbmail', database 'msdb', schema 'dbo'

When I am only trying to create a table my "DBA" gave reader, writer, "ddladmin" to the database and I am getting this error when trying to create a basic table:     The EXECUTE permission was denied on the object 'sp_send_dbmail', database 'msdb', schema 'dbo'   Can somebody please let me know the answer.


this principled shader node cant be shown in blender 2.78?

As you can see appears "undefined" the PBT Principled shader node from blender 2.79, and I need to use it.  Is there a way or other alternative for rendering PBR Textures with all the same input settings that this shader has?


I've an Intel Celeron N3060 processor with 2 GB RAM and 32 GB of internal storage. Can I install Ubuntu 16.04 on this laptop?


Why are two universal objects isomorphic?

Browsing some , it is claimed that two universal objects are isomorphic because they admit the identity morphism on themselves. But from two identity morphisms, how would you get an isomorphism between the two?


Subtracting lines/stroke from a vector shape

I made this logo in illustrator (pictured above) and cannot for the life of me figure out how subtract the lines from the black text so that I can place it onto different backgrounds without having the lines show up. I attempted to use pathfinder to do this but, it doesnt work. I believe this has something to do with the fact that they are just lines with a stroke on them. Can anyone please help me??


Missing dependency of grass7.2, QGIS2.18 ;r.mapcalculator

I install QGIS2.18 with GRASS7.2.0. QGIS worked well until I was about to used the 'r.mapcalculator' through grass.   I am unable to find it though the 'processing' tab, and type the program states that the plugin is a missing dependency "GRASS folder is not configured. Please configure it before running GRASS algorithms."  How do I configure it?


I know there something called fancontrol, that enables you to control the speed of your system's ventilation. I'd like to let my fans spin a bit faster as my laptop is heating up very easilly. All tutorials and stuff I've found are for old versions of Ubuntu and don't seem to be working anymore.  Can anyone explain to me or give me a good link on how I  can get it working on Ubuntu? Something different with the same effect is also fine.


How does Resist work against 1 attack that deals 2 separate damage types?

says that "Resist 1 all" applies to all damage types, reducing the damage by 1 point. The "all" includes even untyped damage. Does that mean that an attack with typed and untyped damage is resisted twice, for a total of 2 points resisted?  For example, a Rimehound Bite does 1d12 + 6 damage plus 1d6 cold damage, while Rimefire Plate has "Resist 1 all": will the Plate prevent 1 or 2 points of damage?


I was reviewing in the close votes  when I clicked the "more" link for the specific close reason. I saw the following:    As you can see, the markup is not rendering. There's also a call to .AsHtml() in there which is obviously not markup.  Browser is chrome 31.0.1650.63


Need separate columns that calculates percentage

I have the following table:  NAME ------ Alex Bob  Bob Tim Alex Roger   I need to produce the following:   Name    Count Percentage  -------------------------  Alex    2     33%  Bob     2     33%  Roger   1     16.6%  Tim     1     16.6%   I have no idea where to start. I can do the initial query for the count which is simple.


Loading only properties from JSON into existing javascript object without destroying methods

Let's say I have a object from a class that contains methods and properties like so:  function Fruit (type, color) {     this.type = type;     this.color = color;     this.getInfo = function() {         return this.color + ' ' + this.type;     };     this.loadJSON = function() {         //TODO     }; }  var red_apple = new Fruit ('apple', 'red');   I want to load new data from JSON like:  red_apple.loadJSON( '{"new_apple": {"color": "green", "type": "apple"}}' );   How would I implement this.loadJSON? Is there a standard function?


I wanted to know where does WhatsApp store its profile pictures so I searched on google and found this . The top answer of the above article said that WhatsApp stores its profile pictures in /data/data/com.whatsapp/cache/Profile Pictures directory. I used  to view the above mentioned directory. When I went to /data/data/com.whatsapp directory, it was empty. There were no files or folders. So am I doing something wrong or WhatsApp stores those pictures somewhere else? If you know the answer, please write it. Thank you for reading.


How do I find players and game sets in my area?

I need help finding d&d game sets. I also can't seem to find any players. What do I do?


I'm a little confused now by java left shift operation,   1<<31 =  0x80000000  --> this I can understand   But  1<<32 =  1       Why is this? 1<<33 =  2          Looks like more shifting values, modulus 32 of the value is taken.   Thanks everybody for the replying and giving the quote from JLS.  I just want to know more. Any idea of the reason why it's designed in this way? Or is it just some convention? Apparently C doesn't have this quirk?           Thanks to @paxdiablo. Looks like C declares this behaviour undefined.      I have some personal assumption here:     ARM architecture Reference Manual A7.1.38      Syntax   LSL Rd, Rm, #immed_5      where:      Rd  Is the register that stores the result of the operation.      Rm Is the register containing the value to be shifted.      immed_5 Specifies the shift amount, in the range 0 to 31.   On instruction level, the immeidate immed_5 takes only 5 bits to avoid meaningless operations so as to save some instruction space. I guess high level languages just unitize this convention to avoid meaningless effort when compile to instructions.


How to split list of values into multiple rows after semi-colon?

I'm thinking this is easy, but I'm having a hard time manifesting. I have a list of values, e.g. @bob @sarah @kelly;john @denver_colorado @james12;kellybelly I want the list to be: @bob @sarah @kelly @john @denver_colorado @james12 @kellybelly essentially, splitting a line after ";" and add @ as a prefix to all values


I was reading  of David Z about meaning of "Quantum" that this question came in mind:  If light is quantized (i.e. is a integer multiples of some unit $\hbar c/k$), are other kinds of energy quantized too?  I think all kinds of energy should be quantized because they can convert to each other and if one of them is quantized, all other kinds must be so. Is this correct?  If that is correct, then what is a quantum of kinetic or potential or internal energy of a body with mass $m$? E.g. is kinetic energy of a translating body ($K=\frac 12mv^2$) a integer multiples of some unit?


can I use----As per mine and John's understanding we concluded that...


I found an Omega Shield, it has no limit and a guy dropped it on multiplayer. It's a Tiadore and all I hear is an Atlas Omega Shield. It says Alpha and that other thing. I can keep all my items and any level can use it.  Is it hacked?


Changing the mounting point for logical partitions

When I installed Ubuntu 12.04, I didn't know how to properly set the mounting points for the partitioned logical drives. So, I just set it randomly. Now when I open the Home folder I cannot see any of the logical drives on the left pane. I tried to change their mounting point but couldn't.  The contents of my fstab file /etc folder is:  # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point>   <type>  <options>       <dump>  <pass> proc            /proc           proc    nodev,noexec,nosuid 0       0 # / was on /dev/sda1 during installation UUID=691fa0bd-350f-4378-b5c7-82d277dd83c2 /               ext4    errors=remount-ro 0       1 # /srv was on /dev/sda8 during installation UUID=753d012e-ac3c-42fd-b388-d83115e88d26 /srv            ext4    defaults        0       2 # /tmp was on /dev/sda5 during installation UUID=34d8c35a-7900-4acd-988d-880792849673 /tmp            ext4    defaults        0       2 # /usr was on /dev/sda6 during installation UUID=4f7f4287-5feb-4b2b-86bb-93fe74905149 /usr            ext4    defaults        0       2 # /var was on /dev/sda7 during installation UUID=e2933e36-7906-48ac-b2ac-93500537cd4a /var            ext4    defaults        0       2   My Partitions are mounted at the following locations: /dev/sda5 is mounted at /tmp; /dev/sda6 is mounted at /usr; /dev/sda7 is mounted at /var; /dev/sda8 is mounted at /srv.  If I attempt to change the contents of fstab file, it says that only root can change the contents.  How do I change the mounting points of the partitions such that they show up in the Home folder?


I am not a mathematician at all and I had a thought about Pi that I can't work out.  Pi is irrational, with an infinite sequence of numbers A recurring number is infinite  Would it be theoretically possible that at one point down Pi's sequence, it just turned into an infinite sequence of one number?  If not, what is stopping this?  I recognise through reductio ad absurdum that my proposition is impossible, as it means that PI must at some point end in all of 1-recurring and 2-rcurring...9-recurring simultaneously, but I lack the toolset to understand where my thinking breaks down.


Systemd is really slow in comparison to upstart

I have been using Ubuntu for a long time now, this is what happened when I use:  Systemd: It performs really bad using systemd: it uses 95% of the CPU all the time and the PC gets really hot. Also it takes a really long time to boot (about 1.5 min, and sometimes it does not boot at all as it has a black screen at boot.)  Upstart: When I tried the upstart options at boot, it performs as expected, booted in seconds, and it was awesome as it should be.  Laptop:   AMD A8 Radeon SSD   Questions:   Why does upstart perform better than systemd? How can I debug systemd? Should I switch to upstart? If yes, how do I do it?


I have a mask shader which reveals the texture depending on an angle. It uses this logic:  float line_val(vec2 coord) {     float radians = (direction-90.0)/180.0 * M_PI;     return coord.x * cos(radians) + coord.y * sin(radians); }  vec2 corners[4];  void main(void) {     corners[0] = vec2(0.0, 0.0);     corners[1] = vec2(1.0, 0.0);     corners[2] = vec2(1.0, 1.0);     corners[3] = vec2(0.0, 1.0);      float minD = 0.0;     float maxD = 0.0; // for corner #0     for (int i=1; i<4; i++) {         float val = line_val(corners[i]);         minD = min(minD, val);         maxD = max(maxD, val);     }      float middle = (maxD - minD) * mask_level + minD;      float dist = line_val(coord);     if( dist < middle ){       // show texture     }else{       // show nothing     } }   Now I wonder, what if instead of showing nothing I would like to show the color on the mask edge (the closest to the current coordinate). How do I get the closest point to the current coordinates giving that my line doesn't have a start and end but it's drawn based on an angle (direction)?


CREATE DATABASE permission denied for sysadmin

I'm attempting to create a stored procedure that can be used as a proxy for creating databases where users do not have rights for creating databases.  See  for more info  When I attempt to execute the stored proc, SQL Server generates a security error:  Msg 262, Level 14, State 1, Line 1 CREATE DATABASE permission denied in database 'master'.   This is the code:  CREATE LOGIN DatabaseCreator WITH PASSWORD='Pa$$w0rd'; /* REPLACE WITH A SECURE PASSWORD! */ GO CREATE USER DatabaseCreator FOR LOGIN DatabaseCreator; GO EXEC sys.sp_addsrvrolemember 'DatabaseCreator','sysadmin'; GO CREATE PROCEDURE dbo.CreateDatabase (     @DatabaseName SYSNAME ) WITH EXECUTE AS 'DatabaseCreator' AS BEGIN     SET NOCOUNT ON;     DECLARE @cmd NVARCHAR(max);     IF COALESCE(@DatabaseName,'') <> ''     BEGIN         SET @cmd = 'CREATE DATABASE ' + QUOTENAME(@DatabaseName) + ';'          EXEC sys.sp_executesql @cmd;     END     ELSE     BEGIN         SET @cmd = 'INVALID DATABASE NAME';         RAISERROR (@cmd, 0, 1);     END END; GO EXEC master.dbo.CreateDatabase 'MyDatabaseName';   msg 262 appears to be a generic Permission Denied message.  Since DatabaseCreator has sysadmin privileges, this should not be happening.  Unless I'm missing something.


I don't understand the plus and minus voting on posts

I made a question post on stack overflow.  The next day there were about 10 views and there was a - 3 score on my unanswered (of course) question.  Does this mean that three people thought it was a bad question and are allowed to be anonymous judges?  What is the purpose of this anonymous voting?  Can I just page about all I want and dis people's questions?


What is a wild animal attack in stardew valley?

What is a wild animal attack? I don’t want to try it. So what happens in it?


book return ticket with additional traveller on return ticket

I want to book a return flight to India but on my return flight, my wife will be accompanying me. How do you do this on air-travel websites? Because return tickets are extremely cheap compared to one way tickets.


Should I show my bank statement when I am being fully sponsored by a family member?

I was refused a business visit visa to the UK recently because my sponsor's deposits did not match his salary. They also objected that I did not show my bank statements hence 'not shown proof of my financial circumstances in Pakistan'. What I wanted to know is when I reapply, do I really need to attach my statement, since it is only sufficient to support my daily expenses and my credit is equal to my debit? I am afraid they might object to it since I have known people who have gotten their visas rejected on the basis of insufficient funds in their bank account even when they were NOT their own sponsor.


Looking for an old SF tv short story about blue men staging the future

Does anyone know a SF TV short story in which there were blue men who helped "stage" our world- at least the parts we saw, on a minute by minute basis.  So, at each minute, everyone would be in the "world" that was built for that minute, then they would go on to the next "minute world".  The blue men were in the future minutes building most of reality, but only the parts that would be looked at at that minute (to save work, I think - why build something that will not every be "used")  And they were in the past tearing down all the previously lived minutes.  It was kind of a behind the scenes look at why when you set your keys down and come back to them, they aren't there. Then you look again a few minutes later and they are there. The reason in the show was that the blue men building that minute forgot to include your keys, but the next group got it right.  Years later, my wife and I still refer back to that show, so I would like to find out what it was and see if I can find a copy somewhere.  .


PHP array_search: how do differentiate key == 0 from false?

I noticed something interesting about the PHP array_search function and was wondering if someone could tell me how to solve this issue:  It says in the  that that the function returns the key when the value is found in the array, and false otherwise.  The problem is that if you have an array such as:  $arr = array(0 => "red", 1 => "blue", ...);   and look for the value red using array_search, then the key 0 will returned.  However the problem is that if you use the result of the function to find whether some element was found in the array, then if the value returns 0 (the key 0 because an element was actually found which has the key 0), it's treated the same in PHP as when the function return false. In other words:  if (array_search("red", $arr) == false)   if the same as:  if (array_search("red", $arr) == 0)   excepted that in one case, the element couldn't be found and in the second case, an element was maybe found which key was 0.  So my question is, what's the solution to this problem?


I'm cooking a turkey for thanksgiving for the first time. I've got a beautiful 11 lb turkey and according to the websites I found, I should cook it for about three hours. When I asked my girlfriend's experienced cook mother though, she said that time was really low. Just looking for a second opinion.


Equation (3.27) from Elements of statistical Learning

It seems the equation below has a typo? Shouldn't $\boldsymbol{y}$ be $\boldsymbol{y} - \boldsymbol{1}\bar{y}$?


Proving $\gcd((a+b)^m,(a-b)^m)\le2^m$ for coprime $a,b$ and $m \in \Bbb N$

If $a$ and $b$ are two coprime integers then prove that $\gcd((a+b)^m, (a-b)^m) \leq 2^m$  My attempt:  I took two cases first one in which a and b are both odd then very clearly the gcd will be 2^m but I'm stuck in the second case in which one of the integer is even and the other one is odd I am reaching no where I tried everything even binomial expansion but I'm stuck.


Proving Two Sets are Equal - Infinite Sets - Example

Let  $$A = \{x | x = 2n+1, n\in\mathbb{Z}\}$$ and  $$B = \{x | x = 2m-21, m\in\mathbb{Z}\}.$$  I am trying to prove $A =B.$ I understand that I need to prove  $A\subseteq B$ and $B\subseteq A$; But my difficulty is how to prove it.  Any help would be appreciated!


How do I fill a two-dimensional array with one-dimensional arrays I've created before?

I have a task to create three arrays of random sizes filled with random values, then create a two dimensional array and fill it with those three arrays.  I tried going for this sort of code:  int[] tab1 = new int[(int)(Math.random() * 10)]; for(int i = 0; i<tab1.length; i++){   tab1[i] = (int)(Math.random() * 10); } int[] tab2 = new int[(int)(Math.random() * 10)]; for(int i = 0; i<tab2.length; i++){   tab2[i] = (int)(Math.random() * 10); } int[] tab3 = new int[(int)(Math.random() * 10)]; for(int i = 0; i<tab3.length; i++){   tab3[i] = (int)(Math.random() * 10); } int[][] multiTab = new int[3][];  for(int a=0; a<tab1.length; a++){   multiTab[0][a] = tab1[a]; } for(int b=0; b<tab2.length; b++){   multiTab[1][b] = tab2[b]; } for(int c=0; c<tab3.length; c++){   multiTab[2][c] = tab3[c]; }   but the environment throws a NullPointerException, most likely because I was unable to declare the size of the second dimension of the array. How do I do this? Thanks for help in advance


Which one is correct: The bird was standing on the table, from where/which it flew toward me all of a sudden

I would like to know whether I should use "from where" or "from which" in the following sentence:  The bird was standing on the table, from where/from which it flew toward me.


i need to install a 64 bit application on my PC which is running a 32 bit OS of windows 7. my PC is 64 bit capable system. can i install the application?


apostrophes or ampersand causing error in MySQL

When I try to enter the following data into the database, these characters create problems: & (\u0026) and ' (\u0027)   {       "Id":5507542,"Name":"Port \u0026 Company® - Youth 50/50 Cotton/Poly T-Shirt",     "Description":"Cover you kids in the best threads by Port \u0026 Company®. This youth T-shirt is something they\u0027ll always run back to! It\u0027s made of 5.5 oz., 50% cotton / 50% poly (with up to 5% recycled polyester from plastic bottles).      They\u0027ll stay visible in the Safety Green and Safety Orange colors because they\u0027re compliant with ANSI/ISEA 107 high visibility standards for background color. Imprint your company name to this top and let the clients come to you!",     "ShortDescription":"50/50% Cotton/Poly T-Shirt.", }   The PHP code:  <?php       $host="localhost";      $user="root";      $password="";      $db="db";        $connect =  mysqli_connect($host,$user,$password,$db) or die('Database Not Connected. Please Fix the Issue! ' . mysqli_error());        $id = $content['Id'];         $name = $content['Name'];       $description = $content['Description'];       $shortDescription = $content['ShortDescription'];       $query = "INSERT INTO result_tab(id,name,description, shortDescription) VALUES('$id', '$name', '$description', '$shortDescription')";       if(!mysqli_query($connect,$query))     {         die('Error : Query Not Executed. Please Fix the Issue!  ' . mysqli_error($connect));     }      else{             echo "Data Inserted Successully!!!";      } ?>    The error:  Query Not Executed. Please Fix the Issue! You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'll always run back to! It's made of 5.5 oz., 50% cotton / 50% poly (with up to 5' at line 1


I am trying to prove that the upper-half complex plane H, is isomorphic to General Linear group of order 2 (over the reals), quotationed out by the special orthogonal group.   I believe I can prove this using the first fundamental theorem of Isomorphisms, however, I am having a hard time coming up with a homomorphism that takes H to GL2(R).


How to prove that   $$ -2\log(2) = -2 + \sum_{n=1}^{\infty}\frac{1}{n(2n+1)} $$  I know that this sum is equal to $\phi(1/2)+\gamma$ where $\phi(x)$ is the digamma function and $\gamma$ is the Euler-Mascheroni constant, but I want to evaluate the sum without knowing it.


Assuming we have a simple Person class:  public Person this[int index] { get { return (Person)arPeople[index]; } set { arPeople.Insert(index, value); } }   Let’s assume i have an array with N Person objects. If I try accessing non-existing index (N+1 for example), Should I throw exception in this case or return null? What are the considerations in this case?   Thanks in advance…


How to determine needed PSU rating for given hardware setup?

Here's the PC I'm going to buy:   INTEL Core i5 3570 - 3,4 GHz - Cache L3 6 Mb - Socket LGA 1155 (BX80637I53570) GIGABYTE GeForce GTX 660 OC - 2 GB GDDR5 - PCI-Express 3,0 (GV-N660OC-2GD) SEAGATE Disco duro interno Barracuda 7200.14 ST1000DM003 3,5" - 1 TB MSI B75MA-E33 - Socket 1155 - Chipset B75 - Micro ATX SANDISK SSD interno Ultra Plus - 128 Gb (SDSSDHP-128G-G25) 2 x KINGSTON Memoria de PC HyperX blu RED Series 8 Gb DDR3-1600 PC3-12800 CL10 (KHX16C10B1R/8) DVD/RW DRIVE (I'll use an old IDE one, using a SATA adapter; I don't remenber the model)   Plus one Wireless PCI board.  I was thinking about buying one of these two:   CORSAIR Alimentación para PC CX600 80 PLUS Bronze - 600 W (CP-9020048-EU) ADVANCE Fonte de alimentação PC MPT-6500 - 650 W   The Advance PSU is cheap and has 650 W but I have read that it might not be very good.  How do I determine which power supply I should buy?  Also, how do I calculate how much power I need for these components?


If $f$ is an entire function with $|f(z)|\le 100\log|z|$ and $f(i)=2i$, what is $f(1)$?

Let $f$ be an entire function with $|f(z)|\le 100\log|z|,\forall |z|\ge 2,f(i)=2i, \text{ Then} f(1)=?$  I have no idea how to solve this one!  $g(z)={f(z)\over \log|z|}$ Then Can I say $g$ is constant by Liouville Theorem?


I'm given that $f \in L^1$ and $f(x) \neq 0$ a.e. and trying to prove that for q > 0  $$\lim_{q \to 0} (\int_0^1 |f|^q)^{1/q} = e^{\int_0^1 \ln|f|}$$  My work:  I took the log of both sides to reduce the problem to  $$\lim_{q \to 0} \frac{1}{q} \ln(\int_0^1 |f|^q) = \int_0^1 \ln|f|$$  Since $\ln$ is a concave function I used Jensen's inequality to show that  $$\frac{1}{q} \ln(\int_0^1 |f|^q) \geqslant \int_0^1 \frac{1}{q}\ln|f|^q = \int_0^1 \ln|f| $$  So if the limit exists, I know  $$\lim_{q \to 0} \frac{1}{q} \ln(\int_0^1 |f|^q) \geqslant \int_0^1 \ln|f|$$  Now I can't make any more progress to reverse the inequality.  Maybe I need a completely different approach.  Also what about the necessity of $f \in L^q$? Please help.


What is wrong with the spacing after this macro?

I'll go straight to the MWE:   \documentclass{article} \newcommand\mymacro{\MakeUppercase{this is my macro}} \begin{document} Foo \mymacro bar. \end{document}   In my understanding, this should produce Foo THIS IS MY MACRO bar., but instead I get Foo THIS IS MY MACRObar., using both xelatex and pdflatex.   What is wrong with the macro above?


How to move a window from one Window Manager to another running WM?

I use libreoffice on my X11-server and then I want to continue to work on the same text in the same window from another place using VNC. So, it would be nice if it is possible to detach a X11-window from one Window Manager and attach it to a different one (on a different DISPLAY running on a different X-server) which is already running.  I'm using the awesome window-manager.  Is this possible?


Assume 2 rockets coming towards each other at each other at 99% of speed of light, and so as they pass each other the relative velocity between 2 rockets would be 198% of Speed of Light and so what will the observers in the rockets see happening in the opposite rocket?


I'm new to blender and I can't seem to work out why when I render out anything it is really noisy. I've tried turning up the samples but it still doesn't really do anything, I must be doing something wrong, I'm not sure.  here's something I quickly set up to show the problem, this is at 512 samples. Any help is appreciated.


Is it true that for each set $M$ a given injective function $f: M \rightarrow M$ is surjective, too?  Can someone explain why it is true or not and give an example?


Getting unintended results manipulating nested lists in Python

I'm new to Python. I have created two nested lists with the following code:  m = [[0,0,0],[0,0,0],[0,0,0]] n = [[0]*3]*3   If I'm not mistaken, these are two different ways to create the same list, so m and n should be identical. But when I try to modify one element, say:  m[1][0] = 4 n[1][0] = 4   What I'm getting is:  m = [[0, 0, 0], [4, 0, 0], [0, 0, 0]] n = [[4, 0, 0], [4, 0, 0], [4, 0, 0]]   In m I just modify the m[1][0] element, as I expected. But in n the first element of all the lists are modified.   Why am I getting different results? Are m and n really identical?  And why the n list is behaving like this?


Let $A, B, C \in M_n(\mathbb R)$ be such that $A$ commutes with $B$, $B$ commutes with $C$ and $B$ is not a scalar matrix. Then $A$ commutes with $C$.   I think it is false, but how can I solve it within 3 minutes?


Buggy comment highlighting in election page

This blog post: , explain that system will highlight comment responses from the user who asked the question. YES, it is currently working fine in all sites. So, I presume this system also works in Stack Overflow election page i.e. the system should  highlight the comment from the candidate. Unfortunately, the system looks buggy in  and . When you load the page for the first time, the candidate comments weren't highligted.    But if you click the Show xx more comments, the system magically highlight the candidate comments.     Reproduced in Firefox 37.01 and Chrome  41.0.2272.118 of Windows 7.


Can I see in a log file all GUI based tasks in its alternative command-line format?

For example, I normally open mousepad (xfce equivalent of gedit) from the applications menu. However, I know that you can also do this in a terminal by typing mousepad.   Following this example, what I want is whenever I open mousepad via GUI, a new line is written in a log file stating something like Sep 5 15:35:11 lucho@lucho:~$ mousepad. More in general, what I want is to log all GUI activities that are potentially do-able via command-line (like opening programs, changing permissions, modifying a system settings, etc) but written in its alternative command-line execution format. I want this in order to improve my knowledge of how to use the command-line (without going through the man pages). There are many things I do through the GUI which I don't do via command-line (some potentially automatable via a script or via keyboard shortcuts) and having this log file would be a good way to learn them.  I'm aware of the existence of the syslog file in /var/log but that is not what I need. The Activity Log Manager app from Ubuntu repositories does not show command-line format, so far as I know. I need something like the .bash_history file that exist in my home folder but recording my GUI-based activities.


Prove that the difference of an integer and its reverse order is divisible by 9

Define $u$ to be an integer with a decimal representation $\overline{a_{n}a_{n - 1}a_{n - 2}\cdots a_{2}a_{1}a_{0}}$. Then, define $u'$ to be the integer whose decimal representation is the reverse order of the decimal representation $\overline{a_{0}a_{1}a_{2}\cdots a_{n-2}a_{n-1}a_{0}}$. Writing $u$ and $u'$ in expanded form, \begin{align*} u &\;=\; (10^{n})(a_{n}) + (10^{n - 1})(a_{n - 1}) + (10^{n - 2})(a_{n - 2}) + \cdots + (10^{2})(a_{2}) + (10^{1})(a_{1}) + (10^{0})(a_{0}) \\ u' &\;=\; (10^{0})(a_{n}) + (10^{1})(a_{n - 1}) + (10^{2})(a_{n - 2}) + \cdots + (10^{n - 2})(a_{2}) + (10^{n - 1})(a_{1}) + (10^{n})(a_{0}) \end{align*} By evaluating $u - u'$, we get $\displaystyle\sum_{k = 0}^{n}(10^{n - k} - 10^{k})(a_{k})$. For $u - u'$ to be divisible by 9, $(10^{n - k} - 10^{k})$ must be divisible by 9. Solving for the remainder of $(10^{n - k} - 10^{k})$ when divided by 9, \begin{align*} r &\;\equiv\; (10^{n - k} - 10^{k}) \bmod 9 \\ r &\;\equiv\; (10^{n - k} \bmod 9) - (10^{k} \bmod 9) \\ r &\;\equiv\; \left((10 \bmod 9)^{n - k} \bmod 9\right) - \left((10 \bmod 9)^{k} \bmod 9\right) \\ r &\;\equiv\; \left(1^{n - k} \bmod 9\right) - \left(1^{k} \bmod 9\right) \\ r &\;\equiv\;1 - 1 \\ r &\;\equiv\; 0 \end{align*} Since the remainder is zero, this implies that the difference of an integer and its reverse order is divisible by 9.  Is my proof correct, by any chance? I got curious about this when I used the calculator out of boredom. I think the part where I solved for the remainder seems weird, but is there a chance that it is correct, though notationally wrong? If it is wrong, what should I do?


Normal subgroup of index a divisor of n!

I’ve found this exercise on “basic algebra”:  Show that if a finite group $G$ has a subgroup $H$ of index  $n$ then $H$ contains a normal subgroup of $G$ of index a divisor of n!.   My attempt: I’ve used the action of $G$ on left cosets of $\frac{G}{H}$. This action is transitive so  every stabilizer,that is a subgroup of $G$,has index $n$.  Now I consider $$K=\cap Stab (r_iH).$$ So K is a subgroup of $G$ and $K \subset H$ , because $ stab (1H)=H$. $K=\{g \in G| rgr^{(-1)} \in H\}$  so K is a normal subgroup of $H$, because for every $g \in K$ and for every $h \in H$, $hgh^{(-1)} \in H$.  I am pretty sure that this is the normal subgroup searched, because the hint of the book says “consider the action of $G$ on $ \frac{G}{H}$ by left translations. But I am not able to try that the index of $K$ in $G$ is a divisor of n!


how to return object of inner class from outer class

in class main I get Exception in thread "main" java.lang.NullPointerException  class Outer {     Outer() {     }      class Inner {         Inner() {         }     }      public Inner func() {         Outer.Inner type = this.new Inner();  // this is correct or not ??          return type;  //I want to return this object     } }   my  problem in  public Inner func(A a) or not ???  in Class main I define          Outer O = new Outer();     Outer.Inner t;     t = O.func(); //**I get Exception Her**


I have looked through the available HTML and JS materials in print, and online, concerning the problem of "disabling the enter key" or at least eliminating the default of submitting a form when the enter key is pressed.  My web page needs to ignore form submission until the appropriate button is pushed.  For that matter, I would like to ignore any enter key depression while inside my form. I can send code samples if needed.  I am new to this site and new to web development (Html-CSS-JS-JQ).  I am an old linear programmer so please be merciful on your explanation.  MANY thanks in advance.


Reopen Question incorrectly closed as Duplicate?

So I asked a question  about finding out the reputation that has been granted based upon the tags of questions one has asked or answered.  The question was closed as an Exact Duplicate of  question; the problem is that it is CLEARLY not an exact duplicate.  My question had to do with discovering the amount of reputation awarded based upon tags; the "exact duplicate" had to do with showing the tags separated by question and answer, with nothing to do with reputation.  The concepts are completely different.  What can I do to get this question reopened?  It is a completely valid request, which is completely different from any other question asked on this site.  While other questions ask things about tags, this question asks something about tags which no other question on this site does.  I have nominated the question for reopening, but since it was closed by a moderator, it didn't go through the normal "nominate for close" process that normally involves a bit of discussion; nobody really had the opportunity to LOOK at the question, since it was so aggressively closed by the moderators (and everyone will now assume that it's invalid, since it was closed).  Other than hoping for 4 others to actually read the question and the (false) duplicate and nominating for reopen, is there anything else that can be done to reopen this question?  And in general, is there any way of bringing the incorrect moderator closure to the attention of the moderators other than waiting for 4 other reopen votes?


i have a question about CBC operating mode.  what problem happen if we always use IV Zero in CBC Mode?


What are the details/implementation of the draft feature?

As per the title, curious about any implementation details that can be revealed.  I don't see any details in the  that indicate how they might be stored.  Particularly, I'm curious about whether or not it's stored on the client side, the server side, a combination of the two (e.g. a cookie that the server uses) and any underlying details that can be exposed.


What is the difference between a neural network and a deep neural network, and why do the deep ones work better?

I haven't seen the question stated precisely in these terms, and this is why I make a new question.  What I am interested in knowing is not the definition of a neural network, but understanding the actual difference with a deep neural network.  For more context: I know what a neural network is and how backpropagation works. I know that a DNN must have multiple hidden layers. However, 10 years ago in class I learned that having several layers or one layer (not counting the input and output layers) was equivalent in terms of the functions a neural network is able to represent (see Cybenko's ), and that having more layers made it more complex to analyse without gain in performance. Obviously, that is not the case anymore.  I suppose, maybe wrongly, that the differences are in terms of training algorithm and properties rather than structure, and therefore I would really appreciate if the answer could underline the reasons that made the move to DNN possible (e.g. mathematical proof or randomly playing with networks?) and desirable (e.g. speed of convergence?)


ArrayList modifying value returned by "get" method

I have below two situations related to ArrayList get method, one with custom class and one with String class:       1. Below is the example of modifying Custom class ArrayList element:  ArrayList<MyClass> mTmpArray1 = new ArrayList<MyClass>(); MyClass myObj1 = new MyClass(10);   mTmpArray1.add(myObj1);  MyClass myObj2 = mTmpArray1.get(0);   myObj2.myInt = 20;  MyClass myObj3 = mTmpArray1.get(0);   Log.d(TAG, "Int Value:"+myObj3.myInt);    // Prints "20"    2. And below is the example of modifying String ArrayList element:  ArrayList<String> mTmpArray2 = new ArrayList<String>();   mTmpArray2.add("Test_10");  String myStr1 = mTmpArray2.get(0); myStr1 = "Test_20";  String myStr2 = mTmpArray2.get(0); Log.d(TAG, "Str Value:"+myStr2);  // Prints "Test_10"    So in case of MyClass ArrayList, when I call get and modify the value, then I see change is reflecting when I do get again.      But same way when I modify String ArrayList, then changes are not reflecting.    What is the different in of the get method in both the scenarios? Is it that in case of String, String class creating deep copy and returns new object, and in case of Custom class shallow copy is created?  In the first scenario applicable to "LinkedHashMap", "HashMap" and "List"?


Can I set a custom location for ~/snap folder?

I've installed a snap-packaged application, which has in turn created a folder called ~/snap.  Is it possible to move this folder somewhere else? For example, by setting an environment variable?


Are the angles in a halved circle right?

Imagine a circle cut in half. Now, are the two angles on it right? I can imagine when going limitedly close that they would be. Got curious about this question after seeing  on the internet.


Windows Subsystem for Linux (WSL): what can't I do with the Ubuntu application for Microsoft Windows?

As most of you know, in the Microsoft Store, there are . This means that on Windows I can emulate Ubuntu and have the Ubuntu command line directly on Windows.  The question is very easy: what can’t I do from the Ubuntu command line emulated in Windows that I can do on a proper Linux-based Ubuntu? Is it useful to download this Ubuntu application, install it, and work just with it instead of the real OS? Is it possible to install all the development libraries? Can I write (or not) device drivers? In other words: what are the limits?  What features of Ubuntu Linux-based are missing from Ubuntu-on-Windows?  New answers are welcome: I know that every software is always changing by improving characteristics and features!


What power did Harry Potter have to kill Voldemort?

The prophecy said that a child would have the "power" to kill Voldemort.   However, Harry Potter was average, and didn't kill Voldemort. Both times, it's Voldemort's own curse that rebounded. That wasn't because of Harry's power, but rather because of his mother's love the first time around, and the elder wand the second time around.  So what power did Harry have?


What's the reason for keeping a base line in optocoupler?

Image Source:  The pin no 6 of the optocoupler IC is connected to the base of the NPN transistor. Should I keep it open? Or grounded? Does it anything to do with improving the performance of the optocoupler?


Interesting topics to research in mathematical physics for undergraduates

I'm planning on getting into research in mathematical physics and was wondering about interesting topics I can get into and possibly make some progress on.   I'm particularity fond of abstract algebra and topology and if possible any topics that involve abstract algebra would/topology/calculus of variations would be especially appreciated


I want to get the result of time command into a text file but it's not working it only put blank space in the text file.  I already tried this commands,  A-  $ x=`time` $ echo $x > log.txt $ cat log.txt  $   B-   $ time > log.txt  real    0m0.000s user    0m0.000s sys     0m0.000s $ cat log.txt  $   C-  $ time > log.txt 2>&1  real    0m0.000s user    0m0.000s sys     0m0.000s  $ cat log.txt  $    What I really want is this.   $ time > log.txt $ cat log.txt  real    0m0.000s user    0m0.000s sys     0m0.000s


Approximate $|x|$ with a smooth function

I am trying to get the derivative of $|x|$, and I want that derivative function, say $g(x)$, to be a function of x.   So it really needs the |x| to be smooth (ex. $x^2$); I am wondering what is the best way to approximate |x| with something smooth?  I propose $\sqrt{x^2 + \epsilon}$, where $\epsilon = 10^{-10}$, but there should be something better? Perhaps Taylor expansion?  Sorry for any confusion. I should add some additional information here:  I want to use $|x|$ as part of an object function $J(x)$ which I want to minimize. So it would be nice to approximate $|x|$ with some smooth function so that I can get the analytic form of the first-order derivative of $J(x)$.  Thanks a lot.


What gives higher experience in smithing?

In previous Elder Scrolls games, weapons and armour would have their quality degrade and you would have to repair it with the Armorer skill to fix it. This provided a constant stream of experience which made reaching level 100 Armorer quite natural.  In contrast, Skyrim does not have weapon or armour condition ratings, and the only way to advance Smithing is through creating and improving vast amounts of new equipment. From a roleplaying perspective, this can seem a little contrived. I would like to know the following:   Does crafting higher-level equipment (Dwemer vs Iron, for example) carry a significantly higher experience reward than lower-level equipment? Does crafting higher-cost (more bars, leather) equipment have a significantly higher experience reward, or at least has an experience reward equal to crafting an equivalent number of lower-cost equipment, such as daggers? Does smelting bars of higher-level metals such as ebony carry a significantly higher experience reward to lower-level metals, such as iron?   By "significantly", I mean orders of magnitude, like iron being 1.0x and ebony being 5.0x, rather than slightly better, such as iron being 1.0x and ebony being 1.5x.


lambda expression to get the count of desired values

I have a List<String> which is like,  List<String> dummyList=Arrays.asList("a","b","c","a","b","e","f","e");   I have a list which contains names of students in a class, I need a lambda expression to fetch only the count of students with names "a","b","c".  I tried using,   dummyList.stream().collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));   it gave count of entire students in the class, but I need the count of students "a","b","c", the final map should be of,  a:2 b:2 c:1


Display top tags & percentiles from additional Stack Exchange sites on Careers

Are the "top tags & percentiles" from Stack Exchange sites other than Stack Overflow displayed in the Careers site?  If not can they be added?  If they are, then what are the requirements for them being displayed in the Careers site?


how to download drivers for DG-WN3300N wireless adapter

I've DG-WN3300N wireless adapter. I am using Ubuntu 18.04.2 LTS  Please tell me how to :    1) download drivers 2) install drivers 3) setup wireless adapter.    After running "lsusb", this is the output :  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub   Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub   Bus 002 Device 004: ID 0b05:7774 ASUSTek Computer, Inc.    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   Bus 005 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)   Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub   Bus 001 Device 002: ID 0bda:818b Realtek Semiconductor Corp.    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub   Bus 011 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub   Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub   Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


How to attach True Type Fonts in TeX Live LaTeX

The problem is: where one can read precise instruction on how to  effectively install Windows "Truefonts" (.ttf files) in TeX Live LaTeX environment installed in Windows XP? But please, do not drive me to  (from the other hand valuable) article written by S. Kroonenberg called . I know it.


"You are" vs. "you're" — what is the difference between them?

“You are” vs. “you're” — what is the difference between them?  I get confused between the two a lot. I want to understand how to use them appropriately, because I hate making mistakes.


What is a single word for both location and size of an object?

An object has a location (or center) (x, y, z) and a size (or dimensions) (width, height, length). What is a single word for both? I thought of "measurements" but it's not so accurate.


If Time and Space are intrinsically linked and space is ever expanding then surely time is slowing down

When we try to imagine the initial expansion after the big bang we see with the CMB that the universe went from initially smaller than a hydrogen atom to what we see today. However, when we try to measure the rate of that expansion it currently defies our current observations of the laws of physics, what if at those initial conditions time as we measure it was infinitely faster than it is currently and gradually slowed down to the point where now we cannot observe a rate change. To repeat my question above if time and space are linked then surely the changes in space will have some similar effect on time?


Elantech Touchpad not working on Ubuntu 16.04 and Arch Linux

So I have and Asus R558UF notebook with an Elantech Touchpad. After installing Ubuntu 16.04, the touchpad worked once but after restarting, it failed to work and has not been working ever since.  This is output of xinput:   ↳ Elan Touchpad                            id=12   [slave  pointer  (2)]   In Mouse and Touchpad settings, the touchpad is enabled. What should I do to fix this?


The way the Similar Questions pane "writes over" the footer is not behavior I would expect. Is that correct behavior?


I have a Nexus 5 phone and ever since I allowed a system update, it won't let me post pictures to Instagram. It keeps talking about turning off a "screen overlay", but then when I try to follow the steps to get to that setting, it just sends me in a loop and doesn't actually let me change anything.  (Click image to enlarge)


I am trying to understand several particle-antiparticle concepts and there are questions that are not answered in any literature:   Hawking's radiation: what happens if classic particle of particle-antiparticle pair falls into black hole and the antiparticle stays out? This actually makes the black hole to grow, but the antiparticle does not annihilate and so the vacuum debt stays unpaid? That's okay?  Hawking's radiation: if the antiparticle falls into black hole and annihilate, it should produce corresponding energy ($E=mc^2$). But as this energy is equal to matter and cannot leave the black hole, how is it possible, that the black hole actually loses weight? If it pays the "vacuum debt" – how does the vacuum know to take this portion of energy from this part of black hole? How is it possible that antiparticles tend to fall more often then classic particles so that the black holes lose weight? Which particle-antiparticles are willing to annihilate together? Obviously not all of them as there are mesons which are composed of particle-antiparticles pairs. It looks as if they had to be completely equal?


Changing the scale of a variable to 0-100

I have constructed a social capital index using PCA technique. This index comprises values both positive and negative. I want to transform / convert this index to 0-100 scale to make it easy to interpret. Please suggest me an easiest way to do so.


Let $X\subseteq\mathbb{C}^n$ and $Y\subseteq\mathbb{C}^m$ be two complex affine varieties (zero sets of systems of polynomials). Suppose that $$f:X\to Y$$ is a polynomial map, or more precisely, it is given explicitly by $$f(x)=(f_1(x),\ldots,f_m(x)),$$ where $f_i:\mathbb{C}^n\to\mathbb{C}$ are polynomials in $n$-variables.     Question: If $f$ is a bijection, is it necessarily an isomorphism of complex affine varieties?


Usually I have no problem with babel and !:, and I don't use shortandoff-on switch. But since I made a command using !#1 parameter, the problem comes up again.  The same synthax used outside the command work fine, but in the command I get the error message :  ! Package tikz Error: + or - expected.  How to solve the problem without using the shortandoff-on switch ?  \documentclass[french,a4paper]{article} \RequirePackage{etex} \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc} \RequirePackage{fourier}  \RequirePackage{tikz} \usetikzlibrary{calc,intersections}  %%%%%%%%%%%%%%%%%%%%%% %%%% Francisation %%%% %%%%%%%%%%%%%%%%%%%%%%  \RequirePackage{babel}  %%%%%%%%%%%%%%%%%%% ---------------------------------------- %%%% Géométrie %%%% %%%%%%%%%%%%%%%%%%%-----------------------------------------      % #1 option du path     % #2 premier point     % #3 second point     % #4 longueur dans un sens     % #5 longueur dans l'autre     % défini Mil#1#2 \newcommand{\Med}[5][]{%     \path[#1,name path=Med#2#3] ($(#2)!.5!(#3)$) node (Mil#2#3) {}      ($(Mil#2#3)!#4!90:(#3)$) -- ($(Mil#2#3)!#5!270:(#3)$) ; }  \tikzset{small dot/.style={fill=black,circle,scale=0.3}}  \begin{document}  %\shorthandoff{:!} \begin{tikzpicture}  \coordinate[label=below left:$A$] (A) at (0,0) ; \coordinate[label=below right:$B$] (B) at (4,0) ;  \draw (A)--(B) ;  %\Med[draw]{A}{B}{1}{1} ;  \draw($(A)!.5!(B)$) node (MilAB) {}      ($(MilAB)!1!90:(B)$) -- ($(MilAB)!1!270:(B)$) ;   \end{tikzpicture} %\shorthandon{:!}  \end{document}


I've downloaded Anaconda on Ubuntu 17.10. I can launch it from the terminal using the command anaconda-navigator. It doesn't come launch icon though.   I've looked online, and have gotten to a Launcher Properties app (pictured below), but I must be entering incorrect values into the fields.     Does the terminal command not work as the command in the launcher app? And can the name and comments be anything I desire?   Thank you for your time.


Given $\mathbf{x}$^$\mathbf{a}$=$\mathbf{b-x}$  Prove  $(a^2+1)\mathbf{x}=\mathbf{a}$^$\mathbf{b+b(a.b)a}$  I have been using this same dot product and crossproduct method, but don't get it.  The method I used is similar to a question that I recently posted here.


I'm using LaTeX and JabRef on Windows. I set up my bibliography database and cited references in my LaTeX document. However, I do not know how to use the command line on Windows to do the 'latex bibtex latex latex' compile. So my question is: How can I do the 'latex bibtex latex latex' compiling using Windows without the command line?


Delete unwanted entry in Autocomplete in Microsoft Edge

How do you delete one unwanted entry in Autocomplete in Microsoft Edge?  This question has NOT been correctly answered yet.


What can a undergraduate do to get the strongest recommendation letter possible?

This is basically a follow up question from Tom Church's answer to this question: .  What can a undergraduate do say in his 2nd or 3rd year to get the strongest recommendation letter possible?  There are the usual answers like talk to your professors etc, but Tom's answer seem to imply there are skills to be learnt in this case.


I would like to draw the following picture by Latex. Please help me a bit.  Kind Regards


I am running Debian live XFCE, and I cannot seem to determine the font used by the Terminal.  I went to Edit, Preferences, Appearance and it just says "Monospace Regular".  Then I did cat /etc/default/console-setup and it just says FONTFACE="Fixed".  Can I somehow get the actual, proper font name, or alternatively the path to the font file being used?


Make changes in Ubuntu 16.04 installation sequence?

I need to install drivers or update settings after completing the Ubuntu installation;  e.g. Installing the Wifi driver by using following commands in the terminal:  sudo dpkg -i dkms_*.deb     sudo dpkg -i bcmwl-kernel-source_*.deb   or adding languages to the keyboard layout, and etc.  Is there any way to change the 'Ubuntu installation sequence' in order to include those commands within the Ubuntu installation sequence?  Is there any file ( .sh or whatever), or script, or etc. in the Ubuntu installation USB containing commands that the system needs to run for proceeding and completing the Ubuntu installation?


Put two tables side by side in the same page

I tried put two tables in the same page. I read in the Internet that I can make this using the minipage. I use minipage but the two tables still in pages differents, not side by side. The piece of code that I used is:  \documentclass[11pt]{article} \usepackage{amstext} \usepackage{lmodern} \usepackage{ragged2e} \usepackage{mathtools,float,geometry} \usepackage{booktabs,array,tabularx,threeparttablex} \usepackage{subfig} \begin{document} \begin{table}[H] \begin{minipage}{.2\textwidth} \centering \begin{tabular}{cc} \toprule Tempo (s) & Per\'{i}odo (s)\\ \midrule 0,9509 & 1,3645\\ \hline 2,3153 & 1,3644\\ \bottomrule \end{tabular} \end{minipage} \end{table}  \begin{table}[H] \begin{minipage}{.2\textwidth} \centering \begin{tabular}{cc} \toprule Tempo (s) & Velocidade (m/s)\\ \midrule 0,2733 & 5,3763\\ \hline 0,9496 & 5,3763\\ \bottomrule \end{tabular} \end{minipage} \end {table} \end{document}


Is it possible to change the position of arrow to be a little more to upper winding or right winding? If we supply different values of voltage to two winding what will happen to arrow?


Where are the locations of the monsters in the snowdin area in genocide

I was doing a genocide run and I got stuck because I don’t know where to find the monsters I need to kill to progress


Match two words that is on the same line

The command that I have prints out two of the lines whenever FW_6.0.0 is found, below is the code:  grep -oP 'FW_6.0.0, (.*)$' file   Below is the output, both has the same value of FW_6.0.0  FW_6.0.0, SUCCESS FW_6.0.0, OK   I would like to match two words, that is FW_6.0.0 and SUCCESS that can be found on the same line so that it prints this out:  FW_6.0.0, SUCCESS and eliminates FW_6.0.0, OK


Prove $\Delta_X$ is closed iff X is Hausdorff

I'm attempting a topology proof and think my proof is correct but I'm not 100% sure. The problem is as follows: Define $\Delta_X=\{(x,x)\in X\}$. Prove that $X$ is Hausdorff if and only if $\Delta_X$ is a closed set. The reverse proof is fine but for my proof of the forward one I attemopted as follows.  Assume $\Delta_X$ is closed, then $D=(\Delta_X)^C$ is open. Let $p_1,p_2\in D$ then $p_1 \neq p_2$. Take a union of open sets $U=\cup_{\alpha \in A}U_{\alpha}$ such that $p_1,p_2 \in U$. If $p_i \in U_{\alpha_i}$ with $U_{\alpha_1} \cap U_{\alpha_2} = \varnothing$ then we're done. If not, then $p_1,p_2$ are contained in the same open set. Write this set as a union of open sets such that $p_1$ and $p_2$ are not contained in the same open set. Therefore, $X$ is Hausdorff.  I'm not sure if this is correct but if it isn't any comments on where it is wrong and hints at improving it would be greatly appreciated!


Code for creating a mesh from a collection of points in Blender

I have a set of points in a text  that define the edges of a solid object. Each line in the file is a collection of points (x,y,z) which form a closed loop. Stacking these loops forms the object.  I am trying to create a surface mesh of the object and write it to an.STL file. What would be the best way to do it in Blender? Can the process be automated with a script?  I am totally new to blender and have no idea where to start. Any pointers are much appreciated.   Thanks!  Edit: I understand that once all the points are loaded into Blender, I can connect the vertices in each layer to form edges. But, how are the vertices defined?  Here is what I have:   with open('contoursb1_0.25res_60SCD.txt','r') as file: test = [[[float(i) for i in pt.split(',')] for pt in line.split()] for line in file]   Now for each layer, I would like to go across the list and create vertices and edges. How should I proceed? I found this  helpful, but am unable to create vertices. I am also a novice in python. So if you have any suggestions or see any errors and point them out, I would be greatful.


sed one-liner to delete everything between a pair of brackets?

I am working with some text that is full of stuff between brackets [] that I don't want. Since I can delete the brackets myself, I don't need the one-liner to do that for me, but I do need a one-liner that will remove everything between them.  What about parentheses () instead of brackets?


Prove that $| |a|-|b| | \le |a-b|$  (1) I square both sides since I know they are positive:  $$a^2-2|ab|+b^2 \le a^2-2ab+b^2$$ $$|ab| \ge ab$$ Let $m=ab$ $$|m| \ge m$$ Which is part of the definition of the absolute value.  Is it enough or I need to rewrite my proof?


I need to completely remove apache2 but no matter what I do I still get the default ubuntu page and when I run a nodejs app it will say port 80 is in use.   I tried the usual suggested in other apache2 removal questions:  sudo service apache2 stop sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common sudo apt-get autoremove  rm -rf /usr/sbin/apache2 rm -rf /etc/apache2   $ sudo lsof -i :80  COMMAND  PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME chrome  2426 physiii  184u  IPv4  31202      0t0  TCP desktop:54128->151.101.193.69:http (ESTABLISHED) chrome  2426 physiii  248u  IPv4  27504      0t0  TCP desktop:54038->151.101.193.69:http (ESTABLISHED) chrome  2426 physiii  258u  IPv4  27510      0t0  TCP desktop:33542->174.76.226.31:http (ESTABLISHED)   I still get "Apache2 Ubuntu Default Page" if I go to 127.0.0.1  What is going on?


I recently started having problems with UV mapping. I map the object on the same color yet it has different shades of the color. For example I was mapping a car I'm making for a game and it looked like this.  The interior of that car should all be one gray but it ends up as different shades of gray and some brown even though they are all on the same part of the texture (the texture is only 9 px by 9 px).


using preg_match to match a number between 5 and 10 characters long

I am trying to use preg_match to match a number that's between 5 and 10 characters long. However, I want the ENTIRE number. I have  preg_match("/\d{5, 10}/", $str, $match)   but the above code will match the first 5 digits of a number that is let's say 10 characters long. How can I make it return the entire length of the number?


apt-get is "Unable to locate package [package-name]" after upgrade to 15.04

I installed Ubuntu 15.04, then I updated it and restarted. After that I can't install anything from terminal using   apt-get install [package-name]    any more. For every package it says   Unable to locate package [package-name]   It happened right after I upgraded to Ubuntu 15.04, immediately after its installation.   Is there any solution other than formatting the drive and reinstalling Ubuntu?


Incorrect pluralization on inbox notification email

The pluralization is incorrect: "1 new items in your Stack Exchange inbox" should be "1 new item…"


Is there a way to figure out the block machine name?

In Drupal 8, is there a way to figure out what current block or view machine name you should use?  For example, with the following code, I noticed that 'machine_name_to_determine' could change depending on how many times you have used your block.  $block_id = 'machine_name_to_determine'; $block_config = \Drupal\block\Entity\Block::load($block_id);   I need a way to retrieve this at run-time. How can I retrieve it?


Change Date to Future Date in Map Title Using Python or Dynamic Text

I'm trying to create a dynamic map title in ArcMap that updates based on current day + 2 days. For example, if I run the code on the 20th of a given month, the title should update to show the 22nd.   I've arrived at two independent, but partial solutions: the first works in pure Python not integrated with ArcMap and the second works using Dynamic Text (but only for the current date). I'm not partial to one method over another, but am not familiar enough with either to arrive at a satisfactory solution. Is anyone aware of a way to use either of these methods to solve the issue?  Partial Solution #1 - Python code  from datetime import date, timedelta import calendar publication_date = date.today() + timedelta(days=2) publication_day_of_week = calendar.day_name[publication_date.weekday()]  #Title format example: #"Forecast for Thursday March 17" print "Forecast for " + publication_day_of_week + " " + publication_date.strftime("%B %d")   Running this script as of today (March 17, 2016) correctly yields the text "Forecast for Saturday March 19"  Partial Solution #2 - ArcMap Dynamic Text tags  <dyn type="document" property="title"/> <dyn type="date" format="dddd MMMM d"/">   The title property above represents the text "Forecast for" which is followed by the formatted date.  However, the output is "Forecast for Thursday March 17"-- the current date. As far as I can tell, dynamic text can only use the current date, time, etc., and cannot be used to forecast 2 days out from the current date.  I've already reviewed the following but can't seem to see a complete solution:  1)    2)    3)


How is the IP of a nameserver located in it's own domain resolved?

I understand basics of how DNS works. My ISP finds out recursively, that my domain xyz.com is assigned with two nameservers:  ns1.xyzprivatens.com ns2.xyzprivatens.com  Then it asks one of those two for the xyz.com IP and communicates with server using this IP.  Now is the interesting question. How IPs for the nameservers themselves are resolved?


Could it be done or not?  E.g. I want to be ble to upload an image when creating a new taxnomy term.  So, when I create a new term called Mercedes in my custom made taxonomy called brands how can I add a file picker field to that term so I can upload an image of Mercedes logo?  Is it even possible to upload a file for taxonomy?


Modelling population with $\frac{dP}{dt}=P(\beta - \delta P)$

The population $P(t)$ of a biological species can be modelled by   $$ \frac{dP}{dt}=P(\beta - \delta P) $$   subject to $P(0)=P_0$ where $\beta$ is the birth rate and $\delta$ is the death rate. Assuming $P>0$, find the population $P(t)$ for three cases:         $P_0<\hat{P}$   $P_0=\hat{P}$   $P_0>\hat{P}$         where $\hat{P}=^{\beta}/_{\delta}$   So far, I have:  We see the equations is separable and so $$ \int\frac{dP}{P(\beta - \delta P)}=\int dt $$ then in partial fractions we have $$ \int\frac{dP}{\beta P}+\int\frac{\delta}{\beta (\beta - \delta P)}dP=\int dt $$ integrating both sides $$ \frac{1}{\beta}\ln P+\frac{\delta}{\beta}\ln(\beta - \delta P)=t + k $$ $$ \ln P+\delta\ln(\beta - \delta P)=\beta t + k $$ $$ P\cdot(\beta - \delta P)^\delta=ke^{\beta t} $$ so at $t=0$ we have $$ P_0\cdot(\beta - \delta P_0)^\delta=k $$ hence $$ P\cdot(\beta - \delta P)^\delta=P_0\cdot(\beta - \delta P_0)^\delta\cdot e^{\beta t} $$  I don't really see how to apply the three cases to this equation; I mean it seems that $P_0=\hat{P}$ would mean $P(t)$ is identically 0 but I don't think this makes any sense in terms of the original problem. So my reasoning must be wrong..? And for the other two cases I don't see how I would express $P(t)$ generally.


How long can I wait before choosing to counter a spell?

Today, I was playing a duel, and my friend played a , which he then ended up enchanting with an . Between those two actions he asked me if I would counter it, to which I answered that I would wait for him to play the rest of his cards so I could choose what to do. He said that I had to counter the Wall of Reverence before he played Ethereal Armor for the counter to work. Was he right about that?


What does this oval symbol at the bottom of Magic cards mean?

This is not related to game play as far as I know. Creatures such as ,  and , and even enchantments like the double-sided , there is this shiny part near the bottom of the card. The only link that I have is that it is linked to rarity, because only cards that are rare and above have them, but not all of the cards that are rare and above do have them, and it is not related to premiums. Can anybody help me know what it is?


I have this A linear congruence is given by 2689x ≡ 3901 mod 4001. i. Show that the solution of the linear congruence exits. ii. Compute the general solution of the linear congruence. iii. Compute the least positive integer x satisfying the linear congruence and check your solution. I need help on this using Euclidean Algorithm. Also, reference to know this more will be appreciated, Thanks!


Heartbleed: how to reliably and portably check the OpenSSL version?

I was looking at a reliable and portable way to check the OpenSSL version on GNU/Linux and other systems, so users can easily discover if they should upgrade their SSL because of the Heartbleed bug.  I thought it would be easy, but I quickly ran into a problem on Ubuntu 12.04 LTS with the latest OpenSSL 1.0.1g:  openssl version -a  I was expecting to see a full version, but instead I got this:  OpenSSL 1.0.1 14 Mar 2012 built on: Tue Jun  4 07:26:06 UTC 2013 platform: [...]  To my unpleasant surprise, the version letter doesn't show. No f, no g there, just "1.0.1" and that's it. The listed dates do not assist in discovering a (non-)vulnerable version either.  The difference between 1.0.1 (a-f) and 1.0.1g is crucial.  Questions:   What is a reliable way to check the version, preferably cross distro? Why isn't the version letter showing in the first place? I was unable to test this on anything else but Ubuntu 12.04 LTS.   Others are reporting this behaviour as well. A few examples:       Some (distro-specific) suggestions rolling in:   Ubuntu and Debian: apt-cache policy openssl and apt-cache policy libssl1.0.0. Compare the version numbers to the packages here:  Fedora 20: yum info openssl (thanks @znmeb on twitter) and yum info openssl-libs   Checking if a older version of OpenSSL is still resident:   It's not completely reliable, but you can try lsof -n | grep ssl | grep DEL. See  on why this may not work for you.   It turns out that updating the OpenSSL package on Ubuntu and Debian isn't always enough. You should also update the libssl1.0.0 package, and -then- check if openssl version -a indicates built on: Mon Apr  7 20:33:29 UTC 2014.


You've got a little markup in your link text

The link text in the flag summaries displayed when you visit questions and answers as a moderator are showing the closing anchor tag (<\a>). I don't think they should be:


is there any way so i can use whats app on ubuntu ,i dont have android have android smart phone,

i tried genymotion and virtual box combination it worked for very small time.then i tried android X86 operating system but on this os whats app is not available ,i used "shashlik" but just getting black screen ,also used koplayer in wine but  showing errors .anybody please help me install in whats app.


I understand this question has been asked many times however, i am unable to understand the answers well enough and apply to my situation.  I have attached 2 screenshots of my model. There are 5 class labels   Firstly this is a model with a lower accuracy but with a higher ROC area.     Then i have a model with a higher accuracy but a lower ROC area.     How do i decide which model is a better one if the cost for misclassification for all classes is the same


If $C(n, a)=C(n, b)$. Prove that $a=b$ or $n=a+b$. I looked for this on the internet. But no clue. I tried it myself, but failed. I have already asked for the help by posting similar question, about 20 days ago, and got some hints and finally, i was unable to complete the proof myself. The simplest proof is needed and will be appreciated.


Random variables for which Markov, Chebyshev inequalities are tight

I am interested in constructing random variables for which Markov or Chebyshev inequalities are tight.  A trivial example is the following random variable.   $P(X=1)=P(X=-1) = 0.5$. Its mean is zero, variance is 1 and $P(|X| \ge 1) = 1$. For this random variable chebyshev is tight (holds with equality).  $$P(|X|\ge 1) \le \frac{\text{Var}(X)}{1^2} = 1$$  Are there more interesting(non-uniform) random variables for which Markov and Chebyshev are tight ? Some examples would be great.


How to detect malfunction in motherboard?

If you are not sure whether a motherboard has been damaged, if it boots then is that 100% verification it is alright?


Could anyone give me a brief explanation of how to install the tengwarscript package? I understand it needs special fonts installed separately, but I don't know where to put them and how... I'm using MikTeX on Windows (yes, blame me).  Thanks in advance!


Accessing attribute table within shapefile and replace values?

I would like to find a Python script that will access an attribute table within a shapefile and either update or replace records inside a field column. More specifically, I would like to use the replace expression to convert a table record like "123-456-789" to "123456789". I have many records to process and would like the best approach to do this task using Python.


Suppose $\sum a_n$ converges absolutely and $\sum b_n$ converges. Give an example where the Cauchy product does not converge absolutely.

Problem:  Suppose $\sum_{n=0}^{\infty} a_n$ converges absolutely and $\sum_{n=0}^{\infty} b_n$ converges. Give an example where the Cauchy product, defined as $\sum_{n=0}^{\infty} c_n$ where $c_n=\sum_{k=0}^{n} a_k b_{n-k}$, does not converge absolutely.  Question:  I have been scratching my head over this for a while. What would an example be?


Does Wolverine's healing factor still work properly in Logan (the movie)?

In the trailer for the upcoming movie Logan (2016),                                   we can see that Wolverine's back is covered in scars:     However, in the rest of Fox's X-Men/Wolverine movies, he always heals without leaving scars.   Why or what would cause him to have scars that his healing can't fix?


How can I control where smoke and fire are emitted from?

How can I control which part of the object the fire/smoke is emitted from so instead of it coming from the corners it is emitted from the top side like a normal log on fire.   Also I can't see the faces of the object even though I am out of edit and wire frame mode can someone please explain that as well.


Is there a consensus in the mathematical community, or some accepted authority, to determine whether zero should be classified as a natural number?  It seems as though formerly $0$ was considered in the set of natural numbers, but now it seems more common to see definitions saying that the natural numbers are precisely the positive integers.


In a lot of movies, at some point a character gets his/her teeth broken. As an example, I could cite "Dumb and Dumber", "The Hangover Part III", etc... Do they use a specific technique to fake a broken tooth ? Because I doubt they're using CGI images, or the green background technique to fake it.


Hat position is wrong in iOS app, scrolls with page

When visiting my profile on the mobile app, my hat scrolls with the page:    It doesn't stay linked to my icon at the top. I'm on an iPhone 6+ running iOS 9.2 and version 1.4.1 of the SE app.


I am getting this error while my update never completed fully.  W:Failed to fetch http://ppa.launchpad.net/iaz/battery-status/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found , E:Some index files failed to download. They have been ignored, or old ones used instead.


Is a model including a square root of a variable linear in the parameters?

Is the model $$ y = \gamma_0 + \gamma_1 + \sqrt x + \varepsilon $$ linear in parameters? ( $\varepsilon$ is the error term.)


Can't undo upvote on comments. The comments area understandably has a small interface and I accidentally upvoted the wrong comment. Apparently they cannot be un-upvoted.


Why is there a discrepancy in disk usage reported by df and du?

I have a Linux CentOS server, the OS+packages used around 5GB. Then, I transferred 97GB data from a Windows server to two folders on this Linux server, after calculated the disk usage, I see the total size of the two folders is larger than the disk used size.  Run du -sh on each folder, one use 50GB, the other one use 47GB  But run df -h, the used space is 96GB. (50GB + 47GB + 5GB) > 96GB  Is there any problem? Those two folders contain lots of files (1 million+). Thanks.


I got 50 silver coins for the first time but I didn't have a house prepared for him and this weird timer came up.  I went to my spawn just the guide in his house so a few days later I make a house for him get 50 silver coins no sign of him.  Do I have to make a new world? Should I just wait?


Why aren't Faraday's law of induction and Maxwell-Ampere's law symmetric?

I don't see Faraday's law of induction and Maxwell-Ampere's law are totally symmetric in the sense that Maxwell-Ampere's law has a  factor of $ϵ_0μ_0$: \begin{align} \nabla\times\mathbf E&=-\frac{\partial\mathbf B}{\partial t} \\ \nabla\times\mathbf B&=\color{blue}{\mu_0\varepsilon_0}\frac{\partial\mathbf E}{\partial t} \end{align} Can anyone explain me why.


Add the font changes as options in our preferences

Recently, SE  to system fonts which, for many users, has caused a design problem that affects the readability and accessibility. The new fonts seem to complement only  browsers and operating systems, and are a setback on a lot of others, especially on Windows machines.  As has been said before, the SE users all need different settings to be comfortable.  I'm therefore proposing that this should be made an option in our , or that the design team consider different fonts.  It shouldn't be difficult, as this change hasn't affected sites with custom fonts; so please consider this.  Related posts:


Torque considered about different points in a system

If we consider the torque about point A, there is none, so there is no rotation about point A. If we consider torque about point B, there is a net torque which means that there is rotation about point B. But if there is rotation about point B, doesn't this imply that there must also be rotation about every single other point?     Are there specific locations where I can take torque about, or have I simply made a mistake in logic?


I am new to java. I am trying it use sequential search and binary search. I can load the array successfully, but my searches error out. I do not see what i am doing wrong. Are both of my methods having any issues?  package stu.paston.program6;  import java.io.FileInputStream; import java.io.IOException; import java.util.Scanner; import java.util.InputMismatchException;  public class InventoryData  {   private int[] invData = new int[200]; private int count = 0;  InventoryData(){}//Constructor  public void loadArray() {     double partNum;     double price;   try {     String filename = "inventoryPricing.dat";     Scanner infile = new Scanner (new FileInputStream(filename));      while (infile.hasNextInt())     {         invData[count] = infile.nextInt();         partNum = infile.nextDouble();         price = infile.nextDouble();          ++count;     }     infile.close();   }   catch (IOException ex)     {     count = -1;     ex.printStackTrace();     }   }  public int seqSearch(int[] invData, int value) { for (int i : invData) { if (i==value) {     return i; } } return -1; }    public int binSearch(int[] invData, int value, int first, int last) {  if (first > last)      return  -1;  int middle = (first + last) / 2;  if (invData[middle] == value)     return middle;  else if (invData[middle] > value)     return binSearch(invData, value, first, middle-1);  else     return binSearch(invData, value, middle+1, first); }  public int getCount() { return count; }   public int getOneDataNum(int index) { if (index >=0 && index < count)     return invData[index]; else      return -1; }    }// End InventoryData    package stu.paston.program6;  import java.util.Scanner;  public class MainClass  {  public static void main(String[] args)  {     InventoryData productData = new InventoryData();     Scanner myScanner = new Scanner(System.in);     int index;      productData.loadArray();      System.out.println("What is the part number you are looking for ->");      index= myScanner.nextInt();      if (productData.seqSearch(null, index)>=0)         System.out.printf("Sequential fount part number #d and the price is                                         %d", index, productData.seqSearch(null, index));     else          System.out.printf("Sequential did not find part number %d", index);     if (productData.binSearch(null, index, index, index)<=0)                                                                System.out.printf("\nBinary fount part number #d and the price is %d",   index, productData.binSearch(null, index, index, index));     else         System.out.printf("\nBinary did not find part number %d", index);     myScanner.close();   }   }