How accessible are the Stack Exchange sites for users of screen reader software?

There are some plans to put more information on  which is a Stack Exchange site. I am concerned it may not be as readable to everyone as it could be on a plain wiki.  Is there any information on how to use Stack Exchange with a screen reader?


There used to be, what is its interrogative form?

I have had this question since I learned about there to be (which was a long time ago), and I know there used to be means something that used to exist, i.e, it no longer exists, for instance: There used to be a house across my apartment = One house used to exist, but no longer does, it's something that existed in the past, but not anymore. So, based on the facts that were mentioned, every there to be has a negative form and interrogative, therefore, what's there used to be's ?  My question has been identified as a possible duplicate of another one, but the one suggered isn't the same as mine, I'm talking about the verb there to be, the other question is about the verb "used to", both questions are different from each other.


Access a network folder in Xubuntu 16.04 LTS

I used to access files by typing  \\\fileserver2 in run command in windows. How do I access them in Xubuntu 16.04 LTS?   I tried using ftp://fileserver2 in terminal but it said there is no such directory.  I am new to Linux so I have no idea. I followed the answer to "" but it didn't work.


At what cases are we allowed to change to content of a string in c?

I am having a hard time understanding how exactly are we allowed to play around with strings in c.  At class we were told that: - If we use the definition:   char *str="I love dogs";   we are NOT allowed to change the content of the string, and writing:  str[0]='W'    will result in an error. - If we use the definition:  char str[N]="I love dogs";   we are allowed to change the content of the string.   Will the functions in , for example strcpy, work in either case? Because I think I have seen an example where it worked.  Can anyone please explain when exactly can I change the content of a string, and why? Because now when I try to work with a string I have no idea what I am allowed to do and what not.  EDIT: Another thing, if we have:  char str[N]="I love dogs";   and we do something like  char *str2=str;   will we be able to change str2?  Thanks a lot.


Windows 7 Home Premium missing administrator account

A computer that doesn't get used much needed updates the other day but it seems to be missing an admin account. I tried to activate it through cmd but since the one account on there is a standard user, it does not have the privileges to execute the commands to do this. I've also tried starting the pc in safe mode with cmd and it pulls up a standard user cmd every time. Any ideas?


Display the current date in a mm/dd/yyyy format in Python

from datetime import datetime current_time = datetime.now()  print "%s-%s-%s" % (current_time.month, current_time.day current_time.year,) #Will print the current date in a mm/dd/yyyy format.  input()   The code above is meant to print out the current date in a mm/dd/yyyy format in a command prompt. So for example if this actually worked it would open up a command prompt window that printed out; for example the current date as im writing this like this: 8-5-2017  I keep getting this error when trying to run the module that the closing " in "%s-%s-%s" that it's invalid syntax. Is python 3 using something different from this or did I make a mistake?


I'm researching about geometry non-Euclidean

I'm researching non-Euclidean geometry.  Now I am looking for a good source for it.  Please suggest me something.Thanks.


How do I count the number of occurrences of a word in a text file with the command line?

I have a large JSON file that is on one line, and I want to use the command line to be able to count the number of occurrences of a word in the file. How can I do that?


''More than one row returned by a subquery used as an expression'' postgres error

I am trying to realize a postgres request :   select distinct nom_reg_12  from region_15,repartition  where st_intersects(region_15.geom,                    (select geom                     from repartition                     where id_espece='Tetrarti'))=true;    but i get the following error :      More than one row returned by a subquery used as an expression   in the first time I tried this and it work fine :   select distinct nom_reg_12  from region_15,repartition  where st_intersects(region_15.geom,repartition.geom)=true;   and then I tried this a part to get the geometry I want :   select geom from repartition where id_espece='Tetrarti'


Netgear WNDA-3100 Wifi adapter driver install

I have a netgear wnda3100. I'm using Ubuntu 14.04 LTS and I have been trying to install the drivers for it for 2 hours now.   The official documentaion says to go to System>Administration>Drivers but apparently that no longer exists in this version of Ubuntu.   I found something called Additional Drivers, but that said No additional drivers available - even though Ubuntu is supposed to come with the broadcom sta drivers. Maybe this is the wrong place to look for it?  I tried downloading the drivers on Windows but it said they needed to be compiled to be used and I have no clue how to do that. Can someone please help me? I am so frustrated.  lsusb  Bus 002 Device 005: ID 0461:4d42 Primax Electronics, Ltd  Bus 002 Device 004: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device (Multicard Reader) Bus 002 Device 003: ID 046d:c315 Logitech, Inc. Classic Keyboard 200 Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0846:9011 NetGear, Inc. WNDA3100v2 802.11abgn [Broadcom BCM4323] Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   I was using this   I did it. Thank you very much chili5555!


if recursively find ext, then, else on unix

This is what I normally use. But I need to recursively find an extension with, then, and else. The problem with this one is that it is not recursive.  if ls $HOME/Downloads/*.ext >/dev/null 2>&1 then     : else     : fi


New rule preventing multiple @notifies causing Convert to Comment to fail

Apparently, an image is not worth a thousand words, as without at least a few words this won't meet quality standards.


I created an island with clouds hanging in the sky somewhere behind the island and a camera that approaches the island and moves around it, before moving away from it. When my camera begins approaching the island, the clouds are  not visible. When the camera is right in front of the island, the clouds are all visible. And when the camera moves away from the island, the clouds dissapear again. What is going on there? I think, it has something to do with the depth of my world or the depth of what the camera can see. Thanks for help!


I use a style in the following example to arrange references. I want to make some changes in the style. I need to add the condition of the status of a comma after the name of the scientific journal and writing vol. at volume      \RequirePackage{filecontents}     \begin{filecontents}{\jobname.bib}     @article{einstein,         author =       "Albert Einstein",         title =        "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})             [{On} the electrodynamics of moving bodies]",         journal =      "Annalen der Physik",         volume =       "322",         number =       "10",         pages =        "891--921",         year =         "1905",         DOI =          "http://dx.doi.org/10.1002/andp.19053221004"     }      @book{latexcompanion,         author    = "Michel Goossens and Frank Mittelbach and Alexander Samarin",         title     = "The \LaTeX\ Companion",         year      = "1993",         publisher = "Addison-Wesley",         address   = "Reading, Massachusetts"     }      @misc{knuthwebsite,         author    = "Donald Knuth",         title     = "Knuth: Computers and Typesetting",         url       = "http://www-cs-faculty.stanford.edu/\~{}uno/abcde.html"     }     \end{filecontents}           \documentclass[a4paper,10pt]{article}         \usepackage[english]{babel}         \usepackage[utf8]{inputenc}          \usepackage{csquotes}         \usepackage[%           style=numeric,            sortcites,           backend=biber,           giveninits=true % <===================================================         ]{biblatex}         \addbibresource{\jobname.bib}          \DeclareNameAlias{default}{family-given} % <============================ \renewbibmacro{in:}{}         \renewcommand*\newunitpunct{\addcomma\space} % <========================      \renewcommand*\newunitpunct{\addcomma\space} % <========================         \renewcommand*{\finalnamedelim}{%           \addspace\bibstring{and}\space}%         % <===== ^^^^^^^^^^^^^^^^^ =============================================            \begin{document}          \section{First Section}         This document is an example of BibTeX using in bibliography management.          Three items are cited: \textit{The \LaTeX\ Companion} book          \cite{latexcompanion}, the Einstein journal paper \cite{einstein}, and          the Donald Knuth's website \cite{knuthwebsite}. The \LaTeX\ related          items are \cite{latexcompanion,knuthwebsite}.           \medskip          \printbibliography          \end{document}   The output     Einstein, A., "Zur Elektrodynamik bewegter Körper. (German) [On the    electrodynamics of moving bodies]", Annalen der Physik 322.10   (1905),  pp. 891—921, DOI: .   I need to have the output like this     Einstein, A., "Zur Elektrodynamik bewegter Körper. (German) [On the    electrodynamics of moving bodies]", Annalen der Physik, vol. 322.10   (1905),  pp. 891—921, DOI: .   I need to add the condition of the status of a comma after the name of the scientific journal and writing vol. at volume. ie.,  Annalen der Physik 322.10 to Annalen der Physik, vol. 322.10


Get the actual app's data files location

tl;dr One of my apps stores its data in some weird place that isn't covered by Google backup. And thus it was not restored after the latest system recovery. I've lost all my data for that single app. I want to know the location of those files, to back them up manually and avoid similar situations in the future. Can I check this on an unrooted phone?  My phone . I have recovered my data (on a new device) from Google backup. It turned out that I have recovered everything (system, settings, photos, messages, apps, and app data) for all but one application. Happened for just this particular single app out of fifty in my case, so must be a developer's fault or wrong design decision to store data in some weird place. Want to avoid this in the future and backup data for this particular app manually. But I need to know, where exactly this app is storing its data. Can I learn this on an unrooted phone? Do I have some tools for this? If yes, then how to proceed with this?


I will reach a score of 3000 in coming days in stackoverflow. In privileges section, for 3000, I have seen;     Note that once you gain the reputation to vote to close, you should no longer flag for moderator attention to have questions closed or migrated. It is your responsibility to vote now.   In badges info, it is noted that the requirement of Deputy silver badge is raising 80 helpful flags. How can I track (or how to achieve) this badge after reaching a reputation level of 3000?


"Please ask a new question" encourages question repetition for duplicates

I just had a case of a user who re-posted his question because his first question was closed as a duplicate. And, logically, I closed his re-post as a duplicate of his original, asking him to edit his original and explain why it's not a duplicate, so we can reopen it.  This process has worked like that for years now, but suddenly I realized that with the new message, question repetition is even encouraged:     This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.   Clearly, a new user who finds their questions closed will now be happy to just post their question again and again, until it's not a duplicate anymore, instead of just fixing their original post.  We need to be more explicit about this, and show this message to the OP of the question:     If those answers do not fully address your question, please edit your question and explain why it is not a duplicate.   The original message should still be visible to other users and visitors, as they can't fix that question, of course.


What do you call a person who walks their own path?

I am not really talking about in a religious or spiritual way but I was wondering if there's such word that can be used on groups like the artists and the creatives that walks their own path.   For example: it would be an artist who doesn't imitate what the majority but he or she would walk their own path to find their own art.


What does "positively received" mean in the conditions for lifting a question ban?

The  mentions that it's possible to post one more question after a six-months waiting period and if the question is good enough, the question ban can be lifted:     If you're unable to improve your existing questions, you'll get the chance to ask one new one 6 months after your last question. If that question is positively received, you may be able to continue asking questions; if not, then the ban will be reinstated.   What is positively received in this context? Is it enough if the question has a zero score and is not closed? Or does it have to have a positive score?  How long does the system wait after posting this new question to evaluate this criteria and possibly lift (or reinstate) the question ban?


How do disable tap-to-click while typing?

Running Kubuntu 12.4 on a Thinkpad 410S.  I'm hoping to disable the tap-to-click mechanisms while I am typing, similar to what I can do in windows.  So far I have only been able to figure out how to:   Disable tap-to-click completely (in the the KDE touchpad control) Disable the entire touchpad (not just tapping, even moving) in touchpad management for n seconds after typing.   Looking for somewhere in between.  I want the tap-to-click action disabled for n seconds after typing, but want the touchpad to continue to move the mouse earlier.


I wanted to write |a| in nomenclature symbol as well as in the description.   But whenever I use | in any particular nomenclature entry, that entry disappears from nomenclature list altogether. There is no error, and the rest of the nomenclature prints fine.   How do I solve this problem?


why i getting this null reference object?

I try to display customer profile on my apps, but these line of code makes app crash when I click on the profile button(profile page)  the error said that Attempt to invoke virtual method 'void android.widget.EditText.setText(java.lang.CharSequence)' on a null object reference  my name and address can be displayed but not my email and my phone number which is weird why it happen like that?   I check my database it contains data, I got stuck here on how to solve my problems because the code can't read my email and phone number but can ready my name and address.  public class CustProfileActivity extends AppCompatActivity {      TextView email;     EditText name, address, phone;     Button update;      DatabaseReference databaseReference;     FirebaseAuth firebaseAuth;     String userId;      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_cust_profile2);          name = findViewById(R.id.name);         address = findViewById(R.id.address);         update = findViewById(R.id.update);           databaseReference = FirebaseDatabase.getInstance().getReference("Customer").child("");         firebaseAuth = FirebaseAuth.getInstance();         userId = firebaseAuth.getUid();          databaseReference.addValueEventListener(new ValueEventListener() {             @Override             public void onDataChange(@NonNull DataSnapshot dataSnapshot) {                 Customer cust = dataSnapshot.child(userId).getValue(Customer.class);                  name.setText(cust.name);                 address.setText(cust.home_address);                 phone.setText(cust.telephone_number);                 email.setText(cust.email);              }              @Override             public void onCancelled(@NonNull DatabaseError databaseError) {              }         });     <TextView         android:layout_marginTop="10dp"         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:text="Phone No"         android:textSize="13sp"/>      <EditText         android:id="@+id/phone"         android:layout_width="match_parent"         android:layout_height="wrap_content" />       <TextView         android:layout_marginTop="10dp"         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:text="Email"         android:textSize="13dp"/>      <TextView         android:id="@+id/email"         android:hint="email@gmail.com"         android:layout_width="match_parent"         android:layout_height="wrap_content" />     public class Customer {     public String id;     public  String name;     public  String email;     public String home_address;     public String telephone_number;       public Customer(){      }        public Customer(String id, String name, String email, String home_address, String telephone_number) {         this.id = id;         this.name = name;         this.email = email;         this.home_address = home_address;         this.telephone_number = telephone_number;     }     public String getId() {         return id;     }      public void setId(String id) {         this.id = id;     }      public String getName() {         return name;     }      public void setName(String name) {         this.name = name;     }      public String getEmail() {         return email;     }      public void setEmail(String email) {         this.email = email;     }      public String getHome_address() {         return home_address;     }      public void setHome_address(String home_address) {         this.home_address = home_address;     }      public String getTelephone_number() {         return telephone_number;     }      public void setTelephone_number(String telephone_number) {         this.telephone_number = telephone_number;     }


Interpretation of simple predictions to odds ratios in logistic regression

I'm somewhat new to using logistic regression, and a bit confused by a discrepancy between  my interpretations of the following values which I thought would be the same:    exponentiated beta values  predicted probability of the outcome using beta values.    Here is a simplified version of the model I am using, where undernutrition and insurance are both binary, and wealth is continuous:  Under.Nutrition ~ insurance + wealth   My (actual) model returns an exponentiated beta value of .8 for insurance, which I would interpret as:     "The probability of being undernourished for an insured individual is .8 times the probability of being undernourished for an uninsured individual."   However, when I calculate the difference in probabilities for individuals by putting in values of 0 and 1 into the insurance variable and the mean value for wealth, the difference in undernutrition is only .04. That is calculated as follows:   Probability Undernourished = exp(β0 + β1*Insurance + β2*Wealth) /                              (1+exp(β0 + β1*Insurance + β2*wealth))   I would really appreciate it if someone could explain why these values are different, and what a better interpretation (particularly for the second value) might be.     Further Clarification Edits As I understand it, the probability of being under-nourished for an uninsured person (where B1 corresponds to insurance) is:  Prob(Unins) = exp(β0 + β1*0 + β2*Wealth) /               (1+exp(β0 + β1*0+ β2*wealth))   While the Probability of being under-nourished for an insured person is:  Prob(Ins)= exp(β0 + β1*1 + β2*Wealth) /            (1+exp(β0 + β1*1+ β2*wealth))   The odds of being undernourished for an uninsured person compared to an insured person is:  exp(B1)   Is there a way to translate between these values (mathematically)? I'm still a bit confused by this equation (where I should probably be a different value on the RHS):  Prob(Ins) - Prob(Unins) != exp(B)   In layman's terms, the question is why doesn't insuring an individual change their probability of being under-nourished as much as the odds ratio indicates it does?  In my data, Prob(Ins) - Prob(Unins) = .04, where the exponentiated beta value is .8 (so why is the difference not .2?)


Non-trigonometric Continuous Periodic Functions

I've seen lots of examples of periodic functions, but they all have one thing in common: They all involve at least one trigonometric term (e.g. $\sin\theta$, $\cos\theta$, etc.). My question is simple: are there any continuous, differentiable periodic functions that do not involve trigonometric terms? If not, why?


Show that the function $g(x) = x^2 \sin(\frac{1}{x}) ,(g(0) = 0)$ is everywhere differentiable and that $g′(0) = 0$

Show that the function $g(x) = x^2 \sin\left(\frac{1}{x}\right) ,(g(0) = 0)$ is everywhere differentiable and that $g′(0) = 0$.


inner product of characters in $SL(2,\mathbb{R})$

tengo una tarea en un curso de grupos de Lie, en la cual debo demostrar que $(\pi_m,\mathbb{C}_m[x,y])$ son las únicas representaciones irreducibles de dimension finita en $SL(2,\mathbb{R})$. Donde $\mathbb{C}_m[x,y]$, es el espacio vectorial de los polinomios homogéneos, y $\pi_m(g)$ actúa de la forma $\pi_m(g)f(x,y)=f((x,y)\cdot g)$.  Calcular los caracteres no fue muy complicado, tomando la base $\{p_k: 0\leq k\leq n\}$ con $p_k=x^ky^{n-k}$ pues $\pi_m(\exp(H))p_k=\exp(d\pi_m(H))p_k=\exp(2k-n)p_k$, pero la pregunta es como podría definir un producto interior entre estas matrices; pues no tengo la forma de volumen de $SL(2,\mathbb{R})$, para definir la integral $\langle f,g\rangle=\int f(z)\cdot\overline{g(z)}dz$.  Podría alguien por favor traducir la pregunta? Gracias


WILL I LOOSE MY DATA STORED IN A DIFFERENT PARTITION TO THE ONE THAT I WILL INSTALL UBUNTU 12.04?

I want to install Ubuntu 12.04 in my laptop replacing my existing windows 8 PRO (am not affected by the UEFI since my laptop was a Windows 7 intial laptop). However I have several partitions in my hard disk as shown in the link below where C: is where my windows 8 is installed and D: is where my backup is, there is also a System Reserve partition. I do not want to loose any of my backup data in D: How can I install Ubuntu without loosing this data?and once I install ubuntu will I be able to access the partition D:?


How are POST and GET variables handled in Python?

In PHP you can just use $_POST for POST and $_GET for GET (Query string) variables. What's the equivalent in Python?


How to use the generating functional for connected functions to compute connected diagrams?

We have           $$W[J]\equiv\hbar i\log(Z[J])$$   How do we use it to compute the connected diagrams to some order in perturbative field theory?  I get that we need to take functional derivatives of it but I am not sure how this will give me the required diagrams (if at all it is expected to).  I have gone through the verification of the claim that: it leaves only connected diagrams to first and second order in interaction parameter in $\phi^4$ theory and find it alright.  But suppose I want to extend it to some higher order and other similar theories like phi cubed theory. How to go ahead? Any references are appreciated which has some examples to start with using the above functional.


bodegraph package just display grids but not curves

I'm using pdfLatex (with --shell-escape option) and I had a problem of compilation with TexWorks that was successfully solved with the help of other post in this site: .  After correcting that error the code compiles smoothly but just displays the logarithmic grids, not the function. The gnuplot files are created in the right place, but the graphic doesn't come out in the PDF.  Code from :  \documentclass{article}  \usepackage{tikz} \usepackage{bodegraph}  \begin{document}  \begin{tikzpicture}[     gnuplot def/.append style={prefix={}}, % Fixed the issue (prefix was 'gnuplot/\jobname/' before) ] \begin{scope} \UnitedB \semilog{-1}{2}{-50}{60}  \BodeAmp{-1:1.35}{\POAmpAsymp{4}{2.0}+\IntAmp{1}}  \end{scope} \end{tikzpicture} \end{document}   Any clues?


How to split all BibTeX referenced entries from a big BibTeX database to a copy?

I have a BibTeX database with some big number of references which I use for work. When I need to send a document prepared using that database to somone I have two options: either send a full copy of the database (which I would not like to do), or copy all referenced entries from a large database to a smaller copy, and send that copy with a document. Are there any tools which would do this automatically?


Using a local variable outside of its declaring scope; why does this work?

I got this game demo from a site, and noticed this piece of code:  if(nx == food.x && ny == food.y) {     var tail = {x: nx, y: ny};     score++;     create_food(); } else {     var tail = snake_array.pop();      tail.x = nx; tail.y = ny; }  snake_array.unshift(tail); //how is tail used here?   I didn't find any other declarations of a 'tail' variable, so how is this happening? I'm pretty new to this area of programming (web dev/scripting languages), so I'm not sure if this is allowed.  The full code:  $(document).ready(function(){     var canvas = $("#canvas")[0];     var ctx = canvas.getContext("2d");     var w = $("#canvas").width();     var h = $("#canvas").height();      var cw = 10;     var d;     var food;     var score;      var snake_array;       function init() {         d = "right";          create_snake();         create_food();          score = 0;          if(typeof game_loop != "undefined") clearInterval(game_loop);         game_loop = setInterval(paint, 60);     }     init();      function create_snake() {         var length = 5;          snake_array = [];          for(var i = length-1; i>=0; i--) {             snake_array.push({x: i, y:0});         }     }      function create_food() {         food = {             x: Math.round(Math.random()*(w-cw)/cw),              y: Math.round(Math.random()*(h-cw)/cw),          };     }                      function paint() {         ctx.fillStyle = "white";         ctx.fillRect(0, 0, w, h);         ctx.strokeStyle = "black";         ctx.strokeRect(0, 0, w, h);          var nx = snake_array[0].x;         var ny = snake_array[0].y;  if(d == "right") nx++;         else if(d == "left") nx--;         else if(d == "up") ny--;         else if(d == "down") ny++;          if(nx == -1 || nx == w/cw || ny == -1 || ny == h/cw || check_collision(nx, ny, snake_array)) {             init();             return;         }          /* @@@@@@@@@ This is where it is happening @@@@@@@@@ */         if(nx == food.x && ny == food.y) {             var tail = {x: nx, y: ny};             score++;             create_food();         } else {             var tail = snake_array.pop();              tail.x = nx; tail.y = ny;         }          snake_array.unshift(tail);          for(var i = 0; i < snake_array.length; i++) {             var c = snake_array[i];             paint_cell(c.x, c.y);         }          paint_cell(food.x, food.y);         var score_text = "Score: " + score;         ctx.fillText(score_text, 5, h-5);     }      function paint_cell(x, y) {         ctx.fillStyle = "blue";         ctx.fillRect(x*cw, y*cw, cw, cw);         ctx.strokeStyle = "white";         ctx.strokeRect(x*cw, y*cw, cw, cw);     }      function check_collision(x, y, array) {         for(var i = 0; i < array.length; i++) {             if(array[i].x == x && array[i].y == y)              return true;         }         return false;     }      $(document).keydown(function(e) {         var key = e.which;         if(key == "37" && d != "right") d = "left";         else if(key == "38" && d != "down") d = "up";         else if(key == "39" && d != "left") d = "right";         else if(key == "40" && d != "up") d = "down";     }) })   Source of code:   Any help would be appreciated :)


Why should we listen to Michel Foucault if he based his arguments on biased historical claims?

I have only recently heard about philosophical ideas of Michel Foucault from a friend of mine. His claims, those concerning madness for example, sound iconoclastic to me. After looking up some relevant facts I found that a significant proportion of historical claims he made were based on biased material, which presented information that was only partially accurate. That is to say, some of his assumptions -- assumptions underpinning his historiographical (or genealogical) method -- were NOT true, or, at least, not based on solid enough evidence.    Then why should we pay attention to him? Is it forgivable in philosophy to make statements based on biased premises? (It is not in mathematics, which is my field of study.) If this is not the case then what part of Foucault's work is still relevant to us today?  Note: If this question is deemed inappropriate or in need of appropriation, moderators please do so. I am no expert in philosophy or this website.


Amazon EFS performance mounted for a k8 cluster of ec2 instances with small frequent writes

How performant is a shared mounted EFS if there are multiple ec2 instances with multiple containers all writing to separate files in separate directories? Can write performance on one container be detrimentally affected by another container writing (on the same or different node).   Writes are normally extremely small (~kbs) and can burst to ms frequency.


Calculate row size and max row size for a table

Problem:  Is there any way of calculating number of bytes occupied by the table creation, i know that you can get some information from information_schema.tables but that information is not accurate enough.             What actually required is the number of bytes according to the definition of the table for innodb only and collation could also be considered as utf-8-general-ci  For example a table test is as following     create table test   (   col1 varchar(25),   col2 int,   col3 varchar(3),   col4 char(15),   col5 datetime   );     Now would require to know the total row size that can be accumulated in one row according to the types of columns in the table.  Found a some sort of similar solution in MSSQL but need its MySQL version    Any help is much appreciated.


exact solution to lotka-volterra equations

I am looking for exact or perturbative solution realistic lotka-volterra (the one with logistic term in one of the equations) equations in population dynamics.  Any reference where they have done it will be useful.


Marginal probability derived from joint probability distribution of a poisson process and binomial process

I thought I figured out this problem, but my answer is different than the solutions manual. Hoping someone here can stear me in the correct direction:     Assume the number of automobile collisions that occur on a given stretch of highway per year is a Poisson random variable $X$ with $\mu = 20$. The probability is $p=0.05$ that there will be one or more fatalities in each accident; occurrences of fatalities are independent from one collision to the next. If $Y$ is the number of collisions with one or more fatalities on this stretch of road in one year, find the probability law for $Y$.   So as said, X is poisson, so:  $$p_X(x) = \frac{20^x}{x!}e^{-20}$$  The conditional probability of $Y$ given $X=x$ is a Binomial random variable:  $$p_{Y\mid X}(y\mid x) = \binom{x}{y}p^yq^{x-y}$$  where $Y =$ number of fatal traffic accidents and $x =$ given number of accidents (from poisson distribution)  Therefore the joint probability for $X$ and $Y$ is:  $$p_{X,Y}(x,y)= p_{Y\mid X}\cdot p_X(x) = \binom{x}{y}p^yq^{x-y}\frac{20^x}{x!} e^{-20}$$  to find the marginal probability of $Y$, I sum over $P_{X,Y}$ for all $x$:  \begin{align} p_Y(y) & = \sum_{x=y}^\infty{\binom{x}{y}p^yq^{x-y}\frac{20^x}{x!}e^{-20}} = \frac{(20p)^ye^{-20}}{y!} \sum_{x=y}^\infty {20^{x-y}\frac{q^{x-y}}{(x-y)!}} \\[10pt] & = \frac{(20p)^ye^{-20}}{y!} \sum_{x-y=0}^\infty {20^{x-y}\frac{q^{x-y}}{(x-y)!}} = \frac{(20p)^ye^{-20}}{y!}e^{20q} \end{align}  So:   $$p_Y(y) = \frac{(20p)^ye^{-20p}}{y!}$$  however, the correct answer is apparently $p_Y(y)=\dfrac{e^{-1}}{y!}$


find $\lim_{x\rightarrow \infty } \frac{a^x}{x^{\alpha}}$

Given that  $a> 1$, $\alpha \in \mathbb{R} $,then  find $$\lim_{x\rightarrow \infty } \frac{a^x}{x^{\alpha}}$$ My attempts : $\frac{a^x}{x^{\alpha}} \le \frac{1}{x^\alpha}$ now  i take $\lim_{x\rightarrow \infty } \frac{1}{x^{\alpha}} = \frac{1}{\infty} = 0$ Is its correct ?? thanks  in advance


Proof-method: Show that if $n$ is not prime then $\Bbb Z /n\Bbb Z$ is not a field

The question pertains to the question in the title. That is,     Show that if $n$ is not prime then $\Bbb Z /n\Bbb Z$ is not a field.   I realise that this has many duplicates, but my question is rather this;     Why does it not suffice to say that if $n$ is not prime then $\lvert\Bbb Z /n\Bbb Z \rvert = n \neq p^m$ for some prime $p$ and integer $m$ and so is not a field by definition?   I realise this somewhat misses the reason why it's not a field, but would it suffice as an answer to this question?


I'm trying to install Ubuntu (13.10) on the Lenovo IdeaPad y510p, but all I'm getting is a blank screen after I select Install/Try Ubuntu. Is there any way to fix that? (fn+up has no effect)  EDIT: After removing my second videocard  (appears linux doesn't support SLI, it crashes with second card present) and disabling "quiet" and "splash" it now crashes with "divide error: 0000 [#1] SMP"


Sequence uniform convergence but the derivatives are not.

Give a sequence $(f_n)_{n\in \mathbb{N}}$ of differentiable functions which uniformly converge to $0$, but for which the seqeunce $(f_n')_{n\in \mathbb{N}}$ of the derivatives isn't even pointwise convergent.    I found this one in my textbook marked as "Fun things to solve" and although it may be fun, it's kind of hard to do.   To be honest I already failed at the first hurdle. I couldn't even find a sequence of functions which uniformly converges to $0$.   Is there a certain way of dealing with this kind of problem? Because it seems kind of hard for me to come up with sequences without a mathematical of way of doing so (or maybe there is a mathematical way I just don't know yet).


, and why?   A Latin professor would say Prium’s the best...


Syncing my iMac and Macbook Pro - All Data and Files

If I'm wanting to sync my iMac and my MacBook Pro so that I don't have to connect it every time or back it up through time machine what would be the best way? I want a true sync. So If I save something on the iMac it populates on the MacBook Pro and vice versa.   Would that be through a cloud structured database? Or is there a better way?  Thanks in advance of course!


Short story where an astronaut has 3 personalities

I'm trying to recall a short story based around a spaceship pilot who's never flown in space - at least not consciously.  As soon as he enters the ship's flight deck, John's second personality takes over, flies the ship to its destination, lands, and "John 1" re-emerges and goes on his merry way.   Of course, in the course of the story, this tidy arrangement goes awry and John's third personality is called upon to save the day.


For a prime $p \equiv 1$ or $3$  (mod $8$), show that the equation $x^{2} + 2y^{2} = p$ has a solution.   I'd like to see an elementary proof.


What happens to Ubuntu 18.04 after 2023?

I am using Ubuntu 18.04 LTS, Ubuntu will stop all supports in 2023.1. can I use 18.04 after 2023?2. Ubuntu will give an upgrade and I have to do this.


The problem goes like this: "Assume $A$$1$ $\equiv$  $A$$2$ . Show that for any formula $C$-containing $A$$1$ as a part , if we replace one of more occurences of the part $A$$1$ by $A$$2$ , then the resulting formula is logically equivalent to $C$." Now, at first glance ,this theorem seems obvious to me , but I still have to prove it. My choice is to use the law of induction and the following identities (which can be derived from $A$$1$ $\equiv$  $A$$2$). $1$.  $A$$1$ $\equiv$  $A$$2$  $2$.  ($\lnot$$A$$1$) $\equiv$ ($\lnot$$A$$2$) $3$.  ($A$$1$) $d$ $B$  $\equiv$   ($A$$2$) $d$ $B$  $4$.  $B$ $d$ ($A$$1$)  $\equiv$   $B$ $d$ ($A$$1$)  (Here $d\in\{\land,\lor,\Leftarrow,\Rightarrow,\Leftrightarrow\}$)  Now, I am used to doing induction with only one operation (like $+$), but now there is more then one operation. Also, I have to to consider commuting (rule $3$ and $4$). I tried to use summation signs but i does't seem to get simpler (is summation even usable in proportional logic?). I know the basics of induction by heart, but I don't know how to extend them to so many cases. Can someone show me how?


Why does pgfplots plot functions only until x = 5 and y = 5?

Why does pgfplots plot functions only until x = 5 and y = 5, but not any further?    \documentclass{article}  \usepackage{tikz} \usepackage{pgfplots}  %%%< \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{5pt} %%%>  \begin{document} \begin{tikzpicture} \begin{axis}[samples=100,ymin=0,ymax=10,xmin=0,xmax=20]  \addplot [thick] plot  (\x,  {1/(1 + exp(-0.6*(\x - 12)))}); \addplot plot (\x, {\x});  \end{axis} \end{tikzpicture} \end{document}


Consider the following MWE:  \documentclass{article}  \usepackage{tikz}  \newenvironment{env}{     \pgfkeys{/env/.initial=hello} }{} \newcommand{\comm}{     \pgfkeys{/comm/.initial=hello} }{}  \begin{document}  \begin{env}\end{env} \comm{}  \pgfkeys{     /env/.get=\envval,     /comm/.get=\commval, }  Value of key set using environment: \envval   Value of key set using command: \commval  \end{document}   It produces  Value of key set using environment: Value of key set using command: hello   Is this an known issue, and are there any workarounds?


Make a momentary switch control a toggle

What are the simplest, cheapest, smallest ways to make a momentary switch produce a 2-state toggling output (latching momentary switch)?  In other words, the output is continuously low, and when you momentarily press the button/tact switch, the output changes to continuously high, and then when you press it again, it switches back to low.


Possible Duplicates:             Since SSD (solid-state drive) is pronounced es-es-dee, I'm wondering whether one should write "an SSD" or "a SSD". Saying "a SSD" out loud feels a bit off...


How do I cause Firefox to display only new data; not cached data. In particular I am concerned about old data in all interstitial locations such as Content Delivery Networks (CDN) that have what appears to be old webpages and their associated streaming video.  How do I know the content is old?  I inferred it from the date visible on the webpage.  Edit: The CDN cache is not the same thing as my Firefox cache, so this is not a dupe question.


Given a number $n \in \mathbb{N}$, large enough. Can we say something about a sequence $$\{\gcd(n - i, n + i)\}_{i = 1}^k,$$ where $k$ is integer greater than $0$ and less than $n$?  Sorry for too general question, I'm just looking for some theorems involving expressions like the one above, or reference where can I learn about it.  Thanks!


Where are addresses from the network 0.0.0.0/8 used in practice?

I read that this pool:   Means "these hosts" in "this network" Is used for self-identification Is used for broadcast messages   My questions are:   Where exactly these addresses can be found? Which protocols use them?


Elements of even order in a finite group

If $G$ is a finite group with the property that every non-identity element has even order, what could be said about $G$? For example the most trivial property might be that $G$ is a group of even order. I was wondering if more could be said about the structure of $G$.  Thanks!


I'm not sure if this is a TeX related question at all or rather a general problem with Adobe reader, or Windows, or printer drivers, or whatever else is involved.  When I create PDF files with pdflatex in A4 paper size and print them to my A4 printer from Adobe reader, there are several options available for "Page scaling", such as "None", "Fit to printable area", and "Shrink to printable area". Since the document and paper size ar both A4, one might expect that all three options result in printout at original size, especially if there is a thick white margin and nothing interferes with technical printing problems at the paper boundary, say. However, the fit/shrink options both cause a scale factor of 94% and one has to be careful to select the "None" option in order to obtain correct output.  Minimal (with respect to pdf content) example:  \documentclass[a4paper]{article} \begin{document} \thispagestyle{empty} \null \end{document}   Is there any possibility to set something in my TeX files such that the pdf files produced are "aware" that there is enough white margin and that no 94% scaling is needed? (Alternatively, I might produce page sizes 6% smaller than A4, but would consider that counterproductive and ridiculuous)


American English: collective noun + verb when collective noun is plural?

I'm struggling with grammar and the name of a group of clinics; let's say that there are five dental clinics colocated in the same building, and the name of that group is Foo Dental Clinics. There's a single entrance, a single greeting desk, but five distinct dental clinics beyond the main entrance.   Foo Dental Clinics is located at 56 Foo Street, or Foo Dental Clinics are located at 56 Foo Street?   This is for an audience where the convention is American English: collective nouns generally take a singular verb (Microsoft is a company). It's the fact that the collective noun seems plural that's messing me up.    establishes that American convention for collective nouns (Google, Congress) are treated as singular, but the fact that this collective noun appears to be plural, and the plural of the things it encompasses, makes this a bit harder to figure out.


Executable file isn't "really there" after rsync

I am issuing the following rsync command (obfuscating the exact path & host), which should copy two binaries:  rsync -e "ssh -p 443" -a --info=progress2 -z user@remote:/srv/cgi-bin/ . user@remotes's password:    5,970,149 100%    6.78MB/s    0:00:00 (xfr#2, to-chk=0/3)   From every standpoint I can tell, the command completed successfully.  root@rapunzel:/s/h/p/cgi-bin # >>> ll total 5.7M -rwxrwxr-x 1 marcus marcus 3.9M Sep 10  2014 german-numbers -rwxrwxr-x 1 marcus marcus 1.9M Sep 10  2014 german-numbers-cgi   But when I attempt to run any of the binaries, I get the following error  root@rapunzel:/s/h/p/cgi-bin # >>> ./german-numbers zsh: no such file or directory: ./german-numbers   So it seems that the binary is not "quite there", but on the other hand I can clearly open and read it:  root@rapunzel:/s/h/p/cgi-bin # >>> head -n1 ./german-numbers ELF04��'4('$444444�=%�=%@%����t��I%������HHHDDP�tdT;%T�T�llQ�td/lib/ld-linux.so.2GNUGNU,B�]2�h$���ɢҒ�S'��� @�P                                                                                ����ݣkĉ����|(�CE���K��8��]���?�������g���FcH▒3        �_��,�%}�??��>fM7�sn�������F����A{S3a��������,b��)�P▒h�wza�S~�y��*-��y�L                                                                                �����m���<�lp�6����W$%xZ�G��X{��V���� �!� �!�t����@��ԅ����I��ԅ��� ��Ș               ��librt.so.1__gmon_start___Jv_RegisterClasseslibutil.so.1libdl.so.2libgmp.so.3__gmpz_tdiv_qr__gmpz_and__gmpz_tdiv_q__gmpz_tdiv_r__gmpz_fdiv_qr__gmpn_gcd_1__gmpz_fdiv_q__gmpz_fdiv_r__gmpz_ior__gmpz_mul_2exp__gmp_set_memory_functions_fini__gmpz_sub__gmpz_xor__gmpz_com__gmpz_gcd__gmpz_fdiv_q_2exp__gmpz_init__gmpz_mul__gmpz_divexact__gmpn_cmp__gmpz_addclock_gettimetimer_deletetimer_settimetimer_createdlopendlerrordlsymlibm.so.6modfldexplibc.so.6_IO_stdin_usedepoll_createfflushstrcpysprintfsetlocalefopenstrncmpftruncatestrrchrregexecpipeftruncate64mmap64siginterruptepoll_waitftellstrncpyforksigprocmaskregfreeunlinkpthread_mutex_lockselectmkdirreallocabortgetpidkillstrdupmkstempstrtodstrtolisattysetmntentmmapctime_rfeoffgetscallocstrlensigemptysetmemset__errno_locationtcsetattrfseekgetpagesizeeventfddup2pause__fxstat64sigaddsetpthread_mutex_unlockstdoutfputcgetrusagefputsregerrormemcpyfclosemprotectmallocraisegetgid__lxstat64nl_langinfohasmntopt__xstat64getenv__ctype_b_locregcompstderrsigdelsetmunmapgetuidgetegid__sysv_signalpthread_mutex_initfwritefreadgettimeofdayiconv_closesigactionepoll_ctlstatfsgeteuidlseek64strchrendmntentutimegetlineiconviconv_opentcgetattrbsearchfcntlgetmntent_rmemmovefopen64access_IO_getcstrcmpstrerror__libc_start_mainvfprintfsysconf__environ__cxa_atexit_edata__bss_start_endGLIBC_2.1GLIBC_2.0GLIBC_2.2GLIBC_2.3GLIBC_2.7GLIBC_2.3.4GLIBC_2.3.2GLIBC_2.1.3   I am out of ideas why zsh (and for the record: bash aswell) wont find that file, does anybody have an idea?


How to find the best way with the least amount of steps to find the matching hole (2 balls and 100 holes given)?

To extend the heading a little bit further. There are 100 holes ordered from min to max (min-hole with minimal radius, max-hole with maximum radius). There are two balls given which are to be used to find the perfect hole (matching hole). There is only one hole which matches perfectly with both balls (both balls are the same size as the matching hole which has to be found) . Find the shortest possible way to find the matching hole.  Note: if the ball in the whole is too big and the ball drops, you are loosing a ball.  What I've tried:   The easiest way is to insert a ball in the min-radius hole and then the second ball to the hole+1 until one ball goes away by falling inside the whole which means that the hole-1 is the matching hole if of-course the given ball does not match the most widest hole (max hole). The second thing that I would apply is a form of binary search algorithm by reducing the wholes drastically but then I would need to measure the radius of the holes after dividing the set (and the ball radius), however I'm not sure if this is allowed.   I believe there is better attempt to solve the problem any suggestion are greatly appreciated.


Adjoint of a matrix and inverse of a matrix

As everyone know that we can use a matrix $A$ to represent an operator $T$.  The adjoint of a matrix $A$ is denoted as $A^*$, which takes complex conjugate of $A$ and then transpose.      My problem is, what is the relationship between $A^*$ and $A^{-1}$?    I mean as we know $Ax = b$, $x = A^{-1}b$. (If not emphasize on the dimension of $x$ and $b$.


Windows Spotlight showed me this picture. But no way to get the place it was shot.


I am going to install Ubuntu on my laptop/desktop, but I am already using another OS on my computer. After that how can I remove Ubuntu permanently from my computer and still keep my old operating system and data?


Is possible to do that with my own Object (Integer ad = 8; and Integer ad = 8;)

In java it's possible to do that; String a = "aaaa"; Integer b = 1;  and also that; String a = new String("hello "); Integer ad = new Integer(8);  first question : why is that possible and what's name of this standard ? second question : explain how to work this special case ? Third question : Is possible to do the same with my own object ? for example : Person p = "Med";  in place to do that Person p = new Person("Med");


The question formuled in the exam was exactly:  ''Every maximal ideal is a prime ideal''  Maximal and prime ideals are defined for a commutative ring R, but the proof I have for maximal ideal $\Rightarrow$ prime ideal needs that R is a commutative and unitary ring, because it uses that $R/I$ is field iff $I$ is maximal, and that only happens if R is both commutative and unitary.   Then my question is:   Is there a proof for maximal ideal $\Rightarrow$ prime ideal for R a commutative ring (not neccesarily unitary)?  If not, there must be a counterexample with a maximal ideal which isn't prime in a R commutative (not unitary) ring, right?  I know there are more posts like this, but the difference is that those posts suppose R as a commutative and unitary ring (that's the difference with this one, just to be clear).


I just purchased a Lenovo Yoga 3, 14". It comes with a Qualcomm Atheros QCA61x4 wireless network adapter. I have not been successful getting this wifi to work. I have tried some suggestions for Yogas but they, apparently use a different adapter. I have also tried ndiswrapper without any luck. I downloaded a windows driver which installed fine and indicated that it found matching hardware, but still no wifi.  If I cannot get it working soon, I'll have to send the machine back. Life without Ubuntu is not to be considered. Any assistance would be greatly appreciated.


One domain name - two servers? Is It Possible?

I want to use one domain name on 2 servers at a time.If one server is not working then my visitors can see my website without any problem from other server.Can i use one domain name on two different hosting services?


I'm exploring the great possibilities of biblatex ... and there are a few questions I can't resolve.   I'll start :) with one (edit !) of them :  I'm using "crossref" to cite several chapters in a book. Currently, when a second chapter in the same book is cited, all information about the publisher etc is reprinted. I'd like only the first reference to the book to have the full information, the following chapter could just have "author, chapter, in : bookname, op. cit."  Something tells me this should be possible ... would you know how to achieve this ?  Thanks in advance, Jos  Here's a small code :  \documentclass[ngerman,french]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc}  \makeatletter \usepackage{lmodern} \usepackage{perpage} \MakePerPage{footnote} %% Biblatex %% \usepackage[language=french,% autopunct=true,%   citestyle=verbose-trad2,%    strict,%     citepages=suppress,%     idemtracker=true,%     loccittracker=true,%    opcittracker=true,%   related=false,       bibstyle=reading,entryhead=false,entrykey=false,annotation=false,abstract=false,library=false,file=false,% backend=biber]% {biblatex}%  \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @Book{MH_Holzwege,   keywords =     {MH,D},   author =   {Martin Heidegger},   title =    {Holzwege},   publisher =    {Vittorio Klostermann},   address =      {Frankfurt a. M.},   year =     2003,   series =   {Einzelausgabe des Bd. 5 der Gesamtausgabe},   edition =      {8., unver\"{a}nderte Auflage},   addendum =     {1. Publikation: 1950}}  @InBook{MH_Kunstwerk,   keywords =     {MH,D},   author =   {Martin Heidegger},   title =    {Der Ursprung des Kunstwerkes},   pages =    {1--74},   crossref = {MH_Holzwege} }  @InBook{MH_NietzscheGott,   keywords =     {MH,D},   author =   {Martin Heidegger},   title =    {Nietzsches Wort `{Gott} ist tot'\,},   pages =    {193--247},   crossref = {MH_Holzwege} }  @InBook{MH_Weltbild,   keywords =     {MH,D},   author =   {Martin Heidegger},   title =    {Die Zeit des Weltbildes},   pages =    {69--104},   crossref = {MH_Holzwege}  @Book{MH_SZ,   keywords =     {MH,D},   author =   {Martin Heidegger},   title =    {{Sein und Zeit}},   address =      {T\"{u}bingen},   publisher =    {Max Niemeyer},   year =     2001,   edition =      {18. Auflage},   addendum =     {1. Publikation: 1927}}     }  \end{filecontents} \addbibresource{\jobname.bib}  \makeatother  \usepackage{babel} \addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}}  \begin{document}  \title{Titre}   \author{A. Teur}  \maketitle  Texte\footcite[20]{MH_Kunstwerk}.  Plus de texte \footcite{MH_Weltbild}.  Et hop \footcite{MH_SZ}  Une derni\`ere\footcite{MH_NietzscheGott}  \printbibliography[title={Oeuvres de Martin Heidegger},keyword=MH,keyword=D]   \end{document}


How to force currency symbol to right side of number?

I have a DisplayFormat attribute on my decimal property, to show it as a currency:  [DisplayFormat(DataFormatString = "{0:C0}", ApplyFormatInEditMode = true)] public decimal Price { get; set; }   This is how I print it in the view:  @Html.DisplayFor(x => x.Price)   If the value of Price is 3000, it displays as:  kr. 3.000   But I want it to show with the currency to the right of the amount, as:  3.000 kr.   How can I do this?


What non-AF, old lenses are adaptable to my EOS 550D EF-S mount?

I have a Canon EOS 550D and would like to use old, cheap but good lenses on it. I don't care about autofocus for this and am aware that there will be a cropping effect (therefore mainly looking for 24-35mm fixed lenses).   Initially I would have liked to buy an AR-EF adapter to use Konica Hexanon Lenses but the adapter doesn't allow for infinity focus.  I also read that Canon FD lenses don't work very well for the same reasons.  What are some nice lens systems for which an adapter exists to my EF-S mount and give me the whole focusing range?  Thanks for any advice!


If statement can't find the test variable in bash script

I have the following bash script (test_script.sh): #!/bin/sh case=test  var1=90 echo "var1 = $var1"  var2=$(( var1 * 4 )) echo "var2 = $var2"  if (( var1 > 80 )) then         pot=filled else         pot=empty fi      cat > message.txt << EOF    Hellow world! The pot is $pot . EOF  The output of this script is: var1 = 90 var2 = 360 ./test_script.sh: 10: ./test_script.sh: var1: not found  What is the cause for this "var1: not found" message ? Thanks.


What is the relationship between time dilation and gravitational time dilation?

This may be a stupid question as I have no background in physics but I'm curious:  We know time stops when approaching the speed of light and also as object approaches the event horizon of a black hole. Sounds like two sides of the same coin.  Are these in any way related / connected or are these entirely different things?  What can be inferred about gravity from time dilation? Is it possible to represent gravitational constant in terms of the speed of light in a nice way?  Edit: I'm looking for an answer in layman's terms. The thread above also does not address my last two questions.


How to access protected member variable of dynamic object of a Super class

Explanation - As you can see the below code is the super class in one package as an API, and child class in another package, now what I want to do is access the value of "level" variable in child class.  The problem is the super class doesn't have any getters for the below mentioned variable as it contains only setters so when I am trying to access the value using child class it always give "Debug" as value.  However while debugging in eclipse it shows the original runtime value. How can I achieve that   public class CustomLogger {       protected String level = "Debug";      protected String category;  }  public class DisplayLogger extends CustomLogger{  public void childMethod(){     CustomLogger customLogger = someMethod(); // Return object at runtime     customLogger.level; // give compiletime error as is protected     System.out.println(this.level); // gives always "Debug" as output } }


Current sense circuit for 0.1uA to 100mA dynamic range

For a battery powered sensor node, I need to be able to measure current levels that have a dynamic range from 0.1uA [standby current] to 100mA [peak current].  For this, I am thinking of a high-side current shunt resistor and amplifier feeding an ADC. For the shunt, I could go with a 0.1ohm resistor to minimize the voltage drop in the peak current case [but lose capability to measure standby current], or go with a 10ohm resistor to have some shot at being able to measure the standby current of 0.1uA [but risk too high a voltage drop in the peak current case].  This must be a pretty standard problem for people measuring currents at sensor nodes.   For someone who might have resolved a similar issue in the past,   What circuit did you design for measuring currents ranging from 0.1uA to 100mA [being able to measure standby currents of the order of 0.1uA is critical for me] What type of shunt resistor and amplifier did you select?   [Edit: This question is different from the one  as I am trying to design a single circuit that would measure across 0.1uA to 100mA - without having to manually switch resistors. The main solution in the answer to the other question requires one to set beforehand the current range to be measured. My question addresses a different problem.]


Why do we actively refer users to already existing answers of questions?

EDIT: I mean in the context of Stack Overflow, but other sites in the Stack Exchange may apply.  I just don't understand cases when, for e.g., somebody asks a very specific question, and a user, rather than giving them an answer, will instead link them to a similar question.  I realise that in some cases a question may be near identical and it therefore makes sense to link a user.  But what about the cases where questions are only slightly similar? Where a user has already Google'd the answer but could not find it. They then ask the question themselves but receive a negative response as the question does in fact already exist in some form, and they often risk having their fresh question closed.   Why are we aiming for single, unique questions rather than a large collection of similar/duplicate questions which in turn may provide better coverage to people using Google?


Prove by mathematical induction that $n^3 - n$ is divisible by $3$ for all natural number $n$

I'm working on a task where I'm a bit unsure if the answer I've got is correct.  Here is the task:     Show by induction that the following assertion is true for all natural   numbers $n$      $n^3 - n$ is divisible by $3$   Here is my answer:     For $n = 1$,   $n^3 - n = 1 - 1$   which is divisible by $3$      Assume the statement is true for some number $n$, that is, $n^3 - n$   is divisible by $3$. Now,      $(n + 1)^3 - (n + 1) = n^3 + 3n^2 + 3n + 1 - n - 1 = (n^3 - n) + 3(n^2 + n) = (n^3 - n) + 3n(n+1)$      which is $n^3 - n$ plus a multiple of $3$.      Since we assumed that $n^3 - n$ was a multiple of $3$, it follows that   $(n + 1)^3 - (n + 1)$ is also a multiple of $3$.      So, since the statement "$n^3 - n$ is divisible by $3$" is true for $n  = 1$, and its truth for $n$ implies its truth for $n + 1$, the statement is true for all whole number $n$.   I would appreciate if someone could go through the task and the answer and see if I've done this correctly.  Thanks a lot!


How to use the title command JSON in 1.13

I am currently making a map in the Minecraft 1.13 snapshots and have encountered a problem. I want to use the title command to give the player the number of resources they have for a certain resource. For example Wood: 150. I looked this up and found you could do this using the title command. Example:   title @a[r=1] actionbar [{"text":"Wood: "},{"score":{"name":"@p","objective":"Wood"},"bold":true}]}}   This works in 1.12 but not in 1.13. It seems that the JSON format has changed in 1.13 but I can't find anything on the wiki or the changelog.  Could someone please help me to work this out?


I always believed that there were no limits in the world and then I learned that a minimum temperature exists, and maybe a maximum speed. And now I am wondering about the boundaries of the world.  Is there a minimum amount of space? Is the world like a chessboard and something can't move less than a specific distance or occupy less than a specific amount of space? I suppose this can't be proved practically, but is there an answer to this theoretically?


How to discharge static electricity before opening a computer?

Before opening a computer, I often hear advice to touch something that is "grounded"  - a computer case for example, or a heating element - to avoid damaging the sensitive electronic equipment through .  What exactly is true here, and what are the do's and don'ts.    Touching what objects will actually work, and what won't? If I touch a computer case, does it matter what it stands on, and whether it is connected to an outlet? What other ways are there to protect the equipment from a static discharge than touching something grounded? Are there common pieces of clothing that I shouldn't be wearing when working inside a computer, for example a woollen pullover?    There is a lot on Google, but there seem to be many contradictions and misconceptions out there, so I think this is a question worth having here.


Posting events to event queue / edt - events not passed to actionPerformed()

i'm doing some tests with the java awt event queue, posting events.  ActionEvent event = new ActionEvent(this, ActionEvent.ACTION_PERFORMED, "EVENT"); try {     Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(event); } catch (SecurityException e) {     e.printStackTrace(); }   Then in my JFrame, there is a event listener:  public void actionPerformed(ActionEvent e) {     if(e.getActionCommand() == "EVENT") {             System.out.println("Event received");     } }   the trouble is the event i've posted in the queue did not get dispatched to the actionPerformed() listener.  i did further tests: in my class constructor:      long mask = 0xffffffffffffffffL;     Toolkit.getDefaultToolkit().addAWTEventListener(this, mask);   and the event listener:  private HashMap<Integer, Integer> seen = new HashMap<>();  @Override public void eventDispatched(AWTEvent event) {     if(seen.containsKey(event.getID()))                  seen.replace(event.getID(), seen.get(event.getID())+1);     else {         System.out.println(event.getID());         if(event instanceof ActionEvent)             System.out.println(((ActionEvent) event).getActionCommand());         seen.put(event.getID(), 1);     } }   i used a hashmap as the number of events received is rather overwhelming, hence i simply print the unique ones. this time round i did get a response  1001 EVENT   in the event listener eventDispatched(), but not in the action listener  actionPerformed(). and if i were to post the event from a different thread e.g.  Thread thread = new Thread(new Runnable() {      @Override     public void run() {         ActionEvent event = new ActionEvent(this, ActionEvent.ACTION_PERFORMED, "EVENT");         try {             Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(event);         } catch (SecurityException e) {             e.printStackTrace();         }                    } }); thread.start();   even the event listener did not receive the event.   my question is then, is there any way that i can post an ACTION_PERFORMED event to the EDT (event dispatcher thread) event queue and have it processed in actionPerformed(ActionEvent e) or some such listeners from a different thread? Thanks in advance!  edit: i did try to replace the event queue with a custom queue, that works, but is there a way to do the same with the standard event queue and EDT?


How can I type a path in Unity's Open File dialog?

Instead of the usual "select a location from what you see", I need to type a path to reach a file a I need to open.  Where can I type locations (paths) in this dialog?


In English alphabet, there are five (5) Vowels- a, e, i, o and u. And there are two (2) more letters- y and w, which are called Semi-Vowels. In the word "cry", y is considered as Semi-vowel. So, what is the use of "w" as Semi-vowel?


Recommendations for mathematical multivariate statistics with exercises

I need a graduate level, mathematically rigorous textbook on multivariate analysis and inference to enhance myself. I've been reading the  and doing the problems within, but I need a book with other focuses. Topics like famous distributions (Wishart, Wilks lambda, etc.), hypothesis testing, some theory on estimation (point, interval), and other more modern materials are welcome. I've checked , but the OP there was looking for something useful for his psychological analysis, which is not exactly what I want here. Currently I have the , so I would also like to hear the comments about this book and its exercises. Thank you.


Why does steam keep asking if I'm over 18?

Every time I open steam and try and view a game that is rated M (or equivalent rating), the Steam age gate always asks me for my birthday before I can continue. At least the birthday is pre-filled out, but it seems like it should just let me past. Does everyone get this, or is it just me? And how can I make it stop doing that and just remember that I am allowed to see mature content because I'm a grown up person... at least in years


Are Tony Stark and Pepper Potts back together?

Spoilers ahead, so do not read if you're not up to date with Marvel Movies.  and maybe this is a silly or unanswerable question but it bugged me after watching Spiderman homecoming.  During Civil War, I don't remember the exact quote but Tony said she'd left him and it sounded pretty final.  At the end of Spiderman Homecoming there was talk about a marriage proposal (somewhat jokingly as the real announcement didn't happen).   The obvious answer I suppose is that they got back together, though that as never explained and, frankly, seems like bad writing.   It was nice to see her make a cameo, but is there any official word on this?   Did they split and get back together?  Part of me thinks this is a really dumb question where that's the obvious answer, but I'm still a little bit curious if there's more info on this anywhere.


Going to DC for a family vacation and arriving into Dulles. Any input on getting from Dulles to the Falls Church area that does not include an expensive cab ride?


How can things at the event horizon slow down and appear to stop to a remote observer?

So they say the remote observer will never see anything fallen to the black hole, because any object will slow down as it gets closer to the event horizon and eventually stop to stay there forever. Am I getting it right so far? With this said, it turns out nothing has fallen to the black hole up till now. That is for us, as remote observers, anything that ever tried to reach the black hole got stuck at its event horizon. So we can go and see it right away - it must be still there. At the same time they say that the black hole keeps sucking matter. So question is, to a remote observer, how does all this matter fit the event horizon provided it will never fall through it?


How to insert source code in Google Docs?

Is there a easy way to insert source code with highlight in Google Docs?


How do I accept an answer here in Stackoverflow?

I can't find any vestige on how to accept an answer. I had some good answer on my Questions and I must accept 'em, but I can't find where is this feature. Thanks in  advance!


Evaluating the indefinite integral $\int \frac {x^7-1}{\log x}dx$

The integral to be evaluated is  $$\int \frac {x^7-1}{\log x}dx$$  The actual question was to find the definite integral of the above in the limits $0$ to $1$. I could not apply any of the usual tricks to find that integral, hence I thought finding the indefinite integral first and then applying the limits would be the best way to evaluate the same.  I tried applying trigonometric substitution, which did'nt work. I also tried putting $x=e^t$, hoping to simplify the integral but that did not give me any results either.   How should I proceed to evaluate this integral?


when is rollup summary field calculated if there is insert and update in same transaction?

If My master record has one child record and I am updating a child record and making is_Active field on it false and then creating a new record which has is_Active = true in the same transanction will and i have a rollupsummary . when will it be calculated?


I imported an svg of text to blender and converted the text to mesh. After extruding it, it does something funny to the tex (holes in the text). Can anyone help me to extrude it smoothly?


When I saved the file (Ctrl + S) the texture disappeared

I was painting the textures onto the model when I decided to do an incremental save as to not lose all my work, so I pressed Ctrl S and saved the blend file.  When I looked at Blender again (I did not close Blender at all) the object was black and I can't find the texture image I saved? Sorry, I'm really new to Blender. Here's a screen:


I was trying to prove that $\tan \frac{x}{2}>\frac{x}{2}$ for all $x \in (0, \pi)$ I am trying to use some trigonometric identity that gives me lights to be able to prove this, could you give me some way?


Do magical words differ between languages in Harry Potter?

As we know Hogwarts and its surrounding environment are located in Great Britain and so wizards and witches speak British English. But we see students from various ethnicities at Hogwarts, which means wizarding is present all over world.  Now in the real world there are different words for same object depending upon British English and American English like football/soccer, cab/taxi and many more...  Does this affect the wizarding world, especially spells?  For example, does “Avada Kedavara” change in America?


Capturing key input from events device and mapping it (toggle TouchPad key is unmapped)

I have a Lenovo IdeaPad Yoga 13 with Ubuntu 13.10 Installed. The device has a "Toggle TouchPad" button on the keyboard (F5). The keyboard's F* buttons are reversed (so to get F5, I need to press Fn + F5, and F5 is actually the toggle key).  I've found out that the button is actually read by the keyboard (rather than the TouchPad like certain devices), which is at /dev/input/event3. So using sudo input-events 3 I was able to figure out that the button sends the scan code 190:  Output of sudo lsinput:  /dev/input/event3    bustype : BUS_I8042    vendor  : 0x1    product : 0x1    version : 43907    name    : "AT Translated Set 2 keyboard"    phys    : "isa0060/serio0/input0"    bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP   Output of sudo input-events 3:  23:13:03.849392: EV_MSC MSC_SCAN 190 23:13:03.849392: EV_SYN code=0 value=0 23:13:03.855413: EV_MSC MSC_SCAN 190 23:13:03.855413: EV_SYN code=0 value=0   No other programs (such as xev) seem to be able to read it except for input-events. Is there any way to map this button to make it toggle the TouchPad on my laptop? If so, how can I do so?


How to split the Response html of ajax in jquery

This code is working fine. But i could not spilt the response of html using ajax jquery. i need to split it to #div1 and #div2. Please Use "|" to split response. please explain with full code. because i don't have much knowledge about jquery.  <!DOCTYPE html>
Response Data1:

Response Data2:

 <form> <input id="Names" type="text" value="name1,name2"> <button>Event</button> </form>     this is result.php  <?php        $name1 = $_REQUEST['FirstName'];        $name2 = $_REQUEST['SecondName'];  // i need to split by | this symbol;     ?>   <input type="text" value="This is 1st response <?php echo $name1;?>"> | This is 2nd Response <?php echo $name2;?>


After the last update of TeXLive 2018 (pretest) I get an error with csquotes' macro MakeAutoQuote:  \setcounter{errorcontextlines}{100} \listfiles \documentclass[fontsize=11pt,paper=a4,pagesize,ngerman]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage[T1]{fontenc} \usepackage{csquotes} \MakeAutoQuote{»}{«}  \begin{document} ABC \end{document}   The error:  ! Package csquotes Error: Invalid argument.   My versions:  inputenc.sty    2018/04/06 v1.3b Input encoding file babel.sty    2018/02/14 3.18 The Babel package csquotes.sty    2018/02/11 v5.2c context-sensitive quotations (JAW)   I use pdfLaTeX. What is wrong here?


How can I prove this Euler method has a convergence order of two?

The method is the following and it's an altered version of Euler's method:  $$y_{n+1}=y_n+hf(x_n+h/2,y_n+hy'_n/2) $$  How can I prove its order of convergence? All I can get from my textbook is how I can prove Euler's method order. But the way it's done is starting from the Taylor series and its next term. But I can't do this here can I? Also, I don't quite get this method and what is going on in the parenthesis. How did this method come up?


I have made a simulation of voltage divider, and that give me the same value like on this calculator:   But when I soldered my board I have measured voltage and It was around 4.5 V, but with that calculator should be around 12 V.  My two resistors have value 2000 Ohm (2 kOhm).  I was want to make 24 V to around 12 V with voltage divider, and then 12 V pass to LM7805 so my Atmega328 will work on 5 V.  Here is my PCB how works, really I'm not sure how is it possible to voltage to be 4.5 V but should be 12 V.


I'm using a vanity country code top level domain (ccTLD), can I persuade Google to geotarget a different region?

Because I'm still living like it's 2008, I run a website with a .in TLD. The website has nothing to do we India and does not target Indian users.  Unfortunately, when I go to Google Webmaster Tools I see that Google have locked my geotargeting status to India:    On the , Google state that:     Sites with country-coded top-level domains (such as .ie) are already associated with a geographic region, in this case Ireland. In this case, you won't be able to specify a geographic location.   This seems implausibly inflexible, so I want to know if there are any sneaky ways of removing auto-geotargeting, or changing it to a more appropriate region?


The 25th works for Geo and me or Geo and I

Which is correct? "The 25th works for Geo and Me or the 25th works for Geo and I."


Endlessly repeating "There was a problem connecting..." error

I'm getting constantly interrupted by the same error, "There was a problem connecting to the server "admin's MacBook". The server may not exist or it is unavailable at this time.  Check the server name or IP address, check your network connection, and then try again."  The server in question is my older Macbook.  A few days ago I needed to copy iSync from the old MB to my newer MBP so I established a bluetooth file sharing link.  When I was done I turned file sharing off again and shutdown the old Macbook.  Apparently my MBP (the newer one) is still constantly trying to contact the old MB.  How can I get it to forget that that machine was ever connected?  Here's the error dialog:    So far I tried following:     System Preferences Network  Deleted BT connections  Then Open the Sharing and Disable Sharing       Restart MBP   without success.  It would appear that the problem is related to having installed iSync under Mountain Lion.  Here is a copy of the console log at the moment that the error dialog pops up:  8/7/13 11:36:43.623 AM iSync[18691]: ApplePersistence=NO 8/7/13 11:37:13.632 AM iSync[18691]: [0x10010ba70] |Server|Warning| failed to connect to the server: NSPortTimeoutException connection timeout: did not receive reply 8/7/13 11:37:13.909 AM NetAuthAgent[18695]: ApplePersistence=NO 8/7/13 11:37:15.984 AM SyncServer[18693]: [0x7fd9d340bea0] |DataManager|Warning| Client com.apple.iSyncDU.IMEI356495004217990 image file path /Volumes/Applications/iSync.app/Contents/PlugIns/ApplePhoneConduit.syncdevice/Contents/PlugIns/PhoneModelsSync.phoneplugin/Contents/Resources/MOTV535.tiff does not exist. 8/7/13 11:37:43.786 AM iSync[18691]: [0x10010ba70] |Server|Warning| failed to connect to the server: NSPortTimeoutException connection timeout: did not receive reply 8/7/13 11:37:49.170 AM SyncServer[18693]: [0x7fd9d340bea0] |DataManager|Warning| Client com.apple.iSyncDU.IMEI356495004217990 sync alert tool path /Volumes/Applications/iSync.app/Contents/MacOS/sync-tool does not exist. 8/7/13 11:38:13.939 AM iSync[18691]: [0x10010ba70] |Server|Warning| failed to connect to the server: NSPortTimeoutException connection timeout: did not receive reply 8/7/13 11:38:21.018 AM SyncServer[18693]: [0x7fd9d340bea0] |DataManager|Warning| Client com.apple.iSyncDU.IMEI356495004217990 formatter bundle path /Volumes/Applications/iSync.app/Contents/PlugIns/ApplePhoneConduit.syncdevice/Contents/Resources/Formatter.bundle does not exist.   Now I suspect that because I simply copied over iSync, it's still configured for the other machine, which it cannot find.  Simply deleting iSync did not do the job.  launchd must still be configured to run whatever backup daemon got installed when I ran iSync.


What is the best way to resize a high-DPI image for use on the web and in mobile apps?

I've been given an image (I'm guessing straight from a camera) and it's currently at at 240 pixels per inch. It's been a while since I did much Photoshop; I have three questions for two requirements:   Back in the day the web used 72dpi images because that's all screens worked at. Is 72dpi still the most appropriate resolution for the web? I need to use the image in a phone application. I know phone devices have higher DPIs than 72 but do you need to feed them a high-DPI image to begin with, or will a massive 72dpi image work properly?     BONUS QUESTION     How do I resize an image from 240dpi to 72dpi while maintaining detail? i.e. I don't want to go from a 240px * 240px at 240dpi to 72px * 72px at 72dpi.


From what I've found on the internet, CPU clocks work with piezoelectric material to produce a very stable oscillating signal but those materials must change in shape or size to get a different frequency. So how does a CPU change frequency? Do CPUs use some other kind of less stable clocks then fix them with a crystal oscillator or ...?  (I know very little about electronics, please stay simple, thanks)  Please note that I'm not asking how it is decided to change the frequency (like ), I'm asking how the frequency change actually happens in the circuit.


Proof about a Topological space being arc connect

While reading a book i found a topological space described as:     Let $(X,\tau)$ be the topological space formed by adding to the   ordinary closed unit interval $[0,1]$ another right end point,say   $1*$, with the sets $(a,1)\cup${1*} as a local neighborhood basis.   Then it says that such topological space is arc connected. I found almost exactly the same question  which has yet to be solve,however i'll provide some details.     The book itself states that since [0,1] and [0,1)$\cup${1} are homeomorphic as subspaces,and the subspace topology on [0,1] is   Euclidean,X is the union of two compact subspaces and thus compact,by   the same reasoning it is arc connected.*   How can such argument prove me that there is a injective path from $1$ to $1*$? Is it possible to explicit such path?  Further details: As the book states:     Path and arc connectednesss relate to the existence of certain   continuous functions from the unit interval into a topological   space.Continuous functions from the unit interval are called paths,if   they are one-to-one they are arcs.


How can I remove Ubuntu without affecting Windows so I don't have to choose an OS to boot at startup?

I installed Ubuntu 12.10 alongside Windows but now I want to permanently remove it from my computer as I find it quite uncomfortable to have to choose which OS to boot at startup time.  How can I remove it without affecting my Windows system?


Specific system of differential equations

I have the following system of equations:  \begin{eqnarray}\frac{dx}{dt} = x(1 - x^2 - y^2) \\ \frac{dy}{dt} = y(4 - x^2 - y^2) \end{eqnarray}  I want to prove that if a solutions starts (at time $t = 0$) in the region   $$ G = \{(x, y) \in \mathbb{R}^2 : x > 0, y > 0 \text{ and } 1 < x^2 + y^2  < 4\} $$  that it remains there for all $t \geq 0$. I have already proven that, from $G$, a solution cannot cross the $x$-axis where $0 < x < 2$ or the $y$-axis where $0 < y < 2$ (since those line segments are orbits), but the pieces of the circles with radius 1 and 2 (where $x > 0, y > 0$) are the lines I haven't done yet. In this question we can focus on just the circle with radius 1 since the proof for the other circle is completely analogous to it.  In my book, there is a similar problem where they show that if a solution crosses a certain line, that solution attains its maximum or minimum value for $x$ and $y$, and then they derive a contradiction. However, in this case, for $n \geq 1$ the $n$-th derivative of $x$ equals 0 on the circle with radius 1. (If the second derivative were negative, $x$ would attain its maximum on the circle, a contradiction since $\frac{dx}{dt} < 0$ in $G$, so $x$ is decreasing.)  I don't see why a solution can't cross the circle at all. On the circle, $\frac{dx}{dt} = 0$ and $\frac{dy}{dt} > 0$, so after crossing the circle, the solution would go back up to $G$.  Is the circle itself an orbit?  EDIT I think I have found the answer. Using polar coordinates, I found $$ \frac{dr}{dt} = r - r^3 + 3r \sin^2(\theta) $$ Now, $$ \frac{dr}{dt} > 0 \Leftrightarrow 0 < r - r^3 + 3r \sin^2(\theta) \leq r - r^3 + 3r = 4r - r^3 $$ since $0 \leq \sin^2(\theta) \leq 1$. Note that $0 < r \leq 1$ satisfies $4r - r^3 > 0$, and thus $\frac{dr}{dt} > 0$. Therefore, if a solution goes from $G$ to the edge of the unit circle, $r$ must, on the edge, either be decreasing or constant (i.e., its derivative is less than or equal to 0), contradicting the fact that the derivative is positive.  Can someone tell me if this is correct?


How install watchman on Ubuntu 19.10 for react native

I was try to installing watchman on Ubuntu 19.10 but it throwing some issues.   My commands:  $ cd ~  $ git clone https://github.com/facebook/watchman.git  $ cd watchman/  $ git checkout v4.9.0  $ sudo apt-get install -y autoconf automake build-essential python-dev  $ ./autogen.sh   $ ./configure   $ make  $ sudo make install$ watchman --version   Issues:      scm/Mercurial.cpp: In constructor ‘watchman::Mercurial::infoCache::infoCache(std::string)’: scm/Mercurial.cpp:16:40: error: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct watchman::FileInformation’; use assignment or value-initialization instead [-Werror=class-memaccess]    16 |   memset(&dirstate, 0, sizeof(dirstate));       |                                        ^ In file included from scm/Mercurial.h:10,                  from scm/Mercurial.cpp:3: ./FileInformation.h:18:8: note: ‘struct watchman::FileInformation’ declared here    18 | struct FileInformation {       |        ^~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors make[1]: *** [Makefile:4446: scm/watchman-Mercurial.o] Error 1 make[1]: Leaving directory '/home/elavarasan/watchman-4.9.0' make: *** [Makefile:1264: all] Error 2   Expecting:  the watchman install successfully.   watchman version 4.9.0


Fantasy/SF short story about imprisoned artist

The story I am trying to ID was published, I think, in Asimov's magazine in the early 1980s, though it could possibly be The Magazine of Fantasy & Science Fiction, and now I think about it the period might be off slightly... sorry! As I recall it, the protagonist was imprisoned in a cell and forced to paint artworks. He had a special ability to paint very special artworks with different levels of the paintings revealed by different lighting, viewing angles, something like that (I don't recall 100%). I think he uses one of his paintings against his captor. The story had a sort of "Night Gallery" vibe.


Setup new profile, deleted my profile, and now new user has no admin rights

So I bought a used laptop and set up the latest version of Ubuntu on it. I initially set it up with a user profile and password for myself, but decided to give the computer away to a friend who needed it. I created her profile without a password, and then deleted my profile. She lives far away and has told me she has no admin rights, and cannot install a plug-in that she needs. We both don't know a lot about computers or Ubuntu. What instructions can I give her so that she can gain admin rights and be allowed to install software?


Does rsync have issues with Unicode Characters in filenames?

I run rsync via a crontab every night to make an offsite backup of a directory's state, fairly trivial stuff really.  While going through the logs, I noticed that in particular there were a set of files that were always deleted from the destination and recopied every time the rsync command ran. Further investigation shows the file names all had Unicode in them.  Looking at just one of the files, they're all variations, here's the filename. Note the accented character:  Classics. . . Lè Tour Guide Training Guide.pdf  This appears as this sequence in the logs (a deletion and the new copy):  deleting ./Classics. . .Le\#314\#200 Tour Guide.ppt  ./Classics. . . L\#303\#250 Tour Guide Training Guide.pdf   I'm pretty sure I know what's going on.  The first one is taking the letter e and adding an accent over it.  The second one is using a glyph itself that has the accent è.  Visually, they're the same.  What I don't understand is why rsync doesn't just preserve whatever the file name actually is.  I'm using rsync v2.6.9 protocol version 29 on OS X Yosemite v10.10.5 to talk with rsync v3.1.0 protocol versions 31 on Ubuntu 14.04.4 LTS.  The OS X command line is:  /usr/bin/rsync -zaHv --progress --delete user@srchost.com:/src /Volumes/DstDrive/dst'   Is there a way I can get rsync to preserve the file names as-is? Is this a bug in rsync?


Null Pointer exception occurs when back pressed on a particular fragment

Null Pointer Exception occurs at times randomly. Occurs mostly when pressed the backpressed from a particular fragment.   Exception occurs when tries to pass a param called "userregid" using Volley.   params.put("userregid", Utils.getString(((BaseActivity)getActivity()).get_hospital_userreg_id()));   I wrote a method in a BaseActivity to identify the hospital_userreg_id according to the conditions. This is the function ,   public int  get_hospital_userreg_id() {      int userreg_id = 0;      switch (AppConst.HOSPITAL_CURRENT_ID) {          case 36:             userreg_id = AppConst.HOSP_ONE_USERREG_ID;             break;         case 37:             userreg_id = AppConst.HOSP_TWO_USERREG_ID;             break;     }      return userreg_id; }   I feel that the issue is related to calling the function from the fragment. Any solutions ?


The buttons on the feed screen which shows hot question does not seem to work for me. Every time I click on a question it just darkens but does not take me to the question at all.     App Version: 1.6.0.10 Device: iPad Air (Wi-Fi) OS Version: Version 10.0.1 (Build 14A403)


Would upgrading my server specs make my app faster?

I'm launching a web app, which is currently in beta running on a "Lite" VPN account from my hosting provider. It has 2 cores and 1GB RAM.  I have only about 10 users now but Im considering whether I should just boost up the server to the "Pro" setup for $100/month, being 8 cores and 3GB RAM.   Aside from handling more LOAD..as that is not really needed for my whole 10 users, will it actually make my app any faster going from 2 to 8 cores? It's a web api written written mostly using async/await (C#) (IIS 8.5 on Win Server).  Will it have any noticable difference for my users?


Evaluate $\lim_{x \to 1} \frac{\sqrt[3]{x} -1}{\sqrt{x} -1}$  I want to solve this limit by employing the strategy of introducing a new variable $t$ in such a way as to make the problem simpler.  I've tried using $t = \sqrt[3]{x} \Rightarrow \lim_{t \to 1} \frac{t -1}{\sqrt{t^3} -1}$ but I can't seem to manipulate the problem in to something simpler.  Can anybody give a hint?


Cocoa butter changed taste of chocolate help!

I have coloured my chocolate ganache with Squires cocoa butter colouring but it has altered the taste of the chocolate. How do I get back the taste of just white chocolate?


Suppose that $M$ and $N$ are two are two square matrices of size $n$, which have the same minimal irreducible polynomial $p(x)$. I think that $M$ and $N$ are similar, since $p(x)$ is irreducible, so they have the same  characteristic polynomial that coincides with $ p (x) $, and therefore the same invariant factors. is this reasoning correct? Thank you


I'm using REST api towards Salesforce for inserting various kinds of data from our other systems. And for data that is regarded as configuration (in this case a list of freight forwarders) we have created a custom metadata object Carrier__mdt). So now I have created a script to populate this object. And it's not working:     message: 'entity type cannot be inserted: Carrier',     errorCode: 'CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY',  I have tried giving every kind of access right to the object and it's field, but no go.I'm doing a POST request on the object URL https://XXXX/v51.0/sobjects/Carrier__mdt I've seen other people ask this question before, and been given every kind of answer from "that is not possible" to "it works now". Can it be done?


Can you use a Pensieve-memory to explore a place?

For example, if I revisit a memory of mine where I'm inside a castle and talking to someone, can the present-me explore different parts of the castle meanwhile the past-me continues her conversation? Is that possible?


GPA dropped due to a death in the family. How do I explain this on graduate applications?

I'm in the process of applying to graduate school. Naturally the University will require transcripts from all coursework. The school doesn't just look at grades, and they place an emphasis on recommendation letters and a strong GRE quantitive score. I have academic issues which naturally need to be disclosed.   I first started my undergraduate studies in the early 2000s. I was young, dumb, and self-medicated for depresssion by drinking. Additionally I had an other illness which caused me to lose consciousness, and I had multiple concussions from falling and hitting my head. I didn't do well in school, and after 5 years was academically disqualified. I maintained a GPA just under 2.0.   I moved back home and turned my life around. I transferred whatever credits I had, took classes at the local community college, and transferred all this to a local university and finished my Bachelor's degree with a 3.6 school GPA, and a 3.1 GPA including my old coursework.   Even though I had a non-technical degree, I landed a contract at a big tech company through a contact. Shortly after that contract ended I got an offer from another company and did some interesting work in testing core mobile applications and my skillset grew.    I felt I had hit a ceiling in my career and lacked the knowledge base to progress because I lacked a CS degree.   I decided to do a post-baccalaureate program in CS instead of a masters. Shortly after I started my program my dad passed away unexpectedly in a violent manner. I was present when it happened.   I was emotionally messed up to say the least. My family was not near me . So I spent a lot of time traveling home to help my family. My performance was up and down, I got some B's, a few A's, and two F's, and withdrew from several courses.   Fortunately I did complete an intensive internship last year at a tech company, and have a lot of skills and strong recommendations to show for it.   I've moved home now and am figuring out if I want to continue this program (it will take several years) or just apply for an MS CS since I already have a bachelor's degree. I'll have family support near me in all the places I'm applying.   My strongest assets are my work experience, and a solid quant GRE score.   Sorry for the long story. How I should address all this. My dad's cause of death was very traumatic and violent. Should I disclose details to admissions officers so they can understand why I didn't perform academically? How should I address the issues during my first undergraduate program?  -This question was marked as a duplication to another question. I believe addressing a death in the family is a different process which wasn't addressed in the other question. There is also past academic problems.


Adding a delete button dynamically in JavaScript

I am having a hard time getting my delete button to remove an item dynamically. When I add a new ingredient the button appears but does not have functionality.  $(document).ready(function () {         getRecipe();         $(".btn-primary").on("click", addIngredient);         $(".btn-default").on("click", deleteIngredient);     });      var recipe = {         title: "Pizza",         servings: 4,         ingredients: ["cheese", "sauce", "flour", "pepperoni"]     };      var button = "<button type=\"button\" class=\"btn btn-default delete btn-xs\"></button>";      function getRecipe() {           $("#title").append(recipe.title);         $("#servings").append(recipe.servings);           for (var i = 0; i < recipe.ingredients.length; i++) {             $("#ingredients ul").append("
" + recipe.ingredients[i] + " " + button + "
");          };     };      function addIngredient() {         var newIngredient = $(".form-control").val();         $(".form-control").val(newIngredient);         $("#ingredients ul").append("
" + newIngredient + " " + button + "
");      };      function deleteIngredient() {         $(this).closest("li").remove();     };


Is it trivial to say $\mathop {\lim }\limits_{n \to \infty } {(1 + {k \over n})^n} = e^{k}$

Is it trivial to say  $$\mathop {\lim }\limits_{n \to \infty } {(1 + {k \over n})^n} = e^{k},$$  considering the fact that we know $$\mathop {\lim }\limits_{n \to \infty } {(1 + {1 \over n})^n} = e?$$


pm-hibernate freezes and/or fails to resume on Dell XPS 13, 14.04, 3.19 kernel

I'm running 14.04 on a new XPS 13. In order to support the newer hardware, I'm running a mainline 3.19 kernel.   Hibernate resume has been iffy with the entire 3.19 kernel line, but recently (3.19.5) pm-hibernate no longer works at all. The screen will either a) switch off momentarily, then back on with all inputs frozen or b) switch off entirely, and fail to resume upon power on (despite displaying the correct resume-from-uuid message).  I have enough swap space (and it has worked in the past), I have checked that the uuid is being correctly referenced, and nothing seems particularly amiss in /var/log/pm-suspend.log (last 200 lines here: )  Thanks for your help.


I am looking at nServiceBus and came over this interface  namespace NServiceBus {     public interface IMessage     {     } }   What is the use of an empty interface?


c++ 17 template of Variadic functions for namespace and classes

what exactly I am doing wrong here? in .h namespace test1 {     template <typename ...T>     void test1_test1(T & ...t); };  in . cpp namespace test1{     template <typename ...T>     void test1_test1(T & ...t) {         std::cout << "this is test1_test1" << std::endl;     } }  also in classes In .h class testing2 { public:     template <typename ...T>     void test1_test1(T & ...t); };  in .cpp template <typename ...T> void test1_test1(T & ...t) {     std::cout << "this is test1_test1" << std::endl; }  error : Undefined symbols for architecture x86_64:   "void test1::test1_test1<>()", referenced from:       _main in main.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [testing_template] Error 1 make[1]: *** [CMakeFiles/testing_template.dir/all] Error 2 make: *** [all] Error 2  also in gcc error as well how to define Variadic functions in classes ? many thanks


How can I create a new tag when I don't have the privilege to do so?

It's not the first time that, in posting a question on Stack Overflow, I just can't find the tag I'm looking for.  I know I need 1,500 reputation points in order to create new tags, but is there some kind of way to overcome this rule (such as the review section if you don't have privileges to edit posts)?


cloth simulation, cloth(plane) collide at center of of the cube instead of at the surface

so I have been playing around with cloth simulation, and was doing a low-poly bend and made a blanket on top. and then used cloth simulation on the plane and collision on the cube. first, I had a subdivision surface modifier on the cube and when I played the simulation, the cloth would go inside the cube and rest in the middle of the cube, then I used a cube of similar proportion but did not subdivide it, and the result was the same. then I made a new plane way bigger than the cube, applied the cloth physics property but the result was the same.      note: when I try this in a new file all the result is normal but only on this file, there is a problem.


Consider I have two sets that neither one is a subset of the other (for example, the set of prime numbers and the set of odd integers). Is there a specific notation that combines the meanings of both ⊄ and ⊅ ?  Also, is there a notation to mean that two sets are completely distinct and share no elements in common (for example, the sets of odd and even integers)?  ≠ seems very inappropriate, and I'd like to avoid it.  Context: My area is actually Computer Science. I'm using this refine my vocabulary in order to teach my students about  (which is basically about sets and subsets of IP addresses), and to write some exercises for them. I'll probably use the words incomparable and disjoint as suggested.


"More than one person a day is/are killed"

If I wrote a sentence saying "More than one person a day _______ killed by these massacres," would the blank be replaced by is or are?


Java program will not accept comparison of system input variable in if statements

I am creating a java program that takes in a username and searches an array for a matching username. However, even when the input matches the only username I put in the array, it still will not successfully compare them, saying that the two variables do not match. Here is the code:  import java.util.*; import java.lang.*; import java.io.*; class text {     public static void main (String[] args) throws java.lang.Exception     {         Scanner user_input = new Scanner( System.in );         String text;         System.out.println("Enter Username");         text = user_input.next( );         String[] usernames={"Mikey"};         String username="";         boolean usernamecorrect=false;         for(int i=0;i<usernames.length;i++){             if(usernames[i]==text){                 //With an input of Mikey, this code should run, but doesn't                 System.out.println("Username correct\n");                 usernamecorrect=true;                 username=text;                 break;             }         }         System.out.println(username);     } }