Release file not found for WINE and strycore

Err:10 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_ ./ Release   404  Not Found [IP: 2001:67c:2178:8::13 80] Ign:11 http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic InRelease  Err:12 http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release      404  Not Found [IP: 2001:67c:1560:8008::15 80]                            E: The repository 'http://download.opensuse.org/repositories/home:/strycore/xUbuntu_ ./ Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: Skipping acquire of configured file 'main/source/Sources' as repository 'http://dl.winehq.org/wine-builds/ubuntu artful InRelease' does not seem to provide it (sources.list entry misspelt?) E: The repository 'http;/ppa,launchpad,net/wine/wine-builds/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.


Find and Replace python script to replaces values in attribute table?

I am working on a stand alone script in python that will allow to me to specify a shapefile and being able to find a value and replace it with a new value. Does anyone know what code will allow me to do this?


Please explain what 'if generic' means in this case, or paraphrase it

"The store's design familiar if generic, like a miniaturized Whole Foods." I understand every word of the sentence, but still the meaning is not clear. The sentence is quoted from an American newspaper and it's about the new Amazon store in Seattle.


How to change long file names (created in linux) in windows?

I have copied some data from my Linux machine to my external hard disk. When I want to read some files on my Windows machine, I can't open it. I get the below error  The specified path does not exist   On the other hand I can't rename or copy the same file, with error  The file name you specified is not valid or too long   I have tried to use rename function in command prompt (with and without quotation marks):  rename "Long Name of The File.pdf" "short.pdf"   but I get this error (I don't know why?):  The syntax of the command is incorrect   Can you please help me?


Looking for a short story title about an alien that encounters a probe on its own planet

This short story concerns an alien creature of some kind that is slowly feeding on the surface of its home planet. It must stay "in its lane" so to speak because others of its species feeds on either side of it. It encounters something in its path which turns out to be a probe from somewhere. The creature can't go around (due to the feeding rules) it so it attempts to go OVER it and ends up inside and is amazed to find itself immersed in "liquid food" (a formula culture provided to sustain any alien samples collected). It suddenly reproduces, even though the alien concedes it was not the right time to do so. AND the food bolsters its intelligence. It argues with its spawn, explaining that "they" must get to the planet's surface. One does but the other does not! Any ideas?


Vertical aligning a  text in a header in React

I have a react header component that looks like this:  const Header = () => {     return (

                 Dashboard

     ); }  export default Header;   The stylesheet for this component looks like  .navbar {     height: 4em;     background-color: #f9f9f9;     width: 100%;     background: #00bceb;   }    #logo {     margin-left: 2em   }    #header-title {     display: inline-block;     vertical-align: middle;     margin-left: 0.5em;     color: #f9f9f9;   }     (I'm hiding the logo)  The text is not middle aligned.  Any help?


For example, is the following sentence grammatically correct in terms of the usage of the article?   There was an s-t-r-e-e-t in London.


How to integrate JIRA with salesforce using OAuth 2.0

I am banging my head against the wall from the last couple of weeks to just set up the authentication between JIRA cloud and salesforce, I didn't get any proper documentation to create a connected application in Jira to generate client Id and secret so that I can set up an auth provider in salesforce to use it with the named credentials, if I am not following the right path, please feel free to correct me.       In one of my unsuccessful attempts, I tried to generate OAuth credentials (currently in beta in Jira) and used the same in AUTH provider in salesforce but still, when I save named credentials I get identity provider error and also I am not sure on what exactly I need to pass for Authorization Endpoint URL and Token End Point URL       I would highly appreciate if someone would help me to generate client id secret from JIRA other then generating the same by clicking on generate OAuth credentials button on Jira as this has limited access and also I would be very grateful if someone also helps me with Authorization Endpoint URL and Token End Point URL  here is my Auth provider     Named Credentials:    And when I save the named credentials I get below error     I have generated client id secret by clicking on OAuth credentials beta and this doesn't seem the right way to generate client id and secret as it is in beta and provides only limited access.  JIRA Documentation is not at all helpful.    If I generate my client id and secret from the below link     then I get a different error as shown below.


How does StackExchange chain its subdomains?

I'd like to know how StackExchange works? Is it just one installation which is divided to different parts or they use a separated installation for each subject? Askubuntu.com, tex.stackexchange.com, superuser.com, etc are integrated and authenticated well. Do they use their software categorizing system for it, Just think: Category=Forum and in this case rewriting URLs for subdomains, Or each of  are based on themselves?


Will inverse functions, and functions always meet at the line $y=x$?

If I have a function, the inverse function, by definition will be a reflection of the original function in the line $y=x$, so if I wanted to find the point of intersection, instead of solving it with equating both of the functions to equaling each other, could I assume that the point of intersection, between the two functions, will always be at the point $y=x$? This would enable me to solve problems much easier, instead of having to solve quartic equations, for example.


Is there a way to quickly save all my Stack Exchange content across all Stack Exchange sites, as hundreds of HTML pages? (for me probably 15 or 20 sites: SO, dsp.SE, unix.SE, etc.)?  The ideal way would be one .HTML file for each question that I asked / answered / commented? What would be the ideal tool for that?    Remark: I've already read interesting questions like  but it doesn't exactly answer my concern here.


What is the explanation of the non-existence of magnetic monopoles?

Electric monopoles do exist, but why cannot magnetic monopoles exist?    The question is closed because I need to clarify it, but I don't know how I could ask it another way. However, I've recieved many answers that were appropiate and added something to my knowledge, so I consider it answered.


I'm currently learning about radicals and simplifying them, and I came across this problem on the internet and tried to solve it:  $$\sqrt{x+5} = x - 1$$  So I used this logic:  $$ \begin{align} \sqrt{x+5} &= x - 1 \\ x + 5 &= (x-1)^2 \\ x + 5 &= (x-1)(x-1) \\ x + 5 &= x^2 - 2x + 1 \\ 0 &= x^2 - 3x - 4 \\ 0 &= (x-4)(x+1) \\ \end{align} $$  Therefore, $x = -1$ and $x = 4$ satisfy the equation $0 = (x-4)(x+1)$.  But then I tried to plug them in the original problem $\sqrt{x+5}=x-1$:  $$ \begin{align} \sqrt{4 + 5} &= 4 - 1 \\ \sqrt{9} &= 3 \\ 3 &= 3 \end{align} $$  So using 4 works as expected, but when using $-1$:  $$ \begin{align} \sqrt{-1 + 5} &= -1 - 1 \\ \sqrt{4} &= -2 \\ 2 &\ne -2 \end{align} $$  At what stage am I going wrong?  And according the , the solution is $x = 4$.


Proving that a sequence converges if $\limsup=\liminf$

Okay so here I've tried proving that :  Let $x_n$ be a sequence, if $\limsup{x_n}=\liminf{x_n}$ then $x_n$ converges.  Proof. By definition, $\limsup{x_n}$ and $\liminf{x_n}$ are limits of subsequences that are formed from $x_n$. Let these subsequences be $a_n$ and $b_n$ such that:  $$\lim{a_n}=\limsup{x_n}=a \\ \lim{b_n}=\liminf{x_n}=b$$  Okay let's analyse this :  There exists and $ɛ_1$ such that $|a_n-a|<ɛ_1$ for $n>N^{'}$  There exists and $ɛ_2$ such that $|b_n-b|<ɛ_2$ for $n>N{''}$  Let   $$N=max(N{'},N{''})$$  so $|a_n-a|+|b_n-b|<ɛ_1+ɛ_2$ for $n>N$  By triangle inequality ::  $$|a_n+b_n-(a+b)|<ɛ_1+ɛ_2$$   So we have found that when we add this subsequences together, they converge to $a+b$, what if $a=b$ Then : $$|a_n+b_n-(2a)|<ɛ_1+ɛ_2$$   So both $a_n$ and $b_n$ have infinite traces around the point $a$ Since their trace is a subset of the actual sequence $x_n$ we can considered that they are approaching the open ball $B(a,ɛ)$. when they approach to the ball, for $n>N$ sequences equal out $a_n=b_n$ and we can also say that  $$a_n=b_n=x_n$$ for $$n>N$$  So that when $\liminf=\limsup$ the sequence $x_n$ converges.  What do you think about my proof? IS it correct? What else should I add, what should I adopt? I'm new to analysis so help me out please.  Thanks.


What is the meaning of underscore in template?

What is the meaning of the underscore in template prototyping? That is the example of template:  template<typename _Tp> _Tp* Mat::ptr(int i=0)   Why people add underscore before Tp?


How can I convert bytes available to bytes available in KB, MB, GB etc?

I'm calculating total bytes available in particular folder and I want to convert the total bytes available to total bytes available in KB, MB, GB etc.  Is there any inbuilt function available in c# which I can use?  thanks,


Website is under maintenance - how to restrict access?

Currently, my website is under maintenance. I want to be the only person who's able to access/view the website online until I finish maintenance. How to set restrictions to others? I hate stalkers.


We consider in $\mathbb{R}^2$ the set of points $$\{M_1(-1,1),M_2(0,1), M_3(2,1),M_4(-1,0),M_5(1,0),M_6(2,0)\}$$  Let $\Omega$ a rectangular structure consisting of the heads $\{M_4(-1,0),M_6(2,0), M_3(2,1),M_1(-1,1)\}$  Let the two polygones $\sum_1 = \{M_4,M_5,M_2,M_1\}$ et $\sum_2 = \{M_5,M_6,M_3,M_2\}$   let the mesh $\{(e_1,\sum_1,Q_1),(e_2,\sum_2,Q_2)\}$ such $$Q_1=\{f : \mathbb{R}^2 \rightarrow \mathbb{R} , f(x,y) = a + bx + cy + d xy , a , b, c , d \in \mathbb{R}\}$$  1- Proove that $(e_1,\sum_1,Q_1)$ and $(e_2,\sum_2,Q_1)$ are two finite elements of Lagrange.  2- Let $V$ the finite-dimensional space that corresponds to the mesh. Proove that $V \nsubseteqq H^1(\Omega)$  Where i can found the definition of V? (book, or paper...?) please  and my second question is: dimension of $\partial \sum_1 \cap \partial \sum_2$ is 1 or 2?


How to partition a small SSD alongside an HDD when installing Ubuntu

There is both a HDD and a 24GB SSD in my Ultrabook.    I will install Windows (for testing in feature, as its free in university) in the HDD. I need to decide what to do with Ubuntu, as its the system which I'm using for education and for my job (Python Developer).  The SSD works very good, but some people write its not a good idea to install an operating system on an SSD.  If I will use it as the main Ubuntu partiton, the 24GB for system is not enough as its my primary system, and new games from valve is around 7 GB and in some years i will collect a lot data in system. I don't like reinstalling Ubuntu, its not Windows :D.  So, what is your idea?  To use all SSD as swap (RAM is 4GB) and install all the system in HDD, to use part of SSD as swap and other part as /system, to use SSD as system and make partition for swap in HDD, or something else?


I use my Ubuntu 14.04 laptop in 2 networks.  One of the network requires a network proxy. So suppose initially my laptop doesn't has any network proxy added to it. I switch it on and add the network proxy I need to add (or remove in other case). The problem is that the terminal remembers the original conditions (those before switching on the computer). So when I want to set proxy to the terminal as well, I use  export http_proxy='http://host:port'   export https_proxy='http://host:port'   and I check the proxy conditions using env | grep proxy. I get:  http_proxy='http://host:port' https_proxy='http://host:port'   But when I close the terminal screen, open it once again and again type  env | grep pro   I get no response, i. e. the proxy conditions get unset. How can i get out of this situation?


Possible Duplicate:          Except where there is obvious difference in elevation e.g. on a sloping road, how do native speakers decide whether to use up or down in phrases like up the road when referring to a location along the same road?


Blender 2.80: Added mesh primitives too large everytime - how to change the defaults?

I set my scene to 'meters' and the unit scale to 1.0 since I need to know the size of the parts of the scene in meters.  Every time I add a cube or any other of the mesh primitives it starts WAY to big/large/huge and I need to scale it down.  Is there any way to instruct blender to not to throw such massive primitives at me? Where can I adjust this - if possible?


don't show ToC, LoT, and LoF in table of contents

Is there a way for me not to show these following three in the Table of Contents?    I used this package \usepackage{tocbibind} in order to include Bibliography in Contents, but for some reason these three appeared that I do not want to see in my Contents. Using this package I could add to the Contents with page number, but those three that appeared in the Contents is not OK. Are there any packages that I could use or any suggestions will be appreciated.


IndentationError: unindent does not match any outer indentation level [Finished in 0.1s]

When I compile the Python code below, I get IndentationError: unindent does not match any outer indentation level  with open('test.txt','r') as f:     import sys     f_contents= f.read(100)     print(f_contents,end='')     f_contents= f.read(100)     print(f_contents,end='')   Can any body explain why that happens?


Induction Proof that $x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+\ldots+xy^{n-2}+y^{n-1})$

This question is from [Number Theory George E. Andrews 1-1 #3].     Prove that $$x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+\ldots+xy^{n-2}+y^{n-1}).$$   This problem is driving me crazy. $$x^n-y^n = (x-y)(x^{n-1}+x^{n-2}y+\dots +xy^{n-2}+y^{n-1)}$$  $(x^n-y^n)/(x-y) =$ the sum for the first $n$ numbers and then I added $(xy^{(n+1)-2}+y^{(n+1)-1})$ which should equal $(x^{n+1}-y^{n+1})/(x-y)$ but I can't figure it out    This is a similar problem in the book and I tried this method but it wasn't working out      $\quad$Thereom $\bf1$-$\bf2$: $\,\,\,\,$ If $\,x$ is any real number other than $1$, then $$\sum_{j=0}^{n-1}x^j=1+x+x^2+\ldots+x^{n-1}=\dfrac{x^n-1}{x-1}.$$    $\quad$Remark: $\displaystyle\sum_{j=0}^{n-1}A_j$ is shorthand for $A_0+A_1+A_2+\ldots+A_{n-1}.$     $\quad$Proof: Again we proceed by mathematical induction. If $n=1$ then $\displaystyle\sum_{j=0}^{1-1}x^j=x^0=1$ and $(x-1)/(x-1)=1$. Thus the theorem is true for $n=1$.  $\quad$ Assuming that $\displaystyle\sum_{j=0}^{k-1}x^j=(x^k-1)/(x-1)$, we find that $$ \eqalign{ \sum^{(k+1)-1}_ {j=0}x^j & = \sum^{k-1}_ {j=0}x^j+x^k=\dfrac{x^k-1}{x-1}+x^k \\ &= \dfrac{x^k-1+x^{k+1}-x^k}{x-1}\\ &= \dfrac{x^{k+1}-1}{x-1}. }$$   Hence condition $(\rm ii)$ is fulfilled, and we have established the theorem.    $\quad$Corollary $\bf1$-$\bf1$: $\,\,$ If $\,m$ and $n$ are positive integers and if $m>1$, then $n<m^n.$


Where is the delete account button in Thunderbird on Ubuntu 12.04

I was unable to find the "Delete account" button in Thunderbird on Ubuntu 12.04. Saw posts saying that I can find it at the bottom left side, but could not find it. Please help me find that button.


Let $\frac{a}{b} = 1 - \frac{1}{2} + \frac13 - \frac14 + ... - \frac{1}{1318} + \frac{1}{1319}$. Show that $1979  | a$. Given that , $a$ and $b$ are coprimes.  I tried to compute in pairs , but I don’t know how to do next.  Any hints or solutions would be appreciated.


How to efficiently count the number of keys/properties of an object in JavaScript?

What's the fastest way to count the number of keys/properties of an object?  It it possible to do this without iterating over the object?  i.e. without doing  var count = 0; for (k in myobj) if (myobj.hasOwnProperty(k)) count++;   (Firefox did provide a magic __count__ property, but this was removed somewhere around version 4.)


I can't save the previous state of my activity

In my activity I can drag the dot all over the screen. Once I press the Back button and then come back again to the activity the dot position isn't saved.. what should I do?  private ImageView map; private ImageView dot;  @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.map_layout);     map = (ImageView) findViewById(R.id.map);     dot = (ImageView) findViewById(R.id.dot);     MotionReceiver tc = new MotionReceiver();     LocalBroadcastManager.getInstance(this).registerReceiver(tc, new IntentFilter(Constants.TEXT_MOVEMENT)); }  @Override public void onSaveInstanceState(Bundle savedInstanceState) {     super.onSaveInstanceState(savedInstanceState);     savedInstanceState.putFloat("X", dot.getX());     savedInstanceState.putFloat("Y", dot.getY()); }  @Override public void onRestoreInstanceState(Bundle savedInstanceState) {     super.onRestoreInstanceState(savedInstanceState);     dot.setX(savedInstanceState.getFloat("X"));     dot.setY(savedInstanceState.getFloat("Y")); }


If I don't use  then which version of HTML will be used to parse the document?

If I put <!DOCTYPE> in my HTML document then my browser will use HTML 5.0 to parse the document. If I don't use <!DOCTYPE> then which version of HTML will be used to parse the document?


Could not install Viber from their official website on Ubuntu 20.04

I tried to install Viber by downloading .deb file from . But there was error saying:       Dependency is not satisfiable libssl 1.0.0.


I am a beginner to LaTex. How to draw a long arrow like this?


I get a "no default or ui configuration directive found" on boot

No default or UI configuration directive found.   I get this error when I tried to reboot Ubuntu with the DiskOnKey flash drive.


How to get some input value using keydown event?

I'm learning javscript and I want to catch the event while pressing del and backspace keys.  I've tried:    var __keyCode = {   del: 46,   backspace: 8 };  $('input').on('keydown', function (e) {   switch (e.which) {     case __keyCode.del:     case __keyCode.backspace:       console.log(this.value);       break;   } }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>  <input type="text" />     My question is: How to get the value in the input after pressing the keys? I want it removes 1 character before I get it.  Ex: In the input, I type abc, then I press the backspace key. Then, I want it logs ab in the console.  How can I do that? Thank you!


How to calculate $\lim \limits_{n \to \infty}(1 +\frac{a}{n})^n$?

I know what solution is $e^a$ but I don't know how to calculate this limit:  $$\lim \limits_{n \to \infty}\left(1 + \frac{a}{n}\right)^n=e^a$$  Can someone explain the steps to me?


How do I replace Windows with Ubuntu, yet keep my data?

I need to install Ubuntu instead of Windows 7. Can you tell me the steps to do it? I don't want to install Ubuntu alongside Windows. Any precautions needed before installing Ubuntu? How do I install Ubuntu 11.10 without losing the current data in my laptop?


Prove $aba^{-1}b^{-1}\in{N}$ for all $a,b$

I am trying to prove the above with the conditions that N is normal to G and $G/N$ is abelian.  So then for $Na,Nb\in{G/N}, NaNb=NbNa$.  But $NaNb=Nab=Nba$, so then we know $ab=ba$, so G is abelian.  So if $ab\in{G}, N=abN(ab)^{-1}=abN(ba)^{-1}=baNa^{-1}b^{-1}....$ and i'm getting lost...


I am trying to make a small application which displays a menu to the user with selections. So far I have this:   package hotel;  import java.util.*;   public class Hotel {  public static void main(String[] args) {     Scanner input = new Scanner(System.in);      Room[] myHotel = new Room[10];     myHotel[0] = new Room ();     myHotel[1] = new Room ();     myHotel[2] = new Room ();     myHotel[3] = new Room ();     myHotel[4] = new Room ();     myHotel[5] = new Room ();     myHotel[6] = new Room ();     myHotel[7] = new Room ();     myHotel[8] = new Room ();     myHotel[9] = new Room ();  String roomName; String menuEntry; int roomNum = 0; String[] hotel = new String[11];  for (int x = 0; x < 6; x++ ) hotel[x] = ""; initialise(hotel);   System.out.println("Enter one of the following:\nA) Add\nD)\nE)\nF)\nL)\nO)\nS)\nV) View all rooms\nInput:"); menuEntry = input.next();  if (menuEntry == "A") { while ( roomNum < 11 ) {     for (int x = 0; x < 10; x++ )     {         if (hotel[x].equals("e"))System.out.println("room " + x + " is empty");         }             System.out.println("Enter room number (0-9) or 10 to stop:" );             roomNum = input.nextInt();             System.out.println("Enter name for room " + roomNum +" :" ) ;             roomName = input.next();             hotel[roomNum] = roomName ; } }   if (menuEntry == "V") { for (int x = 0; x < 10; x++ ) { System.out.println("room " + x + " occupied by " + hotel[x]); } }  }    private static void initialise( String hotelRef[] ) { for (int x = 0; x < 10; x++ ) hotelRef[x] = "empty"; System.out.println( "initilise\n"); } }   The menu is displayed but when an entry is made the loop is ended and "Built successful" is displayed.  Any help appreciated :)


Landed on a hot and cold planet, short life spans

Looking for a short story or novella where the people hide in caves during the really hot days and cold nights. They have highly accelerated life spans. The protagonist tries to journey to a metal spaceship. I think food and life outside the cave appear rapidly at morning twilight and burn to a crisp by mid-morning.


I am trying to wipe out Ubuntu 13.10 from my laptop and install Windows 8.1 instead. I formatted my hard drive and deleted the old partition.   Now when I try and boot I get  this error:  error: no such partition  Entering rescue mode  grub rescue >   Has anyone else had issues with this? How do I reset it to install Windows?


How to get "massless" equation of motion from the action of Nordstrom scalar field theory?

There is  of the particle moving in a scalar field $\varphi (x)$: $$ S = -m\int e^{\varphi (x)}\sqrt{\eta_{\alpha \beta}\frac{dx^{\alpha}}{d \lambda}\frac{dx^{\beta}}{d \lambda}}d\lambda . $$ How to get the equation of motion for massless objects? In this case I may introduce new parameter $\sqrt{\eta_{\alpha \beta}\frac{dx^{\alpha}}{d \lambda}\frac{dx^{\beta}}{d \lambda}}d\lambda = \frac{d\tau }{m}$.  But when I try to derive (like ) the equations of motion, I get $$ \partial_{\alpha } \varphi = m^{2}\frac{d }{d \tau}\left( u_{\alpha} e^{\varphi}\right)e^{-\varphi}. $$ Unfortunately, this equation doesn't predict the absense of deflection of light. But Nordstrom theory really predicts the deflection of light. So where is the mistake in my  reasoning?  Addition.   I got the mistake. By introducing new parameter $\tau$ I must rewrite my equation in a form $$ \partial_{\alpha } \varphi = \frac{1}{m^2}\frac{d }{d \tau}\left( p_{\alpha} e^{\varphi}\right)e^{-\varphi}. $$ So it really preficts no deflection of light.


How to synchronize clocks for computers that are not online?

I have some computers that run Windows 7 embedded and are connected to each other by a switch, but are not connected to a larger network or the internet.  After a few weeks, the clocks drift and it is difficult to figure out what is going on in the logs between them.  Is there a way to keep the clocks on these computers synchronized?  Within 1 second would be good enough for my purposes.  I've searched for a solution and everything seems to link to or is a copy of this page:    One of the computers acts as a master for the others and I have configured it as described in the section "Configuring the Windows Time service to use an internal hardware clock" in the above article.  I've attempted to configure another computer as described in the "Configuring the Windows Time service to use an external time source" section, using the IP address of the master for the NtpServer option.  I waited 15 minutes and their clocks did not synchronize (they remain about 1 minute apart).  Also, is there a way to find error messages produced by the w32time service?  Currently, my only approach is to change something and wait to see if it works.  These computers are not in a domain.


difference between "function foo() {}" and "foo() {}"

I can define bash functions using or omitting the function keyword. Is there any difference?  #!/bin/bash  function foo() {   echo "foo" }  bar() {   echo "bar" }  foo  bar   Both calls to functions foo and bar succeed and I can't see any difference. So I am wondering if it is just to improve readability, or there is something that I am missing...  BTW in other shells like dash (/bin/sh is symlinked to dash in debian/ubuntu) it fails when using the function keyword.


The Field $\mathbb{F}$ of A Hilbert Space

Is it always necessary for the field of some arbitrary Hilbert space I define to describe a system be a field of complex numbers only? Is it possible to have a field of naturals, or reals?  Since the vectors in the Hilbert space can be whatever I want (if I follow the two-three rules), I was wondering if the definition is agnostic to the elements in the field as well.


How to disavow on domain changed from http to https?

Situation: for about 2 years our business website ran on httpdomain; then a lot of websites hyperlinked to our website.  Now; we recently switched to https.domain ~ (redirection set on domain) On some seo tools I can still see backlinks of good and bad sites linking to our http/domain.com ;   Primarily google-webmaster tools ~ we changed the domain on account to the httpsdomain already. verified thru analytics embed code put on the site.  the httpdomain is now set to be redirecting to our httpsdomain (same domain name just different in httpS).  Now; my question is 1. Will bad links linking to the httpdomain affect or pull down the httpSdomain site in rankings?   how can I disavow // or avoid association from the bad links for the httpsdomain?   thanks in advance


Is it possible to boot Ubuntu using the Windows bootloader?

As noted by many people, Windows 8's UEFI requirements might will won't get in the way of installing Linux (or whatever), as the replacement bootloader will also need to be signed somehow. Some systems All systems will let you disable the signature requirement, but the feature might be hidden to disable or you might not be willing to give up on the benefits of a secure bootloader.  Is it necessary to replace the bootloader in the first place? To keep ourselves to software that's gone golden, how can I install Ubuntu 11.04 using Windows 7's own bootloader?


I would like to have a script in AutoHotkey that allows me to do the following:   When I hit Control + Space: It would initiate "text selection mode"  (i.e. if I move the cursor with the arrow keys, or moving the mouse it will highlight text) When I hit Control + Space again: It would terminate "text selection mode" (e.g. if I move the cursor with the arrow keys or moving the mouse it will not highlight text)   However I would like to avoid using the following strategies, for the reasons explained below:  Strategy 1:  The following script does not let me move the cursor with the keyboard after I initiate text selection. Apparently the computer believes that I am constantly clicking on the mouse location, so it does  not let me move the cursor with the keyboard.  *^Space:: text_selection_is_on := !text_selection_is_on if text_selection_is_on    Send, {Click down} else    Send, {Click up} return   Strategy 2:  The following script relies on simulating the action of pressing the shift key down to initiate text selection. However, I would like to avoid relying on the shift key since some of the programs that I plan on using this script with require the shift key to be up (i.e. not pressed) when I move the cursor to select text.  *^Space:: text_selection_is_on := !text_selection_is_on if text_selection_is_on    Send, {Shift down} else    Send, {Shift up} return   Is it possible to do this with AutoHotkey? If so, how?  Thanks!


I'd like to do motion graphics type work in blender and it would be really helpful if I could see the results of keyframing material opacity to cut items in and out of view.  Blender internal is sufficient, using shadeless materials.  I could have swore there used to be something in view options.  Any ideas?


How does the current know how much to flow, before having seen the resistor?

With the following circuits as examples :    and    How will the current I know how much to flow? Would any other wave travel first in the circuit and then come back and say so much current should flow?


Find all solutions to $x^3-5x+10=2^y$, where $x,y\in\mathbb{N}$.

I believe $(2;3)$ is the only solution. I managed to prove that for the equality to be true, $x\equiv2\ (mod\ 4)$ has to be true, but that approach didn't lead me anywhere.


Modeled car disappears in 'play mode' of game engine

I spent some time modeling a taxi, but when I press P to go into play mode of the Blender Game Engine everything gets messed up. I have included screenshots below:      BLENDER GAME FILE:


Where does TREE(n) sit on the Fast Growing Hierarchy?

I'm interested in where TREE(n) would rank on the fast growing hierarchy. I've read that the small tree(n) function is bound by the Small Veblen Ordinal. Given that TREE(n) grows faster, where would TREE(n) fall in the FGH?   Assuming Friedman's definition of TREE(n):  TREE(n) is the length of the longest sequence of trees T1,T2, … labeled from {1,2,3,..,n} such that, for all i, Ti has at most i vertices, and for all i, j such that $i<j$, there is no label-preserving homeomorphic embedding from Ti into Tj.


Should subscripts in math mode be upright?

In one-letter subscripts, like $x_i$, the subscript is usually typeset italic.  Is this the typographically right thing to do? Consider this case:  The Boltzmann constant is often written as $k_B$, which is short for $k_{Boltzmann}$. But the lengthy Boltzmann looks strange if typeset all italic. So I usually write $k_{\mathrm{Boltzmann}}$.  But shouldn't then, for consistency, the B in $k_B$ also be upright? And how about the i in $x_i$?


Why are heat capacities(at constant pressure and volume) different for the same substance?

My question is clear in the title . Why is the heat capacity at constant pressure different from that at constant volume for the same substance?


Can I provide bank statements from multiple accounts when applying for a New Zealand visa?

I have multiple accounts under different banks for different purposes, which should I present? Does the visa officer want to check if I have enough money in my savings maintained consistently over a period or to see my day to day expenses and transactions showing flight/accommodation bookings? My accounts are: Bank 1 - Payroll Account Where my salary is deposited. I transfer some money every month to another bank account for saving purposes, and into another bank account for everyday transactions. I saved some balance in this account too and rarely shows funds being transferred out because i use this only to save. Bank 2 - Saving account This account only used for savings. I always transfer some of my salary here every payday. It shows funds transferred in and rarely shows funds being transferred out because i only use this to save my money Bank 3 - Everyday transactions I transfer money here from Savings for my daily expenses such as foods, consumtive purposes and any cash withdrawals. I do not keep any balance in this account because i used this purely for consumption. In addition to my bank accounts, i also have stock investments which my portfolio and account statements are being sent to my personal email each month. I feel as I should present every single bank accounts to show the full picture of my expenses and i would also wanted to present my stock investments portfolio. I plan to explain the movement in my cover letter. But i feel like i should mark the movement such as funds transfer between accounts with different colored markers for each movement type (such as salary payments, savings, transfers, etc.) but i am concerned if the visa officers would get confused and reject my application. Would the officers reject it stating they can't determine how money got into it? Would it be better if i transfer all my savings to one of my accounts? Any help and advises would be greatly appreciated


Is the function from $\mathbb{R}$ to $\mathbb{R}$ that maps every compact set to compact set and connected set to connected set continuous?

Is the function from $\mathbb{R}$ to $\mathbb{R}$ that maps every compact set to compact set and connected set to connected set continious?  I know that if the function maps only compact set (respectively connected) to compact (connected) it's not continious. I saw the counterexample. Is it also true when we take both properties?  Thanks in advance.


Only color files according to file types?

When using ls to list files in a directory,   Is it possible to color the files only according to their file types (e.g. a regular file, a directory, a special file such as a socket, a symlink, ...)?


I've been invited to a maths themed Xmas after party. I need to prepare a selection of interesting, and relatively simple fallacious proofs which other guests will try and find the flaw in. I'm trying to avoid very well known ones, of course.  Each proof needs to fit comfortably on a large whiteboard.  Assume undergraduate level of maths knowledge, though the true cause of flaw does not have to be!   A place where i've previously found suitable material is 'Mathematical Fallacies and Flimflam' by Edward J Barbeau. In there is a good example of a simple fallacious proof of 1=2 using telescoping series, which can also be found here (p.2):   Feel free to share personal favourites, and make it as annoying to spot the flaw as possible!


I am 182 cm tall. Is a road bike with a frame height 54cm good for me?

I have an option to buy a road bike that has the height of the frame 54 cm :  . I am 182 cm tall. When I went to a shop and asked the "expert" about the bike, he suggested me to buy the bike with a frame of 56 cm.   Is there a big difference between the two sizes? Should I buy the bike, or it doesn't fit to my height?


Preventing applications from stealing focus

Are there any solutions to prevent applications stealing focus from the active window?   This is especially annoying when I'm starting an application, switch to do something else and the new application starts receiving half a sentence of text.


Does anyone know how to maximize enchantment level?

I've surrounded my enchantment table with bookshelves, but the levels won't go anywhere above 30


How do defenders of libertarian freewill reconcile it with constraints imposed by the laws of physics?

Libertarian freewill is the position that we have some measure of metaphysical freewill. Per this position, a free agent at a given point in time is able to  freely select a course of action among several possible courses of action, i.e. given the exact same set of initial conditions, a system with agency has more than one possible course of action. Libertarian freewill thus implies indeterminism.   This is in opposition to compatibilism, which defines freewill as the ability to act according to ones own motivations, but that physically speaking, there is still only one possible outcome for one given set of initial conditions. Based on this definition, freewill is compatible with determinism.   Per libertarian freewill, if I am at an intersection, I am free to turn either left or right, and this independently of my past history and my mental state at the time. However, even a libertarian would concede that if I am falling from the 20th floor of a high rise, I'm not free to go anywhere besides down. Whatever circumstance led up to the point where I fell off the building have put constraints on my freedom to move in whichever direction I want to.   This shows, that even for those that accept metaphysical freewill, they are still bound by the laws of physics in some situations, and they would need to define the boundary between those situations where the laws pf physics limit their freedom and the situations where they don't.     How do those who subscribe to metaphysical freewill define those boundaries?  Doesn't the fact that metaphysical freewill requires such a boundary between what is constrained by physics and what is not imply a form of dualism? Does metaphysical freewill necessarily imply dualism?


TiledMap Properties Not Working In If Statement

I am making a plat-former in Slick2D, and to handle the map I am using Tiled to make maps. There is one problem: I have this code to check if a block should be added to an ArrayList of Rectangles to use as collision:  System.out.println(map.getTileProperty(map.getTileId(x,                          y, 1), "blocked", "false"));   This returns "true" in the console for the x, y coordinates that have that property . Yet, when I do this:     if (map.getTileProperty(map.getTileId(x, y, 1), "blocked", "false") == "true") {  //Do Stuff }   The if statement returns false. Does anyone know what to do to make the if statement return true for the tiles that have the blocked property?


I would like to setup dual screens.  I've done multiple searches but there is nothing beginner-friendly for me to grasp exactly what I need to do to get the setup working.  I've picked up a few commands and here's what I have:  xrandr Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 DVI-I-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 476mm x 268mm    1920x1080      60.0*+    1680x1050      60.0      1280x1024      60.0      1440x900       59.9      1280x960       60.0      1152x864       75.0      1024x768       75.1     70.1     60.0      832x624        74.6      800x600        72.2     75.0     60.3     56.2      640x480        72.8     75.0     66.7     60.0      720x400        70.1   DP-1 disconnected (normal left inverted right x axis y axis) DP-2 disconnected (normal left inverted right x axis y axis)   I suspect I should see either one of the following connected since I have the second monitor plugged in correct?    DP-1 disconnected (normal left inverted right x axis y axis)   DP-2 disconnected (normal left inverted right x axis y axis)   I seem to have an NVIDIA graphics card as per the following:  lspci -nn | grep VGA 02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107 [Quadro K2000] [10de:0ffe] (rev a1)   Some system information:  No LSB modules are available. Distributor ID: Debian Description:    Debian GNU/Linux 7.4 (wheezy) Release:    7.4 Codename:   wheezy   How to set this up for what I need to do next?


You agreed to meet a friend of yours at Espresso Royale some time between noon and 1pm. Unfortunately, your cell phone died and you have no way of getting in touch with your friend. Both you and your friend have a busy schedule, so you will arrive at a random moment in time distributed uniformly between 12pm and 12:45pm, wait for 15 minutes and then leave if you don't see your friend. Your friend will do the same (assume your arrival times are independent). Find the probability that you and your friend will meet.


How to use multiple items in a list at once - python

I have a list:  mylist = [ "hello", "my", "name", "is", "frank", "and", "it", "is", "great", "to", "be", "here", "in", "this", "great", "country"  ]   and am using   for i in range(0,len(mylist)):     print(mylist[i])   to print out each item and it works as it prints out every word in a new line.   What I would like to do is to be able to treat multiple words in the list as one by changing the value of a variable k:  i.e I would like to instead of it outputting   hello                                                                                my                                                                                name                                                                                is                                                                                frank                                                                                and                                                                                it                                                                                is                                                                                great                                                                                to                                                                                be                                                                                here                                                                                in                                                                                this                                                                                great                                                                                country    I would like to if k = 2 to output  hello my                                                                                name is                                                                                frank and                                                                                it is                                                                                great to                                                                                be here                                                                                in this                                                                                great country    should there be an odd number of items in the list, the last word should be alone in a line  if k = 3 then there should be 3 words in a line  Is there any way to do this  Thank you in advance


Scaling vectors in illustrator causes artefacts

When i scale down a logo in an illustrator files ( i expanded all the effects and appearances) i get some weird artefacts, the curves get distorted. Is their any way around this ? Because exporting the logo and importing it as PNG seems a bit dumb for print.


Stripping non printable characters from a string in python

I use to run  $s =~ s/[^[:print:]]//g;   on Perl to get rid of non printable characters.   In Python there's no POSIX regex classes, and I can't write [:print:] having it mean what I want. I know of no way in Python to detect if a character is printable or not.   What would you do?   EDIT: It has to support Unicode characters as well. The string.printable way will happily strip them out of the output.  curses.ascii.isprint will return false for any unicode character.


Changing the filename given automatically to copied files

If one copies a file from one directory into the same one, Windows will append a - Copy to the file (well, technically - Kopie, since I have a German install, but you get it).  Is there a way to change that behaviour, as in change the suffix of the new file (perhaps even to the current date)?  (Note that I would like a way to do it directly [via Ctrl+C / Ctrl+V ] instead of having to right click on the file to copy the way it is shown in the similar question.)


Avoid suggests, recommends and upgrades during `apt-get install`?

How do I avoid installing the recommended packages and suggested packages along with upgrading the packages when I apt-get install a particular package?


I am trying to set up a UDP tunnel over SSH but it doesn't work.  Machine A is under Windows Machine B is running Linux  I want to connect (voice over IP) from machine A to machine B via UDP with protocol SIP.   On machine A I did : socat.exe udp4-listen:5060,reuseaddr,fork tcp:127.0.0.1:10000 On machine B I did  socat tcp4-listen:10002,reuseaddr,fork UDP:127.0.0.1:5060 On machine A I did also : SSH tunnel from machine A, port 10000 to machine B port 10002   But it doesn't seem to work, at least according to a SIP VOIP phone I am trying to use ?  Any suggestion would be welcomed :-)


how do i approach this question? do I calculate the overall probability?

Mysterioso the Magician is walking down the street with a box containing 25 identical looking coins: 24 are fair coins (which flip heads with probability 0.5 and tails with probability 0.5) and one is a trick coin which always flips heads. Renata the Fox skillfully robs Mysterioso of one of the coins in his box (chosen uniformly at random). She decides she will flip the coin k times to test if it is the trick coin.   (a) What is the probability that the coin Renata has is the trick coin, given that it flips heads all k times?  (b) What is the smallest number of times she needs to flip the coin to believe there is at least  a 90% chance she has the trick coin, given that it flips heads on each of the flips?


What is time? Does it flow linearly? If so, how are we sure?

Distances in our world (classically at least) can be defined by considering our world to be a model for the Euclidean normed three dimensional space. But how can we set the notion of time on a firm footing? What are the first principles here?  Because almost everywhere in physics, we want to see how a system evolves with “time”. But when I think about it, I can’t find a clear understanding of what time is.  I’m not talking of “the arrow of time”, just time.  Before relativity also, physicists worked with time rates. But how can we be sure that a ticking device is measuring time linearly? As far as I can see, there must be a guaranteed (local, for relativity) existence at every place in the universe of some time keeping mechanism which is infinitely accurate and can be accessed by the observer to read off the time differences between events he observes.  What guarantees such existence?  Basically what I’m asking is against what the rate of time flow is measured. Or asking it is nonsense?  Is there some different way to firmly define this notion?    This is NOT the same question as the marked question, .  Here, I ask how do we assure that a time keeping device ticks at “equal” intervals? How do we measure these “equal intervals” with? We surely can’t rely on our perception for it.  It is much like (to me) the problem of defining temperature in classical thermodynamics. We have to resort to statistical theory for a firm definition of it. We just can’t say that temperature is proportional to the height of mercury column in a thermometer. Because we’ll, it just isn’t...


Can I know where the volatile variable is getting stored in the memory?     If i declare globally means where does it get stored in the memory?  volatile int a =10; int main() {     printf("Global A value=%d",a);     return 0; }  If i declare locally inside the function means where does it get stored in the memory?  int main() {     volatile int a =10;     printf("Local A value=%d",a);     return 0; }    Does it get stored in Stack / RAM / Data segment ?  Please clarify my doubts.


Working through Baby Rudin, what's the best approach?

I'm currently working through Principles of Mathematical Analysis, and I'm thoroughly enjoying it, but I wanted to know from some of you who've read it before, what's the best approach to get the most out of Baby Rudin?  I'm hoping to complete most, if not all of the exercises in it, that I'm sure of. No questions there.  What I'm not so sure about is note taking, currently I'm taking truly copious amounts of notes, to the point where I've copy-pasted almost everything in the first chapter into my own book.   It would be completely illogical to rewrite the whole book out just for the sake of it, and it would take me forever to complete the book that way.   I know as I'm typing this, that this is a very subjective matter, and some people prefer to take copious amounts of notes, while others prefer to take none at all, but since this is my first true Definition-Theorem-Proof style book (if you can call it that), I want to find out what's the best way to tackle the book.  For those of you who've read Baby Rudin, and more generally for all Definition-Theorem-Proof style books, how do you go about taking down notes?    Do you copy-paste most of the stuff (i.e as I did)? Do you only take down notes on proofs and use the book as a reference for definitions and theorems? Do you take down all the definitions and theorems? Do you take down any of the exposition stuff (comments etc.)? Do you take as little notes as possible and only worry about doing the exercises? Do you try and reprove everything and not worry about notes as much?   I know that each person studies in their own way, and this may be the softest of soft questions on Math.SE, but I'm highly interested to see how others have gone about working through Baby Rudin.


Enter the USA before going to Canada on a WHV

I am a German resident.  I m in possessision of a Work- and Holiday Visa for Canada, which allowes me to stay and work there for 1 year. On my way to Canada (Vancouver)I would like to stop in New York for a few days to see some of my friends.  I do not have a flight back to Germany, since I m planning to fly to Canada and live there for a year.  I read the rules to enter the USA with an ESTA, require a flight out of the country, which can t be Canada, Mexico or nearby islands.  I was wondering if it makes a difference if I  can show my work and holiday visa, as proof that I am going to stay in Canada, to be able to enter the U.S. without a flight back to Germany or any other county besides Canada.  I am looking forward to your answer and hope you can help me.  I think my question is different to the ones showed, because my main issue is, that I don t know if the paper, which shows that I have a work and holiday visa for canada, is enough proof for the U.S. that I intend to stay and live in Canada and to let me into the country without a return flight to germany (or somewhere else).  I m not worried about the 90days and re-entering the U.S.


Need help using induction to prove a product series inequality

The question as stated on a past exam:  Use mathematical induction to prove that $$ \frac{1}{2}\cdot \frac{3}{4}\cdot \frac{5}{6}\cdot ...\cdot \frac{2n-1}{2n} \leq \frac{1}{\sqrt{3n+1}} $$ for any positive integer n.  I have done plenty of induction proofs before and understand the how and why they work. However I can't seem the find the algebraic trick to this question. I start of by multiplying both sides by $$ \frac{2n+1}{2n+2} $$ with the final goal of proving that $$ \frac{1}{\sqrt{3n+1}} \cdot \frac{2n+1}{2n+2} \le \frac{1}{\sqrt{3n+4}}$$ to complete the proof but I quickly get lost, any help or tips would be very appreciated.


Every time I close the lid of my Macbook Air, it turns off and I have to manually start it later when I open the lid again.  It also doesn't persist some of my settings such as volume level, desktop layouts (order of screens and which applications are full screened), and command line PATH changes such nvm's currently used node version.  Kind of a "you don't know what you don't know" situation. I'm not sure what to terms to use to search for this kind of behavior.  Edit: Adding some extra information as requested. I am on the following:   13-inch Macbook Air from Early 2014 Mac OS X El Capitan (10.11.6)   In System Preferences > Energy Saver > Battery, I have "Put hard disks to sleep when possible" checked and "Enable Power Nap while on battery power" unchecked.  I've looked through other potentially relevant areas of System Preferences and haven't found anything that works. I've done some Googling, but haven't found anything that is related and I'm unsure of what other terms I could use to search.  Edit 2: The issue seems to have been resolved. There's nothing in particular that I tried that worked, but it's resolved now. Thanks for reading and responding!


Solving an Integral With Square Root in the Denominator

Solve for k: $$\int_6^{16}\frac{1}{\sqrt{(x^3 + 7x^2 + 8x  -16)}}dx = \frac{\pi}{k}$$  I have factored the denominator to obtain $x^3 + 7x^2 + 8x - 16  =  (x-1)(x+4)^2$ I think that since the answer involves $\pi$, I have to somehow make it look like the derivative of arcsine or something.  Or should I do a trigonometric substitution?  Please help!


When making a sum between two raster layers, for every cell, if one of the two cells have no data in that cell, the opeartion is not done in that cell, example:  In QGIS raster calculator I do:    Plus (+)    And I get:    The red circle in the middle is like cut in the result, QGIS it's not adding every pixel on each raster, it makes a kind of intersecction...  To try to avoid this, I need to fill every no-data cell in both raster layers with a 0 value. How can i do this in QGIS?


Integrate $\frac{1}{(1+x^2)(1+x^c)}$ from $0$ to $\infty$ for any $c$.

The question is to evaluate  $$ \int_0^\infty \frac{dx}{(1+x^2)(1+x^c)} $$ for arbitrary $c\geq0$. Here are my attempts:  (The methods behave somewhat differently for $c=0$ but that case is trivial so I will assume $c>0$)  Integrate by parts: \begin{align*} \int_0^\infty \frac{dx}{(1+x^2)(1+x^c)}&=\arctan(x)\frac{1}{1+x^c}\Big|_0^\infty+\int_0^\infty\arctan(x)\frac{cx^{c-1}}{(1+x^c)^2}dx\\ &=0+\int_0^\infty\arctan(x)\frac{cx^{c-1}}{(1+x^c)^2}dx\\ &=\int_0^\infty\frac{\arctan(x^{1/c})}{(1+x)^2}dx. \end{align*} This looks just as bad, if not worse, as before...  Partial fractions: good for small values of $c$, but seems impossible as $c$ gets large.   Along the same line as partial fractions, but I tried the Ostragodski method, which only helped simplify things for $c=2$.   Try and show it doesn't depend on $c$:  For $c=1$, $c=2$, and $c=3$, the integral evaluates to $\pi/4$. My gut tells me this isn't a coincidence, so define  $$ f(c)=\int_0^\infty\frac{dx}{(1+x^2)(1+x^c)} $$ so that  $$ f'(c)=\int_0^\infty\frac{-x^c\log(x)}{(1+x^2)(1+x^c)^2}dx. $$ It would be great if this evaluated to $0$ for arbitrary $c$, but I don't see a nice way to show that it does.  Any hints would be greatly appreciated. Thanks in advance.


Holomorphic function that is bounded by inverse of Imaginary part is zero

Let f be holomorphic on the whole complex plane. If f < $\frac{1}{|Im(z)|} $ for all in C \ R, then f is the zero function?  I tried to use that along all straight lines where it is not R, f is bounded and tried to use Liousville (as if f is constant it would be obvious...). But this did not work...  What is the correct approach?


I am a great fan of eggs and have consumed many eggs a day since I was young.  I had not even the slightest worry about my blood cholesterol level until an old man told me yesterday about the detrimental effects that over eating eggs might have on my health.   Does eating three to five whole eggs each day increase the level of blood cholesterol?


i have asus ac56 usb wifi adapter. I installed the rtl8812au-dkms package but my adapter is not recognized. Using Ubuntu 20.04      dkms status rtl8812au, 4.3.8.12175.20140902+dfsg, 5.4.0-26-generic, x86_64: installed   lssub: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 002: ID 0b05:17d2 ASUSTek Computer, Inc. USB-AC56 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU] Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 1a2c:0043 China Resource Semico Co., Ltd USB Mouse Bus 001 Device 002: ID 1a2c:2d43 China Resource Semico Co., Ltd USB Keyboard Bus 001 Device 006: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0 D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1 P:  Vendor=0b05 ProdID=17d2 Rev=00.00 S:  Manufacturer=Realtek S:  Product=802.11n NIC S:  SerialNumber=123456 C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA I:  If#=0x0 Alt= 0 #EPs= 5 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)   modinfo 8812au | grep -i 0b05  alias: usb:v0B05p17D2ddcdscdpiciscipin    dmesg | grep 8812  [    3.151555] 8812au: loading out-of-tree module taints kernel. [    3.161338] 8812au: module verification failed: signature and/or required key missing - tainting kernel [    3.162909] RTL871X: rtl8812au v4.3.8_12175.20140902 [    3.162968] Modules linked in: 8812au(OE+) snd_rawmidi amd_iommu_v2(+) fjes(-) aesni_intel(+) snd_seq gpu_sched crypto_simd ttm cryptd drm_kms_helper glue_helper snd_seq_device cfg80211 snd_timer wmi_bmof k10temp i2c_algo_bit fb_sys_fops joydev syscopyarea input_leds sysfillrect snd sysimgblt soundcore ccp mac_hid sch_fq_codel parport_pc ppdev lp drm parport ip_tables x_tables autofs4 hid_generic usbhid hid crc32_pclmul i2c_piix4 r8169 nvme ahci realtek nvme_core libahci wmi gpio_amdpt gpio_generic [    3.163016]  ? _rtw_malloc+0x2d/0x2f [8812au] [    3.163032]  ? _rtw_memcpy+0x10/0x12 [8812au] [    3.163049]  ? rtw_5g_rates_init+0x1a/0x1c [8812au] [    3.163065]  ? rtw_spt_band_alloc+0xb0/0xb2 [8812au] [    3.163081]  rtw_wdev_alloc+0xf6/0x29c [8812au] [    3.163096]  rtw_usb_if1_init+0xf0/0x20c [8812au] [    3.163111]  rtw_drv_init+0x246/0x2d3 [8812au] [    3.163145]  rtw_drv_entry+0x65/0x1000 [8812au] [    3.314256] usbcore: registered new interface driver rtl8812au


Homogeneous ideals are contained in homogeneous prime ideals

Let $I$ be a homogeneous ideal of a graded ring $S$, $I\ne S$. I want to show that there exists a homogeneous prime ideal which contains $I$.    I proved the following:  Let $T$ be the set of all homogeneous ideals which contain $I$. Then, by Zorn's lemma, there exists a maximal element of $T$, say $P$. I will claim that $P$ is prime. Suppose that for homogeneous elements $a,b \in S$, $ab \in P$ but, $a\notin P$. Then $\langle a \rangle + P$ is a homogeneous ideal which contains $I$. It contradicts by maximality of $P$ so, $a\in P$.  Is it right???


Is there a default password of Kali Linux OS after first installation?

I installed Kali Linux OS on my hard disk and set nothing as username and password. Now at the time of login it ask for localhost username and password. I tried root and toor as default but didn’t worked for me.


How to show $\lim_{k\rightarrow \infty} \left(1 + \frac{z}{k}\right)^k=e^z$

I need to show the following: $$\lim_{k\rightarrow \infty} \left(1 + \frac{z}{k}\right)^k=e^z$$  For all complex numbers z. I don't know how to start this. Should I use l'Hopitals rule somehow?


If I understand correctly, the action for a massive free particle is: $$ S = -mc^2 \int \mathrm{d}\tau = -mc \int \sqrt{g_{\mu\nu} \frac{\mathrm{d}x^\mu}{\mathrm{d}\lambda} \frac{\mathrm{d}x^\nu}{\mathrm{d}\lambda}} \, \mathrm{d}\lambda $$  and from this we can derive the geodesic equation. This action functional doesn't make sense for photons though, which have $m = 0$. So what is the action for photons?  I thought about replacing $mc$ with the quantity $\hbar k$ (which has the same units) but I'm not sure whether that makes sense, given that $k$ is not constant for a photon propagating through curved space-time. (On the other hand, it makes sense that there should be a single free parameter since the propagation of light in GR is independent of the photon's momentum. But if this is the correct action then how do we actually interpret the parameter $k$?)


Exclude \fullcite{...} citation from bibliography

Is there a way to excluded a citation specified in the text by \fullcite{Doe2013} from the bibliography? (I'm using biblatex+biber.)


Login Failure( redirects to login after enterning password ) in Ubuntu 14.04

I'm  unable to login to my account in Ubuntu. The login Screen appears and I choose me root account, enter the password and press enter. But unfortunately a black screen is displayed for couple of seconds and than I'm redirected to login again and again. I'm sure my password is right. Also I can use the guest session.  How can I resolve this bug? I don't want to reinstall whole Ubuntu again. That will be my last option.  Thanks in Advance


How to change contact's photo under Android 8.0

I am trying to change a contact's photo under my Motorola Moto Z2 Play / Android 8.0.0 (Security Patch July 2019):  Contacts > 🔍 (find a contact) > 🖉 (edit contact) > 📸 (change photo) > Select new photo  and I am hit with an error saying:  No pictures are available on the device.  I don't understand this situation, because:  I have dozens of photos and pictures on this device, in "DCIM", "Pictures" and others, I can change widget's icon without any problem (my launcher allows this), I've been changing contacts' photos many times on this device. I've managed to change contact's photo on other devices and Android versions (A9 and One), I don't think this is due to SAF (details:  and ), because I am still on A8, not A10.  Since I did this last time a couple of months / maybe a year ago. The only thing that comes to my mind is that I did this last time under old, good Android 7.1.2. And the recent update to Android 8.0.0 maybe messed up something. I have tried putting new photo into every folder that came to my mind:  root, DCIM, DCIM/Camera, Pictures, Pictures/Contacts (I've been using this one for years).  All for nothing. Always seeing this damn message. I even went as far as:  Contacts > 🔍 (find a contact) > 🖉 (edit contact) > 📸 (change photo) > Take new photo, capture some test image, use it, see, where it is stored (turned out that in: DCIM/Camera, as expected), remove it, try again using "Select new photo".  My phone went as wako as allowing me to change the photo of one of contacts in the first place (i.e. after using "Take new photo"), stored it in DCIM/Camera folder and when I tried to use the very same photo from the very same folder, but using "Select new photo" instead, it again claimed that I have no pictures in this device). Can anyone help me? How to workaround this problem? How to change contact's photo in A8?


Can't join areas. I only see "Swap Areas"

Using 2.82a.  I made some accidental area subdivisions and I wanted to join them.  But now, right-clicking on the area line, I just see "Swap Areas".  What's wrong?


Isomorphism between $\Bbb{Z}[\sqrt{d}]$ and a quotient of $\Bbb{Z}[X].$

Let $d\in \Bbb{Z}$ be a square free in, I need to find an isomorphism between $\Bbb{Z}[\sqrt{d}]$ and a quotient of $\Bbb{Z}[X].$ I Would guess it's $$\Bbb{Z}[\sqrt{d}]\simeq\Bbb{Z}[X]/\langle X^2-d\rangle.$$ But I need to prove it. So, as $X^2+1$ is monic, I can perform the euclidean algorithm: all polynomial $\Bbb{Z}[X]$  can be written $$P=(X^2-d)Q+(aX+b)$$ for $Q\in\Bbb{Z}[X].$ We have $P(\sqrt{d})=0$ if and only if $a+\sqrt{d}b=0.$  If $d<0$ then $\sqrt{d}=i\sqrt{-d}$ so $a=b=0.$      If $d>0$ I am not sure how can I prove that $a=b=0$, I can do it for some special ("easy") case.    More than a solution, I need to understand what's going on to get the idea of the proof. I can conclude, but


I just ordered the Nvidia GTX card. I have a dilemma, though. Should I keep using the driver which is available in "additional drivers" in Ubuntu, or should I install the driver from the Nvidia site?  So which driver is the best for me?


Why is the result of a raster calculation integer when it should be decimal?

I'm trying to calculate the NDVI using raster calculator, but the result is integer instead of decimal.  NDVI = (NIR - RED)/(NIR + RED)   The result is normally in the range -1 to 1, but when i tried to calculate de result is -1, 0 and 1, and it does not have have any number in between like, -0.9 or 0.1. And i need those values so i can classify the result in term of soil occupation


Are there any plans for SE sites to support variable width layout?

With high-resolution monitors becoming more popular, does the StackExchange team have any plans to make these websites use more display area when the browser is maximized/fullscreen?  Currently, I am using a full HD display (1920x1080). Only about 3/7 of the width of my display is used on StackExchange sites:  --------------------------------------------------------------------------------- |                    ||                                   ||                    | |                    ||                                   ||                    | |                    ||                                   ||                    | |                    ||                                   ||                    | |                    ||                                   ||                    | | <---- UNUSED ----> || <------------  960px  ----------> || <---- UNUSED ----> | |                    ||                                   ||                    | |                    ||                                   ||                    | |                    ||                                   ||                    | |                    ||                                   ||                    | |                    ||                                   ||                    |                                         ... ---------------------------------------------------------------------------------     In addition, with current 2560w displays and future high-resolution displays, the amount of unused space is greater than the space used to display content.  In my opinion, the horizontal layout should be fluid - proportionally adjusting to the width of your browser window to maximize the use of your display. It probably shouldn't expand to fit the entire width of the window, because that would require users constantly turn their heads to view all of the content.    This  has valid arguments:  (1) I like being able to size my browser window to hide the panel on the right without losing question/answer size now and then (mainly when I'm working on two things at once).  (2) I like knowing approximately how my answers will look in terms of paragraph size and so forth.  (3) I like knowing that syntax highlighter wrapped things correctly.  (4) Mostly, I like that this helps encourage brevity in code samples - if the sample is long enough that you're losing code for nesting reasons, it's time to re-focus your thoughts and pare down to just what's relevant to the problem.  My counter-arguments:  (1) Add a "collapse side panel" feature that remembers your preference.  (2) Why does this matter? A high-quality answer will contain only relevant and necessary information. (Maybe restrict post length for new users?) Also, see point (3) below.  (3) Never depend on the code formatter correctly wraping/indenting code. You can preview posts below the editor anyway.  (4) This will happen in posts regardless of the width of the page. Even with this 960px-wide page, some users constantly dump entire programs into a post. See parenthetical in point (2).    Does the community have any thoughts or suggestions on this matter?


Switching to tabs to the right or left of the current tab in Notepad++

How can I switch to the document to the left or right of the current document in Notepad++?   For example, if I have documents A, B, and C open, and I'm currently editing B, I would like a shortcut to be able to:   switch to document A, like. . . (Alt-LeftArrow or Ctrl-Pageup)    OR   switch to document C, like. . . (Alt-RightArrow or Ctrl-PageDown).    All I've found is a way to switch to next or previous documents based on the "history" of when the document was last opened, for example:  (Ctrl-Tab and Ctrl-Shift-Tab)  The examples I have found are useful, but not what I want.  Is what I am asking for possible?


Science fiction story(-ies?) about aliens who made historical video available

I was discussing a story I had read with my sister-in-law that she may have also read.  The story may have been a short story and, if so, appeared at the front of the book that I read.  I would have probably read it in the 80s.  Aliens had conquered earth or maybe just made technology available.  Any criminal incident was made viewable by them via video.  This meant that crime became almost non-existent due to being able to review what happened.  If I remember correctly, religious events were excluded from what the aliens made available.  She had a few details that I did not remember or perhaps it was a different story.  The aliens could detect if people were planning something against them, so you had to hide your thoughts as well which the main character did.  I'm not sure if that means he didn't plan anything against them or figured out some other way.  Also, it's possible the reason against religious video was that they were too popular and bogged down there system when people viewed them.


Accessing a remote file via ssh on Ubuntu 12.04

I have a text file on one of my computers that is running 12.04. I was planning to use ssh to allow for another computer to read this text file. The issue is that the system that I am working with is basically logging some information on this text file at real time. I need for the computer that is going to read this text file, to read the text file at real time as well.  I am not savvy at all with ssh, but I am familiar with ubuntu. If anyone can provide some insight as to how to do this, or if it is even possible to read this text file at real time while another system is logging info it would be greatly appreciated.   Thank you.


I do not know how to approach this problem. Is there something related to integrating?  The function $f$ is defined on $[0,1]$, continuous, and positive. Find the following limit: $$\lim_{n\to \infty} \sqrt[n]{f \left( \frac{1}{n} \right) \cdot f\left(\frac{2}{n}\right)\cdot f\left(\frac{3}{n}\right)\cdots f\left(\frac{n}{n}\right)}$$


Is it possible to recover a deleted file from crontab -r?

I made a very serious mistake. I was editing the crontab file of my remote server, I was as the root user and it turns out that I wrote crontab -r instead of crontab -e and without previous notice it was simply deleted.  I was looking for information and it turns out that files deleted with the crontab -r command are not stored somewhere like the recycle bin or something similar. I am very worried because there are scheduled backups and all the scripts that my hosting placed. I already communicate with them and I must wait for a response from a specialized person in a period of 24 to 48 hours, but I am very concerned. Will it be possible to recover that file?


What contributes to success and survival when exploring wasteland?

In Fallout Shelter, what are the factors that contribute to dweller exploring the wasteland will...   survive find something valuable   and how significant is the contribution of each factor?


What is the value of the following sum?  $$\frac{1}{1!}+\frac{1+2}{2!}+\frac{1+2+3}{3!}+ \cdots$$  The possible answers are:  A. $e$ B. $\frac{e}{2}$ C. $\frac{3e}{2}$ D.  $1 + \frac{e}{2}$  I tried to expand the options using the series representation of $e$ and putting in $x=1$, but I couldn't get back the original series. Any ideas?


Integral $\int_0^\infty \log^2 x\frac{1+x^2}{1+x^4}dx=\frac{3 \pi^3}{16\sqrt 2}$

This integral below $$ I:=\int_0^\infty \log^2 x\frac{1+x^2}{1+x^4}dx=\frac{3 \pi^3}{16 \sqrt 2} $$ is what I am trying to prove.  Thanks.  We can not expand the denominator as a series since the domain of integration is for $x\in [0,\infty)$.  Next I wrote $$ I=\int_0^\infty \log^2 x \frac{1+x^4-x^4+x^2}{1+x^4}dx=\int_0^\infty \log^2x \left(\frac{1+x^4}{1+x^4}+\frac{x^2-x^4}{1+x^4}\right)dx=\\ \int_0^\infty \log^2 x \, dx+\int_0^\infty \log^2 x \frac{x^2}{1+x^4}dx-\int_0^\infty \log^2 x \frac{x^4}{1+x^4}dx, $$ however only the middle integral is convergent.  I am not sure how to go about solving this problem.  Thank you


The weak topology on a normed vector space $X$ is the weakest topology making every bounded linear functionals $x^*\in X^*$ continuous.  If a subset $C$ of $X$ is compact for the weak topology, then $C$ is bounded in norm.  How does one prove this fact?


How to statistically compare two time series?

I have two time series, shown in the plot below:    The plot is showing the full detail of both time series, but I can easily reduce it to just the coincident observations if needed.  My question is: What statistical methods can I use to assess the differences between the time series?  I know this is a fairly broad and vague question, but I can't seem to find much introductory material on this anywhere. As I can see it, there are two distinct things to assess:  1. Are the values the same?  2. Are the trends the same?  What sort of statistical tests would you suggest looking at to assess these questions? For question 1 I can obviously assess the means of the different datasets and look for significant differences in distributions, but is there a way of doing this that takes into account the time-series nature of the data?  For question 2 - is there something like the Mann-Kendall tests that looks for the similarity between two trends? I could do the Mann-Kendall test for both datasets and compare, but I don't know if that is a valid way to do things, or whether there is a better way?  I'm doing all of this in R, so if tests you suggest have a R package then please let me know.


A vassal gained a title and he became independent

I'm King.  A Count under a Duke vassal of mine, inherited a Duke-level title (Petty Kingdom)… and now he's independent.  I assumed that since King>Duke, he would still be my vassal, but this didn't happen.  Is that because he's not my direct vassal, and his liege was a Duke, ignoring that that Duke herself had a King liege?  Or would that have happened anyway for other reasons?  (maybe my Duke was a Grand Mayor actually, in case this changes anything, while the Count was a regular noble)


Can dev (development) set be part of a training set in machine learning?

I split the full data into training and test set in 80:20 ratio. Then within the training set I randomly carved out 10% and called it the dev (development) set. In the dev set, I select features and run 5-fold cross validation to find the optimal hyperparameters for each ML algorithm. After all these steps are done, I applied the selected features along with optimized ML algorithms to train and build the models using the full training data, then the trained models will be used to predict and be evaluated in the test set.  Is is appropriate to derive the dev set from the training set? Or do the dev, training and test sets have to be mutually exclusive?  Update: Suggested link  discussed a completely different matter, thus my original question is not a duplicate.


At some point after switching to Inbox for Google I set it as the default that my account sees at mail.google.com. Now, I want to disable it and return to the old Gmail interface, but I can not, for the life of me, find a setting that will allow me to do it.  How do I change my account's mail interface back to the old Gmail one?  If it matters, my account is a Google Apps account, not a Gmail one.


Making a faithful representation of a single Russian letter

There is a paper I am citing that has an author with the name shown in the image below.   The default citation provided by the search engine I was using suggest {\v i}, which shows as the following in my paper:    I am wondering (since I don't now Russian) if this is even a faithful representation of the corresponding letter in Russian.  Also, I am wondering if {\v i} is the most accurate way to represent this letter in LaTeX.  This is the only Russian letter I need to represent in my document, so I don't have a need to include Russian language packages or similar things if it can be avoided.


My mom went out and bought a super old dryer to replace one that busted. I'm trying to hook it up with 4 prong cord hut there is no green nut for the ground. Where does the ground go?


Handling talkative neighbors when travelling

I'm travelling a lot around Brazil now, spending many hours in buses and planes every weekend. Sometimes I like to spend this time reading a book, listening to music or just looking out of the window.  The problem I experience especially here is that a lot is Brazilians are very friendly people and they love to talk to me, especially when after they find out I'm a foreigner, which is quite clear looking at my face. I don't mind few minutes of small talk and I often really enjoy the conversations, but sometimes it's too much and I'd like to spend this time alone without being rude.  I tried so far, with varying degrees of success:   wearing headphones pretending I don't speak Portuguese, but the reaction I was mostly getting was "oh that's cool, I can practice my English then" trying to fall asleep but after I couldn't and got bored, I started reading a book, then the conversation started again, even though I was wearing headphones trying to make the conversation die by not continuing topics   Is there a good, gentle way of saying straight that you'd rather be left alone without offending a person who is just friendly and wants to talk to you?


Could/can any native english speaker tell me what the difference between 'can' and 'could' in the following sentences is. And, are they interchangeable in the following context? What Difference do the words can and could create when making a request or an offer?  Here are the examples:   Suppose, I am looking for a particular bank but I don't know where the bank is. I meet an old man and want to know the direction of the bank from him. So I ask him "Can/Could you please tell me where the bank is?" Can/Could anyone please teach me how to share videos and photos on Facebook?   As usual, if there is anything ungrammatical in the writing, please correct it.


Compute the sum $\sum_{k=1}^{\infty}k^mz^k$ where $|z|<1$

Do you know how to find the limit of $\sum_{k=1}^{\infty}k^mz^k$ where $|z|<1$ and m is a natural number? I've tried to google it in wiki but I do not understand the closed form ().


I have created a 3-tier Approval workflow by sharepoint designer 2010 action "Start Approval Process" for a Service Request List. The three approvers can be assumed as team lead, project manager, department manager. Since there is a risk that the first approver may be Out-Of-Office and the Request will be blocked by him/ her for a long time, I have to grant high level apporver (department manager) proper permission that he/she can approve tasks assigned to low level approver. My problem is, when the high level approver tries to approve the low level task, an error displays in page saying he/she is not the "Assinged to" person and cannot approve the task. I have tried to grant the high level approver with even "Full Control" permission of the Task List, but does not work. Does anyone know which permission shall I grant for high level approver?


How to remove KDE stuff from software updater

Hi I had kde installed besides unity. I didn't like it so I've uninstalled kde.  But even after that I still get updates for some kde stuff (konqueror, kate, okular, akonadi and many many things...)  I don't see any ppa related to kde in software updater. How do I remove it completely? Or at least stop getting those updates?


Hourly electricity demand data finding AR and MA terms

I am new to time series analysis. I have hourly electricity demand data for five years (having multiple seasonalities at intra-daily, intra-weekly, and annual periodicities) and I want to guess the number of AR and MA terms using ACF and PACF. Please advice me how to remove seasonalities and guess the AR and MA terms.


You have a car and would like to lift one side (so that two of the wheels don't lay on the ground). How hard would that be?  I am talking about a car close to the average dimensions: 1200kg, 4m20(length) x 1m80(width) x 1m50(height).  Ideally I would like to know how heavy would be a dumbbell to be as hard to lift.


Let $f(n)$ be the function defined by  $$ f(n) = \frac 1{\sqrt{5}} \left[  \left(1+\sqrt{5}\over2\right)^n-  \left(1-\sqrt{5}\over2\right)^n \right] $$  How do you prove that $f(n) = f(n+2) - f(n+1)$ for all $n = 0, 1, 2, ...$ ?


How to make \xrightleftarrow and \xleftrightarrow longer?

I'm trying to reproduce this text in Latex  On the left you see what I could achieve by now, with the following LaTeX code: \polyring{\mathbb R}{x}_{/\ideal{x^2+1}}\mathrel{\mathop{\rightleftarrows}^{\mathrm{\alpha}}_{\mathrm{\beta}}} \mathbb C  Where \polyring and \ideal are defined as follows: \newcommand{\polyring}[2]{\ensuremath{#1\big[#2\big]}} \newcommand{\ideal}[1]{\ensuremath{\langle #1\rangle}}  Instead on the right you see the result I'd like to achieve. I couldn't find anything that would satisfy my needs. TIA.


I can no longer access my question via the same account I asked it through. What can I do?

For reasons beyond me, I can no longer access the following question:     What can I do?


I recently built a device which needs to be charged using a standard 12v adapter and a certain number of amperes. I was told the adapter needed to be at least 3A to charge the device. So my question is can I use any number of amperes as long as it's greater than 3A, for instance a 12v 5A adapter? I just need to know if using more amperes than the needed amount is fine, or if it can be harmful at all. Thank you


I am trying to create an alias to run an application. Is there away to bypass creating an alias just to change directories?

I am new to Linux and I want to create an alias to run an application.   Currently, to access it via the terminal I am typing:  cd /usr/local/bin packettracer   Is there any way I can by pass creating an alias just to change directories? I just want to be able to type pt for example into the terminal and it instantly run, rather than typing two separate commands.  Thank you in advance!


Format a float to 2 decimal places without changing variable type

I want to take a float that can be entered by the user to any acceptable number of decimal places and format it so that it is only two decimal places. I am able to do this by converting it to a String but I want to keep it as a float and was wondering if there was an easier way to do this than changing from float to string and then back to a float?


Prevent Windows 10 installer from using the preinstalled serial key without disabling UEFI

My laptop (a Lenovo Flex 2 15) came preinstalled with Windows 8 Standard (with the serial key preinstalled into the BIOS), and I've since installed an SSD (a Samsung Evo 840 120GB) & upgraded to Windows 10.  When the laptop still had its hard drive, I upgraded it to Professional so I could use the resources provided by the domain on my homeserver; because of this, I can only use the Professional editions of Windows (Home can't join domains).  I bought Windows 10 Professional & completed a fresh-install (complete reinstallation) of Windows, only that it installed Windows 10 Home instead of Professional. I'm guessing this is due to the Windows 8 Standard Edition serial key preinstalled in the BIOS.  I then downloaded an All-In-One ISO image of Windows 10 from MSDN (of which I have limited access to), transferred the installer onto a USB stick, & reinstalled (a clean install again). However it's still installing Windows 10 Home.  If I try to install using the AIO image from within Windows, the installer does not present me with a list of options for the edition I want to install; instead, it assumes that I want to install Home Edition:    I am able to get Windows 10 Professional to install if I disable UEFI & use Legacy instead, but I feel that this is stepping around the issue rather than resolving it.  Is it possible to have the Windows 10 installer ignore any serial keys preinstalled in the BIOS/UEFI? If so, how? If not, is using Legacy mode really the only way around this?


SELECT query with ResultSet arguments in JAVA

The server code of my Oracle database contains two files (classes) namely: Main.javaand DBManager.java. DBManager.java contains SQLPRocessing and SQLProcess methods (functions) that perform executeUpdate and executeQuery operations with the query statement, respectively. The SQL queries for dumping and fetching the data are written at the Main.java class. My database contains two tables T1and T2. My code has two queries for inserting the data as:  public void SQLProcessing(String ID, String X, String Y, String XE, String YE){     db.SQLProcess("INSERT INTO T1 VALUES("+Double.parseDouble(ID)+ "," +Double.parseDouble(X)+ "," +Double.parseDouble(Y)+")");     db.SQLProcessing("INSERT INTO T2 VALUES("+Double.parseDouble(ID)+ "," +Double.parseDouble(XE)+ "," +Double.parseDouble(YE)+")");                     }   Similarly, for getting the data back from the database, I use single SELECT query as:   public ResultSet SQLProcess(String msg1, String msg2, String msg3, String msg4, String msg5){     ResultSet rs = db.SQLProcess("SELECT * FROM T1, T2 WHERE T1.ID = T2.ID");     return rs; }   While executing the code, I get an error:  Exception in thread "Thread-1" java.lang.NullPointerException at Main.sendTo(Main.java:132) at Main$ServerReceiver.run(Main.java:79)   The line 132 of Main.java contains while(rs.next()) and line 79 contains sendTo(socket.getInetAddress()); . However, when I see the database, data is sent and stored in the database. So, I think the problem is with the SELECT query. I tried many possible SELECT queries from different threads, I could not solve the problem. Is my guess correct? Could anybody provide the real SELECT query for my case? Or is the error is triggered from another source?  The problem is with the cursor. It is null and I added an if statement as:  if(rs!=null) {         while(rs.next()){//code}    Then it does not generate any error. However, the client device does not get any data from the server. How can I fix it?


Is there an easy way to use Vim text-objects on camel case words?

Often I'll be doing a quick edit to a camel case word in some code and wish I could use something like text-objects to select one part of the camel case word.  For example, given this snippet:  class TextObject:     pass   If my cursor is on the 'x' in TextObject, I would like to quickly select/operate on the word 'Text'.  If my cursor is on the 'j', I would like to manipulate the word 'Object'.    Vim text-objects allow me to quickly manipulate the entire word TextObject (e.g 'caw'), but I've noticed that I quite often want to manipulate only a single word in a camel case string like this.  Any pointers?  Thanks in advance


Why are Hogwarts Quiddich players allowed to have an unfair advantage in brooms?

I would expect all players to have the same make of broom. Draco's bribe to get into the Slytherin team shouldn't be possible. Harry's broom should be the same as the others'.  Why was this allowed at school?


Can the dead be brought back to life by viruses?

Zombies have been a part of popular culture for decades. The living dead rising up to take over the world is a terrifying concept, worthy of  and television hits. Some of those  are based on infection by viruses or other organisms.   Is it possible to bring dead tissues back to life by virus infection?


Specifically when changing gears from middle chain ring to smallest, the chain will sometimes get 'sucked' up between the inner chainring and chain stay. It seems to happen more often in muddy conditions. I keep my drive train clean and lube my chain often.  I bought the bike new and maybe 1200-1500 miles on the original chain/derailers. I have swapped out the original (aluminum) inner chainring with a new steel chainring and still get chain suck.


I have just gotten a non-name brand android table running 4.0.4 and the model number is A13-MID.  Curious as to if this non-brand tablet would be able to have the new ubuntu touch os that just came out?  and if so then would I just follow the basic instructions that has been up on the ubuntu website? I'm afraid since it's not a Nexus phone or tablet then I won't be able to do it.


Increase Size Limit of Media Files Wordpress 4.1

I have edited (created) the php.ini file and the .htaccess file in accordance with  post. I have also found a plug-in (called Upload Max File Size) that claims to raise the file size limit of media files. With the plug-in activated, I see on the add new media screen that the limit has been changed. However, when I attempt to upload a 2.7MB image, I receive the error:  The uploaded file exceeds the upload_max_filesize directive in php.ini.   The contents of php.ini are:  upload_max_filesize = 32M post_max_size = 32M max_execution_time = 300   My .htaccess file contains:  # BEGIN WordPress  php_value upload_max_filesize 100M php_value post_max_size 1M php_value max_execution_time 300 php_value max_input_time 300  # END WordPress   I am currently hosting the word press site myself and have root privileges to anything.


Convert current time to utc time python with only using datetime package

What is the easiest way to convert current local time and date in format YYYY-MM-DD hh:mm:ss to UTC format in time package of Python? I'm using the following to obtain current time:  import time time.strftime("%Y") + "-" + time.strftime("%m") + "-" + time.strftime("%d") + " " + time.strftime("%H") + ":" + time.strftime("%M") + ":" + time.strftime("%S")


Are there different products that turn $\,\Bbb R^2$ into a field?

With this product:  $$(a,b)\cdot (x,y):=(ax-by,ay+bx)$$  $\,\Bbb R^2$ becomes a field, actually isomorphic to $\,\Bbb C$.  Are there other interesting products that turn $\,\Bbb R^2$ into a field?


Movie with a returning probe/satellite, an alien infection, and a nuke at the end

I've been trying to find the name of a movie I remember seeing on TV on several occasions. What I remember of the plot:   A probe/satellite returns to earth It's brought to an underground facility and is studied An alien bacteria onboard spreads, taking over the computer, infecting people and growing into a monster (John Carpenter/The Thing style) The facility is nuked at the end of the movie to kill it off, but you see the alien escaped the facility, walking off-screen as the bomb goes off.   I've been scouring lists of sci-fi movies to no avail. Sound familiar to anyone?


Two different meanings of Present Perfect Tense

I have a problem in the interpretation of the following sentences in the present perfect tense.     1) I have worked for them since 2006.   Does it mean I am still working for them or I don't work for them any more?     2) I have lived in this house since 2006.   Does it mean I am still living in the mentioned house or I don't live in this house anymore?  EDIT: Please note that there is time expressions in both sentences.


How prove this inequality $\frac{a-b}{b+c}+\frac{b-c}{c+d}+\frac{c-d}{d+e}+\frac{d-e}{e+a}+\frac{e-a}{a+b}\ge 0$

let $a,b,c,d,e$ are positive real numbers,show that $$\dfrac{a-b}{b+c}+\dfrac{b-c}{c+d}+\dfrac{c-d}{d+e}+\dfrac{d-e}{e+a}+\dfrac{e-a}{a+b}\ge 0$$  My try:  I have solved follow Four-variable inequality:  let $a,b,c,d$ are positive real numbers,show that $$\dfrac{a-b}{b+c}+\dfrac{b-c}{c+d}+\dfrac{c-d}{d+a}+\dfrac{d-a}{a+b}\ge 0$$ poof:since \begin{align*} &\dfrac{a-b}{b+c}+\dfrac{b-c}{c+d}+\dfrac{c-d}{d+a}+\dfrac{d-a}{a+b}=\dfrac{a+c}{b+c}+\dfrac{b+d}{c+d}+\dfrac{c+a}{d+a}+\dfrac{d+b}{a+b}-4\\ &=(a+c)\left(\dfrac{1}{b+c}+\dfrac{1}{d+a}\right)+(b+d)\left(\dfrac{1}{c+d}+\dfrac{1}{a+b}\right)-4 \end{align*} By Cauchy-Schwarz inequality we have $$\dfrac{1}{b+c}+\dfrac{1}{d+a}\ge\dfrac{4}{(b+c)+(d+a)},\dfrac{1}{c+d}+\dfrac{1}{a+b}\ge\dfrac{4}{(c+d)+(a+b)}$$ so we get $$\dfrac{a-b}{b+c}+\dfrac{b-c}{c+d}+\dfrac{c-d}{d+a}+\dfrac{d-a}{a+b}\ge\dfrac{4(a+c)}{(b+c)+(d+a)}+\dfrac{4(b+d)}{(c+d)+(a+b)}-4=0$$ Equality holds for $a=c$ and $b=d$  By done!  But for  Five-variable inequality,I can't prove it.Thank you


Would anyone "decipher" this CAPTCHA for me, please?

At the site  I just searched for a keyword, and the page sent me to a Human verification page with a CAPTCHA image. Unfortunately, I couldn't determine the correct words. Here are some samples:   Because the captcha changes for every failed attempt, I do not have a second chance with one. Now I am struck here at this captcha:     Would anyone care to tell me what these letters are so I can complete my request?  When I do a search the SE server displays a verification page. But I can solve those because they are simple like this one:    or some simple images with text. But the first three CAPTCHAs in this question are much more difficult (at least for me).   Why do some SE sites use much more difficult CAPTCHAs compared to others? (And of course very often while searching)


I have made a software in vb.net that has a specific purpose.  It has to compare two strings at a particular point, say they are x and y. The code is  If x.Contains(y) then 'do things here End If   If y is 'Hello' and x is 'hello there', then the if statement must be true according to my requirement, but it turns out the Contains() control is case sensitive.  How do I make it case insensitive?  EDIT: My question is in vb.net and not C#. Though they are mostly similar, I do not understand C# and don't know how to implement the answers in my scenario because both of these are different langauages. So my question is not duplicate of the one mentioned.


Showing $a \le b$ if $a \le b+\varepsilon$, for all $\varepsilon \gt 0$

So I think this is the last problem I have and I'm not thinking I'm doing it properly.     Let $a,b$ be real numbers and suppose for all $\varepsilon \gt 0, a \le b+\varepsilon$.  Show that $a \le b$.   Assume $b\lt a$.  Then $b+\varepsilon \lt a + \varepsilon$ and  $$a \le b+\varepsilon \lt a+\varepsilon$$ If I can show that there is a contradiction I can prove it, but I'm having trouble with the contradiction.


If $f'(x)$ is decreasing, is it always true that $f''(x)$ is also decreasing?  I want to make sure I understand this concept thoroughly.  Thanks.


Is it bad to kill tasks in android, by using things such as holding down the home key and selectign "close all"?

I use advanced task killer pro and also hold down the home key until a list of apps open shows up and choose "close all". Someone was telling me this is bad for the device. Is this true? How else can I speed up the device when it is running slowly?  I forgot to mention what I find strange is when I hold down the home key to display running apps, its list is different than the list of running apps advanced task killer has.


Can I get the Tumbleweed badge if my question has votes, but net score is 0?

The description of the Tumbleweed badge says:     Asked a question with zero score, no answers, no comments, and low   views for a week.   If I get 1 up-vote and 1 down-vote, then the total score is 0.  Am I still eligible for the Tumbleweed badge?


How do I with ufw deny all outgoing ports excepting the ones I need?

I did the following:  ufw default deny outgoing, sudo ufw allow out 80 which I thought would let me use the Internet but didn't can y'all help?  Also are there any other ports used by Ubuntu for which I should allow outgoing traffic for? I hear these 20, 21, 53, 123, 443 are some what do you all think?  Thanks


LibreOffice missing certain Microsoft fonts

I don't have these fonts:  times new roman, arial and calibri..., like in microsoft office? What can I do?


Why don’t “snow” and “plow” — well, or “plough” — rhyme?

They (sometimes?) have the same ending when spelt but don’t rhyme when said.  Why is that?


Not able to see client id and client secret in the connected app

I have created a connected app with below configuration in Salesforce Developer edition:    But not able to see client id and client secret in the app.  I tried opening the connected app through Setup->Manage Apps->Connected Apps, in Setup->Create->Apps but no success.  Where can I get a client id and secret for my connected app?


Can I give fish/bugs I catch in animal crossing new leaf to other people online?

My girlfriend recently got the game, and I wanna help her out a bit. Is there anyway I can give her fish or bugs?


I have a basic memory allocation related question. What would be the total sizes of the below structs in C?  typedef struct rubble {     int betty;     char barney[4];     struct rubble* bambam; } rubble;  typedef struct{     short* wilma[2];     short fred[2];     rubble dino; }flinstone;   For rubble = betty( 4 bytes ) + barney ( 4 bytes ) + bambam ( ? ). What would be the size of the bambam pointer to rubble type?  For flinstone = wilma ( 4 bytes ? ) + fred ( 4 bytes ) + dino( sizeof(rubble) )  How do we calculate the size of pointer to type short in this case?


Top Visitor Report for Sharepoint2010 Subsites

how we can get top visitors report for SharePoint 2010 subsites.  For Site collection Top Visitor report I used method mentioned in below link


Print constructors at package level in Java

I have this requirement.  There are a bunch of classes in a package. Each class has constructors. I want to print out all the constructors of those classes in that package.  NOTE: I checked reflections, where it allows to print the constructor names for any class, just at the class level.  try {       Constructor<?>[] publicConstructors = Class.forName("class_name").getConstructors();       System.out.println(Arrays.toString(publicConstructors));     } catch (ClassNotFoundException e) {        e.printStackTrace();     }   But I want to print all the constructors at the package level.  Is this possible? Please help.


I have the following sentences.        This is our first arrival in the UK.   These are our first arrival in the UK.      I am not sure, which sentence is correct?


Can I award a bounty to myself if I provide the best answer?

I finally found the solution to a problem that was killing me. Before I found it, I asked an SO question about it, and had even started a bounty on the question. Can I now post a self-answer and, if no better answers get posted before the bounty expires, award myself the bounty?


Number of real roots of $3^x+4^x=2^x+5^x$ with proof

This equation  $$3^x+4^x=2^x+5^x$$ has two obvious real roots. The question is if it has more real roots than two. A proof is required in any case.