Software that reduces blue light from monitor

I recently had an eye appointment, and the optometry student who saw me told me that, for my next pair of glasses, I should get lenses with "blue blocker" material.  There is some (scant) evidence that blue light from computer monitors causes macular degeneration over time.  Prescription lenses with blue blocker look ugly, IMO, so I opted not to get the blue blocker in my lenses.  At the same time, I don't want to lose my eyesight if I can avoid it.  Are there software solutions available in Ubuntu for turning off or substantially reducing blue light emitted from my monitor -- at the particular wavelengths that have been shown to harm eyes?


I often Google Image Search for simple images to add to my blog. For example I just searched 'lots of coffee'.   However, for certain terms (like the aforementioned one) it produces a lot of results from stock image companies, that are all obnoxiously watermarked.   I'm not interested in paying for the stock images so I'd rather just not have those results show up.   Is there a google-hack I can do avoid these images?


Could we allow users to challenge moderators' decisions?

Currently, if a question gets put 'on hold' or is 'closed', the user is asked to edit the question so that it conforms to the website's guidelines.   The problem with this system is that it assumes that moderators are always right. Maybe in the box that says whether a question is 'closed' or 'on hold', there could also be an option to challenge the decision?  If a user wanted to challenge the decision, they would be required to write why they think the decision was wrong and submit it. After it's submitted, the challenge would be sent to a random group of moderators from around the Stack Exchange network.   If they vote that it isn't against the rules, then that would override the original decision.


Using one sequence across all tables in PostgreSQL

I propose using a single sequence for the bigint identity columns of most or all tables. (Essentially, OID, except 64-bit.)  This helps prevent security problems for a multi-tenant application that joins tables incorrectly.  While a uuid could be used for this, bigint is half that size, helping save index space.   My understanding is that sequence generation is very fast in PostgreSQL. The only downside I can see is widening the type of tables could get by with 4 byte integer IDs, but thanks to PostgreSQL upsert behavior (generating a new value whether or not it's needed), I rarely use int IDs anyway. Is there an issue with approach? I haven't found anyone advocating for it, but I consider the join safeguard to be quite nice.


Using the getIntent function in if statement

This is what I am doing  FIRST ACTIVITY  public void onClick(View v) {             Intent intent = new Intent(TeamsActivity.this,PakistaniPlayers.class).putExtra("StringName","hello");             startActivity(intent);   }   SECOND ACTIVITY  if(getIntent().getStringExtra("StringName")=="hello") {   TextView t=(TextView) findViewById(R.id.textView1);   t.setText(getIntent().getStringExtra("StringName")); }   Now the code inside the if statement doesn't run but if I run the statements inside the if statement separately I get hello displayed.


I'm new to GIS. I have a shapefile (shp) that I need to add lat/lng coordinates too.   I used QGIS to open the file and selected:  Processing->ToolBox->QGIS geoalgorithms->Vector geometry tools->Extract nodes to add nodes to the file. I set the coordinate system to WG84G, when I go to add the $x coordinates I get output of 585292.76.   I believe it's the coordinate system not being correct but not sure which one I should be selecting.


If a function is continuous and differentiable everywhere is the derivative continuous?

Suppose $f$ is continuous on $[a,b]$ and differentiable on (a,b). Does it follow that $f'$ is continuous on $(a,b)$?


I have a public key which is ASN.1 DER formatted shown below :               0:d=0  hl=3 l= 181 cons: SEQUENCE               3:d=1  hl=3 l= 144 cons: SEQUENCE               6:d=2  hl=2 l=   0 prim: PRINTABLESTRING   :     8:d=2  hl=3 l= 139 prim: OCTETSTRING      [HEXDUMP]: <Some Data>   150:d=1  hl=2 l=  32 prim: OCTET STRING     [HEX DUMP]:<some data>   I have some public key in PEM format. How can change that to the above listed key format?


How to evaluate $\lim_{n \to \infty} \frac1n \sum_{r=1}^n r^{\frac1r}$?    I've tried finding it, and I know that without the $\frac1n$ factor, the sequence has the limit $n$. What about the series? Will it be 1, then? How to show?


Grep, How to pattern match a multiple bracketed strings on one line

I have some data which includes a bunch of bracketed codes, sometimes multiple on one line.  Lorem ipsum  (ABC123) dolor sit amet consectetur adipiscing elit (BCD234) sed do  (345CDE) eiusmod tempor (8675309) incididunt   All my attempts to pull out the bracketed strings (grep -P -i -o "(?<=\().*(?=\))" and grep -E -i -o "\(CAS.*\)") have resulted in an output like:  ABC123 BCD234 345CDE) eiudmod tempor (8675309   whereas what I need is :  ABC123 BCD234 345CDE 8675309   How should I go about this?  I'm using GNU grep.  I bonus would not be broken by unmatched brackets and pull out ABC123  from ut labore (et dolore (ABC123) magna aliqua but that's not too important.


Please, does anyone know whether Macbook (2015) with MacOS Sierra (10.12) is able to drive Dell P2415Q 4K (3840x2160) monitor at 60Hz? What dongles do I need?  I have  which is said to support "UHD (3840 by 2160) at 30Hz". But Apple's  states:     With macOS 10.12 or later, MacBook (2015 and later) and MacBook Pro (2016 and later) support these resolutions and refresh rates over HDMI 1.4b using the USB-C Digital AV Multiport Adapter:         4096x2304 at 48Hz refresh rate   3840x2160 at 60Hz refresh rate (mirroring is not supported at this resolution)         MacBook (2016 and later) and MacBook Pro (2016 and later) support 60Hz refresh rates over HDMI when used with a supported HDMI 2.0 display, an HDMI Premium Certified cable, and a supported USB-C to HDMI 2.0 adapter.   So I'm confused now: would it work somehow? Would it work over HDMI? Would it work over DisplayPort? Is the adapter I have suitable?


If $A$ and $B$ are nonempty sets, prove that $A \times B = B \times A$ if and only if $A = B$.   Proving the first direction of this is easy. That is, if $A = B$ then it is obvious that $A^2 = A^2$. I am wondering how to prove the other direction now. Maybe proving it by contradiction will be easier than directly.


I am an undergraduate student in the field of information technology. Recently I worked on an academic project under a supervisor. We want to publish it. My question is: Does the person who submits the manuscript to a journal become the corresponding author of that paper? That is, if my supervisor submits the manuscript, will he become the corresponding author by default? Can’t he refer the correspondence to me?


I was told this question by a friend, who said that their friend had thought about it on and off for six months without any luck.  I have then had it for a while without any luck either.  It is in the style of a contest question, but it is unlike any other, as really nothing seems to gain any ground.  Here's the question:  Let $f:[0,1]\rightarrow \mathbb{R}$ be a continuous function satisfying the following property:  If $ABC$ is the equilateral triangle with side lengths 1, we have for any point $P$ inside $ABC$, $f(\overline{AP})+f(\overline{BP})+f(\overline{CP})=0$ where $\overline{AP}$ is the distance from point P to vertex $A$.  (Example: by taking $P=A$ we see $f(0)=-2f(1)$.)  Prove or disprove: $f$ must be identically zero on its domain   Notice that continuity is critical since otherwise I could just take the function $f(x)=0$ whenever $x\in (0,1)$ and $f(0)=1$, $f(1)=\frac{-1}{2}$.


How to interpret a meta-analytic Confidence Interval through the lens of Frequentism

In a single study, a researcher can obtain a relevant summary statistic, and construct an $x$% confidence interval for that summary statistic. Under the frequentist framework, this obtained confidence interval is thought of as being one of the infinitely many possible confidence intervals had the exact same study been Repeated infinitely many times. Now think about a meta-analysis of 10 studies (i.e., loosely speaking, combining the results of 10 studies to make a summary of the 10 studies' summaries). Again, here, one can also construct an $x$% confidence interval for the summary of the 10 studies' summaries (i.e., meta-analytic summary). Question I was wondering how should one think of/interpret the Confidence Interval for the meta-analytic summary under the Frequentist Framework? For clarity Precisely, There are two difficult notions that make interpreting the CI for the meta-analytic summary in my example difficult for me: First, is the number of studies. I have 10 studies, and these are the only number of studies available on the topic of interest to me.  So, how the number of studies affect the interpretation of a CI for a meta-analytic summary? Second, is the number of repetitions. I know we must think of repeating our meta-analysis with 10 studies infinitely many times. But, when we have only 10 studies ever available what does infinitely many repetitions means, here (I mean there are 10 studies and they can only be meta-analyzed only one time)?


Greetings to all here..  I'm a complete Linux virgin, so apologies if anything I'm asking is blatantly obvious.. (I have done a brief search for the issues I'm having) Please go easy on the terminology.. I've years of Windows to cleanse myself of.  How do I go about deleting files/folders permanently.. I've quite a few GB worth of old Windows files I'd like to remove, but short of moving them to the rubbish bin & then emptying it I can't see any option to permanently delete I've tried rm -r/-f but am told there is no such file or folder.  I have a Nvidia GTX 670 are Linux drivers available & easy enough to install? I've also been told that the more interesting/useful software is to be found on alternative repo's can someone educate me?  Thanks for listening.


For Banach space there is a compact topological space so that the Banach space is isometrically isomorphic with a closed subspace of $C(X)$.

I want to prove that for Banach space V there is a compact topological space $X$ so that $V$ is isometrically isomorphic to a closed subspace of $C(X)$-continuous function on a (compact) topological space X, equipped with the supremum norm $\|f\|_\infty$ = $\sup_{x \in X} |f(x)|$.


How can I show typing keyboard in record screen

When I record the screen on a Mac, how can I show keyboard typing in the same image (as shown below)?    Is there particular screen recording software or settings that will do this?


How to find the number of matrices of a given type using combinatorics?

How can I find the number of matrices of the type \begin{bmatrix}a&a+1\\1-a&-a\end{bmatrix} where $a \in [-24,24]$.  I was solving an abstract algebra problem which turned into combinatorics at which I am not good. Any help will be much appreciated.


How can I have Safari on OS X remember to permanently trust a website with my current location?

The only options on the location privacy prompt are 'Allow' or 'Don't Allow', with a 'Remember my decision for one day' modifier checkbox as well. But what if there's a site that I trust in perpetuity? I want to give it permission to access my location forever. Why can't I do that?  Safari 8.0 on Mac OS X 10.10 Yosemite


Posix Character Sets difference between [[:blank:]] and [[:space:]]?

On  it says:  [[:blank:]]     space and tab characters [[:space:]]     whitespace characters   What's the difference between space and tab characters and whitespace characters? To me, they almost seem the same.


Find the smallest positive integer $n$ such that $\frac n2$ is a perfect square, $\frac n3$ is a perfect cube and $\frac n5$ is a perfect 5th power.

I was able to solve this question but I am looking for a method to solve such questions with shortcut or a shorter method than the following Consider,  $n =  (2^a)(3^b)(5^c)(p_4^d)(p_5^e)\ldots(p_k^k)$ be its unique factorization ($p_4, p_5, \ldots, p_k$ are all primes other than $2, 3, 5$)  now,  $$ \frac n2 = [2^{a-1}](3^b)(5^c)(p_4^d)(p_5^e)\ldots(p_k^k)\\ \frac n3 = (2^a)[3^{b-1}](5^c)(p_4^d)(p_5^e)\ldots(p_k^k)\\  \frac n5 = (2^a)(3^b)[5^{c-1}](p_4^d)(p_5^e)\ldots(p_k^k)  $$ according to conditions  $$ a = 2q + 1 = 1,3,5,7,9,11,13,15,17,\ldots\\ a = 3r = 0,3,6,9,12,15,\ldots\\ a = 5s = 0,5,10,15,\ldots\\ \min(a) = 15\\ \\ b = 2q = 0,2,4,6,8,10,12,14,\ldots\\ b = 3r + 1 = 1,4,7,10,\ldots\\ b = 5s = 0,5,10,15,\ldots\\ \min(b) = 10\\ \\ c = 2q = 0,2,4,6,8,10,\ldots\\ c = 3r = 0,3,6,\ldots\\ c = 5s + 1 = 1,6,\ldots\\ \min(c) = 6 $$  the min common values for $d,e,f,\ldots, k = 0$ therefore $p_4, p_5, \ldots, p_k$ all are equal to $1$.  Hence the required number is $(2^{15})(3^{10})(5^6)$.


Can not access Windows 10 after Ubuntu dual boot

I recently installed Ubuntu alongside Windows 10 but am no longer able to access Windows when rebooting.  On start up my computer, which is booting through UEFI, goes straight to GRUB but there is no option to select the Windows OS.  There also does not seem to be an option for Windows when selecting from the boot menu.  The Windows files are still viewable in the partition I created before installing Ubuntu and Boot-Repair did not fix the problem.  is the link Boot-Repair provided me.  Any help in solving this problem would be greatly appreciated.  Edit: sudo update-grub solved the problem.  Thanks for the help!


AWS IIS web instances behind load balancer needs net access

I have a public subnet (10.10.1.0/24) and private subnet(10.10.2.0/24) in my VPC. I've setup a nat instance in my public subnet to provide outbound web access to all private instances.  I have a load balancer for 2 IIS server instances which are in my public subnet. but they need outbound internet access. I can't seem to get it working with adding the NAT instance IP as a 2nd gateway to them. whats the best practice on this one in AWS??


Make rasters to show the extent of certain data values

I'm trying make a raster of the area between 5 and 10 thousand feet in Colorado. I have DEMs, and I'd like to make a raster where all the area in this range is a value of 1, and the area outside the range (<5000 or >10,000) is 0. I tried (lower value < "raster-name" < upper value) in raster calculator, but this did not work (it made files with no data- I have a post about this too, but at this point I think it'd be more helpful to just start over and try a different way)  How should I approach this? And if there's a way I can avoid analyzing the ~60 DEMs one at a time, that would be even better  This isn't answered by a  post because they wanted one 'less than' bound and a 'does not equal a value' (they wanted less than or equal to 15 and doesn't equal 0). I'm looking for something that works with an upper AND a lower bound


How do I batch convert many Word documents and have them saved as [originalfilename].pdf?


git status giving me some confusing iOS config files I don't know what to do with

When I do git status, I get this result:  # On branch master # Your branch is ahead of 'origin/master' by 1 commit. #   (use "git push" to publish your local commits) # # Changes not staged for commit: #   (use "git add/rm <file>..." to update what will be committed) #   (use "git checkout -- <file>..." to discard changes in working directory) # #   modified:   OnlineMarketing/OnlineMarketing-Info.plist #   deleted:    OnlineMarketing/icon-100.png #   deleted:    OnlineMarketing/icon-1024.png #   deleted:    OnlineMarketing/icon-144.png #   deleted:    OnlineMarketing/icon-152.png # # Untracked files: #   (use "git add <file>..." to include in what will be committed) # #   OnlineMarketing.xcodeproj/project.xcworkspace/xcshareddata/ #   OnlineMarketing.xcodeproj/project.xcworkspace/xcuserdata/alexgenadinik.xcuserdatad/ #   OnlineMarketing.xcodeproj/xcuserdata/alexgenadinik.xcuserdatad/ #   OnlineMarketing/.DS_Store #   OnlineMarketing/Default-568h@2x copy.png   My question is what I should do with these iOS untracked files from xcode? They seem to be project files. Should I commit them? Or should they remain local for me?   The reason I am trying to figure this out is that I tried to work with another branch and I got this error:  git checkout -b vidals-mods origin/vidals-mods error: The following untracked working tree files would be overwritten by checkout:     OnlineMarketing.xcodeproj/project.xcworkspace/xcshareddata/OnlineMarketing.xccheckout Please move or remove them before you can switch branches.   Thank you!


How can I edit my Windows 7 Pro hosts file, having logged in as administrator?

I want to add a line into my hosts file to prevent access to the web domain foo.bar, which should be achievable with the line  127.0.0.1 foo.bar   But when I log in as an administrator the icon for the file shows a locked padlock. I can open it with Notepad but when I try to save it as "hosts" (not "hosts.txt") I get an "access denied" message. Yet the permissions say the administrator has "full control", and "Read-only" is unchecked.  How can I edit this file?


Finding the limit $\lim_{n\to\infty}\sqrt[n]{4^n+9^n}$ using L'Hopital's rule

The problem was to find  $$\lim_{n\to\infty}\sqrt[n]{4^n+9^n}$$  So after a couple tries what I did was to take the natural logarithm of the limit so  $$\lim_{n\to\infty}\sqrt[n]{4^n+9^n}=L$$ $$\downarrow$$ $$\lim_{n\to\infty}\ln(\sqrt[n]{4^n+9^n})=\ln L$$ $$\downarrow$$ $$\lim_{n\to\infty}\frac{\ln({4^n+9^n})}{n}=\ln L$$ $$\downarrow L'Hopital$$ $$\lim_{n\to\infty}\frac{4^n\ln 4+9^n\ln 9}{4^n+9^n}=\ln L$$  And there I'm stuck. I checked in Wolfram and $\lim_{n\to\infty}$ of both the initial function and the one after L'Hopital's rule is $9$. ($\ln L=\ln 9\rightarrow L=9$).  I'd like to know how to find the limit from the last step I made, and if there's a more elegant way of solving the problem (which I'm sure there is), maybe without using L'Hôpital's rule.  Thanks.


Why do I not get enough reputation to start with to be able to downvote?

I'm pretty sure the whole reputation system is put in place so that newcomers learn the different concepts before actually being allowed to use them, and that as a member of one of the other sites in the group you get a higher initial reputation score when you first register to one of the sister sites (like the new Stack Exchange sites that come out of private beta).  That said, why do I get 100 initial rep score for registering, but need 125 to be able to downvote?


How do I insert pictures into my LaTeX document?

I want to insert images into my LaTeX document. I used \includegraphics{} and also kept the image in the working directory of the tex file.  But still I am unable to do so.  My image is in GIF format; is that a problem?  \documentclass{article}     \usepackage{mathtools}     \usepackage{attrib}     \usepackage[normalem]{ulem}     \usepackage{graphicx}     \graphicspath{ {images/} }     \usepackage[utf8]{inputenc}     \usepackage[T1]{fontenc}     \usepackage{geometry}     \geometry{a4paper}     \title{ An Introduction to Multivariable Calculus}     \newcommand{\lt}{<}     \newcommand{\gt}{>}   \begin{document}     \maketitle     \includegraphics{fig5-24.jpg}     \end{document}


How to remove neutral background in photoshop?

I have found that so many photographers use a grey backdrop or grey background for most of their portait photographs. I assume that it's because grey is easy to remove and replace with any desired background during the post processing. If so , which is the easiest method to deal with removing the background of such kind of photographs ?   I tried the following  Made a selection with pentool , then made a mask to remove the background.  However it is a bit time consuming if I have to work on lots of similar images.  So can anyone help me with an easier method to remove the grey background ?  Thanks in advance   PS : I'm working on Photoshop CS6


Items unpinned from taskbar are back after restart/sign out on Windows 10

I have got a new installation of windows recently. Now when I do unpin items from taskbar that were there (IE, Edge, Explorer), they do come back after restart. A pinned chrome does not disappear though e.g.  Anything to fix this issue?  P.S. Just created a new user, and he has the same problem  P.P.S. Sign out is enough to get it back, no full restart needed


A few questions about the concept of work

From Wikipedia: The work done by a constant force of magnitude F on a point that moves a displacement d in the direction of the force is the product: $$W = Fd.$$  If I lift some object from a ground, the force to be put in above equation is the gravitational force $mg$.   But while I am moving the object upwards, against the gravity, I must pull the object with greater force than $mg$, right? So the net force is $F_{myforce}-mg$ which results in object being lifted. But this is not the case. Why? Does it matter how strongly I pull the object?  What work will I do if I move this object in absence of gravity (in space)? Will work done be zero or not?


Is it possible using the SE API to get a list of another user's posts that I have upvoted?

I'm looking to obtain a list of another user's posts that I have upvoted.  I learned in  that this is not possible through the Stack Exchange Data Explorer, because any private data, including up/down votes, are not included in the SEDE data dumps.  That left me wondering: Is such a list theoretically possible to obtain by writing my own app that uses the ?  If so, are there any apps that anyone has written that already do this?    I have seen this question:  However, that question appears to be asking if it is possible to view all users votes, as the OP wants to do some sort of study on different users' voting activity.  I realize that it would not be possible to see any users votes, as that is private information.  What I'm asking, however, is whether it would be possible to write an app using the API that would allow me to log in and view my own votes.  This would be similar to what is available on the website looking at my own profile, but because I'm writing my own app, I could potentially do more searching and present the data in a different way than what is available on my profile tab.  The answers on that other question do not explicitly answer this question.


Long table running off page (vertically)

\documentclass{amsart}  \usepackage{tabularx}  \begin{document}  \title{Title 1} \maketitle  \section{Section 1}  \begin{table}[h] \centering     \begin{tabularx}{1.0\textwidth}{|X|X|X|X|}         \hline         \textbf{Col 1}                      & \textbf{Col 2}    & \textbf{Col 3} & \textbf{Col 4} \\ \hline                 htrhoi thitrih trhoirtohij  & gshgks grgk grkes  & tjftjtj                      &  jrngekgb rgrk rnejge rjgnreg lregnre gjegrenogeg ergnr egre gnerg lreg njergnerjg renlgrle gn relgjreng lrejgregn erlkgnre regrljgreglklg regre g reg ekrglkerk gergnrelg renger gnregrelkkfg g rgrkeek r igrgr gks msgr gkrgrlkegenr krngreklrgke klrg \\ \hline         rgue gouergou reog rougroer     & riuege ug grue eugor grgmi reegurg rejgn rejgnerjg er  & trjhtrhbht   & rgj regrej gjrengrege gergklreg relkgerkg regkr rkgregergje j egrj greijg ergioerjre reig jergj ergj ergjrei jg ier jreijg jreig jergiejkkef iwefijew jigjw gwei iwr gjrgi jregjre erg jreg jregj erjgerigjrej erijg jegi rejgi ripgjerij  \\ \hline                 rgru rugruiuigrei   & greher                      & htklhtk tlhjt hltr htrh terhtruhlh rtnh trlh trnlhrtkj  & rjen jgnre jerg ljrgner reng rgre lgregjreg lkgergj erlgker gkljer rgjjkgtgr goriwgrg rig erger erg \\ \hline                 rgjrgjn rjgnrenjgjk                     & rthtrhthh                   & rjkg rjgerjg                & rgreg nrejge rngngrejk nregjnregre ngrejglr ergjljrgwlghgkhfe efh fkew fewfk hefkje hewjf hewfkjw fhewkj fueuf qefiqiuqfqefhqwuuqwfhqqufu fhqwq hwfueq fhequofhqeuq fhquifqwu fqwqfhwqufqwfuqw fhqufqhuq hquf q fq hfuqfheqfu eqfu eqhfu eqhfequf hqe \\ \hline                 gjnr gjek                                               & rejug ehrgerg enrgre gegirj regore ogrrg reljgg ergreg nhe ht & jg gk hgr k & gre gre jgrrgrjegkffr grew uwefe whifweh bwekjgr \\ \hline                 htrhoi thitrih trhoirtohij  & gshgks grgk grkes  & tjftjtj                      &  jrngekgb rgrk rnejge rjgnreg lregnre gjegrenogeg ergnr egre gnerg lreg njergnerjg renlgrle gn relgjreng lrejgregn erlkgnre regrljgreglklg regre g reg ekrglkerk gergnrelg renger gnregrelkkfg g rgrkeek r igrgr gks msgr gkrgrlkegenr krngreklrgke klrg \\ \hline         rgue gouergou reog rougroer     & riuege ug grue eugor grgmi reegurg rejgn rejgnerjg er  & trjhtrhbht   & rgj regrej gjrengrege gergklreg relkgerkg regkr rkgregergje j egrj greijg ergioerjre reig jergj ergj ergjrei jg ier jreijg jreig jergiejkkef iwefijew jigjw gwei iwr gjrgi jregjre erg jreg jregj erjgerigjrej erijg jegi rejgi ripgjerij  \\ \hline                 rgru rugruiuigrei   & greher                      & htklhtk tlhjt hltr htrh terhtruhlh rtnh trlh trnlhrtkj  & rjen jgnre jerg ljrgner reng rgre lgregjreg lkgergj erlgker gkljer rgjjkgtgr goriwgrg rig erger erg \\ \hline                 rgjrgjn rjgnrenjgjk                     & rthtrhthh                   & rjkg rjgerjg                & rgreg nrejge rngngrejk nregjnregre ngrejglr ergjljrgwlghgkhfe efh fkew fewfk hefkje hewjf hewfkjw fhewkj fueuf qefiqiuqfqefhqwuuqwfhqqufu fhqwq hwfueq fhequofhqeuq fhquifqwu fqwqfhwqufqwfuqw fhqufqhuq hquf q fq hfuqfheqfu eqfu eqhfu eqhfequf hqe \\ \hline                 gjnr gjek                                               & rejug ehrgerg enrgre gegirj regore ogrrg reljgg ergreg nhe ht & jg gk hgr k & gre gre jgrrgrjegkffr grew uwefe whifweh bwekjgr \\ \hline     \end{tabularx} \end{table}  \end{document}   How can I make the table stop at the bottom margin and continue to run over to the next page without it disappearing off into nowhere?


How to sign a .NET Assembly DLL file with a Strong Name?

I have an assembly which is not strong-named. I have no source code for it.  I now need it to be signed. Is there a way to do this?


How to check if PHP array is associative or sequential?

PHP treats all arrays as associative, so there aren't any built in functions. Can anyone recommend a fairly efficient way to check if an array contains only numeric keys? Basically, I want to be able to differentiate between this: $sequentialArray = [     'apple', 'orange', 'tomato', 'carrot' ];  and this: $assocArray = [     'fruit1' => 'apple',     'fruit2' => 'orange',     'veg1' => 'tomato',     'veg2' => 'carrot' ];


How to read all lines from an opened console

I managed to make a program to run a .bat file and run a console, but I want to get the lines from that console to my program, I searched for it but I couldn't find anything.  The bat will open a console window and I want to get the lines from that console window.  Code :   private void checkBox1_CheckedChanged(object sender, EventArgs e)     {         if (checkBox1.Checked == true)         {             Process startM = new Process();             startM.StartInfo.FileName = @"C:\Users\xxxxx\Desktop\$v\xxxxx\run.bat";             startM.StartInfo.WorkingDirectory = @"C:\Users\xxxx\Desktop\$v\xxxxx";             startM.StartInfo.CreateNoWindow = true;             startM.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;             startM.Start();             //startM.WaitForExit();                 checkBox1.FlatAppearance.BorderColor = Color.Green;             checkBox1.FlatAppearance.CheckedBackColor = Color.Green;             checkBox1.Text = "On";         }          else if (checkBox1.Checked == false)         {             try             {                 Process[] proc = Process.GetProcessesByName("test");                 proc[0].Kill();             }             catch (Exception c)                 {                     MessageBox.Show(c.Message);                 }             checkBox1.FlatAppearance.BorderColor = Color.Red;             checkBox1.Text = "Off";         }     }


Usage of += operator with lambda operator

I have the following code:  recognizer = new GestureRecognizer(); recognizer.Tapped += (args) => {     // Send an OnSelect message to the focused object and its ancestors.     if (FocusedObject != null)     {         FocusedObject.SendMessageUpwards("OnSelect",              SendMessageOptions.DontRequireReceiver);     } };   I am working in a project for Unity and I am not that experienced with the syntax of this operation:  recognizer.Tapped += (args) => {     // Send an OnSelect message to the focused object and its ancestors.     if (FocusedObject != null)     {         FocusedObject.SendMessageUpwards("OnSelect",              SendMessageOptions.DontRequireReceiver);     }   I understand that Tapped is the event listener for taps. However, I don't understand the following things:  1) Why are they using a += operator to add a lambda function. How can you add a lambda function like that? I've always used += on primitive types.  2) Where does "args" come from?  3) When does that lambda function run?


How can I apply Newton's sums to solve this problem?

Given $x_1,x_2,x_3,x_4$ real numbers such that $x_1+x_2+x_3+x_4 = 0$ and $x_1^7+x_2^7+x_3^7+x_4^7 = 0,$ how can I use symmetric functions and Newton's sums to prove that $x_1(x_1+x_2)(x_1+x_3)(x_1+x_4)=0$?  This is what I have so far:   Note that $x_1 = -(x_2+x_3+x_4)$ and the relation between Newton's sums, elementary symmetric polynomials, and power sums gives us that $P_7-S_1 P_6+S_2 P_5-S_3 P_4+S_4P_3=0,$ where $P_k$ denotes the $kth$ power sum and $S_k$ denotes the $kth$ elementary symmetric polynomial of $x_1,x_2,x_3,x_4.$   We want to show that $(x_2+x_3+x_4)(x_2+x_3)(x_2+x_4)(x_3+x_4) = 0.$  But how?


What is the best way to check if an object is a subclass and NOT the base class

let's consider the following code snippet: class Vehicle:     pass  class Car(Vehicle):     pass  my_car = Car()  print(issubclass(type(my_car), Car)) print(issubclass(type(my_car), Vehicle))  Output: True True  Now if my task was to tell if my_car is of type Vehicle but not of type Car, how would I do that? Is there a smart, short, elegant way for this?


Imported MySQL data's superscript charactor not showing correctly in HTML page

Currently I have a XAMPP server and MySQL database related to it. The database has some data that has superscript charactors such as ™. I used some form to insert such data into database. In database it has been showing as â„¢. But when I query, then it shows correctly as ™ in the HTML page. My Issue I created the same database in another XAMPP server and transferred data by exporting from original MySQL database and import to new MySQL database. All data transferred correctly. But this time, when I query the special charactor and showed in HTML page, it is not showing the superscript charactor as ™, instead it shows as â„¢. When I export data, I used utf-8 too  But when I tried to add a new data with ™ in it by using query into the new MySQL database and such added data is showing correctly as ™ instead of â„¢. But those imported data is still not showing correctly in HTML page. I tried to add mysqli_set_charset($conn,“utf8”) in the connection file. But it is not solving the issue. Does anyone know why this way?


Consider a current-carrying ring as shown, having no resistance. Now, we can say that the fields around this would be constant. Thus, we must expect this system not to radiate energy. Considering it in another manner, the charges present inside are moving on a curved path with drift velocity. Their motion is thus accelerated and so we must expect them to radiate energy. With both ideas contradicting each other, which one is correct?


How do I remove single boot ubuntu and install windows 8 from usb on surface pro?

So I bought a surface pro off ebay that has ubuntu 14.04 loaded with GRUB. I'm wondering how I go about uninstalling ubuntu and GRUB to allow me to boot my windows installer from USB?  Thanks.


What is the difference between generalized estimating equations and GLMM?

I'm running a GEE on 3-level  unbalanced data, using a logit link. How does this differ (in terms of the conclusions I can draw and the meaning of the coefficients) from a GLM with mixed effects (GLMM) and logit link?  More detail: The observations are single bernoulli trials. They are grouped clustered into classrooms and schools. Using R. Casewise omission of NAs. 6 predictors also interaction terms.   (I am not flipping children to see if they land heads-up.)  I'm inclined to exponentiate the coefficients  to odds-ratios. Does this have the same meaning in both?  There is something lurking in the back of my mind about "marginal means" in GEE models. I need that bit explained to me.  Thanks.


I bought a refurbished PS4 from Amazon and I tried to play today. Unfortunately, the controller is not working. I have plugged it into the PS4 using the USB cable, a yellow light appears on the controller, but when I press the PS button, nothing is happening. I have tried replacing the USB cable but that doesn't work.  Also, I have tried using another controller and it works, so the problem is definitely that controller that came with the PS4. Moreover, I have tried resetting the controller, also tried pressing share and PS button together, pressing reset and PS button together. Nearly tried everything, and the controller is not pairing with the PS4. Any suggestions?


Unable to log in and unable to reset the password

I was reading some blog and I found that I can manually start GUI by issuing this command sudo startx, so I did that. I did it in the terminal with the GUI already running. Now I'm unable to login to my user account.   Before that my PC used to boot straight into my account without asking for the password (without even showing the GRUB menu since I have only Ubuntu 12.04 installed on my PC). But now it boots and lands in a screen (without showing the GRUB menu) which displays my user account along with the Guest account. When I choose my account, it asks for the password. I entered the password but it comes back again to the same screen without any response. I am damn sure that the password that I entered was right. When I choose the Guest account, everything goes well. Now I have access only to the Guest account.  Before posting this question, I read similar questions posted here:        and  I tried solutions suggested for them but nothing worked.  This page () and this page () seems to provide some solutions but I could not bring up the GRUB menu by pressing the SHIFT key or the ESC key. While booting, I kept pressing the keys (I tried both the keys separately) but it would land straight onto the screen displaying user accounts.  I logged into the Guest user and changed my administrator account to standard one. I have no way to know what the root password is.   I opened the Terminal in the Guest account and entered sudo passwd root. It returned the following:  sudo: unable to change sudoers gid: Operation not permitted sudo: setresuid() [0, 0, 0] -> [128, -1, -1]: Operation not permitted   Now I can not access any of my files or folders. Are there any possible solutions to my problem without re-installing the OS? Is there any way to reset all the User accounts and regain access to my account?


Do spells with a range of "Self" target the caster?

New to D&D, and thought about creating a Beast Master. I was wondering if spells with a range of "Self" would count you as the "target" of the spell. There's some debate in my group, as unlike something such as Cure Wounds, which specifies "A creature you touch," there's technically no mention of a target in a Self range spell within the description. A fair amount of people in my playgroup come from a TCG background, where the presence (or lack thereof) of keywords like "target" are essential for determining interaction.  tl;dr Would Paladin Smites or Thunderwave count as "targeting" yourself, and therefore be affected by Beast Master's Share Spell?


I have installed the Ubuntu 12.04 (multiarch) version of Skype from the , and yet when I launch it, I cannot see the little Skype icon in the Unity Panel as I have seen it on other machines. I have even gone into my Skype setting and asked it to minimize to the system tray on startup, and still I get nothing.  Why is this? And how can I fix it? On the other machine where I have seen this working Skype was installed through the command:  sudo apt-get install skype   And not through downloading and installing the .deb file from the Skype website like I did, could this be causing the difference? And if so, should I uninstall Skype, and try installing it from the partner repository? Or can this not be what is making the difference?    OS Information:  Description:    Ubuntu 15.04 Release:    15.04   Package Information:


Prevent direct access to a php include file

I have a php file which I will be using as exclusively as an include. Therefore I would like to throw an error instead of executing it when it's accessed directly by typing in the URL instead of being included.  Basically I need to do a check as follows in the php file:  if ( $REQUEST_URL == $URL_OF_CURRENT_PAGE ) die ("Direct access not premitted");   Is there an easy way to do this?


General way to determine $\mathbb{Q}(\gamma) = \mathbb{Q}(\alpha,\beta)$ given $\alpha$ and $\beta$

I'm currently reading S. Lang's "Undergraduate Algebra". After the primitive root element theorem (Field theory chapter), there are a bunch of exercises to find one primitive element of extensions and, then, their degrees. However, I don't even know how I should start. They are as below:   In each case find an element $\gamma$ such that $\mathbb{Q}(\alpha,\beta) = \mathbb{Q}(\gamma)$. Prove every  statement you make.  a) $\alpha = \sqrt{-5}, \beta = \sqrt{2}$ b) $\alpha = \sqrt[3]{2} , \beta = \sqrt{2}$ c) $\alpha = $ root of $t^3 -t + 1$ , $\beta = $ root of $t^2-t-1$ d) $\alpha = $ root of $t^3 -2t + 3$, $\beta = $ root of $t^2 + t + 2$ $\quad$2. Find the degrees of the fields $\mathbb{Q}(\alpha, \beta)$ over $\mathbb{Q}$ in each case of exercise 1.  I think that exercises a) and b) proceed pretty much the same way, but I'm not sure about c) and d).


I am new in windows 8 , i would like to know the core shortcuts in the windows 8. which will help me in further use?  i like to work on windows 8, so help me to know more   Thank you .


What is the per day limit for Review Suggested Edits?

I am often reviewing suggested edit questions and mostly I am allowed 20 reviews, but sometimes I am allowed 40 reviews, so I want to know: What is the rule for limit per day?  Actually, I have no any issue regarding this, but I am just asking for my curiosity's sake.


I'm fairly new to this site, I've used it a lot for research, but never actually created an account until just recently, and so far, it doesn't seem to be very self-explanatory. I wanted to check my reputation, but it's not labelled anywhere on my profile, I was thinking it might be the little coin with the number next to it at the top of the page, but I just wanted to make sure. Is this correct? And if not, how can I check my reputation?  Edit: Also, do you have a separate reputation for each community?


What is the purpose of capitalization? how are capitalized words read?

I know that proper nouns are capitalized but why is it even necessary? are all capitalized words read in the same way as non capitalized ones?


Why is flipping a head then a tail a different outcome than flipping a tail then a head?

In either case, one coin flip resulted in a head and the other resulted in a tail. Why is {H,T} a different outcome than {T,H}? Is this simply how we've defined an "outcome" in probability?   My main problem with {H,T} being a different outcome than {T,H} is that we apply binomial coefficients (i.e. we count subsets of sets) in some common probability problems. But if we take {H,T} and {T,H} to be different outcomes, then our "sets" are ordered, but sets are by definition unordered...   I feel as though the fact that I'm confused about something so basic means that I am missing something fundamental. Any help or insight whatsoever is greatly appreciated!


Is using htmlspecialcharacters and single quotes enough for a login form?

I have the following code  $username=htmlspecialchars($_POST['username'],ENT_QUOTES); $sql="SELECT * FROM user_account WHERE account_name='".$username."'";   Is this vulnerable to sql injection. If so, how could someone manage to bypass this?


VLC 2.2.1 doesn't play HEVC/H.265 encoded videos

When I try to play H.265 encoded videos on VLC Player 2.2.1 (WeatherMax) on Ubuntu 14.04, I get the following error:  Codec not supported: VLC could not decode the format "hevc" (MPEG-H Part2/HEVC (H.265))   I can play the same videos using other tools like the standard Videos player on Ubuntu and MP4Client from GPAC. Is there any additional libraries or plugin to install for VLC to play H.265 videos?


How to Pivot Multiple Columns in SQL Server

I've read many posts about using pivot to get the data in the format I want, but the more I read the more confused I get.  I have this data:    That I'm trying to get into a format similar to this:   For the most part, everything I try results in an SQL error, and the only successful attempt I've had didn't return the data in the format I'm looking for.  Any help would be appreciated.


Re-entering the US after leaving on a visa waiver program

in late Feb I'll be travelling to the USA on the visa waiver program, after my 3 months is up I wish to spend 2 weeks in South America, then return to the States, am I able to do this? Or do I need to return my home country?   Do I also need to book my flight from the US to South America beforehand? At the moment I wish to book a flight to the USA with a return flight 6 months and 2 weeks later, bookng my (visa run) flight while there.  I know getting a B2 visa sounds more simple, however being in northwest Australia I live more then 1000 km away from a US consulate, therefore it is cheaper and less time-consuming to book a 2 week stay in South America.


I am sorry if someone already asked for this question, I wasn't able to find it anywhere..I googled lots of things and didn't satisfied my needs so I hope you can help me out :) :P. When I try to hand texture my model, some parts are being unable to be textured. I hope you understand what I mean, here is a screenshot so I can explain you.   The blue line is showing where I can't texture it as you can see it's white. I had to "Fill" to get the white color even though some places got still black as on the picture you can see black texture on the fore-end/near barrel.


I wanna do a query in my header.php inside "head" to generate a title. I wanna ask, if the current page is single an do it like it follows:  <?php if ( is_single() ) { ?> <title>Test</title> <?php } ?>   But it doesnt function an doesnt give out anything. Do I have to do another quaery over the "head tag" ?


I played the game . The game has "Let's do halves" as .   One usage example in the game:      Both main characters have a do(ugh)nut. They share it, and say "let's do halves".   I have done some research, I found . The question asks about "go" instead" of "do". According to answer, "Let's go halves" mean 50% contributions each (work, money, investment ...). However, from the usage of "Let's do halves" in the game, I feel like it means share thing equally (you and me, each have half of the donut).   I would like to know:    How the sentence can be used in real world, in writing, speaking, both formal and casual.  Is it an idiom (I have not found any evidence so far)? What is it mean ? ( please explain as detail as possible)  Is the sentence similar to "Let's go halves" ?. (Can we interchange "go" and "do" without changing its meaning?). If "Let's do halves" is different from "Let's go halves", what is the difference.


Suppose that f is Riemann integrable on [a,b]. And f is bounded by M. Then, $$\left|\int_a^b f\right| \le \int_a^b|f| \le M(b-a)$$ Can some explain where the first inequality is derived from?


Show that $\frac{1}{n} \sum_{k=1}^n f_k$ converges uniformly to $f$.

Let $f_n:[0,1]\to [0,1]$ continuous functions and let $f:[0,1]\to [0,1]$ such that $f_n$ converges uniformly to $f$. Show that $\frac{1}{n} \sum_{k=1}^n f_k$ also converges uniformly to $f$.  Now, I've seen a proof which starts with:  $$\frac{1}{n} \sum_{k=1}^n (f_k - f) = \frac{1}{n} \left[ f-f_1 + f-f_2 + \ldots + f_n -f \right] \le \ldots \le \varepsilon$$  BUT, why is it showing uniform converges? I mean, shouldn't it start with:  $$ \left( \frac{1}{n} \sum_{k=1}^n f_k \right) -f $$


What should I write in a personal history statement (diversity statement) if I am not at all diverse?

I am applying for a PhD program in Computer Science. The university asks each applicant to hand in an optional personal history statement. I have detailed my research experience, career goals clearly in my statement of purpose. Hence I don't really know what I should write in a personal history statement. I am an average Asian student and do not have anything special. Any ideas on this essay?  EDIT: below is what they actually require:     The purpose of this optional essay is to get to know you as an   individual and as a potential graduate student, and to understand how   your background will add to the diversity of our school. Please   describe how your personal background has motivated you to pursue a   graduate degree. You may discuss educational, familial, cultural,   socioeconomic, or personal experiences or challenges; gender identity;   community services, outreach services, first-generation college status   or other matters relevant to your decision to pursue graduate   education. Please note that the Personal History Statement is not   meant to be a general autobiography.


Zero integral implies zero function almost everywhere

Assume $f$ is Riemann integrable and further assume that $\int_a^x f=0$ for all $x$. How would I go about showing that $f$ itself is $0$ almost everywhere?  I am new to Lebesgue's measure theory so I am hoping for a somewhat elementary proof if possible?  I know that almost everywhere means all except a set of measure zero. I was wondering if I could get a point to start on? We are told $f$ is Riemann integrable, so that means by Lebesgue's criterion for Riemann integration that there are at most countably infinitely many discontinuities. Thank you!


'?' char in directory listing. How to list contents

I have a listing of a directory which contains this entry:  d????????? ? ?   ?              ?            ? dir_name  I can't get into it, even as root. How to access?


Looking for title of kids' book published 1980s/1970s

When recently discussing with others how young we'd first read stories with apocalyptic themes, I was reminded of a story I'd found in a middle-school library, circa 1984-1986. The protagonist was a boy or young man in a world that was about to end. I don't recall the reason, but either their looming demise seemed not to be general knowledge in his world, or they didn't believe there was any hope of avoiding it.  He encountered members of a secret group planning to survive/escape by recruiting people of every skill and talent necessary to repopulate the world (don't think it was a different planet) without sacrificing accumulated technology/knowledge. They told him about a secret (underground?) place to which the chosen few would be summoned at the appropriate time, where they could safely hide before emerging to start the world over. Since I can't recall his skills, I'm not actually certain whether he'd been selected himself or was so young he was merely family of someone who had been.  To prevent spies or those not chosen from discovering or stampeding to the protected place, there was some sort of antechamber/elevator which could destroy people with some sort of (green light?) radiation or gas--unless you wore a magic ring (or some other amulet/device). Near the end of the story, a bad guy chases our hero into the chamber and is indeed vaporized.  I recall this book's plot not because it was any good (I remember thinking much of it cheesy even at the time), but because I read it at exactly the time in my life where I was ready to ponder all the fascinating what-ifs surrounding the apocalyptic genre. Been hooked on scifi/fantasy ever since, and later studied engineering partly due to not wanting to be "that person" who knew nothing useful should the world need a fresh start. ;)  Can anyone point me to the title/author? Thanks in advance!


Exact image for downloading Ubuntu 12.04

I have an HP laptop with Ubuntu 12.04 issued by my college. But since I am more of a Windows guy, I installed Windows 8 to it. However, when the laptop was issued, I was told that I should not change the OS. Now that the academic year is ending, I have to give the laptop back to the college, and for that, I need to change the OS back to Ubuntu. Can anyone tell me where can I download the exact OS??  I don't know what is this, here is the link to an image of the exact release version


How do I upload a file to an SFTP server in C# (.NET)?

Does a free .NET library exist with which I can upload a file to a SFTP (SSH FTP) server, which throws exceptions on problems with the upload and allows the monitoring of its progress?


How to deactivate num lock on Xubuntu on MacBook?

I just tried to resurrect an old MacBook by installing Xubuntu on it. However, I face a severe problem. Every time I start Xubuntu the num lock is on and there is no key on the MacBook to deactivate it. I have no idea why num lock is on at start. The keyboard works fine on Mac OS X. And sometimes after suspend on Xubuntu, the num lock gets deactivated for no apparent reason and I can use the machine until the next restart. Is there a way to disable num lock or so to solve the problem? I have already tried to update the system to the latest version. Edit: This question is particularly about Xubuntu. And the answer to the suggested duplicate differs from the selected answer.


Two or more time series. What is the best way to test whether one of them is leading and by what time period?

I am trying to prove/disprove that one time series is leading trend for the other ones. Two time series are (probably) independent and the movements are caused by some (let's assume unknown) common factors. What method would be most appropriate? I also want to find the leading period? Data is quarterly.


Two vectors  $a = (1,-2,2,-3)$ and $b=(2,-3,2,4)$  I need to complete the basis for $\Bbb{R}^4$  I know that there's a way of solving 2-equations linear system like $$\begin{pmatrix}a \\ b\ \end{pmatrix}\cdot x = 0$$ to get vector $c$, and then solving 3-equations linear system to get vector $d$ But are not there other ways? I heard that gram schmid proccess could be helpful, but I am not sure how to apply it here as well ass if this idea is correct at all.


How to upgrade OpenSSL on CentOS 6.5 to protect against heartbleed?

When I go to run:  root@vps [~]# yum update -y openssl   I get:  Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile  * base: mirror.beyondhosting.net  * extras: centos.mirror.nac.net  * updates: centos.netnitco.net Setting up Update Process No Packages marked for Update   And if I run:  root@vps [~]# yum info openssl   I get this, which is not the latest version of OpenSSL and is vulnerable to heartbleed:  Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile  * base: mirror.beyondhosting.net  * extras: centos.mirror.nac.net  * updates: centos.netnitco.net Installed Packages Name        : openssl Arch        : x86_64 Version     : 1.0.1e Release     : 16.el6_5.7 Size        : 4.0 M Repo        : installed From repo   : updates Summary     : A general purpose cryptography library with TLS implementation URL         : http://www.openssl.org/ License     : OpenSSL Description : The OpenSSL toolkit provides support for secure communications             : between machines. OpenSSL includes a certificate management tool             : and shared libraries which provide various cryptographic             : algorithms and protocols.  Available Packages Name        : openssl Arch        : i686 Version     : 1.0.1e Release     : 16.el6_5.7 Size        : 1.5 M Repo        : updates Summary     : A general purpose cryptography library with TLS implementation URL         : http://www.openssl.org/ License     : OpenSSL Description : The OpenSSL toolkit provides support for secure communications             : between machines. OpenSSL includes a certificate management tool             : and shared libraries which provide various cryptographic             : algorithms and protocols.   Or is this version of 1.0.1e not vulnerable to heartbleed for some reason?


Repairing an unbootable BootCamp partition

I primarily use Windows on my MacBook Pro, so my OS X partition goes quite a while between updates.  After upgrading to Catalina, I no longer see my Windows partition when I hold option I can see the "Bootacamp" partition in finder, the disk just doesn't show up when I try to boot from it.  I have BootChamp installed, and it provides this error message when attempting to set the startup disk:  Taking a look at this question  It says that there must be an EFI/Boot folder on the Windows disk. There is not.  I did create a Windows Boot disk using the BootCamp utility, and attempted to copy the files over. I can't copy the files over because the partition is read only.


After updating Mountain Lion to Mavericks xQuartz and MacPorts throws errors about insufficient permissions. (xQuartz and MacPorts are the latest version)  I noticed:  $ sudo mkdir /opt/tmp mkdir: /opt/tmp: Permission denied   I am on Administrator Account.  sudo port install htop Error: Insufficient privileges to write to MacPorts install prefix.   I can't even uninstall MacPorts with the command from   %% sudo rm -rf \ /opt/local \ /Applications/DarwinPorts \ /Applications/MacPorts \ /Library/LaunchDaemons/org.macports.* \ /Library/Receipts/DarwinPorts*.pkg \ /Library/Receipts/MacPorts*.pkg \ /Library/StartupItems/DarwinPortsStartup \ /Library/Tcl/darwinports1.0 \ /Library/Tcl/macports1.0 \ ~/.macports


How to change Ubuntu 18.04.03 LTS system fonts?

The procedure stated in this answer at the following link  doesn't work.  In fact to me, in the gnome-tweak section regarding the 'Appeareance' where I'm going to create a new theme for the fonts changement in detail where there is the shell option, to change the theme, it appears a danger signal and the drop-down menu is halted and with a gray color.


70's or older story about a very dangerous planet

People from Earth (I believe) settled for some reason I forgot on a planet where they were in constant danger. Everything was carnivorous, including plants, even trees.   In fact, the only way to survive a night was to climb into a certain tree. The tree was in fact also carnivorous but vey slow, so in the morning you could disentangle yourself from the tendrils it had started to extend to strangle you. But you had to be very careful before climbing into one because there was another species that looked very similar but was quick and would kill you.  One other danger were blobs of protoplasm that would roll and dissolve everything they met. These were easier to dodge, because they would more or less go in straight line but would deviate in the direction were the amount of food was largest. One could even get rid of them by trapping them along a line with a lot of food ending up in an empty place where they would starve.  I forgot almost everything else, I'm sorry...


I am new to python and scripting for blender, I'm using 2.8. I would love go have a text box field in a UI panel that the user can enter a value and its stored on a variable. My full plan is to have multiple boxes for when you have to make repetitive scaling you can just enter the numbers once then apply them to any object you want. Slightly related to that, how do you have the value of a variable displayed as text in the U


Resize Desktop icons and widgets in kubuntu 16.04 LTS

on my new laptop I installed the latest LTS of kubuntu (16.04).   After adding some widgets and program shortcuts to the desktop I found that I am not able to rizise the widgets and icons (which are really large)  My old Computer I was running kubuntu 14.04. There could change the size by hovering the cursor over the icon and then selecting resize in the "popup" . This popup isn't showing in 16.04 (the widgets are unlocked). Also in the context menu I found no resize option.   Any suggestions?


I'm not a pro in OOP so please bear with me.  This piece of code is from android's auto generate Master/Detail Flow project :  static {         // Add 3 sample items.         addItem(new DummyItem("1", "Item 1"));         addItem(new DummyItem("2", "Item 2"));         addItem(new DummyItem("3", "Item 3"));     }   What is that? I mean is it a method?a constructor?or what?


From which dimensionful constants does proton mass arise?

It is well known that the most of the proton (or any other hadron with light quarks) mass is not made up from quark masses, but it is dynamically generated by QCD mess inside. I've also heard that, even if quarks would be massless, protons (and other hadrons) would still have a nonzero mass.  However, if proton mass does not (in most part) arise from the quark masses, from which dimensionful constants does it arise?  I've heard that proton mass arises from spontaneous symmetry breaking of scale invariance. However, this is a troublesome explanation, or non-explanation at best, because it opens more questions:  If a theory is scale invariant, how can it pick a scale when breaking this symmetry? The proton mass is a constant, so how can the scale invariance be broken across entire universe the same way? Is there a field, very resistant to change, that permeates entire space to ensure the constancy of proton mass?


What is the strange taste feeling that one gets when eating a quince or unripe plum or persimmon?

There is a particular taste that I could never quite translate in English. It is not bitter, although it sometimes occurs with it. The best example is eating a raw quince fruit. The mouth and tongue get a sort of dry feeling. Similar taste can be experienced with some persimmon fruit, and unripe plums. I know the word in French (âpre) and Bulgarian (стипцив). Google translates these as rough, but that somehow seems unlikely. Any ideas?


A problem in functions of a complex variable

Given $n+1$ real numbers $a_0,a_1,\cdots, a_{n}$ such that $0<a_0<\cdots<a_n$. Let $P(z)=\sum\limits_{i=0}^n a_i z^i $, where $z\in \mathbb{C}$. How to show that there must be $n$ roots of $P(z)$ in $\mid z\mid<1$?  Thank you very much!


Merge two dictionaries with the same keys

I have two dictionnaries loaded from config files, formatted like this: {key: (value, files_name)}  With files_name: the files where i can find this value.  For example:   dict_1 = {'a': ({'b': ({'c': (1, ['file_1'])}, ['file_1'])}, ['file_1'])} dict_2 = {'a': ({'b': ({'c': (2, ['file_2'])}, ['file_2'])}, ['file_2'])}   I want to merge them together, and make a concatenation of the files names list.  So basically, following the example above, the output should be:  {'a': ({'b': ({'c': (1, ['file_1', 'file_2'])}, ['file_1', 'file_2'])}, ['file_1', 'file_2'])}


So I know this error/question has been posted/asked a lot on SO, but none of the answers helped me and I kept getting this error:  Fatal error: Call to a member function bind_param() on a non-object  Here is the relevant code:           $connect = new mysqli(connection info);      $search = $_POST["search"];      $sql = $connect->prepare("SELECT name, seller FROM products                               WHERE name LIKE '%' + ? + '%';");     $sql->bind_param("s", $search);       ?>   I believe it has something to do with the like clause, but I am not sure. I am a inexperienced SQL and PHP coder.  Help is greatly appreciated!


What is the value of the series $\sum\limits_{n=1}^\infty \frac{(-1)^n}{n^2}$?

I am given the following series:  $$\sum_{n=1}^\infty \frac{(-1)^n}{n^2}$$   I have used the alternating series test to show that the series converges.   However, how do I go about showing what it converges to?


What makes neutron heavier than a proton?

The mass of proton is 1.672 × 10−27 kg while it is 1.675 × 10−27 kg. Both are made up of 3 quarks each. Then what makes proton lighter than a neutron?


Format not available in tag wiki excerpt

For example, :   Format like bold or italic are not available , so it leaves ugly text there:  **This tag is *extremely* ambiguous. Consider using other tags instead.**    Does this need to get fixed, or it's not supported and the tag-wiki needs to be format-free?


How can public key not reverse encryption if the algorithm is known?

I've been reading about WhatsApp getting "end-to-end" encryption, and when reading about it, I've notice something.  If I want to send a message from cell $A$ to cell $B$, since there's a public key, I will pass my message through this "algorithm" and send to the cell $B$.  My question is, knowing the public key doesn't automatically gives you power to reverse engineer the message sent? How is that possible that knowing the algorithm that created a code and the code itself doesn't get you the original information?


Centre alignment of table columns when setting column width

I have a table as follows:  \begin{table} [H]     \centering     \setstretch{1.00}     \begin{tabular}{R{1.00cm}p{3.50cm}p{3.5cm}p{2.50cm}p{2.00cm}}     % \begin{tabular}{rcccc}         \toprule                 \multicolumn{1}{l}{\textbf{Num}} & \multicolumn{2}{c}{\textbf{Sentiment based upon}} & \multicolumn{1}{c}{\textbf{NER}} & \multicolumn{1}{l}{\textbf{Type}} \\         \multicolumn{1}{l}{\textbf{}} & \multicolumn{1}{c}{\textbf{Human}} & \multicolumn{1}{c}{\textbf{Machine}} & \multicolumn{1}{l}{\textbf{}} \\                 \midrule         1 & \checkmark &          &            & Na\"{i}ve \\         2 & &          \checkmark &            & Na\"{i}ve \\         3 & &          \checkmark & \checkmark & Non-na\"{i}ve \\         \bottomrule     \end{tabular}     \caption{Sentiment types.}     \label{tab:SentimentTypes} \end{table}   The second, third and fourth columns using checkmarks should be centre-aligned. But they insist on left-aligning instead as shown below:  Can anyone suggest why this is?


Evaluate the improper integral $\int_{0}^{\infty}{f(x)-f(2x)\over x}dx$, where $\lim_{x \to \infty} f(x) = L$

Find $$\int_{0}^{\infty}{f(x)-f(2x)\over x}\, \mathrm{d}x$$ if $f\in C([0,\infty])$ and $\lim\limits_{x\to \infty}{f(x)=L}$.   I tried denoting $\displaystyle \int{f(x)\over x}dx=F(x)$, but I don't know what to do with $F(\infty)-F(0)$. I also tried somehow to use l'Hopital's rule but don't seem to come by a plausible justification for it, nor do I arrive at a clear expression. I would really appreciate your help in this.


Issue with edit removed points (not shown)

I read  and the .   I shared the left image 10 April 2018 with a friend and the right my score at 11 April 2018 9:30 CEST      I know that I got 3 accepted edits and an upvote on 10 April 2018. However now in the reputation log there is only shown 1 accepted edit and an upvote. The  showed the same reputation on 10 April 2018 my website:      I think that one of the following points are not working correct:        A post where you had successfully suggested an edit has been deleted (reputation page shows the cause as removed): −2   The account of a user who was the final approver of a suggested edit you made has been deleted (reputation page shows the cause as User was removed): −2      This is from the  from 10 April 2018:  {   "items": [     {       "reputation_history_type": "suggested_edit_approval_received",       "reputation_change": 2,       "post_id": 49752478,       "creation_date": 1523362044,       "user_id": 7185314     },     {       "reputation_history_type": "post_upvoted",       "reputation_change": 10,       "post_id": 49747965,       "creation_date": 1523355130,       "user_id": 7185314     },     {       "reputation_history_type": "suggested_edit_approval_received",       "reputation_change": 2,       "post_id": 49747453,       "creation_date": 1523345965,       "user_id": 7185314     },     ...   ],   ... }   One of the "suggested_edit_approval_received" is edited after my edit. But does that lose reputation? If so why is that not shown? And why does Stack Overflow shows only one approved edit?


Prove that if $a\equiv b \pmod m $ , then $a \bmod m = b \bmod m$

Question  Prove that if $a\equiv b \pmod  m$ , then $a \bmod  m = b \bmod m$  Approach Given,  $a\equiv b \pmod m$  $\implies m\mid (a-b)$ $\implies (a-b)=m\cdot k$ $\implies a=b+m\cdot k$ Now,  $a \bmod  m$   can be written as $\implies b+m\cdot k  \pmod m$  No idea how to move forward to get $$b \pmod m \impliedby b +m\cdot k  \pmod m$$ Please help me out!!! Thanks!


Number of Qubits Required for Simulation of Caffeine and Penicillin Molecules

I recently read this , which stated:     For scientists trying to design a compound that will attach itself to,   and modify, a target disease pathway, the critical first step is to   determine the electronic structure of the molecule. But modeling the   structure of a molecule of an everyday drug such as penicillin, which   has 41 atoms at ground state, requires a classical computer with some   $10^{86}$ bits—more transistors than there are atoms in the observable   universe. Such a machine is a physical impossibility. But for quantum   computers, this type of simulation is well within the realm of   possibility, requiring a processor with 286 quantum bits, or qubits.   Along with this resource estimate for penicillin, I've also seen  of the number of qubits required to model the ground state of caffeine (160 qubits). Given that the above report offers no reference(s) (probably in the name of business intelligence) and much Internet searching and looking into the quantum chemistry literature has come up short, my question is: Where are these resource estimates coming from – is there a journal article that published these numbers? I would really like to identify the methodology and assumptions used in making these estimates.


Corporate speak for customers & partners

I'm looking for a "corporate speak" noun that describes both customers and partners of a given company. "Ecosystem" is the closest I've come, but I'd like more options.


String User & password combination isn't getting checked simple java

I am just a beginner in Java. Here, I want to make a User ID & Password input, which will get checked & tell its Right or wrong. But each time it's giving the wrong answer despite inputting the correct combination. Here is my code:  import java.awt.Container; import java.awt.EventQueue;  import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTextField; import javax.swing.JPasswordField; import javax.swing.JButton;  import java.awt.event.ActionListener; import java.awt.event.ActionEvent;   public class Zihan {  public JFrame frame; public JTextField textField; public JPasswordField passwordField; public static String gtxt,ptxt;  /**  * Launch the application.  */ public static void main(String[] args) {     EventQueue.invokeLater(new Runnable() {         public void run() {             try {                 Zihan window = new Zihan();                 window.frame.setVisible(true);             } catch (Exception e) {                 e.printStackTrace();             }         }     }); }  /**  * Create the application.  */ public Zihan() {     initialize(); }  /**  * Initialize the contents of the frame.  */ public void initialize() {     frame = new JFrame();     frame.setBounds(100, 100, 450, 300);     frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);     frame.getContentPane().setLayout(null);      JLabel lblEmailuserId = new JLabel("Email/User ID:");     lblEmailuserId.setBounds(76, 30, 90, 14);     frame.getContentPane().add(lblEmailuserId);      textField = new JTextField();     textField.setBounds(171, 27, 86, 20);     frame.getContentPane().add(textField);     textField.setColumns(10);      passwordField = new JPasswordField();     passwordField.setBounds(171, 87, 86, 20);     frame.getContentPane().add(passwordField);      JLabel lblPassword = new JLabel("Password:");     lblPassword.setBounds(76, 90, 69, 14);     frame.getContentPane().add(lblPassword);      JButton btnLogIn = new JButton("Log In");     btnLogIn.addActionListener(new ActionListener() {         public void actionPerformed(ActionEvent arg0) {              gtxt = textField.getText();              ptxt = passwordField.getText();              new CheckID(gtxt,ptxt);              JFrame login = new JFrame("Login window");             login.setSize(200, 200);             login.setVisible(true);             JLabel msg = new JLabel();             msg.setText(CheckID.msgt);             login.getContentPane().add(msg);             frame.setVisible(false);         }     });     btnLogIn.setBounds(121, 137, 89, 23);     frame.getContentPane().add(btnLogIn);     } }   & This is the CheckID class to check Email & Password:      public class CheckID { public static String msgt; String cU = "zihan"; String cP = "123"; CheckID(String tx ,String px){ if(tx==cU && px ==cP) {      msgt = "Welcome to messenger"; } else {     msgt = "Sorry! Wrong Password/Email"; } }   }


When making a custom launcher, it is nice to have a matching icon for it from the default usr ubuntu directories. The problem that is: Ubuntu seems to store icons in about 50 or more folders. Browsing all of them in nautilus takes ages.  So my question is: Is there some kind of icon browser that shows an overview of all icons in /usr/share/icons/*?


Weird choppy video on my new UHD monitor

Hopefully this is the right place to ask this:  I just bought a 32" UHD monitor (from ), and a new graphics card (an NVidia GT 730, ) to drive it. The resulting picture is gorgeous, everything looks really nice. However, the images on the screen are sometimes noticeably slow to update. I can tell sometimes as I move my mouse and its movement becomes choppy, but it's especially apparent when watching full-screen HD video. Something like a large object sliding across the screen can cause weird choppy lines, etc.  I'm running Linux (NixOS) on a machine with a Core i7-2600 CPU (3.40GHz) and 16GB of RAM. I'm using the NVidia linux drivers to drive the graphics card. I'm guessing that the cause of the choppiness is a low refresh rate, although I'm not sure. The monitor is listed as being able to do 60Hz, but in my settings, my graphics card seems to only be able to manage 30. Do I need a more powerful graphics card? Or is this likely a shortcoming of the monitor? Perhaps something else?


How to use electrolytic capacitors in Orcad Capture

I want to specify voltage across the electrolytic capacitor in Orcad but there seems to be no way to this.  I'm using C_elect part and the panel to choose the value is below:      I've tried this formats but none of them worked: 1u 16 1uF 16V


Are there any blatantly evil followers that I can sacrifice for Boethiah's calling?

I don't really want to sacrifice good NPCs, are there any evil followers?


What replaces egg in vegan sponge cakes?

I already know there are a few vegan egg replacements, such as:   Aquafaba Coconut milk One tablespoon of apple puree with 1 tablespoon of dense oil (coconut oil or corn oil I guess) Chickpea flour with some starches   I know that each one of these, as well as others I don't know → aren't multipurpose as eggs are and thus and should be used for different groups of recipes respectively.  What can replace eggs when making a vegan sponge cake?


Unable to findElement getting null pointer Exception

I am wrapping locators generic and getting null pointer exception. Please find the below piece of code.  public class WebElementLocator {       WebDriver driver;      Properties prop;      private void getFile(String filePath)     {         try {         FileInputStream fs = new FileInputStream(filePath);         prop = new Properties();         prop.load(fs);         } catch (IOException e) {             e.getMessage();         }     }      public WebElement getElement(String wElement){         getFile("ment.properties");         String eValue = prop.getProperty(wElement);         String locatorType = eValue.split(":")[0];         String elementValue = eValue.split(":")[1];         WebElement we = null;         switch (locatorType) {         case "id": we = driver.findElement(By.id(elementValue));                     break;         }         return we;     } }   Getting Null pointer exception in below statement  case "id": we = driver.findElement(By.id(elementValue));                         break;


Assigning feature symbology by categories with related table in ArcGIS Online?

I am making maps for Collector app with features and related tables.   Is there a simple way to assign different symbol to features based on whether it has related records or not?


$(ab+bc+ca)^3=abc(a+b+c)^3$, prove that $a,b,c$ are in $G.P.$

Suppose $a,b,c$ are non-zero real numbers such that $$(ab+bc+ca)^3=abc.(a+b+c)^3$$ Prove that $a,b,c$ must be terms of a $G.P.$  I simplified this equation too $$(ab)^3+(bc)^3+(ca)^3=abc.(a^3+b^3+c^3)$$ I tried to subtract $3(abc)^2$ from both sides and it gave a factorised form. $$(ab+bc+ca).((ab)^2+(bc)^2+(ca)^2-abc.(a+b+c))=abc.(a+b+c).(a^2+b^2+c^2-ab-bc-ca)$$ How can I proceed after that?


How to delete old packages installed by pacman in Arch Linux?

I have recently installed Arch Linux and found that I am eating away at a lot of storage relatively quickly. For whatever reason I have already used 17GB in just about 2 weeks. I do not have a great deal of software installed so I am led to believe that all of the old packages are maintained somewhere.   To support this, I have noticed that if I installed a package, remove that package, and then re-install it that pacman merely unpacks and re-installs the software without having to re-download it.  After I installed my base system, before extra software, I used about 2GB or so maybe. I have since only installed Matlab, Skype, Wine, and a few other small programs. Of course I have also installed missing libraries and the like, but not nearly 15GB worth.   Am I completely wrong here or does Arch never delete old packages when downloading/upgrading to new versions?   If so, how do I delete these un-used packages?  Also, when I remove installed packages I use pacman -R ...


PlayStation 4 from UK to India will I have to pay customs duty?

I bought a PS4 in UK and I've been using it for close to two and a half weeks here and I'm taking it back to India so will I have to pay them? There are no boxes, just the console in one suitcase wrapped in a blanket and the controller in another suitcase.   If I do get stopped how much will I have to pay? The total price I paid was around 38k including a game and the console.


Making a model out of cubes, can't fix overlap

I'm working with a Minecraft model, and am using hand places cubes as extrusions for the hair of the character, as I am unsure of how to extrude pixel sized "blocks" from the mesh. The problem I have arises with a tiny bit of overlap with some of the cubes, causing a weird look. Is there a way to fix this overlap without having to go back and hand scale/rearrange the cubes, or an easier way to achieve this extrusion? The cube's aren't perfectly aligned, as I did it all by hand. Is there possibly an easier way to align them?


I need to make sure input on dynamically generated input fields accept only numbers.   This jsfiddle is doing exactly what I want but it isn't allowing for dynamically generated fields: .  I've modified it to work with a function but it isn't doing anything.  Any ideas what I'm doing wrong?  HTML:  Number : <input onkeydown="test(this);" type="text" name="quantity" id="quantity" />&nbsp;   Javascript:  function test(input) {   //called when key is pressed in textbox   input.keypress(function (e) {      //if the letter is not digit then display error and don't type anything      if (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) {         //display error message         $("#errmsg").html("Digits Only").show().fadeOut("slow");                return false;     }    }); }   CSS:   #errmsg { color: red; }   Function version:


Show that an entire function is a constant

Let $f$ be entire and suppose there is a constant $M>0$ such that $|f(z)|>M$ for all $z \in \mathbb C$. Prove that $f$ is constant.  I think this has something to do with Liouville's theorem but not sure how to go about it!


I am so bad aligning... Anyone see why there is a big space in the function?  Thanks for your help!    begin{alignat*}{2}  \tau\colon G\times k[V]&\longrightarrow&k[V] \\  (x,f)&\longmapsto&\tau_{x}(f)=x\cdot f:V&\longrightarrow k \\  &&v&\longmapsto\tau_{x}(f)(v):=f(x^{-1}\cdot v)  \end{alignat*}


Screen rendering issue after upgrade from 5.8.0-48 to -49 and -50

My system has integrated graphics, Intel i5 chip. After upgrading from 5.8.0.48-generic to -49, after reboot, I noted browser screen does not update correctly. Missing images and text, flickering. I opened a terminal to check the kernel version installed (uname -a) and noticed the terminal also has same problem, flickering and characters appearing and disappearing. So I booted the previous kernel, 48. and everything was fine, no problem with screen update. Today, I checked for update and there was 5.8.0-50 available part of the update. After update, booted with default (5.8.0-50-generic) and noticed the same screen issue, but not as bad as the previous kernel, -49. Any comments would be appreciated.


getting NullPointerException error in jsf

I have an entity class(Buyer) built automatically from database table, it has all the setter and getter. I also added a JSF managed Bean(BuyerBean) and an entitymanager in it.  @ManagedBean @RequestScoped public class BuyerBean {      private EntityManager entitymanager;      public BuyerBean() {     }     public void init(){         entitymanager=Persistence.createEntityManagerFactory("WebApplication3").createEntityManager();     }     public void newrec(){          entitymanager.getTransaction().begin();             Buyer b =new Buyer();              b.setBuyerId(66);              entitymanager.persist(b);             entitymanager.getTransaction().commit();      } }   And my JFS is like this, very simple just for testing:  <html xmlns="http://www.w3.org/1999/xhtml"   xmlns:h="http://xmlns.jcp.org/jsf/html"> <h:head>     <title>Facelet Title</title> </h:head> <h:body>    <h:form>        <h:commandButton value="click 1" action="#{buyerBean.newrec()}"/> </h:form>     </h:body> </html>   I just get this error every time n my browser:  java.lang.NullPointerException  is something wrong with my initiator? if there is, please write the piece of code


Edit Field Name In Attribute Table (QGIS 3)

This seems like such a simple task, yet after researching how to execute it in QGIS I've been unsuccessful.  I'm merely trying to rename columns in my attribute table.  My existing field is currently named "employment", and I would like to rename it "BG_Desc".    I've read the "table manager" plug-in will do this, but it appear the plug-in is no longer available for version 3.0.   I've used the "replace" tool under "String" in the field calculator, but it does not work when I enter the following:  replac("employment",employment","BG_Desc")   Suggesstions?


I was trying to use gedit, when I came across the following problem:  myPC@TM77:~$ sudo gedit /etc/pm/config.d/config (gedit:12512): IBUS-WARNING **: The owner of /home/myPC/.config/ibus/bus is not root! (gedit:12512): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files   What is happening?


Prove that $a^3+b^3+c^3 \geq a^2b+b^2c+c^2a$

Let $a,b,c$ be positive real numbers. Prove that $a^3+b^3+c^3\geq a^2b+b^2c+c^2a$.   My (strange) proof:  $$ \begin{align*} a^3+b^3+c^3 &\geq a^2b+b^2c+c^2a\\ \sum\limits_{a,b,c} a^3 &\geq \sum\limits_{a,b,c} a^2b\\ \sum\limits_{a,b,c} a^2 &\geq \sum\limits_{a,b,c} ab\\ a^2+b^2+c^2 &\geq ab+bc+ca\\ 2a^2+2b^2+2c^2-2ab-2bc-2ca &\geq 0\\ \left( a-b \right)^2 + \left( b-c \right)^2 + \left( c-a \right)^2 &\geq 0 \end{align*} $$  Which is obviously true.    However, this is not a valid proof, is it? Because I could just as well have divided by $a^2$ rather than $a$:  $$ \begin{align*} \sum\limits_{a,b,c} a^3 &\geq \sum\limits_{a,b,c} a^2b\\ \sum\limits_{a,b,c} a &\geq \sum\limits_{a,b,c} b\\ a+b+c &\geq a+b+c \end{align*} $$  Which is true, but it would imply that equality always holds, which is obviously false. So why can't I just divide in a cycling sum?  Edit: Please don't help me with the original inequality, I'll figure it out.


Downloaded app won't open because it is from an unidentified developer

I have download photo express mac version on my MacBook Pro and it won't open it said can't opened because it is from an unidentified developer. But I'm using there mac download so what do I do so I can get it to work


So I am trying to insert a functioning tikz image into a beamer project and it keeps giving me an error.  \documentclass{beamer} \usetheme{Warsaw} \usepackage{tikz} \usetikzlibrary{shapes,trees,positioning} \begin{document} \begin{frame}{Examples} \begin{center} \begin{tikzpicture}[level/.style={sibling distance=60mm/#1},minimum size=20pt,scale=.8, every node/.style={transform shape}] % If you want to scale the picture insert ``scale= (something), every node/.style={transform shape}'' Ex:[level/.style={sibling  distance=60mm/#1},minimum size=20pt,scale=.8, every node/.style={transform shape}] would  scale to 80% of original size \node [circle,draw] (z){\textbf{$u$}}   child {node [circle,draw,fill=black,text=white] (a) {\textbf{$v$}}     child {node [circle,draw,fill=black,text=white] (c) {}}     child {node [circle,draw] (d) {}     }   }   child {node [circle,draw,fill=black,text=white] (b) {\textbf{$w$}}     child {node [circle,draw,fill=black,text=white] (e) {}}      child {node [circle,draw] (f) {}}   }; \end{tikzpicture} \end{center} \end{frame} \end{document}   The error I keep getting is:   ./SDN Presentation.tex:61: Illegal parameter number in definition of \iterate. <to be read again>                     1 l.61 \end{frame}   If I delete the /#1 at the beginning of the picture I get an image though not the one I am looking for.  Not sure how to fix this issue since the code works for the amsart document class.


English. I am doing a report and need your help

yes I have a very important question. Does the English language have and academy like the Royal Spanish Academy? Anyone who answers is so very kind.Word-choice?


Why do we think Spin is angular momentum as opposed to some other quantity?

What leads us to the conclusion that spin is angular momentum? Could it not be some other quantity? Sorry if this is a rookie level question.


Is there a way to add more locations as pokestops in pokemon go?

I used to watch many pokemon go fan videos from US or other countries on Youtube. Most of them have so many pokestops like this image below.  .   People who live around that region have a good opportunity to grasp free goodies from game and also they can trigger lure module to lure pokemons on these pokestops. So many advantages to have so many pokestops around.  I live in Chandigarh, India, game is not released here yet, but like most of the world, Pokemon Go is very famous here as well.   Let me tell you a little about Chandigarh. Chandigarh is also known as City Beautiful and City of Gardens. There are so many tourist attractions, parks, sculptures, etc.  We don't have so many pokestops here. So I can consider that we are having a little disadvantage. Guess we are not active on Google Map. Two days ago I been to few places, and I found that there'r few Religious places which are marked as pokestop but not all. No collage campus or School are marked.   So I was wondering, Is there a way to get them all on as Pokestops in Pokemon Go?


Need commands for creating manual "pre-compile" of preamble in Windows, perhaps by pressing a button

I would like to manually create a separate file with preamble "pre-compiled". I found a very simple example at:     where Jonas Stein describes their example:    book.tex %&preamble \begin{document} Hi \end{document}       and  preamble.tex \documentclass{article}    They then proceed to instruct what to write at bash console, but I think that means they are on an OS other than Windows. Jonas suggests:    $ pdflatex -ini -jobname="preamble" "&pdflatex preamble.tex\dump   $ latexmk -pdf -pvc -e '$latex=q/latex %O -shell-escape %S/' book.tex   Here are some other relevant articles, some with apparently other versions of the command:     pdflatex -ini -jobname=main "&pdflatex preamble.tex\dump"  pdflatex -ini &pdflatex mylatex.ltx tst.tex  pdflatex -ini -job-name="main" "&pdflatex fmt.tex\dump"  latex -ini -job-name="main" "&latex preamble.tex\dump"     I don't know if the location should be pertinent, they are in:    C:\Users\aUserName\Documents\MikTexDocs     EDIT: Here is what I understand so far:   For the simple files suggested by Jonas, I use the command:   pdflatex -ini -jobname="book" "&pdflatex preamble.tex\dump   How I understand this is, in command prompt, pdflatex takes option -ini, I'm just going to toss words in, not sure how they go (from ), executable, precompile macros into an fmt file. So the command above takes macros in preamble.tex and dumps them precompiled into a new file book.fmt. Now that we have a format file, we want to apply it to the book.tex file. So the following command has "worked":   pdflatex -fmt book book   As I understand it, this command applies the book.fmt file to the book.tex file. The PDF will now reflect a recent typesetting.   Now, I thought I would be able to get this all to work with the typeset GUI in TeXworks, so that pressing typeset would result in faster typesetting than before. But so far, typesetting with the "external" preamble only works from command line. Am I headed nowhere I intended?   Also, I thought the "preamble" %&book would make the typesetting action would pull the preamble from the fmt file and allow the typeset to be successful.


How to use implode  with mysqli_real_escape_string together Correct this if(isset($_POST['submit'])){  $impdates = implode('<br>', mysqli_real_escape_string($_POST['impdates']));  }


What does it mean to localize a ring at a prime ideal?

I am not that well acquainted with commutative algebra, so that I am kind of struggling to understand the concept of "localizing a ring at a prime ideal."  For one thing I can say is that localizing alludes to a geometric meaning.   Can somebody clarify this concept from both perspectives: algebraic and geometric ? Since a ring ( for example $\mathbb{Z}$ ) can contain many prime ideals, I presume that the introduced localization is not unique. Is this correct ? What are the consequences ? How then do you make a choice on picking up the most suitable prime ideal for the purpose of the localization ?  How do you procede in constructing such "localization" ?   Many thanks.


Finding constant to make intervals converge

Find the value of the constant C for which the following integral $$\int_{0}^{\infty} \bigg(\frac{x}{x^2+1} - \frac{C}{3x+1}\bigg)dx$$  converges. Evaluate the integral for that value of C. Make sure to fully justify your answer.  \  My solution:   $$\lim_{A\to\infty}\int_{0}^{A} \frac{x}{x^2+1} dx - \lim_{A\to\infty} \int_{0}^{A} \frac{C}{3x+1} dx$$  $$= \lim_{A\to\infty} \frac{1}{2} ln(x^2+1) \bigg|_{0}^{A} - \lim_{A\to\infty} \frac{C}{3} ln|3x+1| \bigg|_{0}^{A}$$  $$= \frac{1}{2}(\infty + 0) - \frac{C}{3} (\infty + 0)$$  Idk how to make it converge.  I posted before but I don't get it still some help  Another attempt: $$\lim_{A\to\infty} \bigg(\frac{1}{2} ln(x^2+1) - \lim_{A\to\infty} \frac{C}{3} ln|3x+1| \bigg)\bigg|_{0}^{A}$$  $$\lim_{A\to\infty}\bigg(\frac{1}{2} ln(A^2+1) - \lim_{A\to\infty} \frac{C}{3} ln|3A+1| - \big(\frac{1}{2}(0) - \frac{C}{3}(0)\bigg)$$


When sculpting, part of mesh is auto mirroring

I'm trying to sculpt side of a mountain but when I try to do it the middle part of mesh is mirroring.   (I draw the left part).  I check normals they are fine  and I didn't use any modifiers apart from multiresolution.  Any ideas how to fix it?


Is there a way to fanout a stream in posix shell or bash?

I'd like something that works like:  cat a > b prog1 < b prog2 < b   without having to create the temporary b file.  If I just had one program, I could use a pipe:  cat a | prog1   I'm wondering if a shell has syntax to support something like:  cat a (|prog1) (|prog2)   Or is there a convenient utility that can help? Something like:  cat a | fanout prog1 prog2


Broken interface in some (GTK2 ?) apps in Ubuntu 15.10

My question is linked to  and expands on it a little. I experience the same behavior of Skype in a fresh install of Ubuntu 15.10. More specifically, when I start Skype immediately after booting into Ubuntu, it will most likely work all right, but if I turn it off at some later time, it will more often than not show up with a completely garbled up and unusable interface such as here (copying the image from the question linked above):    I also observe the same behavior with Clementine. If I open it immediately after starting an Ubuntu session, it will most likely show up ok:    but if I start it some time into the session, it will often display a completely broken interface:    I suspect this may have something to do with the fact that both Skype and Clementine may be using gtk2, and my Ubuntu install does not have some libraries required for proper rendering of these applications, but I am at a loss of how to diagnose the problem more precisely and fix it. Perhaps you could help?


The specific situation is the troll is targeted by psychic scream and has his head blown up. So would he somehow regenerate a new head or would this manage to kill him or would he survive but lose all personality and memories? I need to know!


What does my internet provider know about my online activities?

What does my internet service provider know about my online activites in these cases?   plain server (www, ftp, whatever) connection and provider's DNS secured (e.g. TLS) server connection and provider's DNS plain server (www, ftp, whatever) connection and an non-provider non-logging DNS secured (e.g. TLS) server (www, ftp, whatever) connection and non-provider non-logging DNS   In case 4) does my provider know anything more about my online behaviour than "IP w.x.y.z was assigned to Foo Bar between connect-time and disconnect-time" (i.e. only the duration my router was connected)?  What traffic does need to go through the provider's infrastructure to make my connection work at all?


What's the good way to clean up the system (and is Bleachbit safe) on Ubuntu 14.04?

I used Ubuntu 14.04 (Trusty Tahr) for about a year (actually upgraded it from Ubuntu 12.04 (Precise Pangolin)), and during the time I installed some packages, and removed some other packages.  Now I think it's probably time to clean up the system as it's likely several unused stuff is lying out there (both from the old 12.04 and the new 14.04), and I hope to have a cleaner system that works faster.  I found these two links:       Both links seem good, but when I came across to what they said about Bleachbit then one says yes, and one says no - a bit contradicting.  What should be done for this common task?


Expected value equals sum of probabilities

Let $X$ be a random variable that takes non-negative integer values. Show that,  $$E[X] = \sum^{\infty}_{k=1}P(X \geq k)$$  I'm having trouble following the solution. Could someone help clarify some steps? Thanks.   By definition, $$P(X \geq k) = \sum^{\infty}_{i=k}p_{X}(i)$$   Therefore, we substitute to get  $$\sum^{\infty}_{k=1}P(X \geq k) = \sum_{k=1}^{\infty}\sum_{i=k}^{\infty}p_{X}(i)$$  Now here is where I'm confused. $$\sum_{k=1}^{\infty}\sum_{i=k}^{\infty}p_{X}(i) = \sum_{i=1}^{\infty}\sum_{k=1}^{i}p_{X}(i) = \sum^{\infty}_{i=1}ip_{X}(i)$$  I don't understand how we are manipulating the summations in the first equality and how we derive $ip_{X}(i)$ in the second equality.


What is the grammar behind "insisted he >do<"?

Unfortunately, he forgot to support the brickwork above the hole he had made, and the bedroom floor above sagged about a meter and they had to call in a builder to put it right. It was his wife who insisted he do any work out in the garden in future.    The last sentence I am not sure if it is right, after "It was his wife who insisted he DO..." Maybe it is not right. Why do? —maybe him doing instead of the written example? Please explain the grammar.


I have voted for 40 [Questions + Answers] , I got warning about daily limit and now I am not able to do new vote as its limit reached but in my Profile Activity it shows 37 out of 40 [37/40], Why? and still I did not get vox-populi badge.


I have freshly installed 14.04 on an rlg laptop. after installing, the wifi is not working and I dont also have wired access to internet. the output of lspci -knn | grep Net -A2 is :   03:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)     Subsystem: Hewlett-Packard Company Device [103c:1510]     Kernel driver in use: b43-pci-bridge   could you please help me activate the wifi?


How do I get a decimal value when using the division operator in Python?

For example, the standard division symbol '/' rounds to zero:  >>> 4 / 100 0   However, I want it to return 0.04. What do I use?


I was browsing Aviation.SE site when I noticed "+10" on the reputation dialog.  I clicked on the achievements icon in the top nav bar to see what I got that rep for.  It was for a answer on Stack Overflow, but that's irrelevant.  Also in the drop-down achievements panel were listed a couple of my recent badges from SO - but with an icon for the Aviation.SE - see the screenshot below.    Of course, there's a site icon indicating which site the badges were for, yet I was confused for a second when I saw a little plane badge.  So, is this a slight oversight/bug or an intended behavior?


If I had a question with Excel, which site would I use?

I wanted to understand how to use Excel better, and I had some question regarding it. Which exchange site is good for this?


How to search for all the files starting with the name "ABC" in a directory?

I need to search for files starting with some particular name. There can be multiple files starting with a particular pattern and I want to list all such files present in the directory.


Why are only some materials ferromagnetic?

I've been told in my solid state class, that ferromagnetism occurs when electron spins are alligned. This happens, as I understand it, when it is "energitically favorable" and when the wavefunction is antisymmetric (with a symmetric spin part). What I don't understand is:   1) When the spin part is symmetric and the electrons are alligned, the Coloumb repulsion is minimized (due to the Pauli principle, the electrons move further apart) - should it not always be more energitically favorable for the spins to be alligned?  2) Why, for instance, is iron (Fe) ferromagnetic, while Manganese (Mn) is paramagnetic? I fail to see where the theory comes into play. By looking at their orbital structure, Mn has more unpaired valence electrons than Fe.


Zero integral of measurable $f$ on every interval implies $f=0$?

Let $f:\mathbb{R} \rightarrow \mathbb{R}$ be a Borel measurable function, such that $\displaystyle \int_{a}^{b}f(x)dx=0$ for every $a<b$ in $\mathbb{R}.$ Is it true that $f(x)=0$ for every $x\in \mathbb{R}$?  Comments: the starting point of this is to prove that the (Borel measurable) density function $f$ (if exists) of a symmetric random variable $X$ (meaning that $X,~-X$ have common cdf's) is even. If my question has a positive answer, it follows easily.   Thanks a lot for any comments!


Let $a, b$ and $c$ be three non-zero positive numbers. Show that:  $$\sqrt{\frac{2a}{a + b}} + \sqrt{\frac{2b}{b + c}} + \sqrt{\frac{2c}{a + c}} \leq 3$$  I know the triangular inequality would help here, but I don't know how to approach it.  I started by $a+b≥a$ then that gives $\frac{1}{a+b}≤\frac{1}{a}$ by muliplyting both sides by $2a$ we get $\frac{2a}{a+b}≤\frac{2a}{a}$ which leads eventually to $\frac{2a}{a+b}≤2$ and by adding the square root to both sides we get $\sqrt{\frac{2a}{a+b}}\leq\sqrt2$ and doing the same thing to the other terms we get $\sqrt{\frac{2a}{a+b}}+\sqrt{\frac{2b}{b+c}}+\sqrt{\frac{2c}{c+a}}\leq3\sqrt2$  beyond that I don't have any idea if that would lead to anything useful or not.


"Where did you buy it?" or "where did you buy it from?"

When someone purchase something from somewhere and I ask him the location of purchasing, which one is the correct question:     Where did you buy it?   OR     Where did you buy it from?   Is preposition necessary to use in this question or there is no need to use it?


Why can't the  be assigned for shortcuts?

I've searched for this question in vain. Does anyone know why the Fn key can't be assigned? The OS accepts all keys(even the keys that are set as shortcut by default, can be changed). What makes  the Fn key  different from other keys?  Is there a way to change this behavior and use it for shortcuts?


Unable to get option text name in controller js

<lightning:select name="levelrate" aura:id="recpickVal" class="level" label="Select Tier"  onchange="{!c.tierRateChange}">                         <option text="--Select--" value="NONE"/>                             <aura:iteration items="{!v.tierRates}" var="su">                              <option text="{!su.Tier__c}" value{!su.Charge_Rate__c}"/>                         </aura:iteration>                     </lightning:select>   Here in this code I am getting the value in controller by using var dataVal = event.getSource().get("v.value");  But here I also want the option text name in my controller.How can I get that. Any idea how can I get the option text name.