Is $c + \sin c + \sin\sin c + \sin\sin\sin c + \cdots$ convergent?

I thought about sequences, and I had an idea.     Let's define a sequence $(a_i)$ such that    $$a_0 = c \qquad\text{and}\qquad a_{n+1}=\sin a_n$$   where $c$ is arbitrary constant. Let's also define $$S_N := \sum_{i=0}^Na_i=c\;+\;\sin c\;+\;\sin\sin c\;+\;\cdots\;+\;\underbrace{\sin\sin\cdots\sin}_{N\text{ times}} c$$      Is $\lim_{N\to\infty} S_N$ convergent or divergent?   The problem is that I have no idea how I can, or if it is even possible to, determine $a_n$. Or if it is possible to show whether the sum converges.


novice Ubuntu-user: beginners assistance

Hello possible fellow Ubuntu-users,  Until now I've been using Windows operating systems and my current laptop is going to retire soon. In my search of a new, basic (read: not too expensive) laptop I thought about Ubuntu several times. As a computer enthousiast I have a basic knowledge and interest but this is far from the expert-level. Recently I was pleased to see a big computer brand to launch a budget model including a pre-installed Ubuntu Linux 14.04 SP1 operating system with the following specs:  Processor: Intel® Celeron® Processor N2840 (1M Cache, up to 2.58 GHz)  Operating System: Ubuntu Linux 14.04 SP1  Memory: 4GB Single Channel DDR3L 1600MHz (4GBx1)  Hard Drive: 500GB 5400 rpm Hard Drive  Video Card: Intel® HD Graphic  Display: 15.6-inch HD (1366 x 768) Truelife LED-Backlit Display  Wireless: 802.11bgn + Bluetooth 4.0, 2.4 GHz, 1x1  The laptop will be used for the basis stuff: internet, documents,... Does this configuration seem adequate to run Ubuntu smoothly?  I'm also considering to change the 5OOGB HDD with a 250 SSD drive for some faster handling. Having read some basis research it should be possible. However I'm doubting if I will succeed to transfer the pre installed files to the new SSD drive and run Ubuntu. Any experiences for a Ubuntu novice are highly appreciated.  Hopefully you guys or girls can guide this windows-user into a new and bright Ubuntu age :-)  thx alot!  grtz


What is the basic functionality difference between a class and a structure?

In C programming if i will declare a structure with private fields and some public methods, will it behave as a class?


Using  apt-get update I am getting    Err http://ppa.launchpad.net precise/main amd64 Packages               404  Not Found  W: Failed to fetch http://ppa.launchpad.net/webupd8team/jupiter/ubuntu/dists/precise/main/binary-amd64/Packages 404  Not Found  E: Some index files failed to download. They have been ignored, or old ones used instead.   The machine is behind proxy and proxy is configures correctly and the error is not coming for  other packages fetched from the internet. It is more common with ppas. Never got a problem with other sources.  had the problem with:   deb http://_ppa.launchpad.net/rabbitvcs/ppa/ubuntu precise main deb [arch=amd64] http:__ppa.launchpad.net/webupd8team/jupiter/ubuntu precise main   also tried using Acquire::http {No-Cache=True;}; and treid cleaning the cache of list sudo rm /var/lib/apt/lists/*  Nothing worked out. The url that fails opens perfectly in browser or using wget.  This problem only happens when using proxy.


Finding the value of $\sum_{n=1}^\infty \frac{1}{n^2}$ using Fourier transformation of a function f(x)

$f(x)=|x+\frac{\pi}{2}|-2|x|+|x-\frac{\pi}{2}|$  After using Fourier transformation I get  $a_0 = \frac{\pi}{2}$  $a_n = \frac{8}{\pi n^2}sin^2(\frac{n\pi}{4})$  $f(x)= \frac{a_0}{2} + \sum_{n=1} ^{\infty} a_n*cos(nx)$  After this of I substitute n=2k and k=2h+1 I can get values but not for the sum in question. Is it even possible to solve this?


Formalize a proof without words of the identity $(1 + 2 + \cdots + n)^2 = 1^3 + 2^3 + \cdots + n^3$

gives the following proof without words for the identity  $(1 + 2 + \cdots + n)^2 = 1^3 + 2^3 + \cdots + n^3$.    I find it interesting but have trouble seeing the proof behind it.  Could anyone could give me a formal proof based on this animation?


My question is whether $x/x$ is always equal to $1$. I am mostly intersted in real numbers and particularly wonder whether $x/x$ is defined at $x=0$.  On one hand the division should simplify to $1$, on the other hand you should not be allowed to divide by zero.   I have been trying to find whether the simplification 'goes first' or whether the division causes trouble first, but it has proven impossible for me to find usefull search terms.     Note that this question arose after reading  and its first comment.


What is the best way to evaluate user inputed comparison string against a object?

If I have a user give a string such as   eval= "productId = '100' and (GUID = '100' or (GUID = '200' and productId = '100' ) )"  what would be the best way to use the string to see if a object in memory meets those constraints? For example the following model would evaluate true:  evaluate(eval, new Product{productId ='100', GUID='100'})  Anyone push me in the direction of a design pattern that could accomplish this?


Trying to make object look like metal doesn't work

I followed a tutorial on how to make something look like metal, it worked in the video and seems to have worked for everyone in the comments. For me it looks like this even tho I have checked that everything is the same as in the video. What did I do wrong? Also I'm wondering what the little piece of white is in the eye. Tutorial I used:


I am implementing DTLS 1.2 and using ECDHE_RSA_AES_128_GCM_SHA256 cipher suit.  Below is my client finished message    Can anyone explain this message?  How many bytes for verify data?  Is there authentication tag if yes then how many bytes for authentication tag?  And how many bytes for nonce?  And is all the message encrypted if not then how many bytes are encrypted?  How can i verify this message?


Data Explorer site-switch search showing unrelated results first

I'm using  and trying to switch from Web Applications to Stack Overflow.   I enter sta into "Switch sites" field, but search showing unrelated results first (3D Printing, 3D Printing Meta, Software Engineering ...):


The verb for carrying out a bitwise OR/AND operation

I'm writing a scientific/technical text which involves describing some low level code.  I need to complete the following sentence:     When two values are combined, their tags are _ _ _ _ _ _ together   Where the dashed line should be filled with a word specifying the tags have been combined using a bitwise OR operation (or AND operation).  I also need the word for the present tense.


Does there exist non-trivial linear functional on $(C[0,1], ||\cdot||_2)$ which doesn't come from the inner product on $L^2[0,1]$?

Let $X=C[0,1]$ i.e. the set of continuous functions on $[0,1]$ with $L^2$ norm. Then there exists an $F\in X^*$ i.e. dual of $X$ such that there exists no $g \in X$ so that  $$ F(f) = \langle f,g \rangle$$ holds for all $f \in X$.  My effort: Since $(X,|| \cdot ||_{2})$ is not complete. Hence it is not a Hailbert space. We can't apply the Riesz Representation Theorem.  Any help in this regard would be highly appreciated! Thanks in advance!


A finite product of nilpotent groups is nilpotent

Definition 1:     Let $G$ be a group. The lower central series of $G$ is the sequence   $\big(C^n(G)\big)_{n\ge 1}$ of subgroups of $G$ defined inductively   by: $C^1(G)=G$ and $$C^{n+1}(G)=[G,C^n(G)],$$ where $[G,C^n(G)]$   denotes the subgroup generated by the commutators $[g,g']$ with $g\in  G$ and $g'\in C^n(G)$.   Definition 2:     A group $G$ is called nilpotent if there exists an integer $n$ such   that $C^{n+1}(G)=\{e\}$. The least integer $n$ such that   $C^{n+1}(G)=\{e\}$ is called the nilpotency class of a nilpotent group   $G$.   Now, let $(G_i)_{1\leq i\leq p}$ be a finite sequence of nilpotent groups. I have to show that the group $$\prod_{i=1}^p G_i$$ is also nilpotent.  Attempt: (not much of an attempt)  Let $(n_i)_{1\leq i\leq p}$ be the sequence of the nilpotency classes of the family $(G_i)_{1\leq i\leq p}$: i.e. $n_i\in\mathbb{N}$ is the least integer such that   $$C^{n_i+1}(G_i)=\{e_i\}.$$  I have to find a $k\in\mathbb{N}$ such that $C^{k+1}(\prod_{i=1}^pG_i)=\{(e_i)_{1\leq i\leq p}\}$.   I have no idea where to start or what strategy to employ. I only know that somehow I have to use the sequence of nilpotency classes $(n_i)_{1\leq i\leq p}$. Any hints?


Class record structure only recording last input

I am trying to create an array Record structure using a class in Python 3. This is my code:  class Books():     def __init__(self):         self.title=""         self.author=""  newbooks=[Books()]*4  for i in range(4):     newbooks[i].title=input("Input title of the book")     newbooks[i].author=input("Input author of the book")   print(newbooks[0].title)   However, the final line will always print the final input rather than the first. Every element in my array stores the final input and not the one entered on the correct counter. I'm a little confused as to why; any help?


How to provide access to Salesforce REST API to external application without providing them Integration user credentials?

Our salesforce org needs to expose some functionality as a REST API class to an external app. We created the apex class(@RestResource(urlMapping='')), now to provide access to the external app :   We created a new Integration User with limited access to profile and API enabled = true. We provided the credentials of this user to external app. We created a connected app and provided client_id and secret to external app. We provide salesforce oauth URLs to external app. External app uses Username Password oauth authentication flow with salesforce using these details to get access token.   We would like to explore a way without having need to create an Integration user and sharing this user's credentials.  How can this be achieved?


Is it possible to call a function by using the strings ?  (i.e) I have a variable var target = 'next';. Using this string I want to call the jquery method next() . Should i use target + '()' (this is bit foolish) to call next() ?  I know it can be done using conditional statements. Since it is a string got from users, but it is difficult to use conditional statements for all that.  In my jQuery plugin, users will pass the value prev, siblings etc as options, so that the respective jQuery methods will be executed.   How do I implement this ?


Getting "undefined reference error message" with g++, but function should be explictly included

I have a C++ project with 5 files:  sde.cpp (containing main()), sde_library.cpp, sde_library.hpp, num_vector.cpp and num_vector.hpp. I'm trying to compile them together with the command  g++ sde.cpp sde_library.cpp num_vector.cpp -o sde.out   The main function contains the two lines  int test = 0; vector<vector<double>> avg_trace = RK_all(num_traces, many_traces, t_interval, y0, dt, test);   And this function is declared in sde_library.hpp as  template<typename eq_params> std::vector<std::vector<double>> RK_all(unsigned int num_traces,  bool many_traces, std::vector<double> t_interval, std::vector<double> y0, double dt, eq_params args);   The implementation is found on sde_library.cpp. However, when compiling I get the following linker error message:  /tmp/ccZkiXkj.o: In function `main':  sde.cpp:(.text.startup+0xd5): undefined reference to `std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > RK_all<int>(unsigned int, bool, std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> >, double, int)'  collect2: error: ld returned 1 exit status   I was assuming that the appearance of this error was due to me introducing templates to the function RK_all (before I introduced that it was running correctly); I've seen that "undefined references" appear with templates and it's the first time that I'm using them. However, in the main I'm explicitly stating that eq_params will be of the int type, so the compiler should understand what this template is. Is that correct? What am I missing, or what else could it be? And how would I fix that?


Prove inequality $(a_1+a_2+...+a_n)(\frac1{a_1}+\frac1{a_2}+...+\frac1{a_n})\geq n^2$ when $a_1,a_2,...,a_n$ are positive numbers.

Let's assume that $a_{1},a_{2},...,a_{n}$ are positive. How to prove this inequality:  $(a_{1}+a_{2}+...+a_{n})(\frac{1}{a_{1}}+\frac{1}{a_{2}}+...+\frac{1}{a_{n}})\geq n^{2}$  My effort: I don't know where to begin.


How to go with proving this : Let $R$ be a ring and let $I$ be an Ideal of $R$.  Prove that the factor ring $R/I$ is commutative iff $rs-sr \in I$ $\forall r$ and $s$ in $R$  any hint how to go with this...


Which IP address do I use to access my server?

I'm running a Samba server on my MacBook and I've also set up port forwarding to said server from my router.  My public IP is 106.51.x.x (according to google and a few other services) and my Mac's local IP is 192.168.x.x, but when I head to my router's configuration page, it says my external IP is 10.242.x.x.  This is what I don't understand, when connected to my home WiFi, using the 10.242.x.x address works just fine. But if I try to access the same over 4G, the connection times out.  As for the public address, neither WiFi nor 4G works.  Is there some setting on my Mac (I'm running MacOS Sierra) that I must alter to make it visible to the public?


Cannot receive the quest revealing the unseen

I am able to talk to Mirabelle but it wont let me accept the quest "Revealing the Unseen" is it a fixable glitch?


How to pronounce "p" in "hospital" and why?

I've pronounced "p" in "hospital" as "p" for many years and just noticed that some people pronounced it as "b". Please refer to  for its pronunciation and . Which one is correct, "p" or "b"? Or maybe both of them are correct?


Forgot to add swap memory during installation

In my ignorance I didn't add swap memory to my install. So my question is, can I work without it and if not how can I add it to my existing install?  Love to get some feedback!


What are the types of ab initio Molecular Dynamics?

I am new to the world of Molecular Dynamics, and am curious to know exactly what is considered to be an ab initio Molecular Dynamics (AIMD) method, and how do they work? The seminal work by Roberto Car and Michele Parrinello, titled "" was published 35 years ago!  I have recently come across the following "types" of MD methods while reading some research papers:  Born-Oppenheimer Molecular Dynamics Car-Parinello Molecular Dynamics  2nd generation CPMD Approximate Car-Parrinello-like Langevin Born-Oppenheimer Molecular Dynamics Many-body Molecular Dynamics    If I am missing methods, which I am sure I am, please feel free to add them through an answer! Also, it would be appreciated if one method is explained per answer, and is summarized in 2-3 paragraphs.


Are all of these Clone Wars books Canon in the current Star Wars lore?

I'm trying to figure out which novels are canon and everywhere I go I find different answers even on the subredit for star wars.  The best resource I've found is:   Then I looked on Star Wars wikia and saw all these books that are part of the Clone Wars.  Are these canon too?   Republic Commando: Hard Contact Shatterpoint Equipment (Short story in paperback Shatterpoint) Legacy of the Jedi The Cestus Deception The Hive (eBook) Republic Commando: Triple Zero Republic Commando: True Colors MedStar I: Battle Surgeons MedStar II: Jedi Healer Secrets of the Jedi Jedi Trial Star Wars: The Clone Wars Out Foxed (eBook) Yoda: Dark Rendezvous Labyrinth of Evil


What are the factors affecting transparency and color of a substance

What is the reason behind visual properties like color and transparency of different substances? I have always heard that the structure of the substance is responsible for these properties. I always imagined that the bond length between the atoms of the substance permits photons of only some certain wavelength. But, most bonds are in the order of $1.5\unicode{xC5} $, and by my "explanation", most materials should appear to be opaque (in the visible spectrum), but they don't. Why?


I know the grep command and I am learning about the functionalities of xargs, so I read through  page which gives some examples on how to use the xargs command.   I am confused by the last example, example 10. It says "The xargs command executes the grep command to find all the files (among the files provided by find command) that contained a string ‘stdlib.h’"  $ find . -name '*.c' | xargs grep 'stdlib.h' ./tgsthreads.c:#include ./valgrind.c:#include ./direntry.c:#include ./xvirus.c:#include ./temp.c:#include ... ... ...   However, what is the difference to simply using   $ find . -name '*.c' | grep 'stdlib.h'   ?  Obviously, I am still struggling with what exactly xargs is doing, so any help is appreciated!


I tried the following code with sprintf, but it crashes in some cases and works fine in the other. Could anyone explain it to me?  #include <stdio.h> #include <stdlib.h> int main() {        //char *s = malloc(20); //works fine        //char *s = "";         //does not work, no matter what the initial value is        char s[20];       //works fine        sprintf(s, "%s", "hello world");        printf("%s",s);        return 0; }


$\int_{\frac{1}{3}\pi}^{\frac{2}{3}\pi} {\sin(x)\;dx}$ using Riemann sums?

How to find the integral $$\int_{\frac{1}{3}\pi}^{\frac{2}{3}\pi} {\sin(x)\;dx}=1$$ using Riemann sums?


An appropriate question tag for "He's too weak to walk."

A couple of days ago, I sat for an English exam. There was a question there that asked for the appropriate question tag for the sentence "He's too weak to walk." I answered "isn't he?" but my teacher claimed that the correct answer should be "is he?" since the sentence expresses a negative meaning. Frankly his explanation made no sense to me.  Is he right? Am I missing something? What should be the appropriate question tag for the sentence He's too weak to walk.?    When we're asked to add question tags in tests, we are expected to add tags that agree with the assertion, for example, It's a great day, isn't it? Question tags that genuinely express doubt whether the sentence is true or not aren't expected.


Error :: You must put some 'source' URIs in your sources.list

I'm trying to install PIL a python module on ubuntu   I first need to install a package called python-imaging using the following command    sudo apt-get build-dep python-imaging   When I try and do this I get the error   E: You must put some 'source' URIs in your sources.list   I saw  question whihc shows how to fix via the GUI but I'm using the command line. Does anyone know how I can fix this error..?    UPDATE: Based on the below answers I've updated my package list but I now get this error. Not sure if it is related, if not I'll start a new question as I can't find reference to the error anywhere.   E: Build-Depends dependency for python-imaging cannot be satisfied because candidate version of package python-all-dev can't satisfy version requirements


I recently got a PS4 and I was wondering if I could play games like GTA:V with my PS3 friends? I'm thinking that you can't but wanted to confirm. I tried playing with them but it says that they aren't playing GTA:V.


How to count duplicate elements in a Ruby array

I have a sorted array:  [   'FATAL <error title="Request timed out.">',   'FATAL <error title="Request timed out.">',   'FATAL <error title="There is insufficient system memory to run this query.">' ]   I would like to get something like this but it does not have to be a hash:  [   {:error => 'FATAL <error title="Request timed out.">', :count => 2},   {:error => 'FATAL <error title="There is insufficient system memory to run this query.">', :count => 1} ]


Wordpress archive page showing 404 Error

This is the code for an archive page on my website, when I try to open this page, it brings up a 404 error and doesn't display any content. Is there a problem in this code that is stopping it? I am using the Custom Post Types plugin for the archive content.  <?php get_header(); ?>      <?php // IMAGE SLIDESHOW ?>

    <img style="width:100%;border:8px solid #91B49C; margin:1em 0 1em 0;" src="<?php echo get_site_url(); ?>/wp-content/uploads/2016/05/Wedding-1.jpg">   <img style="width:100%;border:8px solid #91B49C; margin:1em 0 1em 0;" src="<?php echo get_site_url(); ?>/wp-content/uploads/2016/05/Wedding-2.jpg">   <img style="width:100%;border:8px solid #91B49C; margin:1em 0 1em 0;" src="<?php echo get_site_url(); ?>/wp-content/uploads/2016/05/Funeral-5.jpg">

 <?php // END OF IMAGE SLIDESHOW ?>

Birthday & Anniversary

             <?php $loop = new WP_Query( array( 'post_type' => 'birthdays', 'order' => 'ASC', 'posts_per_page' => -1 ) ); ?>     <?php while ( $loop->have_posts() ) : $loop->the_post(); ?>         <div class="b33" style=" margin:0.5em 0.5em 0.5em 0.5em; border: 8px solid #91B49C; height:350px; width:31.5%; float:left; background-size: cover; background-repeat: no-repeat; overflow:hidden;  background-image: url('<?php the_field( 'image' ); ?>')">
      <?php endwhile; wp_reset_query(); ?>

    <?php get_footer(); ?>


i have not an apple id and password.i have iphone 5S.how unlock it without id or password

I have not an apple id and password.i have iPhone5s.how unlock it.


Grid = ["A1","A2","A3","B1","B2","B3","C1","C2","C3"]   print("This is the grid.")   for i in range(3):     print("\t".join(Grid[(i*3):(i*3+3)]))   I was looking for a way to create a 2D 3x3 grid in Python and found this. I want to use it but I'm not sure how line 4 actually works, other than "\t".  Help much appreciated, thanks :)


Lenovo wifi connection disconects after a while (rtl8723be)

Environment:   Wifi network rtl8723be Ubuntu 14.04 x64 Kernel 3.16.0-50-generic   PROBLEM: wifi network disconnects after a while of being working properly.  $ sudo lshw -short /0/100/1c.1/0   wlan0        network        RTL8723BE PCIe Wireless Network Adapter   Any ideas?


Is soaking beans 24 hours unrefrigerated safe?

It strikes me as an unsafe food practice to follow Cook's Illustrated's advice for soaking dried beans for 24 hours unrefrigerated.  I've also seen them suggest you soak steel-cut oats unrefrigerated overnight.    Is there some reason why these practices are okay?  Would there be any harm in refrigerating them, particularly the beans, while soaking?  From Cook's Illustrated:     Dissolve 3 tablespoons salt in 4 quarts cold water in large bowl or   container. Add [one pound] beans and soak at room temperature for at least 8 hours   and up to 24 hours. Drain and rinse well.


Various evaluations of the series $\sum_{n=0}^{\infty} \frac{(-1)^n}{(2n+1)^3}$

I recently ran into this series: $$\sum_{n=0}^{\infty} \frac{(-1)^n}{(2n+1)^3}$$  Of course this is just a special case of the Beta Dirichlet Function , for $s=3$.   I had given the following solution: $$\begin{aligned}  1-\frac{1}{3^3}+\frac{1}{5^3}-\cdots &=\sum_{n=0}^{\infty}\frac{(-1)^n}{\left ( 2n+1 \right )^3} \\    &\overset{(*)}{=} \left ( 1+\frac{1}{5^3}+\frac{1}{9^3}+\cdots \right )-\left ( \frac{1}{3^3}+\frac{1}{7^3}+\frac{1}{11^3}+\cdots \right )\\    &=\sum_{n=0}^{\infty}\frac{1}{\left ( 4n+1 \right )^3} \; -\sum_{n=0}^{\infty}\frac{1}{\left ( 4n+3 \right )^3} \\    &= -\frac{1}{2\cdot 4^3}\psi^{(2)}\left ( \frac{1}{4} \right )+\frac{1}{2\cdot 4^3}\psi^{(2)}\left ( \frac{3}{4} \right )=\frac{1}{2\cdot 4^3}\left [ \psi^{(2)}\left ( 1-\frac{1}{4} \right )-\psi^{(2)}\left ( \frac{1}{4} \right ) \right ]\\   &=\frac{1}{2\cdot 4^3}\left [ 2\pi^3 \cot \frac{\pi}{4} \csc^2 \frac{\pi}{4}  \right ] \\   &=\frac{\pi^3 \cot \frac{\pi}{4}\csc^2 \frac{\pi}{4}}{4^3}=\frac{\pi^3}{32}  \end{aligned}$$  where I used polygamma identities and made use of the absolute convergence of the series at $(*)$ in order to re-arrange the terms.   Any other approach using Fourier Series, or contour integration around a square, if that is possible?


Possible to use fill tool in grid cells?

I would like to reconstruct a simple bitmap to vector, so I have put a grid and a layer on top of it.  Is it possible to e.g. use the fill tool, to just fill out one of the grid squares at a time?  Or is there a better way?


Rounding value with 2 decimal points in c#

double number1 = 4.1870418700000007d;   I tried with following :   Input : Math.Ceiling(number1) Output : 5  Input : Math.Round(number1) Output : 4  I want output : 4.19


How to set exact position of external monitor in XFCE?

There are few basic options to set up and external monitor in XFCE including "expand to right/left" but that's not enough I want to set position exactly because my monitors have different size.    How do I do that, every other system/DE I used had advanced drag&drop monitor position setting.


Need Basic Viewer template for ArcGIS JSAPI 3.2/3.3

I am looking for basic viewer for ArcGIS JSAPI  but not  getting  proper sample/example.  I am going through  also but looks like its not working.  Going through  question also.  Checking out  example and getting confused that what is difference between Viewer template and layout?  So any help regarding this will be great!


'on vs upon' and 'in vs into'  They are very similiar and I think there could be an equation, literllay: upon= up+on and in+to. Is ther any big difference when learners of English should keep in mind?


How do I alt+f4 in OS X? I want to close focused window

I am looking for a way to close the currently focused window using a keyboard shortcut. Effectively I want to do the same thing as the red "X" button in the top left corner, only using a keyboard. On windows/linux this is done by alt+f4  I know about:   ⌘ Cmd+w - in any tabbed application such as google chrome it will close the current tab instead of current window ⌘ Cmd+q - will close the entire app instead of just the current window


Unfortunately, tikz-feynman forces the use of LuaLatex to compile. However, I can't find a way to produce nice images to use in another document when compiling with LuaLatex. It seems that one cannot use documentclass{standalone} with LuaLatex (). Similarly, the export method proposed in  also doesn't work. How can I produce a tikz image in one file to include in another one if I'm using LuaLatex to compile the tikz image (and pdflatex to compile the larger file that should include these images)?


Python lambda uses reference for primary types

Context I need to make a mapping function. That maps range of int to an object. ex) if 10 > x >= 5: # map to y. What I tried map_list = [] step = 5 for i in range(100): # range(0, 500, 5)     lower_bound = i * step     upper_bound = (i+1) * step     map_list.append(lambda x: upper_bound > x >= lower_bound)  Problem I went through the map_list with the value 158 which is inside the mapping range. But all of the lambdas in the list returned False. While debugging, i passed 500 through the list and it all returned True. And more debugging, I found out that the lambdas were using the value of last upper_bound and lower_bound variables. What I need  Why is the lambda using a primary value as reference? I Another way to use lambda OR Another way to map (I want the evaluation of the bounds outside of the lambda for readability)


I am experiencing a strange problem while running drush commands on newly installed server and newly installed drush(it's been installed with composer). Exact the same configuration works fine on my local machine (composer, drush-dev, memcached with 11212 port), but for some reason it doesn't execute any command on my production server. I've already read , but it did'nt help, I am sure problem is not coming from my memecached config, I can open it from browser without any error (Memcache Storage: server 127.0.0.1:11212 (default cluster) - Connected - message from status report).  So, I properly installed composer (globally), successfully installed a drush-dev version, env PATH has been added to .bashrc file, I can only run drush command which outputs .. But if I run any other command in my drupal root driectory it just hangs with  (for ex: drush status -vvvv -d).  Some addition info: 1. I digged into the drush files to find something and I found that drush calls _drush_bootstrap_drupal_login after _drush_bootstrap_drupal_full to login as uid=0, but somehow it can't login.. 2. I am using Memcache Storage module as cache backend, It shows Successfull connection in admin report page, but somehow it doesn't see pecl memcache extension I think.. If I remove $conf['lock_inc'] = 'sites/all/modules/memcache_storage/includes/lock.inc'; from settings.php file drush does WORK, but the same configuration is working on my local machine.. Very strange..  How can I solve this?


Minecraft 1.5.2 Single Player Open to LAN ends for friend in Timeout

I am playing minecraft 1.15.2 single player and want to invite some people to play with me there. However every time they try to connect, they get as far as joining and seeing only the sky or an empty minecraft world.  I have setup a hamachi network and for the duration of this I have disabled the firewall of my Antivirus (Eset) which allowed us to get to this point. I even get the chat message that he had joined the game but then after a short while he gets the message that he has timed out.  I have no idea what else to try since we have tried to find a solution for this for quite some time now. I don't know if there is anything better I should try or not or if I have to change something on my side or not.


Click event not working but works when put in console

Here is my HTML code.
Men's Shirt (on hanger)   -   +    2 Suits

 Total £22.00
   Order now    JQuery code.  $(document).ready(function() { $('.cart_minus').click(function () {             alert("hai"); }); });   When I put same code in console then alert is shown. How could I solve this.


I've read a bit about lvm and decided that I want to switch to using it. It seems like actually setting up lvm can be done from the debian installer, so I suppose that'll be easiest. What I'm not sure about is how to copy all of my files to the new system.   I would like to copy my whole system, not just my home directory or just my packages, I've messed around with a lot of stuff, to the point where I have no idea exactly where all of my config files live. The guides I've found on the internet seem to glaze over this step, just mentioning tools that can do it, not how to use them, i.e. use rsync. Instinct tells me I can't just rsync the root of my backup to the root of my lvm system, I'll copy over something important, like the lvm config files, but I'm not sure what exactly I need to exclude, while being sure not to exclude anything I might have changed. Any tips?  My planned steps, for clarity: I have a 1tb hdd and a 250gb ssd. I want to shrink the partition I have on the hdd, use the free space (I have enough) to make two new partitions, and dd my ssd and hdd partitions to those partitions as a backup. Then I want to wipe the ssd partition and hdd partition I'm currently using, and set up lvm on them (ideally with the debian installer for simplicity's sake, but maybe manually). And then I want to copy everything from the backup partitions to the new lvm partitions, somehow. And then wipe the backup partitions and either resize the existing lvm partitions to include the remaining space, or just make the remaining space another physical volume on lvm and add it that way.


Medical examiner: Kids can survive incredible trauma, but when they crump…they crump quick. Detective1: Crump? Detective2: All the vitals go south all at once.  It's a dialogue from TV drama. I found out what 'crump' means in medical situation. It is a slang medical term indicating that a patient's medical condition is rapidly worsening. (I found it on Urban Dictionary)  But I couldn't find what 'vitals go south' means. Maybe it means 'the pulse is dropping'?  Help me please. :(((


In how many ways can $4$ books be removed from a bookshelf with $15$ books such that no two adjacent books are chosen?

A bookshelf has $15$ books. in how many ways can $4$ books be removed such that no two adjacent books are chosen?    I started to solve the question by saying that the first book can be selected in $15$ ways, the second one can be selected in $13$ ways,the third one in 11 ways and the fourth one in $9$ ways. Total number of ways:$15\times13\times11\times9=19305$. However the correct answer must be $495$. Can you explain why my counting technique is false and provide me with hints about the correct one? Thanks you for your help


Which of the followings is/are the correct usage of the word "lest"? How are these different from each other?   ...hesitant to speak out lest he be fired. ...hesitant to speak out lest he'd be fired. ...hesitant to speak out lest he would/will be fired.   P.S. I took point number 1 as the reference for this question from the definition of lest from the Merriam-Webster Dictionary.


installing linguex into a main tex thesis file

The latex file has problems installing/using the linguex package in a ucla thesis latex template (uclathes) (downloaded from GitHub). I inserted it in a preamble of the mother tex file, but it keeps sending `undefined sequence' errors every time I use it to gloss linguistic examples in the \exig. environment and I don't know how to fix it so that the error stops occurring. What is confusing is that all the examples in \exig. are perfectly printed out when compiled in the pdf despite the fact that they appear labeled as errors in tex document. Here is the (near minimal) code of the main tex file.   \documentclass [PhD] {uclathes} \usepackage{linguex}   \begin {document}   \chapter{Introduction}  \exig. Vazan je zadatak.\\ important be{\sc.prs.3sg} task\\ `A task is important.'   \end {document}


Something is doing 100% I/O during Windows 10 boot

Whenever I boot up Windows 10 something is taking up so much I/O time that I can't do anything for about 10 minutes. So I ran Resource Monitor (via Task Manager) and found that the system is using a very high I/O rate. I can't see which file it is. Note that this happens before I login.  Does anyone have any suggestions?


How to install ia32-libs on 12.04 LTS (32 Bit)

I am trying to install ia32-libs on Ubuntu 12.04 LTS (x86).  I enabled all the repository sources but I'm receiving the error message below:  ~$ sudo apt-get install ia32-libs   Reading package lists... Done   Building dependency tree          Reading state information... Done   Package ia32-libs 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 'ia32-libs' has no installation candidate   output of sudo apt-cache policy ia32-libs    ia32-libs:     Installed: (none)     Candidate: (none)     Version table:     output of cat /etc/apt/sources.list  (removed similar hyperlinks)    deb http://archive.ubuntu.com/ubuntu/ precise restricted main multiverse universe   deb-src archive.ubuntu.com/ubuntu/ precise restricted main multiverse universe #Added by software-properties   deb security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse   deb-src security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse #Added by software-properties   deb archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse   deb-src archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse #Added by software-properties


How much memory would be needed for a Wordpress site with 8.000 hits per day with the occasional spike?

I'm running a Wordpress site with about 8.000 hits per day, which occasionally spikes to 12.000 hits. I'm currently considering a VPS server. My setup is WP with Apache and MySQL.  Can anyone recommend how much memory would be sufficient in this situation?


How to import raster (.asc) data to PostGIS?

I am using Postgres 10.3 / Postgis 2.4.2, and I have thousands of ".asc" files (LiDAR DTM/DSM files) to import to the db. However, the format is something like:  ncols 1000 nrows 1000 xllcorner    297000 yllcorner    519000 cellsize     1 NODATA_value -9999 -3.616 -3.617 -3.618 etc   What is an easy way to import this data into PostgreSQL/PostGis?


How can I elevate nautilus privileges to move or copy a folder as root?

Say I have a folder open in Nautilus that's in my /home/user/temp directory. I'd like to move a folder from there to my /opt directory (it's a program). Is there a way I can elevate the copy command up to a sudo so that I can copy the folder without having to start a new instance of Nautilus from the command line?


I came across a statement that "every countable set is the range of a 1-1 function defined on J" under Definition 2.7 on Page 26 of the book The principles of Mathematic Analysis. So must a countable set be infinite? If no, what does that statement mean? If yes, is a finite set a countable set? Thanks.


Set Image Capture to launch when I connect my mobile

In the past, when I connected my mobile, Image Capture launched. I have an Android device.  At some point, I disabled this feature and now I need to set it back.   Unfortunately, I am not able to find how to do it.   I am on El Capitan 10.11.5  I have checked Photos but couldn't see any settings to change the default app.  So, what happens now is that I connect the device, I launch ImageCapture and it doesn't recognise the mobile.  Does anyone know how to fix this?


Passive voice phrasing of "The bottle contains two liters"

The bottle contains two liters.   How do I convert it to "passive voice"? I think it should be:     Two liters are/is contained in the bottle.   What are your remarks?  Is it possible to make it "passive"?


If we have example.com we would setup things something like this: $ORIGIN example.com. @  1D  IN  SOA ns1.example.com. hostmaster.example.com. (                   2002022401 ; serial                   3H ; refresh                   15 ; retry                   1w ; expire                   3h ; nxdomain ttl                  )           IN  NS     ns1.example.com.           IN  NS     ns2.example.com.  since in the parent zone .com. there is already NS record for the example.com. child zone and A glue record for the ns1.example.com. for what purpose do we state NS records again in the child zone? and also, do we need to state A record for the name servers in the child zone itself?


This is probably a question more for unix systems but because i have it on my Mac Pro i hope i will find an answer here :  When i browse to /Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/db/bin  with a cd I can't execute the command startNetworkServer present in bin , instead i can run it via ./startNetworkServer.  However from ~  MacCris:~ cris$ /Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/db/bin/startNetworkServer   it works without ./  Any idea why ? (rights related ?)  Thanks


Length of 1D curves using 2D integration with $\delta$

Let the equation $f(x,y)=0$ describe some simple curve in the $x,y$-plane. I had the expectation that the length of this curve between $x_1$ and $x_2$ could be written as $$ \int_{x_1}^{x_2} dx\int_{-\infty}^\infty dy \delta(f(x,y)),$$ in the sense that the $\delta$ would pick up the points in the curve.  This works for a circumference, $f(x,y)=\sqrt{x^2+y^2}-R$ since $$\int_{-\infty}^{\infty} dx\int_{-\infty}^\infty dy \delta(\sqrt{x^2+y^2}-R)=2\pi \int_0^\infty rdr\delta(r-R)=2\pi R.$$  Does it work in general? The length should be  $$ \int_{x_1}^{x_2} dx \sqrt{1+\left(\frac{dy}{dx}\right)^2},$$  I don't see that this equals my first integral.


Topological/Geometrical justification for $\text{CFT}_2$ being special

It is known as a fact that conformal maps on $\mathbb{R}^n \rightarrow \mathbb{R}^n$ for $n>2$ are rotations, dilations, translations, and special transformations while conformal maps for $n=2$ are from a much wider class of maps, holomorphic/antiholomorphic maps. I was wondering to know if there is any topological or geometrical description for this.   To show what I mean, consider this example: in $\mathbb{R}^n$ for $n>2$ interchanging particles can only change the wave function to itself or its minus. It is related to the fundamental group of $\mathbb{R}^n-x_0$ ($x_0$ is a point in $\mathbb{R}^n$ and $\pi_1(\mathbb{R}^n-\{x_0\})=e$ for $n>2$) but this is not true for $n=2$.   I want to know whether exists any topological invariant or just any geometrical explanation that is related to the fact that I mentioned about conformal maps on $\mathbb{R}^n$.


What's the difference between $\blacksquare$ and $\Box$ in the end of a proof? I've seen both and I never got the difference.


Was Dumbledore aware that Professor Snape took points from Harry/Gryffindor unfairly?

In many situations, we see Professor Snape behave in an unfair manner.   Snape unfairly and arbitrarily takes house points away from Harry/Gryffindors.  Was Dumbledore aware of this and, if so, did he just not care, or did he support this to somehow help Snape's double agent role?


An .mov video that is upside down in Windows appears right side up in OSX

I have an MacBookPro with Windows installed via BootCamp.  I copied a video off the iPhone and saved it on the windows partition.  The thumbnail of the video looks upside down.  When I play it in Windows Media Player or VLC, the video looks upside down.  When I play it in the QuickTime player (still on Windows), it looks right side up.  I then boot into MacOS.  The thumbnail looks right side up and when I play it it looks right side up.  So what is going on - which app/os is telling me the truth?  I want to make sure because I want to upload it to youTube and the file is huge, so don't feel like wasting time/bandwidth.  P.S. EDIT: Just like a couple of folks pointed out - some programs are ignoring the orientation tag.  I tried it on Windows 8 and all programs seem to respect the tag (including Windows Media Player and Movie Maker and Video applet in Metro screen). So good progress.


"Get Started" button doesn't work on careers.stackexchange site

I am trying to register my account on careers.stackexchange.com, but when I fill in all fields on the "Fill out your profile" and I click "Get Started", it fails with no error message (it stays on the same screen). Tried with IE and Chrome: same thing.   Is it a test I have to pass to get hired? ;)


Open HTML file with Google Chrome using command-line

In default installation of macOS, Python and Bash are installed in /usr/bin and /bin directories respectively.  $ which python /usr/bin/python  $ which bash /bin/bash   So it's appropriate files can be opened using the command-line as:  python foo.py   Along similar lines, I want the ability to open an HTML file with Google Chrome using the command-line as:  $ chrome foo.html   But I get the following output:  bash: chrome: command not found   An alternate way to achieve the desired workflow is make Google Chrome as the default browser and execute the following command:  open foo.html   How do I achieve the former workflow?


QGIS 3.10.1 and 3.6 don't pull to front when clicked on taskbar?

There's a similar question already (), but it's been left unanswered and I don't have enough reputation to add a bounty, so please don't yell at me.   Like others in the linked thread, I think it's possible that it started after running OSGeo4W. I tried installing different versions (same result), through OSGeo4W and by using standalone installers. I got rid of OSGeo4W off my disc (just the main file), but it didn't do anything. There's also this cmake file that's included in every version and OSGeo4W? The only version that works fine on my laptop (3.2, installed long before that) does not have that file, so I removed it from 3.10.1 but it didn't help.   It's extremely annoying to have to minimise windows all the time.


I am having intel centrino wireless n 2230 card which i have trying to install through iwlwifi*.tar and then copying .ucode to firmware and then running modprobe twice but it wasnt available even i rfkill unblock all or by making ifconfig wlan0 up, pressing the wifi buttons etc it didnt work. I also updated the compat-wireless drivers but still all in vain... i also rebooted my pc for the above to work but it didnt.... i have been doing this for the last many days but i m not able to make my wifi work.... i m using hp pavillion m6, which is having intel centrino n-2230 wireless card. If anyone can help please do email me. Thankyou.


Are there any expressions that describe going from a bad to a worse situation?

Are there idioms or expressions in English that describe going from one bad situation to one that's even worse?  I heard "between a rock and hard place" but this describes a dilemma not really a transition. I am looking for an expression that describes someone trying to get out of a bad situation but after much effort, the situation only got worse.


When a question is nested within a question: two question marks?

If you have two questions, one embedded in the other, should there be a single, final question mark covering both the main question and the nested one, or one for each?   Here is an example:     A) Does anyone know the answer (or can anyone explain?) if there should be one or two question marks in this sentence?   Here is another example just to clarify:     B) Does anyone know the answer (or does anyone not know?)?    I am mainly concerned with the embedded question coming at the end of sentence like this: ...(...?)?   That looks really odd to me. It doesn't seem right; however, I feel that it looks fine if I have the nested question in the middle of the sentence, i.e. of the form:     C) Does anyone know the answer (or does anyone not know?) to this question?   The punctuation in C looks correct to me, if I take the first question mark out then it looks looks wrong, but it seems that B and C are exactly, but for the position of the parentheses, the equivalent of each other.  P.S. One last point, are single and double quotation marks considered to be parentheses?


Is there an asymmetric encryption that works in a reverse way of RSA (encrypt using private key and decrypt using public key)?

I'm writing a program that needs to receive an encrypted message from the server and decrypt it on the client.   The problem in this case, is to prevent the client from being able to re-transmit messages encrypted with same key. RSA is designed to use the public key for encryption and private key for decryption. So if a client can decrypt a message (using private key), the client is also able to encrypt another message using it.  I know that it is possible to sign a hashed message using private key and then verify it using public key. But my scenario is not a digital signature problem. I just need a "read only" encryption.   Is it possible to do this using RSA or any other asymmetric encryption algorithm?  UPDATE:  I know that RSA cannot encrypt data longer than it's key size and this is the reason for hashing data to a fixed length data. My supplemental question is: Can we convert a long message to a few small and fixed length blocks and use the same algorithm used in signing and verification to do encryption and decryption?


What happens at the molecular level when a spring is being extended?

To my knowledge, at the point when a spring is being extended until the bottom of it is stationary, the electrostatic forces of attraction between the molecules in the spring balance out with the external force exerted on the spring. However, when extending a spring, wouldn't the molecules in the spring simultaneously exert attractions to the end that's being extended? Thus, wouldn't this attraction balance out the applied force and keep the spring unable to be extended at all?


Can we characterize the Möbius transformations that maps the unit disk into itself?

The Möbius transformations are the maps of the form $$ f(z)= \frac{az+b}{cz+d}.$$ Can we characterize the Möbius transformations that map the unit disk   $$\{z\in \mathbb C: |z| <1\}$$  into itself?


This will illustrate the meaning. How I get all xlabels on a baseline?  \documentclass{standalone}  \pgfplotsset{compat=1.12}  \begin{document} \begin{tikzpicture} \begin{axis}[domain=-0.1:0.1,yticklabel style={scaled ticks=false,                              /pgf/number format/fixed,                              /pgf/number format/precision=3}, yticklabel={% \pgfmathprintnumberto[verbatim,fixed,precision=3]{\tick\possiblytrimmedtick% \pgfmathparse{\possiblytrimmedtick == \tick ? int(1):int(0)}% \ifnum\pgfmathresult>0\relax$\tick$\else\fi% } ] \addplot+ { x^3 }; \end{axis} \end{tikzpicture} \end{document}   Many thanks. JT


Can you cast a spell and use the attack action in the same turn?

Like with a fighter at level 20, you have 3 extra attacks. Can you cast a spell, such as firebolt, and also attack in the same turn?


I have a series of numbers whose Nth term is a number whose all of the digits are even. The series is of course divergent , but i am interested in finding a formula to find the Nth term of this series.The beginning terms of the series is as follows:- 2,4,6,8,20,22,24,26,28,40,....  We can see that each of the numbers in the above series consists of digits that are all even numbers. Can anyone please help me in finding the Nth term of this series.


What size wire for 100 amp sub-panel from a 200amp main panel?

I want to add a 100 amp sub-panel from a 200 amp main in an attached garage. It will be about 100 feet from sub to main. What gauge wire should I use? The sub panel is to hook up a 7.5 horse air compressor and a welder.


Modifying Cantor's Diagonal Argument for Natural Numbers

I've been struggling with Cantor's Diagonal Argument, and reading the questions of many others which do not quite address my concerns.  My concern has to do with with the non-terminating nature of Cantor's construction.  Maybe the most clear way to solicit feedback about this concern is to propose a similar argument that relies on a non-terminating construction for the natural numbers, and ask what is wrong with it (and if it's not obvious, why this is not also a problem in Cantor's construction)?   Suppose you have a countably infinite list of all natural numbers. Add up all of the numbers in this list to calculate the sum x. Contradiction: x is a natural number (the sum of other natural numbers) which should be in the list, but it is bigger than every element in the list based on its construction.   Step 2 seems problematic to me in that it's just not possible to add up all of the natural numbers. But it seems like Cantor's Diagonalization argument relies on a similarly problematic construction that never ends.  Otherwise, you could use his construction as a kind of generator to enumerate irrational numbers that would at least pass a specific diagonalization test... but I'm probably getting ahead of myself.  I guess my primary question is about why this kind of never ending construction is OK for Cantor to use, but not OK to use in my example above.  Thanks in advance for any thoughts or references in the direction of sorting out this confusion!   Update: I do understand the deficiency in the proposal asked about here .  My question is instead about the reasonableness of basing a construction on the contents of a infinite list.


Why isn't the symmetric twin paradox a paradox?

Two twin sisters synchronize their watches and simultaneously (from the earth frame) depart earth in different directions. Following a predetermined flight plan, each sister accelerates identically to 99.9%c and then returns home at the same time (again in the earth frame). The observers on earth see each twin as having aged identically, as the symmetry of the problem dictates. Each twin however should see the other as having aged... What gives?


Suppose $S_1 =\{ u_1 , u_2 \}$ and $S_2 = \{ v_1 , v_2 \}$ are each independent sets of vectors in an n-dimensional vector space V..

Let us assume that every vector in S_2 is a linear combination of vectors in S_1.  Question: Does that mean that S_1 and S_2 are bases for the same subspace of V?  I know that the answer to this question is yes, the subspace spanned by both S_1 and S_2 are the same, but how do i show that?


Why does the buffer take up whole screen?

I am trying to create buffers around the Hurricane Sandy path I created in QGIS (points are lat/long).   I have both points from each day she was tracted and the line I created from it with Points2One.   When I go to make buffers around either the line or the points, the buffer takes up the whole screen. Its all just one color.   I have made buffers before but from data I did not create.   Right now all of my projections are set to WGS 84 EPSG 4326.


Disclaimer: Please read complete question before marking duplicate.  I am thinking to setup a server on our college's internal network, which can host some very common apt-get packages. As there are many Ubuntu users in my college, it would save us and even other Ubuntu servers some bandwith.  What I want is that I setup a server similar to those listed in the "Download From" in the software sources. If a person tries apt-get install , Ubuntu should go to my personal server, if it finds the package there, fetch from there else go to some alternate server.  Is it possible? And how can I go about this?  Thank You


Can you prove that $\lim_{n \to -\infty}{ne^n} = 0$?

Is it possible to show that $\lim_{n \to -\infty}{n^ke^n} = 0$, $k \in \mathbb{N}$? I tried to prove this by induction but my attempt failed.


Can Silent Gravestone prevent someone from casting an Aftermath spell from the graveyard?

A player has  on the battlefield and the opponent has  in their graveyard, where Memory has Aftermath. Can they cast Memory and would it have its effect on the player with Silent Gravestone?  I don't see Memory targeting anything and couldn't find rules saying aftermath requires you to cast target card from the graveyard.


Get XY in different projection without changing data frame using python addin

I been searching for a way to use this  tool but print the XY in different coordinate system like WGS 1984 (decimal degrees). I want to do this without changing my data frame and keep it in its original stateplane system. I have created a python addin to display the coordinates in DD but this required the data frame to convert to WGS 84 and back again to its original projection (stateplane). This option does work but cannot be used when editing because it locks the mxd. So what is the python code to find the XY in DD from the mouse click regardless of what projection the data frame is set?     here is what i have so far:  class Sel_Property(object):     """Implementation for Notifications_addin.selectproperty (Tool)"""     def __init__(self):         self.enabled = True         self.shape =3     def onMouseDownMap(self, x, y, button, shift):         mxd = arcpy.mapping.MapDocument("Current")         dataframe_string = mxd.activeView         dataframe= arcpy.mapping.ListDataFrames(mxd,dataframe_string)[0]         oldspatialref = dataframe.spatialReference         spatialref = arcpy.SpatialReference(4326)         dataframe.spatialReference = spatialref         dataframe.spatialReference = oldspatialref         pythonaddins.MessageBox("Your mouse clicked at " + str(x) + " , " + str(y),"My Coordinates:")   Here is the new code if anyone is interested.      mxd = arcpy.mapping.MapDocument("CURRENT")     pt = arcpy.PointGeometry(arcpy.Point(x, y), mxd.activeDataFrame.spatialReference)     Point = pt.projectAs(arcpy.SpatialReference(4326))     partObj = Point.getPart(0)     partObj.X     partObj.Y     pythonaddins.MessageBox("Your mouse clicked at " + str(partObj.X) + " , " + str(partObj.Y),"My Coordinates:")


Files behavior with respect to a secondary hard drive

By "Files", I mean the program Files.  I store the vast majority of my documents on a second hard drive. Suppose I have Files opened up to my documents in this hard drive, except the window is buried below some other ones. On the left panel of icons, I can see an arrow indicating that Files is open. However clicking on the Files icon, instead of taking me to my already open Files window, it instead launches a new one opening to my home folder. This means that I either renavigate to my secondary hard drive, or I have to move/minimize various windows to dig out my already opened Files window.  This behavior does not occur when Files is opened up to something on my primary hard drive (where Ubuntu is installed). Here when I click on the Files icon, it brings up the already opened window.  Is this a known bug? A known feature? I've had trouble searching to see if others have asked about this, and I think that's mostly due to the name "Files".


Why an object with a velocity of 11.2 km/s only enter space?

Can someone explain me what is escape velocity? why cant a bird with enough energy (super bird) fly into space?


How can I find an example to illustrate that the lower box dimension may not be finitely stable?

Here the lower box dimension and the upper box dimension are exactly what Falconer talks about in his book "Fractal Geometry". I already know that the upper box dimension is finitely stable since $N_\delta(A\cup B)\le N_\delta (A)+N_\delta(B)$, where $N_\delta(A)$ is defined as usual, and Falconer gives an example to show the box dimension may not be countably stable. (We know that, however, the Hausdorff dimension is countably stable).  But now I want to find the example to show the lower box dimension may not even be finitely stable.It seems that we can use von Koch curve to illustrate this, but what is the explicit explanation for this? Since the lower box dimension is monotonic, we need to find set A and B and show that   $\underline{\dim}_B(A\cup B)>\max\{\underline{\dim}_B(A),\underline{\dim}_B(B)\}$.


Yesterday ArcMap crashed and corrupted the toolbar layout of a map I used as model.    No TOC, the Menu bar is on the left, ... Nothing dramatic, so I replaced them to something that is more of my liking:    I saved, closed my map (to save the display in my Normal.mxt) and reopened the map. I was back at its corrupted "look"!  I deleted my Normal.mxt template. Open ArcMap, and it was ok. I added the toolbars I use the most, saved it and made a copy of my Normal.mxt.  If I open an new map, the display is fine. If I try to open any existing map (even one created a couple months ago), the display is "re-corrupted" but I know I was fine in that document.   I used a script to create 45 maps from the model mentioned earlier, so I expect to them to have the corrupted layout (didn't notice this before creating them). But I don't want to have to replace all my toolbars everytime I open a map I created before.  Never had that behavior before.  I look like it's the same question as , but I didn't find an answer there for me.


Is $\mathbb{R}$ a subset of $\mathbb{R}^2$?

Is it correct to say that $\mathbb{R}$ is a subset of $\mathbb{R}^2$? Or, put more generally, given $n,m\in\mathbb{N}$, $n<m$, is $\mathbb{R}^n$ a subset of $\mathbb{R}^m$?  Also, strictly related to that: what is then the "relationship" between the set $\{(x,0)\in\mathbb{R}^2,x\in\mathbb{R}\}\subset\mathbb{R}^2$ and $\mathbb{R}$? Do they coincide (I would say no)? As vector spaces, do they have the same dimension (I would say yes)?  If you could give me a reference book for this kind of stuff, I would really appreciate it.  Thank you very much in advance.  (Please correct the tags if they are not appropriate)


How to have 3d multiple planet gravity in unity c#?

Im using unity and I want to make a game where you can walk around small planets and the further away you get, the weaker the gravity, so you can go to other planets. All the tutorials so far only work with one planet, how do I code this? Is there anything I can download that does it for me?


cosine of angle between random variables is equal to the correlation coefficient?

I have seen this said multiple times where (1) the cosine of the angle between the random variables (on a vector space) is equal to the correlation coefficient, and (2) the claim if random variables are orthogonal then their correlation coefficient is zero. I don't think (1) is true unless the random variables are centered? Is (2) true even without centering?


Its about Finding the values of (A) for which the system has no solution, infinitely many solutions, and a unique solution in linear Algebra

I really couldn't find the answer no matter how i tried Plz Help when I tried to solve it i got a really big numbers like a^6 ..etc'  Okay what I did with this question is solving it by reducing the matrix to row echelon form, because that is the required way to solve it,but I didn't get any luck in that


Find the center of the group  $\operatorname{GL}(n,\mathbb R)$ of invertible $n \times n$ matrices.  Please can someone please help me? I know that by definition the center $Z$ of a group $G$ is defined by $Z(G) = \{g \in G\ |\ ag = ga ,\, \forall a \in G\}$.  I know that the identity matrix commutes with any matrix. I also notice by computing several matrix products that if we have a matrix with a main diagonal and all other entries are zero, then the given matrix commutes. In addition, I know that the determinant cannot be zero since zero times another matrix will only be zero. Please I would really appreciate the help. Thank you.


Can I use lenses for a Pentax K1000 manual camera on a new Pentax DSLR?

I have several lenses for my old Pentax K1000 35 MM camera.  I want to get a SLR body can I use these lenses on a Pentax DSLR? If so what model?  I do not want to go to the expense of buying a new camera and lenses as I like these lenses.


can acid spell be used against a lock or barrier

If you have a spell or ability that produces acid. Examples would be Acid Splash, or a Dragonborn's Breath Weapon in acid form. Could these be used against locks or other barriers such as doors, chained gates, metal bars, etc?


I would like to know how to prove that $$\prod_{r=1}^{(n-1)/2} 2\cos\frac{\pi r}{n}=1~~~~~\text{where $n$ is odd}$$ I have tried induction and using trigonometric identities to attempt to transform the product into something more helpful, but nothing has worked. It may be more helpful to think of the product as $$\prod_{r=1}^{n} 2\cos\frac{\pi r}{2n+1}=1$$ Many thansk for your help.


OS X El-Capitan - /cores directory taking up a lot of space?

Im using a program called Daisy Disk to see what is taking up space in my Mac and I find that the /cores directory is taking up 77gb.   Is that a problem? Can I get rid of it to regain the space?


String not evaluated correctly in my program

I'm new to JAVA programming and right now I'm facing a strange case. I set the confirmation variable to the type of String , it will hold the user input. When the user type "yes" The program should create a new user, but it didn't . Instead, it rise the false alarm "Process is canceled by user". It seems the convirmation variable didn't evaluated correctly. Any advice guys. thanks.  This is my code (it's pretty simple though):  import java.util.Scanner;  public class CreateUser {     public static void main(String[] args)     {         Scanner input = new Scanner(System.in);         String firstName;         String lastName;         String confirmation;          System.out.println("Create new user");         System.out.print("Enter first name : ");         firstName = input.nextLine();         System.out.print("Enter last name : ");         lastName = input.nextLine();          System.out.println("Are you sure?");         confirmation = input.nextLine();          System.out.println(confirmation); // this line is to make sure that the variable value is "yes"          if(confirmation == "yes")         {             Users newUser = new Users(firstName, lastName);             System.out.printf("User %s %s has been created\n", firstName, lastName);             System.out.println("Total active users now is :"+Users.getRegisteredUsers());         }         else         {             System.out.println("Process is canceled by user");         }          input.close();      } }   And this is the output :  Create new user Enter first name : fin Enter last name : fin Are you sure? yes yes Process is canceled by user


How do I create a file and mount it as a filesystem?

How do I create a file of size 10M, format it with ext3 filesystem and then mount it in /media/fuse?  I tried with  mkfs -t ext3 file   then to mount it  mount -t ext3 file /media/fuse   It didn't work because it said that file wasn't a block device. Can anybody help me?


Prove $XX^T$ and $X^T X$ have same eigenvalues with same multiplicity

Same eigenvalues can be shown easily $XX'v=\lambda v \implies X'X(X'v)=\lambda (X'v)$ and similarly for $XX'$ case.   But it is hard to see immediately how engienspace of each $\lambda $have same dimensionality for $XX', X'X$.   I know this is true from SVD but I don't want to use it here because I look forward to proving SVD using this as a corollary.


Is there a way to embed a browser in Java? more specifically, is there a library that can emulate a browser?


Grep word within a file then copy the file

I have a collection of files ( *.zip, *.txt, *.tar.gz, *.doc, ...etc ). These files  reside within a path. I want to find all the files ( *.txt), then copy, only, the text files that contain specific words ( e.g LINUX/UNIX).  I ran the following:  find . -name "*.txt" | grep 'LINUX/UNIX'   This command was able to find all the text files, then "grep" filtered the resultant text files by listing only the text files that contain 'LINUX/UNIX'.   How can I copy these final files (i.e. the text files that contain 'LINUX/UNIX') to a specific path of choice?  I tried to apply xargs  find . -name "*.txt" | grep 'LINUX/UNIX' | xargs cp <to a path>   But it didn't work


Use ArcPy to set vertical coordinate system

I'm trying to automate a process where a new geodatabase is created and includes a series of point feature classes that show survey points for drilled wells.   Now, I have managed to set the horizontal coordinate system and put all the data into the appropriate fields including the x,y and z coordinates, but I cannot for the life of me figure out how to set the vertical datum. I need to do this so that wells with elevation values above/below sea level can be directly compared to one-another.  To set the horizontal coordinate system I have:  in_dataset = fc  # get the coordinate system from the proper parameter hzCoords = parameters[13].valueAsText  # run the tool arcpy.DefineProjection_management(in_dataset, hzCoords)   Where do I go from here to set the vertical datum? I'd even be happy setting the vertical datum as a standard as all the data that could possibly be used will be in the same vertical datum.  Edit: This is not a duplicate question, the answer provided in the "duplicate" doesn't work for me.


Differentiability and Limits of derivative

My textbook states that if a function $f(x)$ is right continuous at $x = a$ and if right hand limit of $f'(x)$ as $x$ tends to $a$ exists, then right hand derivative of $f(x)$ at $x=a$ is equal to that limit Similar thing is said for the left hand derivative with left hand limit. And finally its stated that if $f(x)$ is continuous at $x=a$ and if $\lim\limits_{x\to a} f'(x)$ exists then $f'(a)=\lim\limits_{x\to a} f'(x).$ It's also stated that if the limits do not exist, the function is not necessarily non differentiable at $x=a.$ I'm struggling to make sense of why this shall be true. What does the limits of derivative have to do with the derivative at a point?


Pretty new to Blender, I'm trying to learn how to make a studded wall.  How do I use the array modifier to use imperial units? For example, I would like to create a stud, and have them spaced 16 inches on center a set distance.  Thank you much!  Sorry if this is a duplicate, I asked this question yesterday but it was closed, so I'm asking again.


Are there any integers $n$ such that $\sigma_0(n) = n$?

Where $\sigma_0(n)$ is the divisor function, are there any integers $n$ such that $\sigma_0(n) = n$? I already know that $n=1, 2$ work, but are there any others?


Is there i.i.d. assumption on logistic regression?

Is there i.i.d. assumption on the response variable of logistic regression?  For example, suppose we have $1000$ data points. It seems the response $Y_i$ is coming from a Bernoulli distribution with $p_i=\text{logit}^{-1}(\beta_0+\beta_1 x_i)$. Therefore, we should have $1000$ Bernoulli distributions, with different parameter $p$.  So, they are "independent", but are not "identical".  Am I right?    PS. I learned logistic regression from "machine learning" literature, where we optimize the objective function and check if it is good in testing data, without talking too much about assumptions.   My question started with this post  Where I try to learn more on statistical assumptions.


Can I use a USB as a hard drive for Xbox 360?

I'm trying to install Destiny the Taken King but it says I have to have an Xbox 360 hard drive.   I don't want to buy one and I need to know if I can format a USB flash drive or do something with a USB to make it act like a hard drive.


Edit and Ask profiles in reverse order on web vs app

I am a regular use of SE both on the web and on iOS App.  I find it confusing that when reading a question on the web the asker's profile is on the right and the editor's profile is on the left while unexpectedly (to me at least) in the iOS App (and I'm guessing the Android one) the positions of these profile boxes are reversed.  I am alway mistaking the the editor for the asker on iOS.  Some annotated screenshots to illustrate my point:  Asker only on web... flush right.  Nice!   Asker only on iOS... flush left.  Nice!   Ask and edit on web... edit added to the left.  OK.   Ask and edit on iOS... edit added to the right.  Yuck.  This reverses the position on the web and confuses AllInOne.


I am getting the null object reference of action bar while calling the setTitle function. This is my code  import android.app.ActionBar; import android.app.Activity; import android.os.Bundle;  import com.example.transport.transport.R;  public class registration extends Activity {      ActionBar actionbar=getActionBar();      @Override      protected void onCreate(Bundle savedInstanceState) {           super.onCreate(savedInstanceState);           setContentView(R.layout.registrationpage);           actionbar.setTitle("ramkumar");      } }


Is there a Riemann hypothesis for the Hasse-Weil zeta function, generally?

What form does the Riemann hypothesis have for a global L-function?


Any ideas on how to model and animation a whirlpool

Does anyone have a good way of modelling a water vortex? I watched this video and I think its great: . If I could, I'd add an ocean displacement modifier to give a bigger scene to animate on. Problem is I'm not sure what values or maps he used in his modifiers. Any ideas?


Is there an elegant proof of the existence of Majorana spinors?

Almost all standard sources on the existence of Majorana spinors (e.g. Appendix B.1 to Polchinski's "String Theory", Vol. 2) do so in a way I consider inherently ugly:   A priori, we are dealing with an irreducible complex representation $(V,\rho)$ of the Clifford algebra of signature $(p,q)$, i.e. generalized Dirac spinors. That Majorana spinors exist means abstractly that there is a  on $V$, i.e. a conjugate-linear map $\phi : V\to V$ with $\phi^2 = \mathrm{id}_V$ that commutes at least with the $\mathfrak{so}(p,q)$ action.  Every single source I can find for Majorana spinors uses operations like the transpose, complex conjugation and Hermitian adjoint on the $\Gamma$-matrices to obtain matrices acting on the same space. This is abstractly wrong, the transpose acts on the dual, the complex conjugation on the conjugate, and the Hermitian adjoint needs an inner product we have no reason for choosing. Of course, since $V$ is finite-dimensional, one can pick a basis and define the uncanonical isomorphisms to its dual and its conjugate, but I find this inelegant, particularly since the standard derivations require us to make a particular such choice with respect to the signs the $\Gamma$-matrices have under e.g. ${}^\dagger$. Finally, the Majorana spinors are usually defined by some equation involving an unnatural and arbitrary-looking product of $\Gamma$-matrices, which varies from source to source according to different sign conventions and sign choices made in the course of the derivation.  It's inelegant because the rest of the theory of spinors can be developed without making such uncanonical choices. Both the uniqueness of the dimension of the irreducible Dirac representations (there are two of them in odd dimensions) and the existence of the Weyl spinors in even dimensions can be derived purely from the abstract properties of the Clifford algebra, no choices made, no transpose, adjoint or conjugate occuring. The (admittedly slightly subjective question) is: Is there a way to show in which dimensions Majorana spinors exist that neither requires an uncanonical choice of basis nor arbitrary choices of signs?  Some partial results:   In even dimensions, the Dirac representation is necessarily self-conjugate since it is the only irreducible representation of the Clifford algebra, so all that is left to show is that a conjugate-linear $\mathfrak{so}$-equivariant map on it squares to $\mathrm{id}_V$ and not to $-\mathrm{id}_V$. However, I can't seem to exhibit any particular equivariant map on it that one could simply check for its square. In odd dimensions, one first needs to figure out whether the two inequivalent Dirac representations are conjugate to each other or self-conjugate.     As further motivation that a clear proof using only canonical properties of the Clifford algebra itself is required, consider the confusing and contradictory claims in the literature:   Polchinski, "String Theory", Vol. 2, p.434: $\mathrm{SO}(d-1,1)$ has Majoranas for $d = 0,1,2,3,4 \mod 8$, corresponding to a special case of $p-q = d-1-1 = 6,7,0,1,2 \mod 8$. Fecko, "Differential Geometry and Lie Groups for Physicists", pp. 651: $\mathrm{Cliff}(p,q)$ has Majoranas for $p-q = 0,2\mod 8$.  This clearly conflicts with Polchinski's claims e.g. for $d=3$. Figueroa-O'Farrill, , pp. 18: We have Majoranas for $p-q = 0,6,7\mod 8$ and "symplectic Majoranas" for $p-q = 2,3,4\mod 8$.   Note that these results conflict simply by the number of possible $p-q$ regardless of whether I've correctly taken care of the differing conventions of whether $p$ or $q$ denotes timelike dimensions.


Extending Ubuntu partiton on a windows dual boot

I'm running out of space on my ubuntu partiton so i want to increase it by taking some space out of the windows side. My gparted looks like this with the largest rectangle being the windows side:  Could someone offer a step by step solution to this. I know almost nothing concerning this topic. I know there are other similar posts but the gparted window is almost always just slightly different from mine so I was afraid of following it. I don't want to accidentally break something. Thanks for the help!


What does "" exactly mean in "echo  temp.txt"?

Non existing file  $ ls file_not_exists.txt ls: cannot access file_not_exists.txt: No such file or directory $ echo <> file_not_exists.txt  $ ls file_not_exists.txt  file_not_exists.txt $ cat file_not_exists.txt $   File with content  $ cat temp.txt  asdf $ echo temp.txt  temp.txt $ echo <> temp.txt   $ cat temp.txt  asdf    If the file does not exist, echo <> file_not_exists.txt will create a new file. So I think > works (redirecting the empty output into a newly created file). But if there is something in the file (like temp.txt), why it is not emptied by echo <> temp.txt?


Establish that 7 is a primitive root of any prime of the form $p = 2^{4n} + 1$.  [Hint: Because $p ≡ 3$ or $5 \ (mod \ 7)$, $(7/p) = (p/7)=-1$].  I get that $p ≡ 2, 3, 5 \ (mod \ 7)$. Not only 3,5. How should i think?


"There are Mary and Nat" "There's Mary and Nat"  Which sentence is correct and why? Thanks in advance!


Question is to check if : $\sum_{n=1}^{\infty}\frac{(\log\log2)^n}{n!}>\frac{3}{5}$   the problem is that i am sure that this series$\sum_{n=1}^{\infty}\frac{(\log\log2)^n}{n!}$ is convergent (if it is not then i would be very happy as i will then be done.)  I would be thankful if someone can help me out with solving this.


Windows7: Changing Backshift Shortcut in Explorer back to upwards?

In XP i used backshift for going one folder upwards. In Win7 they changed that to Alt+ArrowUp and backshift means now go back in folder history.  Is there some way to use good old backshift for going upwards?  I don't need the back functionality..


Are prepositional verbs a sub-classification of phrasal verbs or considered a totally separate category?

In researching the classification of verbs that are accompanied by other words that may be adverbs or prepositions it seems like some sources favor prepositional verbs as a sub-category and others separating these two separate categories; where phrasal verbs are accompanied by adverbs and prepositional verbs are only accompanied by prepositions. Further, it seems that neither of these includes verb constructs that are used to form infinitives, as in "it is going to be sunny on Saturday?" Is that correct?


I am new to Android programming. I intend to make a shopping List using a ListView such that the user can strike through items on the list that he has bought. it should be such that   List is made. He can strike through items bought. He can add items using the EditText and the Add button at the bottom of the layout. List is rendered after adding items like on point 3 with the stroke through items maintained.   On starting I click for many of the initial items I added in my program to have a stroke through  and then I start adding items, I get an unexpected behaviour in the List. Some of the newly added items get a stroke through after I click ADD right from the outset when I havent even clicked for them to have a stroke through. Some of them dont. I dont understand this behaviour. Is it because of some property of ListView?   ArrayList<String> shoppingList = new ArrayList<>();;     ArrayList<String> strikeThroughList = null;     ArrayList<String> strikeThroughText = null;     ArrayAdapter<String> adapter = null;     ListView lv = null;     Button addBtn=null;     EditText addEdtTxt=null;      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);         addBtn=findViewById(R.id.addBtn);         addBtn.setOnClickListener(this::btnClick);           //shoppingList = new ArrayList<>();         strikeThroughList = new ArrayList<>();         strikeThroughText= new ArrayList<>();           //One way to populate List         Collections.addAll(shoppingList, "Eggs", "Yogurt", "Milk", "Bananas", "Apples", "Tide with bleach", "Cascade");         adapter = new ArrayAdapter(this, android.R.layout.simple_list_item_1, shoppingList);         lv = (ListView) findViewById(R.id.listView);         lv.setAdapter(adapter);         lv.setOnItemClickListener(this);     }      @Override     public boolean onCreateOptionsMenu(Menu menu) {           getMenuInflater().inflate(R.menu.mnu,menu);         return super.onCreateOptionsMenu(menu);     }      @Override     public boolean onOptionsItemSelected(MenuItem item) {          int id=item.getItemId();          if(id==R.id.clrList)                  {                      shoppingList.clear();                     lv.setAdapter(adapter);                      }           return super.onOptionsItemSelected(item);     }      public void btnClick(View view) {                         if(view.getId()==R.id.addBtn){ addEdtTxt=findViewById(R.id.addEdtTxt);                              adapter.add(addEdtTxt.getText().toString());                               adapter.notifyDataSetChanged();                         }                         }      @Override    public void onItemClick(AdapterView<?> adapterView, View view, int position, long l) {          TextView text = (TextView) view;         text.setPaintFlags(text.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);           }


What is the workaround for the missing C# generic wildcards

In Java I can declare a method like: public boolean doSth(Cache<?> cache, CacheItem item){...}  public interface Cache<T> {     public boolean Contains(T item); }  public class CacheFilePath implements Cache<FilePathItem> {     @Override     public boolean Contains(FilePathItem item) {         return false; // TODO     } }  public class ItemHandler {      public boolean doSth(Cache<?> cache, CacheItem item){         if(cache instanceof CacheHostName && item instanceof HostNameItem){             CacheHostName c = (CacheHostName) cache;             HostNameItem i = (HostNameItem) item;             return check(c, i);         }         else if(cache instanceof CacheFilePath && item instanceof FilePathItem){             CacheFilePath c = (CacheFilePath) cache;             FilePathItem i = (FilePathItem) item;             return check(c, i);         }         throw new RuntimeException("Invalid arguments  !!!");     }      private boolean check(Cache<HostNameItem> cache, HostNameItem item){         return cache.Contains(item);     }      private boolean check(Cache<FilePathItem> cache, FilePathItem item){         return cache.Contains(item);     } }   How can I declare such a method in C#?


C# Is there a LINQ to HTML, or some other good .Net HTML manipulation API?

I have a C# WPF application that needs to consume data that is exposed on a webpage as a HTML table.    I tried using Linq to Xml to parse the Html document, but this only works if the HTML document is extremely well formed (and doesn't have any comments or HTML entities inside it).  I have managed to get a working solution using this technique, but it is far from ideal.    I am after a solution that is intended for parsing HTML.  I have hacked "solutions" before, but they are brittle.  I am after a robust way of parsing/manipulating the document.  I'd ideally like something that makes the task as easy as it would be from Javascript/JQuery.  Does anyone know of a good .Net library or utility for parsing/manipulating HTML?


How can I increase my disk space when Ubuntu is installed inside Windows?

I have Ubuntu 10.10 installed inside of Windows using . I am running out of space on my Ubuntu disk (currently  405.1 MB free). I have a 180 GB hard drive and when I installed Ubuntu I only allocated 10 GB to it.   How can I resize my disk to give Ubuntu some more space?


how can i take the names of the files that are present in a file and store it in a buffer using java

i have the below files in the folder   DLY-20150721-BOOST_UVERSE-ADJ.xls DLY-20150721-BOOST_UVERSE-ADJ-BOOST-DISCONNECT.txt DLY-20150721-BOOST_UVERSE-ADJ-ERR.txt DLY-20150721-BOOST_UVERSE-ADJ-RR20150721181623+0530.xls DLY-20150721-BOOST_UVERSE-ADJ-BOOST-DISCONNECT-RR20150721181623+0530.txt DLY-20150721-BOOST_UVERSE-ADJ-ERR-RR20150721181623+0530.txt   i'm getting the filename='DLY-20150721-BOOST_UVERSE-ADJ.xls' from a source. so by refering the file name i want to pick the associated .txt file names like   DLY-20150721-BOOST_UVERSE-ADJ-BOOST-DISCONNECT.txt DLY-20150721-BOOST_UVERSE-ADJ-ERR.txt   and store it in a buffer. but i'm not getting any idea how to do.  i hope by using a regex i guess i can pic the files. but how to pic the whole file names and store in buffer ?


I installed GParted to change format of my PD to FAT32. After installation I clicked on its icon and its asking for Authecatation. But, after that GParted is not running.


Mystery WiFi network shows up when laptop is connected

When my laptop, a Dell XPS 15 (9530), is connected to my WiFi network, a new network with the SSID "DIRECT-IE[laptop name]msSP", where "[laptop name]" is replaced with the name of the computer.  Interestingly, this network is on the same channel as the network to which the laptop is connected, and this changes if I change the channel setting on the router.  The effect persists even if the hotspot feature on the laptop is turned off, and only appears when it is connected to a network.  I was wondering whether this is some kind of WiFi Direct feature, but it does not appear when I search for WiFi direct-enabled devices using my smartphone.  UPDATE: In Task Manager, two network connections are shown, one being the normal connection. However, the other, with no activity, is labelled "Microsoft Wi-Fi Direct Virtual Adapter #3", with the SSID listed the same as the aforementioned cryptic network name. It appears Windows thinks it is connected to the network originating from this very computer.


Online bank statement for a UK visit visa

I'm applying for a UK visit visa. I have an account in a UK bank. Should this bank statement be stamped by the bank? And is it accepted as an online paper? Because it takes time to deliver to my country.


Wi-fi internet speed for terminal is slow, internet speed on web browser is fast

I just installed a fresh install of 32-bit 12.04 LTS Pangolin today. When I tried to install a few applications, it was really slow. But when I download a .deb or .tar.gz file from on my web browser, it is a lot faster.  Computer specs:  HP Pavilion Slimline s7700n PC  [Memory]         873.7 MiB  [Processor]      AMD Athlon(tm) 64 X2 Dual Core Provessor 3800+ x 2  [Graphics]       GeForce 6105 LE/integrated/SSE2/3DNOW!  [Disk Size] 638.5 GB  I normally get 200-400 kbps.  This is the comparison.


Is it possible to open a project in Visual Studio 2008 without opening all the files that were previously opened last time I had the project open.  I have a habit of keeping many files open as I am working on them, so next time I open the project, it (very slowly) loads up a bunch of files into the editor that I may not even need open. I have searched through the settings and cannot find anything to stop this behavior.


Say I post an answer on a recently asked question, yet a FGITW scenario means that so do about a half dozen other SO users. My answer might get a handful of upvotes, but ultimately someone else gets the green check. Since all of the answers are roughly saying the same thing, I go ahead and delete my answer since it's not really adding anything to the discussion (and the question's already been answered). My question is: what happens to the rep I got from my upvoted question? Do I still get awarded the points even though my answer no longer exists? Is this by design, or will I lose the points on a rep recalc? I'd rather have SO be less cluttered and am willing to delete redundant answers of mine; I'm just interested in the mechanics of how rep works in a situation like this.


Change running heads in longtable (or other "long table" package)

In a longtable, I list items of several categories, including some data on them.  \documentclass{article}  \usepackage{longtable}  \begin{document}  \begin{longtable}{lll} \hline \textbf{These are some items} & &\\ \hline \endhead \hline \endfoot \textbf{These are items of type A} & \textbf{Size} & \textbf{Price}\\ \hline Item 1 & 3 foot   & 3.56\\ Item 2 & 2 inches & 2.56\\ Item 3 & 5 inches & 1.50\\ \hline \textbf{These are items of type B} & \textbf{Weight} & \textbf{Price}\\ \hline Item A & 3 pounds & 10.50\\ Item B & 5 ounces & 6.95\\ Item C & 1 pound  & 3.00\\ \end{longtable}  \end{document}   What I would like to get is to change the running head whenever a new category is begun, so that if e.g. there is a page break between Item B and Item C, the header on the next line would read the "These are items of type B" line (so the columns are properly labeled).  Can this be done with longtable or any other "long table" package? I couldn't find information on this. (My google-fu is weak today...)


I am designing this logo for my website. It looks great in Illustrator CC but looks pixilated on the site. I want to smooth out the "A" and "W" diagonal vector lines.  I have tried exporting as a PNG Interlaced and using the "Align to the Pixel Grid" option. The image is partially vector lines and partially type. Any tips or suggestions? Thanks in advance.


Alternative definition of limit superior

Is this following characterization true?  Let $x_n\subseteq \mathbb{R}$ a sequence, and define $\limsup_nx_n:=\lim_n\sup_{m\geq n}x_m$. Then $\limsup_n x_n=\max\{L$ such that $L$ is the limit of a converging subsequence$\}$  My try (for $x_n$ bounded): yes, indeed if $x_{n_k}$ is a convergent subsequence we have $\limsup_n x_n=\lim_n \sup_{m\geq n}x_n=\{$ this limit exists, hence it is equal to the limit of any converging subsequence $\}=\lim_k\sup_{m\geq n_k}x_m\geq \lim_k \sup_{l\geq k}x_{n_l}=\lim_kx_{n_k}$. Here, all the sequences inside $\lim$ are converging since monotonous and bounded. Also, from the original definition of $\limsup$ it is clear there is a converging subsequence $x_{n_k}\rightarrow _k \limsup_nx_n$, so that my claim follows. Is this (also?) true for unbounded sequences?


Books or papers recommendation on orbifold and CFT

Could you recommend some references on orbifold CFT?   I have found this paper "The conformal field theory of orbifolds"(1987)() is very useful for me, so I want to know more about early works or reviews related to those topics.


access soft symlink directory's contents in bash

I have a bunch of symlinks pointing to various directories. Each of the target directories happen to have a space in them, I have not created them like that, but they are being received as such via zip files.   This boils down to the following command not working, due to the spaces:  ll $(readlink <symlink name>)   And in general, I am looking for a way to more, tree, ls, and similar commands, using the symlink names such that these bash commands will operate on the target directory of the symlinks. It sounds odd but I failed finding existing answers so I'm not sure this is actually supported in bash.  Is there any elegant way to refer to symlinks in a way that bash would always simply dereference them to their targets, without relying on command-specific flags?


Homomorphisms and automorphisms on polynomial rings

I am trying to prove a series of propositions:  Given any homomorphism p from $\mathbb{R}$[X] to $\mathbb{R}$[X], show that it is equal to $\phi_g$ for a unique g in $\mathbb{R}$[X], with $\phi_g$(f) = f(g(X)). I've expanded the expression $p(f) = p(\sum_{i=0}^n a_iX^i) =\sum_{i=0}^n p(a_i)p(X)^i$ but I'm not sure how to show $p(f) = \sum_{i=0}^n p(a_i)p(X)^i = \sum_{i=0}^n a_ig(X)^i = \phi_g(f)$.  Show that if h,g $\in \mathbb{R}$[X] are such that h(g(X)) = X, then g(X) = aX+b for a $\in$ R$^x$ and b$\in \mathbb{R}$.


I got Ubuntu this morning, and I'm currently running it alongside Windows 10.  I got steam on Ubuntu, and every time I launch it, it blinks a few times on the side bar and disappears. after that.  Please help, I really want Steam on Ubuntu.


How can I get google to recognize my different pages of my website?  Example:   I'm pretty sure it has something to do with my site-map, but how would I create one so that I could name each of those pages?


So Comodo wont work properly so I want to uninstall it. I dont want to install other programs that are not legitiment


Convert string with date & UTC offset to DateTime

I am trying to parse a string "20160918000500 +0200" to DateTime containing offset value "+0200".   I tried the following but it gives invalid DateTime exception.  DateTime dtDateTime = DateTime.Parse("20160918000500 +0200",new CultureInfo("yyyyMMddHHmmss zzz"));   Is there a way to convert the String exactly to Datetime with UTC offset value?


sudo apt-get install codeblocks  Reading package lists... Done Building dependency tree        Reading state information... Done The following packages were automatically installed and are no longer required:    cccc codeblocks-contrib-common codeblocks-libwxcontrib0 cppcheck cscope   libwxsmithlib0 python-pygments valgrind  Use 'sudo apt autoremove' to remove them. Suggested packages:    libwxgtk2.8-dev | libwxgtk3.0-dev wx-common codeblocks-contrib The following NEW packages will be installed:   codeblocks  0 upgraded, 1 newly installed, 0 to remove and 624 not upgraded. Need to get 1,868 kB of archives. After this operation, 6,233 kB of additional disk space will be used.  Err:1 http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu xenial/main amd64 codeblocks amd64 16.01~ubuntu16.04.1   404  Not Found  E: Failed to fetch http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu/pool/main/c/codeblocks/codeblocks_16.01~ubuntu16.04.1_amd64.deb  404  Not Found  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


Why are downvotes automatically removed?

Yesterday I downvoted a question for being unclear. Today I received a notification "Question Undownvoted".  Does the system undownvote questions/answers automatically? Did someone vote it up and was my downvote removed?


Display console on usb screen without X server

I'm running a custom version of raspbian on my raspberry pi, it has no X server running only in text mode with only basic services installed. i got a usb monitor that i want to plug in and use to show the console, i plugged it in it's detected and showing a green screen but i'm not sure what i can do to achieve my goal if that's even possible. Any of you can give some pointers ?  dmesg log:  [ 1606.712232] udlfb: DisplayLink LILLIPUT USB Monitor - serial #70873920033 [ 1606.724237] udlfb: vid_17e9&pid_02a9&rev_0130 driver's dlfb_data struct at b8d6d800 [ 1606.741459] udlfb: console enable=1 [ 1606.749754] udlfb: fb_defio enable=1 [ 1606.757827] udlfb: shadow enable=1 [ 1606.766183] udlfb: vendor descriptor length:17 data:17 5f 01 00 15 05 00 01 03 00 04 [ 1606.782954] udlfb: DL chip limited to 1500000 pixel modes [ 1606.794348] udlfb: allocated 4 65024 byte urbs [ 1606.885797] udlfb: 800x480 @ 59 Hz valid mode [ 1606.894588] udlfb: Reallocating framebuffer. Addresses will change! [ 1606.906132] udlfb: 800x480 @ 59 Hz valid mode [ 1606.914741] udlfb: set_par mode 800x480 [ 1606.927843] udlfb: DisplayLink USB device /dev/fb1 attached. 800x480 resolution. Using 1504K framebuffer memory


MacOX Notes V7 content not retrieved by copying database files -- what else can I do?

tldr: My MacBook Pro (10.13.6) is broken but I can retrieve files. I got the Notes database files from ~/Library/Containers/com.apple.Notes/Data/Notes and moved them into the corresponding location on another Macbook Pro with the same OS. Only 2 of my dozens of notes are available. What else can I do?    I have a 2016 MacBook Pro running 10.13.6. I took dozens of notes with the Notes app. It's never been connected to iCloud, so everything is stored locally. Now my computer is nonfunctional due to what tech support believes to be a permanent hardware failure, but I can still boot into recovery mode and transfer files off. I'd like to retrieve my notes (I thought they were being backed up, but my backup solution wasn't working the way I thought it was).   Following the process from , I went to ~/Library/Containers/com.apple.Notes/Data/Notes which contains the following:  -rw-r--r--@ 1 zipslime  staff   192K Dec 14 11:58 NotesV7.storedata -rw-r--r--@ 1 zipslime  staff    32K Dec 14 22:49 NotesV7.storedata-shm -rw-r--r--@ 1 zipslime  staff   2.7M Dec 15 08:45 NotesV7.storedata-wal   I copied these files and put them on another MacBook Pro that's running the same OS and that never had any notes taken on it. When I opened Notes on that computer, it showed only the demo note that appears on a fresh installation of notes. After a reboot, it started showing two of my old notes, but there's no sign of the rest.   If I manually examine NotesV7.storedata-wal it's mostly human-unreadable but I can see fragments of some of my old notes, including ones that are not appearing in Notes now. Additionally, I know that my notes were accessible up to the moment the original computer kicked the bucket, so I have no reason to believe the content would be corrupted or otherwise irretrievable. Is there anything else I can try?


Prove that for every $a\in A$ $\exists$ $q\in M,s\in A$ s.t. $a=sba+qa$ where $M$ is maximal ideal in $A$.

Let A be a commutative ring with unity ring, M be a maximal ideal and $b\notin M$ . Show that there exists $q \in M, s\in A$ such that for every $a \in A$ we have $a=sba+qa$. Show that this is true only when $M$ is a maximal ideal.   Suppose if we take $A=2\mathbb Z$ and $M=4\mathbb Z$, $a=6.$ Then by the given statement $\exists$ $s\in A$, $q\in M$ s.t. $6=6(2s+q)$ $\implies$$s=\frac{1-q}{2}\implies q \text { is odd}$. But $q \in 4\mathbb Z.$  Please someone give some hints. how can solve this.  Thank you..


Why does C++ allow forward declaration of class but not enums?

I understand that this may be a duplicate question. However, none of the answers to the relevant questions convinced me.  My question is that: why C++ allows forward declaration of class but not enum?  I understand that if you specify the underlying type of the enum or use enum class in C++, you can forward declare enum type. But why does C++ needs to know the size of underlying type?  enum E; void foo(E e); // Error  class C void bar(C c); // Correct, Compiler doesn't know the size of class C either.


how to prove $437\,$ divides $18!+1$? (NBHM 2012)

I was solving some problems and I came across this problem. I didn't understand how to approach this problem. Can we solve this with out actually calculating $18!\,\,?$


Difference between Workflow, Sequential Workflow and State Machine Workflow Templates in Visual Studio 2013 for SharePoint 2013

What is the difference between Workflow, Sequential Workflow and State Machine Workflow Templates in Visual Studio 2013 for SharePoint 2013? This doesn't seem to be clearly documented. Which one allows code? Which can be used only in On-Premise? Which one can be used only in the Cloud? Can anyone explain in layman's terms, the difference between Sequential and State Machine workflows? I am unable to understand it from the MSDN documentation. Can anyone explain it in simple language with some good examples?


What's the reference screen resolutions to start preparing mockups for desktop?

I need to justify my choice of screen resolutions for a PWA desktop app that runs to run on old and newest PCs. So far mockups are preapred for 1440? I don't have specific information which lead to simple decision of downscaling or upscaling. Maybe there is some market standard which i don't know about or some good practices in this topic. Thanks in advance. This is my first topic ever.