Is working on a computer for a long time everyday bad for health?

Is looking continuously at a computer screen for a long time everyday bad for health? If yes, then what care should be taken while working on a computer?


Curve and array modifier is distorting the shape

I have a Hexagon turned into a curve shape, and I'm trying to make the sphere go follow the curvature, I add the array and curve modifier then select the Hexagon but the sphere shape gets distorted. I also added more segments in case it would correct this issue, but the sphere shape becomes even worse. How can I fix this? Thank you.


I have a new laptop with several partitions on it and was hoping to merge them; but having never done that, I wanted to ask before I screw something up.    The output of sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL is:  NAME   FSTYPE   SIZE MOUNTPOINT LABEL sda           111,8G             ├─sda1 ext4    95,9G /           ├─sda2            1K             └─sda5 swap    15,9G [SWAP]      sdb           931,5G             ├─sdb1 ext4   810,4G             └─sdb2 ntfs   121,1G             sr0            1024M    I can see that i have around 930G in one partition and im running out of space on my main partition.  My goal is to merge the two and get easy access to that second bit , but i want to verify that i won't disrupt or destroy anything on my main partition by merging the two and of course need to know the best method to do so safely .


Bio information, such as e-mail and name

I'm not sure if this is the right place for this kind of questions, however, I e-mailed stackexchange support and got no answer back, so here I am.  I deleted my e-mail from my bio (in my account settings). However, everytime I log into my account, I see that it's still there. So, I'd like to know who has access to that information. Everyone? Logged users? Admins only?  Regards,


Show that $g:I\to\mathbb{R}$ is continuous and $f:(x-x_0)g(x)$ is differentiable

(a) Let a function $g:I\to\mathbb{R}$ be continuous at $x_0\in I$. Prove that the function $f$ given by $f(x)=(x-x_0)g(x)$ is differentiable at $x_0$.  (b) Let a function $f:I\to\mathbb{R}$ be differentiable at $x_0\in I$ and $f(x_0)=0$. Prove that there exists a function $g:I\to \mathbb{R}$ that is continuous at $x_0 \in I$ such that $f(x)=(x-x_0)g(x)$.    Thought:  (a)  By $Fermat's$, since $g$ is continous, if $g'(x_0)=0$ then $g(x)$ is differentiable?  but how does it connect back with $f(x)$?  (b)  use the definition of every differentiable function is continuous?  Thus $f(x)$ is continuous and also $(x-x_0)$ so $g(x)$ too?  Thank you!!


The number of bijections $f$ of $\{1, 2,..., n\}$ such that $f(i) \ne i$ for any $i$

Show that the number of bijections $f$ of $\{1, 2,..., n\}$ such that   $f(i) \ne i$ for any $i$ is equal to $$\sum_{j=0}^{n}(-1)^j\frac{n!}{j!}.$$   Can I get some help for the above problem? I am not getting it at all.


I have a list of tuples like [(module_name, module_abs_path)(mod2, path2), ...]  The modules are located in the 'modules' subdir where my script lives. I am trying to write a script which reads a conf file and makes some variables from the conf file available to the modules from the modules dir. My intention is to load and run all the modules from this script, so they get access to these variables.   Things I have tried so far but failed:   Tried using  __import__() but it says running by file name is not allowed Tried importlib.import_module() but gives the same error.   How should I go about doing this?


I other words can I find a number m for any number $n$ such that $\varphi(m)=n$? It would be great if you could also present a proof or a link to a paper that contains a proof Edited note: I forgot to mention $n$ must be even as $\varphi(m)$ is always even.


Should I change most of my money in my home country or in the destination country? baht to canadian dollars....change in thailand or canada

Where can I get more favourable exchange rate, in general?changing baht to Canadian dollars in Thailand or Canada or make a bank transfer to my Canadian account


Prove that, if $d$ is a metric, then $\frac{d}{1+d}$ is equivalent to $d$.

Let $(X,d)$ be a metric space, then $d' = \frac{d}{1+d}$ and $d$ are equivalent; furthermore let $B_\theta(x, \epsilon) = \{y \in X\ |\ \theta(x,y) < \epsilon\}$ for some metric $\theta$ over $X$. I wanna ask you guys if my proof is correct.    Edit 1: The question posted  ask if, given a metric $d$, $d' = \frac{d}{1+d}$ is also a metric; my question is different as by hypothesis I already know that $d$ and $d'$ are metrics, so given that I'm asking if my below proof, showing that $d$ and $d'$ are equivalent metrics, is correct.  Proof: Since $d' = \frac{d}{1+d} \le d, \ \forall x,y \in X$, then $d < \epsilon \implies d' < \epsilon$. So $y \in B_d(x, \epsilon) \implies y \in B_{d'}(x, \epsilon)$. Conversely, let $\delta = \frac{\epsilon}{1+\epsilon}$. Then $d' < \delta \implies d = \frac{d'}{1-d'} < \frac{\delta}{1-\delta} = \epsilon$. So $y \in B_{d'}(x,\delta) \implies y \in B_d(x,\epsilon)$.    Edit 2: As pointed out by , this is the conclusion of the proof. Finally, since the set of all open balls in a metric space form a basis for the space and $\forall x \in X, \forall \epsilon > 0$ we have that $B_d(x,\epsilon) \subseteq B_{d'}(x, \epsilon)$ and $B_{d'}(x, \delta) \subseteq B_{d}(x, \epsilon)$, $d$ and $d'$ induce the same topology on $X$.


Does First Strike apply when two creatures Fight each other?

Does First Strike apply when two creatures fight, i.e when they have been targets of the Fight ability?


I dual-boot my laptop and use Windows 7 Pro primarily and have Ubuntu 13.10.  I've created a raw disk vmdk of the entire drive. I also use the latest VirtualBox. I would like to start Ubuntu in VirtualBox but have issues. It will boot to the log in screen. I log in, but the screen goes black. I have not been able to find a solution so far and hope someone might have an idea to try.  Thanks


How to testfor somebody that does not have a item in their inventory in minecraft?

I want to make a command that will kill anybody that does not have a trip wire called Midget passing in their inventory.


How do I find out and change the value of  in asp.net?

I want to find the value of  and want to mask the first 4th of the text field to another character when the length of the text field is 4 or greater.   but I don't know well asp.net skill. help me plz.  here is some html in body tag  <body>     <form id="form1" runat="server">         <div>             <input type="text" runat="server" id="input1" name="input1" value="TestText" />             <input type="button" runat="server" class="btnCnvt" name="btnCnvt" id="btnCnvt" value="convert" onclick="GetValue()" />         </div>     </form> </body>   here is javascript :(  <script type="text/javascript">         function GetValue()         {               // Don't Work!!!(not fount 'value' attribute)               var str = document.getElementById("input1").value;         } </script>


Server admin sent me a private key to use. Why?

I'm supposed to be accessing a server in order to link a company's staging and live servers into our deployment loop. An admin over on their side set up the two instances and then created a user on the server for us to SSH in as. This much I'm used to.  In my mind now what would happen is I would send them my public key which could be placed inside their authorized keys folder. Instead however they sent me a file name id_rsa which inside the file contains -----BEGIN RSA PRIVATE KEY----- over email. Is this normal?  I looked around and can find tonnes of resources on generating and setting up my own keys from scratch, but nothing about starting from the private keys of the server. Should I be using this to generate some key for myself or?  I would ask the system admin directly but don't want to appear an idiot and waste everybody in-between us' time. Should I just ignore the key he sent me and ask them to put my public key inside their authorized folder?


Is it possible for Minecraft users on Mac (Java) to play with iOS (Bedrock) users?

My family is an Apple household (Macs and iOS devices), and we are getting into Minecraft. I've been trying in vain to find a definitive answer as to whether there are any options for letting family members use these separate devices to play on common servers or worlds.   It seems doubtful at this point, but I cannot find a trusted source that says, Yep, it's not possible in any way, so you can stop trying to find a solution.  The Minecraft website has a , and both Mac and iOS are listed as sharing common features, namely "Realms," "player-hosted multiplayer servers," and "LAN or WiFi Multiplayer." The Minecraft page on the App Store for iPhone and iPad also advertises “Play with friends on mobile (and) PC...!” (See screenshots.)  I briefly thought that the "Realms" feature was our ticket, since the option was displayed prominently on the interfaces of both Mac and iOS. But when I had trouble getting them to work, I learned (on Arqade and elsewhere) that this common feature is actually restricted. Namely, users can only play with each other if they're running the same Minecraft edition, e.g. Java (on our Macs) or Bedrock/Pocket (on our iPad/iPhone).   I tried looking for Minecraft multiplayer server communities that host both platforms, but I've come up short.   I tried researching what it would take to host a home-based server, but I wasn't able to determine if it would be worth the effort.   We were able to get our iPad and iPhone to run multiplayer on  our LAN/WiFi, but my Mac was unable to see this activity.  Are there ways to make these different Apple devices play nice with each other, or are we SOL?


How to compare the differences between two PDF files on Windows?

Do you know a good way to compare PDF files side-by-side and show the modifications between the two?  I'm looking for Windows software to accomplish this. It would be great if you can post both free and not-free products.


Proving that the function is differentiable and $f'(0)=0$

Consider a function $f (x) $ such that $f (x)=\begin {cases} x^2 &  \text {x=irrational}     \\ 0   &\text {x=rational} \end {cases}$ Then prove that $f $ is differentiable  at $x=0$ and $f'(0)=0$ $$\text {Attempt} $$ .                  .  Now I consider two sequences $x_n=\frac {\sqrt{2}}{n},y_n=\frac {1}{n} $ one irrational one rational both going to $0$ as $n\to \infty $. But now the problem is how to consider LHD,RHD.Do we have to consider irrational case then rational case and if both limits go to same value then say that function is differentiable.I can easily see the graph on graphical calculator and verify the result but I am more interested in analytical method.


Unfortunately, (My app) has stopped. Eclipse Android

I'm a beginner in android developing and I'm trying to build a simple app but I'm getting this error in the emulator.(Unfortunately,(App) has unexpectedly stopped).  LogCat    package com.eebax.mjcalculator;  import android.support.v7.app.ActionBarActivity; import android.support.v7.app.ActionBar; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.os.Build;  public class MainActivity extends ActionBarActivity { EditText one, two; Button plus, minus, multiply, divide; TextView showres; @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);      one = (EditText)findViewById(R.id.editText1);     two = (EditText)findViewById(R.id.editText2);     plus = (Button)findViewById(R.id.button1);     minus = (Button)findViewById(R.id.button2);     multiply = (Button)findViewById(R.id.button3);     divide = (Button)findViewById(R.id.button4 );     showres = (TextView)findViewById(R.id.textView3);      plus.setOnClickListener(new View.OnClickListener() {          @Override         public void onClick(View arg0) {             // TODO Auto-generated method stub             try {                 int n1 = Integer.parseInt(one.getText().toString());                 int n2 = Integer.parseInt(two.getText().toString());                 int sum = n1+n2;                 showres.setText(" "+sum);             }             catch(Exception e){             }           }     });      if (savedInstanceState == null) {         getSupportFragmentManager().beginTransaction()                 .add(R.id.container, new PlaceholderFragment())                 .commit();     } }   @Override public boolean onCreateOptionsMenu(Menu menu) {      // Inflate the menu; this adds items to the action bar if it is present.     getMenuInflater().inflate(R.menu.main, menu);     return true; }  @Override public boolean onOptionsItemSelected(MenuItem item) {     // Handle action bar item clicks here. The action bar will     // automatically handle clicks on the Home/Up button, so long     // as you specify a parent activity in AndroidManifest.xml.     int id = item.getItemId();     if (id == R.id.action_settings) {         return true;     }     return super.onOptionsItemSelected(item); }  /**  * A placeholder fragment containing a simple view.  */ public static class PlaceholderFragment extends Fragment {      public PlaceholderFragment() {     }      @Override     public View onCreateView(LayoutInflater inflater, ViewGroup container,             Bundle savedInstanceState) {         View rootView = inflater.inflate(R.layout.fragment_main, container, false);         return rootView;     } }  }   Manifest  <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.eebax.mjcalculator" android:versionCode="1" android:versionName="1.0" >  <uses-sdk     android:minSdkVersion="10"     android:targetSdkVersion="19" />  <application     android:allowBackup="true"     android:icon="@drawable/ic_launcher"     android:label="@string/app_name"     android:theme="@style/AppTheme" >     <activity         android:name="com.eebax.mjcalculator.MainActivity"         android:label="@string/app_name" >         <intent-filter>             <action android:name="android.intent.action.MAIN" />              <category android:name="android.intent.category.LAUNCHER" />         </intent-filter>     </activity>  </application>  </manifest>


How to get the EXIF data from a file using C#

I would like to write a small program in C# which goes through my jpeg photos and, for example, sorts them into dated folders (using MY dating conventions, dammit...).   Does anyone know a relatively easy way to get at the EXIF data such as Date And Time or Exposure programatically? Thanks!


What is the simplest way to generate a dodecahedron?

I've been thinking of animating some dice and while most are easy to make, I'm having some trouble figuring out a way to generate a regular dodecahedron. I could hand build it but it would be potentially uneven. Would using the base of a 5 sided cylinder and then some variation on spin be the best option or is there a better way?


Find the limit of a natural logarithms product function

How to find this limit: $$\lim_{x\to\ 1}\ln x \ln (1-x)$$ I wanted to try L'Hôpital's rule, but it doesn't work here, cause i get: $$\lim_{x\to\ 1} - \frac{\ln (x)}{1-x} + \frac{\ln (1-x)}{x}$$


I am trying to show $$\lim_{n\rightarrow \infty} \int_{[0,1]^n} \frac{|x|}{\sqrt{n}}dx=\frac{1}{\sqrt{3}}$$ where $[0,1]^n$ is the unit cube in $\mathbb{R}^n$. I would appreciate any hint.


Combinatorial Proof of Combinatorial Identity involving $(-1)^k \binom {n-1}{k}$

Given the following identity: $$\sum_{i=0}^k (-1)^i \binom ni = (-1)^k \binom {n-1}{k}.$$  This is provable by induction. However, I wonder if there is a way to prove this in a combinatorial fashion (something like subsets, groups, choosing $n$ balls from a box with $k$ balls, et cetera.)  Thank you.


Question: If $G$ is a finite group such that the product of its elements (each chosen only once) is always $1$, independent of the ordering in the product, what can we say about $G$?  I was trying to conclude that $G$ must be abelian (I am not sure about this). I proceed as follows: if $|G|\leq 4$, then obviously, $G$ is abelian. Suppose $|G|>4$. Then consider products of all elements in the order $a^{-1}b^{-1}ab cc^{-1}dd^{-1}....$. This, being identity, implies that $a^{-1}b^{-1}ab=1$, i.e. $G$ is abelian.  BUT, the problem is in $a^{-1}b^{-1}ab$, the elements $a$ and $a^{-1}$ should be distinct, and similarly for $b$. Otherwise, the product $a^{-1}b^{-1}ab cc^{-1}dd^{-1}....$ is not in the prescribed form as in question.  Also, note that the cyclic group of order $4$ doesn't satisfy that $abcd=1$ where $\{a,b,c,d\}\cong \mathbb{Z}_4$.


64GB sd card shrunk to 4GB after cloning

I just cloned a SanDisk 4GB Sandisk micro SD card onto a Samsung Evo 64GB card, and now my new card shows a 4GB.  I used HDDRawCopy to do this. Can anyone tell me how to reverse this back to 64GB?  Thank you.


What should we do when getting an answer in comments?

What do we have to do when our question is resolved in the comments? Should we delete the question, or just let it appear as unanswered eternally, or there is another solution?  Edit:  I have read the question  but i think that the answer given by Kate Gregory would be also useful to the community as it suggests another solution which is not suggested in the first question.


Map not covering -Test Class in Salesforce

public static void insertLogicHandler(List<Task> listNewTasks, Map<Id, Task> mapNewTasks, String context){         List<Task> listTasks = mapNewTasks.values();         Map<Id, Task> mapFlowTasks = new Map<Id, Task>();          //business logic to create sub-Maps that are passed into specific methods         for(Task t: listTasks){             System.debug('#### in TaskTrigger_Handler.insertLogicHandler for loop');             if(t.WhoId != null && t.Type != 'Campaign Email'){                 mapFlowTasks.put(t.Id, t);//This line is not covering              } }   I have created the task dummy records ,while assigning who id as contact.id,I'm encountering flow exception.Could anyone help me with covering the Map?


Does gmcs or xbuild predefine any properties?

I'm porting some .NET code to mono, which involves #if blocks like:  #if !MONO // Stuff that only works in >NET #endif   I can define these things in the csproj file and set a mono build target. However, I was wondering if xbuild or gmcs predefined anything  so I know if I'm compiling on mono.


How to obtain a list of branches which are only direct ancestors of the current branch?

Let's say you have this list of branches in a git repository:  * master | | * b2 |/ * b1 | * b // etc   I know that technically branches are only symbolic references in the DAG that is the commit graph.  If I am on the master branch here, is there a command to obtain a list of branches which are only direct ancestors of master? In the above, that would mean b1 and b, but not b2.


How to define a global constant in postscript statement?

I want to define a constant globally within my pspicture environment as follows:  \begin{pspicture}(4,2) \psgrid \SpecialCoor \def\length{2} \pnode(!\length 1){C} \uput[90](C){$C$} % other codes truncated here for simplicity. \end{pspicture}   The above example does not work.   What is the correct way to do that?


Prove $\lim\limits_{n \to \infty }\sqrt[n]{a}=1$, if $a>0$

I tried solving by using $\log$ and got $\log(a)/n = \log (1)$ which after applying limit (of $n \to \infty$) gives $0= \log(1)$. Is this right?


"me [gerund]" or "my [gerund]" at the beginning of sentences?

A.1 The lions reacted to my singing. A.2 The lions reacted to me singing. B.1 My singing alarmed the lions. B.2 Me singing alarmed the lions.  As far as I know, both A.1 and A.2 are grammatical: "me" and "my" are interchangeable, although there is a little difference in meaning. Can we say the same refering to B.1 and B.2? Why does B.2 seem ungrammatical? If it is, what grammatical rule, if any, impedes using "me" in B.2?


Win10 - Accidentally moved my downloads folder to D:\, can't seem to revert or change

I like my downloads folder to be moved from C:\Users\Joe\Downloads to D:\Downloads. I recently reformatted my PC and accidentally set the new location as D:\.  I can't see to either revert this change or change the location of downloads to D:\Downloads! The C:\Users\Joe\Downloads folder still exists because I can't create a folder with that name in the Joe\ folder, however I can't see it!  If I try to move the location of D:\ to D:\Downloads that also does not work (not that I expected it to)!


Integral $\int_0^\infty x^ne^{-\frac{x}{a}} dx$

Improper integral of  $$\int_0^\infty x^ne^{-x/a} \, dx$$   I tried to do it by using Partial Integral and looked for the trend of $a$ and $n$ but it's confusing and I cannot finish it  Is there any other method to solve this? (I think of the Laplace Transform, but cannot find any relation)


How to initialize all members of an array to the same value?

I have a large array in C (not C++ if that makes a difference). I want to initialize all members of the same value.  I could swear I once knew a simple way to do this. I could use memset() in my case, but isn't there a way to do this that is built right into the C syntax?


How can I programmatically change the view mode?

In Drupal 7 I did something like:    function mymodule_views_pre_render(&$view) {     //dpm($view);     if ($view->name == 'services') {       $view->style_plugin->row_plugin->options['view_mode'] = variable_get('services_teaser');     }     else if ($view->name == 'portfolio') {       $view->style_plugin->row_plugin->options['view_mode'] = variable_get('portfolio_teaser');     }   }   I don't know how to set the view mode on the fly, in Drupal 8. The idea is to be able to select the view mode for the view from a configuration form, instead of doing it from the view form.  How do I achieve this?


Why am I seeing two JPG files instead of RAW + JPG with a Canon 1100D?

I have a Canon 1100D and I started taking pictures in the RAW+JPG mode. For some reason when I open my files on my PC I see 2 files, but both of them are JPG (they even have the same size). What is the problem and where is the RAW file?


If the lunar tides are stronger than solar tides, doesn't that imply the surface gravity of the moon is greater than the surface gravity of the sun?

This is not a new argument but I wanted to see what sort of counter-arguments are produced here. According to Wikipedia, the Sun's surface gravity is 28.02 times earth surface gravity, and the moon's surface gravity is 0.1654 times earth surface gravity.  Assumption set 1:  The angular diameter or apparent diameter of an object is:  2*arcsin(diameter-actual/2/distance to object)   For the sun and moon, these are very nearly the same (during an eclipse, the sun and moon appear to be almost exactly the same size), so  diameter-sun/2/distance to sun = diameter-moon/2/distance to moon   or  distance to sun / distance to moon = diameter-sun / diameter-moon   Assumption set 2:  SurfaceGravitySun = GravitationalParameterSun/HalfSunsDiameterSquared  SurfaceGravityMoon = GravitationalParameterMoon/HalfMoonsDiameterSquared  SunsGravityForceAtEarth = GravitationalParameterSun/DistanceToSunSquared  MoonsGravityForceAtEarth = GravitationalParameterMoon/DistanceToMoonSquared   where the GravatationalParameter is the Gravitational Constant multiplied by the mass of the Sun or Moon.  So...  SurfaceGravitySun * HalfSunsDiameterSquared = DistanceToSunSquared * SunsGravityForceAtEarth   and  SurfaceGravityMoon * HalfMoonsDiameterSquared = DistanceToMoonSquared * MoonsGravityForceAtEarth   If we divide the equations we get equation 1:  SurfaceGravitySun * HalfSunsDiameterSquared / SurfaceGravityMoon / HalfMoonsDiameterSquared =   DistanceToSunSquared*SunsGravityForceAtEarth / DistanceToMoonSquared / MoonsGravityForceAtEarth  Going back to Assumption set 1,  DistanceToSun/DistanceToMoon = DiamenterSun/DiameterMoon   which we can easily make into equation 2:  HalfDistanceToSunSquared/HalfDistanceToMoonSquared = HalfSunsDiameterSquared/HalfMoonsDiameterSquared   So now substitution of equation 2 into 1 yields...  SurfaceGravitySun * HalfDistanceToSunSquared / SurfaceGravityMoon / HalfDistanceToMoonSquared =  DistanceToSunSquared * SunsGravityForceAtEarth / DistanceToMoonSquared / MoonsGravityForceAtEarth   Removing and cancelling the Half's on the left side means the distance terms completely cancel, leaving equation 3:  SurfaceGravitySun / SurfaceGravityMoon = SunsGravityForceAtEarth / MoonsGravityForceAtEarth   Assumption set 3:  Lunar tides are stronger than solar tides, therefore SunsGravityForceAtEarth < MoonsGravityForce at earth.  Therefore  SurfaceGravityMoon > SurfaceGravitySun   Something's not right here, obviously. So what's wrong with the argument?


Very elementary number theory and combinatorics books.

I know the basics of logic, sets, relations and the like, so studying intros to abstract algebra and real analysis is not that hard. That said, I have a deficiency when it comes to elementary number theory and combinatorics topics. Things like divisibility, modular arithmetic, congruences, prime numbers and such like regularly pop up as examples to illustrate certain topics in analysis.  What are some very concise books or, maybe, online resources for learning these topics from number theory and combinatorics? Since I need to know them to understand what's going on in other subjects I probably need the bare minimum.


Help justifying that $\mathbb Q(\sqrt[3]{2})$ is not a splitting field over $\mathbb Q$.

In a question related to introductory Galois theory, I was asked to given an example of a tower of fields $F \subset K \subset E$ such that $E$ is a splitting field for some polynomial $f(x) \in F[x]$, but that $K$ need not be a splitting field. The example that comes to mind for me is $\mathbb Q \subset \mathbb Q(\sqrt[3]{2}) \subset \mathbb Q(\omega_3, \sqrt[3]{2})$.  So I know that the minimal polynomial for $\mathbb Q(\omega_3, \sqrt[3]{2})$ over $\mathbb Q$ is $x^3-2$. This polynomial does not split in the intermediate field $\mathbb Q(\sqrt[3]{2})$.  I wanted to make sure that I'm justifying that this intermediate field is not a splitting field correctly. Now I may be confused about the books terminology. When we say something is not a splitting field, we always have to refer to a specific polynomial correct? I've read a term called a normal extension which I think refers to one in which every polynomial splits, but my book doesn't mention these.   If splitting field means with respect to the polynomial $x^3-2$, then I've already demonstrated that $\mathbb Q(\sqrt[3]{2})$ is not a splitting field. Also, it couldn't be a normal extension either because that polynomial doesn't split.  Does it sound like I'm understanding this correctly or are there some subtleties I might be missing?


Can Outlook send multiple simultaneous emails to different people without doing a bcc?

I'm looking to simultaneously send the same email to multiple recipients.  Let's say I want to email John and Bill the same email, I want them to be in the "To:" field, but I don't want them to see each other in the address list.  I don't want to bcc them both because then they see they are bcc'd.  I want them to each get their own copy of the identical email and to have 2 emails in my sent folder - one for each of them.  Essentially I want the same result as if I separately sent them each the identical email, but I'd like to do it in fewer steps.  Can I accomplish this either natively or with a plug-in, or some pre-existing code?  NOTE: I am looking to do this interactively (in real time), not in batch.


How to stop a PostgreSQL database with pg_ctl?

I am trying to stop the currently running database, because apparently EnterpriseDB on Mac OSX does not support Postgis. And the Postgis site tells me to use Postgres.app. But I cannot stop the currently running database with EnterpriseDB. I tried pg_ctl:  $ pg_ctl stop -D /Library/PostgreSQL/9.6/data pg_ctl: could not open PID file "/Library/PostgreSQL/9.6/data/postmaster.pid": Permission denied $ sudo pg_ctl stop -D /Library/PostgreSQL/9.6/data pg_ctl: cannot be run as root $ cd /Library/PostgreSQL/9.6 $ sudo chown -R $(whoami) . $  pg_ctl stop -D /Library/PostgreSQL/9.6/data pg_ctl: could not send stop signal (PID: 105): Operation not permitted   How am I supposed to do this?


I have a XeTeX document in Cherokee, but when it compiles to PDF, all of the Cherokee glyphs show up as boxes.  Here's an example:  \documentclass[12pt,a4paper]{book} \usepackage{fontspec} \setmainfont{Times New Roman}  \begin{document} ᎪᎯ ᎤᎵᏍᏆᎸᏗ ᏕᎨᏌᏗᏒ ᎢᎩᏁᏤᎸ ᎤᏪᏥ ᎤᏮᏔᏅ, ᎾᏍᎩ ᎤᏪᎧᏅ ᎤᏤᎵ ᎢᏳᎵᏍᏙᏗᏱ ᏂᎦᏗᏳ ᏧᏓᎴᏅᏛ, ᎾᏍᎩ ᎾᏍᏉ ᎬᏗᏍᎬ ᎡᎶᎯ ᏚᏬᏢᏁᎢ; ᎾᏍᎩ ᏗᎦᎸᏌᏓᏗᏍᎩ ᏥᎨᏒᎩ ᎤᏤᎵ ᎦᎸᏉᏗᏳ ᎨᏒᎢ, ᎠᎴ ᎾᏍᎩᏯ ᏗᏟᎶᏍᏔᏅᎯ ᏥᎨᏒᎩ ᎾᏍᎩ ᏄᏍᏛᎢ, ᎠᎴ ᏂᎦᏗᏳ ᏧᏓᎴᏅᏛ ᏥᏚᏍᏆᏂᎪᏗᏕᎬᎩ ᏥᎬᏗᏍᎬᎩ ᎤᎵᏂᎩᏗᏳ ᎧᏁᎬᎢ, ᎾᎯᏳ ᎤᏩᏒ ᎤᏓᏛᏔᏅ ᎤᏅ ᎦᎸᎭ ᎢᎩᏍᎦᏅᏨᎢ, ᎤᏪᏁᎢ ᎠᎦᏘᏏᏗᏢ ᎦᎸᏉᏗᏳ ᎨᏒ ᎦᎸᎳᏗ. ᎾᏍᎩ ᎢᎦᎢ ᎤᏟ ᎢᏳᏓᎵᏁᎯᏯᏛ ᎾᎬᏁᎴ ᎡᏍᎦ ᏗᏂᎧᎿᏩᏗᏙᎯ, ᎾᏍᎩ ᎤᏘᏯᏍᏓᏁᏗ ᎨᏒ ᎤᏟ ᎢᎦᎸᏉᏗ ᏧᏙᏍᏙᏗ ᏧᏩᏛᏔᏅ. ᏗᏂᎧᎿᏩᏙᎯᏰᏃ ᎨᏒ ᎦᎪ ᎢᎸᎯᏳ ᎯᎠ ᏄᏪᏎᎶᎢ, ᎠᏇᏥ ᏂᎯ ᎪᎯ ᎢᎦ ᏍᏆᏕᎲᏏ? ᎠᎴ ᎾᏍᏉ ᎯᎠ; ᎠᏴ ᏥᎦᏴᎵᎨ ᎨᏎᏍᏗ, ᎾᏍᎩᏃ Ꮎ ᎠᏯᏥ ᎨᏎᏍᏗ? ᎠᎴ ᎾᏍᏉ, ᎾᎯᏳ ᎢᎬᏱ ᎤᏕᏁᎸᎯ ᎡᎶᎯ ᎤᎾᏄᎪᏫᏒ ᎯᎠ ᏄᏪᏎᎢ; ᎠᎴ ᎾᏂᎥ ᏗᏂᎧᎿᏩᏗᏙᎯ ᎤᏁᎳᏅᎯ ᏧᏤᎵ ᏫᎬᏩᏓᏙᎵᏍᏓᏏ. ᏗᏂᎧᎿᏩᏗᏙᎯᏃ ᎯᎠ ᏂᏕᎦᏪᏎᎭ, ᎾᏍᎩ ᏗᏂᎧᎿᏩᏗᏙᎯ ᏧᏤᎵ ᎤᏃᎴ ᏥᏂᏕᎬᏁᎭ, ᎠᎴ ᎠᏥᎸ ᎠᏓᏪᎳᎩᏍᎩ ᏧᏅᏏᏓᏍᏗ ᏥᏂᎬᏁᎭ. ᎤᏪᏥᏍᎩᏂ ᎯᎠ ᏂᎦᏪᏎᎭ, ᏣᏤᎵ ᎦᏍᎩᎸ, ᏣᏁᎳᏅᎯ, ᏂᎪᎯᎸ ᎠᎴ ᏂᎪᎯᎸ ᏂᎬᏩᏍᏗᏉ; ᎠᏙᎳᏅᏍᏗ ᏚᏳᎪᏛ ᎠᏛᏁᏙᏗ ᎾᏍᎩ ᎠᏙᎳᏅᏍᏗ ᎪᎱᏍᏗ ᏨᏗᎭ ᎾᎿ ᏣᎬᏫᏳᎯ ᎨᏒᎢ. \end{document}   What do I need to do in order to render the Cherokee text correctly?


I'm curious as to how verbatim is implemented internally in TeX. I am mostly familiar with the basics of TeX's inner mechanics (catcodes, and what not), but I'm just curious about this command.


Summation Problem involving Reciprocal Binomial coefficients. Find $\sum_{r=0}^n \frac{(-1)^r}{^nC_r}$

I tried to convert it to a form like $ \displaystyle \sum_{r=0}^n\frac{r(-1^r)}{n^{({}^{n-1}C_{r-1})}}   $ And then write the series backwards and add the two, but this doesn't seem to help. Any hints would be appreciated.


I opened xdiganose and it told me to go to  in order to download and install the wireless driver. I followed the instructions for Ubuntu and it aborted the installation saying something about an unsupported device (I should've saved the output, I'm using a late 2011 13" Macbook Pro.) Now when I try sudo apt-get install firmware-b43-installer I get this:  Reading package lists... Done Building dependency tree        Reading state information... Done firmware-b43-installer is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 338 not upgraded.   What do I do?


One of my collegues is trying to print a PDF that our designer has sent him, created using Adobe InDesign CS4 (6.0.4).  When he opens it up using Evince (version 2.28 on Ubuntu 9.10 thin client) it displays exactly how we expect it to, however when he prints it's not rendering correctly, for example:   Missing one logo, the other dozen display perfectly Missing a white box with 30% opacity (without this the blue text sits on a light blue background) The dotted border of a box is screwed up (missing dots in the corners, but fine on the straights) Finally the font quality is slightly poorer than a print out we've done on a working machine.   I have tried it on my Ubuntu dev box (Evince version 2.22 on Ubuntu 8.04 server) and it displays and prints perfectly.  Can anyone offer an explanation as to why this might be happening, I find it hard to understand how an older version of Evince is displaying it better than a newer version.  Thanks!  EDIT  Just for anyone surfing in, it's likely yo be a CUPS problem on our server, cheers ;-)


Find a Four-element Abelian Subgroup of $S_5$

Prof. Charles Pinter's "A Book of Abstract Algebra" provides this exercise:     Ch 7 (Groups of Permutations)    Part B #3 - Find a four-element abelian sub-group of $S_5$. Write its table.   Please provide guidance on how to answer this question.  I'm guessing that I need to come up with a permutation table:  $$\begin{matrix} 1& 2& 3& 4& 5&\\ ?& ?& ?& ?& ?&\\  \end{matrix} $$  Then, I need to compose $f$ (where f defines the initial table) 5x in order to get $S_5$. However, I'm unsure if that's correct, and how I'd proceed once I found $S_5$.


Merge many audio files with specific positions

I have multiple audio files that represent the session. So in one folder I may have:  2016-06-22-15-59-59-000.mka 2016-06-22-16-59-59-001.mka 2016-06-22-17-59-59-002.mka   Filename is the date and time when this file has been created. For example, first file has been created on June 22, at 15:59. Second one on 16:59.  Audio duration may vary, there is no fixed duration. For example, the user can connect to the session for 5 seconds or for 10 minutes. So the first duration will be 00:05, and the second 10:00.  These files together represent the session - that's why they should be merged. You can think about it as multiple people are calling on the same phone number which is used for audio conference.  For example, Alice, Bob, and John want to discuss something. Alice is calling to the number 555-111-22-33, and the Bob is calling the same number 1 minute later. They talk together for 5 minutes. And 30 minutes later Bob and John call the same number at the same time. And then Alice is joining 1 minute later.   So in this case we have multiple audio streams. These streams will usually overlap, but not always. For example, when Alice is waiting for the Bob at the very beginning, we are already recording her, and there is nobody else in this session, so this audio stream is not overlapping with others.  I'm looking for the best way to merge audio recordings of each person into one single file. So in this file we must hear everyone. And between calls, when Alice, Bob and John are not in the session, there should be just silence.  I'm looking at ffmpeg doc, and can't find options that I can use to create overlapping streams, and specify exact time when the stream should start.  Do you guys know what would be the best way to do it? Maybe I need better tools than just ffmpeg, maybe I just need to use libraries and programming language to create my own program to do that? Thanks


I want to type Arabic text in Photoshop, but the text appears disjointed and the letters do not connect at all. For example محمد appears as م ح م د.   I'm using Photoshop CS6 on OSX Mountain Lion.


i know this question has been already asked. but my problem is so wierd. i have done everything needed to be done for avoiding spam, but my mails are still going to spam folder. my mail-tester.com score is 10/10. my allaboutspam.com test resuls is good too as you can see in the link below :    but mails are still going to spam, i don't know what to do, i have done everything on the internet.


How to get output of node.js into JavaScript?

This code scrapes website for a number and saves that number into JSON file - number.json: const axios = require("axios"); const cheerio = require("cheerio"); const fs = require("fs");  //performing a GET request axios   .get("https://ycharts.com/indicators/bitcoin_price")   .then((response) => {     //handling the success     const html = response.data;      //loading response data into a Cheerio instance     const $ = cheerio.load(html);      //selecting the elements with the data     const scrapedata = $(".key-stat-title").text();      //     let number = scrapedata.split('U')      //outputting the scraped data     console.log(parseInt(number[0]));      var express = require('express');     var app = express();      app.get('/', function(req, res){       res.send(number[0]); //replace with your data here     });      fs.writeFile("number.json", number[0],  err => {      // Checking for errors     if (err) throw err;      console.log("Done writing"); // Success });       app.listen(3000);   })   //handling error   .catch((error) => {     console.log(error);   });   When I look into 127.0.0.1:3000 when node is on - I see blank page only with that number. In the number.json is also that number. How can I use that number - save it - here in javascript file, in howMuchBtc variable, either get it straight from 127.0.0.1:3000 or get it from number.json??? function calculate(){   let input = document.getElementById('number').value   let howMuchBtc = input/0.05   let todayPrice = (howMuchBtc*31742).toLocaleString()   document.getElementById('newnumber').innerHTML = todayPrice }


Ubuntu 18.04 stuck at upgrading linux-header

Whenever I try to get my system up-to-date in Ubuntu 18.04, it stops:   whenever it reaches Setting up linux-headers-<version>-generic. I cannot cancel the upgrading from there, but even when you and leave it for hours, it doesn't change anything. If I check the process in htop it shows it now doing anything. If I force the upgrade to end and try to restart it, when I retry the upgrade it says a previous one has been interrupted and I should try it with sudo dpkg --configure -a which fixes the problem.  I just find it very annoying to have to do this every time there is a header-upgrade available, especially because I feel like it shouldn't happen and there should be a more permanent fix available. What am I missing or doing wrong?


Why doesn't Cantor's diagonal argument also apply to natural numbers?

In my understanding of Cantor's diagonal argument, we start by representing each of a set of real numbers as an infinite bit string.  My question is: why can't we begin by representing each natural number as an infinite bit string? So that 0 = 00000000000..., 9 = 1001000000..., 255 = 111111110000000...., and so on.  If we could, then the diagonal argument would imply that there is a natural number not in the natural numbers, which is a contradiction.


I have a 6 mile line that I need to make a point every 500 ft on it.  Any idea what tool I can use to do this?  I have arcmap 10.1 standard.


Maybe this question seems easy, but is there a strategy or a property to look for when demostrating a space is non-metrizable? Because a part from the fact that I can't find a metric generating the space, I cannot seem to find a way to prove that such does not exist.


"No, I didn't see him" vs "Yes, I didn't see him"

Bob didn't come to office today.  I was asked "Didn't you see Bob today?"  Should I say "Yes, I didn't see him today" or "No, I didn't see him today"?


what is the meaning of "===" in javascript?

I have seen many uses of "===" in conditional statements.  Can anyone tell me what does it mean?   something like ternary operator?  if(typeof(x) == "string") {     x= (x=== "true"); }


Sum of binomial coefficients $\sum_{k=0}^{n}(-1)^k\binom{n}{k}\binom{2n - 2k}{n - 1} = 0$

How do I prove the following identity:  $$\sum_{k=0}^{n}(-1)^k\binom{n}{k}\binom{2n - 2k}{n - 1} = 0$$  I am trying to use inclusion-exclusion, and this will boil down to a sum like inclusion-exclusion, and the $\binom{2n-2k}{n-1}$ term wouldn't matter (it will be equivalent to set sizes). Is this a correct way to go?


Finding the value of $x^{x^2}+x^{x^6}$ given that $x^{x^4}=4$

If $x^{x^4}=4$; Then what is the value of $x^{x^2}+x^{x^6}$ ;  I just want a hint like from where should I start. (other than using a trial and error to find that $x=\sqrt{2}$ satisfies this and now just put it in the required equation!!)


"The famous slogan about the strong and the weak comes, obviously, from the Athenian side of the argument, and its current popularity owes much to the nice balance between the powerful doing 'what they can' and the weak suffering 'what they must' -- as well as that iron law of inevitability (or realism, depending on your point of view) that is introduced by the phrase 'what they must.' But that is not what Thucydides wrote. As Simon Hornblower correctly acknowledges in the third and final volume of his monumental, line-by-line commentary on the whole of Thucydides' History, a more accurate translation is: 'The powerful exact what they can, and the weak have to comply.' Even that exaggerates the idea of compulsion on the weak: to be precise, what Thucydides claimed was only that 'the weak comply' -- no necessity was introduced at all. And Hornblower's commentary also raises the question of exactly what the action of the strong was supposed to be; it could equally well be translated from the original Greek as 'do' or 'exact' or even (as one Renaissance scholar thought) 'extort'. 'Do what they can' and 'extort what they can' conjure up very different pictures of the operation of power.   Does this mean that "do" "exact" or "extort" are equally possible for translation?


When was Thor first portrayed as an advanced alien, not a god?

As so many fans are so fond of pointing out, the Asgardians in the MCU are not actually gods, but rather a super-advanced alien race.  Their "magic" is merely technology, their lives are limited.  Any worship of them as divine beings is either a mistake (e.g. Odin) or a deception (e.g. Loki).  I  how I feel about this, but sadly, the matter has been settled.  And yet, that's not always how it is.  The comic book Thor seems to be a genuine god, at least he was during the , which revolves entirely around gods and their godly nature.  No mention is made of technology or advanced aliens, and numerous mentions are made of "godly" factors such as reliance on worship, etc, not to mention godly feats, like being tossed straight through a moon and coming out the other side.  There are also numerous physical distinctions, such as "godblood" being a material discernible from mortal blood.      And anyone who has read that arc knows that if the gods were merely highly advanced mortals, Gorr would have brought that up.    So I'm wondering, when did this van-Daniken-esque take on Thor begin?  Was it an invention of the MCU, or is there precedent in the comics?  Is this an Ultimate/616 split, or do different writers interpret it differently within the same universe?


Capitalization after an internal dialogue prefix tag

Do you capitalize the sentence after an internal dialogue (a.k.a. thought bubble) that uses a prefix tag? That is, in an example like:  Will thought, My father must not like me.  Or do you do:  Will thought, my father must not like me.  I'm leaning toward capitalizing, because if you wrote this out with quotation marks then you would obviously capitalize.  Will said, "My father must not like me."  But when using internal dialogue and italics, the capitalization leads to a strange effect because you would not normally capitalize after a comma. (For the purpose of this question, please assume I'm editing a book where I would prefer not to modify the sentence structure unless I absolutely have to. If it were my own writing, I would not use a prefix tag with internal dialogue.)


How does the DH algorithm deal with enormous powers?


Delete file from zipfile with the ZipFile Module

The only way I came up for deleting a file from a zipfile was to create a temporary zipfile without the file to be deleted and then rename it to the original filename.  In python 2.4 the ZipInfo class had an attribute file_offset, so it was possible to create a second zip file and copy the data to other file without decompress/recompressing.  This file_offset is missing in python 2.6, so is there another option than creating another zipfile by uncompressing every file and then recompressing it again?  Is there maybe a direct way of deleting a file in the zipfile, I searched and didn't find anything.


How TO create a BOOTABLE USB stick on Windows 8

i need to boot ubuntu from my usb drive.i did not face problems when creating with pendrive linux but nothing is displayed on the boot screen?


$\operatorname{rank}(g\circ f)\le \min\{\operatorname{rank}(f), \operatorname{rank}(g)\}$ proof?

I have these two linear transformations $f:V \to W$ and $g: W \to Z$, where $V, W, Z$ are vector spaces and $V$ and $W$ are subspaces of $Z$. Now I need to prove that $$\operatorname{rank}(g \circ f) \le \min\{\operatorname{rank}(f), \text{rank}(g)\}$$   I kind of see it intuitively, but have no idea how to prove it. Any ideas? Thanks.


Unable to login in Virtual Machine in ubuntu 15.10

I am using Virtual Machine Manager in Ubuntu 15.10. When I try to login after giving correct username and password the system is showing again the login screen. I can not use hot key because whenever I pressed hot key it always go to host machine not the guest or virtual machine.


Expression of expected value for counting process

In  at page 20, one can read $M(t)$ as being defined as the expected value of $N_t$ where $N_t$ is the number of occurence of an event at time=t. As demonstration of the result, the author says: $$E[N_t] = \sum_{n=0}^{\infty}{P(N_t>n)}$$ I don't understand where it comes from. The expected value should be $$E[N_t] = \sum_{n=0}^{\infty}{n P(N_t=n)}$$ How do you obtain the author's expression?


Is it possible to restrict profile information about a specific Stack Exchange site ? For example, I'm using StackExchange for SO, Software QA, Personal Productivity, Area 51, but I would like to only show my accounts on SO and QA, hiding others profiles.  A kind of separation between professional and "personal" stuff. Thanks


Does one top up or top off rechargeable batteries?

While writing a forum post on proper lithium-ion battery care, I started wondering whether the proper term for recharging them while still fairly full is called topping up or topping off. Perhaps both are accepted?


How to select video quality from youtube-dl?

I have installed youtube-dl in my 14.04.   I can download video by following command,  $ youtube-dl [youtube-link]   But I want to know how to select available pixel quality of youtube video(i.e 1080p, 720p, 480p, etc).   In software description they said it's possible(shown in image below), but how to do..


how can I make droplets placed on a cup properly?

I am trying to achieve a scene where a cup of glass covered with droplets. I'm using particles system and a group of droplets from separate layer, to make it possible, but I can't get droplets appear with correct direction. I was wondering what kind of settings should be done to fix this problem, please see the screenshots below       I have tried changing the positions of each droplets in the group, but didn't work I have tried changing the rotations under the particles but couldn't reach a good result   thanks for your help


Virtualbox Freezes Entire Computer when starting any Virtual Machine

I have VirtualBox installed on Ubuntu 16.04 and was running 2 machines from there . First being Homestead and the second being a Windows 7 Machine .  Everything was working fine, until earlier today when I got an error about kernels not being installed . After a bit of searching I found the following solution online:  sudo apt-get install linux-headers-generic build-essential dkms sudo apt-get remove --purge virtualbox-dkms sudo apt-get install virtualbox-dkms   Whenever I try start any of the machines, after the above commands, the entire PC freezes and nothing happens, and I have to do a hard reset.  I tried un-installing virtualbox and re-installing it, but it did not help. I am not to stressed about the Windows machine , but I am worried about the Homestead one ... I cannot lose that info that is on there :(  Edit : I normally start the Homestead machine through the command prompt using Vagrant . Using this method also freezes up the entire system ...


How to ssh to remote server using a private key?

I have two servers. Both servers are in CentOS 5.6. I want to SSH from Server 1 to Server 2 using a private key I have (OpenSSH SSH-2 Private Key).  I don't know how to do it over unix. But what I did on windows using Putty was to feed my OpenSSH private key to putty-gen and generate a private key in PPK format.   However, I would be creating a bash script from server 1 that will execute some commands on server 2 via SSH.   How do I SSH to Server 2 using my private key file from Server 1?


java instantiate class without writing a constructor

whan I write a class like this:  public class MyClass{     public void print(){     system.out.println("Hi")    } }   I can instantiate the class in the main even though It has no constructor written by me, is that because it inherits from Object anyway      ?


How do I get a really good defense on Clash Of Clans?

When ever I get attacked I always lose 20 trophies. One night I lost 50 trophies due to a bad defense. Can anyone help me with this?


I want to save a JSON file with session data for my visitors, instead of using session_start(), $_SESSION or database. I want to save it inside a directory which have require all denied in its .htaccess file. Is it safe?


Prove that 3 is a primitive root of $7^k$ for all $k \ge 1$

so I am trying to find out how to prove that 3 is a primitive root of $7^k$ for all $k \ge 1$. I am trying to prove this via induction.  Thanks.


Lufthansa connecting flight at Munich, only 45 minutes in between. Will I be able to make it?

I bought a single ticket from Lufthansa, of Mumbai to Paris. My first flight (LH765) lands at 5:55am at Munich, from where I have another Lufthansa flight (LH2226) to Paris at 6:40am. This is a single ticket so I guess its responsibility of the airline to get me on the second flight, but since it's Non-Schengen to Schengen, will customs etc. be a problem? I am assuming the checked-in luggage would transferred automatically by the airline. Will I be able to make it?


Garlic Overflow — Why won't my olive oil stay in its jug?

I'm the kind of chef who chops up whatever the local bazaar has that week, adds a random amount of seasonings until the color suits my fancy and then cooks it. Somehow. Most days I don't go hungry.  The other day, fresh garlic was really cheap so I bought a bunch. The housewares shop had some little jugs with corks, so I picked one up. Back at home I chopped up a few heads of garlic, stuffed it the jug, then filled the jug with olive oil. Bread for the next two days had had a great dipping sauce! However dipping bread in oil uses up a lot of oil and not very much garlic, so on the second evening when it was about half empty I topped off the jug with fresh oil. I corked it, wiped off the drips from around the top with a paper towel and left it on the table.  This is what I found in the morning. (click for larger)    I am certain when I corked it the level of oil was below the bottom of the cork because I tipped it to see how the garlic was getting an and remember the air moving around in the jug. I am also certain the top was clean having wiped it off, and of course there was no puddle. Even stranger, as I have left it there today it has continued to drip.  The only clew seems to be garlic mixture seems to be producing periodic bubbles that float up through the oil. This does not explain to me how the oil got out, but it does seem like it must be producing   I see three fields for questioning:   Casual kitchen tinkerer: How should I safely store my garlic and olive oil? Is there danger to storing this in something that seals better than a plastic cork? Is it safe to eat? Amateur chemist: Is there a chemical reaction going on between the garlic and the oil? Would it ever explode? Wannabe physicist: How did the oil get out? This seems like a gravity defying stunt. Note the current oil level is about ½" below the cork.   Somebody please tell me why my day's adventure at the bazaar made this much mess and how to make yummy things with garlic and olive oil safely!


Movie of a family living inside a bubble, humans outside pelting ice cubes at the bubble to try and break the bubble-like-barrier

The family seemed to be from the past or Amish. They went about doing daily chores but I think when the bubble was broken, they became violent.   The people on the outside seemed to be studying them and were pelting ice cubes at the barrier using some sort of a tennis-ball-dispensing machine.  The whole point of the movie seemed to be to break the barrier but it had a sense of mystery and horror as well.  I watched this movie when I was around 10 (so ~2002) but the movie was airing on television.


Why can't I import a SVG file from Adobe Illustrator or Inkscape?

I've tried multiple times to  import a SVG file from illustrator CS5.5 to Blender 2.71 and 2.73. However, I do not see a mesh, curve, or anything pop up in my "Outliner" window. So I know its not so small I can't see it. I even made sure under user preferences that the "import and export of SVG 1.1 format" is "checked." I've tried even just importing text from illustrator and I'm still getting no where. What can I do to resolve this problem? If this is common error with this version of Blender, then what can I do to transform an image into a 3D object in Blender?


I'm using QGIS to render some air quality modelling results.  I'm having issues with the OpenLayers Plugin whenever I have another vector layer active.  The plugin works if it's the only layer in the project, but displays the following error whenever I add another layer.  Has anyone else experienced this or know what to do?  An error has occured while executing Python code: Traceback (most recent call last):   File "C:/Users//.qgis//python/plugins\openlayers_plugin\openlayers_ovwidget.py", line 250, in __signal_webViewMap_loadFinished     self.__refreshMapOL()   File "C:/Users//.qgis//python/plugins\openlayers_plugin\openlayers_ovwidget.py", line 265, in __refreshMapOL     action = "map.setCenter(new OpenLayers.LonLat(%f, %f));" % self.__getCenterLongLat2OL()   File "C:/Users//.qgis//python/plugins\openlayers_plugin\openlayers_ovwidget.py", line 275, in __getCenterLongLat2OL     pntCenter = coodTrans.transform(pntCenter, core.QgsCoordinateTransform.ForwardTransform) QgsCsException: forward transform of (11049.424326, 84358.680211) PROJ.4: +proj=longlat +datum=WGS84 +no_defs +to +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext  +no_defs Error: latitude or longitude exceeded limits  Python version: 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]   QGIS version: 1.8.0-Lisboa Lisboa, 6416f38  Python path: ['C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python', 'C:/Users//.qgis//python', 'C:/Users/hamishh/.qgis//python/plugins', 'C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python/plugins', 'C:\\Windows\\system32\\python27.zip', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\DLLs', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\qgis\\bin', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\Users\\\\.qgis\\python\\plugins\\QuickMultiAttributeEdit/forms', '~/.qgis/python', '.', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\qgis\\python\\plugins\\fTools\\tools']   Sorry for the long snippet, thanks for your help.


How to show $x^5-x+3$ is irreducible in $\Bbb Z_5[x]$?  I checked that there are no linear factors since there is no root. How to know that there is no quadratic factor? I checked from Mathematica that there are $32$ irreducible quadratic in $\Bbb Z_5[x]$.


This topic has been touched on  but not really answered.  I have a dual monitor system and the colors differ wildly.  I currently live Buenos Aires where color correction hardware costs premium prices.  I do some graphic design, but don't require a pro-level calibration.  That said, I'd like my monitors to be set as close to "true color" as possible.  I've located the useful and free , but it seems to adjust the entire system internally at startup.  I could use the  to set a different ICC or ICM profile for each monitor, but the Monitor Calibration Wizard outputs its own format for profiles.


The internal keyword in c# is a OOP concept?

I am a little confuse with the useful use of internal keyword in classes and properties in C#. Using the internal keyword doesn't we mixing logic with physical concepts? It is not bad idea mixing this two concepts?  For example, if we change the physical location for a specific class it can lead to errors even if we not change anything in the code.  And internal keyword is a OO concept or is just some concept invented for the C# language?


Why won't my new Canon Rebel T3i take a picture with the 18-55mm lens in autofocus mode?

I just purchased a brand new Canon Rebel T3i kit from Costco.. I used it for a couple of days, but now when I have the 18-55mm lens attached and the camera on auto-focus, it will not take a picture. Still will take a picture in manual focus. And will take a picture in either focus with the other lens on (55-250mm).  I've been told by a friend that the lens may not be seating right.  Are there any other settings I can check? I am very new to the camera and I probably messed with some settings or accidentally bumped something I shouldn't have.  Or I can take it back to Coscto and exchange it.


Science fiction short story: beam transporting people into the distant future

I remember reading a short story (or short book?) that was at first set around the 1930s (maybe?) and an experiment goes wrong creating a very fine beam which increased in width the further out it got from its source. Whatever was hit by this beam was transported into the distant future. This included a man (the protagonist) who finds himself on Earth but an indeterminate time in the future where he has to relearn the language and reconnect with this future humanity. He's viewed as an oddity as he still has bodily hair so they permanently remove his beard. It feels like an Asimov era story. Can anyone help with this?


How did Sansa and Theon survive the jump?

We could see that Theon Greyjoy helped Sansa Stark escape from Winterfell which was under Ramsay's control by jumping off the wall. The outer wall is said to be about 80 feet high. How did both of them survive jumping from that height? It is highly unlikely to survive that jump even if there was snow.


How to see first and last 5 lines of file?  Right now I am using   head filename ; tail filename  Any other way around and more efficient?


Dependence measure for categorical and numerical

I have a very basic question, but I am having difficulties finding an answer.   What would be a simple measure of dependency between a categorical and a numerical variable?   For two numericals it could be a linear correlation coefficient, for two categoricals - mutual information. But I don't want to discretize the numerical variable, or convert the categorical variable into numerical.


Torgaurd will not start with Crontab at reboot

I'm currently using the guide posted on Torguard . Everything work perfectly up until setting up the cronjob to start at reboot.  This is the steps I've taken:  crontab -e   and then adding this line below my other cronjobs:  @reboot sudo openvpn --daemon --cd /etc/openvpn --config TorGuard.Canada.ovpn   When I reboot, TorGuard has not restarted.


Exception in thread "main" java.util.ConcurrentModificationException in Java 8

When I run the below code, I get an exception and I don't know why.  Exception in thread "main" java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859) at java.util.ArrayList$Itr.next(ArrayList.java:831) at simulateur.Simulateur.main(Simulateur.java:218)   Line 218 is for : for(Request r : Sys.queue) and Sys.queue is an ArrayList      //*************** DispatchRequest ***************     if(!Sys.queue.isEmpty())     {         algo = new SortingAlgo(Sys.queue, clock);         Sys.queue = algo.sorted_queue;         for(Request r : Sys.queue)         {             {                        for(Porter p : p_i.porList)                 {                      if(p.p_state.equals("Available"))                     {                         ...                         ...                         Sys.queue.remove(r);                     }                 }             }         }     }


How to print lines number 15 and 25 out of each 50 lines?

I have a large file and I would like print from each sequential 50 lines , the 15th and 25th lines.  sed -n '15,25p' inputfile   How to modify this command to print only lines 15 and 25 and to loop over each 50 lines in the file.


Let me view the deleted answers to my own questions

On a few occasions, some of the answers to my questions were deleted after they were posted, leaving me with no way to access them. Some of the deleted answers were actually useful to me,  so I'm not happy to see them go. Can we have a way for Stack Overflow users to view the deleted answers that were posted on their own questions, even if they are below the reputation threshold for viewing deleted questions?  , although it appears that it still doesn't allow users to view answers that were given to their own question. I'm still looking forward to seeing the now-deleted answers that have been posted on my own questions.


Is it true , if $|A|=|B|$ and $|C|=|D|$, then $|A \times C| = |B \times D|$?

Check my proof, please.  Divide into subsets $A \times C$ and $B \times D$ so that , all pairs with the same element belong to the same subset. Each such subset $|A \times C|$ bijective $C$, $|C|=|D|$ and $D$ equipotent to each subset $B \times D$. This implies , that $|A \times C| = |B \times D|$.


Absolute zero and Heisenberg uncertainty principle

I got to read Volume I of Feynmann's lectures. It said that at absolute zero, molecular motion doesn't cease at all, because if that happens, we will be able to make precise determination of position and momentum of the atom. We do know that Heisenberg uncertainty principle holds for microscopic particles in motion. But what then is wrong to consider that all molecular motion ceases at absolute zero? In other words, does the uncertainty principle not hold when there is no motion?  Need some help!


Which address space is used in system calls? physical? or virtual?

Explanation There’s two kind of address space virtual and physical. On the physical model (typically used by the kernel) the memory is bounded and each address correspond to physical ones. The virtual one is used by processes. There’s no limit (except the one due to pointer size). To get more memory the program simply request it (ignoring what amount can be requested). Each address is mapped to different physical ones. That’s how process are restricted in what they can read from ram. The problem The reasoning is system calls uses ring0, but at the same time (at least on linux) the process state is update to interruptible, suggesting system calls uses the virtual address space. As far I understand, CPU rings are about privileged instructions, not about address space (as it is MMU related). So if an out of bound read (due to a vulnerability) occurs during the execution of a system call in kernel code. Can it return memory from other processes ?


I want to generate a random character string in C. the place I want to generate in is <HERE> in the code. #include <stdio.h> #include <string.h>  int main(int argc, char * argv[]) {          if (argc == 2) {         printf("Checking key: %s\n", argv[1]);         if (strcmp(argv[1], "AAAA-<HERE>") == 0) {             printf("\033[0;32mOK\033[0m\n");             return 0;         } else {             printf("\033[0;31mWrong.\033[0m\n");             return 1;         }     } else {         printf("USAGE: ./main <KEY>\n");         return 1;     }     return 0; }


How to install kingsoft office in ubuntu 14.04 64 bit?

I install ubuntu 14.04 last night, every is fine except the trouble in installing kingsoft office which is widely used in China, I googled a lot, nothing happened. Has someone succeeded in using it?


What does the $L^p$ norm tend to as $p\to 0$?

This is something I was thinking about, so I'm going to post it as a question and post my own answer. I hope that anyone who wants will comment, correct me if I'm wrong, and add their own knowledge and thoughts.  Suppose $f:[a,b]\to \mathbb{R}$ is a positive, continuous function. The $L^p$ norms of $f$ are the analogs to the weighted power means of a group of positive numbers $a_1, \dotsc, a_n$. (Perhaps it would be more precise to say that the expressions $\left(\int_a^b\frac{f^p}{b-a}dx\right)^{1/p}$ are the analogs.) The power means are given by $$M_p(a_1, \dotsc, a_n)=(w_1a_1^p + \dotsb + w_na_n^p)^{1/p},$$  where $w_i$ such that $\sum w_i =1$ are any weights we like (the simplest case is when $w_i=1/n$ for all $i$). It is well-known (see ) that the power means $M_p$ tend to the geometric mean as $p\to 0$. What does $$\left( \frac{\int_a^b f(x)^p}{(b-a)}\right)^{1/p}$$  tend to as $p\to 0$?


Distribution of $Z_n=n \log\left(\frac{\max\left(X_{(n)},Y_{(n)}\right)}{\min\left(X_{(n)},Y_{(n)}\right)}\right)$

The random variables $X_1,X_2,...X_n,Y_1,Y_2,...Y_n $ are independent and $U(0,a)$-distributed. Determine the distribution of $$Z_n=n\cdot \log\left(\frac{\max\left(X_{(n)},Y_{(n)}\right)}{\min\left(X_{(n)},Y_{(n)}\right)}\right)$$ where $X_{(n)},Y_{(n)}$ denotes $n$th order variable.  This problem is giving me a headache. The answer is that $Z_n$ is $\text{Exp}(1)$-distributed. But i can't derive that conclusion. I'd like to show you my derivation, but its so long and contains so many integrals and fractions that it would take a while to write it here. But basically my approach was to derive the distribution of $M=\max(X_{(n)},Y_{(n)})$ and $L=\min(X_{(n)},Y_{(n)})$. I get the following cdf's: $F_M=(F_X\cdot F_Y)^n=(F_X)^{2n}$ and $F_L=1-(1-(F_X)^n)\cdot (1-(F_Y)^n)=1-(1-(F_X)^n)^2$ ,  correct? $F_X $ stands for the cdf of $X_i$  Then i define the random variable $T=\frac{M}{L}$ and compute its cdf to finally be able to derive the distribution of $Z_n=n\cdot \log(T)$. But thats where i think everything goes wrong. Any help appreciated, thanks.


The 'nofollow' attribute is set in user profile website link... why?

I understand that from an SEO perspective it is beneficial for Stack Overflow to have the  on the website link for user profiles. Especially if people will just create an account to get a backlink. What I think however, is that contributing members of Stack Overflow should be awarded with this backlink. I think that if someone contributes and has some decent reputation, then they should not have nofollow set on their website link in their user profile. Considering the amount of users that are backlinking to Stack Overflow with flair, I really think that Stack Overflow should hook us up with some search engine love.


How do I get and print the current time in Python I've recently started learning python using this  and wanted to print the current time in my python script. I have done lots of research** but I couldn't find a answer to my question on **getting and printing the current time in python.Here is my current code for the Python script main.py: def printTime():   print("The time is"+time+"right now"); printTime();  I want it so that  The time variable is a variable that equals the current time To find a way to get the current time


Parable for an impossible idea or business plan

[Edit: I have asked the wrong question—my apologies. What I am looking for is not a single word, expression, or idiom. I am looking for a parable or an example of an analogy. Maybe a one-sentence, real-life story of a well-known instance where megalomania meets idiocy.]   Occasionally people get excited over some business plan or idea in general, talking exaltedly about the outcomes or benefits, ignoring some crucial logical hole or contradicting physical laws.   Example:     Executive: Now if we get the response time for our signal to Australia below 50ms we have won.   Engineer: But the speed-of-light limit to Australia is 67ms.   Executive: Yes, it is a problem but we must not give up now.   Are there any canonical parables or examples of analogies for this concept?


Citation and reference list isn't working

I have issues with setting up citations in the text itself and creating a reference list. I used jabref to create citations and I saved the bib-data as Literatur.bib in the folder in which I have all other files. Shortended Code:  \documentclass[12pt]{article}  \usepackage[backend=biber,style=apa,babel=other]{biblatex} \usepackage[babel,german=quotes]{csquotes} \usepackage[locale=US]{siunitx}  \DeclareLanguageMapping{ngerman}{ngerman-apa}  \addbibresource{Literatur.bib}  \begin{document} This is supposed to be a quote here \cite{Example2000}. \newpage \printbibliography  \end{document}   In text, the citation appears as Example2000 in bold letterings, not as supposed in (Example, 2000). A reference list is not set up.  Warnings:     'babel' option is deprecated, use 'autolang' instead.           Citation 'Example2000' on page 4 undefined           Empty bibliography           There were undefined references.           Please (re)run Biber on the file:(biblatex) Abschlussbericht(biblatex) and           rerun LaTeX afterwards.   In the bib-data, the reference looks like:  @Article{Example2000,   Title                    = {Test},   Author                   = {Example, V.},   Journal                  = {Example magazine},   Year                     = {2000},   Pages                    = {33-37},   Volume                   = {8}, }   What am I doing wrong? :(


I thought I understood Java generics pretty well, but then I came across the following in java.lang.Enum:  class Enum<E extends Enum<E>>   Could someone explain how to interpret this type parameter? Bonus points for providing other examples of where a similar type parameter could be used.


The button in the fragment in my navigation drawer does not work. The application crashes.  I think the problem related to libraries import androidx.fragment.app.Fragment;  I want it to work when the button in my fragment is clicked.  2019-07-14 19:53:18.446 12619-12619/? E/alsix.doctorsi: Unknown bits set in runtime_flags: 0x8000 2019-07-14 19:53:19.136 12619-12682/com.medicalsix.doctorsix E/vndksupport: Could not load /vendor/lib/egl/libGLES_emulation.so from sphal namespace: dlopen failed: library "/vendor/lib/egl/libGLES_emulation.so" not found. 2019-07-14 19:53:19.136 12619-12682/com.medicalsix.doctorsix E/libEGL: load_driver(/vendor/lib/egl/libGLES_emulation.so): unknown 2019-07-14 19:53:19.696 12619-12681/com.medicalsix.doctorsix E/EGL_emulation: tid 12681: eglQueryString(923): error 0x3008 (EGL_BAD_DISPLAY) 2019-07-14 19:53:22.100 12619-12619/com.medicalsix.doctorsix E/AndroidRuntime: FATAL EXCEPTION: main     Process: com.medicalsix.doctorsix, PID: 12619     java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference         at com.medicalsix.doctorsix.First.onCreateView(First.java:40)         at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2439)         at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1460)         at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)         at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)         at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:802)         at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)         at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)         at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)         at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2273)         at androidx.fragment.app.FragmentManagerImpl$1.run(FragmentManager.java:733)         at android.os.Handler.handleCallback(Handler.java:883)         at android.os.Handler.dispatchMessage(Handler.java:100)         at android.os.Looper.loop(Looper.java:214)         at android.app.ActivityThread.main(ActivityThread.java:7116)         at java.lang.reflect.Method.invoke(Native Method)         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:925)


Problem 1.14 from .      For the multinomial distribution, show that   $$\operatorname{corr}(n_j,n_k)=\frac{-\pi_j\pi_k}{\sqrt{\pi_j(1-\pi_j)\pi_k(1-\pi_k)}}$$   Show that $\operatorname{corr}(n_1,n_2)=-1$ when $c=2$.   The multinomial density is $$p(n_1,n_2,\dots,n_{c-1})=\binom{n!}{n_1!,\dots,n_c!}\pi_1^{n_1}\dots\pi_c^{n_c}$$ Let $n_j=\sum_i y_{ij}$ where each $y_{ij}$ is Bernoulli with $E[y_{ij},y_{ik}]=0$, $E[y_{ij}]=\pi_j$ and $E[y_{ik}]=\pi_k$  Then $\sum_j n_j=n$, with dimension $(c-1)$ since $n_c=n-(n_1+n_2+,\dots,+n_{c-1})$. So each $n_j\sim Bin(n,\pi_j)$  $$\begin{cases}E[n_j]=n\pi_j\\ \operatorname{Var}(n_j)=\frac{\pi_j(1-\pi_j)}{n}\end{cases}$$ then  $$\operatorname{corr}(n_j,n_k)=\frac{-n\pi_j\pi_k}{\sqrt{n\pi_j(1-\pi-\pi_j)n\pi_k(1-\pi_k)}}=\frac{-\pi_j\pi_k}{\sqrt{\pi_j(1-\pi_j)\pi_k(1-\pi_k)}}.$$  Is that right? How I can show the second part?


setters/getters and getName() and application error

My customer.dat files looks like as follows:    4  Jon 1000  Jane 2000  Jake 20000  Drake 100000   The first number represents the total number of customers in that file, while the first string is the Name of the customer and the latter is the balance they have.  The following code is the application code I have written. I want it to read from the customer.dat and create an array. The problem with the application is that I created a customer ID, which checks the name the user inputs(if it exists in the array( and then sets a customer ID. However, whenever I run the application, no matter what name I type, even if I type Drake - and type "1" to view the portfolio, it ends up always showing the first name which is Jon.      Scanner infile2 = new Scanner(new File("customer.dat"));      customer[]mycustomers; // declaring an array to stock      int numofcustomers = infile2.nextInt();     mycustomers = new customer [numofcustomers];       for (int i = 0; i < numofcustomers; i++)     {         mycustomers[i] = new customer(infile2.next(),infile2.nextDouble(), numofcustomers);         System.out.println(mycustomers[i].toString());     }     Scanner input = new Scanner (System.in);     System.out.println("Please type in your name");     String Name  = input.nextLine();     int cusID = 0;     for (int i = 0; i < numofcustomers; i++)      {         if ( Name == mycustomers[i].getName())        {            cusID = i;         }     }     System.out.println("Please type in 1 for a customer to view their portfolio, 2 to trade stocks or 3 to exit the application");        int choice  = Integer.parseInt(input.nextLine());      if (choice == 1)     {             System.out.println(mycustomers[cusID].toString());      }   The following is a snippet of what is located in my customer.java which contains setters and getters:      public customer(String n, double b, int Size)     {         Name = n;         balance = b;         stock[] A = new stock[Size];         Portfolio = A;     }      public String getName() {         return Name;     }      public void setName(String name) {         Name = name;     }   I'm not sure if I was able to describe the problem correctly, but if not, let me know if any more information is required.


I have just finished the main quest line, and now every few hours I will fast-travel somewhere and a dragon corpse will drop out of the sky in front of me. It's always dead, the corpse is always empty, and it never decays to a skeleton or performs the Absorb Soul animation. So far I have been rained on by an ancient dragon in Whiterun, two elder ones in Riften and Sky Haven Temple, and other dragons at random times.  What has not happened yet, since I finished the main quest, is a random encounter with a living dragon. I don't know if this is related, but it seems odd. I don't remember this happening on my previous play-throughs. I have Dawnguard and Hearthfire installed, but otherwise the mods I am running are the same as I have been running for months.  Has anyone else encountered this particular problem and/or know how to stop it?


How to upgrade OpenSSL on Ubuntu Server 12.04 LTS? (Heartbleed)

How do I upgrade OpenSSL using Ubuntu's repository?  I see the USN at   and the package here   but I can't find instructions on how to use that to upgrade my OpenSSL version.  The standard update commands don't upgrade my version of ssl:  sudo apt-get update sudo apt-get dist-upgrade  openssl OpenSSL> version OpenSSL 1.0.1 14 Mar 2012   How do I get the latest version from the repository?  Edit:  dpkg --list openssl  ||/ Name                      Version                   Description +++-=========================-=========================-================================================================== ii  openssl                   1.0.1-4ubuntu5.12         Secure Socket Layer (SSL) binary and related cryptographic tools   aptitude show libssl1.0.0  Package: libssl1.0.0               State: installed Automatically installed: no Multi-Arch: same Version: 1.0.1-4ubuntu5.12 Priority: required Section: libs Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Architecture: amd64 Uncompressed Size: 2,991 k Depends: libc6 (>= 2.14), zlib1g (>= 1:1.1.4), debconf (>= 0.5) | debconf-2.0 PreDepends: multiarch-support Breaks: openssh-client (< 1:5.9p1-4), openssh-client (< 1:5.9p1-4), openssh-server (< 1:5.9p1-4), openssh-server (< 1:5.9p1-4),         libssl1.0.0 (!= 1.0.1-4ubuntu5.12) Replaces: libssl1.0.0 (< 1.0.1-4ubuntu5.12) Description: SSL shared libraries  libssl and libcrypto shared libraries needed by programs like apache-ssl, telnet-ssl and openssh.    It is part of the OpenSSL implementation of SSL.


How to create a totally separate instance of object in JavaScript

How is it possible to create an instant of an object in JavaScript which doesn't affect to any other instance of that object, here is an example:  var A = {         b: "2",          c: "3",          d: {             e: "5",              f:{                     g: "7"                 },             h: function(){                return "8";               }             } } var a1 = Object.create(A); var a2 = Object.create(A); a1.d.f.g = 10; console.log(a2.d.f.g);//Result is 10 while it was supposed to be 7   In the example above when a1.d.f.g is changed, a2.d.f.g is changed too. What's the matter?  I even tried Object.assign({}, A), but the problem still remains.  var a1 = Object.assign({}, A); var a2 = Object.assign({}, A);   Update: Thanks to some answers which gave me the clue, after searching a lot I figured that there are two concepts related to object copy in JavaScript, Shallow Copy and Deep Copy, in shallow copy only top-level properties are copied but reference object properties in further levels will be shared, if you want to have a totally separate instance you need deep copy or deep clone.     A shallow copy successfully copies primitive types like numbers and strings, but any object reference will not be recursively copied, but instead the new, copied object will reference the same object.      If an object references other objects, when performing a shallow copy of the object, you copy the references to the external objects.      When performing a deep copy, those external objects are copied as well, so the new, cloned object is completely independent from the old one.      Personally I think shallow and deep copy concepts in JavaScript seem weird, doesn't make sense, but it's what it is, plus, sort of  exists in C# too. Object.assign() and spread operator make shallow copy so you'll need another function to make a deep clone for you.  Some people advise using JSON.parse(JSON.stringify(obj)) but it doesn't work for properties that are function itself for example a1.d.h() in the sample above is not valid if you use JSON solution, moreover the type might change in some cases as it occurs for Date type for instance.  Some libraries are recommended but in my case I prefer not to use any third party. I figured out it's better to use a loop through reference object properties and create a deep clone, here is the method that I'm talking about:  function deepClone (obj) {     var _out = new obj.constructor;      var getType = function (n) {         return Object.prototype.toString.call(n).slice(8, -1);     }      for (var _key in obj) {         if (obj.hasOwnProperty(_key)) {             _out[_key] = getType(obj[_key]) === 'Object' || getType(obj[_key]) === 'Array' ? deepClone(obj[_key]) : obj[_key];         }     }     return _out; }   So it will become something like this eventually:  var a1 = deepClone(A); var a2 = deepClone(A); a1.d.f.g = 10; console.log(a2.d.f.g);//Result is 7 now


How do we prove $[ABC]=s \cdot r$ (where s is the semi-perimeter and r is the inradius). I refer to the area of ABC as [ABC].


Existence of $p \times p $ matrices $A$ and $B$ over the field $\mathbb F_p$, $p$ prime, such that $AB-BA=I$.

Let $p$  be a prime number. Prove or disprove that there exists $p\times p$ matrices $A$ and $B$ over a field $\mathbb F_p$ with $AB-BA = I$.   With the aid of MAPLE i was able to find out that this statement is valid for $2$ and $3$. But hadn't been able to prove it theoretically.  This is a homework question and we would receive extra marks if solved. Any hint(s) will be appreciated. Thank you.


How to choose the good Q&A site to ask a question about the complexity of a program?

I've made an implementation of the  in Java and I would like to know how to calculate the complexity of the program.  I don't know if I have to ask it on SO, on  or on ?  Is it rather a theoretical question or it's enough about code to be on SO?  EDIT :  Some precision :  I will have to post my code in order to provide informations to calculate the complexity of the algorithm and measure the impact of my use of Java object on the complexity.  So what is the more important?   The technical part for calculate the complexity based on Java use? Or the theoretical issue of calculate complexity?


Besides $2^4$ and $4^2$, are there any other numbers that, with the base and exponent flipped, will equal the same value?

I've noticed that when you flip the base and the exponent in $2^4$ to get $4^2$, you get the same value, $16$.  If there are any other numbers that can make this work, let me know.  This is just mind-blown for me!  Are there any other numbers that work?  I used to do this and ta-daaaaaaah!


Finding $\lim_{n\to\infty}a_n$ if $a_0=a,a_1=b$ and $a_n=\frac{1}{2}(a_{n-1}+a_{n-2})$ where $a, b \in \mathbb{R}$

How can I find the limit of the following recursive formula?  $a, b \in \mathbb{R}$ $a_0=a; a_1=b; a_n= \frac{1}{2}(a_{n-1}+a_{n-2})$ $\lim\limits_{n \rightarrow \infty}{a_n} = ?$  Many thanks in advance.


I am testing something in Javascript and when comparing 2 values in if statement like == or === returning different. Could somebody explain to me difference between these 2 comparisons?


Debug Java code - cannot be resolved to a variable

At the moment I try to debug the class java.awt.Component. If I try to inspect a computed local variable (by typing Shift+Ctrl+I) I get the following message:    But the variable must be initialised at the moment!  Do you now that issue? Can you help me?  Thanks!!


How to improve capactive sensor when there is a floating local ground

I am using a microchip MTCH101 IC as a proximity detector (based on a self-capacitance electrode) and i have some trouble in detection because of a floating local ground (i guess). The sensor is power supplied by a battery and is a wearable device. I have read many times that mutual-capacitance is less dependant from grounding issue than self-capacitance, is it true? why ? (but never seen equation to prove it) ? Is any fundamental detecting methods (CTMU, CVD, CSM,...) better than an other for grounding issue? For self-capacitance, the grounding issue is comming from the fact the wearable battery power supplied device has an unfix and sometime low capacitance between its local ground and the earth. There is 2 cases: when it's handled by the second hand of the user and when the device is laid on a table. When there is a good coupling (high capacitance), its negligible and only the sensing electrode is measured. When it's not, the ground to earth coupling is taking part to the measurement as parasitic. I have found that the following way would help to improve this coupling : Big ground plane at the device back, to increase surface which will be seen by the second hand or the table. connexion from the device local ground to the device casing to let the human hand which hold the device have a contact with local ground and a better coupling. Heating pipe (which i do not know) "Use human finger to modify an electrical field between the electrode and the system ground, working as a dielectric constant modified". I interpret that as mutual-capacitance, is that correct ? Finally, why the mutual capacitance would have less that kind of issue since that the charge exchanged with the finger are still flowing throught the earth and the device ground ?


This error message is being presented, any suggestions?     Allowed memory size of 33554432 bytes exhausted (tried to allocate   43148176 bytes) in php


Deriving the formula of number of geometrical isomers in symmetric polyenes

For example, if we take the case of Hexa-2.4-diene we have 3 isomers which will have cis-cis, trans-trans and cis-trans arrangements at the two double bonds present. The aim is to get a formula for the number of geometrical isomers of a symmetric polyene with n double bonds, when n is odd and when it is even.  I observed that cis-trans and trans-cis would mean the same thing for two double bonds at same position from the two sides. When I try to think what's going to happen after this it just gets too overwhelming because I think that one would have to consider a lot of cases.  I also read  post but it does not seem to help.  The answer is-   $2^{n-1}+2^{\frac{n-1}{2}}$ ; when $n$ is odd. $2^{n-1}+2^{\frac{n}{2}-1}$ ; when $n$ is even.


Understanding Concept of Lowerbound and Upperbound in Random Number Generation?

I'm new at Java and trying to understand the concept of generating a random number within a specific range (of 500000 to 999999).  I wrote a function:  public int generateRandom(){     Random random = new Random();    return (int num = random.nextInt(900000) + 500000));  }   From what I get is that:  1. The + 500000 is the lowerbound so that the method will not generate any random number below that value, correct?  2. Will the upperbound of 900000 combined with lowerbound of + 500000 generate a max value of 1400000?  Because if random.nextInt(900000) returns a 900000 and then theres the + 500000 then it will all add up to 1400000 which will make my method not correct if I want to only generate numbers between 500000 to 999999?


Any hints to evaluate $\sum_{i=0}^{n}\frac{1+(-1)^i}{2}\binom{n}{i}$?

I am looking for any kind of help you can provide to evaluate the sum $ \sum_{i=0}^{n}\frac{1+(-1)^i}{2}\binom{n}{i} $, which equals $ \binom{n}{0} + \binom{n}{2} + \binom{n}{4} + \cdots + \binom{n}{k} $ where $k=n$ if $n$ is even or $k=n-1$ otherwise.  Thank you in advance.


Integration in complex plane, circle proof

Show that if $|a| < r <|b|$, then $$\int_\gamma\frac{1}{(z-a)(z-b)}dz=\frac{2\pi i}{a-b}$$ where $\gamma$ denotes a circles about the origin of radius r, with positive orientation. I tried $\gamma (t)=re^{it}$ from 0 to 2pi, but i couldn't seem to work out the answer.


Converting a array of string to array of Int in JS

I know I can do this:  a = ['1', '2'] b = [] a.forEach(function(e) { b.push(parseInt(e)); }) b >> [1, 2]   I want to learn what is wrong in this?  ['1', '2'].map(parseInt) >> [1, NaN]


How do I clear keyboard/autocorrect history on the Galaxy s4?

I let my younger cousins play on my S4 from time to time, but now I have found that all the words they have used are the first to come up when I use my phone to text. It has gotten quite irritating. Samsung seems to have very hard to find settings compared to my old Sony Ericsson so I cannot find where to get rid of the word history typed onto my phone's keyboard.


How do you repair an "input/output error" in an NTFS partition?

I replaced a buggy Windows Vista installation with Ubuntu. All works fine except that the main HD where I had all my files are now inaccessible. Here is the error message I get:   Error mounting: mount exited with exit code 13: ntfs_attr_pread_i: ntfs_pread failed: Input/output error Failed to read NTFS $Bitmap: Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details   Is it necessarily a hardware problem? If not, is there a way to repair the HD from Ubuntu?


I've recently started using Ubuntu 14.04 on my laptop(Lenovo G70-80) and everything is fine when I'm using my mouse But when i don't use my  mouse and use my touchpad instead, the computer completely freezes after some time. My friend is experiencing the same problem on his laptop (Not sure about the model but it's an Asus). If there is a way to fix it, please let me know, otherwise i would have to carry a mouse everyewhere i go. Thanks in advance/ best regards Nhat Quang


I'm trying to set up Apache Tomcat on my pc, and it wants me to set up an environment variable for CATALINA_HOME.  Does any know how to do this?


Where is the render display mode setting in 2.8x?

I can't find display mode in 2.8x versions. In older versions when you hit the render button from the navigation there was a display mode option. Now it's gone.   Where can I find it?


The Determinant of a Special Vandermonde Matrix

Consider the following  Vandermonde matrix  $$ V_n = \begin{pmatrix}   1 & x_1 & x_1^2 & \cdots & x_1^{n-2} & x_1^{n-1} \\   1 & x_2 & x_2^2 & \cdots & x_2^{n-2} & x_2^{n-1} \\ \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\   1 & x_n & x_n^2 & \cdots & x_n^{n-2} & x_n^{n-1} \end{pmatrix}. $$  It is well-known [] that the determinant of $V_n$ is defined by  $$ \displaystyle V_n = \prod_{1 \mathop \le i \mathop < j \mathop \le n} \left({x_j - x_i}\right)\tag{1} $$  Let $V_{n-1}^{(i,j)}$ be a square matrix such that it is obtained by the removing  $i$th row and $j$th column of $V_n$.   My question: Is it possible to get a closed-form for the determinant of $V_{n-1}^{(i,j)}$ similar to $(1)$.   My try: If $j=n$ then $V_{n-1}^{(i,n)}$ is a Vandermonde matrix and there is a closed-form for its  determinant as $(1)$.  Thanks for any suggestions.   Edit: I think the general case of the proposed question is as follows; what is the closed-form of the determinant of the next matrix   $$ w_n = \begin{pmatrix}   1 & x_1^{i_1} & x_1^{i_2} & \cdots & x_1^{i_{n-2}} & x_1^{i_{n-1}} \\   1 & x_2^{i_1} & x_2^{i_2} & \cdots & x_2^{i_{n-2}} & x_2^{i_{n-1}} \\ \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\   1 & x_n^{i_1} & x_n^{i_2} & \cdots & x_n^{i_{n-2}} & x_n^{i_{n-1}} \end{pmatrix}. $$ where $i_t$, for $1\leq t \leq n-1$, are positive integer numbers such that  $i_1<i_2<\cdots<i_{n-2}<i_{n-1}$.


Order of adjectives: why is "This is a hot, tasty, Indian curry." wrong?

It seems that the correct form is "This is a tasty, hot, Indian curry."   I don't understand why you cant reorder "tasty" and "hot". It seems to me that they both reflect the gustatory sensation of the subject and  are not giving opinion.   Is "hot" always about the temperature (discussed in   ) and not about the capsaicinoids contents?


method overriding without virtual and override returns only base class method

I just have one basic question :  in below code returns only derived class methods but i don't know why . kindly help to find out the problem.  class Program     {         static void Main(string[] args)         {             Console.WriteLine("Hello World!");             A value = new B();             value.method();             Console.Read();         }     }     class A     {         public void method()         {             Console.WriteLine("A");         }     }     class B : A     {         public void method()         {             Console.WriteLine("B");         }     }


I have tried to update my Email account to the email I use as the default: justin17862@gmail.com. But each time I do that, there is no popup (success or failure). I also see the verified-email-set and the HTTP message is OK.     But when I reload the page, there is nothing changed, the same previous email is shown to me.     Any help for changing my Email?


Does US National traveling from UK to Republic of Ireland by bus have to visit immigration for stamp

If there is another answered question here which addresses my question kindly point it out to me and I'll gladly delete this.  I am an American who is visiting the UK. I am scheduled to travel by bus to Dublin and then fly from Dublin to Athens in the Schengen zone. I gather most of the time there are no immigration checks when doing this by bus and hence ones entry may not be recorded.  I know that Americans do not need a visa to visit Republic of Ireland, however do I have to go to a border post to get my passport stamped? For example although Americans do not require a visa to travel to the UK, they need to go through immigration controls and be granted leave to enter. Is it the same for Ireland, or my leave to enter UK automatically equates leave to enter Ireland?  My exit from Ireland is by air so it will be captured so they will know I was there. Won't there be trouble at the airport when exit controls realize they do not have my proof of entry?


Is there any way to copy the weight of one bone over to another(forgot to use x-mirror)?

I solved my other problem and I finally got it to deform to an acceptable level. However now I'm having trouble, I forgot to activate x-mirror when weight painting and I got the weights right on one side but I can't or don't know how I can transfer it over to the other side. I want to transfer the weight of thigh.L to thigh.R so is there anyway I can do this?


I have been trying to improve my combinatorics for Math Olympiad. I am already familiar with like mid - AIME level, ie. essentially I only know short answer combo, and I wanted to improve to like USA(J)MO level and stuff. But the problem is that there is no good book for olympiad combo (as  is too $pr0$ for me right now.) And I know that a lot of people say that there is no theory required for Oly combo but I think that's completely false as one needs to know a lot of graph theory, group theory, ramsey theory and many more things I don't even know the name of. So, I bought a college textbook,  and I have started to read it. But one problem I face with college books is that compared to Oly books, the problems are much much tamer and not instructive. What I mean is say if I read a topic from the book, after that when I start to do the exercises, the problems are not such that would cause me (or anyone for that matter) any problems, that is they are usually "textbook problems". So when I learn something, I am not sure how to apply it. For example, I just read the cycle notation for permutations but I don't understand what/ where it is used. So my question is, what should I do? Should I continue with this book, learn the basic theory like graph theory/ group theory and so on and then move onto more advanced books/questions, or try something else. Also, is solving this book going to even help me for Olympiads? Thanks!


How much detail to provide with an answer to a valid question?

The hardest thing for me on this site is always determining how much detail to hit someone with: do I make it generic and possibly miss the exact point? Or make it specific and in depth, in which case it feels like I am just providing a solution?  There are always factors to take into account (My main two are always: Is the question genuine? Is the asker seeking an explanation or simply trying to get a pre-made answer?)  Any help would be greatly appreciated, as I believe it would help to improve not only my answers but perhaps provide a reference point for everyone who feels in the same position as myself.  In regards to situations where someone is simply looking for a straight up solution to a problem, the choice is easy: either ignore them if they have not put in any reasonable effort of their own or leave a comment with no answer forthcoming.   However, how much detail should one go into when answering a valid question? Should we give a fully worked demonstrable answer or theoretical overview (generally speaking I mean, as sometimes one or the other will be more appropriate based on phrasing of the question).


how to get the size of array using the pointer to this array in C?

I have the following code in C:  int array[5] = {0,1,2,3,4};   int * p = &array[0];   how to use the pointer p to get the size of this array p point to?