Why would I use manual camera controls instead of the automatic modes?

I'm very new to digital photography, so I still haven't gotten the hang of all this exposure and ISO stuff, etc. I have a Canon EOS T3.   My question is how big of a difference does it make using manual settings rather than auto settings for everything? I've taken some pretty nice photos with all auto settings, and I'm not sure if it could have turned out any better using manual settings. I know that there are some people who have been in the game for years upon years, and to them they can notice the difference between photos taken with manual vs auto settings, but for my situation, do you think it really makes a difference? Is my camera smart enough to determine the best settings for me?  Also, lets say manual settings are better (which I'm sure they are, since they give you greater control). How often are you supposed to adjust your settings? Between every shot, considering they are unique shots? Or does it not matter about the object, but rather the lighting environment? So if I'm in a forest at 2:00 PM on a sunny bright day and I take photos for one hour, should I be constantly adjusting my settings between every unique shot to get the best out of it? Or do I usually just find one setting that works for the environment I'm in?


I'll get straight to the point. I recently set up a FileZilla server to get all my files anywhere to watch or access. I have already set up the user and directory I want to access, as well as picking the port. The problem is my NAT router. I have put exceptions in my firewall on both machines for the port I used (7780) and I have set my passive mode to get my external IP from the filezilla site, which I heard is supposed to help me, but I can't connect to the machine using my external or internal IP's (both connected to LAN). I have tried to forward the port to that IP, but I think in doing so I lose the ability to connect within the network because all traffic even going from the machine forwards back to it. Here's What I need to know:    How does the passive mode work? How do I configure the ports to forward to that machine while still being able to connect to my server within my household)?   LOGS:      [  What I see on client computer:


HP DeskJet 2632 printer not working in Ubuntu 20.04.1 LTS

I have a problem with the HP DeskJet 2632 printer It worked fine until I updated the UBUNTU operating system "Ubuntu 20.04.1 LTS", that no longer finds the connection USB or wireless. I downloaded the compressed file "linux-5.9.1.tar.xz" from the site "https://www.kernel.org/" and extracted it, hoping it will help me. How can I install it now? Thank you and greetings Ugo Dentice


I have a folder I want to share with a couple windows users on the network. I am using ubuntu 10.4 When I right click a folder I go to "Sharing Options" There are 3 check boxes. If I check the first 2 which are "share this folder" and "Allow others to create and delete files in this folder" I can now see this folder on the network from my pc. I cannot access it though, it asks for a username and password (I never set one up so I don't even know what credentials it wants.) I don't want to have to log in, I just want to be able to go right in. So If I check the third box, which is "guest access" I can now access the folder from my pc. But so can everyone else on the network. I just want myself and a couple other pc users on the network to be able to access it. I do not see anyplace where I can specify what users on the network have permission to access it? How do I do that?  update When I entered my user name and password for the linux machine, it gave me this error message:  \LINUX-SERVER\saga_repo is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.  I noticed that when type in my username it defaults to @MY-DOMAIN so I also tried myuser@linux-server but still got the same message. Also the domain administrator (who knows nothing about linux) told me that the linux machine is not a part of the domain (even though I can see it when I go to My Network Places from my windows machine). I don't know if that means anything. I also tried created a new user on ubuntu to try to log in with and got the same message. I tried to log in with my user and the new user from a workers machine and I couldn't get in from there either but I just got an "access denied" dialog everytime on his machine. Is there possibly another step I am missing?


How to detect and pass the element when is appear while scroll the page down

on order to save resource on the server I made the image view the same on all posts, and I want to change that image when the div appear to the user while scrolling the page down  to save bandwidth. code:

   my question is how to detect that the div is on view port and passing it to the function which is send request to the server to get that image back .


The swap used reported by free is very high.  [root@rhel6 ~]# free -m              total       used       free     shared    buffers     cached Mem:          9892       9537        354          0         71        884 -/+ buffers/cache:       8581       1310  Swap:          767 1759218592     116869    Like, really high.  [root@bb14 blackboard]# free -g|grep Swap Swap:            0 1717986906        114    Or is it?  [root@bb14 blackboard]# free -h |grep Swap Swap:         767M       767M       114G    Even more strange, even if I disable swap the number still stays high.  [root@rhel6 ~]# swapoff -a [root@rhel6 ~]# free -m              total       used       free     shared    buffers     cached Mem:          9892       9760        131          0         45        638 -/+ buffers/cache:       9076        815  Swap:            0 1759218592     116814    Things don't get any less confusing when checking meminfo, which shows swapfree higher than swaptotal.  [root@rhel6 ~]# cat /proc/meminfo|grep Swap SwapCached:            0 kB SwapTotal:        786428 kB SwapFree:       120404008 kB   Obviously something is wonky and my first instinct is to reboot, but this is a production machine which means maintenance windows, etc, and I'm wondering if there's any way to find out what's wrong and possibly even fix it without downtime.


I'm a math student, at the present time I am studying Theory of representation with the book, Representation Theory of Finite Groups by Benjamin Steinberg, but I have a problem, in my opinion, there are very few problems, apart of demonstrations. Can someone please give me one or more books where I can find some exercises (demonstrations and applications).


Is there a difference between     I didn't use to do that   and     I used to not to do that   For example,      I don't use to read books when I was a child.   Would both be correct? Is the second even correct grammatically?


Create a box using the tcolorbox package or any other? (image)

I would like to make a box like the figure below. Can you assist me with text code using tcolorbox?   Thanks


Installing proftpd - dependency issues (libcrypto.so and libssl.so.10)

I'm trying to install proftpd (for usage with zpanel if that's relevant), but I can't get passed these dependencies issues. I've tried to add a bunch of different packages/repos for yum, but it still produces the exact same error. At first I thought this was an issue with the epel package and system architecture, but the package ends with noarch which means no architecture (?). Anyway, I've been adding and removing packages, and now I just added this:   Same error. Tried to update openssl, even reinstall it - but still it doesn't seem to work. Any ideas what I can do? I've really done my fair share of Googling without any luck.   Iam on CentOS 6.4 final if that's relevant. Here's what happens when I run yum install proftpd:  Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile epel/metalink                                                                                |  25 kB     00:00       * base: n1plmirror01.shr.prod.ams1.secureserver.net  * epel: mirror.muntinternet.net  * extras: n1plmirror01.shr.prod.ams1.secureserver.net  * updates: n1plmirror01.shr.prod.ams1.secureserver.net base                                                                                | 3.7 kB     00:00      extras                                                                                | 3.4 kB     00:00      kbs-CentOS-Extras                                                                                | 1.9 kB     00:00      kbs-CentOS-Testing                                                                                | 1.9 kB     00:00      updates                                                                                | 3.4 kB     00:00      Setting up Install Process Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. --> Running transaction check ---> Package proftpd.x86_64 0:1.3.3g-4.el6 will be installed --> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: proftpd-1.3.3g-4.el6.x86_64 --> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: proftpd-1.3.3g-4.el6.x86_64 --> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: proftpd-1.3.3g-4.el6.x86_64 --> Processing Dependency: libGeoIP.so.1()(64bit) for package: proftpd-1.3.3g-4.el6.x86_64 --> Running transaction check ---> Package GeoIP.x86_64 0:1.4.8-1.el6 will be installed ---> Package proftpd.x86_64 0:1.3.3g-4.el6 will be installed --> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: proftpd-1.3.3g-4.el6.x86_64 --> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: proftpd-1.3.3g-4.el6.x86_64 --> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: proftpd-1.3.3g-4.el6.x86_64 --> Finished Dependency Resolution Error: Package: proftpd-1.3.3g-4.el6.x86_64 (epel)            Requires: libcrypto.so.10(libcrypto.so.10)(64bit) Error: Package: proftpd-1.3.3g-4.el6.x86_64 (epel)            Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit) Error: Package: proftpd-1.3.3g-4.el6.x86_64 (epel)            Requires: libssl.so.10(libssl.so.10)(64bit)  You could try using --skip-broken to work around the problem  You could try running: rpm -Va --nofiles --nodigest


Is there a policy for hacking-related or else unethical questions?

I've come to  question on SO, where the asker's program purpose is obviously to crack some password on social networks.    Should this kind of question be flagged for moderator attention ? Should I refrain from answering ?  Should I consider this question as ... normal.


@Column(name="DateOfBirth") private Date dateOfBirth;   I specifically need the above code to create a column named "DateOfBirth," instead Hibernate gives me a column named date_of_birth.  How can I change this?  Is there a web.xml property?  I came across DefaultNamingStrategy and ImprovedNamingStrategy, but not sure how to specify one or the other.


I've often seen an edit (1) link next to post with a suggested edit, when hovered:       1 edit to this post is pending, please review it     Is it possible for a post to have more than one edits pending for review on it? I remember in the past, the number stated how many people voted on it.    After some testing, turns out it can't, so here's the findings:   A post may only ever have one suggested edit at a time. When a post with a pending edit gets viewed by a low-rep user, the edit link is grayed out. The number used to mean "Total number of edit reviews this post had" (Basically, number of votes to approve + number of votes to reject).   For those reasons, the suggested edit will always show 1 (and by that implying that there could be more).  Are there plans of making a single post accept multiple suggest edits? Why was this changed in the first place?


For three variables $X,$ $Y,$ and $Z,$ prove that the sum of all the pairwise correlations is atleast $-3/2$

As I can understand about the question, it is required to prove,  $$\operatorname{Corr}( X, Y ) + \operatorname{Corr}( X, Z ) + \operatorname{Corr}( Y, Z ) \geq -3/2 \tag i$$  But for any two variables $X,Y$;  $$-1\leq \operatorname{Corr}( X, Y )\leq 1$$  Then how can I obtain the above result (i).?


Animated 1990s sci-fi tv series - Jupiter-based space fighters with orange lasers

In the mid-late 90s I caught a show on the now long gone British TV channel "Super Channel". It was a show that took place in our solar system (I specifically remember a base in orbit around Jupiter) that seemed to be about two factions fighting for control.  The quality of the animation was "Transformers +". I also remember the lasers on the ships' wings being orange and attached to discs, making them movable. That color made me think at the time that they were part of a toy line, but I never saw any in the shops.


Paper was rejected for high similarity with parts of my own dissertation

My PhD thesis consisted of two published papers and one submitted paper embedded in some additional framing. For completion of my PhD, I had to upload my thesis to the servers of our academic library, where it is now publicly available. However, afterwards, the third paper from the thesis was rejected after peer review. I performed substantial changes and submitted the manuscript to another journal. They returned it back to me, stating that I exceeded by far the allowed index of similarity (40 % similarity with 35 % similarity of a single source). I spent $100 for a plagiarism check only to find out that the source from which I was accused to have copied a majority of my work, was my own publicly available thesis. As my thesis contains my third (unpublished) manuscript, it naturally has a high similarity with the version I was about to submit. How can I solve this?


how to calculate polygon area using field calculator QGIS?

I am trying to calculate the areas of some polygons and i want to use the field calculator to measure the area. The result i got using this method is different from using the QGIS measurement tool. I am confused on which is correct. How can i do this correctly? Also is it possible to change the measurement unit of the field calculator to give result in meter square?


I'd like to run a query using the EntityFieldQuery object. I need value from both the node and node_access table therefore I'd need to use INNER JOIN. From the d.o documentation I can't figure out how this is possible.  Here's what I have --  $query = new EntityFieldQuery(); $result = $query->entityCondition('entity_type', 'node') ->entityCondition('bundle', 'node_access') ->propertyCondition('type', 'external_link') ->propertyCondition('status', 1) ->fieldCondition('gid', '3', '=') ->fieldCondition('realm', 'domain_id', '=') ->fieldCondition('grant_view', '1', '>=') ->range(0,1) ->execute();


Diagonal is closed in $(X, \tau_1) \times (X, \tau_2)$ (both are Hausdorff)

From Willard's General Topology:  Let $\tau_1$ and $\tau_2$ be Hausdorff topologies on the same set $X$. Let $\tau_3 = \tau_1 \cap \tau_2$. If $(X, \tau_3)$ is Hausdorff, then the diagonal is closed in $(X, \tau_1) \times (X, \tau_2)$.  I know that since $\tau_1, \tau_2,$ and $\tau_3$ are all Hausdorff, that the diagonal $\Delta = \{(x,x) : x \in X\}$ is closed in each of the following product topologies $(X, \tau_1) \times (X, \tau_1)$, $(X, \tau_2) \times (X, \tau_2)$, and $(X, \tau_3) \times (X, \tau_3)$. Without thinking much about the question, it seems intuitive that yes, $\Delta$ will also be closed in $(X, \tau_1) \times (X, \tau_2)$. I've tried to proceed by contradiction below, but I can't figure out how to finish it off. I would appreciate any help finishing it off. I tried to proceed by contradiction: Supposing that $\Delta$ is not closed in $(X, \tau_1) \times (X, \tau_2)$, then $\exists y \in X, y \neq x$, such that $(x,y) \in \overline{\Delta}$ (the closure of $\Delta$ in $\tau_1 \times \tau_2$). Then $\forall U \times V$ basic nbhoods of $(x,y)$, we must have that $(U\times V) \cap \Delta \neq \emptyset$. So $\exists z \in X$, such that $(z,z) \in U \times V$. Also, since $U \times V$ is a basic nbhood of $(x,y)$ in $(X, \tau_1) \times (X, \tau_2)$, then $U$ is a basic nbhood of $x$ in $(X, \tau_1)$ and $V$ is a basic nbhood of $y$ in $(X, \tau_2)$. But then, since $(z,z) \in U \times V$, we must have $z \in U$ and $z \in V$. So $U, V$ are not disjoint. But $U$ was an arbitrary basic nbhood of $x$ in $(X, \tau_1)$ and $V$ was an arbitrary basic nbhood of $y$ in $(X, \tau_2)$, so there cannot exist any open disjoint sets $A \in \tau_1$, $B \in \tau_2$ such that $x \in A$ and $y \in B$... I'm guessing this contradicts the Hausdorff-ness of $(X, \tau_3)$, but I'm having trouble putting it together. Thanks.


Does $\sum_{k=0}^\infty \frac{2k!}{(k!)^2}\cdot\frac{1}{4^k}$ converge or diverge?

Does $\sum_{k=0}^\infty \frac{(2k)!}{(k!)^2}\cdot\frac{1}{4^k}$ converge or diverge. I tried to test this with the comparison test but I am stuck because I don't know if $(k!)^2 <(2k)!$ holds for all integers k.


How to prove that a group is abelian if $a^2=1$ for all $a \in A$.

Suppose that $G$ is a group with the property that $g^{2}= 1$ for all $g \in G$.Prove that $G$ is a commutactive group.  Abelian group $ab = ba$. I think like this $g*g^{-1} = 1$ after that i get stuck any hints?


It is well known that :$1^{+\infty}$ is indeterminate case ,I have accrossed the following problem which let me  to say that :$1^{+\infty}=1$ .  $1^{+\infty}$ can be written as : $1^{+\infty}=\lim _{x\to 0+}(\frac{\sin x}{x})^{1/x}$ which is $ 1$  ,then $1^{+\infty}=1$ and it's not I.case , i don't know where i'm wrong !!!! ? and  :$\lim _{x\to 0+}(\frac{\sin x}{x})^{1/x}=1$ which mixed me .  Edit: I have edited the question to show what's mixed me in the side of  limit calculation and i don't changed my question


How can I force Ubuntu to apply a specific monitor resolution through terminal?  In my case I have a monitor of resolution 1600*900@60fps but Ubuntu shows only two resolutions both awkwardly lower than the monitor.


How to modify environment variable in unix?

I want to modify environment variable by user given value. For example, user will give the variable to be modified and a value to put in the variable.  I tried the command:  set[variable[=val]]   Its working fine but I don't know if its right way to modify or i have to use export command for that purpose?  My code is :  modify_env(){ echo "Environmental variable:" read var echo "Environmental value" read value set [var[=value]] }


I just need a python script that copies text to the clipboard.  After the script gets executed i need the output of the text to be pasted to another source. Is it possible to write a python script that does this job?


I am very new to GAE, JDO and JAVA itself and got myself into a NullPointerException while posting my form data to the Servlet. The above code is my JSP file with the Form:    <form action="/todolist" method="POST">
     Titel     <input type="text" class="form-control" id="titel" name="titel"   placeholder="Titel">

     Beschreibung     <input type="text" class="form-control" id="beschreibung" name="beschreibung" placeholder="Beschreibung">

   Dauer   <input type="text" class="form-control" id="duration" name="duration" placeholder="zB. 2 Wochen...">

   Priorität <select class="form-control" id="prio" name="prio"> <option value="1">Priorität 1</option> <option value="2">Priorität 2</option> <option value="3">Priorität 3</option> <option value="4">Priorität "P"</option> </select>

   <button type="submit" class="btn btn-primary" name="save">Save changes</button>     <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>         </form>

   This is the Servlet which receives the submitted Fields:  public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {      String beschreibung = req.getParameter("beschreibung");     String prio = req.getParameter("prio");     String titel = req.getParameter("titel");     String duration = req.getParameter("duration");     Date termin = new Date();       req.setAttribute("beschreibung", beschreibung);     req.setAttribute("prio", prio);     req.setAttribute("titel", titel);     req.setAttribute("duration", duration);        PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory("transactions-optional");     PersistenceManager pm = pmf.getPersistenceManager();       ToDo doing = new ToDo(titel, beschreibung, termin, duration, prio, "super");         try {             pm.makePersistent(doing);         } finally {             pm.close();         }       RequestDispatcher rd = req.getRequestDispatcher("../WEB-INF/index.jsp");     rd.forward(req, resp);  }   UPDATE: I have initialized all my values and am still getting the NullPointerException


(Efficiently) Generate Unique Random Numbers

Sorry my terminology is somewhat limited so I'll have to use more words to explain what I mean.   In games that require critical hits, I've heard it's not good to generate a random number but instead one should randomly pick a number from a list of possibilities then exclude that number from the next picking. This way, the dev is given more control over the player's experience.   To do this, I've been thinking somewhere along the lines of generating a random number then excluding that number from the next generation. In C#, how can I exclude a number from a random number generation? I don't think that using a while loop to continually check for another number if the currently generated one is excluded is a very efficient method, especially when most of the numbers have been excluded. Is there a built-in method to do this or some clever way to implement it?  Not: I need upwards of 100 numbers to possibly generate so hard-coding it would be tedious.


I see number in review but when I open I see nothing

I see in review column like   late answer[2]  First Post [1]  but when I click to see them to give review it shows nothing ( no post) . And when I Click back to review it shows me the same number again . I am not getting the reason behind this , sorry for bad explanation .


What's the more decisive server hardware vector for heavy load production webserver performance

I'm about to buy new server hardware and I was wondering, in your opinion, and reducting problem to one machine (that's it, no more complex network infraestructure in play) what's the local server hardware more important's vector for server performance: memory, CPU, CPU tech, HD space, HD tech.. Where the focus should mainly be pointed at?  Server will be running Debian 10, just Apache 2.4.4 & shell services, and will handle +300 average concurrent clients.  Edited:  Got suggested this post to me as a possible duplicate:   ; I wannna clarify that I'm not asking for an actual hardware configuration, not a guide, not load balancing tools to help decissions on upgrades: but for the vector that you'd give priority to give extra air to a heavy loaded standalone apache server (no more services, nor mysql..). The vector you think affects more perfomance on Apache.  I have my own opinion and wanted to hear yours, but I recognize this debate could not be useful for majority, maybe the thread should be closed.


Gravatars shown incorrectly on "top network askers" sidebar

The "Top Network Askers" sidebar shows a bunch of similar gravatars for users, where their gravatars are actually something different. In this case they all seem to link to  <img src="https://www.gravatar.com/avatar/?s=18&amp;d=identicon&amp;r=PG&amp;s=30"/>   Clicking through to the users shows different gravatars (since you can't click on the image, here are a few):


I added an apt repository for CRAN (R) to get an older (3.3) version and did  apt-get install r-base-core=3.3.1trusty0   – the one thing i am afraid of now is doing apt-get update/upgrade will blow this version away and my stuff will break. Is there a way to make apt hold this old version and never upgrade it, though upgrade whatever else?


Using repos vs compile: hot wo replace Nginx from repo with a compiled Nginx?

Sometime ago I used  to install Nginx+Pagespeed on my VPS. I would like to update it to the newest version, but the latest packages from Kura aren't so recent and I'm thinking about downloading them by myself (Nginx + Pagespeed), compiling them and using them instead of the ones provided by the PPA.   I wonder what is the right process to do this. Do I have to remove the Kura packages and then compile and install the latest, official ones, or can I just compile and install those ones and they will substitute the PPA packages?


Package hyperref conflicts with counter inside section title

The following minimal document  \documentclass{article}  \usepackage{hyperref}  \newcounter{projno} \newcommand{\proj}{% \stepcounter{projno}% \theprojno}   \begin{document}  \section{Project \protect\proj }  \end{document}   produces the error   ! Missing \endcsname inserted. <to be read again>                     \csname\endcsname l.14 \section{Project \protect\proj }   The error disappears when I comment out \usepackage{hyper ref}. Does anyone see a way out of this dilemma ?


Will 404 pages hurt website page ranking?

I have an online marketplace platform. Because of adding new products/services, I had to update my links to match the new list. Earlier, Google has indexed most of my pages. Now with the new links architecture, most of the results shown by Google are 404. I submitted new sitemap and the new links are yet to be indexed.  Question: Will 404 pages hinder my websites PageRank? If yes, how to mitigate it? Also, how can I get the new web pages indexed fast?  Please let me know your inputs, as most of my traffic is from Google search, fixing this is very important for us.  Thanks, Anji


I'm not a regular Cygwin user. I installed Cygwin and Cygwin64 for testing proposed patches. I tried to perform a git clone, but it failed with -bash: git: command not found. So I need to install Git, which should be a relatively simple operation.  Cygwin does not appear to supply documentation related to packages and their management:  $ man -k package package: nothing appropriate.   In the terminal, I tried install git and cygwin install git. The former failed with install: missing destination file operand after ‘git’. The latter failed with -bash: cygwin: command not found. (For completeness, I also tried apt-get (Ubuntu), yum (Red Hat/Fedora), and pkg_add (BSDs) with the same results. I even tried just pkg and package with the same result).  What is the name of the Cygwin package manager?


Movie about scientists that try to colonize a planet and the rescue of them

We loosely remember some things about the movie. But it's based on memories so we may be wrong. It was about some scientists that were sent on a distant planet to kind of rescue some other scientists that already have been there some time. Their job was to find a spot to colonize the planet. We think that each of the scientists sleep in some kind of cryostasis, and they are scattered over the planet. Maybe they search for water or some other habitable parameters.  Different things went wrong and they find some scientists. Then they somehow have a decision to make between two scientists, one of them reports about very habitable conditions. So they decide to rescue this one and as it turns out, the scientist lied to them: He just wanted to be rescued. So in the end there are some fights on icy or rocky terrains. Maybe the movie also involves a robot type that is kind of rectangular with a black display on it - but we are not sure about it.  Furthermore there may be some kind of relationships between the scientists, the rescued scientist and a woman of the rescue team were a couple. In the end they quickly have to leave the planet - we don't know why.  Can anyone point us into the right direction ? :-(


Localized date with biblatex and polyglossia

I cannot get localized dates in the bibliography when using polyglossia and biblatex. Biblatex's manual says:     biblatex automatically adjusts to the main document language if babel or polyglossia is loaded   However, the following document does not produce the desired output.  %!TEX program = lualatex \documentclass{article}  \usepackage{filecontents} \begin{filecontents}{main.bib} @Article{reference,   author        = {Doe, John},   title         = {Some title},   journaltitle  = {Awesome Journal},   volume        = {12},   number        = {8},   pages         = {1234-5678},   date          = {2018-12-11}, } \end{filecontents}  \usepackage{csquotes}  \usepackage{polyglossia} \setmainlanguage[variant=british]{english}  \usepackage[language=auto]{biblatex} \addbibresource{main.bib}  \begin{document} Citation~\cite{reference}.  \printbibliography \end{document}   The reference is typeset as     John Doe. “Some title”. In: Awesome Journal 12.8 (Dec. 11, 2018), pp. 1234–5678.   While I want the date as     11 Dec. 2018   What am I missing?


I want to format my html through C#. Here my example code.

CA IQVIA EM Event Speaker info

  I want to output like this :  `

                             CA IQVIA EM Event Speaker info

`   How Should I achieve this? Thanks in advance.


How to use arguments like $1 $2 ... in a for loop?

I have this script which designed to download the pronounciation of the words you give it as argument:  #!/bin/bash  m=$# for ((i=1;i<=m;i++));do  echo $i #wget https://ssl.gstatic.com/dictionary/static/sounds/de/0/"$i".mp3 done   if I run it by this command  ./a.sh personality brave selfish   it should print on the stdout  personality  brave  selfish   but instead it prints  1 2 3   would you help me solve this problem?  p.s : If I write the script without for loop with $1 for example it will work correctly but I want to download many files at the same time


Prove or disprove that $\int_a^b |f(x)|\ \mathrm{d}x\geq \big | \int_a^b f(x)\ \mathrm{d}x\big| $

Let $f$ be a continuous and integrable function over $[a,b]$. Prove or disprove that $$\int_a^b |f(x)|\ \mathrm{d}x\geq \left | \int_a^b f(x)\ \mathrm{d}x\right| $$


Conditions for passing limit inside a series

Consider a succession $\{f_{n,k}\}_{n,k}$ s.t. for any fixed $k$, $\lim_{n\rightarrow\infty}f_{n,k}=g_k$. Which are the conditions s.t. \begin{equation} \lim_{n\rightarrow\infty}\sum_{k}f_{n,k}=\sum_{k}g_k \; \;? \end{equation}


Is it a bad idea to upgrade to 18.04 right now?

I started using Ubuntu about 2 years ago and at that time installed 16.04 LTS. A few days ago 18.04 LTS launched. Is it necessary to upgrade to this new version right away, since LTS distro's are supported for 5 years?


Why can't I extend a volume in Windows 8 disk manager?

I have this 40 GB volume (partition) that I would like to extend to 80 GB. I have already shrinken (downsized) the system partition in order to create some unallocated space before the partition that I want to make bigger.    The problem is when I right click on the 40 GB partition I can't select the "Extend volume" option. Why not? You can see by the screenshot above that the space before my partition is "RAW". That's because I formatted selecting any file system. But it was black before, indicating "unallocated" space, and I still couldn't extend my partition to include this space.  Let me guess... I have to have the unallocated space AFTER the partition I want to enlarge? I would like to try that of course, but there seems to be no option to move any partition or "volume" anywhere, not to a different disk nor left or right within a given space on the same partition. So how do you do it then?...    In the screenshot above you can see how it looks like with unallocated space before my partition. I obviously can't just remove my RECOVERY partition that sits right after my partition. I won't be able to restore the computer ever again. So that's not an option.


Discreteness of $\{ a+b\sqrt2 \mid a,b \in \Bbb N \}$ in $\Bbb R$

How to prove that $\{ a+b\sqrt2 \mid a,b \in \Bbb N \}$ is discrete in $\Bbb R$?  If I sum over $\Bbb Z$ instead of over $\Bbb N$, it becomes dense, which is quite confusing to me.  Also, when I plot the points, they appear to become denser as I go to the right, which leads me to wonder if the set is really discrete.


NVIDIA Dual Screens - Second Monitor Blank

Recently installed a clean version of Ubuntu 14.10 on my system. Previous to that, I'd been running Windows 7 with no problems.   My system has two screens, one of which is a LG Electronics 24EN43 which is hooked up to a GeForce GTX 650 via HDMI. This is the default screen. The second screen is a DELL 2009W connected to a GeForce 210 via VGA. My problem is that screen 2 does not seem to be behaving properly.   I can move my cursor right to the second screen, and my cursor becomes a black X with a white border. I can then move my cursor back left onto the first screen. I cannot move any windows to the second screen, and I cannot open any programs or terminals on the second screen. The second screen has a black background.   I am currently using the NVIDA X Server Settings utility, and under the 'Additional Drivers' section of Software & Updates, I am using the NVIDIA binary driver - version 331.38 from nvidia331  Here is a haste-bin of my configuration file for the XServers.   Here's some other things I have noticed:   If under the Additional Drivers, I use 'X.Org X server - Nouveau display driver from xserver-xorg-video-noveau (open source). Then the second screen does work, it has Unity, background, and works like it should. However, the cursor on screen 1 has an annoying flicker, the computer will randomly freeze and crash, and it is really bad at watching videos (you see bars going down the video as it slowly refreshes at 0.5 frames per second)   If any additional information is required, I am happy to provide it. Many thanks


White lines when I'm coloring a shape with darker colors in Illustrator

I'm quite new with Illustrator and I have an issue that I'm trying to find a soluting for a few hours now!  So when I use dark colors on any shape a white thin line appears around it. I tried adding a stroke but the white line moves around the stroke. This is only happening when I'm using dark colors, the lighter colors look as they should! I tried to export as a .png & .pdf and the lines are still visible.  Without a stroke:    With a stroke:    Random light colors:    (Edit) I didn't convert any image to make my design.I drew it right from the start. I tried it again without using divide on my shapes, it still looks the same. I tried to add Offset paths,nothing changed.Even if I add a background the lines are still showing!  English is not my first language, I hope I was understood!


Rephrase the proof "For all odd n, there exists a Group G ..."

I am trying to construct a proof and would like to know if I have started it correctly. The proof is as follows.  "Prove that for every odd integer n, there is a group with exactly n elements of order 2."   Written more compactly I have it as:  "$\forall n \in \mathbb{Z^{+odd}}, \exists$ a group G with exactly n elements of order 2."  To prove this universal statement, I figure I should disprove the negation. Thus I have:  Assume: "$\exists n \in \mathbb{Z^{+odd}} , \nexists$ a group G with exactly n elements of order 2."  I am new to proofs and would like to know if the beginnings of this proof are sound. Thanks in advance.


get environment variable by variable name?

For example, I have a variable:  env_name="GOPATH"   Now I want to get the environment variable GOPATH as if like this:  echo $GOPATH   How can I get $GOPATH by $env_name?


I've got 40GB of photos from my old Picasa Web Albums service and now I've just cancelled my storage plan.  Is there any way to remove all the photos and albums?  I searched a lot and I have no clue how to do it, I'm not going to delete near 400 albums individually, and obviously, not paying again for the storage plan.  I remember old days when google-cli was able to do this kind of stuff, but sadly it seems abandoned.


I'm using OSX 10.10 and its showing movies 4.03 GB in About This Mac>Storage. I don't have any movies in my mac. I tried to check all my files one by one but i can't find it. How to clear this occupied storage. Any idea ?


What is the difference between building from source and using an install package?

I was wondering: when installing something, there's an easy way of double clicking an install executable file, and on the other hand, there is a way of building it from source.   The latter one, downloading a source bundle, is really cumbersome.  But what is the fundamental difference between these two methods?


Regular expression: match start or whitespace

Can a regular expression match whitespace or the start of a string?  I'm trying to replace currency the abbreviation GBP with a £ symbol. I could just match anything starting GBP, but I'd like to be a bit more conservative, and look for certain delimiters around it.  >>> import re >>> text = u'GBP 5 Off when you spend GBP75.00'  >>> re.sub(ur'GBP([\W\d])', ur'£\g<1>', text) # matches GBP with any prefix u'\xa3 5 Off when you spend \xa375.00'  >>> re.sub(ur'^GBP([\W\d])', ur'£\g<1>', text) # matches at start only u'\xa3 5 Off when you spend GBP75.00'  >>> re.sub(ur'(\W)GBP([\W\d])', ur'\g<1>£\g<2>', text) # matches whitespace prefix only u'GBP 5 Off when you spend \xa375.00'   Can I do both of the latter examples at the same time?


How to install Java 7 or jkd 7 on Ubuntu 16.04?

I'm really in trouble. As the Java 7 support and built are not available anymore on the web. I have gone through many of resources and question answering websites online but unable to resolve this issue.  I'm a non-technical person and recently have installed the Ubuntu 16.04. I want to unzip the files of my data backup. The size of files is 60 GB and 80 GB. The default archive manager in Ubuntu is unable to unzip the files or I am using the wrong method to do that.  Can anyone please help me in this case?


Recursive Monotone Decreasing Sequence Proof ${x_{k}} = \frac{1}{2}\left({x_{k-1}+\frac{a}{{x_{k-1}}}}\right)$

I have been looking at this for hours and it isn't making anymore sense than it did in the first hour.   If $a$ und ${x_{0}}$ are positive real numbers and ${x_{k}}$ defined as follows, prove that ${x_{k}}$ is monotone decreasing and bounded, then calculate the limit.  ${x_{k}} = \frac{1}{2}\left({x_{k-1}+\frac{a}{{x_{k-1}}}}\right)$  What I though I had to do was pick an ${x_{0}}$ and solve for ${x_{k}}$, so I picked ${x_{0}}$. Then I wanted to put the result back into the function to get ${x_{k+1}}$, which I still believe is what I'm supposed to be doing, but I don't understand what I am getting as a result.  I get that I should prove it is decreasing, then that it is bounded,  then address the limit, but the how is missing.


I have a Samba share on Win Server (I have no access to the server settings) with many symlinks in it and a PC with Linux (Ubuntu), from which I try to access the share (I mount it via mount.cifs). But when I try to open a folder which appears to be a symlink, I get access denied.  So, here is my question: Is there any way to access these folders without changing samba server settings?


Using institute instead of author for @online

I'm trying to add  to my bibliography.  There is no individual author to attribute, but there is an institute. However the institute field seems to not work (it doesn't show up in the bibliography). So I'm trying to put the institute in the author field. If I do so, then bibtex tries to format it as a human's name.  So what I want is for the bibliography entry to say:     Australian Government Department of Industry, Innovation and Science    But what I'm getting is:     I. Australian Government Department of Industry and Science.   So LaTeX thinks that I'm referencing someone who's first name is Innovation and surname is Australian Government Department of Industry  I've tried adding lots of {} everywhere, but I can't figure out how to override the automatic initialisation.  Minimum working example:  main.tex:  \documentclass[a4paper]{article}  \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[style=ieee, natbib=true, backend=biber]{biblatex} \addbibresource{references.bib}    \begin{document}  Here's a citation \cite{SGSC_data}.  \renewcommand*{\UrlFont}{\rmfamily}  \printbibliography  \end{document}   references.bib:  @online {SGSC_data,     year   = "2015",     month  = 10,     day    = 8,     author = "Australian Government Department of Industry, Innovation and Science",     url    = "https://data.gov.au/dataset/smart-grid-smart-city-customer-trial-data",     title  = "Smart-Grid Smart-City Customer Trial Data" }   All together with filecontents package:  \documentclass[a4paper]{article}  \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[style=ieee, natbib=true, backend=biber]{biblatex}  \usepackage{filecontents}  \begin{filecontents}{\jobname.bib}  @online {SGSC_data,     year   = "2015",     month  = 10,     day    = 8,     author = "Australian Government Department of Industry, Innovation and Science",     url    = "https://data.gov.au/dataset/smart-grid-smart-city-customer-trial-data",     title  = "Smart-Grid Smart-City Customer Trial Data" }  \end{filecontents}  \addbibresource{\jobname.bib}   \begin{document}  Here's a citation \cite{SGSC_data}.  \renewcommand*{\UrlFont}{\rmfamily}  \printbibliography  \end{document}


how many ring homomorphisms are there from $\mathbb{Z}_{18} \to \mathbb{Z}_6$  My thought is that: there is a basic ring homomorphism: trivial one Another one is $\phi(1) \to 1$  since $\phi(ab) = ab = \phi(a)\phi(b)$ The last one is $\phi(1) \to 3$. For this case, $\phi(ab) = ab*\phi(1) = 3ab$. $\phi(a)\phi(b) = 3a*3b = 9ab = 3ab$ because I do "mod 6". I just noticed $\phi(1) \to 4$ also works. So there are 4 ring homomorphism. Is my thought correct?


Can anyone guide me on how to set up my x86_64 Ubuntu 13.10 for building armhf libraries and executables ?  I have already  installed g++-4.8-arm-linux-gnueabihf, gcc-4.8-arm-linux-gnueabihf and pkg-config-arm-linux-gnueabihf.  And this allowed me to get the compilers (/usr/bin/arm-linux-gnueabihf-g++-4.8 and /usr/bin/arm-linux-gnueabihf-gcc-4.8 ) for building stuff, but now I want to set up the system in order to install the libraries that I need with the dependencies (like uuid-dev:armhf for example).  So I run dpkg --add-architecture armhf and I modify the source lists and update, like so:  deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ saucy main restricted  deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports saucy main restricted  apt-get update  But when I try to install uuid-dev:armhf, I have unmet dependencies, and I don't know how to solve the problem.  The following packages have unmet dependencies: uuid-dev:armhf : Depends: libc6-dev:armhf but it is not going to be installed or libc-dev:armhf Depends: libuuid1:armhf (= 2.20.1-5.1ubuntu9) but it is not going to be installed


Cygwin X doesn't work with DISPLAY localhost:0 on windows 10

I had Cygwin X 64 bit running fine on Windows 7. I upgraded to Windows 10 and things stopped working. So I wiped out the Cygwin and installed again from scratch. I installed Cygwin X 1.18.4 (x86_64). I started X server using startxwin. I could only get xterm to work when I set DISPLAY=:0. If I set DISPLAY=localhost:0 I get can't open display.   Also I can't have another computer throw a xterm back to Cygwin X. I get same error. I even tried throwing xterm to a Linux host and that gave same error. Windows firewall is turned off and I set xhost + on all hosts.   Any advice on why I can't explicitly set the DISPLAY to localhost or the local IP of my computer?  Thanks


Should I include a bibliographical entry in the Works Cited pages for works I just mention?  For example, if I mention the work of an author by title just as an example without quoting from it, should I include an entry for it in the Works Cited page?


I've been reading . I have also been reading this . From these two sources it appears that there is no difference between Present-perfect-tense and Simple-past-tense.     I myself thought up two sentences:           The children played in the sandbox.      The children have played in the sandbox.        The only difference that I am able to recognize is that in the 2nd sentence we are putting some emphasis on the fact that children (have) finished the play. If I translate "have" into my language then it is giving the emphasis that children finished the job. On the other hand the 1st sentence is just telling that children played there some time ago. The 1st sentence is giving no emphasis on the fact that they have finished the play.     Please explain me what is the difference between Present-perfect-tense and Simple-past-tense.


I'm trying to use the concmath package (along with T1 fontec package) but the resulting text looks jagged and not vector-like, but I have seen some documents using this font that look vector-like.  Here's my code:  \documentclass{article}  \usepackage{amsmath}  \usepackage{amssymb}  \usepackage{amsthm}  \usepackage{concmath}  \usepackage[T1]{fontenc}  \begin{document}  Hello  \end{document}   How do I resolve this problem?  Thank you


Ok, so I have searched and searched and cannot figure out what I did here. Most of my mp3, Libre Office, pdf, etc. files have missing icons. they look like this:   However if I access my network storage, I have exact copies of the same files in the photos btw, and they have the correct icons and look like     I am relatively new to Ubuntu, and I am sure that I did something wrong, but I have the system set up pretty much how I would like it for work and such, and would really hate to do a reinstall just for icons...  So if anyone could help it would be GREAT!


I'm disabled and have a person help with groceries and meals. Today, she bought roast beef at the grocery store and immediately put together a beef stew for me (no time in fridge at home), but she didn't notice the crockpot was unplugged. I discovered it about 3 1/2 hours later and plugged it in. Should I let the stew finish cooking or throw it out? Keep in mind if I throw it out, I won't have dinner for the next 3 days and will be living on cereal and Halloween candy. Not an exaggeration.


Why does google separate out its sign in process to 2 pages now? Is that bad UX or just unconventional?

Firstly:    Enter my email address, then hit enter takes me to:    Feels like it's unnecessarily staggered, but maybe I'm missing something? This is a relatively new occurrence as well


Cannot be negative and avoid letter inputs on textbox

here is my whole code fro the txtProductQuantity_TextChange:  protected void txtProductQuantity_TextChanged(object sender, EventArgs e)     {         TextBox txtQuantity = (sender as TextBox);          //int tempForTryParse = 0;         //if (!int.TryParse(txtQuantity.Text, out tempForTryParse))         //{         //    txtQuantity.Text = txtQuantity.Text.Substring(0, txtQuantity.Text.Length - 1);         //}          DataListItem currentItem = (sender as TextBox).NamingContainer as DataListItem; // getting current item on where user wants to add or remove         HiddenField ProductID = currentItem.FindControl("hfProductID") as HiddenField;         Label lblAvailableStock = currentItem.FindControl("lblAvailableStock") as Label;          int tempInt = 0;         if (txtQuantity.Text == string.Empty || txtQuantity.Text == "0" || txtQuantity.Text == "1" || double.Parse(txtQuantity.Text) < 0 || !int.TryParse(txtQuantity.Text, out tempInt))         {             txtQuantity.Text = "1"; //default value is 1, no action          }         else         {             if (Session["MyCart"] != null) // not null means user has added a product in the shopping cart             {                 if (Convert.ToInt32(txtQuantity.Text) <= Convert.ToInt32(lblAvailableStock.Text)) // check if quantity is greater than available stock                 {                     DataTable dt = (DataTable)Session["MyCart"]; // if quantity is less than the available stock, go inside the code                      DataRow[] rows = dt.Select("ProductID = '" + ProductID.Value + "'"); // select specific row depending on the product id                      int index = dt.Rows.IndexOf(rows[0]);                      dt.Rows[index]["ProductQuantity"] = txtQuantity.Text; // putting the value in the txtQuantityTextbox. changing the product quantity in the data table                      Session["MyCart"] = dt; // add updated value to datatable                 }                 else // error if quntity is greater than available stock                 {                     lblAvailableStockAlert.Text = " Alert: product buyout should not be more than the available stock!";                     txtQuantity.Text = "1"; // automatically change the quantity back to 1.                 }              }         }         UpdateTotalBill();     }   what i want to happen is to avoid letters being an input from the user. or something like it will be defaulted to "1" if they do.


Do I need UK transit visa for the itinerary Sydney > London Heathrow > Dublin?

Although I'm sure a lot of you tired of seeing this question, but I'm never really get the answer that suits my situation.  I will fly with Qantas from Dublin to Sydney. My Qantas flight back to Europe will end at London Heathrow, and I will transfer at LHR to British Air for the last leg to Dublin (11th July QF1 to BA828).   Full itinerary detail (all time is local time):  1.QF1 Sydney (10/06 15:55) (stop at Changi Singapore approx 100min) to London (11/06 06:25) 2.BA828 London (11/06 08:25) to Dublin (11/06 09:50)  I am not sure whether I will passing UK immigration and custom or not, since Qantas told me I need to re-check my baggage, even though I do all the booking in one booking refernece (all of them under the same booking reference and I can see the British Airways flight in my "Manage Booking" Qantas website).  I have Indonesian passport and Irish Residence Permit Stamp 2. I visited  and this sentence: "You must also have an Irish biometric visa (marked ‘BC’ or ‘BC BIVS’ in the ‘Remarks’ section)" made me unsure whether I am exempt from transit visa or not. Ireland abolished re-entry visa () so there is nothing in my Passport to confirm the remarks section as showing my Irish Residence Permit card would replace the Re-Entry visa  Is there anyone that can confirm whether I need/not need UK transit visa?


command to display time (duration) in human readable form

I spent 3 hours trying to write a command to format a time (duration) expressed as a floating number (in seconds) in a nice form as follows:  if the time is < 60 write as a float with 3 decimals (i.e. milliseconds)  else let h,m,s be the hours, minutes and seconds corresponding to the time      if h=0 then write as m:ss (ss always with 2 digits, m can have only 1)      else write h:mm:ss (mm and ss with 2 digits, h can have only 1)   So 1.25678 gives 1.256, 125.35 gives 2:05, 18249 (which equals to 5*3600+4*60+9) gives 5:04:09.  I tried several packages for the comparison/formatting. No success. Can someone help me ? Thanks !


Why aren't the higher 16-bits in EAX accessible by name (like AX, AH and AL)?

Why don't have a specific register to access this other part of register ( 16-32 )?  Like ah or al to access a 8-bits part of ax register.


Connect New MacBook 2017 (USB-C) to Apple Cinema Display 30" (DVI)

I have seen that the question has been already done, but all answers refer to 2016 MacBook Pro model, meanwhile I own a 2017.   found a solution (see ) but is working with this model? Has anybody tried it and had real experience?


How to simplify $P (X|Y, Z)$ when $X$ is independent of $Y$ but not $Z$?

How do I simplify $P (X|Y, Z)$ if I know that $X$ is independent of $Y$ but not $Z$.


I know that the WHO came up with the COVID-19 name, but I see big publisher (Springer)  using "SARS-CoV-2" seemingly to refer to the same thing. To be more technically correct, they say the  latter refers to the virus, rather than the disease:     SARS-CoV-2 is a new virus responsible for an outbreak of respiratory illness known as COVID-19.   Anyway, who came up with the "SARS-CoV-2" name?


Can an orthogonal matrix have a determinent that is not 1 nor -1?

As above. Proofs, examples and counter-examples are appreciated.


Can a set containing $0$ be purely imaginary?

A purely imaginary number is one which contains no non-zero real component.   If I had a sequence of numbers, say $\{0+20i, 0-i, 0+0i\}$, could I call this purely imaginary?   My issue here is that because $0+0i$ belongs to multiple sets, not just purely imaginary, is there not a valid case to say that the sequence isn't purely imaginary?


Linux says my space is full with 2.4/50gb used

Today I ran across a problem and I'm not sure if it's a wrong configuration of my hosting provider, because I haven't changed anything about the file system.  df -h says:  df -h Filesystem Size Used Avail Use%  Mounted on /dev/simfs 50G  2.4G  0    100%  /   It says it's 100% used, but only 2.4G of 50 are really in use. I've also tried to delete some logfiles which were big, but it didn't help.  I've also checked with "du -sh *" if there's anything big, but couldn't find anything large.  Anyone has an idea?  //edit: There are enough INodes free.  df -hi Filesystem     Inodes IUsed IFree IUse% Mounted on /dev/simfs        25M  137K   25M    1% /   //edit: Complete output:  df -T Filesystem     Type     1K-blocks    Used Available Use% Mounted on /dev/simfs     simfs     52428800 2127284         0 100% / none           devtmpfs    262144       4    262140   1% /dev none           tmpfs        52432      56     52376   1% /run none           tmpfs         5120       0      5120   0% /run/lock overflow       tmpfs         1024       0      1024   0% /tmp none           tmpfs       209700       0    209700   0% /run/shm none           tmpfs       102400       0    102400   0% /run/user   //edit: Permissions:  ls -la /dev/simfs brw------- 1 root root 144, 149 Aug 14 00:01 /dev/simfs


Would this circuit interface be a safe interface between full duplex and half-duplex UARTs of different logic levels?

I'm primarily a SW developer who dabbles with electronics. I needs to interface my SoC's HW full-duplex UART with an SDI-12 compliant sensor, without burning either of them and hopefully without wasting too much power. The following constraints are given:   Full-duplex side operates on 3.3V, normal polarity (i.e. logic LOW is 0V and logic HIGH is 3.3V), has separate TX (output) and RX (input) pins. Half-duplex side operates anywhere between 3.5V-5.5V, inverted polarity, has a single TX/RX pin There vast majority of the time the line will be silent (i.e. the wire connecting to sensors TX/RX pin will be at 0V The wire leading to a sensors TX/RX pin might be long (just in case any funkiness of high parasitic inductance or something should change my design).   The circuit I drafted quickly:         – Schematic created using   In particular I'm curious if you had any comments about the choice of particular components and their values.


Asset point IDs, pipeline and flow direction

I have a data set of a sewage pipe network and point data (assets). I would like to:   first calculate the flow direction of pipes (polyline feature) assign IDs to the pipelines using asset IDs (connecting). Eg, pipeline x starts from asset number 11 to asset number 10. I want to update the pipeline columns, one with downstream value of 10 (from asset) and another of upstream value of 11 (asset ID).   I have tried network analyst with ArcGIS but got stuck when trying to assign the IDs. Open to Python or any other code, or Modelbuilder.


Is it necessary to first remove the stems from fresh cilantro when chopping it for a recipe? If so, how much of the stem should be removed?


How to get Windows-like list of open apps/files/terminals etc on bottom of screen for navigation

The reason is Alt-F1+Scroll and click is a lot of work for navigating the stuff I have open.  I’m using Ubuntu Desktop 18.04.


I am new to ubuntu. I want to  install java on ubuntu. i tried the code      sudo apt-get install default-jre   but i have got message like this:     E: Could not get lock /var/lib/dpkg/lock - open (11: Resource   temporarily unavailable) E: Unable to lock the administration   directory (/var/lib/dpkg/), is another process using it?   What is the problem?


Let h(n) denote the number of regions into which a convex polygon with n + 2 sides is divided by its diagonals, assuming that no three diagonals have a common point. Define h(0) = 0. Show that h(n) = h(n−1) + (n+1)C3 + n for n ≥ 1. I get that I need to separate it into an (n+1)-gon and look at the cases added by another vertex, but I don't quite understand how to count the number of added regions.


I created a model in QGIS 3.6 with three inputs parameters (two vector layer and one vector field).  When I run the model, the inputs are not sorted in a correct way: the vector field is requested before the vector layer.   For this simple example, it doesn't matter, however for more complex models with severals inputs, I fear the user could feel not confortable.   Is it possible to choose the order of the inputs parameters ?   Here are two screenshot.  "Conduite" = pipe in french "regard" = manhole in french  I want the user to select firstly "regard" layer, then "ID_regard" field within "regard" layer.


Execute string with variables as command

I'm trying to execute a string into my bash script. String contains variables (so I could substitute some CLI arguments depending on circumstances).  The problem is when I use variable containing --argument=value, everything breaks up, giving error:  Missing trailing-' in remote-shell command.   Example code:  #!/bin/bash  rsync_path="/usr/bin/rsync -azhrP" rsync_ssh_cmd="--rsh='ssh -o Compression=no'"  `$rsync_path /path/to/file $rsync_ssh_cmd username@localhost:/tmp`   If I just echo the last string from this code, it looks fine. But if i try to execute this string from script, it doesn't executes as expected.  I found a workaround - everything became OK if I try  eval "my-command-string"   instead of  `my-command-string`   or  (my-command-string)   Why does it so? How could I (should I really?) avoid to use eval?  I use bash 4.3.11(1)-release (x86_64-pc-linux-gnu) (Kubuntu 14.04.3).


I've discovered that I have two different version but same package installed. For example the following is the two linux-firmware installed. Package: linux-firmware Architecture: all Version: 1.187.10 Multi-Arch: foreign Priority: optional Section: misc Origin: Ubuntu Maintainer: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 545755 Provides: atmel-firmware Conflicts: atmel-firmware Breaks: linux-firmware-raspi2 (<= 1.20190819-0ubuntu2), linux-firmware-snapdragon (<= 1.2-0ubuntu1) Replaces: atmel-firmware, linux-firmware-snapdragon (<= 1.2-0ubuntu1), linux-restricted-common Filename: pool/main/l/linux-firmware/linux-firmware_1.187.10_all.deb Size: 102768040 MD5sum: 819c7933a41766c75fb90fdf43424660 SHA1: faed33f1f9914d92a35bc15cdad854f10af42639 SHA256: 758bbb4d01c38186f26fd67fb35f624c66d559fab7c0269222efe901ba98dd53 SHA512: d82df37e09acf1e1953d497d0781c336cc476d495509a09dbeade152923af920878589d2960f7e078cc4226563ae3d801147fca32497f59445533db8682a72a4 Description-en: Firmware for Linux kernel drivers  This package provides firmware used by Linux kernel drivers. Description-md5: 7a047bff9e44dce458a300976c12f9da Task: ubuntustudio-desktop-core, ubuntustudio-desktop  Package: linux-firmware Architecture: all Version: 1.187 Multi-Arch: foreign Priority: optional Section: misc Origin: Ubuntu Maintainer: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 522910 Provides: atmel-firmware Conflicts: atmel-firmware Breaks: linux-firmware-raspi2 (<= 1.20190819-0ubuntu2), linux-firmware-snapdragon (<= 1.2-0ubuntu1) Replaces: atmel-firmware, linux-firmware-snapdragon (<= 1.2-0ubuntu1), linux-restricted-common Filename: pool/main/l/linux-firmware/linux-firmware_1.187_all.deb Size: 98718284 MD5sum: b9d9ab13f41f316a33f406d5145939ce SHA1: 875ed1bb7f9738965cc5edcb435237812fb2fa4b SHA256: cb27d20f8a11ddd89ca4d0de9f6c2b3abf6266a1005f774ec8b11fc1983a7893 Description-en: Firmware for Linux kernel drivers  This package provides firmware used by Linux kernel drivers. Description-md5: 7a047bff9e44dce458a300976c12f9da Task: ubuntustudio-desktop-core, ubuntustudio-desktop  As you can there are two versions: Version: 1.187.10 Version: 1.187 Can I remove one ? For example 1.187 ?


Prove the following using mathematical induction

Prove using mathematical induction that $n<3^n$ for all positive integers $n$ I came until here, 3^k+1< 3^(k+1) I wanna know if this is already the final answer?


I'm trying to dual boot Ubuntu with Windows Xp. Windows is on the C drive and I want to install Ubuntu on the D drive. When I get to the partitions table during installation, there should be a dev/sda and a dev/sdb options, but the second isn't there. All I can choose from are dev/sda, dev/sda1 and dev/sda5. I really don't know which one should I choose so that I don't screw up Windows.  I'm installing Ubuntu from a USB flash drive.


How to change layer, into background in photoshop in cs6

I have a problem in photoshop.. everytime i upload a picture , it would always be put into layer and not background. I am a beginner so yeah lol.. Help!


Probability of selecting a non-measurable set

If you randomly select a subset of $[0,1]$, what is the probability that it will be measurable?  Edit: This question may be unanswerable as asked.  If additional assumptions could be made to make it answerable, I would be interested in learning about them.


What would an appropriate suffix be to mean "branch of magic"

I know "-mancy" already exists (like necromancy and pyromancy), but if you look into the root of the word, it acutally refers to divination, and not general magic powers  It could be easily argued that "-mancy" has taken on a new meaning in today's day, but something about it doesn't feel right  I've considered using "-ology", but that seems to be more for the study of a subject, rather than the practice (i.e. casting spells)  I could easily just come up with a gibberish word, but I was hoping to find something already in the English language, so it would sound more natural


How to gracefully and temporarily stop search engines from crawling a website

I run into these moments every now and then where I want to make a major update to my website but then I feel I just cant do it because search engines crawl it at that time.   Is there a way I can make the search engines temporarily stop crawling my site instantly while I make updates to it? (Yes, I'm looking for that "Off" and "On" switch)  I feel if I make updates while search engines crawl it, then I'll probably lose rankings in search.  ** Update **  I'm more interested in the fraction of time that the upload takes place. I'd like to ideally arrange a time with the bots to stop crawling at that point (between the time upload starts and the time upload ends). I'm not asking for a solution for a long-term downtime.


I am attempting to take RRhead, have a new RCB point at RRhead as it's next, and have RRhead point at the new RCB as it's prior.  typedef struct{   int sequence_number;   int file_descriptor;   FILE *requested_file;   int bytes_remaining;   int quantum;   struct RCB *next;   struct RCB *prior; } RCB;  typedef struct RCB RCB;   RCB *RRhead = NULL;   static void admit_to_scheduler_RR(int fd, FILE *fin){ int sequence_counter, new_bytes_remaining, new_quantum = 0;   RCB new_rcb = {sequence_counter, fd, fin, new_bytes_remaining, new_quantum, RRhead, NULL};   RRhead->prior = &new_rcb;   RRhead = &new_rcb;   sequence_counter++; }   producing the following errors:  sws.c: In function ‘admit_to_scheduler_RR’: sws.c:318:10: error: variable ‘new_rcb’ has initializer but incomplete type    struct RCB new_rcb = {sequence_counter, fd, fin, new_bytes_remaining, new_quantum, RRhead, NULL};           ^ sws.c:318:10: warning: excess elements in struct initializer [enabled by default] sws.c:318:10: warning: (near initialization for ‘new_rcb’) [enabled by default] sws.c:318:10: warning: excess elements in struct initializer [enabled by default] sws.c:318:10: warning: (near initialization for ‘new_rcb’) [enabled by default] sws.c:318:10: warning: excess elements in struct initializer [enabled by default] sws.c:318:10: warning: (near initialization for ‘new_rcb’) [enabled by default] sws.c:318:10: warning: excess elements in struct initializer [enabled by default] sws.c:318:10: warning: (near initialization for ‘new_rcb’) [enabled by default] sws.c:318:10: warning: excess elements in struct initializer [enabled by default] sws.c:318:10: warning: (near initialization for ‘new_rcb’) [enabled by default] sws.c:318:10: warning: excess elements in struct initializer [enabled by default] sws.c:318:10: warning: (near initialization for ‘new_rcb’) [enabled by default] sws.c:318:10: warning: excess elements in struct initializer [enabled by default] sws.c:318:10: warning: (near initialization for ‘new_rcb’) [enabled by default] sws.c:318:14: error: storage size of ‘new_rcb’ isn’t known    struct RCB new_rcb = {sequence_counter, fd, fin, new_bytes_remaining, new_quantum, RRhead, NULL};               ^ sws.c:319:9: error: dereferencing pointer to incomplete type    RRhead->prior = &new_rcb;          ^   I have no clue about why I am getting the warnings for excess elements. Am I not initializing new_rcb correctly? Do I need to create it and then set all of the fields to what I want?  I believe this all has to do with having an "incomplete type" for new_rcb. Most googling indicates that this is because the compiler doesn't know what the size of RCB should be. It seems to indicate that I need to place this struct definition into a header. Is this absolutely necessary?


How to trigger a check for updates in Firefox programatically or from a command line?

Is there a command line switch for firefox.exe or an "about:" URL that will either force an update check or at least display the Help/About dialog, which checks for updates and tells if you're running the latest version?    One site claimed that the "about:" URL was the same as menu Help -> About, but it's not.  I built a program to automate the updating of various programs on my machine, and most programs have command line tools for checking for updates. Windows update has wuauclt.exe, Java has jucheck.exe. For some applications, I can even automate the interface, but it's difficult in Firefox, because the main window title is unpredictable (it depends on which web page is active), and all Firefox windows seem to use the exact same window class name.


Dropdown - Values from other list depending on user input

I have a list which stores new user requests. In the form, there are fields for the wanted Operating system and the type (Notebook or Desktop). These are stored in the list and are radio buttons.  However, I have another list with all the models. This list has the columns "Name" (i.e. Lenovo T510), "Type" (Notebook or Desktop) and "OS" (Windows or Mac).   What I like to have is a dropdown menu showing the models. However, it should only show the models which are based on the selection of the user. So if the user chooses a Windows Notebook, the dropdown should only show the list entrys where "Type" is Notebook and "OS" is Windows.  I hope it is clear what I want to accomplish. Is there a way to do it? I have access to SharePoint Designer and jQuery to get this job done, so this isn't a problem. However, I like to solve this with as much default settings from SharePoint as possible.  This is in SharePoint 2013.  Thank you.


Take into account all of the reputations from all stackexchange sites

I use the Stack Exchange sites very often to find solutions to problems and help me with decision-making.  In some sites I have asked question and received answers, and I have more than 15 reputation. On Stack Overflow I have always found answers to my questions and never needed to post a question (avoiding duplicate questions). However, I would like to vote for the answers that helped me but I do not have the ability to do that, due to low reputation.  Posting a question or answering an answer on each site seems like the only way to get enough reputation.  Since I have no input to give in these areas unless they will be counted as duplications, many answers that I have already used are missing my vote.  I suggest to take into account all of the reputations from all Stack Exchange sites for voting, or thinking about a different way to allow votes.


How do I add windows 7 on a new hard drive to grub

I have Ubuntu 14.04 installed on an SSS running perfectly. Got a new 2TB drive that has Windows 7 installed on it.  How do I add Windows 7 to my grub menu?  This is output of sudo update-grub:   Searching for GRUB installation directory ...  found: /boot/grub Searching for default file ...  found: /boot/grub/default Testing for an existing GRUB menu.lst file ...  found: /boot/grub/menu.lst Searching for splash image ...  none found, skipping ...  Found kernel: /boot/vmlinuz-3.13.0-51-generic  Found kernel: /boot/vmlinuz-3.13.0-49-generic Found kernel: /boot/vmlinuz-3.13.0-24-generic  Found kernel: /boot/memtest86+.bin Updating /boot/grub/menu.lst ... done   This is the output of sudo os-prober:   sudo os-prober /dev/sdc1:Windows 7 (loader):Windows:chain


How to detect and condition based on hostname

How do I construct a conditional statement based on the hostname of the compiling computer in LaTeX? For example:  \ifhostname{mymachine}   \dostuff \else   \dootherstuff \fi   Why: I am working with a collaborator on a document that has dependencies on a couple files that are located in different places. I would like the document to automagically detect who is compiling it and use the appropriate file locations.


Is there a word for people who always act too friendly in order to curry favor with their acquaintances?

Is there a single noun or adjective for a person who is always flattering friends and acquaintances, not only to be liked and accepted but, at other times, to curry favor with them as well ?  I'm not looking for regionalisms but a word that will be understood in any English speaking country.


SE data explorer shows bad Ask Ubuntu logo

In the , the Ask Ubuntu logo is shown as:  when indeed it should have the "speech-bubble" portion visible. Looking at the image carefully shows that it should(if I am correct) be transparent around the white speech bubble, which isn't visible at all. Some users, as seen in comments below, believe that the icons from the  should be used, which I agree with. I wasn't sure whether this belongs here because it is about the design of the data explorer, or on Ask Ubuntu meta because of the logo design, so feel free to migrate if it is in the wrong place.


pgfplot provides the possibility to insert a discontinuity on the axes (see MWE 1 & first srceenshot). However, it seems as this discontinuity is only applicable from the value 0 to ymin/xmin.  I plotted a histogram in which the occurrence of the values between -50 and -1.8 as well as between 3 and 50 are not really relevant to the reader (red boxes). However, I must provide these results. The most important part lies between the values -1.8 and 3 (green boxes). Therefore I thought in this case it would be useful just to plot the relevant part and to depict the irrelevant part with an interrupted interval (e.g. xleft1=-40, xright1=-5 and xleft1=5, xright1=40)  Question:  How can I insert a discontinuity as in MWE 1 between a value xleft and xrigth in my histogram?      MWE 1 (example from pgfplot manual)  \begin{tikzpicture} \begin{axis}[     axis x line=bottom,     axis y line=center,     tick align=outside,     axis x discontinuity=crunch,     xmin=-2, enlargelimits=false     ]      \addplot[blue,mark=none,          domain=-4:4,samples=20]          {x*x+x+104};  \end{axis} \end{tikzpicture}   MWE 2      \documentclass{article}     \usepackage{filecontents}     \usepackage{tikz}     \usepackage{pgfplots,pgfplotstable}       \begin{filecontents}{HistoData1.dat}     x   y     %-50    5     -1.8    29.     -1.6    20.     -1.4    41.     -1.2    43.     -1. 44.     -0.8    52.     -0.6    92.     -0.4    79.     -0.2    80.     0.  74.     0.2 81.     0.4 52.     0.6 68.     0.8 52.     1.  43.     1.2 37.     1.4 34.     1.6 17.     1.8 7.     2.  10.     2.2 6.     2.4 5.     2.6 1.     2.8 2.     3.  2.     %50 10     \end{filecontents}      \begin{filecontents}{HistoData2.dat}     x   y     -50 5     -1.8    29.     -1.6    20.     -1.4    41.     -1.2    43.     -1. 44.     -0.8    52.     -0.6    92.     -0.4    79.     -0.2    80.     0.  74.     0.2 81.     0.4 52.     0.6 68.     0.8 52.     1.  43.     1.2 37.     1.4 34.     1.6 17.     1.8 7.     2.  10.     2.2 6.     2.4 5.     2.6 1.     2.8 2.     3.  2.     50  10     \end{filecontents}      \begin{document}  \begin{tikzpicture}      \begin{axis}[title={\large 1st plot}     ]          \addplot[title={second plot},             ybar interval,             fill=blue         ] table [                   x=x,                 y=y         ] {HistoData2.dat} ;          \draw[green,dashed,thick] (axis cs:-5,0) rectangle (axis cs:5,95);         \draw[red,dashed,thick] (axis cs:-2,0) rectangle (axis cs:-52,10);         \draw[red,dashed,thick] (axis cs:1.5,0) rectangle (axis cs:52,7.5);          \node         [pin=90:\scriptsize xleft1,fill=black,circle,scale=0.3]          (xright1) at (axis cs:-40,5) {};         \node         [pin=145:\scriptsize  xright1,fill=black,circle,scale=0.3]          (xright1) at (axis cs:-5,5) {};          \node         [pin=45:\scriptsize xleft2,fill=black,circle,scale=0.3]          (aninnernode) at (axis cs:5,2) {};         \node         [pin=90:\scriptsize  xright2,fill=black,circle,scale=0.3]          (aninnernode) at (axis cs:40,2) {};      \end{axis}  \end{tikzpicture}  \vspace{1.5cm}  \begin{tikzpicture}      \begin{axis}[title={\large 2nd plot (relevant part of 1st plot)}     ]          \addplot[title={first plot},             ybar interval,             fill=blue         ] table [                   x=x,                 y=y         ] {HistoData1.dat} ;          \draw[green,dashed,thick] (axis cs:-2,0) rectangle (axis cs:3.3,95);      \end{axis}  \end{tikzpicture}   \end{document}


I am writing some notes and in them there is 95% mathematics, give or take, so I use $...$. The problem is that if I want to go into a new line and I use the \\ there is the risk of badbox creation. Also because I write a lot of formulas in multiple lines I have to use a lot of times $...$ , which seems to me a little useless because my notes as I said are almost entirely mathematics. Is there an environment or another way so I can write mathematics like I write text? Something like the verbatim environment but for mathematics?


Does freezing fresh peppers, specifically habañero peppers ruin them?

Someone gave me more peppers than I can eat and I'd like to freeze them for at least a few months, a year at most. Am I wasting good peppers by doing that?


proving euclid's algorithm stops after 2k iterations

Apparently, when initialized on $k$-bit integers $A$, $B$, Euclid's algorithm terminates after at most $2k$ iterations. This result is not immediately intuitive to me. I would appreciate help in showing this result. Thanks.


Is there a way that lets you lock your screen during YouTube

My son likes to watch a specific YouTube video in the car sometimes, and he always touches the screen and stops the video. Is there any way to prevent this while keeping the screen on?


Prove that $|||A||| \leq |||I|||$ for every doubly stochastic matrix $A \in M_n$. Let $|||\cdot|||$  be a unitarily invariant norm on $M_n$.    Do you (experts) agree with these proofs? Please correct me if I am making any mistakes. Thank you so much in advance.  Proof#1: Utilizing , the doubly stochastic matrix $A$ can be described by a convex combination of permutation matrices, i.e.,  $$A = \sum_i \alpha_i P_i , $$ in which $\sum_i \alpha_i = 1$, $\alpha_i \geq 0 \ \forall i$, and $P_i$ are the permutation matrices (with norm $1$).   So, by utilizing the properties of the matrix norm $$|||A||| \leq \sum_i |\alpha_i| \ \underbrace{|||P_i|||}_{=|||I|||} = |||I||| \sum_i \alpha_i = |||I|||. $$   Proof#2: See herein


Purpose and relevance of website name and logo?

Take this stackexchange UX page itself as an example. It contains the StackExchange logo and the words "UX User Experience" (website name) in huge letters.    If you're creating a single-page-application like GMail, you'd want the User to have more space for functionality. Does it really make sense to allow the website name to take up so much space? If yes, why?    As for the logo, I understand that for any brand, showing their logo is of prime importance, but is it really necessary to show it on the top-left corner? Would it constitute a visibility problem if it is shown at the top-right corner of the page or as a watermark at any area on the top/side of the page?


Pay down mortgage or low interest student loans

I have both a mortgage and student loans, as many now do.  My mortgage is at 5.5 % with ~ $250k balance and my student loans are at ~ $98k with 2.125 % interest.  The remaining number of payments are about equivalent (~25 years).  So, the question is does it make more sense to pay down the mortgage faster through higher extra payments or get rid of the student loans asap or do a mix of extra payments on both?    Right now I think of my student loans as part of my mortgage, but the total estimated interest paid over the life of the student loans is ~$40k while the cumulative mortgage interest is >$200k.  Therefore, wouldn't it make more sense to pay down the mortgage that is also at a higher interest rate, faster?   The way I pay today is a little extra to the student loans and about 1 extra payment per year on the mortgage.  As my income changes I adjust the mortgage payment a little higher each year similar to my retirement savings.  Thanks


Groups of order $pq$ have a proper normal subgroup

I am doing the following exercise from [Birkhoff and MacLane, A survey of modern algebra]:     Let $G$ be a group of order $pq$ ($p,q$ primes).  Show that either $G$ is cyclic or contains an element of order $p$ (or $q$).  In the second case, show that $G$ contains either $1$ normal or $q$ conjugate subgroups of order $p$.  In the latter case the $pq-(p-1)q=q$ elements not of order $p$ form a normal subgroup.  Infer that $G$ always has a proper normal subgroup.   I think I was able to prove $G$ has a proper normal subgroup, but without quite establishing that the number of subgroups of order $p$ is 1 or $q$.  Here is my solution:    Suppose $G$ is cyclic and $G=\langle x \rangle$.  Then, $\langle x^p \rangle$ has order $q$ and is normal, so we are done.  So suppose $G$ is not cyclic.  Let $x \in G-1$.  By Lagrange's theorem, the order of $x$ is $p$, say.  Let $H:=\langle x \rangle$.  $G$ acts on all subgroups of order $p$ by conjugation.  In this action, the stabilizer of $H$ is the normalizer $N_G(H)$.  Since $N_G(H) \supseteq H$, $|N_G(H)|$ equals $p$ or $qp$.  Hence the orbit containing $H$ has length $q$ or 1 (by the orbit-stabilizer lemma).  If this value is 1, then $H$ is normal, so we are done.  If this value is $q$, then there are $pq-(p-1)q=q$ remaining nonidentity elements in $G$ that are not in any conjugate of $H$.    Case 1: If any of these $q$ elements, say some $y \in G$, has order $p$, then $K:=\langle y \rangle$ is either normal (so we are done) or has $q$ conjugate subgroups (in which case the conjugates of $H$ and of $K$ together contain $q(p-1)+q(p-1)+1>qp$ elements, a contradiction).    Case 2:  If none of the $q$ elements has order $p$, then they all have order 1 or $q$, and hence form a cyclic subgroup $K$ of order $q$.  $K$ must be normal, since otherwise $g^{-1}Kg \ne K$ for some $g \in G$, whereas $K$ already exhausted all the elements of $G$ of order $q$.   Thus, $G$ has a normal subgroup of order $p$ or $q$.  While I have shown the group is not simple, I think I haven't shown yet that the number of subgroups of order $p$ is 1 or $q$.  The proof only establishes that the number of distinct conjugates of $H$ is 1 or $q$.  Any suggestions on how to prove (using elementary methods) that any other subgroup of order $p$ would have to be conjugate to $H$? In other words, I need to rule out Case 1 in the proof.


Rotating a table so that at least two name cards are correct

Fifteen chairs are evenly placed around a circular table. On the table are the name cards of fifteen guests. After the guests sit down, it turns out that none of them is sitting in front of their own card. Prove that the table can be rotated so that at least 2 guests are seated in front of their own name card.  The extreme case is having swapped names in pairs i.e.   1 sits where 2 should sit and vice versa,  3 sits where 4 should sit and vice versa,...  Because no rotation will get two correctly seated, unless their number is odd from pigeon.  Missing something? Is this really the extreme case?


The electric field strength in a region is given by $\vec{E}=\dfrac {x\widehat{i} +y\widehat {j}}{x^{2}+y^{2}}$.  In order to calculate the net charge inside a sphere of radius $a$ centred at origin, I evaluated $\vec{\nabla }\cdot \vec{E}$ using quotient rule of differentiation as   $$\frac{(x^2+y^2)-2x(x)}{(x^2+y^2)^2} + \frac{(x^2+y^2)-2y(y)}{(x^2+y^2)^2} = \frac{(y^2-x^2)+(x^2-y^2)}{(x^2+y^2)^2}=0 = \frac{\rho}{\epsilon_{0}}\\ \Downarrow \\ \rho=0$$(vector form of gauss law). So this gives charge inside the sphere as 0(which is incorrect).  However, on using the integral form of gauss law equation, and noting that the field is radial and spherically symmetric,  $$\int \vec {E}\cdot \vec{dA} =|E|\times4 \pi a^2 = \frac{1}{a} \cdot 4\pi a^2=4\pi a = \frac{q}{\epsilon_{0}} \implies q=4 \pi a \epsilon_{0}$$ which is correct.  Why is the first method incorrect?


How does a photon released from particle A interacting with particle B, entangle them both?

What does a photon carry from its parent particle that when it interacts with another particle, it entangles both the particles?


\documentclass[10pt, a4paper]{article}  \usepackage{graphicx} ... \begin{figure} \includegraphics{logicarch.pdf} \caption{system architecture} \label{fig:logiarch} \end{figure} ...   I wish the figure and its caption, could be horizontal placed in a single page, unlike the rest which is vertical. Besides, I also noticed the pdf exported from visio have a large blank at its bottom, is there a way to 'cut' it a little or 'autofit' according to the content?


I remember watching an episode of Good Mythical Morning on YouTube the other day, and they had a game where they were given words and had to guess what they meant. One of the word's definition roughly meant outdated traditions or traditions that no longer make sense in the context of the modern-day but that we still perform.  I can't find the video now, and it's bothering me so much that I can't find this word. I've tried googling and nothing relevant is showing up.


Environment looks fine in rendered preview mode, but completely black in final render?

My environment and render settings all seem normal, and when I go into rendered mode(Shift+Z or preview mode dropdown menu) it looks fine and lights the scene normally, but when I do a test render of the final frame, the environment disappears and doesn't light the scene or show up in reflections. I thought it might be my compositing setup somehow, but it looks like that while it's still doing the initial render, and I tried just plugging the rendered image into the final image slot to test it and it still looks the same.  Screenshots:


How do you find all ideals of the R := K x K, where K is a field?

Consider the unitary commutative ring R := K x K where K is a field. The sum and product are defined as $$(a,b) + (c,d) = (a + c, b + d)$$   and $$(a,b) . (c,d) = (ac, bd)$$ How do you find all ideals of this ring?  For a field K, I know that if I < K and I is an ideal of K then I = 0 or I = K. Does it suffice to show that for a,b,c,d $\in$ K, (a,b), (c,d) $\in$ R, since K is closed so (ac, bd) $\in$ R ? So R is a field, or do I need to show every (ac, bd) is a unit? so it's only ideals are itself and 0?


About the steps in a book about Quantum Field Theory

I have a question about the steps in the book "An Introduction To Quantum Field Theory" By Peskin & Schroeder. In page 213, i don't understand why the $e^{iPx}$ before the $<\Omega|$ in equation 7.4 disappear in the second line. Please help me^^.


laptop is dual booted with win10 alongside Ubuntu Gnome 16.04  specs- 8 GB ram, i5 5th gen processor,1TB HDD when run -- systemd-analyze blame output shows that first two are taking almost 40 seconds, how to solve this?? (I tried using BUM but no satisfactory result :(  )       20.979s plymouth-quit-wait.service      19.925s systemd-rfkill.service       8.710s snapd.refresh.service       7.036s accounts-daemon.service       6.428s NetworkManager-wait-online.service       5.941s dev-sda8.device       4.731s systemd-fsck@dev-disk-by\x2duuid-4694\x2dE125.service       4.495s NetworkManager.service       4.478s ModemManager.service       4.152s mysql.service       3.693s grub-common.service       3.274s apport.service       3.274s irqbalance.service       3.221s networking.service       2.983s systemd-logind.service       2.924s pppd-dns.service       2.923s systemd-user-sessions.service       2.861s alsa-restore.service       2.856s gpu-manager.service       2.855s rsyslog.service       2.854s iio-sensor-proxy.service       2.774s snapd.firstboot.service       2.518s apparmor.service       2.460s thermald.service       2.325s polkitd.service ... continued


Does pointwise equicontinuous and uniformly equicontinuous implies compactness?

If every sequence of pointwise equicontinuous functions $M \rightarrow \mathbb{R}$ is uniformly equicontinuous, does this imply that $M$ is compact?


I'm looking to plot day/night on a Google map, for an arbitrary point in time. I'm familiar with generating map tiles; I'm just looking for an algorithm to tell me whether a particular point on the globe is currently in daylight or darkness, or to otherwise plot the curve of the day/night interface onto the map.  I've done some searching, but it's possible I don't even know enough about the problem domain here to know what terms to search for!  Any ideas? Doesn't have to be perfect -- basically, I'm comparing Flickr geolocation data of sunrise and sunset photos (and their "date taken" timestamps) with reality, and this is to help me visualise it.


How To Have The Mirror Modifier Work Correctly?

When working on my character model, I wish to mirror half of the character. When I mirror the half of the character, the mirror does not go over symmetrically.     What are the settings to have the mesh mirror symmetrically?


How do I replace characters only on certain lines?

I need to replace single quotes with double quotes AND double quotes with single quotes in over 600 files. I've been reading various topics most of the day. I am hampered by only knowing some basic shell scripting commands and an unfamiliarity with regexp.   Below is a sample file I've made a bit generic.     some text KEYWORD_1 table name column = "string" AND column = "string"     Additional text           .           .           .    some text KEYWORD_2 text 'text in quote' etc.    I only want to change the quotes on the 2 lines with KEYWORDs. I can't guarantee the keywords are always going to be first line and last line. I need my solution to find the keyword and change all the quotes on that line only.   I tried some things I found in sort of similar questions on this forum, including a meta on SED. I tried to figure out how to use this command: sed -i 's/foo\(.*baz\)/bar\1/' file. According to that topic the command, "Replaces foo with bar only if there is a baz later on the same line." My keyword is not later on the same line its at the beginning and I couldn't make it work for me.   I also tried ex -sc 'g/DEL/s/ALF/BRA/g' -cx file that didn't do anything. I'm assuming it can't be executed from the command line. I really don't want to open each of 600 files.  At one point I tried, grep KEYWORD_1 file | sed -i "s/'/\"/g" file Of course, that changed all the quotes in the file not just the one line.   I'm betting the solution is simple and I just can't see it. How can I do this?     As requested my desired output is:  some text KEYWORD_1 table name column = 'string' AND column = 'string'     Additional text           .            .           . some text KEYWORD_2 text "text in quote" etc.


Asterisk: SIP and IAX registration failed on remote connection

I set up two asterisk servers (on Fedora) in different networks. My goal is to make a call from softphone (on windows lite with ip: 192.168.20.3) to the asterisk server 2 which is in the other network (ip:192.168.10.2). Actually the softphone on windows can register with asterisk 2 which is in the same network (ip:192.168.20.2). But the problem is in registration between the two asterisk servers.     Architecture:        IAX.conf in Asterisk server 1:   [general] autokill=yes register => zone1:welcome@192.168.20.2  [zone2] type=friend host=dynamic trunk=yes secret=welcome context=incoming_zone2 deny=0.0.0.0/0.0.0.0 permit=192.168.20.2/255.255.255.0      IAX.conf in Asterisk server 2:   [general] autokill=yes register => zone1:welcome@192.168.10.2  [zone1] type=friend host=dynamic trunk=yes secret=welcome context=incoming_zone1 deny=0.0.0.0/0.0.0.0 permit=192.168.10.2/255.255.255.0      extensions.conf in Asterisk server 1   [general] autofallthrough=yes  [phones] include => internal include => remote  [internal] exten => _5XXX,1,NoOp() exten => _5XXX,n,Playback(hello-world) exten => _5XXX,n,Dial(SIP/${EXTEN}) exten => _5XXX,n,Hangup()  [remote] exten => _6XXX,1,NoOp() exten => _6XXX,n,Playback(hello-world) exten => _6XXX,n,Dial(IAX2/zone2/${EXTEN}) exten => _6XXX,n,Hangup()  [incoming_zone2] include => internal      extensions.conf in Asterisk server 2   [general] autofallthrough=yes  [phones] include => internal include => remote  [internal] exten => _6XXX,1,NoOp() exten => _6XXX,n,Playback(hello-world) exten => _6XXX,n,Dial(SIP/${EXTEN}) exten => _6XXX,n,Hangup()  [remote] exten => _5XXX,1,NoOp() exten => _5XXX,n,Playback(hello-world) exten => _5XXX,n,Dial(IAX2/zone1/${EXTEN}) exten => _5XXX,n,Hangup()  [incoming_zone1] include => internal      Registration problem : Timeout     NOTES:   PING between the two networks is ok  There is no NAT Firewall on servers was turned off On routers, I create an ACL with 'PERMIT ANY' for each interface


How do I stop Debian from overwriting /etc/resolv.conf and overwriting my VPN's nameservers?

Background  I'm running Debian stretch/stable; I installed openvpn from the repo abd downloaded the configuration file us1041.conf (as an example) from my VPN provider into /etc/openvpn/us1041.conf. I want openvpn to run at boot, so following the VPN provider's instructions, I created /etc/openvpn/auth.txt with my credentials, add auth-user-pass auth.txt to the configuration file, and added AUTOSTART="us1041" to /etc/default/openvpn.  If I manually add the nameservers to /etc/resolv.conf:  nameserver 78.46.223.24 nameserver 162.242.211.137   the VPN works. Great! However, once I reboot, /etc/resolv.conf is overwritten with the nameservers from my ISP, and no connections resolve.  Also, I'm not using network manager or any GUI app to configure the network. I didn't install a graphical interface and network configuration worked "out of the box." This is /etc/network/interfaces:  source /etc/network/interfaces.d/* auto lo iface lo inet loopback allow-hotplug enp0s31f6 iface enp0s31f6 inet dhcp   Question  I think I need to use the , but I'm not sure how to configure that with the configuration files that came from my VPN provider.  How can I get the VPN's nameservers to persist across reboots?


Does retagging the question need peer reviews?

As far as I know if a user has crossed 500 rep, he can retag the questions and it doesn't go through peer review.  But when I retagged , it did go through peer review and I even got 2 rep points. Has this been changed recently? The new  page doesn't mention anything about this retagging.


Reverse direction of "Add Geometry Attributes" tool?

The ArcGIS Desktop tools  and  read from [Shape] column and write the shape XY properties to new X and Y columns. I need to go the other direction, from X and Y columns to the [Shape] XY properties. It is a point feature class already, not a bare table.   isn't applicable because creates a new feature class.


How can I add subtitle in my report. How can I add logo (graphics) after date.  \documentclass[a4paper,twoside,10pt]{report} \fancypagestyle{empty}{   \renewcommand{\headrulewidth}{0pt}   \fancyhead[L]{}   \fancyhead[C]{\includegraphics[width=12cm]{logo.jpg}} }  \begin{document}  \title{(Title)} \subtitle{( ABC......(new line) Timeperiod: 10.11.-12.11.12)} \author{(Author)}  \maketitle  \end{document}


Why does LOOCV have a higher bias than a single validation set?

In An Introduction to Statistical Learning, the following statement is made comparing leave-one-out cross validation to using a single validation set:  LOOCV has a couple of major advantages over the validation set approach. First, it has far less bias. In LOOCV, we repeatedly fit the statistical learning method using training sets that contain $n − 1$ observations, almost as many as are in the entire data set. This is in contrast to the validation set approach, in which the training set is typically around half the size of the original data set. Consequently, the LOOCV approach tends not to overestimate the test error rate as much as the validation set approach does.  I would think that LOOCV actually just provides a better estimate than using a single validation set, since it is able to fit using more data, and therefore would have a lower variance rather than a lower bias. Why would the bias be lower?


Is there any way to get ubuntu 13.10 to stop asking for my password

I've always found this feature quite annoying and when I try to turn it off or simply just clear the password it still prompts me for a password. Everytime I've done that I've had to reinstall ubuntu all over again because nothing I put in will work. It keeps asking for authentication on EVERYTHING!! I can't even do a simple search of MY OWN FILES AND PROGRAMS without being prompted for a password.  I did a format and reinstall recently and I didn't have this problem until something popped up asking for my password for a keyring. I saw this A LOT before I reinstalled but it wouldn't let me install some software I needed until I did. Ever since, this stupid keyring thing is ALWAYS asking for a password.


find: ‘ls’ terminated by signal 13 error

My Script  log=$HOME/Deleted/$(date) find $HOME/OldLogFiles/ -type f -mtime -7 -exec ls -latr {} \; -exec echo was deleted on `date` \; -exec rm -f "{}" \;|paste - - >> $log   My goal for the script is to delete files older than x amount of days and then log them to a file and display the filename, date deleted, and how old it was. I keep getting these errors however...  ./test.sh: line 3: $log: ambiguous redirect find: ‘ls’ terminated by signal 13 find: ‘ls’ terminated by signal 13   Anybody have any suggestions?


An open subset of $\mathbb{R}$ is an at-most-countable union of disjoint open intervals

We have the classic result that an open subset of $\mathbb{R}$ is an at-most-countable union of disjoint open intervals.  In trying to prove this, I found the following line of reasoning, and I would like to know if its correct, because it's quite different from the other proofs I have read.    Let S be an open subset of R.  Thus for every $a$ in $S$, $a$ is contained in some open ball $B$ which is contained in $S$.  In particular $a$ is contained in an open interval which is contained in $S$.  For each $a$, let's associate the maximal such interval $I_a=(\alpha, \beta)$ where $\alpha$ and $\beta$ live in $\mathbb{R} \bigcup \{\pm\infty\}$  $\alpha=\inf\{y: (y,a] \subset S\}$  $\beta=\sup\{y: [a,y) \subset S\}$  Now we have that $S$ is the union of $I_a$ over all $a$ in S. Furthermore if $I_{a_1}$ and $I_{a_2}$ are distinct, then they must be disjoint (otherwise we would contradict the maximality of at least one of them).   Hence $S$ is a disjoint union of open intervals.   Finally, each such interval contains a rational number which is not contained in any other such interval; if there were uncountably many intervals in the union, there would be uncountably many rationals, a contradiction.  Thus $S$ is an at-most-countable union of disjoint open intervals.


Is this logo copyright infringment of Beats' logo?

I was recently informed by friends that my logo looks far too much like Beats' logo, and I did find it to be so.   I made some adjustments, but it in my mind, it still looks fairly similar. Yet, there is almost no identical elements, except for the p standing for "Plenty" -- our project's name. (which is a b in the beats logo).  Here are the two side by side. Do you think I'm infringing?


"Learn More" link on tags broken in latest Chrome stable

Note: This is identical to , but that bug was declined because Chrome 30 was in dev. Chrome 30 has now been released, and still has this issue.   The "Learn More" link for tags is broken in the latest release of Google Chrome.    If I right-click and open in new tab, I get the tag's page, but just clicking doesn't work.  I'm using Chrome 30.0.15599.69, the latest stable release: