How to use htaccess to redirect from www to non-www version of the site

I have a wordpress website   mywebsite.net   on the wwww version www.mywebsite.net wordpress doesn't load  so  want that if the user open the www version of my website is redirect to the non-wwww version  here my .htaccess  # Do not remove this line or mod_rewrite rules and search engine friendly URLs will stop working RewriteBase /  # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>  # END WordPress  # Enable cross-domain CORS  <FilesMatch "\.(ttf|otf|woff)$"> <IfModule mod_headers.c>         Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch>  # WordPress SEO - XML Sitemap Rewrite Fix <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L] RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L] </IfModule>


How can I uninstall a software named Rolimno

I recently noticed that there is an software in my computer which I think I have never installed it. It display advertisements. I tried to uninstall it but when I start uninstalling it, it takes very long time to uninstall. Is there any other way to uninstall it without installing third party "Uninstaller Software" such as Antivirus


Will a USB drive with a 64-bit Ubuntu system work on 32-bit machines?

I want to make a portable flash drive with Ubuntu Mate on it as backup and keep that flash drive in my backpack (which I take everywhere). I don't like to use other people's computers, so I'd rather have an own OS ready to use whenever needed. My intention is having the flash drive carry the actual system of Ubuntu Mate, not an installer.  Now I'm not entirely sure what to install, 64-bit or 32-bit.  My main reason for that is that I don't know if plugging in my flash drive (with 64-bit Ubuntu Mate) on a 32-bit hardware machine, I can actually boot and use it.   Is that possible or should I go with 32-bit for compatibility?   Editing because of "possible duplicate": I think my question is similar, though more specific. I'd find it weird if moderators would not consider this a question on it's own. I've also been searching for an answer to this, for over an hour, without finding one. That's why I'm asking it on here.


I recently partitioned my hard drive to create an empty 43 GB drive on my Windows 7 64-bit Compaq Presario.   After the partition was complete, I used the Windows Installer from the Ubuntu website (wubi) to install Ubuntu 12.04 LTS 64-bit.   With my Dual Boot configuration complete, I restarted my computer and chose the partition with Ubuntu installed on it.   The first time it seemed okay until the login screen, where it froze on the login screen with a dotted purple background and a continuous animated drum sound playing.   I rebooted it and the same thing kept happening.   On around the fourth time, Ubuntu booted correctly.   Then, I messed around with it for a bit when I decided I should install Adobe Flashplayer from the Software Centre. It gave me an “unmet dependencies” error.   So I have two problems :    Ubuntu only boots about one out of every four times correctly I cant download certain software from the software center, as i get an error message saying the dependecies are not met.


Apply Bevel/rounding to junction of two combined forms

I'm looking for a special profile with a combination of two forms.  So that I can best manage the rounding/bevel of the junction of these two forms.  Is it possible and how can I get this result (see attached image)


Special theory of relativity - relative movement

If Mr. Einstein traveled at 99.99999999% speed of light in one direction and shined light backward, would the photon hang static in the air? Traveling speed of light away from its source that travels speed of light the other direction, thus not moving anywhere.


For which conditions on countable sets does continuity implies uniform continuity

This is an exercise from Thomson and Bruckner's "Elementary Real Analysis" (Exercise 5.6.5 page 239):     Let $X=\{x_1,x_2,\dots,x_n,\dots\}$. What property must $X$ have so that every function continuous on $X$ is uniformly continuous on $X$?   The set $X$ is a subset of $\mathbb {R}$. I worked on the $\varepsilon-\delta$ definitions of limits and uniform continuity, but I coudln't link between them. Could you please help me?  Edit: I removed the part My attempt because my result was wrong.


Extracting raster cells from imagery based on RGB value using ArcGIS Desktop?

I've got some aerial photography (format: IMAGINE Image) which is detailed enough to see to fire hydrants and a shapefile of fire hydrants which was digitized based on some CAD data.  My project is to QC the fire hydrant shapefile locations by spot checking with the imagery. Is it possible to extract RGB values from the imagery that match the fire hydrants RGB values?  Fire hydrant (red):    I'm looking to select cell values (which i have written down) that are similar to the cell values of the fire hydrant and then extract those cells (either a raster file of those cells or a shapefile which plots location of similar cells). I'm assuming that there are very few features in the imagery that have similar reddish RGB Values.  After looking at Arron's Answer and playing around with both the supervised and unsupervised approach (see my comment below), i was unable to get the tool to perform exactly what i wanted until I started too look at the confidence raster output from the  tool.  I am not to sure what exactly the raster output is supposed to symbolize but from just looking at the level 14 cell value, but it captured the all the fire hydrants.    raster output:  location of fire hydrants:   My next step is to use the tool  convert the fire hydrant raster footprint to a polygon.  I am running the tool right now and in the past hour it has only made it to 11%.  The area I am working in is large, at 1x1 mile so I understand that it could take some time if there is a lot of small raster cells to convert to a polygon.  Are there any suggestions on running some tools to clean up some of the data so it speeds up the process of converting the raster to a polygon? I may not have a need to run this tool this since the raster footprint did such a good job at capturing the fire hydrants but I am interested in speeding up the process since I foresee this being used in other applications for the future.


Playing a steam game with a controller while using other applications (Multi-Monitor)

I'd like to be able to use my computer while my boyfriend plays a game on steam. I have two monitors and he's using a Xbox 360 controller hooked up to my pc.  Is it possible to allow the game to be active for the controller while other applications are active for my keyboard / mouse?


Quick way to show that inclusion is a local property?

I have encountered a problem which requires me to prove that ideal inclusion is a local property. That is to say, suppose $S,T \subset R$. Show that $S \subset   T \Leftrightarrow SR_P \subset TR_P$ for every prime ideal $P \subset R$.  This is rather an elementary exercise but I think it would be tedious to start with definition and prove the if and only if statement. I was wondering if there is an extremely easy and fast way to show this statement? Since I know a proposition saying that being injective or surjective as Noetherian module is a local property. The proof will be one line for Noetherian ring if we just let the injective map be inclusion. However, it is not always true for general rings. Are there any famous propositions we can use to JUST finish this proof in several sentences, or we must prove this statement from definition?


Reversing a string literal in C with pointers

I am trying to reverse a string literal with the use of pointers, though my code received SEGSIGV signal on *head=*tail line   char* reverse(char* input, int n) {     char temp;     char* head= input;     char* tail= &input[n-1];     while(head<tail){         temp=*head;         *head=*tail;         *tail=temp;         head++;         tail--;     }     return input; }   int main(void){     char* sentence= "All work and no play makes jack a dull boy";     reverse(sentence, strlen(sentence));     printf("%s", sentence);     return 0; }   I don't know if I am trying to access restricted memory segment.


Expression for power of a natural number in terms of binomial coefficients

Is there a general expression for the pth power of a natural number k in terms of binomial coefficients?   I found this identity in a high-school text, which was obtained by simply equating coefficients:  $k^3 = 6 \binom{k}{3} + 6 \binom{k}{2} + \binom{k}{1}$  I would like to know the general expression for $k^p$ in terms of binomial coefficients.   I would also appreciate it if someone could tell me the names of texts which might cover such expressions, and what they can be used for.


how can I make an exact copy (like migration) of my Ubuntu 12.10 (I installed it through Wubi) in a capable pendrive (like 32 gb)? That would be useful in future since I could also remove Wubi and keep my Ubuntu usable on other PCs.  And another question, if I do this, there is a possibility to upgrade in future without losing applications or data?


Using natbib and plainnat - no year appears to some references and also et al. not in Italics

I use natbib and plainnat for bibliography, I use \citep.   The reference appears with et al. that is not italics – how do I change that? Some references just appear with no year. How to fix that? When same author and not same year, how do I get rid from the a,b notation of the same author? I tried garynat instead of plainnat and it solved the italics of et al. but  still problem with the missing year.


Defining a template in .h file, vs declaring in .h file and defining in .cpp file

I have code that looks something like this (compiling using the Arduino IDE).  main sketch file:  #include "myHeader.h"  //setup stuff here, including setting up Serial & SerialBT  loop(){   CheckForMessages(&Serial);   //Check USB first   CheckForMessages(&SerialBT); //Then check Bluetooth }   myHeader.h:  #include "Arduino.h" //other includes  template <class T> void CheckForMessages(T *port);  //declarations of other stuff   myHeader.cpp:  #include "myHeader.h"  template <class T> void CheckForMessages(T *port){   if(port->available() !=0){     //rest of function... }  //definitions of other stuff   When I compile, I get the "undefined reference" errors for both calls to CheckForMessages in the main sketch file. This goes away if I move the definition of the template into the .h file.  I have no issues splitting the declaration and definition of functions in this way as far as I can tell, can anyone explain to me why it isn't working for my templates?


After updating to latest iOS13.4 my iPhone XR gets shutdown even when the batter shows 20%. Tried to browse more on this, it was explained that it is a firmware issue. Can anyone suggest how to recover from this, as its quite annoying to have such behaviour.


I am using camera tracking to make a short film and in render viewport you can see what I am trying to add (yes, those are butterflies).  After rendering the scene the butterflies appeared transparent    As you can see in the first image my material is very basic on the butterfly.   Here are my compositing nodes:   They are the default camera tracking nodes... in blender internal.  I am using blender v2.77 on windows 10 with the cycles render engine.    A similar, yet, unanswered question:


Managing permission for multiuser manual installation in /opt

Similar questions have been asked but I can't seem to find a proper answer.  Basically, I am installing several application manually e.g eclipse, android-sdk, android-adt, arduino etc. and have decided that /opt will be a good place to keep them  By default /opt is root:root with 755  I don't want to run my application as root.Currently I have a single user but I would like the installed applications to be accessible to any user (with necessary permissions). Also if there is any installation/write done in the application limited to /opt it should be allowed.  To achieve this I plan to,   Add user to group root and make the directory /opt 775 ?   Is it safe to add a user to group root?  What is the option otherwise which will enable users rwx in the directory?  I am open for any other better solution as well.


Configure the buttons in TeXstudio left panel

I'd like to know if in my TeX editor, TeXstudio, the buttons can be customized? i.e: The marked button produces $  $, and I'd like to have ${}$  This other button produces \\ and I'd like to have \par %   Is that possible?


Independence of random variables composed of independent random variables with standard normal distribution

$\xi_1$ and $\xi_2$ are independent random variables and have standard normal distribution $N(0,1)$. I want to show that $\mu_1 = \dfrac {\xi_1^2-\xi_2^2} {\sqrt {\xi_1^2+\xi_2^2}}$ and $\mu_2 = \dfrac {2\xi_1\xi_2} {\sqrt {\xi_1^2+\xi_2^2}}$ are independent. I know that I need to show that $\forall \alpha,\beta \in R$ $P((\mu_1\le\alpha)\cap(\mu_2\le\beta))=P(\mu_1\le\alpha) \cdot P(\mu_2\le\beta)$ But I don't understand how to do it. Can you help me, please?


Elementary proof that centre of finite $p$ group is not trivial

Prove that the centre of finite $p$ group is not trivial.   I have found on many links proofs of this property, but all of them use the "Class Equation". I would like to know if there is a proof which doesn't use class equation or cosets, but only simpler properties of elements in groups.   For example, the order of an element, Lagrange or Cauchy theorems


Function Subtracts 1 when converting to base 2 on many numbers?

In my code, I have command line arguments, and they are being passed correctly. I am converting a base 2-10 number into base 10 using coefficient base exponent form. it works on many numbers, but many others don't work. It is noticeable with you convert base 10 numbers, 3 digits, to base 10.   This is my function:  int decimal(int inbase, int dig, int argc, char *argv[]) {      int total = 0, place = dig - 1;      for(int i = 0; i < dig; i++)     {         total = total + (argv[2][place] - '0')*pow(inbase, i);         cout<<"Argv: "<<argv[2][place] - '0'<<endl;         cout<<"Power: "<<pow(inbase, i)<<endl;         cout<<"Total After: "<<total<<endl;         place--;     }      return total; }   Argv[2] is being passed as a character sting, an example input at compiling this program is: ./a.exe 10 100 10 Expected output in base 10: 100 What I get: 99


Is this considered ‘funds parking’ / UK visa bank statement

I will be doing a short term student visa on my American passport and I have a small problem. My father has a savings bank account. He stores all the money required for my education inside it.The last time he did an activity in this bank account was like more than a year ago. He has 18,000 USD in this bank account but recently he placed 3,000 USD . So are the 3,000USD considered ‘ funds parking ‘   They are not from his income. He is unemployed but has lots of properties so he sold a land and deposited the money . I also have a question , how recent should the bank statement be?


Need Graphics Drivers foe AOpen MK77M-8Xn PC

Can anyone suggest or recomend a suitable Graphics drive? I can only find these for Windows OS. lspci gives VGA info:   VIA Technologies KM400/KN400/P4M800 S3 Unichrome (rev 01)   When running "Try Ubuntu without installing" from a UnetBootin USB stick or booting from a clean Ubuntu Hard Disk install the screen "The system is running in low graphics mode" is displayed, from which there is no recovery. Pressing Enter (OK) displays a further 4 options but none can be selected with either mouse or keyboard. During an install (twice now) all graphics display perfectly.


Cannot find Skype in Ubuntu Software Center

I am in need of Skype but, when I upgraded my system to ubuntu, I found that the Skype is not available in Ubuntu Software Center. Even if I download the package from the Skype the Ubuntu Software Center does not allow to install it.  Its too bad that Ubuntu does not support very popular software Skype.


Null pointer Exception android: void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference

I am fetching the data from JSON file and I have to group those data based on the dates. For example, all the activities occurred during June 6 is listed below them. i.e. June 6 is header and all the event occurred them is listed as Even.  My problem is while I am trying to convert those dates into some format I am getting null pointer exception.   There are two layouts one for a header which has a date and other for events. I am trying to set the date into the header layout in onBindViewHolder method of the adapter. There I am getting null pointer exception  Thank you  @Override public void onBindViewHolder(@NonNull RecyclerView.ViewHolder viewHolder, int i) {     switch (viewHolder.getItemViewType()) {         case ListItem.TYPE_HEADER:              HeaderItem dateItem = (HeaderItem) consolidatedList.get(i);             HeaderViewHolder dateViewHolder = (HeaderViewHolder) viewHolder;             String pattern = "yyyy-MM-dd";             DateFormat df4 = new SimpleDateFormat("MM dd, yyyy");              Date date = null;             String str4 = null;             SimpleDateFormat simpleDateFormat = new SimpleDateFormat(pattern);             try {                  date = simpleDateFormat.parse(dateItem.getDate());                  str4 = df4.format(date);              } catch (ParseException e) {                 e.printStackTrace();             }              dateViewHolder.mDate.setText(str4);              break;          case ListItem.TYPE_EVENT:              EventItem event = (EventItem) consolidatedList.get(i);             EventViewHolder holder = (EventViewHolder) viewHolder;             holder.mDate.setText(event.getStreamItem().getDate());             holder.mDesc.setText(event.getStreamItem().getDesc());             holder.mTitle.setText(event.getStreamItem().getTitle());              String image = event.getStreamItem().getImage();              if (image.contains("education_icon.png")) {                  holder.mImageView.setImageResource(R.drawable.boardofeducation);             } else if (image.contains("legislature_icon.png")) {                 holder.mImageView.setImageResource(R.drawable.legislature);             }             break;     } }   //HeaderView Holder  private static class HeaderViewHolder extends RecyclerView.ViewHolder {          protected TextView mDate;          public HeaderViewHolder(@NonNull View itemView) {              super(itemView);              TextView mDate = itemView.findViewById(R.id.date);         }     }   Here's the error.  java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference         at com.example.dipalbhandari.nebraskacapitollive.StreamArrayAdapter.onBindViewHolder(StreamArrayAdapter.java:97)


Blender 2.74 loop tools make circle disappear

I have the loop tools addon enabled and when I click the circle button with these verts selected, it just disappears. Why is that?  You can see the selected options in the bottom screenshot. It is worth noting that all the verts are flat on the x plane. Locking in X or not does not change the effect.   When I use the to sphere operator it squishes the verts on Z and stretches super wide on Y, not making a cirlce.    EDIT:  here is the blend


Can't install new software in the server

I'm trying to install vsftpd on Ubuntu 18.04 LTS, but when I run apt-get install vsftpd I get this error:  You might want to run 'apt --fix-broken install' to correct these.  The following packages have unmet dependencies:  linux-image-generic : Depends: linux-image-4.15.0-42-generic but it is not going to be installed  Recommends: thermald but it is not going to be installed linux-modules-extra-4.15.0-39-generic : Depends: linux-image-4.15.0-39-generic but it is not going to be installed or  linux-image-unsigned-4.15.0-39-generic but it is not going to be installed  linux-modules-extra-4.15.0-42-generic : Depends: linux-image-4.15.0-42-generic but it is not going to be installed or  linux-image-unsigned-4.15.0-42-generic but it is not going to be installed  E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).   I've tried run apt --fix-broken install and apt-get install -f vsftpd but with no sucess.  I looked these answers but the solution didn't worked for me:    Update:  df -h output:  Filesystem      Size  Used Avail Use% Mounted on /dev/root        39G  7.3G   30G  21% / devtmpfs        989M     0  989M   0% /dev tmpfs           992M     0  992M   0% /dev/shm tmpfs           992M  680K  992M   1% /run tmpfs           5.0M     0  5.0M   0% /run/lock tmpfs           992M     0  992M   0% /sys/fs/cgroup /dev/xvda1      232M  224M     0 100% /boot tmpfs           199M     0  199M   0% /run/user/0   df -i output:  Filesystem      Inodes  IUsed   IFree IUse% Mounted on /dev/root      2537760 337826 2199934   14% / devtmpfs        253100    434  252666    1% /dev tmpfs           253889      1  253888    1% /dev/shm tmpfs           253889    606  253283    1% /run tmpfs           253889      4  253885    1% /run/lock tmpfs           253889     18  253871    1% /sys/fs/cgroup /dev/xvda1       62248    326   61922    1% /boot tmpfs           253889     10  253879    1% /run/user/0   apt-cache policy linux-image-generic output:  linux-image-generic:   Installed: 4.15.0.42.44   Candidate: 4.15.0.42.44   Version table:  *** 4.15.0.42.44 500         500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages         500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages         100 /var/lib/dpkg/status      4.15.0.20.23 500         500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages      4.4.0.139.145 500         500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages   uname -r output:  4.15.0-36-generic   Update 2: I try this command:  dpkg -l linux-image-\* | grep ^ii   it shows only one kernel:  ii  linux-image-4.15.0-36-generic          4.15.0-36.39  amd64        Signed kernel image generic   When I try to remove:  apt-get remove linux-image-4.15.0-36-generic   The return is:  ou might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies:  linux-image-generic : Depends: linux-image-4.15.0-42-generic but it is not going to be installed                        Recommends: thermald but it is not going to be installed  linux-modules-extra-4.15.0-36-generic : Depends: linux-image-4.15.0-36-generic but it is not going to be installed or                                                   linux-image-unsigned-4.15.0-36-generic but it is not going to be installed  linux-modules-extra-4.15.0-39-generic : Depends: linux-image-4.15.0-39-generic but it is not going to be installed or                                                   linux-image-unsigned-4.15.0-39-generic but it is not going to be installed  linux-modules-extra-4.15.0-42-generic : Depends: linux-image-4.15.0-42-generic but it is not going to be installed or                                                   linux-image-unsigned-4.15.0-42-generic but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


Has the speed of light changed over time?

Could someone judge my (stoner) hypothesis that the speed of light has changed over time -- i.e. as the universe has expanded in volume light has slowed down, perhaps going so far as back to the big bang when it was infinitely fast and there was no time because everything happened at once etc. Thinking that the speed at which information can propagate through the universe is linked to the size of it seems intuitive to me. My question -- is there an easy disproof of this? Would Einstein have to be wrong? Does it violate anything supposedly more fundamental such as quantum or string theories? Do any current experiments invalidate it? If not can you show me in any case why you think its unlikely.   Edit 8/24  I'm accepting Mark M.'s answer but will post this here because there is a character limit on comments  @Mark M thanks, good answer but as someone who has only read some popular physics, and should leave this to the experts, I'm still muddled in my personal theory. I don't see why you should need two units to measure the speed of light. The thing I have a hard time wrapping my head around is the relation of time and distance. They seem like they could fundamentally be the same thing. If you say time is measured fundamentally by the vibration of so and so quantum object in space... why can't we just measure that vibration distance as the constant... I'll repeat myself to try to be clear... there is a certain minimum distance that particles have to go to interact with each other... if it wasn't vibrating there wouldn't be time,its what creates the illusion of time...so instead of talking about speed or c as distance/time.... can't we simply talk about that distance a quantum object vibrates....I'll lead up to my point.....perhaps there can need be only one constant here, and that is the physical size of the universe. a tiny metal tuning fork doesn't appear to be vibrating at all but if you blew it up to the size of the empire state building the metal rods would move from window to window. perhaps as our universe expanded in size the length of that minimum vibration (perhaps infinite at point zero) would have expanded, and therefore created the illusion of time and the speed of light, which, as the universe expands, will continue slowing down. perhaps we are like a big balloon and we have been blown up and all the fields/particles-without-size are vibrating more and more in that space.. am i missing something obvious here?


Got 220 MB space free but still not able to download apps

I have a second gen MOTO -E . I have 220 MB free in internal storage but I can't download apps of even 3 MB What should I do ?


I having trouble inserting a gif file into my overleaf latex document. Here is the code I used:  \documentclass[conference,10pt]{IEEEtran}  \usepackage{graphicx}  \usepackage[utf8]{inputenc}  \usepackage{epstopdf}    \usepackage{psfrag}      \usepackage{subfigure}   \usepackage{url}         \usepackage{stfloats}    \usepackage{amsmath}      \interdisplaylinepenalty=2500                      \usepackage{balance}   \DeclareGraphicsRule{.gif}{png}{.png}{%       \noexpand\epstopdfcall{convert #1 \noexpand\OutputFile}%  }  \AppendGraphicsExtensions{.gif}   \begin{figure}[h!]     \includegraphics[width=\linewidth, angle = 0] {images/Climate_Simulation_of_Surface_Air_Temperature.gif}     \caption{NASA's Map of Antarctic Ice Flow}     \label{fig:SSBlock}  \end{figure}  This did not work so I replaced the    \begin section with this line of code:       \includegraphics[width=\linewidth, angle = 0 {images/Climate_Simulation_of_Surface_Air_Temperature.gif}  Still nothing worked. Please let me know how I can insert my .gif file.


Recover sheet protection password in Excel

I have an Excel workbook. Two years ago I set password protection option for one of the sheets. Now I have forgotten the password. Is there any way to recover the password of that Excel sheet?


Is it possible to use svg images with Overleaf

Unfortunately I am not able to include svg images in overleaf. This is the minimal example: \documentclass{article} \usepackage{svg} \usepackage{amsmath} \begin{document}  \begin{figure}[htbp]   \centering   \includesvg{image.svg}   \caption{svg image} \end{figure}  \end{document}  This will give an error says File `./image' not found  Overleaf does allow svg extensions but how can I include the file?


Is there a tool that makes paragraphs into rectangles?

I was just wondering if there was a LaTeX tool for making paragraphs of text into perfect rectangles. The effect is shown below in a schematic


"Social media post" or "social-media post"?

Should "social media" be spelled with a hyphen in the phrase "social media post"?   To me, the hyphen looks wrong, but I would like to be able to provide some grammatical rationale to explain why.


Disable background until form disappears

I want to disable the background windows of my application until the top window is close . Exactly like error message window.


I recently found in my late husband's files, an uncashed payroll check dated 2/07/90 in amount of $557.74 which he  apparently had overlooked.  He passed in 2012.  Is it even pos-  sible to be remunerated at this late date for money he earned?  The company is still in business.


SPSite and SPWeb object dispose inside foreach loop

I have a code that loops through all the Sites and Webs in a web application.  My code uses for..each loop to navigate through each site and web object.  I was wondering if we are required to dispose the SPWeb and SPSite objects when used inside a loop.  Codes:-  foreach (SPSite thisSite in siteAuditWebApplication.Sites) {  //My operation here  }  Similar to the above code I also have some part of code that loops through all the Web and Lists.  Do we have any best practice for disposing objects inside the loop,  or do i really need to take care about disposing the objects?  Thanks in Adv.. Sudhir


Applying Eisenstein's criterion to $x^3 + x^2 − 2x − 1$?

Is it possible to apply a shift (to the variable $x$) and Eisenstein's criterion to show that the polynomial $f(x) = x^3 + x^2 − 2x − 1$ is irreducible over the rationals?


I recently got accepted into PhD programs at University A,B,C, and D.  I interviewed with Professor W at University A, Professor X at University B, Professor Y at University C, and Professor Z at University D.  I chose University B.  But now I am having doubts about B  and wish to go to University A to work with Professor W.  How do I tell Professor X that I want to change my mind and work with Professor W?  I also had additional conversations with Y and Z at C and D; they were pretty helpful and gave good guidance and tips about going to A and not going to B, so I feel even stronger about my decision to attend A over B.    University C and University D are on the east coast, while A and B are on the west coast.  How should I handle this?    Will I be burning bridges with X, Y and Z at B, C and D?   I wish to do my post-doc someday at University D or maybe C so it's important to not piss off X and Y, who both know B very well since the area of research is quite small.  W also knows X Y and Z


Why ; is called semicolon and what is its history?

Semi- is a Latin prefix meaning "half" and colon is another punctuation. Should I therefore say that semicolon is a halved colon?


How many axes did Gimli bring on the quest of the Fellowship?

In the LotR movies, Gimli leaves Rivendell with the Fellowship directly following the Council of Elrond.  Yet he seems to have an absurd number of axes with him.  One is destroyed when he tries to chop the Ring in half at the council - I assume this was his main axe; yet although he has no time to go home and get a replacement, he has at least 3 more LARGE axes on him during the quest.  One - at least 4 feet long - is destroyed when he throws it at Gandalf (because he thinks Gandalf is Saruman).  He also throws at least one more in battle (I believe at Helms Deep), and presumably never gets it back (we certainly never see it again).  And throughout the trilogy he wields a massve double headed axe in battle.  He has no bags, certainly none large enough to hold axes, so where do the axes keep coming from?    Do the books address where all these axes are coming from, how he carries them all, and why we never see him with more than 2 at a time (in the scene where he throws one at Gandalf, we see the 4-foot throwing axe in his hand and the double headed axe on his back, but I don't remember seeing more than one axe at a time in any other scenes)?  Does he have fewer axes in the books?  Or does it simply never come up in the books?


Is it a bad idea to use multiple analytic packages?

Is it alright to use multiple analytics packages (Google, clicky, mixpanel, etc) at the same time on the same site?  Would it be more beneficial to just use one package?


Suggestion for statistical analysis. Is generalized estimating equation (GEE) a good option?

I have two groups a G1 and control.  For both groups we measured their cell counts every 10 minutes:  0 to 650 min.    We are trying to find:    Difference (in cell counts) between G1 and controls - significant Effect of time (on the cell count) the same for both G1 and controls   What statistic analysis do we need to use?  One of my friends told me to use the generalized estimating equation (GEE), but I am not sure.  What is GEE used for?


Differences among expression and idiom, as well as colloquial and vernacular

Expression and idiom are used interchangeably, and so are colloquial and  vernacular; albeit incorrectly.  Please advise on differences in meaning and recommend a proper usage.


I've been looking for a way to sum the total areas of each polygon in specific classes using ModelBuilder. Many have suggested the "Summarise Statistics" option which creates a new table, is there any way of doing this by "Calculate Field" in a Total_ha field I've created especially in the original table for this? I have several hundred shape files to do, it would be a pain to have to join them with the Summary table...


How to install haskell for Ubuntu 13.10?

I am trying to do sudo apt-get install haskell-platform but get only package not found message. What do I actually need to do?


Let $R$ is  an integral domain .  Show that If $R[X]$ is Euclidean domain then $R$ is a field .  I'll be waiting for your help. Thank you very much in advance!


Move Gnome 3.10 window close button to left side

How can I move the close window button from right to left side?   Nautilus  I upgrated the Gnome from 3.8 to Gnome 3.10.0.1. I already moved the maximize, minimize and close buttons to left side with the following result:   Mozilla Firefox  ...but it seems that the Nautilus (for example) close button is not moved. Why? How can I move it?  didn't solve the problem.


Meaning of "to stay in hospital" in a headline vs. "will remain hospitalized" in the lead

First, in the present and then in the future. Why? it's from a newspaper  The title is in the present tense. I don't understand why:     Taylor to stay in hospital      The actress, Elizabeth Taylor, will remain hospitalised for another day or two following a brain seizure that put her back in the hospital shortly after she was discharged following brain surgery, a spokesman said yesterday.


Manga about 3 school friends who have to play games to survive

I am having a tough time trying to remember the name of this manga. It had three high school friends and they woke up in an alternate reality where people play games to survive. The games difficulty is determined by a something and can determine the difficulty by a deck of cards.  The first game was something like 2 of diamonds and they had to get fortune cookies and survive a bunch of flaming arrows (Which they did). One of the group guys is smart while the other of the group guys is really brave then they have a 3rd member who is worthless it seems.


Present or Present Perfect in this sentence with an imaginary statement

I wrote:     the associated organizations must act urgently in introducing a new word for a foreign word before it has been widespread / becomes widespread / has become widespread / would been widespread / had been widespread / would have been widespread / would become widespread   I guess I'm speaking an imaginary situation "before an imaginary word is widespread" (after the act have completely happened) or maybe it's just a fact. Do I need "would"?   Anyway, which tenses I mentioned are correct or more idiomatic?


Remove Unity completely and exchange it with LXDE

I have installed Ubuntu onto my old Windows Vista laptop but unfortunately it is running very slow. I also live in a region of Germany which has a very poor internet connection and I am unable to download any lightweight distribution as the Ubuntu download took me 6 hours.    I have tried many thing to get Ubuntu to run faster such as installing compizconfig-settings-manager and disabling the blur in Unity, I also decreased swappiness to ten, and installed the Preload Daemon. On my desktop performance was increased , however my laptop is still low after these changes. My idea is to remove Unity completely and change my desktop environment to LXDE but I don't know how to do that.  System Specifications:   Manufacturer : HP Model : Compaq 6720s Processor : Intel Celeron 550M (Single Core 2.00 GHZ) RAM : 2 Gig HDD : 160 Gig Graphics : Intel Graphics Media Accelerator x3100 (8-359 MB Shared)


Automated method of setting ideal sizes and positions of symbols or logos of various proportions, when put together (ignoring any text)

I always spend too much time trying to scale symbols or logos that are supposed to look harmoniously next to each other, like below:    These seem to be acceptable to me, but I wonder if there is any formula or recipe that can be used to make a row of random proportions symbols look good and save time? I guess spacing also can be optimised, like in case of fonts. It probably depends on shapes of symbols, not only on their outer boundaries, but maybe there is some not too complicated solution?  It would be ideal to have a script that does it.  EDIT: Thanks to  and  for suggesting a similar question (), there are some great answers there. However they stress on importance of making the text look of similar size. At the moment I usually deal with symbols that rarely have text in it, so it is more a matter of balancing the geometry. Ideally I'm interested in solution that could be scriptable, semi-automatic or fully-automatic.


"Latter" when referring to more than one

There are 3 scenarios and I want to contrast the first with the second and the third. So on one side there is one single scenario and on the other side there is 2 scenarios. I like to use "former" and "latter" to refer to these two sides as in the following sentence:     The first case can not be compared with the second and the third cases, because the material used in the former is water-based while the one used in   the latter is oil-based.   But then there seems to be an ambiguity in terms of plurality/singularity of what "latter" is referred to; it seems to me that "latter" has the connotation that there is just one scenario in the second side of the contrast. Is there any way to overcome this ambiguity? It seems to me that "latters" in plural is not a word.


Why Bootstrapping standard errors and 95% confidence intervals change each time I re-conducted the analysis

I was using respondent-driven sampling analysis tool (RDSAT) to get bootstrapping confidence intervals. But each time I re-did the analysis, I noticed the bootstrapping standard errors and confidence intervals changed a little bit. Is this normal for bootstrapping confidence intervals? Thank you!


If /proc/cpuinfo shows X processors and Y cores, then is the number of threads X*Y?

My /proc/cpuinfo shows 16 processors and 8 cores. For example, the last processor looks like the image below.    My coworker explained this /pro/cpuinfo information as there being 16 virtual cpus, and 8 threads being able to run in each virtual cpus. Therefore we can run 16*8 jobs at once.  Is that right? I don't personally buy that. I interpreted as being able to run 16 jobs at once.


I'm looking into buying a lufthansa economic flex ticket so if something happens and I am forced to cancel my trip under any circumstance, then I can get my money back (I'd cancel the entire trip, outbound and inbound). My question is if I can just cancel my ticket and get my money back ? (I assume I'd have to pay some fee).


Where does a .blend file store its user preferences?

Last night windows updated and restarted computer while blender was rendering. Today that file will not run - freezes blender if I try to load it and so does the immediately previous .blend file.  If I could find the place where the preferences file is kept maybe I could fix this.  New information: Strangely I ran the .blend1  version of the file and it works.  (I have lost some work because the .blend1 was an hour or two earlier and I can't remember how I did stuff)  In a previous 'freeze' problem I solved it by changing the names of the preferences.blend files in the  Appdata location, so I thought this time it was the same kind of problem and that there must be yet another place where the data is stored, but maybe same symptom but different cause.  Don't know what messed those files up (for both versions of blender 2.72b and 2.73)   Thank you very much for the effort you went to to explain.   PS- have changed windows setting to ask me before installing updates.


Give a specific user permissions to a device without giving access to other users

I have a card reader attached on /dev/sdb.  What I do is giving all permissions to owner, group and the rest of the world, using:  sudo chmod 777 /dev/sdb   Can I just use another combination, allowing only the owner (me) to use the card reader?  There is only one user account.


Would Neville Longbottom Have Survived If Voldemort Had Marked Neville For Death Rather Than Harry?

If Voldemort had marked Neville Longbottom as his equal, instead of Harry Potter, would Neville have survived the Killing Curse as Harry did? Neville and Harry are both inherently brave; however, their personalities are quite opposite. What would have happened if Voldemort had marked the Longbottoms for death instead of the Potters? How would history have been different? Here are a couple relevant passages from Order of the Phoenix: Sybill Trelawney's prophecy:  "The one with the power to vanquish the Dark Lord approaches. Born to those who have thrice defied him, born as the seventh month dies. And the Dark Lord will mark him as his equal, but he will have power the Dark Lord knows not. And either must die at the hand of the other, for neither can live while the other survives. The one with the power to vanquish the Dark Lord will be born as the seventh month dies . . ." Order of the Phoenix - Page 841 - US Hardcover  After relating the prophecy to Harry, Dumbledore says:  "You are forgetting the next part of the prophecy, the final identifying feature of the boy who could vanquish Voldemort. . . . Voldemort himself would 'mark him as his equal.' And so he did, Harry. He chose you, not Neville. He gave you the scar that has proved both blessing and curse." Order of the Phoenix - Page 842 - US Hardcover


If i have an array of strings, for example, String[] myS = new String[] {"1234", "abcd", "234", "bcd", "34", "cd"}, will sort work on this? I assumed sort on strings would sort it alphabetically, but if so, would it break once it sees a string containing numerical digits?  Here's my function (which is taking in 2 string arrays and doing a substring comparison of 1 and 2.)  public static String[] inArray(String[] array1, String[] array2) {       if(array1.length == 0 || array2.length == 0) return new String[]{};       int size=0, index = 0;      Boolean flag = false;      for(int i=0; i<array1.length; i++){        flag = false;        for(int j=0; j<array2.length; j++){           if(array2[j].contains(array1[i])){             flag = true;             break;           }        }         if(flag == false) array1[i] = "";        else size++;      }       if(size == 0) return new String[] {};  //No matches found       String[] sortedArr = new String[size];       for(int i = 0; i<size; i++){        if(array1[i] != ""){           sortedArr[index] = array1[i];          index++;        }      }       Arrays.sort(sortedArr); //Occasionally throws null pointer exception      return sortedArr; }


Galaxy is 8 times closer 13 billion years ago?

Based on below,  How can I calculate the distance of a point from Earth now vs 13 billion years ago? The excerpt below claims it is 8 times further now. Can someone provide relevant equations ?  I have a question on an excerpt from the book “our mathematical universe”.  It has the passage “If our universe is 14 billion years old, how can we see galaxies 30 billion light years away? How did their light have time to reach us? Answer is we are not seeing where the galaxies are now but where they were when the light was emitted”  The next part: “Just as we see the sun as it was 8 minutes ago, We might see a distant galaxy the way it looked 13 billion years ago which was about eight times closer to the earth than now?”


Automatic community detection / Aid to find the right community

There is a growing number of Stack Exchange communities. It happened a few times, that I was not sure, to which community my question suited the best and it also happened, that I totally forgot about a community and I asked a question in the wrong one.  For example I asked a Raspberry Pi question on , although there is a Raspberry Pi community.  I think it's possible to detect from the title and the tags, to which community a question suits the best. If it's the case, that the user is about to post a question on the wrong community, a hint could be displayed.  Another idea to approach this problem is to implement something like a wizard. I imagine this like a text field, where you can enter tags. Then the most suitable community appears.


I am trying to prove that $O(2)$ has two connected components. This is what I have done: Suppose $A \in O(2)$. Then $A^tA=I$, where $A^t$ is the transpose of $A$ and $I$ is the identity. Taking the determinant of both sides of this equation, we get $\det(A^t)\det(A) = (det(A))^2$   which implies $\det(A) = \pm 1$.  And since $\det$ is continuous (which means that the inverse image of an open set is open), we have $O(2)$ is the disjoint union of $O^+(2)$ and $O^-(2)$. Is this right? Would this be sufficient or would this only prove that there are at least two components?


Trying to create a bootable cd from a mac to boot from my windows pc

I'm trying to create a bootable cd from a mac (running computer) to use to boot and install ubuntu to my pc (not running computer).  Any 'how-tos' or tutorials that can help me?


If ring $B$ is integral over $A$, then an element of $A$ which is a unit in $B$ is also a unit in $A$.

Let $A$ be a subring of ring $B$, with $B$ integral over $A$. If $x\in A$ is a unit in $B$, then it is a unit in $A$.   I know that $f(t) = t - x$ is in $A[t]$ with $f(x) = 0$, and that there exists some monic polynomial $g(t) = t^n + a_{n-1}t^{n-1}... + a_0$ also in $A[t]$ so that $g(x^{-1}) = 0$, and as I understand it, this proof comes down to showing that $x^{-1}$ must be an element of A. But I'm not sure what kind of manipulation of these polynomials will do that for me. I tried examining $x^n g(t)$ and saw that $0 = x^ng(x^{-1}) = 1 + xa_{n-1} + ... + x^na_0$, but I can't seem to get anything useful out of this. Any hints toward the right direction would be appreciated.


How to reduce the AVR MCU footprints on PCB?

I want to make my circuit board very small. I have seen many smaller boards with complex circuit. But I am not sure how do they do it? Is it all Custom circuit implemented on VHDL or some micro controller core printed on circuit board like the Black portion on the image below. I am new to PCB designing. Any suggestion would be appreciated.


Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference error

I created a DialogFragment. The Dialog got a EditText and I call it from the dialog xml. But there is the error: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference  New in this code:      AlertDialog alertDialog; AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());   and  final EditText editText = (EditText) alertDialog.findViewById(R.id.editTextPasswordDeveloper);   My Code:  public class DeveloperLoginDialogFragment extends DialogFragment {  EditText editText;  @Override public Dialog onCreateDialog(Bundle savedInstanceState) {      final LayoutInflater inflaterDialog = getActivity().getLayoutInflater();      AlertDialog alertDialog;     AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());      alertDialog = builder.create();     // final AlertDialog alertDialog = new AlertDialog.Builder(getActivity());     builder.setCancelable(false);     builder.setView(inflaterDialog.inflate(R.layout.alertdialog_developer, null));     final EditText editText = (EditText) alertDialog.findViewById(R.id.editTextPasswordDeveloper);     builder.setTitle("Entwickler-Login");     builder.setMessage("Um dich als Entwickler zu verifizieren, gib den Entwickler-Code bitte unten ein.");     builder.setPositiveButton("Verifizieren", new DialogInterface.OnClickListener() {         @Override         public void onClick(DialogInterface dialog, int which) {             if(editText.getText().toString().equals("7846")) {                 dialog.dismiss();                 Toast.makeText(getActivity().getApplicationContext(),"Erfolgreich verifiziert!", Toast.LENGTH_LONG).show();             }         }     });     builder.setNegativeButton("Abbrechen", new DialogInterface.OnClickListener() {         @Override         public void onClick(DialogInterface dialog, int which) {             Intent intent = new Intent(getActivity(), MainActivity.class);             startActivity(intent);         }     });     return builder.create(); }   }


Cricket ball bounced over keeper and landed outside the boundary line!

Consider this situation :  A short boundary behind the wicket and the pitch is having an extra(or abnormal) bounce. A fast bowler bowls a bouncer which flies over the keeper and lands outside the boundary.  Will this be given as 6 runs ?  Was there any incident like this in the history of cricket?


I'm trying to create a regex matching the following patterns (with and without space):     M1 1AA, M60 1NW, CR2 6XH, DN55 1PT, W1A 1HQ and EC1A 1BB   I'm very new at this and find it hard to create a functional regex for all the examples above.  Searching here and there I found a regex that might work for some of the patterns but I don't know how to add the condition "with or without space" for each type of postcode.  Here the regex I found on another post "^(A-PR-UWYZ [0-9][ABD-HJLNP-UW-Z]{2})"  How do I add the space/no space condition? In order to match M11AA or M1 1AA.


How to determine current users who are logged in using a specific domain? | UNIX

I want to know How to determine current users who are logged in using a specific domain? For example, here is the question. Please tell according to it using the grep command and use of wc.  Question: Write a C shell script called countkpu which determines how many of the currently logged in users are logged in from a computer on the kwantlen.ca domain. To do this, note the who command will show each user who is logged in along with identification of their computer. You can feed this information to the grep command, to only display strings that contain the "kwantlen.ca". You can then further feed this output to the wc command, which can be used in such a way to just count lines of output.  HERE IS WHAT I DID: grep `hostname` /etc/hosts    results: 10.65.36.35    gator    gator.kwantlen.ca   loghost    The Problem is how will I combine the who command as in the question? I mean it is not telling who is logged in using this domain.


Crossed vs nested random effects: how do they differ and how are they specified correctly in lme4?

Here is how I have understood nested vs. crossed random effects:    Nested random effects occur when a lower level factor appears only within a particular level of an upper level factor.     For example, pupils within classes at a fixed point in time.   In lme4 I thought that we represent the random effects for nested data in either of two equivalent ways:    (1|class/pupil)  # or   (1|class) + (1|class:pupil)    Crossed random effects means that a given factor appears in more than one level of the upper level factor.     For example, there are pupils within classes measured over several years.   In lme4, we would write:   (1|class) + (1|pupil)    However, when I was looking at a particular nested dataset, I noticed that both model formulas gave identical results (code and output below). However I have seen other datasets where the two formulas produced different results.  So what is going on here?   mydata <- read.csv("https://web.archive.org/web/20160624172041if_/http://www-personal.umich.edu/~bwest/classroom.csv") # (the data is no longer at `http://www-personal.umich.edu/~bwest/classroom.csv` # hence the link to web.archive.org) # Crossed version:  Linear mixed model fit by REML ['lmerMod'] Formula: mathgain ~ (1 | schoolid) + (1 | classid)    Data: mydata  REML criterion at convergence: 11768.8  Scaled residuals:      Min      1Q  Median      3Q     Max  -4.6441 -0.5984 -0.0336  0.5334  5.6335   Random effects:  Groups   Name        Variance Std.Dev.  classid  (Intercept)   99.23   9.961    schoolid (Intercept)   77.49   8.803    Residual             1028.23  32.066   Number of obs: 1190, groups:  classid, 312; schoolid, 107   # Nested version: Formula: mathgain ~ (1 | schoolid/classid)  REML criterion at convergence: 11768.8  Scaled residuals:      Min      1Q  Median      3Q     Max  -4.6441 -0.5984 -0.0336  0.5334  5.6335   Random effects:  Groups           Name        Variance Std.Dev.  classid:schoolid (Intercept)   99.23   9.961    schoolid         (Intercept)   77.49   8.803    Residual                     1028.23  32.066   Number of obs: 1190, groups:  classid:schoolid, 312; schoolid, 107


Formation of the free group on $S$ is a functor

Example 1.2.4 in  says that an assignment of the free group $\mathcal F(S)$ on $S$ to every set $S$ is a functor. He gives an example of how to assign to a particular function of sets $f:S\to S'$ a homomrphism $F(f):F(S)\to F(S')$ but doesn't give a general proof. So I was wondering how to prove that it is indeed a functor?   (He doesn't give a rigorous definition of the free group on $S$ either, but let's assume that a formal definition is known (it's the set of equivalence classes of reduced words on the set $S\cup S^{-1}$, where $S^{-1}$ is the set consisting of all symbols $s^{-1}$ for all $s\in S$, with the operation of concatenation).)


I'm trying to set up  and hitting a bit of a wall. I generated a new gpg key with gpg --gen-key and then ran pass init 1E3C5C98 where 1E3C5C98 is the ID for my new key, at least as I understand it. It acts like it worked:   mkdir: created directory '/home/amanda/.password-store/' Password store initialized for 1E3C5C98   And I can add new passwords with pass insert Example/username but when I try to view them I get gpg: decryption failed: No secret key --  I can't figure out how to tell pass what my gpg passhprase is, and pass isn't asking me for it. I read through  but I'm finding an answer there. I suspect I'm missing something super obvious.  The pass developers recommend gpg-agent but I'm also not totally sure how to tell gpg-agent to unlock my gpg key.   Per the comments, I tried running pass Example/username through strace -- I can add a password just fine with pass insert Example/username but when I try to view the password I see the "no secret key" error.   amanda@mona:~$ strace -e execve -F pass Example/username execve("/usr/bin/pass", ["pass", "Example/username"], [/* 66 vars */]) = 0 execve("/usr/local/sbin/bash", ["bash", "/usr/bin/pass", "Example/username"], [/* 66 vars */]) = -1 ENOENT (No such file or directory) execve("/usr/local/bin/bash", ["bash", "/usr/bin/pass", "Example/username"], [/* 66 vars */]) = -1 ENOENT (No such file or directory) execve("/usr/sbin/bash", ["bash", "/usr/bin/pass", "Example/username"], [/* 66 vars */]) = -1 ENOENT (No such file or directory) execve("/usr/bin/bash", ["bash", "/usr/bin/pass", "Example/username"], [/* 66 vars */]) = -1 ENOENT (No such file or directory) execve("/sbin/bash", ["bash", "/usr/bin/pass", "Example/username"], [/* 66 vars */]) = -1 ENOENT (No such file or directory) execve("/bin/bash", ["bash", "/usr/bin/pass", "Example/username"], [/* 66 vars */]) = 0 strace: Process 1388 attached strace: Process 1389 attached [pid  1389] execve("/usr/bin/tty", ["tty"], [/* 65 vars */]) = 0 [pid  1389] +++ exited with 0 +++ [pid  1388] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1389, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- [pid  1388] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1388, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- strace: Process 1390 attached [pid  1390] execve("/usr/bin/which", ["which", "gpg2"], [/* 66 vars */]) = 0 [pid  1390] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1390, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- strace: Process 1391 attached [pid  1391] execve("/usr/bin/getopt", ["getopt", "-o", "c", "-l", "clip", "-n", "pass", "--", "Example/username"], [/* 68 vars */]) = 0 [pid  1391] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1391, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- strace: Process 1394 attached [pid  1394] execve("/usr/bin/gpg2", ["gpg2", "-d", "--quiet", "--yes", "--compress-algo=none", "--no-encrypt-to", "--batch", "--use-agent", "/home/amanda/.password-store/Exa"...], [/* 68 vars */]) = 0 gpg: decryption failed: No secret key [pid  1394] +++ exited with 2 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1394, si_uid=1000, si_status=2, si_utime=0, si_stime=0} --- +++ exited with 2 +++   Note: I think this might be related:  /


Too many bookmarks for hyperref and xpatch

I use a lot of "Lists of" in my document, some of them are generated by \listoftheorems. To include these lists in my PDF-bookmarks, I use .  But actually this crashes, when too many bookmarks are produced.  \documentclass{article}  \usepackage{thmtools} \usepackage{xpatch} \xpatchcmd{\listoftheorems}{\@fileswfalse}{}{\typeout{yes}}{\typeout{no}}  \declaretheorem{theorem}  \usepackage{hyperref}  \begin{document}  \tableofcontents \tableofcontents \tableofcontents \tableofcontents \tableofcontents \tableofcontents \tableofcontents \tableofcontents \tableofcontents \tableofcontents \tableofcontents %\tableofcontents %causes crash \listoftheorems  text  \end{document}


Why does the Huntsman seem to be more accurate/powerful than a sniper rifle?

I've noticed that I do far more damage with the Huntsman than I do with the standard sniper rifle, and,  not only do my arrows hit enemies more often than sniper bullets, but they also head-shot far more often as well.  However, according to the TF2 , both the sniper rifle and the Huntsman have the same accuracy, but the Huntsman is actually weaker (having a damage output of 44-137, as opposed to the stock sniper's 43-172). Why is it, then, that the Huntsman hits enemies (and head-shots them) more often than the stock rifle, and why does it seem to be more accurate than the stock?


After detecting a collision between two convex shapes by using separating axis theorem and calculating MTV. How can I calculate the contact points?(for applying torque to the rigid body).


How does centrifugal force resemble gravity?

Someday we may build a rotating space station with the centrifugal force providing an artificial gravity. (Also answer the title question)


The date on my milk says 11/12/19, and its passed. I was going to dump it so I smell it and it smelled normal?? Is it still ok to use? Because I have another gallon in the fridge (they come in pair)


Kubuntu erased whole disk while trying to install in EFI mode

I just bought a laptop Acer Aspire V11 (500 GB hardrive, 4GB RAM) with Windows 8 installed on it.  I want to replace Windows with Kubuntu.  I set the boot order to USB and created a bootable USB with Kubuntu 14.04 iso on it to install.  When I boot from the USB it looks like it is using EFI mode (black screen with only 3 options).  At the Disk setup step I chose to use all disk available for Kubuntu Once the installation finished the computer cannot boot Kubuntu. Windows has been completely erased.  It looks like the Kubuntu installation has erased all the partitions and now the computer is not even able to boot on the hard drive.  Should I make a specific partition scheme?  Is this something to do with the EFI?


How to retain 0s after decimal point, after converting string to double

#include <iostream>  using namespace std;  int main() {     string str="-1.2300";     double d = stod(str);     cout<<d<<"\n"; }   output: -1.23  i am expecting output as following   -1.2300


My university has decided that "et al." should be emphasized.  In order to do so, I have followed Citations are collected in Mendeley 1.17.13 which has BibTex syncing enabled. The citation is inserted into Lyx 2.2.3. with citation style natbib author-year, bibliography style plain, bibliography generator default.  This question has been asked several times, e.g. . I have replaced "et al." in the agsm.bst style, replaced it with \emph{et~al.} and saved under a different name (agsm_hh.bst). There were 4 instances. I have reconfigured and restarted Lyx, and set the BibTex Generated Bibliography style set to agsm_hh.   This gives an error:   What am I missing?


How do I make sunlight emit between clouds?

Many tutorials show how to make mist and have light go through a window and it's pretty straightforward, however, what puzzles me is how do you do that when you emit beams of light between clouds?   If it's in the distant background I'd just use a HDRI or similar but I want the camera to fly into them.   In cycles, what technique should I use to approach this shot?   ADDITIONAL  In the "possible duplicates" the rays don't pass through the clouds they emit off screen or through an object but never clouds. So how to make the emission of clouds have variable opacity in a specific pattern?


Does this parallel structure need coordinated prepositions to avoid being a faulty parallelism?

...on Finnis's view all distinct instances of basic goods are incommensurable — none is of more, less, or equal value with any other. —    I expect to see more or less than any other, but then equal shows up, and is followed by with. But since with any other cannot replace than any other, do you think this sentence illegitimately omits something?


Backing up Windows 7 clean installation for restore purposes

All these cheap terabytes are giving me headaches. I have few multi TB drives at home and most of them are over 50% full, and now I think my W7 machine needs a re-haul.   I'm from the old school way of doing those things, unless I format the drive I don't think I can call it a clean install. The notion of deleting all these programs, and the notion of backing up all the data on system drive makes me nauseous.  But what I really want to know is - do we have a software that could make a image from my clean installation ?  This is basically what I'm looking for:   I install the Windows on a clean drive I set up all the settings, preferences, bookmarks, programs back it up somewhere, somehow - so the next time my computer gets sluggish and slow, I just revert back to that state?   Don't say System Restore, I have nothing but bad experience with that tool...


I upgrade my system to ubuntu 18.04 lts, but I work on projects that require JDK 7. How can i install jdk7 on ubuntu 18.04 lts 64bit?


ERROR: App constantly crashes, will not load

I am kind of new to programming and unsure what I have done wrong with my code. The error is logcat is as follows      Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.material.bottomnavigation.BottomNavigationView.setOnNavigationItemSelectedListener(com.google.android.material.bottomnavigation.BottomNavigationView$OnNavigationItemSelectedListener)' on a null object reference         at com.example.cleverreality.MainActivity.onCreate(MainActivity.java:42)  And this is the code for fragments I have been working on with the error on the 2nd line.         BottomNavigationView bottomNav = findViewById(R.id.bottom_navigation);         bottomNav.setOnNavigationItemSelectedListener(navListener);     }     private BottomNavigationView.OnNavigationItemSelectedListener navListener =             new BottomNavigationView.OnNavigationItemSelectedListener() {                 @Override                 public boolean onNavigationItemSelected(@NonNull MenuItem item) {                     Fragment selectedFragment = null;                      switch (item.getItemId()) {                         case R.id.home:                             selectedFragment = new HomeFragment();                             break;                         case R.id.settings:                             selectedFragment = new SettingsFragment();                             break;                         case R.id.devices:                             selectedFragment = new DevicesFragment();                             break;                     }                 getSupportFragmentManager().beginTransaction().replace(R.id.fragment_container,                         selectedFragment).commit();                      return true;                 }             };  Any help would be greatly appreciated.


how can I simplify this to a phrase without a sigma?!  $$ {1\over r+1}{2r \choose r} + \sum_{i=1}^r \left( {i+1\over r+1} {2r-i \choose r-i}{s+i-2 \choose i} \right) $$ thanks!


I am having trouble integrating the following:  $\int_{0}^{\infty} \sin(t)\cdot t^{x-1} ~dt$ for $0 < x < 1$.  Does anybody know how that can be done. Ive tried to set it up with powerseries for $\sin(t)$, and by a substitution followed with integration by parts, non of that gave anything useful.   Does anybody know how to integrate this, using the gamma function?  Thanks


I want my chapter titles to look like as asked in this . I have followed the method suggested by "lockstep", that is, using package titlesec. It works perfectly fine but here is the question: I want this format for main chapters only and for the rest, that is Contents, Declaration, Index, Bibliography etc I want them centered with normal vertical spaces before and after the title. Pasting the code at the start of Chapter 1 solves the problem partially; it leaves the starting ones (contents, declaration) totally unchanged and applies the same format to Index and Bibliography. Please help.


Does malloc create a new instance of the class or not?

If malloc does not create a new object but only allocates raw memory, why am I able to access the class members via the pointer to this memory?  #include <iostream> using namespace std;  const float PI = 3.141592654;  class Circle{     float radius; public:     Circle(){         cout << "Constructor called";     }     ~Circle(){         cout << "Destructor called";     }     void Radius(){         cout << "Enter radius: ";         cin >> radius;     }     float Area(){         return PI * radius * radius;     }     void Display(){         cout << "The circle with radius " << radius             << " units has area = " << this->Area() << " unit" << "\xFD\n";     } };  int main(){     Circle *mCircle = (Circle *)malloc(sizeof(Circle));     mCircle->Radius();     mCircle->Display();     return 0; }   Can anyone cite a source to this: In C++ the rules state that an object isn't created until the constructor is called.


What do I need to do to get my Mac to sleep properly?

My 2008 iMac/10.10.5 has recently refused to sleep... either automatically or with a menu command.  The internal HD failed some time ago, since which it's been running fine on an external usb hd.  No 'sharing' options are enabled. 'Wake for network access' is not enabled. 'Allow Bluetooth devices to wake...' is not enabled. The issue also happens with a 'test' account.  SMC and NVRAM have been reset.  'pmset sleepnow', 'osascript -e 'tell application "System Events" to sleep'' and 'osascript -e 'tell application "Finder" to sleep'' immediately sleep the display but not the system.  The 'energy pane' of Activity Monitor doesn't show any apps preventing sleep.  I'd had an issue with 'addressbooksourcesync' preventing sleep, but think that's now sorted.  'pmset -g assertions' shows '0' for 'PreventUserIdleDisplaySleep' and 'PreventUserIdleSystemSleep'.  Assertion status system-wide:    BackgroundTask                 0    ApplePushServiceTask           0    UserIsActive                   1    PreventUserIdleDisplaySleep    0    PreventSystemSleep             0    ExternalMedia                  1    PreventUserIdleSystemSleep     0    NetworkClientActive            1 Listed by owning process:    pid 195(cupsd): [0x0000004600110135] 00:10:00 NetworkClientActive named: "org.cups.cupsd"    pid 49(powerd): [0x0000003c0008012c] 00:10:11 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"    pid 95(hidd): [0x000000a500090183] 00:08:25 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"     Timeout will fire in 218 secs Action=TimeoutActionRelease Kernel Assertions: 0xc=USB,BT-HID    id=500  level=255 0x4=USB mod=21/12/2016 12:46 description=EHC2 owner=AppleUSBEHCI    id=501  level=255 0x4=USB mod=21/12/2016 12:46 description=EHC1 owner=AppleUSBEHCI    id=503  level=255 0x4=USB mod=21/12/2016 12:52 description=UHC4 owner=AppleUSBUHCI    id=506  level=255 0x4=USB mod=21/12/2016 12:55 description=UHC3 owner=AppleUSBUHCI    id=507  level=255 0x8=BT-HID mod=01/01/1970 01:00 description=com.apple.driver.IOBluetoothHIDDriver owner=BNBMouseDevice


I have level 35 legacy in my main character's server. And I created another one to play with my friends in another server which has level 20 legacy.   Now my friends quit the game, and I want to transfer the little one to my main's server.  I checked the link below:    Here it says:    Unlocks will pass, quite nice. Old one will remain and won't be affected, nice as well   But what about Legacy level? I have 35 here, if I transfer the small one to my server which is 20, will my legacy level still be 35, or will they merge the xp and become a higher legacy level?


could past perfect tense and present perfect tense coexist in a compound sentence. Please do not mark as duplicate if you have not read the question

Mike ( had broken | broke ) his mother's vase last night but he has not told her yet.  Question: Some argue it must use "broke" instead of "had broken" because "last night" could not be used with past perfect tense. I notice some teachers preach a grammar rule: Adverb like "last night, last year, a few days ago" should not be used with past perfect tense; It should use past tense. But I never find any formal grammar books make that statement. Instead, I think it is quite a "weak grammar rule" which is often "violated" in some writings. I have quite often seen sentences like "He had taken the test last year." and similar ones in popular novels, news papers and magazines.  I think "had broken" is a better answer here as it make the sentence more cohesive in meaning and logic, even though "broke" is ok too, at least grammatically.  Maybe only in cases for a specific time point like "at 8 o'clock", we might have to use past tense. e.g, He broke the vase at 8 pm last night.  Please enlighten me on this if my understanding is not right or there is some grammar rules prevailing here which I am not aware of.  Your advise are appreciated very much!


A discussion at work recently involved our CEO (who has a psychology degree and is generally very knowledgable.. I have a lot of respect for his opinion) stating with great confidence that altruism is impossible, the argument being that an act of kindness is at the very least motivated by making oneself feel better by doing it. That makes an assumption that people are gratified by their act of kindness, but that's a different question. This is about the term itself.  The notion that we can't be kind without expecting reward didn't sit well with me, so I started thinking about it more, and realised I couldn't see past an apparent flaw in the concept.  First: definition. I'd understood it to mean an act of kindness for no reward. Google defines as: "disinterested and selfless concern for the well-being of others"  My CEO's argument appears to be that it's impossible because (effectively) the act of kindness is the reward, or at least that the feel-good-factor is directly linked to kindness, so there can be no kindness without feeling good.  This seems to be generally accepted.  If that's the case, then my own definition phrase becomes "An act of kindness without kindness", which makes no sense.  Google's definition makes it even more clear: "disinterested and selfless concern for the well-being of others"  "disinterested concern" surely is a contradiction.  At that point, I find it difficult to think further on the subject. The only way I can see it working is if the act of kindness itself is discounted as a reward, in which case altruism becomes entirely possible.  So my question is:  Is there an inherent contradiction in the notion of altruism? And if so, where does that leave the arguments about whether it's possible / impossible ?


During installation for the first time I was not ask for a root password is there a default password? Or is there some way to establish that password?


How to add a lightning component to salesforce1 navigation menu?

I have created a lightning component and I need to add it to salesforce1 app. I'm trying to add the lightning component through Lightning Component Tab. But the lightning component that I have created is not visible in the Lightning Component dropdown. How can we add lightning components to the salesforce1 app?


cant get jquery href value into input box

I have been trying to create a rough autocomplete input box and am almost there. However, getting stuck at a certain point. Do check the code before i identify the problem.  JS        Some CSS     HTML  <input type="text" name="" id="cit" onkeyup="getres()">
 Test 1 Test 2 Test 3
   PHP (results.php)   <?php if(isset($_GET['cit'])){$cit= $_GET['cit'];} include('connnew.php'); $getprops=$clientdb->query("SELECT * FROM cities WHERE city LIKE '%$cit%'")  or die ($clientdb->error); while($info=$getprops->fetch_assoc()){         echo "$info[city]
";      //echo "$info[city]
"; } ?>   My problem is, though everything works, when I click on the hrefs Tes1, Test2 and Test3, the input box #cit gets filled with the value, but not the values of href populated by the PHP into the same #resdiv !  Why is it so ? WIll the click function of jquery work only on hrefs written as text ? And not on the populated hrefs ?


So I just rm -rf'ed a folder with a few files I need. Yes I know I should've had a backup, but it's just a Pi. It's designed to be played around with!  Is there anything I can do to recover that folder? Would the files be cached somewhere? Can you recommend any Linux file recovery programs?  I don't want to boot into the SD again as it might write over the data :(  Help!  EXT4 filesystem.


How to pass parameters in Apex to visualforce page so that they are not visible in the URL address?

I have an apex method with return type PageReference. When the method returns value a custom visualforce page is loaded.  I want to pass few parameters from the method to the visualforce page. At the moment I'm using the following method:  pageRef.getParameters().put('accIds', allAccIds);   The problem here is that when the visualforce page is loaded in the browser then all parameters are included in the URL as GET parameters.  Is there a way in Salesforce to pass them as POST parameters so they are not displayed and visible in the URL address?


What prevents the construction of a CPU with all necessary memory represented in registers?

Modern CPUs employ a hierarchy of memory technologies. Registers, built into the chip have the lowest access times, but are expensive and volatile. Cache is a middle-man between RAM and registers to store data structures to reduce latency between RAM and registers. RAM holds, for the scope of this query, active program code and their data structures. Non-volatile storage is used by programs to save their data and hold the OS and its programs.   The latency of accessing data in memory has been a major bottleneck to creating faster CPUs that do not sit idle, awaiting further instruction. As such, various methods have been designed to parallelize workloads, CPUs to predict branching to hide memory access overhead, and more. However, the complexity of this has seemingly ignored another possibility: a whole-memory register file.  Such a CPU is built with 4, 8, 16, 32 GB or more, made of registers. No cache. No RAM. Just the CPU, the registers on the chip, and external non-volatile storage (SSD/Flash, HDD, etc.).  I understand that the demand for such a chip is unlikely to be sufficient to justify the cost, but I remain surprised that no one seems to have designed a simple device, such as a high-performance MCU or SoC with a small amount of register-only memory. Are there other (perhaps, engineering) challenges to the design and construction of such a chip?  EDIT to Clarify. I am not referring to a CPU in which all memory (DRAM technology) is integrated onto the CPU die, nor am I referring to a cache that is expanded to multiple Gigabytes. I am asking about a design in which the registers remain their existing technology... just expanded by a few orders of magnitude to be able to hold multiple gigabytes of data.


I have a problem while installing the Virtual box in Ubuntu 18.04 with dual boot UEFI secure boot

Kernel driver not installed (rc=-1908)  The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing  '/sbin/vboxconfig'  as root.  If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.  where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.


Can I enhance my question's visibility on any Stack Exchange community?

Sometimes I want my question to reach a wider range of audience, are there any ways or "hacks" that can be used to achieved that?


Two year's experience or two years' experience or two years experience?

The title says it all; which is correct?   Two year's experience or Two years' experience or Two years experience?   Likewise,   One year's experience or One years experience?   I was surprised I couldn't find a previous question on this; maybe I missed one.


403 error after changing `DocumentRoot` to `/home/` subdirectory

I've got Apache set up on a remote server.   Here's the contents of file /etc/apache2/sites-available/example.com.conf:  <VirtualHost *:80>      ServerAdmin admin@example.com      ServerName example.com      ServerAlias images.example.com      DocumentRoot /home/myUserName/var/www/example.com/public_html/      ErrorLog /home/myUserName/var/www/example.com/logs/error.log      CustomLog /home/myUserName/var/www/example.com/logs/access.log combined </VirtualHost>   I've set up the right "A" and "AAAA" records with my hosting provider. But when I go to http://images.example.com, I get a 403 error.  Forbidden You don't have permission to access / on this server.  Apache/2.4.7 (Ubuntu) Server at images.example.com Port 80   How do I set things up so that going to http://images.example.com lets me see the contents of /home/myUserName/var/www/example.com/public_html/?  Update  Contents of error.log:  [Sun May 20 21:37:05.305775 2018] [authz_core:error] [pid 4858] [client 2601:587:5:6a70:428d:5cff:fe71:b1e4:56518] AH01630: client denied by server configuration: /home/myUserName/var/www/example.com/public_html/ [Sun May 20 21:41:15.517163 2018] [authz_core:error] [pid 4859] [client 51.38.12.23:42405] AH01630: client denied by server configuration: /home/myUserName/var/www/example.com/public_html/ [Sun May 20 21:43:49.090780 2018] [authz_core:error] [pid 4860] [client 2601:587:5:6a70:428d:5cff:fe71:b1e4:56678] AH01630: client denied by server configuration: /home/myUserName/var/www/example.com/public_html/ [Sun May 20 21:48:59.756624 2018] [authz_core:error] [pid 4861] [client 179.127.179.39:43803] AH01630: client denied by server configuration: /home/myUserName/var/www/example.com/public_html/ [Sun May 20 21:53:22.709395 2018] [authz_core:error] [pid 4864] [client 178.73.215.171:28502] AH01630: client denied by server configuration: /home/myUserName/var/www/example.com/public_html/   Running ls -la /home/myUserName/var/www/example.com/public_html/ outputs this:  total 12 drwxrwxr-x  3 myUserName myUserName 4096 May 20 22:58 . drwxrwxr-x  4 myUserName myUserName 4096 May 20 21:32 .. drwxr-xr-x 13 myUserName myUserName 4096 Apr 14 02:18 tile


In the beginning (big bang), mass was evenly distributed (if you consider an elementary particle as an extended object, like a circle on a very thin cylinder, with a radius near the Planck length, but in three dimensions, the circles can all sit on top of each other and still have dimension 1), after wich it clumped together in more or less sphere-like structures. Isn´t this clumping a decrease in entropy?  I don´t count force carrier particles as part of the entropy, only configurations of elementary particles, wich can form structures by the force carrier particles, the photon, gluon and the W- and Z-particles (wich according to the theory of Haïm Harari, don´t transmit the weak force; in his view the weak force is a residue force like the van de Waals force or the old strong force transmitted by massive pions, wich turned out not to be true; all force transmitting particles are massless in Harari´s view).  So the first elementary particles were in a state of maximum entropy, and the gravitational entropy was minimal.   After the big bang, the entropy of the particles that were under the influence of the three basic force transmitters decreased and the gravitational entropy increased.  Pretty far-fetched, I realize that (especially that the force carriers don´t contribute to the entropy), but I always like to see things in a new light.


I'd like to split the apex in two lines. I'm commenting a part of an equation with \overbrace and I need to split the comment in two line because it is too long.  $$ x = \overbrace{y}^{very big comment} $$


How to solve $\sin78^\circ-\sin66^\circ-\sin42^\circ+\sin6^\circ$

Question:  $ \sin78^\circ-\sin66^\circ-\sin42^\circ+\sin6° $  I have partially solved this:-  $$ \sin78^\circ-\sin42^\circ +\sin6^\circ-\sin66^\circ $$  $$ 2\cos\left(\frac{78^\circ+42^\circ}{2}\right) \sin\left(\frac{78^\circ-42^\circ}{2}\right) + 2\cos\left(\frac{6^\circ+66^\circ}{2}\right)\sin\left(\frac{6^\circ-66^\circ}{2}\right) $$  $$ 2\cos(60^\circ)\sin(18^\circ) + 2\cos(36^\circ)\sin(-30^\circ) $$  $$ 2\frac{1}{2}\sin(18^\circ) - 2\cos(36^\circ)\cdot\frac{1}{2} $$  $$ \sin(18^\circ) - \cos(36^\circ) $$  At this point I had to use a calculator. Does anyone know a way to solve it without a calculator.Thanks in advance.


Nslookup resolves search domain but ping does not (14.10)

At my company, many of our configuration scripts, etc use just the server name. For example, http://server rather than http://server.company.com. I have configured the search domain in the GUI Network Connections tool. I have also configured it in /etc/resolvconf/resolv.conf.d/head, but it is not working correctly.  The strange thing is certain tools like nslookup or host resolve to the correct IP, but other tools like ssh, ping, git, and web browsers do not. I can connect if I use the FQDN. What could be preventing the search domain from resolving correctly?  Below, find the relevant output from some commands.  Nslookup:  $ nslookup server Server:     192.168.200.53 Address:    192.168.200.53#53  server.company.com  canonical name = server001.company.com. Name:   server001.company.com Address: 192.168.200.103   Host:  $ host server server.company.com is an alias for server001.company.com. server001.company.com has address 192.168.200.103   Ping:  $ ping server ping: unknown host server  $ ping server.company.com PING server001.company.com (192.168.200.103) 56(84) bytes of data. 64 bytes from server001.company.com (192.168.200.103): icmp_seq=1 ttl=64 time=4.61 ms   I use ping as an example because it's simple, but most of the other tools I need to use show the same results as ping.  Let me know if you need any more config files or info.  /etc/hosts has no info related to the server I'm trying to connect to.  Here is /etc/resolv.conf, which was generated by resolvconf.  # Add Company Nameservers and Domain nameserver 192.168.200.53 nameserver 192.168.200.65 search company.com nameserver 127.0.1.1 search company.com # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.1.1 search hsd1.co.comcast.net   And /etc/network/interfaces:  # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback


Present perfect or past simple - "the best movie I (saw/'ve seen) this year"

I know the rule is to use past simple when you specify the time when the described action happened, but I strangely dislike this sentence and I'm not sure if the rule applies:   "It's the best movie I saw this year".  Shouldn't it be: "It's the best movie I've seen this year"?  Please, could you justify your answers? Thank you in advance!  Cheers


Group Theory: Solvable groups and commutators

Question :  Show that a group G is solvable if and only if there exist sub-groups $G^{(0)}$, $G^{(1)}$, ..., $G^{(m)}$, with m $\ge$ 1, such that :  $G^{(m)}$ = {$e_G$} and the $G^{(i)}$ are defined inductively by $G^{(0)}$ = G, and $G^{(i)}$ = [$G^{(i-1)}$, $G^{(i-1)}$], where   [G, G] = < [x, y] | x, y ∈ G, [x, y] = xy$x^{-1}$$y^{-1}$ >  I'm able to show the forward implication, but not the backward one (i.e. the $G^{(i)}$ exist ==> G solvable). I have tried by induction on the i, but this doesn't seem to go anywhere. More specifically, I believe that once $G^{(i-1)}$/$G^{(i)}$ is abelian for all i, the normality $G^{(i)}$ $\lhd$ $G^{(i-1)}$ should be straightforward.   Is this the right approach? How can I show that $G^{(i-1)}$/$G^{(i)}$ is abelian?


Creating 2D python list with predefined length

I have a small graph . I want to add nodes to a 2D list like this.  0 is connected to nodes 1 and 2, so at index 0 these two nodes are inserted and so on. The program should take input from user. For simplification, I have written this code. l = [[]]*4  l[0].append(1) l[0].append(2)  l[1].append(0) l[1].append(3)  l[2].append(0) l[2].append(3)  l[3].append(1) l[3].append(2)  print(l, end="\n")   But the output is [[1, 2, 0, 3, 0, 3, 1, 2], [1, 2, 0, 3, 0, 3, 1, 2], [1, 2, 0, 3, 0, 3, 1, 2], [1, 2, 0, 3, 0, 3, 1, 2]] And I want output as in the second image. How to achieve that?


I need to show that $\lim_{n\to\infty} (\frac{1}{n^2+1} + \frac{1}{n^2+2}+...+\frac{1}{n^2+n}) = \frac{1}{2}$ by estimating the upper and lower bounds and showing that the two new sequences have the limes $\frac{1}{2}$.  Could you please help me, because I have absolutely no idea on how to start.  Thank you!


Find the rectangle with the maximum area inside the ellipse $\frac{x^2}{a^2} + \frac{y^2}{b^2} = 1$, whose edges are parallel to the axises. Hint: Find the function we need to maximize.   Well in the answers it says that the function we need to maximize is $4xy$ and the area is $2ab$. How do we solve this?


How can I install a tarbz2 package. Example: I have downloaded firefox 8 tar.bz2 . I want to know a general method for installation of tar.bz2 package.


Does anyone recommend any methods for monitoring ESXi 4.1 hosts with Nagios? I have looked into SNMP but it seems to be in a pretty sorry state.  Net-SNMP does not seem to be included and there is a built it SNMP daemon that I set up. However from the standard MIBs there only seems to really be network interface counters and the VMWare MIBs seem quite useless.  Right now I am considering SNMP for the interface speed and trying the plugins listed at  .    Anyone have a better idea? I would like to monitor the hosts directly, not through something like vCenter.


What is the reason for making a nested class static in HashMap or LinkedList?

In most of the cases I've seen that nested classes are static.  Lets take an example of Entry class in HashMap  static class Entry<K,V> implements Map.Entry<K,V> {     final K key;     V value;     Entry<K,V> next;     final int hash;      .....     ..... }   Or Entry class of LinkedList  private static class Entry<E> {     E element;     Entry<E> next;     Entry<E> previous;      .....     ..... }   What I know so far about nested class is:   - A non-static nested class has full access to the members of the class    within which it is nested.  - A static nested class cannot invoke non-static methods or access non-   static fields   My question is, what is the reason for making a nested class static in HashMap or LinkedList?  Update 1:   Following the already answer link I got an answer - Since And since it does not need  access to LinkedList's members, it makes sense for it to be static - it's a much  cleaner approach.  Also as @Kayaman pointed out: A nested static class doesn't require an instance of  the enclosing class. This means that you can create a HashMap.Entry by itself,  without having to create a HashMap first (which you might not need at all).   I think both these points answered my question. Thanks all for your input.


I have a stupid self-answered question. Should I accept my own answer?

was genuine at the time, but I realised that  gave the right advice, but required me to restart my Linux (which wasn't mentioned in the solution).  It's a bit of a  question and  points to me not deleting it.  But it seems hugely self-aggrandizing to accept my own answer. Should I?


Windows 10 can't see pictures from Nikon Coolpix S6300

I just upgraded to Windows 10 and now I can't seem to download my pictures to my computer.   I downloaded the device so it's recognizing it but when I go to the action center it says to tap to decide what to do with the device but when I tap it, it goes away and doesn't do anything.  It's sounding like I might need a patch to be compatible, please Help


Identifying clusters in vector point data using QGIS?

I have a vector dataset of rural broadband data-points (how fast, etc.) and I'd like to explore if there are clusters of points with similar characteristics, and to plot polygons encompassing them.   For example, I may have 45,000 points in a single PostGIS dataset distributed over a landscape.  I want to identify clusters which lay within x km of each other and where the speed is below y kbps, and to produce convex hulls for each qualifying cluster.   Is there a simple way of doing this in QGIS, for example?


How to change default application if it is missing in "other applications list"?

I am currently trying to use texstudio as the default application for opening *.tex files, but I cannot change the default application associated with that file type.   I tried to change it by right-clicking on the .TEX file, then Properties, Open with, Show other applications. However, neither texmaker nor texstudio will appear in the programs list and oddly enough, there is no "add application" button anymore.  I tried to make an entry in my /home/user/.local/share/applications/mimeapps/mimeapps.list but nothing happened.  Is there no way to change the list of "other applications" or add an default application program manually?


Top bar Achievements popup feels lonely with only one total

The Today group has a nice useful total.  However, once 0:00 UTC rolls around, I can no longer see my score for yesterday. Please add a total for the Yesterday and Last 7 days groups.  On a broader note, how can you have a button with an icon of two graphs open a popup that never has any graphs?


$\mathbb{CP}^{2}$ is homeomorphic to $ ( S^2 \times S^2)/\mathbb{Z}_2$

Let $\mathbb{CP}^{n}$ be the set of all complex lines containing origin in $\mathbb{C}^{n+1}$ and $\mathbb{CP}^{n}$ has the quotient topology inherited from the natural projection $\mathbb{C}^{n+1}-\{0\}$ → $\mathbb{CP}^{n}$. How can I show that $\mathbb{CP}^{2}$ is homeomorphic to the orbit space $ ( S^2 \times S^2)/\mathbb{Z}_2$ where $\mathbb{Z}_2$ acts on $ S^2 \times S^2$ defined by $(x,y) \rightarrow (y,x)$, This question was asked in my differential geometry exam and I had no idea about it.


Bypassing minimum comment length with Soft hyphen - (ALT + 0173)

I just posted this comment:  and the source code is:  it works!   It seems that nothing visible here but I used this character: [alt + 0173], I knew this case is not common, but the JavaScript part can be improved to count readable characters only.  The HTML entity is: &shy; for that hidden character, its called


What is the TeX code for this character?

I'm aware of the command for just the regular sigma:  \sum_{{a,b \geq1}}   How do I add the second line with   a \geqb?


How do I switch between languages on Windows 10 like I do in OS X?

OS X has this really nice feature when you have 3+ keyboard input sources (languages) and press Cmd + Space you switch between only two of them.  If you want to switch to another (third) language you just hold Cmd and press Space to choose from the list of input sources available.  How can I have similar functionality on Windows 10? I have 3 input sources and looping through them to get to the one I need is really annoying.


When Windows 7 hibernates and then I wake it up, it always shows a screen where I have to click before I can get into the Windows environment. I don't have a password set so this intermediate screen serves no purpose - just one wasted mouse click and an unnecessary wait every time. How do I disable this so that I go from hibernating directly into my desktop without a click?


I'm trying to install ubuntu on acer 5349

Well I'm trying to install Ubuntu 12.04.4 on an Acer 5349 laptop every time I plug in my live USB flash drive and boot to Ubuntu I get this message on a black screen saying   syslinux 4.07 edd 2013-07-25 copyright (c) 1994-2013 h. Peter anvin et al   also I'm not in Ubuntu it's when you turn on the computer and boot to live USB and it does not pass that message and I'm trying to replace windows 7 home with Ubuntu 12.04.4 my friend given his old laptop to me so any help will be great oh forgot to say his windows 7 not working it boots to recovery and crashes to a error code so that's why I'm try to put Ubuntu on.  What can I do to fox this?


product of elements $\ne e$ implies only one element with order $2$

Let $G$ be an abelian group with even order and $M:=\{g\in G:g^2=e\}$.  It is easy to show that $M$ is a sugroup of $G$ and the number of elements of $M$ must be a power of $2$.     I want to prove that the product of the elements of $G$ (which in this case is equal to the product of the elements of $M$) is not the identity element $e$, if and only if #$M=2$ (this means that there is only one element with order $2$). I found this claim when I studied the Wilson criterion for the primality of a number.   The case #$M=4$ is easy. If $a,b\in M$, we can show that $ab$ is not $a,b,e$, hence must be some other element $c$ and we get $abc=c^2=e$. But what about #$M=8$? If we have the elements $e,a,b,c,d,f,g,h$ and $ab=c$ and $df=g$, the product would be $h$ which is impossible considering my claim.   Who can complete my proof ?


Recently, while on the train, I saw a person not holding the handrails on purpose. He decided that playing a game with no outcome whatsoever was more important than his safety. In fact, he bumped into the overhead luggage carrier several times. Twice he almost stumbled and fell, with a possibly very negative outcome for him. Once he stumbled and bumped so hard into the carrier, it left a red mark on his face, even after facing it earlier.  Still he refused to hold a handrail as that would have prevented him from playing the game. Clearly his addiction to the game won over any sense of self protection.  Now thinking about it, I think this is the case with most addictions. At the end, they are to some degree, harmful to the addicted person(imho). Taking this to the time when we were still facing predators, it must have been careless just to think of getting delicious berries whilst not considering the exposure to predators it came with. These individuals that are addicted (in a way) and don't care of the dangers associated with a problem, are harmed more often. Thus, making addiction an evolutionary disadvantage. Therefore, being easily addicted, as a trait, shouldn't have developed much.  Yet addiction is one of the worst problems of humanity and has been so for a long time.  So how could it develop? Are my conclusions wrong? Is addiction just a modern phenomenon? Or are there evolutionary benefits of being addicted?


Difference of closures and closure of difference

Let $A,B$ be subsets of a topological space $X$. Is it true that $\overline{A}-\overline{B}\subseteq\overline{A-B}$?   Suppose $x\in\overline{A}-\overline{B}$. So all open sets containing $X$ also contains an element of $A$. And there exists an open set $U$ containing $X$ that contains no element of $B$. So $U$ contains an element of $A-B$. But this is not enough to conclude that $x\in\overline{A-B}$. So I'm thinking the answer might be negative, but cannot find a counterexample.


myArray[items].toUpperCase is not a function

When i run below code   <script>      var name = "Hello moorthi";     var myArray = name.split(' ');      setTimeout(function(){       var nameDisplay='';       try {         for (var names in myArray){            nameDisplay += myArray[names].toUpperCase()+' ';         }         alert(nameDisplay);       }       catch(err){         console.log(err.message);       }     },     1000);   </script>   getting undefined is not a function error in chrome, can help me why this happening?


Orfeo Tool Box installation-QGIS_2.18.10-Windows 10-64Bits

I installed QGIS 2.18.10 and then osgeo4w as you suggested it. I went to the Processing Provider options and entered the paths as you described it. But I do not still have OTB in my processing toolbox.  Can you help me? I don't have any other idea so far.