Display of dates/times in ISO 8601 format in Files (Nautilus)

Is there a way to get the file manager Files (Nautilus?) and other applications under Ubuntu to display the date and time in standard ISO 8601 format, instead of the "comfortable" style, like "Yesterday 09:39". I haven't been able to find an option anywhere to display date/time in ISO 8601 format in Files.  For example, right-clicking on the "Modified (date)" field in Files produces nothing useful in this regard, and trying Ubuntu Settings -> Date&Time gives me no choice at all for the date format. Added -- And there is now nothing in Nautilus Permissions that allows a change of date format. Shouldn't ISO 8601 be the standard for all applications under Ubuntu, and those users who don't want it should have to set their own option, somewhere? Using Ubuntu 20.04.1 LTS.


How to remove the self-reference of the ToC in Latex book class

I want to remove the self-reference of the ToC in Latex book class as in the picture below    Can you help me?


What is linux command to navigate to the previous directory (or back)?

I think my observation linux to navigate to the previous directory (or back) command is cd- but it is not working code cd-


When one creates a post anonymously on a StackExchange site that allows it and supplies their e-mail address, the site leaks the Gravatar associated with given e-mail.    I believe this is a minor privacy violation. To me it would make more sense if the site used random Gravatar.


Capitalization of citation at sentence beginning with biblatex and natbib

I use natbib compatibility code with biblatex and it should produce a capital letter but it does not. I even tried another representation of the name but this got worse: The van got dropped. biblatex has the command defined \newrobustcmd*{\Citet}{\bibsentence\citet} but somehow \bibsentence seems to be broken. Is there any way to fix this and get the functionality?  \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib}  @article{vanTrijp2013a,         Author = {Remi {van Trijp}},         Year = {2013} }   @article{vanTrijp2015a,         Author = {van Trijp, Remi},         Year = {2015} }    \end{filecontents*} \usepackage[backend=biber,natbib=true,   citestyle=authoryear-comp]{biblatex} \addbibresource{\jobname.bib} \begin{document}  \Citet{vanTrijp2013a} should come out as Van Trijp (2013).  \Citet{vanTrijp2015a} drops the \emph{van} alltogether. \printbibliography \end{document}


changing a web browsers default scroll bar advice

So, I want to change my browsers scroll bar to something a little nicer looking like the scrollbar that www.twitch.tv uses.  But then I noticed that not many other websites change their scrollbars. Is there a reason for that?  Is it best to leave them as default?


What did Buster Moon say to the dancers that offended them?

During the movie Sing, Buster Moon constantly tries to shoo away five young, presumably Asian dancers, but finally he attempts to allow them in his show. Finding they can't speak English, he gets out a translation dictionary and says something that seemed to offend them as one slapped Buster.    What was it that Buster said to them?


Trying to install Xfce on Ubuntu Server 18.04 but no GUI on reboot

When I run  sudo apt-get update  sudo apt-get upgrade  Sudo apt-get install xfce4    On Ubuntu server 18.04, it says it installed all the packages but when i reboot i still don't have a GUI! What am i doing wrong???  The other post is using   sudo apt install --no-install-recommends xubuntu-core   I'm very unclear why  sudo apt-get install xfce4    Is not giving me a GUI. I don't want my server to be turned into a full-blown desktop (I don't want a bunch of software and applications that I don't need ) GUI I just want the base of Xfce. Unless I'm missing something here and   sudo apt install --no-install-recommends xubuntu-core    is just the base, either way please explain, why I install xfce4 but still don't see a GUI? Is there something else that I need to install prior to this?   when I tried this method I still got no GUI.  Also in the page that you say is duplicate in the third post down the answer is to run   sudo apt-get install xfce4    to install Xfce desktop and that doesn't work for me.


When do the differences between APS-C and full frame sensors matter, and why?

I'm trying to decide on a higher-end digital SLR, and I'm down to choosing between an APS-C model and a full-frame model.  I understand that the sensors are of different sizes, and as such have an effect on the perceived magnification of the lens, with the smaller APS-C sensor having an effective focal length greater than what it otherwise would be with a full frame sensor. But why does this matter?     What things should drive my choice between one or the other?   In which situations is one better than the other, and why?


Material Turns Black When Adding a Colour Node

I've got a bit of a problem with one of my materials. In the node editor, when I put the image texture straight to the surface output of the mesh it shows up perfectly in the rendered viewport. Same thing when I put it through a diffuse node first. When I add any colour node in the chain it makes the mesh turn completely black. Any reason why this is? It happens with any colour node (Gamma, Hue/Sat, Bright etc.)  There's some photos below of what happens before and after adding a colour node to the chain.  Thanks in advance :)  Before:   After:


Re-entering the US for the third time in a year with total of 240 Days

I went to the US for 90 days on an ESTA in August to November. Then back to my home country for 1 month and then back again mid December until mid February and now I am going back again after 10 days for another 90 days. Now I can see that some people refer to 180 day rule in a year. My stay will be 240 days in one year with short gaps between coming back. Is the 180 day rule accurate? Some people write that you can do unlimited trips to The US as long as you don't stay more than 90 days. Is that correct? My reason for going there the first time was to visit and travel with an American friend.  After my first visit (she is my girlfriend) moved with me to my home country but has ended up in a custody battle in the US so she needed to return urgently so I returned only to be with her and support her, not to be a tourist.  Then after my second visit I needed to go back to my sick Dad and to rent out my apartment since we left in a rush to go back to the US.  Now, my third visit is to continue to be with my girlfriend and support her in her difficult situation.   My question is, if I do end up in trouble should I tell them this whole story? Or should I just say I am visiting a friend for a third time because I want to see more of the country and I have some more time off before I go back to my job.  I have proof of money in my bank account and I stay and eat with her for free Documented proof that I have a job to return to in my home country My return ticket printed and an address to stay at in the US and I have proof I have an apartment in my home country


How many possible settings with enigma machine?

I am currently writing an assignment about the Enigma machine, and im wondering how it makes sense that the highest possible ammount of settings is 158,962,555,217,826,360,000, with 10 wires plugged in the plugboard. When i calculate the ammount of settings with 11 wires plugged in, i get 216,767,120,751,581,400,000. This is the calculations i have done: 1054560*((26!)/(4!11!))(((1)/(2)))


Show that F(A−B) is not necessarily a subset of F(A)−F(B).

Let $U = \{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12\}$, and $f$ be a function from $U$ into $U$.   Finally, let $F : P(U) \to P(U)$ be the function defined by  $$F(X) = \{f(x) | x \in X\}$$  For instance, if $f(x) = 13 − x$, and $X = ${1, 3, 4, 7}, then $$F(X) = \{f(1), f(3), f(4), f(7)\} = \{12, 10, 9, 6\}$$  Show that $F(A−B)$ is not necessarily a subset of $F(A)−F(B)$.    I am having trouble showing an example. Let's say:  $A = \{1,3\} , B = \{2,3\}$  $F(A) = \{f(1),f(2)\} = \{12,11\}$  $F(B) =\{f(2),f(3)\} = \{11,10\}$  Now, $F(A-B) = \{12,10\}$  $F(A)-F(B) = \{12\}$.  Hence, $\{12,10\} \nsubseteq \{12\}$ <-- hmm..  By definition if $A \nsubseteq B$, there exist an $x \in A$ such that $x \notin B$. From my example, we have $x=10 \in A $ but $\notin B$. Is that sufficient?     I'm confused between the difference of $F(A-B)$ and $F(A)-F(B)$.


Write command in one terminal, see result on other one

I want to run a command foo on one terminal and pass the result to another terminal. Is it possible to do this ?


Why does a one-time-pad key have to be at least as long as a message?

I am studying one time pad and find it hard to understand. What happens if the key is one bit or 100 bits shorter than the message?


C strings Breaking up a string with multiple '\n'

int main(void){ char* line = "CCCCCCC\nC+\nC++"; char* line2 = "a\nb\nc"; //char* pattern = ".\\+\\+"; //int n= strlengp(line); printf("%s\n", line); printf("%s\n", line2); fputs(line, stdout);   This code correctly prints: CCCCCCC  C+  C++  a  b  c  Now my issue is this, I am working on  rgrep function implemented without string.h. Below is the main from the code im working on, which I am not to modify.  int main(int argc, char **argv) {    if (argc != 2) {         fprintf(stderr, "Usage: %s <PATTERN>\n", argv[0]);         return 2;     }      /* we're not going to worry about long lines */     char buf[MAXSIZE];      while (!feof(stdin) && !ferror(stdin)) {         if (!fgets(buf, sizeof(buf), stdin)) {             break;        }        if (rgrep_matches(buf, argv[1])) {            fputs(buf, stdout);            fflush(stdout);        }    }      if(ferror(stdin)) {        perror(argv[0]);        return 1;    }     return 0; }  int rgrep_matches(char *line, char *pattern){    printf("%s", line);    return 0; }   Now when I run the above code on  test test file containing the same strings as the above code "CCCCCCC\nC+\nC++","a\nb\nc".  Whys does the above code output:  CCCCCCC\nC+\nC++  a\nb\nc  Clearly ignoring the '\n'.  When the test code built in a different file posted at the top of the page prints:  CCCCCCC  C+  C++  a  b  c  What is going on here?


I've tried to make a custom moderncv theme, as I didn't want my CV to look like all the others Latex-made CVs.  But I'm facing a (minor) problem: pdflatex doesn't recognize it, and I get a ! LaTeX Error: File 'moderncvstylecustom.sty' not found., even though this file exists and is in the same folder as the other moderncv themes (which is /usr/share/texmf-dist/tex/latex/moderncv/ in my case). I have to supply it the absolute path to this file every time, and it gets annoying after a few compilations.   Has anyone an idea on how to fix this? Thanks in advance, viod


How to read Unicode text file in PHP. i have used HTML tag <meta http-equiv="content-type" content="text/html; charset=utf-8">.  i have some content in 15.txt like.     جوڈیشنل کمیشن کا کاروائی کھلی عدالت میں جاری رکھنے کا فیصلہ ; پانچ مئی کو شہادتوں پر جرح کا آغاز کیا جائیگا   but this code print this type (ÿþEÌ1' F'E 9E1'F ÁÒ)  i want to print Urdu contents, plase tell me where i am wrong   $row = 1; $myFile = 15.txt; // Unicode Formate.  if (($handle = fopen($myFile, "r")) !== FALSE){     while (($data = fgetcsv($handle, 1000, ";")) !== FALSE) {      $num = count($data);      $row++;     $row1 = $data[0];     $row2 = $data[1];         echo '<h1>'.$row1.'</h1>';     }       fclose($handle);   } else {     echo "Error deleting record: " . $conn->error; }   when i show


Is there any other way to bind data type through IN clause using PreparedStatement(datastax)?  Query looks like that:  SELECT * FROM table WHERE day IN(?)   Day is a date type. There will be N elements (up to user).    It is impossible to bind List of days due to exception which say   Codec not found for requested operation: [date <-> java.util.ArrayList]    According to post  the only possible way I can see now is the first one - execute for each value but I would not like to do that. It may extend response time to unacceptable value.   Here is how I execute query:  ResultSet rS = dataSource.executePreperedStatement(query, day); private ConcurrentHashMap<String, PreparedStatement> queryToPrepStmt; public ResultSet executePreperedStatement(String query, Object... values){         PreparedStatement pS = null;         if(queryToPrepStmt.containsKey(query)){             pS = queryToPrepStmt.get(query);         } else{             pS = session.prepare(query);             queryToPrepStmt.put(query, pS);         }         if(pS!=null){                 BoundStatement boundStatement = pS.bind(values);                 return session.execute(boundStatement);         }         return null;     }


I have my son's laptop.  He passed away this year and I am trying to access his computer.  I dob't have the password or the email address he used.  It is asking me for an authentication code when i try to go in as administrator.    Can you help me?


How can I open a cmd window in a specific location?

How can I open a cmd window in a specific location without having to navigate all the way to the directory I want?


I'm running Win 7 x86 on a Lenovo Thinkpad Z61m in dual boot mode with Win XP, both OSes are running on separate partitions. I have a faulty battery and if left unplugged my laptop shuts usually down within 10 minutes. Last night, it shut down due to this, but after plugging in AC power and starting back up I'm stuck at the "Starting Windows" screen, I'm unable to boot into safe mode or into recovery mode(XP boots fine).  I believe I had installed some Win 7 updates the same/previous day. From one of the boot options I was able to see that Windows 7 is getting stuck on CLASSPNP.SYS  How can I go about fixing this?  I do have a complete Win 7 Restore CD that I created after setting up my machine, I'm unable to boot into this either.  Please help!


Can't switch from Calendar month view to day

From the calendar month view, I can't select a date, and jump to the day view.  Running iOS 9.0.2 on iPhone 6


How to do liklihood ratio test comparing two models

I am simply asking that how to do likliehood test for 2 models using pchisq. I have a question in which it is asked that i have to do  likelihood ratio test comparing the models. I have calculated models as model1 <- glm (val ~ val2, family=binomial, data=xyz) model1 <- glm (val ~ val2 + val3 + val4, family=binomial, data=xyz)  now how would i do the likli hood test on these 2? I see the formula is 1 - pchisq(glm1$null.deviance - glm1$deviance, df = (glm1$df.null - glm1$df.residual))  But this is doing only for 1 model (which is stored in glm1 variable). Is the question asking me to do test independently and then compare the output of 2 models? Or there is a way in which i can input 2 models in a funciton to get the result?


Cardinality of $\mathbb{R}$ and $\mathbb{R}^2$

I am working on this exercise for an introductory Real Analysis course:     Show that |$\mathbb{R}$| = |$\mathbb{R}^2$|.   I know that $\mathbb{R}$ is uncountable. I also know that two sets $A$ and $B$ have the same cardinality if there is a bijection from $A$ onto $B$. So if I show that there exists a bijection from $\mathbb{R}$ onto $\mathbb{R}^2$ then I beleive that shows that |$\mathbb{R}$| = |$\mathbb{R}^2$|.   Let $x_i \in \mathbb{R}$, where each $x_i$ is expressed as an infinite decimal, written as $x_i = x_{i0}.x_{i1}x_{i2}x_{i3}...,$. Each $x_{i0}$ is an integer, and $x_{ik} \in \left \{ 0,1,2, 3, 4, 5, 6, 7, 8, 9 \right \}$. Then, let  $$f(x_i)=(x_{i0}.x_{i1}x_{i3}x_{i5}... ,x_{i0}.x_{i2}x_{i4}x_{i6}...)$$  What should I do to show that $f: \mathbb{R} \to \mathbb{R}^2$ is an injective function? Any suggestions or help with the question would be appreciated.


I have a macbook pro late 2011.  At this moment I am running the basic 2x 2GB 1333MHz rams ,but I want to upgrade.  Now,I have read on some forum that this macbook can run 1600MHz rams even though Apple sold it with 1333MHz rams.  Any ideas what's up with this?I am a bit confused at this point as I don't know what to buy.  Also, are Kingston memory sticks good?I had a kingston SSD a few months ago and it was just great ,but don't know about rams.


Gravitational lensing in the form of optical equation $\frac{1}{p} + \frac{1}{q} = \frac{1}{f}$?

Gravitational lensing and light deviation is a well known subject in General Relativity.  I'm wondering if the null geodesics equation could be recast into the classical lenses equation: \begin{equation} \frac{1}{p} + \frac{1}{q} = \frac{1}{f}. \tag{1} \end{equation} If it's possible, how should be defined the gravitational focal length $f$ ?  I never saw the geodesics equation written into the shape (1), even in the case of the Schwarzschild metric: \begin{equation}\tag{2} \frac{d k^{\lambda}}{d \sigma} + \Gamma_{\mu \nu}^{\lambda} \, k^{\mu} \, k^{\nu} = 0, \end{equation} where $k^{\mu} \propto \frac{d x^{\mu}}{d \sigma}$ is a null four-vector: $g_{\mu \nu} \, k^{\mu} k^{\nu} = 0$.  The weak field approximation is defined by the following metric: \begin{equation}\tag{3} ds^2 \approx (1 + 2 \phi) \, dt^2 - (1 - 2 \phi)(\, dx^2 + dy^2 + dz^2), \end{equation} where $\phi \ll 1$ is a gravitational potential (I'm using $c \equiv 1$ and metric-signature $(1, -1, -1, -1)$).  Could the geodesics equation (2) be reformulated into the shape of (1), assuming the special case of the Schwarzschild metric, or the weak field metric (3)?  EDIT:  I'm thinking about this kind of rays, with their focal length dependant on the impact parameter:


Georeferencing *.tiff to given feature geometry automatically?

I´ve got the task to georeference an tiff image to the referencing polygon footprint (Polygon). I have found a lot of ways to do get the footprint from a raster but I could not find a way to use pyqgis or gdal to do it the other way around. Hints using ESRI ArcGIS are also welcome.


What is the maximum or minimum tire width I can fit on my bicycle

We often get questions on bicycles.stackexchange about fitting wider or narrower tires to bicycles. We have a large number of these with answers suiting the specific bike or style of bicycle in question, but I have been unable to find one that provides a generic answer covering off all things that need to be considered. For most bicycles, the answer is the same regardless of the specific style and sizes of tires in question.   This is intended as a canonical question that we can point closed questions to.


Is it possible to write $\tan^{-1}(x)$ as a power series of $\tanh(x)$?

$\tan^{-1}(x)$ looks very similar to $\tanh(x)$ if $x$ is small enough.  Look.    But they diverge from each other as $x$ grows.    And for very big $x$'s, They almost represent the constant functions $1$ and $\frac \pi 2$ (for $\tanh(x)$ and $\tan^{-1}(x)$, respectively).    Is it possible to write $\tan^{-1}(x)$ as a power expansion of $\tanh(x)$?  I mean can we say this?  $$\tan^{-1}(x)=\sum^{\infty}_{i=0} \alpha_i \tanh^i(x)$$   The power series is the thing I want. Not the resemblance between them.


Is it possible to split micro USB to USB cable so two cables (data + and data -) go to the PC with USB and two other power cables go to power brick?


to start, this is my code :      NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL                                                           URLWithString:url]];      NSData *response = [NSURLConnection sendSynchronousRequest:request                                              returningResponse:nil error:nil];      NSDictionary *publicTimeline = [NSJSONSerialization JSONObjectWithData:response       options:0 error:&jsonParsingError];      for (NSObject* key in publicTimeline) {         id value = [publicTimeline objectForKey:key];         NSLog(@"%@", key);     }   I take few news on a webservice, and i show it in a tableView.  My problem is that these news aren't show in order.  In my webservice, the news are in order, for example i have :      {"0":{"title":"News1"}}     {"1":{"title":"News2"}}     {"2":{"title":"News3"}}   etc..  but in the loop, i "loose" this order :/ And i want to have my news in this order, first the news with the index "0" after "1" etc...  (the NSDictionary seems to loose this order, for example, after my code, i have in my tableview, the news : "2", "0", "1", and not my news "0", "1", "2". )  (i tried some answers, but none seems to work in my case :( )  SOmeone to help me ? thx,


Unable to add PPA for DTS Audio in Ubuntu 19.04

I have an AMD E1-2100 APU in 2GB RAM.  I'm trying to use DTS Audio in my Ubuntu 19.04.  I tried adding the appropriate PPA repo using  add-apt-repository ppa:rebuntu16/avidemux+unofficial   But I get an error   E:/unable to .........   Please help me out with a step by step command line method.


How to pass comma-seperated values in clause in stored procedure

I am getting clause like this #ff0000,'#000'. But the problem is this I have to pass there values to a stored procedure as parameter to get the color names based on this color codes.  Here is my stored procedure   @ColorCode NVARCHAR(150) AS BEGIN     SET NOCOUNT ON;      SELECT *      FROM color      WHERE code IN (@ColorCode)   I want to pass these value for the IN clause, using a parameter. How can I do this?  Please suggest


Turn off shift right click to change workspaces

How do I turn off the workspace menu when doing SHIFT+RIGHT CLICK? I am trying to learn blender and SHIFT+RIGHT CLICK is used in blender for selecting multiple objects. This is also a problem with certain games.


''Can I take your umbrella I haven't brought mine with me.''true or wrong?

Can I take your umbrella I haven't brought mine with ... .     1.me      2.mine      3.my      4.myself   It is clear that 2 and 3 are false but I doubt between 1 and 4.I think I have heared the first one but the forth one seems OK.So what is the right answer?


I read from a book that "you and I" replaces "we" in a sentence, while "you and me" replaces "us". Examples:   The professor wants to see you and me [us].  You and I [we] will go together.    Is this correct? I was under the notion that "I" and "me" could be used interchangeably.


Log or square-root transformation for ARIMA


Illustrator Move two corners by the same distance?

I'm starting off with a square, and I want to drag the two bottom corners closer together so that the image will resemble a cup.  Right now, I am dragging each corner separately, and taking a note of how much I am moving the corner so I can apply the same distance to the other corner.  Is there an easier way to do this where I can select both and move them both at the same time?  Thanks!


I sometimes need abstract dynamic lines in some works. The image attached is a good example of what i'm trying to re-create. Any suggestion or good starting point / tutorial on how to create these sort of lines on illustrator (or photoshop) ?


I port forwarded 45555 and tested the port locally using , with the command PortQry -n <my local ip> -e 45555 and the verdict was LISTENING but when I tried to listen from the public IP address, PortQry -n <my public ip> -e 45555, the verdict was FILTERED. I assumed it had something to do with my firewall, or maybe the router firewall, so I disabled each then tried again, still no success. I even tried adding port rules in the firewall to allow inbound and outbound connections for this port. Could you kindly guide me on how to fix this? Please try to use layman terms where possible, I am not very able on these matters. I am using a PPPoE connection. My router is TP-Link Wireless N Router WR840N. The port is a TCP/UDP port. I got the public IP from Google by searching .  this is my WAN setup. My WAN IP is very different from the IP from google. But the DNS server match up except for last 3 digits.


Hypothetically, should I pay off the smaller + higher interest rate loan first, or the larger + higher absolute interest cost?

I have this hypothetical situation on my mind and I am not sure which is the best solution. Given:  Loan 1: $340,000 at an interest rate of 1.69% per year Loan 2: $40,000 at an interest rate of  3.6% per year  I have a fixed amount available to pay these, let's say, $1,500 monthly and I can decide how much I want to pay each one (I could pay 750/750, 1000/500, 1500/0 for instance). I do not have a time limit to pay these. My question: What is the optimal way to pay these? What I always heard is: pay the debt that has the highest interest first. This would lead me to a solution: pay loan 2 as fast as possible. But the total amount of interest on 340,000 is higher (in this case, $5780 annually) than the amount over $40,000 (1440, in this case), so, to me, it feels I should pay the Loan 1 first. I would love to run some simulations, but I have no idea how to calculate these things (I don't even have a clue on how to research it). ps: this is really a hypothetical situation, I am not getting such loans without being able to calculate it, don't worry ;)


I'm trying to add a column with VARCHAR(MAX) to a mySQL table, and i believe the syntax is correct, it's just not going through?   here is my code:  ALTER TABLE content ADD contents VARCHAR(MAX);   It says there is a problem with the MAX part of the code, even though I believe its correct, any help would be fantastic!


Does having negative correlation must also have negative coefficients in linear regression?

The data that I have has strong negative correlation with the response variable.   var1    -0.3049408       var2    -0.2874333       var3    -0.2760590       var4    -0.2708325       var5    -0.2697072       var6    -0.2667927       var7    -0.2425371       var8    -0.2406525       var9    -0.2405309       var10   -0.2263708     But when I added them to the linear models, some of the variables coefficients are positive. My colleague is saying that this doesn't make sense because the correlations are negative and explaining that var 8 has positive coefficients while other variables are -ve doesn't make sense. Is this true? If the model is correct, does it need for the coefficients to be negative if correlations are negative?


Tension as a function of distance from the centre of a rod AB rotating about its end A

My confusion is-  1) While taking limits, tension at end B of rod is taken 0, The function comes showing maximum Tension at end A.  But it seems to me that that at end A, T must be 0 as x=0 and at end B it must be max. Why?


How to color column heads determined width makecell

In my answer to question    I suggest to (between others) to use makecell package to define head of table and later I sow that the firs row is not colored as expected. It doesn't cover all row. Than I try to correct this with use of cellcolor construct as should be correctly done, when you use multicolumn (simplified MWE from mentioned question):  \documentclass[12pt]{article}     \usepackage[utf8]{inputenc}      \usepackage[table]{xcolor}     \usepackage{longtable}     \usepackage{makecell} \renewcommand\theadfont{\bfseries}  \usepackage[active,tightpage]{preview} \PreviewEnvironment{longtable}%     \setlength\PreviewBorder{1em}      \begin{document} \begin{longtable}{|*{9}{b{\dimexpr 0.11\linewidth-2\tabcolsep}|}}     \hline     \multicolumn{8}{|c|}{\cellcolor{gray!30}{\thead{head\\ 1}}}     & \cellcolor{gray!30}{\thead{head\\ 2}}   \\    \hline 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 \\     \hline\hline \endfirsthead     \hline 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 \\     \hline\hline \endhead A & B & C & D & E & F & G & H & I  \\ J & K & L & M & N & O & P & Q & R  \\ S & T & U & V & W & X & Y & Z &    \\     \hline\hline \end{longtable}     \end{document}   and discover that that head inmulticolumn doesn't has width of it and consequently head background color doesn't fill complete cell.     I Check makecell documentation, but doesn't find valuable information how to stretch actual head to cover entire cell. How to achieve that entire multicolum cell background will be colored?  addendum: for this particular case the stretch \thead over whole \multicolumn can be done on the following way: instead of  \multicolumn{8}{|c|}{\thead{\hfill head\hfill\\ 1}}   the multi column cell should be defined as  \multicolumn{8}{|p{\dimexpr 0.88\linewidth-\tabcolsep}|}{\thead{\hfill head\hfill\\ 1}}   where \dimexpr 0.88\linewidth-\tabcolsep is the width of multi col cell. then the result is:    however, general solutions are given in answers below.


How do we know that $F = ma$, not $F = k \cdot ma$

It seems intuitive that $a\; \propto \frac{F}{m}$, as the greater the force that is applied on an object, the greater its acceleration will be. Inversely, the greater the mass of the object, the slower the acceleration will be.  However, when rewriting proportions as equations, you must introduce a constant of proportionality, and in this case of a direct proportion, if $a \propto \frac{F}{m}$ then when rewriting as an equation you will have $$a = k\cdot\frac{F}{m}$$  In order to get the standard formula $F = ma$ this constant must be $1$. However, how do we know that this is the case? How do we know that the constant isn't $2$ and the formula $F = \frac{1}{2}ma$, for instance?


How to import or reproject SRTM 30 sec DEM

I downloaded the global SRTM DEM from . When I add the DEM as a raster layer (in my case topo30.grs file) the left/western edge of the file is at Greenwich and the right/eastern edge is at +360 degrees. This makes the layer run off the right side of the required area. The western hemisphere needs to be negative up to -180 degrees. I have attached an image which shows what I mean. Is there an easy way to import it with the right projection or reproject the SRTM. I don't understand why they created the DEM like this in the first place.


Find the limit of: $$\lim_{x\to 0}\frac{x^2 \sin 1/x}{\sin x}$$  Answer: Since $x^2 \sin\frac{1}{x}$, so $-x^2\leq x^2 \sin\frac{1}{x}\leq x^2$, thus $\lim_{x\to 0}x^2 \sin\frac{1}{x}=0$. I am now stuck with the $\sin x$ under it, how does this affect the limit?


A chart with data in the range of 200,000 and small difference between max and min values, will be assigned a 10^5 multiplier to the entire axis. This results in the ticks becoming meaningless, since all become 2.   Example:-  \begin{tikzpicture} \begin{axis}   \addplot coordinates {   (100,200001)   (200,200003)   (300,200005)   };     \end{axis} \end{tikzpicture}   When this is plotted the y-axis has 5 ticks, all of which are 2. The y-axis has a multiplier of 10^5. This has effectively removed all information from the graph.  I may use the below to set the explicit value of the tick values but this does not implement change in the display "style" of the axis ticks.  ytick = {200000, 200005, 200010}   I have also tried increasing the precision of the tick label to 5. However this only results in the graph showing labels such as 2.00000, 2.00005, 2.00010 with a 10^5 axis multiplier.  yticklabel style={precision = 5,}   My question is "How do I remove/change this 10^5 multiplier, such that the y-axis ticks are displayed in the form 200000, 200005, 200010.


I  have had no luck getting the buffer tool to accept anything but degrees as units of measure.  I have found lots of stuff saying the layer needs to be reprojected and saved but it hasn't worked at all for me.   Is there a way I could create a buffer without using ftools or at least force the units to meters somehow?  As a workaround I converted meters to degrees (lat) and used that but the final product needs to be as close to reality as possible.  Things I've tried:   setting every unit option I could find to meters (where possible). setting everything to NAD83/Maryland (data is for Washington, DC) and saving it as such (as layers in ESRI shape files). reimporting the reprojected layers setting relevant layers to Google Mercator   The was tried followed by creating a buffer. Many were tried in combination. QGIS 1.7.3 Slackware64 current (qgis from SBo-13.37 repo, tried on multilib and plain 64it with same results)


how to put the time in a textbox and save it in a var on c#

I'm developing something like  an diary of activities. the current problem is when the user needs to put the hour in a textbox whit this format 00:00 but i don't know how to save that information in a var. i tried with a maskedthextbox but doesnt work, now i found a method called 'datetime' it works but the problem its like i only need the time, i dont care the date i just wanna save the hour like the user put into the textbox. Ex: if the user says like  the first activity starts at 08:00 he gonna put 08:00 into a textbox and that information needs to be saved in a variable datetime i think, im not sure about what kind of variable i need to use to do that. Please if someone can help me.   edit: im using visual studio 15.Iim working on windows forms  this is the code of the problem:  private void button5_Click(object sender, EventArgs e)     {         /*            Im working with a datagridview control for the days of the week            in the code im only testing the code with one day         */          checkedListBox1.Visible = false;         comboBox1.Enabled = false;         comboBox2.Enabled = false;         textBox2.Enabled = false;         button3.Enabled = false;         button2.Enabled = false;         DateTime hi = Convert.ToDateTime(textBox3.Text);           if (checkBox1.Checked == true)         {             //this.dataGridView2.Rows[1].Cells[1].Value =   this.comboBox1.SelectedText;             dataGridView2.Rows.Add(comboBox1.Text);             dataGridView2.Rows.Add(hi);         }         if (checkBox2.Checked == true)         {             //this.dataGridView2.Rows[1].Cells[1].Value = this.comboBox1.SelectedText;             dataGridView3.Rows.Add(comboBox1.Text);         }         if (checkBox3.Checked == true)         {             //this.dataGridView2.Rows[1].Cells[1].Value = this.comboBox1.SelectedText;             dataGridView4.Rows.Add(comboBox1.Text);         }         if (checkBox4.Checked == true)         {             //this.dataGridView2.Rows[1].Cells[1].Value = this.comboBox1.SelectedText;             dataGridView5.Rows.Add(comboBox1.Text);         }         if (checkBox5.Checked == true)         {             //this.dataGridView2.Rows[1].Cells[1].Value = this.comboBox1.SelectedText;             dataGridView6.Rows.Add(comboBox1.Text);         }     }


The review queue counters have disappeared:        Where are they?  When I did screenshot the Close Votes queue was not empty, if someone think so.


My nephew asked me yesterday why the sky was blue. I tried to explain it to him as best and as dumbly I could, but I failed. I tried to explain the concept of scattering of light using an analogy of colliding marbles, but I wasn't really successful. Can someone give this to me in a way suitable for explaining to my inquisitive 3-year old nephew?


Why is my reputation down to 16 on Stack Overflow?

I had around 1700+ reputation points on Stack Overflow, but when I logged in today, it was 16. There hasn't been any notification or any email from Stack Overflow. Further, Stack Overflow is not displaying my name but some userXXXXXX. Why did this happen? I did not do anything wrong.  I am sure this was not because of serial upvoting. And why has the profile name changed?


How should a glass material be setup in Cycles?

A glass-shader produces a render like this:   Adding a transparent shader creates        Where does the border labeled as 1 come from? Why is the outer region (2) more translucent than transparent? Not sure this is a material or lighting issue.    With out a subsurf modifier it looks terrible:    I tried several values from the IOR range 'Glass': 1.440 - 1.900  Only the upper edges and bottom are beveled.


How accurate is American Crime Story: OJ Simpson?

Beware of minor spoilers if you know nothing about the  story.  How accurate is the series ? All the trials/hearings were televised (according to the series, if I'm not mistaken), and I'm guessing most of the facts are now public as well, since almost all major players wrote books about it.  Is the actual story known (do books agree on the same version of meetings and discussions), and is the series true to its story? Or is there a lot of creative liberty from the directors and writers? Do the hearings follow the original script and the defense made by the Dream Team and the offense?


I am travelling to Montreal from Beirut, Lebanon and transiting through Geneva, Switzerland. I am holding a Syrian passport. Do I need any transit visa in Geneva airport?


Did anyone try to introduce $(-1)^\infty$ or $\sin \infty$ and $\cos \infty$ as numbers?

It seems to me that if we introduce such numbers, due to Fourier series we would be able to express the value of any periodic function at infinity as a trigonometric series of the above values.  It would be also possible to express the values of functions such as $\cos 1/x$ at zero, making them continuous.  For instance, if we define $w=(-1)^\infty$ then $\cos^2(\infty)=(w+\frac1w)/2+1/2$  We also would possibly be able to assign precise values to the series like $\sum_{k=0}^\infty (-1)^k$


Mutineers force captain to record instructions to spaceship's computer but he leaves out "please"

The crew mutinies on a spaceship whose captain controls it with verbal orders. They test whether they can control the ship with recordings of the captain's voice with an order to increase orbital speed (currently orbiting a planet). It works, so they force the captain to record all the possible orders they may need, and execute him. Only then do they realize that the ship obeys only orders couched in polite language, and only the test recording was like this, but the other recordings are not. They will die once the ship's faster orbit somehow causes it to run out of fuel, or something like that. I seem to remember the ship's "computer" following the captain around on robotic legs. I read the story circa 1980, but it might have been published much earlier.


I want the software to have the following features   resize pictures  Reduce picture quality change pictures format (Example png to jpg) Crop the photo   Most of these tasks should be done together  Sorry, my English language is faint


Nullpointerexception when adding images into ArrayList

I'm attempting to load an image into a BufferedImage variable and store that in an ArrayList (ArrayList<BufferedImage> imgList).  public void loadImage(){     try {         String fileLoc = getClass().getResource("tile_unsearched.jpg").getPath();          fileLoc = URLDecoder.decode(fileLoc,"UTF-8");          File aFile = new File(fileLoc);          img = ImageIO.read(aFile);          imgList.add(img);     } catch (IOException e) {         System.out.println(e);     }  }    However I keep getting this error:  Exception in thread "main" java.lang.NullPointerException    at MainGameGUI.loadImage(MainGameGUI.java:96)    at MainGameGUI.<init>(MainGameGUI.java:56)    at MainDriver.main(MainDriver.java:22)   The path is correct because when I print it, it comes out as /C:/Users/HenBradley/workspace/HH2/bin/sector_a.jpg which is accurate. So I can't imagine my object would be null and given it were, I don't know why it would be, considering the path is correct.  Any clue as to where I'm going wrong?  Also here's the declaration of img and imgList:  private ArrayList<BufferedImage> imgList; private BufferedImage img = null;


Why do Americans have to file taxes, even if their only source of income is from a regular job?

I live in Europe (Czech Republic) and as long as employment is my primary source of income I don't need to file any taxes on my own, as the company's accounting department will do that for me by default. Why is the American system different?


Error: "Column 'date_created' cannot be null" When trying to create entities

I have an entity Recipe, which besides all attributes also holds an attribute of java.sql.Timestamp corresponding to column date_created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP in my database. I understand that jpa is providing the database with a null value of Timestamp, but I cannot think of a fix. Ideally, when inserting a new recipe, jpa should not provide a non-null value for Timestamp, but rather let database give it the default value. Or atleast this is my idea. Any idea how to help me overcome with this error? Thank you


In my answer .  - How can I have "long =" so that the length of the word "de morgan" is equal the length of "="? Thank you.


Functions satisfying $(b-a)f'(\tfrac{a+b}{2}) = f(b)- f(a)$

Let $f$ be a differientable real function such that $$(b-a)f'(\tfrac{a+b}{2}) = f(b)- f(a)$$ for all reals $a,b$.     Is $f$ polynomial of degree $\leq 2$ ?


Just want to ask if my bank account is safe by giving out my account number?

Hello good afternoon hope you can help me, Is my bank account is safe? I give my account number to someone whom I don't know as he has to give me money? Now I am wondering because he has stopped responding to my messages.


Using Wikipedia definitions in research paper

I'm writing a research paper in finance. I'm taking help of Wikipedia  definitions for the introduction part. Do I have to mention it in the Appendix part?


How can I make a duplicated object (Alt + D) a single object again?

I copied the properties from one object to multiple objects and then duplicated these objects with AltD, now I want to convert them to single objects to modify specific ones.


If $B$ is nilpotent and $AB=BA$ then $\det(A+B)=\det(A)$ (Asking for other method)

Let $K$ be some field and $A, B \in M_n(K)$. Prove that: If $B$ is nilpotent and $AB=BA$ then $\det(A+B)=\det(A)$.   I believe there is a nice solution . However, it seems that this problem could be solved using Jordan Canonical Form of the matrices. I am wondering how. Could anyone give me a hint?


How to generate random numbers without repetition in Swift?

How can I generate random numbers between 0 and 31 without call the number twice in Swift Language ?


If I attach a u-shaped pipe with a fan blowing into it to a cart, will the cart move? if so, in which direction?

Consider the configuration pictured below: a cart with a u-shaped pipe on it, with a fan on one end blowing air into the pipe.  The fan rotates and makes wind towards the left. The wind will be curved in the bent part of the pipe and will come out with changed direction. The pipe is attached to the cart. There are factors to know the answer. The factors are like air pressure, force that fan pushes the air, force that wind pushes the pipe, momentum change of air and cart. Considering this, will this cart move or not, if move, which direction?


What is the tense/modality of these two sentences?

He be like “I know a spot” and then drag you through miles and miles of forest to show you a tiny meadow. From Reddit Tora be getting impatient. * wink* From top comments on Webtoon  I know this is not proper English. And the first one looks like they just left out 'would' but what about sentence 2? I am very big into how English is actually used by people in everyday life. And it was apparently not a mistake by whoever left the comment. I come from a language that doesn't express tenses through verb conjugations. So I'd like to look into what aspect,tense,or mood 'be getting' conveys here and why similar uninflected phrases like 'be like', 'be V-ing' have been gaining traction over the recent years. Thanks!


When we say that light behaves as a particle and as a wave, we say that light is an electromagnetic wave, and it's a photon. Both EM waves and photons have physical definition. On the contrary an electron wave is just the probability amplitude, in other words the definition for the so called wave nature of electron is not physical as it is for a photon. My question is how can we physically define the photon? Is a photon just a lump in the electromagnetic wave, or is it a point on the wave?


Split a collection into `n` parts with LINQ?

Is there a nice way to split a collection into n parts with LINQ? Not necessarily evenly of course.  That is, I want to divide the collection into sub-collections, which each contains a subset of the elements, where the last collection can be ragged.


How to correct the size of Properties panel in Default window?

The Properties panel on RHS of default 3D window which is activated with (N) became very small and hard to read. All other active Blender files are fine....but cannot restore/resize to normal settings and too small to read.


How to include a juery ui file in drupal 7?

In my code for drupal 6 I had added the following js, jquery-ui and css files   jquery_ui_add('ui.draggable');   drupal_add_css(drupal_get_path('module', 'ort') . '/js/jquery.alerts.css');   drupal_add_js(drupal_get_path('module', 'ort') . '/js/jquery.alerts.js');   drupal_add_js(drupal_get_path('module', 'ort') . '/js/ort.js');   For drupal 7 I have to write the above code.. I have read that drupal 7 has jquery ui as part of core so how should add the  jquery_ui_add('ui.draggable'); //drupal 6   code given above in drupal 7 ?


Hi Guys currently doing some Numerical Differentiation and I was looking at the different formulas such as 1) forward difference method 2) backward difference method 3) central difference method  $$\frac{f(x+h)-f(x)}{h}$$  $$\frac{f(x)-f(x-h)}{h}$$  $$\frac{f(x+h)-f(x-h)}{2}$$  Now based on using taylor's series, I know we can derive different or higher orders for the derivatives for example if i required $$f''(x)$$  using Taylor's series I know i can add f(x+h) + f(x-h) and obtain the the second derivative using taylor series.  I am trying to derive the third derivative  $$f^3(x)$$ using the taylor's series but   f(x+h)  $$f(x+h) = f(x) + hf^1(x)+h^2f^2(x)+h^3f^3(x)$$  f(x-h) $$f(x-h) = f(x)-hf^1(x)+h^2f^2(x)-h^3f^3(x)$$  This is my confusion to derive the thrid derivative for forward diff $$f^3(x)$$  $$f(x+h) - f(x)-hf^1(x)-\frac{h^2f(x)}{2!} = \frac{h^3f^3(x)}{3!}$$  $$\frac{6}{h^3}[f(x+h) - f(x)-hf^1(x)-\frac{h^2f(x)}{2!}] = f^3(x)$$  where  $$f^1(x) = \frac{f(x+h)-f(x)}{h}$$  and  $$f^2(x) = \frac{f(x+h)-2f(x)+f(x-h)}{h^2}$$  when i substitute i get the following  $$[\frac{6f(x+h)}{h^3} - \frac{6f(x)}{h^3} -\frac{6}{h^2}[\frac{f(x+h)-f(x)}{h}]-\frac{3}{h}[\frac{f(x+h)-2f(x)+f(x-h)}{h^2}]] = f^3(x)$$  And then when i attempt to break this down  $$\frac{6f(x+h)}{h^3}-\frac{6f(x)}{h^3} + \frac{-6f(x+h)+6f(x)}{h^3}+\frac{-3f(x+h)+6f(x)-3f(x-h)}{h^3}$$  I am not sure in term sof evaluating the third derivative if this is correct as i am attempting to do it for the Forward difference method and then for the backward and central difference method.Can anyone help me or clarify please.


Unable to hide a component on vf page using JavaScript

I'm trying to hide an inputfield on visualforce page based on some condition. So, i started with below code, but unable to hide the inputfield on page load itself.  Both the alert messages displayed before and after the js code are executing well. but, the component is not hiding from the page(able to grey it out successfully with the below code, but not hiding it). Could not use rerender functionality, as my section contains rich text area., and rerender is not working for components containing rich text area.  My code below:      <apex:page id="pageid" standardcontroller="account">   <apex:form id="formid">       <apex:pageblock id="pbid">           <apex:pageblocksection id="pbsid">               <apex:inputfield id="phoneid" value="{!account.phone}"/>           </apex:pageblocksection>       </apex:pageblock>   </apex:form>    <script>      alert('d2 opens now');      try{          document.getElementById("pageid:formid:pbid:pbsid:phoneid").visible=false;          }catch(e){          alert(e)          }          alert('d2 opens now1');   </script> </apex:page>   Thanks in advance, Friend!!!


Short story: invention of a device to view the past

While reading a question here whose answer was Stephen Baxter's "Light of Other Days" book, it reminded me of a short story I read with a similar idea. Probably read at least 30-40 years ago, in English. The fact that the Government has invented a device that can view the past is made public (by a whistleblower, I believe). Historians go nuts besieging the government to look at their favorite time periods to reveal the truth about various historical "facts" and or "mysteries" (Who shot JFK? Who was Jack the Ripper? Was Helen of Troy really that beautiful? Did Jesus exist? etc, etc.) And the government is stonewalls most of them and claims it's expensive to operate, hard to control to get exact time/location, etc. So someone (maybe the whistleblower?), knowing it's possible, does math/construction and builds his own version, and realizes it's easy to make, cheap to operate, and easy to use. So he makes plans to stick it to the government by releasing the info. Maybe he tries to force the government to release the info, or they realize he has made it, so they grab him and try to convince him to stop. But he is not convinced until they tell him, it can't see back very far (maybe just a few days/weeks, because it needs exponentially more power the further you look back.) Finally the agents tell him: "Don't you see, you can use it to see what's happening just a few minutes ago, or even now. Your company can't make widgets? Zoom in on your competitors and see how they make them. Think your wife is fooling around on you? Zoom in on her and track her to see if she is. Your pretty neighbor is taking a bath now? Zoom in and watch her... These devices mean no one will have any privacy now." At which point he tells them it's already too late. They kept him there so long that the letters he mailed will already be delivered to various newspapers, scientists, historians, etc.


An example of a ring without identity that does not contain any maximal ideal.

I'm trying to find an example of a ring without identity that does not contain any maximal ideal.    Help me some hints.


Documents to take for B2 visa to confirm you are returning

I am a final year B.Tech student in India. I am applying for tourist B2 visa to visit my sister studying in USA in summer immediately after my degree is complete. When visa officer asks for guarantee whether i will return to India after touring USA for few weeks, what reply should i give to convince him that i will? In my case the complication is that i am ripe for the age of job searching but i will not search for jobs in USA or stay back in USA. How to convince the visa officer despite the stereotypes? Also what documents to show him to guarantee that i will return to India?


iptables: how to allow traffic from redirected port

I have a web service running on debian 7 and listening on port 8080. I want to redirect 80 to 8080 for inbound connections and allow only port 80. Here is my iptables configuration:  root@localhost:~# iptables -v -L --line-numbers Chain INPUT (policy DROP 76 packets, 6266 bytes) num   pkts bytes target     prot opt in     out     source               destination          1       90  8898 ACCEPT     all  --  lo     any     anywhere             anywhere             2        0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere             tcp dpt:http 3     4515 3113K ACCEPT     all  --  any    any     anywhere             anywhere             state RELATED,ESTABLISHED  Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) num   pkts bytes target     prot opt in     out     source               destination           Chain OUTPUT (policy ACCEPT 4858 packets, 587K bytes) num   pkts bytes target     prot opt in     out     source               destination        and nat table:  root@localhost:~# iptables -L -n -v -t nat Chain PREROUTING (policy ACCEPT 14 packets, 2288 bytes)  pkts bytes target     prot opt in     out     source               destination              0     0 REDIRECT   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:80 redir ports 8080     0     0 REDIRECT   udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:80 redir ports 8080  Chain INPUT (policy ACCEPT 0 packets, 0 bytes)  pkts bytes target     prot opt in     out     source               destination           Chain OUTPUT (policy ACCEPT 841 packets, 53415 bytes)  pkts bytes target     prot opt in     out     source               destination           Chain POSTROUTING (policy ACCEPT 841 packets, 53415 bytes)  pkts bytes target     prot opt in     out     source               destination    i can't establish a connection from outside on port 80. What are likely deficiencies?


If $g=10 N/kg$ , what will show the Scales? Yes, I know this is a very simple problem. But, I am stuck. $$P=mg \Rightarrow m=\frac{100N+100N}{10N/kg}=20 kg .$$  But, I'm worried about this answer. What's the difference between hand holding the scales and putting them on the table? I think, if the Scales is captured manually, the force applied from above should be meaningless. And answer must be $m=10 kg.$ Is it correct?


Linux - why do the su and sudo binaries need to be set-UID root?

I am trying to find the correct reason for the stated question. My understanding is that:   sudo needs to read the /etc/sudoers file which is only readable by root, which is why it needs to be set-UID root su is going to create a new shell with a different real and effective UID, and needs to check the password. To check the password, it needs to read /etc/shadow, which is why it needs to be set-UID root. After checking password, it would need to call setuid() on the forked process, and to use an arbitrary UID argument, its parent process must have root as effective UID, so this also makes another reason.   Are the above reasons correct ?


How to purchase a lure module for my business?

I am a business owner. I need "How to step by step instructions to buy a lure module for my business?


When I run  df -H   I can see that the root / is using 100% of the space:  Filesystem      Size  Used Avail Use% Mounted on /dev/xvda1      423G  423G     0 100% / udev            2.0G  8.2k  2.0G   1% /dev tmpfs           787M  209k  787M   1% /run none            5.3M     0  5.3M   0% /run/lock none            2.0G     0  2.0G   0% /run/shm /dev/xvdb       423G  209M  402G   1% /mnt   So I wanted to understand what directories are using more space, and with:  du -sh /   The result is telling me that the root is only using 62G  62G /   How is this possible? Where is the rest of the space used?


Radical change of favourite tags doesn't reflect in questions list

I want to delve into a new technology, and am not so interested in answering questions in my regular tags any more. So I deleted all my old favourite tags, and created a set of new ones. However, the "interesting" tab, as well as the other question views that I know of, still show mainly stuff from my old tags, and only an occasional question from the new one:  Why is this - could this be Kevin's  at work - which is super cool, but in my case now   Do I really have to actively "ignore" the old tags that I don't want to see? That might conflict with my new area of interest, though, as there may be some overlap between old and new tags and I would want to see them even though they contain an ignored tag.  Edit: ignoring my major old tags (which is not ideal at all) improves the results, but there is still plenty of stuff from esoteric tags that never were even on my "interesting" list - that I probably just happened to view, or be active in, a couple of times:  I can't possibly begin to ignore all the tags that show up here. It appears that my previous question activity is stronger than my expressed preferences - even for stuff I've never heard about, perhaps because of sheer quantity. Can this please be tweaked?


Visiting Korea as an Indonesian citizen with a US student visa: Do I need a visa for Korea?

I live in Seattle. I am an international grad student in the US. I carry an Indonesian passport.  And, I would like to visit Korea for 1 to 2 weeks.   What kind of visa do I need to apply for? How long does it take to process the visa? Do I visit an office in Seattle or do I apply for it online?


Verify mysqldump backup is corruption free

We've got a cron task backing up our Database using mysqldump - my main concern is corruption, short of manually importing and checking the backups each time whats the best way to check / verify a backup is corruption free ?  Background: We are running mysql 5.5.* and InnoDB. We are running mysqldump straight from the server.  We are not currently using master / slave or master / master but could change if it would help. The DB is small currently <1mb, it will be <50mb for the foreseeable future, so scale dosnt really need to be taken into account in this instance.


Is it a goal if, during kicks from the penalty mark, the ball goes outside the penalty area and then into the goal?

If, during kicks from the penalty mark, the ball hits the goalpost and lobs outside the penalty area and then returns back into the goal without touching any player, will it be considered a goal or not?    Please provide a reference to IFAB laws if possible.


Grive2 is not functioning anymore, do we have alternative to get Google Drive working on Ubuntu MATE 16.04 LTS?

I'm running Ubuntu MATE 16.04.6 LTS on about 5 different machines.  I need to have sync for Google Drive folders to cooperate with my colleagues.  Until recently I was able to use  for syncing my Google Drive. But currently there are OAuth2 security-related problems with grive2 (for details see ). Fixing them by end-user is a bit difficult and time-wasting for 2+ simultaneous installs.  Do we have any alternative to get Google Drive working on Ubuntu MATE 16.04 LTS?


Consider any integer, suppose a number 3. We can break any such integer down into a sequence of 1's. So, we can write: $$ 3\equiv1+1+1 $$ 3 represents what we get when we add 1 to 1 to another 1. Conceptually, what I am getting confused with, is the fact that notionally, at least according to this definition, there is one unit at the beginning, to which we add another, and yet a third. There seems to be a sequence here, which would imply there being an order. Am I missing something obvious?


recovering lost data after installing ubuntu on windows 10 using testdisk

I have installed ubuntu over my windows 10 by mistake.I already had a ubuntu partition so i tried to reinstalled ubuntu but actually i installed it on windows partition and all my partitions are lost.I had my important data on windows partitions.So please help me out to recover that data.I tried testdisk from live usb but it only displays files on ubuntu. I have not used my installed ubuntu so the files are not overwritten.So please provide me ways to recover data.  Now , i have tried recovering using testdisk.In quick search  i am unable to find the lost partitions and in deeper search the search space system uses is 1700 gb while my actual hdd size is 500 gb which is displayed correctly at the start and after the deep search it asks me to check bios setting and jumper settings.Please help me out ...


Let $\lim_{n\to\infty}a_n$ = a, $\lim_{n\to\infty}b_n$ = b. We need to find $\lim_{n\to\infty}\frac{a_nb_1+a_{n-1}b_2+...+a_1b_1}{n}$.  As far as I get it, the answer is $ab$.  I've tried this to prove it: as both $a_n$ and $b_n$ have a limit, they also both have a supremum. Let $C_1$ and $C_2$ be the supremua. Then by the properties of supremum for any given $е$ there are $k, l$ such that  $$\frac{a_nb_1+a_{n-1}b_2+...+a_1b_n}{n}<C_1C_2<(a_k+e)(b_l+e)$$ And I feel like there is some tiny step from here to the solution as the above is more or less $ab$, but I just can't get there. Would you mind giving some hints?


Feed not showing up correctly on Android App?

App Version: 1.0.85 Device Manufacturer: Huawei Device Model: Nexus 6P   OS Version: 7.0 (3051502)


Non-coconut substitute for coconut cream

I'm planning on cooking a Massaman curry but for someone who really dislikes the taste of coconut. What would a good substitute be? I'm thinking of just using cream instead - do you think that would work well?


Create ssh user which can only access home directory

I read documentation on the internet on how to create a new user with SSH access. I figured it out and to create a user is quite simple.  The next step I want to take is to jail this ssh server to the /home/ directory on my machine. It needs the permission to write/create folder/files in directories of other users (CMS system).  How can I implement this?


17.10: How to auto mount drives on startup?

Every time I log in, I need to go to disks and mount all my partitions manually.  How can I make it automatic?


Please auto-merge edit-summary on edit merge

Often this happens to me:   I see a poorly formatted question. I format the question, rename, retag, describe my deeds concisely in the  field. I submit. I realise the bloody prettifier won't deduce the correct language automatically. I edit again, adding a language hint. Putting lang-hint into the . I submit again, my two consecutive edits are merged into one, and its summary is lang-hint. Which is wrong, I did more than that.   The above may obviously come in different shapes. The point is: if auto-merging two consecutive edits of the same person, please apply some logic and either boldly concatenate the summary, or diff the two summaries to see what's to add.


Dear fellows I am new to ubuntu.. I don't know how to partition my hard drive like it is on windows.. please guide me the whole procedure to solve this issue.. I will be thankful to you.


I've learned that $$1/0$$ is postive and negative infinity, but if I ask wolfram mathematica to calculate $$1/0$$ it gives me: 'complex infinity' but how can we proof that that is true?


Accidentally removed libstdc++6, most programs not working

Accidentally executed this command and now many of my programs are not working.  sudo apt-get --purge remove libstdc++6   sudo apt now not working and some other stuff.  How do I revert this?  Distributor ID: Ubuntu Description:    Ubuntu 16.04.4 LTS Release:        16.04 Codename:       xenial   edit  I followed melebius by installing via dpkg -i ,libstdc++6 and it seems successful   root@server:~# sudo dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb Selecting previously unselected package libstdc++6:amd64. (Reading database ... 71540 files and directories currently installed.) Preparing to unpack libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb ... Unpacking libstdc++6:amd64 (5.4.0-6ubuntu1~16.04.10) ... Setting up libstdc++6:amd64 (5.4.0-6ubuntu1~16.04.10) ... Processing triggers for libc-bin (2.23-0ubuntu10) ...   But when i tried to install something i get this error  root@server:~# sudo apt-get screen apt-get: error while loading shared libraries: liblz4.so.1: cannot open shared object file: No such file or directory root@server:~#


difference between classes and structure

I read that the main difference between a class and a structure is that class is reference type and structure is value type. can anybody explain me what does the value type and reference type means...?


Knife Tool, Gap lines between shapes, Adobe Illustrator

So I was using the Knife Tool in Adobe Illustrator for cutting shapes. After doing so I realized that the shapes have a gap (line) between them. I need to save my document as a pdf and it has to be in vector form. I would like to know what do I have to change in my work in order to remove the gap between them. Thank you for your answer. :)


Infinitely many primes $\equiv 3 \mod 4$

Question 1 Is the following proof of the infinitude of primes $\equiv 1\mod 4$ okay?  Consider a prime divisor $p\mid (n!)^2+1$. Then $(n!)^2\equiv -1 \mod p$, hence $n!$ has multiplicative order $4$ in $\Bbb F_p^\times$ (question: is this conclusion true? what did I use here?).  Thus $n!\in \Bbb F_p^\times$ generates a subgroup of order $4$ and by Lagrange, $4\mid p-1$, i.e. $p\equiv 1\mod 4$.  Now we do the same thing, replacing $n$ by $p$. This will give a new prime $\equiv 1\mod 4$ and this prime is bigger than $p$ (otherwise it would divide $1$).  Question 2 My lecture notes say that from this one can conclude that there are infinitely many primes $p\equiv 3\mod 4$ by considering $n!-1$, which leaves remainder $3$ upon division by $4$. How does this imply infinitude of such primes?


Recover data from full format on NTFS partition

I have a harddisk with two partitions: one for windows and one for data. I've reinstalled windows on the first partition and formatted the data partition with full format (without /Q option) making sure that all my data is backed up. After that I've created the same folder structure (without files inside) on data partition as it was before formatting.   I then realized that all my photos were NOT backed up :((((  I've tried several tools to recover my data without any success:   Wordershare Photo Recovery Active File Recovery R-Studio PhotoRec from CGSecurity Recuva   There are max 50Mb of new data on that partition, so data overwriting is minimal.  What is the reason why I'm not able to recover my data with data recovery tools: full format or same folder structure?  And... can I get my photos back or they are lost forever?


How many visas do I need if I attend two conferences in Germany that are one month apart?

I am attending two independent conferences in Germany that are one month apart. Ideally, I want to apply for them concurrently, with minimal costs. I will fill two applications, and book one interview. Beyond that, do I have to pay the fees twice? Can I apply for a single multiple entries visa for a duration that covers the two conferences instead?


How many ounces is a British "tin" of tomatoes?

If I have a British recipe that lists "1 tin chopped plum tomatoes," how many ounces is that? In British English, does "tin" usually refer to a specific size? In the US, cans generally come in 14 and 28oz sizes - which one is likely closest to what the recipe means?


Using variable in SelectByAttribute_management

I am new in Python. I was trying to use a variable for selecting a feature instead of giving a direct input. My code sample will explain it better:  import arcpy from arcpy import env env.overwriteOutput = True env.workspace = "H:/shp"  #variables parcel = "parcel.shp" parcel_Layer = "parcel_Layer"  Make Feature Layer arcpy.MakeFeatureLayer_management(parcel, parcel_Layer, "", "", "FID FID VISIBLE NONE;Shape Shape VISIBLE NONE;OBJECTID OBJECTID VISIBLE NONE;ACCOUNTID ACCOUNTID VISIBLE NONE;PropID PropID VISIBLE NONE")  parcel_Layer_selattr = arcpy.SelectLayerByAttribute_management(parcel_Layer, "NEW_SELECTION", "\"PropID\" = 142855")   This code works fine as long as I enter the property ID directly ("\"PropID\" = 142855"). But when I declare the PropID as a variable, it doesnot work. Here is the code sample:  import arcpy from arcpy import env env.overwriteOutput = True env.workspace = "H:/shp"  #variables parcel = "parcel.shp" parcel_Layer = "parcel_Layer" x = 142855 Make Feature Layer arcpy.MakeFeatureLayer_management(parcel, parcel_Layer, "", "", "FID FID VISIBLE NONE;Shape Shape VISIBLE NONE;OBJECTID OBJECTID VISIBLE NONE;ACCOUNTID ACCOUNTID VISIBLE NONE;PropID PropID VISIBLE NONE")  parcel_Layer_selattr = arcpy.SelectLayerByAttribute_management(parcel_Layer, "NEW_SELECTION", "\"PropID\" = x")   This is not working. it gives me this error msg:   Runtime error  Traceback (most recent call last):   File "<string>", line 1, in <module>   File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\management.py", line 6435, in SelectLayerByAttribute     raise e ExecuteError: ERROR 000358: Invalid expression Failed to execute (SelectLayerByAttribute).   What I am doing wrong?


I am trying out the command  $ b=5; echo `$b`; -bash: 5: command not found   but it does not print 5 as it is supposed to. What am I missing here?   seems to say that ` evaluates the commands within and replaces them with the output.


Holding shift during Boot doesn't enter GRUB menu in Ubuntu 18.04

Its a dual boot i.e. windows 10 and ubuntu 18.04. Ubuntu is filled as preferred choice hence GRUB doesn't come by default. I went through many resources available and they all said press shift before the logo of ubuntu appears i.e. while the manufacturer logo is there in the screen( in my case its Lenovo ). I have tried tapping shift continuously , long pressed shift and even kept it pressed before turning the computer ON but in none of the cases GRUB window opened. Have tried it with both left as well as right shift.I am trying to open ubuntu's recovery mode.


Why do I need to use separate accounts for installing and running a program?

I bought some software from Atlassian (JIRA, Confluence etc.) and I am installing it. One of the programs recommend me to create a user with limited access for only that program, and it also wants me to install it in /usr/local. I am new to Linux so I don't understand why I need to create such a user nor do I know how. And this user would not be able to write in these folders does it? I don't understand the benefits to make several users? I am running Ubuntu server.


Find $\lim_{x\to \infty}\left({x \over x^2+1}+{x \over x^2+2}+\cdots +{x\over x^2+x}\right)$

Find $$\lim_{x\to \infty}\left({x \over x^2+1}+{x  \over x^2+2}+\cdots +{x\over x^2+x}\right)$$ , without using squeeze theorem. I have done the solution as below using squeeze theorem ... $$Let \left[\left({x \over x^2+1}+{x  \over x^2+2}+\cdots +{x\over x^2+x}\right)\right]=f(x)\implies \\  \left({x \over x^2+x}+{x  \over x^2+x}+\cdots +{x\over x^2+x}\right)\lt f(x)\lt \left({x \over x^2+1}+{x  \over x^2+1}+\cdots +{x\over x^2+1}\right) \\ {x^2 \over x+x^2}\lt f(x) \lt {x^2\over 1+x^2}\\ \text{applying limit on both sides }\\ \implies\lim_{x\to \infty}{x^2 \over x+x^2}= \lim_{x\to \infty}{x^2\over 1+x^2}=1\\ \implies \lim_{x\to \infty}f(x)=1$$  Can we do this without squeeze theorem?


How to take pictures of reflective spherical objects?

I've always wondered looking at photographs of shiny Christmas ornaments...how were those photos taken without reflecting the photographer or the camera setup?  These days, I can imagine that digital manipulation can easily erase the reflections.    But what about in the old days? In my mind, shooting through a 45-degree angled two way mirror would do the trick, but am I over complicating the setup? How was this done?  Thanks!


Entire function bounded by polynomial of degree 3/2 must be linear.

The problem is as follows:     Suppose $f$ entire satisfying   $$ |f(z)| \leq A + B |z|^{3/2} $$   for some fixed $A,B > 0$. Prove that $f$ is a linear polynomial.   I know I want to reduce it to a function where I can use a Cauchy bound, but I'm not sure how.


$a^{(n-1)} + (n-1)!\equiv 0\pmod n $ iff $n$ is prime

I am trying to prove that, given $a, n \in \mathbb{N}$, $n \geq2$ and $gcd(a,n) =1$ $$a^{n-1} + (n-1)!\equiv 0\pmod n $$ iff $n$ is prime. I did one direction: "$\Leftarrow$": Let n be a prime number. Then, since $a$ and $n$ are coprime, we have that $a^{n-1}\equiv 1\pmod n$.  Morevoer, by Wilson's theorem, $ (n-1)!\equiv -1\pmod n$. Therefore, $$a^{n-1} + (n-1)!\equiv 0\pmod n $$ For the other direction, I thought I could prove that $n$ divides $(n-1)! +1$ and conclude again using Wilson's theorem, but it doesn't seem the right approach. Any help?


Do I need a new rear derailleur if I get a bigger cassette?

I'm considering changing my 10 spd Shimano 105 cassette to an 11 spd Ultegra cassette. Do I have to change the rear derailleur or can I use the existing derailleur? Can the existing derailleur be adjusted and shift to the additional cog? Are derailleurs "speed" specific - 10 spd derailleurs, 11 spd derailleurs? Same for chains? Are they different for different size cassettes?


Best books for learning quantum mechanics from scratch?

Could you please recommend some books for studying quantum mechanics for beginners. The books should have a lot of images, detailed explanations and so on.


Nemo dpkg error when upgrading PPA version

When trying to upgrade to the PPA version of Nemo, I get the following dpkg error:  $ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed:   cinnamon-translations python-requests python-urllib3 The following packages will be upgraded:   nemo nemo-data python-cupshelpers system-config-printer-gnome  Preparing to unpack .../cinnamon-translations_2.4.0-20141104040041-trusty_all.deb ... Unpacking cinnamon-translations (2.4.0-20141104040041-trusty) ... dpkg: error processing archive /var/cache/apt/archives/cinnamon-translations_2.4.0-20141104040041-trusty_all.deb (--unpack):  trying to overwrite '/usr/share/locale/ne/LC_MESSAGES/nemo.mo', which is also in package nemo-data 1.8.4-1.1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/cinnamon-translations_2.4.0-20141104040041-trusty_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   I have tried the usual suggestions that I have been able to find and have even tried deleting the nemo.mo file, but nothing seems to work. Any ideas as to how to get this sorted? I am using Ubuntu 14.04 with Unity, but have Nemo set as the default default fire manager.


Went to the Nether, got lost, and lost my castle!

I made a castle on Minecraft Pocket Edition that was far away from the place that I spawned. Once I had made my castle, I went to the Nether and got lost. I made a new Nether portal, went through, and ended up at a completely different portal than the one I made at the castle. Now I'm lost. I have used the compass to get back to the place that I spawned, but I still need to get back to my castle. I'm in creative mode.


Enumerate the languages supported by satellite assemblies

Here is the line of code which help to find assembly for required culture:  Assembly.GetExecutingAssembly().GetSatelliteAssembly(new CultureInfo(cultureCode))   But how to find languages for which satellite assemblies exist for application, lets say if there are 3 language support for which 3 different folder created, now I want those folders and languages supported in it. I use this in drop down from where user can select language and drop down values should be dynamically loaded as per supported satellite assemblies.


I have an 282 .laz  tiles for a large area. The aim was to extract the DSM and DTM data in .asc  format to hopefully get building heights from them. I used lastools to convert them the DSM .laz  data to .asc  files. This worked great, but now when I view this .asc data in QGIS, it looks like the height information isnt calibrated to the same datum (apologies for not using the right terminology) Is there a way to ensure that all the tiles have uniform height reference?


I have manually removed all aggregated css and js files from sites/default/files.  I would like Drupal to regenerate these, but it does not. Drupal is still looking for the old files, the ones I have deleted.  Clearing the cache does nothing.  How do I force Drupal to recognize that the files are missing and need to be recreated?


Can you cast Mirror Image twice on successive turns and have 6 duplicates of yourself instead of 3?

(PHB, pg. 260) is a spell that has a casting time of 1 action, and a duration of 1 minute. My question is, can you cast Mirror image twice on successive turns, gaining 6 images by turn 2?  Sample Turns:  Turn 1: Mirror Image (3 images)  Turn 2: Mirror Image again (6 images, with 3 of them lasting 1 turn less)  Since Mirror Image doesn't require concentration, there should be no interference between the 2 casts in terms of concentration. I know that this could be up to DM Fiat, but I was wondering if there was a proper interpretation of the printed rules for this situation.


Shouldn't remainder be always less than divisor?

When dealing with negative modulo such as   7 (mod -5) = -3  is it not necessary that remainder be less than divisor?  I thought modulo should always be positive but the calculator certainly  seem to have no problem with negative modulo.  Does the rules change when dealing with negative modulos?


USB-C Monitor with DVI Out Graphics Card

Ok gents... should be an easy question for someone who has had experience here before.  I am wanting to order a stand-alone monitor that only has USB-C in. My desktop computer however uses a graphics card that only has HDMI/Display Port/DVI out. Can this be easily adapted or no? It is important to note that the USB-C in on the monitor also provides power.  Thanks.


Combinatorics Question involving answer choices and finding all cases with consecutive answers.

A student is taking a 12-question multiple choice test. Each question has 5 choices. How many ways can the student fill out the answer sheet so there is at least one place where two consecutive answers are the same?   So far, I understand how to get the total amount of possible combinations. But I am confused as to which method to take to try to implement the restriction. Do I try to find the amount of ways in which there are no places where two consecutive answers that are the same then subtract that from the total?   If so, how would I go about doing that.


How can I prove/understand the following functional derivative?

Assume that $F[h(\xi);x,y]$ be the inverse of $G[h(\xi);x,y]$ in the sense that the following identity is satisfied: \begin{equation} \int dz F[h(\xi);x,z]G[h(\xi);z,y] \equiv \delta(x-y) \end{equation} for any $h(\xi)$. Then one can obtain: \begin{equation} \dfrac{\delta}{\delta{h(z)}}F[h(\zeta);x,y] = -\int d\xi d\eta F[h(\zeta);x,\xi]\dfrac{\delta G[h(\zeta);\xi,\eta]}{\delta{h(z)}}F[h(\zeta);\eta,y] \end{equation} Question:How can I prove/understand this functional derivative?   Note: This functional derivative appears in . [APPENDIX A:(A.7)]


Trouble With Persistence After Making a USB Live Thumb Drive Using Pendrivelinux

I created a bootable Ubuntu on my 32GB thumb drive (on a NTFS partition) and I selected a persistence of 4GB.  I've noticed that when I reboot from the initial booting off of the USB thumb drive, nothing is preserved.  No apps that were installed nor saved bookmarks.  Is there a way for me to manually force persistence?


What do I do when I have a good, off site resource which answers somebody’s question?

What's the protocol for the situation where somebody asks a good, valid, on-topic question, and I have a (non-StackExchange) link which answers their question perfectly?  Comments are for requesting clarification, and link-only answers are out. I've also seen it mentioned a few times that replicating content already on other websites isn't cricket.  So what's the deal? Should I just leave it and assume that if I can find it, the OP can find it also? Or is putting that link into a comment OK?


AES plaintext is smaller than 128 bits - how to expand?

We are currently developing a little AES implementation in a crypto-course at university.  As far as I know, AES uses a 128 bit block length, so all data that will be encrypted gets split up into blocks of 128 bits (16 bytes) into a 2d-array (or 1d in implementation) with 4 × 4 fields.  I was wondering and didn't find out what to do if the entered string to encrypt is not 128 bits long? The question is going further by thinking that there will never be exactly n × 128 bits of data to encrypt.  For a smaller key given by the user (e.g. "test") I know there is a key expansion algorithm defined.  But what should be done for data that is less than 128 bits?


Why do I have to execute bash programs with ./?

Why is it that some bash programs will only run on my system when I type ./ before their name?  An example: In my [...]/android/sdk folders I have to execute adb like this:  ./adb devices   Why not just adb devices?


I have a Panasonic Lumix DMC-FZ60. The problem is I don't really understand the workings of ISO, aperture, and shutter speed. Whenever I go into manual mode, the pictures I take are pitch black. I take the pic indoors with a moderate amount of light, but I don't know why the pics are black.  How do I use manual exposure settings?


Navigating the file system: Difference between CD and PUSHD

Being very novice in navigating the file system, I always use the CD command line to change directories.  I just find out that there is another command called: PUSHD  I am having hard time to understand the difference between the two.  Can some please explain me the difference between the two with a real example scenario?  Thank you so much


Challenge room locked though I have full health

I thought these opened if you have full health. I actually had full + 2 blue hearts before dropping a bomb on myself before taking the screenshot.   But even here I have full health... right?


How to get the # of occurances of a char in a string FAST in C#?

I have a txt file. Right now, I need to load it line by line, and check how many times a '@' are in the entire file.  So, basically, I have a single line string, how to get the # of occurances of '@' fast?   I need to count this fast since we have lots of files like this and each of them are about 300-400MB.  I searched, it seems the straightforward way is the fastest way to do this:  int num = 0; foreach (char c in line) {     if (c == '@') num++; }   Is there a different method that could be faster than this? Any other suggestions?   if needed, we do not have to load the txt file line by line, but we do need to know the # lines in each file.   Thanks


What's $\mathbb{R}$ doing in the definition of a metric space?

A metric space is often defined as a set $X$ along with a mapping $d: X^2\rightarrow\mathbb R$ obeying the following identities: \begin{align*} &d(x,y)=0 \Leftrightarrow x=y, \\ &d(x,y)=d(y,x), \\ &d(x,z) \leq d(x,y)+d(y,z). \end{align*} This definition demands that $d$ map into $\mathbb R$. I find this interesting because only a few properties of $\mathbb R$ are necessary to make those three identities make sense $-$ presumably you could define something analogous to a metric space by replacing $\mathbb R$ with another set $A$, so long as $A$ has some sort of order, some notion of addition, and an additive identity $0$.  What sort of things are lost in such a generalization? Surely something falls apart if $A$ does not have a total order. Additionally, I imagine the completeness of $\mathbb R$ is important as well. But I don't have any specific examples. And I cannot really figure out why we need the field $\mathbb R$ rather than just some group or ring.  So my question is: what attributes of metric spaces depend on $d$ mapping into $\mathbb R$ rather than another, possibly quite similar, space? (e.g., ordered fields that are not complete; or complete totally ordered groups.) While there are some questions on the site discussing generalizations along the lines I've described (such as ) they focus on the aspects of metric spaces that don't depend on $\mathbb R$, whereas I'm interested in the ones that do.


I'm unable to install Gnome in Ubuntu 16.04

This is what comes up when I try to install Gnome via Terminal:  ansh@Ansh-HP-Notebook:~$ sudo apt update [sudo] password for ansh:  E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?  ansh@Ansh-HP-Notebook:~$ sudo apt install ubuntu-gnome-desktop  E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


hi i am using custom font xcode 5. its font family name is "Alegre Sans"  i follow many tutorials online  of using custom font in xcode.   I have include custom font file name "alegre.ttf" in xcode resources folder. also i include this file in project .plist under  "Fonts provided by applications". and i am using this fond in viewdidload method of  viewcontroller like this   CustomLabel* lblObj = [[CustomLabel alloc]initWithFrame:CGRectMake(121, 30, 0, 0)];  [lblObj setText:@"FREE TRAIL"]; [lblObj sizeToFit]; [lblObj setFont:[UIFont fontWithName:@"Alegre Sans" size:10.0]];   //  [headerLabel setFont:[UIFont boldSystemFontOfSize:30.0]]; [lblObj setTextColor:[UIColor whiteColor]]; [lblObj setTextAlignment:NSTextAlignmentCenter]; [self.headerBgVw addSubview:lblObj];   but unable to change font.   I have wasted my whole day on it but not able to change font . is i am doing mistake in programing or including font file


How to come up with this error estimation?

I am trying to understand the answer to  of a .    The vertical coordinate (“height") of an object in free fall is described by an equation of the form $x(t) = \theta _0 + \theta _1t + \theta _2 t^2,$  We assume that $\theta_0$ is a known constant. We also assume that $\theta_2$ is known. We view $\theta_1$ as the realized value of a continuous random variable $\Theta _1$.  In this case, finding the MAP estimate of $\Theta _1$ involves the minimization of $$\theta _1^2+ \frac{1}{\sigma ^2}\sum _{i=1}^ n(y_ i-\theta _0-\theta _1 t_ i -\theta _2 t_ i^2)^2$$ with respect to $\theta_1$.  1)$$\hat{\theta }_1 = \frac{\sum ^ n_{i=1}t_ i(y_ i-\theta _0-\theta _2t^2_ i)}{\sigma ^2+\sum _{i=1}^ n t_ i^2}$$  2) Let $\sigma =1$, and consider the special case of only two observations ($n=2$). Write down a formula for the mean squared error ${\bf E}[(\hat\Theta _1-\Theta _1)^2]$    Here in 2, it is stated that:  $${\bf E}[(\hat\Theta _1-\Theta _1)^2] = {\bf E}[(\hat\theta _1-\Theta _1)^2] = var(\Theta)$$  For a normal distribution, we recognize that the variance is determined by the coefficient that comes next to a term of the form $\theta _1^2$. So what we're looking for is the constant that sits next to the $\theta _1^2$ term. We collect all of them, it is $1/2*(1+t _1^2+t_2^2)$. So the final answer is $$1/(1+t_1^2+t_2^2)$$    I don't quite follow and understand what he is saying.  Can someone please clarify?  Thank you.    According to this paper on , $\Theta = (\Theta_0, \Theta_1, \Theta_2)$, as can be seen here:      I don't quite follow and understand what he is saying.  Can someone please clarify?  Thank you.


Noticed a strange UI mix-up in deleted question

I went to see this question:     I was surprised to see that the UI is mixed up. Generally the closed should come first and the deleted would be in the next. In this case, it is the opposite. While it is not even deleted by the OP. It has been closed first.  How is this possible?


Strange use of "were" with uncountable nouns

In the sentence     If aging were programmed, then...   were is used instead of is or was or have been. Why?


Diagnostics for a negative binomial model

I would like to know what model diagnostics I should be checking to ensure that a negative binomial (NB) regression for overdispersed data has meet all of the required assumptions. There is a very helpful post , however this post does not clarify what I should be looking for in the various plots (for example the residual plots). I would appreciate any clarification/confirmation on the following points:  1) What are the residual plots meant to look like? I understand that a negative binomial does not assume homogenous variances, so should I expect patterns in the residual plots?  2) Is it assumed that the residuals of a negative binomial model are normal? I have read conflicting information.  3) Do you check for influential points in the same way as for a ordinary linear regression (for example by using Cooks, dfbetas etc)?  4) I assume that muliticollinearity can still be an issue in a NB regression and should be checked. Is this correct?  5) Are there any other assumptions/diagnostics that I have missed?  I am working with R.


iPhone storage shows 57+GB used... where is it?

This screenshot shows that there is 57+GB used on my iPhone.  However looking through the list and adding up the values comes to a maximum of 10GB (and that's an overestimation).  So, where is the other 40+ GB?  I have been deleting apps recently to try and clear space but every couple days it tells me the iPhone is running low on storage.  I feel like this is some sort of bug or something because I really don't know where the rest of the space is?


CentOS web server move hdd to another computer

I have an web server with CentOS 6.7 installed. Now I aqquired a new computer and want to make it to run the web server but it is hard to fresh install and copy all the content (hundreds of websites). Can I move the hdd from old server on the new server? And if something does not work can I switch the hdd Back? Is there any risk? Both are 32 bit systems. Thanks!


USB Key broken after using Rufus to install an image

I've tried to install an image on my USB key(16 GB capacity) with rufus. The image wasn't working, and I wanted to format my key. Unfortunately, it wasn't detected by Windows... Then I tried diskpart : diskpart list disk select disk 3 clean create partition primary format fs=ntfs exit  But after running list disk, it was showing only 4 MB capacity. I also tried to recreate the partition & reformat from Linux VM, but still the same problem... Is it possible that I've broken my key with Rufus?


What is the monthly payment for a $800,000 mortgage for the first 119   payments that is due in 10 years, has a 25 year amortization, at 5%   interest? What is the amount of the 120th payment?   I use excel to compute the amortization table,    But, I'm still don't understand the question. If I finish the loan at payment 300, for 25 years or I ended at 120 with a full balloon payment.   I ask my professor and he told me: 'If mortgage due in 10 then final payment is a balloon payment including interest and principal'.  Question: I need to know what schedule I suppose to calculate (on excel or any other way that could be easier), and some hint to understand what actually the problem ask.  Thanks!


Difference between Landing Page and Starting Page

This question is regarding Google Analytics Behavior Flow.  What is the difference between a landing page and a starting page?  I can't find a definite answer anywhere. Some people have suggested the following:   "Landing page is the first page from the visitor’s first session. Start Page is the first page from the visitor’s session."  I don't know what that means, if the landing page is the first page from the visitors session wouldn't it automatically be the start page? That is true most of the time but I have landing pages that connect to different starting pages on my Behavior Flow. See attached image.   Please, if you answer this make sure to include some examples so I can understand it better.


Can I make my Ubuntu make sounds when I press Caps Lock etc.?

On the computer upstairs we have an option to make the computer make a sound when we press Caps Lock, Number Lock and Scroll Lock. Is there a way to do this on Ubuntu 12.04?


MWE: \documentclass[12pt]{standalone} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[T2A]{fontenc} \usepackage{tikz} \usetikzlibrary{shapes, positioning, decorations.pathreplacing, calc} \begin{document} \begin{tikzpicture}   \tikzset{     node/.style={draw, rectangle, rounded corners},   }   \node [node] (1) {hotels\_options};    \node [node, right = 4cm of 1] (2) {hotels\_groups};    \draw (2.south) to[out=200,in=-20] (1.south);  \end{tikzpicture} \end{document}  Output:  How to add a text below the center of the curvature?


Mirage Mirror + Itlimoc, Cradle of the Sun

If I use my  to copy another player's , will my copy be this version of the double sided card, or the original front face of the card, ?


I wanted to send special characters in URI WITHOUT encoding it. Is that possible in Firefox or chrome browser. Example:  >;  Any idea?  Thank you


Reading lines from a file with bash: for vs. while

I'm trying to read a text file and do something with each line, using a bash script.  So, I have a list that looks like this:  server1 server2 server3 server4   I thought I could loop over this using a while loop, like so:  while read server; do   ssh $server "uname -a" done < /home/kenny/list_of_servers.txt   The while loop stops after 1 run, thus only running uname -a on server1  However, with a for loop using cat it works fine:  for server in $(cat /home/kenny/list_of_servers.txt) ; do   ssh $server "uname -a" done   Even more baffling to me is that this also works:  while read server; do   echo $server done < /home/kenny/list_of_servers.txt   Why does my first example stop after the first iteration?


How can I restore deleted Folders from /etc?

I tried to connect django to a mariadb for several hours. I thought it was a good idea to delete the /etc/mysql folder, because I thought it was installed through a none-working package. I think that was a mistake. I cant install mariadb-server now because of the missing folder. What can I do???


Given a group of $p_1$ ladies and $p_2$ gents and a round table with exactly $p_1+p_2$ places. For reasons which I do not dare to mention, I want to find a seating arrangement such that nobody is sitting in-between two ladies.  1) Say that $p_1$=$p_2$=$p \geq 10$. For which values of $p$ it is possible to make a seating arrangement?   2) Give an expression for the number of possible seating arrangements  for those values of $p$ for which a seating arrangement is possible. In this case, a host and hostess have fixed places abreast each other and all the ladies and gents are distinguishable.   Results so far:  I know that there a no possibilities if $p_1$>$p_2$. It seems to me that a seating arrangement is possible if $p$ is odd. But I don't know if this is true.


I need a Java program that subtracts 5 years from the current year. Everything is working fine but after I run the program:  DateFormat dateFormat = new SimpleDateFormat("yyyy"); Calendar cal = Calendar.getInstance(); cal.add(Calendar.YEAR,-5); Date today = new Date(); String start = dateFormat.format(cal.getTime()).toString(); String end = dateFormat.format(today).toString(); double start_doub = Double.parseDouble(start); double end_doub = Double.parseDouble(end); System.out.println(start_doub); System.out.println(end_doub);   The result is:  2012.0 2017.0   I don't know the reason why the program adds .0 after the year?  How can I remove the last part?


So I'm writing a framework on which I want to base a few apps that I'm working on (the framework is there so I have an environment to work with, and a system that will let me, for example, use a single sign-on)  I want to make this framework, and the apps it has use a Resource Oriented Architecture.  Now, I want to create a URL routing class that is expandable by APP writers (and possibly also by CMS App users, but that's WAYYYY ahead in the future) and I'm trying to figure out the best way to do it by looking at how other apps do it.


How can I show that $ab \sim \gcd (a,b) {\operatorname{lcm} (a,b)}$ for any $a,b \in R \setminus \{0\}$?

Let $R$ be a UFD. Then for any two elements $a,b \in R \setminus \{0\}$ $ab \sim \gcd (a,b){\operatorname{lcm} (a,b)}$.   My attempt :  Let $d = \gcd (a,b)$.Then $d|a$ and $d|b$.Then $\exists x,y \in R$ such that $a = dx$ and $b = dy$.Now it is to be shown that $c = dxy$ is the lcm of $a,b$.Which I find difficulty to show.It is clear that $a|c$ and $b|c$. Now if $u$ is any common multiple of $a$ and $b$.Then $dx|u$ and also since $y|b$ we have $y|u$ i.e. $dxy|u^2$ $\implies c|u^2$.But I have to show $c|u$ to complete the proof which I fail to prove.Please help me to complete the proof.  Thank you in advance.


How important is the grade for a course I took, if I want to pursue graduate studies in that field?

I recently made the decision to pursue graduate studies and apply for an MS in computer science program during next year's application process. More specifically, the field that I want to study is machine learning. However, there is something that's been concerning me a lot for the past few days.  I'm actually taking a machine learning course this semester, and I don't believe I did too well. I think I'll end up with either a C+ or at best a B or - if the professor feels very generous - a B+. If I were to give an excuse for the result, I'm not too familiar with many of the tools we used in class (Python, Sci-kit Learn, etc.) and the professor, TA's, and fellow students all gave me the same answer of "it's your job to learn on your own" when I would ask questions (which is true to an extent). It was a disheartening semester, to say the least. But excuses aren't important, and the result is that I didn't perform well.  Now the actual question is: Would this affect my graduate studies application? My GRE scores are satisfactory (163V/169Q/5.5AW) and my TOEFL scores are also good (118/120). Upon graduation I will have around a 3.2-3.4/4.0 GPA.  I've heard stories of professors rejecting applicants because they performed poorly for relevant courses despite showing positive traits in other ways, and I guess that's been concerning me.


Print character array to console in Java

I'm having a problem when I try to parse a String to a char array. Here is my code:  line = scan.nextLine(); System.out.println(line);                char line2[] = line.toCharArray(); System.out.println(line2.toString());   So, as you can see, it's a simple code.   The problem is: line contains the string "00000001010010110100100000100000", but when I use "line.toCharArray", my char array receives "[C@7e243eed". I think it's receiving the line variable adress or something like that.   Could someone help me? Thanks :D


Turn a list into a list which each item has multiplicity 1

Suppose we have a list, where every item has its frequency: 1, 2, 3 , etc. Then,  from this list, I would like to get another list where every item has a frequency 1.   For example, the original list is:  A = [1, 2, 3, 1, 2, 5, 6, 7, 8, 5]   The idea is to get another list such as:  B = [1, 2, 3, 5, 6, 7, 8]   How can I do it?  This is what I implemented in Python:  for i in range(10):     k = i     item1 = A[k]     for j in range(k):         l = j         item2 = A[l]         if (item1 != item2):             B.append(item1)             break   But I get:  B = [1, 2, 5]   Can someone  please help me? Thanks in advance.


I am new to SharePoint 2016 and am being asked to make a approval process at the folder level. Each folder has to follow a different workflow, because they are managed by different teams.  Once the workflow is set, it does't work as the similar for the list.  I mean, the new uploaded documents don't follow any approval path: no assigned tasks, no confirmation email. Just directly published.  Does anyone know how to fix this issue?  Are there issue in working in folders in SharePoint?  Thanks.