Does special relativity's kinematic time dilation have a physical effect on matter, and how can you test this?

Kinematic time dilation or else named constant velocity time dilation is an apparent time dilation effect but with real consequences on how we measure time and our everyday life like the GPS satellites which loose in average 7μs in time each day compared to clocks on the surface of the Earth due this Special Relativity (SR) kinematic effect. At the same time they gain time about 45μs due the gravitational time dilation effect  These two opposite effects must be accounted for 45-7= +38μs per day, a total amount of time dilation the clocks on the satellites are going relative ahead in time (faster) compared to the clocks on the Earth surface and compensation must be applied so all clocks are in synchronization. We know from experiments for certain, that acceleration affects matter slowing down at the molecular scale vibrations and therefore has a physical effect on matter and also on tick rates of clock time measuring devices from the mechanical, electronic to atomic clocks. Therefore gravitational time dilation has an actual physical effect on matter. This above, includes also biological clocks and the aging process of living organisms. A man on Jupiter would age slower than a man on Earth, assuming he/she is immune to the hostile environment of Jupiter :) I am curious about if this is also the case for the SR constant velocity time dilation phenomenon and it actually affects matter independent of frame of reference? Since the velocity is constant in this case I expect no any forces to be present on the moving matter. Therefore the tick rate of the clock must not be affected by the constant velocity and the measured time must flow at a constant pace. Which means the kinematic SR time dilation effect is not a matter phenomenon effect but an apparent time measurement information sharing effect of relative moving clocks due the finite speed of light and their different positions in space. The time measured on the clocks is not shifted only the information of the measured time shared between the two observers is shifted in time. Are there any experiments that can show that SR time dilation has an actual effect on matter? A quite simple experiment would be according to the above information to compensate a GPS satellite for a year only for the gravitational time dilation (i.e. clock on satellite runs +45μs faster per day) and do NOT compensate for the whole year for the kinematic SR time dilation effect (i.e. clock on satellite appears to run -7μs slower per day). According to the above information at the end of the year the clock on the orbiting GPS satellite would lack in time about 365x(-7μs)= -2.55 ms. Bring the satellite down to Earth from orbit to stationary position and read out its clock time. If the clock on the stationary satellite would then found to be lacking around -2.55 ms within the error bars of this experiment then this would conclusively prove that SR constant velocity time dilation has an actual physical effect on matter and is not just an apparent relativity effect!


Given a feat by a class but don't meet the prerequisites, can I use it?

When you are given access to a feat without needing to meet the prerequisites for the feat, do you actually get to use that feat regardless of the prerequisites?  For instance the magus archetype  gives me  which has a requirement of dex 13, so it gives me the feat, but if my dex is under 13 do I gain that dodge bonus to AC or do I just have a feat which is doing nothing?


Flatten transparency in illustrator (not PDF file) is showing white lines/gap between the shapes

I have an illustration with transparency's blending mode applied, I am willing to flatten the transparency for better output but when I apply Flatten Transparency some tiny white lines appear as outline around the shapes. Refer the image below:


I have seen a situation where a great number of questions were being bumped to the top of the active queue as they were being edited by one person one after the other.  The reason for the edits was to link multiple questions to relevant new tags and remove incorrect tags, which was a good idea to me, but the problem with doing this is the fact that this bumps the questions to the top of the 'active' queue which everyone lands on by default when arriving on the site.  Therefore any new questions get pushed down the queue with the risk of being lost amongst the old questions.  Should edits which are just tag edits result in the question having their active status changed?


Norm of adjoint operator in Hilbert space

Suppose $H$ is a Hilbert space and let $T \in B(H,H)$ where in our notation $B(H,H)$ denotes the set of all linear continuous operators $H \rightarrow H$.  We defined the adjoint of $T$ as the unique $T^* \in B(H,H)$ such that $\langle Tx,y \rangle = \langle x, T^*y\rangle$ for all $x,y$ in $H$. I proved its existence as follows:  Fix $y \in H$. Put $\Phi_y: H \rightarrow \mathbb{C}, x \mapsto \langle Tx,y \rangle$. This functional is continuous since $|\langle Tx, y\rangle | \leq ||Tx||\; ||y|| \leq ||T||\; ||x||\; ||y||$. Therefore we can apply the Riesz-Fréchet theorem which gives us the existence of a vector $T^*y \in H$ such that for all $x \in H$ we have $\langle Tx, y\rangle = \langle x, T^* y\rangle$.  I now have to prove that $||T^*|| = ||T||$. I can show $||T^*|| \leq ||T||$:  Since the Riesz theorem gives us an isometry we have $||T^*y|| = ||\Phi_y||_{H*} = \sup_{||x||\leq 1} |\langle Tx, y\rangle| \leq ||T||\;||y||$ and thus $||T^*|| \leq ||T||$.  However, I do not see how to prove the other inequality without using consequences of Hahn-Banach or similar results. It seems like I am missing some quite simple point. Any help is very much appreciated!  Regards, Carlo


Are edits that fix library dependencies undesirable?

I made a few small edits in the past few days that fixed code snippets posted on SO and I'm curious if I'm misunderstanding the rules.  Bringing it to meta because some are getting approved, others rejected -- in one case, the edit was approved twice, rejected 3 times -- and each of the rejections was for a different reason (!).  , ,   These are not super extensive edits - mostly library dependencies.  But they turn code that doesn't run on the first time into code that does run -- which, as I understand it, was one of the reasons that SO was created (enough eyeballs, all bugs are shallow, etc.)  They aren't huge edits, but they are definitely improvements - so why all the rejections?


In the Dr. Who episode "The God Complex", could the projection of the weeping angels affect anyone?

Some background on this question:  In S05E04, "The Time of Angels", a looped recording of an angel locks eyes with Amy and enters her mind in such a way that she thinks she is turning into stone. Additionally, the following phrase is repeated multiple times:  That which holds the image of an angel becomes itself an angel.  Fast forward to S06E11, "The God Complex". Gibbis' worst fear are weeping angels, and are clearly manifested in the room with them:    Could these "images of angels" have done harm to anyone had they lingered in the room?


whenever i want to install any package a mailformed error is showing

kmoin@kmoin-Inspiron-15-3567:~$ sudo apt-get update E: Malformed entry 1 in list file /etc/apt/sources.list.d/sublime-text.list (Suite) E: The list of sources could not be read.


How to prevent plugins from loading at start?

I'm trying to set plugins to unchecked at start in QGIS-3.10, I thought it could be possible at the "Manage and install plugins" menu; if I uncheck the plugins they disappear from the menu, but whenever I restart they get loaded again, I'm trying with the purpose of a faster start and a cleaner look


Fastest way to migrate data from Late 2016 13" MacBook Pro to 2009 Mac Pro

I'd like to use Migration Assistant to migrate data from a Late 2016 13" MacBook Pro to a 2009 Mac Pro. The only connection options I see possibly working are gigabit ethernet or USB.  I'm not sure if Migration Assistant will even use USB to connect two Macs. Even if it did, I'm at the mercy of the slower USB 2.0 port on the Mac Pro.  Is it possible to transfer data using USB and if so, is USB faster or is it faster to use gigabit Ethernet?


What happens to Saruman when he goes after Sauron?

In the Hobbit movie: Saruman says to leave Sauron with him. What really happens?


Will I clear customs in Honolulu or LAX?

My family and I are traveling from Auckland to Los Angeles via a stop in Honolulu. Will we have to clear customs in Honolulu or LAX or even both? Will we need to allow extra time in Honolulu for this? Or will the HNL-LAX be considered domestic? Flying Hawaiian; it appears to be different flight numbers for each leg.


I'm developing a Burp Suite extension.  I have a class BurpExtender, it has public static field.  public class BurpExtender implements IBurpExtender, IContextMenuFactory{      private IBurpExtenderCallbacks callbacks;     public static PrintWriter stdout;     public static IExtensionHelpers helpers;     ...     @Override         public void registerExtenderCallbacks(IBurpExtenderCallbacks callbacks) {              this.callbacks = callbacks;             this.helpers = callbacks.getHelpers();             PrintWriter stdout = new PrintWriter(callbacks.getStdout(), true);              callbacks.setExtensionName("REQUESTSENDER");             callbacks.registerContextMenuFactory(BurpExtender.this);             stdout.println("Registered");          }      public List<JMenuItem> createMenuItems(final IContextMenuInvocation invocation) {         List<JMenuItem> menuItemList = new ArrayList<JMenuItem>();         JMenuItem item = new JMenuItem(new MyAction());         menuItemList.add(item);         return menuItemList;     }   and in this file i have another class MyAction:  private class MyAction extends AbstractAction{     public MyAction(){         super("Name");     }       public void actionPerformed(ActionEvent e) {         //Here i want to use BurpExtender.helpers, but i cant figure out, how to.         //BurpExtender.stdout doesnt work here. Dunno why, NullPoinerException.     } }   I had another solution, when i tryed to do smth like JMenuItem item = new JMenuItem(new AbstractAction("123") {...} result it the same


What is the relationship between ISO, aperture, and shutter speed?

I know digital cameras have ISO options, and that ISO is the camera's sensitivity to light, but if you set  higher ISO then you can get a noisy image. I also know there are two other camera options, shutter speed and aperture.   What is the relationship of between them? Is there any equation, or something like that?  For example, if I set the ISO to 640, then how should I set the shutter speed and aperture?


I am a Nigerian citizen with ILR in the UK. Do I need a visa to go on vacation to Jamaica?


Several years ago I heard of something called dummy subjects in high school. It was then stated that, for example, it is a dummy subject when it starts many instances of sentences, e.g.        It is rainy today.   It is hard to imagine how hard is to live alone.   It is not my university degree that matters here.     My question is if we can use it with plural subjects? For example in       If some think that in Mahmoud Dowlatabadi’s works it is only social themes that matter and the writer is ignoring fictional arrays and artistic techniques, at least, endings of his stories show wrongness of this idea.     My question deals with the italicized part. If this usage is OK, can we also write they are social themes that matter? I mean can they also play the role of a dummy subject?


Update packet fontconfig to newer version in ubuntu 18 LTS

I would like to update my packet fontconfig to the last release 2.13.1. My machine is running Ubuntu 18.04 and this packet is only available in bionic in version 2.12.6 (): mael:src$ apt show fontconfig Package: fontconfig Version: 2.12.6-0ubuntu2 APT-Manual-Installed: yes APT-Sources: http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages  I can see that the version I'm looking for is available in disco, eoan or focal. How can I do to grab only this packet with apt? Thanks for your answer, Maël


how to perform character concatenation in java

String st="java is awesome";    char[] ch=st.toCharArray();     st="";     for(int i=0;i<ch.length;i++)     {         if(ch[i]!='a')             st=st+ch[i];         else if(ch[i]=='a')             st=st+ch[i]+'#';     }     System.out.println(st);   i have to perform character concatenation without using '+'.Is it possible?


I have produced this table in LaTeX:     \begin{table}[hbt]                     \begin{center}                         \begin{tabular}{|l|l|l|l|}                             \hline & \multicolumn{3}{c|}{Examples}\\                             \cline{2-4}                             & description & $M$ & \textbf{u}\\                             \hline translation & through vector $\begin{pmatrix}6\\7\end{pmatrix}$ & $\begin{pmatrix}                                 1 & 0 \\ 0 & 1                             \end{pmatrix}$ & $\begin{pmatrix}6\\7\end{pmatrix}$\\                             \hline reflection & in line $x=2$ & $\begin{pmatrix}                             -1 & 0 \\ 0 & 1                             \end{pmatrix}$ & $\begin{pmatrix}4\\0\end{pmatrix}$\\                             \hline rotation & about \textbf{0} through $\pi$ radians & $\begin{pmatrix}                             -1 & 0 \\ 0 & -1                             \end{pmatrix}$ & $\begin{pmatrix}0\\0\end{pmatrix}$\\                             \hline glide reflection & in line $y=x$, then through $\begin{pmatrix}1\\1\end{pmatrix}$ & $\begin{pmatrix}                             0 & 1 \\ 1 & 0                             \end{pmatrix}$ & $\begin{pmatrix}1\\1\end{pmatrix}$\\                             \hline                             \end{tabular}                             \caption{Examples of Euclidean Transformations} \label{tab1}                     \end{center}                     \end{table}   How do I remove the two external lines from the top left empty corner cell? I want lines only around the other parts.  Also it looks a bit cramped, is there a way I can present it more nicely?


How to pretty print the name of a template parameter at compile time

The question is rather simple: how to pretty print the name of a template parameter in a C++ class and assign it to a class variable at compile time ? It seems that both typeinfo (typeid) and boost::typeindex must be evaluated at runtime or as least some part of them. This apparently does not allow the compiler to completely solve a constexpr containing a call to one of this function.  template<typename T> class X {    public:       static const char * name = /* SOME C++ code transforming T in a string (either std::string or char */ };   What am I missing ? Is it only possible to generate a name at runtime ? In that case, does I really need an instantiated object ? It doesn't seem right to me, because the following perfectly work without any instance:  #include <iostream> #include <string> #include <boost/type_index.hpp>  using namespace std;  template<class T> class X {         public:                 static std::string name()                 {                         return boost::typeindex::type_id<T>().pretty_name();                 } };  struct foobar {};  int main() {         cout << X<int>::name() << endl;         cout << X<foobar>::name()<< endl; }   So instead of having name() as a class method, I'd like to have it as a class variable.


How does one prove that the Dirac Delta distribution is the eigenfunction of the position operator $\hat{x}$? In math, why does $\langle x’|x\rangle = \delta(x’-x)$?


Values of the limit $\lim\limits_{x\to+\infty}\left(\sqrt{(x+a)(x+b)}-x\right)$

Hi I have a question regarding finding the values of limit for the following question.  Let $a, b \in \mathbb R$. Find the limit $$\lim_{x\to+\infty}\left(\sqrt{(x+a)(x+b)}-x\right)$$


Make sure the text is always visible as much as possible

I am given a text that is placed on top of a background of a given color. I need a way to determine the monochrome color the text should have to ensure the text's maximum visibility.   My intuition: take the background color, invert it and make it monochrome - this is the color the text should have. Is this correct? This does seem to work, but I am not sure if the method is infallible. Perhaps this method does work, but there is a simpler way to do this?


Time series: one I(1) and one I(0) variable, should I use VAR/VEC, test for cointegration?

Like the title says, I've got two time series, one is stationary to begin with and thus has no unit root, the other time serie is stationary after one-time differencing.   I want to create a model out of this and I know that when unit roots are present, I should test for cointegration. But I've read in  (1987) that cointegration tests are only to be done when you have two or more I(1) variables, is that correct?  So I cannot find in literature if I should now use a VAR model on differences or test for cointegration and perhaps do a Vector Error Correction model.  Can anyone help me? I would be very thankful!


This question is ported directly from Physics SE, because the guys there believe this is the right place for it.  In digital photography, there's the principle of lens equivalency, according to which, when you shoot with a camera which has a smaller sensor than a full frame sensor (which is the same dimension as classic photography film), you effectively reduce your field of view (relative to shooting with the same optics and a full frame sensor). The resulting crop of the optical image is associated with saying that you are shooting a full frame sensor, but a lens with a greater focal length.  So in terms of the resulting image, one should think of the lens as having a focal length of ff (the real focal length) times the crop factor CC associated with the sensor being used (C≥1). this is all well and good intuitively but then comes the 'weird' part.  It is said that if you're to think of your lens to have a focal length fC, then you must also think of the camera's f-number as being multiplied by C as well. This means that if you increase your f-number (which is proportional to the numerical aperture), then you also increase the depth of field of the camera - and surely enough, for a smaller sensor, you yield a greater depth of field (for the same field of view) - even when your actual physical f-number is the same in both cases.  How can two optical systems with the same f-number\NA, have different depths of field?  I realize that some of you might say it's related to the pixel size of the cameras, but it goes the other way around: the system with smaller pixels (which means less tolerance for the spread of the PSF) has the greater depth of field. This is best demonstrated in modern days smartphones, where for the same f-number as full frame cameras, the depths of field are worlds apart.  What is the physical explanation for this phenomenon? My best guess is that for systems with smaller sensors, one must position the camera further away from the object to capture the same field of view, such that the light rays travel a greater distance and thus become more parallel before being collected by the optics, but I'd like to know for sure.


The advantage of making two slightly different concept( adherent and limit point)

Let me start with introducing concepts of what acc pt and lim pt are.  Adherent point of X is the point whose every neighborhood contains some points of X.  And limits point of X is the point whose every neighborhood contains some points of X distinct from the given point.  I already know that X is closed if and only if it contains all its adherent points or  It contains all its limit points.  At the definition of limit, we usually use the concept of limit point.   Then why we need concept of adherent point?  It seems to me that it suffices to define limit or some other concept with limit point.  It looks redundant to have adherent point.  Although I know that they are very different concept from each other, I cannot see the reason why we need adherent point.  Could you help me to explain why we need such concept?  Thank you for your kind reply in advance.


Why did Tony Stark build arc reactors into his extra Iron Man suits?

In the Iron Man movie, Tony Stark mentions that he won't sell the Iron Man technology, because he only trusts himself to use it. Because he has an arc reactor built into his chest, his suit can interface with it for power. Unable to produce an arc reactor, Obadiah Stane steals the reactor from Stark's chest to power his Iron Monger suit.  In Iron Man 2, we see Tony's room of older Iron Man models, among them the Mark II and III armors. Both of these armored suits are shown with an arc reactor built into them. This enables James Rhodes to steal the Mark II suit during Tony's birthday party, equipping it as the War Machine suit.  Why would Tony store his extra Iron Man armored suits with power sources built in, when that would enable just anyone to walk in, put on a suit, and leave? He already had an arc reactor at all times. What would storing suits with built in power accomplish? Why would he make extra arc reactors anyway when he should've learned from Stane stealing his reactor tech? Is there a valid, in-universe reason for this, or is it just to enable Rhodey to easily steal a suit?


How do I install "Cisco Packet Tracer" on Ubuntu 18.04 LTS?

I have made an effort of installing "Cisco Packet Tracer" on 18.04lts without success kindly can anybody help ?


Geometric random variables $X_1:G(p_1)$ $X_2:G(p_2)$ $X_3:G(p_3)$ are independent, prove the following :

$$P(X_1 < X_2 < X_3)= \frac{(1-p_1)(1-p_2)p_2p_3^2}{(1-p_2p_3)(1-p_1p_2p_3)}$$   To be frank I do not know where to start with this question, I would like an idea to get me going, or better yet an answer. This was on an earlier exam, I would like to be ready if something like this were to come up again tomorrow. What makes this a little bit more difficult than usual is the fact that geometric distribution is  a discrete variable..


How to change the default term path "taxonomy/term/[tid]"

Am using drupal 7 for my project.  Here am facing for custom url change.  My website url is www.example.com/plans/1. Above url need to change as www.example.com/plan-name.  Pls suggest to me to fix the issue.


Trash can exists but no file will delete because there is no folder for trash. "Unable to find or create trash"

The trash folder has obviously been deleted. How can I restore the trash so that I can delete files?


How to set the first picture of every folder as its folder icon?

If there are pictures in folder A, B, C.....Z, how do I automatically set the first picture in each of these folders as its folder icon? Is there a way like a script or something else?


SELECT ... FROM ... WHERE ... = ... returns empty array after fetchAll()

I am trying to fetchAll() an array for rows in my database that are from a certain category.  <?php  require 'database.php';  $class = $_GET["class"]; $classes = $conn -> prepare("SELECT * FROM items WHERE class = $class"); $classes -> execute(); $all_items_from_class = $classes -> fetchAll(); ?>    On the previous page I want the user to click on a category and lead him to a page where it loads all items of that specific category, the URL will show something like website.com/category.php?class=bla and display all items from that specific class. After trying different foreach loops and not getting any results, I checked with a var_dump() to see what is wrong with the array $all_times_from_class and to my surprise it returns a completely empty array.  When I remove the WHERE from SELECT it returns the entire array of all items, but for some reason it does not with WHERE. I used $_GET in the same way in another .php file and it works fine there, but not when I try to $_GET the class. Why does it not return an array for that specific category? Does it not recognise what class to get from the URL, does it not work for VARCHARs in the database? I'm at a loss at the moment. The only fix I know would be to foreach() the entire database and run every row through an if.


I want to disable USB access to root and enable it when it is required.  I need to restrict users to copy and paste anything using external drives.  Can anyone help me on this?


Is there a way to call a function through a variable?

I'm really new to Python but I'm trying to do something definitely above my skill level. Is it possible to calla a function though a variable? For example,   def one():     print("this is a function") progress = "one" progress()    with the intention of calling the function "one()".  Is this possible?


After an edit, the bounty message disappears from the front-end

I suggested an edit for a question with a bounty on it. I stayed on the page, and saw the "An edit has been made to this page"-message coming in. I clicked on it. Then, the bounty message disappeared! This is front-end, with a refresh, the bounty message was there again.  Sadly, I didn't make a screenshot of it, but you can imagine what it would look like.  The question:


Following , when I have my viewport render open beside my wireframe viewport it is displayed in a very dark colour/lighting. I have added 2 lights to the scene (10 and 30 W). Anybody have any idea how I can get the render from this:  to this according to the tutorial  My Blender file is here


Why do living fossils like crocodiles remain so constant and not evolve?

Crocodiles have supposedly remained unchanged for millions of years, and several other species are considered as . How do such species remain so constant over time given that they will have had so much time to accumulate new mutations?


Smoothing/interpolating across images in an ImageCollection to remove missing data

I have some code that is working properly to calculate the monthly NDVI averages for the previous two years from a date but I sometimes have missing data in some of the months and I would like to get an average based on the mean of the previous two months. I suppose I could also interpolate from the closest geographic data point but it seems like it would be better to interpolate across time than distance given that sometimes the clouds cover reasonably large areas.   But I'm certainly open to other opinions, I just want to fill these holes as accurately as possible. Is there an efficient way to do this.  and here is the code itself:  // pick a landsat tile footprint to use as my geometry var wrs2_descending = ee.FeatureCollection('ft:1_RZgjlcqixp-L9hyS6NYGqLaKOlnhSC35AB5M5Ll'); // use a manually defined point to pick the WRS2 tile var wrs2_filtered = wrs2_descending.filterBounds(roi); var layer1 = ui.Map.Layer(wrs2_filtered, {}, 'WRS2 filtered'); Map.layers().set(1, layer1);  var imageCollection = ee.ImageCollection('LANDSAT/LC08/C01/T1_SR').filterBounds(wrs2_filtered); var monthCount = ee.List.sequence(0, 11);  // Function to cloud mask from the pixel_qa band of Landsat 8 SR data. function maskL8sr(image) {   // Bits 3 and 5 are cloud shadow and cloud, respectively.   var cloudShadowBitMask = 1 << 3;   var cloudsBitMask = 1 << 5;    // Get the pixel QA band.   var qa = image.select('pixel_qa');    // Both flags should be set to zero, indicating clear conditions.   var mask = qa.bitwiseAnd(cloudShadowBitMask).eq(0)       .and(qa.bitwiseAnd(cloudsBitMask).eq(0));    // Return the masked image, scaled to reflectance, without the QA bands.   return image.updateMask(mask).divide(10000)       .select("B[0-9]*")       .copyProperties(image, ["system:time_start"]); }  // run through the image collection and generate monthly NDVI median images var composites = ee.ImageCollection.fromImages(monthCount.map(function(m) {   var startMonth = 1; // thinking that I should always start from Jan so the series are similar   var startYear = ee.Number(2017-1); // number is one year before the current one    var month = ee.Date.fromYMD(startYear, startMonth, 1).advance(m,'month').get('month');   var year = ee.Date.fromYMD(startYear, startMonth, 1).advance(m,'month').get('year')    // filter by year and then filter by month to get monthly mosaics   var filtered = imageCollection.filter(ee.Filter.calendarRange({     start: year.subtract(1), // we want an average of the last two years     end: year,     field: 'year'   })).filter(ee.Filter.calendarRange({     start: month,     field: 'month'   }));   // mask for clouds and then take the median   var composite = filtered.map(maskL8sr).median();   return composite.normalizedDifference(['B5', 'B4']).rename('NDVI')       .set('month', ee.Date.fromYMD(startYear, startMonth, 1).advance(m,'month')); })); print(composites);  Map.addLayer(composites, {min: 0, max: 1}, 'check');  // stack the ImageCollection into a multi-band raster for downloading var stackCollection = function(collection) {   // Create an initial image.   var first = ee.Image(collection.first()).select([]);    // Write a function that appends a band to an image.   var appendBands = function(image, previous) {     return ee.Image(previous).addBands(image);   };   return ee.Image(collection.iterate(appendBands, first)); }; var stacked = stackCollection(composites); print('stacked image', stacked);  // Display the first band of the stacked image. Map.addLayer(stacked.select(0).clip(wrs2_filtered), {min:0, max:1}, 'stacked');


Prove that $\lim\limits_{n\to\infty}1 + \frac{1}{1!} + \frac {1}{2!} + \cdots + \frac{1}{n!}\ge\lim\limits_{n\to\infty}(1+\frac{1}{n})^n$

So My professor assigned this question and I am really stuck on part B of the question.  For $n \in \mathbb{N}$ let {$T_n$} = {$1 + \frac{1}{1!} + \frac {1}{2!} + \cdots + \frac{1}{n!}$}.  (a) Prove that {$T_n$} is non-decreasing.  (b) Use {$S_n$} = {$(1+\frac{1}{n})^n$} to prove that {$T_n$} is bounded above and prove that $lim_n(T_n)\ge lim_n (S_n)$   Like I mentioned I can prove part (a) simply by supposing that $T_{n+1} \lt T_n$ then after some algebra concluding the statement is false and than with one other example proving that its not strictly increasing either.  Now for part (b) I have not a slightest clue about how to solve, I assume I will have to use the expanded form of $S_n$ but thats the best I have. So please give me some hints or nudges in the right direction.


Prevent XML sitemaps from showing up in Google search results

How do I prevent my XML sitemap files from showing up in Google search results like this result of a site: search query:    I don't understand why Google would choose to show sitemap files in search results to begin with.  These files are not meant for human consumption.  Google needs to be able to crawl it to be able to process it, so I can't disallow it in robots.txt.  I just don't want them to put it into the search results after processing it.


It is well known that fibre product of noetherian schemes may not be noetherian. The inverse image of a coherent sheaf is coherent provided the domain is locally noetherian and codomain is noetherian. So my question has to do with the inverse image of coherent sheaves. Is it true that fibre product of noetherian schemes over a noetherian base is locally noetherian?


Can you recommend an easy way to place the page number on an imported PDF? For instance, when using:  \includepdf[fitpaper=true]{last_site/last_site.pdf}   \includepdf was used twice because the code (of the imported TeX / PDF) would affect (a little bit) the TeX code of the main document. I do not want to rewrite some stuff within the main document nor change the imported TeX code cause it looks fine now. Therefore, the \includepdf option was used.  The page number of the main document should be used on the last pages. Any advice?


The usage of "no" and "not" in the sentence

What should be used in the following sentence:"It's a cold month when there's not much sunshine"?Can I use "no" instead of "not" and why?


Any software to compare text in PDF for various languages?

Does anyone know of any Windows compatible software that will allow me to compare two different PDF files.  Preferably one that can highlight the differences.


Bounty autoawarded to an answer that I downvoted

, I started a bounty to try to get the bug fixed. Answers were added, and one that I disagreed with and downvoted got the bounty. This is wrong. Don't award bounties to answers I've downvoted.


Why is selection sort faster than bubble sort?

Using Java I have conducted an experiment to determine which sorting method's (bubble or selection) runtime is faster. The program prompts the user to enter a number n which is the number of items in the array to sort. Then it creates and sorts 500 different arrays of this size and times the run to get an average time to sort using both sort methods. I used 500, 1000, and 2500 as test inputs for n. My results below show that selection sort runs faster than bubble sort, but both algorithms have a time complexity of O(n^2), so why is selection sort running so much faster?  TimeBubbleSort Class  public class TimeBubbleSort {     public static void main(String[] args) {          System.out.print("Enter a number of items in array: ");         Scanner scan = new Scanner(System.in);         int n = scan.nextInt();          long start_time = 0;         long end_time = 0;         long running_time = 0;         long final_time = 0;         BubbleSort bubbleSort = new BubbleSort();          for(int i = 0; i < 500; i++) {             int[] array = new int[n];             for(int j = 0; j < array.length; j++) {                 array[j] = (int)(Math.random() * n) + 1;             }             start_time = System.nanoTime();             bubbleSort.bubbleSort(array);             end_time = System.nanoTime();             running_time = end_time - start_time;             final_time = final_time + running_time;         }         System.out.println("The average time of each array took " +  (final_time / 500) + " nanoseconds");     } }   BubbleSort Class  public class BubbleSort {      void bubbleSort(int[] arr) {         int n = arr.length;         int temp = 0;         for (int i = 0; i < n; i++)             for (int j = 1; j < (n - i); j++)                 if (arr[j - 1] > arr[j]) {                     temp = arr[j - 1];                     arr[j - 1] = arr[j];                     arr[j] = temp;                 }     }      void printArray(int[] arr) {         int n = arr.length;         for (int i = 0; i < n; ++i)             System.out.print(arr[i] + " ");         System.out.println();     } }   TimeSelectionSort Class  public class TimeBubbleSort {     public static void main(String[] args) {          System.out.print("Enter a number of items in array: ");         Scanner scan = new Scanner(System.in);         int n = scan.nextInt();          long start_time = 0;         long end_time = 0;         long running_time = 0;         long final_time = 0;         SelectionSort selectionSort = new SelectionSort();          for(int i = 0; i < 500; i++) {             int[] array = new int[n];             for(int j = 0; j < array.length; j++) {                 array[j] = (int)(Math.random() * n) + 1;             }             start_time = System.nanoTime();             selectionSort.selectionSort(array);             end_time = System.nanoTime();             running_time = end_time - start_time;             final_time = final_time + running_time;         }         System.out.println("The average time of each array took " +  (final_time / 500) + " nanoseconds");     } }   SelectionSort Class  public class SelectionSort {     void sort(int arr[]) {         int n = arr.length;          for (int i = 0; i < n - 1; i++) {             int min_idx = i;             for (int j = i + 1; j < n; j++)                 if (arr[j] < arr[min_idx])                     min_idx = j;              int temp = arr[min_idx];             arr[min_idx] = arr[i];             arr[i] = temp;         }     }      void printArray(int arr[]) {         int n = arr.length;         for (int i=0; i<n; ++i)             System.out.print(arr[i]+" ");         System.out.println();     } }   Results Using Bubble Sort  Array Size of 500: took 284,979 nanoseconds  Array Size of 1000: took 960,067 nanoseconds  Array Size of 2500: took 7,448,865 nanoseconds  Results Using Selection Sort  Array Size of 500: took 107,035 nanoseconds  Array Size of 100: took 342,464 nanoseconds  Array Size of 2500: took 1,880,215 nanoseconds


If $\lim_{n\to\infty} a_n\cdot b_n=1$ and $\lim_{n\to\infty} b_n=\infty$ then $\lim_{n\to\infty} a_n=0$

It's been awhile since I last touched Calculus so I'm asking for help in a really basic question. I'm trying to prove the following theorem:     Let $a_n$ and $b_n$ be sequences so $\lim_{n\to\infty} a_n\cdot b_n=1$ and $\lim_{n\to\infty} b_n=\infty$. So we get $\lim_{n\to\infty} a_n=0$.   I'm trying to prove this theorem by the limit definition but I can't seem to figure out how to find $\epsilon$. Is it possible to show how?


I have Google searched this many times, but I only get "how to make a mobile version of your website" and such. I want to know if I am able to use my Android phone to write code/script and view the results. If so, how would I go about it?


Runtime polyorphism and upcasting , downcasting

class AA {         void run()           {              System.out.print("In AA");           }        }    class B extends AA{           void run()          {              System.out.print("In B");          }        public static void main(String z[])         {          //upcasting        AA a= new B();       a.run();     }   }    Upcasting here working fine but now i m trying to call Parent class method like this..  B b=new AA();   It gives compile time error so cast it.   B b=(B) new AA();   However, I'm not sure why it's not working how I expect. Any thoughts?


Proving this binomial identity $\sum_{k=0}^n {n+k \choose k} \frac{1}{2^{k}}= 2^{n}$

A teacher gave this as a homework question, and I have tried but haven't been able to arrive at a solution. $\sum_{k=0}^n {n+k \choose k} \frac{1}{2^{k}}= 2^{n}$ Could someone prove it, or at least point me in the right direction ?


How to delete a file in Windows with a too long filename?

My wife has several files and folders that somehow ended up having filenames that have caused them to be undeleteable (can't be deleted) by normal means or via the command line. I believe the filenames are too long due to the depth of the folder structures. Does anyone know of a good utility for cleaning up files like this?


Canned air spray got liquid all over my PSU

Wanted to remove dust from my PC with a canned air aerozol "duster". Tried it a couple of times without applying to my computer and all seemed fine.  Decided to go for the PSU first: since it's a the bottom I tilted the aerozol to the side and it sprayed liquid all over my PSU. (I didn't know that tilting it sprays liquid). Now I .  The liquid seemed to evaporate really fast but I'm still freaking out a little bit before turning it on.  1) What is the amount of time to wait in this situation before it's safe to turn the PC on?  2) What is the worst case scenario from this situation?  3) Any random advice/reassurance?


Novel about a collection of aliens who recruit humans in an interstellar war

Looking for the name of a trilogy of novels I read years ago. A malevolent species of sentient axolotl type creatures is marauding across the galaxy on a sort of holy crusade. A group of different species (that may refer to themselves as "the commonwealth") have banded together to fight...   The problem is that all sentient star-faring species abhor violence. The only combat troops are a type of two leggged dog/cat analogue. Eventually (of course) they come to earth and during a covert observation mission meet a composer on a yacht in the Caribbean. He tries to convince them to keep humans out of it, claiming that they are more than just a violent immature species. Turns out that we are not.   I have been looking for this for years and years, I used to think it was called The broken mirror or something similar.


Can I backup my ICloud documents with TimeMachine to my TimeCapsule?

I want my docs en pics in the cloud but also a backup. Want to backup to a TimeCapsule with TimeMachine (or if necessairy an other softwareprogram). Wonder if that’s possible.


How can I remove the session expiration for a user?

I want the session to keep on if I am not using the computer but it always changes to the login screen after few minutes  how can I remove that?  thanks


How to check what big files are in /home and how to install somewhere else?

i am trying to install matlab and its trying to install in /home because i get a warning saying /home is left with 1 gb. How do I check what folders are in home and how can I install matlab in /dev/sda6 instead because it has 67gb free ?


Is there a RSS to the 'Stack Exchange Inbox'? How about to Activity?

Just wondering if I'm missing something here. Also, I couldn't find any previous question related to this.


I am attempting to solve this counting problem through combinatorial argument. The following is the equation I am given:   $$\sum_{i=1}^n (i-1)(n-i) = \binom{n}{3}$$  I understand that the right-hand side of this equation represents a set of $n$-elements out of which we choose 3. For example I believe we can say suppose we have a group of $n$ people and we want to choose 3 out of $n$ to be in a committee. However I'm not sure how to express the left-hand side in words. If forming a committee is an appropriate way to tackle this problem then I know the left-hand side must utilize the addition and multiplication principles, but I don't know how to put it into words. Also my intuition tells me that in solving this we should first flip $$(n-i)(i-1)$$  Thanks!


This question was asked many times, maybe this is duplicate, but I could not find appropriate answer for my needs:  I am developing web application where they can post codes and other texts and SO's text editor is very simple to use. My question: Where can I get this SO's editor to use on my shared hosting plan with PHP and MySQL?


I already defined the array of objects size. But whenever I try to set name for a customer an error happens . Here is my code  :      public static void main(String[] args) {      int customerNum, mainChoice;      System.out.println("Enter Total Number of Customers Using your System : ");     Scanner input = new Scanner(System.in);     customerNum = input.nextInt();     Customer[] customersArray = new Customer[customerNum];     mainMenue();     mainChoice = input.nextInt();      if (mainChoice == 1) {         String askLoop = null;          for (int i = 0; i < customerNum; i++) {             System.out.println("Enter customer name : ");             customersArray[i].setName(input.next());             System.out.println("Enter customer phone number : ");             customersArray[i].setPhoneNumber(input.next());             System.out.println("Do you want to Add another Customer (y/n)");             askLoop = input.next();             if (askLoop == "y") {                 continue;             } else {                 break;             }          }      }  class Customer{ private String name; public void setName(String name){ this.name = name;     } }   When I run it then I input the name the program stops and this error is displayed :   Exception in thread "main" java.lang.NullPointerException     at ba_1316855_p4.BA_1316855_P4.main(BA_1316855_P4.java:30)  How can I solve this ?


Can't make printf happy. Rejecting format strings of "i" and "l"

long int triagedOut = 0;  printf("%i", triagedOut);   main.c|89|warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]|  I actually get that message twice for the same line.  ??? OK, so I will change it to the long int specifier "l" and, then... printf("%l", triagedOut);   main.c|89|warning: conversion lacks type at end of format [-Wformat=]| main.c|89|warning: too many arguments for format [-Wformat-extra-args]|  And I get these two messages twice, too. I don't even know how there could be too many of anything.  Just 1 of everything.  What's it trying to tell me?


Below is the query I am using in my code.  List<Account> accounts = [Select Id,                                   (Select Id,FirstName, LastName From Contacts),                                   Name,                                   BillingCountry                              from Account];   NOw I want to get Contact Record from this account List.


Just wanted to know what company does SO gets its hosting services from. The site is very responsive and fast. I would like to get my hosting done in the same place. Thanks


Prove that a Hölder function is derivable.

It is said that a order $\gamma > 0$ continuous function is named Hölder when   $|f(x)-f(y)| <= C|x-y|^\gamma$  being $C$ a constant, such as $C > 0$.  A) Prove that if $f$ is a order $\gamma > 1$ continous Hölder function, then, $f$ is derivable. Show that, in fact, $f$ must be constant.


The difference between an analogy and a metaphor?

Many a time I've asked what the difference is between an analogy and a metaphor. I've asked it to my teacher, on internet sites, to my parents, so on and so forth. I got a different answer every time, and I never fully grasped what the difference is, so what is the difference?


Credit card fraud resulting in credit card account closure + reopening with a different account number: what's the impact on the credit score?

I live in the United States. One of my credit cards issued by a bank based in the US (namely, JPMorgan Chase Bank) was used fraudulently. I informed my bank, who Informed me they would close my credit card account, then  give me a new credit card with a different account number.  What's the impact on my credit score, if any?  The fraud did not cause me to miss any payment on my credit card account. I detected the fraud  within 2 days, and called my bank immediately.    Excerpts from the e-mail I received from the bank:     We closed your Chase credit card account ending in XXXX to prevent unauthorized transactions, as we recently discussed.      What you need to know about your replacement credit card:         You'll need to update the new account number if you have automatic bill pay set up for this credit card.   We'll notify Equifax, TransUnion and Experian that we closed your other account. Their records should be updated within 60 days.


Do I need UK transit visa to move from Terminal 3 to Terminal 5 Heathrow?

I (Indonesian) have a possible travel itinerary from Japan to Berlin via UK Heathrow airport. From the airline website it says that I need to move from Terminal 3 (arrival from Japan) to Terminal 5 of Heathrow airport. As I have never been to Heathrow before, do I need to pass the border check/immigration? If so then  do I need to have UK transit visa or some sort? I have residence permit visa for Germany.


Anyway to tell iCloud Drive in Sierra to stop downloading things?

With macOS Sierra's iCloud Drive feature, it seems the promise of automatic space management is that:   it will fill your hard drive's free space by downloaing iCloud drive files automatically it only clears the local copies when you select other iCloud drive files to download instead   This works to keep your HDD constantly full to capacity, causing many issues with other programs, including Terminal and iTunes complaining there is not enough free space to continue. Despite Finder reporting there is plenty (due to point 2).  Is there a way to tell iCloud  Drive to stop attempting to download more files (fixing point 1), and to delete the local copies of files it has insisted on downloading (fixing point 2)?    The below image captures the problem. Finder reports 157.99GB available, yet I can't download a 773.1MB folder because there isn't enough free space, because iCloud Drive is insisting on filling my hard drive with 164.63GB of data.


You observe k heads out of n tosses. Is the coin fair?

I was asked this question with $(n, k) = (400, 220)$ in an interview.  Is there a "correct" answer?  Assume the tosses are i.i.d. and the probability of heads is $p=0.5$.  The distribution of the number of heads in 400 tosses should then be close to Normal(200, 10^2), so that 220 heads is 2 standard deviations away from the mean.  The probability of observing such an outcome (i.e. more 2 SDs away from the mean in either direction) is slightly less than 5%.  The interviewer told me, essentially, "if I observe something >= 2 SDs from the mean, I conclude that something else is going on. I would bet against the coin being fair."  That's reasonable -- after all, that's what most hypothesis tests do. But is that the end of the story?  For the interviewer that seemed to be the "correct" answer.  What I'm asking here is whether some nuance is justified.  I couldn't help but point out that deciding that the coin is not fair is a bizarre conclusion in this coin-tossing context.  Am I right to say that?  I'll try and explain below.  First of all, I -- and I would assume most people as well -- have a strong prior about coins:  they're very likely to be fair.  Of course that depends on what we mean by fair -- one possibility would be to define "fair" as "having a probability of heads 'close' to 0.5, say between 0.49 and 0.51."  (You could also define 'fair' as meaning that the probability of heads is exactly 0.50, in which case having a perfectly fair coin now seems rather unlikely.)  Your prior might depend not only on your general beliefs about coins but also on the context. If you pulled the coin out of your own pocket, you might be virtually certain that it's fair; if your magician friend pulled it out of his, your prior might put more weight on double-headed coins.  In any case, it's easy to come up with reasonable priors that (i) put a large probability on the coin being fair and (ii) lead your posterior to be quite similar, even after observing 220 heads. You'd then conclude that the coin was very likely to be fair, despite observing an outcome 2 SDs from the mean.  In fact, you could also construct examples where observing 220 heads in 400 tosses makes your posterior put more weight on the coin being fair, for example if all unfair coins have a probability of heads in $\{0, 1\}$.  Can anyone shed some light on this for me?    After writing this question I remembered that I had heard about this general situation before -- isn't it ?  Whuber put a very interesting link in the comments: .  From page 3:     It does not make sense to say that the coin has a probability p of   heads, because it can be completely determined by the manner in which   it is tossed— unless it is tossed high in the air with a rapid spin   and caught in the air with no bouncing, in which case p = 1/2.   Pretty cool!  This ties into my question in an interesting way:  suppose we know that the coin is being "tossed high in the air with a rapid spin and caught in the air with no bouncing."  Then we definitely shouldn't reject the hypothesis that the coin is fair (where "fair" now means "having p=1/2 when tossed in the way described above"), because we effectively have a prior that puts all probability on the coin being fair. Maybe that justifies to some degree why I am uncomfortable rejecting the null after 220 heads are observed.


Correcting projection of 360° content onto a sphere - distortion at the poles

I'm using the Autopano Giga 4.4 and Autopano Video Pro 2.6 to stitch and create spherical content, but I've recently moved into wanting to create 360° tours via Unity. I know this is partly a developers question, but if anyone out there can help me with the right specs for exporting a spherical image or video from Giga to use to create the image for the inside of the sphere on Unity, I'd appreciate it!  Experimenting with Premiere and FCPX to edit highlight reels of spherical content, I've had seamless experiences created. For some reason in Unity, the images appear to be stretched around the sphere wrong and it's creates issues on the top and bottom of the image:    The image shown is the bottom of the sphere. I'm using the Android platform to hopefully turn these tours into apps when completed. Thank you for any help!


Let $f:\mathbb{R}\to\mathbb{R}$ which is continuously differentiable ($f\in C^1$). Lets assume $\int_0^\infty f < \infty$ and $f'(x)$ is bounded. Show that $\lim_{x\to\infty}f(x) = 0$.  All I could think of is doing integration by parts:  $$ \int_0^\infty f(x)\,dx = \sum_{n=1}^\infty \int_{n-1}^n 1\cdot f(x)\,dx = \sum_{n=1}^\infty \left( \left.xf(x)\vphantom{\frac11}\right|_{n-1}^n - \int_{n-1}^n xf'(x) \, dx  \right)$$


How to install Ubuntu again as my previous Ubuntu 16.04 is corrupted

I am not able to install , while installing Ubuntu again at some point I got grub-efi- amd64 signed error.  Even after formatting the drive completely I got same issue.  I created a swap partition and one root partition (/) using something else option while installing.


How do I turn on SharePoint App store in SharePoint 2013

I am getting this message when I want to add a app:     Sorry, apps are turned off. If you know who runs the server, tell them   to enable apps.


Is there a way to get duplicate values in a column with specific values in another column?

I have an sql table like this: TABLE: Info  ID      |   JOB    |  Value --------|----------|------------------ 1       |   leader |  3 2       |   Host   |  212 1       |   User   | 4 2       |   leader |  5 2       |   Host   |  4  I'm trying to get the rows where a duplicate ID must contain 3 and 4 from the Value column. I'm currently using this  query:   select * from info where value = 3 and 4    group by id having count(*) > 1;  my result using this query ID     |   JOB    |  Value --------|----------|------------------ null    |   null   |  null  whereas my expected result should be: ID      |   JOB    |  Value --------|----------|------------------ 1       |   leader |  3 1       |   User   | 4  Please help as I'm not sure what I'm doing wrong


Setup for dual disk (SSD+HDD) with /home partition

I'm going to move from HDD to SSD (60GB) + HDD (250GB) setup. Basicly I want the system to be fast. Root partition will be on SSD but I'm not sure what to do with /home. All data like /pictures /documents will be linked to HDD that will be in a removable caddy adapter in my thinkpad. From time to time I might need to remove it and plug in a CD-ROM. This way I guess some part of /home partition will have to be on SSD to make the system bootable.   Does anyone has some tips? It's also important that the Eclipse and Browsers (Opera,Firefox) will run fast. Is it also enough to just copy the partition to SSD to I will have to make a clean install?


Reload Ubuntu as at present it has stopped loading on startup

Before leaving the States our company IT person installed Ubuntu on one of our Lenovo 500 laptops. This laptop had a new hard drive installed. All worked fine until arriving in the UK. Suddenly it would stop loading the OS so it is impossible to access the website. Our tech person just told me to buy a new laptop here. I am cheap and would like to fix this (I am writing on my other Asus, which doesn't have a CD/DVD drive like the Lenovo does).   Our IT person does not normally use an open source operating system like Ubuntu. Since the Ubuntu OS is on the Lenovo and something got corrupted, is it possible to roll back to an earlier point? There is nothing critical on this laptop.


Launch a new instance of Chrome with a shortcut

I have a web app that launches from a shortcut on the desktop. I would like to have it spawn in a new instance of Chrome -- with its own pinnable task bar icon, etc. -- instead of grouped with the rest of my general web browsing activity. Is it possible to do this without running it in a different browser altogether? Maybe by using a shortcut to chrome.exe and starting it in a different folder? I checked the list of command switches  but it was not clear if any of those would accomplish what I'm looking for.


Vector has the same size out of function that uses push_back()

I have a program for school to make and i thought i'd use vectors, everything went smoothly but at the end I saw that function in my program that pushes elements to vector of classes do it only inside function, out of function the vector has the same size.  I wrote a small test code to show it.  #include <iostream> #include <fstream> #include <string> #include <vector> #include <cassert>  using namespace std;  class Player { public:     int i = 1;      Player() {} };  void pb(vector<Player> v) {     v.push_back(Player());     cout << v.size() << endl; }  int main() {     vector<Player> v;     v.push_back(Player());      cout << "1st element i = " << v[0].i << endl;     cout << "vector size: " << v.size() << endl;      pb(v);      cout << "Second element i = " << v[1].i << endl;     cout << "vector size: " << v.size() << endl; }   The code send error "Vector subscript out of range" because I try to enter the non-existent v[1] that should exist because in function I did use push_back().  Can someone explain to me why does it happen, and how would I do it with the usage of pointers if I can do so?


What is the difference between running "bash script.sh" and "./script.sh"?

If script.sh is just something typical like  #!/bin/bash echo "Hello World!"   Is there a preferred way to run the script? I think you first have to chmod it so it becomes executable?


Parts of my model are a different color to the rest

I have a Problem with my first Blender model. As you can see in the images, the color of the legs are different to the rest of the model:     I haven't applied any modifiers besides the Subdivision Surface and Mirror.  Can anybody tell why it looks like that and how I can change it to the normal solid look?


Is there any SCP program available for Ubuntu that does not require SFTP on a remote host?

I need a program that can manage files on a remote device running Linux using SCP. The remote device runs OpenWrt. On Windows there is a perfect one WinSCP. it is weird that there is no native program that can be used. The program should be able to:  list files copy and move files to/from the device and within the device. delete files on the device view and edit files change file permissions  I have found only one alternative, except using CLI and installing WinSCP with wine. It is Midnight Commander with fish. It works really poor. The problems are:  It mixes up ~ on a remote device and on the computer. It can't edit files. I can open and edit, but they are saved to a wrong place.  There is a lot of other annoying problems that makes it almost unusable. I gave up using mc and now I am using pure shell on the remote device. Please do not tell me that Nautilus, etc support these features. They don't!!! Linux native file managers require SFTP that is not available on the remote device. Maybe it is possible to get nautilus use SCP, but I did not find a way of doing it without changing sources. THIS IS NOT A DUPLICATE !!! I have a specific requirement that is not covered in the duplicate question. If it is not possible on Ubuntu, then this could be an answer.


I have a requirement to show  page message for a particular selected template. The template selection done here. But render is always returning true in this case. Can someone help me here?  <apex:selectList id="chooseTempalte" label="Choose Template" title="Select your Template"        value="{!selectedTemplateId}" size="1" onChange="rerenderEmailFields(this.value)">    <apex:selectOptions value="{!TemplateOptions}"/> </apex:selectList>  <apex:outputLabel style="color:red;"  rendered="{!IF(selectedTemplateId='Update Status - Send to ABSM', false, true)}" >     Please note this selected option  will set the status value to Under Review

 </apex:outputLabel>   Please find the apex controller snippet here.  public List<SelectOption> getTemplateOptions() {         options = new List<SelectOption>();         for (EmailTemplate t : etMap.values()) {             options.add(new SelectOption(t.Id,t.Name));             if((selectedTemplateId == '' || selectedTemplateId == null) && t.Name == 'Update Status - Send to ABSM')             {                 selectedTemplateId = t.Id;                 ApplyTemplate();             }         }      return options; }


Why does Stack Exchange use Imgur over Amazon S3 or Azure?

What benefit does  offer over , , etc. for image hosting?   Is it the simplicity of integration? The cost model? What's better about using a "gateway"?


Getting Messages sent to my sister's iPhone on my MacBook Air

My sister and I both have iPhones and whenever someone texts her, I get those messages sent to my MacBook Air. It's really annoying and I haven't been able to figure out how to fix it!


How to amplify and offset the voltage in an opamp?

I need to amplify a voltage, which comes from a DAC and is 0-2.5V and scale it 0-25V in an operational amplifier. After amplified, I need to offset it -1.25V, so the final voltage is -1.25 to 23.75V. In other words, being an operational amplifier, I want to do the y=ax+b operation. with a=10, and b=-1.25V  I thought of 2 different ways of doing this.   The first idea I had is to use a second amplifier as a summing amplifier, with a fixed -1.25V voltage.  The second idea is to use a 1.2V zener in series with the output, along with a biasing resistor to -V.   Why do I want this? I want to set the ADJ pin in an LM338 voltage regulator from an MCU. LM338 out is ADJ+1.25V. If ADJ is -1.25V then the output is 0V.


Load a table with NO geometry_column using PyQGIS

I had to backup a PostGIS model in a geopackage and I wonder how to load a non-spatial table, aka a table with NO geometry_column.


Bizarre problem on Chat and SEDE with "group by"

I am experiencing some bizarre problems when trying to build/edit queries on  Confirmed to be firewall/proxy problem. This started on SEDE, whenever I try to create a query with a Group By clause. For example, this trivial query works: Select Id AS [VID], Name AS [VName] from VoteTypes  but when I add a group by clause: Select Id AS [VID], Name AS [VName], count (*) from VoteTypes group by Id, Name  I get the following (note:  I get the same error if I have the group-by right - including the 'name' column - as well as when I get the group-by wrong....):  I went to Chat to whine about this, and discovered that I cannot type group by in chat either. Any time I try to submit a chat with that text it fails with 'unexpected error'. I have tried a number of things, but it appears that I can type "group by" just so long as there is something other than a space immediately after the 'y' in 'by'.  Here is the difference bewteen having something after the 'y', and not:  I have tried rebooting, I have used both firefox and IE. This is on windows7. When I get home I guess I can try a different computer. EDIT: When I tried to add a comment to this post, I got :-) :


How to do a 301 redirect in DirectAdmin & WordPress?

In the past, our company had only one domain (www.domain_old.com) which obviously was the main domain. Now we have bought a new domain (www.domain_new.com), which we'd like to be the main domain from now on (i.e., for all the webpages, subdomains, emails, etc...). In other words:     www.domain_old.com --> www.domain_new.com   Answers to similar questions on this site suggest using a 301 redirect, so I assume that's the best option.  Our website uses DirectAdmin and WordPress; how can I add a 301 redirect for the old_domain to the new_domain using these?


Let $S=\{\sqrt p \in \mathbb R | p $ is a primer number$\}$.   How can I show that $\mathbb Q(S)|\mathbb Q$ is an infinite field extension?


So I have to pause a process for a second and then Start the other one, So basically I have to pause and resume this processes.  Also I have to use a Stack. Have to Save the process as it's executing so I can resume it. Has to have an ID and show the Priority.  Anybody knows what I have to use?  using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; using System.Threading; using System.Runtime.InteropServices;  namespace Práctica_2 {     class Program     {              static void Main(string[] args)             {                  Process Contador = new Process();                 Process Datos = new Process();                 Process Google = new Process();                 Process Numero = new Process();                 Process Finalizar = new Process();                   try                 {                                         System.Diagnostics.Process.Start("C:\\Users\\M-00\\Desktop\\Práctica 2\\Datos\\Datos\\obj\\Debug\\Datos.exe");                     Datos.Start();                     Thread.Sleep(250);                 }                 catch (Exception e)                 {                     Console.WriteLine(e.Message);                 }                  try                 {                     System.Diagnostics.Process.Start("C:\\Users\\M-00\\Desktop\\Práctica 2\\Contador\\Contador\\obj\\Debug\\Contador.exe");                     Contador.Start();                     Datos.WaitForExit(250);                     Thread.Sleep(500);                 }                 catch (Exception e)                 {                     Console.WriteLine(e.Message);                 }                  try                 {                     System.Diagnostics.Process.Start("C:\\Users\\M-00\\Desktop\\Numeros\\Numeros\\obj\\Debug\\Numeros.exe");                     Numero.Start();                     Datos.WaitForExit(500);                     Thread.Sleep(750);                 }                 catch (Exception e)                 {                     Console.WriteLine(e.Message);                 }             }         }     }


Finding $\lim\limits_{n\to \infty}({1\over n+1}+{1\over n+2}+...+{1\over n+n})$ using integrals

Finding $\lim\limits_{n\to \infty}\left({1\over n+1}+{1\over n+2}+\dots+{1\over n+n}\right)$. I tried many things but it would work out. I am now studying calculus 2 (In my country the first calculus course is split, and I saw a solution while studying calculus 1.)  However, I understood that questions with sum are usually solved like that: For example,  $$ \lim_{n\to \infty}{1\over n^{k+1}}({1^k+2^k+ \ldots +n^k})= \ldots =\lim_{n\to \infty}{1\over n}{\sum_{j=1}^{n}\Bigl({j\over n}\Bigr)^k}=\int_{0}^{1}{x^k}\,dx $$  but now I can't bring it to that form. I also can't verify my answer because I can't find other answers for it. I would really appreciate your help. Please don't mark my question is a duplicate before making sure that either the origin involves integrals or that it cannot be solved with integrals.


Are there any child-free flight options?

I was wondering whether there are any flights for people who can't stand children or don't want to be around them. I'm sure there is a demand. By child-free, I mean child-free flights, child-free zones, or other options. Can I request a child-free option on a regular flight to have no kids sitting nearby? How much does it cost to have a child-free flight compared to a normal one?


If $A$ is a non-square matrix with orthonormal columns, what is $A^+$?

If a matrix has orthonormal columns, they must be linearly independent, so $A^+ = (A^T A)^{−1} A^T$ . Also, the fact that its columns are orthonormal gives $A^T A = I$. Therefore,  $$A^+ = (A^T A)^{−1} A^T = (I)^{-1}A^T = A^T$$  Thus, $A^+ = A^T$. Am I correct? Thank you.


How do I get around this annoying error message? (Python 3.6.1)

I'm currently learning Python, and don't know a whole lot- so I need somebody experienced to help me out here.  The code is this:  usernum = input('Enter a number, Ill determine if its pos, neg, OR Zero.') if usernum < 0:     print("Your number is negative.") if usernum > 0:     print("Your number is positive.") if usernum == 0:     print("Your number is zero.")   The error is this:  Traceback (most recent call last):   File "C:\Users\Admin\Documents\Test.py", line 2, in <module>     if usernum < 0: TypeError: '<' not supported between instances of 'str' and 'int'


When can we say two matrices have the same Jordan form?   Well, it's obvious that if they're similar then they have the same Jordan form, but can we look further?  What if they have the same eigenvalues? That's not enough either because $\begin{bmatrix}0 & 1\\0&0\end{bmatrix}$ and  $\begin{bmatrix}0 & 0\\0&0\end{bmatrix}$ have the same values but they are not similar and therefore don't have the same Jordan form.  I can't find an example where two matrices have the same characteristic equation and minimal polynomial yet they are not similar but I am unable to prove it.  Is it enough to have the same algebraic multiplicity and geometric multiplicity?  I am not looking for the minimal condition where two matrices have the same Jordan form


Some keys don't work in console (tty), but work in a terminal emulator

When I am am in virtual terminal and open my editor, I can use editor key shortcuts such as CTRL + Down and CTRL + Up to select lines (select block), or  F5 and F6 to copy/move the selected block.  When I log in via console however, (tty, via CTRL + Alt + F1), these shortcuts no longer work. CTRL + Down and CTRL + Up act simply as Down and Up, F5 instead of copying selected block prints cappital letter E. Only the  F6 works (moves selected block).  I believe this has nothing to do with my editor (joe), but instead has to do with settings of the console/terminal.  How can I use same keys in the tty console, as I do in virtual terminal.


Why is it that $\sqrt{4}$ is only $2$, not $\pm 2$?

I understand that the numbers that, when squared, result in 4 are ±2 because both -2 and 2 squared result in four. However, when in a radical, why is it that $\sqrt 4$ is only 2? Why isn't the sign undetermined until it the number is taken out of the square root? Why is the ± needed in front of $\sqrt 4$ to denote that the solution set includes -2?


Leave Zurich Airport during a long layover

I am traveling from San Francisco to Mumbai via Zurich Airport, where I have 18hrs halt.  I have an Indian Passport and a valid US F1 visa.    Can I leave the airport and do some sightseeing in Zurich?


I create new ASP.NET web application that use SMTP to send message. The problem is the smtp was not authenticated from who send the message.     How can I make SMTP authenticated in my program? does C# have a class that have attribute for enter username and password?


I have looked every were and cant find out why I cant subdivide this face. I split a default sphere and filled the top with a face and it wont let me subdivide that face. I need to so i can  use the displace modifier on it!


Keep footer at bottom of page when adding new content

I'm trying to keep my footer at the bottom of my web page. Just having it at the bottom of the page works fine, but when I add content via a button, the body exapands but the footer stays on it's current position - meaning the body goes over the footer.  Here's my footer CSS:  .footer { position: absolute; right: 0; bottom: 0; left: 0; }   The website is in React so here's a layout page that I use to structure the page          <div>             <Header>             </Header>             <Body className="body">                 {this.props.children}             </Body>             <Footer className="footer"/>         </div>   Any ideas on how to proceed?  In response to this being a duplicate question: This question is different to other questions as this one is about a footer that is already at the bottom of the page, but doesnt stay that way when new content is added dynamically.


Solving equations involving both algebra, trigonometry (and possible use of inequalities)

If $\alpha$ and $\beta$ are solutions $a\tan\theta+ b\sec\theta = c$   then show that:       $\tan(\alpha+\beta)= \dfrac{2ac}{a^2-c^2}$   This is the first time I am attempting such a question so I am confused. Nevertheless, I gave it a try:  $\dfrac{a\sin\theta}{\cos\theta}+\dfrac{b}{\cos\theta}=c $  $\implies a\sin\theta -c\cos\theta= -b$  Now,  $-\sqrt{a^2+c^2}\le a\sin\theta -c\cos\theta\le\sqrt{a^2+c^2}$  or,  $-\sqrt{a^2+c^2}\le -b\le\sqrt{a^2+c^2}$  I don't know how to proceed from here. Also, is this a valid approach to the question?


In how many ways can the letters of word $PERMUTATIONS$ be arranged if there are always 4 letters between P and S?

In how many ways can the letters of word $PERMUTATIONS$ be arranged if there are always $4$ letters between $P$ and $S$?   Now there are $12$ blank spaces, which we have to fill by the letters of the given word.  That is :-  [][][][][][][][][][][][]  it is given that two places are always filled with P and S such that there are 4 blank spaces between them.  {[P][][][][][S]}[][][][][][]  $Therefore$,  the number of arrangements that can be made such that there are 4 letter between $P$ and $S$ is $P(10,4)$  $p(10, 4) = \frac{10!}{(10 - 4)!} =\frac{10!}{6!} = 10 \times 9 \times 8 \times 7 = 5040 \tag 1$  Also {[P][][][][][S]} can be arranged in different ways with respect to {[P][][][][][S]}[][][][][][].  $Therefore$ the number arrangements will be $p(7, 7)$  $p(7, 7,) = 7! = 5040 \tag 2$  $Therefore$ the the total number of arrangements for the given question will be   $5040 \times 5040 \text{ (results of 1 and 2)}\\ = 25401600 \tag3$  but there are two T's in the word permutation  $Therefore$ we divde the result of 3 by 2 to get the real answer.  That is , $$\frac{25401600}{2} = 12700800$$  So I am getting $12700800$ as the answer but it is wrong the given answer is $25401600$. How ?    Thanks and sorry for the formatting.


caption3.sty file in texlive2014 appears to have a Runaway argument

I installed Ubuntu 14.10 for the sole purpose of typesetting my thesis with Texmaker or any of it kind. However my document won't run because of an apparent error in at least the caption3.sty file in Texlive2014. I have spent the past couple of days trying to fix this with no result. One consequence is that, i've ended up installing all the tex packages you can think off. Below are the first few and last error generated by the caption3.sty file alone:  line 970: Paragraph ended before \@gobble was complete. #1: #2\par   line 971: Extra \else. \else    line 974: Extra \fi. \fi    line 975: Too many }'s. \vskip\belowcaptionskip}    line 975: Too many }'s. \vskip\belowcaptionskip}}     .    .    .   line 1284: Bad space factor (0). ...default,twoside=\if@twoside 1\else 0\fi}   I read on the errors and I thought I could modify the script but it turns out I do not have such privileges.  MWE  \documentclass{article} \usepackage{arabtex}  \usepackage{utf8}  \setcode{utf8}  \usepackage[below]{placeins}  \usepackage{caption}  \begin{document}  \end{document}


why does my jquery function not working and view source code without the html return from php

ok i am not sure why is this happen, can someone tell me the answer to this?   this is my code on my html.  i created a link  Card List   from this link, it will lead to this jquery code when click  $("a#configPage").click(function(){ var request = $.get('controller.php',{ action: "configView", subaction: "" }); request.success(function(result) {   $( "#resultContent" ).html(result);   console.log(result); });  request.error(function(jqXHR, textStatus, errorThrown) {   if (textStatus == 'timeout')     console.log('The server is not responding');    if (textStatus == 'error')     console.log(errorThrown);    // Etc });  return false;   });  from the .get, i will go to my php script and return a set of HTML code with forms in it and populate to #resultContent div.  this is working fine. But after my form has been populated in #resultContent div, i have another same link inside that html   Card List   this time, that link above is not firing the jquery anymore. I found out that the html return is not showing in my view source code. Is this the reason why is not firing? how to solve this? or i am doing it wrong?  edit: everything from the return HTML is not firing any jquery at all such as form on submit button etc. Is like that whole div with the returned html code is not exist


How to change a html class with Javascript?

I would like to Change a HTML class with JavaScript  HTML  <i id="test" class="fa">   How can I do it really simple?


What is the meaning of the term "linear"

$a_1x_1+a_2x_2+a_3x_3+...+a_nx_n=$ is called a linear equation because it represents the equation of a line in an n dimensional space. So "linear" comes from the word "line".Basically there should not be any higher power of x failing which the graph of the function will not be a straight line.  simillarly  $a(x)y+b(x)y'+c(x)y"+d(x)y'''+...+q(x)=0$ is also called linear differential equation because all the derivatives have power equal to 1 which is similar to the above definition of a linear equation.  A function f is called linear if: $f(x+y)=f(x)+f(y)$ and $f(cx)=cf(x)$. Here c is a constant. In this definition of linearity of function "$f$" what does the word linear means? How does it relate to a straight line?  Finally what does the term linear means in case of linear vector spaces? Where is the reference to a straight line?  So, whether linear is just a word used in different contexts? Does it have different meaning in different situation? Or linearity refers to some relation to a straight line? At Least please explain how the linearity of function f and linear vector space relate to the equation of a line.


Why does this question show up in the Frequently Asked Questions list if it isn't tagged [faq]?

Currently, the Frequently Asked Questions list on the Meta homepage looks like this:        But the very first question on that list isn't tagged with  at all!        Is this a bug, or can questions without the special tag appear in that list?


Show by a counter-example that if U+W =U+X for subspaces U,W,X of V, then W need not be equal to X.


If $G$ is a finite group of order $n,$ and the number of divisors of $n$ is $k,$ can $G$ have fewer than $k$ subgroups?  A cyclic group $G$ of order $n$ has exactly one subgroup for each divisor of $n$, so in this case $G$ has exactly $k$ subgroups.  For the alternating group $G=A_4,$ $n=12$ and $k=6.$ There is no subgroup of order $6$ in $A_4,$ yet there are ten subgroups, which exceeds $k=6$ for this case. I began to wonder if there could be a group for which so many divisors of the order of $G$ had no subgroups of that order, that there wound up being fewer subgroups in $G$ than the number of divisors of $|G|,$ hence my question.


How do I ensure my skybox is always in the background, with OpenGL?

I created a skybox in OpenGL (through LWJGL), but the only way I found to render it behind all objects was to make it very big. This leads to ugly edges between the 6 skybox planes.  Optimally, I would draw a small skybox and disable DepthTesting on all other objects, but since I want those to display in the right depth order, that isn't possible.  How can I do this?


I used the built-in upgrader to upgrade to 19.04 today, and I'm now stuck in a login loop. I have tried many solutions from forums, but nothing has worked. Is there something I'm missing or anything else I should try?   From what I've seen, I don't think that there is an Xauthority file on my computer. I'm on a Dell XPS 15 with a GTX 1050Ti Max-Q GPU, and a Core i7 processor. I also have a Windows dual boot, and while Ubuntu's my main OS, luckily almost everything is on GitHub, Google Drive or my Windows partition.   Results of ubuntu-drivers devices :   emil@emil-XPS-15-9570:~$ ubuntu-drivers devices == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 == modalias : pci:v000010DEd00001C8Csv00001028sd0000087Cbc03sc02i00 vendor   : NVIDIA Corporation model    : GP107M [GeForce GTX 1050 Ti Mobile] driver   : nvidia-driver-418 - distro non-free recommended driver   : nvidia-driver-415 - third-party free driver   : nvidia-driver-396 - third-party free driver   : nvidia-driver-390 - distro non-free driver   : xserver-xorg-video-nouveau - distro free builtin   Results of sudo systemctl start graphical.target :  Failed to start graphical-target.service: Unit graphical-target.service not found.


I have been trying to simplify $\sum_{i=1}^{n-2}i(n-1-i)$  i.e - remove the summation, put it in polynomial form  Since $i$ is the changing variable, I don't think this is possible.  I also know that the simplified answer should be in polynomial form with highest degree 3, as this stems from a nested loop time complexity problem in programming.  Is it possible if we rewrite this summation, as it has a kind of symmetrical property.  The second half of the summation is identical to the first half.


I'm trying to find a way to print the position of every item in a list. For example: example_lst = ['dog', 'cat', 'plant']  print(example_lst.index(*))  Output: >>> ['dog, 0', 'cat, 1', 'plant, 2']  Apologies if the example above is confusing. Regardless, any help is greatly appreciated!


Is it true that quantum mechanics technically allows anything to happen?

Maybe this is a silly question (I think it is), but it's a question I'm arguing with some of my friends for a long time.  The ultimate question is: Is everything (in our Universe) possible ?  I've read some books (Penrose, Hawking, Greene, etc.) where it was clearly stated several times that quantum mechanics allows any situation to happen (e.g. everything is possible) - even with absurdly tiny probabilities?  Does this mean only physically possible - or "ultimate" possible ?  For example (I know this example seems really absurd, but I'm saying this so you get the idea) what my friends clame it is possible:   If I ask my friend(s): "Is it possible there is a Sun-sized star in my pocket right now?" They will respond: "Yes, there is very very tiny possibility this can be true!" Etc.


Is the ground level cross section of a normalised lidar dataset flat?

If I normalise a lidar dataset I am (according to my thinking) simply subtracting the first return heights from the ground heights. Thus the resulting dataset will only contains the height above ground and a mountainous region would then appear flat when visualised as a cross section profile. Is this correct?


How to compute $\langle n'| (a^++a)^k | n \rangle$ for arbitray $k$?

I'm trying to compute the 2nd order correction to the energy spectrum of a 1D quantum harmonic oscillator when a perturbation of the form $\gamma\,\hat{x}^k$ (with $\gamma\ll1$) is added to the Hamiltonian. This is $$E_n^{(2)}\equiv\langle \psi_n^{(0)} | \,\gamma\hat{x}^k\, | \psi_n^{(1)} \rangle = \sum_{n'\neq n} \frac{{\left|\, \langle \psi_{n'}^{(0)} | \,\gamma\hat{x}^k\, | \psi_n^{(0)} \rangle\,\right|}^{\,2}}{E_n^{(0)}-E_{n'}^{(0)}} = \left(\frac{\hbar}{2m\omega}\right)^k \sum_{n'\neq n} \frac{{ \gamma^2 \left|\, \langle n' | \,(\hat{a}^\dagger+\hat{a})^k\, | n\rangle \,\right|}^{\,2}}{\hbar\omega\,(n-n')}\;.$$ where $\,\hat{x}=\sqrt{\frac{\hbar}{2mw}}\,(\,\hat{a}^\dagger + \hat{a}\,)\;$, $\;E_n^{(0)}=\hbar\omega(n+1/2)\;$ and $\;| \psi_n^{(0)} \rangle\equiv|n\rangle$.  Now, the question is how to compute this term: $$\alpha_{n'n}\equiv \langle n' | \,(\hat{a}^\dagger+\hat{a})^k\, | n\rangle =\left(\frac{\langle \,0\,|\hat{a}^{n'} (\hat{a}^\dagger+\hat{a})^k {\hat{a}^\dagger}^n\, |\,0\, \rangle}{\sqrt{n'\,!\; n!}}\right)\;.$$ I think it can be "easily" obtained uaing Wick's theorem but I'm not sure about how to apply it. I'm struggling with the part of counting all of the possible ways to fully-contract the operators for any $k$. Do you know any shortcut or some hint to help me compute it?. In fact, is it even manageable?.


I was refused a UK visa because of my visit history

I plan to attach my 2014 and 2015 annual leave letters to prove I was on leave, and a letter from my sales manager who was in charge of the business during my vacation.  I intend to explain all my sources of income in additional letter because the ECO calculations of my income were different from mine.   How else can I improve my new application?


I know \DeclareOption{option name}{option content} but how is this used to pass a variable number into the package? for example, \usepackage[margin=1in]{geometry} passes 1in to the margin option of geometry; how could I replicate that behavior in my own package?


How to remove .0 after a double while converting to string

What is the best way to convert a double xx.xx to the following strings in Java?   22.0 to 22 22.1 to 22.1 22.22 to 22.22 22.00 to 22   If the decimal part is 0, just need the whole number.


Some guidance tips as a brand new user to Stack Exchange

I'm a brand new user to Stack Exchange and I was wondering if I could get some guidance on how this site works and how to ask questions. I have been told by my friends I need to be clear and understandable when writing, otherwise I will get downvoted and put in "the slaughterhouse".  When I first signed up, there was a page that explained how to write good questions. However, it seemed quite vague and I'm not sure it was massively helpful. Can I have some guidance from you guys with more experience in the Stack Exchange community on the basics of how Stack Exchange works, as well as an explanation of how to write good questions on Stack Exchange?  It would be very much appreciated!


How to escape `--` in bash script for git log command

The git log command can specify a custom format, ie, git log --pretty=format:'%cD %<(20)%cn %f'  Will format the log files into columns. But I can't get this to work in a two line bash script: #!/bin/bash set -x CMD="git log --pretty=format:'%cD %<(20)%cn %f'" $CMD  It looks like bash is adding backslashes in front of '--' and single quotes... + CMD='git log --pretty=format:'\''%cD %<(20)%cn %f'\''' + git log '--pretty=format:'\''%cD' '%<(20)%cn' '%f'\''' fatal: ambiguous argument '%<(20)%cn': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'  I've tried escaping different parts of the command but can't git it to work. Any ideas?


Set shortcuts to change keyboard layout in Windows 10?

Is there any way to set keyboard shortcuts to quickly change to a different language/keyboard layout? The old shortcuts still seem to work (when set back in Windows 7), but I can't seem to find anything to change it in Windows 10.


Every country is trading with other countries around the world, some more than others.  I was wondering if there would be any change to the Earth's rotation because of the imbalance of trade between countries.


How can I measure how much CPU and RAM has been used by a command?

I'm trying to measure the memory of a process that I call via the command line (i.e., I want to find out much CPU/RAM the process takes). Is there any command that I can add to the command calling the process that will achieve this?


Will BigSur Beta update do a fresh install or upgrade Catalina?

when you install the BigSur Beta, does it upgrade the current installation of Catalina (if there is one) or will it always to a fresh install? Best


How to sync iCloud contacts with Google?

I recently started using the Gmail app on my iOS devices because it has better search functionality than the native Mail app. However, that means that when I'm writing emails the app is using my Gmail contacts and not the local phone contacts, which is annoying. The solution is to keep my iCloud contacts, which currently sync between my Mac and my iOS devices, in sync with Google as well. What is the best way to do this? It appears that I can sync my computer's local contacts using Address Book, but that won't help with my contacts which are stored in iCloud.


I've watched DBZ, and ready most of the manga but for the last 3 years I've forgotten about Dragon Ball as I haven't had time to watch DBS or the movies. Well I really want to catch up. But I don't know how. And yes I'm aware how ridiculous this is considering the series is nearing its 100th episode. Please what's the fastest or most reliable way to catch up on it?


I live in an area where ricotta cheese is non existent, and all the dairy products I have access to are high temp pasteurized. Will that work?  Are there any herbs in ricotta? I'm trying to make my lasagna without it, and it would just would not be the same.


Is it safe to leave the Remote Desktop Services port on the default?

I operate some Windows Servers (with Windows Server 2019 Standard) that work with sensitive business informations. These servers are accessed by Remote Desktop Services (mstsc.exe), using the default port which is 3389. I recently read on Quora that there are a large amount of mstsc logins on sale on the dark web. So I wonder that is it safe to leave the Remote Desktop Services port on the default (which is 3389)?


Can my spouse receive an emergency UK visa to visit a funeral?

I'm a British national. My grandmother just passed. My wife is Chinese. In general it's a major pain to get my wife a visa to visit the UK, we have never been before.  Is there any way to get an emergency visa to attend the funeral?  What sort of documents would we need?


How Do I Apply to Become a Marketplace Creator?

So I wanted to make some minecoins and I also heard that anyone become a marketplace creator could but I don't know where to apply. I'm in Minecraft Pocket Edition 1.14.30. Can you tell me where I can apply?


If we connect the two terminals of a semiconductor diode with a simple wire, then will the current flow?

We know that inside a semiconductor diode, there is an internal electric field from the N side to the P side. This implies that the N side is at a higher potential than the P side of a semiconductor diode. Thus, if we connect the two terminals of a diode with a simple wire then the current should flow, but my textbook (Concepts of Physics - H C Verma) says that the current will not flow. The reason is not explained in the book. Could somebody explain to me, why the current will not flow when it seems it should? Following diagram shows the internal electric field and corresponding potential barrier.


Right now I have vector3 values represented as lists. is there a way to subtract 2 of these like vector3 values, like  [2,2,2] - [1,1,1] = [1,1,1]   Should I use tuples?  If none of them defines these operands on these types, can I define it instead?  If not, should I create a new vector3 class?


Why does Leia's accent change during A New Hope?

In the first 30 minutes of Star Wars IV, Leia has a pseudo-British accent.  As the movie progresses she loses her accent and gets a more American-tough girl accent.  Is there a reason behind this?


Hello I'm new to Java Programming and I'm trying to develop a pet program that reads and counts the types of pet a user inputs

I have tried using the Scanner & Stringtokenizer classes to count the number of times a specific pet is inputed but end up getting the no output. I cannot seem to figure out what method I need to count the number of pets(dogs, cat, etc..) so I can get the right output for the number of dogs, cats, etc.  String pet,temp, output, dog = "dog", cat ="cat", other ="other";     double payment, totalPayment = 0, dogCount = 0, catCount = 0, otherCount = 0, totalDogNum = 0;     int more = 0;        while(more == JOptionPane.YES_OPTION)     {     pet = JOptionPane.showInputDialog(null,              "Enter the pet type ", "",JOptionPane.QUESTION_MESSAGE);      temp = JOptionPane.showInputDialog(null,             "Enter the payment for the appointment ", "",JOptionPane.QUESTION_MESSAGE);     payment = Double.parseDouble(temp);      more = JOptionPane.showConfirmDialog(null, "Would you like to add another pet?", "", JOptionPane.YES_NO_OPTION );      if (pet == dog )     {         dogCount = dogCount + 1;     }     else if (pet == cat)     {         catCount += 1;     }     else     {         otherCount += 1;     }      totalPayment += payment;     }        output =  "Number of Dogs: "+ dogCount             + "\n" + "Number of Cats: " + catCount             + "\n" + "Number of Other Pets: " + otherCount


How to vertically center span with float:right in div?

TEST

       TEXT
       TEXT
       TEXT
       TEXT

  .card {   width: 200px;   }  .card-header h5 {   display: inline; }  .card-header span {   float: right; }   In this example fa icon in span is align to top.  How can I vertically align this span?  jsfiddle:


Postgresql prompts for configuring tzdata when installing during docker image building

I am trying to build a docker image with postgresql with Ubuntu. When the image is being built during the postgresql installation apt prompts for the config data (e.g. time zone settings), but the terminal emulator does not send a keypress for the apt's prompt. How do I either suppress this prompts or send some default values? Host OS: Windows 10 Dockerfile (meaning strings): FROM ubuntu:18.04 RUN apt-get update -y RUN apt-get install -y  python3-pip python-dev build-essential postgresql-server-dev-10 postgresql RUN pip3 install -r requirements.txt


No Wifi Adapter Found Lenovo C940 PLZ Help

I recently bought a new laptop from Best Buy and decided to boot Ubuntu on it.  The installation went on without a hitch except for the fact that Ubuntu can't seem to connect to the wireless card.  I enabled 3rd party software during the installation process and also tried some of the suggestions here:  But no luck. Here is the Output of lshw -C network:   WARNING: you should run this program as super-user.   *-network UNCLAIMED               description: Network controller        product: Intel Corporation        vendor: Intel Corporation        physical id: 14.3        bus info: pci@0000:00:14.3        version: 30        width: 64 bits        clock: 33MHz        capabilities: bus_master cap_list        configuration: latency=0        resources: iomemory:600-5ff memory:601d164000-601d167fff   *-network        description: Ethernet interface        physical id: 1        logical name: enp0s20f0u7        serial: d2:63:8d:38:84:17        capabilities: ethernet physical        configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.246 link=yes multicast=yes WARNING: output may be incomplete or inaccurate, you should run this program as super-user.   And Here is the output of lspci:  00:00.0 Host bridge: Intel Corporation Device 8a12 (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Device 8a52 (rev 07) 00:04.0 Signal processing controller: Intel Corporation Device 8a03 (rev 03) 00:07.0 PCI bridge: Intel Corporation Device 8a1d (rev 03) 00:07.1 PCI bridge: Intel Corporation Device 8a1f (rev 03) 00:0d.0 USB controller: Intel Corporation Device 8a13 (rev 03) 00:0d.2 System peripheral: Intel Corporation Device 8a17 (rev 03) 00:12.0 Serial controller: Intel Corporation Device 34fc (rev 30) 00:14.0 USB controller: Intel Corporation Ice Lake-LP USB 3.1 xHCI Host Controller (rev 30) 00:14.2 RAM memory: Intel Corporation Device 34ef (rev 30) 00:14.3 Network controller: Intel Corporation Device 34f0 (rev 30) 00:15.0 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP Serial IO I2C Controller #0 (rev 30) 00:15.1 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP Serial IO I2C Controller #1 (rev 30) 00:15.2 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP Serial IO I2C Controller #2 (rev 30) 00:16.0 Communication controller: Intel Corporation Device 34e0 (rev 30) 00:1d.0 PCI bridge: Intel Corporation Ice Lake-LP PCI Express Root Port #9 (rev 30) 00:1f.0 ISA bridge: Intel Corporation Ice Lake-LP LPC Controller (rev 30) 00:1f.3 Multimedia audio controller: Intel Corporation Device 34c8 (rev 30) 00:1f.4 SMBus: Intel Corporation Ice Lake-LP SMBus Controller (rev 30) 00:1f.5 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP SPI Controller (rev 30) 55:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981   Any Help would be much appreciated!


Motion tracking video will not appear in render

I'm trying to do some simple motion tracking in Blender and all I need is for the video I imported to show in the render.  This is how I was told the nodes are supposed to be set up. I have my movie clip and my rendered layers.  But the render looks like this... I really would appreciate some help


In my CMS i don't have a registration system. Just a login one,meaning that the password is predefined inside the table. Ie I put my username and my set up password and I can successfully login. However that password is visible inside my table. How can I hash it? When I do that using sha1,I can't login. I have to login with the exact password which is stored in the table.   Here is my code.   <?php  session_start();  ?>  <!DOCTYPE HTML>     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />    <title>Admin Area</title> <link rel="stylesheet" href="login-css.css" media="all"/>

Admin Login
    <form method="post">     <input type="text" name="user_name" placeholder="Username"        required="required" />     <input type="password" name="user_pass" placeholder="Password"      required="required" />     <button type="submit" class="btn btn-primary btn-block btn-large"       name="login">Admin Login</button> </form>

<?php echo  @$_GET['not_authorized']; ?>
       <?php    include("includes/connect.php"); if(isset($_POST['login'])){     $user_name = mysqli_real_escape_string($con,$_POST['user_name']);     $user_pass = mysqli_real_escape_string($con,$_POST['user_pass']);       $check_user = "select * from user where user_name='$user_name' AND user_password='$user_pass'";      $run_user = mysqli_query($con,$check_user);        if(mysqli_num_rows($run_user)>0){          $_SESSION['user_name'] = $user_name;          echo "";     }else{         echo "";     }   }  ?>   And my table sql code.  CREATE TABLE IF NOT EXISTS `user` (   `id` int(10) NOT NULL AUTO_INCREMENT,   `user_name` varchar(100) NOT NULL,   `user_password` varchar(100) NOT NULL,   PRIMARY KEY (`id`) ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;  INSERT INTO `user` (`id`, `user_name`, `user_password`) VALUES (7, 'theo', 'test');   So the password should not be shown as test.   Any ideas,  Thanks.