I have a problem to define the critical value of ACF and PACF which is a dashed lines in ACF and PACF plot in R. It looks the critical value has a constant value. Many sources said that The critical value will be different based on Lag. So which one is correct?  Please give me the certain answer..  if you do, please give me the References too.  Thankyou in Advanced.

I want to look at the acf and pacf of my data, to identify the model for my mean equation, so I want to fit an ARMA for my mean equation and later on model the conditional variance by a ARCH/GARCH (I know I have to do jointly model estimation). In the first step I want to look at the ACF and PACF for identifying, I used the standard Acf of the forecast library, but I noticed, that the confidence bands in these plots are given for testing randomness and not for fitting a ARMA.  As  says:     Correlograms are also used in the model identification stage for   fitting ARIMA models. In this case, a moving average model is assumed   for the data and the following confidence bands should be generated:   $   \pm z_{1-\alpha/2}\sqrt{\frac{1}{N}\left(1+2\sum_{i=1}^{k} y_i^2\right)} $ How can I get these confidence bands, which increase as the lag increases?


Travelling with a non-revenue listing via Delta, I will fly from Manila-Narita-Seattle. That said, I will be going from Narita to Seattle as a chance passenger. Do I still need to secure a Transit Visa, when I do not intend to go outside the airport? I am a Filipino citizen.

I am travelling from Singapore to San Francisco and the airline has a layover of 7.5 hours at Tokyo Airport (NRT). I am wondering if I would be allowed to go out to experience the city for a while in some form a visitor visa.  I know Singapore has such facilities, but does anyone know if I can do it in Tokyo? Any suggestions or pointers are welcome. Note - I do not have a visa for Japan yet, but I am hoping that 1 day visitor visa could be possible at airport.


Ideally, I'd like a isRunningInVirtualbox() function that returns True or False.  I'm specifically looking at getting this detection in Python. Is there a Python module or some way that can detect if the Python script is being run in Virtualbox (or ideally detect if it's being run in VMware or some other VM.)  (I'm writing a script that will warn the user if it's NOT running in a VM, so I don't really care about elaborate hacks or tricks that will try to give false positives.)

Is there a way to identify, from within a VM, that your code is running inside a VM?  I guess there are more or less easy ways to identify specific VM systems, especially if the VM has the provider's extensions installed (such as for VirtualBox or VMWare). But is there a general way to identify that you are not running directly on the CPU?


I have 3 environments. 1 Dev, 1 Staging and 1 PROD  I want to create an env variable so that when the application runs, it knows if its in Dev or Staging or PROD.  I'm guessing that I can add this to the Web.config file. If this is true, how can I do it? And how can i use it in my View?

I need to use different database connection string and SMTP server address in my ASP.NET application depending on it is run in development or production environment.   The application reads settings from Web.config file via  property.  I use Build/Publish command to deploy the application to production server via FTP and then manually replace remote Web.config with correct one.  Is it possible somehow simplify the process of deployment? Thanks!


Theoretically when you are past border control on an airport you are into no man's land. In that situation whose laws do I obey ?

According to Russian president Vladmir Putin in the , an airport "transit area" is not subject to the authority of the country in which it lies, because the passengers there are not required to pass through that country's immigration process.  Is there any legal basis or precedent for this?


With regards to Anakin's vision of Padme's death, and how Palpatine's offer can lure him, I saw this comment in another question:     He believed that even if Padme did die, he could use the Dark Side to bring her back. So ultimately, he wanted a little Zombie Padme action.   When he finally turned to the dark side, Sidious promised that together they will rediscover the secret to bring the dead back to life.  Considering that the eventuality of Padme being dead did come to pass, then does Vader still intend to bring her back in the years since, on the off chance that the secret of Darth Plagueis is successfully rediscovered?  Edit: This is not a duplicate. The other question asks if the Sith ever rediscovered Darth Plagueis' secret of bringing one back from death. This question isn't asking if the secret was rediscovered, it's asking if Vader still plans to do what he originally wanted to do with that power once he learns to use it. (Not to mention that question's answers are all Legends)  My question, however, is asking about Darth Vader's original MOTIVE for joining the dark side. Vader joined the dark side so that, in the event Padme dies, he can bring her back to life. Turns out, she really died, but then he needs to first rediscover the secret to bringing one back from the dead before he can use it on Padme.  So, FROM VADER'S PERSPECTIVE, does he still intend to bring Padme back to life - which is why he joined the dark side in the first place - in the event the secret is indeed rediscovered, for the rest of his life spent as a Sith?

In Episode 3 Revenge of the Sith Palpatine/Sidious strings Anakin along to the dark side with the promise that together the two of them will be able to re-discover Darth Plagueis' secret to cheating death.      "To cheat death is a power only one has achieved, but if we work together, I know we can discover the secret."   From the end of Revenge of the Sith to their deaths in Return of the Jedi did Darth Sidious and Darth Vader ever manage to re-discover this secret?


On Stack Overflow you can make reviews, but there is a limit. This limit is not static. Since I began reviewing, rules governing the review limit has changed a lot!  Where can I find the last updated rules on reviews?

I got the brand new Custodian badge today for reviewing posts. Inspired by that, I reviewed some more suggested edits. Now I ran into a limit:     You have no more suggested edit votes today; come back in x hours.   How is that limit calculated? I made 61 reviews today which seems to be some calculated limit.  I searched for an answer on meta but found nothing helpful.


I am a beginner in the field of soldering.  Two weeks ago a bought a brand new soldering iron for around $15.  The iron had a shiny tip, but after I plugged it in it turned black pretty quickly.  After doing some research, I found out that this type of soldering iron is made of a copper core with a thin iron coating.  The iron coating is needed because, to my understanding, copper corrodes quickly when in contact with hot solder.  However, at high temperatures, iron reactas with oxygen and forms a super thin oxide layer on the tip of the soldering iron, which makes soldering really difficult.    Essentially, the solder melts only at the top of the tip, and starts rolling into a ball.  It will barely melt at the absolute tip.  I have tried using a wet sponge to clean it off, as suggested by the internet, but that doesn't do anything (the sponge is apparently supposed to be used to clean solder rests from the tip and not oxidation anyway).  Another internet tip was to gently scrape that layer off with a knife until the iron covering is revealed, turn the soldering iron on, and once it heats up immediately cover it with solder to prevent oxidation.  Well, I tried that too, but as soon as the iron heats up, it turns black and repels the solder.    I have heard about using flux (soldering paste) but my solder already has a flux core.      In the two pictures you can see the iron before/after being turned on, (after I had scraped it with a knife).  You can clearly see how it loses its shine.  How do I remove this oxide layer without a knife (which risks damaging the iron coating) and prevent it from reoccurring?  (To reiterate, I am a beginner, and I don't want to spend $100 on a fancy, temperature controlled iron.  I just want to solder some components to a thru-hole board without buying a new tip every time in need one.).   Thank you very much for your time!

First, I've read though questions  and  and was unable to solve my problem. I have recently (as in less then a month ago) obtained  with  tip.  From the start I had problems wetting the tip. I tried everything but solder just wouldn't flow over the whole tip. I later found information in one of manufacturer's catalogs that I should wrap solder with flux around the tip and then turn on the iron. After few tries, I managed to get a big part of the tip wet (and it was working great), but one small part wouldn't wet.  After some soldering I decided to try to get whole tip wet and obtained  tip refresher. After using it according to the manual, the whole tip was covered in black substance which should be easily removable, but it isn't.  Now about half of the tip is contaminated and about half seems to be working (I managed to clean the working part).  My question is: Is there any other way to clean the tip? Two things from questions I linked I didn't use were dedicated tip cleaning mesh (couldn't find a source of them in my country) and flux outside the wire (because I don't have any at the moment) and how to decide when a tip is dead and needs replacing?  Also, how do the tip refreshers feel (I'm assuming that they are more or less all alike)? I often find them described as paste, while the one I got is solid (but melts when in contact with hot tip).


seems to have a similar format and style to the stack exchange sites, so I was wondering if they were associated in any way.

I was just looking at  and they seem to be using the Stack Overflow engine or Stack Exchange.  But it seems to be hosted on their servers. How is that possible?


I have a circuit that is controlling a water valve.  The state of the valve can be controlled via an http request, or a physical rocker switch.  I would like the physical rocker switch to represent the current state of the water valve. ie it is in the "Open" or "Closed" position.  This means that if the valve is closed or opened over the http request, then the switch moves to represent that state.  Does such a switch exist?

I'm interested in a toggle switch that can be toggled without user input. That is, the physical state can be toggled electrically. It would need to incorporate some sort of motor or magnetic actuator. My google-fu is weak in this area, and I haven't been able to come up with the correct combination of search terms.  Note that I'm not talking about a relay; I'm talking about a normal toggle switch:    Except that it can be toggled without user input. As in, the lever physically moves. Like a  except that the mechanism is internal to the switch.


Is there a verb for giving feedback to someone with non-word sounds during conversation, including not specifically using filler words, in order to indicate attentiveness, agreement or appreciation, etc.?  I have searched for this word in all kinds of places and understood it to be a form of vocal (non-verbal) communication and as a subset of paralanguage. However, none of it helped finding a verb.

When someone is telling you a very long and detailed story he usually wants to hear some "confirmations" (or response) that you are listening to his story. In Russian we often use something like "tak" (which has a meaning of "ok" and "well, proceed further"), "a-ha" or "uh-huh".  What word serves the same purpose in English and American English?


I need help I have been trying to find a way on how to implement custom list view and I am getting an error:-     java.lang.NullPointerException: Attempt to invoke virtual method 'void   android.widget.TextView.setText(java.lang.CharSequence)' on a null   object reference at   com.edis.edis.HospitalAdaptor.getView(HospitalAdaptor.java:62)   The following is the Object that I have created and it's called Data.java.  public class Data {  private double lat, lon; public String name; String groupA, groupB, groupAB,groupO; public int url_image;   public Data(double lat, double lon, int url_image, String name, String groupA, String groupB, String groupAB, String groupO) {     this.lat =lat;     this.lon = lon;     this.url_image =url_image;     this.name = name;     this.groupA =groupA;     this.groupB =groupB;     this.groupAB = groupAB;     this.groupO = groupO;  }  }   Then I have created an Adapter where I get an error (null object) on the line where is chakula.setText((hospital.name)).  The following is the adapter I have used BaseAdaptor. HospitalsAdaptors.java      public class HospitalAdaptor extends BaseAdapter{     Context context;     List<Data> datas;       public HospitalAdaptor(Context context, List<Data> datas) {          this.context = context;         this.datas = datas;      }       @Override     public int getCount() {         return datas.size();     }      @Override     public Object getItem(int position) {         return datas.get(position);     }      @Override     public long getItemId(int position) {         return position;     }       @Override     public View getView(int position, View convertView, ViewGroup parent) {         Data hospital = (Data)getItem(position);          if(convertView == null){               convertView = LayoutInflater.from(context).inflate(R.layout.fragment_hospitals,parent,false);             //convertView = LayoutInflater.inflate(R.layout.fragment_hospitals,parent,false);         }          TextView chakula = (TextView)convertView.findViewById(R.id.hospitals_name);         ImageView pilau = (ImageView)convertView.findViewById(R.id.hospitals_image);          chakula.setText(hospital.name);          Glide                 .with(context)                 .load(hospital.url_image)                 .centerCrop()                 .crossFade()                 .into(pilau);          return convertView;     } }

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


The names that humans call Wookiees do not sound anything like the actual sounds of Shyriiwook. Some examples:    Lohgarra Chewbacca Malla   Is there some system for translating Shyriiwook name into something humans can pronounce?  I'm looking for an in-universe answer.

Chewbacca (Chewie to his friends) is the Wookiee in the original Star Wars trilogy.  We know his name because people other than he say his name.  Whenever he speaks, it's in growls and other noises, he can't verbalize Basic like the humans and C-3P0 can.  But, he also can't enunciate the name 'Chewbacca'.  Other Wookiees have the same issue, they have names that they obviously couldn't pronounce.  How does Chewbacca have that name, when he himself cannot pronounce it?


As a student, I've always wanted to become a game developer. So far I've managed to learn the basics of C++ and SFML 2.1  For my first project, upon deciding to make a 2D RPG-ish game, I encountered a problem that the game loop refreshes so quickly that if I move them by 1 pixel per frame, the sprite will move more quick than I intended to.  I implemented a frame-determined movement system(not sure what it's called) that whatever the fps is, the character moves at same speed.  However, I couldn't solve the problem(which is what I'm asking) that the sprite won't move smoothly. What's happening in my build is that the player will move about 1px per frame, and can be interrupted by other inputs. What I want the sprite to do is move horizontally 32px per second. How can I do this?  Edit: wasn't being clear enough. What I want the program to do is when I press 'Right' key once, sprite moves towards the positive side of x-axis, for 32px. What's currently functioning in my program is the sprite will move only once, 1px  TL;DR : I want to move my sprite like old-school RPG games, moving predetermined pixels(or tiles) smoothly.

How can we make our character move smoothly across tiles? He moves tile by tile, but that looks unprofessional. In addition, when you hold down the arrow keys he zips across the screen. How can we prevent that from happening?


I think most of these stories begin somewhat the same: I was doing X and then nothing worked anymore. In short I accidentally formatted my whole disk from APFS to NTFS. And my question: any chance of recovering my files? The device concerned is a macbook pro early 2013. While trying to install Windows 10 to the bootcamp partition I encountered a problem. Windows could not be installed to bootcamp partition with a GPT partition table. It was asking for an MBR table. Without too much thought and in an attempt to solve my problem I tried reformatting the disk. Listing the disk in window showed the correct size for the bootcamp partition. In my mind the firmware of the apple board was hiding the APFS part from windows. That explained to me why I saw no trace of it. (Probably relevant: I used the quick mode formatting.) After formatting and attempting a windows installation I was promptly greeted with a BSOD. After which I was unable to boot back into my APFS partition. Upon further inspection I noticed that the whole disk seems to be formatted as NTFS. Seeing that the windows installer started preparing the installation the GPT table might be a goner. Any chance of recovering (part) of my files? If so, what tools/methods would be safe to try? The bulk of the files can be restored from backups, but obviously I did not backup everything. And some files (pdf's, xlsx's, svg's and source code) would be really convenient to get back. I've read about TestDisk, which seems to be a good starting point. But almost all sources carry a warning about it concerning APFS compatibility. Lots of other (paying) tools seem a bit shady. I'd be open to a paying tool if I was somewhat sure it could deliver. But here again the APFS isn't helping. (Just to be clear: I'm not hoping for a full restore, just recover a few important files. Although a full recovery would be nice, but let's be realistic ...) Thank you in advance!

What steps can I take to try to recover lost or inaccessible data from any storage device?  Answers:   This applies to any computer storage device, e.g. internal/external hard drives, USB sticks, flash memory. The most important thing is to STOP using it, any type of I/O can ruin your chances of a recovery.     We have separate questions covering common problems with USB flash drives in greater detail:


Following the instructions on this page;   I came across this error when I tried to define the path to my LASTools folder in the QGIS Processing Toolbox Menu [C:\Lastools]    Please could anyone explain to me how I can fix this error?

I went to step 4 from  guide and extracted LAStools to my C drive and just made the folder there.   I can't do step 8 because it seems to already be in "advanced interface". Then, step 9 mine only says "Options".   Step 10 is where I get the error message and it won't go past that step. I keep getting this error message. Can anyone help me get this installed?


How do I intgrate $\int_0^{\infty}\frac{\log( x)}{x^2+a^2} \,dx$ using contour integration? Simple integration is easy but I can't understand contour integration. Please help!

This question is Exercise 10 of Chapter 3 of Stein and Shakarchi's Complex Analysis.  Show that if $a>0$, then $$\int_0^{\infty}  \frac{\log(x)dx}{x^2+a^2}=\frac{\pi \log(a)}{2a}.$$  The hint is to integrate over the boundary of the domain $\{z: \epsilon<|z|<R, \Im(z)>0\}.$ I'm not sure what to do with the integral over the outer arc.


Let $1 \leq p < q < \infty$. Show that if $x=(a_k)∈ℓ^p$  i.e. the condition that the series $$\sum_{k=1}^\infty|a_k|^p$$ converges holds, then $x∈ℓ^q$  i.e. $$\sum_{k=1}^\infty|a_k|^q$$  converges.  I did try to use the ratio test but I don't think it will work because of the power on the terms in the series.

Inclusion of $L^p$ spaces for functions has been discussed .  Does this apply to $l^p$ space of sequences similarly?   I tried to show the following: For $1\leq p<q<\infty$, $l^q\subset l^p$ By using Hölder inequality but it doesn't seem to work.  My question is that is this true? If yes, what's the right way to prove it and what's a good counter example for showing $l^p\subset l^q$ is not true? Thanks.


Does it make sense to ask 'what is the temperature of an atom?'. An atom can be considered a SYSTEM of particles (electrons and nucleons) that are structured in a particular way. So can it be assigned a temperature? How?

A show on  the weather channel said that as a water molecule ascends in the atmosphere it cools. Does it make sense to talk about the temperature of a single molecule?


I know we can create multiple classes inside another class with the only restriction that only one public class is allowed in one source file.  package xyz; public class TheClass{   class SomeClass{       }  }  class AnotherClass { }   But is there any difference between the SomeClass and AnotherClass here?

What is the main difference between an inner class and a static nested class in Java? Does design / implementation play a role in choosing one of these?


I need to replace string between two variable like this:  var str_before    = 'I Love My Cat So Much'; var start_mark    = 'My'; var end_mark      = 'So'; var str_replace   = 'Pussy Cat Very';  // Maybe  var after_replace = str_before.replace(start_mark, end_mark, str_replace); // Replace String Between 'My' And 'So' With 'Pussy Cat Very' // I Love Pussy Cat Very Much

I would like to create a String.replaceAll() method in JavaScript and I'm thinking that using a regex would be most terse way to do it.  However, I can't figure out how to pass a variable in to a regex.  I can do this already which will replace all the instances of "B" with "A".  "ABABAB".replace(/B/g, "A");   But I want to do something like this:  String.prototype.replaceAll = function(replaceThis, withThis) {     this.replace(/replaceThis/g, withThis); };   But obviously this will only replace the text "replaceThis"...so how do I pass this variable in to my regex string?


$$\int_{0}^{1} Li_k(x) dx$$  $$Li_k(x) = \sum_{n=1}^{\infty} \frac{x^n}{n^k}$$  $$\int_{0}^{1} Li_k(x) \,dx = \sum_{n=1}^{\infty} \int_{0}^{1} \frac{x^n}{n^k} \,dx$$  From Fubini's theorem, I suppose we were allowed to interchange.   $$\int_{0}^{1} Li_k(x) \,dx = \sum_{n=1}^{\infty} [\frac{x^{n+1}}{(n+1)n^k}]_{0}^{1}$$  $$\int_{0}^{1} Li_k(x) \,dx = \sum_{n=1}^{\infty} \frac{1}{(n+1)n^k}$$  Let $$S = \displaystyle \sum_{n=1}^{\infty} \frac{1}{(n+1)n^k}$$  I am having the big trouble in evaluating the sum $S$.

While I've studied integrals involving  I've observed that  $$\int_0^1 \operatorname{Li}_p(x) \, dx \stackrel{?}{=} \sum_{k=2}^p(-1)^{p+k}\zeta(k)+(-1)^{p+1},\tag{1}$$  for any integer $p\geq2$. Here $\zeta$ is the .  After that I have three questions.   $1^\text{st}$ Question. Is $(1)$ true? If it is, how could we prove it? $2^\text{nd}$ Question. If it's a well-known result could you give any reference? $3^\text{rd}$ Question. I think there is also a similar closed-form of $\int_0^b \operatorname{Li}_p(x) \, dx$, for any integer $b \geq 1$. What is the closed-form of this integral?


I am trying to communicate the output of a rendered image to another process. How I am typically familiar with rendering images is to call:  bpy.ops.render.render()   But I was wondering if there was a way to not write the image to the disc and simply get a numpy array of the output.   This is a somewhat specific question, but I would appreciate any help!

Render Result exists in bpy.data.images["Render Result"] but it contains no data.  Also bpy.data.images["Render Result"].size[0] is 0, even if the render shows as an image in the UV/Image Editor with a width of 1366.  Maybe the render result cannot be accessed as an image or I missing some update or refresh call somewhere but I can't find such a thing in the 2.68 API documentation.  Any tip in the correct direction appreciated.


I'd like to know whether "is" or "are" should be used in the following on standardized tests:     Reduced oxygen levels in the river is / are a problem for aquatic life.   I'd appreciate your help.

Which is correct?     My availability for the next two weeks are as follows   OR     My availability for the next two weeks is as follows   I'm confused because I don't know if I should focus on the word "availability" which is singular or "two weeks" which is plural.


I created SalesForce Native/Hybrid app as in  link.  Everything is fine but when I try to run the app by importing it into eclipse, it keeps on popping main activity with following error in logcat.  03-10 06:52:48.681: I/ClientManager:getRestClient(877): No account of type com.salesforce.androisdk found 03-10 06:52:48.731: W/AccMgrCallback:run(877): android.accounts.AuthenticatorException: bind failure 03-10 06:52:48.731: W/AccMgrCallback:run(877):  at android.accounts.AccountManager.convertErrorToException(AccountManager.java:1612) 03-10 06:52:48.731: W/AccMgrCallback:run(877):  at android.accounts.AccountManager.access$400(AccountManager.java:140) 03-10 06:52:48.731: W/AccMgrCallback:run(877):  at android.accounts.AccountManager$AmsTask$Response.onError(AccountManager.java:1458) 03-10 06:52:48.731: W/AccMgrCallback:run(877):  at android.accounts.IAccountManagerResponse$Stub.onTransact(IAccountManagerResponse.java:69) 03-10 06:52:48.731: W/AccMgrCallback:run(877):  at android.os.Binder.execTransact(Binder.java:367) 03-10 06:52:48.731: W/AccMgrCallback:run(877):  at dalvik.system.NativeStart.run(Native Method)   Same thing has been asked  and  but I could not understand the solution properly.  Even though I tried the solution provided in 1 of the links, it was not helpful.  Sample applications provided in SalesForce SDK work properly, don't know what's wrong with created applications.  Anybody please help me to get out of this.  TIA.

I'm trying to build an Android test application integrated to the SalesForce platform. I have downloaded the SDK from , and imported it to my workspace. Everything works fine except my test app, even the  they have provided along with the SDK work without problem. As a first step, what I tried was to clone the basic features (just login as of now) from the RestExplorer app. The following are my important files.  public class Home extends Activity {  private PasscodeManager passcodeManager; private RestClient client; private TokenRevocationReceiver tokenRevocationReceiver;  RestClient getClient() {     return client; }  @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);      passcodeManager = SalesforceSDKManager.getInstance().getPasscodeManager();     tokenRevocationReceiver = new TokenRevocationReceiver(this);     setContentView(R.layout.activity_home);  }  @Override  public void onResume() {     super.onResume();     registerReceiver(tokenRevocationReceiver, new IntentFilter(ClientManager.ACCESS_TOKEN_REVOKE_INTENT));           if (passcodeManager.onResume(this)) {   // Bring up passcode screen if needed         String accountType = SalesforceSDKManager.getInstance().getAccountType();   // Login options         new ClientManager(this, accountType, SalesforceSDKManager.getInstance().getLoginOptions(), SalesforceSDKManager.getInstance().shouldLogoutWhenTokenRevoked()).getRestClient(this, new RestClientCallback() {    // Get a rest client             @Override             public void authenticatedRestClient(RestClient client) {                 if (client == null) {                     SalesforceSDKManager.getInstance().logout(Home.this);                     return;                 }                 Home.this.client = client;                           }         });     } }  @Override protected void onPause() {     passcodeManager.onPause(this);     unregisterReceiver(tokenRevocationReceiver);     super.onPause(); } }   I have added the permissions as required  <permission android:name="com.salesforce.samples.restexplorer.C2D_MESSAGE"     android:protectionLevel="signature" />  <uses-permission android:name="com.salesforce.samples.restexplorer.C2D_MESSAGE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.GET_ACCOUNTS"/> <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/> <uses-permission android:name="android.permission.ACCOUNT_MANAGER"/>   And extended the application object to give a call to init();  public class MyApp extends Application { @Override public void onCreate() {     super.onCreate();     SalesforceSDKManager.initNative(getApplicationContext(), new KeyImpl(), Home.class); } }   Now, I'm getting the error in my Android debug log. The log as I see is attached below. It keep the activity restarting till I forcefully kill the application.  11-08 15:56:23.883: I/ClientManager:getRestClient(9334): No account of type com.salesforce.androisdk found 11-08 15:56:23.898: W/AccMgrCallback:run(9334): android.accounts.AuthenticatorException: bind failure 11-08 15:56:23.898: W/AccMgrCallback:run(9334):     at android.accounts.AccountManager.convertErrorToException(AccountManager.java:1726) 11-08 15:56:23.898: W/AccMgrCallback:run(9334):     at android.accounts.AccountManager.access$400(AccountManager.java:144) 11-08 15:56:23.898: W/AccMgrCallback:run(9334):     at android.accounts.AccountManager$AmsTask$Response.onError(AccountManager.java:1572) 11-08 15:56:23.898: W/AccMgrCallback:run(9334):     at android.accounts.IAccountManagerResponse$Stub.onTransact(IAccountManagerResponse.java:69) 11-08 15:56:23.898: W/AccMgrCallback:run(9334):     at android.os.Binder.execTransact(Binder.java:388) 11-08 15:56:23.898: W/AccMgrCallback:run(9334):     at dalvik.system.NativeStart.run(Native Method)   Do anyone have any idea about this isse? It is such a basic app, I was not expecting anything unusual. Did I do anything wrong in my app?


I just wanna know what icon shown below?

I'm concerned about an app on my child's phone. I saw an app icon in the notification area that looked strange (Andy Android head, slightly tilted as its icon).  How can I find out what app it is from just having seen that icon in the notification bar?


I am trying to create an Automator application, which allows me to convert Python script files .py files to Jupyter Notebook files .ipynb using Python script for command line . However, the following in the textbox of Run Shell Scrip of Automator generates an error command not found.  for f in "$@" do  jupytext --to notebook "$f" done    This is despite the fact that no such error occurs if I run the following in Terminal on Mac.  jupytext --to notebook <filename>.py   Does anyone has any ideas about what is/are missing?

I have just compiled my own copy of ffmpeg on my system and it's located in the following path:  /opt/local/bin/ffmpeg   When I run the following command in Terminal.app, it runs smooth:  ffmpeg -i /Users/Amit/Documents/input.avi -c:v copy -c:a aac -b:a 384k -strict -2 /Users/Amit/Documents/output.m4v   However, a similar command run as a shell-script in an Automator service fails:  for f in "$@" do     ffmpeg -i "$f" -c:v copy -c:a aac -b:a 384k -strict -2 "${f%.*}.m4v" done   Up until now, I had a pre-compiled build of ffmpeg on my system located at:  /Applications/Scriptlets/   And my Automator shell-script had the full path (/Applications/Scriptlets/ffmpeg) instead of just ffmpeg; and it worked fine. However, today I decided to compile a fresh copy of ffmpeg using MacPorts and removed the earlier version from my Applications/Scriptlets folder. Now, this ffmpeg works fine in Terminal but gives an error whenever I try running it from a shell-script inside of an Automator workflow. Am I doing something wrong here? Please help!


im trying to get the first and last page label of my pdf file. but im currently having an issue when accessing a PDF File that starts with a page label of "1" it always returns a null pointer exception  pdfDocument = PDDocument.load(pdfFilePath);         pageLabels = pdfDocument.getDocumentCatalog().getPageLabels();          pdfl = pdfDocument.getDocumentCatalog().getPageLabels(); setfPage(Double.parseDouble(pdfl.getLabelsByPageIndices()[0])); setlPage(Double.parseDouble(pdfl.getLabelsByPageIndices()pdfDocument.getNumberOfPages() - 1]));   it works fine on other pdf files that doesn't start with "1" as page label.

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I have an experimental condition  (dummy-coded)  as an categorical predictor, and one continuous predictor variable (treatment frequency).  The dependent variable (Y) is consumer satisfaction  This is an SPSS output,   My Q: is how to interpret the coefficients and Exp(B) of the categorical Variable and continuous predictor.   For Categorical variable:  Is it correct to say " Condition 0 is .34 more effective than Condition 1 in enhancing consumer satisfaction. Or, can I say if the treatment frequency is fixed, Condition 0 compared to Condition 1 will increase the odds of satisfaction by 0.40." ?   For continuous predictor: Is it correct to say " When 1 unit increases in frequency, the satisfaction increase by .15 when the condition is 1. Or, if the condition is fixed to 1, treatment frequency will increase the odds of satisfaction by 0.17." ?   My last question is how to interpret the significant interaction term. Could you help me interpret the interaction term using the coefficient and also Exp(B)?   If you can recommend an published article that describe results from generalized linear model using interaction term, that'd be appreciated. Thank you.

I have 2 continuous variables as my predictors and the interaction between them, so 3 effects all together (when I center my predictors only the interaction is significant). I am using a binary logit model except where I have fixed the value of the number of trials at 20, for my dependent variable. My problem has to do with further understanding the nature of the interaction. I know that in generalized linear models the interaction is more complex compared to the linear model because of the link function. I have read that interpreting the sign of the parameter estimates is very limited, so I am trying to find a way to further understand the interaction, and graphing it would be nice as well. Unfortunately, I only have SPSS at my disposal. Jeff Gill () wrote about a method called first differences which seems very similar to the inteff command in stata. If anybody could tell me how to how to further understand and test the interaction in a generalized linear model using spss or hand calculations I would be eternally grateful.


So, I just went from survival mode to creative mode and switched back, only to find that I can't break or set ANY blocks! How can I fix this???!

I'm playing on a Survival world with cheats on, "easy" difficulty, and at night in-game. I didn't have a sword or anything to make a sword with, and I was starving, so I switched to Creative to give myself a stack of food and a bed to set my spawn point. When I switched back to Survival, I couldn't destroy or place blocks. I'm on single player, and my Internet is fine, and I can destroy blocks still if I switch to creative. I've tried resetting the button one, and reloading the map, and it still doesn't work. I've even tried deleting everything I gave myself in Creative. This happened before on a different world and I ended up deleting it.  This only happens on this world. How do I fix it?  If I know I'm in the correct game mode, what else can cause this?  Are there different causes in multiplayer?


I am using a Dell Latitude E6500 on Ubuntu 16.04 with 2GB RAM.  The computer freezes often when running firefox and even running python.  Should I use a lighter OS like Lubuntu or are there any changes like swap RAM or eliminating unneeded programs that can free up some RAM? When i first start the computer it runs at less that 1 GB RAM.

All operating systems freeze sometimes, and Ubuntu is no exception. What should I do to regain control when...   just one program stops responding? nothing at all responds to mouse clicks or key presses? the mouse stops moving entirely? I have an    In what order should I try various solutions before deciding to pull the power plug?  What should I do when starting up Ubuntu fails?  Is there a diagnostic procedure I can follow?


I'm trying to do a presentation in spanish using beamer and so far my source looks like this:  \documentclass{beamer}  \usetheme{AnnArbor}  \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[spanish]{babel} \usepackage{amssymb} \usepackage{amsthm} \usepackage{placeins} \usepackage{amsmath} \usepackage{amscd} \usepackage{graphicx}  \title{The Title} \author{Carlos Márquez} \institute{My Institution} \date{\today}  \begin{document}  \begin{frame}{Introduction} bla bla bla \end{frame}  \end{document}   But when I compile I get the following error message: !Package inputenc Error: Unicode char \u8:árq not set up for use with LaTeX. But I followed the instructions in , so I don't know what is wrong. I would appreciate some help to overcome this issue. Thanks.

I want to have my sections in independent .txt files in the folder of my assignment. So I use \input{text.txt}. The problem is, I write in Danish and we have the 'æ' 'ø' 'å' characters that aren't normally recognized by LaTeX. I fixed it within the master .tex file, so when I write the letters, it shows up nicely in my document. It does not however show up nicely, if I put one of the characters in the file name or within the .txt files. Now, I don't mind that I have to avoid them in file names, but I really need them to be recognized within the file.  \documentclass[10pt,a4paper]{article} \usepackage[danish]{babel} \renewcommand{\danishhyphenmins}{22} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8x]{inputenc} \usepackage[danish=quotes]{csquotes}  \begin{document} æ ø å \input{text.txt} \end{document}   I can't upload the .txt file, but if you copy the three letters, put it in a document called text.txt file and put it in the folder, you'll see what I mean.  If I delete \input{text.txt} from the document, or avoid using those three letters in the input file, everything works perfectly and it writes 'æ ø å' in the output file.  I asked this question on another forum, but they weren't much help. They talked about it being the wrong encoding and told me, that if I saved it as .tex files there would be a dialogue that would enable me to change the encoding of the input document so it would be compatible, however there is no such thing in the 'Save as' dialogues I get from TeXworks. I also have it set to utf8 in my preferences in TeXworks, however that doesn't seem to influence much of anything.


Does there are differential equations of the form $y'=f(x,y),y(x_{0})=y_{0}$ which has exactly two solutions. Actually i have only differential equations which has either no solution or unique solutions or infinitely many solutions. Thanks.

I am trying to prove that when an IVP in ODEs does not enjoy uniqueness, then it has infinitely many different solutions. I know that when the Lipschitz condition is satisfied, then there is a unique solution.    I guess, I am trying to show that if the IVP possesses two solutions, then we can create infinitely many solutions using these two. However, I am slightly lost as where to start the proof.


let $\mathbb{C}^*$ be a multiplicative group of non-zero complex numbers.  Suppose that $H$ be a subgroup of finite index of $\mathbb{C}^*$.Prove that $H=\mathbb{C}^*$  Attempt  If $[\mathbb{C}^*.H]=n$ then if $xH \in \frac{\mathbb{C}^*}{H}$ then $\left(xH\right)^n=H$ implies $x^n \in H$.  Because $x$ is random we have $\left(\mathbb{C}^*\right)^n=\mathbb{C}^* \in H$  Note that $\left(\mathbb{C}^*\right)^n=\mathbb{C}^*$

True or false:  Let $C^*$ be the set of all nonzero complex numbers and $H$ be a subgroup of $C^*$(with respect to multiplication) be such that $[C^*:H]$ is finite then $H=C^*$.  I'm guessing it true as I am thinking that if suppose there is such a proper subgroup $H$ for which the number of coset will be finite then I'm guessing that there is a gap between $C^*$ and $H$ and that gap cannot be filled up by finite union.  But I am unable to give a concrete prove. Thanks in advance.


Learning figures of speech sometimes can be confusing, and I am trying to figure out the difference between metonymy and synecdoche.   Given the following sentence      ①Grey hairs should be respected (metonymy )      ②More hands are needed in the work(synecdoche )   In Sentence 1, gray hairs is part of human body, so it should be included in synecdoche. So I cannot ensure that I'm right or my book represents a incorrect example.

What is the difference between metonymy and synecdoche?


I've switched to Linux, and I'm using Ubuntu 18.04 but system freeze  especially when use V.S Code, and what is strange when turn on pc for about 10-20 seconds is making fan noise, but this isn't happening with windows ( not trying to compare with windows ) but isn't strange!  By the way I have Core™2 Duo CPU E8400, 4gb ddr3, ssd 240gb, integrated graphic card. Should I upgrade my system to stop these freeze ?


I am trying to apply  to a matrix, I could do it when the matrix had real values. For example, for this matrix: $A=\begin{bmatrix}3&5\\4&1\end{bmatrix}$ I can simply calculate $sin$ and $cos$ like this: $r=\sqrt{3^2+4^2}=5$ $cos=3/r=0.6, sin=4/r=0.8$ But when the values are complex numbers, I have a problem in determining which value of $r$ to select. For example: $A=\begin{bmatrix}3+1.5i&5-7i\\4-2i&1+3i\end{bmatrix}$ $r=((3+1.5i)^2+(4-2i)^2)^{0.5}=4.403-0.795i$ or $-4.403+0.795i$ So the question is, Which value of $r$ should I select? What is the criteria?

If you have two complex numbers $a,b$ how can you find the QR factorization of   $ M = \begin{bmatrix}        aI_n\\          bI_n \end{bmatrix} $,  I can't seem to be able to do it. I tried an earlier trick, but I now know it's not necessary true for complex numbers. Is there anyway to do this?  I think if I use a Givens algorithm I should be able to reduce it to a QR factorization.


Can anybody help me to prove that for all $b,c,d  \in \mathbb{N}$, $$\sum_{0 \leq j \leq d} (-1)^{j} {c + d \choose j} {b + d  - j \choose b} = {b - c \choose d}$$ I tried to do it by induction in $d$, but I think it was a bad idea. Another thing I tried to use is the fact that $${m \choose n} = \frac{1}{2 \pi i} \oint \frac{(1 + w)^{m}}{w^{n+1}}dw$$ But again, I'm stuck. I just rewritte each term by this integral but I don't know how I can proceed

I find the following identity and have checked on Mathematica, while I have no idea how to prove it:  $$\sum_{j=0}^n(-1)^{n-j}\binom{p+j}{j}\binom{n+\beta}{n-j}=\binom{p-\beta}{n}, \quad \beta>-1, \quad p>\beta-1.$$  It seems that proof by induction does not work and because of the gamma function, the transform technique does not work either.


I know there are a gazillion of threads addressing the error  Undefined control sequence \includegraphics   but I couldn't find the answer to my problem in any of them. So here it goes.  I am trying to use the command \includegraphics, like I have always done so for the past years, but somehow it doesn't work anymore. I am using TeXstudio 2.12.16. Below is a MWE:  \documentclass[12pt]{article} \usepackage[pdftex]{graphics,graphicx}  \begin{document}     \includegraphics[width=\linewidth]{photo.png} \end{document}    When I try to compile, it returns the error  Undefined control sequence. \includegraphics[width=\linewidth]{photo} Undefined control sequence. \includegraphics[width=\linewidth]{photo} Undefined control sequence. \includegraphics[width=\linewidth]{photo} Undefined control sequence. \includegraphics[width=\linewidth]{photo} Undefined control sequence. \includegraphics[width=\linewidth]{photo} File `photo' not found. \includegraphics[width=\linewidth]{photo}   I have made sure that the file photo is in the same directory.  This started happening after I updated TeXstudio, and it happens both in my laptop and desktop. I have reinstalled MiKTeX and TeXstudio countless times in both, but to no avail. I think TeXstudio is unable to detect the graphicx package somehow? The reason why I think it's because of TeXstudio is when I upload this project to Overleaf, there are no issues with it.

After updating MiKTeX graphics package on 10/5/19 to version 1.3b (packaged on 10/4/2019 8:11:27 PM), I am unable to compile LaTex files that contain \includegraphics{}.  My system: Windows 10  with MiKTeX 2.9.7200  A minimum working example:  \documentclass{article} \usepackage{graphics}  \begin{document}  \begin{figure}    \includegraphics{MC_Antenna_Gain} \end{figure}  \end{document}   The error report   This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7200) entering extended mode (C:/Users/nicrog/Dropbox/T_P_2/Scholar/Grants/Written/EWU_20/Test.tex LaTeX2e <2018-12-01> ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/base\article.cls" Document Class: article 2019/08/27 v1.4j Standard LaTeX document class ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/base\size10.clo")) ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics\graphics.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics\trig.sty") ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics-cfg\graphics.cfg") ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics-def\pdftex.def")) No file Test.aux. ("C:\Program Files (x86)\MiKTeX 2.9\tex/context/base/mkii\supp-pdf.mkii" [Loading MPS to PDF converter (version 2006.09.02).] ) ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/oberdiek\epstopdf-base.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\infwarerr.sty") ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/oberdiek\grfext.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\kvdefinekeys.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\ltxcmds.sty"))) ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/oberdiek\kvoptions.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics\keyval.sty") ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\kvsetkeys.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\etexcmds.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\ifluatex.sty")))) ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\pdftexcmds.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\ifpdf.sty"))) ! Undefined control sequence. \Ginclude@graphics ...\Ginput@path \set@curr@file                                                    {#1}\edef \uq@curr@file {\... l.8    \includegraphics{MC_Antenna_Gain}  ?    I will report this potential bug to  as well.


Are ‘free’ social networking sites user-owned, or are they spaces through which the forces of big capital are further extending into our everyday lives?

Finally, at a grander level, are ‘free’ social networking sites user-owned, or are they spaces through which the forces of big capital are further extending into our everyday lives?


Note  is related, but not exactly the same, as this posts asks why OP could post (but I couldn't), whereas the other one states that OP shouldn't be able to.  Following :    All I tried to do was a retag (remove inappropiate  tag) and remove unnecessary content (thanks).  Though, I couldn't submit my edit. This was the error I was getting:    Just to clarify, this is the original question body, fully unmodified (apart from the "TIA" I removed):    My question now, why can't I post his post containing Chinese characters? And more importantly,  Why could OP post this, but I cannot?  Yes, I understand you shouldn't attempt to salvage very low quality questions. I just wanted to retag it, because it doesn't belong in .

It seems the spamfilter on the "Help and Improvement" queue has some problem. From  (from the review of  question).  I think,   Well, "there are" happens quite often in spams, also often in hams :-) Maybe in the case of a 3k+ user it is not really probable he would try to spam.   On my tries it seems, the first word of the edited message is considered always spammy.


I am a beginner and have a problem with recursive function,  I have 2 tables: table 1:  mzk_zlecenia id number type   table 2:  id_order type_of_relationship id_source   how can I do with this tree? using a recursive function?

I have a table similar to this:  CREATE TABLE example (   id integer primary key,   name char(200),   parentid integer,   value integer);   I can use the parentid field to arrange data into a tree structure.  Now here's the bit I can't work out. Given a parentid, is it possible to write an SQL statement to add up all the value fields under that parentid and recurse down the branch of the tree ?  UPDATE: I'm using posgreSQL so the fancy MS-SQL features are not available to me. In any case, I'd like this to be treated as a generic SQL question.  BTW, I'm very impressed to have 6 answers within 15 minutes of asking the question! Go stack overflow!


Can 'medicines' be used the same as 'medicine'? When someone places two subscriptions, did they buy medicine or medicines?

Or in other words, I am asking: How do you "count" medicine? Is the word "medicine" like "gas" where a collection of gas is still called gas:     The air was filled with nitrogen gas.   Instead of:      The air was filled with nitrogen gases.   And only in terms of types of gases do you use the plural:     There are many types of gases in the atmosphere.   So, in the following example:     He gave him some medicines.   Does that mean he gave him different types of medicine, or different amounts?


How can I convert minutes from Unix timestamp to date and time in java? For example, timestamp 1372339860 correspond to Thu, 27 Jun 2013 13:31:00 GMT. I want to convert 1372339860 to 2013-06-27 13:31:00 GMT. Edit: Actually I want it to be according to US timing GMT-4, so it will be 2013-06-27 09:31:00.

I have a string containing the , and I need to convert it to a Java Date object.  String date = "1081157732"; DateFormat df = new SimpleDateFormat(""); // This line try {   Date expiry = df.parse(date);  } catch (ParseException ex) {   ex.getStackTrace(); }   The marked line is where I'm having trouble. I can't work out what the argument to SimpleDateFormat() should be, or even if I should be using SimpleDateFormat().


what is a good adjusted R square value for any multiple regression model or it depends? If it depends then what are the conditions?

I've fitted my model and am trying to understand whether it's any good. I've calculated the recommended metrics to assess it ($R^2$/ AUC / accuracy / prediction error / etc) but do not know how to interpret them. In short, how do I tell if my model is any good based on the metric? Is an $R^2$ of 0.6 (for example) sufficient to let me proceed to draw inferences or base scientific/business decisions?     This question is intentionally broad, to cover a wide variety of situations that members frequently encounter; such questions could be closed as duplicates of this one. Edits to broaden the scope beyond the metrics mentioned here are welcome, as are additional answers - particularly those that offer insight about other classes of metrics.


I'm trying to show the inclusion :  $\ell^p\subseteq\ell^q$ for real-value sequences, and show that the norms satisfy: $\|\cdot\|_q<\|\cdot\|_p$.  I think I can show the first part without much trouble:  Take $a_n$ in $\ell^p$, then the partial sums are a Cauchy sequence, i.e., for any $\epsilon>0$ , there is a natural $N$ with $|S_{n,p}-S_{k,p}|<\epsilon$ for $n,k>N$, and $S_{n,p}$ the partial sums of $|a_n|^p$ and the individual terms go to $0$. So, we choose an index $J$ with $a_j<1$ for $j>J$. We then use that $f(x)=a^x$ decreases in $[0,1]$. This means that $|a_j|^p<|a_j|^q$.  So the tail of $S_{n,q}$, the partial sums of $|a_n|^q$ decrease fast-enough to converge, by comparison with the tail of $S_{n,p}$.  But I'm having trouble showing $\|\cdot\|_q<\|\cdot\|_p$ . Also, is there a specific canonical embedding between the two spaces?

I can't seem to work out the inequality $(\sum |x_n|^q)^{1/q} \leq (\sum |x_n|^p)^{1/p}$ for $p \leq q$ (which I'm assuming is the way to go about it).


Recently decided to switch back to Ubuntu. I have a 3TB drive which was running win7. I had 3 partitions. c: for windows d: data e: data  Have installed ubuntu before so 'thought' I knew what I was doing.  I using netbootin I installed from a usb stick. I didn't choose the default options but I didn't choose the 'manual install' either. I can't remember what option I took but I figured at some stage it would tell me how it was going to partition the disk and at that stage I would see if it had recognised the NTFS partitions and I would be able to abort if it didn't.  Unfortunately, it didn't and just went ahead and installed Ubuntu and made up it's own mind on how it was going to partition the disk. Usual story, the two NTFS data partitions weren't backed up.  Is there anything I can do to retrieve the ntfs data? I'm currently trying out testdisk and I know I can use photodisk to retrieve certain file types but all the filenames will be lost and it's going to take a hell of a lot of time to rename them all.  Any help or assistance would be more than gratefully accepted. Thanks in advance, Niall

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions  (C:) Vista  (D:) Entertainment  (E:) Work  (F:) Sources   and I wanted to start using Ubuntu instead. So I tried it first from the live CD and everything was OK and all the partitions were shown and working and so I decided to install Ubuntu to replace Vista on the (C:) drive. After I did that I can no longer find my folders and files on the (D:), (E:), (F:) partitions and the only file system that is shown is one 198 GB although my HDD is 320 GB.  I can't access the lost data on the remaining 120 GB which I hope is still there and not totally lost  I am now working from the live CD but I am unable to install testdisk. Can I recover the Vista partitions by the product recovery CD to get my laptop back to the factory settings? Can I recover the NTFS partitions using a recovery program for Windows or will that make the problem worse?   I need these data badly as I don't have a backup for them.


Why does the first bracket not display the \hat{\beta}, I cut and pasted from the second one so they are exactly the same? I guess it has to do with the fact that the first expression is transposed?      \documentclass{article} % Your input file must contain these two lines \usepackage{fancyvrb} \DefineVerbatimEnvironment{code}{Verbatim}{fontsize=\small}  \DefineVerbatimEnvironment{example}{Verbatim}{fontsize=\small} \usepackage{natbib} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{bm} \usepackage{grffile} \usepackage{graphicx} \usepackage{epstopdf} \usepackage{booktabs} \usepackage{siunitx} \usepackage{longtable}  \usepackage[%   font=small,   labelfont=bf,  figurewithin=section,   tablewithin=section,   tableposition=top  ]{caption} \numberwithin{equation}{section}  \makeatletter    \def\env@matrix{\hskip -\arraycolsep     \let\@ifnextchar\new@ifnextchar     \array{*\c@MaxMatrixCols l}} \makeatother  \begin{document} % plus the \end{document} command at the end \parskip = 1pc %change spacing between paragraphs \parindent = 0pc %change paragraph indentation \pagestyle{empty}  \clearpage \setcounter{page}{1} \pagestyle{plain}    \begin{equation}  SSR = (y-X \hat{\beta})^{T}(y-X \hat{\beta})     \end{equation}  \end{document}

I am having problems with equation formatting inside the equation environment when the equations begin with \dot or \ddot  When I write:  \begin{equation}      \ddot{\theta} + \frac{g}{l}\sin(\theta) = 0  \end{equation}   The theta with the dots in the equation does not appear, the formula begins at the left margin and the number appears on the line below.  I am using the book document class with the ams packages and the spanish babel package as well. I am using pdflatex to compile via Texmaker.


I was recently out on a hike and came across a dry waterfall in a deep ravine. There was a viewing platform, and I took several shots.  The problem is, that everything was flattened. The enormity of the gorge just wasn't there. (This is understandable, we're projecting a 3d space onto a 2d sensor)   What techniques or lenses should I use to capture the depth?

My framing in the following photo completely failed to capture the sheer height of the waterfall.  If you don't know I was standing at the top of the waterfall, and the "splinters" at the bottom are full-size tree trunks 2 feet in diameter, you wouldn't have a clue how tall it is.  It just looks like a smaller, shorter waterfall shot with a slower shutter speed.    My question isn't about this picture or waterfalls in particular, but about framing to capture the scale of your subject in general.  What are techniques to show just how big something really is?  Or conversely, something really small?  Especially things like rocks or water that look roughly the same at any size.


I need to install WoeUSB to create a USB stick to install Windows, so I added the repository using:   sudo add-apt-repository ppa:nilarimogard/webupd8  sudo apt update   and everything is fine until this point. when i run sudo apt install woeusb I got this error:  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  woeusb : Depends: p7zip-full but it is not installable           Depends: libwxbase3.0-0v5 (>= 3.0.4+dfsg) but it is not installable           Depends: libwxgtk3.0-0v5 (>= 3.0.4+dfsg) but it is not installable E: Unable to correct problems, you have held broken packages.   I honestly don't know what to do, i looked online and found nothing, can you help me?

After upgrading from 10.04 to 12.04 I am trying to install different packages.  For instance ia32-libs and skype (4.0).  When trying to install these, I am getting the 'Unable to correct problems, you have held broken packages' error message.   Output of commands:  sudo apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   After running this:  sudo dpkg --configure -a foo@foo:~$ sudo apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


My question has been asked severals times on the forum but nothing works for me.  I would like to insert a picture. Here's a simple example that should work but which doesn't.  \documentclass{article}  \usepackage{graphicx}  \begin{document}  \includegraphics{dessin}   \end{document}   I receive those error messages    Does someone have an idea?    I must add that a dessin.jpg file is present in the same directory as my .tex file. Finally, this topic  doesn't work for me either

After updating MiKTeX graphics package on 10/5/19 to version 1.3b (packaged on 10/4/2019 8:11:27 PM), I am unable to compile LaTex files that contain \includegraphics{}.  My system: Windows 10  with MiKTeX 2.9.7200  A minimum working example:  \documentclass{article} \usepackage{graphics}  \begin{document}  \begin{figure}    \includegraphics{MC_Antenna_Gain} \end{figure}  \end{document}   The error report   This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7200) entering extended mode (C:/Users/nicrog/Dropbox/T_P_2/Scholar/Grants/Written/EWU_20/Test.tex LaTeX2e <2018-12-01> ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/base\article.cls" Document Class: article 2019/08/27 v1.4j Standard LaTeX document class ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/base\size10.clo")) ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics\graphics.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics\trig.sty") ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics-cfg\graphics.cfg") ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics-def\pdftex.def")) No file Test.aux. ("C:\Program Files (x86)\MiKTeX 2.9\tex/context/base/mkii\supp-pdf.mkii" [Loading MPS to PDF converter (version 2006.09.02).] ) ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/oberdiek\epstopdf-base.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\infwarerr.sty") ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/oberdiek\grfext.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\kvdefinekeys.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\ltxcmds.sty"))) ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/oberdiek\kvoptions.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics\keyval.sty") ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\kvsetkeys.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\etexcmds.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\ifluatex.sty")))) ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\pdftexcmds.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\ifpdf.sty"))) ! Undefined control sequence. \Ginclude@graphics ...\Ginput@path \set@curr@file                                                    {#1}\edef \uq@curr@file {\... l.8    \includegraphics{MC_Antenna_Gain}  ?    I will report this potential bug to  as well.


The following sentence sounds incorrect to me when read aloud.  "Eating and playing like the locals are important for enjoying the festive atmosphere."  I tried diagramming it and am clear on the "are" (linking verb), "important" (adjective) and the "for enjoying the festive atmosphere" (prepositional phrase).  "Eating" and "playing" are gerunds and that's when it gets confusing for me. The "and" suggests a compound subject, which would make the use of plural "are" correct, but the addition of the "like the locals" makes me feel like the entire section before the verb is a gerund phrase and is therefore singular. Which, if any, of the two is correct? Please help.

I am having trouble with the following sentence:      "The complexity and diversity of the new platforms is worrying us."   If "complexity" and "diversity" constitute two subjects, then the verb should presumably be "are"; however, the sentence feels more natural with "is". Is this correct? Is there a linguistic term for this occurrence?    The following questions address the general topic of compound subjects, but not specific cases like this:             And the following question seems to have somewhat inconclusive answers:         So this question is not really a duplicate of these three.


I need to determine (at least approximately) a motherboard model.   shows the following info:  System Manufacturer: AOPEN_ System Model: AWRDACPI System Type: X86-based PC Processor: x86 Family 6 Model 11 Stepping 1 GenuineIntel ~1300 MHz BIOS Version/Date: Award Software International, Inc. 6.00 PG, 17.12.2001 SMBIOS Version: 2.2   Sadly, my friend can't , because they have no administrator rights.  Is there a way to determine at least approximately the model of motherboard?  My goals are:   To determine the maximum supported memory size (to analyze possibility and rationality of upgrade) To determine processor requirements (socket etc to analyze possibility and rationality of upgrade)

I want to find out the exact model of my computer's motherboard so that I can see what sort of memory chip, graphics cards and other components it supports.  I'm using Windows 7 Ultimate 64-bit.


A few days back, the following integral was posted  $$\int_0^1 x^x(1-x)^{1-x}\sin(\pi x)\,dx=\frac{\pi e}{24}$$  The integral was answered using complex analysis tools but I am interested in other methods which do not use residue calculus.   I am unable to come up with anything for this. I noticed that the integrand is symmetric about $x=1/2$ but this doesn't help much.  Help is appreciated. Thanks!

I've found  the following integral.  $$I = \int_{0}^{1}\sin{(\pi (1-x))}x^x(1-x)^{1-x}\,dx=\int_{0}^{1}\sin{(\pi x)}x^x(1-x)^{1-x}\,dx=\frac{\pi e}{24}$$  I've never seen it before and I also didn't find the evaluation on math.se. How could we verify it?  If it is a well-known integral, then could you give a reference?


Suppose i have a tikz picture, and in the latex code, I put it between a theorem and a definition, but when I compile, the picture shows up in the middle of the theorem's proof. I think its because the compiler doesn't want any blank space, so it puts the picture where its convenient. How do I specify where exactly to place the picture?

I have a problem when a lot of figures are in question. Some figures tend to "fly around", that is, be a paragraph below, although I placed them before that paragraph. I use code:  \begin{figure}[ht] \begin{center} \advance\leftskip-3cm \advance\rightskip-3cm \includegraphics[keepaspectratio=true,scale=0.6]{slike/visina8} \caption{} \label{visina8} \end{center}\end{figure}   to place my figures. How can I tell latex I REALLY want the figure in that specific place, no matter how much whitespace will be left?


In something like this  class Obj:     def __init__(self, x, y):         self.x = x         self.y = y   li = [Obj(0, 0), Obj(0, 1), Obj(2, 3)]  print(Obj(2,3) in li)   I have a False output because even if x and y are the same it counts the object as a different instance. I can remedy using a loop inside the list and checking  if(2==o.x and 3==o.y):     return True   Is there some cleaner way to get this without using a loop ?

When writing custom classes it is often important to allow equivalence by means of the == and != operators. In Python, this is made possible by implementing the __eq__ and __ne__ special methods, respectively. The easiest way I've found to do this is the following method:  class Foo:     def __init__(self, item):         self.item = item      def __eq__(self, other):         if isinstance(other, self.__class__):             return self.__dict__ == other.__dict__         else:             return False      def __ne__(self, other):         return not self.__eq__(other)   Do you know of more elegant means of doing this? Do you know of any particular disadvantages to using the above method of comparing __dict__s?  Note: A bit of clarification--when __eq__ and __ne__ are undefined, you'll find this behavior:  >>> a = Foo(1) >>> b = Foo(1) >>> a is b False >>> a == b False   That is, a == b evaluates to False because it really runs a is b, a test of identity (i.e., "Is a the same object as b?").  When __eq__ and __ne__ are defined, you'll find this behavior (which is the one we're after):  >>> a = Foo(1) >>> b = Foo(1) >>> a is b False >>> a == b True


While reading a book, I found:     Objective-C supports the same conventions as does C.   I've thought "... as C does" is correct. For example,     As time goes by, we come to forget almost everything.   Why were subject and verb replaced in the first sentence?

While reading a book, I found:     Objective-C supports the same conventions for specifying strings as does C.   I've thought "... as C does" is correct. For example,      As time goes, we come to forget almost everything.   Why were subject and verb replaced in the first sentence?


All programs I've tried seem to be listing Hz from cpu's specifications not actually checking what the current Hz really is.  for example a processor is marketed with 4GHz.But this is the max (unless you over/under/clock) and if the cpu isn't doing anything or is getting too hot it will throttle down.  The program always will say 4Ghz even when the CPU is at 2Ghz.I want to avoid this and know the real Hz.  What programs actually check current cpu hz and not just read cpu specifications?

Is there any way to check at which clock speed my processor is running?  I have already tried cat /proc/cpuinfo but the clock speed I'm running isn't showing. I know Ubuntu 12.04 (Precise Pangolin) requires 700 MHz and VGA, but will an AMD Mobile Sempron work?


When I try to open downloaded rar files, firefox attempts to handle it like a video by default. Choosing "other" option and heading to /usr/bin/file-roller isn't a permanent solution.

No matter what changes i make to file associations (actions) in the 'Applications' tab in Firefox, they're totally ignored. For example, i set .wmv and .avi files to open with 'smplayer' but when i download a file and double-click on it (through the 'Downloads' window), it keeps opening with Totem player.    The default file associations through nautilus ('open with' tab) work fine, i.e. i've set smplayer as the default player and when i double-click a video file it open correctly.  I've tried to delete and recreate mimetypes.rdf but that didn't help.  Any ideas on what else should i check?


if alternating current switches directions back and forth periodically it seems like to me that current would go forward a bit and then almost immediately back track the exact same distance, if this is the case then how does AC ever get to where we want it to? Could I be misconceiving AC in some way?

How can AC provide energy if electrons don't have a net movement? In fact,  an electric instrument requires electrons to work, for example in a light bulb the electrons go across it. But in AC circuits electrons don't go inside it, so how can it work?


Provided, that you have to multiply a well known G by the private key to obtain the public key, why not keep adding G to itself until you reach the public key. The private key should be the number of times you've added the G to itself. Is it correct? And if so - why isn't it feasible?

From what I understand, based on the article , the public key is generated by performing $n$ tangent plus mirroring operations from the point $G$ over the elliptic curve, where $G$ is defined in  and $n$ is a natural number that directly relates to the private key.   As I know the public key and the seed value $G$, I could start a process computing $$G + G, G + G + G, \dots$$ and comparing those results with the public key value until it matches.   If your answer would be that this process is very slow: if this process is slow, the same applies to computing the public key from the private key (because the operations are the same except for the check operation). So, how it is possible to compute the public key in a very fast way?


I purpose to minimise my typing of   for efficiency. So why did my following attempt fail, while I composed ?   Source for 1 and 2: Chapter 5 of *[500 French Verbs For Dummies]( http://www.amazon.com/500-French-Verbs-For-Dummies/dp/1118516028)* ([Google Books](https://books.google.com/books?id=dU0bAAAAQBAJ&lpg=RA3-PT674&ots=RbBkwDDj-B&dq=transitive%20in%20english%20intransitive%20in%20french&pg=RA3-PT674#v=onepage&q=transitive%20in%20english%20intransitive%20in%20french&f=false))  Source for 3 and 4: pp 144-145, pp 146-147 respectively, from [*Correct Your French Blunders]( http://www.amazon.com/Correct-French-Blunders-V%C3%A9ronique-Mazet/dp/0071788247), 2nd Edition*   fails, because the following shows that the second paragraph is not subscripted:     Source for 1 and 2: Chapter 5 of  ()      Source for 3 and 4: pp 144-145, pp 146-147 respectively, from , 2nd Edition   Surrounding each paragraph with   solves the problem, but is inefficient.

On  we expect answers to include a full list of references on which the answer was based at the bottom of the question. There are a few ways in which to format this list and we haven't decided on a preferred format yet.  One of the ideas is to wrap the list of references in <sub> tags as it .  This looks as follows:   Neher, A. (1991). Maslow's theory of motivation: A critique. Journal of Humanistic Psycholgoy, 31, 3.  Mahmoud A. Wahba, Lawrence G. Bridwell,  (1976),   In order to place the second reference on a new line, two spaces need to be added at the end of the first reference. Using (the more logical) return breaks markdown! Adding a first return only adds a space. Everything after a second return isn't subscript anymore.   Neher, A. (1991). Maslow's theory of motivation: A critique. Journal of Humanistic Psycholgoy, 31, 3.   Mahmoud A. Wahba, Lawrence G. Bridwell,  (1976),   Is this a bug?


I've been developing a new hybrid app and as a web-app it is supported in both android and iPhone phones which can be seen here:    The question is: due to people being used to a certain mobile app behaviour in their platform(iOs/Android) should I still consider customising the UX for each, and if so how?

My new project is to port an iOS app to Android platform. Before get started, I'm quite confused on whether I should follow google's guideline since some big titles on Android platform still keep the same look as iOS version. Style here means the entire design of the app, such as app navigation, theme, and layout.   Please help if you have any suggestions!


I can find a particular application 'JabRef' at the ubuntu software centre. But whenever I type sudo apt-get install jabref in terminal, it says package not found. What's going wrong here? Do I have to capitalise the exact letters as in the application name or do I need some additional steps to make sure the terminal looks at the correct repository for the particular installer?

When I try to install any package through the command line, I get an error.   $ sudo apt-get install <package> Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package <package>   Can anyone help me on this?


I would like to have an account to create sample App in the App Center. I am following these steps on .  Could you please tell me how or where  I can register for a new (developer) account ?

How can I get free or trial ExactTarget instance. I need to do ExactTarget SAML2.0 Single Sign-On connector development, integration and testing. Is there any step by step documentation available so that I can work on ExactTarget SAML2.0 Single Sign-On ?


Several minutes ago there was a  asked on SO, which when originally posted, was just a terrible post, which was hard to determine what was being asked, and there was absolutely no details provided, for which I flagged it as Low-Quality. The OP has less then 10k rep.  This was the entirety of the original post:     I am working on an app which should run only once after the Installation,Even the launcher should be disabled after I quit it   In my Flag-History, I am now seeing that the flag was deemed disputed, and I am confused as to why.  I read that if a post is flagged of low quality, and it is edited, the flags become disputed because they are supposedly supposed to mark questions that are irrecoverable by edits..  The question has since undergone 3 edits by the OP, none of which added much information that would help the community to help them, and the question has also been Closed as not a real question, yet my flag is still marked as disputed..  Does this non-helpful flag have any affect on my flag-history?

In my flagging summary under the statistics, there is 1 flag listed as "disputed".  This is the first time I've ever seen a disputed flag in my summary, so I'm just curious, what is a disputed flag? How would you even dispute a flag? Is this the same as voting a flag as invalid?


I need some help with my graphics driver. None of my games are working properly (the colors do not load properly and some of the objects are either missing or invisible). I have a Radeon 6870 and I'm confused by all the different types of drivers available for Ubuntu 16.04.

I have 14.04.5/16.04 or newer and an AMD GPU. I'm not getting the performance I want, and some programs say they need things like OpenCL.  I've heard about fglrx, but if I try to install it on my machine, it breaks and I have no GUI.  Is there anything I can do to get my AMD card working to its full potential?


I found this question in a book on introduction to measure theory. The exercise lists several sets and asks me to prove they are countable. I have been able to navigate through the other sets but I don't know how to do this one. How should I go about it?

Let S be a set of pairwise disjoint 8-like symbols on the plane. (The 8s may be inside each other as well) Prove that S is at most countable.  Now I know you can "map" a set of disjoint intervals in R to a countable set (e.g. Q :rational numbers) and solve similar problems like this, but the fact that the 8s can go inside each other is hindering my progress with my conventional approach...


I was copying around 750GB of files into my external hard drive, estimated time was 10 hours. It significantly slowed down my laptop. I wanted to check what is inside rubbish bin so I opened it, but it was taking a long time to open. I had hundreds files in that bin, so it could take some time. I clicked the bin icon again, which probably caused another window to load. After an hour it still didn't open any rubbish bin window and my computer was frozen. I decided to restart the computer, so I held the power button to turn it off and then turn it on again.   Since then, from the moment it goes through boot process it ends at black screen. It doesn't load the desktop. I left the laptop overnight to see if it will respond after that long time, but it didn't. I tried restarting it couple of times, without result.   What are my options in this situation? I cannot reinstall the system since I have a disk full of data that I need to keep.   UPDATE:  I was doing recovery files using photorec and I selected wrong partitions. I noticed it after it had filled the whole space. I did that with all the partitions. And I guess no space on root partitions could cause this kind of problem.  I deleted all the folders with files that I recovered trough photorec. It freed 10 GB of space. Now there is a space, but still the problem occurs - black screen, it doesn't display desktop.  I updated the system, but it didn't help either. I'm thinking about boot files, maybe they are corrupted and hence it doesn't load the desktop.  UPDATE:  I tried:  sudo apt-get install --reinstall unity   and now Instead of just black screen I can see the Ubuntu logo with loading bar. But it still doesn't go to the desktop.

I am trying to boot Ubuntu on my computer.  When I boot Ubuntu, it boots to a black screen.  How can I fix this? Table of Contents:


Problem: Lets $X$ and $Y$ normed vector spaces $T:X\rightarrow Y$ a aplication such that $\Vert Tx-Ty \Vert = \Vert x-y \Vert$ for all $x,y \in X$ and $T(0)=0$ then T is a linear aplication.  My attempt: If I evaluate in $0$: $$\Vert Tx \Vert = \Vert x\Vert \quad \mbox{for all $x \in X$}$$ Then, $$\Vert T(x+y) \Vert = \Vert x+y\Vert \leq \Vert x\Vert + \Vert y\Vert = \Vert Tx\Vert+\Vert Ty\Vert$$ But, I do not know how to continue.

Suppose $f$ is an isometric (i.e., distance preserving) function on $\mathbb{E}^2$ such that $f(0,0) = (0,0)$.  Then I want to show that $f$ is necessarily linear.  Now $f$ is linear iff $f$ is both additive and homogenous.  The following is an attempted proof for the homogeneity of f (missing the last step); still more, I have no idea how to argue for the additivity of $f$.  Any ideas?  Let $x \in \mathbb{E}^2$ and $\alpha \in \mathbb{R}$   We know that $\forall x \in \mathbb{E}^2$, $\Vert x - 0 \Vert = \Vert f(x) - f(0)\Vert = \Vert f(x) - 0 \Vert$ so that $\Vert x\Vert = \Vert f(x)\Vert$.  From this we immediately have the following facts:  $\Vert x \Vert = \Vert f(x) \Vert$  $\Vert \alpha x \Vert = \Vert f(\alpha x) \Vert$  We can then argue that since $\Vert \alpha x\Vert = |\alpha| \Vert x \Vert = |\alpha| \Vert f(x) \Vert = \Vert \alpha f(x) \Vert$, we also have that $\Vert f(\alpha x) \Vert = \Vert \alpha f(x)\Vert$.  Finally, we have that  $\Vert \alpha x - x \Vert = \Vert \alpha f(x) - f(x) \Vert$   iff $ \Vert (\alpha - 1)x \Vert = \Vert (\alpha - 1) f(x) \Vert$   iff $|\alpha - 1| \Vert x \Vert = |\alpha - 1| \Vert f(x) \Vert$  Since the last of these statements is in fact true, we now have $\Vert \alpha x - x \Vert = \Vert \alpha f(x) - f(x) \Vert$ as desired.  Now at this point it seems like I have all of the facts required to assert that $f(\alpha x) = \alpha f(x)$, but I can't figure out how to formally state why without illegally appealing to visual intuition.  Any ideas?


I have been given an assignment in which I have been asked to list some quantum numbers for some given allowed processes. One of them is   $\Delta^+ \rightarrow p^+ + \pi^0$  I know that $\Delta^+$ has J value as 3/2, $p^+$ has J value as 1/2 and $\pi^0$ has J value as 0. So, clearly, the total angular momentum is not conserved. Then, why is this process allowed?

I'm a chemist so bear with me:  I understand the  $\Delta^{+}$ and $\Delta^{0}$ to be in some sense spin (and isospin) quartet states of the proton and neutron. These can decay straight to a proton or neutron through emission of a pion, which is spin-0.  I've been puzzling about the mechanism by which this decay conserves spin. I note via Wikipedia that  into either a lepton pair or a photon pair, for which it's easy to show spin is conserved, however pion production seems to induce a loss of $J=1$.  This seems to suggest momenta of:  $\Delta^{+} (J=\frac{3}{2}) \rightarrow{} p^{+} (J=\frac{1}{2}) + \pi^{0} (J=0)$  Am I missing a boson? Is my understanding of spin flawed? I assume that if this decay exists, similar things turn up everywhere else.


Does there exists $n \in \mathbb{N}$ such that $3^n$ begins with $2019$?  I couldn't start the problem. If it ends with 2019 then I could have done using modulo $10000$ but how should I do this?

I'm wondering if some power of $2$ can be written in base $10$ as $2013$ followed by other digits.  Formally, does there exist $k,q,r \in \mathbb N$ such that $$2^k=2013 \cdot 10^q+r \,\,\,; \,\,\,r<10^q $$  I'm not sure if it's true or not. I would go for a 'no', but I can't prove it.  Thanks for your help.


My code is :    class Handler():          # make it static         from pymongo import MongoClient         client = MongoClient("localhost", 27017)         db = client.newsdb         news = db.news   I want to make the client variable to be static, so is above code the correct way to do that ? I also want to use singleton pattern, because maybe the MongoClient is very large element, and I want to new() this element when I really need it....  How can I do that in python ? As a beginner, maybe ask some stupid question, sorry for that in advance...

There seem to be many ways to define  in Python. Is there a consensus opinion on Stack Overflow?


While studying about float datatypes I wrote a program in C++: float a = 0.3, b = 0.4, c = 0.7; cout << "a+b= " << (a + b) << endl; if ((a + b) == c) {     cout << "Success..." << endl; } else {     cout << "Failure..." << endl; }  The output I received was: a+b= 0.7 Failure...  I am using visual studio code as my IDE and it facilitates that on hovering the cursor over a declared variable it shows the approximate value assigned to the variable and I realized that for a it was 0.2999999999999999889, for b:0.4000000000000000222 and for c:0.6999999999999999556. So, my question is that is there a method/a data type which can store the true value of a floating point. And why does the system stores these values in approximate form rather than in the true value.

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


I was looking at an Android app, there are two buttons with these names: "Choose Suspect" and "Send Crime Report." After I thought about it, there are bunch of places where 'a/an' are omitted and they look just fine.  So, when is it safe to omit a/an? What's the mental model?  I checked  with similar title - "When do you omit a, an or the?" - which deals with omitting articles after 'of.'

Recently, in many new online software I often see that developers omit articles in short sentences, especially on action buttons or tooltips.     For instance: "Add new task" (not "Add a new task"), "Create project" (not "Create a project"), but often in the same software I can see "Make a copy". What are situations it can be justified?


I am trying to prove the following statement.     Let $R$ be an integral domain. Prove that a non-constant irreducible polynomial in $R[x]$ is primitive.   This is what I have done so far:  Let $f\in R[x]$ be irreducible. Then there exists $g,h\in R[x]$ such that   $f=gh \implies f\sim g$ or $f\sim h$  Wlog, assume $f\sim g \implies h\in R[x]^X$  Let $g=a_nx^n+...+a_0$, where $n>0$  Thus, $C(f)=C(gh)=gcd(ha_n,...,ha_0)$ so $h$ is a common divisor for $f$.  It is at this stage that I don't know how to proceed further with the proof. Any help would be appreciated.

Let $R$ be an . Is it true that an irreducible polynomial $f \in R[T]$ is either:   primitive $f \in R$ and irreducible in $R$ ?


Consider the following situation:   The same group of authors has published several documents Only the last author has changed over time     Minimum Working Example (MWE):  \documentclass{article} \usepackage{filecontents} \usepackage[% backend=biber,% style=authoryear,% natbib=true,% maxcitenames=1,% ]{biblatex}%  \begin{filecontents}{bib.bib}      @article{Stiess.1996a,         author = {Stiess, Roger and Mueller, Jacob and Else, Something},         date = {1996},     }      @article{Stiess.1996b,         author = {Stiess, Roger and Miller, Jan and Mueller, Jacob and Barding, Tom},         date = {1996},     }      @article{Stiess.1999,         author = {Stiess, Roger and Miller, Jan and Mueller, Jacob and Sutter, Jaqueline},         date = {1999-10},     }  \end{filecontents}  \addbibresource{bib.bib}  \begin{document}      \cite{Stiess.1996a}     \par\medskip     \cite{Stiess.1996b}     \par\medskip     \cite{Stiess.1999}     \printbibliography  \end{document}     Screenshot of the result:      Description of the issue:  While the bibliography list looks completely fine, the citings inside the text body are way too long: While the first situation works fine with automatic adding et al., I want the same thing to appear in the second and third citings as well (to compress the width of the citings).  How to do so?  Unfortunately maxcitenames=1 does not work due to same author names.

In the header of my document I set the maximal author names to 2:  \usepackage[style=authoryear-icomp, maxbibnames=9, maxcitenames=2, backend=biber]{biblatex}   Now, when I cite texts with two authors, LaTeX gives me the following:     (Author_A/ Author_B 2012: 232)   When I have three authors or more, LaTeX makes it:     (Author_A/ Author_B et al. 2012: 232)   But I want LaTeX to just name the first author if there are more than two authors ... like this:     (Author_A et al. 2012: 232)   Any tips on how to achieve this ?


I have two segments A and B (each defined by two points) which intersect. The point X is the intersection of A and B. How can I find the coordonates of X ?

How do I determine whether or not two lines intersect, and if they do, at what x,y point?


I was going through this video:  where he says there are few projects in the Stack Overflow solution. And this made me curious.  What is the architecture of Stack Overflow Solution directory and since the video isn't clear about the projects inside the solution, can anyone tell me what they are? And how each project is dependent on the other.   EDIT This is not the same question as "what is stackoverflow built with". This question is specific to the software side of it, basically the Layered architecture of StackOverflow and the Visual Studio Solution directory.

What tools and technologies are used to build the Stack Exchange Network?  See also:


I am a newbie to Ubuntu. I have a dual-booting Windows laptop with Ubuntu 18.04 already installed. Being a newbie, I messed around with installing LAMP server. I am lost in Linux's Terminal Command Land (TCL). Please help!

I set up a new VPS instance of Ubuntu and am wondering what the easiest way is to get up and running with a basic LAMP stack (i.e. which packages are required, which configuration options need to be tweaked, if any, etc.).


i have the following tag in html i do not want the $ to be taken as i just want the price for calculations purpose.  $101.82   in the above span tag i want to take only 101.82 value for calculations .  I am using the html() to get the value  var csqft_price = $('#testspan').html(); var price= parseFloat(csqft_price);   but i am getting it with $ so i am unable to do calculation how can i do it.

I have a text box that will have a currency string in it that I then need to convert that string to a double to perform some operations on it.   "$1,100.00" → 1100.00  This needs to occur all client side. I have no choice but to leave the currency string as a currency string as input but need to cast/convert it to a double to allow some mathematical operations.


Its very important because my pc uses windows xp and i want to get ubuntu (latest version). I have tried installing it rom my computer, but for having wifi i must log in as the adminitrator, but i cant remember the password

I would like to see a full how-to guide on how to install Ubuntu.


Canonical has dropped Unity, and has decided to switch to GNOME Shell for the future releases. Since Ubuntu 16.04 is an LTS release, does this mean that the LTS users won't receive any updates/fixes for their Unity DE?  And GNOME Shell is a totally different thing than what we've been using for so long! I'm thinking whether it's worth it continue using 16.04, since Unity is long gone...

I've heard that Ubuntu 18.04 will be using GNOME desktop by default. So, what is going to happen to Unity?    Will Ubuntu 16.04 (with Unity) receive updates until 2021 for Unity desktop?     What desktop environments will we get while upgrading from 16.04 to 18.04? Will Unity be dead? Will there be an Ubuntu Unity Flavor?   And my major question is:   Can I still be able to Download Ubuntu Unity 17.10 or need to upgrade from Ubuntu 17.04 to get 17.10 with unity ??


Trying to install sketchup 2016 on ubuntu 15.10 through wine, doesn't work.

Can .exe and .msi files (Windows software) be installed in Ubuntu?


I have applied for a temporary permit (Poland) 8 months ago and I'm still waiting. I have a stamp in my passport stating that I have applied and waiting for the result, but it is written in Polish. The problem is that my visa is running out and I must travel to another Schengen state for work after my visa expires. I don't go through immigration when travelling within Schengen states, but if my passport gets checked outside Poland,  I might be an 'illegal immigrant' instantly.  What do I do here?

I googled all over and couldn't find a definitive answer on this. I arrived to Poland on a Schengen visa and applied for a temporary residence permit on my 88th day in the Schengen area. I got my passport stamped saying that I applied and am waiting for that permit. While it is being processed, can I travel to other Schengen countries? My visa is still valid, but what about the 90/180 rule?


So the homework question goes as follows:     Find rational numbers such that $ \sqrt[3]{7+5\sqrt{2}}=\alpha+\beta\sqrt{2}$   The homework only asks for one pair of $\alpha$ and $\beta$ and it is almost trivial to find the solution $\alpha=\beta = 1$  Solution:  $\sqrt[3]{7+5\sqrt{2}}=\alpha+\beta\sqrt{2}$  $7+5\sqrt{2}=(\alpha+\beta\sqrt{2})^3$  $7+5\sqrt{2}=\alpha^3+6\beta^2\alpha +\sqrt{2}(3 \alpha^2 \beta +2\beta^3)$  By identification of coefficients:  $7=\alpha^3+6\beta^2\alpha \space and \space 5=3 \alpha^2 \beta +2\beta^3$  So I just "saw" that $\alpha=\beta = 1$ is a solution  My question is, how do we find other solutions?  Thank you!

Please help with the following question:  Find rational numbers a and b such that:  $$\left(7 + 5\sqrt2\right)^{\frac13} = a + b \sqrt2$$  Thank you


I can't understand at all why objects move even though after newton's third law.I also have a doubt in following example  If we apply a force on an object the object applies a backward push on us according to newton's third law of motion.let us now put the force vector applied by the object to its back. Now we can cut off Its forces then how is the object able to move.

Given Newton's third law, why is there motion at all? Should not all forces even themselves out, so nothing moves at all? When I push a table using my finger, the table applies the same force onto my finger like my finger does on the table just with an opposing direction, nothing happens except that I feel the opposing force. But why can I push a box on a table by applying force ($F=ma$) on one side, obviously outbalancing the force the box has on my finger and at the same time outbalancing the friction the box has on the table? I obviously have the greater mass and acceleration as for example the matchbox on the table and thusly I can move it, but shouldn't the third law prevent that from even happening? Shouldn't the matchbox just accommodate to said force and applying the same force to me in opposing direction?


This is the code I have and I am not sure why it doesnt work  Insert INTO TEventGolfers (intGolferID, intEventID)      Values((Select MAX(intGolferID) From TGolfers),4)   I want to insert 4 as the EventID and the max golfer id from the table TGolfers as the foreign key golfer id in the EventGolfers Table

I am trying to INSERT INTO a table using the input from another table. Although this is entirely feasible for many database engines, I always seem to struggle to remember the correct syntax for the SQL engine of the day (, , , , and ).  Is there a silver-bullet syntax coming from an SQL standard (for example, ) that would allow me to insert the values without worrying about the underlying database?


This question was asked here, four years ago:   However, text-to-speech is something that's still improving and evolving fast, and all of the answers yield software that sounds tinny or unnatural. I know that no TTS will be perfect, but I'm positive there must be better solutions now in 2015.  The size of the package doesn't matter; it doesn't have to be lightweight, it can be bloated for all I care; I only care about the end result. It only has to be free and available for Ubuntu.

I am looking for some easy to install text to speech software for Ubuntu that sounds natural. I've installed Festival, Gespeaker, etc., but nothing sounds very natural. All very synthetic and hard to understand.  Any recommendations out there?


Im trying to install kubuntu 12 with wubi, but I get      Cannot download the metalink and therefore the ISO   everytime I try to install.  My ISO name is      kubuntu-12.04.3-desktop-i386   Im running Windows 7 x86, I also tried the parameter "--32bit" but nothing works.  The last lines of my log:     err=[Errno 14] HTTP Error 404: Not Found 10-14 21:50 DEBUG    downloader: downloading              C:\ubuntu\install 10-14 21:51 ERROR  CommonBackend: Cannot download metalink file2          err=[Errno 14] HTTP Error 404: Not Found 10-14 21:51 DEBUG  TaskList:          Finished get_metalink 10-14 21:51 ERROR  TaskList: Cannot download the metalink and therefore the ISO Traceback (most recent call last):         File "\lib\wubi\backends\common\tasklist.py", line 197, in call   File "\lib\wubi\backends\common\backend.py", line 595, in get_iso   File "\lib\wubi\backends\common\backend.py", line 406, in download_iso   Exception: Cannot download the metalink and therefore the ISO 10-14   21:51 DEBUG  TaskList: # Cancelling tasklist 10-14 21:51 DEBUG    TaskList: # Finished tasklist 10-14 21:51 ERROR  root: Cannot download   the metalink and therefore the ISO Traceback (most recent call last):    File "\lib\wubi\application.py", line 58, in run   File   "\lib\wubi\application.py", line 132, in select_task   File   "\lib\wubi\application.py", line 158, in run_installer   File   "\lib\wubi\backends\common\tasklist.py", line 197, in call   File   "\lib\wubi\backends\common\backend.py", line 595, in get_iso   File   "\lib\wubi\backends\common\backend.py", line 406, in download_iso   Exception: Cannot download the metalink and therefore the ISO

I've downloaded the latest version of wubi, but for Xubuntu, Kubuntu, and Lubuntu, it is unable to find the metalink to download the iso. Is there any way to fix this, or do I have to manually dualboot?  If so, how do I manually dualboot? Thanks.


During the last semester, I had some Prolog courses and I look topics on StackOverflow to help me during my praticals work. I have noticed that SO shows on the homepage more and more questions about . The same behaviour occurred with  (I had a project with this too), but it's less dramatic.  My question is simple: does StackOverflow (and SE sites in general) show questions on the home page according to a user's visit history, in addition to favorite tags?  I never answered any questions about prolog or wpf, so I don't think it came from my answers and I never saw a prolog question on my homepage before.

I asked , but within minutes, it was off the question list even though the question list went back an hour in time.  Is this some form of moderation?  If so, it seems weird that no comment was made within the thread that the question was deleted, moved, or otherwise removed from the question list.


I'm trying to solve a question which asks me to determine whether the quotient $\mathbb{Z}$-module $M=\frac{\mathbb{Z}^3}{\langle (3,3,1),(2,2,2)\rangle}$ is free. I'm then supposed to find some element of $M$ of infinite order.  I'm really new to modules and finding them hard to wrap my head around, so would appreciate any help you could offer/hints you could give me.  EDIT: while a similar question has been asked here -   - the answers there use the fact $M$ is isomorphic to $\mathbb{Z} \oplus \mathbb{Z}_4$. I'd like to show that it isn't free more directly if at all possible. Would appreciate any help anyone could offer.

Consider the quotient $\mathbb{Z}-\text{module}$ $$M=\frac{\mathbb{Z}^3}{\langle (3,3,1),(2,2,2)\rangle}$$ Prove that $M$ is isomorphic to $\mathbb{Z} \oplus \mathbb{Z}_4$.  I think the first step is to find a basis of $M$. Clearly $(1,0,0)$ and $(0,0,1)$ are in a basis of $M$. I don't know how to find the third element in that basis. Also the basis in $\mathbb{Z} \oplus \mathbb{Z}_4$ are $(1,0)$ and $(0,1)$.