render engine will not change from workbench

I am doing an animation project and i used workbench to quickly render out the animation (i rendered to PNG sequence). However when i try to final render still images for testing all i get is the workbench version of the render. I've tried cycles and Eevee with no luck. When i set viewport from shaded to rendered using Cycles or Eevee i get proper rendered viewport as normal. Old files work as expected as well so i don't think blender is broken :). so its something i did when using workbench? If i copy and paste all geometry lights and camera to a new empty scene. all is well. Its so weird. Thoughts? Thanks in advance! Tony


One battery slot kills its sitting battery

My kid has a battery-operated toy, it runs on three AAA batteries, connected in serial. Once, the toy suddenly stopped working, but all batteries were good. I decided to disassemble the toy and look for internal damage or some loose wire. Found nothing and reassembled it. The next day, on a last attempt before dumping it, I placed the batteries back on, just to confirm, and it just started working again. Have no idea what changed. Humidity maybe? Now the issue. Since then, the toy is killing one of the batteries in the pack, in a week or so. It stops working, I check the batteries, the one on the left is completely dead with 0 volts, the other ones are ok. I replace the dead battery, it gets back working ok. Another week or so, the toy stops working again, and the newly replaced battery is dead. It's always on the same deck position. Seems a short, like @Frog stated, but the plates and springs seem to be far apart. Could be damage to the wires, a pinch, or something like @Kyle B stated. But by looking inside I can't spot anything suspicious. Can't be faulty battery, because replacing just the damaged one by a new one, and the new one gets dead as well, proves the issue cannot be on this battery, I think. Every time this happens, I now remove the dead battery, place one of the others on this place, and place the new one elsewhere. I have now placed photos. Can anyone help? (this is a re-post as the other one got closed. This time I tried to be more clear, and added photos)


I want to see which command gets executed when pressing a keyboard shortcut.  My use case: I have an external keyboard with no volume up/down keys (also no Fn + ...). The keyboard on my laptop has these keys. I want to define a custom shortcut for my external keyboard to execute the same command as the Volume control keys on my laptop-keyboard.  I found a lot of answers on how to create a custom shortcut but I could not find a way to see which commands gets executed when using an existing shortcut.


I have read this question:  But I still do not understand, why my Java tag score does not changes. It is currently: 48 Java × 89 for several days, though I replied to two questions meanwhile and my new answers have combined score 4. I thought it will be 52 but it is unchanged. Why?


Will the hat be removed if my question is deleted?

I earned a hat by posting a question on meta site. Will the hat be removed if the question is deleted?


I do not know if this question has been answered but I couldn't find anything similar. I am fitting an ARMA (1,1) on my log returns in R and I decided to use both R and SPSS to check my results. In R I used the following function and got this results     arima(x = data$Log_Change, order = c(0, 0, 1))      Coefficients:            ma1  intercept         0.0410    -0.0064 s.e.  0.0198     0.0056   I then tried using SPSS but the estimate of the MA1 is the negative of the ARIMA in R      ARIMA Model Parameters                                               Estimate    SE  t   Sig. Constant        -.006   .006    -1.138  .255 MA  Lag 1   -.041   .020    -2.093  .036   Can someone explain what am I doing wrong.


I'm about to start the Thieves Guild quests, but as I'm playing a non-stealth character my Sneak skill is very, very poor at around 17. In preparation to joining the Thieves Guild I wanted to improve my Sneak skill, as I doubt I'll be able to do their quests at my current skill.  I tried to sneak around some people at dark, but I can only get the completely hidden status and the detected status. Once I enter the line of sight of someone I'm detected, I don't manage to get the half-open eye indicator.  When I'm fully hidden or detected, I don't seem to gain any skill points in Sneak, but with my current skill I never achieve the hidden-in-sight status that I need to gain more skill. Any idea on how to gain some easy Sneak skill points?


Open a file with an external application on Java

How do you open a file from a java application when you do not know which application the file is associated with. Also, because I'm using Java, I'd prefer a platform independent solution.


Appropriate word for someone immune to embarrassment?

I am looking for a word which can be used to describe someone who is very "comfortable in their skin", secure with themselves, and most importantly completely immune to being embarrassed or mocked.  Some examples might include consistently mispronouncing a word in a conversation (like "pirate" instead of "pilot") without feeling silly, even though others try to mock him/her. Or more seriously, not feeling embarrassed at all if their private photographs (ie in the shower or some other scandal-like situation) were leaked.  Words like "unashamed", "unabashed" or "unapologetic" usually have a negative connotation and do not seem applicable, since the person is not necessarily doing things which society would consider shameful from a moral standpoint.


$$ f(z) = \frac{z+1}{i-2z} \{ z ∈ \Bbb C,  f(z) ∈ \Bbb R \}$$  Are there any solutions other than $z = -1$?


i am writing a script in bash and I would like to give the two numbers in the brackets, x and y to be precise, as variables.  I wrote the script this way:  echo "x?" read x echo "y" read y  for i in {$x..$y}   but it does not work.  How could I set it up to make it function?  Thanks a lot in advance.


I happend to chmod 755 my whole /usr/ dir

I happend to change my whole /usr/ dir files to -rwxr-xr-x with command "sudo chmod 775 -R /usr/" now I firguire out that some special binary files like "su" "chkpaswd"and "sudo" should have the privilege of setuid ,and I have use chmod to return them back to fix same authority problem. But still have some mistory trouble like I cant use dolphin to mount the dev automaticly or use kwrite to rewrite some files by input passwd.It just says u dont have right to operate:Not authorized to perform operation and now ,I cant just open the appimage because of Cannot mount AppImage, please check your FUSE setup. You might still be able to extract the contents of this AppImage if you run it with the --appimage-extract option. See  for more information open dir error: No such file or directory I use debian 10 base os ubuntu 20.04 ,and this pic is what i have in /usr/. I did this dangerous operation because I want to use CAE on oridinary user. So ,can some handsome guys to told me are there any special files like "sudo" in dir /usr/ that I dont know? Thanks!!QwQ


for (int i = 0; i< expArray.length; i++){             System.out.println(expArray[i]);             if ( expArray[i] == "5" ){  ///WHY IS THIS NOT WORKING!!!??                              System.out.println("here");   I know the output of the System.out...:  0 = 0 + 5   This is how my String array was made:      for (int i = 0; i< expArray.length; i++){         if(varTable.get(expArray[i]) != null){             expArray[i] =  Integer.toString((int) varTable.get(expArray[i]));         }     }   So the issue is, at the expArray[i] == "5" ) if block up top its not going in at i=1 where it should. any reason/thoughts?


Proving $\frac ab+\frac bc+\frac ca\geqslant a+b+c$ when $a$, $b$, $c$ are positive real numbers and $abc=1$

If $a$, $b$, $c$ are positive real number and abc=1. Then prove that $$\frac ab+\frac bc+\frac ca\geqslant a+b+c$$ Using AM-GM both sides will be greater than $3$, But I don't know how to proceed further. Which inequality should I use?


Enabling Equal Cost Multi-path in Ubuntu

How do I enable Equal Cost Multi-path on the Linux kernel in Ubuntu? I want multiple routes to be concurrently present in my routing table. I was following this guide:


Spacing before and after tabular disappears

I have some troubles with spacing before and after tabular boxes. When my table have only one row, everything is okay.  \documentclass{article} \usepackage{setspace}  \begin{document} \doublespacing Some text.  \begin{tabular}{|l|} \hline Some text.\\ \hline \end{tabular}  Some text. \end{document}     But when I add new row, spacing before and after table disappears!  \begin{tabular}{|l|} \hline Some text.\\ \hline Some text.\\ \hline \end{tabular}     What should I do to fix this?


Is there a common standard for the title hierarchy of research positions in English?

Is there a common standard for the title hierarchy of research positions in the English language?  Excluding people who do research such as students or professors, but purely researchers.  Something in engineering such as, Junior Programmer and Senior Programmer.  I have heard of these, and in what I assume is a hierarchy:    Research assistant Assistant researcher Researcher Senior researcher   Is there such thing as "Principal Researcher" which describes the job position as opposed to the PI on a project.  Would this title be given to more than one person in the same lab?  Purpose of the question:  In other languages, specifically in Asia, there are many words for hierarchy in both business and academia.  Google translate does not work, as it just recommends "senior" for many of the words, but in the native language they are much different, and are all above the standard "Researcher" position.  The research institute would like things like business cards and website to make sense to other countries and native English speakers.  As of now, the native language shows two different words, but in English they are the same "Senior Researcher", which makes it difficult to understand/explain what position the person is in.


Validation date between Textview and String

I'm doing my first application on Android, it consists of a "To do Task". My problem is when I want to check the text of my TextView, which contains the date (array of strings), with the date on which the information is saved. This if I do to run the check never works. // Write date in Array SimpleDateFormat formatdate = new SimpleDateFormat("dd-MM-yyyy", Locale.getDefault()); Calendar calendar = new GregorianCalendar(); String[] date = new String[6]; for(int i = 0; i < 6;i++){     calendar.add(Calendar.DATE  , 1);     date[i] = formatdate.format(calendar.getTime()); }  tvdate2.setText(date[0]); // 16-03-2021 ...  // When clicking on the button, it checks and then displays the corresponding information btn2.setOnClickListener(new View.OnClickListener() {     public void onClick(View view) {                         String test ="16-03-2021";         if (tvdate2.getText().toString() == test){             testing.setText("It works!!");         }                     } });


How do you add widgets to the lockscreen in KitKat?

Just got a Nexus 5 running KitKat (what else?), but I cannot figure out how to add widgets to the lockscreen! On JB, swiping right from the left edge while showing lockscreen would display a "+" widget option. This is no longer the case. Are lockscreen widgets gone?!


Resizing images in Photoshop - Paint style

Microsoft Paint is the worst image editing tool I could ever imagine of, but it has one good thing that still makes me use it over Photoshop: When I enlarge a small, pixelated 16x16 image, it doesn't make it blurry, instead, it enlarges every pixel in the image, so that the image will still look pixelated as it did before, but now it's just bigger.  I know that this by itself might not be the best resizing algorithm and in most situation's, Photoshop's way of doing this proves to be more satisfactory. However, I'm doing some pixel art right now and I need the pixels to still look like squares when I enlarge the image. I would just use Paint, but the problem with Paint is that it doesn't keep transparency.  In a nutshell, the question is: How to enlarge an image in Photoshop without making it blurry, like the way Paint does? In other words, "Enlarge as if I've just zoomed in."


How do I stop Adobe Reader from showing that sidebar on the right?

I regularly use Adobe Reader to view PDF's, but I have to close the side bar on the right all the time.   Does anyone know how I can permanently hide it?


How to count record points within a given area (electoral district)?

New user to GIS and to QGis but experienced data user.  I have shapefiles for a state legislative districts.  I have a set of individual voter records that I have geocoded.  What I'd like to do is create a map where the color wheel displays the number of voters per legislative district.  I'm not quite sure how I'll do the join (or even if I should use a join).  I know this is probably basic and I'm asking the question wrong but guidance appreciated.


What are "fake", "shady", and/or "predatory" journals?

This question is in response to . The original post mentioned that they wish to retract their paper from a "fake" journal. I don't know what a fake journal is but better safe than sorry so I want to make sure what defines a fake journal. In the comments, other people also mentioned "shady" journals and "predatory" journals. This is the first time I encounter these descriptions so I would like to know more about what they entail. I would be interested in hearing about your experience with such journals as well, if any.


Can a four-divergence be added pure Yang-Mills Lagrangian to alter the action?

A four-divergence term $\partial_\mu K^\mu$ when added to a Lagrangian, the action changes as $$S\to S^\prime=S+\int_R d^4x \partial_\mu K^\mu\tag{1}$$ where $R$ is a region of spacetime. Using Gauss' theorem, the term $\int_R d^4x \partial_\mu K^\mu$ can be converted to a surface integral $$\int_{\partial R} d\sigma_\mu K^\mu$$  where $\partial R$ represents the boundary of $R$. Now consider a pure Yang-Mills action $$S=-\int d^4x~ \frac{1}{4}G_{\mu\nu}^a G^{\mu\nu a}.$$ We add to it a term $\int_R d^4x \partial_\mu K^\mu$ where $K^\mu$ has the form $$K^\mu=\frac{1}{16\pi^2}\epsilon^{\mu\nu\lambda\rho}A_\nu^a\Big(G^a_{\lambda\rho}+\frac{g}{3}f^{bca}A_\lambda^b A_\rho^c\Big).$$ Here, $G_{\mu\nu}^a=\partial_\mu A_\nu^a-\partial_\nu A_\mu^a+gf^{abc}A_\mu^b A_\nu^c$ denotes the gluon field strength tensor, $A_\mu^a$ are the gluon gauge fields and $a,b,c$ denote the color index. Therefore, the action changes to \begin{eqnarray}S\to S^\prime &=& S+\int_R d^4x \partial_\mu K^\mu\\ &=& S+\int_{\partial R} d\sigma_\mu K^\mu\\ &=& S+\frac{1}{16\pi^2}\epsilon^{\mu\nu\lambda\rho}\int_{\partial T}d\sigma_\mu A_\nu^a\Big(G^a_{\lambda\rho}+\frac{g}{3}f^{bca}A_\lambda^b A_\rho^c\Big).\end{eqnarray} Now, if we consider pure gauge i.e., a boundary condition of the form $A_\mu^a\neq 0$ but $G_{\mu\nu}^a=0$ at $\partial R$, we see that the action changes by a nonzero amount $$S^\prime-S=\frac{g}{48\pi^2}\epsilon^{\mu\nu\lambda\rho}f^{bca}\int_{\partial R}d\sigma_\mu A_\nu^a A_\lambda^b A_\rho^c\neq 0.$$ Question Does this mean that the action can change even if a four-divergence is added to the Lagrangian?


Prove that there exist two integers such that i - j is divisible by n.

Here's the full question:  Prove that, for any $n + 1$ integers, $\{x_0, x_1, x_2, . . . , x_n\}$, there exist two integers $x_i$ and $x_j$ with $i \neq j$ such that $x_i − x_j$ is divisible by $n$.  Now, the integers aren't necessarily consecutive, positive, or without repeats. I've tried breaking this into cases, such as "$x_i = x_j, \dfrac{0}{n} = 0$" etc. But I don't think it's possible to exhaust the cases.  I feel like there should be an easy way to contradict this one, by saying that $x_i - x_j$ isn't divisible by $n$. But I just wasn't getting anywhere with that one.  I thought about using induction, but I would have just as hard a time proving this for $n$ integers before $n+1$ integers, so I don't think it would be possible for me to do it that way.  If anyone could help out, that would be wonderful. I'm pretty stuck here.


Pass values from parent to child component on click lightning

I have this below code where i am trying to first search an account name and on hit button it displays the result set.  On the button click i am also loading an child component which is displaying the id of the record.  I need the child component should get displayed once i click on the record.  How can i achieve this -   Parent Component -   <aura:component controller="SimpleAccountController">     <aura:attribute name="account" type="account[]"/>     <ui:outputText aura:id="outName" value="" class="text"/>     <ui:inputText aura:id="name" label="Enter Name:" placeholder="Your Name" />     <ui:button aura:id="button" buttonTitle="Click to see what you put into the field" class="button" label="Click me" press="{!c.getInput}"/>     <aura:iteration var="acc" items="{!v.account}">
{!acc.Name} : {!acc.Type} : {!acc.Industry} : {!acc.Rating}
                      <c:HelloWorkdChildCmp selectedaccount="{!acc.Id}" />     </aura:iteration> </aura:component>   COntroller -   ({     getInput : function(cmp, evt) {         var myName = cmp.find("name").get("v.value");         var myText = cmp.find("outName");         var greet = "Hi, " + myName;         myText.set("v.value", greet);         var action = cmp.get("c.seaAcc");         action.setParams({ "s" : myName });         action.setCallback(this, function(response) {             var state = response.getState();             if (state === "SUCCESS") {                 cmp.set("v.account", response.getReturnValue());                 //alert("From server: " + response.getReturnValue());             }         });         $A.enqueueAction(action);     },      accountselected : function(cmp, evt) {        console.log(evt.currentTarget.getAttribute("data-recId")) ;     }  })   Child component -   <aura:component >     <aura:attribute name="selectedaccount" type="String"/>
Id: {!v.selectedaccount}
 </aura:component>


What is ISCAS85 benchmark? I find it in a , is there any simulator for it?


Evaluate $\lim_{n \to \infty} \sum_{i=0}^{2n} \frac{i}{n^2 + i^2}$

This is my work so far:  $$\lim_{n \to \infty} \sum_{i=0}^{2n} \frac{i}{n^2 + i^2} = \lim_{n \to \infty} \sum_{i=0}^{2n} \frac{\frac{i}{n^2}}{1 + \frac{i^2}{n^2}} = \lim_{n \to \infty} \frac{1}{n}\sum_{i=0}^{2n} \frac{\frac{i}{n}}{1 + (\frac{i}{n})^2} $$  I am not sure where to go form here, by testing out larger values of $n$ I get that this limit seems to approach the decimal $\cong 0.804$, but I'm not sure how to get this.


Is there a way of moving unwanted villagers out faster?

Is there any way to speed up this process or indirectly 'force a villager to move out'?  I know they move out if it's time for a new one to move in, and I know you can't actually 'force' them persay.  I have a villager who has caused nearly all my other villagers to wear his.. rather hideous 'kiddie shirt'. ((the character's default shirt)) Aside from that his home blocks the perfect spot, very close to my river, for building a convenient bridge...  I've taken to pushing him, hitting him with a net, and I've been trying to find a Toy Hammer... He wanted to leave once and I told him to go, but then he said he wouldn't leave until I, "made an effort to get to know him" or some BS..  Are there any other ways I can get an unwanted, 'pesty', villager to leave town?


What is Superman's "normal" lifespan under the effects of a yellow sun?

Assuming Superman doesn't die in battle, and lives out his life under the effects of our yellow sun, what is his expected lifespan? Has DC Comics ever provided or suggested an answer?


Is it ever acceptable to use "but" after a period/full stop

View the following text as a generic example, disregarding issues of context, etc.     Stir constantly as the mixture begins to boil, watching the temperature regularly as the contents begins to settle within the pan. But be warned, <<[etc, etc]>>   I vaguely remember that "but" should never follow directly after a full stop, yet 'but' often falls directly after a pause in spoken conversation. Are there conditions that 'but' can be used after a full stop/period while writing? If not, what is the best way to make a notable pause before a 'but' in such a case?


How long does it take to unlock another frame by playing one of the base frames?

I'd like to get an advanced frame in Firefall. I've been told that I can use "Pilot Tokens" to unlock other frames without having to pay money.  How soon would I be able to unlock an advanced frame? Do I have to level a base frame all the way to level 40? More than once?


Tax implications in India for sending money to India from US

I am planning to transfer around $8K-10K in my parent's bank account(Joint bank a/c) in India . I have read a lot of posts(like )  but I am still not sure if my parents will need to pay taxes on the money that I send them since it is not a NRI/NRE/NRO account?


Gonna make it brief. Every time I try to render a specificscene, the software crashes (shuts down with no pop up or anything, it shuts down one second after I click render). As for others blend files, the rendering goes smooth and fine.  GPU I'm using: GeForce 920M. Download link:


Is there a simple combinatoric interpretation of this identity?

I came across an exercise in which we are asked to prove the identity:  $${2n\choose n}=\sum_{k=0}^n{n\choose k}^2$$  The exercise gives the hint:  $$\left(1+x\right)^{2n}=\left[(1+x)^n\right]^2$$  It's not too difficult to use the hint to prove the identity (the expressions in the identity are the coefficients of $x^n$ in the respective expansions of the expressions in the hint, which of course must be the same number), but I was wondering whether there is a neater equivalent-counting interpretation...  It's clear that ${2n \choose n}$ is the number of ways in which we can choose half the elements in a set (where this is possible): how can we interpret $\sum_{k=0}^n{n\choose k}^2$ equivalently?


Are multiple-users protected from each other differently than apps?

I confess that I come from the happy world of unix computers, and am used to the concept of user accounts and hence group gids and userids uids. For the occasional usage of an untrusted app (i.e. whatsapp/facebook) I have created another user profile for many reasons, but mostly because I wanted to reduce any potential access whatsapp/facebook might gain with regards to my main account.  Now the strange thing is that to the best of my understanding the protection mechanism of AOSP, relies on assigning a actually user ids to individual apps, as with those uid, the apps can be limited using that the underlying linux kernel provides Unix Discretionary Access Controls (i.e. file accesss dependent on uid and gid).  My question is if I am misleading myself that AOSP provides any stronger protection with regards to multi-users (in between the accounts) than it does with regards to the various apps to each other?


Meaning of 4th column in output of ls -l

In 2nd line here I see 'u001' then 'root', 1st is owner as I understand, but what is 2nd ?  drwx------ 13 u001 u001     4096 jun 21 03:29 .cache drwxr-xr-x 18 u001 root     4096 jun 21 03:30 .config drwxr-xr-x  2 u001 u001     4096 jun 21 02:54 Desktop   How could I change it to u001 ?


A proof for a theorem related to rank and matrix product.

For all matrix $\mathbf{M} \in \mathbb{R}^{m,n}$ and $\mathbf{N} \in \mathbb{R}^{n,p}$, the inequality $\operatorname{rank}\mathbf{M} + \operatorname{rank}\mathbf{N} - n \leq \operatorname{rank}(\mathbf{M}\mathbf{N}) \leq \min(\operatorname{rank}\mathbf{M},\operatorname{rank}\mathbf{N})$ holds. What would be a proof of this theorem?


Finding the steady state solution of a damped oscillator

A damped harmonic oscillator with   $m = 10$kg, $k = 250$N/m, and       $c = 60$kg/s is subject to a driving force given by $F_0\cos(\omega t)$,   where       $F_0 = 48$N.       (a) What value of $\omega$ results in steady-state oscillations with maximum       amplitude?       (b) What is the maximum amplitude? What is the phase shift at the       resonance   Studying for my exam tomorrow, I am kinda of confused to how to even begin this problem. What does it mean by steady-state solution?   I know maximum amplitude occurs when velocity is zero.  The diff equation looks as follows: $$a + \frac{cv}{m} + \frac{kx}{m}$$  and thats all I know. Please do not give me the answer, but please tell me how I can approach this.


How do I remove "Activities" button from Ubuntu 20.04?

I am using Ubuntu 20.04 and I don't like the button "Activities" at the top left of the screen. Is it possible to remove it completely? If not, can I remove the word, leaving the button's action there?


Question asking experience "jump to top" is incredibly annoying

Write question. Scroll down to bottom of page. Click "Review your question" button. Page scrolls to top and tells me my question is ready to publish. I now have to manually scroll back down to the bottom of the page to click the button now captioned "Post your question" to actually post the question.  Is this a big thing? No, and that's why it's so incredibly annoying, and so amazing that it wasn't detected and corrected when testing the new question experience. It's terrible UX, that's for sure. If my question doesn't need to be fixed before publication, please leave my window scroll position alone so I can click the button to actually post the thing.


Single apex message coming in red but not multiple apex messages

Couple of days back , I had a problem like  i have a page message and I want the text to be in red color.  after applying some css it worked out well.But if i am showing more than one error ,then only a heading "messages" comes in red and the messages are coming in normal color.I have added the image for your reference  CSS     and the page message is like  <apex:outputPanel id="errordisplayPanel" >         <apex:outputPanel Id="errorspanel">             <input id="isDiscountCheckPrfmd" type="hidden" name="isDiscountCheckPrfmd" value="{!isDiscountCheckPrfmd}" />             <c:Displayerror id="errordisplay" errorList="{!lstAllError}"  />
           </apex:outputPanel>

                             <apex:pageMessages id="msg2" />     </apex:outputPanel>


Applied for B2 Visa but got B1/B2. Could I use it for Business purpose?

Last month I applied for B2 - Tourism Visa(planning to visit my sister for this Christmas) from India. In the DS160 and also in the interview, I gave the purpose as tourism. Only four questions asked:   Purpose and time of visit How long I will be there My company name My annual salary   And that's it. My visa got approved. I got my passport with visa stamped yesterday.  To my surprise, it has B1/B2 stamped and not just B2. Before I applied for B2, there was a proposal for me, from my company, to visit our head quarters for some hands on training. Since the plan was not confirmed, I went ahead with B2.  Could I use this to go for tourism as well as business? Like visit my sister for 2 weeks, go to my office headquarters and get the one week long training and come back to India?  Questions are:   Is my employment details added to my visa? If yes, will those details be absent as I applied for travel? Will I be denied entry if I state my purpose as pleasure and business but given my purpose as pleasure at the time of applying for visa? the difference is very short time indeed(max of 3 months by the time of applying visa to the time to travel)   I checked the site and  and  seems to be closer to this question. Former is the reverse of my query and the latter is closed as a duplicate of former without any answers.   question seems to be the answer for whether B1/B2 is valid for Business trip. My question differs in this that I will be mixing both my business and pleasure in single trip but stated my purpose as travel only by the time of application. The main factor here is time. In the other question linked, the time interval is lot more and one cannot question the intention of the traveler while using same visa for business purposes. However, in my case, it would seem like my intention of travel changed to business within a month and it could be easily questionable while I enter the country.


How many 5-letter words are possible out of a 6-letter word?

How many 5-letter strings are possible out of the 6-letter word APPLES?


In SharePoint online the calendar default new form disappeared, and whenever I try to create a new one I keep getting:  I have tried clearing the SharePoint designer cache but I keep facing the same problem - any solutions out there for me to get my default newform back?


Am I safe?? [trying to prevent sql injection]

I was wondering if I'm safe from SQL injection if I have this in a script:  < script>      //some stuff      var item = <?php echo json_oncode($PHPVAR) ?>      item.replace(/"/,'&quot').replace(/'/,'&#39');      //do more script stuff with item  < /script>   currently using Laravel (PHP), with PDO Are there anything else that I should be aware of/look out for? (I didn't whitelist/blacklist before submitting to database b/c PDO does that for me from what I understand)  Also I'm asking b/c item is taken from a user input and it dynamically creates HTML using the value of item


Is purchasing a building you've partly built wasteful?

If you're partly built a building, and then you purchase it, you still have to pay full price (unlike earlier versions of Civilization).  Is the build input lost, or is it refunded somehow, similar to the cash refund you're given if someone else builds a Wonder before you?  Does the same thing happen when you remove a partly built job (whether it's a unit, building or Wonder) from the build queue?


Testing correlation between a Boolean and integer variable

I have data that looks like this:    Is there a standard test that I can use to evaluate the correlation between the rank and Boolean attribute?


How to make a function accessible in both window.load and document.ready?

I have created a function that has the capability to copy the specific data in each table cells but my problem is that it cannot be accessed after the page is loaded when I put it in $(window).load(function() {}); and if I also put it in $(document).ready(function () {});, some of the table cells is not having the result I want. I'm able to solve my problem by creating the function in both window.load and document.ready but it's not what I want since it's a bit space consuming and not a good coding practice. How can I achieve a result somewhat like this.  $(document).ready(function () {    myCreatedFunction(); }); $(window).load(function() {    myCreatedFunction(); }); //and somewhere in the page in which can be accessed by both methods  var myCreatedFunction = function(){     //some other actions }


poll() failed, context incorrect? - Example: bpy.ops.view3d.background_image_add()

I keep on getting context errors in the Blender Python API.  I don't understand the issue of the context in the API, how do I know which is the correct context?   Thanks!


What happens in the event of a standoff in Magic?

What happens in a game of magic if neither player can win or lose?  Examples:   Both players have empty libraries and control  on an otherwise empty board. One player controls  and  and neither player has a way to remove either from the battlefield. Both players have empty libraries and control some lands and  on an otherwise empty board. Both players have some lands and a copy of , but no other way to win. One player has an empty library but is using  to prevent themselves from being milled.


How to make the OS think a removable media drive is non-removable?

I'd like to be able to use a USB pen drive as if it's an internal drive - is this possible?  I saw some info about flipping the 'removable flag bit' of the drive using terminal command  dd if=/dev/zero of=/dev/disk2 bs=1 count=1   however, after trying with a number of 64 GB pen drives from different manufacturer I always get the message  Operation not permitted   I tried SUDO before the command (eek) but no difference.  Any other ways to do this, or perspectives to add?


I need to increase the size of my home partition. Since the /home is at the bottom of the list, I really don't have much idea on what l should about it. Any help is appreciated.    Above link is a screenshot of my Gparted application.  As you can see I have 100 GB of unallocated memory.   Is there any way to allocate some of it into my /home partition?


Rocket crashes back to Earth that has technology, but doesn't use it much

I read this short story about 30-40 years ago. I wish I had kept the title on hand.  A rocket crashes back to earth centuries after the earth has gone through a form of destruction with few survivors.   One of the rocket men tries to reintroduce technology, only to be shut out by the locals.  After time, most reintegrate back into society, except for him.  A day comes when one of the females is due to give birth and a group is being gathered to go to her. The former rocketman wonders how they will travel quick enough to be at the birth. A local pulls an helicopter out of a barn, to the rocketman's surprise.  The answer to his question: just because we have technology capacity, doesn't mean we have to use it.


What does "Kill 50 enemies while on fire" mean?

A mission for the random armor selection is to "Kill 50 enemies while on fire". I take it to mean that I should kill 50 enemies in total "at very low health", but getting the counter to increase is very hit and miss.   What does "on fire" mean? Is the counter reset each round?


I am reading Atiyah MacDonald`s Commutative Algebra textbook. In Page 91, next paragraph, I do not understand part of the following:      If $A$ is a local ring, $m$ its maximal ideal, $k=A/m$ its residue field, the $A-$module $m/m^2$ is annihilated by $m$ and therefore has the structure of a $k-$vector space.    I understand that $m/m^2$ is an $A-$module. I do not get how $m/m^2$ is annihilated by $m$. Why does one need this statement (i.e. annihilation by $m$) to conclude that  $m/m^2$ is a $k-$vector space ? I mean $k$ is a field, so  $m/m^2$ is automatically a vector space as it is a $k-$ module. Finally why is $m/m^2$ Special and not $m/m^n$ for $n>2$?


Let $\lim\limits_{n\to\infty}a_{n+1}-a_{n}=\alpha$. Show that $\lim\limits_{n\to\infty} \frac{a_n}{n}=\alpha$.   Since $\lim\limits_{n\to\infty}a_{n+1}-a_{n}=\alpha$, we have that for all $\epsilon>0$ there exists $N\in\mathbb{N}$ such that  $$|(a_{n+1}-a_n) - \alpha| < \epsilon \quad \forall n>N.$$ We wish to show that for all $\epsilon>0$ there exists $M\in\mathbb{N}$ such that  $$\left|\frac{a_n}{n} - \alpha \right| < \epsilon \quad \forall n>M.$$ So, \begin{align*} \left|\frac{a_n}{n} - \alpha \right| &= \left|\frac{a_n}{n} - \frac{a_{n+1}}{n} + \frac{a_{n+1}}{n} - \alpha \right| \\ &= \left| \frac{1}{n}(a_n - a_{n+1} - \alpha) + \frac{a_{n+1}}{n} + \sum_{j=1}^{n+1} \frac{\alpha}{n} \right| \\ \end{align*} I tried continuing with this pattern, but I did not get anywhere.


I just received a shameful F on 1st Year Writing. How negatively will grad school look at this grade

So this is the first time I am posting on this website, so I am sorry for any possible breach of etiquette.  I have just finished my first year with a cumulative GPA of 3.55. However, with that I have also received an F on 1st year Writing due to late submission. The excusable reasons were lack of motivation and the pressure from 3 cumulative finals, but the main reason was my procrastination habits. I wonder if grad schools will single out this F as me being a potentially irresponsible person, or will they overlook it if I get good results on most of the other courses. Also, will redoing this course with an A helps the overall outlook of my portfolio much?  I appreciate if anyone can share any anecdotes about accepted grad students with an F or two in their portfolio so that my conscience would stop gnawing on me.


Windows 7 keeps turning off Aero theme, how to disable such annoyance

I run my daily work load in Windows 7 inside a VMware Workstation 11.1 VM, with 3 monitors(VM using all 3 monitors in full screen mode). The graphics performance inside VM is not so fast, and quite oftenly(every hour) Windows 7 force the desktop theme to be "Basic", with a prompt of "Windows has detected that your computer's performance is slow". Actually the Basic theme does not improve VM graphics speed a bit, and I have to manually turn the theme back to Aero (because Basic theme is just ugly).    So my question is, is there a way(maybe tweak) to disable the stupid behavior of "force turning off Aero theme"?  There has been someone asking rougly , but unfortunately no satisfying answer yet.    As magicandre1981 suggests, 10~20 seconds after the switching-to-Basic-theme happens, I capture GPU graph info with Process Explorer v16.01, but still seems no clue.   ========== UPDATE 1 =========  Although I cannot find a way to suppress Windows' Aero-turning-off behavior, I managed to find a way to avoid it. Thanks to the first comment pointing out observing GPU info inside the VM, and I managed to increase the dedicated GPU memory to 800MB and the turning-off-Aero symptom does not appear any more, at least for recent two days.  The workaround is simple: Simply downgrade virtual machine hardware version from v11 to v10. Now I see GPU info as below:    Now my Dedicated GPU Memory is 851968K, and the "current" value goes from 110MB(initial boot up) to near 250MB(run for two days).  Although VMware Workstatoin 11.1 provides a setting to increase Graphics memory to 2GB (), I found it no help. It just increase the so called "System GPU Memory", and as you can see, my original setting for the VM was 1GB, and procexp reports only 64MB consumed. So it would be stupid to further increase it to 2GB.  So, I'm afraid VMware Workstatoin 11.1.0 has done a lame job regarding its virtual graphics hardware, maybe a very subtle problem.  Note: No manual tuning of .vmx content involved.


Can a twenty-year-old bring to the USA alcohol purchased legally in Spain?

I overheard a friend asking another friend whether she, being of legal age here in Spain, would have any trouble taking wine purchased here back to the USA where she is not allowed to buy it.  The response was merely anecdotal, so I decided to try to find better information.  A person over eighteen can legally buy alcohol in Spain. If under 21, can she (USA citizen) bring some back to USA? If not, what are the consequences for the attempt?


Jquery - detect the click outside of input

<input id="ok" />   $('.hor-minimalist-a').on('blur','#ok',function(){  });   with this code above, i can handle events which fire If i leave the input field.   How can I detect if someone clicks outside of inputfield without coming to input. I mean the user never came to this input field before, so there was no focus at all.   $('.hor-minimalist-a').on('?','#ok',function(){   ? });


Gradient descent derivation in Eigenspace

I am trying to decode article on   I was able to follow everything until the part with a change of basis x$^k=Q^T(w^k−w^⋆)$ to eigenspace... I conceptually understand what it means, however, I don't fully understand how we derived $x^k$ variable and what this variable represents, this part is quite confusing to me.  On one hand, we have symmetric Q matrix (why is it transposed?) and also $(w^k-w^*)$ which should represent how far is $w^k$ from optimal $w^*$. Unfortunately, I cannot put it together, and I am unable to derive this from anything mentioned before... Can you explain a little bit more about the problem? Is it just simple translation of some of the previous formulas to the Q basis (which I somehow missed) or something totally different?  Thank you in advance!


Understanding the exclamation mark (!) in bash

I used   history | less   to get the lines of previous commands and from the numbers on the left hand side I found the line I wanted repeated (eg. 22) and did  !22   at the command prompt and it worked -- executing the set of commands on the line I did at that time. I cannot figure out where the exclamation mark is used, what does it represent in terms of actions taken by bash, and where to use it. From the documentation I do not see an explanation that is 'tangible'.


Re-entering Schengen area after being out of the country for 90 days but before 180 days is up

Can you re-enter Schengen if for example you entered October 1st and left 60 days later December first but want to come back for another two months before the end of the 180 days?


Definite article with proper nouns, titles followed by a common noun

Over time I developed this rule where if a title or a proper name is followed by a common noun that represents the class of the entity I am referring to, then I use the definite article. In Example 1, the title of a publication in the first sentence is followed by the noun "whitepaper", thus the definite article in front of it. Is this a valid rule? Examples:    The "Advanced programming in Java" whitepaper was an excellent read.  vs. "Advanced programming in Java" was an excellent read.    The Microsoft Office 2010 product was released last year.  vs. Microsoft Office 2010 was released last year.


Where can I ask for hardware requirements for programming?

I need to buy a new pc for web programming. This will involve local servers, database servers, etc. And programming frameworks.  Is there somewhere I can ask about hardware specifications for this?  Note: I see some misunderstanding. Please read my question. I am not asking for a hardware recommendation. I am asking specifications for a pc that can be used for this type of programming. Just the programming and smaller tests. (At the moment I am considering tweaking Amara a bit. You can find it on GitHub. I am also considering a mix between Evernote and Zotero. Those kind of things.)


After I downloaded the newest Minecraft patch the animals are still escaping their pens. What do I have to do in order to keep my animals from escaping? They seem to be glitching out of the pens. How can I prevent this?  Below is a video of how my pens are set up.  All types of animals are escaping their pens. The pens are just constructed using fences in a 4x6 block. I'm on Minecraft version  1.6.4.  The cow in the video glitched into the solid dirt enclosure.


How to migrate a WordPress installation from one site to another, including all images?

I need to move a WordPress site hosted on Dream Host to the companies servers. To do so I used the built in import and export feature that comes with WordPress (using a WordPress export file). However, it did not copy over images from the site, and didn't preserve the featured images.  Using import/export, is it possible to copy over the images and featured images as well? If not, is there another method I could use?


Is there anywhere online where I could simulate the schrodinger equation with different Hamiltonian's?

I have a code which simulates the Schrodinger equation and it works good for the harmonic potential, I have checked that. Now, i have changed the Hamiltonian, I have the results but I want to compare them with a good working simulation result to know if my simulation is correct. Is there something like that?


Is omitting an article within a title is actually correct?

When I was in an English class, I was assigned to write a summary of one theory in a group and after finishing it, I tried to make a title of it but I wondered if there should be an article before 'summary' because often I see some sentences without articles. I didn't add an article anyways... But is that actually correct?


Why is there no light passing through the window?

I have attached a screen shot of no light passing through the window. The light strength is high, and the glass material I think is good. Why is there not a pinch of light passing or traveling inside the room. In the image the window glass is all black. What is missing in my nodes, so that light can travel inside the room?


How to display and use operator properties in a custom UI panel?

For example, as you can see in the keymap preferences, there are operators that have properties, like this Smooth Vertices:    With this little code row.operator("mesh.vertices_smooth") I can make a button to execute this operator in my UI panel    So how can I do the same with those properties and checkboxes, for them to show up in my custom panel, so then I can set some settings before clicking the button?  This is in blender 2.8 by the way..  Thanks...


Choosing power supply, how to get the voltage and current ratings?

Power supplies are available in a wide range of voltage and current ratings.  If I have a device that has specific voltage and current ratings, how do those relate to the power ratings I need to specify?  What if I don't know the device's specs, but am replacing a previous power supply with particular ratings?  Is it OK to go lower voltage, or should it always be higher?  What about current?  I don't want a 10 A supply to damage my 1 A device.


A button that runs an external program from a Beamer PDF presentation

I want to add a "run demo" button to a Beamer presentation (PDF file) that will launch an external Java application.  Can this be done somehow - Embed an "exec" command inside a PDF using LaTeX/Beamer?


Error in Page numbering in table of contents

I want to create a report for my project and I wrote a code but it is showing some error in table of contents. The page numbering goes fine in the beginning but as chapter 1 starts its shows the numbering as 2 but in the document the page numbering is 1. The document should be about 50 pages. Here is the sample of the code I wrote:    \documentclass[12pt,a4paper]{report}   \usepackage{lipsum}   \usepackage[explicit]{titlesec}   \titleformat{\chapter}[display]{\bfseries\centering}{\huge Chapter \thechapter}{1em}{\Huge #1}   \usepackage{pgf}   \usepackage{pgfpages}    \pgfpagesdeclarelayout{boxed}   {       \edef\pgfpageoptionborder{0pt}   }   {        \pgfpagesphysicalpageoptions         {%              logical pages=1,%         }        \pgfpageslogicalpageoptions{1}         {               border code=\pgfsetlinewidth{2pt}\pgfstroke,%changes the width of border               border shrink=\pgfpageoptionborder,%               resized width=.95\pgfphysicalwidth,%change the size of border               resized height=.95\pgfphysicalheight,%               center=\pgfpoint{.5\pgfphysicalwidth}{.5\pgfphysicalheight}%make the border to                display in center               }%         }   \pgfpagesuselayout{boxed}  \usepackage[utf8]{inputenc}      \usepackage{listings}  \usepackage{amsmath}  \usepackage{amsfonts}  \usepackage{amssymb}  \usepackage[a4paper,left=1.5in,right=1in,top=1in,bottom=1in]{geometry}  \usepackage{graphicx}  \begin{document}  \begin{center}  \thispagestyle{empty}  \parskip=8pt%  \vspace*{1\parskip}%  \textbf{SYNCHRONOUS \& ASYNCHRONOUS DESIGN}   \textbf{Project Title}   A Project Report Submitted in Partial Fulfillment of the Requirements for the Degree of  \parskip=20pt   \textbf{Course}  \parskip=4pt   \textbf{Branch}   \textit{By}   \parskip=8pt%  \textbf{Name of Student}   \textbf{College ID}   \begin{figure}[ht]  \includegraphics[width=2.2098cm, height=2.2098cm]{image1}  \centering  \label{4}  \end{figure}   \textit{Under the supervision of}  \parskip=24pt%    \textbf{Guide Name}  \parskip=4pt   \textbf{Guide Designation}   \textbf{Company Address}  \begin{figure}[ht]  \includegraphics[width=2.8cm, height=2.8cm]{image}  \centering  \label{7}  \end{figure}   \textbf{College Department}\\  \textbf{College name}\\  \textbf{College Address}\\  \textbf{Jan-June (2020)}  \end{center}   \addcontentsline{toc}{chapter}{CERTIFICATE}  \chapter*{CERTIFICATE}  \pagenumbering{roman}   This is the certificate.   \addcontentsline{toc}{chapter}{ACKNOWLEDGMENT}  \chapter*{ACKNOWLEDGMENT}   Acknowledgment    \addcontentsline{toc}{chapter}{ABSTRACT}  \chapter*{ABSTRACT}   Abstract goes here.....    \addcontentsline{toc}{chapter}{CONTENTS}  \tableofcontents    \addcontentsline{toc}{chapter}{LIST OF FIGURES}  \listoffigures    \addcontentsline{toc}{chapter}{LIST OF TABLES}  \listoftables     \chapter{INTRODUCTION}   \pagenumbering{arabic}    Introduction    \section{section}    \subsection{part}    \end{document}   I tried different solutions available online but none of them works for me. Can someone help me with this?


Why my if condition doesn't work of Firebase DatabaseReference

I am trying to make an app. Where if the userId has a specific value then it goes to another activity else it goes to the onCreate method. But every time I execute it, it goes to one way.  For example, my database status has value NotGiven, So for not given value, it goes to another activity. But every time it goes to another activity for any other word also.  Database pic:    "tooltip"  Below I gave my code:  @Override protected void onStart() {      firebaseUser= FirebaseAuth.getInstance().getCurrentUser();      if (firebaseUser!= null){          final String userID = firebaseUser.getUid();          final String binum1="NotGiven";         String null1="";          referenceChecking = FirebaseDatabase.getInstance().getReference("Riders").child(userID);           referenceChecking.addListenerForSingleValueEvent(new ValueEventListener() {             @Override             public void onDataChange(@NonNull DataSnapshot dataSnapshot) {                  Rider rider=dataSnapshot.getValue(Rider.class);                 String binum=rider.getStatus().toString().trim();                  Toast.makeText(getApplicationContext(),""+binum,Toast.LENGTH_LONG).show();                  if (binum !=binum1){                      startActivity(new Intent(getApplicationContext(),UnderConstruction.class));                     finish();                  }              }              @Override             public void onCancelled(@NonNull DatabaseError databaseError) {              }         });            super.onStart(); } }


From  I understand that &> /dev/null in zsh redirects both stdout and stderr to /dev/null. Hence,  echo a &> /dev/null   gives no output.  However, when I do  echo a &> /dev/null | cat   cat will print the a, where I expected it to print nothing.  What is going on here?


Move all files from multiple subfolders into the parent folder

I would normally open the parent folder and search for * in order to select all of the files in subfolders, but in this instance, I have over 1,000,000 files that I need to sort through, so my explorer often crashes when trying to copy that many files through the GUI. I am not sure how much more effective this will be through the command prompt or a batch file, but it is worth a try, I suppose.  What I need to do is make it so that  |parent |    |123 |    |    123abc.png |    |456 |    |    456def.png |    |789 |    |    789ghi.png   becomes  |parent |    123abc.png |    456def.png |    789ghi.png   Yes, my actual file structure has the first 3 characters of the file name given to the folder name, if that can help at all in sorting these.


I'm having some trouble with polar plots. I have to plot negative values, but without changing direction. I tried to set the ymin value to be negative, but it doesn't work.  \documentclass[10pt,border=10pt]{standalone} \usepackage{pgfplots} \usepgfplotslibrary{polar}  \begin{document} \begin{tikzpicture} \begin{polaraxis}[    xticklabel=$\pgfmathprintnumber{\tick}^\circ$,    ymin=-10,    xtick={0,30,...,330}] \addplot table{    0  -1     30 -2    45 -3    60 -4    75 -5    }; \end{polaraxis} \end{tikzpicture} \end{document}   Any suggestion?  For clarity, this is what I expected.


Seeking appropriate statistic to measure spatial autocorrelation of points with binary values

I am trying to determine the level of spatial autocorrelation in a point dataset.  The attribute I'm interested in is binary (presence/absence of a species), for which Moran's I is not appropriate.  On the other hand, Joint Count statistics, which are typically recommended for binary or categorical data, apparently are not appropriate for point data. What is an appropriate statistic to measure global and/or local spatial autocorrelation of points when the attribute of interest is binary?


Ubuntu touch on a Medion Lifetab E10320 possible?

This is a long shot since my tablet is not listed in the supported devices, but is there any chance that it might work anyway?  Android 4.2 Tablet E10320


I would like to create a textbox in a windows form using C# .Net, that will be able to handle simple calculations. For example, if the user writes in the textbox =5*7 then when the textbox gets validated the textbox.Text = 35.   My question is how can I convert the string "=5*7" to doubles and symbols so as to make the calculations.


how to host multiple pages from diferent domains all together?

I create landing pages in order to launch PPC campaigns for my customers. However, I would like to host them all together under a sub-domain of MY website.   For example:  I want that someone who visits www.clientnumber2.com/landingpage could see the landing page and still the same URL www.clientnumber2.com/landingpage, but actually host it myself.  The same for client3, client4, and so on...


.on('change') doesn't fire for dynamic textbox input

I have a datepicker that is setting the value of a textbox. Every time the text in that text box changes, I want to submit the form. Here is a snippet of the code that I thought would achieve this:  $(document).ready(function() {   watchDateFields(); }  function watchDateFields() {   $('form .date_field').on('change', function() {     this.form.submit();   } }   The .date_field input gets dynamically set, but for some reason this doesn't fire the change event?


Looking for explanation of pstricks measurement units

I am looking for explanation of how pstricks deals with measurement units. I am trying to write my custom postscript-only drawing commands, to be used within the \pspicture environment. For explanation why I need that, read at the end.   I need to start by writing a postscipt command that draws segments. However, when I draw a segment of length 72 postscript units, I do not get the same result as when drawing a 1-inch \psline. What is going on? How does pstricks measure units?  [Edit for clarification:] The first two commands are supposed to produce equal length lines but they don't. Why?  \documentclass{article} \usepackage{auto-pst-pdf} \usepackage{pst-plot}  \begin{document} \psset{xunit=1cm, yunit=1cm} \begin{pspicture}(0,0)(1,1) \psline(0,0.1)(2.54,0.1) \pstVerb{newpath 0 0 moveto 72 0 lineto stroke} \pstVerb{newpath 0 -600 moveto 7200 -600 lineto stroke} \pstVerb{newpath 0 -1400 moveto 8000 -1400 lineto stroke} \end{pspicture} \end{document}   I tried reading the source pstricks.tex but I find it unreadable.   I am trying to write a package that draws fancy things such as 3d vector field graphics, etc. Previously, for such purposes I've been using the \multido macro, and I've found it to be so poorly designed that I prefer doing everything in postscript directly.  I've used already available packages (for example, pst-3dplot) and I've found them to be very much wanting and completely unreliable.  As a result I prefer to write everything myself.   To do more complicated things such as vector fields/surfaces, I need to be able to plot 2d segments correctly.   On a related note, what does the \pst@number\psyunit in the pstricks.tex file do/stand for? [Edit: to elaborate] The code:  \makeatletter \pst@number \psxunit  \makeatother   prints a numerical value of 28.45274. From the naming of the variable, I would expect that it measure the postscript units needed to draw 1cm, but those are 72/2.54 = 28.346456693. So, this variable must stand for something else. What?


Prime ideals of the ring of integers lying over $p\mathbb{Z}$

Let $A$ be the ring of all elements of $\mathbb{C}$ that are integral over $\mathbb{Z}$, and $p\in\mathbb{Z}$ a prime element. Are there infinitely many prime ideals of $A$ lying over $p\mathbb{Z}$?   I know this conclusion is true for a number field, i.e. when we change $\mathbb{C}$ with a finite extension of $\mathbb{Q}$. But, I can't answer this question?


Is the structure "wise men are the people having or showing the ability" natural in Engish? Should it be "Wise men are the people who have or show the ability"?  Wise men are the people having or showing the ability to make good judgments based on a deep understanding and experience of life.


Why do people buy the stocks of companies that do not pay a dividend and do not have steady growth?

For example, consider an airline company like AIR FRANC KLM.  It doesn't manifest steady growth to support the hope that share price  would be higher in the future. At the same time it doesn't  pay a  dividend. In addition to this, it's prone to risks like CoronaVirus.  And yet, people buy its shares.  This question may be a duplicate of  where  the answers  suppose that it's because the company will be more valuable in the future (like IT  companies).  I see the benefit of buying their shares right now because the company will recover from the Coronavirus and then selling them in the future  when the price is stable, I don't see any benefit in buying it.  But still, people do?  Am I missing something?


I have installed the MikTeX 64 bit version for Windows, but the interface of the TeXworks editor uses some foreign language. During installation, it did not ask me my language preference. Is there an option to get back to English, I cant find any option regarding the same.


Why was the Holdo manoeuvre not used earlier?

This question is related to "The Last Jedi":  The maneuvre that vice admiral Holdo (with the purple hair) uses towards the end of the film seems remarkably effective.   It seems that it would have worked pretty well much earlier. Especially as two other ships were just allowed to run out of fuel and be destroyed.  It seems doing it earlier with different assets would have incurred less losses. Yet nobody seemed to consider it. Any in universe reason why?


Giving permission 777 to folders/files Cons?

I am trying to understand how giving 777 permission to folders or files works. I did some research and understand that 777 permission is not the best when it comes for security. Referring to Web application directories/files.  I do understand first sets of number which are the owners and groups, However I would like to clarify giving 7 permission to others. Who are the others, users within the server? Or anyone (even public users who access the website through the browsers)? And how others and what type of threat can others cause if the website folder/file had 777 permission?  And is there certain circumstances where it's ok to give 777 permission to folders/files, such as example of images, anything more out there?


Will upgrading Ubuntu remove installed software?

I am planning to upgrade Ubuntu 15.10 to 16.04 and I was wondering if it will erase the installed software e.g., openCV, Unity Tweak Tool etc.


Auto-protect questions that get more than N answers from new users in a 24-hour period

Expanding the criteria for auto-protection has been discussed in the past:  But I think that discussion addresses the wrong problem:  Protecting a question with a large number of answers doesn't do anything to fix the problems caused by having a large number of answers. In most cases, the question should still be either cleaned up or closed.  Large numbers of answers does not necessarily indicate a honeypot for misguided newbies. While a fair number of these do fall into  territory, that's not universally true - and blocking outsiders from answering a question just because a lot of "insiders" have already gotten to it doesn't solve anything.  The occasional drive-by answer on an old, answered question isn't that much of a problem and we have existing tools for identifying and handling them.   Generally,  are sufficient for perpetually-popular posts. However, there is a scenario that isn't addressed by them: a question that sees a sudden, extreme increase in popularity and as a result attracts a large number of non-answers that must then be deleted. The classic case is a post that rises to the top of Reddit for a while, although we've seen similar effects from other sources (and even generated internally from links on our own Hot List or meta posts). Let me be clear: these 15 minutes of fame aren't inherently bad: a good question that attracts a lot of attention can also attract some really great answers. But there's always that temptation to just participate even when you've nothing of value to contribute - and moderating a sudden influx of such answers can be troublesome, particularly on smaller sites:  If no moderator is around, it falls on trusted members of the community to remove non-answers. We're working on distributing the load here, but this will still be labor-intensive on smaller sites.  When your first experience on a site is having your post deleted, it doesn't exactly endear you to the community there. Yes, you may well have Learned A Valuable Lesson from it, but we could be a bit more gentle about teaching that.  The communities on these sites, knowing full-well how troublesome such answers can be, may try to  questions that start to garner a lot of attention - potentially locking out good answers on questions that wouldn't actually be problematic if left to themselves.   That last one in particular concerns me. I think most users use their privilege responsibly, but the notion that "hot" questions need preemptive protection has proved stronger than common sense here - and I don't think we should fight it. Instead, let's... Expand the existing heuristics to protect questions that are demonstrating problematic tendencies, but haven't yet been proven problematic As explained in the title, this means protecting questions that've gotten more than N answers (deleted or otherwise) in a 24-hour period from users who've earned less than 10 reputation on the site (excluding any association bonuses). This would be a check made when the answer is posted - so if N is 3, the third answer from a new user would block further answers. On most sites, N can be fairly large - a threshold of 5 would protect questions like these on Stack Overflow:     On certain sites, we might want to set the threshold significantly lower. A threshold of 4 would protect questions like these on The Workplace:           Coupled with this change, I think it also makes sense to expand the  to allow users to unprotect questions that were automatically protected, thus allowing them to override the system if it becomes overzealous. Related:


Using importXML in in Google Sheets to pull data under a "b class"

Looking at this page:  There is a line that says "Profitable in 10 Months 14 Days", I wanted to pull the "10 Months 14 Days" to a Google Sheet. When I inspect the HTML code, this is what came up:  so I used this: =IMPORTXML("https://www.mycryptobuddy.com/BitcoinMiningCalculator/path?hashrate=110&powerCost=0.059&power=3250&hardwareCost=4050", "//div//h4//b[class='ng-binding']")  But it is not working unfortunately. I spent hours trying to figure it out and changing it and I managed to pull different things. Any ideas? Edit 1: I saw the answers before my question was migrated and I cannot see them again after migration. Thank you to the people that took the time to explain to me. I tried disabling Java and the content I am looking to import into sheets did not disappear: I tried HTML variations with no luck so I edited the IMPORTXML code to this: `=IMPORTXML("https://www.mycryptobuddy.com/BitcoinMiningCalculator/path?hashrate=110&powerCost=0.059&power=3250&hardwareCost=4050", "//div//h4//b")`  Which led to this import into Google Sheets (not N/A) : {{breakeven | breakevenFilter}} Is it time to give up or am I one step away from getting what I'm trying to do?


I'm on Ubuntu 14.04.3 LTS. I set a wget download running overnight and I wake up to the download complete but a frozen Unity interface. I changed to another tty and, with top, saw that the process ibus-daemon was using ~130% CPU. I killed it and the interface became unfrozen. I restarted the computer. Now, when I log in to Unity at the greeter, I am presented with the wallpaper and nothing else. What can I try to get Unity working?


Two subgroups of the same index must be conjugate under these assumptions

Let $G$ be a group and $n\geq 2$ an integer. Let $H_1$ and $H_2$ be two distinct subgroups of $G$ that satisfy $$[G:H_1]=[G:H_2]=n\text{ and } [G:H_1\cap H_2]=n(n-1).$$ I've been asked to prove that $H_1$ and $H_2$ are conjugate. My thoughts This is the same as saying that some coset of $H_1$ coincides with some coset of $H_2$, so I think the argument must be in the line of concluding that there cannot be so many different cosets. From the index theorem I've concluded that $[H_1: H_1\cap H_2]=[H_2: H_1\cap H_2]=n-1$ but I don't know if this is useful. I've thought of considering all possible intersections between a coset of $H_1$ and a coset of $H_2$. There are $n^2$ such intersections and only $n(n-1)$ cosets of $H_1\cap H_2$. By  I know that these intersections are either empty or a coset of the intersection, so there are exactly $n$ intersections that are either empty or repeated. I have no idea how to continue from this, any help would be appreciated. EDIT: I've also tried to treat the particular case $H_1\cap H_2=1$, in which $[G:H_1\cap H_2]=|G|=n(n-1)$, but I don't really see any shortcut in this case.


A special character is added to my input every second, messing up my commands and passwords

I've been looking for any case similar to mine and still haven't found one.  The story: I'm using arch linux, updated just last week, and it was working fine. I never configured auto-login, so I have to input my username and password everytime I boot. Today I decided to reboot, but when I tried to input my username I noticed a special character ^@ being added at regular intervals (aprox. once per second). I tried logging in while ignoring the character, and failed repeatedly, which led me to believe that the character was actually being added to my input, as if a key was stuck. I also tried changing to other tty but the problem persisted.  I didn't think it was a key stuck because to write that character I would need at least two keystrokes. I also booted using a bootable ubs stick and the problem did not appear, which proves it's not just a hardware problem.  Using the usb stick OS (and chroot), I updated with pacman -Syu, but it had no effect on the problem (note: I seem to have some messy dependencies with pandoc and haskel but I don't think they could have anything to do with this issue).  I turned it on and off a few times and noticed that the character started appearing in the boot sequence, right after the message of started udev Kernel Device Manager.   I never had anything like this happen to me, and it's very frustrating how it makes it completely impossible to even log in, so I can only work using the usb stick. I don't know how to even begin troubleshooting this, so any help is appreciated.


Android return statement in doInBackground doesn't exit method

I have the strangest case which challenges my understanding about the fundamental way Java works.    I have the following code which I step through using the debugger to the "return result == "OK" line, where I expect the execution for this method to finish. But it doesn't! If I continue stepping with the debugger, I see that it steps to the very last line (without throwing an exception) and returns false!  Can anyone shed any light on this?  protected Boolean doInBackground(Void... params) {      try     {         String json = buildJson();         String encryptedData = encrypt(json);         String base64Data = Base64.encode(encryptedData.getBytes(UTF8));         String url = webserviceUrl + "?data=" + base64Data;         String result = readUrl(url);          return (result == "OK");  // Debugger gets to here but doesn't return!     }     catch (UnsupportedEncodingException e) {         e.printStackTrace();     } catch (ClientProtocolException e) {         e.printStackTrace();     } catch (IOException e) {         e.printStackTrace();     }      return false;  // Debugger gets to here instead, and returns false! }


Sensitivity to initial conditions and topological transitivity

Forgive the possibly naive question, but I'm returning to a basic undergrad-level study of chaotic dynamical systems and can't quite seem to reconcile the notion that in order for a dynamical system to be considered chaotic, it must have positive global Lyapunov exponents. Such exponents, of course, drive the divergence of trajectories. However, topological transitivity implies that trajectories can get arbitrarily close as well over some finite time. It seems that positive Lyapunov exponents would disallow this mixing. Is there a point at which these positive exponents no longer describe the system, and the mixing behavior begins?


"Your Sites" in Android left sidebar shown in unpredictable order

In the Android app, left sidebar, there is an editable list of "Your Sites". In the editing pane, the sites are re-orderable (although awkwardly), and the order one places the sites in there is preserved, even after quitting the app and returning to this pane. One expects that order to be reflected in the "Your Sites" portion of the left sidebar when the editing pane is closed, but it is not.  I'm not sure what is determining the order of the sites in the left sidebar, it doesn't seem to be by date they were "pinned" into the list one wants to show, either.


If a man is standing on two weighing machines (scales), with one foot on each, Will both machines show equal weight or his weight will be distributed in two machines?


I just wanted to install npm via terminal and now I am just stuck with some dependencies.   It wants me to install a few dependencies, for example:  libssl1.0-dev nodejs-dev node-gyp   Even if I try to install these first, it tells me I need the predecessor before.  Last instance of dependency is libssl-dev and this seems already installed.  Target is to install npm for making this  run on my system.  Thanks for you help.


if the evolution makes the species better then why the leaf and trees are not black??  black colour absorbs more ligth than simply the green color so a black plant should make photosinthesis better then why aren't the plants black ?


How to remap "quit application" to Command+ESC system wide?

As of now it's set to ⌘Q everywhere which is very unintuitive and being next to ⌘W, which I use a lot, it's very annoying too.  ⌘Esc doesn't do anything (on my laptop at least) and I think it makes sense to remap the quit action to it. I think I can do it one by one - one app at a time. But is there a way I can change it for all the apps at once - from one setting, or using some tool?  And I would like ⌘Q to do something else or nothing at all.


How did Hagakure pass the UA entrance exam?

Since the theme of the entrance exam was to defeat the robots, characters like Shinso,despite having awesome quirks, won't be able to pass. But Hagakure, who was having a quirk good for stealth but absolutely useless for combat (well that might be an exaggeration, but I'm pretty sure she can't fight robots with that it), passed the test. How is this possible, considering we already have a character who couldn't join hero class just because his quirk was non-combat type?


Modern successor to Exploratory Data Analysis by Tukey?

I've been reading Tukey's book "Exploratory Data Analysis".  Being written in 1977, the book emphasizes paper/pencil methods.  Is there a more 'modern' successor which takes into account that we can now instantaneosly plot large data sets?


Is there a way to carry audio over ssh?   Say after connecting to remote machine through ssh -X I opened a browser and want to watch a youtube video. Currently I could only able to watch the video without any audio. But I want to hear the audio too. How to do that?


"Of all the visual arts, architecture affects our lives most directly for it determines the character of the human environment in major ways." I was reading an article and saw this sentence. I couldn't understand why this sentence is correct. Isn't "it determines..." a complete sentence itself?


Defining new custom projections in QGIS?

I'm trying to define a projection in . I want to add . From the  site I copied the proj4 line:  +proj=aea +lat_1=20 +lat_2=60 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs  Then I went into QGIS -> Settings -> Custom CRS and pasted the following into the window:    But when I go to view the projection within QGIS I see a very different set of parameters:    Is this ok?   I don't know enough about projections to tell if the parameters generated are the correct ones, or whether something else is going on. It also ignored the name that I provided which made me suspect the parameters may also be incorrect.   I'm using QGIS 1.7.3 on Windows 7.


Notation for infinite product in reverse order

This question is related to notation of infinite product.   We know that, $$ \prod_{i=1}^{\infty}x_{i}=x_{1}x_{2}x_{3}\cdots $$  How do I denote $$     \cdots x_{3}x_{2}x_{1}  ?    $$  One approach could be  $$ \prod_{i=\infty}^{1}x_{i}=\cdots x_{3}x_{2}x_{1} $$  I need to use this expression in a bigger expression so I need a good notation for this. Thank you in advance for your help.


Hearthstone: Good cost minions, but with downsides?

I'm trying to build a strong deck with minions such as Flame Imp, Arcane Golem, Leeroy etc. that have good stats for their cost, but have downsides. Write down/send links to as many as you know, from any class.


So I am solving a number theory problem and as the last step I have to figure out all perfect squares in the form of $103k-104$ where $k$ is an integer. I am stuck, is there any hint?


I changed my camera lens while my camera was on

I changed my camera lens while it was switched on. It was my first time doing this because I usually switch off my camera and change the lens but this has been the first time I've changed the lens while my camera was switched on. Is it dangerous? Will anything happen to my camera?


I'm a long-time Drupal 7developer, and tried a Drupal 8 install yesterday for evaluation. I installed a bunch of contrib modules. All seems ok, but when I go to the home page, I'm presented with a login screen. I want anonymous users to be able to see the site, how can I allow this? I don't see any settings to force login, and am not using the shield module.


Help I have inherited this old computer from my grandfather and I have no clue what the password is and without the password it will not update. does anybody know how to change the user password without the current pass or a way to find the current password? VER: 16.04 LTS OS: 64-Bit If you do have a answer can you make it in simple steps that a noob could understand... Thanks!


How much oxygen would be consumed on a 1 cm squared surface which is on fire?

I'm trying to figure out how much oxygen the  produces when he is on fire. I figure if I knew how much oxygen on average (per second?) is consumed by a 1 cm squared surface which is producing flame ( rapid combustion) I would then be able to take the average surface area of a human and figure out his oxygen burn rate.


n=raw_input("Enter no. of numbers in Fibonacci series: ") n=int(n) fib=[]    fib[0]=0   fib[1]=1   for i in range(2,n):     fib[i]=(fib[i-1])+(fib[i-2])    print fib      The error I'm getting: IndexError: list index out of range Help me with the mistake.


I want to use the Ubuntu Software Center to install software, but I cannot download them.  How can I give my proxy settings in Ubuntu terminal (just like we use cmd in Windows to choose IE proxy settings)?


I'm completely new to GDAL and I'm going to use it to work with satellite images, DEMs, etc.    I have some experience working with Visual C++ and the OpenCV library. And in fact my goal is to combine OpenCV, GDAL and OpenGL for developing software for remote-sensing purposes. The programming language will be Visual C++.  My problem is that in searching the net, I couldn't find a good book for learning GDAL and in fact most of the open source codes found in the Net are written in the Python language but I'm not familiar with this language and I don't want to get familiar.  Surely I know that the best language for programming with GDAL is Python but the rules of the company where I work force me to use Visual C++.   So with the conditions mentioned above, what do you suggest as the best way to study GDAL?    The first piece of program that I want to write would be:     Read a satellite image file with the help of the GDAL library.   Extract image's header information.   Write a program to  apply a Gaussian filter on the image that was read in step 1.   Convert the image read in step 1 to an image of the OpenCV family to do some other processing.


Many reopen votes available in the review queue

I have just noticed that we have had 63 reopen votes in the review queue all of a sudden. I was doing reviews, it was zero when it got bumped all. I am wondering why this may have happened. See the screenshot below.    I have  thread where the root cause was a change in the workflow, so I wonder if there is similar here again, or it is because of something else?  Thank you in advance.


Shortcuts and/or user-defined shortcuts for math symbols in LaTeX?

I am very new to being able to use LaTeX to type up mathematical papers, and I just got my "system" set up. Currently I have installed TexWorks, and MikTex, and I have put together a 'hello world' article which seems to run well.   I have also used the syntax "\usepackage{amsmath}" and "\usepackage{amssymb}" in the beginning of my .tex file to write math symbols, only because some online tutorial said so.   My question is, firstly, are those the only packages I need to use for writing math, and secondly, I remember reading about some shortcuts(?) that can be used for writing math symbols, and/or user defined shortcuts that can be 'set' in the beginning so as to reduce the amount of LaTeX code needed to write mathematical symbols. However, I do not know if this is true, and if it is, how to go about 'installing' such a thing.   Does such a thing exist? Am I able to make my own shortcuts?  Thanks!


What does static imply in import static org.mockito.Mockito.*;

What does static mean in  import static org.mockito.Mockito.*;  I have seen statements like import java.util.*; but it never had static.    Thank you


Unable to create a user with password via ssh

I tried to create a user with password via ssh (with root permission) like this:  ssh root@123.45.6.7 useradd -p $(openssl passwd -1 1234) newuser   By doing so, I could successfully create an account named newuser, but I couldn't login with the expected password (which is 1234)  It makes no difference if I add double quotes:    ssh root@123.45.6.7 "useradd -p $(openssl passwd -1 1234) newuser"   And then I was wondering if I can generate hashed password and save it as a variable locally, but still with no luck.  password=$(openssl passwd -1 1234) ssh root@123.45.6.7 "useradd -p $password newuser"   Is there something that I miss? Thanks in advance!


How do I use the cat command to show the contents of a text file with numbered paragraphs?

I want to print a text file in terminal with numbered paragraphs using the cat command.


How to prove the language of all binary numbers that are prime is nonregular using pumping lemma?

How to prove the language of all binary numbers that are prime is not regular using pumping lemma? I have seen  We have not studied the CFG so I do not understand that proof. I need a proof by  that shows the language of all the prime binary numbers is non-regular. the pumping lemma says: that for any regular language $L$ there exists a constant $m$ such that for any word $w$ in $L$ with length at least $m$ there exits a representation, $w = xyz$ , such that :  $length(y)\gt 0$ $length(xy) \le m$ $xy^iz \in language$ for any $i\ge0$


Alternative to Private Messaging in chat may be sending Private Contact Details?

(As discussed ) Despite Jeff being against it, I suspect that people are going to carry on asking for private/direct messaging. The main reason invoked that I have seen is being able to send other people 'private' contact details. I think that if you satisfy that need, it might remove some of the strength of the demand. Idea: people could enter their contact details once in their profile, then you'd have a special syntax/button for making them visible to a specific user. (This is more of a feature-suggestion than a feature-request, but I didn't want to create another tag)


Gauss' Law Generalization to all closed surfaces

I'm currently in an introductory physics class, and we've learned about Gauss Law defining the flux as  $$\int d\phi  = \oint EdA = \frac{q}{\epsilon_0} $$ and from what I understand the way to arrive at this equation is to assume a source at the center of a sphere, so the electric field at every point is the same. $$\oint EdA = E\oint dA = EA = (\frac{1}{4\pi\epsilon_0})(\frac{q}{r^2})(4\pi r^2) = \frac{q}{\epsilon_0}$$ So I understand how to derive Gauss' Law, and I see how it can be applied to spheres, but I can't see mathematically how this law can be generalized for any enclosed surface. Wouldn't there be a change in derivation for any other shape? Or am I missing something?


Prove the following: $$ gcd(n^a-1, n^b-1) = n^{gcd(a, b)}-1 $$ I am not even sure where to start. I tried some stuff, but I always reach dead ends.  How should I go about proving this?


Allow all users to use the deleted:1 operator to find their own deleted posts

This question is not a duplicate of  (which I was aware of and referred to it below) in its current state. That post received a  over 10 years ago and a lot has changed since then. All details are mentioned below.  It has always bugged me that the deleted:1 operator has the following two restrictions combined:  It can only be used to find one's own deleted posts. It's only available for users with 10k rep or higher.  I can see how allowing users to find deleted posts from other people could be problematic, but the second restriction doesn't really make much sense (at least to me) as long as the first one is enforced. I get that it might make   but I believe that it should be revisited. If the reason behind this restriction is to avoid complaints from users about their deleted posts, there are two counterarguments to that:  Experience  that it's unlikely to have a major effect:  Jeff's concern with allowing people to see their own deleted content was that "it would lead to unbelievable amounts of whining." As we've relaxed the restrictions, that hasn't happened. Jeff was right to be worried, but as it turns out he was wrong about how people would respond. That's a real encouragement.   Users can already (more easily) see their recently deleted posts anyway. And it's more likely for someone to complain about a post that was recently deleted than whine about an old post.   Some benefits of removing this restriction:  It will enable experienced users to search for their deleted posts on sites where they don't have 10k rep yet without  that might not work for all posts. Enable post-banned users to find their own deleted posts without wasting the time of moderators (anyone can guide them to using the deleted:1 operator rather than having to wait for a moderator).


I need to install SQL Server MSDE 2000 SP4 on Windows 10.  I have other machines that run Windows 7 and 8.1 and SQL Server MSDE 2000 works fine (with merge replication configured too).  Now I testing the same scenario with Windows 10, but setup is closing unexpectedly during installation.  I know that this version is very old, but is there a workaround to install it on Windows 10?


Accidently Moved Downloads to a Full Drive, Can't Move it Back

So, I made a mistake while moving the downloads folder, and now the Downloads folder is the drive. I can't move it because you can't move a full drive, so I don't really know what to do.


public class Solution {     public double myPow(double x, int n) {         if (n == Integer.MIN_VALUE) return 0;         if(n == 0) return 1;         if(n == 1) return x;         if(n < 0){             n = -n;             x = 1/x;         }         return x*myPow(x,n-1); // line 10     } }   above is my Java solution. However, I don't know why the leetcode compiler says: Runtime Error Message: Line 10: java.lang.StackOverflowError.  Thank you, guys. I found the problem is when n is large enough, it will takes a lot of time due to substraction. I should change in the way of binary search.  The accepted codes, although in 50.44%:  public class Solution {     public double myPow(double x, int n) {         if(x == 1) return 1;         if(x!=-1 && n == Integer.MIN_VALUE) return 0;         if(x == -1 && n == Integer.MIN_VALUE) return 1;         if(n == 0) return 1;         if(n == 1) return x;         if(n < 0){             n = -n;             x = 1/x;         }         return n%2==0 ? myPow(x*x, n/2):x*myPow(x*x, n/2);     } }


How can I stop setInterval on another button click?

I have created a setInterval function that scrolls onlimited times and two buttons start and end, I want when I click on start button the condition starts and when clicked on end the condition stops. Is there any way to do that? Here is my code:  pophtml:-   <button class="input-btn start-button"> Start</button>     <button class="input-btn scrap-button"> Export to csv</button>      <button class="input-btn end-button"> End</button>   popup js:-     document.querySelector(".end-button").addEventListener("click", function () {    chrome.tabs.query({active: true, currentWindow: true}, function(tabs) {         chrome.tabs.sendMessage(tabs[0].id, {action: "end"});     }); });   my content.js:-   chrome.runtime.onMessage.addListener( function(request, sender, sendResponse) {      var interval = '';    if(request.action == 'start'){     interval = setInterval(function(){         $(document).scrollTop($(document).height());               },1000);         }         else if(request.action == 'scrap')        {         alert('work in process');         }        else if(request.action == 'end')        {         clearInterval(interval);         }        else        {         alert('Wrong button placed')        } });   i tried it by using that previous method present but i am not getting which id to pass...


Will I know how much reputation I gained from the change in question rep?

and will be retroactively applied.  I know that the  when this takes place. I know that it will .  But, if I do not document how much rep I had on a particular site prior to the change taking place and compare it to my recalculated rep, is there a way to know how much rep I gained due to the new system?


How to prove for any complex numbers $a$, $b$, $c$, the inequality $$|a|+|b|+|c|+|a+b+c| \geq  |a+b|+|b+c|+|c+a|$$ is correct?


Does logger(1) command belong to util-linux? it is not shown in , but in .


I am trying to install katoolin on Ubuntu 18.04  I have done-      git clone https://github.com/LionSec/katoolin.git     sudo cp katoolin/katoolin.py /usr/bin/katoolin     sudo chmod a+x /usr/bin/katoolin     sudo katoolin   When I run sudo katoolin  it gives the following error-  File "/usr/bin/katoolin", line 8     print "Sorry. This script requires sudo privledges"                                                       ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Sorry. This script requires sudo privledges")?   What should I do? Thanks.


I'm not able to use wireless network (Wi-Fi) on ubuntu 20.04

im not able to connect to wi-fi in my dell inspiron 3543 running ubuntu 20.04, its detecting my internal wi-fi adapter when i use lshw command in terminal, it shows: *-network UNCLAIMED description: Network controller product: BCM43142 802.11b/g/n vendor: Broadcom Inc. and subsidiaries but when i open wi-fi in settings it says "wi-fi adapter not found". (my ethernet port is working) what to do ?


How to get command line of running program on Mac OS X?

I want a utility function that returns the full command line of the program from which it is called. In other words,  std::string cmd_line();  int main(int argc, char**argv) {    std::cout << "the current program command line is \""              << cmd_line() << "\"\n"; }   (or the equivalent C program) compiled with c++ -o my_program test.cc should produce upon running with my_program x=7  the current program command line is "my_program x=7"   Now, under linux, I manage to simply read this off /proc/pid/cmdline where the pid is obtained by getpid() (from unistd.h). What can I do under Mac OS? Is there a more portable way?    Note 1 added in Edit In the above example, one could of course simply use argv[]. But I want cmd_line() to be useable from third party library function w/o knowledge of argv[]. So, one would need to provide the argv[] information to the library providing cmd_line() at initialisation. Can be done, but is somewhat cumbersome. I'm looking for a way to exploit the program initialisation of the run-time system itself.  Note 2 added in Edit The related problem of obtaining the (absolute or relative) path of the running executable is subject of .


Looking for strategy to resolve: Could not load file or assembly

I have an issue with the following error: "Could not load file or assembly". The error speaks for itself: Micorsoft.Owin version 2.0.0.0 fails to load in System.Web.Http.Owin. But I want to use Microsoft.Owin 3.0.0.0 and the dll of System.Web.Http.Owin I do reference has version 5.2.2.0 which on its own should work with Microsoft.Owin.   So my question here is who is referencing  Micorsoft.Owin version 2.0.0.0?   And therefore: How can I find out which assembly is asking for Micorsoft.Owin 2.0.0.0?  Are there a recommended strategy for such issues?  What I tried to do so far is adding a binding redirect. But this would more be a workaround rather than a nice solution (and it did not work btw.):   <dependentAssembly>     <assemblyIdentity name="System.Web.Http.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />     <bindingRedirect oldVersion="0.0.0.0-5.2.2.0" newVersion="5.2.2.0" />   </dependentAssembly>   <dependentAssembly>     <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />     <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />   </dependentAssembly>


Prove that the number of isosceles triangles with integer sides, no side exceeding n, is $ \frac{1}{4}(1+3n^2)$ or $\frac{3}{4}(n^2)$ according to whether n is odd or even. I am able to count the number of isosceles triangles which have the length of equal sides greater than or equal to length of base. I cannot count the remaining triangles.


An urn has 4 balls of 4 different colours Red,Blue,Green,Yellow.

An urn has $4$ balls of $4$ different colours; red, blue, green, and   yellow. I pick one ball at random at first and if it is red, I paint   it blue and return it to the urn. If it is blue, I paint it green. If   it is green, I paint it yellow. If it is yellow, I paint it red. What   is the expected number of trials to get all $4$ balls of the same   colour?   Reminder:  $$\color{red}{red}\to \color{blue}{blue}$$ $$\color{blue}{blue}\to \color{green}{green}$$ $$\color{green}{green}\to \color{yellow}{yellow}$$ $$\color{yellow}{yellow}\to \color{red}{red}$$  I am really stuck with this problem. Help!


With patch 2.4, damage numbers are now compressed but I noticed that some are colored differently than others.  What do these colored numbers mean?  At first I thought any number in the billions are orange, but that's not the case.  I also don't think its critical hits because my crit chance is 60% but I still mostly see yellow numbers.


Cartoon about a group of teenagers whose souls travel to multiple worlds with monsters

I remember very little but enough... I know that there were 3 worlds, a real one, a mid-world kind of with a teleporter, and the world with all the creatures. The first episode was in the desert and there was a good monster that saved the main guys from a bad one. Before he saved them he said every end is a beginning and every beginning is an end.   Please help me; I've tried everything. I saw it on , I think it was not Japanese. I live in Croatia, so I saw it there. It was aimed at kids, but not younger kids. The main characters were human, around 15 years old. The teleporter was in the middle of a big structure. It was a 6 piece tp, so every circle was one, and it was shaped like a star. There were robots working there; they carried food and other things.  I remember that all the creatures thought that the humans are evil, all but the one, the "lord" of all of them. And yes, the main character got to the world by some sort of a device that he found and it belonged to another kid who lost it and they were able to transform in the creatures from the world by it. When they are in the "other world", their body stays in the real world and acts normally but their soul gets transported to the mid-world


Is there a heuristic explanation for the derivation of Heisenbergs Uncertainty Principle from String Theory?

Heisenberg famously derived his uncertainty principle by considering the disturbance that a measurement would have on a small enough system.  Of course in the mathematical formalism of Quantum Mechanics the relationship is derived from more basic principles.  How does String Theory account for it? Heuristically, and mathematically?


IllegalArgumentException: Context must not be null. while using picaso & Recyclerview

a getting this error "IllegalArgumentException: Context must not be null."when i am trying to load images using recylerview and picaso.  *I tried to use recylerview to display bunch of images which i was got done then i tried to use picaso to load the image load .  *I alos tried to use "this" keyword also but this did not work .  Main Activity.  public class MainActivity extends AppCompatActivity { //Dummydata or place holderdata.   final static int[] dummyImages={R.drawable.color_black,R.drawable.color_white,R.drawable.color_brown,R.drawable.color_dusty_yellow,R.drawable.color_mustard_yellow,R.drawable.color_red}; private RecyclerView mRecyclerView; private RecyclerView.Adapter mAdapter; private RecyclerView.LayoutManager mLayoutManager;  @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);     mRecyclerView = (RecyclerView) findViewById(R.id.my_recycler_view);       // use a linear layout manager     mLayoutManager = new GridLayoutManager(getApplicationContext(),2);     mRecyclerView.setLayoutManager(mLayoutManager);      // specify an adapter (see also next example)     mAdapter = new RecycleAdapter(dummyImages);     mRecyclerView.setAdapter(mAdapter);   }   }  My Adpater  public class RecycleAdapter extends RecyclerView.Adapter<RecycleAdapter.ViewHolder> {  private String[] adumyDataSet; private int[] adumyimage; private Context context;   // Provide a direct reference to each of the views within a data item // Used to cache the views within the item layout for fast access public static class ViewHolder extends RecyclerView.ViewHolder {     // Your holder should contain a member variable     // for any view that will be set as you render a row     public ImageView colorImageView;      // We also create a constructor that accepts the entire item row.     // and does the view lookups to find each subview     public ViewHolder(View itemView) {         // Stores the itemView in a public final member variable that can be used         // to access the context from any ViewHolder instance.         super(itemView);         colorImageView = (ImageView) itemView.findViewById(R.id.colorsBitch);      } }  public RecycleAdapter (int[] dummyDataSet){      adumyimage=dummyDataSet;  }  @Override public RecycleAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {      View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_view,parent,false);     return new ViewHolder(v); }  @Override public void onBindViewHolder(RecycleAdapter.ViewHolder holder, int position) {      Picasso.with(context).load(adumyimage[position]).into(holder.colorImageView);  }  @Override public int getItemCount() {     return adumyimage.length; }   }


Obtain and prove the rule for divisibility by $ 3$?

I was very confused by this problem, I don't even know what it is asking. Any help would be great :) thanks in advance.


hi every one i have big problem i want to include some graphics in my PDF but there are in other folder i want to include them with out moving them  i use commend    \usepackage{graphicx}  \graphicpath{c:/Documents/mypicture/mypicture1.jpg}  \begin{document}  \includegraphics[height=\baselineskip]{mypicture1.jpg}  \end{document}   but i have problem please help me i use xe-latex compiler. and what happen if they are more than one image for example :c:/Document/my pictures/picture1.jpg c:/Document/my pictures/picture2.jpg


Ideal generated by a subset of a non-commutative ring without unit

I need a confirmation on an exercise about ideals generated by subsets of rings. Let $a_1,\ldots\,a_n$ be the elements of a ring $R$. What are the elements of $(a_1,\ldots\,a_n)$ for the case of $R$ non commutative and without 1. In a commutative ring with unit is: $(a_1, a_2, ..., a_n) = \{\sum_{i=1}^m z_ia_i + \sum_{i=1}^m z_ia_i| z_i ∈ ℤ, r_i ∈ R\}$ so I think the answer is $(a_1, a_2, ..., a_n) = \{\sum_{i=1}^m z_ia_i + \sum_{i=1}^m a_ir_i + \sum_{i=1}^m r_ia_i| z_i ∈ ℤ, r_i ∈ R\}$


Show that the sequence of functions ${f_n}(x)=\frac{x}{1+nx^2}$ converges uniformly

For all $n\geq 1$, let $f_n: \mathbb{R}\rightarrow \mathbb{R}$ be defined by $f_n(x) = \frac{x}{1+nx^2}$. Show that the sequence of functions ${f_n}$ converges uniformly to some function $f:\mathbb{R}\rightarrow\mathbb{R}$.  My attempt: I think as $n\rightarrow\infty$, $f_n(x) = \frac{\frac{1}{n}x}{\frac{1}{n}+x^2}$ goes to $\frac{1}{nx}$, which goes to $0$ (is this true? I'm having trouble rigorously justifying it).  Then I want to show that for all x, $\sup_{x\in\mathbb{R}}|f_n(x)|\rightarrow 0$ as $n\rightarrow\infty$. This I'm having trouble with, as the reasoning seems similar to above, but I'm not positive.  Any help appreciated!