Unable to install any app from sofrwarestore and even deb

i am unable to install any app through deb file , terminal, software center. once i tried to install gnome boxes and some other app but it dosent install anything. i installed Ubuntu first it was able to install apps but now it is not able to install any app. i have many important apps to install please help me out.and even not allowing me to install browsers .


I am wondering about punctuation in this sentence:     In this case the main focus was on intuitiveness and learnability.   Should I put a comma after "case"? If so, why?


Will a projectile fired straight up from the equator land at the same spot on the ground ignoring wind?

Suppose a bullet were to be fired with a velocity $v$ from the surface at equator. Considering the spin of Earth will it land at the same spot?  I tried to solve this assuming constant acceleration due to gravity.  Since the horizontal velocity of the bullet remains constant at height $h$ the angular velocity will be in (angular velocity at ground is $\omega$ and radius of Earth is $R$) $$ \omega' =  \frac{\omega \times R}{(R+h)} $$ Now $\omega'$ can be written as $d\theta/dt$ and $h$ as  $v\times t-0.5\times g\times t^2$  so after rearranging we get $$ d\theta = \frac{\omega\times R}{(R+vt-0.5\times g\times t^2)}dt $$ Integrating this wrt to $t$ from $0$ to $2\times v/g$ gives me the angular displacement of the bullet. Angular displacement of ground is $2\times v\times \omega/g $and if we subtract the two and further multiply by $R$ we should get the distance traveled further by the ground.  However after calculating everything I'm getting very high distance. For example, a bullet fired at $1700m/s$ will land $2,340m$ away which seems absurdly wrong. Can anyone point out where my mistake is?


Linear Approximation and Linear Probability of Camellia Sbox

In this article, (para 2. Differential and linear cryptanalysis, page 3), it says      The maximum bias of a linear approximation through one S-box is $2^{-4}$   , which gives a linear probability of $2^{-6}$   what does this mean? isn't the linear approximation probability $2^{-4}$?


Story [novel, novella?] that featured faster-than-light or hyperdrive gained from observing distant drive use, also had a sentient star

I have little recollection when I read this, but it started with people observing indications of some special engine use many lightyears away, and it led them to 'reverse-engineer' the traces to create their own drive.  Had the usual tropes of international crew-selection for first-voyage.  Somewhere in the travel, they encounter a sentient star or quasar.  When they get back hundreds/thousands of years later, they arrive to an uncaring Earth that no longer pursues space-travel.


I want to do a fresh install on my computer. I have an intel 64 bit CPU. I am wondering can I install this version: ubuntu-14.04.2-desktop-amd64.iso  I really want to install the 64 bit version. But the name contains amd, so I am not sure if it's compatible with my machine. Thank you!


Renewcommand fails after using related packages

I've been using this code to change the appearance of references (enclosing the number within round brackets):  \let\oldref\ref \renewcommand{\ref}[1]{(\oldref{#1})}   After that, I wanted to make references "clickable" so I added the package hyperref using the hidelinks option:  \usepackage[hidelinks]{hyperref}   The links work fine but I'm wondering why the brackets are no longer visible. Obviously hyperref is redefining \ref but \let should update my definition too. This is independent of the order in which those instructions appear in the code. Where's the problem?


Dimensions of symmetric and skew-symmetric matrices

Let $\textbf A$ denote the space of symmetric $(n\times n)$ matrices over the field $\mathbb K$, and $\textbf B$ the space of skew-symmetric $(n\times n)$ matrices over the field $\mathbb K$. Then $\dim (\textbf A)=n(n+1)/2$ and $\dim (\textbf B)=n(n-1)/2$.   Short question: is there any short explanation (maybe with combinatorics) why this statement is true?  EDIT: $\dim$ refers to linear spaces.


this time I'd like to ask a few questions about capacitors, all noob questions again;   What's a better idea, having one capacitor at 5x farads or five capacitors at x farads each? I want to get a certain amount of voltage and want to discharge the direct current as fast as possible. I'm trying to build an amateur railgun, and intend to shoot projectiles that weigh about 10 grams. Using the formula that someone helped me with in my other question, in order to give that a speed of 100m/s at a total of 20.000 uF assuming 2% efficiency I'd need a little less than 112V's. The question is, is this amount of voltage I need my capacitor or series of capacitors to provide for the duration of the shooting? What determines how much voltage a capacitor can hold? This may come off stupid as I am aware that there is a voltage rating when you buy them, but better safe than sorry. I was only assuming 2% efficiency, and depending on my rail length it could be higher. The question is, what determines how fast the capacitor will discharge and how it can be prevented from going above the rated voltage?


Getting percent sign into an URL in a footnote

I'm using the url package. Now, I have some some url with a percent sign in it and want to place it in a footnote. When I let the % where it is, I get a comment, and the whole thing fails to compile because of some unmatched brackets. When it's at the end of a line, it doesn't show up at all in the result. When I write \% instead, this gets literally into the output—but I want the url to be displayed correctly.  What could I do?


Eliminating/minimizing distortion in 200 NM EEZ buffers?

I frequently need to calculate buffers of 200 nautical miles from country or baseline polygons in order to map maritime Exclusive Economic Zones (EEZs). However, I've noticed that when generating the buffers in QGIS, I get different results depending on the projection specs of the layer I'm buffering from. For example, in a recent project I'm using an azimuthal equidistant projection, and the buffer turns out differently depending on where the projection is centered. This also means that even if I center the projection on the country, there is often still significant distortion at more distant corners of the same country.  Is there any way to generate buffers without any distortion (i.e. equidistant from each node on the polygon from which they're being calculated)?


I want to evaluate  $$\sum_{j=0}^{k} (-1)^{j} \binom{n}{j}$$  obviously if $k$ goes up to $n$ then this is quite a common question. My question is how to deal with this question when the sum is truncated (stops at $k \le n$?  Do we use the answer for $n=k$ and the fact that there's some symmetry in binomial coefficients? (that is, $\binom{n}{k} = \binom{n}{n-j}$?)  any help hugely appreciated.  Mark


I am writing/reading from serial port with my java fx application. All is fine until I read the data from port. Once I received the data I pass it to the method thats located in my controller for processing. After passing the data to the method in controller I am trying to assign it into my textboxes but it throws NPE exception. I even tried with  Platform.runLater() but still gives me the same NPE message. Any help please?  //Serial data reader @Override public void serialEvent(SerialPortEvent event) {     if (event.getEventType() != SerialPort.LISTENING_EVENT_DATA_RECEIVED)         return;     packet = event.getReceivedData();     // Also tried this myController.processData(packet); Still NPE     Platform.runLater(()->     {         settingsController.processData(packet);     }); }   //The method in myController  @FXML private JFXTextField dataTextField;  public void processData(int[] packet) {              dataTextField.textProperty().setValue(String.valueOf(packet[2]));  //Here it throws NPE due to dataTextField             //dataTextField.textProperty().setValue(String.valueOf(5)); Also tried  a dummy value to find out if it is text field or the packet data. I confirmed it is NPE of dataTextField             //I also tried this .Still the NPE. Also tried with combobox. so no hope              Platform.runLater(()->             {                 dataTextField.textProperty().setValue(String.valueOf(packet[2]));               });  }


Testing constraints/restrictions in multiple regression using R

I have a Cobb-Douglas equation I am modelling in R:  $$ \ln(Y) = β + β_a \ln(A) + β_l \ln(L) + β_f \ln(F) + β_o \ln(O) + u $$  Is there an easy way of testing the hypothesis about whether the betas sum to one; less than one; more than one?


Face dissapeared after adding a new color to it

I recently downloaded the latest version of Blender because I wanted to create assets for my game in Unity. After doing some tutorials for making a simple sword I wanted to paint it, but when I set a colored material on let's say the handel the faces I place it on dissapears. In the pictures I attached the same happens with the standard cube in the beginning. I still can select the faces but they just look transparant. Can someone help me out here? I already tryed Flipping the face and changing the alpha but nothing happened.  First with normal material   Now with a material that I colored


How to remove browsers message "You need to upgrade your Flash Player" after 12 jan 2021 . according to this page :  we need patch for all versions of browsers . Thanks Saeed


How to prove that $2^{n+2}+3^{2n+1}$ is divisible by 7 using induction?

I want to prove that $2^{n+2}+3^{2n+1}$ is divisible by 7 using induction. My first step is replace $n$ with $1$.   $2^{1+2}+3^{2(1)+1}$ $2^3+3^3$ $8+27$ $35 = 7\times 5$   The next step is assume that $2^{n+2}+3^{2n+1}$ is divisible by 7. And the last step is to prove that $2^{(n+1)+2}+3^{2(n+1)+1}$.   $2^{(n+1)+2}+3^{2(n+1)+1}$ $2^{n+3}+3^{2n+3}$ I got stuck here.   How can I prove it using induction?


When doing locale -av on Lubuntu, the result returned shows that all of the locales uses the UTF-8 character encoding.  Is there a way to add a locale with the ISO-8859-1 character encoding?


Can using a cascade encryption decrease security?

When using cascade encryption, can you actully decrease the security, for example if you do something wrong, or is it only depend on which algorithm or mode of encryption you use?


I have records like this in observable collection   ID Department salary joingdate  1    .NET   5000  04/08/2011 2    .NET   6000  04/07/2011 3    JAVA   7000  04/08/2011 4    JAVA   8000  04/07/2011 5    .NET   9000  04/06/2011   now I want new observable collection like   Joingdate    .NET(Salary)  JAVA(Salary) 04/08/2011  5000        7000 04/07/2011  6000        8000 04/06/2011  9000        NULL    How would I get this type of observable collection?


in the below code    public class MsLunch {     private long c1 = 0;     private long c2 = 0;     private Object lock1 = new Object();    // private Object lock2 = new Object(); private Dummy lock2 = new Dummy();     public void inc1() {         synchronized(lock1) {             c1++;         }     }      public void inc2() {         synchronized(lock2) {             c2++;         }     } }   i have changed the lock object used to protect the c2 count. i have used a dummy class which is no where related to MsLunch class. Is it fine or should i always put the lock on the object of the current class("this" or MsLunch object or parent class Object). Please answer as i have been  struggling a long way to understand the role of object used in synchronized block. Also is it necessary that the synchronized block member fields and variables must be held by the object used to lock ?


Can I install 64-bit Eclipse on 32-bit Ubuntu?

I have 64 bit core i5 configuration I have installed ubuntu studio 11.04 (32 bit) on it.It's working fine but for eclipse android development it is not working what should I do? Should I download 64 bit eclipse or first I do have 64 bit studio OS and then install the rest development environment


I have been looking around for the answer but no luck on this. to resume  the id of my button is correct Activity names are correct, but for some reason the Bundle is returning null and crashing my App, This is my Main Activity, please help.  Check the OnClick Listener I think I am using the correct form  Main Activity  package com.example.carlos.application1;           import android.widget.Button;         import android.content.Context;         import android.content.Intent;         import android.support.v7.app.ActionBarActivity;         import android.os.Bundle;          import android.view.KeyEvent;         import android.view.Menu;         import android.view.MenuItem;         import android.view.View;          import android.widget.AdapterView;         import android.widget.ArrayAdapter;         import android.widget.AdapterView.OnItemClickListener;         import android.widget.ListView;          import java.util.ArrayList;         import java.util.List;  public class MainActivity extends ActionBarActivity {     public final static String EXTRA_MESSAGE = "MESSAGE";     private ListView obj;     DBHelper mydb;     int status = 0;     Button hp_1, HP2, fo, previous, home, next,MZ,Control,show;      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);          mydb = new DBHelper(this);         ArrayList array_list = mydb.getAllCotacts();         ArrayAdapter arrayAdapter=new ArrayAdapter(this,android.R.layout.simple_list_item_1, array_list);          obj = (ListView)findViewById(R.id.listView1);         obj.setAdapter(arrayAdapter);         obj.setOnItemClickListener(new OnItemClickListener() {             @Override             public void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {                 // TODO Auto-generated method stub                 int id_To_Search = arg2 + 1;                  Bundle dataBundle = new Bundle();                 dataBundle.putInt("id", id_To_Search);                  Intent intent = new Intent(getApplicationContext(), DisplayValues.class);                  intent.putExtras(dataBundle);                 startActivity(intent);             }         });         hp_1.setOnClickListener(new View.OnClickListener() {               @Override             public void onClick(View v) {                 status = 1;                 Bundle bundle = new Bundle();                 bundle.putInt("status", status);                  Intent intent = new Intent(MainActivity.this, DisplayValues.class);                 intent.putExtras(bundle);                  startActivity(intent);               }         });     }      @Override     public boolean onCreateOptionsMenu(Menu menu) {         // Inflate the menu; this adds items to the action bar if it is present.         getMenuInflater().inflate(R.menu.menu_main, menu);         return true;     }      @Override     public boolean onOptionsItemSelected(MenuItem item){         super.onOptionsItemSelected(item);          switch(item.getItemId())         {             case R.id.item1:Bundle dataBundle = new Bundle();                 dataBundle.putInt("id", 0);                  Intent intent = new Intent(getApplicationContext(),DisplayValues.class);                 intent.putExtras(dataBundle);                  startActivity(intent);                 return true;             default:                 return super.onOptionsItemSelected(item);         }     }      public boolean onKeyDown(int keycode, KeyEvent event) {         if (keycode == KeyEvent.KEYCODE_BACK) {             moveTaskToBack(true);         }         return super.onKeyDown(keycode, event);     } }


What's the difference between absolute path & relative path when using any web server or Tomcat?


I have to compute $Z(t)=\sum_{n=1}^\infty e^{-\lambda_nt}$, $t \in \mathbb{R}_{>0}$, with $\lambda_n=\pi^2(\frac{m^2}{a^2}+\frac{n^2}{b^2})$. So $\sum_{m,n=1}^\infty e^{-(\pi^2(\frac{m^2}{a^2}+\frac{n^2}{b^2}))t}=\sum_{m=1}^\infty e^{-\pi^2(\frac{m^2}{a^2})t}\sum_{n=1}^\infty e^{-\pi^2(\frac{n^2}{a^2})t}$.  Is anyone could give me a good hint how to compute $\sum_{n=1}^\infty e^{-\pi^2(\frac{n^2}{a^2})t}$?


Is username and password still safe by using mysqli_real_escape_string?

I am using this code for registering a data in mysql data base, my question is that is my password secure and SQL injection free? i defined username and password in same way in the login page! and in phpmyadmin password is encrypted and for login everything works good!  include "config.php"; $username = $_POST['username']; $password = $_POST['password']; $email = $_POST['email']; Fname = $_POST['fname'];  $username = stripslashes($username); $password = stripslashes($password); $email = stripslashes($email); $Fname = stripslashes($Fname);  $username = mysqli_real_escape_string($con,$username); $password = mysqli_real_escape_string($con,hash("sha512",$password)); $email = mysqli_real_escape_string($con,$email); $Fname = mysqli_real_escape_string($con,$Fname);


Any good ways to prove that there is only one group of order 2?

When you take a course like Abstract Algebra, the professors just "let it be given" that there is only one group of order $2, \mathbb{Z_2}$. But they don't go about proving this, despite proving nearly everything else. How do we come to assert that, for example, there is only one group of order $2$ $(\mathbb{Z_2})$ and only one group of order $3$ $(\mathbb{Z_3})$? Is there a proof of it somewhere? I'm not finding anything on the internet. I suspect a proof by contradication would be helpful here, constructing a group with arbitrary values.


Problem with replicate-rewrite-db not working

I have replication setup that has been working great. We have a master (prod) and a slave (reporting) that have been running for several weeks. We are changing the slave database through replication and that has been running well. That is until an ALTER TABLE statement was replicated.   As you can see in the error statement, it looks like the --replicate-rewrite-db option was not applied and that caused the failure. But why would this work for months and fail with just the ALTER TABLE statement. Also what do I need to do with the replication options so this will work properly?  Slave SQL: Error 'Table 'prod.user' doesn't exist' on query.  Default database: 'reporting'. Query: 'ALTER TABLE `prod`.`user` ADD COLUMN `new_col` TINYINT(1) NOT NULL DEFAULT '0'', Error_code: 1146   replication settings from my.cnf:   replicate-wild-ignore-table = mysql.% replicate-rewrite-db = prod->reporting replicate-do-db = reporting replicate-ignore-table = reporting.user


How to get number of items in array of floats in C?

I'm trying to get the number of floats in the following array:  float coins[] = {0.25, 0.10, 0.05}; printf("%i", sizeof(coins));   I get 12.  I am trying to get 3.  What am I missing here?


I'm trying to prove that if $\{x_n\}\to 0$ and $y_n=\frac{x_1-x_2-...-x_n}{n}$ then $\{y_n\}\to 0$. One can easily show that $\left| y_n\right|<x_{max}$, but this doesn't seem to tell us much.  I'd appreciate any hints on how to prove the above.


Running macOS Sierra(Version 10.12.2 16C67).  I installed  version wine-1.8.6 (through a .pkg file). I opened up a game and it worked fine.  The next day when I downloaded Origin installer, it wouldn't open. When I double clicked on it, the Wine icon showed up in the dock and said it was open, but no windows showed up. When I clicked on another program(or on the desktop), Wine closed. Now when I try to start that same game I opened when I first installed Wine, the same thing happens that happened when I started Origin installer.  When I go to the terminal and type wine {path of .exe} I got this:   I installed wine tricks using brew install winetricks and it installed fine, yet it didn't change my situation.  winecfg works properly, and so does sh winetricks.


Let $\{a_n\}$ be a sequence of positive integers, then prove/disprove:  If $\sum n^2 a_n^2<\infty$ then $\sum a_n$ is convergent.


I cannot for the life of me figure out where in the account settings you update your account avatar... Any suggestions?  I don't think I used Gravatar as I could not find an account based on my emails.


Prove / disprove: if $f(n)=O(g(n))$ then $2^{f(n)}=O (2^{g(n)})$   This is related to:   But I don't see how the answer there is right (I commented on that there) and I have a question about a different approach.  Can we use that since $2^x$ is a continuous positive function then it keeps signs of inequalities? i.e $a<b$ then $2^a<2^b$?


The benefits of Java 64x (bit) version in minecraft

I was wondering what the benefits are for Java 64x version, Does it help the game run smoother, Faster, Enhance graphics?


By the end of The Force Awakens, who knows about Kylo Ren's family?

During the course of The Force Awakens we learn that Kylo Ren is the son of Han Solo and Leia.  My question is, by the end of the film which characters know this fact? It is plainly obvious that in addition to his parents, people involved in Kylo Ren/Ben Solo's upbringing and training will know, such as Luke, Chewbacca, Threepio, Artoo and Snoke etc. and through them this information could be communicated to other members of the resistance such as Poe and Admiral Ackbar. It also seems that Lor San Tekka knows.  However, I can't seem to remember this information ever being communicated to Rey, Finn or General Hux, amongst others. So I was wondering if I missed part of a scene, or there is another canon source, where the characters mentioned find out this information?  When I first saw the scene where Rey calls Kylo Ren a 'Monster' I got a feeling she meant because of the whole patricide thing but I have nothing else to back this up other than the hunch I got in the cinema chair. Additionally Finn could've found out from his time in the FO, as well as General Hux for that matter.


How to export a filtered set of rows from a Google Spreadsheet?

Is it possible, when exporting a Google Spreadsheet into a CSV, to apply this operation only to filtered set of rows?   I need to get in CSV exactly the rows which are visible on the sheet after a filter is applied to it.


How to stop python from converting int to float

I have an integer variable which casts into a floating point number as soon as i divide it. I need to stop this from happening  I've tried explicitly casting the variable after declaring it using the int() function but it still converted to a float as soon as i divided it  x = 5 int(x) x = x/2 type(x)   I expect the output of x/2 since its an integer but the output is 2.5, and when i run it through the type() function it returns a float


In a , I mentioned the possibility of killing a character and restoring them to life as a possible method of removing conditions from them. On reflection, I have no idea whether this works or not, and I can't find anything in my books to prove or disprove it.  Are some or all conditions removed when a character dies? If the answer is some, which ones?


I have a batch file that looks like this:  del db.log start /b mongod --dbpath %~dp0 --logpath db.log   It should delete the existing log file, and then start mongodb without creating a new cmd, logging to db.log. The cmd window still shows though. What am I doing wrong?


Does $\sum_{m=1}^{\infty}\sum_{n=1}^{\infty}a_{mn}^3=\sum_{n=1}^{\infty}\sum_{m=1}^{\infty}a_{mn}^3$ occur here?

Let $\{a_{mn}\},~m,n \in \Bbb{N}$, be an arbitrary double sequence of real numbers then does the following equality occur always?   $$\sum_{m=1}^{\infty}\sum_{n=1}^{\infty}a_{mn}^3=\sum_{n=1}^{\infty}\sum_{m=1}^{\infty}a_{mn}^3$$   I think there is no reason for the equality of this iterated series in general but I cannot figure out how to construct a counter example. Can anyone please help me how to create a example of $\{a_{mn}\}$ such that the given equality does not hold...!!


A PC in our group was off on his own following a recurring villain of our groups. He was paralyzed where he could move, and the vampire bit his neck. The vampire said "now you get to remain 19 (years old) forever" before he left the cave. This was all done in RP.  We found him later, and healed up his bite marks. Our characters know of vampires, specifically only the one that bit him (recurring villain), but don't really know how vampirism works, because it isn't a super common thing in this world yet.   My question as the player is:  How does RAW vampirism work in 5e?  Is it a disease that develops over time? Is it something where they have to die and be brought back as a vampire?


How long does the additional fire damage of an oil flask last?

Here's the description of an :     Oil usually comes in a clay flask that holds 1 pint. As an action, you can splash the oil in this flask onto a creature within 5 feet of you or throw it up to 20 feet, shattering it on impact. Make a ranged attack against a target creature or object, treating the oil as an improvised weapon. On a hit, the target is covered in oil. If the target takes any fire damage before the oil dries (after 1 minute), the target takes an additional 5 fire damage from the burning oil. You can also pour a flask of oil on the ground to cover a 5-foot-square area, provided that the surface is level. If lit, the oil burns for 2 rounds and deals 5 fire damage to any creature that enters the area or ends its turn in the area. A creature can take this damage only once per turn.   The description provides a duration that oil burns while poured onto a surface, but not for oil that's lit while splashed onto a creature. Does a creature covered in oil take the additional 5 fire damage every time it takes fire damage for the one-minute duration until the oil dries, or only the first time?  5e is usually pretty literal about this, and it doesn't say 'the first time the target takes fire damage,' so I'm inclined to think it's the latter. But that seems pretty powerful for adventuring gear that costs a single silver piece, even if it does take an action to set up.


I am not a native English speaker, but I am interested in learning a certain grammar rule. I did come across many sentences where the subject and the verb switched their positions.  For example, I can say that I don't like apples nor does my friend. Here, the modal verb does comes before the subject my friend.  Another example: not only is he a great person, but he is humble.  What is this rule and when is it appropriate to use it?


$$ \sum_{n=2}^{\infty}\frac{1}{(\sqrt{n}+\sqrt{n+1})^p}\ln\left(\frac{n-1}{n+1}\right). $$ For which values of the parameter p is it convergent?


I have the following code:  String date_p = request.getParameter("myText");     DateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy");     java.util.Date frmDate = sdf.parse(date_p);   I get the error as:  type Exception report  message An exception occurred processing JSP page /demo3.jsp at line 22  description The server encountered an internal error that prevented it from fulfilling this request.  exception  org.apache.jasper.JasperException: An exception occurred processing JSP page /demo3.jsp at line 22  19:  20:     String date_p = request.getParameter("myText"); 21:     DateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy"); 22:     java.util.Date frmDate = sdf.parse(date_p);  Stacktrace:     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:575)     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)     javax.servlet.http.HttpServlet.service(HttpServlet.java:731)     org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)    root cause  java.lang.NullPointerException     java.text.SimpleDateFormat.parse(Unknown Source)     java.text.DateFormat.parse(Unknown Source)     org.apache.jsp.demo3_jsp._jspService(demo3_jsp.java:106)     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)     javax.servlet.http.HttpServlet.service(HttpServlet.java:731)     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)     javax.servlet.http.HttpServlet.service(HttpServlet.java:731)     org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)   Why is the parse function not working? I have imported these packages as well - "java.sql., java.util., java.text.*"


I am creating logos and simple images in Illustrator and when I import the AI file OR the png into the InDesign document they are blurry. I have already selected the High-Performance view and it changes the other images but not the imported ones.


I found this insect inside of my shoe. It is approximately 1cm in length and less than half a centimetre wide. It was found in the Netherlands, in the province Gelderland.   Close shot     Distant shot    Upside down     What kind of insect is that?   Edit:   As @fileunderwater suggested: the question is "close" but not identical. I think that the suggested duplicate will only provide an identification of the family of the insect, but nothing more precise and specific. Therefore, the answers for the 2 questions vary.


How can the contact point of rolling body have zero velocity?

They say that for a rolling body, the velocity of the contact point is zero. I'm not getting this. How can it be zero when it's in continuous motion?


Prove that $a:\mathbb{Z}_+\to \mathbb{R}$, with $a_n = \frac{1}{n}$ is a Cauchy sequence.

I am not allow to use the fact if a sequence is convergent then its Cauchy which is the only way I can solve this problem.


Is it okay to cite a Wikipedia page address as a definition of a concept used in my thesis?

I'm using a concept in part of my thesis that is not very well-known, so it's good to give an explanation before going through the rest of the thesis. I'm wondering if I can simply give a Wikipedia page reference for it, so that readers who are not familiar with it can have a look at the given page. For example, let's say I'm using some stuff about Quaternions, can I just add a footnote to the page \footnote{} instead of repeating the same material in my thesis?


How does latent heat of fusion/vaporization/sublimation of water change with pressure?

Latent heat of water phase changes  - at critical point it's zero. At atmospheric pressure, it's given by countless tables all over the net. I can read the pressure and temperature of the phase change for a range of pressure values from the diagram too. But I never found any resource that would show how the latent heat value changes.  Could someone provide some table, equation, graph that gives these values? I would prefer an answer in joules if possible. If you can provide values for a range of pressures, that would be even more welcome, but I specifically want the latent heat of fusion and vaporization of water at 620Pa?  And if that was to be too hard, maybe provide just the values right at the edge of the triple point - if liquid water at just above 0 Celsius degrees is depressurized from 620 to 610Pa, how much of it will evaporate and how much will freeze?  I'm aware of a previous question , which asks about the general effect of pressure on latent heats and the mechanisms behind said changes. Here I'm asking for a specific reference to the values for water as a function of pressure, and particularly for pressures as low as 620 Pa (which is too low for most obvious search results).


Prove $ \forall c \in \mathbb{R^{+}}, \forall B \in \mathbb{N}, \exists n \in \mathbb{N}, (n \geq B) \wedge (\sqrt{2n} > c \ln(n+2)) $?

So far I've proved the following:   $2n \geq \ln(2n) > \ln(n+2)$   for $n \geq 3 $  The proof must be without the use of calculus but I have no idea on how to proceed.


I was playing the Magic 2015 game on my xbox 360 (I know it has a lot of problems but its midly entertaining, I much prefer the card game though but this brought something to my attention and made me want to know if the game on box is wrong or if I am, since when I play with the cards I need to know the rules since we obviously won't just have a judge sitting there the whole time haha)  Pretty simple story They attacked with a 4/1 (Don't remember what it was but it had no abilities) so after combat it became tapped  I cast  but it refused to let me target their tapped creature Flesh to dust has no special rules on targetting just "Target creature"  I think it doesn't matter if their creature is tapped. Am I wrong?


$G=(GL_2(\mathbb R),.)$ be group of all invertible $2x2$ matrices with coefficients in $\mathbb R$ under multiplication.    Find the $Z(G)$  I am having trouble with finding it. We know that elements of $GL_2(\mathbb R)$ have non-zero determinant. Namely, $A\in GL_2(\mathbb R)$ such that $A=\begin{pmatrix} a &b\\ c & d \end{pmatrix}$ then $ad-bc\not=0$. And if $\begin{pmatrix} x & y\\ z & t \end{pmatrix}$ in the center of $G$  Then:  $\begin{pmatrix} x & y\\ z & t \end{pmatrix}\begin{pmatrix} a &b\\ c & d \end{pmatrix}=\begin{pmatrix} xa+yc & xb+yd\\ za+tc & zb+td \end{pmatrix}=\begin{pmatrix} ax+bz & ay+bt\\ cx+dz & cy+dt \end{pmatrix}=\begin{pmatrix} a &b\\ c & d \end{pmatrix}\begin{pmatrix} x & y\\ z & t \end{pmatrix}$  It follows that:   $bz=yc$ $xb+yd=ay+bt$ $cx+dz=za+tc$   As you can see it is very messy, is there any method avaible that help us to find  the center (method can be advanced or elementary.).   Edit:  I didnot know this question has duplicate (sorry about it). However, in given links these are prove-disprove question, I rather than wonder that why someone thinks that center of $GL_2(R)$ should be $Z\bigl(GL(2,\mathbb R)\bigr)= \left\{ \pmatrix{ a & 0 \\ 0 & a } \,\middle|\, a \in \mathbb R\setminus\{0\} \right\}$. Where did the thought come from? Is it too stupid to be curious about ? :)


Date and time stamp automatically added in column

We have a barcode scanner that we use to track student assignments. I am trying to create a Google Spreadsheet that tracks the assignments for each subject.  I have been using the following script:  function onEdit() {   var s = SpreadsheetApp.getActiveSheet();   if( s.getName() == "Sheet1" ) { //checks that we're on the correct sheet     var r = s.getActiveCell();     if( r.getColumn() == 13 ) { //checks the column       var nextCell = r.offset(0, 1);       if( nextCell.getValue() === '' ) //is empty?         var time = new Date();         time = Utilities.formatDate(time, "GMT", "HH:mm:ss");         nextCell.setValue(time);       }     }   } }   However I do not know how to modify the script so that it works in multiple columns on the same spreadsheet. For example a subject may have 2 assignments: Assignment 1 and assignment 2  For assignment 1 I need to scan into column A and have the date stamp added to column B.  For assignment 2 I would scan into column D on the same spreadsheet and have the date stamp added to column E.


I would like to know if there is a method for reading characters from a file and saving them into an array without a specified array length.   In normal situation I read all the characters and count them. (step 1) Then I create the array with malloc and read the characters from the file, so I am forced to read the whole file twice. Can it be done with only one reading?


Following the  and , I've built the following project structure:  ./mydocument.tex ./mystyle.sty ./tex/mysubfile.tex ./img/   mydocument.tex looks like:  \documentclass{report} \usepackage{mystyle} \begin{document} \subfile{./tex/mysubfile.tex}  \end{document}   mystyle.sty looks like:  \ProvidesPackage{mystyle} \usepackage{subfiles} % other packages % command declarations   mysubfile.tex looks like:   \documentclass[../mydocument.tex]{subfiles} \begin{document} % stuff goes here. \end{document}   I'm using (1) the subfiles package because I'd like to compile mysubfile.tex by itself and (2) mystyle.sty because I'd like to modularize this project a bit and split package and command declarations into their own .sty file. The problem is that when I try and compile mysubfile.tex by itself it can't "see" mystyle.sty.   Q: Is there some way I can still satisfy (1), (2), and the project structure outlined above and get things working? Some sort of option or command in the subfiles package?  I've tried: (1) moving mystyle.sty to different directories, (2) moving the subfiles declaration \usepackage{subfiles} to different parts of the document, (3) checking the subfiles documentation. All no dice.   I suppose that the second best option would be to stick all project files in the same folder and get rid of my .\tex folder. At least then, I can get things to compile. But I'd rather not sacrifice the project structure.


How to install gnome shell extensions offline?

I know how to go to the  website and download gnome-shell extensions, but now I need to install some extensions available there on a computer without any internet access at all. It is in a internal corporate network and there's no way I can get outside internet access on it, so I must find another way. I can copy files in a usb disk.   At my home computer, I have found my extensions at ~/.local/share/gnome-shell/extensions/ but just copying this folder to the target corporate computer didn't do the trick.   Running gnome-tweak-tool gives me a "Install Shell Extension" button but I don't know how to download an extension in a format acceptable to install using this button. I have tried to point to the folder above but it didn't work either.  What do I need to do?


What is an "AppImage"? How do I install it?

I just read . It talks about downloading an AppImage.     Yes, Linux; the Linux packages is distributed as an .appimage for 32-bit and 64-bit distributions, and should run across all major Linux distributions without any issues. The team currently have no plan to provide a native .deb (or .rpm) installer.   What are AppImages? How do they differ from snaps?


This problem is probably simple enough to have an analogous problem, I just don't know the name so I'm going to describe it and hopefully somebody can point me in the right direction.  The problem is this: estimating the number of sides of a .   Let's say you perform the following process:   Shake the "Magic 8 Ball" and mark down the result If the result has not previously been seen, add it to the set of possible results and label the trial "N" (for "new") If the result has been previously seen, label the trial "O" (for "old") Repeat all steps   I imagine the following kind of sequence occurring: NNNNONNOONOONOOONOOOONONNOONOOONNOONOOOOOONOOONOOOOOOONOOOOOOOONOOOOOOOO...  Now imagine we don't know there are twenty sides to a Magic 8 Ball. Or imagine that you have a Magic 8 Ball with 1000 sides. As the number of "new" trials approaches the actual number of sides, we'll get increasingly more "old" trials showing up in the mix. Once we've seen all of the possible results, we'll always get "old" results. But we're never 100% sure we've seen every single possible result.  So here are the questions I'm interested in:   As we proceed with trials, can we estimate the total number of "sides" of the Magic 8 ball based on the number of "new" and "old" trials up to this point? Can we calculate a probability that our current estimate is correct, or a probability that some bounded estimate is correct?


Can I erase Windows 8 and install Ubuntu instead?

I recently bought a new laptop computer and have been unable to install Ubuntu alongside the Windows 8 operating system. I used to be able to install Ubuntu alongside a Windows OS but with Windows 8 that's no longer possible or too difficult for me to master. I don't really need Windows so I just want to wipe the disk and do a clean install of Ubuntu. What I want to know is if this is easy - as it used to be - or is it just as complicated as installing Ubuntu alongside Windows 8. Thanks for your replies.


I have 64-bit Ubuntu and Eclipse 64-bit for an older project. In 32-bit I tried to run it, but it doesn't work (swt)... so I decided to download a tarball of Eclipse 32-bit (with JVM 32-bit integrated). All fine, but so far I cannot seem to run it. Do you have any ideas?    4 drwxrwsr-x  9 wouter wouter   4096 Feb 16  2012 .   4 drwxr-xr-x  6 wouter wouter   4096 Mai 20 07:50 ..   4 drwxrwsr-x  2 wouter wouter   4096 Feb 16  2012 about_files  20 -rw-rw-r--  1 wouter wouter  18909 Feb  8  2012 about.html  92 -rw-rw-r--  1 wouter wouter  94179 Feb 16  2012 artifacts.xml   4 drwxrwsr-x  4 wouter wouter   4096 Feb 16  2012 configuration   4 drwxrwsr-x  2 wouter wouter   4096 Feb 16  2012 dropins  64 -rwxr-xr-x  1 wouter wouter  62814 Feb  8  2012 eclipse   4 -rw-rw-r--  1 wouter wouter    408 Feb 16  2012 eclipse.ini   4 -rw-rw-r--  1 wouter wouter     59 Feb  8  2012 .eclipseproduct  20 -rw-rw-r--  1 wouter wouter  16536 Feb  8  2012 epl-v10.html   4 drwxrwsr-x 38 wouter wouter   4096 Feb 16  2012 features  12 -rw-rw-r--  1 wouter wouter   9022 Feb  8  2012 icon.xpm 260 -rwxr-xr-x  1 wouter wouter 266168 Feb  8  2012 libcairo-swt.so  12 -rw-rw-r--  1 wouter wouter   8951 Feb  8  2012 notice.html   4 drwxrwsr-x  5 wouter wouter   4096 Feb 16  2012 p2  40 drwxrwsr-x 22 wouter wouter  36864 Feb 16  2012 plugins   4 drwxrwsr-x  2 wouter wouter   4096 Feb 16  2012 readme wouter@laptop-wouter:~/Downloads/eclipse$ ./eclipse bash: ./eclipse: No such file or directory wouter@laptop-wouter:~/Downloads/eclipse$ sudo ./eclipse sudo: unable to execute ./eclipse: No such file or directory


List of databases which a user can access in SQL 2008 R2

Is it possible to create a list of all the databases where a specific user can access?  For example,  My user is 'Domain\MarySmith'. This user can access on a single database or can access many databases.    I need a query like this:  SELECT All_Db_Name_I_Can_Acces  FROM ServerSql  WHERE Username = 'Domain\MarySmith'


How can I tell if my Mac is keeping the clock updated properly?

I would like to know what the default settings for OS X are in terms of keeping the clock adjusted when I enable automatic time sync in the Date & Time preference.  I do know that the venerable ntpd daemon on Mavericks (10.9) and Yosemite (10.10) is no longer responsible for adjusting the time and instead a new program pacemaker has been introduced — so how can I know things are working or need adjustment to keep time?


Open-source ads: are they really displayed on Stackoverflow?

I may be wrong, but it looks to me that community-upvoted advertisements of open-source projects are never displayed on Stackoverflow site. At least, I don't remember seeing any of these ads on the sidebar where  says they should appear.


I want change variable by class function  class Miasto:   def __init__(self, name):     self.name = name    def go_to(self):     aktywnemiasto = self.name     return aktywnemiasto    m1 = Miasto("t1") m2 = Miasto("qwerty")   aktywnemiasto = "test"   m2.go_to() print(aktywnemiasto)   expected results: aktywnemiasto = "qwerty"  actual results: aktywnemiasto = "test"


Taxonomy menu with a large list of terms

I want to display a list of terms and child terms using Taxonomy menu,my list is very large ( more than 2000 terms), and Im getting this error:  Additional uncaught exception thrown while handling exception. Original  PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT * FROM {system} WHERE type = &#039;theme&#039; OR (type = &#039;module&#039; AND status = 1) ORDER BY weight ASC, name ASC; Array ( ) in system_list() (line 165 of C:\wamp\www\Books\includes\module.inc). Additional  PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] =&gt; theme_registry:runtime:adaptivetheme_admin:cache ) in lock_may_be_available() (line 167 of C:\wamp\www\Books\includes\lock.inc). Uncaught exception thrown in session handler.  PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in _drupal_session_write() (line 206 of C:\wamp\www\Books\includes\session.inc). Uncaught exception thrown in shutdown function.  PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] =&gt; 14337154844f4e188d884c54.86419408 ) in lock_release_all() (line 269 of C:\wamp\www\Books\includes\lock.inc).   Is this because Taxonomy menu can not handle a large amount of terms?


Let $A$ be a ring. If $\operatorname{Spec} A$ is a finite set, then $A$ is a noetherian ring?

$A$ : commutative with unit  $\operatorname{Spec} A$ is finite $\Rightarrow$ $A$ has finitely many maximal ideals $ = \{M_1, M_2, ..., M_n\} $  If $ I_1 \subseteq I_2 \subseteq...\subseteq I_n \subseteq...$ with every $I_j \subseteq M$, $M$  is a maximal ideal of $A$.  Can this imply this ascending chain is stationary?


Moderators should see the relevant privileges/reputation a flagger has

Currently, moderators cannot see quickly exactly which privileges a user who has flagged actually has. As described in  by animuson,     when reviewing flags, we   don't see your reputation. Without opening your profile, we have   absolutely no idea what privileges you actually possess.   In the linked question this has lead a moderator to advice a user to do something he/she doesn't have the privilege to do.  My opinion is that moderators should see the relevant privileges, as it is important when writing out a response. New, low-rep users take what moderators respond to flags for granted, and if the advice is wrong due to grounds that user hasn't got enough privileges, it's a really mixed message that will lead to unneeded frustration.  Here's  where lack of seeing the privileges has lead a moderator to do a wrong decision.


Possibilities of playing "Secret Santa" with $n$ pairs of people

Let $n \in \mathbb{N}_{\geq 1}$ be a number of pairs of people, so in total there are $2n$ people and every person has exactly $1$ partner. Furthermore, if person $A$ is the partner of person $B$, then person $B$ is the partner of person $A$.  The people want to play the game "Secret Santa", which involves giving gifts to people. Every person must give away exactly $1$ gift and must receive exactly $1$ gift. It is not allowed to give a gift to oneself or to ones respective partner.   How many possibilities are there to play this game?  The first few values of the sequence we are looking for are $a_1 = 0, a_2 = 4, a_3 = 80,...$  If we drop the restraint that the people are organised in pairs, then the wanted number is just the number of fixed-point free permutations of $2n$ elements, but the pair requirement seems to substantially complicate things.


Using "Wood" vs. "Woods", Plural or not?

There seems to be some ambiguity to the use of 'wood' in sentences. I have heard both of the following:     I went into the woods   I went into the wood   Which one should I use and when?


This white/yellowish bugs are crawling over my walls under cracks and below my wardrobe. I am not sure if they are bed bugs or some other bugs, there are very small in size thus I zoomed very much on the photograph, I hope someone would be able to assist me on identifying the bug.!


Package Manager MikTex 2.9 crashes if you install any script

I tried installing any script from the Package Manager of latest version of MikTeX but when you try any script, the package manager crashes. I have tried it with and without the admin mode. Moreover, I tried it on different Windows 7 systems, but didn't work on any.  Do you guys also currently experiencing it with MikTeX 2.9?  Thank you.


On Xubuntu 20.04 is there an option to beep while toggling Caps Lock and Num Lock?

I'm using Xubuntu 20.04 and what is missing is an option to enable a beep sound while toggling the Caps Lock and the Num Lock keys, and any advise/suggestion on how to achieve the desired functionality would be greatly appreciated. Thank you.


java.lang.NullPointerException on an opbject, but I'm not use which object

I have been having this issue a bunch when referencing my Firebase database. I think there is an issue with the data not actually being able to receive data from the database, or when it executes the first bit of code there, it doesn't actually have a user before it gets a UID. but I'm not entirely sure.     java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.firebase.database.DatabaseReference   com.apex.quotable.managers.DatabaseHelper.getDatabaseReference()' on a   null object reference                         at com.apex.quotable.managers.ProfileManager.isProfileExist(ProfileManager.java:61)                         at com.apex.quotable.activities.LoginActivity.checkIsProfileExist(LoginActivity.java:117)                         at com.apex.quotable.activities.LoginActivity.access$500(LoginActivity.java:30)                         at com.apex.quotable.activities.LoginActivity$4.onAuthStateChanged(LoginActivity.java:84)                         at com.google.firebase.auth.zzl.run(Unknown Source:24)                         at android.os.Handler.handleCallback(Handler.java:790)                         at android.os.Handler.dispatchMessage(Handler.java:99)                         at android.os.Looper.loop(Looper.java:164)                         at android.app.ActivityThread.main(ActivityThread.java:6494)                         at java.lang.reflect.Method.invoke(Native Method)                         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)   Then, it is saying the error comes from here:  checkIsProfileExist(user.getUid());   Then,  private void checkIsProfileExist(final String userId) {     ProfileManager.getInstance(this).isProfileExist(userId, new OnObjectExistListener<Profile>() {         @Override         public void onDataChanged(boolean exist) {             if (!exist) {                 startCreateProfileActivity();             } else {                 PreferencesUtil.setProfileCreated(LoginActivity.this, true);                 DatabaseHelper.getInstance(LoginActivity.this.getApplicationContext())                         .addRegistrationToken(FirebaseInstanceId.getInstance().getToken(), userId);             }             hideProgress();             finish();         }     }); }   then  public void isProfileExist(String id, final OnObjectExistListener<Profile> onObjectExistListener) {     DatabaseReference databaseReference = databaseHelper.getDatabaseReference().child("profiles").child(id);     databaseReference.addListenerForSingleValueEvent(new ValueEventListener() {         @Override         public void onDataChange(DataSnapshot dataSnapshot) {             onObjectExistListener.onDataChanged(dataSnapshot.exists());         }          @Override         public void onCancelled(DatabaseError databaseError) {          }     }); }


How to Clear Browser Cache in Javascript / JQuery or AngularJS

Here we are using Pdf.js extension and Ifram in application, but we are facing issue with browser cache, its storing in browser but the physical files getting changed by service, and after file content change also its showing previous document details, its not refreshing.  Please provide a solutions to clear cache (Text of webpages you've visited in Google Chrome is removed from your computer. Browsers store elements of webpages to speed up the loading of the webpage during your next visit. — Source) in in Javascript / JQuery or AngularJS  tried with  app.js?123 and  <meta http-equiv="Cache-Control" content="no-cache, no-storeenter code here, must-revalidate"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Expires" content="0">  but not working....???


Should posts be self-contained; that is, should questions and answers avoid linking to outside material?  For example, I  to inline code the author had put in a paste bin.  Was that appropriate?


What exactly is 70mm print and why does anyone care?

There has been a bit of controversy lately over the release of Tarantino's Hateful Eight movie. As I understand it, the movie was scheduled to play in a particular theater in Los Angeles that plays 70mm format. Disney chose to push/force/coerce/convince/whatever this theater into showing The Force Awakens instead.  This has caused a rather large uproar from both Tarantino, as well as many of his fans.  I will be honest, before I read this story I had never heard the term "70mm" before in my life; I only last week learned that there is a theater in my area that screens 70mm prints. Now I'm wondering what the big deal is, how these are any different from the versions shown at my usual theater, and why this format seems to have suddenly, out of nowhere (at least from my perspective) become a big deal.


Request UAC elevation from within a Python script?

I want my Python script to copy files on Vista. When I run it from a normal cmd.exe window, no errors are generated, yet the files are NOT copied. If I run cmd.exe "as administator" and then run my script, it works fine.  This makes sense since User Account Control (UAC) normally prevents many file system actions.  Is there a way I can, from within a Python script, invoke a UAC elevation request (those dialogs that say something like "such and such app needs admin access, is this OK?")  If that's not possible, is there a way my script can at least detect that it is not elevated so it can fail gracefully?


My server potentially hacked . How to clean a server from rogue processes

I am a newbie and my first server seems to have been hacked. I am not sure how to clean it. There are processes hogging the CPU that am not the owner of. All the 12 CPUs are almost all running at 100%. Kindly see htop screen shot  I have run a netstat and below is a summary of the output sudo netstat -anolp Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    Timer tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      4869/java           off (0.00/0/0) tcp        0      0 127.0.0.1:27017         0.0.0.0:*               LISTEN      15327/mongod        off (0.00/0/0) tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      4124/mysqld         off (0.00/0/0) tcp        0      0 127.0.0.1:9100          0.0.0.0:*               LISTEN      24415/node_exporter off (0.00/0/0) tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      16039/nginx -g daem off (0.00/0/0) tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      5824/config.ru      off (0.00/0/0) tcp        0      0 127.0.0.1:9168          0.0.0.0:*               LISTEN      24370/ruby          off (0.00/0/0) tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      13595/sshd          off (0.00/0/0) tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      2370/master         off (0.00/0/0) tcp        0      0 127.0.0.1:9121          0.0.0.0:*               LISTEN      24450/redis_exporte off (0.00/0/0) tcp        0      0 127.0.0.1:9090          0.0.0.0:*               LISTEN      24429/prometheus    off (0.00/0/0) tcp        0      0 127.0.0.1:9187          0.0.0.0:*               LISTEN      24421/postgres_expo off (0.00/0/0) tcp        0      1 my.ser.ver.ip:41037    172.247.116.47:2017     SYN_SENT    26521/mbb           on (57.32/6/0) tcp        0      0 my.ser.ver.ip:45599    124.112.1.160:29135     ESTABLISHED 32265/DDosClient    off (0.00/0/0) tcp        0      0 127.0.0.1:9001          127.0.0.1:54729         ESTABLISHED 4869/java           keepalive (2412.64/0/0) tcp        0      0 my.ser.ver.ip:49366    31.222.161.239:8080     ESTABLISHED 14106/hald-daemon   off (0.00/0/0) tcp        0      0 my.ser.ver.ip:57275    163.172.204.219:443     ESTABLISHED 20238/wDHnu         keepalive (45.40/0/0) tcp        0      0 127.0.0.1:9001          127.0.0.1:54909         ESTABLISHED 4869/java           keepalive (2445.40/0/0) tcp        0      0 my.ser.ver.ip:56654    45.125.34.159:6969      ESTABLISHED 27006/XDTQK         off (0.00/0/0)  I tried killing them using kill with their PID one by one but after some time they came up again. So I checked my cron, and there were some entries there that I didn't do so I clear them as well. I compared the crons with a new box I just launched. I disabled the root login, created another sudoer with pem file instead. Now I need to find a way to clean this once and for all and I lack experience. Can anyone please help me out? Thanks in advance


Why do you show Moderator's review count even when there is not flags to review?

For last two days I see random moderator's flags review count at top bar:        When refresh the page it shows some numbers. When I click on that number it redirects me to Tools -> flags. But I don't see any pending flags there.        Is this a bug or I am missing something?  Notes:    There is no userscript running in my browser for flags like .  I also see this from my Android mobile (Fullsite view)


How to choose a specific weight from a font family using fontspec and XeLaTeX

I have installed an open-type font on my OS and would like to use in a LaTeX document using XeLaTeX.  It works fine, but when I define my font family like this:  \ifxetex   \newfontfamily{\neosans}{NeoSans}  \else \fi   When I then use \selectfont\neosansit just selects the Regular version of that font. However, I would like to use the Light version!  Even if I write \newfontfamily{\neosans}{NeoSans-Light} or \newfontfamily{\neosans}{NeoSans Light} it still chooses the Regular version.  The specifications of the font I would like to use looks as follows (in Danish, though):    My question is  How do use the Light version of the font?


~/.pam_environment doesn't work since Ubuntu 13.04

I have this line in my ~/.pam_environment:  PATH             DEFAULT=${HOME}/bin:${HOME}/.local/bin:${PATH}   and it worked perfectly well on Ubuntu 12.10, but since I've updated to 13.04 it is completely ignored:  $ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games   Any ideas why?


Windows-7 is configured to automatically login on boot.  I want to change which user it logins to.  more details I have 3 accounts:   Administator   administrator no password default for auto login  Mine   administrator password protected I want this to be the default  Other   standard user no password  Guest (disabled)


Blandford-Znajek process: Why/how does the current flow along the magnetic field lines

Related:   I have put a bit of commentary enumerating my confusions in parentheses  I read in Black Holes and Time Warps (Kip Thorne), that quasars can generate their jets from four different processes. These all involved the accretion disk, but there was one which doesn't make quite as much sense. It was called the Blandford-Znajek process, and it involved magnetic field lines carrying current.  The process was visualized in two ways. A black hole, with magnetic field lines, is spinning. In the first visualisation (viewpoint actually), the magnetic field lines 'spin' along with the black hole, and nearby plasma is anchored onto the field lines by electrical forces (where did the electrical fields come from?). The plasma can slide along the field lines but not across them (why?).  Since the field lines are spinning, centrifugal forces will fling them up and down the field lines, forming jets.  The other viewpoint is this, and it makes even less sense (to me that is, I haven't had a formal education in GR): The magnetic fields and the swirl of space generate a voltage difference across the field lines (Why? How?). The voltage carries current across the magnetic field lines (why are the field lines behaving like wires?). This current travels across plasma, which accelerates it, creating the jets.  Now the main thing that doesn't make sense, is that magnetic field lines are behaving like wires. Why would they? I suspect the answer lies hidden somewhere in the equivalence of EM waves in different frames, but I can't think up any convincing argument from that side.  If the answer involves GR equations, you don't need to solve it here (wouldn't make sense to me), but if you have to, just refer to the equation and what you did to it, along with the final result. Thanks!


According to the poem:     Three Rings for the Elven-kings under the sky,   Seven for the Dwarf-lords in their halls of stone,   Nine for Mortal Men doomed to die,   One for the Dark Lord on his dark throne   In the Land of Mordor where the Shadows lie.   One Ring to rule them all. One Ring to find them,   One Ring to bring them all and in the darkness bind them   In the Land of Mordor where the Shadows lie.   This implies that the One Ring has power over the other rings and those that bear them. I'm not fully knowledgeable about the state of the other rings in the setting of the Lord of the Rings trilogy but I'm under the impression that nine rings were worn by the Nazgûl were already under the power of Sauron. The rings given to the Dwarves were lost, or Sauron had recovered them. The rings owned by the elves could have been destroyed or safely hidden so to avoid being used by anyone.  Why was it imperative that the One Ring be destroyed if its control over the other ring bearers would be negligible?


Get Lightning Component Nested Inside Another Nested Component

I have a scenario where my Lightning component needs to reference a value inside the child component of a nested component. The nesting looks like this:  - Lightning Component   - Nested Component 1     - Nested Component 2   The top-level Lightning component needs to get a value from Nested Component 2.  I'm familiar with getting values in a child/nested component:  var nestedCmp = component.find("nestedComponent1"); var myValue = nestedCmp.get("v.firstName");   But I don't know how to do this when the component is a child of a nested component. How can the value be referenced?


STL Vectors and Boost Multi Arrays in production

I have an application that makes extensive use of STL vectors and Boost multiarrays. The application is very sensitive to performance since it profiles large amounts of data in real time.   Since vectors and multiarrays do out of bounds checks, I would expect to incur some performance penalty as a result. I was wondering if there was a way to allow error checking only during development, but disable it in production.   So, I would like to know if this is indeed possible, and whether it would make a difference to the performance of my containers?


Fixing wall mounted towel rail to plasterboard wall

I have a narrow ensuite and so am looking for a space saving towel rail solution, such as .  Unfortunately, I believe the studs in my wall or located such that one is within my shower and the next is in the middle of the gap between the shower and sink where I would like to affix the towel rail.  Are there any plasterboard fixings that would be suitable to achieve this in order to hold to bath sheets and possibly a hand towel? I believe the two strongest are  and ?  Am I asking too much of my wall?  Thanks  Edit: Or are  better? What is everyone's thoughts on  Anchors?


Typically without is used to mean not having something. E.g.  He went to work without his pants on.  However, I'm wondering if it can be used for outside the bounds of. We do this with within. For example:  Please keep your children within the bounds of the school.  So could the following:  The vigilante was operating without the bounds of the law (or) The shop refused to refund my item, as it was without the warranty period.  be viewed as being acceptable?


Find the values of $x$ where $x \in R $ which satisfy the equation: $2^x+5^x=3^x+4^x$ other than $x=0, 1.$   I got the answer using Mean Value Theorem that there is no other solution but is there any other method to do it? (Is this a one-way math?)  I thought of proving that $5^x> 3^x+4^x$ $\forall$ $x>2$ but we have $x \in R $ and hence it is incomplete. The last digit calculation also doesn't work out since $x \in R $.  Would be glad if someone could suggest some other method to do it.


Why does lateral force act on front wheels when rear wheels are locked?

While I was reading  up on vehicular dynamics, I came across a point that when rear wheels are locked, lateral force acts on the front wheels.  Why does this happen?


Suppose that these events occur by this order:  Someone posts a question. User A posts an answer. User B posts an answer. The answer posted by user A gets deleted. The answer posted by user B gets accepted; also it gets a score of 10.  In this situation, will user B get the Enlightened badge? The  in the Help Center says that that badge is given under these conditions:  First to answer and accepted with score of 10 or more.  But it is not clear (at least not to me) whether or not an answer is considered as the first answer if it is just the first undeleted answer.


How to Make Bootcamp Windows 7 Folders Accessible in Mac OS

Installed windows 7 on Bootcamp partition. I want to copy files to my Windows 7 folder from Mac OS but do not have appropriate permissions, when I drag something to any windows folder it doesn't allow it.


Topology: Example of a compact set but its closure not compact

Can anyone gives me an example of a compact subset such that its closure is not compact please? Thank you.


What's the difference between `en0` and `eth0`?

What's the difference between en0 and eth0?  In my CentOS 6 VM, there is list of network-scripts:  [root@localhost /]# ls /etc/sysconfig/network-scripts/ ifcfg-en0    ifdown-ipv6    ifup          ifup-plip    ifup-wireless ifcfg-eth0   ifdown-isdn    ifup-aliases  ifup-plusb   init.ipv6-global ifcfg-lo     ifdown-post    ifup-bnep     ifup-post    net.hotplug ifdown       ifdown-ppp     ifup-eth      ifup-ppp     network-functions ifdown-bnep  ifdown-routes  ifup-ippp     ifup-routes  network-functions-ipv6 ifdown-eth   ifdown-sit     ifup-ipv6     ifup-sit ifdown-ippp  ifdown-tunnel  ifup-isdn     ifup-tunnel   you see there are ifcfg-en0 and ifcfg-eth0, does it have any difference between them? the ifcfg-eth0 I have used(configured data in it), now I want to add a more IP address, which file I can configured?    EDIT-01  The  is not related to my post, mine is enX.


How do you append corresponding lines in one file to corresponding lines of another file

For example if I have file A: s   s   s   s   s    And file B: d   d   d   d   d    How do I make file C: s d   s d   s d   s d   s d     I have been trying to use sed, awk, and xargs but to no success. I'm using bash on a mac.


QGIS Wien 2.8. Openlayers plugin doesn't work

I have installed the latest version of QGIS wien 2.8. Windows 8.1 downloaded the stand alone version from official QGIS website.   I had to uninstall the latest one I had because Openlayers plugin was downloaded and installed but one day it stopped appearing in my toolbar.   So I uninstalled and removed everything and installed again, but the problem remains, just as with the previous one.   Can anybody help me with this issue?


What's the unit of measurements produced by "sum line lengths"?

My goal is to find the total length of roads per county for a particular state. You would think there would be a simple government spreadsheet with this information in it....  I cannot figure out how to find the summed lengths of a polyline layer(roads) in each county (polygon) in QGIS. I have tried using Vector-> Analysis -> Sum line lengths but it just reproduces the county shapefile with a length column, of which I have no idea what unit it is in.


I have run into a problem that I see has been posted previously, but none of the posted solutions seem to solve my problem.  I have:   A shapefile (with geometry) with a single row for many counties. A CSV file (without geometry) that has multiple rows (representative of different time points) for each county.      Each of these files has an identifier in common “CQID”, which is unique to the county. As such, the shapefile has 1 of each CQID. The CSV has nine of each of the CQID’s (since I have nine time points).  I would like to join the CSV file into the shapefile. So far, I have tried and failed, to solve this problem doing the following:   Using the Join Feature in the Layer Property of the shapefile. Creating a “Relation” of the two files, via Project properties   I expect to look at the attribute table of my shapefile, and see that where I had a single line for each county, there are now nine lines for each.    How do I achieve this is QGIS?   Alternatively, is it easier to do so in ArcMap? Any good tutorials for that?


How do I remove "Birthdays" from Google Calendar?

I noticed a turquoise entry had creepily appeared on my Google Calendar for someone called "Gavin" (I know several). A recent update adds a "Birthdays" calendar. It turns out these come from Google+ Circles. Apparently Google+ is still running. I use the calendar in month view, and this is really annoying. How do I remove it?  "Calendar Settings" has the "SHOW IN LIST" tickbox greyed out. The main view only seems to allow me to change its colour. The only option in "Birthday Details" is to change the name to something personally offensive about Google employees. Should I just delete everything from Google+?


CREATE INDEX vs ALTER TABLE ADD INDEX - MySQLism, or SQL Standard?

Just came across a weird issue, whereby depending on how I create an index, an index name is required.      CREATE INDEX `random_name` ON `my_table` (`my_column`); # Requires an index name  ALTER TABLE `my_table` ADD INDEX (`my_column`); # Does not require an index name   It seems to me that the CREATE INDEX call, should not make index name required. I'm wondering if this is a MySQLism, or a SQL standard?


$|f(x)-f(y)|\geq k|x-y|$.Then $f$ is bijective and its inverse is continuous.

My exercise says: Let $f:\mathbb{R} \rightarrow \mathbb{R}$ a continuous function e suppose that exists $k$ such that:  $$|f(x)-f(y)|\geq k|x-y|$$  Then $f$ is bijective and  its inverse is continuous.  Well, there's a Theorem , Invariance of domain, that says   "If $U$ is an open subset of $\mathbb {R^n}$ and $f : U \rightarrow\mathbb{R}$ is an injective continuous map, then $V = f(U)$ is open and $f$ is a homeomorphism between $U$ and $V$".  But I'm not knowing how to proceed...need a clue...Thanks for attention!!!


Co-integration relationships mixed with stationary variables. Correct specification?

Suppose we have three variables $y_t$, $x_{1t}$, $x_{2t}$. $y_t$ and $x_{1t}$ are co-integrated. $x_{2t}$ is stationary. Now, is the regression model $$\Delta y_t = C + \beta_0(y_{t-1}-\alpha x_{1,t-1}-c)+ \beta_1\Delta x_{1t} + \beta_2 x_{2t}+\epsilon_t$$ valid?


Tag search bar not working in mobile version of Stack Overflow

I want to filter questions based on some tag that I enter in the search bar in the  Tag section of the mobile version of Stack Overflow. But when I write my tag name inside the search bar & hit enter, it does nothing. I tried entering the tag names inside square brackets as well but still nothing happens. At first I thought the problem would be with my browser so I switched to Google Chrome mobile version and guess what? It doesn't work there either. Why doesn't it work? is this some kind of known bug?  Browsers tested on:   Uc & Chrome  My Phone:   Lenovo p2  Os: Android   7


Here is my sqrt function. I want to output the double value with specific precision.  But I was getting this output: "the sqrt of 0.5 is: 0.7071069999999999 "  The odd thing is, when I was debugging, the longResult is 707107  public static double precision = 0.000001;  // the main sqrt function using binary search public static double Cal(double input){     if(input < 0) return -1;     if(input == 0 || input == 1) return input;      // the sqrt value shall be between 0 ~ input. we use 二分法 to search for the value;     double min = 0;     double max = input;     if(input < 1) {         min = input;         max = 1;     }      double mid = 0;      while(max - min > precision){         mid = (min + max) / 2;         if(mid * mid == input) return mid;         else if(mid * mid < input) min = mid;         else max = mid;     }     long longResult = (long)((max + min) / 2 / precision);     return longResult * precision; }  public void Test(){     double input = 0.5;     System.out.println(String.format("the sqrt of %s is: %s", input,Sqrt.Cal(input))); }


Speed of light dependent on source velocity in other medium

Does speed of light depends upon the velocity of source in a medium (like water) other than space? if yes, does the speed gets added up when the light source moves in direction of light?


Why do acts of "accidental" magic only seem to happen around Muggles?

There are several times in the books (and movies) where it is either mentioned or depicted that magical people, in moments of stress, are capable of accidentally causing magic to happen. The biggest examples are probably in the first book when Harry makes the glass disappear from the boa's tank at the zoo (it is also mentioned that accidental things have happened before earlier in his childhood), and in the third book when he inflates Aunt Marge.  The thing I've noticed, though, is this only ever seems to happen when they're out in the Muggle world, surrounded by non-magic folk. It is fairly obvious Harry faces some extremely stressful situations while at Hogwarts (the books wouldn't be very exciting otherwise!), and yet throughout all of those situations, Harry (or the other characters for that matter) never once make anything accidental happen like what happened with Aunt Marge. Is there a particular reason for this?   Note: Canon answers would be greatly appreciated.


Compatibility with Dell XPS 13 (2 in one) - model 9310

I was willing to buy a Dell XPS 13 2 in 1 (model 9310) but the seller told me that it is not compatible with Ubuntu. Could anybody confirm? Thanks.


How to create a desktop shortcut for a command?

I use a dongle for using internet on my kubuntu desktop. But to use the dongle, everytime I have to run MobilePartner from /usr/local/airtel/MobilePartner using terminal. Is there any way I can create a desktop shortcut for the command above.  Can a app do it?


Are Exponential and Trigonometric Functions the Only Non-Trivial Solutions to $F'(x)=F(x+a)$?

Are exponential & trigonometric functions the only non-trivial solutions to $F'(x)=F(x+a)$?   $F(x)=0$ would be the trivial solution. Then, for $a=0$ (or  $a=2\pi i$), we have $F(x)=e^x$, and for $a=\dfrac\pi2$ there are $F(x)=\sin x$ and $F(x)=\cos x$. But the three are connected by  $e^{ix}=\cos x$ $+i\sin x$. Indeed, on a more  note, letting $F(x)=e^{\lambda x}$, we have $\lambda=\dfrac{W(-a)}{-a}$ where W is the . My question would be if these are the only ones, due to the special properties of the number e and the exponential function, or if there aren't by any chance more, which do not belong in the same family or category as these, i.e., which are not exponential or trigonometric in nature ? Thank you.


I saw this in , in reference to shortcomings of the Java spec:  There are more shortcomings and this is a subtle topic. Check  out: public class methodOverloading{      public static void hello(Integer x){           System.out.println("Integer");      }       public static void hello(long x){           System.out.println("long");      }       public static void main(String[] args){          int i = 5;          hello(i);      } }  Here "long" would be printed (haven't checked it myself), because the compiler chooses widening over auto-boxing. Be careful when using auto-boxing or don't use it at all!  Are we sure that this is actually an example of widening instead of autoboxing, or is it something else entirely? On my initial scanning, I would agree with the statement that the output would be "long" on the basis of i being declared as a primitive and not an object.  However, if you changed hello(long x)  to hello(Long x)  the output would print "Integer" What's really going on here?  I know nothing about the compilers/bytecode interpreters for java...


Consider the following code:  void Handler(object o, EventArgs e) {    // I swear o is a string    string s = (string)o; // 1    //-OR-    string s = o as string; // 2    // -OR-    string s = o.ToString(); // 3 }   What is the difference between the three types of casting (okay, the 3rd one is not a casting, but you get the intent). Which one should be preferred?


I can't import arcpy into 64 bit Python. It works just fine in the python install from arcGIS, though. When I try to import it elsewhere, I get this error:  Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\__init__.py", line 21, in <module> from arcpy.geoprocessing import gp   File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\geoprocessing\__init__.py", line 14, in <module> from _base import *   File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\geoprocessing\_base.py", line 14, in <module> import arcgisscripting ImportError: DLL load failed: %1 is not a valid Win32 application.   I've been looking for a solution, but what I'm finding seems to be "too bad, doesn't work in 64-bit." Is this the case?  Edit: working with ArcGIS 10.2.2, Python 2.7.8  Edit: I believe the problem is that I only have the trial version of ArcMap, which apparently doesn't support the 64-bit background geoprocessing installation


Some sites with wiki-engine in the web for hosting

Are there any sites in the web like Wikipedia and this site, which have wiki-engine and may be used for hosting? Wikipedia has some troubles nowadays with formulas tags converting, so I want to use the other site.


With OpenDNS now needing one to be on the pro package to have filtering turned on, being on a tight budget, we are in need of free DNS filtering.  After reading , I collected SquidGuard blacklists and concatenated domains in the categories i needed into one big list. I then fed it to  generating a file containing about 2 million zones.  named-checkconf parses it just fine, but reloading named takes almost 10 minutes, then it wont resolve anything, and the server slows down to a crawl. Removing the include results in named working properly again.  Whats the proper way to set up BIND9 to work as a DNS firewall efficiently? If it's possible to also block any domain that resolves to specific IP addresses that would solve the whole problem.   I'm running bind as non-authoritative, just a caching server.


How do you put { and } in a format string

I'm trying to generate some code at runtime where I put in some boiler-plate stuff and the user is allowed to enter the actual working code.  My boiler-plate code looks something like this:  using System;  public class ClassName {     public double TheFunction(double input)     {         // user entered code here     } }   Ideally, I think I want to use string.Format to insert the user code and create a unique class name, but I get an exception on the format string unless it looks like this:  string formatString = @" using System;  public class ClassName {0}     public double TheFunction(double input)     {0}         {2}     {1} {1}";   Then I call string.Format like this:  string entireClass = string.Format(formatString, "{", "}", userInput);   This is fine and I can deal with the ugliness of using {0} and {1} in the format string in place of my curly braces except that now my user input cannot use curly braces either.  Is there a way to either escape the curly braces in my format string, or a good way to turn the curly braces in the user code into {0}'s and {1}'s?  BTW, I know that this kind of thing is a security problem waiting to happen, but this is a Windows Forms app that's for internal use on systems that are not connected to the net so the risk is acceptable in this situation.


$X$ and $Y$ are independent Poisson distributed values with means $θ$ and $2θ$. Consider the combined estimator $\gamma = k_1\cdot X + k_2\cdot Y$

$X$ and $Y$ are independent Poisson distributed values, means are $θ$ and $2θ$.  Consider the combined estimator $$\gamma = k_1\cdot X + k_2\cdot Y$$ where $k_1$ and $k_2$ are arbitrary constants.  (a) Find the condition on $k_1$ and $k_2$ such that $\gamma$ is an unbiased estimator.  To solve this I let $\theta = E[k_1X + k_2Y] = k_1E[X] + k_2E[Y]$  $\theta = k_1\theta + 2k_2\theta$, $k_1 + 2k_2 = 1$  However I'm stuck when it comes to the next 2 parts:  (b) For $\gamma$ unbiased, show that the variance of the estimator is minimized by taking $k_1 = 1/3$ and $k_2 = 1/3$.  (c) Given observations x and y find the maximum likelihood estimate of θ. and hence show that $\gamma$ is also the maximum likelihood estimator.  I'm not sure where to even start for part (b) and part (c). Any help would be appreciated!


Replace all non alphanumeric characters except emojis

I am trying to remove all non alphanumeric characters except emojis. So the wrote the following code:  >>> import re >>> re.sub(r"[^a-zA-Z0-9_#@\s\U00010000-\U0010ffff]", '', "THAT ASc776 ^ .? + #> _")   Its works fine and returns:  'THAT ASc776  ?  #> _'   But if I put emoji in the text, I still get the same result:  >>> re.sub(r"[^a-zA-Z0-9_#@\s\U00010000-\U0010ffff]", '', "THAT😋 ASc776 ^ .?😋 + #> _") 'THAT ASc776  ?  #> _'   I realize that Emojis are unicode, so I also tried the following  >>> RE_EMOJI = re.compile('[^\U00010000-\U0010ffffa-zA-Z0-9_#@\s]', flags=re.UNICODE) >>> RE_EMOJI.sub('','AHAT😋 ASc776 ^ .?😋 + #> _') 'AHAT ASc776  ?  #> _'   But it still doesn't recognize the emoji. So what's the correct way to remove all alphanumeric characters excluding emojis from a text.   EDIT:  With python3.5 the code works correctly and produces the correct output. However, I am using python2.7, and it doesn't work with python2.7.


Looking for a physics textbook on fluid mechanics

The title pretty much explains itself, could someone recommend me a textbook on fluid mechanics for someome who knows nothing about it? I've already learnt some vector calculus and I'd like to learn fluid mechanics so I can use them.


Undelete accidentally deleted records in Sqlite3

As title, possible? I have by accident deleted another record due to my ugly html interface in FireFox. The bad thing is this record delete is a root folder which the program automatically cascade delete everything :(


Should we average weight decay loss in neural network?

In a typical neural network, which way is the common way to add regularization?   Assuming regression task, regression error loss is Mean-squared-error   Then we can have two choice of regularization on weights:   $\lambda$ * $\sum ||W||^2$ $\lambda$ * $\textbf{average} ||W||^2$    I have seen most people use the first option, just being curious to ask.


Error with special characters in site column names referenced by a calculated column

I have a site column Construction - Complete Date which is used by my calculated column Construction - Is Complete?.  Whenever a date is entered for the Construction - Complete Date then Construction - Is Complete? should be equal to "Yes" otherwise it is "No".  My calculated column formula reads as below:  =IF(ISBLANK([Construction - Complete Date]),"No","Yes")     However, when I save the calculated column and check my existing rows the calculation is not being done correctly.  When I go back to my calculated column the formula has changed to this:  =IF(ISBLANK(#NAME?-#NAME?),"No","Yes")   I've read in this  that it is a problem for site columns but not for list columns and that the solution is to change the name and remove the "-".  However, I need to keep it as a site column because it is used by multiple content types and I use the "-" convention to group common fields that are all for the same list entry.  Is there an alternative option where I could keep the name and get the calculated column to work?


Install Intel AC 8260 wireless drivers offline

As my laptop does not have Ethernet port, to set up wireless, I need to install drivers offline.  My Ubuntu version is 14.04.3, and kernel version is 3.19.0-25-generic.   Output of the command:  lspci -knn | grep Net -A2:   is:   01:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)     Subsystem: Intel Corporation Dual Band Wireless-AC 8260 [8086:0010]   Since here:    it is suggested to try following these steps:     I tried, but without any success.  Now I am not sure what to try next. I am not Ubuntu expert, and would appreciate any help.  Thanks a lot in advance.


I have someone how changed the view that the Attributes are displayed when right clicking on a layer > "Open Attribute Table".  I don't see the individual cells but instead see a view that appears to be the structure of the table. How to I change it back?


I've made a couple of PCBs which need the odd few 10 mil tracks, but are mostly 20/30 mil. Unfortunately the etching process isn't fantastic and there are numerous breaks in the traces, most of them small.  I've managed to convince solder lumps to go over the top of the smaller gaps, and have used components legs to bridge some of the larger ones. The solder lumps don't feel particularly reliable though, and there are some gaps which are too small and awkward to get a piece of wire across but too big to be bridged with just the iron.  Are there any standard ways to reliably fix up broken traces?  Update: Thanks for the suggestions everyone!  I found and tried out a silver conductive pen. As a first time user I found it difficult to dispense, and obviously I didn't use enough of it or mix it properly because it didn't even end up being conductive.  It seems like the main problem was that I was trying to use pieces of wire which are too short. I found some small gauge tinned wire and used longer lengths, running it over significant lengths of good track on either side of the fault. That makes it much easier to position, and you can tack them down one end at a time.


Prove the series $ \sum_{n=1}^\infty \frac{1}{(n!)^2}$ converges to an irrational number

How can one prove that the series $\displaystyle \sum\limits_{n=1}^\infty \frac{1}{(n!)^2}$ converges to an irrational number? There's no need to use Taylor expansion, integrals or any advanced/professional techniques. It can be proved using only basic techniques. My first attempt was to assume that the series does converge to a rational number $ \frac{p}{q}$ and then it follows by definition that for every positive epsilon there exists an integer k such that $ {\sum_{n=1}^{k} \frac{1}{(n!)^2} -\frac{p}{q}}<=\epsilon$ I tried to get a contradiction but I failed.


My ipod 1st gen is disabled for 45 years and wont sync to my laptop since it is disabled

I no longer know where my old computer which was synced with my 1st gen is. my ipod 1st gen is now disabled for 45 years and I cannot sync it with me new laptop since it is disabled WHAT DO I DO!!!!!!!!!!!!


Let's say we have an object lying on a slope, the weight of the object can be divided into two components one horizontal and one vertical. My question is does the weight act only in these two directions or does it spread evenly between the the both components?


(click to expand image)  The iOS app appears to be loading the wrong site icon for blog posts on the Feed.   App Version: 1.6.6.2 Device: iPhone 6 OS Version: Version 10.3.3 (Build 14G60)


Derivation of polytropic process equation

I know that a polytropic process equation is often the result of an empirical fit of a P-V curve that allows one to derive some nice analytical equations for the process.  Is there actually a derivation for the polytropic process equation?


how do i prove that the the set of irrationals cannot be a countable union of closed subsets?

Let $\mathbb{R}$ be equipped with the standard topology.  Let $E$ be the set of irrational numbers.  How do i prove that $E$ is not a countable union of closed subsets, using Baire Category Theorem?


Seeking Openlayers and GeoServer tutorials?

Where I can learn to use OpenLayers and GeoServer?


How am I able to record the output on my Mac meanwhile I am listening it with earplug? i.e. listen something in browser in youtube and I want to record it as well?


When i work on QGIS project (named "pro"), some file with this symbol appears in the workspace folder with the name "pro.qgs~":     I tried to open it- but with no success.   How can i open it and what is the purpose of it? What to do, so this file will not create in the folder?


Arranging numbers from $1$ to $n$ such that the sum of every two adjacent numbers is a perfect power


$\sin(\alpha \pi/2) = \beta$ where $\alpha,\beta \in \mathbb{Q} \cap [-1,1]$

For what values $\alpha,\beta \in \mathbb{Q} \cap [-1,1]$ can we have $$\sin(\alpha \pi/2) = \beta$$ The immediate answers are $$(\alpha,\beta) \in \{(0,0),\pm(1/3,1/2),\pm(1,1)\}$$ Are there any other values?


Alternative definition of positive definite matrix

In a text book I am following, there is a definition of positive definite matrices, which I did not see before:  $x^TAx \geq \alpha x^Tx$   where $\alpha$ is a positive scalar and $x \in \mathbb{R^n}$.  The usual definition I know is for every non-zero vector $x \in \mathbb{R^n}$, it is $x^TAx > 0$.  These definitions must be equivalent. It is trivial to show that the first definition implies $x^TAx > 0$. But I failed to see a way to show the other way around of the equivalence. I thought of applying SVD to the matrix $A$ and  tried to find a way to show that $x^TAx$ is always lower bounded by a $\alpha x^Tx$ with $\alpha$ being positive, using singular values and vectors of $A$ but couldn't move forward. What is the correct way of approach here?  (The other question in the board assumes symmetric matrices. This one does not).


It really bothers me when a comment on a question is not about the question itself but some meta discussion like whether it should have a tag or not. I think it would be best to have some kind of metacomment for each question that could be displayed at a slightly different place than the other comments, or maybe they could have another color, or an option to hide them. What are the pros and cons?


What is the equivalent of hook_menu_alter() to change a menu item type?

I want to change the menu type in Drupal 8. In Drupal 7 we can achieve this using   function module_menu_alter(&$items) {   $items['admin/config/people/ip-blocking/default'] = array(     'title' => 'Block IP Address',     'type' => MENU_DEFAULT_LOCAL_TASK,   ); }   Similarly I want to change the menu type in Drupal 8. How can I do it. Thank You.


Why booking and checking-in aren't merged into one single step?

Elaborating on , I'd like to ask: why airlines separate booking and checking-in in the first place? I recently travelled by bus between two major British cities and I only booked/paid my tickets online, no need for some second confirmation step.  The existence of two separate steps makes no sense to me, but since all airlines apply this there must be a very practical reason for it. What is it?


Can you create a strong blockcipher with small blocksize, given a strong blockcipher of conventional blocksize?

Suppose I want a strong 20-bit blockcipher.  In other words, I want a function that takes a key (suppose the key is 128 bits), and implements a permutation from 20 bits to 20 bits.  The set of permutations should be close to a randomly-chosen subset of size $2^{128}$ of all $2^{20}!$ permutations on 20 bits.  I don't want you to build a new blockcipher from scratch.  Instead, assume you have a "strong" blockcipher like AES (128-bit blocksize, 128-bit keysize) and use this to build your 20-bit cipher.   Of course, your construction should be practical (i.e., you should be able to run it in both directions with reasonable amounts of time and memory).


Singleton Pattern Implementation in Java

I was recently asked in an interview: How do you implement a Singleton design pattern in Java?  I was a little confused because there are 2 options:  1) Just have a static data member. A static member, e.g.   private static Logger logger;   will ensure that only one logger is shared among all objects of a given class.  2) Implement an instance-controller that restricts instances:  public class LoggerWrapper {         private static Logger instance = null;          private LoggerWrapper() {       }          public static Logger getInstance() {                 if (instance == null) {                         instance = new Logger ();                 }                 return instance;         } }   What is the difference between these 2 singleton approaches?


Creature with no classes activating a scroll

To activate a scroll the players handbook states:     The spell must be of the correct type (arcane or divine). Arcane spellcasters (wizards, sorcerers, and bards) can only use scrolls containing arcane spells, and divine spellcasters (clerics, druids, paladins, and rangers) can only use scrolls containing divine spells. (The type of scroll a character creates is also determined by his or her class.)   The user must have the spell on his or her class list.   The user must have the requisite ability score.   If the user meets all the requirements noted above, and her caster level is at least equal to the spell’s caster level, she can automatically activate the spell without a check. If she meets all three requirements but her own caster level is lower than the scroll spell’s caster level, then she has to make a caster level check (DC=scroll’s caster level + 1) to cast the spell successfully.    Use magic device states:     Use a Scroll   If you are casting a spell from a scroll, you have to decipher it first. Normally, to cast a spell from a scroll, you must have the scroll’s spell on your class spell list. Use Magic Device allows you to use a scroll as if you had a particular spell on your class spell list. The DC is equal to 20 + the caster level of the spell you are trying to cast from the scroll. In addition, casting a spell from a scroll requires a minimum score (10 + spell level) in the appropriate ability. If you don’t have a sufficient score in that ability, you must emulate the ability score with a separate Use Magic Device check (see above).   If a creature like a skull lord wants to use a scroll and has no class levels does he have to make a use magic device check to 1. Emulate a class ability, 2. Activate the scroll 3. Potentially emulate an ability score?   Or is it just the one use magic device check to use the scroll?


How to generate a regExp using a String literal?

I'm trying to create a regex in ES6,  with a String Literal, but my solution fails :  var prefix = 'Hello';  var re = /`${prefix}\\s(\\w+)\\s(\\w+)`/; //var re = /Hello\s(\w+)\s(\w+)/; // this works  var str = 'Hello John Smith'; var newstr = str.replace(re, '$2, $1'); console.log(newstr);


Every emission object is darker than it should be

I'm not sure why this is happening. With my scene i have an emission plane as the main light source for the scene:  As you can see, the material preview shows the shader correctly, but in the actual render it is much darker. This applies to final renders as well. The same thing happens with the world material, even if I make it 100% white, it appears as a shade of grey. Jacking up the strength just emits that same color of grey stronger, not whiter.


Can we have a feature to ignore specific user's pings?

This was asked 7 year ago    The sites have changed considerably over 7 years. What's on topic has changed, the nature of the internet has changed and there's sites in existence now that weren't then.  Can we please revisit it?  In chat we have a feature to ignore user everywhere,  Can we have this feature so it extends to the SE sites network, or have it separately enabled from within the sites comments?


Can we have a "Sorry, we are no longer accepting comments from this account"?

Especially in light of recent changes to comment flagging so that now we distinguish between comments that are chatty, flagged for general reasons, or are rude/offensive, could we have some sort of heuristic that bans people from leaving comments if they have too many comments correctly flagged as rude/offensive?  Restoring the user's ability to comment could be done via having them contribute more answers. Answers are not the same as comments of course, but that's a pretty decent way to track someone's positive contribution to the site.  Alternatively, the ban could be time-based and just put the user in an automatic timeout for a few days with an appropriate message that'd let them know that too many of their comments have been deemed rude or offensive by the community.  Note: I'm thinking just about rude and offensive comments here. Comments flagged as "chatty" or "general" would be not count.


Showing Consistency and Completeness implies a unique truth assignment

I am struggling with the following problem.  nb: this is all in propositional logic (P).    Show that the following are equivalent:  (1). $\Gamma $ is consistent and complete.  (2).  There is exactly one truth assignment that satisfies $ \Gamma $.   My weak attempt:  $\Rightarrow$ Direction:  As $ \Gamma $ is consistent, we have that $ \not \exists A, \text{formula}, st ~\Gamma \vdash A ~\text{and}~\Gamma \vdash \neg A $   As $ \Gamma $ is complete, we have that $ \forall A, \text{formula}, \Gamma \vdash A ~\text{or}~ \Gamma \vdash \neg A $  truthfully,I struggle with moving past these definitions! Especially getting from he syntax to the semantics of it all, in order to incorporate truth assignments.    Please Help!  thank you:)


What would be the most frequent/common way of telling the time when the minute is between 01 and 09? Is there any difference between BE and AmE?  5:03 ->   1) five oh three  2) five three   3) three past five


Trying to install Ubuntu to a USB HDD with Windows 8 on internal? Need confirmation

I am trying to make sure that Ubuntu will install correctly and boot from a USB HDD. Windows 8.1 is installed on the primary internal 1TB, this is a 230 GB (after all extra was taken out). If I were to install Ubuntu to this drive, tell my UEFI to boot from USB HDD, and boot with it plugged in, would it boot properly?