How to reload .bashrc in the shell calling a script

How do I force the shell I called a script from to reload .bashrc from inside the script?  I'm trying to make a "new box" script that sets everything up the way I like it. Everything works, except for reloading .bashrc.   I know I can "just" do . ~/.bashrc or exec bash or any of the other ways to apply changes after running the script. But it kind of defeats the purpose of making a one-button fix, and coming this far just to get screwed on the last step is driving me nuts lol    I've tried adding all of the source ~./bashrc exec bash stuff to the script, but no joy since it is only reloading it for the script's environment, not the calling shell  I'm still fairly new so it's probably something super obvious which would explain why I couldn't googlefu the answer >.<  any help would be much appreciated.


OS X 10.9.4 Apple preview - can you rotate in inserted rectangle?

The updated version of Preview has so many features I can use it instead of the complicated photoshop. However I have found there is no way to rotate/angle an inserted rectangle or square. can it be done?


I would like to know how to enable the lightning app builder in my developer edition.  Thanks in advance. Best regards


Does $\sum{\frac{\sin{(nx)}}{n}}$ converge uniformly for all $x$ in $[0,2\pi]$

This question arises because of a problem I was doing (Bartle 3rd edition, section 9.4 problem 3). It was like this. Given $a_n$ a decreasing sequence of positive numbers and suppose that $$\sum_{n=0}^{\infty}{a_n \sin{(nx)}}$$ Converge uniformly (It doesn't specify the domain, so I guess is for every x). Prove that $n a_n \to 0$. Clearly $\frac{1}{n}$ fits the description of $a_n$, and $n \frac{1}{n} \to 1 \neq 0$, so this would prove that there is a mistake in the problem if $\sum{\frac{\sin{(nx)}}{n}}$ converge uniformly for all $x$. So my question is if $\sum{\frac{\sin{(nx)}}{n}}$ converge uniformly for every $x$.  (I know that the series converge uniformly for every x in $[\delta, 2\pi - \delta]$, for $0 < \delta <2\pi$ by using the Dirichlet criterion.)


How to make multi-page table with text wrap and auto-width?

So, as far as I understand, I can use the tabularx package to make auto-width tables with text wrap.  Also, there is supertabular which allows me to make tables span across pages.  How do I make a table that:   Occupies the whole page horizontally. Spans across multiple pages preserving its header. Automatically selects certain column widths. tabularx's X-style. Wraps text in the columns.   ?


Can my mother meet my BF in T5 first class lounge even though she flies to/from T2 & T3?

I have been trying to look for an answer, but couldn't figure it out. I hope someone can help.  My mother flies into Heathrow on Dec 22nd from Copenhagen (Scandinavian Airlines) to terminal 3.  She has a 6h layover. Then she flies from T2 to L.A with Virgin Atlantic.  The same day and during the same hours, my boyfriend will be landing from LA and traveling to Copenhagen- he wants to take her to the T5 BA first class lounge and have a coffee and meet up before Xmas.  Questions is: Is it possible for my mother to take a train from Terminal 2 to Terminal 5 and go through security and meet him?


How to use styles depending on two attributes in QGIS?

How can I mark symbols in a point vector depending on two attributes?  -> attribute "type" defines the object (triangle, point, etc) -> attribute "status" defines the color (upcoming, actual, finished, delayed -> green to red)


Is there something like a perfect asymmetric crypto-algo? Is there proof that there must be one or not. From a logical point of view it seems to be possible to design such algorithm if your keysize is high enough.  And please a mathematical solution and not some quantum-cryptography.  Thanks in advance


Prove that $\int fg=\lim_{n\to\infty}\int f_ng$

Let $(f_n)$ be a sequence in $L_p[0,1]$ ($1<p<\infty$) such that $f_n\to f\in L_p[0,1]$ pointwise almost everywhere. If there exists $M>0$ such that $\|f_n\|_p\le M$ for all $n$, and $g\in L^q[0,1]$, where $\dfrac{1}{p}+\dfrac{1}{q}=1$, then: $$\int fg=\lim_{n\to\infty}\int f_ng.$$  I tried this with the Hölder's inequality: $$\left|\int fg-\int f_ng\right|\le \|f_n-f\|_p\|g\|_q.$$ I'm not sure we can say directly that $\|f_n-f\|_p\to 0$. Perhaps with uniformly convergence/Egorov's theorem? By Egorov's theorem, if $\epsilon>0$ there exists $A\subseteq[0,1]$ such that $\lambda(A^c)<\epsilon$ and $f_n\to f$ uniformly on $A$. It is clear then $$\int _Afg=\lim_{n\to\infty}\int_A f_ng,$$ since uniformly convergence implies $L_p$-convergence. But I don't know how to do it on $A^c$. Also, why is $\|f_n\|_p\le M$ required? Thank you. Edited wrong title. Sorry.


Combinations and permutations (Evergreen)

How many strings with seven or more characters can be formed from the letters in EVERGREEN if the two R's are consecutive?  I know how to do this if the two R's don't have to be consecutive.


How to download and install the Roboto Mono font?

How can I download and install the Roboto Mono font on Ubuntu?  This is the font I am referring to:    It is a monospaced version of the Roboto fonts.  The above page does not have a download link, and the fonts-roboto package only contains the proportional Roboto fonts, so I cannot use ...


Determine whether a polynomial is irreducible

Consider the polynomial $P=X^5-X-1\in\Bbb{F}_3[X]$. I want to show that $P$ is irreducible. We can easily check it has no roots, so the only way it could not be irreducible is by being a product of two polynomials of degree $2$ and $3$ respectively. So I determine all the irreducible polynomials of degree $2$ in $\Bbb{F}_3[X]$. These are $$X^2+1;{~~} X^2+X-1 {~~}\text{and}{~~}X^2-X-1.$$ Finally I check using the Euclidean division algorithm that none of those polynomials divides $P$, which concludes the proof.  My question is this:  is there a more efficient way to do this? I had to first determine all the polynomials of a given degree ($2$) and then apply Euclidean algorithm to each of them. That is quite some work, and we're still considering polynomials of relatively small degree, and fields of small cardinal. I can't imagine applying the same reasoning to determine whether $Q=X^9-X^2-1\in\Bbb{F}_{17}[X]$ is irreducible.  So, is there a more efficient method to determine irreducibility, at least in the case of polynomials of small degree over small fields?


Is it possible to change subpage name to searched word?

Is it possible to rename a subpage to searched word? So for example if you search "abc" in the search box (made using the code below) <input name="name" type="search"> <button type="submit">search</button>  Then the site would send you to subpage called "abc" https://examplewebsite.com/abc  EDIT:  Thanks to Justinas for telling me the answer. To get this working you need to change these 2 lines to <input type="text" id="name"> <input type="submit" value="Search" onclick="Search(name)" />  and then create a new file <your file>.js, then just add a function function Search(name) {     var name = document.getElementById("name").value;     window.location.href = name }  Finally, you have to add a line to your website "head" so it reads the javascript file. <script type="text/javascript" src="search.js"></script>


Why Winter Bash details are not updated in Android App.   Even there are hats for using app.  Details such as :   How many hats How many i gained   Etc..


Wordpress getting problem with pagination

I am trying to display pagination from archive.php with my custom post type news but when I click to Next page I am getting 404 page  My Custom Post Type Code:  function codex_custom_init() {   $labels = array(     'name'               => 'News',     'singular_name'      => 'News',     'add_new'            => 'Add News',     'add_new_item'       => 'Add New News',     'edit_item'          => 'Edit News',     'new_item'           => 'New News',     'all_items'          => 'All News',     'view_item'          => 'View News',     'search_items'       => 'Search News',     'not_found'          => 'No news found',     'not_found_in_trash' => 'No news found in Trash',     'parent_item_colon'  => '',     'menu_name'          => '1. News'   );    $args = array(     'labels'             => $labels,     'public'             => true,     'publicly_queryable' => true,     'show_ui'            => true,     'show_in_menu'       => true,     'query_var'          => true,     'rewrite'            => array( 'slug' => 'news' ),     'capability_type'    => 'post',     'has_archive'        => true,     'hierarchical'       => false,     'menu_position'      => null,     'supports'           => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' )   );    register_post_type( 'news', $args ); } add_action( 'init', 'codex_custom_init' );   and My Pagination Code:  <?php      // the query to set the posts per page to 3     $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;     $args = array('posts_per_page' => 2, 'post_type' => 'news' , 'paged' => $paged );     query_posts($args);  ?>  <?php if ( have_posts() ) : while (have_posts()) : the_post(); ?>

<img src="<?php echo get_field('image'); ?>" />

<?php echo the_title(); ?>

<?php echo the_content(); ?>

 <?php endwhile; ?>      <?php next_posts_link(); ?>     <?php previous_posts_link(); ?> <?php else : ?>  <?php endif; ?>   I am new with WordPress so please some one help me :).


Why is work done equal to force×displacement?

I have understood that work done depends on force and displacement but I have not understood that why does the product of these two gives work done and not multiplied by some constants or raised to the power of something. It's very rare to find just the product of two quantities equals something. Is there any solid proof that when we should multiply the product or when to raise to any power?


In my school days, I had been taught that we cannot move a vehicle by applying any force from inside. That is we cannot push the vehicle from inside. But when I was sitting in a scrolling chair, I was able to move it without touching anything other than the chair. Can anyone explain the reason for this?


Is there a way to search for a question (or an answer) that mentions a tag?

I see some questions (but mostly answers) that mention tags. For example I could mention the  tag here.  Is there a way I could search for posts that have mentioned a particular tag?


Burning iso to usb in ubuntu on mac hardware

I am trying to "burn" (yes I know thats not the right term) an iso for xubuntu onto my usb pendrive. I am on mac hardware but I have ubuntu installed and I would like to be able to do it without having to boot into mac os x. I have tried unetbootin and sudo dd if=xubuntu.iso of=/dev/sdb1 but none of them worked. Any help is greatly appreciated. Thanks  Additional info: I am on an intel mac, not one of those old powerpc things. It is a mid 2012 (I think) macbook pro


JavaFX TextField throws NullPointerException

This is my first time working with JavaFX, I tried to create a KeyListener (KeyTyped) that reacts to the whole scene, since I don't like to always click into textfields/areas etc.  So I got the following code:  package view;  import controller.Function; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.fxml.Initializable; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.TextField; import javafx.scene.input.KeyEvent; import javafx.stage.Stage;  import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ResourceBundle;   public class MainGame implements Initializable {      public TextField txtText;     protected String word = "ABC";      void start(ActionEvent event) throws IOException {         URL url = new File("src/main/java/view/MainGame.fxml").toURI().toURL();         Parent MainGame_parent = FXMLLoader.load(url);         Scene MainGame_scene = new Scene(MainGame_parent);         Stage primaryStage_stage = (Stage) ((Node) event.getSource()).getScene().getWindow();         primaryStage_stage.setScene(MainGame_scene);         primaryStage_stage.show();          MainGame_scene.addEventFilter(KeyEvent.KEY_TYPED, (KeyEvent ev) -> {             //System.out.println(Function.decrypt(word, txtText.getText(), ev.getCharacter().charAt(0)));             //txtText.setText(Function.decrypt(word, txtText.getText(), ev.getCharacter().charAt(0)));             //Function.won(word, txtText.getText());         });     }      @Override     public void initialize(URL url, ResourceBundle rb) {         txtText.setText(Function.encrypt(word));     }  }   Now, this code itself works, it just doesn't do anything if a key is pressed. The three comments would be responsible for that, but whenever I uncomment one or more, they cause a NullPointerException. I have already tried to print the different values. Every value worked except for txtText, which caused a NullPointerException.  I have tried moving it to different places, putting it into an own function, putting it into initialize, not declaring it in the class body but in the function and I also tried putting the rest of the start method in the constructor. Sadly none of those things worked.   I have no idea what to do and how to fix this. Thanks for any help!


Let $R$ be a nontrivial ring and $P$ be a proper ideal of $R$ such that for any $a, b\in R$ we have $ab \in P$ implies either $a\in P$ or  $b\in  P$ then $P$ is a prime ideal of $R$.    The proof is very easy. But the converse of the above statement is not true in general (it is true if $R$ is commutative).  I have not found  any counterexample for the converse part. I thought on the ring of real matrices but ultimately failed.  Can anyone give me an example of a prime ideal of a ring which doesn't satisfy the condition?


Should questions with bounties have same `user shared attempt` requirements (regarding downvoting and closure)?

I saw  but didn't think it addressed this question. I'm relatively new to being an answer producer at Stack Overflow. I've learned that answering possible duplicates (instead of voting for closure) or answering questions where the user has not given enough info - or showed no attempt in solving can often earn downvotes and sometimes a 'tsk tsk' from some S.O. user or another. Despite the dopamine hit that comes with earning a little green reputation boost, I get that the goal is to keep the content as high quality and non-duplicitous as possible - AND I get that the goal is to help others learn, not just feed them a copy/paste answer. THAT SAID, in the last half dozen bounty questions I've answered, I'm surprised at how little information was given, how little research was done and how absent the user attempt generally is. Normally I'd vote to close those... but there is that nice fat bounty. The bounty seems to imply, to me anyways, that the user is 'paying' for special treatment. I don't vote to close those ill-formed, ill-researched and blatant 'write me code for me' questions because I figure someone hungry will go the extra mile to get the extra reputation. Do you expect the same considered, researched and partially attempted question from bounties as you do from any other question? Do you vote to close them? Hope this isn't asking opinions, as much as a general consensus.


Can ArcGIS Desktop create LAS (or lasd) files from ASCII data?

I have many ASCII files containing LiDAR xyz values. In order to create an ArcGIS LASD file, I need to convert these ASCII files into las files. I can do this with FME or LAStools, but I can't see a way in ArcGIS.   Does anyone know if this is possible in ArcGIS Desktop 10.3.x?


Is there a way to quickly write and run Java code from the command line on Mac?

I know that you are able to do this in the command line with python. By simply entering "python3" in the terminal you can write and run python code on the spot. Is there a way to do this with java in the command line as well without having to first create a file and then changing directory to it, and then using vim/nano to edit the file, and then typing javac and java to run the file?


change first loader to windows instead of ubuntu

Currently I have Windows and Ubuntu installed and dual boot is working fine.  However the dual boot is loading via GRUB, but I want it to load from Windows' bootloader as I want to enable bitlocker.  How can I hide grub and show Windows' bootloader when I press the power button?


$a \equiv b \pmod n$ and $c\equiv d \pmod n$ implies $ac \equiv bd \pmod n$

Given that $a \equiv b \pmod n$ and $c\equiv d \pmod n$, I need to prove that $ac \equiv bd \pmod n$  So far, I've only managed to deduce that $a+b \equiv c+d \pmod n$. I don't know if this is usable, but it's there, at least.  Any hint would be greatly appreciated!


I want to do a simple function composition table with arrows drawn from different sets to sets. Like textbooks show functions by using "blobs" and arrows emerging from the blobs. Can someone help me build a function composition table for my homework? Thanks


Brand name showing before the title in search results

If we search for our brand name or any keywords that relate to our website, the first words to appear in the title shown in the Google result preview follow this format:    Brand Name: Title  Here's a screenshot:    I am using Yoast WordPress SEO, and each of the pages are not optimized the same as the above result.  Here's the WordPress code:  <title><?php wp_title('&laquo;', true, 'right'); ?> <?php  bloginfo('name'); ?></title>   If we comment out the PHP code inside the title, the page itself has no title then.  I wanted to have the title first, followed by the brand name in the search results.


Let $A \subset B \subset C$ be subrings. If $C$ is finitely generated as an $A$-module, is $B$ finitely generated as an $A$-module?

Let $A \subset B \subset C$ be commutative rings.  Suppose $C$ is a finitely generated $A$-module.  Can we conclude that $B$ is a finitely generated $A$-module?  Thoughts:   Since $C$ is a finite $A$-algebra, it is an integral $A$-algebra, hence $B$ is an integral $A$-algebra.  Thus, it remains to show that $B$ is finitely generated as an $A$-algebra. If $A$ is Noetherian, then the main claim is true by Prop 7.8 in Atiyah-MacDonald.  But what if $A$ is not Noetherian?   Note: This is not a homework question.  I'm simply trying to gain a better understanding of how finite generation works.


Proof that energy states of a harmonic oscillator given by ladder operator include all states

In quantum mechanics, while studying the harmonic oscillator, I learnt about ladder operators. And I realised that if you are able to find or determine any energy state of the quantum harmonic oscillator then, using the ladder operators, you can determine the other energy states as well. However in none of the texts I read I found the following fact:     The energy states determined by the above procedure, that is, using   the ladder operator are the only possible energy states of the   harmonic oscillator. There exists no energy state that is not given by the ladder operator.   So this is my question:     Are the energy states determined by the ladder operator in case of a   harmonic oscillator, the only possible energy states? Is any other energy state possible? And what is the   proof?   It is well known that the above-mentioned states are the only possible energy states but I want a rigorous proof that no other state is possible. However the analytical procedure mentioned in different books show an approximate solution of the Schrodinger equation which can be considered to be rigorous in the sense that it solves the equation to derive the solutions although it considers certain approximations.  I have searched for this answer in books related to quantum mechanics written by DJ Griffiths, Gasiorowicz, Dirac and online resources like OCW, University of Columbia's courses, caltech.edu, but I couldn't find a proper answer.


When are object interfaces useful in PHP?

From :     Object interfaces allow you to create code which specifies which methods    a class must implement, without having to define how these methods are handled.   Why should I need to do that? Could it be a kind of 'documentation'?  When I'm thinking about a class I have to implement, I know exactly which methods I should code.  What are some situations where interfacing a class is a "best practice"?


Ubuntu deleted files from guest account desktop

I have Ubuntu 12.10 and was using guest account. I downloaded some files on desktop and shutdown my m/c after use. Now today when I logged in to guest account to copy those files but surprisingly those files were gone and desktop was clear. I guess ubuntu deletes all files from guest account on shutdown.   Can you please guide me to recover those lost files.  Thanks


How is it possible that momentum is conserved but kinetic energy is changed?

A simple maybe 8th or 7th grader question, but I can't really get over it. Elastic collision: momentum is conseved and so is the kinetic energy whereas in an inelastic collision, momentum is conserved but not the energy. Although I don't get it why is momentum of a closed and isolated system is supposed to be constant/conserved just accounting to the fact that system is closed (no mass enters or leave it) and isolated (no net external force) but, ok, let me accept this for a minute and think about how is it possible that momentum is conserved but the kinetic energy of system changes as happening in an inelastic collision.  I mean since both quanties depend on velocities of object initially and finally, both of them should act alike. If one changes, other does too. If one doesn't, other doesn't as well.


Get name of currently executing test in JUnit 4

In JUnit 3, I could get the name of the currently running test like this:  public class MyTest extends TestCase {     public void testSomething()     {         System.out.println("Current test is " + getName());         ...     } }   which would print "Current test is testSomething".   Is there any out-of-the-box or simple way to do this in JUnit 4?  Background: Obviously, I don't want to just print the name of the test. I want to load test-specific data that is stored in a resource with the same name as the test. You know,  and all that.


SVG export from Illustrator CC distorts paths

I'm trying to create some icons to add to the Glyphicons library.  I've created them using the pen tool (shapes) in Adobe Illustrator CC, they're ultra-basic. As PNG, or EPS they export fine. Unfortunately I need the SVG export to use with Glyphicons.  When I export to SVG, the shapes seem to move around. At very least they don't remain as they appear on my screen.  How can I get them to appear as they do in illustrator?  This is a PNG from inside illustrator.   This is a PNG from preview, this is the SVG.   Clearly the shapes are becoming misaligned after the export, are there any obvious reasons for this? All my export settings are set as default.


What's wrong with my method that gives $0.\bar9 = 1$?

This is what I learned :  $x = 0.\bar3$ (I)  $10x=3.\bar3$ (II)  (II)-(I) :   $9x = 3  => x = 1/3.$ And It's OK.  But now, I think this similar calculation gives me wrong answer:  $x = 0.\bar9$  (I)  $10x=9.\bar9$ (II)  (II)-(I) :   $9x = 9  => x = 1$  Why does: $0.\bar9 = 1 $  ?


How can print 0, \pi/4, 3\pi/8, \pi/2 in the x-axis when plotting \sin(x) with gnuplot in the range [0, \pi/2].     Thank you,


Finding the equivalent binary-number to a given number

Hello people,   Again, trying to create a program in C to help figuring what the equivalent binary-number to a given number is. I had no idea what to do first, I developed a little simple code for it. But the problem is that I had to put some improvisations into it AS code is (READ BACKWARDS). So regarding this, the code isn't really complete. Here's the code I came up with ..  #include <stdio.h> void main() { int x,n; printf("This program will help you find the equivalent binary-number to a given number \n"); printf("Enter number :"); scanf("%d",&n); printf("The binary number to this number is(Read backwards) :"); for (;;n/=2)     {         x=n/2;         if (x!=0) printf("%d",n%2);         else {printf("%d\n",n%2); break;}     } }   Now the equivalent binary-number to 8 is 1000 and the program shows it backwards like 0001 and I have absolutely no idea how to to make it right. Any thoughts?


When I try to purge VLC using sudo apt-get purge --auto-remove vlc, I get this:  But when I open apps list, that package is just right there.  So far, I have tried following things:  I used terminal but it says not installed. I tried Ubuntu software it says it's not installed. I used synaptic package manager to remove it but it also says that it's not installed.  After all of that, I can still use VLC properly. What am I missing here? How can I remove VLC?


How to change the recent files smart folder icon in the dock?

I create a recent files smart folder, place it in the dock. I right click and choose display as folder. I get the following icon:    Is there a way to change this icon?


Testing if a variable is empty in a shell script

I have seen the following technique used many times on many different shells, to test if a variable is empty:  if [ "x$1" = "x" ]; then      # Variable is empty fi   Are there any advantages on using this over the more canonical if [ -z "$1" ]? Could it be a portability issue?


Is Ricci's theorem can be simply deduced using covariant derivatives of fundamental tensors?

Well Ricci's theorem is given by:  $$\mathrm{D}g_{ij}=\mathrm{D}g^{ij}=0$$ I was wondering that if the theorem can be proved using covariant derivatives of $\delta_i^k$, $g_{ij}$ and $g^{ik}$.  I really need this proof.


I have a function1 that takes whatever parameters you give it and display it:  void function1(string a){     std::cout << a; }  void function1(int a){     std::cout << a; }  void function1(double a){     std::cout << a; }  void function1(char a){ cout << a; } void function1(float a){     std::cout << a; }   is there a way to call for a kind of universal variable so i dont need to write so much code?  Something like this:  void function1(UNIVERSAL a){     std::cout << a; }


Proof: Determinant of cofactors is square of determinant

Prove that for a 3x3 matrix:  $$\varDelta^c=\varDelta^2$$ $$   \begin{bmatrix}     A_1 & B_1 & C_1 \\     A_2 & B_2 & C_2 \\     A_3 & B_3 & C_3    \end{bmatrix} =   \begin{bmatrix}     b_2c_3-c_2b_3 & c_2a_3-a_2c_3 & a_2b_3-b_2a_3 \\     a_2c_3-c_2a_3 & a_1c_3-a_3c_1 & a_1c_2-a_2c_1 \\     a_2b_3-a_3b_2 & a_1b_3-a_3b_1 & a_1b_2-a_2b_1   \end{bmatrix} = \begin{bmatrix}     a_1 & b_1 & c_1 \\     a_2 & b_2 & c_2 \\     a_3 & b_3 & c_3   \end{bmatrix}^2 $$    Trying to expand the left hand results in an unhandlable expression. I couldn't find this proof with a simple search either.


parameters of createUser method in samlJitHandler

the syntax of createUser method in samlJitHandler class is    createUser(Id samlSsoProviderId, Id communityId, Id portalId,String federationIdentifier,              Map<String, String> attributes, String assertion)   I understand that this method gets invoked automatically but I could not figure how the parameters String attributes, String assertion,String federationIdentifier,String communityId... are getting  passed to this method.  Please help me in understanding this flow.


Problem with speed of light in different material

I read somewhere in a relativity article that light speed is constant and it is impossible for a photon to not travel at speed of light. Now i study in year 10 and today i studied that light speed can change in different material like glass and water. so how does that work?


I have been trying to solve this question with the simple methods I knew but couldn't come to the solution. I would appreciate a bit of hint to solve this integral problem?  $\;\displaystyle\int\frac {e^x}x\,dx$     Edit : Can't it be solved even if certain upper and lower limits are involved?


Looking for a scifi novel with advanced pheromone technology

I remember a lot of things about the book, but none of them have brought up a name and nobody I've asked remembers it   Pheromone technology plays a big role in the world- airborne pheromones serve as security systems that trigger allergic reactions in anyone not inoculated, were used to enforce cliques, and one of the major characters is basically an indentured servant to her mother because she was made addicted to a pheromone only her mother could supply. There was a bit about how you could use something sort of like those coin-operated binoculars to control drones in the atmosphere of Jupiter, but how they tended to be full of malware and would leave you craving various fast food brands. A biotech shuttle is mentioned as looking like "a bumblebee". There's a plot thread about a moon colony using cutting-edge biotech to grow habitation "pods"- towards the end one of the characters that joined the project and became merged with the facility as some sort of bioCPU takes over and launches the whole thing as a spaceship, I think using a hydrogen thruster fuelled by ice? There's a scene where a parking lot was "paved over with transparent plastic" years ago and you could still see cigarette butts and lotto cards frozen inside. Corporate agents(?) wore pastel-coloured ties because they were supposed to be "soothing".


I have seen this lemma elsewhere.   Suppose $A$ is a domain, and $f \in A[X]$. Prove that  $$a - b \mid f(a) - f(b)$$    I need to prove this.   $$f(a) - f(b) \equiv 0 \pmod{a-b}$$ basically.  Let, $a - b = c$  $$f(a) - f(b)/(a-b) = f'(\xi)$$ for Some $\xi \in (a, b)$.  But I dont see it showing divisibility


Differences between doublequotes " ", singlequotes ' ' and backticks ` ` on commandline?

I often see tutorials on the web or posts on this site which make heavy use of the following characters at the command line. Often it seems that they are used for pretty similar purposes. What are the differences between them when used on the command line or for shell programming? For what purpose do I use which of them?  " " double quotes  ' ' single quotes  ` ` backticks


I have tried the "official" method  and also browsed old questions on this stack but no luck.   Has anyone installed world of Warcraft recently on Ubuntu...   Many Thanks.


Is asking about the web development process in a company and tools/software required on topic?

I want to know about the whole professional web development process (PHP - MySQL) from getting the client, to delivery of the project, the full cycle of web development and which software (free software) can be used?  May the question be asked here? If not where can I ask the question with its elaborate version?


Laws/ethics on using images hosted by another website as teasers?

I was wondering about the appropriate way to use an image hosted by another website as a teaser image in my own website. For example, if I am aggregating articles from sources including the NYTimes, can I present a teaser or thumbnail from the NYTimes website as part of the link/teaser summary on my own site?  What steps would I need to go through such as getting permission or attributing the primary source?


If $\vec A$ and $\vec B$ are two vectors such that $\vec A=<A_x,A_y,A_z>$ and $\vec B=<B_x,B_y,B_z>$ then $$\nabla({\vec A}.{\vec B})=A \times (\nabla \times B)+B \times (\nabla \times A)+(A.\nabla)B+(B.\nabla)A$$ In this relation what does this $(A.\nabla)B$ imply? How does this work on vector? Isn't gradient meant to be operated on scalar function?


Java floating point high precision library

Which libraries for Java are there that have a fast implementation for floating point or fixed point operations with a precision of several thousands of digits? How performant are they?  A requirement for me is that it implements a multiplication algorithm that is better than the naive multiplication algorithm that takes 4 times as much time for a 2 times larger number of digits (compare ).


Software Center Is Missing And I Can't Reinstall It

As the title says my software center is missing and I can not reinstall it. When I try to reinstall it I get the following message.  nickanthony@nickanthony-Aspire-E5-511:~$ sudo apt-get install software-center [sudo] password for nickanthony:  Reading package lists... Done Building dependency tree        Reading state information... Done Package software-center is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'software-center' has no installation candidate   As you can see I have an Acer Aspire E5-511. I currently have Ubuntu 14.10 installed and running as the only operating system.   Please help if you can. Thank you kindly.


Locked out of my locally hosted Drupal site

I am running a local distribution of Drupal "commons" using Acquia Dev Desktop on a mac and somehow got locked out of my site. I saved my login info and am almost sure it's correct, but I'm still locked out.  Anyone know how I can remedy this situation?  Just for context, I am new to Drupal, so would need a detailed guideline for the fix.


Using \hyperlink to link text to page with an implicit page anchor not known in advance

hyperref provides the command \hyperlink, with syntax:  \hyperlink{name}{text}   where name is the name of a hypertext object, and text is used as the link to jump to the defined mark. Page anchors, e.g., page.12, can also be used as hypertext objects. For example,  Click \hyperlink{page.23}{here} to jump to page 23.   This was proposed by Martin Scharrer as a solution to  .  I would  like to link a string of text to a page (by page number) using \hyperlink, but being able to refer to an implicit page anchor page.<number> whose ''number'' is not known in advance. That is, use a value of the counter page, which is only set later in the document, in the argument of \hyperlink.  Here's a hypothetical solution:  \documentclass{article}  \usepackage[pageanchor]{hyperref} % option is the default anyway  %% Martin Scharrer's patch for hyperref %% available at https://tex.stackexchange.com/a/19416/9237 \makeatletter \let\orig@Hy@EveryPageAnchor\Hy@EveryPageAnchor \def\Hy@EveryPageAnchor{%     \begingroup     \hypersetup{pdfview=Fit}%     \orig@Hy@EveryPageAnchor     \endgroup } \makeatother   \def\getpageref{???}   % \getpageref extracts the numeric value of \pageref{key}                        % for use in the first argument of \hyperlink  \begin{document}  See \hyperlink{page.\getpageref{lkd}}{this page} for further clarification.  \newpage  This is the linked page.\label{lkd}  \end{document}   I know how to achieve a similar solution by simply using \label and then \pageref (or \autopageref), but I am interested in making use of a hyperref patch proposed  by Martin to make all page anchors be displayed in full page mode. (This patch only seems to work with \hyperlink.)


Error: “Picklist value in picklist not found” Opportunity Stage - Sales Process

I have different Record Types on my opportunity and different Sales Prosses associated with them to be able select different values in picklist field Stage depending on Record Types. I add custom values in picklist field Stage and select them in one Sales Process. But when I am trying to deploy next error occur   Error: Picklist value: not found.  <businessProcesses>     <fullName>Custom Sales Process</fullName>     <description>Sales Process for ...</description>     <isActive>true</isActive>     <values>         <fullName>01 New</fullName>         <default>false</default>     </values>     <values>         <fullName>02 Prospecting</fullName>         <default>false</default>     </values>     <values>         <fullName>03 Qualifying</fullName>         <default>false</default>     </values>     <values>         <fullName>custom value 1</fullName>         <default>false</default>     </values> </businessProcesses>   API version in package.xml is 39  Please, help me.


Which one is grammatically correct?   I worked at X company ...   from Aug 2005 to Sep 2007. from A up to B. from A until B. from A till B. between A and B.


Program not proceeding past if statement (Java)

So, this may look like a mess but I just started Java a few hours ago and I was building a program I've had in my head for a while. Currently, it hangs up at the last section where it asks if there were any others in the video. Any idea why this is happening? Starts at bottom with variable yn.  import java.util.Scanner;  public class Tagger {   //inputs should include the type of video, who's in it, and what the game is called.   //Later versions can alter this, including alternate game titles.   public static void main(String[] args){     Scanner input = new Scanner(System.in);      String mod = null;     String who2 = null;          String group = "SmeggCo";      System.out.println("Welcome to the Actagger! Let's get started.");     System.out.println("To start, is this a mod spotlight or a Let's Play?");     String type = input.nextLine();     System.out.println("Awesome! A " + type + ", eh? Sounds fun!");     try {         Thread.sleep(3000);     }     catch (InterruptedException ex){     }      System.out.println("What game is it?");     String game = input.nextLine();      try {         Thread.sleep(3000);     }     catch (InterruptedException ex){     }     System.out.println( game + "? I'll have to check that out!");     if (type == "mod spotlight"){         System.out.println("What was the mod's name?");         mod = input.next();         System.out.println("Huh, I've never heard of" + mod + ".");     }      System.out.println("Alright, last question. Who was in this video?");     String who = input.next();     System.out.println(who + " is pretty awesome!");     try {         Thread.sleep(3000);     }     catch (InterruptedException ex){     }      System.out.println("Was anyone else in the vid?");     String yn = input.next();     if (yn == "Yes"){         System.out.println("Who?");         who2 = input.next();                     System.out.println("So " + who + " and" + who2 + "? Those two are weirdos!");         String[] tags = new String[5]; //Setup final array of tags. Will add to this later in 2.0         tags[0] = type;         tags[1]=game;         tags[2]=who;         tags[3]=who2;         tags[4]=mod;         tags[5]=group;         System.out.println("Here's your tags!");         System.out.println(tags);         System.out.println("Does that look right? Good!");     }     if (yn == "No"){         String[] tags = new String[5]; //Setup final array of tags. Will add to this later in 2.0         tags[0] = type;         tags[1]=game;         tags[2]=who;         tags[3]=who2;         tags[4]=mod;         tags[5]=group;         System.out.println("Here's your tags!");         System.out.println(tags);         System.out.println("Does that look right? Good!");     } }   }


Is there a concept of velocity at quantum level?

I am confused as according to Heisenberg's uncertainty principle, we cant define the position and momentum of a particle with absolute accuracy simulaneously. Then how can we define velocity at quantum level. Its confusing because some books even mention the velocity of electrons in different energy levels.


Does the set of natural numbers contain infinity?

Let $N=\{1,2....\}$ be the set of naturals numbers. Is $\infty \in N$, as the list is never ending  ?


If beautiful is full of beauty then why is awful a negative and not a positive? If it fills one with awe, should that not be a positive? (Awesome and awful seem to be the same)


Prove that a group where $(ab)^i = a^ib^i$ for $3$ consecutive integers, is abelian

I have to prove that if $(ab)^i = a^ib^i$ is valid for $3$ consecutive integers, then the group is abelian.  I've found this answer in the internet, but I can't understand the part that says we can cancel $a$ from the left and $b$ from the rigth. For example: $(\color{red}{a^{-1}}a)b(ab)^i = (\color{red}{a^{-1}}a)b a^{i+1}b^{i+1} \implies b(ab)^i = a^{i}b^{i+1}$ But how can I cancel $b$? Also, could someone explain this proof for me?


I've only been using blender for three months, so i dont know many things abt it n im trying to learn. But i got a job from lighting shop. I'm modelling lightings for my customer but they use 3ds max and they want everything in a .fbx. How can i export everytihng(model,textures,materials etc.) in a .fbx or another format? Is it possible? Thanks for helps :) Btw my english is not well sorry for my language :)


Showing a function is differentiable using the defition

I'm working on the following exercise in order to practice differential calculus:     Suppose $f:\mathbb R \rightarrow \mathbb R$ is of class $C^1$. Let $F:\mathbb R^2 \rightarrow \mathbb R$ be given by:      $$F(x, y)=\left\{\begin{matrix} \frac{f(y)-f(x)}{y-x} \text{, if }x\neq y\\  f'(x)\text{, if }x=y \end{matrix}\right.$$   Show that $F$ is differentiable on $(x, y)$ whenever $x \neq y$. If there exists $f''$, show that $F$ is differentiable on $(x, x)$ for all $x$.  I have proven that $F$ is differentiable whenever $x \neq y$. Also, I already have calculated the partial derivatives of $F$ on $(x, x)$. They are:  $$\frac{\partial F}{\partial x}=\frac{\partial F}{\partial y}=\frac{f''(x)}{2}$$  So it remains to show that:  $$\lim_{(h, k)\rightarrow 0}\frac{F(x+h, x+k)-F(x, x)-\frac{f''(x)}{2}(h+k)}{\|(h, k)\|}=0$$  And this is where I am stuck. How do I compute this limit?  Edit: If i can prove that the limit above holds restricted to $h \neq k$, then I know how to prove that the limit above holds. Therefore it remains to show that:  $$\lim_{(h, k)\rightarrow 0, h \neq k}\frac{\frac{f(x+k)-f(x+h)}{k-h} -f'(x)-\frac{f''(x)}{2}(h+k)}{\|(h, k)\|}=0$$


Are there any questions I should be asking?   Is there any articles available on the subject?   My instinct is that in the two questions above, it should be 'are' as the subjects of the sentences (questions/articles) are plural.  However I also recall being told that the singular 'is' is valid here too, and of course see it very often in usage online, and this has left me a bit unsure.  Update: I have stumbled upon the reason for the confusion.     Is there any water?   Are there any questions?   The sentence structure is the same but of course water is not plural, although it is not singular either.


There are absolutely loads of payment gateways out there, and I'd like a comprehensive list of them. There's already a question asking for the "best" ones,  and another asking for ones suitable for a charity .  Would such a question be on topic? And would it need to be CW? The obvious way to do it is to have one CW answer and edit all other answers into it. I don't know whether the question itself should be CW, or just the main answer.


Patched up my tire and still lost air again

I recently popped my tube and I took it out and put a patch on it and made sure that there were no other holes and I didn't find any so I filled it up and rode on it for about an hour, then the next day it was flat. Can you guys please help me!?  And I also patched up the hole in the tire so if anyone can help me that would great.


I have to read log file between and my question is how to get only the text in the file wich is between two dates using unix commands? Every line contain date and I want to get the text in the file which dates are equal or bigger that the FROM date and lower or equal than the TO date. The format of the date is 13/05/23 01:58. The second date is for an example 13/05/13 07:50. Example  13:41:55,110  INFO HellowordlsThis text is generated by me


Do I need to hold an actual copper piece in order to cast the Detect Thoughts spell?

The "" spell has as its material component "a copper piece". (Yet another in the long list of punny material components.) The  say,     Casting some spells requires particular objects, specified in parentheses in the component entry. A character can use a component pouch or a spellcasting focus (found in “Equipment”) in place of the components specified for a spell. But if a cost is indicated for a component, a character must have that specific component before he or she can cast the spell.   Does requiring "a copper piece" mean that a "cost is indicated" and so it requires one to actually be holding a coin, rather than just using a spellcasting focus or component pouch?  Usually a cost being indicated is worded like "", so since this isn't phrased as "a copper piece worth 1 cp" or even "a one-cp coin", I'm not sure that it means that a "cost is indicated". It seems to more just be describing a random object associated with the spell like other "normal" spell material components. But then again, I can see a good argument that a coin used for currency would be the most straightforward way of indicating a cost that there is.  Obviously in general adventurers won't usually have a lot of trouble finding a copper piece during their travels, but I could imagine some circumstances where it would be inconvenient for a spellcaster to need to dig a coin out of their pouch while their spellcasting focus is already in hand.


Wait for stdout stream to finish and then add its contents to a file

I am trying to run a command in bash where I have a command 1 which accepts a large amount content through stdin and then outputs that content to a file.txt, however, command 1 generates a stream of content and apparently file.txt gets created as soon as command 1 starts and then gets updated once command 1 finishes with the correct output. echo 'a lot of content' | command 1 > file.txt  The problem is that I only want to create or touch file.txt once command 1 is completely finished. Is there any way to achieve that? Edit: Use-case: I am using a web development server that gets refreshed every time a file changes, so I am doing some pre-processing before really updating the file. The problem with the above command is that if the file is updated or create with empty content the server refreshes instantly, having an empty page, so I really wanted to wait for the post processing to finish (let's say it takes about 4 seconds) and only then touch file.txt so it is correctly rendered on the page. So there's only one command I need to run here, which is command 1 and then, after file.txt is updated, my web development server will refresh automatically.


When is a creature's toughness calculated

At what point is a creature's toughness calculated? If I have  where I can sacrifice a creature and put X 1/1 token creatures onto the battlefield, where X is the sacrificed creature's toughness.  If I have a creature that is 4/4 and cast  to give it +3/+3 then sacrifice it? Do I get 4 tokens or 7?  Also what if my 4/4 creature was dealt 2 combat damage before I sacrificed it? Do I get 2 or 4 creatures?  Finally, what about counters? If my 4/4 had a +1/+1 do I get 4 or 5 tokens?


Why doesn't backpropagation work when you initialize the weights the same value?

Why doesn't backpropagation work when you initialize all the weight the same value (say 0.5), but works fine when given random numbers?   Shouldn't the algorithm calculate the error and work from there, despite the fact that the weights are initially the same?


What happened to the Itachi Uchiha movie?

As far as I know, a movie based on  was about to come in March. Can anyone please tell whether it's coming this year or is it delayed?  Here is a Reddit  of the poster, and here is a YouTube video of the trailer:


importing a class from another package - Python

My directory structure is like this:  app/ -sub1/   -sub1_1/   -sub1_2/   -sub1_3/ -sub2  -class1.py -app.py   I am running a flask app which is trying to execute app.py from the app folder. I want to import the classes from files inside sub1 in class files inside sub2.   I want to do this without setting sys.path  Update: I have _ init _.py in all folder levels


I don't understand why I'm getting a permission error

Apache/2.4.18 (Ubuntu) Ubuntu 16.04   I tested the initial configuration, pointed my browser to the server, and got the normal ubunutu page. Works fine.  The 000-default.conf is:  <VirtualHost *:80>     ServerAdmin webmaster@localhost     DocumentRoot /var/www/html </VirtualHost>   The index.html is in the /var/www/html directory and the /var/www/html directory has permissions set to 0755  I created a directory /home/utils/rails/public, owned the user utils. I set the permissions for this directory to 0755  I copied the file index.html from /var/www/html to /home/utils/rails/public  I then modified the /etc/apache2/sites-available/000-default.conf to the following:  <VirtualHost *:80>     ServerAdmin webmaster@localhost     DocumentRoot /home/utils/rails/public </VirtualHost>   I restarted apache2 and pointed the browser to the location, but this time I got the  Forbidden You don't have permission to access / on this server   If I reverse the procedure, and change the DocumentRoot back to /var/www/html, everything works fine.  What am I doing wrong?  namei -lx /home/utils/rails/public f: /home/utils/rails/public Drwxr-xr-x root  root  / drwxr-xr-x root  root  home drwxr-xr-x utils utils utils drwxrwxr-x utils utils rails drwxr-xr-x utils utils public


Can an event handler test if its object is eligible for garbage collection

Unless I've fundamentally misunderstood the way events and garbage collection work in C#, if an object has subscribed to an event, the event can still be raised on that object, and the event handler executed, even if the object is out of scope and eligible for garbage collection. So my question is this - is there any way for an object's event handler to check whether the object itself is eligible for garbage collection, with a view to ignoring and/or unsubscribing from the event?


Can't move/snap Nautilus window to occupy left or right half of the 1366x768 screen - is it just me?

I'm running Ubuntu 18.04 LTS with GNOME Shell. Nautilus does not want to occupy 50% (left or right) of the screen sized at 1366x768.    Other applications (such as GNOME Terminal, Eye of GNOME, Gedit) are normally snapping to the left/right half of the screen.  But Nautilus can be resized to the width lower than half of screen (I can get 650 px, which is smaller than 1366/2 = 683 px).  The first usable screen resolution seems to be 1400x1050, then goes 1440x900. But large amount of current devices .  Is it just me?     Updates: 1. standard shortcut Super+← or Super+→ do not work too. 2. I reported  which has linked upstream . 3. It does not work on GNOME FlashBack session too.


I followed the steps but still can't drag and drop files to Virtualbox guest OS.  I went to Settings, General, Advanced, clicked Bidirectional on both Shared Clipboard and Drag N Drop and i still can't drag or copy anything to the guest OS(Win7). Am i missing something?


Why doesn't my opacity mask fully hide my object?

I've got a problem with masking. I've made an object and masked it over. The masking effect is visible, but it should go behind the object.  The transparent part should be at 0% visibility, but somehow it's still visible and I'm not sure why. How do I fully hide this part of the object?


Allowing functions to go through in a world with no cheats

So, I'm currently having a problem with a datapack I'm making, in a part of it, there's a tellraw that will summon an item at the player's position, and take points from a scoreboard, basically a shop. However, this can't be done if cheats are not enabled on the world, it says the command is either incomplete or non existent. Is there anyway to allow access to this function in a world where there is no cheats? This is what's inside the function: execute at @s[scores={money=150..}] run summon item ~ ~ ~ {Item:{id:"diamond",Damage:0,Count:1}} scoreboard players remove @s[scores={money=150..}] money 150 execute at @s run playsound minecraft:block.chain.break master @a ~ ~ ~ 2 2


If $\alpha$ is an indecomposable ordinal, why $\Gamma(\alpha\times{\alpha})=\alpha$?

This is from exercise 3.4 of Thomas Jech's "Set Theory", stated:  "Show that $\Gamma(\alpha\times{\alpha})\leq{\omega^{\alpha}}$. Thus $\Gamma(\alpha\times{\alpha})=\alpha$ for all indecomposable ordinals $\alpha$".  $\Gamma$ is the Gödel pairing function on ordinals. An ordinal $\alpha$ is indecomposable if there are no $\beta<\alpha$ and $\gamma<\alpha$ such that $\beta+\gamma=\alpha$. The first part is trivial, since it holds for $\alpha=0$, and the function $\omega^{\alpha}$ is normal in the variable $\alpha$. I'm having trouble to show the second part, the only connection I see is the fact that $\gamma$ is indecomposable if and only if $\gamma=\omega^{\alpha}$ for some $\alpha$, which is easily proven from Cantor's normal form theorem. Any help will be appreciated.


Why electron clouds in atoms don't radiate?

I was reading that Bohr assumed electrons in orbit simply did not radiate, and my professor told me that the actual case is that electrons are clouds of probability. Even so, aren't they still moving around? I mean, if they are particles, then they should be moving around-even if you can't pinpoint them. Then, shouldn't they radiate?


I've just bought a new Lenovo laptop with Win 10 preinstalled. I want to completely uninstall it and install Ubuntu or another Linux. I don't know yet what kind of protection it has from installing or removing windows, but I figure it's the latest one whatever it is. My question is, can I completely replace Win 10 with Ubuntu or another Linux and are there any difficulties?  update:  I've chosen another Linix distributes and created a bootable usb drive by using my another Linux machine:  dd bs=4M if=/my_linux.iso of=/dev/sdb status=progress && sync   And when I booted and chose "Boot from USB drive" with the name of my usb drive, nothing happened, it just hung for a few seconds and then returned back to the menu where I can choose the boot order.


Programming Myth? Pre vs. post increment and decrement speed

So, I was marking a C++ test while our senior programmer was away and the very first question was something like this:  Without compiler optimizations, which method will run faster? Method 1 for(int i = 0; i < 100000; i++) { } Method 2 for(int i = 100000; i >= 0; --i) { }  Now, If you're like me and almost every other developer I've encountered (save now for one), you've been led to believe that pre-increment & pre-decrement operators (++i and --i) are inherently slower than post-increment & post-decrement operators.  So naturally I went with Method 2. However, our senior programmer returns and tells me that the two functions will run in equal time. Thinking it was all some elaborate joke, I set out to prove him wrong and whipped this up: #define ITERATIONS  (1000000000) clock_t start = clock(); for(int64_t i = 0; i < ITERATIONS; i++) {} auto first_clock = clock() - start;  start = clock(); for(int64_t j = ITERATIONS; j > 0; --j) {} auto last_clock = clock() - start;  Much to my surprise: first_clock = 25333 last_clock =  25277  For all intents and purposes, these methods are equal! So, where did this myth come from?  Was it true at one time and became false in newer compilers?  Looking forward to an interesting discussion. :)


Where should I create a coded UI project?

Should Coded UI tests be within the solution that they are testing (similar to Unit Tests), or should they be contained in a separate, generic Coded UI solution that is built only once and executed whenever any solution needs to be tested? I should clarify that our Coded UI tests are not the regular recordings that can be created through Visual Studio, but rather hand-coded interaction classes developed by our QA engineers. Most of the common functions for interacting with elements on a page are packaged into a DLL that can be referenced in any test.  I'm basically just trying to find out what the best practice is for creating a Coded UI testing infrastructure. Any help would be greatly appreciated. Thanks!


Im trying to get them to not overlap, but be snapped together. the center of the one i move snaps to the vertex of the idle one.


What to claim when we don't reject the null hypothesis?

In testing a null vs an alternative, if we don't reject the null (e.g. the p-value is very big, bigger than the significance level), what is our conclusion?  Can we say that we accept the null, can we? I remember I heard that not rejecting the null doesn't mean accepting the null, but I might be wrong.  Or should we simply say that we don't reject the null?


I am a Chinese citizen and I will be travelling from Copenhagen to Beijing. However I have a layover in Helsinki and recently I have been rejected a student visa in Sweden (I am allowed to travel from Copenhagen). I got a letter from the Swedish Migration Office that I have 4 weeks to leave the country, which expires on the 1st of June. The layover is no more than 4 hours and I do not plan to leave the airport.  Do I still need the transit visa in Finland?


Why does a balance try to be horizontal? The moments are equal

Suppose we have an ordinary balance where equal weights are put in both sides. Now one side is slowly held down. When this force is not applied anymore, the balance tends to achieve horizontal position.  But when one side is held down, the moment of force due to both weights are equal in magnitude and opposite in direction. Also, the potential energy of the system remains same (As the height lost by one weight is equal to the height gained by another). So why does the balance try to regain horizontal position?    Here $r$, $F (=mg)$ and $\sin \theta$ are equal


Let $X$ be a vector space and $f_k$ be semi-norms on $X$ such that for every $x\neq 0$ there is a $k_0\in \Bbb N$ satisfying $f_{k_0}(x)>0$. Then $$d(x,y)=\sum_{k\in \Bbb N} 2^{-k} \frac{f_k(x-y)}{1+f_k(x-y)}$$ defines a metric on $X$.  I proved everything except the triangle inequality and it's thoroughly confusing me. We must somehow use triangle inequality for the semi-norms but I can't figure out how to make it work. Could you kindly help me out?


Suppose a car is negotiating a bend on a smooth road and it starts to slip away. What is the force acting on the car causing it to slip away? I know that the centrifugal force is fictitious. Since the road is smooth, we can neglect the centripetal force created by the friction. So what causes the slipping of the car if the centrifugal force is fictitious?


Why was my answer deleted? And why didn't I get an explanation for the deletion?


I got following error while running sudo update-manager -d command. Why this error occurred? And how to solve it?  sudo update-manager -d Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused  (update-manager:2298): Gtk-WARNING **: cannot open display: :0


How to cache JavaScript files in Internet Explorer?

There are a lot of questions concerning how NOT to cache, but no questions on how to cache JavaScript in IE(8).  I tried all 4 options under Browsing History -> Settings, but on each request the same thing happens: IE successfully downloads the newest version of the .js file. I've checked the log at C:\inetpub\logs\LogFiles\ and on every request I make, I can see that jsFile.js is requested:  2013-11-28 13:55:29 10.120.59.9 GET /developmentMachine1/js/jsFile.js - 80 - 10.241.247.58 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/5.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E;+InfoPath.3;+BRI/2) 304 0 0 62  How can I cache that file?   Edit: I'm using ASP to generate the page.  Edit 2: I solved this by adding the web.config file with the following contents in the js folder of my app.  <configuration>    <system.webServer>       <httpProtocol>          <customHeaders>             <add name="Cache-control" value="private" />          </customHeaders>       </httpProtocol>    </system.webServer> </configuration>


Add keyboard shortcuts to Stack Overflow

Just a thought, but would Stack Overflow be able to add some keyboard navigation shortcuts? Something along these lines:   Shortcut Key - Page to navigate to:            H - Home            Q - Questions            T - Tags            U - Users            B - Badges            N - Unanswered            A - Ask Question  Shortcut Key - Action to Perform (While on page with a listing of questions)            K - Previous Question            J - Next Question


Subfields of finite fields $\mathbb{F}_{p^n} $

I have seen that (for $p$ prime) $\mathbb{F}_{p^m} $ is a subfield of $\mathbb{F}_{p^n}$ if and only if $m$ divides $n$. But my question is in what sense? Surely as long as $m\leq n $ then it is a subfield since $\mathbb{F}_{p^m} \subset \mathbb{F}_{p^n}$ and $\mathbb{F}_{p^m}$ is a field in it's own right - so it is a subfield? Why is this wrong?


Does anyone remember this article about the Euclidean Algorithm?

In the 70's I had a stack of old Amateur Radio magazines (50s-60s), and for a long time I saved an article about using the  to combine a number of resistors to achieve a specific value. Does anyone recall and have a copy of this article, or know how the Euclidean algorithm is applied to solve this problem?


Redefining nodata value into zero in QGIS

I have an image which I clipped with an AOI polygon. The contour area was set to pixel value = 0 and I have a nodata value of -32768. I want to redefine the nodata value into zero. I used to do this with ArcMap easily in the raster calculator, but in QGIS I don't see how I could do it. Any ideas?


Switching colours of complex illustration

I have a photoshop illustration in mid-century modern style - essentially there are only 3-4 global colours, but they're in multiple layers with grouping and sub-groupings.  I want to be able to try out different colours, but need to keep the current structure as the groups correspond to elements that I'll need to animate at a later point.  Ideally I'd like to have them as smart-objects, and have the 2-3 main colours exposed as sort of properties of the smart object.  Is something like this possible?  I'm happy even if someone just provides links to a good tutorial!


waaaaaaay too many svchosts running and causing 1st logical cpu load to increase

i've searched the net, and apparently this should be normal. in forums, i see people having 8, 10, even 20 instances. but i counted mine, and it reached 68. maybe this is the reason why one core of my cpu is way more loaded than the others, affecting my gaming experience. please help :(   here's a screenshot of process explorer and the cpu load graphs:


Find $\lim\limits_{n \to \infty} \frac{\sqrt 1 + \sqrt 2 + \dots + \sqrt{n}}{n\sqrt{n}}$.

$$\lim_{n \to \infty} \dfrac{\sqrt 1 + \sqrt 2 + \dots + \sqrt{n}}{n\sqrt{n}}$$   $$\lim_{n \to \infty} \dfrac{\sqrt 1 + \sqrt 2 + \dots + \sqrt{n}}{n\sqrt{n}} =\lim_{n\to \infty} \dfrac1{n}\sum^{n}_{k = 1} \sqrt{\dfrac k n} $$  While searching this question I found, .   Like in the accepted answer I first compared my series to LRAM,    $$\int_a^b f(x)\,dx=\lim_{n\to\infty}\frac 1n\sum_{i=1}^n f\left(a+\frac{b-a}n i \right)$$  I got $a = 0$, $b = 1$ and $f(x) =\sqrt{x}$ so,  $$\int_0^1 \sqrt{x}\ dx = \dfrac2 3$$ should be the answer.  Is there any simpler method to do this sum ? I have not learnt this method to do infinite sums so I can't use it.


I'm looking for an alternative to expressions of the form "X and I's Y", where X is a person/group and Y is a noun. Examples include:   My partner and I's project was well-received. My family and I's trip went well.   I'm not even sure if the above two sentences are gramatically correct, but even if they are, they sound awful. What's a better way to say these sentences?


What happens if I'm refused at the border but am unable to return to my point of departure?

This is a hypothetical question that came up in discussion.  Consider a situation where I am in country A. I take a flight to country B, and am refused admission at the border. However I am not allowed back to country A -- maybe I only had a single entry visa, or I used up my visa-free allowance; either way I can't be just put on the next flight back from the same airline.   In this case, how would the removal work? Would they send me back to my home country? Would they force the airline to take me somewhere directly that I am allowed to enter? (And if the airline I came on doesn't fly anywhere from B to where I can go, will the airline need to pay for a ticket on a other airline to somewhere I can enter?)    For a concrete example: a US citizen flies from Spain to the UK after using up his/her 90-out-of-180 days in the Schengen zone. The immigration officers in London refuse entrance for whatever reason. What happens to our poor Yankee friend?


I have thousands of files in a directory and need to remove a word if exist but not effect other documents without the word "draft" :   Currently ELC.Deeds.to.be.update-2014.draft.xls Rename to ELC.Deeds.to.be.updated-2014.xls  Currently AMC.Tax.time.envelope.client.listing.2013.draft.xls to AMC.Tax.time.envelope.client.listing.2013.xls  Other files like: AMC.Tax.time.envelope.client.listing.2014.xls would not need changing  So I would like to keep the file name and the extension just remove the word draft from any files that contain the word in the file name.  Any assistance would be great thanks.


What is the meaning of * in python functions

print(*cmath.polar(cnum), sep ='\n')   I just came across this line while solving a complex number problem. What is the use of * before cmath?


How to uninstall ubuntu server 14.04 amd64

How to uninstall ubuntu,i can't boot into ubuntu because i forgot my password.I don't have any window live cd,but have window vista and  xp,and have ubuntu server live cd.I have tried with grub loader,but still can't uninstall.Please someone help me.


Could somebody survive a fall by jumping off an object shortly before impacting?

It’s hard to explain what I’m asking for, so I made a diagram:    The person is falling. The person stands on a large object while falling (let’s say a part of a plane). Just before the objects hits the ground, the person jumps with great force. The person lands safely on the ground after he jumps.   Would this be possible for a person to do? I know this is a physics related question, so assume that the person’s mass is 90 kg and the plane debris is 900 kg. The person and the object fall from a height of 12 km.


Calculate the integral for a general distribution function

$F$ is a distribution function .Take any $a \in \mathbb{R}$.  Then evaluate : $\displaystyle\int_{\mathbb{R}} (F(x+a)-F(x)) dx$   As it is a general distribution function , I cannot employ densities to solve this problem . Any insights or a complete solution will be very appreciated .


Proof of Angles going beyond 90 degrees in Trigonometry

Since we’re introduced to trigonometric ratios in terms of opposite, perpendicular and hypotenuse, all of which are a part of a right angled triangle. This defines the ratios for angles greater than 0 and less than 90.  For angles greater than 90, we drop a perpendicular from the end-point of the moving arm of the angle and we take the acute angle made by the end-point, the pivot point and the point on the x axis where the perpendicular is dropped.   My question being; The way we calculate angles greater than 90, is it defined or derived? If it is defined, then what is the intuition behind defining it like that and if it is derived , proof (and how it’s connected to 0 to 90 part).  I do realise that these ratios were never really meant to be specific to the triangle.But then again, they were introduced that way. Also can you please recommend some books which explain trigonometry in great detail?  Thank you!


How does Facebook's URL matching algorithm work?

You know how if you go to facebook.com and enter a URL into the status update textarea it will automatically be detected, and Facebook will display a little snapshot of data from that URL/link? Facebook doesn't even care if you enter a URL with or without a protocol like http://.  I'm looking to replicate this behavior. Right now I have this regular expression:  ((?:https?:\/\/)?)((?:[a-zA-Z0-9\-]+\.)+(?:com|org|net|gov|mil|biz|info|mobi|name|aero|jobs|museum|travel|[a-z]{2})(?:[a-z0-9\._\/~%\-\+&\#\?!=\(\)@]*)?(?:#?(?:[w]+)?)?)   And I use it to match URLs entered in a textarea. However, it has false positives; it'll match document.write(foo) which clearly isn't a URL.   Facebook doesn't seem to have this issue. In fact, I can type "yahoo.com " into Facebook's textarea and it'll recognize it as a URL. But if I type "example.com " it wont recognize it. So, this means Facebook must be doing something more than just regular expression matching. Or am I wrong about this?  In conclusion, I want to know what Facebook is doing, and I want to know how I can replicate it. Any ideas, tips or solutions is very much appreciated.  Thanks for reading.


What 80s TV show has a child trapped in a closet when rare sunlight appears?

This is a very hazy recollection, and I was very young, so please bear with me. This was probably from the early up to mid 80's.  There is a particular child with other children. Not sure if it's an orphanage or a home. That child either misbehaves and is locked in a closet/small room or is accidentally locked in it.  It appears as if the world around them is routinely very dark and cloudy.  While the child is in the closet, a very rare instance of sunlight appears. The other children are very excited and run out to enjoy it. The child in the closet/room is forgotten during the excitement.  The child in the closet sees only a little light appear under the door.  At the end, the child's only exposure to this seemingly significant event is from that bit of light from underneath the door.  It may have been a commercial or part of a larger episode/show/movie.  Again, very hazy memory of this, but the images have stuck in my minds for decades.


What is the easiest way to level Light Armor with all the DLC?

Ok, so I am looking for ways that aren't time consuming (within reason), and not too terribly tedious. I have all the DLC, and I am willing to spend 3-4 hours, give or take. Thank you!


when I want to show that limit of the following function $$f_\epsilon(x)=\frac{1}{2\epsilon}e^{-\frac{|x|}{\epsilon}}~,$$ namely, $$\lim_{\epsilon\to 0} f_\epsilon(x)$$ is a presentation of $\delta$-distribution. And for that, I have to show that for each test function $g$ we have: $$\int_{-\infty}^{\infty}dx\lim_{\epsilon\to 0} f_\epsilon(x)g(x)=g(0)$$ We can assume to interchange integration and limits. How do I do that? Would be very thankful for help!


What do you think (of/about) the service?

If I wanted to know the opinions of people about the quality of service in the context of  hotels/banks/restaurants, what should I use: "think of" or "think about"?  According to my Google search:     What do you think about the service?   is more common than:     What do you think of the service?   At first I thought "think of" is more fitting because that is how I used to ask about people's opinions, but now I am not sure anymore!  Does it matter when you ask people about the service in general, and when you ask them about an instance of the service, I mean, a particular occasion?   Have a look at "" from Cambridge's Dictionary   to have a good opinion of someone or something:      She thinks very highly of her boss.   This one is related too


Step to step guide how to use 32bit version of Java in Eclipse

I have a Java project in Eclipse that requires Java 7 running in 32 bit mode. I tried to force running in 32 bit mode by adding the flag -d32 to the VM arguments.  However, I then get the following message:  Error: This Java instance does not support a 32-bit JVM. Please install the desired version.   I tried the same with Java 6, and there the flag works. So I supposed that I don't have a 32 bit version of Java installed. I checked all installed versions of java with /usr/libexec/java_home -V and get the following list:  1.7.0_75, x86_64:   "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home 1.7.0_67, x86_64:   "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home 1.6.0_65-b14-466.1, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home 1.6.0_65-b14-466.1, i386:   "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home   I then run the same command with the -d32 flag to check for 32 bit VMs and get the following list:  1.6.0_65-b14-466.1, i386:   "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home   So it really seems that there is no Java 7 with is compatible to run in 32bit mode available on my system. I checked the Internet, but couldn't find a way how to install 32 bit Java on a Mac. It always is assumed that the -d32 switch is working. My Mac is running Yosemite (10.10.2).  So what am I doing wrong? Is there a step for step tutorial that I can follow to run my application in Eclipse in 32bit mode with Java 7.


Why is count encoding effective in improving accuracy?

Can someone please explain why/how Count encoding of categorical features improve accuracy in classification  when compared to simply label encoding them ? I found one explanation in kaggle " Rare values tend to have similar counts (with values like 1 or 2), so you can classify rare values together at prediction time. Common values with large counts are unlikely to have the same exact count as other values. So, the common/important values get their own grouping. " which doesn't seem convincing or I don't understand the reasoning . Can someone please explain why it performs better than label encoding ? Label encoding can also find frequent patterns to correlate with the target variable , right ?


I am getting a null pointer exception on my nameA = view.getHumanName(nameB); line in my model class. I am trying to establish nameA using the getHumanName method from the view class. I also attempted to add in this.view = view to the model constructor but that does not fix the issue. Why am I getting this error in this instance?  Model class and instance variable:     public Model(Dice die){       nameB = "Toby";       nameA = view.getHumanName(nameB);       p1 = new Player(nameA);       p2 = new Player(nameB);       this.die = die;    } }   Method in View class:  public String getHumanName(String compName){    System.out.println("Enter a name for the human player: ");    String humanName = scan.nextLine();    while(humanName.equals(compName) || humanName.trim().isEmpty()){         System.out.println("The human player cannot have the same name as the computer player or be blank. Enter a new name for the human player: ");         humanName = scan.nextLine();    }    return humanName; }


Why does a UNIQUE constraint allow only one NULL?

Technically, NULL = NULL is False, by that logic no NULL is equal to any NULL and all NULLs are distinct. Shouldnt this imply that all NULLs are unique and a unique index should allow any number of NULLs?


Is English changing to make “Jack told Jill and *I* to walk faster” acceptable?

Consider:  Jack told Jill and I to walk faster.  instead of  Jack told Jill and me to walk faster.  This “mistake” seems to be becoming more and more common, even among TV newscasters or commentators. Seems as if this is going to be a permanent change in English grammar, adding a complexity:  Jack saw me there. Jack saw Jill and I there.  Is it?


Ubuntu version for SIS Mirage 3 based laptop

What is the best  Ubuntu version for   vga based laptop. just to get 1280x800 resolution not 3D graphic. any suggestion?


Word to mean hating/disliking a particular country?

So my friend and I were making jokes about a particular country, and then when attempting to describe the behavior, we realized there was no word for it. Racist is not the correct term because countries can have many different kinds of citizens. Also, we were making fun of the place, not the people that lived there. Nationalist is also not the correct term because that implies a particular fervor for one's own country, but not necessarily a distaste for another one.  In summary, is there a word in the english language that describe a disdain for a particular geographic region/country? The closest thing I could come up with was too specific, like "Anti-American", but nothing that could be applied to a general place


Is there a good object-relational-mapping library for PHP?   I know of /ADO, but they seem to only provide abstraction of differences between database vendors not an actual mapping between the domain model and the relational model. I'm looking for a PHP library that functions similarly to the way  does for Java and NHibernate does for .NET.


Word for "words whose origin is another, misheard word"?

Consider the example of the etymology of the phrase "10 gallon hat":     Cattle drivers and ranchers in Texas and the Southwest often crossed paths with Mexican vaqueros who sported braided hatbands—called “galóns” in Spanish—on their sombreros. A “10 galón” sombrero was a hat with a large enough crown that it could hold 10 hatbands, but American cowboys may have anglicized the word to “gallon” and started referring to their own sombrero-inspired headgear as “10-gallon hats.”   -- From   The veracity of this particular etymology aside, there are words and phrases whose origin is a misunderstanding or mishearing of some original word or phrase -- foreign or otherwise.  This mistake then sticks, and the misheard word becomes the dominant, standard word in daily usage.  Is there a linguistic term for words that originate this way, or for this specific process of word transformation?


How do you import a large MS SQL .sql file?

I use RedGate SQL data compare and generated a .sql file, so I could run it on my local machine. But the problem is that the file is over 300mb, which means I can't do copy and paste because the clipboard won't be able to handle it, and when I try to open the file in SQL Server Management Studio I get an error about the file being too large.  Is there a way to run a large .sql file? The file basically contains data for two new tables.


How can I reference unit test classes of a maven dependency in my java project?

I need to reference some JUnit Tests (src/test/java) from project B in the test package src/test/java of project A whereas B is a maven dependecy of A.  Is this even possible?  <dependency>     <groupId>XYZ</groupId>     <artifactId>B</artifactId>     <version>${project.version}</version>     <type>jar</type>     <scope>test</scope> </dependency>    Both projects are under my controll.  Thanks for your advice


Cannot update software center repositories

There is an app in kali by name 'Software' which is empty. So i tried to install software center and this is what i got  "You need to add the repositories first.  Edit /etc/apt/sources.list and add these two lines  deb http://http.kali.org/ /kali main contrib non-free deb http://http.kali.org/ /wheezy main contrib non-free  In terminal type apt-get update  then try apt-get install software-center   It should work."  This was an answer given by someone on this form and i did the same  And after update this is what i get


How to send an email from a webpage/webform?

What techniques are available for sending an email via a webpage or a form on a webpage?   I've got some background idea that you POST the form data to a script but I've don't really know what a cgi script is (I'd love to learn if this is the suggested method!) or what the current practice is.  This is just to provide some way for users to contact the operators. The in-page form seems like it would be easier on the user than ask them to open their mail client. I was also concerned about bots harvesting the contact email address (in the case of mailto: links).


How can i write only the latest commands to ~/.bash_history file?

my ~/.bash_history file keeps record of all the commands i've typed. can i not put only the latest commands that i've typed from the start of terminal so that it always show me the recently typed commands.


Is it possible to mount READ/WRITE ext4 partition under Windows 10?

I would like to have shared home directory (or it's subdirectory) under dual boot Windows/Linux. I know I can how to mount NTFS under Linux, but I don't like it has different file permissions. So, I would prefer reverse: mount ext4 under Windows. Is it possible?  UPDATE  I don't want to READ ext4 partition, I want to read it AND WRITE.   Documentation for newbies:


Equality of integrals: $ \int_{0}^{\infty} \frac {1}{1+x^2} \, \mathrm{d}x = 2 \cdot \int_{0}^{1} \frac {1}{1+x^2} \, \mathrm{d}x $

In  (page 16), Prof. Sanjoy Mahajan states that $$ \displaystyle\int_{0}^{\infty} \frac {1}{1+x^2} \, \mathrm{d}x = 2 \cdot \displaystyle\int_{0}^{1} \frac {1}{1+x^2} \, \mathrm{d}x $$  I realize this is equivalent to saying that  $$\displaystyle\int_{0}^{1} \frac {1}{1+x^2} \, \mathrm{d}x = \displaystyle\int_{1}^{\infty} \frac  {1}{1+x^2} \, \mathrm{d}x, $$  but why  is this true?


Proving ties to your home country when applying for a Schengen visa as a non-employed visa national?

A friend from Russia (Moscow) is planning to visit me in late August. She is about to apply for a visa but she's worried that they will deny her application because she doesn't have anything to prove her willingness to return. She is 22 years old an just got her first degree in university and even though she will continue studying in the next semester, she won't have any documents from the university until September.  Is it likely that she won't get the visa? If so is there anything we can do about that, like proving she has a return ticket / reservation?  Edit: I should add that she lives with her parents (who are paying for the trip).


collocations such as "bird of prey" and generalization

I got a question about the usage of generalization of collocations.  There is a word such as "bird of prey" to refer to birds eating animal flesh.  And one way to generalize reference of a noun is to put "the" in front of the word, especially for animals, plants, recent inventions; the lion is the king of the animal world of Africa / the smartphone is nowadays a required item.  Then my question is whether this kind of expression below is also okay to show generalization;  The bird of prey is a bird that eats animal flesh.  For other nouns, such as "man of steel," when someone says "the man of steel," a native English speaker would think some particular or specific man of steel since there are several possible possibilities; Stalin, or the Superman in the recent movie, etc.


For security reason i would like to enforce users to set 10 character password length .  How can i modify this policy ?


How to move a window between monitors with Gnome Shell?

I see this question is "answered" by stating that there is no way to do this in GNOME:  I have doubts that it should be impossible and I really want to do it.  Is there really no way to do this is Gnome? This is my output from xrandr that I don't know how to use:  $ xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 3840 x 1200, current 3840 x 1200, maximum 3840 x 1200 default connected 3840x1200+0+0 0mm x 0mm    3840x1200      50.0*


How does General Hux find Kylo Ren in time?

Shortly before Starkiller base explodes, Supreme Leader Snoke tells General Hux to retrieve Kylo Ren. Kylo Ren was on the ground dying in the middle of a forest. (Movie logic says that he found Ren, so we could have a sequel.)  How did General Hux find him in time?


I have a ThinkPad, t480s, and it is supported by Ubuntu pretty well. Upgrading from Ubuntu 16 to Ubuntu 18.04 brought me mainly advantages, but also 1 big disanvatage: boot time increased. I use password to login and while I boot my pc, it takes like ~5 to load on this ubuntu purple screen. This was not the case with Ubuntu 16. Same thing happens also on some HP laptops.  Here is the output from systemd-analyze blame :            6.289s NetworkManager-wait-online.service           5.309s fwupd.service           3.621s snapd.service           3.315s apt-daily-upgrade.service           2.241s plymouth-quit-wait.service           1.347s plymouth-start.service           1.059s systemd-backlight@backlight:intel_backlight.service            842ms dev-nvme0n1p2.device            619ms apparmor.service            572ms plymouth-read-write.service            410ms docker.service            390ms snap-gnome\x2dcalculator-260.mount            380ms snap-core18-731.mount            375ms snap-gnome\x2dsystem\x2dmonitor-57.mount            341ms snap-gnome\x2dcalculator-352.mount            318ms snap-gnome\x2dlogs-37.mount            305ms systemd-resolved.service            284ms systemd-timesyncd.service            274ms snap-gnome\x2d3\x2d26\x2d1604-82.mount            271ms dev-loop13.device            263ms snap-gnome\x2dcalculator-180.mount            259ms dev-loop10.device            255ms dev-loop11.device            247ms dev-loop15.device            245ms dev-loop8.device            242ms dev-loop12.device            233ms dev-loop9.device            233ms snap-gnome\x2dsystem\x2dmonitor-51.mount            232ms dev-loop16.device            217ms dev-loop14.device            217ms dev-loop17.device            211ms snap-gimp-113.mount            209ms dev-loop18.device            190ms NetworkManager.service            186ms snap-core-6531.mount            184ms dev-loop1.device            181ms dev-loop19.device            178ms dev-loop3.device


Proving a set identity: $\left(\bigcap A_\alpha\right)^c = \bigcup A_{\alpha}^c$

If $A \subseteq X$ and $A_{\alpha}$ is a collection of all such subsets, I need to prove that:  $$\left(\bigcap_{\text{all }\alpha} A_\alpha\right)^c = \bigcup_{\text{all }\alpha} A_{\alpha}^c$$  My attempt:  $$\text{Step 1: }A^c = \{ x : x \in X, x \not \in A \}$$ So, $$\text{Step 2: } \left(\bigcap_{\text{all }\alpha} A_\alpha\right)^c =  \{ x:  x \in X, x \not \in \{x : x \in X, x \in A_1 \wedge x \in A_2 \wedge\cdots \}\}$$  $$= \{x : x \not \in A_1 \vee x \not \in A_2 \vee x \not \in A_3 \vee \cdots\}$$  Similarly,   $$\text{Step 3: } \bigcup_{\text{all }\alpha} A_\alpha^c = \{ x: x \in A_1 \wedge x \in A_2 \wedge x \in A_3 \wedge \cdots \}$$  I understand that if I want to show that $A = B$, I need to show that $A \subseteq B$ and that $B \subseteq A$.  But I'm not sure how to relate step 2 to step 3.  Also, is the direct jump from step 1 to 2 justified. Or do I need an intermediate step?


Let $f(x)=2021x^{2021}+x+1$, and compute the following limit: $$\lim_{x\to \infty} \frac{f^{-1}(2021x)-f^{-1}(x)}{\sqrt[2021] x}$$  My attempt: i want to use mean value theorem to $f^{-1}(x)$ then we have: $ \frac{2020x}{((2021)^2 (η_y)^{2021}+1)(\sqrt[2021] x)}$. And $f(η_y)=η_x$, $η_x∈(x,2021x) $. We know $η_x$ tend to 0 as x tend to $\infty$ so from the expression of $f$ we know $η_y$ is also.but we  don't know  the quotient of $η_y$ and $x$, so i think this way is fail. But i can't do it in other way.


Voltage divider Vout not powering ESP8266

I have an input voltage of 12V from my power supply and i need 6V to feed into the ESP8622. I was giving it all the 12V but the wifi module becomes increasingly hot with time and so i decided to have a limited voltage feed into it.  Am not getting it to fire up however. It still stays blank.  I tested providing the 6V from the power supply and got positive results.  My resistors are both 100 ohms and when i probe the interconnection rail of the resistors on the breadboard, i can see that 6V is there. But when i feed the link into the ESP8266, it doesn't light up. It only does when the 6V are coming from the power supply.  Here is a pic of my circuit


Lower the amount of reputation needed to comment

is a great example of people coming from Google and using answers as comments.  I understand the reputation threshold is there to prevent spam, but Answers are just as prone to spam as comments and you can post them at reputation 1. Furthermore there are already flags in place as a preventive measure for both.  Essentially the reputation threshold of comments is forcing people to use the site in ways the designers did not intend. Removal of the reputation cap would also make the site more new user friendly as newbies that use the site in this manner are commonly given a unfriendly welcome in the form of downvotes from people who forget you need 50 rep to post comments.


I have a Huawei E3531 3G dongle (which works fine on Ubuntu 14.04, right out of the box). However, it registers as an USB-Ethernet adapter and I can't view any signal strength or other connection information except by visiting the dongle's internal webpage at 192.168.8.1. Can this dongle also be used as a ttyUSBx modem device so it works properly with network-manager?  Thanks! Florian


Why do we use von Neumann ordinals and not Zermelo ordinals?

Why do we use von Neumann ordinals, $$ 0 = \emptyset $$ $$ n+1 = n \cup \{n\} $$  and not Zermelo ordinals? $$ 0 = \emptyset $$ $$ n+1 = \{ n \} $$


I have a Schengen visa which is valid till 20th Nov 2018. Can I apply for another Schengen visa for the same period?

I am an Indian national, and I have secured a Schengen visa for my travel to Germany which starts on 17th September 2018 and ends on 5th November 2018.   The visa is a type-C multiple-entry visa, which is valid from 17th September 2018 to 20th November 2018, for a period of 50 days.   I want to visit a tech conference which takes place in Lisbon, Portugal, between 5 and 7 November 2018 and also watch a Champions League match on 8 November 2018.  My problem is I exhaust my 50 days if I stay in Germany from 17th September 2018 to 5th November 2018. I will have to leave the Schengen area on 5th November.  My question is:   Can I apply for a Portugal visa for 5th November to 8th November, even if I already have a Schengen visa valid till 20th November (which expires on 5th November as I deplete my 50 days)?  Also, it is possible to apply for this visa when I am already in Germany?


creating Polygon from LineString and a width

I have to create a Polygon from a lineString and a width. Ex: Given a street as a lineString (Or a list of points) and a width, create the polygon (the road). I am using Geotools, but I couldn't find anything helpful in the API.  The math for doing this manually is requiring to much work. Is there a simpler solution for this kind of problem?  Thanks.


How to calculate the number of days you can stay in Taiwan on a tourist visa?

Tourist visas to Taiwan have an associated "maximum stay" of 30 days. For those visas, how are the days counted? Does the stay begin on the partial day that the traveler arrives or the first full day spent in the country? Does it end on the last full day spent in the country, or the actual day the traveler departs?


My 3 year old will not fall asleep without me in the room. How can I break this?

My 3 year old daughter will not sleep unless someone is in the room with her and when she doesn't want to go to sleep and finally does and wakes up and we're not in there she cries and doesn't go back to sleep at all.  I really want to break her of this routine but I'm not sure how.  Last night, for example, she would not go to sleep. She finally fell asleep at 1am and so I snuck out and went to my bed and she woke up at 1:30 and stayed awake all night.  I asked her why she wouldn't go to sleep and she said just because I don't want to.  Please help!


Using Chrome, why is PDF downloaded from one site but displayed with Chrome pdf viewer from another site?

My company moved our shared files from one instance of Microsoft Sharepoint to another instance. Strangely, when I try to open a PDF in the new instance, Chrome downloads the PDF, while in the old instance of Sharepoint, Chrome displays the PDF in its built-in viewer. How can I make Chrome use its PDF viewer for documents in the new Sharepoint? I searched around and most questions on this site and others is about preventing the Chrome viewer. I want to ensure that it is always used.


"Other" taking up over HALF of my storage space

I've recently gotten a new computer (16" base model with 8GB GPU), and its 500GB of storage had dropped to just 80 when I checked it. Here's the screenshot:    I've checked through all my folders, and adding all the items in (from the above window) Documents -> File Browser, as well as every other unique item in the sidebar, comes to roughly 445GB. So all my files take up less than half of my storage space, while this Other takes up nearly the rest! I am unable to work productively (recording videos) as I have no room to store them. Where can I find out what this is, and how to delete/remove/edit its contents? This problem didn't occur on my other computer (also running Catalina).   Edit  I have tried these solutions from the duplicated question and from the , and neither of them have worked, even after restarting multiple times. How can I remove, or even access, this storage space?  sudo tmutil  listlocalsnapshotdates / |grep 20|while read f; do tmutil deletelocalsnapshots $f; done tmutil  listlocalsnapshotdates / |grep 20|while read f; do tmutil deletelocalsnapshots $f; done   From duplicate:  tmutil listlocalsnapshots / tmutil deletelocalsnapshots <snapshot number>   One snapshot failed to delete entirely - I wonder if this is the one causing the oversized storage?    I state once more - the solutions listed  and  did not help at all, if anything worsening the problem (the used space is now 287GB). Any help will be greatly appreciated.  Another edit - DaisyDisk also did not show these files:


Seeking LiDAR data processing and analysing tool?

I am working on Lidar VLP-16.   Can you advise me about the open source software that I could use for processing the lidar data and extract the object from the data?


What's the word for "no word for"?  I've really been trying to find it, but I just can't seem to.


Single preposition to choose with several verbs

Let's say that I have a compound phrase: "... to import or export..."  that I want to qualify:  "from a given database"  The issue is that you would use different preposition depending on the verb: "import into" and "export from". So which single preposition would you use and what is the rule?  Perhaps the correct sentence is ".. to import into or export from a given database" meaning that it is incorrect to use a single preposition?  Thanks


I've already created a design for an iOS application using Adobe Illustrator default font (Myriad Pro). Can I use this font in development too? (Create an app as a product). As far as I searched, I think that I can not use it because there is no license for that. In this case, are there any alternatives that can be used instead of Myriad Pro ?


Why can't I get my reflections to show in render

I can only see reflections in shader viewport , why can't I get them to render? I have specular refractions on in the render engine (evee) & material. But still get this grey image when I view render or animaton


Book where students are trapped in a secluded school, controlled by cameras and robots

The book is about a boy who goes to a secluded school.  When he arrives the kids try and warn him not to come inside. He doesn't listen and once he's there he can't leave. The students live in the school and there are cameras everywhere, and lessons are taught by recording.  They follow the instructions of a robot voice on the intercom and put on things like dances on their own, and disappear if they try and escape. They later find out some of the students are robots, and that's all I really remember. I think it's from the perspective of the boy, and I read it maybe 5 years ago.


for reading and searching for some phrase in packages documentation i use Acrobat Reader DC. it works fine for all packages except for beamer. in it only occasionally i find searched phrase, mostly results shows non related phrase in documentation pdf file. for example:    i wonder, if someone else experienced similar problems. is there a way to correct this behavior?


Splitting the contents of a comma separated cell into new rows

Based on:   I have a long list of data, about 200 rows, and each row contains multiple columns of data and a region column. In this region column, it contains a list of regions for example, New York, Italy, Mexico. I want to be able to split the list into X rows where X is the number of items in the list but each row contains the elements from the row.   From the example, 3 rows would form: a row containing New York, a row containing Italy and a row containing Mexico.   The stackoverflow link this is based on is something that's really close to what I'm looking for but it contains extra bits like counting and it doesn't seem to really work when the content contains spaces.     Example:   I want to have this new data be put into a new sheet and not the existing one if possible.


How do you remove Mirror and SubSurface seams?

I'm fairly new to Blender and am trying to make a human face mesh using the Mirror and Subdivision Surface modifiers. When I attempt to do so, the result shows this seam in the mesh and does not have the mirror align properly, as well as the subsurface creating a rip in the center mouth. How do I resolve this issue?  File:


Why I should use interface instead of directly declaring method inside of the class without interface

can you please explain why really i need use interface instead  of  directly declaring and implementing method inside of Class. Above i have two example. Class with interface and without.  Thanks in advance.       EXAMPLE1 Why i should  use this   interface ISampleInterface {     void SampleMethod(); }  class ImplementationClass : ISampleInterface {     // Explicit interface member implementation:      void ISampleInterface.SampleMethod()     {         // Method implementation.     }      static void Main()     {         // Declare an interface instance.         ISampleInterface obj = new ImplementationClass();          // Call the member.         obj.SampleMethod();     } }      EXAMPLE2  why i shouldn't use this   class ImplementationClass     {         void SampleMethod()         {             // Method implementation.         }          static void Main()         {             // Declare an interface instance.             ImplementationClass obj = new ImplementationClass();              // Call the member.             obj.SampleMethod();         }     }