Multiple choice type question on inequality

Let $x$ be a positive real number. Then  $A.\ x^2+\pi ^2+x^{2\pi}>x\pi+(\pi+x)x^\pi$  $B.\ x^\pi+\pi^x>x^{2\pi}+\pi^{2x}$  $C.\ x^2+\pi ^2+x^{2\pi}<x\pi+(\pi+x)x^\pi$  $D.\ $none of the above  Which one is correct? And how to prove that? Any hints would be appreciated.


How much does it cost to have a custom ASIC made?

I have browsed several ASIC manufacturer's webs, but I haven't found an actual number. I assume there would be a fixed cost associated with creating masks and such and then there will be a cost per unit.     Note: that I don't actually want to have an ASIC made, I'm just curious.


Is the comma usage proper in this sentence?

As a result, I am able to be understanding and accommodating to the people that I work with, including clients, which I believe is an important asset for a professional to have.   I wanted to make sure it is absolutely known that I mean to acknowledge clients as a class of people I can work with. Is this the right way to include it with commas?


When the light is on the pad works, and vica versa. I can't see how to change this, I have tried restarting with the button pressed down while the computer is off, but that didn't work. I suspect my keyboard (a new, ultra slim one) is controlled by a micro chip, not a physical switch.


I have a planar mesh which I would like to texture.  The issue is, this mesh is built (externally) using an algorithm which is agnostic with respect to orientation.  In particular, the mesh in question is not oriented consistently between adjacent elements, and the automatic UV assignment in Blender produces the picture below instead of a consistent texture map.  Is there a way to correct this within Blender?


When is $-3$ a quadratic residue mod $p$?

Going over a past exam in my elementary number theory course, I noticed this question that caught my attention. The question asked for the conditions that allowed $-3$ to be a quadratic residue mod $p$. Doing some experimentation, I found that this was possible when $p \equiv 1 \pmod 3$. So I guess I have answered part of the question. But the proof is obviously nagging me: Prove $-3$ is a quadratic residue in $\Bbb Z_p$ if and only if $p \equiv 1\pmod 3$. I've done a bit of work on this, but haven't been able to come up with anything close to elegant nor conclusive. Any help would be appreciated.


C :: Cast a pointer in a function, lose the data?

I have a C Syntax 101 question.  Suppose I have a function which takes one kind of pointer as a argument and returns a different type of pointer, and both pointers point to the same data from within the calling function.  For example:  #include <stdio.h>  float* convertPtr(const int *a){   return (float*)a; }  int main() {   float *ptrF;   int x = 5;    ptrF = convertPtr(&x);   printf("%d ::converted to::  %f\n", x, *ptrF);   return 0; }   Output of this program is:  5 ::converted to::  0.000000   So I'm a bit baffled by this.  The original data is created within main() and is not changed.  The convertPtr() function never alters the data, but should only change the type of the pointer.  I also note that when I step through the code on GDB, the pointer (the address itself) does not change:  Breakpoint 1, main () at exp.c:9 9         int x = 5; (gdb) p &x $3 = (int *) 0x7fffffffe224 ...continue to after calling convertPtr()... (gdb) p ptrF $4 = (float *) 0x7fffffffe224 (gdb)   Yet the value pointed to that data has:  (gdb) p x $8 = 5 (gdb) p *(&x)       // sanity check $9 = 5 (gdb) p *ptrF $10 = 7.00649232e-45 (gdb)   So... what the heck?  After my convertPtr() function, the pointer has been recast but the value of the pointer has not changed... yet dereferencing the converted pointer seems to be pointing to garbage data.  (I'm assuming.)  Does anyone see the issue here?  Supposed I HAD to fix my function; how do I do that?  Thanks...  -ROA  PS:  Apologies if this is a duplicate question.  I searched for about an hour for "C", "pointer", "casting", "change value", and the posts I pulled up were all over the map.  Sometimes its best to ask your question directly.


While Space-man lives for 1 day, then how long does Earth-man live ? 1000 years or 1 second?

Acordding to Einstein's Relativity, while  Space-man lives for 1 day(just a number for example , not an exact number calculated from the corresponding relative speed),  Earth-man can live for 1000 years (just an example number too). But from the view of Space-man, while Space-man lives for 1 day, Earth-man lives for 1 second. So while Space-man lives for 1 day, then how long does Earth-man live ? 1000 years or 1 second? Or 1000 years = 1 second actully ?！  Thank you in advance!!


Searching for a valid kernel header path in Ubuntu 16.04 VMware

I'm using a Ubuntu VM. Very recently I upgraded the system from Ubuntu 15.04 to 16.04. While installing ./vmware-tools.pl, I get the following line:  Searching for a valid kernel header path... The path "" is not a valid path to the 4.4.0-116-generic kernel headers.   I've been looking at two other solutions online [ and ] but none seem to work.   My main goal is to have Copy/Paste enabled from the Host Machine. It did work for Ubuntu 15.04, it is not working now that I upgraded. Changing Settings in the VM does not seem to be enough.


Dynamically creating keys in a JavaScript associative array

All the documentation I've found so far is to update keys that are already created:  arr['key'] = val;  I have a string like this: " name =  oscar "  And I want to end up with something like this: { name: 'whatever' }  That is, split the string and get the first element, and then put that in a dictionary. Code var text = ' name = oscar ' var dict = new Array(); var keyValuePair = text.split(' = '); dict[ keyValuePair[0] ] = 'whatever'; alert( dict ); // Prints nothing.


I can't seem to position my camera properly so that my scene is in view all of a sudden. When I press Ctrl + Alt + Num0 a box with a blank screen is displayed and any attempt to position the camera moves it to a completely different position. My camera  is positioned as follows:     This is the view from the camera:    Any suggestions? This does not work in RENDERED/SOLID or Look Dev on BLENDER 2.8


Add list of contacts to email template from apex

I have a list of contacts that was generated generically in code. At the end of the class I need to send email to a user.  Email should include the list of contacts. (I'm using email tamplate).  How can I add this list of contacts to email before sending it?


When does setting the SORT_IN_TEMPDB option actually improve performance?

My question is related to index rebuilding, mainly the SORT_IN_TEMPDB  option.  BOL  that:     Even if other users are using the database and accessing separate disk addresses, the overall pattern of reads and writes are more efficient when SORT_IN_TEMPDB is specified than when it is not.   On the other hand, one of the users :     When rebuilding an index you would need twice the space of the index + 20% for the sorting. So in general to rebuild every index in your db you only need 120% of your biggest index in your DB. If you use SORT_IN_TEMPDB, you only win 20%, you still need an aditional 100% in your data file. Further more, using sort in tempdb increases your IO load drastically, since instead of Writing the index one time to the datafile, you now write it one time to the tempdb and then write it to the data file. So that is not always ideal.   Would you like to share your own experience about this option? Have you ever had to use this option while rebuilding indexes? What was the performance result?


Google Scholar not recognizing replaced ArXiv article

I submitted a paper to arXiv last year and recently (within two weeks) I submitted a replacement to my article (I changed the title to match the content better and some other minor changes like citing some more papers) however Google scholar still has the older title and the citation is not updated(when I click on the title it goes to ArXiv page, where shows all the versions of the article). I am wondering as to how long would it take for Google scholar to be updated? I can manually change the title in Google scholar however what about the citation. I have seen other similar posts here like   However, none of them are talking about the citations. What would happen if people cite the second version but the title is not present in Google scholar.


Screenshot feature of Shutter doesn't work after upgrading to Ubuntu 17.10

After the last upgrade to Ubuntu 17.10, the screenshot feature of Shutter doesn't work properly any more.  When I press Selection, or Desktop to get a screenshot of the entire desktop, the image gets filled with large Shutter icons, like this:   I tried to purge Shutter, then reinstalled, but the problem persists. I also tried to update Shutter, but I already have the last version.  It's worth mentioning that there's just an association between upgrading to Ubuntu 17.10 and the screenshot feature not working. I'm not sure if the upgrade has caused this, I only know the feature stopped working immediately after the upgrade.  What can I do to fix Shutter's screenshot feature?


Is the union of sigma algebras a sigma algebra?

Suppose $\{\mathcal{F}_n\}_{n=1}^{\infty}$ is a sequence of $\sigma$-algebras of subsets of $X$ where they are properly nested: $\mathcal{F}_n \subset \mathcal{F}_{n+1}, \mathcal{F}_n \neq \mathcal{F}_{n+1}$. Prove that there is a sequence of disjoint sets $\{A_n\}_{n=1}^{\infty}$ and a subsequence $\{\mathcal{F}_{n_k}\}_{k=1}^{\infty}$ such that $A_k \in \mathcal{F}_{n_{k+1}}-\mathcal{F}_{n_{k}}$.  I found the proof in" A. Broughton and B. W. Huff: A comment on unions of sigma-fields. The American Mathematical Monthly, 84, no. 7 (1977), 553-554" but wondered to know if anyone knows any other proof than this one.


Let $ a+b\sqrt{-1} $ be a non-zero element of the ring of Gaussian integers $ \mathbb Z[\sqrt{-1}]. $ Show that $ | \mathbb Z[\sqrt{-1}]/(a+b\sqrt{-1}) |=a^2+b^2 $. [Jacobson, Basic Algebra, P202.3]   My attempt:   Since $ \mathbb{Z}[\sqrt{-1}] $ is a p.i.d. and we can factor $ a+b\sqrt{-1} $ into primes: $ a+b\sqrt{-1}=p_1^{j_1}p_2^{j_2}...p_n^{j_n} $, $\ p_i $ are primes in $ \mathbb Z[\sqrt {-1}] $, then we only have to prove the case for the primary quotient submodule in the following sense:  $$ | \mathbb Z[\sqrt{-1}]/(p_i^{j_i}) |=a^2+b^2\, ,\text{where $ a+bi=p_i^{j_i} $}. $$  From here I am stuck......


How to build a query/expression to select specific points within a buffer? (in QGIS)

I have a point layer in QGIS. Each point represents a tree and each tree has information about its height as an attribute. I would like to build a query/expression to select all those trees that have an other tree higher than 7 meters within their 20-meter-buffer (20 meter radius).  I managed to do this "manually" by creating a 20-meter-buffer around all trees higher than 7 meters (after the selection of the trees higher than 7 meters) and then selected the ones within the buffer but I was wondering if its possible with a query/expression.  (maybe with a bit more complex one)  Unfortunately I do not have PostGIS so this should be done with Select by expression or Query Builder if possible.  (It would be also helpful to know if it's simply impossible)


Sci-Fi Series, Earth trapped in time-slowing field, observed from Mars colony

I hope you can help me find this book. It's actually a series and the basic premise is that a mysterious impenetrable force field suddenly springs up over the Earth. It causes time to dilate slower inside the shield so that thousands of years pass outside of the shield but inside things remain the same.   There was a Mars colony so they continue going through time with all the progress inherent with its passage. It seems there was some type of environmental problem on Earth that they needed assistance with and one day the shield suddenly drops.  That's all I can recall about it at this time. Anyone familiar with this series (I think it was a trilogy) or the author?


In US hotels, what happens if you skip checkout and just leave the hotel?

Every time I check out of a hotel, they ask me if my stay went fine, let me review my incidental charges and ask if they should charge the credit card used to check in.   But what if I simply walk out of the hotel without formally "checking out"? They have my credit card on file and these days you don't even have to return your room key if you want to keep a souvenir. Would it be rude and create more work for hotel employees?  The question arose after spending 15 minutes in the check out queue at a major US hotel.


There is a summation in analysis of an algorithm which is the following:  $$\sum_{h=0}^{\infty}{\dfrac{h}{2^h}} = \dfrac{1/2}{(1-1/2)^2} = 2$$  But I don't can't solve this. I would be appreciated if anyone can solve this.  thanks.


How do research papers differ from research articles?

What is the difference between a research paper and a research article? Frequently these two terms are considered in the same category. So, what features distinguish these two terms?


Machine Learning: Why do the error in cost function need to be squared?

I have recently started Andrew NG's Machine Learning course on Coursera and I came across this cost function which is:    Why does the error in the cost function need to be squared? If its purpose is to eliminate the negative sign in the error then why don't we simply use the absolute function?


Why is posterior density proportional to prior density times likelihood function?

According to Bayes' theorem, $P(y|\theta)P(\theta) = P(\theta|y)P(y)$. But according to my econometric text, it says that $P(\theta|y) \propto P(y|\theta)P(\theta)$. Why is it like this? I don't get why $P(y)$ is ignored.


Why can't we fly aeroplane or shuttle directly into the space (beyond 100 km height above Earth's surface)?

Without rockets can we go beyond Karmans line by shuttle or plane?


Why skim "scum" from the surface of a simmering stock?

I've been reading various Googled recipes and techniques for stockmaking, as I made my first stock tonight using raw chicken bones. Just about every article/recipe I read says to skim the surface of the stock in the beginning, while it is simmering. Different articles variously refer to the skimmed substances as "scum", "impurities", and "proteins".   I had started out throwing all the vegetables in at the beginning, and probably had it at too high of a simmer, so I never actually got to see any foam or collections of anything other than apparently oils/fats from the chicken appear on the surface. This got me wondering: what is that stuff that floats to the surface? Is there any reason other than aesthetics to remove it from the stock?


Correct way to extract pixel data using GDAL. Current method gives repeated but changing value.

I am trying to open a spectral file and move bands of data from GDAL to OpenCV's Mat data structures. As of now I am just trying to make sure that I can correctly access each band using GDAL and pull the pixel data.   So I want to explain what I think the following code is doing and if I am wrong(must be) then please correct me. It opens the file and loads the dataset. Then I get raster band 1 assigned to currentBand. The float pointer is then made to point at enough memory for one line of pixel data. RasterIO gets this data and places it in the newly allocated space. I then traverse the array printing the value that has been placed in each element.  (Code in c++)  GDALDataset  *dataset; GDALRasterBand *currentBand; int blockXSize, blockYSize; GDALAllRegister(); dataset = (GDALDataset *) GDALOpen( specImag->filename.c_str(), GA_ReadOnly );  currentBand = dataset->GetRasterBand(1); currentBand->GetBlockSize(&blockXSize, &blockYSize);  float *fScanline; fScanline = (float *) CPLMalloc(sizeof(float)*specImag->widthx);  currentBand->RasterIO( GF_Read, 0, 0, specImag->widthx, 1,                           fScanline, specImag->widthx, 1, GDT_Float32, 0, 0 );   for(int i=0; i<specImag->widthx; i++){         std::cout << "Data Point ";         printf("%d", i);         std::cout << " is: ";         printf("%d", fScanline[i]);         std::cout << std::endl;     }   (the code is not complete and will not run as is)  When I run the code I get the same number (ex. 421076 or 4210432) for every element in the array. If I wait a little bit and run the program again I get a different number than the prevous run but still the same in each element.   What am i missing when it comes to accessing the pixel/data in each band?


Why we don't work physically when we don't make something move?

The formula for Work is F*x, where x is distance taken. So by physicially work formula, why don't we experience any work if we do not make any object move? Is there a specific reason?  Example, I am pushing a table with 10 N and distance travelled is $1m$, thus $W = 10 N*m$. But when table travels $0$ metres, by the formula $W = F*0$ and thus $W=0$; means that we didn't do any work.  So why is that? At the end of the day we did apply force to table?


What did Lore get from collaborating with the Crystalline Entity?

In the Next Generation episode  we are introduced to the Data's brother Lore and the Crystalline Entity. Through the episode it is shown that Lore had a partnership of sorts with the Entity, having been responsible for it attacking the colony Omicron Theta and planning to feed the Enterprise crew to it.   While it is true that Lore held little regard for humans, believing them to be a lesser species, he doesn't come off as someone who would help another for no personal gain. So what did Lore receive from the Crystalline Entity in return for leading it to, or bringing to it, sources of food. Was Lore doing this simply for the feel good feeling of killing people, or was there some other motive?


Continuity of Sup on a continuous function

$f$ is continuous function when $x \in [a,b]$ show that $M(x)=\sup\{ f(y):y \in [a,x]\}$ is continuous in $[a,b]$ Can someone help me to prove this ?  It seems simple but I can`t get started. I was far from real analysis for years, I Did not find a clue


Change VPN in Windows 7 from command line

How can I change my VPN connection settings in Windows 7 from the command line?  I know how to do it using the GUI but I really need to do it from the console.  I need to change the user, password and internet address and then restart the connection. It doesn't matter if I have to install some third-party software in order to do this (from the command line).


Homebrewing a 2-way Bag of Holding: price & balance

Our DM has decided that it only makes sense for a two-way  to exist in our world.  Background: Our characters own a small shipping company that frequently makes its profits by selling things our party finds in dungeons, and splits the profit with us. Frequently this means that we have to travel back to town or even track down an active boat and intercept it mid-route in order to drop off more wholesale goods. For reasons I'm not going to get into, we don't really want to go through this process with any other merchants.   Obviously the process is a pain and requires some form of scrying and teleportation every time, or worse, hunting down traders and intercepting them (because again, we only trust this one trader).  The DM has ruled that the trader will make a two-way Bag of Holding, which is to say, one dimensional space to be accessed from two separate bags, which are forever linked, in order to reasonably deposit items directly to the trader in exchange for money. We payed 20,000 gold for this to be researched by a magician and subsequently created, (presumably 10,000 gold for each task, estimated by DM).  My questions are as follows: using the existing Pathfinder system of rules,  a) are there ways this could be overpowered we haven't considered? b) is this a reasonable price with consideration to item creation feats that would be involved (presumably a  with permanency inside the hole is probably the most expensive way to produce such an object, but I suspect there's cheaper methods).  Additional information: The only other balancing rule we have is that air doesn't explicitly enter the hole unless both entrances are open, to prevent people from staying inside it with the safe side of the portal open.  For price, assume the bag of holding for all intents and purposes is a type I Bag of Holding, only with two openings, one on each side.


Are layer files compatible between ArcGIS 10 and 9.3?

If I save layer files in ArcGIS 10, can they be opened and modified in ArcGIS 9.3?


How do I typeset a tenfold powering (a tower-of-powers) with LaTeX?

How do I write x^x^x^x^x^x^x^x^x^x?   My LaTeX distribution doesn't wanna eat it, it stops swallowing stuff at the double power x^x^x. What I'm aiming at is essentially building a telescope out of X's stacked on top of each other. Don't ask, that's my sense of humour.


I'm working with an html file that sends and gets data from a Flask app. On this HTML, i have 2 scripts. The first one is something like this:  <button class="search">search</button> (...)  $(function() { $('.search').click(function() { var name_field = $("#search_field").val(); var my_data={name:name_field}; AJAX sends my_data to Flask function, which will return the response variable below  $('body').append("
"+response+"
")   That result will contain html code, including buttons of the class "add1"  This HTML file that contain the script above also contain another script that is triggered when the user clicks a button of the class "add1". My problem is: These appended buttons will NOT trigger the second jQuery function. Any buttons previously present in the code (before the append) of the class "add1" will, however.  There must be a way to inform jQuery that new buttons will be added and that they are valid, i think


Does this ceiling look like it contains asbestos?

I noticed water dripping from my kitchen ceiling. I informed my parents about it and they decided the best thing to do was rip part of the ceiling off? I am very worried about this as I think it may contain asbestos like one of those popcorn ceilings. Thanks for reading.


gcc   -c  hello.c   doesn't work, there is no .o file generated. And nothing warnings. My system is ubuntu 16.04, this happened after system upgrade. and gcc -v show forllow messeage:  Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.1-2ubuntu1~16.04' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.1 20160904 (Ubuntu 5.4.1-2ubuntu1~16.04)    hello.c is forllowing:  #include <stdio.h>  int main() {     printf("Hello, world!\n");     return 0; }


How to prove matrix $A$ is invertible $\iff$ $\lambda=0$ is not an eigenvalue of $A$?

So we know that $A$ is not invertible  $\iff$ det$(A)=0\iff \lambda=0$ is an eigenvalue of $A$. But the negation doesn't equal to the title  statement. How would you prove the title question?


Add "Questions edited after closing" review task

As implied by user bemace , what if the new /review included a "Questions edited after closing"  list? This would make it much more likely that improved questions would be reopened, making SO a friendlier, happier place, with more unicorns and waffles all around.


Why eigen vector of a covariance matrix is the largest principle components?

I am self studying principle component analysis using , I got most of the reasoning behind PCA but I don't get the intuitive reason why eigen vectors of a covariance matrix is also its largest principle component. # eigendecomposition of covariance matrix values, vectors = eig(V) print(vectors)


I'm trying to install windows 8 64-bit on my notebook using a genuine windows DVD but right after I select language and click on "install" it says the key is invalid even if it didn't asked me to type any key. But the 32-bit version DVD is working fine (I needed to install it to be able to use the notebook but it's 64-bit processor so I want to install 64-bit version). I also tried get a iso copy from a friend to install from USB device but I got exactly same error. How do I fix it?


Figures on report counter page (without styling)

Context :  I am writing a report with article style in latex and I am wondering if it is possible to have :   on right page : my usual text, my full report without figures ; on counter page (left page) : only the figures that are referenced on their right page, with no styling, only the figure environment in terms of displays.   Some other requirements would be that the list of figures refers to the page where figures are referenced (on the right page) - and not the counter page. The counter page will not be counted as a page.    My question :  Is there an automatic way to do so ? I mean, writing my report completely as usual (text and figures in the same file), and then, with a special configuration, figures are automatically displayed on the counter page when compiling (no numbering at all).


One vote after 10 minutes of posting. Still 1 view

Is there anything wrong with this? I have refreshed many time but the view still be 1.      I don't think think this is a dup of . In that question. Jeff Atwood answers:     We buffer view count increments, so this should be normal -- unless the post stays at 0 for more than say 5 minutes or so.    I submitted the question at 04:33:40Z, and got the first upvote at 04:43:13Z (I don't know what Z means).


Array modifier apply. Keep objects and origin point

Is there any way to apply array modifier but with making each object separated and with right origin straight away? Here is the problem. Each my object (flower) contains different parts (petals, stem etc) which are not connected. So if I apply modifier and then do 'Separate by Loose Parts' it divides not my flowers but each part of it. And also I loose origin point. So I need to join together all parts of the flower and set origin point as well for each. And I have about 30 flowers so it's not very effective at all... So I hope anyone can tell me better and faster way. Thanks!


If I want to affect a creature with a concentration spell and it succeeds its save, do I notice my concentration failing?

I'm a fairly new DM, and I've run into a problem. One of my players tried to cast Modify Memory on a golem. Golems are immune to being charmed, but Modify Memory doesn't say creatures immune to charm are unaffected. I decided to let the spell through because of narrative reasons. But, we had a discussion.  says:  On a failed save, the target becomes Charmed by you for the Duration.  The spell is a concentration spell for 1 minute. My question is the following: If I had not let the spell circumvent the golem's immunity to charm, would the caster know that the spell didn't affect the target, since it requires concentration, but there's nothing to concentrate on?


I am running Ubuntu 13.04 right now and i would like to go back to windows.  I have a windows 7 iso and tried booting it from the usb but it brought up a command screen and i had no idea what to do there. What I am trying to do is basically uninstall Ubuntu and install windows back on my laptop


The Linked sidebar should show also links to other SE sites

The Linked sidebar showing linked-to posts only shows links within the same site. Often, for example on Cross Validated there are links to posts on Math SE or MathOverflow (or other sites) but these are not shown in the Linked sidebar. Why? Such linking would increase the utility of that sidebar.  I am sure the same applies to many other closely related sites.


Significant reputation difference among meta and main sites

I just noticed the significant reputation difference in site switcher popup for main and meta sites:        According to reputation graph on stackexchange.com current meta reputation level I had two months ago on November 2018:        On the meta site itself on the top bar the reputation is correct.


Why do people say we need general relativity in order to explain why light is affected by gravity?

I've heard said by many physicists things along the lines of "Since light has no mass, we need general relativity to explain why light is affected by gravity." But why is this necessary? We know that light has energy $E=h\nu=\frac{hc}{\lambda}$, and we know that gravity is really based on total energy and not just rest mass, so therefore light has gravitational mass equivalent to $m=\frac{h\nu}{c^2}=\frac{h}{\lambda c}$. So why can't we just say that it makes perfect sense that light is affected by gravity?


Making Change for a Dollar (and other number partitioning problems)

I was trying to solve a problem similar to the "how many ways are there to make change for a dollar" problem.  I ran across a  that said I could use a generating function similar to the one quoted below:     The answer to our problem (293) is the   coefficient of $x^{100}$ in the reciprocal   of the following:      $(1-x)(1-x^5)(1-x^{10})(1-x^{25})(1-x^{50})(1-x^{100})$   But I must be missing something, as I can't figure out how they get from that to $293$. Any help on this would be appreciated.


Clean install Windows 8.1 or Windows 8 from OEM key

I have recently acquired a laptop with an OEM Windows 8 product key.  I am interested in a clean install of Windows 8.1.  I do not have any original install media, only recovery disks, and the recovery disks perform a pre-programmed install which does not have the correct partition scheme that I need, and also install lots of programs that I do not want.  The common way to clean install Windows 8.1 with a Windows 8 key shown on websites is to use Microsoft's upgrade site to download the install media by starting the Windows 8 download first, pausing it, then starting the Windows 8.1 download.  My Windows 8 OEM key is rejected with the message This product key cannot be used to install a retail version of Windows 8.  I have tried using the generic keys provided in numerous threads, but these are all rejected with the message We can't connect right now (research shows that this is due to a key problem and not a network problem, I have confirmed the network is fine.)  If I was to obtain the 8.1 install media, am I right in thinking that I could install using the dummy key and later legitimately activate with my Win8 OEM key?  If not, could I do the equivalent for Windows 8 install media?  A clean Win8 upgraded through to 8.1 is still preferable to the wrongly-partitioned OEM version.  Is this even possible?  If it's not possible, are the manufacturer under obligation to provide me with "clean" install disks on request?


Is there a more elegant way of proving $\langle (1,2)(3,4), (1,2,3,4,5) \rangle = A_5$

I'm trying to show the following     $\langle (1,2)(3,4), (1,2,3,4,5) \rangle = A_5$   I managed to prove this but I think my solution is very inelegant. Here's my argument  let $J = \langle (1,2)(3,4), (1,2,3,4,5) \rangle,$ then $\lvert J \rvert \geq 8$ and $\lvert J \rvert$ divides $\lvert A_5 \rvert = 60,$ so the possibilities are  $\lvert J \rvert = 10, 12, 15, 20, 30, 60$.  Then I sat down and calculated 13 more elements of $J$, so now the possibilities are $\lvert J \rvert = 30$ or $60$. But we can't have $\lvert J \rvert = 30$ because then $J$ would be normal (index 2 theorem) which would contradict $A_5$ being simple, so we must have $J = A_5$.  The calculation part make this proof quite long winded, is there a simpler way of getting the result?


graphics glitch with xorg on ubuntu 20.04 after update

I've been using ubuntu 20.04 on a Thinkpad t430s with intel graphics for around a year now with no problems. Yesterday, Ubuntu asked me to install an update. After the update, my graphics was suddenly extremely glitchy. Icons from the desktop flash through my browser, scrolling is inconsistent. Sometimes graphics breaks down altogether and I have to restart the laptop. The problems are worse in xorg. Switching to Ubuntu on Wayland makes it usable (although still glitchy), but xorg is terrible. I tried sudo apt purge install xserv-xorg-video-intel sudo apt-get install xserv-xorg-video-intel  but xorg is still as glitchy as ever. Wayland is usable, but still having problems (for example, rendering features of my firefox add-ons). I believe I have the T430s with only intel graphics. sudo lshw -c video  yields   *-display                     description: VGA compatible controller    product: 3rd Gen Core processor Graphics Controller    vendor: Intel Corporation    physical id: 2    bus info: pci@0000:00:02.0    version: 09    width: 64 bits    clock: 33MHz    capabilities: msi pm vga_controller bus_master cap_list rom    configuration: driver=i915 latency=0    resources: irq:33 memory:d0000000-d03fffff memory:c0000000-cfffffff ioport:5000(size=64) memory:c0000-dffff  Has anyone got any ideas on how I can fix this? Otherwise, I am going to have to reinstall everything and probably restart with 18.04.


Are there non-weapon items in the Star Wars universe based on lightsaber technology?

After mis-reading this question:  I found myself wondering if there are other non-weapon items such as tools that utilize lightsaber technology.  Example: the lightsaber bread knife


redirect the sql query will add all the files in that directory

I have shell script as below  query="SELECT * from [myDB.myTable]" echo $(date +"%Y-%m-%d %H:%M:%S")'|'land'|'Failure'|||'twice'|'$query > test.log   When I run above in some directory in my Unix PC, the test.log shows the result as below  2017-12-13 06:54:03|land|Failure|||twice| SELECT temp1.txt test tmp.log tt.sh from [myDB.myTable]   Actually I wanted query to be redirected as it is in the log file, instead it printed all the file names of that directory.  How can I fix this issue?


What kind of wall material should be used in wet areas in a bathroom?

I'm replacing a one piece fiberglass tub with a two piece (tub + surround) unit.  In the bathroom right now, there's just drywall, no special material.  Should I replace the drywall with greenboard, or with a cement board material (i.e. Durock)?  How many feet adjacent to the but should be replaced with one of those two materials?  Should I also replace the material behind the vanity with one of those two?


Accidentally tried to activate a key for a game I already had. Now what?

I was activating a bunch of keys from a Humble Bundle, when I accidentally tried to activate one for a game I already had. I had intended to give that key to someone else.  As I was clicking on auto-pilot, I may have clicked OK instead of Cancel. When I gave the key to the intended recipient, they said it didn't work. (Thankfully I worded it carefully, "hey, would you mind checking if this key works for you?")  Is there any way to use that key?  I have seen , but that question focuses on getting a giftable copy of the game. That's not what has happened here, and is not what I'm looking for. I'm interested in knowing (and I'll check back with the intended recipient) if the key is still valid and usable.


I have a couple of computers running Windows XP and they all have the same software installed on the same hardware. I would like to create one image, so that in case a user's computer dies I can just restore it with the image. That will save me time by not installing Windows all over again and all the software.  Also, every user has their own favorites, desktop etc. I would like to back that up too, so that after an image restoration I can restore their favorites, desktop etc.


I want to declare a self-referential structure as below         typedef struct     {             entry_t *entry;             node_t *next;     }node_t;   instead of as below for a linked-list    struct node   {          entry_t *entry;          struct node *next;   }*head;   does this work in C? If no why not?


How to make search include data from wp_postmeta?

I have a site using  to create and store various bits of relevant info. These need to be included in the main general search, which by default only searches the title and main content.  I've found plenty of info about getting search results based on specific bits of postmeta, but I have an issue with that. There are a potentially unlimited amount of potential fields in postmeta to search.  The solution could either search anything in postmeta or anything with a meta_key that matches this regex: content_section_[0-9]{1,4}_content_.{2,8}  Example meta_keys to match are:  content_section_0_content_title content_section_0_content_title content_section_4_content_subtitle content_section_8_content_text   Any way that I can alter the fields searched to include the postmeta would be very much appreciated.


How do I quote two non-contiguous paragraphs from a longer article? I want to be clear that they're non-contiguous, but not have an editorial interlude between them. Here's an example quotation from , with how I want to format it:  Over the decades, though, [higher education has] behaved like an embezzler who starts by taking only what he means to replace, but ends up extracting so much that embezzlement becomes the system. [...] When the economic support from the Golden Age began to crack, we tenured faculty couldn’t be forced to share much of the pain. Our jobs were secure, so rather than forgo raises or return to our old teaching loads, we either allowed or encouraged those short-term fixes—rising tuition, larger student bodies, huge introductory lectures.  I thought about moving the bracketed ellipsis to its own line, which seems more proper but looks clunky. I'm also interested in how you might quote this if it weren't a block quote -- specifically, should you close the first paragraph with a quotation mark or not? (Also, this is in an email, not an academic paper, so I'm worried about readability rather than about adhering to an official style guide.)


this ubuntu version brings ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]. so all i did to install was the normal process which is gem install compass but this installation throws this error:  Building native extensions.  This could take a while... ERROR:  Error installing compass:     ERROR: Failed to build gem native extension.      current directory: /var/lib/gems/2.3.0/gems/ffi-1.9.14/ext/ffi_c /usr/bin/ruby2.3 -r ./siteconf20160907-12074-v2oz2d.rb extconf.rb mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h  extconf failed, exit code 1  Gem files will remain installed in /var/lib/gems/2.3.0/gems/ffi-1.9.14 for inspection. Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.14/gem_make.out   i tried with installing ruby-dev with the command apt get install ruby-dev as root but it is not available on this ubuntu for some reason, it throws this error:  Package ruby-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'ruby-dev' has no installation candidate


NullPointerException when trying to instanciate a Messenger in onServiceConnected()

I have a problem when trying to start a messenger between my activity and a service. On my activity, I have this:  Messenger bluetoothServiceMessenger; private ServiceConnection bluetoothServiceConnection = new ServiceConnection() {         @Override         public void onServiceConnected(ComponentName name, IBinder service) {             bluetoothServiceMessenger = new Messenger(service); ... }   As you can see, i'm trying to create the messenger using the IBinder. On my service, the method onBind() is this one:  @Nullable     @Override     public IBinder onBind(Intent intent) {         Log.d(TAG, "BluetoothService has been started.");         return bluetoothServiceBinder;     } public class BluetoothServiceBinder extends Binder {         public BluetoothService getService() {             return BluetoothService.this;         }     }   So, the problem is I'm getting the following NullPointerException on the onServiceConnected() method:  04-16 20:15:32.365 2117-2117/com.alejandro_castilla.heartratetest E/AndroidRuntime: FATAL EXCEPTION: main                                                                                Process: com.alejandro_castilla.heartratetest, PID: 2117                                                                                java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference                                                                                at android.os.Binder.queryLocalInterface(Binder.java:254)                                                                                at android.os.IMessenger$Stub.asInterface(IMessenger.java:27)                                                                                at android.os.Messenger.<init>(Messenger.java:146)                                                                                at com.alejandro_castilla.heartratetest.MainActivity$1.onServiceConnected(MainActivity.java:129)                                                                                at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1223)                                                                                at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1240)                                                                                at android.os.Handler.handleCallback(Handler.java:739)                                                                                at android.os.Handler.dispatchMessage(Handler.java:95)                                                                                at android.os.Looper.loop(Looper.java:148)                                                                                at android.app.ActivityThread.main(ActivityThread.java:5422)                                                                                at java.lang.reflect.Method.invoke(Native Method)                                                                                at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)                                                                                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)   I've been trying some things but nothing works. I can confirm that the service works correctly if I don't this, so I think it isn't a problem with binding. Any help would be appreciated.  Thanks in advance.


How to fix error at handler.removeCallbacks resulting app crash?

I am trying to create a sample app that draws the route between two locations (like the uber app) I have a toggle switch to turn the location on or off in the app.The app works fine and draws the route but when i just launch the app and toggle the location switch to on and then toggle it to off the app crashes showing a nullpointerexception at  handler.removeCallbacks(drawPathRunnable); I tried to figure out the error but I failed. Here's my code   @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_welcome);     // Obtain the SupportMapFragment and get notified when the map is ready to be used.     mapFragment = (SupportMapFragment) getSupportFragmentManager()             .findFragmentById(R.id.map);     mapFragment.getMapAsync(this);      location_switch = (MaterialAnimatedSwitch)findViewById(R.id.location_switch);     location_switch.setOnCheckedChangeListener(new MaterialAnimatedSwitch.OnCheckedChangeListener() {         @Override         public void onCheckedChanged(boolean isOnline) {             if(isOnline)             {                 startLocationUpdates();                 displayLocation();                 Snackbar.make(mapFragment.getView(),"You are online", Snackbar.LENGTH_SHORT)                         .show();             }             else             {                 stopLocationUpdates();                 mCurrent.remove();                 mMap.clear();                 handler.removeCallbacks(drawPathRunnable);                 Snackbar.make(mapFragment.getView(),"You are offline", Snackbar.LENGTH_SHORT)                         .show();             }         }     });   I have declared handler at the top of my code private Handler handler;  Please explain the answer and the cause of the error.


To prove that an ideal cannot be generated by two elements

Let $k$ be an algebraically closed field and let $\ Y\subset \mathbb{A}^n(k)$ be the curve given parametrically by $x=t^3, y=t^4,z=t^5$  I want to show  (i) $I(Y)$ is a prime ideal of height 2  (ii) $I(Y)$ cannot be generated by 2 elements  Since $I(Y)$ is kernel of the homomorphism sending $x\mapsto t^3,y\mapsto t^4,z\mapsto t^5$ into the integral domain $k[t]$, $I(Y)$ must be prime. And since we can consider $k\subset k[x,y,z]/I(Y)\subset k[t]$, by considering transcendence degree we have $\dim(k[x,y]/I(Y))=1$ and hence the height of $I(Y)$ equals 2.  Now I want to prove the second statement. I guess $I(Y)=\left<x^4-y^3,x^5-z^3,y^5-z^4\right>$, but I don't know how to prove it (although one inclusion is obvious), and I don't know how to use this "result" to prove (ii).  Any help or hints are appreciated, thank you!


Generate random numbers following a distribution within an interval

I need to generate random numbers following Normal distribution within the interval $(a,b)$. (I am working in R.)  I know the function rnorm(n,mean,sd) will generate random numbers following normal distribution,but how to set the interval limits within that? Is there any particular R functions available for that?


How can I make the item label in the description environment wrap?

\documentclass{article}  \begin{document}  \begin{description} \item[This is a very very very very very very very very very very very very very very long header line:] blah blah \end{description}  \end{document}   In the above, the item label ("This is a very ... long header line:") does not wrap. How can I make it wrap?


What was the galaxy formation Rust saw before confronting Erol Childress?

What was the galaxy formation Rust saw before confronting Erol Childress in  S01E08?  It was weird like out of the series. I guess it was some sort of hallucination, a product of Rust's madness or addiction.


Cannot access protected members from a derived class

So I just found what appears to be strange behavior (at least to me) of the C# compiler.  Take a look at the following demo code:  public class Program {     public static void Main(string[] args)     {         ChildClass c = new ChildClass();         c.parentInstance = new ChildClass();         c.ChildPublicMethod();         Console.ReadKey();     } }  public class ParentClass {     public ParentClass parentInstance = null;      protected void ProtectedMethod(string arg)     {         Console.WriteLine("Arg=\"{0}\"", arg);     }      public void ParentPublicMethod()     {         ProtectedMethod("Parent's public method.");     } }  public class ChildClass : ParentClass {     public void ChildPublicMethod()     {         ParentPublicMethod();         ProtectedMethod("Child's protected method");          ((ChildClass)parentInstance).ProtectedMethod(                 "A different child's protected method.");         //parentInstance.ProtectedMethod(         //      "A different child's protected method."); //Compile time error.     }  }   In the ChildClass.ChildPublicMethod() function, I expected that I could access the protected member by the commented out code.  After all, shouldn't the compiler have all of the necessary information to be able to tell that it is a safe access?  It knows parentInstance is of type ParentClass, it knows parentInstance is accessed from a descendant of ParentClass, so why is the compiler complaining anyways?  Apparently, performing a cast seems to fix everything.  So what exactly is the difference between these two calls:?  ((ChildClass)parentInstance).ProtectedMethod(         "A different child's protected method."); //parentInstance.ProtectedMethod( //      "A different child's protected method."); //Compile time   Afterthought: The only possible explanation that I can come up with is that the C# compiler needs to be 100% certain that the parentInstance is indeed descendant of ChildClass.  If there was a class, say ChildClass2 : ParentClass, it would be incorrect to be able to access it's protected members from within ChildClass because ChildClass does not derive from ChildClass2.  Casting to ChildClass tells the compiler that you expect the parentInstance to be a ChildClass instance, and not some other descendant of ParentClass.  However, there is another issue I see. Suppose I set the variable such that:  c.ParentInstance = new ParentClass();   In this case, ChildClass cannot access the protected method (not even with a cast, since it cannot be casted to anything else containing the protected method).  Why is this so? If the instance is clearly a ParentClass and nothing more, why shouldn't the ChildClass be able to access its protected method?  Or is it possible?    EDIT:  Apparently, there seems to be a misunderstanding of what I'm asking.  Yes I realize that cannot access the ParentClass instance.  However, I am concerned what is the reasoning behind this so that I can understand why.  Is my above afterthought correct?  Am I understanding this properly?  Thanks.


Is ECS A320AM4-M3D RYZEN AM4 compatible with ubuntu?

I would like to know if this ECS motherboard is compatible with Linux. The model is ECS A320AM4-M3D RYZEN AM4. With what version of Ubuntu it is compatible?


visiting France, Belgium and The Netherlands over the period of April 13-25, 2019. Holding multiple Schengen Visa

I'll be travelling to Europe next April 13-25, 2019. But I want to visit Romania and stay for a week in July 06-14, 2019. I am applyimg for a Schengen visa from the Embassy of India. Will it permit me to enter Romania?


Spivak's Calculus on Manifolds - Problem 1-30.

Let $f: [a,b] \longrightarrow \mathbb{R}$ be an increasing function. If $x_1, \cdots, x_n \in [a,b]$ are distinct, show that $\sum_{i=1}^{i=n} o(f,x_i) < f(b) - f(a).$   I would like to know if my proof is correct and, if that's the case, an opinion if my proof writing is fine and an advice about how to write this better. Thanks in advance!  My attempt:     Let $P := \{ [t_{i-1},t_i] \ ; i = 1, \cdots, n, \ t_0 = a, t_n = b \ and \ x_i \in (t_{i-1},t_i) \ for \ each \ i \}$ a partition of $[a,b]$. The definition of oscillation of $f$ at $x$ given by Spivak is $o(f,x) := \lim_{\delta \rightarrow 0} [\sup f(B(x,\delta)) - \inf f(B(x,\delta))]$, then $[\lim \inf f((x_i - \delta, x_i + \delta)), \ \lim \sup f((x_i - \delta, x_i + \delta))] \subset [t_{i-1},t_i]$ when $\delta \rightarrow 0$ and $o(f,x_i) = \lim \sup f((x_i - \delta, x_i + \delta)) - \lim \inf f((x_i - \delta, x_i + \delta)) < f(t_i) - f(t_{i-1})$ for $i = 1, \cdots, n$. It's clear now that $\sum_{i=1}^{i=n} o(f,x_i) < \sum_{i=1}^{i=n} f(t_i) - f(t_{i-1}) = f(b) - f(a). \square$


Is there an expression that means something bad as a precursor to something good?

If someone is the bearer of bad news you might say, Don't shoot the messenger. If you have something that seems unfortunate at first but ends out wonderful you might say it's a blessing in disguise.  I'm looking for a word or phrase that is a combination of the two - a bad experience that is actually bad, but ultimately heralds something good.  For example - if a couple is trying to get pregnant, and the wife gets morning sickness. There is nothing fun about vomiting and nausea, but it potentially heralds wonderful news for the soon-to-be-parents.  Is there an expression to describe the morning sickness?


I have $k_1$ red balls and $k_2$ blue balls in a box. Let $p_r$ be probability that randomly select $r$ balls in the box without replacement, $\sum_{r=1}^{m} p_r=1$. A trial is succeeds if the trial can draw at least one red ball in the trial. Find expected number of successful trail in $N$ times.   This is my solution  Let $X$ be event that draw $r$ ball in the box which has at least one red ball.  $$P(X)=p(r) \times\sum_{i=0}^{k_1}\frac{\binom{k_1}{i}\binom{k_2}{r-i}}{\binom{k_1+k_2}{n}}$$  Finally, we got the expected value as $$E(X)= N \times \sum_{r=1}^{m} p(r) \sum_{i=0}^{k_1}\frac{\binom{k_1}{i}\binom{k_2}{r-i}}{\binom{k_1+k_2}{n}}$$  Is it right?


Deference between command "sudo su ls" vs "sudo ls"

I saw some command such as sudo su ls, and I just wonder what's the deference between sudo ls?


Changing visibility of layers on project with OpenLayers and GeoServer?

I'm working on a proyect with openlayers and geoserver, the idea is to have a select menu where the user can choose which layer is visible, something like this    <select id="format">     <option value="rios_dobles">Rios Dobles </option>     <option value="rios_simples">Rios Simples</option>       <option value="lagos_lagunas">Lagos Lagunas</option>     <option value="vias">Vias</option>     <option value="limite_parroquial" selected>Limite Parroquial</option>     <option value="basicos">Basicos</option>     <option value="Centros_Poblados">Centros Poblados</option>     <option value="Aptitud_final">Aptitud Final</option>     <option value="uso_final">Uso Final</option>   </select>   The layers are set like this  var limites = new ol.layer.Image({                 source: new ol.source.ImageWMS({                     ratio: 1,                      url: 'http://localhost:8080/geoserver/gis2017/wms',                     params: {'FORMAT': format,                         'VERSION': '1.1.1',                         STYLES: '',                         LAYERS: 'gis2017:limite_parroquial',                     }                 })             });   And are displayed on the map like this  var map = new ol.Map({                 controls: ol.control.defaults({                     attributionOptions: /** @type {olx.control.AttributionOptions} */ ({                         collapsible: false                     })                 }).extend([mousePositionControl]).extend([scaleLineControl]),                 interactions: ol.interaction.defaults().extend([                 new ol.interaction.DragRotateAndZoom()                 ]),                  target: 'map',                  layers: [                     limites,                     //lagos,                     //vias,                     //riosDobles,                     aptitud,                     //centros,                     //riosSimples,                     uso,                 ],                  view: new ol.View({                     projection: projection                 }),             });   At least as a test I've seen if I can make the layer limites visible or not, but it won't work, I've tried using the methots setVisible and setVisibility but regarldess of weather or not I put true or false, the layer won't display (or any other for that matter)  I don't know what to change or do, I'm completely stuck.


Show that $y_n=\frac{1}{n}\sum ^n_{k=1}x_k \overset{n}{\rightarrow} x$ if $x_n \overset{n}{\rightarrow} x$

This seems obvious, but I can't imagine the formal outline of the proof. I just need a start here. Sorry for being a total noob.


Improvement of url by changing slash to underline or dash

I have a website with links similar to:  http://stackoverflow.com/questions/4183948/css-set-background   if I change links to:  http://stackoverflow.com/questions/4183948_css-set-background   ( / to _ )  does it improve my website's SEO rank?  if it does why most of websites avoid doing that?


Dell Chromebook 11 - unable to set backlight and /sys/class/backlight/ folder is empty

I have installed Lubuntu on my Dell Chromebook 11 and everything works except for the backlight. Can't set the backlight with the brightness keys, neither with xbacklight,xdotool or any other GUI tool.   I tried with a combination of grub options like acpibacklight=vendor acpiosi=Linux, acpibacklight=legacy acpiosi=Linux, acpibacklight=vendor acpiosi= and acpibacklight=legacy acpiosi= without success. Even more strange is that /sys/class/backlight/ is empty.   dmidecode -  acpi (grep -r . /proc/acpi) -  acpidump - paste.ubuntu.com/9880816/ results.log (fwts) - paste.ubuntu.com/9880883/ video (dmesg | grep 'ACPI: Video') - paste.ubuntu.com/9880928/ version (cat /proc/version) - paste.ubuntu.com/9880942/   Does that give any useful information on the issue?  Given that the VGA Graphic hardware is at the addres 00:02.0 I tried to set its register values manually like this setpci -s 00:02.0 F4.B=30 without success as the backlight stays the same. Shouldn't this work on every device given that it interfaces directly to the hardware?


Reference a chapter as "first chapter" instead of "chapter 1"

I have a report with several chapters.   \documentclass[12pt,letterpaper, notitlepage]{report}  \chapter{Title of chapter 1} \label{chap:1}  \chapter{Title of chapter 2} \label{chap:2}   Now what I want is to be able to reference to each chapter using something similar to \ref{chap:1} but instead of giving me the chapter number I want it converted to "first", "second", etc.   Something along the lines of:   In the \ref{chap:1} chapter, I show that (...)   Which would become:  In the first chapter, I show that (...)


After installing Ubuntu 10.04 I had some flickering issues, so I tried upgrading drivers and such, then I installed the fglrx driver and the flickering have gone away but when trying to access the TTY screens from 1-6 the screen goes blank. I'm able to get back in to gnome on tty7.  any one have a suggestion on what to try here?    Dennis  the output is:  glennwiz@Linux-laptop:~$ sudo cat /dev/vcs1  Ubuntu 10.04.1 LTS Linux-laptop tty1  Linux-laptop login:       Nerdfest im using radeon x1300  lspci output 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03) 00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03) 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01) 00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 01) 00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01) 00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01) 00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01) 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01) 01:00.0 VGA compatible controller: ATI Technologies Inc M52 [Mobility Radeon X1300] 02:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller 02:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) 02:06.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller 02:06.4 Communication controller: Texas Instruments PCIxx12 GemCore based SmartCard controller 08:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5753M Gigabit Ethernet PCI Express (rev 21) 10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)     Anyone have a suggestion?


Which is preferable: "We are all..." or "We all are..."?

"We are all mad." "We all are mad."   I think each of these conveys the same idea. Besides this, we can use "we are all" alone. I hear the first one more frequently.  Does the second one sound worse to a native speaker? I wonder about this.  Note: I'm not a native speaker.


What are good ideas for getting the party together at the beginning of a campaign?

What good ideas have you used or seen to get the party together at the beginning of a campaign?  There's the tried and true having them meet each other as wagon guards, or in a tavern that's attacked.  What have you used or seen to get the party together and get things moving in a fun, fast, and effective way?


Prove that $f'(x)<kf(x)$. What can the biggest value of k

Let $f:\mathbb R\rightarrow \mathbb R$ be a thrice differentiable function such that $f(x)$,$f'(x)$,$f''(x)$ and $f'''(x)$ are all positive $\forall x\in \mathbb R$. Also it is known that $$f'''(x)<f(x)$$ $\forall x\in \mathbb R$. To prove : $f'(x)<kf(x)$ $\forall x\in\mathbb R$  where $k>1$ My Attempt: I tried to solve the differential equation $$\frac{d^3y}{dx^3}=y$$ and obtained $$y=C_{1}e^x+C_{2}e^{-\frac{x}{2}}\sin\left(\frac{\sqrt3}{2}x\right)+C_{3}e^{-\frac{x}{2}}\cos\left(\frac{\sqrt3}{2}x\right)$$. But how do I work around the inequality $$\frac{d^3y}{dx^3}<y$$ Also, $f(x)=e^{\frac{x}{2}}$ satisfies all given conditions. But can there be a proper solution or proof. What could be the biggest value of k


Answer turned to CW, votes pre-CW era doesn't count in tag specific stat

My understanding is that if an answer becomes CW (one way or another), original author gets to keep the votes pre-CW.  Does this also keep the pre-CW vote count for the tag-specific stat? It doesn't look like it, because I checked recently and suddenly my number dropped. It looks like the tag-specific stat just counts votes for non-CW answers, and doesn't "discriminate" between the pre-CW and post-CW era. If it's eventually CW, then it simply contributes 0 votes.  I'm fine with the fact that my answer became CW (in this case, through the question having 30+ answers), but I would like to keep the votes I earned before it did for the tag stat.  Otherwise I think the system is "broken". Someone can go posting 30+ answers to questions where Jon Skeet answered, and all of Jon Skeet's answers would become CW, and he'd then be 0 at all tags.


$n,a,b \mathbb \in \mathbb Z^+$ , such that $n\mid a^n-b^n$ ; to show $n\mid \frac {a^n-b^n}{a-b}$

Let  $n,a,b \in \mathbb Z^+$ be such that $n\mid a^n-b^n$ , then how to prove that $n\mid {\dfrac {a^n-b^n}{a-b}}$ ?   My try :   $d=\gcd(n,a-b),$ so $d \mid{\dfrac {a^n-b^n}{a-b}}.$ Also $\,n \mid(a-b)\left({\dfrac {a^n-b^n}{a-b}}\right),\;$  so $\;\dfrac nd\mid\dfrac {(a-b)}d\Big({\dfrac {a^n-b^n}{a-b}}\Big)$.   Now, since $\gcd\left(\dfrac nd ,\dfrac {(a-b)}d \right)=1,\;$ so $\dfrac nd\mid{\dfrac {a^n-b^n}{a-b}},\;$ it follows that $\;\operatorname{lcm}\left(d, \dfrac nd \right)\mid {\dfrac {a^n-b^n}{a-b}}.$  But then  I am stuck , Please help . Thanks in advance


What is considered a class feature for a monster for the purpose of Change Shape?

It's well understood that Spellcasting in a creature's stat block is a class feature. For the purposes of Change Shape and similar abilities where the term "class features" has mechanical importance, are there any other class features in official monster stat blocks? The wording in Monster Manual implies that such things could exist, but do they, and if so how do we tell? Examples of creature stat blocks with named abilities that might be class features (vs classes where an equivalent ability is a class feature):  Kobold Scale Sorcerer's Sorcery Points vs Sorcerer? Would a shape changed Couatl be able to sorcerize its innate spells? Drow Shadowblade's Shadow Step vs Shadow Monk? Firenewt Warlock's Imix's Blessing vs Fiend Warlock's Dark One's Blessing? Githzerai Anarch's Psionic Defense and Unarmed Strike vs Monk? (I don't think we're in class feature any more.) NPC Assassin's Assassinate, Evasion, and Sneak Attack vs Assassin Rogue?


120v 60hz 8w input, 6 v 800ma mains adaptor, what is the equivalent here in oz on 240 v?

Title says it all, Ive got many an adaptor lying around, do I need another 6v .8a at 240v?  I should note ive had it plugged into the mains with a standard international adaptor for over three years now no problem. looking to lose the adaptor.


Was Anakin redeemable because he was not fully fallen?

In his 20+ years as Darth Vader, was Anakin ever fully fallen to the dark side? Before Padme's arrival on Mustafar, he was crying and regretting the mess he had gotten himself into. When Luke tried to bring him back to the light, he seemed to quite easily reveal his deepest thoughts. As far as I understand, being remorseful over becoming evil, being compassionate and trusting towards a loved one are traits a dark sider is extremely unlikely to exhibit. Are these signs that, like Padme said, there is still good in him, that a piece of him still lies in the light?  Extending from this, can it be said that the Jedi are actually right in that redemption is not possible for one who has fallen to the dark side, albeit only for those who have wholly given themselves to it - Anakin could be redeemed because he had not fully forsaken the light, whereas all of the other three Sith Lords portrayed in the movies are truly lost, for the is not a single shred of goodness left in them?


I'm trying to move my hobby computer from Windows server to Ubuntu. Unfortunately I get stuck when trying to convert my windows disks that is in raid0 to create one big volume to ubuntu. I want the same setup in Ubuntu and tried to follow  () by using mergerfs fuse to do this. Everything is working down to "Create fstab entries" but afterwords I get an error about something called LDM (Logical Disk Manager) and something about NTFS. Is there any other guide that can explain how to convert the drives from windows?


I see bloodstains and illusions, but I can't see summon signs or invade. I have undone all ports for Dark souls 2, and I'm not in champions covenant.   I've use the bone of order it said "can't use at this time".   I don't know what to do?


How you get a color overlay on an image tag?

I'm having trouble getting a color overlay on an image tag. I'm not sure why.  The background-color element doesn't appear to working.   !DOCTYPE html>       <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">     <title>Document</title>

          this is the mild css code.   .image:hover {   background-color: rgba(0, 0, 0, 0.5); }


Is there nay way to generate random String using this code but with size 42 symbols?  public static final String RANDOM_STRING = UUID.randomUUID().toString();


Fill in object with procedural shader, like vessels in human body

I’m trying to achieve in Blender Cycles (preferably 2.79b) a shader that fills in any object with procedural generation.  For example, if I have a model of a hand, I want to fill with vessels inside the hand. Like following inage:    My final goal is not to add vessels, but tree branches/roots. I want to make a hand look like it’s made out of tree roots. Or maybe electronic wires.  I think is the same idea, but different settings on how the inner object renders.  Here is another example, but being used in a human lung: (Apparently this was made in Houdini)    Can anyone lead me to the right path to achieve this. Thanks in advance.


I have just created a tag, but I don't see a way to edit its wiki.  I have just over 2000 reputation. Is this feature unavailable to me?


If $E/F$ is separable extension,$N/E$ is normal extension,is $N/F$ a galois extenstion?  I guess the answer is no.I do not know how to prove it.If $E_s$ is the separable closure of $F$,$N$ is normal closure of $E_s$,is the $N/F$ is galois extension?


Non-Injective differentiable map between manifolds

Let $M$ and $N$ be two smooth manifolds with dimensions m and n, respectively, with $m>n$. Let $f:M\to N$ a smooth map ($C^\infty$). Show that this map can't be injective.  My try: I was wondering how could I reduce this problem to the tangent space, using the differentiability condition, to work with vector spaces, where I know how to proof this result. But I was unable to do it, so any help will be useful.


Is the Axiom of Choice restricted to $\Bbb R$ independent of ZF?

This is really a yes-no question, and I am hundred percent certain that the answer is "yes". I simply have not found it written directly anywhere.  True, the Axiom of Choice is independent of ZF if we do not consider AC a part of ZF. But the question is: Let us restrict AC to $\Bbb R$ and just claim that whenever I have a subset of $\mathscr P(\Bbb R)\setminus\{\emptyset\}$, this subset has a choice function. Is this statement AC$\big|_{\Bbb R}$ independent of ZF?


A generic command to extract archive files

There are many archive formats: tar, tar.gz, tar.bz2, zip, rar, tar.xz and more. I would like to have a single command that would determine the type of archive I give to it as input and extract the files from it using the respective algorithm. It's tedious to remember so much extract command variants. Is there an utility to do this?


I know that gluing opposite sides of a square gives a torus, and I think I've seen somewhere that gluing opposite sides of an octagon gives a 2-holed torus.  Is there a general way of constructing gluing diagrams for surfaces of genus $g$ / for $k$-holed-tori?


How to unload an already loaded class in Java?

How to unload a class from the class loader, so that I can use the recently changed class on the fly without restarting my application (hot deployment)? Is it possible to do that?


Find all the integral solutions to the equation $323x+391y+437z=10473$.  I know how to find integer solutions in two variables using Diophantine Equations.  But I am stuck here because it involves 3 variables.  Can I get a hint?


How to create a node programatically with drupal_form_submit()?

How to create a node by programatically submitting the existing node add form, and most importantly using it's validation process instead of re-implementing all of the property/field validation logic so we piggyback off of the existing code.


How to keep the cummulative polygons in time manager for QGIS?

I use time manager for a polygon layers with dates and it works. I would like to see the cummulative addition of my polygons. So I have 4 periods I want the poylgons from 1900-1950 to be added to the new ones in 1950-2000 etc in the next time step. How can I perform that or does another open source tool exist for that?


Generating choice list (dropdown) in toolbox to allow user to select field in CSV as input?

I need to input a csv as parameter 1. Parameter 2 should be a dropdown displaying the various fields (the headerline) where I can select a column to use for geoprocessing.     Param1:  c:\my.csv Param2: (dropdown) select header


How does the garage system work in GTA V?

How does the garage system in GTA V work? It feels kinda inconsistent at the moment   Will the car I leave at my home garage be saved or will it always be replaced with the "Standard-Car" from the character? How do the additional garages work? If I have car and tune it (--> spending much money into) and then I use and lose it on the way (for example if I have to chase someone on foot) will it be lost forever??   edit:   Whats the point of the depot where you can get some cars back? On what does it depend that a car will be stored there?


Batch rename files to remove certain characters

I have about 1852 video files and they all end with .br or .brx and I wanted to remove them from the file name.  What method could I use to accomplish what I asked above; to remove file extension from files with these extension characters in a batch solution to do all quickly rather than one by one?


"an (among other things) schizophrenic" or "a (among other things) schizophrenic"?

I'm lost on whether I should use "a" or "an" in the part of the sentence: "an (among other things) schizophrenic". How does the part in the brackets affect the rest here?


Someone can help me clearly How to use V-ing instead of WH-clauses? And when should we use it.  For example:     I talked to him about the bug I got when I run app.   Could I convert to:     I talked to him about the bug I got when running app.   Thanks you guys.


How to get past factory-reset home screen (Hello) without a home button on iPhone 6+?

My stepdad recently ran into some issues with his iPhone, and I'm trying to fix it.   From what I understand, the home button is broken and he factory reset it and took out the sim card (as he got a new phone). The issue is that I can get it to the white Hello screen, but it wants you to press the home button to continue - and I can't.  So I connected it to iTunes to try to bypass it, however it can't actually connect to iTunes as I get the message:  "iTunes could not connect to the iPhone “iPhone” because it is locked with a passcode. You must enter your passcode on the iPhone before it can be used with iTunes."  But, I can't enter the passcode, as I can't get past the Hello screen.  Any ideas here? Thanks


unwanted advertising tabs open in every 20 mins in Firefox

my usb stick was containing som kind of virus which was visible and my little brother double clicked on it! and now my laptop is infected!! the virus opens several Firefox tabs and opens some websites as advertisement! the virus does this every 20 minutes whether the browser is open or not!! and it is driving me crazy. I dont know how to prevent it from opening tabs :(     I checked and there is no unwanted add-on or plugin on my browser! should I delete my browser?


What should I get before summoning the penguin mothership?

So, on my old character (before the wipe) I summoned the penguins when I wasn't ready. Boy, was that a mistake. I want to summon them again, but what weapons and armor should I get first? And are the penguins still Level 9? Because every other mob doesn't have a level. I'm not sure copper armor can be upgraded into silver. And I couldn't go to different threat level planets because they are now all level 1.


If I deleted my Google account, I cannot register a new account with the same name.  How long does Google keep that name taken, before I can register it again?


How can I make texture repeat 'n' times in blender

I want to repeat the uv mapped texture by precisely 'n' times without using array etc. How can it be done?


List of blogs to learn more about Ubuntu

Add blogs and websites that are useful in the quest to know/learn more about Ubuntu.  One blog per answer, please - you can vote answers up/down as you feel appropriate. If you feel the blog is biased towards or is good for particular tasks, please mention them.


"At least one" - singular or plural subject?

In other words, which sentence is correct?  At least one of them is not coming. At least one of them are not coming.


What does this long listing mean?   $> ls -l developer.haml   -rw-rwSr-- 1 humon apache ......  I know what a usual listing means and I know all about what it means to be read 'r', write 'w', and executable 'x'.  But what is 'S'?


What files get edited when the system time changes?

If the system time is changed on Linux, what files get edited? I know the timezone is kept in etc/timezone but is there anything if the timezone is not changed, but the time is?


Resizing/Removing Ubuntu partition from within Ubuntu in a dual boot setting

I dual booted my Windows 10 system with Ubuntu 20.04 a few months ago. I had been locked out of Windows 10 due to some Bitlocker Recovery Key issue back then, but I had ignored it at that time, because I just wanted to use Ubuntu, and so has been the case till now. I have been using Ubuntu since then. However, now, the Ubuntu partition is almost full, and I want to either expand/resize it, or remove both completely. I don't use Windows anyways, so I wouldn't mind if it gets wiped out and only Ubuntu remains on my system. Infact, I would like that. Therefore, I have three options (with the fact that I can't use Windows):  Expand the Ubuntu partition from within Ubuntu, Completely remove Windows and make Ubuntu as the sole OS Remove both the OSes and replace them with a new Linux distro, say, Arch  Is it possible to do any of the above from within Ubuntu? I am a newb in these areas, and all the articles and how-tos on this topic are for when I am inside Windows. Since that is not the case, help would be really appreciated. ADDITIONAL INFO: I currently have a bootable USB drive with the Arch Linux's ISO image file on it. EDIT: The output of lsblk is: NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT loop0    7:0    0 135.8M  1 loop /snap/chromium/1461 loop1    7:1    0 135.7M  1 loop /snap/chromium/1466 loop2    7:2    0 146.6M  1 loop /snap/code/51 loop3    7:3    0 143.8M  1 loop /snap/code/52 loop4    7:4    0  97.9M  1 loop /snap/core/10577 loop5    7:5    0  97.9M  1 loop /snap/core/10583 loop6    7:6    0  55.4M  1 loop /snap/core18/1944 loop7    7:7    0  55.4M  1 loop /snap/core18/1932 loop8    7:8    0 154.3M  1 loop /snap/figma-linux/92 loop9    7:9    0 154.3M  1 loop /snap/figma-linux/93 loop10   7:10   0 162.9M  1 loop /snap/gnome-3-28-1804/145 loop11   7:11   0 217.9M  1 loop /snap/gnome-3-34-1804/60 loop12   7:12   0   219M  1 loop /snap/gnome-3-34-1804/66 loop13   7:13   0  64.8M  1 loop /snap/gtk-common-themes/1514 loop14   7:14   0  25.5M  1 loop /snap/heroku/4010 loop15   7:15   0  25.5M  1 loop /snap/heroku/4017 loop16   7:16   0    51M  1 loop /snap/snap-store/498 loop17   7:17   0  64.4M  1 loop /snap/gtk-common-themes/1513 loop18   7:18   0    51M  1 loop /snap/snap-store/518 loop19   7:19   0  31.1M  1 loop /snap/snapd/10492 loop20   7:20   0  31.1M  1 loop /snap/snapd/10707 sda      8:0    0 931.5G  0 disk  ├─sda1   8:1    0   100M  0 part /boot/efi ├─sda2   8:2    0    16M  0 part  ├─sda3   8:3    0 343.1G  0 part  ├─sda4   8:4    0 487.8G  0 part  ├─sda5   8:5    0   505M  0 part  ├─sda6   8:6    0  46.6G  0 part / ├─sda7   8:7    0  14.2G  0 part [SWAP] └─sda8   8:8    0  39.2G  0 part /home sdb      8:16   1   7.5G  0 disk  └─sdb1   8:17   1   7.5G  0 part  sr0     11:0    1  1024M  0 rom


Will Mir display server be able to launch X11 applications?

I've checked  but Xorg is not even mentioned there.


I have a contact form in my website  where visitors can contact me. It has 3 fields only: name, phone number, and message.  This is my function for sanitizing input data which will be written in a database. I checked the  and a few questions here at stackoverflow and I came to this solution. Is this a safe way for sanitizing data? Are the functions in the correct order? Does the order really matter?  spl_autoload_register(function ($class) {     include '../classes/' . $class . '.class.php'; });  /*     beje qe nqs ekziston ip bej update vtm time dhe ++$count te ajo ip; */  $db = DB::get_instance();     function sanatize($input) {     $db = DB::get_instance();     //mysqli real escape string for all vars.     //preg_replace for whitespaces, tabs, new lines.     //strip html tags.     //convert html tags.     //strip slashes.     //htmlentities: htmlentities — Convert all applicable characters to HTML entities.     //nuk duhet sepse kemi strip tags.      //trim string     $trimed_string = trim($input);     //filter string using php FILTER_SANITIZE_STRING filter.     $filtered_string = filter_var($trimed_string, FILTER_SANITIZE_STRING);     //remove slashes     $no_slash_string = stripslashes($filtered_string);     //convert special characters to HTML entities     $conv_string = htmlspecialchars($no_slash_string);     //strip html tags     $stripped_tags_string = strip_tags($conv_string);     //replace whitespaces     $filtered_string = preg_replace('#[\s]+#', ' ', $stripped_tags_string);     $safe_string = $mysqli_escaped_string = $db->mysqli->real_escape_string($filtered_string);      return $safe_string; }  //send message if ($_SERVER["REQUEST_METHOD"] == "POST") {     if(isset($_POST["name"]) && isset($_POST["tel"]) && isset($_POST["message"])) {          $name = sanatize($_POST["name"]);         $tel = intval(sanatize($_POST["tel"]));          //sepse intval ja heq zeron.         $message = trim(sanatize($_POST["message"]));         $time = time();          //name validation.               //only letter and spaces.         if(!preg_match('/^[a-zA-Z\s]+$/', $name)) {             echo "name should contain only letters.";         } else if(strlen($_POST["name"]) < 3) {             echo "name should be three chars min.";         } else if(!preg_match('/^[1-9][0-9]*$/', $tel)) {             echo "your phone number should contain only numbers.";         } else if(strlen($tel) != 9) {             echo "your phone number must be 10 digits.";         } else if(in_array(substr($tel, 0, 3), array(066, 067, 068, 069))) {             echo "your phone number must begin with 066, 067, 068 or 069.";         } else if(strlen($message) == 0) {             echo "message should be 10 letters min.";         } else {             //insert into db.             $query = "insert into `messages` (name, tel, message, time) VALUES ('$name', '$tel', '$message', '$time')";             $db->mysqli->query($query);             echo "sent";         }     } }


Suppose that $f:[a,b] \to [a,b]$ is continuous. Prove that there is at least one fixed point in $[a,b]$ -  that is, $x$ such that $f(x) = x$.  I haven't a clue where to even start on this one.


Travelling to Iran with two passports, including one US passport

I have a US passport plus another passport from my birthplace. I would like to go to Iran for a business trip. Using US passport to enter Iran requires visa and lots of paperwork, but with my other passport it is quite easy, one can apply at the airport. On the other hand, to come back to US I can not use my birthplace passport.   Can I use both passports to travel from US to Iran, one to enter it, and one to come back?    What are the potential problems/issues?   Edit: I have read the other question about traveling with two passports. However, traveling from US to Iran is a bit more special, consider the situation. For example, I found out that there have been some changes in travel policy by US in January, but not sure of details and especially advice from people who have actually made such trips.   For example, the advice was that I show my other passport when leaving the US. But that passport does not allow me to stay legally in the US, since it does not have visa (I had a green card before but the took it away after becoming US citizen).    So do I have to show both passports when leaving US?    Would travel to Iran with two passports cause potential delays when I come back?


Please help to reach answer for the following problem:     $A∈M_5(R)$ is a matrix and in relation to $A^2-4A-I=0$. if   $a_1,a_2,a_3,a_4,a_5$ is eigenvalues for A; solve the following   problem:       $(a_1-\frac{1}{a_1})+(a_2-\frac{1}{a_2})+⋯+(a_5-\frac{1}{a5})$   Thanks a lot.


I have a shapefile that show this description under Geometry type of the features in this layer:  Point (WKB type: "PointZ")   I need to use is it in some plugins that seems to work only with points:  Point (WKB type: "Point")   I know how to access the Z value,  z($geometry ), but how can I convert the geometry type?


Let $X\subset R$ and $Y \subset R$ where X and Y have finite cardinalities. Let also, $a,b \in R$. How to show that $|aX+bY|=|X||Y|$ almost everywhere (measure of $(a,b) \subset R^2$ such that $|aX+bY|<|X||Y|$ is 0) ?  Where we define $|aX+bY|=\{ax+by:x \in X, y \in Y \}$.  More, specifically let $X=\{x=d_x*z: z \in \mathcal{Z}, d_x \in \mathcal{R}\}$ (so, it's a lattice. Where each point is $d_x$ away from one another.)  The above is easy if $X=Y$ then the proof of $|aX+bX|=|X||X|$ almost everywhere is fairly simple.   Now what if $Y$ is lattice with $d_y \neq d_x$. How to show it then? Thanks in advance.


Primary determinant for deciding if you should use ‘the’

In the following dialog, both      ‘the people who we don’t know’ and   ‘Ø people who we don’t know’    might mean either      ‘all the people who we don’t know’ or   ‘some of the people who we don’t know.’    ‘The people who ...’ sounds more like ‘all’ than just ‘Ø people who ...’ according to some native speakers. However, it is IMPLIED/ FELT/ PERCEIVED. In fact, some native speakers say ‘the people who we don’t know’ sounds no more than just ‘some.’ ‘All or some’ shouldn’t be the determinant.  What do you think is the determinant, then? Any and all insights would be welcome. What do you think is the determinant for deciding you should use ‘the’ or not in the following example? Some people feel you mean ‘all the people’ with ‘the,’ but it’s not the primary determinant, many people think. Would it be your mind that wants to emphasize the meaning of the relative pronouns that places ‘the’ there?     (Suppose there is no context, explicit or implicit, that brings on the   definite article in front of ‘people’ and ‘ones’ other than, possibly, the   relative noun clauses ‘who we don’t know’ and ‘who we know.’)      Tom: Although the/Ø people who we don’t know from our Sendai factory   came to the party, the/Ø ones who we know didn’t.      Sam: Oh, I didn’t even know you have a factory in Sendai.      (I wrote this dialog, thinking ‘we’ are Tom and some of his co-workers, and   that it doesn’t include Sam. Sam is from outside Tom’s company)


I've been using Ubuntu for years and I'm currently running Ubuntu 16.04. Since upgrading to 16.04, I occasionally get a pop-up message saying that there are program updates available but when I run sudo apt-get update it seems like there are no updates available. However, when I run sudo apt-get upgrade I'm able to install a bunch of updates. I haven't been able to see and install updates with the update command since I upgraded to 16.04, what's up with that?


Sinks and baths have faucets (that are) attached to them

A faucet is a device that controls the flow of a liquid or gas from a pipe or container. Sinks and baths have faucets attached to them.  This is the definition of the word faucet. My question is, if we replace the last sentence with "Sinks and baths have faucets that are attached to them", is it going to sound less natural or even a bit clumsy compared to the original one?


Let $f(z)$ be an entire function s.t $\forall z  ; f(z+i)=f(z), f(z+1)=f(z)$ Prove: $f$ is constant  So we need will show that $f(z)$ is bounded. How should I approach this?


How do I paste into the Windows CMD prompt by using only the keyboard?

My current technique is to right-click in the command prompt and then click paste.  This bugs me - is there a better way?


Difference between CURRENT_TIMESTAMP and GETDATE()

What is the difference between CURRENT_TIMESTAMP and GETDATE() in SQL Server?  SELECT CURRENT_TIMESTAMP, GETDATE()


Why is it that when a determinant = 0 then the homogeneous equations represented by the matrix has a non trivial solution?

As I was following a lecture the instructor seemed to assume this and when on solve for the equations where the right side was equal to 0 and proceed with the problem but I know if a determinant is non zero than an inverse matrix exists and visa versa but I cannot seem to relate this to this.  In any event I cannot see the intuition as to why when the determinant is non zero then there are or is a non trivial solution.  I assume in this case the equations are homogeneous.  Thank you


I'm hooking up and old  HC-05 BT module and it powers even if vcc is disconnected, (if TX is high and is key is high), is it likely i fried something and it's broken?


Remove the page numbers of included PDF file in Latex

I write a report in LaTeX for my study. In my report I have to include a PDF file. If I include the PDF file than I see the page number of the PDF file and the page number of my LaTeX PDF file. I want to remove the page number of the included PDF file but I don't know how. I use the following command: \includepdf[pages=-,pagecommand={\chapter{Anhang}\pagestyle{plain}}]{Downloads/Interaktion_durch_Widgets/Interaktion_durch_Widgets-V2.pdf} What do I have to change to get rid of the page numbers from included PDF file? I have read the sites that you have sent me in the comments and I changed my command with use trim and clip. So my idea was to cut off the page number and use the command \includepdf[pages=1,pagecommand={\chapter{Anhang}}, trim=0cm 0cm 0cm 5cm, clip]{Interaktion_durch_Widgets-V2.pdf} But the page number of the PDF file is still visible which u can see in the follow image


Why Enumerator needs to implement IDisposable?

Below is the source code of List<T> : public class List<T> : IList<T>, IList, IReadOnlyList<T> {   // List doen't implement IDisposable     ...    public Enumerator GetEnumerator() {       return new Enumerator(this);    }     // List<T> contains a nested enumerator    public struct Enumerator : IEnumerator<T>, System.Collections.IEnumerator {  // note that IEnumerator<T> implement IDisposable       private List<T> list;       ...       public void Dispose() { }  // does nothing, looks redundant       ...    } }  My question is, why Enumerator (or IEnumerator<T> to be to be precise) needs to implement IDisposable?Enumerator itself is a struct, not containing any unmanaged resource. If it means T could be a type that deal with unmanaged resource, then you should delegate the dispose method to List<T>, so when you you remove an item from the list, List will call the removed item's Dispose method, but List<T> doesn't have any Dispose method.


Let $f$ be increasing on $[a,b]$ and $a < x_1 < \dotsb < x_n < b$. Show that $\sum_{k = 1}^n [f(x_k^+) - f(x_k^-)]\leq f(b^-) - f(a^+)$.

Let $f$ be an increasing function defined on $[a,b]$ and let $x_1 < x_2 < \dotsb < x_n$ be $n$ points in the interior of $[a,b]$. Show that $\sum_{k = 1}^n [f(x_k^+) - f(x_k^-)]\leq f(b^-) - f(a^+)$.   The proof I have is very wordy and sketchy. I know it would be easier if I could find a telescoping sum but I've got a road block in my mind. :/


Can I have another choice to add the time in beamer except the tdclock

Last time, I question that the sumatrapdf cannot show the time. you can see   And I get the answer it doesn't support the java.  Then I use the Adbreader,it's ok.  Now, Regardless of things whether Javascript or not, I only want to know  whether I can have another choice to add the time in beamer except the tdclock. Say thank you in advance  :)


I want to call the below command line in VB6. How can i call this:  hh.exe "ms-its:c:/Program Files (x86)/GST/Timken Syber Program/TimkenAnalysisHelp.chm::/01_Quick_Start_Guide/quickstart_initial_program_setup.htm"


Can Muggles give birth to a magic sensitive child similar to a Squib?

In Harry Potter,  are generally known as people who cannot perform magic, and all the examples from the books appear to be descended from wizards.   In reality, we see various levels of magical control exhibited by Squibs -- they can see magically hidden things (such as ghosts, ), use magical items, develop magical relationships with magic beasts (such as -cat hybrids), etc.  Moreover, there are many Muggles who claim abilities (such as seeing ghosts) which require magical sensitivity as well.  While Fantastic Beasts and Where to Find Them claims that these people are either lying or Squibs, it's also purposefully written with an unreliable narrator.  The Muggle-born wizards we see, however, are all of standard wizarding capability.  Can Muggles give birth to a magic sensitive (but incapable of casting spells) child, equivalent to a Squib (since the term 'Squib' itself only applies to the children of wizards); a dud wizard?


Is const char * different from other pointers?

So I've been digging into pointers and references recently because they're used constantly in the resources I've been using to learn OpenGL. I've noticed that the const char * pointer seems to behave somewhat differently than other pointers. To demonstrate, I've created this test program:  #include <iostream>  int main() {      int i = 2;      int *pi;     //const char c = "hello world";      const char *pc = "hello world";      pi = &i;      std::cout << "'hello world' type is " << typeid("hello world").name() << std::endl;      std::cout << "pi is " << pi << std::endl;     std::cout << "*pi is " << *pi << std::endl;      std::cout << "pc is " << pc << std::endl;     std::cout << "*pc is " << *pc << std::endl;        return 0; }   output:  'hello world' type is char const [12] pi is 0079FC38 *pi is 2 pc is hello world *pc is h   This result is confusing to me for several reasons. First, the commented out line const char c = "hello world" fails completely; why? By looking at the output, we can see that the type associated with "hello world" itself is char const [12]. Interestingly enough, the following line does work. But, the output is not what I would expect when compared with the output associated with the int pointer (pi). I.e. why when I print pc is the output hello world and not a memory address? (less important) And then, why when I print *pc is the output only the first element of the data contained at that address?


I've been told that in a DC circuit with a battery the negative terminal of the battery "pushes" electrons in nearby atom away of it and those by themselves cause electrons in other atoms to move, but this convention but this way of thinking brought me some problems in understanding voltage.  I mean voltage is defined as $$v = \left(\frac{Q}{4\pi\epsilon_0r}\right)$$ so it seems like the source of that voltage on an electron is the electron behind it, so my question is Is that true or no? if no why and if it is true then How something like the voltage drop can be thought of(it doesn't seem like moving in a resistor can have any effect on the equation above)?  P.S: I'm sorry if the title seemed misleading that's what I couldn't think of a better title.


Simplification of this trigonometric expression: $\tan(1°)×\tan(2°)×\tan(3°)×\tan(4°)×\cdots×\tan(87°)×\tan(88°)×\tan(89°)$

$$\tan(1°)×\tan(2°)×\tan(3°)×\tan(4°)×\cdots×\tan(87°)×\tan(88°)×\tan(89°)$$  What I tried is that I firstly changed all the $\tan$ to $\dfrac{\sin}{\cos}$ but I got stuck along the way..   Please help me guys


Fast algorithm to count the number of 1 for binary number

If I have binary number  0111000111111, Is there any fast algorithm to count the number of 1 ? If 0111000111111 is a string(e.g "0111000111111") Is there any fast algorithm to count the number of 1 in the string?


I'm having trouble with this functional equation, to find all functions $f:\mathbb R \to \mathbb R$ for which the following is valid for all $x,y\in \mathbb R$: $f(x) + f(x+f(y)) = y + f(f(x) + f(f(y)))$ I haven't been able to pinpoint any solution, nor to prove surjectivity or injectivity. So 0 progress. Tried with $x=y=0, x=0, y=0, x=-f(y), y=f(x)$, and even with some assumptions on bijectivity, but nothing helped. I don't know the source but seems like a pretty difficult problem, maybe even impossible to solve.


Creating an Elimination Matrix with strikethrough rows/columns

I am writing a paper, and I need to display an elimination matrix during the steps of finding a determinant.   \[ A =\begin {bmatrix}         a_{11} & a_{12} \\         a_{21} & a_{22}     \end {bmatrix} \]   The above gives me a bracketed 2 x 2 Matrix. What I need to do, is display a subsequent elimination matrix where the ith row and jth column is lined out. I need to line out any row and any column I desire.


Find the limit of:  $a_1=\sqrt{3}$  $a_2=\sqrt{3\sqrt{3}}$  $a_3=\sqrt{3\sqrt{3\sqrt{3}}}$  ...  By using induction, I found that the limit is 3 but it seems pretty strange to me, I thought it would go to a further number.  I just want to know if I'm right (proof-verification).


Remove "reply to" in apex Messaging.SingleEmailMessage

We have a apex trigger that send mails. In this mails, we can see:  reply_to_email@fmm65sbh16h2kh67.xxwomdonwmb2otze.3p1x6n6.1j-8cbreaq.cs102.bnc.sandbox.salesforce.com   How can remove this reply to"?  I checked this article, but it does not work:


Updating USA address for second visit on ESTA

I have followed the '3 simple steps' to update my ESTA as I want to change the address for which I am staying at in the USA, however they just sent me a copy of my current ESTA with the old address on it and I can't find any option to update/change it. Does anybody know where this is or can help me at all?


Purchased Minecraft for my son, and mistakenly used our family name in the account username - I thought "username" was for the Mojang account and that he'd be able to have a different screen name for the game. Can I change that?.


how can correct the error of missing $ inserted   \begin{equation*}   $ V^{(b)}_{i} $ =  \begin{cases}   1, & \text{ if the bus b visits stop i }. \\  0, & \text {otherwise}   \end{cases}   \end{equation*}