What will happen to our previous review stats with the new review system, and how will it affect the badge?

The previous review stats had more options which you could complete on a post than the new review beta seems to provide: flagging, voting, and commenting. While I'm not sure if any of these three will be present in the other review tasks yet to be created, I'm curious as to what you're planning to do with the stats that users have built up in the old system when you decide it's time to switch to the new one.  Will the stats somehow be combined, or are stats going to be completely reset? Resetting them won't hurt anyone who hasn't really reviewed anything yet or already has the Reviewer badge, but those who have been working towards it and might be close, that might be a bit of a stab in the heart. I personally enjoyed reviewing just because it was something to do; my goal was to get my numbers as high as possible. Simple right? But this leaves me in a bit of a grey zone. Do I continue reviewing like normal? Should I focus on one thing over another? I get that the premise behind it is helping the community, but it's a bit demotivating not knowing what will happen with the stats I'm building in the future.  As well, with all the changes going on with what you can actually do in the review panel, will the badge be changing as well? There are a lot fewer actions you can complete, and we're not exactly sure how the new system even tracks things. Presumably any action other than "Not Sure" would count as an "action" on the post, and every one you at least click a button for will increment your "reviewed" count. Is this intentional to encourage more of a "clean-up" behavior through reviewing rather than just letting people vote on things as actions, or will the badge be modified to compensate for the limitations of the new tasks?  In case you're interested:


In Minecraft Java Edition, one can summon baby zombies and drowned using the IsBaby NBT tag: /summon zombie X Y Z {IsBaby:1b}  Likewise, one can summon baby breedable mobs (Pigs, Cows, etc.) by giving them a negative Age NBT tag (the number of ticks until the mob grows up): /summon cow X Y Z {Age:-100000}  Since NBT is inaccessible from commands in Bedrock Edition, the above commands will not work there. How do I summon baby mobs in Minecraft Bedrock Edition?


Consider the ring of the formal power series $k[[T_1,\ldots,T_n]]$ ($k$ algebraically closed) where $\mathfrak m$ is the maximal ideal. If $f\in\mathfrak m^2$, why $$\frac{k[[T_1,\ldots,T_n]]}{(f)}$$ is a nonregular local ring?


How to get mathbb{1} to work in beamer? (or similar alternative)

Idk why beamer thinks changing \mathbb{1} to what it does is a good idea, but how do I get it back?


Browsing folders with more than 100000 images

I have a folder with 322000 images in it. When I go to that folder with any file manager it gets stuck in loading.  How can I go there and view or delete images?


Connection to internet lost intermitently

Every so often, Windows 10 Pro 1909 on my Dell XPS 8920 would be unable to open new internet connections. It's been like this for a couple years maybe (so earlier builds of Win10 as well). It usually resumes operation on its own without taking a reboot.  Yesterday I noticed I couldn't navigate the internet while a 4GB/~7Mbps download was in progress. As the downloads goes just fine, I can't have any other use for the internet. I have a 50Mbps link. I paused the download, and internet connectitivity restore shortly after. It might be coincidence.  I opened Resource Monitor and couldn't find anything suspicious, even though I'm not sure I would identify it if anything was there. I tried pinging an IP listed there but it failed. Today, the ping worked.  Tried navigating to my router's admin panel to no avail. That's really odd isn't it?  Notes:   On HOSTS file, I had this entry: 127.0.0.1 local.somedomain.com. somedomain.com could be offline every once in a while. I commented it out now. I don't recall it happening when connected through Ethernet, even though I use very rarely. (it happened just now, I plugged a cable, it took about 30s-1m to identify the Ethernet connection, at this point Internet came back, again, it can be coincidence. okay, internet lost over Ethernet now, I can ping the router but not google.com, internet works on phone) I could use my phone to browse the internet during that time.   PS: This question  is close to what I'm facing, even though here it's not just wifi, Ethernet too.  UPDATE  I thought I'd add another couple issues on other devices, which might be related.   Chromecast older design (have it for about 6/7 years) about 10 meters away through one wall, usually works well until loses internet and is unable to reconnect to wifi. Rebooting router usually brings Chromecast back. I've read it could be a Chromecast issue. Moto Z Play also loses wireless connection. I've read this is somewhat common issue. Never managed to fix, even though it was working fine for many weeks. Issue returned a couple weeks ago.   Also, I don't know how to manually update router's firmware, but I think ISP sends updates regularly. About a month ago, I setup Dynamic DNS (noip.com) on the router, but disable to see if it would help with connectitivity issues. Wireless card still gets a static IP from router.


Change text width in a specific part of a chapter or section

I'm new to Latex and was wondering if it'd be possible to change the text width for a paragraph without changing it for the whole document. Thank you.


Are there commonly used words to denote different gradations of friendship in English?

In English there is only one word for grade of friendship: friends. All of you agree that friends are different: with some of them you just drank beer few times, other you know for many years and you build strong bonds to them. There should be different words for that!  In Russian there are three words for different grades of friendship:   You met few times. You meet regularly, spend time, but don't have strong bonds. You are important to each other, bonds are strong. (Usually people have 1-10 friends of that sort)   So I am interested, are there commonly used words to denote different gradations of friendship in English?


When running the following Python code:  mat1=[[0]*3]*3 mat2=[[0 for i in range(3)] for j in range(3)]  if(mat1==mat2):     print("Same content")  mat1[1][1]=7 mat2[1][1]=7  print(mat1) print(mat2)   I get this result:  Same content [[0, 7, 0], [0, 7, 0], [0, 7, 0]] [[0, 0, 0], [0, 7, 0], [0, 0, 0]]   Why is there a difference in the result, and what's wrong with my first way of initializing a matrix?


What is this kind of chart is this (shows flow of components from one group to another)?

I'd like to know the name for the following type of chart. I see it in the context of interactive charts related to fundraising or polling where components are shown to follow from one group to another.   What are the common tools to produce this type of chart. 39~


What are words like henceforth. nevertheless, hereupon?

what are these words? I think they are legal words and I wanna know more.


On my machine, fdisk -lu /dev/sda displays following output:     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048    73947135    36972544   83  Linux /dev/sda2        73949182    78139391     2095105    5  Extended /dev/sda5        73949184    78139391     2095104   82  Linux swap / Solaris   What is this "blocks" unit? Is one "fdisk block" a 1KiB? Where does this unit come from?


Solve the second order ODE $(2x^2 + 1)y'' − 4xy' + 4y = 0$

I need help solving this past exam question, the professor posted exam questions with out solutions to last year's exam, I tried reduction of order, however that seemed to complicate things. And then I tried Euler-Cauchy method however I realized that won't work due to the $(2x^2 + 1)y''$.  Given $y_1=x$ is a solution $$(2x^2 + 1)y'' − 4xy' + 4y = 0$$ Find the second solution $y_2$ for equation.


I want to ask about two sentences, and what would be the correct way to form a question:     It's very important that we eat healthy food, ...........?     Which would be the correct question tag: (isn't it) or (don't we)?      It's a must that all applicants follow the rules of the competition, ..........?    Which would the correct question tag: (isn't it) or (don't they) or (mustn't they)?   Please could you tell me the correct answers, and, more importantly, why those are correct?


How to search for list of papers citing both papers A and B?

For given papers A and B, I would like to search for all papers that cite both A and B. I guess one can generalize to papers {A,B,C,...} and find all papers that cite all of them.   A quick Google Scholar and Web of Science search revealed nothing. Google Scholar has a "cite=..." thing in the URL, which I messed with a bit to no avail.


Jasper Report, REPORT_LOCALE manuall passing via SpagoBI

Does anybody know how to manually pass REPORT_LOCALE param via SpagoBI or, at least, how to manually pass REPORT_LOCALE parameter for Jasper?  What I want to achieve is that I can dynamically pass language parameter, so my reports can be generated in different languages.  Does anybody know how to do this? I use SpagoBI for calling Jasper Reports via SpagoBI REST 2.0 API, but I'm not so sure is this SpagoBI or Jasper issue.  I tried to define REPORT_LOCALE, language, userLocale, reportLocale params in SpagoBI (passed es_ES, es, [es, ES], es,ES), but it didn't work. I also tried to use userLocale, reportLocale in Jasper (the same values as above), but also without success.   When I switch language in SpagoBI, it works, but I need to call report via REST, so this is not workaround for me, but if I could switch language in REST, maybe I can do some business.  Also, REPORT_LOCALE in Jasper works, but I can do nothing with it, I need that REST call.  Can anybody tell me more about this?  edit: Setting locale in iReport is not solution, it works when you are making report, but when you want to call it via SpagoBI it's compeltelly different story.


Passing named arguments to shell scripts

Is there any easy way to pass (receive) named parameters to a shell script?  For example,   my_script -p_out '/some/path' -arg_1 '5'   And inside my_script.sh receive them as:  # I believe this notation does not work, but is there anything close to it? p_out=$ARGUMENTS['p_out'] arg1=$ARGUMENTS['arg_1']  printf "The Argument p_out is %s" "$p_out" printf "The Argument arg_1 is %s" "$arg1"   Is this possible in Bash or Zsh?


how to force a long table begin in a new page, and fix the position?

I'm using the long table environment, and I want to start the table on top of a new page (otherwise it starts anywhere in my paper) and make the long table stay where I want it to be without being affected by the text. Is there any command I can use to achieve this? Many thanks!


Where should I post question about practical experience using a "framework" in an "unusual" context?

I'm working on a project where we need to have distributed synchronization between machines in a network.  Zookeeper, Curator and Exhibitor seem to fulfil our needs. However, we are mostly a Windows, C# and .Net shop.  During the last few days, I've been struggling with various options for using Zookeeper from a .Net client. The "official" , , and Zookeeper's .   All my tests were quite frustrating (but part of my frustration is certainly due to my lack of Java knowledge) and my general feeling is that Zookeeper doesn't fit very well in the .Net world.  So I'm wondering if others have followed the same track and if there is any practical experience of using Zookeeper from C# in a production context. Getting some pieces of advise from people having that experience would be nice.  I feel that kind of question doesn't belong to SO. Is there any place on the SE multiverse where it would fit?


Can the distance between two subsets be reached?

Given a metric space $(X,d)$. Let $A$ and $B$ be two nonempty subsets of $X$. If $A$ is compact and $B$ is closed,  then there exist $x_0\in A$ and $y_0\in B$, such that $d(A,B)=d(x_0,y_0)$?  I know that, if $A$ and $B$ are both compact, then the conclusion is right. But if $B$ is just a closed subset?  Thank you for any help.


Suppose $f$ is a Lebesgue integrable function on$[0,1]$ which satisfies $\int x^k f(x) dx=0$ , prove $f=0 \text{ a.e.}$

Suppose $f$ is an indefinitely differentiable real valued function on$[0,1]$ which satisfies $\int_0^1 x^k f(x)\, dx=0$ for $k=\{0,1,2,3,.. .\}$, prove $f=0$ . My attempt : To prove this assertion , it suffice to prove $$\int_0^1 f^2 (x) \,dx=0$$  Then by approximation theorem , we can find a polynomial such that for every $\epsilon \gt 0$ $$\int_0^1 f^2 (x) \,dx= \int_0^1 (f(x)-\sum_{n=0}^N a_n x^n)f(x) ,dx+\int_0^1 \sum_{n=0}^N f(x) a_n x^n\,dx \le \epsilon M$$ where $M=\sup_{x \in [0,1]}|f(x)|$ . It seems that we do not need the condition that $f$ is indefinitely differentiable , if $f$ is continuous then the conclution may hold . My question : a) Suppose $f$ is a Lebesgue integrable real valued function on$[0,1]$ which satisfies $\int_0^1 x^k f(x)\ dx=0$ for $k=\{0,1,2,3,.. .\}$, can we prove $f=0$ except on a set of measure $0$ ?       b) If a) is not true , suppose $f$ is a Riemann integrable real valued function on$[0,1]$ which satisfies $\int_0^1 x^k f(x)\ dx=0$ for $k=\{0,1,2,3,.. .\}$, can we prove $f=0$ except on a set of measure $0$ ?    EDIT: To prove $f=0 \text{  a.e.}$ , it suffice to prove all the fourier coefficient of $f$ equal to $0$ , then  $$\int_0^1 f(x) \cos(2 \pi nx) \,dx \le \int_0^1 |f(x)||\cos(2 \pi nx)-\sum_{n=0}^{N}a_n x^n| \le \epsilon||f||_{L^1}$$ and the proof is complete.


Is there any pythonic way to Split list to list of list with range 3.   x = [1, 2, 3, 4, 5, 6, 7, 8, 9] y = [[1,2,3], [4,5,6], [7,8,9]]  prev,re= [],[] for a in x:     if len(prev)==3:         re+=prev         prev=[]     else:          prev+=[a]


Windows 7, file properties, date modified, how do you show seconds?

Anyone know a way to immediately show the seconds of a file's date modified property in the GUI? So if you create a file, any file in any directory, right-click and choose Properties, the date modified (if it's recent) will say something like "dd/mm/yyy hh:mm, one minute ago" - reminder this is in Windows 7. Windows XP did it normally. Then they changed something.  If you wait a while, eventually you'll see the seconds, I'm not sure how long a while is, but this is incredibly annoying if you want to troubleshoot something that relies on the seconds of timestamps... is there a setting? registry key I can change perhaps?  I'm literally using Chrome, pasting in the path of the directory to be able to see the seconds quickly (as a workaround) but would be nice to be able to use Win7.


If $f \in L_p \cap L_q$, $1 \leq p < r < q < \infty$ then $f \in L_r$.

If $f \in L_p \cap L_q$ and $1 \leq p < r < q < \infty$ then $f \in L_r$.   Proof: Let $E = \{ x \in X: \left\lvert f \right\rvert \leq 1 \}$. Then, $$\int \left\lvert f \right\rvert^r \mathrm{d}\mu = \int_E \left\lvert f \right\rvert^r \mathrm{d}\mu+\int_{E^C} \left\lvert f \right\rvert^r \mathrm{d}\mu \leq \int_E \left\lvert f \right\rvert^p \mathrm{d}\mu+\int_{E^C} \left\lvert f \right\rvert^q \mathrm{d}\mu$$ $$\leq \int \left\lvert f \right\rvert^p \mathrm{d}\mu+\int \left\lvert f \right\rvert^q \mathrm{d}\mu < \infty.$$ Thus, $f \in L_r$.  I just want to make sure I am somehow not missing anything. Thanks


Should flagging a question for closure prevent close-voting?

Back in April, I flagged a post as "not a real question".  The post was subsequently closed and reopened, then closed again and finally just reopened a 2nd time a short time ago.  I still firmly believe the post is not acceptable for SO, so I went to use my recently acquired close vote privilege and was greeted with the following messsage:    I specifically clicked close and not flag (and figuring I just clicked in error, I tried again and got the same message).  I do understand that, in the new closing system, flagging for closure is treated very much like a close vote (since it throws it to the close vote queue) except no vote is actually recorded.  My issue is why should by flag be counted as a close vote when I never actually voted to close.


I am from Gujarat,India.at restaurants in my city,they provide raw sliced onion as condiment.it tastes really sweet and not at all pungent. How can I remove pungency from onion?I tried soaking them in cold water but they become wet and I just want them dry.


Allow short questions if the Answer My Question box is checked

I wrote up a pretty short and succinct question on the Mechanics site, and wrote up a very long answer using the .  When I tried to post the q/a, it told me that I needed a more complete question.  This restriction doesn't make sense when people are trying to post both sides (questions and answers).  If they already have a good answer, it seems safe to trust that they have a decent understanding of what their question was.  My question was a pretty simple one:     How would one go about recharging the Air Conditioning system on a car?   I meant it to be a sort of canonical question, since it so happens that the procedure is pretty much the same between cars.  I ended up adding another sentence about how my car's cooling power just wasn't what it used to be, and it posted, but it still seems like a Q/A would be fine without some of those checks.  Can we get rid of (at least some of) the quality restrictions on questions if the Answer My Own Question box is checked?


After running `ssh-add -K` to add my SSH key to the Apple Keychain, what is the name and type of entry shown in Keychain Access.app?

Supposedly this console command will add my private SSH key to the , as discussed in  on the Question, :  ssh-add -K path-to-my-private-key-for-SSH   If that succeeds…  ➥ What is the type and name of the entry to be found in the ?  I would like to be able to manually verify and possibly delete that entry.


Is Lebesgue outer measure continuous from above for sets with finite Lebesgue outer measure

Does there exist a decreasing sequence  of sets ($A_{n+1}\subseteq A_n$) ; $\{A_n\}$ of real numbers such that   $m^*(A_n)<\infty , \forall n \in \mathbb N$ and $m^*(\cap_{n\in \mathbb N} A_n) < \lim_{n\to \infty} m^*(A_n)$ ? Here $m^*$ is the Lebesgue outer measure on real line


After reading , I would refrain from asking this question, but the husband of a colleague of mine (English professor, native speaker of British English) stated against it, so I am looking for further enlightenment.  He advocates some should be solely used to refer to plural forms. Thus,     some non-existent towns   is perfectly correct, but     some non-existent town   should be replaced by      a non-existent town   Is that true?


"Monkey Test" app is always downloaded every time I am online

My phone keeps downloading apps like "Cash Yourself", "Monkey Test" and many more.  I have tried to stop and clear data, but every time I am online they were download again.  How can I stop this?


The first term of a sequence is $1\;,$ and the second term is $2$ and every term is the sum of two preceding terms, Then $\bf{n^{th}}$ term is  $\bf{My\ Try::}$ Let we define a Sequence  $\{a_{n}\}$ in which $a_{1}=1\;\;a_{2}=2$ and $a_{n}=a_{n-1}+a_{n-2}$ Where $n\in \mathbb{N},n\geq 3$ So we get Our Sequence  terms are $1,2,3,5,8,13,21,.......$ But I did not understand How can I Calculate $\bf{n^{th}}$ term Help me Thanks


manual - How to understand ConTeXt commands?

The reference manual  gives all supported options by command. Unfortunately, there is no description about the conventions used.                 ¹           ² \setuphead [...,...] [..,..=..,..] ¹ SECTION     OPT ² frontpartlabel    =  name   ...   expansion         =  yes NO xml   ...   sectionstarter    =  COMMAND PROCESSOR->COMMAND   ...   sectionsegments   =  NUMBER NUMBER:NUMBER NUMBER:* NUMBER:all SECTION SECTION:SECTION SECTION:* SECTION:all   ...   referenceprefix   =  + - TEXT   ...   incrementnumber   =  YES no list empty   ...   page              =  inherits \page   ...   hang              =  line broad fit NONE NUMBER   ...   command           =   \...##1##2   ...   Furthermore, we don't know anything about the options. What are these options for? How to use these options?  The notation is partially presented in  (c.f. page 10, page 117) but the complexity of the notation (often unknown) makes the exploitation very hard.  How to understand (know) ConTeXt commands?


Difference between 'using' and 'normal' DB Connection

I wonder that  what is the difference between ;  using (var con = new OracleConnection(oradb))             {                 con.Open();                 // Do sth.                 con.Dispose();                 con.Close();             }   from this;  oradb = ConString; OracleConnection con = new OracleConnection(oradb)) con.Open(); // Do Sth. con.Dispose(); con.Close();   Both of them works for me, However didn't understand the basic behind of this.  Which one should i use ?


Which way of regression modelling is correct among below options, when the predictor is a product term?

I am modeling a response Y against a predictor X, which is a product of two variables X1 and X2. I am interested in the coefficient of X.  Mathematically which way of modeling is correct?:   Y ~ X Y ~ X1 + X2 Y ~ X + X1 + X2   Thanks, maverik


I've seen that wolfram alpha says:  $$\frac{1}{\infty} = 0$$  Well, I'm sure that:  $$\lim_{x\to \infty}\frac{1}{x} = 0$$  But does $\frac{1}{\infty}$ only make sense when we calculate it's limit? Because for me, $1$ divided by any large amount of number will be always almost zero.


My bevel tool seems to be broken. It works normally on simple objects, but not on long objects. Look:   I want to know how to make the edge of the second image like the first image. Ask for more details if needed


I've written a rest service in Salesforce.  In some cases I wish to give clients a specific return code and error payload to give them call specific information regarding the error with a JSON response.  Here's the response I'm expecting (which I wrote):  {    "message": "intermittent error please retry later" }   Here's the response I'm seeing:  [ {   "errorCode" : "INTERNAL_SERVER_ERROR",   "message" : "Invalid status code for HTTP response: 550" } ]   Where 550 is my custom return code.   My custom return payload had been replaced with the array above.   Should I be using a different error code which is not in the 5xx range?  Can I add my payload to this array somehow? Should I return 200 and have clients look for any additional information in the return payload?     Many thanks in advance, Peter


Is there a word that encompasses any learning resources -- for example an article, video, podcast, book, course, etc.? Something that you learn from, but not a living thing such as a teacher...


Which variables should I transform, center, and/or standardize in my data for Principal Component Analysis?

I have multiple datasets that I am attempting to use principal component analysis (PCA) on in order to infer the underlying structure of the data.  I'm attempting to predict growth increment of conifers (the response which apparently needed to be cube root transformed for my original linear models).  My predictor variables include: continuous (some log-transformed like size-related variables, some compositional, and some traditionally scaled); binary; ordinal; and nominal (of which I'm pretty sure I can order with respect to site productivity).  I'm mostly attempting to make inferences because some of my previous models from linear regression have not produced significant terms corresponding to categories like health or climate and I feel that they should have.  I've read in Joliffe (2002) that I might want to leave my compositional data uncentered.  Forgive my naiveté, but I'm wondering if I should also do this for my binary data.  It also seems that I might not want to scale these since they're already on a 0 - 1 scale but I'm not sure.  After only using my continuous predictors (including compositional variables), it appears that a size principal component makes up the largest portion of the variability and Joliffe also mentions that one might want to attempt a "double-centering" of the log-transformed data if this is the case.  I don't know if this is even possible since the log-transformed data only makes up a small portion of my datasets.  Finally, I should ask if having such a combination of data types will complicate analysis so much that it will make inferences unreliable.  I am currently using R for this analysis.  Thank you.


How can I install VMWare Player on Ubuntu 12.10?

I need help installing VMWare player on my Ubuntu 12.10 system because I am having problems installing VirtualBox


Could you give a hint how to prove this? if $n>5$ is prime, prove $(n-1)|(n-2)!$


Ubuntu - system working a slow and low fps on animations. Why?

I have 3 gigabytes of RAM and intel core 2 duo 2.5 GHz of CPU.  I just deleted my windows 8.1 operating system and installed Ubuntu.  The problem is, I have fps drops on animations and it is sometimes really slow when using youtube etc.  I want a smooth experience of Ubuntu. What can I do?  (I have installed the drivers with the Ubuntu install)


How fast does an electron travel in a circuit?

How is it possible to calculate the speed of an electron in a circuit? What factors does it depend on?


Are the following statements equivalent?  i) $M$ is an $R$-simple module.  ii) Every $R$-homomorphism (nonzero) from $M$ to an $R$-module $N$ is a monomorphism.  iii) Every $R$-homomorphism (nonzero) from an $R$-module $N$ to $M$ is an epimorphism.


Is it possible to get legendary drop while in a different map?

Let say in a co-op game, you are in a different map than other players (for example while doing split bounties), is it possible to get a legendary drop in other maps that other players cleared already. I'm talking about chests, white/elite mobs not bosses.


Hard drive spins for 1-2 sec's and stops and tickling sound is audible and drive not detecting

I have a Seagate Barracuda 7200.12 500gb hard drive. It was making a tickling sound so I thought it was a HDD problem and opened the drive and remove the head and put it back it shows once in Device Manager and again nothing.  I tried to fix the heads but not worked anything. Later I checked my PC with another HDD and it also struggles to power up.  Then I realized it's a SMPS problem later, I replaced the SMPS but right now the seagate barracuda 7200.12 drive spins when powered up and stops after a 1-2 seconds and the tickling sound is clearly audible.   Is it a PCB problem or what? I put this PCB in other 160gb hard drive it did the same spin and stop.  I bought another new Seagate pipeline 500gb HDD and luckily its PCB number same as old.   Should I replace the rom ic and try with the new board or can I replace the new hard drive head to old one or its better to platter swap.  I want to recover data from the old drive and can't afford to hire a professional data recovery analyst.


Prove that $\operatorname{lcm}(a,b,c)=\frac{abc \operatorname{gcd}(a,b,c)} {\operatorname{gcd}(a,b)\operatorname{gcd}(b,c)\operatorname{gcd}(c,a)}$

Prove that for any positive integers $a,b,c$ we have $\operatorname{lcm}(a,b,c)=\dfrac{abc \operatorname{gcd}(a,b,c)} {\operatorname{gcd}(a,b)\operatorname{gcd}(b,c)\operatorname{gcd}(c,a)}$  To prove this, I used this: for two positive integers $a,b$ is $\operatorname{lcm}(a,b)=\frac{ab}{\gcd(a,b)}$ but I could do nothing, can you help?


Is a Lipschitz function differentiable?  I have been wondering whether or not this property applies to all functions.      I do not need a formal proof, just the concept behind it.    Let $f: [a,b] \to [c,d]$ be a continuous function (What is more - it is uniformly continuous!) And let's assusme that it's also Lipschitz continuous on this interval.    Does this set of assumptions imply that $f$ is differentiable  on $(a,b)$?


I alsmost always use {} when using find -exec command {} instead of '{}' but I don't know what's the difference if there's any between the two. It's just my curiosity making me wonder.


How to find exact program name of installed program using terminal?

I have installed google earth. I believe I did it through their website. I'm sure its named something along the lines of google-earth. Every time I do apt update i get an annoying message:  N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository ' stable InRelease' doesn't support architecture 'i386'  So, I intend to uninstall the program and try to re-install it. It does not show up in software center.  I found instructions for searching program names via:  sudo apt search <part-of-name-with-an-asterisk*>   being lazy, I typed:  sudo apt search earth*   this resulted in a very, very long list of programs that did not have "earth" in the filename.  Typing:  sudo apt search google-earth-pro   resulted in one program returned from the query. The correct one:  google-earth-pro-stable/stable,now 7.3.2.5494-r0 amd64 [installed]   Explore, search and discover the planet  Now I can uninstall, however...  Now I'm confused as to why the first attempt yielded different results. If in the future I need to find the exact program name to be able to uninstall it, what is the correct procedure? I'm sure there are many ways to accomplish this, but I feel like I was just being lucky.  Lets say there is a complicated filename 24ewftw2ecw-24wfrew-f2ec or something, and all i can remember about the file was that it had ftw in it somewhere... What is an appropriate method?  What is an appropriate use for using the asterisk on apt search?  Thanks in advance!


How can I vertically lift the Greek letter `\chi` upwards?

The symbol is just \chi, which looks like an X letter, looks lower than it should be. Is there a way to redefine it (or combine it with an extra command) so that it is vertically lifted upwards?  \documentclass[11pt, a4paper]{IEEEtran}  \usepackage{amsmath} \usepackage{amssymb, amsfonts}    \begin{document}  \begin{equation} y = A \thinspace \chi \end{equation}  \end{document}


F-test of joint significance vs multiple t-test for regression parameters?

In the context of linear regression, I don't understand why you need to perform an F-test for the H0 that all parameters are zero, instead of just looking at all the t-tests for each parameter.  I understand that they are not the same, but I don't understand why. I sense that it has something to do with the covariance between the ols estimators (because the covariances are not used for the t-tests but all the estimated variance-covariance matrix is used for the F-test).


NFL division with all teams having a losing or winning record

I'm wondering if there has been any division in the modern day NFL history where all teams finished the regular season with winning or losing record. Even though this might not be so probable, it is definitely possible.   This question is motivated by what's been happening this year (2014) in the NFL. All teams in the AFC North (Cincinnati, Pittsburgh, Baltimore and Cleveland) have winning record as of week 12; and teams in NFC South (Atlanta, New Orleans, Carolina, Tampa Bay) all have losing record! at the end of week 12, the worst record in AFC North was 7-4 which is better than the best record in NFC South at 4-7.   UPDATE:    The 2014 NFC South's champion is Carolina Panthers with a losing record of 7-8-1.  2014 AFC North did not have all team with winning record as Cleveland Brown finished at 7-9


Just the other day I kept aside my earphones after listening to music for a long time, only to find it get twisted, well and good!   This happens every time. I feel it is a really strange phenomenon - seems like it happens on its own. How do the wires get tangled up so well? Is there any connection with the property of the material of the wire?


Android HTC G7 without Google applications

I recently got an Android HTC G7 phone which claims to be Android 2.2. But I do not see any Google applications installed (market, maps etc). Is there a way to install these libraries and get started?


an error occurred submitting the answer stackoverflow

Am getting this error "an error occurred submitting the answer" in stackoverflow  Even here i couldn't add the code its showing the same error message!!


$f(x)=ax+b$ for some $a,b\in\mathbb{Q}$ if $f(\mathbb{Q})\subset\mathbb{Q}$ and $f(\mathbb{R-Q})\subseteq \mathbb{R}-\mathbb{Q}$

let $f$ be a polynomial function such that $f(\mathbb{Q})\subset \mathbb{Q}$ and $f(\mathbb{R}-\mathbb{Q}) \subset \mathbb{R}- \mathbb{Q}$ . Prove that $f(x)=ax+b$ for some $a,b\in\mathbb{Q}$   My approach :  I started by defining $g(x)=f(x)-f(0)$ .   Now $g(x)$ satisfies the properties $g(\mathbb{Q})\subset \mathbb{Q}$ ,  $g(\mathbb{R}-\mathbb{Q})\subset\mathbb{R}-\mathbb{Q}$ and $g(0)=0$ . $g$ is a polynomial and $g(0)=0$ . $0$ is root of $g$ and hence $g(x)=x h(x)$ for some polynomial $h(x)$ . It will be enough if one can prove that $h(x)$ is constant . I'm stuck here .   Any form help will be highly appreciated.


Why do Kurama and Gyuki appear as chakra while other bijuu don't?

In Naruto, Kurama (the Nine-tailed bijuu) appears as chakra, as does Killer B's bijuu, Gyuki.      Other bijuu, however, don't appear that way. What is different between them?


Coordinate System shows up incorrect after converting a shapely object to a shapefile

I am trying to convert a simple point object created using shapely to a shapefile using fiona as instructed in . I pretty much followed line by line except that I changed the crs as I need it in another coordinate system.  The code I used:  ##Creating the point      o = Point(-75.478003, 40.603155)      o  ##Convert the point to shapefile using code from @Mike T :      from shapely.geometry import mapping     import fiona      schema = {         'geometry': 'Point',         'properties': {'id': 'int'},     }      with fiona.open('L:\lvpcgis\BowenLiuTemporary\ExtendLinesToLayer\my_shp1.shp', 'w', 'ESRI Shapefile', schema,      crs=bldg.crs) as c:          c.write({             'geometry': mapping(o),             'properties': {'id': 1},         })   The only thing I changed here is crs by specifying crs = bldg.crs  bldg. crs {'proj': 'lcc',  'lat_1': 39.93333333333333,  'lat_2': 40.96666666666667,  'lat_0': 39.33333333333334,  'lon_0': -77.75,  'x_0': 600000,  'y_0': 0,  'datum': 'NAD83',  'units': 'us-ft',  'no_defs': True}   After running the code, I get a point shapefile my_shp1. However, when I add it in ArcGIS to check its accuracy, it shows up at the wrong location with lon, lat of 84.6941252°W 39.1210089°N with a projected coordinate system of "Lambert Conformal Conic" and geographic coordinate system of EPSG:4269.  I realize I must have somehow the coordinate system somehow but I just don't know where.  And it'd be better if there is a better way to convert shapely object to a shapefile.


Replace one Ubuntu with another from USB pen drive

I'm new to Linux. I'm using Ubuntu 11.04. Now i want to install Ubuntu 12.04 .  I got an ISO  image of Ubuntu 12.04 Desktop. I put this image in to a pen drive which is formated,set the boot option boot from usb but nothing happened .  I searched this over the net and on Ubuntu website but nobody has given the complete steps . someone say you can install from the Ubuntu also ,someone says u can  do a fresh installation from usb pen drive you need to make you pen drive bootable etc. etc. .  My problem is that i don't know the exact steps how ton install Ubuntu from usb pen drive?  All I want to do is to completely remove my Ubuntu 11.04 and install Ubuntu 12.04 from usb pen-drive.  Can any body tell me how to make a pen drive bootable ?  How to install Ubuntu 12.04 from pen-drive?  Please give me a step by step procedure with screenshots.  Thanx in advance


Why is HV kept open in OC test of transformer? Also, why is LV shorted in SC test of the transformer? (Generally this is preferred - why?)


Radius of circumscribed circle of triangle as function of the sides

Given the length ot the sides $a , b$ and $c$  of $ \triangle ABC$.  What is the length of the radius of the circumcribed circle?  After some formula substitution I came to the monster formula:  $$ \frac {a b c}{\sqrt{2a^2b^2+2a^2c^2+2b^2c^2-a^4-b^4-c^4}} $$  Can this formula be simplified?


How to enable fast user switching when Login Options are disabled?

I'm not sure how this machine was setup, but I do have control over it now as a local admin.  I need to enable fast user switching, but the option is greyed out along with some others. This is after unlocking the changes padlock.    Is there anything I can do to reenable these options?


How to display russian characters with SQL set to utf8?

I am currently call the database with: $pdocon = new PDO("mysql:host=$host; dbname=$DB; charset=utf8;", $username, $password);  When I then SELECT any data that is in russian it displays as: ÐŸÐµÑ€ÐµÐ¹Ñ‚Ð When the charset=utf8 is removed they display correctly. The problem is when the charset=utf8 is removed certain german characters display incorrectly. How would I get it so both russian and german characters are pulled from and display correctly?


Question about union of cartesian product of sets

Is $A \times (B \cup C) = (A \times B) \cup (A \times C)$ true for all sets $A$, $B$ and $C$?   Don't know how to even attempt this question. Any help or guidance would be appreciated!


Constant alignment of centered text on different lines

I want to have multiple lines with three sections: a left-justified column, a center-justified middle column, and a right-justified last column. For any line this is mostly done with \hfill. The problem is then center column is not center-justified, and I would like the center column to line up across different instances of these multi-columns lines. Also, there is other text between these lines so I can't use a single table.  The following .tex demonstrates the issue:  \documentclass{article} \usepackage{tabularx} \begin{document}   % one line, Column two floats in between one and three \noindent Column one \hfill Column two \hfill Column three      %multiple lines \noindent Column one      %this line is absolutely centered and is aligned with any other  {\centering \textbf{Column two} \\}  \hfill Column three  Ea vero quando definiebas vix. Velit facete referrentur sit ei. Cu eam exerci labore expetendis. Vel an pertinax inciderint, at suas volumus scriptorem sea, at sed utroque perfecto consulatu.   \noindent This column one is a bit longer \hfill Not lined up \hfill Column three changed  \noindent This column one is a bit longer  {\centering \textbf{Is lined up} \\}  \hfill Column three changed  \noindent This column one is a bit  longer \begin{center} no good \end{center} \hfill Column three changed  \noindent This column is a bit longer {\centering Not centered} \hfill Column three changed  % try with tables \hrulefill  \noindent \begin{tabular*}{\textwidth}{lcr} Column one & Column two & Column three \\ \hspace{0.30 \textwidth} & \hspace{0.30 \textwidth} & \hspace{0.30 \textwidth}  \end{tabular*}  Ea everti utamur ullamcorper sed, id duo exerci ceteros apeirian, nam ex oratio prodesset. Cu summo oratio populo eum, in euismod sanctus mel, no accumsan explicari elaboraret his.   \noindent \begin{tabular*}{\linewidth}{lcr} This column one is a bit longer & New column two & Column three changed \\ \hspace{0.30 \linewidth} & \hspace{0.30 \linewidth} & \hspace{0.30 \linewidth}  \end{tabular*}  \end{document}   For the first attempts using \hfill, the center column's are not aligned since the other columns are different. The second instances are lined up right (in bold), but span three lines instead of one. Several attempts to try to make a single line do not work.  I also tried using tables (below the \hrulefill) but it adds an extra vertical space I don't want, and I have to manually tweak the \textwidth multiplier to match the margins.  In the worst case I could do this and add negative vspace, but I wonder if there is a better way?


Android -Java - How to use a Countdown Timer?

I am trying to put a Countdown timer using a TextView inside my Android studio project. I have been looking at other posts but I haven't been getting any good information. I want the simplest way to make an easy Countdown timer. Thanks in advance!  Countdown Timer:  CountDownTimer Count = new CountDownTimer(5000, 1000) {                 @Override                 public void onTick(long millisUntilFinished) {                      timerText.setText("Seconds remaining: " + ((millisUntilFinished/ 1000) ));                 }                 @Override                 public void onFinish() {                     timerText.setText("Time Done...");                 }             };             Count.start();


To what extent can a charged capacitor mounted on a moving platform (e.g. a rotating wheel) be considered an electric current generator? Electric current, after all, is nothing more than the transport of charge. Some extra detail:  Because a capacitor is a charge separation device, do the charges on the two plates effectively cancel to produce no net current?  If we ground one side of the capacitor, does the situation change?  If we rotate one plate and counter-rotate the other, do we succeed in producing net current?


How can I get the name of functions dynamically

I can put those about to be executed functions in to functions_results.  I get print out the results, but I couldn't get the functions itself name.  For example,   functions_results = [     schedules(),     schedules("2014-06-01", "2015-03-01"), ]  list_of_functions_heads = [x for x in functions_results] for i in list_of_functions_heads:     # this is what I want to get     # print(i.FUNCTION_NAME) # 'schedules()'      print(i.head())   name not work in my case     print(i.name)       (type(self).__name__, name)) AttributeError: 'DataFrame' object has no attribute '__name__'


I would like to create a signature line shown in the picture. Could you please help me?


Book recommendation on plane Euclidean geometry

I consider myself relatively good at math, though I don't know it at a high level (yet). One of my problems is that I'm not very comfortable with geometry, unlike algebra, or to restate, I'm much more comfortable with algebra than geometry. I think that's mainly because my geometry education was sparse through the years, lacking in consistency etc. So I'd like to revise (and learn more) all at once, catching the basic axioms, understanding why such is such, etc. Essentially, a moderately rigorous textbook in plain Euclidean geometry (nothing fancy). Please don't say "The Elements" - I have browsed it at the bookstore, it is quite good, but not really what I'm looking for right now.


Is this query vulnerable to SQL Injection attacks

I have been given a project to complete, in the backend there are SQL statements doing various things, as you'd expect.  In the past I have used PDO to construct SQL queries that use parameterisation to avoid injection attacks.  Whilst reading through the code I noticed many queries in the form of:  $sql = "SELECT * FROM detail WHERE email ='$email'"; $query = mysqli_query($dbcon, $sql);   With no parameterisation or cleaning of input.  Is this type of query vulnerable, should there not be some form of parameterisation and more importantly should I explain the risks involved as it seems the developer was unaware of the risk.


How do I install ubuntu with a disk on a dell with no operating system?

Our 1525 insperion says it has no operating system tonight, so I'm trying to put ubuntu on it after making a disk from a download on another computer. It says "operating system not found. Try disconnecting any drives that don't contain an operating system. Press control+alt+delete to restart"


How would you prove that exchanging two rows of an $n \times n$ matrix $A$ multiplies its determinant by $-1$?

Do you need other results to prove this? Could you use proof by induction? I don't know where to begin regarding how to prove this.


Even after you earn them, secret hats refuse to tell you what you earned them for:    What's the point of the hat, if it won't tell me how I earned it?  This seems like a bug: The description should change from "this is a secret hat" to some real description after you've earned it.  This question is the more general case of this one:


Python iterate through an array and print 10 items at a time

I am trying to create a discord bot. It works great but i have a small problem. I save some values into the database. Some sentences. Now if a specific condition is met then it prints everything on the discord chat. The problem here is that discord has a limit of 2000 letters per message so if the returned text has more than 200 characters, i get an error. I experimented a bit and i figured out that if i print the sentences on 10s bulks, it is enough to get my whole text. So i have something like that: if len(options) > 0:    await context.channel.send("Text at the start:\n")    newBlock = []     for count, element in enumerate(options, 1):      newBlock.append(options[count])      if count % 10 == 0:        myArrayAsText = '\n - '.join([i for i in newBlock])        await context.channel.send("```fix\n - " + myArrayAsText + "```")        newBlock = []  The problem here is that if the last occurance doesnt have a dividable number to 10, it will not printed until the condition is met. if count % 10 == 0: How can i best print 10 entries at a time even if the count is not dividable to 10? Best regards


How can I say "bon appétit" or "smakelijk" in english?

In the most cultures, some people say something before there meal. In French they say "bon appétit", In Belgium and The Netherlands "smakelijk" and in Polish "smaczny". But how can I say the same thing in English?


Regex validation for asp textbox control

I have 2 textbox asp controls:  Phone and Time. Phone should have format: +7 (xxx) xx-xx  Time is a float and should have value between 1.0  to 40.0  (for example 20.5)  How to realize it in regular validation section?


Short story about a drug that makes people live as slow as trees

I read this story in Omni magazine about 25 years ago. In researching a few months ago, I believe I found info on this site, but can’t find again, and browser history was cleared. Written in the 40’s, I think.  Starts with one scientist coming to visit another about an experiment and upon arrival (an island, I think, tropical) finds a man just standing and staring. The scientist finds that his colleague had found a drug that slows body functions to the speed of trees, making people seem like zombie-statues. I don’t remember how it ends, so would like to read it again.


Cannot add “rowversion” data type in sql server 2008 r2 management studio, or even to modify existing column data type

I want to create a column with Rowversion data type, but inside my SQL Server 2008 R2 Management Studio, I cannot find such a data type:    Also when I tried altering existing column named timestamp which is of type timestamp using this statement:  ALTER TABLE [SkillManagement].[dbo].[Customer] ALTER COLUMN timestamp rowversion    I get this error:     Msg 4927, Level 16, State 1, Line 1   Cannot alter column 'timestamp' to be data type timestamp   Can anyone advise?


The determinant function is the only one satisfying the conditions

How can I prove that the determinant function satisfying the following properties is unique:  $\det(I)=1$ where  $I$ is identity matrix, the function $\det(A)$ is linear in the rows of the matrix and if two adjacent rows of a matrix $A$ are equal, then $\det A=0$. This is how Artin has stated the properties.I find Artin's first chapter rough going and would appreciate some help on this one.


How to simulate survival times using true base line hazard function

I want to simulate survival times from the model  $\lambda(t|X_1,X_2) = \lambda_0(t) \exp(\gamma_1X_1+\gamma_2X_2)$  where covariates are given by $X_1\sim$Binomial(1,0.5), $X_2\sim$Uniform(0,1), the true parameter values are  $\gamma_1=-0.5$, $\gamma_2=1.5$ and the true baseline hazard function is as follows  $ \lambda_0(t)=  \left\{ \begin{array}{ll}       \exp(-0.3t); & 0<t\leq 1 \\       \exp(-0.3); & 1<t\leq2.5 \\       \exp(0.3(t-3.5)); & t>2.5 \end{array}  \right. $  The censoring time is from the exponential distribution with mean 2.5.  For a simple baseline hazard function(e.g. $\lambda_0(t)=\lambda$), i used the following algorithm to generate survival times  $$T=H_0^-\{-\log(u) \times \exp(\gamma_1X_1+\gamma_2X_2)\} =\lambda^-\{-\log(u) \times \exp(\gamma_1X_1+\gamma_2X_2))\}$$  where $u\sim$Uniform(0,1). The R codes are as follows  gamma <- c(-0.5, 1.5) X1 <- rbinom(n=200,size=1,prob=.5) X2 <- round(runif(n=200,0,1),2) time <- (1/.3)*(-log(runif(200))/exp(gamma[1]*X1+gamma[2]*X2)) cen <- rexp(200,rate=1/2.5) event <- as.numeric(time <= cen)   But i'm struggling to generate for the piecewise baseline hazard function that i mentioned above. Would anyone please help me to generate survival times for the above settings using R.


The graph of $xy = 1$ in $\Bbb C^2$ is connected. True or false?  I know that it is not connected in $\Bbb R^2$, but what is the case of $\Bbb C^2$?


Galaxy Note II slow due to lack of memory?

I have a Galaxy Note II and it's too slow due to low memory, I bought a 16 GB memory card and it still is slow, what to do?


I need some advice on comma placement. I don't really know if I should set off the phrases that come after ", and". I need that sounds too general and vague, but it will become more clear with the examples below     Example 1. I began installing a new system, or ROM, on my phone every weekend and, in the process, broke the poor phone infinite amount of times.    Should the phrase in the process be set off by commas?     Example 2.  In total, my victim phone got broken 26 times, and, every single time, I found a way to revive it   should the phrase every single time be set off by commas?     Example 3. English opened the doors of an entirely new world—one brimming with knowledge and values not confined to the limits of my country—for me to explore, and, as I began to explore, my childhood fervor for playing games paved way for a much implacable thirst for learning.    should as I began to explore be set off by commas?  I researched and know that if there is a clause coming after and it should be set off from both sides with commas (correct me if I am wrong). But I don't know what to do in the instances above. Please, if you can, tell me the correct versions of the punctuation in the examples above and (do I put a comma here) if there is a recommended reading material or grammar rule on that, please do not hesitate to share it with me.  Thanks beforehand!!!


Consider:     Some men like doing housework.    Vs.     We interviewed ten men. Some of the men liked doing housework.    Can one say "some men" in the second sentence?   Can I conclude when the noun x is definite we can't use "some x"? I think it's the case for other articles like "all" and "most", right? For example     We interviewed ten men. Most of the men (not most men) liked doing housework.    We also can't say "some the men" can we?


How do you deserialize json properties that are reserved words in apex?

Is there any way to deserialize JSON into an object using JSON.deserialize if some of the property names in the JSON are reserved words in apex? I want to do something like this:  string jsonString = '{"currency" : "ABC"}'; public class JSONResult {     public string currency; } JSONResult res = (JSONResult) JSON.deserialize(jsonString, JSONResult.class); system.debug(res);   but of course I get an error that the identifier name is reserved.


Is there any formula to calculate $2^i$ for example? What about $x^z$? I was surfing through different pages and I couldn't seem to find a formula like de Moivre's with $z^x$.


Single vs. Multiple entry Schengen visa, for Spain and France?

I am from Egypt and I'm planning a vacation to Spain and France. While filling the visa application, should I choose a single or a multiple entry visa?! If i got a single entry Schengen visa, I still can travel from Spain to France and then back to Spain as long as it is during the valid dates of my visa right?!


Whta's the difference between "relation" and "relationship"?

At my English lesson I said "They had good relations" (about two neighbors), but my teacher corrected me "They had good realtionship". Why?


This question relates to this incident , where a women in Australia died from a faulty USB charger that allowed the full 240V mains voltage through the USB cable.  Now from my understanding you would have to be connected to the mains ground or the earth's ground in order to get an electrical shock. Otherwise there wouldn't be a potential that would allow the current to flow through her.  Now according to the article which cites the police she received the shock because she was touching her phone which was connected to the charger and her laptop which was also connected to a charger, as well as her EARPHONES which bothers me the most, apparently she had burn marks on her chest where the laptop was and in her ears. Unfortunately there are no details about the devices that were used. So I'm just assuming below.  Here the picture shown in the article explaining the connection:   Now how would this be possible? The phone must have a metal body which is also somehow connected to the power of the phone. The only phone where I can imagine that being the case are the recent iPhone models where the outer aluminum ring on the side is apparently also acting as the antenna ( and ), maybe other aluminum unibody phones as well. Still, is that even a feasible theory? Wouldn't a metal casing be connected to ground instead? How would a ground in a DC circuit act when suddenly the circuit "becomes" AC?  Then her laptop must have had an aluminum body as well which again must be connected to the ground. Again the only case where I heard about the laptop body be somewhat connected to the circuit is unibody MacBooks where users sometimes feel a tingle when touching the laptop while it is connected to the charger but is that even the case? Again it sounds weird that the laptop's body would be grounded: there is a low DC voltage coming in from the external charger so why would that be needed?  And wouldn't the laptop charger not be faulty as well then? How would it allow the current from the phone charger to flow back into the outlet and complete the circuit? Shouldn't the laptop charger isolate the mains from the DC output circuit?  Then the headphones: WHY would the outer casing of a pair of earphones be connected to the ground in any way and how would electricity even flow through the two sides of the earphones (THROUGH her head to the other side), that sounds like a really unnecessary detour for the current.  If this indeed possible like described by the police would this also be possible by a phone and laptop with plastic bodies?  I would love to see a detailed answer: I'm not that well educated when it comes to mains AC power and safety measures taken to avoid shocks.


Avoid other external sites copying SO questions?

There are a lot of sites copying SO questions & answers in the Internet (easily found in Google search results). I think it is done by robots. Is there anything SO can do to stop the robots to "steal" the contents from Stack Overflow ?


Does $\sum _{n=1}^\infty\frac{\left(-1\right)^{\pi \left(n\right)}}{n}$ converge, where $\pi(x)$ is the prime counting function?  The resulting sum should look like $$\frac{1}{1}-\frac{1}{2}+\frac{1}{3}+\frac{1}{4}-\frac{1}{5}-\frac{1}{6}+\frac{1}{7}+\frac{1}{8}+\frac{1}{9}+\frac{1}{10}-\frac{1}{11}-\frac{1}{12}+\frac{1}{13}-\cdots$$  So the sign of each fraction in the sequence switches whenever a prime is reached.


Art, image creation using hand and software

In several youtube links I didn't find a guide on how charts make figures of this kind. Surely it could be Adobe Illustrator, the first candidate but surely it could be some other program. To create, for example, a golf man thus more perfect what are the steps? I would to say what are the instruments that a graphic designer who has to draw such an image. I don't want someone to draw the image for me but to understand the tools and how to proceed to learn.


This is related to .  I just got an Android watch and basically the only reason I have left to check my phone is to see if my reputation changed. I do receive notifications of comments and answers to my questions on the watch. Is it possible/could it be possible to check reputation on a watch?


How to see more resuls when searching open tabs in Firefox?

I am using % for searching in my open tabs in Firefox. But the problem is that I can't get more than 9 results, others just don't show up. How do I fix that?


Regex to match multiple line of new line character

I have written a regex to match from locale="en" to date slot="164" but my regex is not matching multiple new lines. Please advice.  regex  locale="en"\s>\n<string slot="157">(.*|\n)*slot="164"   matching string  <case id="1" casebase="1" name="K" locale="en" > <string slot="157"><value>1asw</value></string><enum slot="12"><value id="1" name="Incomplete" /></enum><integer slot="9963"><value>2</value> </integer><string slot="9960"><value> 07/12/18 16:51  a created with status Incomplete by a &lt;br/&gt;  </value></string><string slot="9961"><value>awd</value></string><string slot="160"><value>awd</value></string><date slot="161"><value>2018-07-12T20:51:34</value> </date><date slot="164"><value>2018-07-12T20:51:34</value> </date></case>


Is there a svg to pdf_tex converter without Inkscape?

Is there a .svg to .pdf_tex converter without Inkscape?


how to print both side of paper with perfect positioning?

I know that all home printers can't do double side print with perfect accuracy, but is there any other printer you can buy that is specialized on this ? thanks!


I'm stuck in solving the integral of $\dfrac{1}{\sin(x-a)\sin(x-b)}$. I "developed" the sin at denominator and then I divided it by $\cos^2x$ obtaining $$\int\frac{1}{\cos(a)\cos(b)\operatorname{tan}^2x-\cos(a)\sin(b)\operatorname{tan}x-\sin(a)\cos(b)\operatorname{tan}x+\sin(a)\sin(b)}\frac{1}{\cos^2x}dx$$  Then I made a substitution by $t=\operatorname{tan}x$ arriving to this $$\int\frac{1}{\cos(a)\cos(b)t^2-(\cos(a)\sin(b)+\sin(a)\cos(b))t+\sin(a)\sin(b)}dt$$ How can I solve it now? (probably I forgot something, it easy to make mistakes here)   Thank you in advance!


I'm trying to validate a phone number in javascript with  the following regex  var phoneExpression = /^\(?([0-9]{9})\)?$/;   this expression works with xxxxxxxxx number but i need  a regex for  xxxxxxxxx , +xx xxxxxxxxx and +x xxxxxxxxx and all i've tried fails.


Is there a nullglob option for ksh(korn shell)?

I want to run a for loop, is there a way to do a nullglob in the korn shell like in other shells?  for file in docs*.txt; do


Are there problems with arbitrary application of bootstrap?

Suppose I have a statistics (say a price index) and I want to obtain standard errors for it.  I have heard that blind application of bootstrap may not be a good practice. If true  1- What could go wrong if I just apply nonparametric bootstrap and obtain standard errors for my index?   2- If it is OK, are the rsulting standard errors robust to heteroskedasticity, serial correlation etc.?  Thank you


Creating an age integer from the subtraction of two DateTime elements

I'm very new to coding and currently trying to learn C#. As a mini project/ practice I'm trying to create a mini address book, as part of that I want to calculate age from birthDate and today. My code to gather this date is as so:  DateTime today = DateTime.Today; public int age(DateTime today, DateTime birthDate) {        if (today.Month < this.birthDate.Month)     {         return ((today.Year - this.birthDate.Year) - 1);     }     else if (today.Month == this.birthDate.Month )     {         if (today.Day >= this.birthDate.Day)             return (today.Year - this.birthDate.Year);         else             return ((today.Year - this.birthDate.Year) - 1);     }      else         return (today.Year - this.birthDate.Year); }   However when I try to call a Console.WriteLine(person.age) or do anything with any of my person.age it tells me     The best overload method match for 'System.Console.WriteLine(string, params object[])' has some invalid arguments.   However as much as i've tried I can't work out what I have done wrong.


What wire size for 100 Amp sub panel 100ft in length form 200 Amp main panel?   Do I have to buy all 3 wires (2 hot and 1 neutral) the same size? Or can neutral wire be smaller size?


When I execute with biblatex, I have the cite reference :year and author as a single link. See the code below:  \documentclass[smallextended]{article}       % onecolumn (second format)  \usepackage[round]{natbib} % omit 'round' option if you prefer square brackets  \bibliographystyle{apa}  \usepackage{hyperref}  \hypersetup{  colorlinks   = true,  citecolor    = blue  } \begin{document} cite: \cite{Li2001}, \bibliography{my_bibtex} \end{document}   However, when I excecute with biber,I have only:     cite: ?,   and bibliogrphy doesn't displayed.  Another problem, see for example the code bellow, when I exceute with biber in the cite reference I have only the year as a link, where I want the author and the year as a single link. But when I excute with biblatex, I have an error that the file .bbl not created by biblatex.  \documentclass[smallextended]{article}       % onecolumn (second format) \bibliographystyle{apa} \usepackage[style=apa,natbib]{biblatex} \usepackage[american]{babel} \DeclareLanguageMapping{american}{american-apa} \usepackage{filecontents}% \begin{filecontents*}{apabibli1.bib}  @article{Li2001,  author = {Li,W and Jaroszewsk,L and Godzik,A},  year = {2001},  title = {Clustering of highly homologous sequences to reduce the size of large    protein databases},  volume = {17},  number = {3},  pages = {282-283},  journal = {Bioinformatics}  } \end{filecontents*} \addbibresource{apabibli1.bib}  \usepackage{hyperref}  \hypersetup{  colorlinks   = true,  citecolor    = blue  }  \begin{document}  cite: \cite{Li2001}, \printbibliography %\bibliography{my_bibtex} \end{document}   I don't understand what is the problem, I want to display the year and the author like a single link, any help please?!


How can I run a function with a specific duration of time?

I am new to python and I wonder how can we set a specific time for a function to run. Considering here I have a dataframe with 891 rows called df which has a column name body_text I want to perform a function call summary(to summary the text) through the row of dataframe and store them into a new dataframe called df_summary. Here my goal is to set a function summary to run at most for 2mins it will be good if it can finish before 2mins and move to the next iteration. In case it is not, I want to call the other function name preprocess instead of the function summary that cannot finish within 120s. Consider we already created the df_summary with 891 rows and a column name body_text. Here is my code + a bit pseudo code as I dont know how to write it exactly: import time   for i in tqdm(range(0,891)):   # code to detect running time here     df_summary['body_text'][i] = summary(df['body_text'][i])# perform the summary function with at most 120s    # when 120s is over but the summary function cannot finish than perform a preprocessing function instead and move to the next iteration     df_summary['body_text'][i] = preprocess(df['body_text'][i])  Note that if the function summary can run in at most 120s or under that limit time, it wont run the fallback function preprocess and then move to the next iteration. How can I achieve this? Any help will be much appreciated.


function .on wont work for later generated elements

i've a modal. On Click i load some elements into a ul-list to the content of the modal.  This function is called over the class "modaldata", for my later generated elements, this function do nothing and i dont know why?  Thats the function inside the mainpage      $(".modaldata").on("click",function(){  alert("klick");     var modalid = $(this)[0].getAttribute("data-modalid");     var ds = $(this)[0].getAttribute("data-ds");     var step = $(this)[0].getAttribute("data-step");      $.ajax({          type: "POST",          url: "'.$global['serverurl'].'/system/modalcontent.php",          data: { modalid : modalid, ds : ds, step: step },          success: function(result){              var res = $.parseJSON(result);              eval(res.js)},          error: function(){                alert("failure:"+res.msg);          }     }); });   That the part from the modal modalcontent.php It will display correctly but the function wont work again if i click at the <span class="modaldata" part   ... $cont.='
  '.$e['ROLE_BEZ'].' '.$tmp['count'].' '.$tmp['del'].'
';     }      $res['js'].='$("#ex_roles_div ul").append("'. preg_replace( '/\r|\n/', '', addslashes($cont) ).'");';   echo json_encode($res);  Call up the modal and first call of the function  '.GloFu_get_rolename($e2['USER_HOME'],$e2['ROLE']).'


What is the Riemann surface of $y=\sqrt{z+z^2+z^4+\cdots +z^{2^n}+\cdots}$?

The following appears as the second-to-last problem of Stewart's Complex Analysis:     Describe the Riemann surface of the function $y=\sqrt{z+z^2+z^4+\cdots +z^{2^n}+\cdots}$.   This problem intimidated me when I first saw it as an undergrad, as the series under the root isn't the expansion of any function I know (then or now). That renders the Riemann surface more subtle than usual, since any info about poles and zeroes must be found from this series alone. For instance, it has a zero at $z=0$ and therefore a branch point. But there should be other zeroes — indeed, infinitely many zeroes— since the number associated with any truncation of the series grows as $2^N$!. This suggests that the Riemann surface of this function must be exotic.  I'll give a sketch of an argument below, taking the pedestrian approach of hunting poles and zeroes of the function. However, I'd be glad to see an elegant and advanced perspective of the problem, particularly if it uses some ideas which I wouldn't have encountered as an undergraduate. The more food for thought, the better!  EDIT: As noted by O.L.'s answer below, the series above is the canonical example of a lacunary function with the unit circle as natural boundary. What that leaves open is the nature of the resulting Riemann surface, which would seem to hinge upon the quantity of the function's zeros within the unit circle. David Speyer has given an argument in his answer that this number is at least 10. Is there a more definitive result on the zeroes of this lacuuary function?


How can I configure blender to import a custom mesh from the shift + a add mesh menu?

It may be useful in sculpting and character design for example for the body parts (head, eyes ...)


I want to write a sql query that does:   if this query (select X from table1 where x = 'value1') has result return 1 else if (select x from table2 where x = 'value2') has any result return 2 else return 0.  Thanks


Good resource to learn geometric interpretations of matrices

I need a good resource to learn matrices and all its properties through geometry. I feel geometry gives an insight into many matrix operations and a good resource will be useful for many students who wish to get a better insight into matrices.


Include data from LibreOffice Calc or MS Excel

I'd like to use LibreOffice Calc or MS Excel to create and edit spreadsheets and include these in LaTeX (LuaLaTeX would be fine, too). It is necessary for me to get calculated values like SUM(C2:C5) as well.  So far I've tried  and . Where odsfile didn't work at all, exceltex did work but ignored calculated values.  Has anyone successfully tried to include spreadsheet data with calculated values?  Update  This question is not the same as "I'd like a easy interface for LaTeX-Tables", as I look for a more comprehensive solution. We use spreadsheets for modeling our problems. When we refine our models, I'd like to update the TeX-based reports without exporting/importing many tables.  That said, odsfile works pretty much as I wanted to.  Thanks for your comments and suggestiongs so far. Do you know any other solutions like odsfile?


Can you overcharge a capacitor with a lower voltage power source?

If I have a 5v capacitor and a 3v power source, and I connect the power source to the capacitor will it charge up to 3v then stop, or will the voltage rise above 3v?


I have a apex remote action method which expects a string as parameter.But I have to validate if the byte size of the string value that I received exceeds a certain amount or not in the apex code.Is there a way to determine the byte size of a string in apex?


If $x,y$ are positive integers and $x\geq1$ and $y\leq1$, then $x+y\geq x\cdot y+1$  Don't have a direction, much appreciated.


So, there's a modification to a question and I was curious what the change was:        But when I got to the question, there was no 'last activity' on the right hand side:        Though you could see it if you scrolled down to the last edit:        I was expecting something like this on the side:        Note the 'active today'  The question in question with the lack of active activity is


How to update from 12.04 LTS to 14.04 LTS in Terminal

I have a dual boot 12.04 LTS and windows 7, now i want to update from 12.04 LTS to 14.04 LTS, how to do this in terminal? and also how many MB of data it takes approximately?   If any disturbance is occured while upadting (i mean disconnection in WiFi) will it starts downloads from beginning? or it continues from where it stops?


Let $(e_n)$ (where $ e_n $ has a 1 in the $n$-th place and zeros otherwise) be unit  standard vectors of $\ell_\infty$.   Why is $(e_n)$ not a basis for $\ell_\infty$?  Thanks.


How to eliminate or get rid of black areas in Blender in Layout which does not let me see what I am working on

I have a weird problem. While working on a pretty large scene, I keep seeing a "triangle" shape area which I am not able to get rid of. It's as if the view is limited or something alike. I have tried render regions and disabled that several times, but that doesn't seem to be the issue. Rendering is OK. Thanks a lot for your time and much appreciate your feedback. Best regards.


Unable to install skype on Ubuntu 16.04 64 Bit - Failed to fetch / Hash sum mismatch

I installed Ubuntu 16.04 LTS 64 Bit . I am unable to install Skype . It gives me the following error .  E: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/pool/main/g/gcc-5/cpp-5_5.4.0-6ubuntu1~16.04.1_amd64.deb  Hash Sum mismatch E: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/pool/main/g/gst-plugins-base1.0/libgstreamer-plugins-base1.0-0_1.8.2-1ubuntu0.1_amd64.deb  Hash Sum mismatch   I have seen  and already tried various commands and operations:   I tried sudo apt clean , update , upgrade command .  I tried switching the Servers .


Why are the obstacles in the Underground Chambers in HP1 so easy?

Considering that a wizard trying to get the Philosopher's Stone will probably be a powerful one, why didn't the professors put much more difficult obstacles in the Underground Chambers?  Is it because they already know that the obstacle made by Dumbledore is impossible for an evil wizard to solve?  Edit : To clarify :  The puzzles to enter the Ravenclaw Dormitory are not easier than the puzzle of Snape.   Quirell's mountain troll is probably the easiest one for a powerful dark wizard who does not care about using the killing curse.   McGonagall's chess puzzle is solved by a  11 year old non-professional chess player.  Flitwick's winged keys puzzle is solved by Harry Potter, who is an inexperienced Quidditch player who played Quidditch only for a year (if we don't count his babyhood).  Sprout's Devil's Snare can be solved by using many spells if you don't know that you need fire like Hermione did.   Hagrid's Fluffy can be solved without the precious information that you need music to put it to a sleep.


Finding a maximal ideal in the set of continuous real-valued functions on $\mathbb{R}$

Let $X$ be the set of all continuous and real-valued functions on $\mathbb{R}$. X is a commutative ring with pointwise addition and multiplication.   Let $\alpha \in \mathbb{R}$ be arbitrary.      (1) Show that $I = \left\{f \in X \ \big\vert \  f(\alpha) = 0\right\}$ is a maximal ideal of $X$.      (2) Show that $X/I$ is isomorphic to $\mathbb{R}$   (1)  I tried to visualize this task. The only reason $I \neq X$ is position $\alpha$, where I cannot create another value than 0 using translation or rotation. If I take any function $f'$ for which $f'(\alpha) \neq 0$ applies, I can use the fact that $X$ contains all functions except for the ones being not 0 at $\alpha$, and can therefore create any continuous, real-valued function on $\mathbb{R}$.   While this seems clear visualized at the paper, I have no clue how to formally write this down, can you please help me to formalize it? I'm especially stuck because I don't know how to formally write down all continuous, real-valued functions on $\mathbb{R}$.  (2)   I need to find a bijection between $X/I$ and $\mathbb{R}$, but don't understand why this is possible. As far as I understand $X/I$ are all continuous real-valued functions on $\mathbb{R}$ that are not $0$ at position $\alpha$. But I can find more than one of those functions for each $r \in \mathbb{R}$ which is in $X/I$. So how could I find a bijection? Where is my mistake?


Matlab's "buggy" symbolic integration function seems to be equivalent to the Implied Integral. Coincedence or intentional?

In matlab there is a function called "int(f,x)" which takes in a symbolic function and a variable and integrates it. I decided to try using it today to play around and do a few integrals and I got a pretty interesting surprise.  I integrated the following and got the following results from matlab:  $$\int floor(x) dx = x*floor(x)$$  $$\int floor(\sqrt x) dx = x*floor(\sqrt x)$$  $$\int x*floor(x) dx = \frac {x^2}2*floor(x)$$  I think you see the pattern. Matlab's integral seems to treat symbols of the form floor(f(x)) as constants. Oddly enough, I actually have a name for and use this operator in self-developed integration methods. I call it an implied integral. Is there some actual reason why matlab's integration function does implied integration or is it just a "bug" in the lack of algorithms for certain integrals? This is the first instance I've seen of anything mimicking the sort of things I've been doing over the past year or so, so if matlab has followed down the same path I am and is doing something I'm not yet aware of that would interesting to see.  On the flipside I now know of a working implied integral calculator, which is awesome.


Replace text (with question mark) using regex

I want to replace a text which contains "?" character using regex.   var test = "{=countAreas?area=123}";  I want to replace it with:  "{=countAreas?area=123}X"  I tried below code but "?" character creates an issue since it's a part of regex's identifiers:  test.replace(new RegExp(arrMatch[i], 'g'), "" + arrMatch[i] + "X");


Every two consecutive integers are coprime.

I start with knowing that two numbers are coprime if:  $n*k + m*j = 1$  So, setting $k = a$ and j = $a+1$ I can solve as follows:  $n*a + m*a + a$  Then,  $a(n+m) + m = 1$  Where can I go from here?


Elantech touchpad: right button OR two-finger scroll

Dear Ubuntu community,  I recently bought an AsusPro PU401LA laptop (FreeDOS, wiped by Ubuntu 13.10). It ships with a regular Elantech touchpad, i.e. it has physical left and right buttons. I would like to use both the physical buttons and two-finger scrolling.  Out of the box, the touchpad was detected as a PS2 input device (according to xinput), so it lacked multitouch. I updated to kernel version 3.13, but still no multitouch.  I managed to activate multitouch features using . I can use two-finger scroll, right-bottom area click or two-finger click to substitute the right button. However, I would like to use the existing physical right button. The problem is that the package above disables the right button of my touchpad. xinput now results in the following:   Virtual core pointer                       id=2    [master pointer  (3)] ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)] ⎜   ↳ ETPS/2 Elantech Touchpad                  id=12   [slave  pointer  (2)]   xinput list-props 12 yields:  ...     Synaptics Capabilities (589):   1, 0, 0, 1, 1, 1, 1 ...   That is, the right button is not detected anymore. I can alternate between the right button and multitouch features, but I cannot have both right now.  Could you help please?


Are there hidden prepositions in these sentences?

My shoes are [of] the wrong color. This new wallpaper is [of] an odd pattern.  At first, one could say these are noun phrases functioning as predicate nominatives; however, the awkwardness in meaning suggests that a preposition was omitted and the subject complement is actually an adjectival prepositional phrase. Is this the case? If so, when is the omission allowed?


I have a simple question:  Are we certain that the md5 hashing algorithm can produce $2^{128}$ different outputs ? If so, how ?  Note: Sorry if this has already been asked, I really couldn't find it.


Does $\sum\limits_{k=1}^\infty |\sin(ak)/k|$ converge?

Does $\sum_{k=1}^\infty |\sin(ak)/k|$ converge for all $0<a<\pi$? I do not think so since for $a=\pi /2$: $$\sum_{k=1}^\infty\left\vert\frac{\sin(ak)}{k}\right\vert=\sum_{k=0}^\infty (2k+1)^{-1}=\infty.$$  But is this true for all $a$?


One thing, I'm not a mathematician so please be patient. I am still in Algebra II Trig. Leading with that, why does  $$ x_0 = \sin 1, \space  x_1 = x_0 + \sin x_0, \space x_2 = x_1 + \sin x_1 ... $$ and after a while, $$ x = \pi $$  I know this to be true because I have evaluated this on my TI-84 and more deeply evaluated it with this program I made:   To $100000$ Iterations (which I believe is enough)   So what's the math behind it? Why does adding $\sin 1$ in this manner produce $\pi$? Why doesn't doing the same thing using $100$ produce $\pi$? For example,  $$\sin(1) = 0.841470...,\space \sin(1) + \sin(0.8414...), \sin(1) + \sin(0.841470...) + \sin(1.587095126...),\space ... $$ $$ = \pi$$  My question is different from the mentioned because my function is not taking the sin of a sin consecutively, but is this following function: $f(x) = x + \sin x$ and is not $f(x) = \sin x$ and therefore can exhibit different properties I need explained.


Grep works when I use is with ls | but when I try the command by itself, it just gives me a blinking cursor that never goes away on the next line (as if it's running a command).  For example, I tried:  ls | grep zip   while in the bin directory and got a list of files, but plain grep zip in the same directory gives me the problem stated above.


Closedness of a mapping $p : [0,1] \cup [2,3] \to [0,2]$

Below is an example (Example 1, p.137) from Munkres' book Topology.     Let $X$ be the subspace $[0,1] \cup [2,3]$ of $\mathbb{R}$, and let $Y$ be the subspace $[0,2]$ of $\mathbb{R}$. The map $p:X \to Y $ defined by   $$p(x) =  \begin{cases}  x, & \text{for }x\in [0,1] \\  x-1, & \text{for }x\in [2,3] \end{cases}$$   is readily seen to be surjective, continuous and closed.   It is clear to me that $p$ is surjective and continuous, but I cannot not see "readily" why $p$ is closed.  To show $p$ is closed, I let $U$ be a closed subset of $X$ and tried to show $p(U)$ is closed in $Y$, but I am not sure how to proceed.   How can I see/prove that $p$ is closed?


Necessity of writing the number "404" on a 404 page?

I've been working on a 404 page recently and have been confronted with the issue of whether we need to explicitly write the numbers '404' on the 404 page.   My team's opinion on this issue is split. I don't think that the average user knows or cares what 404 means (our average user is fairly non-technical).   Does anyone know of any studies or have a strong opinion about this?


A word for someone who loves searching, learning new things?

I'm looking for a suitable word or expression, for someone who really loves to learn, search and read about new things (Technologies, science, economics, politics..), so that his passion is only to acquire more knowledge.


I forgot a password administrator account windows 10 but I can access to the other local accounts is there a way to restore or reset her from one of these local accounts?


Is it considered offensive to address one's seniors by name in the US?

In my country (India), there are several implicit norms that need to be followed by almost every one. Among all, an important norm is that juniors does not address their seniors by name. It happens in both students' circles and faculty circles -- thus, even junior professors would not address senior professors by name. Recently (in the US), a female assistant professor addressed a male associate professor by his name. It is the first time ever I saw an incident like this personally. I personally considered it as an offense to the male associate professor. So, I am wondering whether it is a norm in the US to address seniors as "sir" or any other respectable salutation instead of addressing by name. Note: The question is broader than only addressing a professor.


SQL not engaging parallelism for extremely large query

I have a very large query (~630 lines) that involves a lot of nested SELECT statements and pulls from multiple views. Our SQL server has parallelism set to 2 with a threshold of 95 (set that way because our DBA was optimizing it based on some other applications). This query has recently started taking 5-10 minutes to complete, up from usually less than a minute. While investigating the cause, we noticed that it never seems to trigger parallelism, always running serial, and suspect that may have something to do with its performance. What's weird is while experimenting, we even dropped the threshold back down to the default value of 5 seconds, and it still won't run parallel. What could be preventing it?  We've been doing the testing on a non-production environment that nobody else was using at the time, so this was the only query being run. Our DBA also tried things like clearing caches and plans, and even recycling the system, but it had no effect.  Update 1: Per comments, I've verified that stats are updated nightly but the problem persists. We're actually rolling back the code to an earlier version that didn't have such serious performance issues, but will continue to test this code because it was supposed to improve performance over the old code, and actually did in initial testing. Will update here accordingly.


Ley X,Y two random variables with density $f(x,y)=8xy \  \text{if} \   0<x<y<1$  Find the joint distribution F(x,y).  I find that $F(x,y)=2x^2y^2-x^4\ \text{  if}  \ 0<x<y<1$ but I dont know how to find the didtribution in other points.


Right expl3 data type and method to store and pass key-value style options to a LaTeX2e macro?

How can I store comma separated options in an expl3 data type and then pass those options to a LaTeX2e macro?  Something like this (doesn't have to be a clist—I'm not sure what is the best data type to use.). In fact I strongly suspect I have no idea what I'm doing... :(  \documentclass{article} \usepackage{expl3} \usepackage{graphicx} \begin{document}  \textbf{What I want:}  \includegraphics[width=0.3\linewidth,height=4cm,keepaspectratio,]{example-image.jpg}  \textbf{What I get:}  \ExplSyntaxOn \clist_set:Nn \l_tmpa_clist { width=0.3\linewidth , height=4cm , keepaspectratio } \includegraphics[\clist_map_inline:Nn \l_tmpa_clist { #1, }]{example-image.jpg} \ExplSyntaxOff  \end{document}


If $a_1^2+ a_2^2+ a_3^2+ a_4^2$ = 1 and $a_1+a_2+a_3+a_4=0$ find the maximum of given expression

Let $a_1,a_2,a_3,a_4\in\Bbb R$ such that $a_1+a_2+a_3+a_4=0$ and $a_1^2+ a_2^2+ a_3^2+ a_4^2$ = 1. Then find the maximum value of the expression $(a_1-a_2)^2 + (a_2-a_3)^2 + (a_3-a_4)^2 + (a_4-a_1)^2$   question has been asked here before, however previously only the minimum value was asked. For $a_1=\frac{1}{2}, a_2=\frac{-1}{2}, a_3=\frac{1}{2},a_4=\frac{-1}{2}$ the expression is $=4$ and I can see that this is probably the maximum. However I can't think of how to prove it. Any hints will be appreciated, thanks


Why are . and .. are output as a hidden files when we do ls -a?

Is it something like they are by default added to every directory created to facilitate movement outside?


ConcurrentModificationException for ArrayList while trying to add items in list

I have a button "Cart" that do select *  query and add items(articles) in ArrayList, since i want to avoid to add articles in list every time button is clicked i tried this: for(Article a : articleList){      String checkId = "select * from article";      PreparedStatement ps = conn.prepareStatement(checkId);      ResultSet rs = ps.executeQuery(checkId);      rs.next();      if(a.getId()==rs.getInt("id")){       //Here i'm returning list, just like it is in DataBase.     } else{         //Here i want to add articles in the list     }  }  I assume that i'm getting that exception because i'm adding articles in ArrayList while traversing through the same list. How can i fix this?


Prove for $x \in \mathbb{X}: x \in \bar{A} \Leftrightarrow d_A(x)=0$

For $A \subset \mathbb{X}$ non empty and $x \in \mathbb{X}$ define the distance of x to A by $$d_A(x)=inf_{a \in A} d(x,a)$$  I am trying to prove for $$x \in \mathbb{X}: x \in \bar{A} \Leftrightarrow d_A(x)=0$$  The proof starts of by saying if $x \in \bar{A}$ then there is some $y\in A$.  How can we say this?   How do we know there is some $y \in A$?


Is heat energy from electronics wasted in the winter?

In the winter, are not all electronics heating the house - thus no energy is wasted?  Considering the energy I'm paying for: If I leave my computer running while I'm out, how much energy is actually wasted in the winter? Is all of the energy used in the computer expelled as heat into my home?  To be even more specific: If my computer ran at a constant 500 watts and I had a 500 watt space heater, would they heat my home the same (thus cost the same)? If so, wouldn't it make sense to leave the computer on in the winter, since the heat produced is not really wasted? That way I always have instant access.  (Ignore variables like computer lifespans, gas furnaces, and cost-effectiveness for the sake of the question.)


What value pull up resistors does the MPU9250 use?

Looking at the    On page 32, the datasheet says "The MPU-9250 always operates as a slave device when communicating to the system processor, which thus acts as the master. SDA and SCL lines typically need pull-up resistors to VDD. The maximum bus speed is 400 kHz."  There's no information about what value pull up resistors to use. Doing a quick search on google for mpu9250 schematics I see this schematic   It uses 10k resistors as pull ups. My question is whether this is accurate, and more importantly can I settle for 4.7k resistors since those are what I have lying around?


Would you please rephrase the bold part on such a way that i could get it better? or would you rephrase the bold part in another way?  Or, does this phrase mean before?  The money could be paid as early as next week. He started writing music as early as 1980.  If the idiom as early as is the same as early, could we rephrase the following sentence with it?  Early booking is essential. as space is limited.  Or, what is the difference between these?  I wake up as early ay as 6 o'clock  I wake up at 6 o'clock  Thanks in advance


We have a mysql database with a size of 2 TB, in which we have for to five big tables ranging from 110GB to 350GB. When we try to drop these tables the mysql goes to the defunct mode and hangs in that state for a long time. Is there a solution to drop these tables without mysql hanging. We have a machine which has a memory of 122GB and swap of 60 GB. We use an InnoDB Engine Hope the information suffices kindly help us with this issue.


Could the Borg have origins from an awry experiment in the Delta Quadrant?

Could the Borg have been a result of a civilization in the Delta Quadrant trying to develop advanced medical nanites and the experiment went awry?


How to check UFW status without sudo (or being root)?

I'm running some scripts to check the UFW status and would like to run sudo ufw status without having to do sudo. I was hoping to find a firewall or ufw group to add myself to, but I didn't find any.   How can I allow any user X to do the ufw status without being root or asking for sudo password?    UPDATE:   I wanted to try to add my own file to /etc/sudoers.d/, but was lazy so decided to copy one already existing, like this:  sudo cp /etc/sudoers.d/mintupdate /etc/sudoers.d/firewall_status   Don't do That! You will not be able to do sudo or login again. I had to do a boot recovery. Instead use:  sudo visudo -f /etc/sudoers.d/ufwstatus   Now just follow the accepted answer below.


I have a foreach loop that returns something like this:  value 1 value 1 value 1 value 2 value 2 value 2 value 2   I need to get that list but only the first of each type. So,   value 1 value 2   below is my code.  <div>     @foreach (var publishedVideo in allVideos)     {         <p>@publishedVideo.GetPropertyValue("segment")</p>     } </div>   How do I de-duplicate the list?


overriding standard buttons with lightning components

I am trying to override a standard "New" button that appears when Case tab is clicked ,so i navigated to new button on the object and i see lightning component bundle is one way to override but when i select the dropdown i dont see my lightning components , is this Beta? or do my lightning component need to implement something ? or below answer in the link is what needs to be implemented for now lightning comp in VF?     standard-buttons-with-a-custom-lightning-page


Subject and Verb Agreement - When to use Singular / Plural

I see below suggestion in Grammarly on Subject and Verb Agreement.  "The verb needs does not seem to agree with the subject that. Consider changing the verb form."  And they give below examples on this as suggestions:  ***Incorrect**: Tom and Jenny loves entering trivia contests. **Correct**: Tom and Jenny love entering trivia contests.*  ***Incorrect**: The book, including all the chapters in the first section, are boring. **Correct**: The book, including all the chapters in the first section, is boring.*   As an explanation, they say "A singular subject requires a singular verb, and a plural subject requires a plural verb. "  But in the above example that is not the case, Tom and Jenny are two people and they use love and not loves. Can anybody clarify me on this? Thanks


High voted comments are in black text and look boring and unremarkable, while comments with a few votes have the red "hot" color on them. (I have no idea what is with the blue 25 :P)  Could this be changed so that highly voted comments actually look highly voted?


I'm getting a small difference in horizontal alignment when using the two ways of placing an image as shown in my code below. I know it doesn't look like there's much point in what I've done, but this is just a minimal example showing the problem.  Anyone know why this happens? Or how to fix it?  Thanks for any help.  \documentclass{article} \usepackage{graphicx,caption}  \newcommand{\scalebar}[1]{\includegraphics[width=0.5\textwidth]{#1} }   \begin{document}  \begin{figure}[!hptb] \centering \includegraphics[width=0.5\textwidth]{image} \caption{} \label{normalImage} \end{figure}  \begin{figure}[!hptb] \centering \scalebar{{image}} \caption{} \label{imageFromCommand} \end{figure}  \end{document}


How can I import KML from ArcGIS MapServer into QGIS 2.8.3?

Can I import KML from  into QGIS 2.8.3?   I´m not sure with the duplication. I extracted KML file from KMZ and then I tried load into QGIS. Error message is in czech and it means data source is not in valid or is in unrecognized format, I added structure of kml file.


Join this community button does not redirect to the page you were on

How it should be:    You click the Join banner button button. You get a confirmation Are you sure you want to join this community? Upon clicking Create Account, your account gets created, and you get redirected to the page you were on   All of the above are working, except for the bold line, i.e. I'm being redirected to the site's front page.  Example:     EDIT: In regard to , this question is different.  That one seems to be about the join this community button in the black SE bar, however, mine is about the Join button in the community banner.  Also, as an additional note, the black join this community button . (ie. It redirects correctly)  EDIT 2: Turns out it's pretty much the same problem, just a different way to get there.  I make  showing that problem.  NOTE:  This happens on every SE site - I've noticed it quite a few times.    NOTE2: I'm using FF 44.0 at the moment.


What is the difference between multi-class and multi-label classification?

What is the exact difference between multi-class and multi-label classification?  For example, if you have a fridge with a camera that can view inside to see what products are still in stock, is this an example of multi-class or multi-label classification?


My posts have meta keys _vote_user . user_id() and value of (int) 1, 2 or 3.   I would like to return all posts with a meta KEY containing the string '_vote_user', i.e.: return all posts with meta vote for the current round but by any user.  $meta_query = [     [         'key'       => '_vote_user_',         'value'     => $atts['round'],         'compare'   => 'LIKE'     ] ];   As I understand it though, with the above code I'm querying the value for a LIKE value, not the key. How can I query the key? Maybe this illustrates better what I'm trying to achieve:  $meta_query = [     [         'key'       => '_vote_user_%', // where '%' is any integer         'value'     => $atts['round'],         'compare'   => 'EXISTS'     ] ];   EDIT  What if I were to first identify the IDs of the judges and query just those possible keys? So if my judges IDs were 2, 3 and 5 would the only way to query that be:   $meta_query = [          'relation' => 'OR',              [             'key'       => '_vote_user_2',             'value'     => $atts['round'],         ],[             'key'       => '_vote_user_3',             'value'     => $atts['round'],         ],[             'key'       => '_vote_user_5',             'value'     => $atts['round'],         ]     ];   It doesn't seem to be possible to submit an array of keys like you can for values.


I'm proving that $\overline{\mathbb{F}}_p = \bigcup\limits_{i=1}^{\infty} \mathbb{F}_{p^i}$ is an algebraic closure of $\mathbb{F}_p$ where $p$ is a prime. I think I've gotten down how to prove that $\overline{\mathbb{F}}_p$ is a field and that it is algebraic over $\mathbb{F}_p$. I have some difficulties with proving that $\overline{\mathbb{F}}_p$ is algebraically closed. My attempt is as following: Suppose $f$ is a non-constant polynomial in $\overline{\mathbb{F}}_p [X]$. If $\overline{\mathbb{F}}_p$ contains a root of $f$, then it is algebraiclly closed. Per definition there must exist a $\mathbb{F}_{p^k}$ for a certain positive integer $k$ that contains all the coefficients of $f$. Take a root $\alpha$ of $f$ and consider the extension $\mathbb{F}_{p^k}(\alpha)$. How is this now a field of the form $\mathbb{F}_{p^l}$ for a certain positive integer $l$?


formatting indentation in a reference text

I made a document in word and then in a rush I had to change it to Latex, I do not have time to use the bibtex for my references, so I just copy and paste them from word. The problem that I got is that my references are appearing like this:  but I would like them to appear like this:  I am a newbie in latex, so I would like to know how can I do to move the [] to the left and indent the text to the right, so that it appears like the model that I want it to be.


I Have a table in Mysql Which contains 10 Million Entries so far, and I am writing a script in python in which I want to get data from DB in chunks of 100K(Number of row's).   I have tried threw paging () but unable to do it anyone can help me with this.


How does a photon lose intensity as it passes through space?

I understand light consists of photons. Likewise it is a wave with varying intensity in the electric and perpendicular magnetic fields. Say there is a candle lit on the moon. Why wouldn't we be able to see it from Earth? Since light is quantized, would an equal distance in space correspond to a proportional loss in intensity? If so, what are the proportionality constants in the vacuum of space and in 'regular' air?


I need to remove city names 5 characters or less from cities list:  The below code works, but I feel the code is too long and there should be another method I can use to cut down the length of the code.  cities = ["New York", "Shanghai", "Munich", "Tokyo", "Dubai", "Mexico  City", "São Paulo", "Hyderabad"] count = 0 loop = 0  print("City List:",cities)  for x in range(len(cities)):     if len(cities[x]) <= 5:         cities[x] = 'small'  for x in range(len(cities)):     if cities[x] == 'small':         count += 1  while loop < count:     for x in cities:         if x == 'small':             cities.remove(x)             loop += 1  print("Filtered:",cities)


This particular  seems to be on a tag wiki editing spree. I've noticed quite a few tag edits which are very trivial and offer very less information. And I happened to see quite a lot of the tag wiki edits in the reviews queue even today.  My question is, how do I flag such an user for moderator attention? Because there is no flag option in the review page of a tag wiki edit, nor does the tag page have an option to flag.


Different caption styles for figures and for tables

I need to have different caption format for figures and for tables. Captions for figures have to be centered and captions for tables - left aligned. How to define this?


How can I report abuse of the edit privilege?

In the case of objectionable questions, answers, and comments, I'd flag the behavior, as recommended here:  However, there is no way to flag edits. So how can I report abuse of the edit privilege?  I ask because I recently encountered a user who made many edits not in accordance with the .