Do destination cards have to be completed in a particular direction?

When completing a destination card, does the train have to be started from the beginning city on the card or can it be started from the destination city and worked backwards?


Whitch tool is used to do such a quartile comparison

I was doing a journal comparison via  and found such a wondefull graph that compares two criteria from the journals I have chosen. Here is the graph:  My question: Are you aware of a tool (preferably an R package or Matlab toolbox) that can do such a graph.


I am currently writing an academic text and need to directly quote/cite text from a paper. What is best practice when I need to add a remark/note to the quote?  For instance, I would do it like this: The authors claim that "we do the best work ever in the area of CS (note: Computer Science)".  So in the above case the actually quoted text is "we do the best work ever in the area of CS", however, I want to add a note which explains the abbreviation "CS".  How should this be done?  Related questions:


My flags are disputed, but flagged posts are deleted

6 of my "not an answer" flags were disputed over the night, but the flagged answers are gone.  I'll post some links. Maybe somebody with 10k+ rep can confirm that the answers are deleted:        Why were my flags disputed, but the flagged answers deleted?


Hardware-wise:     Technically, the bit size of a computer can refer to several things,   such as the size of its CPU instructions or the amount of data the CPU   can read from memory.   This is ok, but what is a 32 bit or a 64 bit process?  What are the technical differences between them? Why would I bother running IntelliJ IDEA in 64 bit but not 32 bit? What changes?


I have a program called /usr/bin/myprogram.x  In one shell window I did something like  cd /run001/ myprogram.x & cd /run/009/ my program.x & cd /run/234/ myprogram.x &   I kicked off a total of around 10 jobs, all under various directories, is there a way to find those run directories ?  If I do a ps -ef | grep myprogram.x it reports them all as /usr/bin/myprogram.x however I am looking for the directory each was kicked off under.  Is there a way to find that?


I was asked to read about Graph Theory. First got the book "Graph Theory with Applications" by Bondy and Murty. As a Computer Science student its becoming difficult to read and understand. Then I started reading "Graph Theory-Modeling, Applications and Algorithms" by Agnarsson and Greenlaw. They presented the same topics little bit easier but from a different point of view. I found the definitions are bit different. But they essentially mean the same.  I am looking for some books on Graph Theory for a Computer Science student from a beginner point of view. I am looking for books like "Graph Theory-Modeling, Applications and Algorithms".


I get confused on the low-level physics of electricity from time to time. It came up in "," and I don't totally get it.  How fast does electricity flow? Is the speed of an electron different in say a resistor than in a wire? Does it matter? Or are the effects of the electron the only important thing, with lower levels of abstraction not useful in practice?  I know there are already materials on this topic, and I have read some of them. I think having the question on this site might inspire some interesting answers to the age-old question.  Bonus points for:   Identifying and clearing up common misconceptions Explaining in a way that someone with a high school diploma could understand, without oversimplifying it so much that its incorrect


Activate Field Service Lightning feature in a Salesforce DX scratch org?

I am struggling to figure out how to -- or if it's even possible to -- create a DX scratch org with the "Field Service Lightning" (FSL) feature installed. Based on the feature list  I'm guessing the answer is no and I'll just have to wait. But I'm not sure I'm interpreting that source correctly or missing something entirely since I'm just wrapping my head around DX.   Background: we have a production org with FSL installed and active, along with it's accompanying managed packages. I can create sandboxes from it and do development using standard Metadata API tools, but I was hoping to start a new project using DX. But I'm stuck configuring a scratch org with the proper features.


Why would someone choose to increment a unique key with a value higher than 1?  For example instead of unique index going from (1, 2, 3, 4, 5)  It goes(8, 15, 22, 29, 36), starting at 8 and then each increment goes +7.  Does it have any security improvements?


A set of problems for "The Theoretical Minimum" Stanford course

I'm really excited by an opportunity to watch Leonard Susskind's course "The Theoretical Minimum". However, I couldn't find any physics problems on , and I'm a little bit wary of just watching videos. I want to think on some problems during that.  Maybe there's a good collection of Physics problems on related themes, so I could try them between the videos?


definite integral $\int_{0}^{1}\sqrt[3]{x\log\frac 1x} $

Please solve:  $\int_{0}^{1}\sqrt[3]{x\log\frac 1x} $  I have tried substituting but every time it is getting more complicated. Please help.


How do I move Ubuntu 17.04 sidebar to the bottom-middle?

I searched for that, and all I could find was how to position the sidebar to the bottom and not to bottom-middle (i.e. like MacOS (bottom+centered)). How do I do that?


Do I need to wrap the body of case in switch statement with curly braces in C++?

I am writing a simple program in C++ that asks a user to enter an operation they want to perform on collection of elements (vector). In here I'm using the switch statements in order to recognize the operation key the user entered. In my case 'm' or 'M' I am getting an error error C2360: initialization of 'sum' is skipped by 'case' label. The error disappears when I wrap the case with curly braces. As I know it is not obligatory to wrap each case body with curly braces so I am wondering why am I getting such an error when the body of this case is without curly braces. Any idea? #include <iostream> #include <vector> using namespace std;  int main() {     vector <int> vec{};     char choice{};      do     {         cout << "\nP - Print numbers in list" << endl;         cout << "A - Add a number to the list" << endl;         cout << "M - Display mean of the numbers" << endl;         cout << "S - Display the smallest number in the list" << endl;         cout << "L - Display the largest number in the list" << endl;         cout << "Q - Quit" << endl;          cout << "Enter your choice: ";         cin >> choice;         cout << "\nYour choice: " << choice << endl;          switch (choice)         {         case 'p':         case 'P':                      if (vec.size() == 0)             {                 cout << "[] - empty list" << endl;             }             else             {                 cout << "[ ";                 for (auto i : vec)                 {                     cout << i << " ";                 }                 cout << "]" << endl;             }             break;                   case 'a':         case 'A':                      int num;             cout << "\nEnter a number: ";             cin >> num;             vec.push_back(num);             cout << num << " added to the list" << endl;             break;                   case 'm':         case 'M':                      double average;             double sum{};             for (auto i : vec)             {                 sum += i;             }             average = sum / vec.size();             cout << "\Average is: " << average << endl;             break;                   case 's':         case 'S':                      int min_val = vec[0];              for (int i = 0; i < vec.size(); i++)             {                 if (min_val > vec[i])                     min_val = vec[i];             }              cout << "MIN is: " << min_val << endl;             break;             }               } while (choice != 'q' && choice != 'Q'); }


Would it be possible to transmit information through gravitational waves?

First thing I've been wondering is how the gravitational field is emitted. Matter emits gravitational waves, and I guess that those waves travel at around the speed of light. If that's not the case, please direct me to something that explains that. For now I'll assume that this emits a waves that travels at the speed of light.  Now those waves are emitted constantly without the apparent need of energy. Just the mass being there is enough to emit those waves, and the mass itself isn't consumed by the emission of gravitational waves. Again that's my assumption, please tell me if I'm wrong.  Now if we would be able to modulate the mass of an object, we would be able to modulate the gravitational waves this object emits. Hence we would be able to transmit information through those waves, if of course we'd have a device that detects gravitational waves with enough sensitivity.  Those waves would be transmitted at no cost, because the waves are emitted by the mass. The only cost of this transmission would be the "mass modulator", which has yet to be invented and which would require energy. However the actual transmission doesn't require energy, and the gravitational waves are harmless, unlike the EM ones.  So here comes my question (as in the title): would it be possible somehow to use the gravitational waves to transmit information?


I am new to this so I'm  sorry if this question has been asked before. I have just installed Ubuntu desktop on my old XP machine but it's running very very slow the processor is maxed out. according to the system requirements it should be fine. My PC is running on an AMD sampron 3100+ processor running at 1800MHZ with 1gig of DDR RAM can anyone help


Why you can change arrays or objects through changing function argument but not strings or numbers?

I know that passed arguments inside function are copies of data passed to the function. But why is it that you can change arrays and objects but not strings and numbers by changing them as arguments inside function ? Array example: const numbers = [1, 2]  const change = (arg) => {   arg.push(3) };  change(numbers);  console.log(numbers); // [1,2,3] - arr changed!  Number example: const number = 2  const change = (arg) => {   arg = arg + 1 };  change(number);  console.log(number); // 2 - number didn't change


I am designing a billboard that sizes 13 Feet width and 3 feet length. my system doesn't support big files so what would be the best artboard size for the illustrations. also, it won't affect printing quality.


What's the technical explanation for custom bokeh shapes?

Simply putting a heart shaped cut-out in front of the lens    turns this    into this    How does that happen? What's the optics behind this phenomenon?


Are Frodo and Bilbo immortal after they go to Valinor?

In the end of the last film Frodo and Bilbo gain Access to Valinor. Are they immortal like the elves when they get there or do they die "normal"?


What does the @ symbol before a variable name mean in C#?

Possible Duplicate:          I understand that the @ symbol can be used before a string literal to change how the compiler parses the string.  But what does it mean when a variable name is prefixed with the @ symbol?


In formal (not colloquial) English, is an organisation such as a sports club singular, plural, or is it discretionary?  E.g. is it preferable to write "The X club WAS formed" or "The X club WERE formed", or doesn't it matter?


Regexp: only match word if it doesn't start with a dot

Lets say I have this string:     key something.key() (.key)(key)   I would like regex to only match the word "keys" that are inside "[ ]"     [key] something.key() (.key)([key])   I have used this regex currently /(?!\.)key/g  But that only excludes dot and still selects word even if it startet with a dot.


Improve Code Sample button when nothing is highlighted

When you write a post, you can press "code sample" button on empty line. This causes the following output to appear.     Code:      enter code here         Result:  enter code here    Well, you may think it works as intended. Well, let's write a small program, like the following.  #include <stdio.h> int main(void) {     puts("Hello, world!");     return 0; }   Sounds rather easy, press "code sample" and start typing, or paste from text editor. Well, it's not quite that simple.     Code:      #include <stdio.h> int main(void) {     puts("Hello, world!");     return 0; }         Result:  #include <stdio.h>       int main(void) {       puts("Hello, world!");       return 0;   }   The issue is that only the first line of code is intended, when Markdown requires entire code to be indented.  Almost nobody uses "code sample" button to post a single line of code. And yet, this is the only thing that works when pressing this button on new line without selecting any code. This is unlikely what the user intended. I quite often see this mistake on Stack Overflow, from low reputation users.  My suggestion to fix this issue is to either allow GitHub Flavored Markdown syntax (with ```) or use more clever post editor, which automatically indents Markdown when pasting or pressing Enter.


I want to know how to get coins much faster in clash of clans WITHOUT using gems. I want to be able to upgrade my gold storages so I can repair my Clan Castle but I don't have enough coins. Any tips on how to get coins much faster???


Why is my account appearing on SO top users?

When I view the , my user account is right up top. However, I noticed that when I change the drop-down to select any other SE site, my account disappears from the list. Here's a screenshot:  I think this seems a little odd. Is anyone else seeing their own account under SO top users?


Why did the Emperor stop looking for Yoda?

At the end of Revenge of the Sith, the Emperor knows thats Yoda is alive.  Why would he not make that the first priority of the Empire?  Yoda would be the one Jedi of all the Jedi you would not want alive, so why overlook this?


So I play a tiefling phoenix sorcerer (lvl 9) and we had an encounter with two half-dragons in a forest. At first there was only one and me being a sorcerer I stayed back and used ranged attacks but the other one sneaked up on me and because of his action surge he absolutely massacred me. I was on deathsaves and he finished me with his lightning breath-weapon while trying to hit my mates too. They finished him and took my body to the big city to see a high level cleric.   At the end I was revived, but now I'm missing one horn, my face is deformed and I have a huge scar on my torso. I'm working on a mask design and I'm always clothed so that's not a problem, but my character is very fond of his horns and now he's very depressed about it (he's depressed because he died but the horn thing makes it worse).   So then my question is: is there a way get my horn back, if not, any ideas on how to make a fake one (what material and how to wear/attach it)?


Can a Virus Enter via Ubuntu and affect Windows in dual boot?

I have a Windows XP Pro dual booting with Ubuntu Jaunty Jackelope on a single hard drive. On Windows XP I have a Eset NOD 32 while on Ubuntu I have no antivirus installed.  While working on the internet via Ubuntu, if a virus gets into my PC, it might probably not do much damage to Ubuntu as most  of these virus' are designed for windows however I'm still worried that they may continue to reside on my Ubuntu partition...   and since I am working in dual boot mode ( not sharing any partitions at the moment) will the virus affect the windows partition? Alternatively since I am using a thumb drive to transfer data between Ubuntu and Win XP the virus might propogate through the flash drive?   Can I stop the virus from entering the system via Ubuntu and how?


What 80s BBC kids’ TV show had children fitting together machinery they found in the countryside?

I remember a series that I liked in the 80's. It was about a group of children that may have lived on a farm.  They found pieces of machinery in the local countryside which they found fitted together.  It definitely had a sci-fi type feel to it and was a live action show.  I think the series was probably on after Newsround for 20-30mins. It may have been an import.  I never saw all the episodes, sorry for being vague.  Also I never saw an ending if there was one.  EDIT  There was maybe a swamp where they found a ring of the device Also there was a girl and boy and possibly another character other than family members (mum, dad etc)


need to connect as **root@my-server-ip** with SSH

I have a VPS with Ubuntu 14.04. I need to login as root to my server over SSH.  I set a password for root: sudo passwd root then enabled it: sudo passwd -u root then rebooted my vps: sudo reboot  But I still can't connect with the root user. How can i enable ssh login as root?


Oscillation of air particles and speed of sound wave

A sound wave is essentially air particles oscillating parallel to the direction of travel of the wave.  We learnt that $v = f\lambda$, where $v$ is the speed of the wave, $f$ is the frequency of the wave and $\lambda$ is the wavelength of the wave.  Suppose the air particles oscillate with a frequency of $f_{particle}$. Is there any relationship between $f_{particle}$ and $v, f, \lambda$ of the entire sound wave?   I thought about this because intuitively, if the air particles vibrated faster, then the wave should travel faster, but I am unable to come up with any formula that describe this relationship (if it is even true!).


Proof that $\lim_{x \to 0} \frac{\sin(x) - x}{x^2} = 0$ (Without L'Hospital)

I was studying calculus and I got stuck in proving that     $$\lim_{x \to 0} \frac{\sin(x) - x}{x^2} = 0.$$   Using L'Hospital is easy. However, I want a proof where I don't use L'Hospital.  Help?


I've the following services:  public with sharing class LibraryService {      public static void remove(String jsonString) {         Library__c library = [ SELECT Id, ilms__Library_Name__c FROM ilms__Library__c WHERE Id = libraryId ] ;          AccessService.deleteReviewerGroup(library);          delete library;     } }   AccessService class  public  with sharing class AccessService {         public static void deleteLibraryReviewerGroup(Library__c library) {          List<Library__Share> reviewersGroups = [ SELECT UserOrGroupId FROM ilms__Library__Share WHERE AccessLevel = 'Read' AND ParentId = :library.Id  ];         System.debug('reviewersGroups: ' + reviewersGroups);          if(reviewersGroups.size() == 1) {             String reviewersGroupId = reviewersGroups[0].UserOrGroupId;              delete reviewersGroups;              AccessService.deleteReviewerGroup(reviewersGroupId);         }          return;     }     @future     public static void deleteReviewerGroup(String groupId) {         List<Group> reviewerGroup = [ SELECT Id FROM Group WHERE Id = :groupId ];          delete reviewerGroup;      } }   Now, when I try to test the LibraryService remove method: I keep receiving the below error:  first error: MIXED_DML_OPERATION, DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa):  @isTest(SeeAllData=true) private class TestLibrary {     static testMethod void testRemoveLibrary() {         Library__c library = new Library__c(...);         Boolean isRemoved = LibraryService.remove(TestUtilsClass.idJson(library.Id));          System.assertEquals(isRemoved, true);     } }   I tried adding Test.startTest() and Test.stopTest() to the testRemoveLibrary method, but I still get the same error. Am I doing something wrong? How to fix this.


Redirect automatically to subdirectory and also remove www

I want to do 2 things : redirect http://www.example.com (with www) to http://example.com/fr (without www, AND subdirectory)  Of course, I also want http://example.com to redirect to http://example.com/fr.  I saw this solution :   RewriteCond %{HTTP_HOST} ^(www\.)?example.com$ [NC] RewriteCond %{REQUEST_URI} !^/fr/.*$ RewriteRule ^(.*)$ /fr/$1 [L,R=301,NC]   But it slows down my website like crazy (impossible to load the page afterwards).. What should I fix in the above code?  Here is my complete code   Options +FollowSymLinks RewriteEngine on  RewriteBase / RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^index\.php$ - [L]  RewriteCond %{HTTP_HOST} ^(www\.)?beastof\.com$ [NC] RewriteCond %{REQUEST_URI} /(.*) RewriteCond %{REQUEST_FILENAME} !-f RewriteRule !^fr(/|$) /fr/%1 [R=301,L]  RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]   (It's a WordPress multisite on subdirectories.)


Can a Syrian citizen get a US visa? (regarding the travel ban)

My husband and I are looking forward to visit the states. My husband is Jordanian and I’m Syrian. Can I apply to go with him to the U.S?


How to make a rope constraints two mesh and swinging?

I've try make a kendama animation, when make the rope I want the endpoints of this rope to connect two meshes while following their movement and swinging looks realistic. I think use bone wasn't a good choice, pls tell me how would you do this animation if it were you, thanks!


I am completely stuck in the following problem:  let f be holomorphic function on the unit disk $\{z:|z|\lt 1\}$ in the complex plane.which of the following is/are necessarily true?  (a) if for each positive integer $n$ we have $f(\frac{1}{n})=\frac{1}{n^2}$,then $f(z)=z^2$ on the unit disc.  (b) if for each positive integer $n$ we have $f(1-\frac{1}{n})=(1-\frac{1}{n})^2$,then $f(z)=z^2$ on the unit disc.  (c) $f$ cannot satisfy $f(\frac{1}{n})=\frac{(-1)^n}{n}$ for each positive integer $n$  (d) $f$ cannot satisfy $f(\frac{1}{n})=\frac{1}{n+1}$ for each positive integer n   what I thought in this problem is the following:  in the first part,by identity theorem we can say that $f(z)=z^2,\forall$z in the unit disc.  but,in the second part ,if we choose $g(z)=z^2$ then,$f(1-\frac{1}{n})=g(1-\frac{1}{n})$ but,the limit point ,i.e, $1$ is not in the unit disc.so,in this case,we cannot use identity theorem to conclude whether $f(z)=z^2$ on the unit disk or not .so,what procedure can we follow in this case???also,explain the options (c) and (d).  please answer in detail..  thanks a lot...


How to Install apropraite Eclipse on ubuntu 12.04 LTS?

I want to know how can i install Eclipse on Ubuntu 12.04LTS as I'm new in both and want Eclipse platform suitable for my  java version "1.6.0_38"  Java(TM) SE Run-time Environment (build> 1.6.0_38-b05)  Java Hot Spot(TM) Client V M (build 20.13-b02, mixed mode, sharing)


Clarification for Effect of Pixel Size on Depth of Field

from Wikipedia (depth of field).  According to the depth of field (DOF) fomula, the DOF is linearly proportional to the circle of confusion (C), in which C is also linearly proportional to the pixel size. Thus DOF is linearly proportional to the pixel size.  If that assumption is correct, then does that means some of the DSLR with APS-C sensor size and low pixel number would have a shallower DOF than some of the full frame DSLR with a high pixel number, assuming using full frame equivalent lens by considering the crop factor and same distance to the capturing subject?  Now calculating the ratio between DOF of Full frame (FF) and that of crop body (C), also applying the crop factor to the focal length and F number, we get:   Thus, C would have a shallower DOF than that of a FF when using FF equivalent lens, when:   For example the Pentax K-100D has 6 Mega pixels with an aps-C sized sensor, comparing to Pentax K-1 with a full frame sensor and 36 Mega pixels.  As such,   The DOF of K-1 would be about 4 times deeper than that of K-100D.  Please correct me if I my logic is not sound. Thank you for your time and effort!


Find a conformal map from semi-disc onto unit disc

This comes straight from Conway's Complex Analysis, VII.4, exercise 4.     Find an analytic function $f$ which maps $G:=$ {${z: |z| < 1, Re(z) > 0}$} onto $B(0; 1)$ in a one-one fashion.   $B(0;1)$ is the open unit disc.  My first intuition was to use $z^2$, which does the job splendidly, except for the segment $(-1,0] \subset B(0;1)$.  Under $z^2$, the pre-image for this segment is the segment $[-i,i]$, which is not in $G$.  My next thought is to modify $z^2$, something like $a(z-h)^2+k$.  I've yet to work out the details, but my gut tells me this isn't the right idea.  I've been teaching myself conformal maps in preparation for a qualifying exam.  So, if there's a shockingly basic, obvious solution... please patronize me.


How to install skype on ubuntu 13.10 64-bit?

Since there is no skype package in default repo, how can I install skype in Ubuntu 13.10 Saucy 64-bit ?


is vs. are confusion? singular action, plural subject

Is buying smart electronics worth the price?  This is the title of an article I am trying to write. Buying is one action,  but electronics is plural. What if I said, "Is it worth the price to buy smart electronics?"  Are buying smart electronics worth the price? sounds better I think


How to get the font size parameter passed to the main standard classes?

For complex length manipulation (see ), I would need to get the font size that was passed as an option to the document class:  \documentclass[12pt]{article} \newlength{\mainfontsize} \setlength{\mainfontsize}{\@ptsize}   I would like it to work on all the main classes including beamer and extarticle. Currently this fails on beamer. How to make it work? (and I don't want the exact size of the font like 10.95pt for 11pt, I want the option that was passed).


So I have just started learning QFT.  So you take a classical field and turn the degrees of freedom into operators.  All fine, just like normal quantum.    However I am confused about the commutation relations.    For the Klein-gordon/spin 0 scalar field we say $$[\psi_\alpha(x),\psi_\beta^\dagger(y)]=\delta_{\alpha\beta}\delta(y-x)$$ however for the dirac/spin half field we say $$\{\psi_\alpha(x),\psi_\beta^\dagger(y)\}=\delta_{\alpha\beta}\delta(y-x).$$  In Tong's lecture notes he seems to justify this by appealing to the fact that it works.  However I don't find this very satisfying.  Is there a mathematical reason for seeing what the commutation relations are a priori or do you just have to see what works.


Dear pokemon trainers,  I am level 15 in Pokemon-Go. I caught yesterday a Poliwhirl with CP 471. I have a Poliwag with CP 281 as well, which when evolved becomes a Poliwhirl. Should I power up my poliwhirl or evolve my Poliwag? This is really confusing.  Thank you!!


If a partial order has just one unique maximal element, must that element be a greatest element of x?

I believe that it does not have to be a greatest element, because to be a greatest element it must be comparable to all the x in X.  I just don't know how to go about proving this.


How can I install a Canon printer or scanner driver?

I tried to install the MP190 drivers, but appeared a message show me that requires to have libcupsys2. I understand that libcup2 is an update of libcupsys2.   How do I solve this? Are there proprietary drivers for my Canon printer or scanner?


A "friends list" on Stack Overflow would be nice

I think it would be nice to have a "friends list" on Stack Overflow. This would allow us to be able to follow the questions and answers that are posted by users that we want to watch/monitor.  I suggest it be implemented in the same fashion as DotNetKicks.com; where you can add someone to your "friends list" without them needing to approve you the way that other social networks do it. It should be completely open for us to add anyone to our "friends list" that we like.


Using date variable with wget --post-data

For a project I want to use wget in a cron to download a data file. In the wget statement, a start- and enddate have to be defined in the following format:   wget --post-data="stns=235&vars=TEMP&start=YYYYMMDDHH&end=YYYYMMDDHH"   Since I want it to be done by a cron job, I would like the start- and enddate to be set automatically. More specific, I would like the startdate to be set to '1 hour ago' and the enddate to 'now'.   There has been a similar question in the post . Here the suggested solution was to put the variables between single quotes, but this did not work. E.g.:  "[...]start='`date -d yesterday +%Y%m%d%H'&end=`date +%Y%m%d%H`"   I simply got the error "Error 400: Bad request" when trying to execute the wget-statement in the terminal.  Thank you.


It's often said that , with Germanic words an additional 26%. Wikipedia has , however, a random spot check of many words shows that they have often come via French (I can't check 29% of all English words myself). Also, many of the words on that list are quite obscure, compared to the many French derived words that are in everyday use.  I like looking up the etymologies of words, and in my experience, it's very rare to find a word that's come directly from Latin. Some words like ad hoc don't seem fully naturalised into English. I know scientific language is very highly influenced by Latin, but I consider that to be specialised terminology, as is legal terminology which quite often uses Latin phrases.  If Latin and French really each contributed 29% of our modern lexicon, with French words not counting towards Latin words, why are Latin-only derived words so difficult to find?


What longest time ever was achieved at holding light in a closed volume?

For what longest possible time it was possible to hold light in a closed volume with mirrored walls?   I would be most interested for results with empty volume but results with solid-state volume may be also interesting.


Why hasn't Stack Overflow formed a "relationship" with jsFiddle yet?

The title explains it all.  You could then have an integrated interface, custom branding, in-page demos, etc. and I don't understand why it hasn't been done yet.  I know that similar questions have been asked before but I would like t know the reason that nothing has happened yet.


In LaTeX I am trying to pass a variable into a line for the \progressbar.  If you type everything in it looks like this   \progressbar[linecolor=blue, filledcolor=green]{.25} \begin{picture}(0,0)\put(-35,1.5) {\tiny$25\%$} \end{picture}   What I'm trying to do is this  \newcommand{\PerComplete}{0.25} \newcommand{\PerCompleteInt}{25} \begin{document} \progressbar[linecolor=blue, filledcolor=green]{.25} \begin{picture}(0,0)\put(-35,1.5) {\tiny$25\%$} \end{picture} \progressbar[linecolor=blue, filledcolor=green]{\PerComplete} \begin{picture}(0,0)\put(-35,1.5) {\tiny$\PerCompleteInt\%$} \end{picture} \end{document}   In the end, both \progressbars should look the same.  How do you turn the variable of \PerComplete and drop into a place where numbers normally reside? Is there a convert or .ToString() like C#?  In case you're wondering, the end result is that I'm calling a bunch of numbers from a CSV file, which is pretty cool, but I still have the issue of trying to put the numbers into the \progressbar string.


I need to add two voltages together that share a common ground (power supply from computer). I tried using bridge rectifiers and Op-Amps.


Assume that we have some count data $x_{1}, \dots, x_{n}$, which take values $\{1, \dots, m\}$ and we have some estimator of the probability mass function, $\hat{\mathbf{p}} = (\hat{p}_{1}, \dots, \hat{p}_{m})$. The Brier score originally defined as $$ BS = \frac{1}{n}\sum_{i=1}^{n}||\mathbf{I}_{i} - \hat{\mathbf{p}}||_{2}^{2} = \frac{1}{n}\sum_{i=1}^{n} \sum_{j=1}^{m}(I_{i,j} - \hat{p}_{j})^2, $$ where $\mathbf{I}_{i} = (0, \dots, 1, \dots, 0)$ is a vector in $\mathbb{R}^{m}$, with value $1$ is at the $t$-th position from the beginning of the vector, if $x_{i} = t$, for $t \in \{1, \dots, m\}$ and all $i=1,\dots, n$. Is it possible and does it improve something if we use $L_1$ distance instead of $L_2$? I mean the following modification: $$ \tilde{BS} = \frac{1}{n}\sum_{i=1}^{n}||\mathbf{I}_{i} - \hat{\mathbf{p}}||_{1} = \frac{1}{n}\sum_{i=1}^{n} \sum_{j=1}^{m}|I_{i,j} - \hat{p}_{j}|. $$


Is it correct to use two present participles sequentially?

We are currently in the process of finishing planning for the outage.    It the preceding sentence grammatically correct?    Is the preceding sentence ideally structured?   If not, what would be a better way of saying it?


Java inner class and static nested class

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


I have been looking through code for the last 3 days, and the original developer is defining Strings using the String class rather than the string class.  So, when they've used the IsNullOrEmpty method, it's defined String.IsNullOrEmpty.    What I'd like to know is how is the compiler dealing with String.IsNullOrEmpty compared to string.IsNullOrEmpty?    Is there any advantages using String.IsNullOrEmpty over string.IsNullOrEmpty?


Why did Itachi not kill Sasuke but instead poked his head during their last battle that led to Itachi's death?  Was it because of the clan symbol behind him? Or because he loved him?


"edit tags" always visible, not just when hovering the tags area

Until recently (probably today) the "edit tags" link appeared (for 10k users who has inline editing) only when hovering the tags area.  However, now it's always visible:        Can this please be fixed? I don't think we need both "edit tags" and "edit" always visible.


How is SOCKS protocol used in SSH dynamic port forwarding?

When creating connection(s) between application client and application server via SSH dynamic port forwarding by ssh -D, how is SOCKS protocol used? Is SOCKS used as a protocol for communication   between application client and SSH client,  or between SSH client and SSH server,  or between SSH server and application server?  Once an application client is connected to an application server by SSH dynamic port forwarding, the SSH client and server are often said to “get out of the way”. Does it mean that SSH protocol is not in use now? What protocols are still in use, for example, is SOCKS and/or SSH still? is the communication between the application client and application server still encapsulated inside (so secured by) the SSH protocol?   Thanks.


Why do these strings evaluate to false even when i enter them exactly right?

I am writing a simple program to get to grips with using the Scanner in Java. The program has a stored value for user_1 and asks the user to provide  the String variable username which is then checked against user_1 using the == operator, however even when username matches user_1 it still evaluates to false. I'm sure I must be missing something simple, any help would be appreciated. I even added the line printing both variable just to double check they are the same!!  import java.util.Scanner;  public class HelloWorld {  public static void main(String[] args) {      String user_1 = ("lucasRHCP");      Scanner input = new Scanner(System.in);     System.out.println("Enter your username: ");     String username = input.nextLine();      System.out.println(user_1 + " " + username);      if (username == user_1){         System.out.println("True");     }     else {         System.out.println("False");     } }    }


How can I increase the drop rate for Antlion Mandibles

I am trying to get the sandgun in Terraria, and it's impossible for me to get any mandibles after killing antlions! Is there a specific pre-hardmode weapon that increases chances of getting mandibles? Thanks.


Is there a word for someone who tends to find faults in others?

I'm looking for a single word, for someone who...   keeps seeing everything that is wrong with everybody else.  never seems to see the good of other people, only the bad things. points at others, as if he forgets he has weaknesses himself. does not brag about himself, he just seems to be dissatisfied with everyone else.   I prefer a word that is as unambiguous and clear-cut as possible.


How are answer scores really calculated?

I have read that the answer scores are calculated by the formula (Upvotes - Downvotes). I have just done a query using  (SEDE) and see a discrepancy between this formula and the first (most voted, accepted) answer, while all other answers seem to agree with the formula. See for yourself with the example below. The first answer (most voted, accepted) has a score of 1380, but it should have 1377, since there are 1378 upvotes and 1 downvote, according to the query. Here is the post I was testing:  And here is the query I did:


Since I installed Ubuntu 18.04, I can't find the shortcut directories

For most people, they have the shortcut directories on the left and it is easy to access. After my installation, I could not find these shortcuts(Home,Desktop,Documents,Downloads,Music,etc...). This is my second installation, the first one worked fine, I could see them, but with this second installation, I can't find these shortcuts and it makes navigation a little hard  This is how my Folder directory looks like  . There are not shortcuts for easy access. Please how can I solve this?


I want to split the string first by the commas and then by the space. I have written the code but it is not working  public class HelloWorld{   public static void main(String []args){        String [] y={};        String [] l=null;        int k=0;    String val = "10.0.0.0 255.255.255.0 net-0-rtr.example.com 2,10.0.1.0                   255.255.255.0 net-1-rtr.example.com 1";    String [] x = val.split(",");   for(int i=0;i<x.length;i++){         y = x[i].split(" ");         int b=0;        for( ;k<y.length;){          l[k]=y[b];          k++;          b++;     }    k=b;}  }}   It is giving the following output:- Exception in thread "main" java.lang.NullPointerException     at HelloWorld.main(HelloWorld.java:16)


How many hours of game play does Final Fantasy XIII-2 provide? This includes main story plus all the side quests and all unlocks.   I want to know because Final Fantasy 10 provides you with more than 100 hours of game play.   Blimey!


Drag-and-drop functionality no longer working after upgrade to 19.04

After upgrading from 18.04 to 19.04 (with a necessary upgrade to 18.10 between) on a Lenovo Yoga 11e, I can no longer drag and drop anything (ie, files, windows, etc.) with the touchpad.  I can, however, move things around using the touchscreen.  Whenever I attempt to do so with the mouse, though, sometimes it turns into a hand.  Whether or not it turns into the hand or remains a pointer, the icon will not move anymore.  IOW, as soon as I left-click, the pointer freezes in place until I release the touchpad.


Illusory Reality physics & damage question

Ignoring rules for fun via house ruling or assuming the 's Illusory Reality feature (PHB p. 118) can do damage through indirect means: What is the highest point you could drop a 20' thick metal meteor from, and what would the result be?   The object remains real for 1 minute, so the goal is to place it at a height where it can reach it's highest velocity and hit the ground within that time frame.   Lastly, what would the damage be?


Which is correct - I like buying or I like to buy

Which is correct? I like buying new gadgets. or I like to buy new gadgets.  If both are correct then what is the difference between them?


What's in the "Other" category on my iPad?

When I sync my iPad, iTunes tells me that Video accounts for so many gigabytes of space, Photos another portion, etc. etc.  But iTunes also tells me that a whopping 5.5 GB is being used by "Other".  What could this possibly be?  If it's not video, audio, photos, apps, or books, what's left taking up that amount of space?  I don't have that many contacts...  Of course, you don't know specifically what is and isn't on my iPad.  But any thoughts as to what this could be?  I'd like to reclaim some of that space if I can.


how to add .js programatically when in an entity list

I'm in the hook_entity_load in my module and I want to dynamically add a .js library which I already have defined. The thing is i need to get to  the block objec I'm on to add the library using $block['#attached']['library'][]  How do I get this block object?


Fermat's Last Theorem for Gaussian Integers (excluding the integers or  same pure imaginaries)

I am investigating solutions to Fermat's equation $$x^n + y^n = z^n$$ with $x,y,z$ in the Gaussian integers, excluding integers and pure imaginaries.  I have found out that there are only trivial solutions for the $n=3$ and $n=4$ cases, e.g. .   I would be grateful if you let me know of the current status or if it is already a theorem.


What is the behavior of the normal force during uniform circular motion?

A roller coaster car has a mass of 1360kg when fully loaded with passengers. As the car passes over a circular hill with radius 20m, its speed is not changing.   A.) What are the magnitude and direction of the force of the track on the car at the top of the hill if the cars speed is 11m/s?   B.) What are the magnitude and direction of the force of the track on the car at the top of the hill if the cars speed is 15m/s?   I have the correct answers according to the website I had to submit these answers to: A.) 5100N upward B.) 1972 downward  It was my understanding that at the top of the hill the acceleration due to circular motion and the acceleration due to gravity were in the same direction so an increase in speed would just increase the normal force which would be force of the track on the car. I don't get how there can be a force working in the downward direction.


Do graduate schools care about published solutions of contest problems in Mathematical magazines?

The math club at my university spends its time solving problems from mathematical magazines (e.g. Mathematics Magazine). Let's assume I, as an undergraduate student, submit a solution to a challenge problem from such a magazine, and my solution is published. Is there any advantage to having one or more published solutions like this when applying to graduate school?  For reference, assume this is graduate school in math.


I have been using windows for a long time. And now I have moved on to ubuntu (13.04). I am just 2 to 3 weeks old for ubuntu. I don't understand about the directories like /var , /home, /media etc. . . Can somebody relate all the ubuntu directories to windows directories. That might be so easy for a beginner like me to understand. To be more precise, I don't even know which directory behaves like C: and which one behaves like D: or E: or others. I don't know where to save which kind of docs.


(inspired by )  In the movies the pilots of TIE Fighters are shown wearing the same (or at least similar) masks like the Stormtroopers.   Are they clones too? The Stormtrooper clones are "programmed" for grunts but programming a clone for a pilot would be much more difficult.


What is "had the prior test not succeeded" meaning?

I read a sentence in a book, as following:     This feature is useful when constructing Boolean expressions in which we first test that a certain condition holds (such as reference not being None), and then test a condition that could have otherwise generated an error condition had the prior test not succeeded.   I could not understand the bold in the sentence in the way of grammar. I think it should be " an error condition that can have the prior test not succeeded", am I right?


What's the difference between selecting from two tables and using an inner join in MSSQL?

I am curious to learn the difference between selecting from two tables and joining in the WHERE clause and explicitly using a JOIN clause.   For what it's worth, I'm using MSSQL not Oracle so I'm interested in the inner workings of this in a MSSQL so unless this causes the same effect as Oracle,  doesn't help me.  Take for example the following two statements:  SELECT a.Field1, a.Field2, b.Field1 FROM tbl_ExampleA a, tbl_ExampleB b WHERE a.Field1 = b.Field1   and  SELECT a.Field1, a.Field2, b.Field1 FROM tbl_ExampleA a     INNER JOIN tbl_ExampleB b     ON a.Field1 = b.Field1   They return the same results, but behind the scenes, what is happening differently?


explains how to uses the Alt key in Terminal. Is there a similar solution for bash in xterm (without having to use Esc)?


converting java date to oracle date format

i am having string as 10-07-1992. i have to convert this to oracle date format like         10-jul-1992.  i tried using this  String date = fqu.getDob();  Date d = new SimpleDateFormat("dd/MM/yyyy").parse(date);  java.sql.Date sqlDate = new java.sql.Date(d.getTime());  System.out.println("sql date"+sqlDate);   this prints like 1992-07-10. but this is not recognized while inserting this value in oracle.  i dont need to_cast method. this works only in sql command prompt. i want to do this conversion inside java file.


Attempt to invoke virtual method 'java.util.Iterator java.util.ArrayList

I'm currently working on an android app to fetch data . It crashes and I get a NullPointerException. Can anyone help me edit my code/ list out my error?  This is a method where it crash       private void ClaimCategory() {      final ArrayList<ClaimModel> claimModels = new ArrayList<ClaimModel>();     claimModels.equals(AareonLocataireManager.getInstance().getClaims());      ArrayList<String> alist = new ArrayList<String>();      claimCategoryModel = new ArrayList<>();       alist.add(getActivity().getString(R.string.Mob_my_claim_category));     claimCategoryModel = AareonLocataireManager.getInstance().getClaimCategoryModelsObject();     // Création d'une ListIterator     ListIterator itr = claimCategoryModel.listIterator();     int i = 0;     // Afficher le contenu à l'aide de 'ListIterator'      while (itr.hasNext()) {          if (i == 2) break;         alist.add(                 claimCategoryModel.get(i).getLIBELLE());         i++;     }       ArrayAdapter<String> catAdapter = initSpinnerValues(alist);      catAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);     categoriesSpinner.setAdapter(catAdapter);   }   Here is my logcat  11-09 19:02:10.646 30715-30715/fr.aareon.saumur E/AndroidRuntime: FATAL EXCEPTION: main Process: fr.aareon.saumur, PID: 30715 java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.ListIterator java.util.ArrayList.listIterator()' on a null object reference   at fr.aareon.saumur.fragments.AddClaimFragment.ClaimCategory(AddClaimFragment.java:519)   at fr.aareon.saumur.fragments.AddClaimFragment.afterViews(AddClaimFragment.java:235)   at fr.aareon.saumur.fragments.AddClaimFragment_.onViewChanged(AddClaimFragment_.java:144)   at org.androidannotations.api.view.OnViewChangedNotifier.notifyViewChanged(OnViewChangedNotifier.java:41)   at fr.aareon.saumur.fragments.AddClaimFragment_.onViewCreated(AddClaimFragment_.java:101)   at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1314)   at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1528)   at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1595)   at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:757)   at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2355)   at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2146)   at android.support.v4.app.FragmentManagerImpl.optimizeAndExecuteOps(FragmentManager.java:2098)   at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2008)   at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:763)   at fr.aareon.saumur.activities.DashboardActivity.changeFragment(DashboardActivity.java:171)   at fr.aareon.saumur.activities.DashboardActivity$3.run(DashboardActivity.java:185)   at android.os.Handler.handleCallback(Handler.java:751)   at android.os.Handler.dispatchMessage(Handler.java:95)   at android.os.Looper.loop(Looper.java:154)   at android.app.ActivityThread.main(ActivityThread.java:6121)   at java.lang.reflect.Method.invoke(Native Method)   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)


I've read that PyPDF can have issues while cropping PDF's with python.  Anyone able to help me understand why my script crops and leaves the files blank?  def cropPDF(filenamePDF):     top = 57      ###############################     right = 26    #   Margin's to be trimmed    #     bottom = 75   #          in pixels          #     left = 26     ###############################     pdfIn = PdfFileReader(open(filenamePDF,'rb'))     pdfOut = PdfFileWriter()     for page in pdfIn.pages:         page.mediaBox.upperRight   =  (page.mediaBox.getUpperRight_x() - right, page.mediaBox.getUpperRight_y() -top)         page.mediaBox.lowerLeft    =  (page.mediaBox.getLowerLeft_x() - left, page.mediaBox.getLowerLeft_y() -bottom)         pdfOut.addPage(page)         ous = open(filenamePDF, 'wb')         pdfOut.write(ous)         ous.close()


Is it possible to compare 2 meshes for the complementarity of their respective surfaces?

Is there a way in Blender to compare two pieces of mesh or two meshes to its similarity? Maybe with some script or an addon.  What I mean: there is a stone or brick broken into half for example:   This is a kind of forensic or architectural task. The goal is to prove that those 2 pieces have similar surfaces and may be connected to each other with some threshold or they were a one piece before. I know of "select similar" in Blender, similar face area in this case, but it doesn't work quite well for such a task.  I am not a coder so I can't figure out a possibility of solving this. So what is the way to do it?


How do I rotate a graph of a function around a point, and show it in the related equation?  An example could be $f(x)=\lvert x\rvert$ (absolute Value) and $f(x)=x^2$


Use the $\epsilon - \delta$ definition to verify that $\lim_{(x,y)\to(0,0)}\frac{x^3-y^3}{x^2+y^2} = 0$?

I know that I have to find a $\epsilon > 0$ s.t. |$\frac{x^3-y^3}{x^2+y^2}$|<$\epsilon$ whenever $0<\sqrt{x^2+y^2}<\delta$ but what are the steps to proving this?  I'm looking for an answer which shows the steps as well as explains the intuition.  Thanks


Ubuntu Phone to be instal on a samsung device

Can i instal ubuntu on my Samsung Galaxy S Advance? If yes, what are the procedures?


What Custom Rom Alternatives Are Available To Users Of The Oppo Find 7a?

For those who wish to try something other than the default ColorOS ?


Why we don't use gamma rays, x-rays or ultraviolet to transmit data?

The greater the frequency range of a transmission medium, the greater the number of bits per second it can transmit. In other words, the bigger the bandwidth in hertz available, the bigger the bandwidth in bits per second that can be transmitted.  Given that, why we don't use gamma rays, x-rays or ultraviolet to transmit data instead of e.g. visible(light) in optical fiber or microwaves(cell phones)?


What is the difference between update-grub and update-grub2?

I'm making some changes on my grub file under /etc/default/grub. In some tutorials I have seen sudo update-grub and others sudo update-grub2. What is the difference?


I know that the sudo password is my account password. Buy when I type it that error messafe comes "Could not get lock.....". What to do?


This is my first time replacing the brake pads of hydraulic brakes.  I removed the old ones and the model was Shimano B01S Resin, so I bought the same ones. However, when I have replaced them. They don’t fit into the calipers... well they fit but there is no space for the disc between the pads. I have drained the brakes completely and nothing... Does anyone has an idea about that?  Thanks in advance. I have attached some pics about the issue.


Can Genji deflect Sombra's Translocator?

Since Sombra's Translocator is physically thrown to its destination, can an enemy Genji deflect it? If so, how does it behave? Will Sombra still be able to teleport to it like Junkrat can detonate a deflected mine, even if it switches to the enemy team?


Boot hangs for 30 seconds at "Begin: Running /scripts/local-premount"

After upgrade from Ubuntu 17.10 to 18.04 the bootprocess takes 30s longer than before.  it stops for 30 seconds at the step     Begin: Running /scripts/local-premount   Then it continues.  At first it continued one step further to     scanning for btrfs file systems   so I , but that didn't help with the problem.  I see no notice of that step neither in dmesg nor in var/log/boot.log  How can I debug this problem? Can I enable additional logging?


race/competition involving multiple aliens, perhaps mind transference

Looking for a novel I read as a child (probably during the 70s). I don't recall how the three main protagonists ended up involved in a brutal race on some planet, or what the prize was - however they were alien to each other, one was human, one communicated with squirts of flavoured liquid. I believe the ending is where (after each alien returns home) one has their mind transferred into a body that allows them to reunite with the other.  The race was on a different planet than the home planets of the main characters. The third one I don't recall - may be reptilian? The race resulted in death unless you won, and I seem to recall that cooperation between competitors was unheard of.


How to find current version of Gnome for Ubuntu 18.04 from internet?

I'm writing this in Ubuntu 16.04.5 LTS. I'm looking at Gnome Extensions for Ubuntu 18.04 that work with Gnome version 3.24 and breaks with version 3.26.  How can I find out using browser (google search doesn't tell me), apt list | grep ... or other means what version of Gnome Ubuntu 18.04 is using today?  Rebooting every time I want to know something about a version I haven't booted is inconvenient.    Test Results:  zcat /dev/nvme0n1p10/usr/share/doc/gnome-session-bin/changelog.Debian.gz | head -n1 gzip: /dev/nvme0n1p10/usr/share/doc/gnome-session-bin/changelog.Debian.gz: Not a directory   Important Note: I do not have 18.04 installed. I have 18.04 Unity installed. I want to know current known version would be installed so I can research bugs before installation.    EDIT: I'm not looking for the Gnome version of the current booted partition (as the duplicate candidate does) using:  $ apt-cache policy gnome-shell gnome-shell:   Installed: (none)   Candidate: 3.18.5-0ubuntu0.3   Version table:      3.18.5-0ubuntu0.3 500         500 http://ca.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages      3.18.4-0ubuntu3 500         500 http://ca.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages   I'm looking for the gnome version for a partition that needs to be mounted first (18.04). Or simply a link to a website containing the current version numbers as of today for 14.04, 16.04, 18.04, etc.


How do I get back a window in the interface?

In one rig I have this but in the other I don't.    Well basically I was doing a minecraft gfx when I accidentaly deleted this bar thing, could anyone help get it back?!


Now that Steam has removed the friends tab from settings how do I disable chat notifications sounds?

It used to be in settings under the friends tab. The friends tab no longer exists! Where do I find that infuriatingly missing setting now?


How do I visually display things differently than they are declared as in HTML?

Say I have this structure:

Hey, tis a title!

   This will generate a layout precisely like this:  image title   My goal is to, even if the code stays the same, display the content as:  title image   How can I achieve this?


What screen resolution do I make an android game in?

Is it safe to assume that most mobile phones and tablets today have moved to 1280x720 resolution and above and make the games in that resolution, scale down for smaller screens or is a smaller resolution like the often used 800x480 still the recommended way to do it and scale it up for larger devices?


How do I link a domain verified Google Search Console site to Google Analytics?

I'm trying to connect a Google Search Console property to Google Analytics.   It's supposed to be as easy as: Admin > Property Settings > Add a Search Console Site (that's been verified).  This particular site has been domain verified in Search Console. So I'm finding it's not that easy.    says that linking a domain verified search console site to analytics is not possible. You have to add the site as a URL-prefix.  My questions:   If the site has already been domain verified, do I have to first remove the domain verified site from Search Console and then re-add as a URL-prefix?  I tried simply adding the site as a URL-prefix and it did not work. Once added as a URL-prefix I see this:    So even though the site has been added as a URL-prefix, Google Analytics still won't me link to the property. The website still does not appear in Google Analytics as a Search Console property even when added as a URL-prefix. If I remove the domain, will we lose all historical data in Search Console?  Have any of you run into this issue? How have you worked around it?   I have to figure this out for a large client and don't want to drop the ball. Your help is greatly appreciated!


Why can't I upload a new profile picture using the iOS application?

I just took a picture of myself using my iPhone, but I can't upload it using this application. I'd like this to be possible very much though, is there any room for consideration?  PS: willing to make a pun like 'seeing the bigger picture of this feature.'


I have to work with .dng files and it looks like you can do it in Blender, somehow.   As stated in , it seems that you can import them but I don't know how; how do I do this?


How to create a sqlite database with data inside?

how to create a sqlite database with data inside? I search for a tutorial for that but i saw only that they create only a table in database then they make a method for inserting a data into certain table. I want to make a database with a data itself upon creating a database.


Suppose $s$ is a complex number with $\Re(s) \in (0,1]$ and $\{a_n\}$ is a complex sequence converging to $a \neq 0$. Must the Dirichlet series $$\sum_{n=1}^\infty\frac{a_n}{n^s}$$ diverge?


Max family of odd subset of a nested set.

Hi I have to proof that for $\Omega$ a nested family of odd subsets of $V$ with $V$ finite, we have that $|\Omega|\leq\frac{3}{2}|V|$. I can prove that for certain constructions of $\Omega$, it is satisfies $|\Omega|\leq \frac{3}{2} |V|$, the problem I encounter is that I have to proof that my construction of $\Omega$ is optimal. (Since I have to prove that this holds for every family of odd subsets) Can anyone give me a hint on how to proof that every $\Omega$ satisfies this equation.    $\Omega$ is nested if for all $A,B\in\Omega$ either $A\subseteq B$, $B\subseteq A$, or $A\cap B=\varnothing$; a set is odd if its cardinality is odd.


Html element can not be addressed after jquery .html

I try to insert a button with .html(...) and then he should execute some code. But it doesn´t work, the button (inserted with .html(...)) doesn´t response after clicking him.. i have no idea what i can do, i also asked google for help, but i found nothing.. i hope somebody can help me :)  Here is my html:        <title>Multiplie Files</title>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">                 <button id="button">test</button>

      And here is my javascript:  $('document').ready(function() {  $('#click').click(function() {    alert(true);  });  $('#button').click(function(){     $('#field').html('<input value="Click" type="Button" id="click"/>');     //document.getElementById("field").innerHTML = '<input value="Click" type="Button" id="click"/>'; });   });  I tried with jquery .html and with normal javascript .innerHTML.. nothing works..  Thanks for every reply! :)


If $A\subsetneq X, B\subsetneq Y$, X,Y are connected then $X\times Y- A\times B$ is connected

Question is to prove that :  If $A\subsetneq X, B\subsetneq Y$, and  $X,Y$ are connected then $X\times Y- A\times B$ is connected.  I do not immediately see why this is true.   So, I thought if i can easily see something less is true. i.e., if $X$ is connected and $A$ is a proper subset of $X$, Then $X-A$ is connected.  take $X=\mathbb{R}$ ,and for $a\neq b$, $A=[a,b]$ then $X-A=\mathbb{R}-[a,b]$  we have $\mathbb{R}-[a,b]=(-\infty,a)\cup (b,\infty)$   $(-\infty,a)\neq \emptyset$ and $(b,\infty)\neq \emptyset$ and $(-\infty,a)\cap (b,\infty)=\emptyset$  somehow i have to say that $(-\infty,a)$ and  $(b,\infty)$ are not open in $\mathbb{R}-[a,b]$  for $M\subset X$ we say that $U$ is open in $M$ if $U=V\cap M$ for some open set $V$ in $X$   Suppose $(-\infty,a)$ is open in $\mathbb{R}-[a,b]$ then  we would have $(-\infty,a)=\mathbb{R}-[a,b] \cap V$ for some open set $V$ in $\mathbb{R}$  but $(-\infty,a)=\mathbb{R}-[a,b] \cap (-\infty,a)$ and $ (-\infty,a)$ is open in $\mathbb{R}$ thus,    $(-\infty,a)$ is open in $\mathbb{R}-[a,b]$  similarly, $(b,\infty)$ is open in $\mathbb{R}-[a,b]$  I do not see where did i go wrong??  Please help me to sort this out..  thank you.  P.S : Though  my original question is to prove $X\times Y- A\times B$ is connected. while writing this, i was thinking of trying some thing less which i thought could be easily seen and then try for original question... but, I got stuck with simple thing only... But I feel "$A\subsetneq X, B\subsetneq Y$, and  $X,Y$ are connected then $X\times Y- A\times B$ is connected." then $A\subsetneq X$ , $X$ is connected then $X-A$ should also be true... please let me know why is this false.. I mean it should be... right???


Here is the top output which I gathered:    I noticed that top is showing vlc's cpu usage is > 100%.  Can anybody please justify me why it is showing like this, whether this is a bug in top application or something else.


How to prevent windows from going to sleep when my c++ application is running?

I develop an application in c++ with Qt and visual studio 2015.  I want to know how to prevent the application form going to sleep when my application is running. My application should be always running in background and responding to the user commanding it by voice.  Is there any to prevent windows from going to sleep when my application is running?


I've noticed that there's a line break occurring in the content__date when the browser is in mobile view. I tried to add another container for the content__date but it is not working. Any ideas would be appreciated.~ I am totally new in web development please bear with me.   .content__item {      display: flex;      align-items: center;      justify-content: flex-start;      height: 100vh;      width: 100vw;      color: black;      font-family: sans-serif;      margin: 0; }  .content .p {      margin: 0; }  .content__wrapper {      display: flex;      align-items: flex-start;      justify-content: flex-start;      max-width: 600px; }  .content__date {      display: flex;      transform: rotate(-90deg);      border-bottom: 2px solid black;      padding-left: 3rem; }  .content__category-wrapper {      display: flex;      flex-direction: column;      justify-content: flex-start;      align-items: flex-start;      margin-left: -3.25rem;      margin-top: -3rem; }  .content__category {      padding-bottom: 1rem; }  .content__category-text {      padding-left: 1rem; }  .content__title-line {      border-top: 2px solid black;      margin-left: 0.5rem;      padding-left: 20rem; }  .content__title {      padding-top: 1rem;      padding-left: 20px;      font-size: 18px; }

June 7, 1941

Some text here

Another text here


What is a decoupling capacitor and how do I know if I need one?

What is a decoupling capacitor (or smoothing capacitor as referred to in the link below)?  How do I know if I need one and if so, what size and where it needs to go?    mentions many chips needing one between VCC and GND; how do I know if a specific chip is one?   Would an  4-bit parallel access shift register used with an Arduino need one? (To use my current project as an example) Why or why not?  I feel like I'm starting to understand the basics of resistors and some places they're used, what values should be used in said places, etc, and I'd like to understand capacitors at the basic level as well.


How do I change to a theme not listed in the Appearance screen?

I've downloaded some nice themes, icon packages, and pointers from sites like gnome-look.  Now, what do I do to use this theme? Do I have to save it in /usr/share/themes?


What sources of randomness can be made with commands in Minecraft?

I want to make a mini game in Minecraft were I need a random command generator for 9 commands. I need a random command to give the player a random item. I can't do the command block in the dispenser any more because it will just drop out instead of being placed. What different ways are there for generating randomness in commands, and which one would be best for my use? This question is similar to the one about , but I am specifically attempting to get randomness when using commands - the redstone solutions do not apply here.


Kernel of homomorphism $\mathbb{K}[X,Y]\rightarrow \mathbb{K}[t^2,t^3]$, $X\mapsto t^2$, $Y\mapsto t^3$

I'm trying to show that the kernel of the homomorphism $$\varphi: \mathbb{K}[X,Y]\rightarrow \mathbb{K}[t^2,t^3],$$ $$X\mapsto t^2,$$ $$Y\mapsto t^3,$$ is the ideal $I=\langle Y^2-X^3\rangle$ in $\mathbb{K}[X,Y]$, where $\mathbb{K}$ is a field. I can show that $I$ is contained in $\ker \varphi$, but not the other way around. For a given polynomial $p(X,Y)$ such that $\varphi(p(X,Y))=0$, I wrote it as $$ p(X,Y)= \sum_{i=1}^n a_iX^i + \sum_{j=1}^mb_jY^j + \sum_{r,s>0}c_{rs}X^rY^S +d, $$ but that didn't help me as much as I hoped. At least I can show that $d=0$, but that was it. The change of variables made by $\varphi$ suggested some integer relationships between $i$, $j$ and $r,s$ but I could not conclude anything. This was a part of an example seen in a Commutative Algebra online course under the section of Integral Extensions with a spoiler from what owuld be seen in an Algebraic Geometry course (I can provide link for the Youtube video, if needed, though I believe it's not necessary)


Will I receive achievements for Steam games when using mods?

I know that using console commands will disable steam achievements in some games. Will using mods in e.g. Fallout new Vegas disable achievements as well?


Show that every proper subgroup of $S_3$ is cyclic. So I approached it like this, $$|S_3|=6$$ So divisors of 6 are 2 and 3 (excluding 1 and 6, because improper subgroups). Both 2 and 3 are prime and any group of prime order is cyclic. Is that a correct approach?


Is a constant condition more costly than switching shaders?

In general, branching in shaders is not a good idea. But now I have a shader with a condition that is constant with respect to the entire draw call. So the branch that is executed is always the same for one draw call.  Is such kind of branching still more costly than having multiple shaders without these branches and switch between them?


Localisation is isomorphic to a quotient of polynomial ring

I am having trouble with the following problem.      Let $R$ be an integral domain, and let $a \in R$ be a non-zero element. Let $D = \{1, a, a^2, ...\}$. I need to show that $R_D \cong R[x]/(ax-1)$.    I just want a hint.  Basically, I've been looking for a surjective homomorphism from $R[x]$ to $R_D$, but everything I've tried has failed. I think the fact that $f(a)$ is a unit, where $f$ is our mapping, is relevant, but I'm not sure. Thanks


I'm trying to model numerically the effects of the Earth's oblateness on satellite orbits. I'm seeing precession of the orbit, but not in the plane that I'm expecting. Here's my corrected grav. potential energy: $$U=-\frac{GMm}{r}+\frac{GMma^2}{2r^3}(2cos^2\theta -1)$$  where $\theta$ is the colatitude (measured from the pole, not the equator).  I think that the problem may be in getting from $U$ to $F$ (which is what I really need for the simulation). I'm differentiating w.r.t. $r$ - do I also need to do something about the $\theta$ variation when I go from $U$ to $F$ here?


Resize Linux swap /Solaris and give main memory more space?

For the dual-boot I've allocated about 22 GB space from the disk. But actually, I'm having about only 10 GB space available for my own usage.   $fdisk -l shows me the following:  Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x07b1bfb7  Device     Boot     Start       End   Sectors  Size Id Type /dev/sda1  *         2048    206847    204800  100M  7 HPFS/NTFS/exFAT /dev/sda2          206848 423804927 423598080  202G  7 HPFS/NTFS/exFAT /dev/sda3       423806974 468860927  45053954 21.5G  5 Extended /dev/sda5       423806976 443924479  20117504  9.6G 83 Linux /dev/sda6       443926528 468860927  24934400 11.9G 82 Linux swap / Solaris  Partition 3 does not start on physical sector boundary.   I don't know much about this swap partition, but I really need to have more space on my linux.  Is there an option to take memory from the swap? How? What will be the consciouses?


Is it possible to encrypt home folder on Windows 7 and decrypt it after login to Windows?

This question have been asked[1] but didn't exactly got a direct answer to the question. I want to encrypt my home folder in Windows 7 (c:\users\username) and decrypt it after I log in to Windows. Such feature could be found in Ubuntu and I'm simply looking for an alternative. I do not want to encrypt my whole harddrive, nor want to use TrueCrypt because I want it to be convenient for people using this computer and also protect the user folder.   Any suggestions?  [1]


The text when reviewing Close Votes in /review is broken on ebooks.stackexchange.com as below:    This text is only visible when you click on the "more" link. Also replicated on MSO.


Linux containers (LXC) on Red Hat/CentOS EL6 - lxc-create versus libvirt?

It's tricky trying to stay within the good graces of Red Hat and still plan for system longevity...   I've been a proponent of  for over a year. My initial installations were based on information gleaned from online tutorials, like  and . This centered around the lxc-create, lxc-start|stop and lxc-destroy commands and modifying existing .  This works well and is happily running in production. However, I am bringing up some additional systems and decided to check Red Hat's current documentation regarding containers in EL6. I was surprised to see their official stance on this.   In , Red Hat describes LXC as a Technology Preview and .  Yet Oracle  in its Unbreakable Linux.  There appears to be some missing functionality in the libvirt method, but my initial approach with lxc-* commands was a bit of a manual process... I can't quite tell what's right or the "accepted" means of managing containers on EL6.   What's the conventional wisdom regarding LXC and RHEL-like systems today?  How are you implementing them in your organization?  Are there any advantages to one approach versus the other(s)? Can these coexist?


Question about implicit differentiation and y derivative

Suppose I have: $$x^2 + y^2 = 1$$ Then, $$d/dx(x^2) + d/dx(y^2) = d/dx(1)$$ $$2x + 2y*y' = 0$$ $$y' = -2x/2y = -x/y$$  What I don't get is when we do $d/dx(y^2)$, where do I get the $y'$ from? In $d/dx(x^2)$, its simply $2x$ ... for $d/dx(y^2)$, why isn't it just $2y$


For every twice differentiable function $f : \bf R \rightarrow [–2, 2]$ with $(f(0))^2 + (f'(0))^2 = 85$, which of the following statements are TRUE?

For every twice differentiable function $f : \mathbf R \rightarrow [–2, 2]$ with $(f(0))^2 + (f'(0))^2 = 85$, which of the following statement(s) is (are) TRUE ?  (A) There exist $r, s\in \bf R$, where $r < s$, such that $f$ is one-one on the open interval $(r, s)$  (B) There exists $x_0 \in (–4, 0)$ such that $|f'(x_0)| < 1$   (C) $\lim\limits_{x\to\infty}f(x) = 1$   (D) There exists $\alpha\in(–4, 4)$ such that $f(\alpha) + f''(\alpha) = 0$ and $f '(\alpha)\ne0$  My attempt is as follows:-  $A)$ If function is continuous, then definitely in some part of the interval it will be increasing or decreasing hence will be one-one on the open interval $(r,s)$   $f(x)$ cannot be a constant function as in that case $f'(x)=0$ which means $f(0)=\sqrt{85}$, but it doesn't belong to co-domain of $f$  B) By mean value theorem we can say that there exists some $c\in(-4,0)$ for which $4f'(c)=f(0)-f(-4)$  Suppose if $f(0)=2$ and $f(-4)=-2$, then we can only say that there exists $c$ such that $f'(c)=1$. It will not be necessary that there exists a $c$ for which $|f'(c)|<1$  C) $\lim\limits_{x\to\infty}f(x) = 1$, this is not at all necessary.  D) If function is not constant in $(-4,4)$, then we can safely say that at some point $\alpha$, $f(\alpha)\ne0$  But how to know $f(\alpha)+f''(\alpha)=0$  Actual answer is $A,B,D$ but I am able to ascertain only option $A)$. Please help me in this.


A certain user just got 42 reputation from removing the  from a bunch of questions and doing nothing else. This seems very wrong, because the questions had other things wrong with them, but people were accepting the edits. I rejected them, but since I am only one person, they were accepted anyway.  I feel that for purely tag-based edits, you should not get as much rep for editing as you do for actually editing a question. I think it should either be taken away entirely, or reduced to a much lower rate, say 1 rep point per every 2 questions.


How do I make a teleporter that doesn't need a pressure plate to activate?  In other words I would like to execute a command which is executed when one steps in a certain location. For example, a command that would test if someone is somewhere and then teleport them somewhere else.  I have a few ideas, but I do not know how I know to complete the assignment. Maybe these commands?  /execute <playername> ~ ~ ~ /tp <playername> ~ ~ ~ /execute <playername> ~ ~ ~ /fill ~ ~ ~ ~ ~ ~ minecraft:redstone


Why in Spring the interface is instantiated and not the class that implements it?

I'm new to Spring and I have a question about how it works.  Why is the interface instantiated in Spring framework and not the class that implements it?  I have seen several tutorials and they all do the same but I can not understand why  The interface:  public interface ILoginServicio {     public String getLogin(String usuario, String contrasena);     public boolean getMultiSearchResult(DirContext dirContext, String searchFilter, String searchBase);     public boolean displayAttribute(String attrName, final Attributes attributes); }   The class implementing the interface:  @Service public class LoginServicioImpl implements ILoginServicio{      @Autowired     private Environment environment;      @Override     public String getLogin(String usuario, String contrasena) {         ....     }      @Override     public boolean getMultiSearchResult(DirContext dirContext, String searchFilter, String searchBase) {         ...         return flagActiveDirectory;     }      @Override     public boolean displayAttribute(String attrName, Attributes attributes) {         ....         return flagActiveDirectory;     } }   Restcontroller class where the bean is injected to:  @RestController public class Login {      @Autowired     ILoginServicio iLoginServicio;      @RequestMapping("/login")     public Respuesta<String> login(@RequestBody UsuarioLogin user){         //.......     } }


Number of ways to choose two disjoint subsets of a set

Let $A$ be a set of $n$ elements. Then, in how many ways, can we choose an ordered pair $(B,C)$, where $B,C$ are disjoint subsets of $A$?  Let A={1}, then B can be {phi} and C can be {1}. So, one ordered pair.   Let A={1,2}, then B can be {phi}, {1} and C can be {1},{2}. So three ordered pairs.   Let A={1,2,3}. Then B can be {phi},{1},{2} and C can be {1},{2},{3}.   So six pairs ? Am I going in the right direction ?


PowerPoint: only show the objects belonging to a particular animation step

I am trying to create an animation (in PowerPoint 2010) where I show one chart with some data, and I do some annotations on the chart itself (to highlight several parts of it). If I want to put many annotations the whole thing becomes messy while editing, because all of them are shown at the same time. So, it is even difficult to select individual annotations.  As an example, I include a picture showing the problem:    As you can see, there are two annotations. On the bottom, both text boxes are perfectly aligned so, it is difficult to individually select them. If, instead of two annotations, there are more than 5 or so, it becomes really difficult to work.  So, I was wondering whether there is any option that hides (while editing) all the objects belonging to the previous and following animation steps. I tried looking for such an option on the animation pane (on the right), but I could not find it.


Problem importing CNTK in Azure jupyter notebook

Vineeth Sai indicated in  that with the following code:  pip install cntk    the problem is solved. However, I am getting the error shown in attached image:


A folder was created when I used a utility to recover pictures from a cd card that I deleted by mistake.  Now I can't delete it or move it. I am told I am not the owner of it even when I am logged on as root.  How can I delete the recup_dir.1 folder from my machine?


I'm not certain whether to use 'see' or 'watch'. It's about friends who have no other choice but to watch/see each other die. I'd be much obliged, thank you in advance.


Derivation of an identity with beta function.

Beta function is defined as:  $$B(x,y)=\int_0^1 t^{x-1}(1-t)^{y-1}dt$$  for $\Re(x) , \Re(y)>0$, I want to show that:$\frac{B(x,y)}{c^y}=\int_0^\infty \frac{t^{x-1}dt}{(c+t)^{x+y}}$.  I thought of changing variables to $s=\frac{c}{t}-c$, but only for the case $c>0$, then I get the following integral: $$\int_0^\infty\frac{1}{(s+c)^{x+y}}c^xs^{y-1}c^{1-y}ds$$ which looks similar to what I need to show but not quite, any advice as to what change of variables will yield the appropriate integral?  Thanks. The reference of the question is question 8 on page 47 of the book: Special Functions by Andrews et al.  It isn't mentioned if $c>0$ or not, so I assume it can be negative.


why output so strange 0022 =18? hello everyone to day i have test.the question is "what is the output of   System.out.println(0022);   i so confuse why Answer is 18   explain needed


Out of the box command for the total number of slides in a frame?

Is there a command \inserttotalslidenumber, similar to, for example, \inserttotalframenumber?  I would like to be able to write something like this:  \begin{frame}   \frametitle{The title (\insertslidenumber/\inserttotalslidenumber)}    %    \only<+->{Some content.}    \only<+->{Some more content.} \end{frame}   To generate "The title (1/2)" and "The title (2/2)" on the respective slides.  Edit:  There is currently no out-of-the-box command for this. See samcarter's response below for a way to make the calculation.


I'm trying to get an array from a database, and set the result as a variable (in this case, named '$Rate'). The code which worked using mysqli is this:  //Getting Hire Rate $Rate = array(); $ratequery = "SELECT HireRate FROM movie WHERE MovieID LIKE '$MovieID'"; $rate = mysqli_query($con, $ratequery)     or die("Error: ".mysqli_error($con)); while ($row = mysqli_fetch_array($rate, MYSQLI_ASSOC)) { $Rate[] = $row['HireRate']; }; mysqli_free_result($rate);   I'd like to do the same using PDO. I've read various pages but cannot get it to work.


What is an "Emergency Call," and can I  set number for it?

On the default lock screen, whether using pattern or pin, there is a button at the bottom which says "Emergency Call". But if I try to call my home number or anything it tells me "That is not an emergency call." What does it let through? Is it only 911?   Is there any way to tell it to allow a certain set of numbers from the emergency button, like to set a list of emergency numbers such as: 911, Home and Wife? This would seem like it would be very useful, so if someone finds you smooshed on the road, they know these certain people should be called.


Error mounting /dev/sda1 at /media/mdnazmossakib/01D189A576840DF0: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda1" "/media/mdnazmossakib/01D189A576840DF0"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda1': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.   What is the solution to this? It was working fine, but this suddenly happened. Help me to solve this.


Read file permission denied despite sufficient permissions

I'm attempting to cat a file with 770 permissions as a user who is part of the group (but not the owner of the file). This should provide sufficient permissions to my understanding, yet I encounter a Permission denied nevertheless. What am I missing?  [altay@arch ~]$ ls -l test.txt  -rwxrwx--- 1 http http 24 Sep 15 18:56 test.txt [altay@arch ~]$ groups altay  lp wheel http network video audio storage autologin users [altay@arch ~]$ cat test.txt  cat: test.txt: Permission denied [altay@arch ~]$ sudo cat test.txt  I am not readable by my group despite 770 permissions.


$X \geq 0$ be a random variable defined on $(\Omega,\mathcal{F},P)$. Show that $\mathbb{E}[X]<\infty \iff \Sigma_{n=1}^\infty P(X>n) < \infty $.  I got the reverse direction but I am struggling with the $"\implies"$ direction. So far, I have the following worked out:  $\mathbb{E}[X]<\infty$  $\implies \int_0^\infty (1-F(x)) dx < \infty$ (where $F$ is the distribution function of the random variable X)  $\implies \int_0^\infty (1-P(X\leq x)) dx < \infty$  $\implies \int_0^\infty P(X>x) dx < \infty$  Consider $\int_0^\infty P(X>x) dx$  $= \Sigma_{n=1}^\infty \int_{n-1}^n P(X>x) dx$  This is the point I am stuck at. Any help will be deeply appreciated!


How to setup ~/.vnc/xstartup/ with Unity as Desktop, in Ubuntu 14.10?

I used to setup my xstartup like this in Ubuntu 12.04 as below and it worked fine.  #!/bin/sh  # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS # exec /etc/X11/xinit/xinitrc  [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & # x-window-manager &  export DESKTOP_SESSION=ubuntu-2d export GDMSESSION=ubuntu-2d export STARTUP="/usr/bin/gnome-session --session=ubuntu-2d"  $STARTUP   But now I transfered to Ubuntu 14.10, but what I've got is only a dark desktop with only a gnome-terminal. Under /usr/share/gnome-session/sessions/, there are no longer ubuntu-2d.session, but only ubuntu.session now. So I changed the 3 ubuntu-2d to ubuntu, but still the same situation. Anyone got any idea how to fix this?  PS: I don't want to use gnome-desktop, I just want to use unity... That's the problem.


VB.NET get file name of selected file in OpenFileDialog - no path

I'm using the OpenFileDialog to open an Excel workbook, pass data from that workbook to another workbook, and then close the workbook I opened via OpenFileDialog. My problem is passing the data...how do I obtain just the name of the file I've opened via OpenFileDialog? I can't have the path, I just need the name of the file with it's extension. Here's part of my code   Dim filedialog As OpenFileDialog = New OpenFileDialog() Dim strFileName As String                 filedialog.Title = "Open File Dialog"                 filedialog.InitialDirectory = "W:\TOM\ERIC\NET Dev"                 filedialog.RestoreDirectory = True                 If filedialog.ShowDialog() = DialogResult.OK Then                     strFileName = filedialog.FileName                     System.Diagnostics.Process.Start(strFileName)                     StatVar.xlApp.Workbooks(StatVar.workbookName).Sheets("Input Form     Info").Range("B4:B204").Value = StatVar.xlApp.Workbooks(strFileName).Sheets("DJA Corp     Use").Range("C2:C202").Value                     StatVar.xlApp.Workbooks(strFileName).Close(False)                 End If             Else                 Exit Sub             End If   I can't pass my data from workbook to workbook because the strFileName variable contains the file path. I've been trying to work with this function to return the file name but I'm not experienced enough apparently. Any help is appreciated.      Public Function FileNameWithoutPath(ByVal FullPath As String) As String      Return System.IO.Path.GetFileName(FullPath).ToString      End Function


The __debug__ variable is handy in part because it affects every module. If I want to create another variable that works the same way, how would I do it?  The variable (let's be original and call it 'foo') doesn't have to be truly global, in the sense that if I change foo in one module, it is updated in others. I'd be fine if I could set foo before importing other modules and then they would see the same value for it.


Does the splitting lemma hold without the axiom of choice?

In part of the proof of the splitting lemma (a left-split short exact sequence of abelian groups is right-split) it seems necessary to invoke the axiom of choice. That is, if $0\to A\overset{f}{\to} B\overset{g}{\to} C\to 0$ is exact and there is a retraction $B\overset{r}{\to}A$, then we can find a section $C\overset{s}{\to}B$ by choosing any right inverse of $g$ and removing the part in the kernel of $f$, which gives a well-defined morphism independent of the choice.  Is this invocation of the axiom of choice essential? I thought I had an example that showed it was: $0\to\mathbb{Q}\to\mathbb{R}\to\mathbb{R}/\mathbb{Q}\to0$ splits on the right if you can choose a basis for $\mathbb{R}$ as a vector space over $\mathbb{Q}$. But actually now I think it doesn't split on the left without a basis either.  The map $C\to B$ is supposed to be a canonical injection map. Can something be "canonical" if it requires choice?


Does Stack Exchange need subsites for news submission?

Stack Exchange successfully expanded beyond programming questions. It preserved high standards of discussion even in opinionated and ideological topics, such as politics and economics. There's a great community behind these achievements.  I'm sure this great community not only asks and answers questions, but also read news. And these news must be more reliable and objective that elsewhere. Just for the same reasons why questions and answers on Stack Exchange are more reliable and objective.  But there's no place on Stack Exchange to share these news. You can, of course, submit links elsewhere, but those places lack the culture of Stack Exchange. So, it doesn't work well.  Should Stack Exchange have its own news submission subsites, in addition to topical Q&A subsites? Something like news.stats.stackexchange.com for stats.SE, along with meta.stats.stackexchange.com and chat.stackexchange.com?  Technically, submission, commenting, and voting look exactly the same in the news submission process, as they do in Q&A. But news naturally require a separate listing.  And yes, by "news" I mean any link you'd like to share. Not only the recent stuff, but older publications as well.  Why not chat or blogs  After being sent to a duplicate  (which I don't consider as such because it suggests discussing news in the same listings with questions—I don't support that), I'd clarify a bit.  So, yes, there're tricks to add news right now (among suggested here: chats, blogs, masking your news as questions), but they are inefficient ways to manage news. From a news submission website, you'd expect two things: (1) inflow of good links, (2) voting and ranking on these links. Chats, blogs, and Q&A don't meet these requirements.  As an example, Stack Exchange is successful not because it forced users to use tricks on good old message boards, which don't suit Q&A needs, but because it designed an efficient way to manage Q&As. Apparently, this design is not far from an optimal design of a news submission service.  Objections like "I wouldn't use such a service" are fine here, but my suggestion is not about finding broken ways to submit links to Stack Exchange.


How to empty the list of supplementary group IDs for a process?

When I create a child process, it inherits the supplementary gids of the parent. If the parent is a root, then the child has (0) as supplementary gid. This behavior is not desired.  Is it possible to force supplementary group IDs to have no group id? If yes, how?


What do we exactly mean by a biased estimate?

I am not able to understand the exact meaning of bias. The least squares is said to give us unbiased estimates during linear regression but still we refer linear regression to have a high bias because of its assumption ?


Does the Flash run out of breath like a normal human when exercising?

When a DC-universe human runs/exercises in general, much like our earth's humans they get out of breath and tire. Does this happen to the Flash? If so does he just have an insanely high fitness level?  In both the comics and the tv-shows/cartoons there have been instances where the Flash has not been able to push himself any more or stopped running and then had to have a sit down/rest.  Does the Flash get tired by performing "regular" exercise, as he does with running fast (not to be confused with time/dimension-travel, because then he isn't even a thing anymore, he's just energy using "running" as a vehicle so his mind can perceive and control what's happening).  If the Flash ran around the world perpetually, would he get tired like a regular athlete hitting their upper bound or not? If the Flash swam perpetually would he get tired as mentioned, or not?  An ideal answer would then show if there is a relationship between the two!


Why is this wildcard not working in bash?

I have an alias set up  alias nano="nano -B"   so everytime I change a <configFile>, a backup <configFile>~ is generated.  Now I have a lot of those backups I don't need anymore so I tried  rm *~   but this doesn't work  rm: cannot remove '*~': No such file or directory   How can I remove all files ending with ~?  EDIT:  here the ouput of ls -alF (in this case I'm root and in the /root folder)  drwx------  6 root root  4096 Nov  9 12:58 ./ drwxr-xr-x 23 root root  4096 Oct 31 06:55 ../ -rw-------  1 root root 51486 Nov  9 11:13 .bash_history -rw-r--r--  1 root root  4218 Nov  9 12:56 .bashrc drwx------  2 root root  4096 Jul 19 15:47 .cache/ drwx------  2 root root  4096 Jun 27 15:36 .gnupg/ drwxr-xr-x  2 root root  4096 Jul  3 10:54 .nano/ -rw-r--r--  1 root root   798 Jun 27 11:45 .profile -rw-------  1 root root  1024 Jun 27 14:25 .rnd -rw-r--r--  1 root root    66 Sep  4 14:15 .selected_editor drwx------  2 root root  4096 Sep  5 13:00 .ssh/ -rw-r--r--  1 root root    65 Nov  9 09:30 Trying -rw-------  1 root root   628 Jul 19 15:37 .viminfo -rw-r--r--  1 root root   143 Nov  9 12:58 .virtualMachines -rw-r--r--  1 root root   143 Nov  9 12:58 .virtualMachines~ -rw-rw-r--  1 root root   358 Nov  9 12:57 .virtualServices -rw-rw-r--  1 root root   358 Nov  9 09:48 .virtualServices~   in this case I want to remove .virtualMachines~ and .virtualServices~


"Forgot" password on login form interferes with browser filler

Safari 9 on OS X introduced a key indicator to allow you to select a password from the Keychain. However, the "Forgot" link inside of the text box makes it unusable. Attempting to click the key always results in the forgot link getting clicked.    It is occasionally useful to be able to use the key to select a password.


What are the pros and cons of being co-supervised?

Are there any advantages or disadvantages in having two supervisors instead of one? Why would a graduate student want to do this or avoid this?  The context is in an MA where students usually have one supervisor and two committee members (examiners).


How do I display Swing component on JSP?

I want to do this because I want to print a Swing component on client side   printJob.print(); always print on server side. Is there any other  way to do so?


How do I install the debug symbols for gcov?

Which package has the debug symbols for gcov from the gcc package? I've tried installing gcc-5-dbgsym, but it didn't have the symbols.  Not a duplicate of [1]. As I mentioned I've already enabled the ddebs repositories, and installed the corresponding -dbgsym package. The gcov program is provided by the gcc-5 package as indicated by dpkg -S /usr/bin/gcov-5, but gcc-5-dbgsym does not include debugging symbols for gcov. Where are the debugging symbols for gcov?  [1]


Sound not working on HP Chromebook 11 G4 Ubuntu 16.04

I installed Seabios and then used a USB to install Ubuntu GNOME 16.04 with no problems; I completely removed Chrome OS.   I just realized while playing a game that the sound is not working. Do I need to install a driver or just make some adjustments in alsamixer or similar?


How do I run another program from within my C program, I need to be able to write data into STDIN(while execution of program i have to provide input through stdin more than once) of the programed launched (and  read line by line from it's STDOUT)  I need the solution to work under Linux.  while going through net i found below code:  #include <sys/types.h> #include <unistd.h> #include <stdio.h>  void error(char *s); char *data = "Some input data\n";  main() {   int in[2], out[2], n, pid;   char buf[255];    /* In a pipe, xx[0] is for reading, xx[1] is for writing */   if (pipe(in) < 0) error("pipe in");   if (pipe(out) < 0) error("pipe out");    if ((pid=fork()) == 0) {     /* This is the child process */      /* Close stdin, stdout, stderr */     close(0);     close(1);     close(2);     /* make our pipes, our new stdin,stdout and stderr */     dup2(in[0],0);     dup2(out[1],1);     dup2(out[1],2);      /* Close the other ends of the pipes that the parent will use, because if      * we leave these open in the child, the child/parent will not get an EOF      * when the parent/child closes their end of the pipe.      */     close(in[1]);     close(out[0]);      /* Over-write the child process with the hexdump binary */     execl("/usr/bin/hexdump", "hexdump", "-C", (char *)NULL);     error("Could not exec hexdump");   }    printf("Spawned 'hexdump -C' as a child process at pid %d\n", pid);    /* This is the parent process */   /* Close the pipe ends that the child uses to read from / write to so    * the when we close the others, an EOF will be transmitted properly.    */   close(in[0]);   close(out[1]);    printf("<- %s", data);   /* Write some data to the childs input */   write(in[1], data, strlen(data));    /* Because of the small amount of data, the child may block unless we    * close it's input stream. This sends an EOF to the child on it's    * stdin.    */   close(in[1]);    /* Read back any output */   n = read(out[0], buf, 250);   buf[n] = 0;   printf("-> %s",buf);   exit(0); }  void error(char *s) {   perror(s);   exit(1); }   but this code is working fine if my C program(which needs to be executed usng exec)  is reading input only once from stdin and returns output  once .but if my Cprogram(which needs to be executed usng exec) is taking input more than once(dont know exactly how many times it will read input from stdin) and display output put mork than once(while execution display output line by line on stdout) then this code is crashing. can any body suggest how to solve this problem? Actually my C program(which needs to be executed usng exec) is displaying some output line by line and depending upon output i have to provide input on stdin and number of this read/write is not constant.  Please help me resolve this issue.


I want to create a matrix of list, but when I create the lists inside the matrix it created a linked list, and I don't need that.  A=[[{}]*3]*3 result: [[{}, {}, {}], [{}, {}, {}], [{}, {}, {}]] A[0][2]['h1']=1 result: [[{'h1': 1}, {'h1': 1}, {'h1': 1}],  [{'h1': 1}, {'h1': 1}, {'h1': 1}],  [{'h1': 1}, {'h1': 1}, {'h1': 1}]]   Anyone knows how to avoid this? I need a list inside each field of the matrix.


Apple Watch contact names missing after watchOS 3 update

After updating my Apple Watch to watchOS 3 some of my contact names are missing in Messages and Phone etc. Some are showing name, others just show the phone number. The iPhone does show the contact names where the watch doesn't.


C Linux - How to execute program from another program

I am trying to execute program (let's call that program2) that I wrote from another program.  I compile program2 and have executable file call client.  I want to run program2 and for that I create process fork for trying to execute program2 by using the exec function.  The program needs two arguments run.  I use:  execvp("client",arguments)   Where arguments is a NULL-terminated char*-array, and arguments[0] is "client". The program fails in the exec operation with error No Such File Or Directory.  In other words, how do I run my code from another program using the exec function?  code:  int main(int argc,char* argv[]) {  struct Integrals* shm_ptr;  key_t key;       int i,status; int shm_id; pid_t pid;   int child_pid[PROCESS]; char  curPid[10]; int curpid; double calcSegment[SIZE]; int from,to; double segment;  curpid=getpid(); sprintf(curPid,"%d",curpid);  char* arguments[]={"client",argv[1],curPid,NULL};  signal(SIGUSR1, sig_handler);//"install" the 'sig_handler' func in case ^C signl.  printf("---------->%s",arguments[0]); key=ftok("\tmp",(char)argv[1][0]);  if( (shm_id=shmget(key,sizeof(Integrals),IPC_CREAT|0600))==-1) {     perror("Fail To Allocate Shared Memory");     exit(1); }   if((shm_ptr=(Integrals*)shmat(shm_id,NULL,0))<0) {     perror("Fail To Attach Memory");     exit(1);  }   pid=fork();  if(pid<0) {     perror("The Fork Failed");     exit(1);     }  else if(pid==0) {     if(execvp("workspace/hafala/EX2/client",arguments)==-1)     {         perror("Faile To Execute 'client.c' Program");         exit(1);      }  }


I have OS X 10.8, and there is an empty list of notes on my Mac. But I have some notes on my iPhone, which are not in iCloud. Instead, they are local notes in the "On My iPhone" folder. How to move them into iCloud?