Run many background tasks and get a final failure exit code if ANY failed?

I want to run 3 (or more) tasks in parallel and get an overall success code of 0 if all 3 tasks succeeded OR an overall success code of non-0 if any of the 3 tasks did not succeed (i don't need to know which one(s)). My current one works 'most' of the time, except when pid gets reused then i end up getting return code of some other random task.  f_wrapper a & pids="$pids $!" f_wrapper b & pids="$pids $!" f_wrapper c & pids="$pids $!"  for pid in $pids; do     ps -f -w -p $pid     wait $pid     RETURNCODE="$?"     if [ $RETURNCODE -ne 0 ]; then         echo "RETURNCODE=$RETURNCODE for pid=$pid"         RESULT=1     fi done   please no bash 4.3 answers, i am on 4.2  as per the comment in the 'duplicate q link': "That is still buggy. If the PID is reused, the exit code of wait will be non zero because you can only wait on childs of the current process which will make it look like one of the commands failed even if they didn't."


After a system release update, I cant restart my apache server!   $ sudo service apache2 restart      Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.   $ systemctl status apache2.service  ● apache2.service - LSB: Apache2 web server    Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)   Drop-In: /lib/systemd/system/apache2.service.d            └─apache2-systemd.conf    Active: failed (Result: exit-code) since Fr 2016-08-05 14:32:36 EDT; 1s ago      Docs: man:systemd-sysv-generator(8)   Process: 1654 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)   Process: 1800 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)  Aug 05 14:32:36 enriquemorenotent apache2[1800]:  * Aug 05 14:32:36 enriquemorenotent apache2[1800]:  * The apache2 configtest failed. Aug 05 14:32:36 enriquemorenotent apache2[1800]: Output of config test was: Aug 05 14:32:36 enriquemorenotent apache2[1800]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /u Aug 05 14:32:36 enriquemorenotent apache2[1800]: Action 'configtest' failed. Aug 05 14:32:36 enriquemorenotent apache2[1800]: The Apache error log may have more information. Aug 05 14:32:36 enriquemorenotent systemd[1]: apache2.service: Control process exited, code=exited status=1 Aug 05 14:32:36 enriquemorenotent systemd[1]: Failed to start LSB: Apache2 web server. Aug 05 14:32:36 enriquemorenotent systemd[1]: apache2.service: Unit entered failed state. Aug 05 14:32:36 enriquemorenotent systemd[1]: apache2.service: Failed with result 'exit-code'.   Line 140 for apache2.conf is this:  # It is also possible to configure the log level for particular modules, e.g. # "LogLevel info ssl:warn" # LogLevel warn  # Include module configuration: IncludeOptional mods-enabled/*.load    # <--- Line 140! IncludeOptional mods-enabled/*.conf  # Include list of ports to listen on Include ports.conf   Update  I tried doing this:  $ sudo apt-get install libapache2-mod-php7  Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package libapache2-mod-php7   or this:  $ sudo apt-get install libapache2-mod-php5  Reading package lists... Done Building dependency tree        Reading state information... Done Package libapache2-mod-php5 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'libapache2-mod-php5' has no installation candidate   nothing worked


How to ignore duplicates in bash history

Centixels-MacBook-Pro:~ Centixel$ /* some command */ Centixels-MacBook-Pro:~ Centixel$ ./a.out Centixels-MacBook-Pro:~ Centixel$ ./a.out Centixels-MacBook-Pro:~ Centixel$ ./a.out Centixels-MacBook-Pro:~ Centixel$   I want to be able to access /* some command */ in two upkey presses, rather than 4 or N upkey presses. Is this possible to implement in settings? I hate having to upkey a million times through repeat commands to access a previous command. If this is a repeat question, please refer me, I was not sure how to ask the question. Thank you in advance for your help. Centixels-MacBook-Pro:~ Centixel$ bash --version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19) Copyright (C) 2007 Free Software Foundation, Inc.  Edit: # .bashrc  # User specific aliases and functions . .alias alias ducks='du -cks * | sort -rn | head -15'  # Source global definitions if [ -f /etc/bashrc ]; then     . /etc/bashrc fi  PATH=$PATH:/home/username/bin:/usr/local/homebrew export PATH export HISTCONTROL=ignoreboth:erasedups  This is my edited .bashrc file (in my home directory), and the changes seem to not have been enacted, I have restarted my terminal as well.


Booting error on GRUB after Backtrack installation

I have installed windows a 7 and Ubuntu 13.04 already, I was trying to install backtrack but at the start of the installation, I turned the computer off because it told me it was going to boot automatically or something like this, then when I tried to open my computer again, I got this  error: unknown file system. grub rescue>


Is there a nice way to arbitrarily force a figure into a location in the page, in an ad-hoc way. That is, after everything is written, just tell latex where to place it without changing any text.  I ma working with a CV template and don't want to change much, so I am looking for this way of achieving this. Any suggestions are welcome, thank you.  Edit I am not referring to in-text floats. Rather, I would like to "stick it on" in an arbitrary location.


Let $B_r$ denote the ball $|x|\le r$ in $\mathbb{R}^3$, and write $dS_r$ for the area element on its boundary $\partial B_r$. The electric field associated with a uniform charge distribution on $\partial B_R$ may be expressed as  $$E(x)=C\int\limits_{\partial B_R}\nabla_x|x-y|^{-1}dS_y,$$ a) Show that for any $r<R$, the electric flux $\int\limits_{\partial B_r}E(x).\nu dS_x$ through $\partial B_r$ equals zero.  **b)**Show that $E(x)\equiv 0$ for $|x|<R$("a conducting spherical shell shields its interior from outside electrical effects").  For part a, I tried to to using divergence theorem as follows: $$\int\limits_{\partial B_r}E(x).\nu dS_x=\int\limits_{B_r}divE(x)dx= C\int\limits_{B_r}\int\limits_{B_R}div\nabla_x|x-y|^{-1}dS_ydx,$$ However, I don't know how to proceed next steps to prove the integrand is zero. By the way, could you please suggest me a method for part b)?  Thank you very much for your help.


How to install Microsoft fonts on Ubuntu 16.10? I tried with $ sudo apt install ttf-mscorefonts-installer but unsuccessfully. Here is the screenshot:  $ sudo apt install ttf-mscorefonts-installer ... Reading package lists... Done Building dependency tree        Reading state information... Done The following packages were automatically installed and are no longer required:   libc++1 libjemalloc1 linux-headers-4.8.0-26 linux-headers-4.8.0-26-generic   linux-headers-4.8.0-27 linux-headers-4.8.0-27-generic   linux-image-4.8.0-26-generic linux-image-4.8.0-27-generic   linux-image-extra-4.8.0-26-generic linux-image-extra-4.8.0-27-generic   linux-signed-image-4.8.0-26-generic linux-signed-image-4.8.0-27-generic Use 'sudo apt autoremove' to remove them. The following additional packages will be installed:   cabextract libmspack0 The following NEW packages will be installed:   cabextract libmspack0 ttf-mscorefonts-installer 0 upgraded, 3 newly installed, 0 to remove and 86 not upgraded. Need to get 89,2 kB of archives. After this operation, 362 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://nl.archive.ubuntu.com/ubuntu yakkety/main amd64 libmspack0 amd64 0.5-1 [38,2 kB] Get:2 http://nl.archive.ubuntu.com/ubuntu yakkety/universe amd64 cabextract amd64 1.6-1 [21,4 kB] Get:3 http://nl.archive.ubuntu.com/ubuntu yakkety/multiverse amd64 ttf-mscorefonts-installer all 3.4+nmu1ubuntu2 [29,5 kB] Fetched 89,2 kB in 0s (577 kB/s)                    Preconfiguring packages ... Selecting previously unselected package libmspack0:amd64. (Reading database ... 321446 files and directories currently installed.) Preparing to unpack .../0-libmspack0_0.5-1_amd64.deb ... Unpacking libmspack0:amd64 (0.5-1) ... Selecting previously unselected package cabextract. Preparing to unpack .../1-cabextract_1.6-1_amd64.deb ... Unpacking cabextract (1.6-1) ... Selecting previously unselected package ttf-mscorefonts-installer. Preparing to unpack .../2-ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb ... Unpacking ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ... Setting up libmspack0:amd64 (0.5-1) ... Processing triggers for update-notifier-common (3.175) ... ttf-mscorefonts-installer: processing... ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe Err:1 http://downloads.sourceforge.net/corefonts/andale32.exe   404  Not Found W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/andale32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) E: Failed to fetch https://downloads.sourceforge.net/project/corefonts/the?download&failedmirror=heanet.dl.sourceforge.net  404  Not Found E: Download Failed Setting up cabextract (1.6-1) ... Processing triggers for man-db (2.7.5-1) ... Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ... Processing triggers for fontconfig (2.11.94-0ubuntu2) ... Processing triggers for libc-bin (2.24-3ubuntu1) ...


Strunk and White says "Charles's" is correct -- is this still the case?

Possible Duplicate:             I just bought The Elements of Style, an awesome little book. However, in the first section, the authors promote the use of 's, no matter what the last letter of a word is, to show possessiveness.  Some examples they use:        Charles's friend     Burns's poems      Are these grammatically correct?


Possible Duplicate:          Mr. Jon Skeet has been caught causing this bug.    The last digit of his bronze badge is hidden.  Edit: My system specifications  Browser: Version 22.0.1229.79 m OS: Windows 7 Ultimate 32 bit Screen Resolution: 1280 x 800


Why do the Walking Dead Zombies only show intelligence in the very first episode?

I enjoy The Walking Dead, however one question keeps nagging me. The 'Walkers' are always shown to not have any intelligence or memory of having been human. This is for all seasons except the very first one.  In the very first scene of Season One, Episode One, we see a little zombie girl stop to deliberately pick up a teddy bear from the ground.   Later in the same episode we see a zombie apparently try to turn the door knob to get into Morgen Jones' house.  Also at Atlanta they can climb fences and used rocks to break glass.  After season 1 I do not recall seeing any such intelligence demonstrated by a zombie again.  My question is: are these initial displays of intelligence a discrepancy in the story, or is there a plausible explanation why the Walkers performed these actions?


If something is not moving in space, is it moving on the time axis at the speed of light?

I heard this theory yesterday:  If something is not moving in space, then it is moving on the time axis at the speed of light.  I realize that in essence there is no object which can be considered as "not moving in space".  So my question is rather theoretical:  Given an object with zero velocity on all three axises, is it moving on the time axis at the speed of light?  Does the law of conservation of energy (or any other law in physics) imply that this condition must hold?


How is $\ a^{\log_nb} = b^{\log_na} $ ?   I know this is likely a trivial identity but I don't see how the statements are equivalent.  I came across this equivalence in Chapter 4.4 of Introduction to Algorithms, CLRS


Do Door of Destinies and Myr Turbine interact?

If I have a in play and choose creature type Myr, do the abilities of  interact with the Door?  Do either of Myr Turbines effects cause Door of Destinies to trigger? Or, . Do the 4 myr tokens it generates count?  Seems like the second would but im not sure about tokens...


What causes the noise when you crack a joint? Is joint cracking harmful?


JSP generating Excel spreadsheet (XLS) to download

I have this application I'm developing in JSP and I wish to export some data from the database in XLS (MS Excel format).  Is it possible under tomcat to just write a file as if it was a normal Java application, and then generate a link to this file? Or do I need to use a specific API for it?   Will I have permission problems when doing this?


Copy Layer(s) into new automatically sized file?

What I want to do is to be able to copy either a layer or a group of layers into a new document which is sized to that layers exact dimensions. I find I can right click -> Duplicate -> New Document, but it is still sized the same as the original document. Is there any way to make it so that the new document will be sized precisely to fit the layer(s)? Thanks!


Why isn't energy created by the superposition of waves?

Two identical waves, of amplitude $A$, have energy proportional to $A^2$. The sum of the energies of these two waves being proportional to $2A^2$.  If these two waves superimpose to form a wave of the same form with amplitude $2A$. The energy of this wave will now be proportional to $(2A)^2 = 4A^2$. This suggests an increase in energy by a factor of $2$, which is a contradiction to the conservation of energy.  How is this rectified please?


Account is a parent to Object B and Object C. Object B and Object C does not have any relationship. From Object B I want to find Object C's fields(like name etc.,) using Account in a single SOQL query. Below is the SOQL query: Select id, Account.Name from ObjB where Account.Name IN(select Account__c from ObjC). In the inner query I am passing the Account__c, but I want to find the value of Name field from ObjC. Is this achievable in any way?


Why is MessageDigest returning same byte[] value for different strings

I am trying to practice java cryptography, but I noticed when I try to get the byte array of certain strings the byte array is always the same, why is this?  Here is my code snippet :  import java.security.MessageDigest; import java.security.NoSuchAlgorithmException;  public class Main {      public static void main(String[] args) {         try {             MessageDigest messageDigest = MessageDigest.getInstance("SHA-1");             String message = "you are welcome";             messageDigest.update(message.getBytes());             byte[] md = messageDigest.digest();              System.out.println(md);          } catch (NoSuchAlgorithmException e) {              System.out.println("no such algorithm");             e.printStackTrace();         }     } }   and no matter the value of my message variable, the result always printed out is [B@1540e19d  but what makes me more curious is when I convert my byte[] md into hex values,      import java.security.MessageDigest; import java.security.NoSuchAlgorithmException;  public class Main {      public static void main(String[] args) {         try {             MessageDigest messageDigest = MessageDigest.getInstance("SHA-1");             String message = "thank you";             messageDigest.update(message.getBytes());             byte[] md = messageDigest.digest();              System.out.println(md);              //Converting the byte array in to HexString format             StringBuffer hexString = new StringBuffer();              for (int i = 0;i< md.length;i++) {                 hexString.append(Integer.toHexString(0xFF & md[i]));             }             System.out.println("Hex format : " + hexString.toString());          } catch (NoSuchAlgorithmException e) {              System.out.println("no such algorithm");             e.printStackTrace();         }     }   }   it produces totally different values for my StringBuffer hexString even the byte[] md is the same for two different strings. Please, could someone explain?


Can I (or should I) use a MacBook charger on my iPhone?

I recently got a MacBook with the USB-C charger. It comes with a 29-watt power brick, and I was wondering if I should use this to charge my iPhone. I've heard that the iPad power brick (I think 10 watts) charges the phone faster. I don't expect to be able to charge the phone proportionally faster, but would the MacBook brick damage the phone? I would rather only have to carry around one charging brick around campus. Also, I have a USB to USB-C converter.


Deleted Ubuntu partition accidentally, Grub Rescue problem

I have a laptop with dual os windows 7 and ubuntu 13.03.  I wanted to uninstall ubuntu from it. So, I formatted partitions of ubuntu from windows Disk management and make that free space into a new volume.  After that I restarted my system, then it shows "error: no such partition.grub rescue>" Then I came to know that I need to reset MBR.  I tried everything like boot-repair tool, boot from windows 7 live-usb but it shows 'boot error' everytime. I need my windows back. please help me.  Thanks in advance for your kind assistance.


Is it possible to get a list of most recently installed packages?

Is it possible to get a list of packages that were most recently installed through apt-get?


How can I pick the correct avocados for guacamole?

I tried to make guacamole the other day and it completely failed because some of the avocados that I bought were not ripe. How can I know which avocados to pick in order to make good guacamole?


Computing Galois group of splitting field of cubic

If we have $f=x^3-2 \in \mathbb{Q}[x]$ and it has splitting field $L=\mathbb{Q}(\alpha , \omega )$ where $\alpha =\sqrt[3]{2} \ ,\ \omega =\exp{(2\pi i/3)}$. I know that since $f$ is irreducible and it's roots are $\alpha , \alpha \omega, \alpha \omega^2 $, there is an element $\sigma \in \text{Aut}(L/\mathbb{Q})$ such that $\sigma (\alpha )=\alpha \omega .$ How do I determine the action of $\sigma $ on the other roots?


Let $p(z) = z^n+ a_{n-1} z^{n-1}+...+a_0,$ where $a_i \in \mathbb{C} $. If $|p(z)| \leq 1$ for all $z$ with $|z| \leq 1$, then show that $p(z)=z^n, \forall z\in \mathbb{C}$. Now by maximum modulus principle , we can deduce that $|p(z)| \lt1 \ for \  |z| \lt 1 $. Then in particular if we take $a_0=0$ then also $p(0)=0$. So by Schwarz's Lemmas we have $|p(z)|\lt |z|$. I can only deduce this far, and still confused about the usability of my deductions. How can I proceed further.


Is it valid to include several interaction terms but exclude main effects because only interaction effects are significant?

I have a statistical problem in connection to interaction effects and main effects in the social sciences.  I am doing a regression where I have two interaction terms with one common variable. The interaction terms are used in order to prove or falsify two hypotheses. If I include all main effects and interaction effects, all effects become insignificant.  My approach is to leave the main effects out. This will leave with only significant interaction effects. Is this a valid approach?


Which countries count for the 90-day limit in the US Visa Waiver Program?

What are all the ineligible countries that do not restart the 90-day Visa Waiver into the USA?


How to capitalize a word with an adverb separated by a hyphen in a title

How should I capitalize a word with an adverb separated by a hyphen in a title?  e.g.  "Make-up" or "Make-Up" (noun) "Strap-on" or "Strap-On" (noun) "Stripped-down" or "Stripped-Down" (adj.) "Up-to-Date Account" or "Up-to-date Account" or "Up-To-Date Account"  I've heard that in a title you should always capitalize the last word, no matter if it is a proper noun or an adverb. I'm trying to work out if it applies to a hyphen word with an adverb on its end.


I have the following template:  variable = config["variable"] ? config["variable"].as<type>() : default;   I want to create a macro to have this done for me faster, since writing this many times becomes boring. I would try something like:  #define CONFIG_PARAM(config, key, type, alt) config["key"] ? config["key"].as<type> : alt;  title = CONFIG_PARAM(root, "title", std::string, "")   It's obvious that that wouldn't work. How can I get this done?


My brother just asked me this question yesterday and thought I would share it with the community for others who may wonder. Why do I see two desktop.ini files on my Windows Desktop? Also how can you have the same name file in the same subdirectory?


Set of laptop models that support battery health management

I have updated my MacBook Pro (Retina, 15-inch, Mid 2015) to the latest Mac Os Catalina 10.15.5 (19F96) which should include .  But I can't find it in my settings.    I assume that there must be a list of supported devices, but I couldn't find them.


Number of solutions to $x^n=e$ in group $G$ is divisible by $n$

My question is, can we prove that the number of solutions to $x^n=e$ in group $G$ is divisible by $n$, for $n | |G|$   Apparently the answer is it is indeed true, infact for the equation $x^n = a$ for any $a \in G $ also, however I have had many ideas each of which having a small flaw with them.  For example I attempted induction on order of $G$ as follows:  Assume true for all groups of order $ \leq k$. Consider $|G| = k+1$.  If $G$ is cyclic, we show fairly easily the result holds. (In fact if I recall correctly there are $n$ solutions for each divisor $n$).  If $G$ is not cyclic, we can look at the subgroups of $G$. It'd be nice to say the number of solutions in each group is divisible by $n$ by the induction hypothesis and get the desired answer by inclusion-exlusion for solutions in all the subgroups, however we could potentially have a subgroup of order  less than $n$ and still contain a solution.   So if we were able to show it works for all the subgroups of orders $ < n$ collectively we would be done. I have no idea whether this can work though.  I did see this question  however I couldn't find much help on it. From the hint given I managed to show $no. solutions = \sum_{ d|n} \lambda_{i} \phi(d)$ for some $\lambda_{i}$s, however they could be different so I can't just use the well know summing of euler-phi formula.  Any solution/ideas would be very much appreciated.


How can I make a tower of stacked boxes stable in the game engine?

I have a tower of flat boxes, but the simulation is not stable. I have tried with split impulse turned off and on.  I have tried:   setting the collision shape to box, convex hull, and mesh increasing the number of steps per second and iterations per step (though this does improve the stability, it still eventually collapses without outside influence) enabling deactivation start deactivated (but as soon as an object touches the tower, it gets very "bouncy")   I have even tried to gradually increase gravity, hoping that the boxes would eventually gently settle all opposing forces (gravity and contact constraints).  shows that gravity is squishing the boxes a bit.  This technique, combined with enabling deactivation seems to work alright, until an object activates the boxes (on contact). Does anyone know of a less hacky way to prevent a tower of boxes from bobbing up and down like this?  Is there a way to make this kind of tower stable without resorting to these kinds of tricks?


Static ordering of keyboard layout switching in Ubuntu 17.10 and later with GNOME 3

Just installed Ubuntu 17.10 and it seems that the keyboard layout switching has changed its behavior.  In the previous version of Ubuntu (such as 16.04 Unity), if I have 3 different keyboard layouts (for example EN-TH-JA), hitting Super+Space would always cycle to the next layout in the same order (e.g. EN to TH to JA then back to EN).  However since Ubuntu 17.10, this is no longer the case. It cycles through the layout in the MRU (Most Recently Used) ordering. So suppose that the layout starts with EN, then I cycled to TH. Next time I hit Super+Space, it would give me EN instead of JA.   I tried to dig up and found that the culprit is the newly implemented DCONF settings inside org.gnome.desktop.input-sources and there seems to be no way to change this behavior.   So my question is: Is there a way to change this behavior to "static ordering" of keyboard layout switching?    (As a side-note, the new behavior is very bad when we have three or more layouts. Most of the time we as a user couldn't remember the MRU layouts, so layout switching is very inconvenient and much slower than already knowing what the next layout would be if static ordering is used.)  If there is no settings to change this behavior, where should I report this as a bug or a feature request?


Why are minus signs not working in this equation?

In the below equation I'm writing, 2 minus signs are not visible, why is that?  $\phi (s, \lambda) = C \frac{ 1 + \beta^2 − 2 \beta cos( \frac{2 \pi s}{\lambda} ) }{ \lambda^5 \exp( \frac{ h c }{ \lambda k B T } − 1) } $


Prevent the equation counter from resetting with every new chapter

I usually enumerate my propositions, definitions etc. with (Hindu-)Arabic numerals (e.g. Definition 1.1.1., Proposition 1.1.2., Theorem 2.1.1. etc.). I would hence like to enumerate my equations with a single Roman numeral with a non-resetting counter, so as not to confound the two.   \documentclass{report}  \renewcommand{\theequation}{\Roman{equation}}  \begin{document}  \chapter{First chapter}  \begin{equation} 1 + 1 = 2. \end{equation}   \chapter{Second chapter}  \begin{equation} 1 + 2 = 3. \end{equation}   \end{document}   As is, both equations are labelled (I).  How can I adjust my code, so as to prevent the equation counter from resetting with every new chapter?  I am aware of the existence of . It does not answer my question, as it pertains to abstracts specficially.


TikZ matrix angle brackets mis-interpreted

I'm newbie to TikZ.  When I use < and > in matrix, they are interpreted to some other symbols.  The following code  \documentclass[tikz,convert=pdf2svg,multi=false]{standalone} \usepackage[ngerman]{babel} \usetikzlibrary{matrix} \begin{document} \begin{tikzpicture}   \matrix [matrix of nodes] {     <hello> & world\\   };  \end{tikzpicture} \end{document}   will produce PDF and SVG:  ¡hello¿ world   <hello> was translated to ¡hello¿.  Question   Why? How do I input angle bracket in matrix


Getting "no such file or directory". Why?

Why am I getting the following error?  # whoami root  # ls -l seamonkey -rwxr-xr-x 1 root root 127044 Dec 13 22:11 seamonkey  # ./seamonkey bash: ./seamonkey: No such file or directory   # LC_ALL=C find -type f -iname "*seamonkey*" -printf "'%P'\n" 'seamonkey' 'seamonkey-bin' 'chrome/icons/default/seamonkey.png'    # readelf -l seamonkey Elf file type is EXEC (Executable file) Entry point 0x804c278 There are 9 program headers, starting at offset 52  Program Headers:   Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align   PHDR           0x000034 0x08048034 0x08048034 0x00120 0x00120 R E 0x4   INTERP         0x000154 0x08048154 0x08048154 0x00013 0x00013 R   0x1       [Requesting program interpreter: /lib/ld-linux.so.2]   LOAD           0x000000 0x08048000 0x08048000 0x1e610 0x1e610 R E 0x1000   LOAD           0x01e610 0x08067610 0x08067610 0x003cc 0x0067c RW  0x1000   DYNAMIC        0x01e6fc 0x080676fc 0x080676fc 0x00110 0x00110 RW  0x4   NOTE           0x000168 0x08048168 0x08048168 0x00044 0x00044 R   0x4   TLS            0x01e610 0x08067610 0x08067610 0x00000 0x00004 R   0x4   GNU_EH_FRAME   0x019490 0x08061490 0x08061490 0x00d2c 0x00d2c R   0x4   GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x10   Section to Segment mapping:   Segment Sections...    00         01     .interp     02     .interp .note.ABI-tag .note.gnu.build-id .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame     03     .init_array .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss     04     .dynamic     05     .note.ABI-tag .note.gnu.build-id     06     .tbss     07     .eh_frame_hdr     08       $ ldd ./seamonkey not a dynamic executable


Caused by: java.lang.NullPointerException: Attempt to invoke virtual method with my buttons

I've got this NullPointerException that I can't get rid of, I could use a bit of help, please :)  So I've got a button in my 1st activity that is supposed to send me to this 2nd activity ( where the problem is ), but when I click on the button my activity crashes and displays this error.  When I tried my 2nd activity on its own, it worked fine, but when I attached my 2 projects the error popped.   This is the error :   Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference   And this is my code :  public class entery_names extends AppCompatActivity {  RelativeLayout layout; RelativeLayout.LayoutParams params; Button mBtn_add_et = null; int id; int i; static int previousid;  @SuppressLint("NewApi") @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);     //Submit = (Button)loginDialog.findViewById(R.id.Submit);     mBtn_add_et = findViewById(R.id.btn_add_et);      mBtn_add_et.setOnClickListener(new View.OnClickListener() { // this line is the problem apparently         @Override         public void onClick(View view) {             if (id <= 4) {                 EditText et = new EditText(entery_names.this);                 id = View.generateViewId();                 et.setId(id);                 layout = findViewById(R.id.relativeLayout);                 params = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT);                 params.addRule(RelativeLayout.BELOW, id);                 if (previousid == 0)                     params.addRule(RelativeLayout.BELOW, R.id.et3);                 else                     params.addRule(RelativeLayout.BELOW, previousid);                 previousid = et.getId();                 et.setHint("Enter Name");                 et.setHintTextColor(getResources().getColor(R.color.colorTransparentWhite));                 et.setTextColor(getResources().getColor(R.color.colorTransparentWhite));                 et.setX(findViewById(R.id.et1).getX());                 layout.addView(et, params);             }         }     }); }   }  Thanks!


How do I know a numbered equation is called later or not?

I am using amsart package to write my thesis. I use command like   \begin{equation}\label{...} ... \end{equation}   to write my equation, and hence all equations are numbered and labeled.   There are like more than 300s equations in my thesis now...  However, my advisor ask me only number and label the equation if you will call it later. So, I am wondering that is there a way that I can know whether I called a labeled equation in my thesis or not? I don't want to check them one by one... tooooo time consuming...  Thank you!


Blocking IP Addresses dynamically without any software

I'm no expert in reading logs, so I posted some of my log today at another forum . This is what I've done so far:    copied all sys logs, kern log , ufw log & auth log in one folder, merged them into one text file grep:  grep -E "UFW" ~/merged.log > ~/filter_ufw_Block_lines.txt grep:  grep -E -o "SRC=([0-9]{1,3}[\.]){3}[0-9]{1,3}" ~/filter_ufw_block_lines.txt > ~/Get_SRC_IP_Addresses.txt  sort -u ~/Get_SRC_IP_Addresses.txt > ~/unique_SRC_IP.txt   Step 2 & 3 had 14,893 lines all with UFW block entries & step 4 had 1,967 lines i.e around 2000 ip addresses.    I was making a personal blog site, which is 7-8 days old, which had only one default wordpress page so far. I know its a normal thing to get server attacks but still I went into collecting details because I was learning a lot.    After unique attacking ip  addresses are isolated, can we block them in a single go. And Can a dynamic list of such IP addresses be created which should be blocked by server. Is that possible ? Here are the two files  and .


Well, a friend of mine sent me this picture of an creepy insect. I'm wondering if the picture is photoshoped or if it is real. It is said the insect lives in Indonesia, but I'm not sure.    Can anyone identify this? Thanks.


Sugar daddy wants me to apply for a credit card so he can link me to his company account. Suspicious or am I being paranoid?

So basically, I was really desperate when I met this guy. I'm 18. He says he's in Canada right now, and will be back on the 23rd. When he isn't talking about money, he's been really upfront, honest, and genuine. But he offered to help me get a car, and I ended up giving over $2k worth, while he coughed up $1500, and he said he's going to help me pay off the final $2k when he brings the car to me. After, if I no longer want the car, he wants me to sell it at a higher price.   I'm AWARE this was stupid, but it was really convincing and I took a leap of faith. But now he's telling me he doesn't trust his personal assistant anymore or something, and wants to link his company account to mine. He wants me to apply for a credit card, because I haven't established credit yet, and I'm not sure if this is suspicious or what.   Like I said, he's told me he's going to come see me when he gets back to the states. I'm not sure if that will really happen, but he otherwise hasn't shown many signs of being a scammer. Like he is obviously from another country, but he lives in New York. Seems to trade a lot of bitcoin. But his english is good, he's intelligent. For the most part, in my opinion, he seems legit but... I still can't help but feel it's a bit suspicious.


can google index/crawl random subdomains that aren't linked to from anywhere

Me and a friend are having a debate where she claims that every and all subdomains will get crawled/indexed by google unless you specifically tell it not to, and I'm saying that if a page isn't linked to from anywhere then it shouldn't get crawled.  For example, let's say I own example.com and I make a new subdomain with a weird  random name such as adayinthewoods.example.com and I throw a wordpress installation on there that I plan to use for testing purposes.  What would have to happen for google to start crawling and indexing this? Is google going to look at the whois records and see that I've added a subdomain in my DNS table and then start crawling it as a result? Is the fact I've installed wordpress on it making my installation "ping search engines"? How does that work? How do top level domains get crawled when it's a brand new domain? I assume the mechanism there is different from random subdomains.  What if I add a new page in my root folder called "noOneWillEverSeeThis.html", could that ever get crawled/indexed if it wasn't included in any sitemap and wasn't linked to from anywhere?  Would really appreciate a solid answer from someone that understands what's going on with this.  Thanks much


Converting point cloud (.txt) to shapefile with ArcPy?

I have lots of .txt  files (point cloud) which are raw data acquired from from LIDAR and containing XYZI values. I want to convert them to shapefile.  Is there a way I can do that instead of adding XY data first and exporting to shapefile one after the other?


understanding the commutator of dihedral group

Let  $G=D_{2n}=⟨x,y|x^2=y^n=e,  $ $yx=xy^{n-1}⟩$  I need to find $G'$ [ the commutator of G]  now I understand that $G'$ is the subgroup generated from $ U=xyx^{-1}y^{-1} , $ $ \ \forall x,y \in G$ So, $U=<y^2>$  whats the strategy  here ?


Testing two-tailed p-values using Stouffer's approach

About combining multiple test statistics,  says     This Z-score (for the overall meta-analysis) is appropriate for   one-sided right-tailed p-values; minor modifications can be made if   two-sided or left-tailed p-values are being analyzed.   What are those minor modifications?


Can I pass more than one array as a parameter to a function?

I am trying to pass in more than 1 array/list into a python script. What is the best way to do this?  I have tried listing two parameters with the * notation  def example(one, two, *three, *four): #three and four are lists      SyntaxError: invalid syntax


Finding all differentiable $f(z) = u(x) + iv(y)$ in $\mathbb{C}$ where $u(x),v(y)$ are real valued functions.   I’m not sure what to do. Would $f$ be differentiable simply if and only if both $u$ and $v$ were differentiable?   My thinking is that if the limit $$ \lim_{h \to 0}\frac{f(z+h)-f(z)}{h} $$  exists then it would be equal to  $$ \lim_{h \to 0}\frac{u(x+h)-u(x)}{h} + i\lim_{h \to 0}\frac{v(y+h)-v(y)}{h} $$  and therefore would exist if they existed. But that doesn’t seem quite right.  I also thought about using Cauchy-Riemann equations, but seeing that I’m trying to find ones that are differentiable rather than those that aren’t, I thought they wouldn’t be of much help.


What happens to your legacy when you transfer characters in SWTOR?

My server is just ridiculous sometimes. So I have looked intensively into another server and things are quite better there. So I have 2 higher level characters (55, 30+) on this server. What happens to my legacy if I transfer only one of them and the other one later?  Will my legacy stay on the original server? What will happen there?


Environment that eats up (ignores) text inside it

I want to replicate the environment comment from the comment package:  \begin{comment} Hidden stuff. \end{comment}   which prints just nothing, instead of using % to comment things out.  I can do it with a command, such as \def\comment#1{}, and now I want to turn it into an environment.  The motivation is to make an environment that would conditionally hide the text completely or do something with it, such as change color:  \@ifundefined{flag}% {\newenvironment{flagged}{\it\color{red}(}{)}}% {\newenvironment{flagged}{\comment\bgroup}{\egroup}}   In the second case the intention is to make the text argument of the macro: \comment\bgroup Hidden stuff\egroup. This does not work because \bgroup\egroup cannot delimit an argument of a macro.   \includepackage{comment} ... {\newenvironment{flagged}{\begin{comment}}{\end{comment}}}   does not work either, I guess because the comment package expects a literal string \end{comment}:  ! File ended while scanning use of \next.   How to do this?


Evaluating $\lim\limits_{n\to\infty} e^{-n} \sum\limits_{k=0}^{n} \frac{n^k}{k!}$

I'm supposed to calculate: $$\lim_{n\to\infty} e^{-n} \sum_{k=0}^{n} \frac{n^k}{k!}$$ By using WolframAlpha, I might guess that the limit is $\frac{1}{2}$, which is a pretty interesting and nice result. I wonder in which ways we may approach it.


Self-energy of a uniformly charged, non-conducting sphere, using energy density formula

I am trying to derive the formula for the self-energy of a non-conducting sphere. I know it to be $$E = \frac{3Q^2}{40\pi\epsilon_0 R}$$  I am trying to use the energy density formula for it which is  $$ \frac{dU}{dV} = \frac{1}{2}\epsilon_0 E^2$$  My method was to find the general formula for the $E$-Field inside the non-conducting sphere, which is $$ E = \frac{Qr}{4\pi\epsilon_0R}$$ Then using that, and setting $dV=4\pi r^2dr$, then solving for U using the energy density formula, by integrating between 0 and R (the radius of the sphere). However, in doing this, I am out by a factor of 3, and cant figure out why. Any ideas? Or have I just messed up somewhere, I have looked extensively through my written work and everything seems sound, so I suspect the issue is with my physical intuition.


Preceding "thousand [noun]" with an article

I have seen writers use phrases such as      a thousand novels   and, in song     a thousand years   preceding it with articles. I've known that articles precede, only, single concrete noun. Why not in these cases? Is there a grammatical reason that can be explained reasonably or not?   Thank you in advance.


Does the dot operator cost anything in terms of operations?

I have a loop like  for (int i = 2; i <= ViewBag.numPages; ++i)   and I'm wondering if it'll be faster if I write it as  for (int i = 2, n = ViewBag.numPages; i <= n; ++i)   Please give me a deep (low-level) explanation if possible


That's what this struggle, this isolation, this retreat is all about.   Should there be a comma after this retreat?  In the state above, it looks to me as if this struggle and this isolation are modifying this retreat, which isn't the sense of the sentence.   I was thinking that putting a comma after this retreat would make everything that follows this struggle to become enclosed in bracketing commas instead.  Is that the effect of adding the comma? And how are the commas currently functioning? They don't appear to be bracketing commas to me.


How do I use up less when I go down the hill? What is better? If I really drive down (I start down the hill fast and when I will at the foot of the hill I will have a rest since I slow down to my average velocity - in this point I will start pedaling again.) or if I have rest by the way down the hill and start pedal again at the foot?


My Canon DSLR is showing "Err 01" — should I send my camera for service?

My camera is showing:     Err 01      Communications between that camera and lens is faulty. Clean the lens contacts.   I have been using this camera for a while and when this text first started showing, I would follow steps on YouTube on how to fix it (turning off and on the camera multiple times, wiping everything throughly) and it keeps on happening.  I then came across a photographer and he said he have never sent his camera for service and he would just clean the body-lens connector with a rubber eraser. It surprisingly works — but that worked for two hours at first, after many use, the rubber eraser method fails after only 5 shots. What is happening and what should I do?


I recently downloaded the  LaTeX template. When I build the PDF the below \textsc headers appear bunched up. Is there a line spacing parameter I could pass as an argument to \textsc? Also how do I post the output of the below code? Is that possible I believe I have seen it in other posts? I did try searching for an answer to my question! Please let me know If I need be more clearer and demonstrate my output.  %---------------------------------------------------------------------------------------- %   HEADING SECTIONS %----------------------------------------------------------------------------------------  \textsc{\LARGE Harvard University Extension School}\\[1.5cm] % Name of your university/college \textsc{\Large CSCI E-59 Database Design \& Implementation}\\[0.5cm] % Major heading such as course name \textsc{\large Database Design \& Implementation Final Project}\\[0.5cm] % Minor heading such as course title  %---------------------------------------------------------------------------------------- %   TITLE SECTION %----------------------------------------------------------------------------------------  \HRule \\[0.4cm] { \huge \bfseries The ACME Wholesaler Sales Order Database}\\[0.4cm] % Title of your document \HRule \\[1.5cm]


So at one point, Chrome asks you (after login) if you want it to save the password.    The next few times I login, the dialog box/bar doesn't pop up but the key icon near the star is there.    I click it and delete some outdated or duplicate passwords. I changed my Google password because I was forced to by Google.    Chrome isn't remembering that new password (the dialog box isn't popping up).    Is it possible to add a new password to the settings such that when I navigate to the page, the username/password is there already in the fields, highlighted in yellow? this happens in gmail. Thats when i started noticing it. (and all other sites)  Edit: This doesn't seem to happen anymore for me. although someone should answer for the benefit of other readers


Quick doubt about multiplying vectors by scalars

I've just started studying linear algebra, and I'm having trouble understanding something that apparentely seems obvious to everyone else. My question is, why does multiplying a vector by a positive scalar does not change its direction? I've seen some visual representations of this and it does seem reasonable to me that that should be the case. However, I wonder whether there is a way to actually show it mathematically? In the 2d coordinate plane, for instance, I guess way one of showing that vector $A$ has the same direction of $cA,c>0$ would be to show that the line containing $A$ has the same slope as the one containing $cA$ (I'm not sure if this approach is correct though). However, how to proceed in the case of $n$ dimensions? I think I must be missing out something basic here, but I really can't seem to get my head around it. Any help will be highly appreciated. Thanks very much in advance.


Integral $\int_0^\infty \frac{u^\alpha}{1+u} du$ for $\alpha<-1$

Does any of you know how to solve  $$\int_0^\infty \frac{u^\alpha}{1+u} du$$  analytically for $\alpha<-1$? E.g., for $\alpha=-\pi$, the solution can be expressed by the Digamma Function according to Wolfram Alpha.  Prior solutions on   only cover $0 < \alpha < 1$.


Can something published on arXiv or optimization-online.org be mentioned in my CV?

I was thinking about submitting one of my papers in  or  and hence I was just wondering if mentioning the same in my CV would be appropriate. Is it done usually? If yes, how should I actually mention something like this in my CV? Kindly guide me (I have no previous experience in publishing papers and I'm an undergraduate student).


How do I add x days to a date in Java?  For example, my date is (dd/mm/yyyy) = 01/01/2012  Adding 5 days, the output should be 06/01/2012.


Do MOSFETs have a diode built into them?

I have noticed that a MOSFET symbol has a little diode in it (or at least what looks like a diode). Does this mean I do not have to worry about using a diode in a circuit that runs a motor using one? I would have used a diode in order to prevent reverse voltage from turning the motor by hand.


Where was Crookshanks in Deathly Hallows?

We know that Hedwig died, and Pigwidgeon presumably stayed at the Weasleys'. But what about Crookshanks? Is he even mentioned in DH? He seems to just disappear at one point with no explanation.


Can I install Ubuntu like desktop version to my xiaomi mi pad?instead of android. Im very interested in. Please ,help me. Thank you


I am trying to set a transition animation on a fragment before it hides, but I am getting a nullpointerexception. Without the .setCustomAnimation method, the code runs fine and the fragment hides, where is the nullpointer coming from?  public class MainActivity extends AppCompatActivity {     private TextView mavisTxt;     private Button testBtn;     private HeaderNav navigationBar;      private FragmentManager fm;     private FragmentTransaction ft;       @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);         initVariables();      }      private void initVariables() {         fm = getSupportFragmentManager();         ft = fm.beginTransaction();         navigationBar = (HeaderNav)fm.findFragmentById(R.id.navigationBar);          mavisTxt = (TextView)findViewById(R.id.mavisTxt);         testBtn = (Button)findViewById(R.id.testBtn);           testBtn.setOnClickListener(new View.OnClickListener() {             @Override             public void onClick(View view) {                     ft.setCustomAnimations(android.R.animator.fade_in, android.R.animator.fade_out);                     ft.hide(navigationBar)                     .commit();                     if(navigationBar.isHidden()) {mavisTxt.setText("navbar is hidden");}             }         });      } }   Here is the log I am getting :  java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ViewGroup.startViewTransition(android.view.View)' on a null object reference


Should Indicate which Positions I've Already Applied For

When showing the job-search results, it would be incredibly useful if there was an indication for which of those jobs I've already applied for.  As it stands, I risk thinking I already applied for a position that I didn't, or re-applying for a position, potentially irritating the company.  I know , but some companies have more than one similarly titled positions, and it isn't always clear if a position is one I've applied for, or just another position within the same company.


Macbook pro touch bar spoiled with kernel panics

After dropping my macbook pro, my touch bar has stopped working and I am getting frequent kernel panics  Does anyone have any idea how to solve this or which part of the macbook is faulty?   Thank you!


Blender 2.81 - How to install fspy addon?

Have tried the procedure of importing the fspy zip file to blender 2.81. It failed. It does not appear in the preferences. Q: How to install fspy addon?


Disjoint Union Topology universal property as instance of final topology's universal property

I'm studying the final topology on a set $X$ induced by a family $\{f_\alpha:X_\alpha\rightarrow X\mid \alpha\in A\}$ and know of its universal property, namely that given a function $g:X\rightarrow Z$, $g$ is continuous iff $g\circ f_\alpha$ is continuous for all $\alpha\in A$.  Showing this is not difficult, but it is not constructive.    What bothers me about this is that my usual understanding of universal properties is that they refer to initial or terminal properties and morphisms; typically, they involve the existence of a unique morphism, as the definitions  suggest.  As this  points out, we may use the category of cones along with the forgetful functor from $\mathbf{Top}$ to $\mathbf{Set}$ to show that the above universal property is indeed as the above definitions give.  To be honest, I don't know enough category theory to completely understand the process, which may be where my issue lies.  The question I have is then:  How (or if) the universal property of the disjoint union topology can be realized as a special case of the final topology's universal property, since the disjoint union topology is the final topology induced by the canonical injections of $X_\alpha$ into $X=\amalg_{\alpha\in A}{X_\alpha}$, which is constructive in nature, i.e. that it guarantees the existence of a unique morphism such that a certain diagram commutes.


When would the intersection of the empty set mean anything?

The following question come from remarks from Velleman, How to Prove it (pp.82, ex. 14).    Let $F$ denote a family of sets and consider the case where $ F = \emptyset$. Then the statement, $ x \in \cap F$ is always true, regardless of $x$. Thus the intersection of an empty set is the universe of discourse.  Paraphrasing from Velleman, the universe of discourse means different things depending upon the context and sometimes no universe of discourse is used. Thus some mathematicians consider $\cap \emptyset$ to be meaningless.    Since only some mathematicians consider it to be meaningless, this suggests that some mathematicians believe it to have meaning.     In what situations may the intersection of an empty set have meaning?


How can I insert the following scripts to run during bootup? These scripts are:   apm=off no=hlt   The function of these scripts is to prevent premature laptop shutdown when my laptop is a little bit hot but not hot enough to burn the CPU.


Birational and faithfully flat $\implies$ isomorphism

Let $A \subseteq B$ be integral domains with the same field of fractions. Assume that $A \to B$ is faithfully flat. Why do we have $A=B$?  This is an exercise in Matsumura's book. Here is my idea: If $b \in B$, consider $I = \{a \in A : ab \in A\}$. This is an ideal of $A$. By asumption $I \neq 0$, and our goal is to show that $I=A$. It suffices to prove $IB=B$. But how can we achieve this?


How to parse CSV file in lightning Javascript

Currently I had built a file upload functionality in Lightning component which accepts the CSV file, read it as text(Each row in CSV is split using \n and each column in the row is split using ,). Then each columns in each row are validated in Javascript and if everything is fine,the data is saved in the backend. While uploading the data, if the file contains , in its data then it is taken as another column. Eg: X-36936,SS-341487,11-WT,414081,"LENDERS, THE HACK",2-Manage,,,,,,,,,,,,12/1/2013,3150,,0,,Dealing,2018,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,  Here "LENDERS, THE HACK" is a single column but it is taken as 2 columns (LENDERS --> 1st column and THE HACK --> 2nd column).Could anyone please help me how to resolve this issue?


accessing special element in xml using linq

how can I get Password value for specified Username using linq? For example if Username equals AAAA then passsword is ss.  <?xml version="1.0" encoding="utf-8"?>  <User>     <Username>AAAA</Username>     <Password>ss</Password>  </User> <User>      <Username>CCC</Username>      <Password>zzz</Password>  </User>


Change default program without changing file icon

How can I change the default program for a file without changing its icon? For example, I'd like some file extensions (.css, .js, .cshtml, etc.) to be opened with , but I want to keep the original icon that MS Visual Studio has set.


Correlating variables with eigenvalues in principal components analysis

I have the following problem. I'm performing PCA on a series of correlation matrices (Cm), which result from subsequent rolling windows on data time series, which are my basic variables. That means, every subsequent Cm represent correlations between the same time series in a time window "shifted" to t+1, t+2, t+3, etc... I would like to follow the correlation of, say, one variable (one time series) with the first prinicipal component in a time resolved manner. This can be done by scaling the corresponding score (the one corresponding to this variable projected on first PC) by square root of the corresponding PC value. The problem is however that the sign of the scores is unrelevant, since the are always two solution with interchangables signes available from diagonalization of the correlation matrix. So I get a curve with interchanging + and - signs......How to select the meaningful sign for the scores?  Does anybody has an idea how to resolve this issue?  Marcin


Sorry if this question has already been asked, but I want to get deeper insight in why my spam-flagging was declined.  I flagged this post as spam:   In my opinion this post does not contain anything useful for the question. It is just a bad attempt of trolling.  While the post does not try to promote a certain product, it is an obvious and bad attempt at raning about Java and promoting COBOL.  So finally my question: If this is not spam, then in which way does it benefit the process of answering an already accepted answer? And where is the exact line on what is spam.  As a sidenote: I would not have asked this question if the comment on denying my flag was anything more helpful as "declined - a moderator reviewed your flag, but found no evidence to support it".


Is there any equivalent for 'amorous affairs' that is very informal?

I'm looking for a way of saying “having amorous affairs”. Ideally it should indicate a married man fooling around with younger women, and the expression should be informal, humorous, in low register but yet not rude.


I am new in here and am in need of help with ''communities''

What are the best communities on Stack Exchange for a student in FdSc Applied computing to join?  I will be learning C#, C++, HTML, CSS, JavaScript, jQuery, SQL, PHP and hopefully more stuff. I will also touch cyber security and system analysis. I'm on my first year.


I am stuck trying to find $$\int \sec^3{x} \ dx.$$  Here is my attempt using integration by parts: $$\int \sec^3{x} \ dx = \sec{x}\tan{x} - \int \tan^2{x}\sec{x} \ dx.$$  At this point, I am stuck. How can I continue from here?


Iam Used Ubuntu server 18.04.2, How to Disable Emergency Mode ubuntu server 18.04 Because just press enter you can do everything you want.  If there is no solution, I think this is a bug


The problem is that the following makes logically no sense to me, maybe anyone could explain (explanation what JSON.parse/JSON.stringify EXACTLY does would be appreciated too):  var hello = {norsk: "hei"}, parsedHello = JSON.parse(JSON.stringify(hello)); hello === parsedHello // false hello == parsedHello // false typeof(hello) // "object" typeof(parsedHello) // "object" hello.norsk === parsedHello.norsk // true


I have never used Archipack add-on before. When ever I try to add any element (window, door, stair, fence..) aside from wall, from the add mesh menu. A blank window appears on the screen and I can not add anything from the addon apart from a wall.  I am doing something wrong? How can I add element from the free Archipack add-on for Blender?


Photon.  I am curious about the movement of photons.Do they move in wave motion (up and down) or do they move in straight lines


remove indent when bolding the beginning of paragraph

I have the following document:  \documentclass[a4paper,10pt]{article}  % -------- Packages \usepackage{marvosym} \usepackage{enumitem} % \usepackage{fontspec}              \usepackage{xunicode,xltxtra,url,parskip}  \RequirePackage{color,graphicx} \usepackage[usenames,dvipsnames]{xcolor} \usepackage[big]{layaureo}               % \usepackage{fullpage} ** \usepackage{supertabular}                \usepackage{titlesec}                    \usepackage{tabularx}  \usepackage{hyperref} \usepackage{helvet} \definecolor{linkcolour}{rgb}{0,0.2,0.6} \hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}  \titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule] \titlespacing{\section}{0pt}{1pt}{1pt} % -------------- margins     \addtolength{\oddsidemargin}{-.75in}     \addtolength{\evensidemargin}{-.75in}     \addtolength{\textwidth}{1.25in}      \addtolength{\topmargin}{-.575in}     \addtolength{\textheight}{1.75in}  %-----------WATERMARK TEST  \usepackage[absolute]{textpos}  \setlength{\TPHorizModule}{30mm} \setlength{\TPVertModule}{\TPHorizModule} \textblockorigin{2mm}{0.65\paperheight} \setlength{\parindent}{0pt} %-------------------------------------------------------- %--------------------BEGIN DOCUMENT---------------------- \begin{document}  \newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}} \newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}} \newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}}  \pagestyle{empty} % non-numbered pages  \font\fb=''[cmr10]'' %for use with \LaTeX command  %--------------------TITLE------------- \par{\centering         {\LARGE Eduardo Flores Lomas     }\par}  % ------------ Work Experience  \section{Work Experience}  \begin{tabular}{L{14cm}R{2.7cm}}  \noindent\textbf{  Farmacias del Ahorro  }  - \scriptsize{Largest retail pharmacy chain in Mexico (1,300+ stores)} & \scriptsize{Jan 15' - Current} \\  Data Science Coordinator  - \scriptsize{Technology and Projects Department}   \\  % \footnotesize{   \multicolumn{2}{p{16.7cm}}{  Responsible for finding and implementing data science methods to solve a wide range of business problems.  }   But I want to avoid that ugly indentation at "Farmacias del Ahorro" when I bold it...    When I remove the \textbf at the beginning of "Farmacias del Ahorro" it aligns perfectly:     As can be seen, I've tried \noindent ... what am I missing?


Please advise where do i need transit visa in Europe if am holding Indian passport & US visa and flying from Washington to Delhi with 2 stops anywhere in the Europe. For Exp: i am going to Delhi to Washington via Vienna, Austria (layover is only for 4 hours 20 minutes) then fly back from Detroit to Delhi via Frankfurt, Germany FRA (layover is only for 2 hours 40 minutes) and Vienna, Austria VIE (layover is only for 3 hours)


Adobe AIR install problem, Ubuntu x64 14.04

Haven't seen this kind of error on askubuntu yet.  Did everything as it says here:   After sudo ./AdobeAIRInstaller.bin shows this image: dropbox.com/s/wg6cv03h5n1tqgr/adobe_air.png  Meanwhile terminal shows a bunch of such messages:  (setup:2579): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",   Nothing is installed. Those murrine - it showed another code before ( another than setup:2579) - I googled it, installed something, it showed another code - I googled it, installed something, etc. Doesn't seem to affect installation anyhow.


Is there a shell-independent HUD-like menu search tool for Xfce/GNOME/Cinnamon?

The Ubuntu Heads-Up Display (HUD) - you love it or you hate it. Personally I rather like a classic desktop, so I use  or GNOME-fork , and I'd like to keep those menu's where they are.  But the HUD is pretty awesome when your menus are complex and you forgot where an option sits. This makes that search trick very interesting.  I know the HUD is Unity specific. I am looking for a HUD-like tool to complement the menu in shells other than Unity.  There is  for KDE that does this. There is also  for KDE.  Problem with the above is that it uses KDE libs, and it only works for KDE apps.  This is Linux, there aught to be something like this for GNOME/GTK apps, right?  Looking for any tool that can search the menus. I already use(d) ,  and , but those are simply app-launchers (with some tricks). Something like that would suffice if only they included searching the menus for the currently focused application.  The HUD allows users to activate menu items by typing part of the name. It uses a fuzzy search algorithm that will highlight partial matches. It can match menu items that are multiple layers deep in an application's menu hierarchy. The feature, which replaces traditional menu accelerators, is activated by pressing the alt key.  Similar questions:      - AskUbuntu


A friend of mine has accidentally lost her windows 8 password. I tried booting a live USB Hiren's & Windows windows unlocker enterprise (windows xp based live disks). The problem is that the normal mode is UEFI based (in BIOS) and it does not allow to boot Legacy OS (like xp). But when I enable "legacy mode", it disables the UEFI mode so Rescue CD's dont show the internal hard disk of laptop.     Any help ?


Hovering over election vote button shows irrelevant information

On the moderator , the tooltip will display the text used for voting on a question; this is incorrect.   Steps to reproduce:   Cast a vote for or against any candidate Undo that vote   At this point, the tooltip content is changed, at least for that candidate.  See screenshots:           As you can see, the message doesn't quite fit here; these are certainly not questions.


const realNumberArray = [4, 5.6, -9.8, 3.14, 42, 6, 8.34];  const squareList = (arr) => {   "use strict";   const squaredIntegers = arr.filter( (num) => num > 0 && num % parseInt(num) === 0 ).map( (num) => Math.pow(num, 2) );   return squaredIntegers; };  const squaredIntegers = squareList(realNumberArray);  console.log(squaredIntegers);


Why do I get a bitmap font on one computer but a vector font on another for the same document?

I am generating a pdf using pdflatex from the same latex file on three different computers. The pdf is generated without any warnings on all three computers and it looks almost identical. The one difference is that on my work computer, vector fonts are used while on the other two computers, the pdf has bitmap fonts.  All three machines are running a 13.04 Kubuntu and I'm using the latex packages from the distribution. On all three I simply use the default setting of Kile to generate the pdf.  Clearly there must be some difference in how latex is setup on these machines. It's possible that I installed some additional packages on my work computer, but I am not sure where to look.  So my question is, why does the same source result in two different PDFs? How do I make the other two computers also use vector fonts, and avoid the bitmap fonts, without modifying the latex source?


I'm trying to understand the UMP of the product functor as right adjoint to the diagonal functor but I'm having difficulties understanding the notation in Steve Awodey's . On page 210 he uses $(f_1, f_2)$, $\langle f_1, f_2 \rangle$ and $(f_1 \times f_2)$ all within one paragraph. What are those? How are these defined and how do they differ?


how to add command with new line in the variables?

as you know when we writing list=$(ls -l) all the files added to $list like this :  total 0 drwx------ 7 mine-pc staff 238 Dec 22 11:32 Applications drwxr-xr-x@ 6 mine-pc staff 204 Jan 11 11:00 Applications (Parallels) drwx------+ 21 mine-pc staff 714 Jan 9 22:33 Desktop drwx------+ 33 mine-pc staff 1122 Jan 7 23:43 Documents drwx------+ 83 mine-pc staff 2822 Jan 11 00:42 Downloads drwx------@ 71 mine-pc staff 2414 Dec 22 01:10 Library drwx------+ 21 mine-pc staff 714 Jan 10 23:48 Movies drwx------+ 4 mine-pc staff 136 Sep 27 17:48 Music drwxr-xr-x 5 mine-pc staff 170 Jan 4 16:25 Parallels drwx------+ 9 mine-pc staff 306 Dec 29 13:06 Pictures drwxr-xr-x+ 5 mine-pc staff 170 Sep 27 15:41 Public   how can I insert it to $list like this :  drwx------   7 mine-pc  staff   238 Dec 22 11:32 Applications drwxr-xr-x@  6 mine-pc  staff   204 Jan 11 11:00 Applications (Parallels) drwx------+ 21 mine-pc  staff   714 Jan  9 22:33 Desktop drwx------+ 33 mine-pc  staff  1122 Jan  7 23:43 Documents drwx------+ 83 mine-pc  staff  2822 Jan 11 00:42 Downloads drwx------@ 71 mine-pc  staff  2414 Dec 22 01:10 Library drwx------+ 21 mine-pc  staff   714 Jan 10 23:48 Movies drwx------+  4 mine-pc  staff   136 Sep 27 17:48 Music drwxr-xr-x   5 mine-pc  staff   170 Jan  4 16:25 Parallels drwx------+  9 mine-pc  staff   306 Dec 29 13:06 Pictures drwxr-xr-x+  5 mine-pc  staff   170 Sep 27 15:41 Public


How to merge two file documents in single file?

I want to merge two or more document files of Document library in single document file using SharePoint 2013. How I will achieve this? Please help me. In advance Thank you.


How to calculate the MaxClient value in apache?

I want to set an optimum value for MaxClient in apache for my production server.  What are the parameters that I should consider while calculating this value ?


Find all natural numbers $n > 1$ and $m > 1$ such that $1!3!5!\cdots(2n - 1)! = m!$   I have been thinking about coming up with some inequalities which would narrow the possible range of pairs $(n, m)$, however the best I have been able to find so far are $m \ge 2n - 1$ and $m \lt n^2$, which is clearly not enough.  Update. The question has tag combinatorics as it is from a book about combinatorics, so there must be at least partly combinatorial solution.


Why is this VirtualHost definition activating when the ServerName doesn't match?

I've got a httpd24 server that I want to use to server multiple domains.  I've got a 3 VirtualHost definitions.  <VirtualHost *:443>    ServerName one.example.com    # SSL stuff    DocumentRoot "/opt/rh/httpd24/root/var/www/one </VirtualHost>  <VirtualHost *:443>    ServerName two.example.com    # SSL stuff    DocumentRoot "/opt/rh/httpd24/root/var/www/two </VirtualHost>  <VirtualHost _default_:443>    Redirect / https://two.example.com </VirtualHost>   The idea being that if the exact url one.example.com or two.example.com is entered they'll get the appropriate pages.  If any other domain is received I want to redirect to the  url.  However I'm finding that if I enter  I'm not getting redirected, instead the content for one.example.com is served.  Note that  does work as expected.  My issue is that I'm expected unknown domains to be redirected, but they are instead being resolved as if they were one.example.com.  The RPM I installed originally was httpd24-httpd-2.4.27-8.el6.1.x86_64.  Any ideas what is going on?


When I run drush cim -y on my staging instance of my site I get the following error:     Drupal\Core\Config\ConfigImporterException: There were errors   validating the config synchronization. in Drupal\Core\Config\ConfigImporter->validate() (line 728 of /var/www/xeno/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php).   The import failed due for the following reasons: Site UUID in source storage does not match the target storage. Entities exist of type Paragraph and Paragraph type Image. These entities need to be deleted before importing.   This is what I did:   Copied the database from staging and pulled the latest code Ran drush cex -y Committed configuration Went to staging and pull latest code Ran drush cim -y and get the error stated above   When I run drush cget system.site uuid on local and staging I get the same uuid so I am not sure why I am getting this error.  How can I fix the error?


Why does a light object appear lighter in your peripheral vision when it's dark?

So, I am not sure I can reproduce it via images, but the steps are:  1) At night, open a window and have a look at the surface of the earth  2) Suppose there's an object that reflects a tiny amount of light  3) When you actually try to focus your eyes at this object, you either don't see anything (depends on the amount of light it reflects) or you can hardly see it  4) When you focus your eyes on something that is 3-10 metres away, you can easily see this object with your ambient vision. Not the details, but it seems that it reflects more light.   Why does it happen?


Sum of reciprocals of prime numbers, using alternating sings

Does the Sum from N=1 to N=∞ of : (-1^(N+1))((1/P(N)), where P(N) is the nth prime number, converge? If so, to what number does it converge?  Or in different terms, does the sum of the reciprocal of primes, where there are alternating signs, converge?  Example: (1/2)-(1/3)+(1/5)-(1/7)+(1/11) . . . = ?


Add info about time to acceptance into the /accepted-answer page in the help centre

If someone wants to know what the time limit is for acceptances, they need to come here and search in the . That's suboptimal - not everyone even knows about the existence of main meta, and this sort of vital info should be self-contained on a given site and its help centre.  The logical place to look would be in the  page in the help centre, but the info isn't there.  Please could info about allowed times for acceptances be included in the help centre?  Another short paragraph to say this would be great:     You can only accept an answer after 15 minutes have elapsed from the time you posted the question. This time limit is raised to 48 hours if the answer is your own.


The below code is working, but the order Must have only one Order Pricebook,if the Order gets activated, new record is Created for below code  trigger createorderpricebook on Order (after update) {      List<Order> orderList = new List<Order>();     for(Order o : [SELECT Id, (SELECT Id FROM Order_Pricebooks__r) FROM Order WHERE Id IN :trigger.new]){         // if there are no any child records, collect ids         if(o.Order_Pricebooks__r.isEmpty()){             orderList.add(o);         }     }      List<Order_Pricebook__c> orderPriceBookList = new List<Order_Pricebook__c>();     //  iterate over collected records and create child records     for(Order ce:orderList) {          if(ce.status =='Activated'){             Order_Pricebook__c gh = new Order_Pricebook__c();             gh.name= 'ela';             gh.Order__c = ce.id;             gh.Price_Book__c = ce.pricebook2Id;             orderPriceBookList.add(gh);         }     }     insert orderPriceBookList; }   I want above code some Modifications whenever the order object contains pricebook is Modified,then the pricebook is updated in order_pricebook object also, how to Modify the according to scenario -


I set up my device quite some time ago and created a Google account. Since then, I haven't had to use my password even once because my device is linked to the account.  The problem is, now I would like to sign into my Google account online and I can't because I have absolutely no clue what my password is.   Is there any way I can recover or even change my password from my phone?  I understand the need for privacy but I really have no need for that kind of protection.


I start my pattern with the number $1$. Each term in the pattern is the previous term multiplied by a random real number in the set $(0, X]$, where $X$ is a real number. The pattern does not tend towards $0$, infinity, or negative infinity. Find $X$.


Remotely disable Factory Reset Protection (FRP) for a damaged phone

I have a brand new Samsung J6, worked without problems for a few days and suddenly got stuck on the Samsung logo when powering on. Managed to enter the recovery menu and delete the cache partition, after which the phone started, but the touchscreen wasn't working. I tried restarting in Safe Mode, but the problem persisted. After that, I went back to the recovery menu and did a factory reset. Touchscreen still not responding to any input.  I contacted my carrier to send the phone for service, but they require the phone to be unlinked from a Google account (basically, Factory Reset Protection). As far as I know, FRP won't trigger if you perform the factory reset from the settings app on the phone, but that's not an option due to the non functional touchscreen.  I've been looking at what the Google console offers, but there doesn't seem to be a way to decouple the phone from the account, it's mostly to deal with lost or stolen devices. I tried the remote wipe feature on another phone, but that still triggers FRP.  Linked account is part of G Suite, though I don't think there's any special phone management system in use.  Is there a page where I can tell Google to stop associating that particular phone to my account?  I've found nothing of the sort in the following pages:


Are increases in Planck's constant and the speed of light operationally distinguishable?

If only dimensionless constants are physically meaningful, and both Planck's constant, $h$, and the speed of light, $c$, are in the denominator of the expression for the fine structure constant, $\alpha$, then is there any way of distinguishing, by measurements or experiments, between an increase of $h$ and an increase of $c$ (assuming a definition of $c$ in terms of a meter rod, rather than itself)?


How do I make a constant slope elevation model in arcMap?

I am currently working with ArcMap to develop an elevation model of a quarry showing how the terrain at the quarry site would look post-closure. One of the requirements is that the slopes placed along the benches should be 30 degrees exactly. I have an elevation model of the site and a shapefile showing all the quarry leases. One of the assumptions is that the boundary elevation shall remain the same in the future and all of the rock within the boundary would be extracted. The final base elevation is assumed to be 100m for the time-being; i.e. elevation of the pit surface post closure.  To start, I extracted the elevation points of the boundaries where the slopes shall be put in; using "Extract by Mask" and "Sample" to tabulate the values and then import them into a new template. I was wondering if it would be possible to create the points at the base of the slope using Excel; i.e. design some sort of an algorithm that will determine the XY coordinates of a point inside the boundary such that:   The distance between a point on the boundary and the corresponding point inside the boundary is (Boundary Elevation - 100)/tan 30deg. The point inside the boundary is such that it's on a line perpendicular to the line where the boundary point is situated.   However I'm pretty sure this would take quite a lot of time and would not be the optimal way of going about the problem. As the final base elevation is subject to change, it would be better to have a solution that doesn't require much effort.  What would be the optimal way of creating the elevation model?  I have gone through some of the forums in ESRI as well as stackexchange but haven't been able to understand the methods suggested, particularly those involving python as I don't have any experience working with Python. So I was wondering if it will be possible to work on it without using python or if it does require the use of python, could anyone explain to me how the script can be written?   The method suggested for this question for instance:


How to run a cron job using the sudo command

Is it possible to run a  job which needs the  command?  Like:   sudo rm somefile


How to disable microphone from auto adjusting its input volume

I want to disable the way the microphone lowers itself depending on the input. Here is an image:    The microphone started at 100% and slowly started to drop to where the image is showing. This is because of either a background noise or the user raising their voice. In any case, I would like to prohibit this behavior because when it gets too low, the need to raise the voice will be actually needed.  So is there an option or configuration file where one can edit and change this behavior?  This is not related to only one app but several, ranging from Skype to Google Hangouts, Empathy to Teamspeak and more. So please no answers mentioning only one app if the solution does not solve the problem for others.  the pulseaudio app (gui and terminal) was already used. Alsamixer was also used. In both cases, adjusting the microphone level did not help. The auto adjust always happens when anyone speaks, does not even need to be someone speaking loud, they just need to speak and after a couple of seconds the mic level will start auto adjusting. I repeat, this is not a 1 app problem but several, so a common solution is better than a 1 for each app (Which we are talking about more than 50 apps).


How to get Soft 404 pages removed from Google index

We have weekly hundreds of events and corresponding event detail pages.  Those event detail pages are gone after the event is over but the pages were still returning 200-FOUND (soft 404). To make the matters worse, we were adding those pages in sitemap xml.   The situation now is that; we have thousands of pages indexed by Google all giving Soft 404 (200 - with no valuable content), and Google knows that.  We have recently applied following changes :   Excluded event detail pages from Sitemap.xml Event detail pages are marked with "noindex" tag. Since those pages have a very short lifespan, no need to index them.  Ended event detail pages are no longer returning 200, but 410-GONE. Excluded event detail pages from Sitemap.xml   What can I do now so that Google will pick 410 status for those pages and remove it from its index?   I'm thinking about creating a page with direct links to those pages to be excluded from index, and request indexing with the option "Crawl this URL and its direct links". That way, Google will try to re-index those pages and get 410. Will that work?   N.B.: The obvious optimal solution of keeping the event detail pages on the website isn't a possibility in our case.


Key combination to switch language in Lubuntu?

Can anybody inform me how to switch language in Lubuntu? I went to "Keyboard and Mouse Settings" as well as "Language Support" but couldn't find any solutions.


I have a laptop that has Ubuntu for about 3 years and now I want to dual boot my computer with Windows 10.  Now, I'm trying to burn Windows to a pendrive, but when I boot my computer, it doesn't detect that I have a pendrive attached. I have formated it a million times (most of the times I formatted it to FAT, but I tried NTFS and Ext4).   What's confusing for me is that I have used the very same pendrive to boot other distros from and it worked. I even tried it yesterday, when wanted to test if it works with other Linux distros, it did. So I have no idea at this point.  Also I heard that installing Windows after Ubuntu could break Linux, but I should not worry about that, because I can fix that, right?   I would really appriciate some help right now! Thanks for your answers in advance!


How to completely remove kubuntu-desktop from Ubuntu

I installed kubuntu-desktop just to experiment with its interface.  Then I decided to remove and did the traditional apt-get purge and autoremove but it seems elements of kubuntu are still there. For example interface elements, scrollbars, bootscreen etc are still there.  Is there any method I can completely remove without installing a fresh copy of ubuntu?


why my query shows javalang when i try to execute

im new on hibernate, and im trying to get the results of a query, if i try to get only 1 column, i dont have problems, but when i try to get more, i cant. If someone can help me, would be great :D the code:         sSelect = sessionFactory.openSession();          q1 = sSelect.createQuery("select nompro, suelpro from profesores pf order by pf.id");          //Guarda la información en una lista.         listaProf = (List) q1.list();          System.out.println();         System.out.println();         System.out.println("Nombre de los Profesores");                    for(int i=0; i < listaProf.size(); i++)         {             System.out.println(listaProf.get(i).toString());         }          sSelect.close(); //Cerramos la sesión  the result: [Ljava.lang.Object;@1816e24a [Ljava.lang.Object;@6940f685 [Ljava.lang.Object;@47b179d7


Proving that if a set $A$ is infinite then necessarily $|A|\geq|\mathbb{N}|$

A set $A$ is set to be infinite if it is not finite, i.e. if there exists no $n\in\mathbb{N}$ such that $|A|=n$, meaning there exists a bijection $A\leftrightarrow\{1,\dotsc,n\}$. How do I prove that for any such set there necessarily exists an injective function $f:\mathbb{N}\to A$, meaning there are no infinite cardinalities under countability?


Show that $A \cong \mathbb{C}^n$ with A a commutative algebra

Let A be a commutative algebra of finite dimension, and if $A$ has no nilpotent elements other than $0$, is true that $A \cong  \mathbb{C}^n$ ?    The question emerge to my mind, I thought that the finite dimension tell us that the scheme is Artinian (geometrically dimension 0).  I think the pattern is just a meeting of $n$ points but I have not managed to prove it.  Someone can enlighten me please ?  Thanks


Auto-Increment Integer Field in a Feature Class

Does anyone know of a good way of auto-incrementing an integer field within a SDE feature class when the feature is created?  I don't want to have a script run afterwards to populate the field and I'd like this to be run when a feature is created (insert).  Is there a trigger that could be run or can the Identity property be used?  Just wondering if anyone has a good solution for this?  ArcGIS Version = 10.2.1  ArcSDE = 10.1 sp1  RDBMS = SQL Server 2008 R2  Thanks in advance!


The package lists or status file could not be parsed or opened

i upgrade system from 13.04 to 13.10 then i restarted system the problem is coming ''the package lists or status file could not be parsed or opened.'' rajuramvani.


I have tried to install various linux distributions to my sisters laptop (Ubuntu Lubuntu lite MATE, Debian...) The only one that worked without hassle was Lubuntu 12.04 but I was not impressed with LXDE and I was also little concerned about the security of an old release. (My sister's windows laptop was really slow so I thought that this is my chance to convert her to Linux so I want to impress her.)  Almost every other distribution freezes during boot. I ended up trying Debian 8.6. The nomodeset boot parameter fixes freeze problems, but then resolution of desktop was horrible. If I installed firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-atipackages, I was able to boot without the nomodeset option and the resolution of desktop was also good. However, booting doesn't always work. The machine often boots to command line and I couldn't figure how to start gui from there. (I tried startx but it didn't work.) I added acpi=off to boot parameters and boot problem went away. Now I was quite happy with result. I got newest version of debian release and gnome classic felt quite snappy. But the touchpad didn't work and I wasn't able to connect to wifi.  So, what should I do with this computer. Is it just too old for new Linux releases or is there some magic way to get it to work nicely?  Asus:    Model: X53B MB ver: K53BY RAM: 4 Gt, available 3.6 Gt AMD E-450 APU with Radeon(tm) HD Graphics Radeon HD 6320   I think my sister needs just basic web browsing, watching hd videos and office programs for school stuff.  Edit: I tried Xubuntu and it works well when I have nomodeset option in grub options. Only thing is that desktop resolution is little low. Is the problem with graphic drivers? How should I check what drivers I have installed and what drivers should I install. If I take off nomodeset, computer hangs to black screen during boot.  I don't know if I have two graphic cards but lspci | grep VGA outputs:   [AMD/ATI] Wrestler [Radeon HD 6320] [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series]


Is it generally accepted to copy my own answers across questions / exchange sites? (assuming the questions are not duplicates and the answer solves both questions) Should I link back to the original?


Windows 10 Upgrade - Windows Dialogue Boxes Have Small Font

My laptop has recently been rebuilt with Windows 10.  It was previously also using Windows 10.  Now the default Windows dialogue boxes that popup have a smaller font that is less well defined.   Nothing has changed in the hardware.  File explorer looks the same.  But the popup dialogue box that I get if I right click on a file and select 'Properties' for example has smaller font.     Can I fix this?


3D surface plot from external data with no header

I am trying to figure out how I can draw my 3D surface plot using pgfplots when external data is scattered to an excel file in 2D with no headers. I wasted almost 2 days now and have no clue how can I achieve this.  The visualization of the data with 3D surface plot in LABVIEW is given below. I also added how the excel file looks like and gave tab delimited txt file below.  Thanks in advance.


Hi anybody know how to get ATMEL unique ID from Atmega microcontroller?  I read  question but the code in answer not work in Atmel Stadio.  Edit:  Because we produce about 1000 board per week I want to a way that find our board in a project with broadcast a message to them and they replay a Uniq code that we could identify them.


Unstable wifi with intel 8260 [8086:24f3] (rev 3a) on Ubuntu 16.04 running on Lenovo P50

On my brand new Lenovo P50 the wifi is unstable. sometimes it connects, sometimes it does not, or just stops working. Sometimes wifi networks are shown in the network manager, sometimes not. Sometimes even the wifi symbol disappears and changes to the symbol with the two arrows, even when no ethernet cable is connected.  sudo service network-manager restart   solves the problem for a while, but it comes back.  Hardware is Lenovo P50,    wifi adapter intel 8260 rev 3a  Ubuntu 16.04 with all updates installed as of today  Kernel 4.4.0-28-generic  driver is iwlwifi driverversion=4.4.0-28-generic firmware=16.242414.0  sudo lshw -C network   gives  *-network                   Beschreibung: Kabellose Verbindung    Produkt: Wireless 8260    Hersteller: Intel Corporation    Physische ID: 0    Bus-Informationen: pci@0000:04:00.0    Logischer Name: wlp4s0    Version: 3a    Seriennummer: 44:85:00:df:1f:b5    Breite: 64 bits    Takt: 33MHz    Fähigkeiten: pm msi pciexpress bus_master cap_list ethernet physical wireless    Konfiguration: broadcast=yes driver=iwlwifi driverversion=4.4.0-28-generic firmware=16.242414.0 ip=192.168.1.39 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn    Ressourcen: irq:133 memory:c4c00000-c4c01fff *-network    Beschreibung: Ethernet interface    Produkt: Ethernet Connection (2) I219-V    Hersteller: Intel Corporation    Physische ID: 1f.6    Bus-Informationen: pci@0000:00:1f.6    Logischer Name: enp0s31f6    Version: 31    Seriennummer: 50:7b:9d:fe:e7:83    Kapazität: 1Gbit/s    Breite: 32 bits    Takt: 33MHz    Fähigkeiten: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation    Konfiguration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.8-3 latency=0 link=no multicast=yes port=twisted pair    Ressourcen: irq:130 memory:c5700000-c571ffff


Where can I download source code for Java SE (java.lang, java.util, &c.)?

I have no problems finding JREs, JDKs and documentation for core Java SE packages, but I'm not sure where to get the source (.java) files.  I'm looking for the latest stable release, not bleeding-edge development code.  Where are those available?


Any field that contains the integers contains the rationals as a subfield (Analysis proof)

I'm an intro analysis student trying to prove that any field $f$ that contains the integers contains the rationals as a subfield. I'm asked to proceed by proving  that there exists a subset $F'$ of $F$ and a function $Φ: F'→\mathbb{Q}$ such that $\mathbb{Z} ⊂ \mathbb{Q}$ and $Φ$  satisfies the three following properties:    $Φ $ is bijective  $Φ(a + b) = Φ(a) + Φ(b)$, for $a$, $b$ ∈ $F$ $Φ(a.b) = Φ(a).Φ(b)$, for $a$, $b ∈ F$   I have gone through a few answers for similar questions but I am not sure how to proceed. We have not covered isomorphisms in the course yet so I am unsure how this is related to it (though other posts like  and  indicate that there's a connection). Any help would be greatly appreciated.


How do two waves after approaching and neutralising each other give birth to two waves the very next moment?

My question is after the third event(in the picture) how do the waves originate again?  An obvious answer might be that two waves simply propagate and just add up when they interfere with each other. But if we take a closer look, in the third position, all the velocities are perfectly cancelled out. Then why should another set of waves originate? Wouldn't it be mysterious to an observer who starts observing from the third position?   Can anyone give me a mechanical interpretation? Where am I making the mistake?


Upon exiting Ubuntu on USB drive, all settings and new data are erased. How can I retian data and settings?

I have Ubuntu installed on a USB flash drive.  It works fairly well.  But every time I exit the system, it erases all newly created data and settings.  E.g., the add-nos in Firefox are deleted and all the other settings, like bookmarks.  All downloaded files are deleted.  When I boot up the system again, only the original system appears.  How can I get Ubuntu to not delete the settings and newly added data upon exiting the system?


Aligning two non-coincident equi-resolution raster grids in ArcGIS Desktop?

I have two rasters: a digital elevation model (DEM) and a Landsat band. The grid resolution of both is 30 m, but the grids are not coincident (see image: the dark raster on top is the DEM; the light raster underneath is the Landsat band).  I want to perform some transformation of the Landsat band so that its grid aligns perfectly with the DEM grid. I've tried resampling the Landsat band to 30 m in ArcGIS using the DEM as a Snap Raster in the Environment settings, but this does not have any effect. I've also tried clipping the Landsat band to the extent of a vector polygon (that the DEM is also clipped to), while setting the DEM as the Snap Raster, but to no avail.  I suspect this is happening because both rasters are already at the same resolution (just on different grids), but I really need their grids to be aligned to be able to do any further analysis.  Can I do this in ArcGIS Desktop?


How do I mark an angle with multiple arcs?

I have been trying to find a good answer to this question (or a question to match it): I'm trying to give an angle a marking with multiple arcs in the interior, as per the pictures below.  I'm not concerned with fill color, or anything else like that: is there a relatively simple way to mark an angle with more than one arc? So far, I haven't found anything in the decorations library, and the arc and style parameters on \tkzMarkAngle don't seem to work (at least, not very reliably). Am I missing anthing?


Suggested lsb-core installation procedure fails

While trying to install lsb-core, I get the following error:  Err:1 http://us.archive.ubuntu.com/ubuntu zesty/universe i386 libfreeimage3 i386 3.17.0+ds1-5build1   404  Not Found [IP: 91.189.91.26 80]    Additional errors appear about not finding the page. I ping the IP address and it is real.  Have the files been removed? If so, the installation scripts or must be updated.  Any suggestions on how I can proceed?


Run Time Machine on same disk containing Windows files

I have an external storage device that's pretty big. I would like to store my OS X Time Machine backup files on it, but it already has a few files I've backed up from a windows machine. Will it be a problem to do both (File System wise), or should the time-machine work without problems? I don't want to lose any files already stored on the device. thanks.


How can I change the perspective of an object Illustrator CS5

I have a flat object.    I want to fit it on a laptop screen.  I can't use the perspective grid because it only deals with a straight line axis and the screen doesn't have any edges on a straight line.  I can't find a way to rotate or skew the perspective grid.    If I skew the object it doesn't work as I need to make each corner skew independently.    In Photoshop I can use Transform > Perspective.  Does Illustrator CS5 have a similar function?  I want to put the recycling symbol on all three screens.  What's the easiest way?


How was the concept of work-energy developed?

I doubt that the concept of work-energy was actually discovered this way. However in the algebra based physics book I am reading, work done by a constant net force is defined as $W = fcos \theta s$ The other side of the equation is worked out to be $\Delta 1/2(mv^2)$ or $mg\Delta h$. This is the work energy thereom given. The right sides are given names KE and GPE.  To me this is just deriving equations using substitutions and transposing. Without being given explanations of what KE and GPE are, how would a person know their meanings? W=$fcos \theta s=1/2(mv^2)$ They are just equivalent expressions.  How would one go from that to knowing $1/2(mv^2)$ KE is energy possessed due to its motion? That this can do negative work if acting on another object? Or likewise the mgh is PE and is independent of the path taken between two points making a line perpendicular to the earths surface?  Please don't use any mathematics beyond a 1st year undergraduate course to explain as I wont understand it.


Proving $4^n > n^4$ holds for $n\geq 5$ via induction.

I know that it holds for $n=5$, so the first step is done.  For the second step, my IH is: $4^n > n^4$, and I must show that $4^{n+1} > (n+1)^4$. I did as follows:  $4^{n+1} = 4*4^n > 4n^4$, and if I show that $4n^4 > (n+1)^4$ holds for $n\geq 5$ I'm done, so I expand the right hand side and arrive to:  $$4n^4 > n^4 + 4n^3 + 6n^2 + 4n + 1$$  And this holds iff: $$3n^4 - 4n^3 - 6n^2 - 4n - 1 >0$$ And here I'm stuck, I don't really know how to show that the given inequality holds. Any hints?


Jquery script not working on my clone Dom

I have two forms that submit data using ajax. One of the form is set to display=none and only becomes visible and cloned when the user has successfully submitted data through ajax from the initial visible form .Both of the form does same thing.The cloned form is to appear when the page reloaded using ajax All is working good except of the fact that my cloned submitform is not responding with jquery script despite it has thesame class name with the other. I know similar question has been asked before but does not solve my problems.   My HTML form   {% for object in items %}
 <form class="submit-form" action="/myurl/" method="POST"> <input type="hidden" name="object-id" value="">  <button type=submit>Submit</button>  {% enfor %}
 <form class="submit-form" action="/myurl/" method="POST"> <input type="hidden" name="object-id" value="">  <button type=submit>Submit</button>
   My jquery.js  $(document).ready(function(){    $('.submit-form').submit(function(e){   e.preventDefault()    var this_=$('this')     var urldata=this_.attrs('action')     var dataform= this.serialize()     $.ajax({       url:urldata,        method:'POST'        data:dataform,        success:function(){        var hiddenform=$('.formtoclone')         /* collected json data from django view*/            $.each(data.products, function(index,value){              cartRow.html("")              var newremovebtn=hiddenform.clone()              newremovebtn.css('display','block')              newremovebtn.find('.cart-item-id').val(value.id)              cartbody.prepend("
  "+ value.title+ "	" +""+ value.weight+"	" +"" +value.quantity+"	"+ ""+value.price+ newremovebtn.html()+"	 ")         }, error:function(){}  });  });  });


Show that the class of regular languages is closed under shuffle

For languages A and B, let the shufﬂe of A and B be the language $ \{w| w = a_1b_1···a_kb_k,$ where $a_1···a_k ∈ A$ and $b_1···b_k ∈ B,$ each$ a_i,b_i ∈ Σ^∗\}$. Show that the class of regular languages is closed under shufﬂe.  Approach: If A and B are regular, then there exists an NFA R and T that recognizes them. I was thinking I could run R and T in parallel, so I would start running R by processing $a_1$ and then by using non-determinism, I would jump to the NFA T to process $b_1$. In this process I make sure that both NFAs aren't executed the original way because that would result in accepted strings that are not in the language, so I try to disconnect the edges in each NFA to jump to the other NFA and then disconnect again the edges of this NFA to come back to the previos NFA.. Is this process clear?  Here is the proof, but some lines are a bit unclear to me.  I can't understand d)i. I don't understand how the transition function works. How does it detect whether we are at DFA A OR B?


Since I have only little experience in Latex, I'm not sure how to create a specific table as shown in the example screenshot. Is such a table even possible with Latex and if yes, where do I need to start? Or is the layout maybe not the best choice and I should setup the layout of the table in another way?


Why does my iPad keep asking for my iCloud password?

I keep receiving an iCloud pop-up message to insert my iCloud password every time i switch on my iPad and I'm unable to do anything on it, inserting the password doesn't help. What should I do?