I can log in to Stack Exchange network sites just fine, even join new ones (like this one), but I can't log in to .   When I try any of the login methods on my Stack Overflow account, it just shows me the "this login is new" screen, even though I already have an account.  When I try logging in with Stack Exchange, then clicking "recover my account" and entering my email (since I don't think I ever added a password, I've always logged in using Google), it just says "no account with that email was found".


Remapping Caps Lock behavior does not persist

I use Gnome Tweaks Tool 3.34.0 (and GNOME Shell 3.36.4) and under "Keyboard & Mouse" I change via "Additional Layout Options" the "Caps Lock Behavior" to be swapped with Escape key.  Yet while this works for a while, the setting often undoes itself and I don't know why. The setting is seen as toggled, but the default behavior of the button is restored. How can I make the swap permanently? The issue occurs often when I lock the screen and login. Also, I have an USB switch to use my input devices at another PC. So it may have to do with the unlpugging the keyboard and then restoring the connection.  $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 20.04.1 LTS Release:    20.04 Codename:   focal


How to redirect all links to new site with same domain & same content?

Is the same domain but i change url structure and website platform and is important to save all traffic from old links.


Consider $$\int_{0}^{1} \frac{x^{b}-x^{a}}{\log(x)}\sin(\log(x))dx$$  I thought about making some substitution like : $x^{y}$(it's easy to calculate $$\int_{0}^{1}\frac{x^{b}-x^{a}}{\log(x)}dx = \int_{a}^{b}dy\int_{0}^{1}x^{y}dx=\log(b-1)-\log(a-1)$$).  But I couldn't find substitution like that. Any hints?


Discrepancy of $4π/c$ for radiated intensity in a blackbody radiation

Plancks radiation law is sometimes given as $B(\nu, T)=\frac{8π h \nu^{3}}{c^{3}} \frac{1}{e^{\frac{h \nu}{k_{\mathrm{B}} T}}-1}$ as is shown in the plot  But Wikipedia says:  ...the spectral radiance of a body for frequency $ν$ at absolute temperature $T$ is given by $B(\nu, T)=\frac{2 h \nu^{3}}{c^{2}} \frac{1}{e^{\frac{h \nu}{k_{\mathrm{B}} T}}-1}$  So there appears to be a discrepancy of $4π/c$ in the Wikipedia and the formula given on the plot. Why is this so? (The plot maybe takes into account all of the radiation while as the Wikipedia one is talking about radiation per unit solid angle,but that doesn't explain the extra factor $c$) The duplicate linked question which is assumed to be be the same as this one are different. That question is about the wavelength and frequency form of Plancks law but this one isn't.


Suppose that:  $0 \rightarrow M_{1} \rightarrow M \rightarrow M_{2} \rightarrow 0$  Is an exact sequence of $R$-modules (for $R$ commutative integral domain). Show that $\mathrm{rk}(M) = \mathrm{rk}(M_{1})+\mathrm{rk}(M_{2})$    I have shown the inequality $\mathrm{rk}(M) \geq \mathrm{rk}(M_{1})+\mathrm{rk}(M_{2})$, however for the opposite direction I'm lost. I tried to take $N$ as a linear independent subset and tried to decompose it into $N_{1}$ (the elements in $\mathrm{Ker}(g)$) and $N_{2}$ (the elements not in $\mathrm{Ker}(g)$), but I haven't got far, since $N_{1}$ gives us a linearly independent set in $M_{1}$, however $N_{2}$ can give us a linearly dependent set in $M_{2}$.   We define $\mathrm{rk}(M)$ in this case as the supremum over all cardinalities of the linearly independent subsets of $M$ (where the only finite linear combination equaling $0$ implies trivial coefficients for $r \in R$).  Would this be the proper way to show the result? I think I'm missing something important.


Will I be given an option to upgrade to Ubuntu 14.04.1 from 14.04 when I bootup from a cd or usb drive? Or do I need to do a complete new install?  Thank you.


Total newbie, I can download programs, but how do I make the program executable? Using 13.10   Thank you   John


would you ask someone to drive safe or to drive safely?

When someone is going to drive their car somewhere, I always used to say "drive safely" to them.  Recently I was told I should say "drive safe."  Which is correct?  So it's about when to use the word SAFE and when to use the word SAFELY. Thank you.


How to reduce the size of my Ubuntu main partition to be able to install a new OS in dual-boot

I would like to install windows on my system on which I have installed Ubuntu already.I went through a couple of previous answers but I understand that the first thing is to create a partition on the disk to install Windows. I use GParted but I am not able to create a new partition. I am attaching a screen shot .     I want to partition the /dev/sda2 drive as only it has considerable space.


It's been many years since I studied maths, and I'm trying to figure out the half factorials $(7/2)!$ without a calculator.  I did $(7/2) \times (5/2) \times (3/2) \times (1/2) = (105/16) ^ \pi = 1.82$ (as per a little tutorial I'm doing).  However, if I put $(7/2)!$ in the calculate I get $11.631$  Am I completely off target here? Sorry if this is elementary - I'm basically starting from the beginning again.  ** UPDATE **  Despite the real issue being not knowing how to use the damn calculator properly - I now have a better understanding of this subject thanks to all your comments.


Hellow all guy.help me How to draw in 3 dimensions ?


I have a folder called Programming under my /home partition. I mounted a partition of 50gb under the Programming partition permanently. Everything works fine. But I don't want to visually show the mounted partition explicitly in the Ubuntu explorer(not sure what's the exact term). How do I achieve this?  [The partition in question is the highlighted one Prog . I don't want to display it.]


Rank = # of non-zero eigenvalues of a diagonalizable matrix

Is the rank of a matrix equal to the # of non-zero eigenvalues of a diagonalizable matrix?


Can someone tell me how to get a closed form for  $$\sum_{k=1}^n k^p$$  For $p = 1$, it's just the classic $\frac{n(n+1)}2$.   What is it for $p > 1$?


Where should I ask a question regarding copyrights?

On which of the Stack Exchange site should I ask a question regarding copyrights? Example question:  Do I have the permission to include the content of a document in my website? The copyright in question is from the SWEBOK and the licence says:  This document may be copied, in whole or in part, in any form or by any means, as is, or with alterations, provided that (1) alterations are clearly marked as alterations and (2) this copyright notice is included unmodified in any copy.  SWEBOK book copyright:


I'm looking for instructions on how to download and install Spyder3.  I'm running Ubuntu 14.04 and these are my computer specifications:   Ubuntu 64bits Lenovo 510 Core I7 Ram: 8gb


For school we were given a creative response for an assignment so I decided to use my amateur c++ knowledge to make a Win32 console application which was a "choose your own adventure" game. I finished it (in Visual Studio 2015) and submitted it since it worked fine on my computer I figured nothing could go wrong since my computer and the school's use Windows. But when it is run on the school's computer's It turns out it can't run because it is missing a .dll. Turns out this is because the school's computer don't run Visual Studio and mine does.  So what I am asking is what can I do to make it so my code can run on any windows computer regardless if they have Visual Studio installed? My bad if this is a noob or impossible question.


Configure OpenSSH SFTP Server to authentificate users against MySQL Database

Im looking for a way to authenticate the users of our OpenSSH SFTP Server against a MySQL Database. This would be nice because I want to add users through a webinterface which will write in the MySQL Database. The reason for this is that I find it kind of a unpleasant solution to add a system user for every client that wants to download data. Also many of these users are going to download files from the same directories so it's absolutely useless to chroot everyone in his own home directory because they should be chrooted in costum directories.  I know I can do this with proftpd and SSL but if I can avoid using FTP I would do so.


How to move a Steam pop-up notification to another edge of the screen?

I want to move the Steam pop-up notification (when someone connected or someone start a game or when someone chats with me). So I want to move it to any another edge of the screen.  I found this tip:  but this does not work with the new steam interface.  Also, I tried some AutoHotKey scripts to move the pop-up notification but nothing works.  EDIT : I tried to do like this :  but this not works because the new steam version check this file on startup and change "BottomLeft" to "BottomRight". and the others answers not works too.


Does a separable metric space have a countable basis?

I want to prove that if $X$ is a metric space and has a dense countable subset, then it has a countable basis. I know that every metric space is first countable, but I can't continue. Thanks for your help.


How to evaluate $\lim_{n \to 0} n\cot(n)$

I already know that the value of the limit $$\lim_{n \to 0} n\cot(n)$$ is equal to $1$, but I'm not quite sure how to evaluate it in an airtight way. I tried L'Hopital, but it just becomes circular.  Does anybody have any hints?


Program for display method  void display() {     String selection = MediaStore.Audio.Media.IS_MUSIC + " != 0";     ContentResolver contentResolver = getActivity().getContentResolver();     Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;     Cursor cursor = contentResolver.query(uri, null, selection, null, null);      if (cursor != null && cursor.moveToFirst()) {         int songTitle = cursor.getColumnIndex(MediaStore.Audio.Media.TITLE);         int songArtist = cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST);         do {             int i = 0;             String title = cursor.getString(songTitle);             String artist = cursor.getString(songArtist);             songsList.add(title + "\n" + artist);             i++;         } while (cursor.moveToNext());     }     cursor.close();     songsList = new ArrayList<>();     songsAdapter = new ArrayAdapter<String>(getActivity(), android.R.layout.simple_list_item_1, songsList);     l1.setAdapter(songsAdapter);      l1.setOnItemClickListener(new AdapterView.OnItemClickListener() {         @Override         public void onItemClick(AdapterView<?> parent, View view, int position, long id) {          }     }); }   Error for display method  2019-03-05 23:16:59.323 504-504/? E/ANDR-IOP: IOP HAL: Received pkg_name = com.noob.audioplayer pid = 0 2019-03-05 23:16:59.723 18049-18049/com.noob.audioplayer E/AndroidRuntime: FATAL EXCEPTION: main Process: com.noob.audioplayer, PID: 18049 java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.ArrayList.add(int, java.lang.Object)' on a null object reference at com.noob.audioplayer.SongsFragment.display(SongsFragment.java:137)


Software update, requires installing packages from unauthenticated sources

I'm quite new to Ubuntu and lately I've been struggling with software updater.  It lists the software to update but when I try to update gives the message  Requires installation of untrusted packages This requires installing packages from unauthenticated sources.     I tried to execute sudo apt-get update && sudo apt-get upgrade but the software updater continues listing software outdated.  Any help would be welcomed.


biblatex uses American date format with british polyglossia

While checking my references I noticed that the urldate is printed in the wrong format. My document is being typeset in British English, where it is common to write the date as Day/Month/Year, compared to the American format Month/Day/Year. The output of my references, however, is in the American format.  \documentclass{article}  \usepackage{parskip}  \usepackage{polyglossia} \setmainlanguage[variant = british]{english}  \usepackage[backend = biber, citestyle = numeric-comp, language = british]{biblatex}  \begin{filecontents}{references.bib}     @misc{Test,         author = {NanoTemper},         title = {{This is a test title}},         year = {2019},         url = {https://example.com},         urldate = {2019-05-21}     } \end{filecontents} \addbibresource{references.bib}  \begin{document}     Foo bar\cite{Test}.     \printbibliography \end{document}     What should I use to get the British date format?


Avoid screen turning off when the screen is locked?

Even after doing the change in the Settings > Brightness & Lock, by increasing the value for Turn screen off when inactive for to 5 minutes, it didn't work. I did try the other options there as well.  I've already gone through the steps in this .  Is this a current bug, or is there any hack to prevent this? Any help would be appreciated.


How to restart X Window Server from command line on Ubuntu 18.04?

How to I achieve a GUI restart in ubuntu 18.04 using Gnome on the standard X Windows Server.  Seems like the  doesn't apply anymore.


Make program first read from pipe, then from keyboard

Consider the interactive program interactive. I have to run this program fairly frequently, and each time I run it the first few commands are the same. Obviously, having to type those commands over and over again is a pain. I have collected those command (separated by newlines) in the file cmd. Now I can do cat cmd | interactive to run the commands. The problem is that once cmd has been fully read, interactive recieves EOF and exits.  What I wish to do is first have interactive read from the pipe (obviously interactive < cmd is also acceptable) and when EOF is received, start reading from the keyboard instead.


Do I need a transit visa for layover in Italy?

I am flying from Chicago to Istanbul and my flight will layover in Rome for an hour and a half. I am holding a US green card and am traveling with Iraqi passport. I am not sure if I will require an Italian transit visa or will I be fine since am not leaving the transit area? I tried the Italy embassy support line and they keep telling me to check the website and there was not a clear answer for that.


call command from bash with argument variable with spaces

I have a bash script running on MacOS (Bash 3.2.57). The script takes arguments, and the arguments can have spaces. I would like to store the arguments in a variable and then call an executable. I can do this using eval:  arg="'file a' 'file b' '${1}'" eval find ${arg}   And the result of ./test.sh is:  file a file b file c   Are there any alternatives to using eval as I've read that I should avoid eval. When I try to replace with exec, I get the arguments split by space, when I set IFS='', I get one long argument. I can't seem to find the optimal solution.


Localization of an integral A-algebra is not always integral.

Let $A$, $B$ rings with a morphism $f : A \to B$ and suppose that $B$ is integral over $A$. Let $\mathfrak{n} \subseteq B$ a maximal ideal, and $\mathfrak{m}$ its preimage under $f$ (so $\mathfrak{m}$ is maximal in $A$). The question is:     Is the induced ring homomorphism $A_{\mathfrak{m}} \to B_{\mathfrak{n}}$ always integral?   The answer will be "No", but of course my aim it to find a counterexample. Luckily, I have an hint:     Consider $A = k[X^2 - 1] \subseteq  B = k[X]$   I see that in that case we have an integral A-algebra, but unfortunately I am finding some difficulties in proceeding. I need a maximal ideal of $B$ that does the job, so I tried with $(x)$. After having done a lot of computation, I am feeling a bit lost in my results...please, could you help me in any way? Also just saying "Yes, $(x)$ works, try to think better." or "Instead of $(x)$, try to consider the ideal $\mathfrak{b}$" will be appreciated comments.  Any suggestion is welcome :)  Cheers


$|f'(x)| \le g(x)$ implies $|f(b) - f(a)| \le \int_a^b g(x) dx$, without assuming $f'$ to be integrable.

In a  I needed an argument of the following kind:  Let $f, g: [a, b] \to \Bbb R$ be functions with the following properties:  $f$ is differentiable, $g$ is continuous, $|f'(x)| \le g(x)$ for all $x \in [a, b]$.  Then $|f(b) - f(a)| \le \int_a^b g(x) \, dx$.  Seems pretty easy: We have $$ \tag{*}  |f(b) - f(a)| = \left| \int_a^b f'(t) \, dt \right|  \le \int_a^b |f'(x)| \, dx \le \int_a^b g(x) \, dx \, . $$ There is just one problem: We have used the , and that requires $f'$ to be Riemann integrable (or Lebesgue integrable and absolutely continuous), compare . This is for example satisfied if $f'$ is continuous. But the above statement holds without additional assumptions on $f'$: Let $n$ be a positive integer and $x_k = a + \frac kn (b-a)$, $0 \le k \le n$, be a partition of the interval $[a, b]$. We apply the  to each subinterval $[x_k, x_{k+1}]$: $$  f(x_{k+1}) - f(x_k) = (x_{k+1} - x_k) f'(c_{n, k}) $$ for some $c_{n, k} \in [x_k, x_{k+1}]$. It follows that $$ |f(b) - f(a)| \le \sum_{k=0}^{n-1}| f(x_{k+1}) - f(x_k)| \le \sum_{k=0}^{n-1} (x_{k+1} - x_k) g(c_{n, k}) \, . $$ $g$ is continuous and therefore Riemann integrable. The expression on the right is a Riemann sum for $\int_a^b g(x) \, dx$ with the partition size $(b-a)/n$. It follows that $$  \lim_{n \to \infty } \sum_{k=0}^{n-1} (x_{k+1} - x_k) g(c_{n, k})  = \int_a^b g(x) \, dx $$ and therefore $|f(b) - f(a)| \le \int_a^b g(x) \, dx$. My question: Is there a simpler proof of the statement? It seems pretty basic, therefore I wonder if there is a simpler proof, without going into technical details such as partitions and Riemann sums. Perhaps it is a consequence of some other theorem about integration which I failed to find?


Confusion regarding the meanings of "till" and "until"

Till means upto a certain time limit and until means "till not".   Example 1:     I can not go till I finish my homework.   Example 2:     I can not go until I finish my homework.   I cannot differentiate between these two and both seems to me having correct meaning. But as until is "till not". This "not" should have an effect which I am missing. Please help me clearing the confusion.


Which version of Photoshop should I choose?

Currently I use Lighroom and wanted to start using Photoshop for my editing . I am very new to  Photoshop and have no idea what is the latest version, what are plug ins and other terminology used with Photoshop. I also come across something called Photoshop elements. What is that?   I use windows 7 and canon 6d. Kindly suggest which version Photoshop I need. My interest is wedding , portraits, children photography if that helps in deciding.


When should I use a struct rather than a class in C#?

When should you use struct and not class in C#? My conceptual model is that structs are used in times when the item is merely a collection of value types.  A way to logically hold them all together into a cohesive whole.  I came across these rules :   A struct should represent a single value. A struct should have a memory footprint less than 16 bytes. A struct should not be changed after creation.   Do these rules work? What does a struct mean semantically?


Not enough free disk space when trying to update 14.04

/boot only has 243 MB of space with 180MB used (according to GParted) I'm trying to install updates, but i need another 24.9MB freed.  I want to resize /boot to give it an extra GB (or so) so i can continue downloading updates.  GParted won't seem to let me do that.


Instant keyboard input after some update

I always keep my system up to date, but reboot it not very often. After an reboot the repeating input (if you hold down a key) of the keyboard stoped working. After some test with live image and so on I can give the following facts.   its not the keyboard (tried another one) Its all keys (even backspace - what is really annoing) It depends not to my user it depends not on the Desktop IT DEPENDS ON MY INSTALLATION (live image works fine)   When I start a terminal session via Strg+Alt+F1 then it constantly fills the input with this: "^@" so after a while it looks like  "^@^@^@^@^@^@^@^@^@^@"     In the GUI it does not show this BUT I'm sure thats the problem.  Could not find anything online - so I hope anybody of you can help me out!  My system:  LinuxMint 18.3 (based on Ubuntu 16.04) Kernel: 4.13.0-32-generic


$f_x$ is Borel measurable and $f^y$ is continuous then $f$ is Borel measurable

I have to prove the following:  Let $f: \mathbb{R^2}\to \mathbb{R}$ such that $f_x:y\to f(x,y)$ is Borel measurable for all $x\in\mathbb{R}$ and that $f^y:x\to f(x,y)$ is continuous for all $y\in\mathbb{R}$. Prove that $f$ is Borel measurable.  What I have tried to do is to find a sequence of functions $f_n(x,y)$ s.t for a fixed $y$ $f_n(.,y)$ is a linear approximation of $f(.,y)$..


What is a good technique to get as far as possible with the Plane?

I love being as far as possible from the plane path. And sometimes, the couple of houses I want to go to are just a little too far.  So what are techniques to optimize how far you go when freefalling/using the parachute?


Let $a_1 \lt a_2 \lt \dots \lt a_n$.  Find the minimum value of $f(x)=\sum_{i=1}^n |x-a_i|$.  My guess is the minimum occurs at the middle point. However, I don't know how to show this since I can't use calculus here. What kinds of idea should I use? I would greatly appreciate any help.


How can Haku perform hand seals with only one hand?

In the Land of the Waves arc, it can be seen that Haku performs handseals with only one hand. That must be something special, because a.) even Kakashi was surprised to see that, and b.) that's never seen again somewhere (except I forgot it).  How is that possible? Is that a special technique? Was it ever explained in the manga/anime?


How is reputation handled with migrated questions?

I just came over this question migrated from Stack Overflow to Code Review:    None of the posters is member of the SE Code Review community. Both question and answer are upvoted.  How would the rep gain be handled?  If one or both decide to join the community would they achieve the reputation points?


How to solve this limit without L'Hospital's Rule?

I am new to this site, so I don't know if this will appear correctly.  I need to solve this limit without L'Hospital's Rule:  $$ \lim_{x\to 0}\frac{x-\sin x}{x^3}.$$  I know that the result is $\frac{1}{6}$ but I need a step-by-step solution.  Thanks in advance.


Unable to Download macOS Mojave from App Store, error prompted: "Update not found, the requested version of MacOS is not available"

I'm running Catalina on a MB Pro 2019 and I'm trying to create a separate volume running Mojave through a bootable external device. I've been doing this earlier this year and I had no problem whatsoever doing it, but as of today, when I try to download Mojave from the App Store, as soon as I press the "Get" button, Software Updates prompts and I get this error: "Update not found, the requested version of MacOS is not available", and I can't download it. I've been using the App Store link found at step four of this link:  The result is I'm unable to download this version of MacOS and therefore I cannot proceed in the creation of a bootable device. Any advices on how to solve this problem? Does Apple also provides a direct link to download this OS?


Result of a failed delivery of futures contract

I am curious about, what if the seller couldn't deliver the physical product of a futures contract? Will there be any penalty or something like that?


! Package inputenc Error: Unicode char ﬁ (U+FB01)

TexStudio underlines in red an excerpt in which there are some double quotation marks, giving the error above.  I use   \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}


Every finite group has a composition series.  The proof of this statement is as follows  Proof. If $|G| = 1$ or $G$ is simple, then the result is trivial. Suppose $G$ is not simple, and the result holds for all groups of order $< |G|$. Let $H$ be a maximal normal subgroup of $G$. By the induction hypothesis $H$ has a composition series ${e} \subset H_1 \subset \cdots \subset H$. Therefore, $G$ has a composition series  ${e} \subset H_1 \subset \cdots \subset H \subset G$.   My question is, how can it be guaranteed that there exists a maximal normal subgroup of $G$ of order $< G$?


I am giving this for intersection of a polyline using Leaflet draw plugin with polygons feature class. Here is my code function intersectPolyByPolyFC(poly,fcPoly){         var fgp=[];//variable for feature group         var bbPoly=turf.bboxPolygon(turf.bbox(poly));//polygon representation of the bounding box of a reference polygon         for(var i=0;i<fcPoly.features.length;i++){//loop through the feature collection of polygons             var bb=turf.bboxPolygon(turf.bbox(fcPoly.features[i]));//variable bb represents each polygon for feature collection             if(turf.intersect(bbPoly,bb)){//condition to check if the two bounding boxes intersect                 var int= turf.intersect(poly,fcPoly.features[i]);                 if(int){                     int.properties=fcPoly.features[i].properties;                     fgp.push(int);                 }             }         }         return turf.featureCollection(fgp);     }   **Function Definition** var bufLine= turf.buffer(line,5,{units:"kilometers"});                         var intBUOWL = intersectPolyByPolyFC(bufLine,                         lyrBUOWL.toGeoJSON());                         L.geoJSON(intBUOWL,{style:{color:'black', width:5}}).addTo(mymap);  I am not getting any error on console and moreover my intersection is not performed on the map. What is could the problem be with my code?


This is bank account class:  namespace BankAccount {     public abstract class BankAccount     {         protected static int numberOfAccounts = 100001;         private double balance;         private string owner;         private string accountNumber;          public BankAccount()         {             balance = 0;             accountNumber = numberOfAccounts + "";             numberOfAccounts++;         }          public BankAccount(string name, double amount)         {             owner = name;             balance = amount;             accountNumber = numberOfAccounts + "";             numberOfAccounts++;         }          public BankAccount(BankAccount oldAccount, double amount)         {             owner = oldAccount.owner;             balance = amount;             accountNumber = oldAccount.accountNumber;         } } }   This is Checking account class:  namespace BankAccount {     class CheckingAccount : BankAccount     {         int fee = 15;         public CheckingAccount(string name, double amount)         {            base.BankAccount(name, amount);         }         public new bool Withdraw(double amount)         {             double totalAmount = amount + fee;             return base.Withdraw(totalAmount);         }     } }   For, base.BankAccount(name, amount); I am getting error,      'BankAccount' does not contain a definition for 'BankAccount.'    Bank account is the base class and checking account inherits the base class.  and when I remove the base keyword it says:      Non Invokable member cannot be used as a method.   In the main, I created an object, I want to accept a value in Main - a string and a double and then send it to CheckingAccount class and CheckingAccount constructor should run and then send the values to BankAccount constructor and do the calculations.  How can I fix the error      'BankAccount' does not contain a definition for 'BankAccount'   . ? Thanks,


Let G be a finite group with more than one element. Show that G has an element of prime order

Let $G$ be a finite group with more than one element. Show that $G$ has an element of prime order


bash watch command with colors preserved

From man watch:     Non-printing characters are stripped   from program output.  Use "cat -v" as   part of the command pipeline if you   want to see them.   So how do I use cat -v if I want to see the colored output from:  watch ls -al --color


Is it possible to use 'me' as a possessive in English sentences?

I just found that the word 'me' was used as a possessive in sentences of spoken English, in the movie "Harry Potter":     "I'm half and half. Me dads a muggle, mum's a witch."   Generally, isn't it proper to use the word "My dad" instead of using "Me dad"?


Print the last value of a counter before it is updated

I'd like to print the last update of a counter before it is updated.  For example:  \newcounter{num} \newcommand{\step}{\stepcounter{num}Step \thenum}  There are \thenum steps:  \step \step \step   Here the counter "num" is 3, however it is not updated at the beginning.  Is there a way to do this correctly?  Thank you!


I found a sentence on an English grammar book. I am confused why an article is used before a plural.     Each of the following sentences is preceded by a bare infinitive.


Is Daenerys's decision in Kings Landing consistent with her character arc?

In Game of Thrones S08E05 The Bells, when the      Lannister soldiers drop their weapons & ring the bells indicating  their surrender, Daenerys still decides to burn Kings Landing to the  ground using Drogon.   A large number of people seem to agree that this is a character assassination on the part of D&D (Dan Weiss & David Benioff). In Inside The Episode, they indicted that Daenerys has made this a personal matter rather than just the business of War.     Right from the beginning of S08, we are shown how nobody in Westeros loves her. Even her advisors serve her out of duty & not love. She loses Jorah & Missandei, her closest friends and now she's all alone.     In E05, she says to Jon as nobody loves her, she will choose fear.     In early seasons, when Daenerys sees the vision in House of the Undying, she's in the throne room with snow falling. Everyone assumed it was snow but now, after seeing Arya's scene at the end, we know it wasn't snow but ash falling. So, it was a prophecy.     In the last episode, we see Daenerys talking about her destiny.     So, is Daenerys's decision to burn down Kings Landing consistent with her character arc right from S01? Or was this character assassination on part of D&D?     Was Daenerys Targeryean the Queen of Ashes all along?


Unable to install Ubuntu 20.4 on older Macbook

Ubuntu 20.4 DVD and USB copies are not recognised by Mac boot manager.. Neither show up.. Unable to install to MacBook with OS X 10.7 Lion installed..


Accused of copying code for autograded assignment

I'm an undergraduate studying computer science at a local community college. Currently, I'm enrolled in an intro computer programming class that I unfortunately am unable to test out of (I asked my advisor). It is the prerequisite to the OOP class at my college (the class that AP Computer science would transfer to), which I took four years ago as a freshman in high school. I have already taken data structures and algorithms and am presently taking discrete math. The point being, I have very little to learn from this class. Last night, I received an email from my professor saying that my code on a recent assignment was identical to the solution in the textbook. I will admit that I did search to find the answer code because:  The autograde is extremely bad and requires spaces and other punctuation to be identical, all while not telling you what is wrong unless you look closely. It runs a series of units tests and compares the text output. Again, I won't learn from this class, so I'm not hurting myself by not properly learning The tests are worth 80% of the score, and I have been doing those fairly, so anything I do on the assignments will have little affect on my grade. The problems are incredibly fake and are nothing like the real world problems I engage in at work.  Generally, I've been searching to find a solution to a similar problem and then editing it until the autograde accepts it (so what I'm copying serves as a template to save time). In this case, I stumbled upon what turned out to be the actual answers. So technically I did copy the answers, but it was not me attempting to get out of work that I would actually learn from or need to do to pass the tests. I am very frustrated with how awful this class is and please note I would not do this for any other class. What I am not sure of is what to do now. I already have received a zero for that week's work (a tiny percentage of my grade) so I could go forward as if nothing had happened and ignore the remaining assignments (each week is about 55% easy work that I have been doing, 45% horrible labs that I often skip) and end up with about 85% on the course assuming my future test scores represent those in the past. Looking at the academic policy on the syllabus, as my first offense I will likely not see any other actions against me, but I don't want my professor to think I am a cheater. I have never cheated in any class and I don't consider what I did in this case to be a problem (I would argue it breaks the letter, but not the spirit, of the rules). How should I respond to this and go forward?


Given a graph $G$ with $n$ vertices and $k$ connected components, show that the maximum number of edges is ${n - k + 1 \choose 2} $

I am trying to prove the question I wrote in the title. I realized that the maximum number of edges is the maximal value of $ {a_1\choose 2} + ... + {a_k \choose 2}$ such that $a_i \geq 1$ for all $i$ and $a_1+...+a_k = n$.  But now I don't know how to prove that the value of this is the needed one. I know it is reached when all of the $a_i$'s are $1$ except one which is $n-k+1$ but I don't know how to prove this is the maximal case. I have tried induction but it just got to messy.


I suggest to show downvoter's name so that we'll be able to decrease the number of unfair downvotes resulted by abusing his rights in doing so.


software centre not signing to ubuntu one

I am having trouble signing into ubuntu one from software,it says incorrect email or password. I am able to sign into the website. I have seen similar questions but so far no effective answer.


Why is it valid to assume that there is an index set for any set s.t each index corresponds to an element?

Is there an axiomatic proof for this? I think it is intuitively correct but I cannot convince myself with proof.


multiplying and combining all elements in a list by all others but without duplication/repetition

we = [1,2,3,4] for i in we:     for e in we:         print('('+str(i)+' - '+str(e)+')')     #del we[0]   This is the result:  (1 - 1) (1 - 2) (1 - 3) (1 - 4) (2 - 1) (2 - 2) (2 - 3) (2 - 4) (3 - 1) (3 - 2) (3 - 3) (3 - 4) (4 - 1) (4 - 2) (4 - 3) (4 - 4)   But I do not want the same elements to repeat like I have (1 - 3) so I do not want (3 - 1) to show and so on. I also need to use for loops in this


How to integrate $\int_{-\infty}^{+\infty} e^{-x^2}\cos x \, dx$

Can you help me with this?  $$\int_{-\infty}^{+\infty} e^{-x^2}\cos x \, dx$$


Hi stumbled upon this interview question: There are 4 green and 50 red apples in a basket. They are removed one-by-one, without replacement, until all 4 green ones are extracted. What is the expected number of apples that will be left in the basket?  At first I thought it was 0, because there is always a chance for a green apple to be left in the basket, however since they are asking for the expected number of apples left, it actually makes sense that the number is positive. I found out that the answers is most likely 10, from various websites, however there is no solution anywhere. I have been trying to approach it with probabilities and with combination, however no luck so far. Some hints or a solution will be much appreciated.


Arithmetic in tikz coordinates (parentheses)

I want to use parentheses in coordinate calculation in tikz. There should be a simple way, but I couldn't find it. For example,  \def\x{10}; \draw (0,0) -- (1+1/\x,0);   this works fine. But,  \def\x{10}; \draw (0,0) -- (1+1/{\x+1},0);   this doesn't work. Other parentheses didn't work either. What is the expression for parentheses?


What is the correct name to use with /give for Lapis Lazuli?

In Minecraft, when cheats are enabled you can give yourself items using the command /give [user] [item] [count], e.g. /give user45623 dirt 32. What is the item name to use for Lapis Lazuli? I've tried lapis_lazuli, lapis, lazuli, dye4, and dye_4, but it's none of those.


How to get % cpu and % memory of process during OpenSSL encryption

I am running an OpenSSL script. How to get % cpu and % memory? Normally I am using top command in other terminal. top is returning % CPU and % memory but for noting down it is taking time. Is there any alternative?


Margin of caption different than text body in 2-column table (cas-dc)

I have the following problem:    I want the caption above the table to start flushed left and not with the space.  Here is the MWE copy paste from my project:  \documentclass[a4paper,fleqn]{cas-dc}  \usepackage[numbers]{natbib} \usepackage{graphicx}  \begin{document}  \maketitle  \begin{table*}[pos=t]  \caption{Observed results of the user study.} \label{tab:Result_time} \resizebox{\textwidth}{!}{% \begin{tabular}{lllllllllllll} \toprule                                                          &                   & \textbf{P1} & \textbf{P2} & \textbf{P3} & \textbf{P4} & \textbf{P5} & \textbf{P6} & \textbf{P7} & \textbf{P8} & \textbf{P9} & \textbf{P10} & \textbf{P11} \\ \midrule \multicolumn{1}{c}{\multirow{3}{*}{\textbf{Scenario 1}}} & Accuracy          & 100\%       & 50\%        & 100\%       & 0\%         & 100\%       & 100\%       & 100\%       & 0\%         & 100\%       & 50\%         & 100\%        \\ \multicolumn{1}{c}{}                                     & Time Taken        & 18:13       & 15:40       & 16:26       & 20:32       & 17:10       & 18:08       & 16:22       & 18:50       & 12:18       & 16:27        & 15:41        \\ \multicolumn{1}{c}{}                                     & Number of queries & 18          & 10          & 11          & 15           & 7           & 12          & 16          & 22          & 12          & 10           & 15           \\ \midrule \textbf{Scenario 2}                                      & Time Taken        & 7:35        & 8:39        & 10:20       & 10:41       & 9:47        & 14:28       & 12:24       & 18:28       & 8:29        & 9:11         & 8:24         \\ \midrule \textbf{Scenario 3}                                      & Time Taken        & 6:21        & 4:50        & 5:42        & 7:18        & 4:30        & 4:52        & 4:27        & 5:15        & 5:04        & 6:12         & 5:48     \\ \bottomrule \end{tabular} } \end{table*}  \end{document}   I've attempted to add \captionsetup{justification=justified} but to no avail.


Can I upgrade from Windows 7 32 bit to Windows 7 64 bit without losing data?

I want to play Fallout 4 and I found out I need 64bit system in order to play it, but I have 32bit system and I'm capable of upgrading.   Can I reinstall Windows without losing pictures and that stuff if I put them in D:\files or something like that?   I don't want to buy more storage just to save my files.   I also don't want to use Google drive or similar because I have a lot of pictures on my PC.


USB flash drive still showing in This PC when disconnected

Sometimes (not always) when removing my USB flash drive it still shows in "This PC" and the disk space usage bar is missing:    When reconnecting it, the disk space usage bar is still missing and opening it opens an empty folder. The PC also doesn't recognize any USB devices I connect after this happens. USB devices connected before still work until reconnected. After this happens, the PC also fails to reboot (hangs on Restarting) and won't power off without forcing it to. "Scan for hardware changes" in Device Manager also doesn't work. Everything else still works fine.  I'm on Windows 10 Pro.  EDIT:  The answers in the other post that my post is a "duplicate" of, don't solve my problem. The data on my flash drive is fine.


Proof that sum of independent normals is normal using convolutions

Let $X, Y$ be independent standard normal random variables.  We already know that $X+Y$ is normal with mean 0 and variance 2. However, I am trying to prove this result in a slightly different way than usual, i.e., using convolutions.  We can address the problem in the following way: the sum of the two variables has a density $h(x)$ given by the convolution product of the densities of the two variables, say $f$ and $g$, so that   $$ h(x) = \int_{-\infty}^{\infty} f(x-y)g(y)dy. $$  However,  $$ f(y) = g(y) = \frac{1}{\sqrt {2\pi}}\exp(-y^2/2). $$  Hence now the integral becomes:  $$ h(x) =\frac{1}{2\pi}\int_{-\infty}^{\infty}\exp(-(x-y)^2/2)\exp(-y^2/2)dy. $$  However, I am puzzled here. How should we go on from here? I cannot see how to transform this integral into the integral of a normal r.v of type $N(0,2)$. Thanks in advance for your help.


Should the formatting style be mimicked when editing posts?

Sometimes I see code like this on Stackoverflow:   int main() { if(true){ return 0; } else{ return 1; } while(true){return -1;} }   I will usually suggest this edit:   int main() {     if(true){         return 0;     }     else{         return 1;     }     while(true){return -1;} }   I feel like not using spaces before and after brackets is OP's style, and should be respected. Indention however should be mandatory.  My edit was followed by another edit from a user:   int main() {     if(true)     {         return 0;     }     else {         return 1;     }     while(true) { return -1; } }   Should I've done this in the first place? I find it more readable the latter way, but OP may not be happy about it.  Of course it is nitpicking what I do now, but what about if the post is edited again in this way:   int main( ) {     if( true ) {         return 0;     } else {         return 1;     }     while( true ) {          return -1;     } }   Is this tolerable? My question is: should the formatting style be mimicked when editing posts? If so, what parts should be mimicked?


How to solve NullPointerException in initialising intent?

I am trying to initialise an intent in a function like below :  public void playNextOver() {     songInfo detail = (songInfo) songAdapter.getItem(globalPos);      songTitle = detail.getTitle();      songPath = detail.getPath();     songId = String.valueOf(detail.getID());     songArtist = detail.getArtist();      Intent globalIntentTemp = new Intent(getApplicationContext(), songPlay.class);     globalIntentTemp.putExtra("SONG_ID", songId);     globalIntentTemp.putExtra("SONG_TITLE", songTitle);     globalIntentTemp.putExtra("SONG_ARTIST", songArtist);     globalIntentTemp.putExtra("SONG_PATH", songPath);     getApplicationContext().startActivity(globalIntentTemp); }   I am doing this inside an activity.  But it is giving me following error at runtime on this statement  Intent globalIntentTemp = new Intent(getApplicationContext(), songPlay.class);    09-06 00:32:19.441 25790-25790/com.example.coderahul.beats E/AndroidRuntime: FATAL EXCEPTION: main                                                                              Process: com.example.coderahul.beats, PID: 25790                                                                              java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference                                                                                at android.content.ContextWrapper.getApplicationContext(ContextWrapper.java:106)                                                                                at com.example.coderahul.beats.playlistManager.playNextOver(playlistManager.java:503)                                                                                at com.example.coderahul.beats.songPlay$2.onClick(songPlay.java:703)                                                                                at android.view.View.performClick(View.java:4848)                                                                                at android.view.View$PerformClick.run(View.java:20299)                                                                                at android.os.Handler.handleCallback(Handler.java:815)                                                                                at android.os.Handler.dispatchMessage(Handler.java:104)                                                                                at android.os.Looper.loop(Looper.java:218)                                                                                at android.app.ActivityThread.main(ActivityThread.java:5657)                                                                                at java.lang.reflect.Method.invoke(Native Method)                                                                                at java.lang.reflect.Method.invoke(Method.java:372)                                                                                at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:990)                                                                                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:785)  I don't know what to do since  I am new to Android. Please help.


How to sort $nodes after executing an EntityFieldQuery

Am using Drupal 7 and EFQs. After executing the query and geting all the nodes listed in a custom module, I need to sort them on node title field.   I can use usort and other php functions but my problem is the field am sorting on can't seem to get it from $nodes. How can I achieve this? Nothing that I must sort after the EFQ execution therefore I can't use fieldOrderBy.  The thing is, am callling 2 EFQs with different fields and merging them. That is why I need to sort them after -> execute   Below is the code after the EFQ execution:      $nidsMall = array_keys($resultMall['node']);     $nidsStore = array_keys($resultStore['node']);      $nodesStore = entity_load('node', $nidsStore);     $nodesMall = entity_load('node', $nidsMall);      $nodes = (object) array_merge((array) $nodesStore, (array) $nodesMall);   I'm making sure that both EFQs return the wanted results.  I need to sort $nodes on node title or any other field. (both content types mall and store have that field, naturally)  Appreciate any help given.   Thanks


while i am running my program i am getting this type of error Exception in thread "main" java.lang.NoClassDefFoundError

While I am running my program I am getting this type of error in thread "main" java.lang.NoClassDefFoundError  Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/zip/ZipFile


installation ubuntu 14.04 on win Xp professional 32 bit

I have an old Win XP Professional 32-bit machine. Intel Pentium(R) 4 CPU 2,4 GHz and 1,25GB RAM. When I try to install Ubuntu 14.04 from DVD I get this message: This kernel required an x86-64CPU, but only detected on i 686CPU unable to boot please use a kernel appropriate for your CPU. What can i do?


Slick proofs that if $\sum\limits_{k=1}^\infty \frac{a_k}{k}$ converges then $\lim\limits_{n\to\infty} \frac{1}{n}\sum\limits_{k=1}^n a_k=0$

I'm looking for slick proofs that if $a_n$ is a sequence of complex numbers such that $\sum\limits_{k=1}^\infty \frac{a_k}{k}$ converges then $\lim\limits_{n\to\infty} \frac{1}{n}\sum\limits_{k=1}^n a_k=0$.   My not so slick proof:      Let $A_x=\sum\limits_{k=1}^{x} a_k$ and apply an Abel sum with the function $f(x)=\frac{1}{x}$. We get $$\sum\limits_{k=1}^n \frac{a_k}{k}-\int\limits_1^n\frac{A_x}{x^2}dx=\frac{A_n}{n}.$$ Of course we can split the integral into chunks to get $$\sum\limits_{k=1}^n \frac{a_k}{k}-\sum\limits_{i=1}^n \left( \frac{1}{k+1}-\frac{1}{k} \right) A_k=\frac{A_n}{n}.$$ If we expand $A_k$ on the left side, it telescopes and yields $$\sum\limits_{k=1}^n \frac{a_k}{k} + \sum\limits_{k=1}^n \left( 1-\frac{1}{k+1}\right) a_k=\frac{A_n}{n}\iff \frac{(n-1)A_n}{n}=\sum\limits_{k=1}^n\frac{a_k}{k(k+1)}.$$ The norm of the right side  of the equation is clearly $\mathcal O(\log(n))$ (using the triangle inequality and the fact that $\frac{a_k}{k}$ is bounded). The desired result follows after dividing both sides by $n-1$.   I would also appreciate some proof verification. Initially, I thought that the problem was going to be really easy, but it took me a bit of effort. Am I missing something major? The original problem is for real sequences, but I don't think this helps. Obviously if the sequence converged absolutely then it would also be absolutely trivial.


$f(x)$ is a strictly increasing, and continuous, function on $[0,+\infty)$. Consider the integral,  $$\int_0^a f^{-1}(x) dx.$$  Reasoning  The interval $[0,a]$ is "reflected" across the line $y=x$ onto the interval $0 \leq y \leq a.$  $f(x)$ and $f^{-1}(x)$ are symmetric across the line $y=x$. So, the integral is equivalent to the area bounded by $y = 0$, $y=a$, and $f(x)$.  So, "integrating $f$ along an interval on the $y$-axis" is the same as integrating $f^{-1}$ along the same interval on the $x$-axis?  Question  Is my reasoning correct?


hide element when user click on any thing except the element itself

I want to remove the dropdown when the user clicks on other things just like dialogs edit this code :   function show() {   document.querySelector('.box').classList.toggle('show'); } * {   padding: 0;   margin: 0;   box-sizing: border-box; }  .box {   height: 35px;   width: 90px;   height: 90px;   background: #000;   transition: 0.35s all cubic-bezier(0.5, 0.49, 0, 0.98);   color: red;   display: none; }  .box.show {   display: block; }  p {   border-bottom: 1px dashed #000;   display: inline-block;   margin-bottom: 10px;   cursor: pointer; }
click me


If $f(0)=0$ and $f'$ is increasing, then $\frac{f(x)}{x}$ is increasing.

Problem: Suppose $f$ is continuous for $x\ge 0$, differentiable for $x>0$, $f(0)=0$, and $f'$ is monotonically increasing.  Define $g(x)=\frac{f(x)}{x}$ for $x>0$. Prove that $g$ is monotonically increasing.  Source: W. Rudin, Principles of Mathematical Analysis, Chapter 5, exercise 6.


Why I can't visualise my render in real time/

I have a huge issue right now. I can't visualise any real time render and eeve seems not to work. When I visualise the real time it is either gray or a bizarre texture. But in cycle it works fine. Need help.


How can I change permissions for a folder and all sub files and folders in Windows 7?

how can someone set permissions on a folder so that they themselves, but noone else, can delete folders or files within that folder on a shared network drive? this is a windows 7 question.


From what items can a wizard learn his spells?

I'm now wondering after googling for a while, what are the different sources a Wizard can learn his spells from? Is it only limited to scrolls and tomes, or can a Wizard learn spells from other magic items?  The following quotes are from the PHB, page 114 Your spellbook      You might find other spells during your adventures. You could discover a spell recorded on a scroll in an evil wizard's chest, for example, or in a dusty tome in an ancient library.      Copying a Spell into the Book   When you find a wizard spell of 1st level or higher, you can add it to your spellbook if it is of a level for which you have spell slots and if you can spare the time to decipher and copy it.      For each level of the spell, the process takes 2 hours and costs 50gp. The costs represents material components you expend as you experiment with the spell to master it, as well as the fine inks you need to record it. Once you have spent this time and money, you can prepare the spell just like your other spells.   The way this is worded and considering the few examples we're given, shouldn't it be possible to learn a spell from more than just written sources?  An example would be Wand of Magic Missile: would it be possible for a Wizard to learn the spell Magic Missile by studying the spell when used by the item and write down his research and thus learning how to use the spell on his own and eventually master it?


Trigger to calculate amount from related record

I am having an issue with a trigger which i have put together using a couple of similar posts.   It fires on an Order, to update a field called Outstanding_Balance__c on the Order's Account, which should collect all outstanding balances from all associated Orders.  The field on the order is a Roll Up Summary, called Outstanding_Balance__c.  There is no validation, and both the Order and the Account can be updated manually (any mandatory fields are fulfilled.  The trigger successfully updates the Account field if I simply replace the line -   acc.Outstanding_Balance__c = 0.00;   with  acc.Outstanding_Balance__c = 2.00;   So it is firing correctly, otherwise, the Outstanding_Balance__c field on Account isn't being calculated. It seems the following line is not working as intended.  acc.Outstanding_Balance__c += ord.Outstanding_Balance__c;   Full code:  trigger OrderTrigger on Order (After insert, After update, After delete, After undelete){      Set<id> AccountIds = new Set<id>();      If(Trigger.IsInsert || Trigger.IsUpdate || Trigger.IsUndelete){         for (Order ord : Trigger.new){             AccountIds.add(ord.AccountId);         }     }     If(Trigger.IsDelete){         For(Order ord: Trigger.Old){             AccountIds.add(ord.AccountId);         }     }      List<Account> accsToUpdate = New List<Account>();     For(Account acc : [SELECT Id,Name,Outstanding_Balance__c,Sales_Order_Count__c,(         SELECT id,name,Outstanding_Balance__c FROM Orders__r) FROM Account WHERE Id IN :AccountIds]) {         {             acc.Outstanding_Balance__c = 0.00;              for(Order ord: acc.Orders__r) {                 acc.Outstanding_Balance__c += ord.Outstanding_Balance__c;                 acc.Sales_Order_Count__c = acc.Orders__r.size();              }             accsToUpdate.add(acc);                          }         try{             update accsToUpdate;         }         catch(Exception E){             system.debug('Error thrown is: ' + E.getMessage());         }     } }


Does user have to logoff then back on if I change /etc/sudoers?

Redhat Enterprise Linux 5.10 (No we can't upgrade, please don't ask.)  I have a user, 'tina' who is logged into the system. I need her and user 'lu' to use chmod, chgrp, and chown commands for certain reasons (no they don't know enough to be a security risk, we have daily backups anyway). At first I used sudo nedit /etc/sudoers to edit the file. Whereon I added this line:   tina,lu ALL=/bin/chmod /bin/chown /bin/chgrp   Then I found I have to use the visudo command, which I did, and I saved the file without edits.  So I went to test her use of chgrp and I got an error like "Does not have permission to use this command".    If I change sudoers do the users need to log off unix shell windows and logon again? The man pages didn't say nor did any pages on Google.  Do I have to restart the server?


Suppose $m, n > 1$ are positive integers which are relatively prime. Prove that $\mathbb{Z}_{mn}$ has atleast four idempotent elements. Two of them are $[0], [1]$, how will I find the other two?


I went to animate a project, Blender was returning a blank screen.  I have attempted to restart both Blender and my laptop, as well as re-downloading the program.  With each attempt, Blender exported a black movie, which I attempted to watch multiple times.  I even attempted to reanimate one of my older Blender files, and even that reexported as a black movie.  I have attached a picture of what I see when I render. Please Help! Thank you!😀


Why are answered, favorited and upvoted questions like this one closed as off-topic?

I don't quite understand what was the point of closing   The question was able to get an answer with 4 up-votes! It was favorited and up-voted. It could bring profit to the community. So I don't see why other people intrusively jump in and say "this is off topic." Who should define what is off topic? I think the people interested in that particular question and answer should!  EDIT: The question is about HW, but that's closely related to SW. The reply clearly shows it's not offtopic as it speaks a lot about software and packages - and that's already a good fit for Stack Overflow!  EDIT: The answer there has been particularly useful. Don't tell me that this doesn't belong to SO, when SO is site for programmers! "... R appears to be able to use the GPU, see the gputools package and  for an introduction. You would probably need to make sure that this works on whatever system you plan to install R on (which needs special attention if you are running on Linux). NVidia tend to be the best choice, as they are supported with Linux drivers (although they tend to propietary)...."


Java Junit Mock fails for MongoDB because of Null pointer

I am doing unit test case for mongoDB read operation. When I try to mock find operation, I am getting a NullPointerException     public class MongoQueriertest {          HelperUtil testhelper = new HelperUtil();          DBCollection feedCollection;         DBCursor curr;          @Test(expected=NullPointerException.class)         public void test_MongoQuerier ()throws Exception {              MongoQuerier query = new MongoQuerier();             FindIterable iterable = mock(FindIterable.class);             curr =  mock(DBCursor.class);             BasicDBObject obj = mock(BasicDBObject.class);             when(feedCollection.find(obj)).thenReturn((DBCursor) iterable);             query.getMaxId("String");            }      }  Method to test  public String getMaxId(String dataVersion) throws Exception{     String  maxJobId = "1";      try {        BasicDBObject whereQuery = new BasicDBObject();     whereQuery.put("instance", dataVersion);        DBCursor curr = feedCollection.find(whereQuery);  //.sort(new BasicDBObject(mongoDBSetting.maxIdField.replace("$", ""), -1)).limit(1);        //AggregationOutput cursor = feedCollection.find().sort(""); //.aggregate(Arrays.asList(query));       while (curr.hasNext()) { //      String mid = curr.next().get(mongoDBSetting.maxIdField.replace("$", "")).toString(); //       //      mid = mid.replace("", "");          maxJobId =  curr.next().get(mongoDBSetting.maxIdField.replace("$", "")).toString(); //Integer.parseInt(mid);        }       /* for (DBObject result : curr.results()) {         maxJobId = Integer.parseInt(result.get(mongoDBSetting.maxIdField.replace("$", "")).toString());             break;       }*/      }     catch (Exception ex) {       AppLogger.EventLogger.error("Exception occured selecting maxid in mongoDB. Exception -" + ex.getMessage().toString());       throw new Exception(ex.getMessage().toString());     }     return maxJobId;   }   Please let me know where I am missing. I have added method that needs test case.


I get the error below while trying to intall Oracle Java 8. Please tell me what's wrong.  $ sudo apt-get install oracle-java8-installer [sudo] password for pragya:  Reading package lists... Done Building dependency tree        Reading state information... Done Package oracle-java8-installer 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 'oracle-java8-installer' has no installation candidate


What scenarios would prevent users from accessing Office 365 products?

We are looking at deploying the latest version of Office but are having difficulty deciding between Office 365 or Office 2013 volume license. I understand the cost benefits of 365 (and I actually like the user based approach) however I'm having a hard time finding all the info in one place regarding authentication.  I've found an article that describes 3 different auth methods (Office 365 account, DirSync, and ADFS). Ideally I would like to provide as seamless integration as possible so SSO using ADFS is my choice but I don't know much about any of the gotchas that would prevent users from being able to open Office.  I know they have to authenticate every 30 days (with another 30 day grace) to not enter reduced functionality mode) but what about each time Word or Outlook or whatever is opened. Do users creds need to be verified each time? What if the user wasn't connected to our internal network, or they installed a copy on their home computer, or they didn't have network connectivity at all?


Acceptability of relative constructions that include relativized pronouns, e.g. "the man who I wasn't sure where he had gone"

In informal spoken English, one encounters sentences like this:     ?That's the man who I wasn't sure where he had gone.   This construction doesn't strike me as quite right because it sentence includes not only the relative pronoun who but also the relativized pronoun he. In more typical relative phrases, the relativized element is deleted: _That's the man who was lost, not *That's the man who he was lost. In who I wasn't sure where he had gone, though, the relativized pronoun is in a nested relative clause introduced by where, which inhibits the deletion: *That's the man who I wasn't sure where had gone doesn't work. If the nested relative clause is introduced by that, one can't delete the relativized element and preserve that: That's the man who I thought was lost or ?That's the man who I thought (that) he was lost, but not *That's the man who I thought that was lost. But where, like most subordinators but unlike that, cannot be omitted when it introduces a relative phrase.  There's often no good alternative to these constructions, though. My ?who I wasn't sure where he had gone example might be recast as That's the man whose whereabouts I wasn't sure of, but this means something subtly different and requires turning the simple verb gone into the clunkier whereabouts. (Many alternatives to these constructions require changing the secondary relative clauses into verb nominalizations, similarly, and any good style manual warns against overuse of verb nominalizations.)  So, two questions: (1) Are constructions that repeat relativized elements in relative phrases ever acceptable in formal writing? (2) If not, am I missing a good standard method of recasting these constructions as something unambiguously grammatical?


Image of a self-normalizing subgroup under a surjective homomorphism

I'm trying to prove that an image of a self-normalizing subgroup of a finite group under a surjective homomorphism is again self-normalizing in the target group. I proved that if the following is true then the statement above is also true. If H is a self-normalizing subgroup of a finite group G and N is a normal subgroup of G, then NH is also a self-normalizing subgroup of G. However, I couldn't figure out why this holds. Also, these two statement is used in some papers such as "Nilpotent self-normalizing subgroups of soluble groups", but I couldn't find the reference that contains the proof of them. Can anyone help?


I just received three Yearling badges in the span of a few minutes...        That seems odd, is this a bug or intended behavior?


My ssh key doesn't work, permissions look good

My permissions look like this:  -rw-------.  1 smpadmin staff     400 May 21  2014 id_rsa.pub -rw-r--r--.  1 smpadmin staff     505 Dec 14 19:19 known_hosts drwxr-xr-x. 45 smpadmin staff    4096 Jan 20 09:53 .. -rw-r--r--.  1 smpadmin staff     386 Jan 20 10:32 config -rwx------.  1 smpadmin staff     400 Jan 20 10:34 authorized_keys -rwx------.  1 smpadmin staff      400 Jan 20 10:37 authorized_keys2 drwx------.  2 smpadmin staff    4096 Jan 20 10:37 .   The log:  debug3: record_hostkey: found key type RSA in file /home/alejanpi/.ssh/known_hosts:85 debug3: load_hostkeys: loaded 1 keys from x.x.150.86 debug1: Host 'x.x.150.86' is known and matches the RSA host key. debug1: Found key in /home/alejanpi/.ssh/known_hosts:85 debug2: bits set: 1525/3072 debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /home/alejanpi/.ssh/id_rsa (0x60005ff50), debug2: key: /home/alejanpi/.ssh/id_dsa (0x0), debug2: key: /home/alejanpi/.ssh/id_ecdsa (0x0), debug2: key: /home/alejanpi/.ssh/id_ed25519 (0x0), debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password debug3: preferred publickey,keyboard-interactive,password debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/alejanpi/.ssh/id_rsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password debug1: Trying private key: /home/alejanpi/.ssh/id_dsa debug3: no such identity: /home/alejanpi/.ssh/id_dsa: No such file or directory debug1: Trying private key: /home/alejanpi/.ssh/id_ecdsa debug3: no such identity: /home/alejanpi/.ssh/id_ecdsa: No such file or directory debug1: Trying private key: /home/alejanpi/.ssh/id_ed25519 debug3: no such identity: /home/alejanpi/.ssh/id_ed25519: No such file or directory debug2: we did not send a packet, disable method debug3: authmethod_lookup password debug3: remaining preferred: ,password debug3: authmethod_is_enabled password debug1: Next authentication method: password smpadmin@x.x.150.86's password:   I added the public key to both authorized key files.  By comparing to another server where I have the same keys working, the logs on this one show at some point:  Server accepts key: pkalg ssh-rsa blen 277   I also noticed a different hex code in this part of the logs:  debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /home/alejanpi/.ssh/id_rsa (0x60006c5f0),   Now, for the server where my keys are not working, /home used to be on /, but I mounted it to a different disk. My keys used to work before I moved /home. Not sure if this is affecting me, but I thought it'd be worth mentioning. This is how I mounted home:  UUID=143f3a8a-55f3-41e4-8797-d1cdb0435c13 /home                   ext4    defaults        0 2   SELinux permissions.  drwx------. smpadmin staff unconfined_u:object_r:ssh_home_t:s0 . drwxr-xr-x. smpadmin staff unconfined_u:object_r:user_home_dir_t:s0 .. -rwx------. smpadmin staff unconfined_u:object_r:ssh_home_t:s0 authorized_keys -rwx------. smpadmin staff unconfined_u:object_r:ssh_home_t:s0 authorized_keys2 -rw-r--r--. smpadmin staff unconfined_u:object_r:ssh_home_t:s0 config -rw-------. smpadmin staff unconfined_u:object_r:ssh_home_t:s0 environment -rw-------. smpadmin staff unconfined_u:object_r:ssh_home_t:s0 id_rsa.pub -rw-r--r--. smpadmin staff unconfined_u:object_r:ssh_home_t:s0 known_hosts   The home directory has: drwxr-xr-x. root root system_u:object_r:file_t:s0      home


Platform diving: How deep does one go into the water?

I am a platform diver. I am trying to figure out how deep in the water I go depending on which platform I dive from.  The platforms are 1m, 3m, 5m, 7.5m and 10m above the water surface.  By ignoring air resistance (we assume that I do not do any tricks) I can easily compute the energy that my 90 kg body has when it is hitting the water:  E = mgh = 0.5mv^2   My problem is to find the deceleration in water and thus how deep my feet will go into the water before coming to a halt. We can assume that I stand straight and fall straight down and have a height of 190cm.  How do I compute that?


I've installed full TexLive 2011 using "install-tl" script in Ubuntu 12.04.  When I was using TexLive 2009 from repositories the following file was compiled without any errors.  \documentclass{article} % XeLaTeX \usepackage{xltxtra} \usepackage{xunicode}  % Fonts \setmainfont{Arial} \newfontfamily\cyrillicfont{Arial} \setmonofont{Courier New}  % Lang \usepackage{polyglossia} \setmainlanguage{russian} \setotherlanguage{english}  \begin{document} English normal.  \texttt{English monospace}.  Русский обычный.  \texttt{Русский моноширинный}.  % Text in Russian \end{document}   But XeLaTeX from TexLive 2011 gives this error:     ERROR: Package polyglossia Error:       --- TeX said ---   The current roman font does not contain the Cyrillic script!   Please define \cyrillicfont with \newfontfamily.      See the polyglossia package documentation for explanation.   Type  H   for immediate help.    ...                                                    l.17 ...nglish normal.  \texttt{English monospace}                                                     .   In spite of this error the output PDF is correct.  The error remains if comment out \setmonofont{Courier New}.  Using Courier New as main font gives no error on normal text (without \texttt, \textbf and so on).  Using DejaVu Sans Mono as monospaced font gives no error too.  I've been searching for solution few hours but there aren't any.  Maybe this is a bug in Polyglossia or Fontspec?


What is the meaning of modular fractions?

What is the meaning of $$ \\\frac{m}{n}\equiv k\pmod l $$ and $$ \\\frac{m}{n} \mod l $$ $m, n, k, l \in\mathbb N$ and $\gcd(m, n)=1$.


What are these entries in the database? Looks similar to JSON

So I have been wondering for a while now what these entries are and what they do, also what the format of them are. They look similar to JSON but are definitely not JSON.   a:1:{s:12:"jetlocations";a:2:{s:5:"label";s:12:"JetLocations";s:4:"type";s:6:"editor";}}   I have searched to try and find out what these might be but come up with nothing.


A) Give an example to show that a factor ring of an integral domain may be a field B) Give an example to show that a factor ring of an integral domain have divisors of 0. C) Give an example to show that a factor ring of a ring with divisors of 0 may be integral domain.  A) $\mathbb{Q}[X]/\langle x+1\rangle$ and $\mathbb{Z}/4\mathbb{Z}$  B) $\mathbb{Z}/4\mathbb{Z}$,   C) $\mathbb{Z}_2/\mathbb{Z}_6$  Are my answers for A), B), C) correct? And can you give a few more examples for A), B) and C)?


I'm having issue with fixing icon in the middle of my div. I just want to know how to fix material-icons icon-def in div collapse menu trigger. Thank you for answering me. In jsfiddle it's working, but not in my browser.     #navbar {   background: rgb(16, 16, 16);   color: white;   width: 70px;   position: absolute;   margin: 0;   top: 0;   bottom: 0;   border-right: rgb(246, 246, 255) 1px solid; }  .collapse-menu-trigger {   display: block;   width: 70px;   height: 50px;   line-height: 50px;   text-align: center;   position: absolute;   bottom: 0;   cursor: pointer; }  .collapse-menu-trigger .material-icons {   vertical-align: middle; }  .collapse-menu-trigger .material-icons.icon-def {}

     keyboard_arrow_right     keyboard_arrow_left


ext2/3/4 reserved blocks percentage purpose

I know that this feature dates back 20 years but I still would like to find out  What is the purpose of the reserved blocks in ext2/3/4 filesystems?


Is there a tool to get the lines in one file that are not in another?

Is there any tool that can get lines which file A contains, but file B doesn't? I could make a little simple script with, e.g, perl, but if something like that already exists, I'll save my time from now on.


Lightning component quick action - send parameters to the lightning component

I have a lightning component that is available for use as lightning component quick action. I need to use this component from various object actions, for example, I will add a lightning component quick action to account object and to contact object. Now on the lightning component itself, I want to know if it was invoked from the account object or from the contact object, but I cannot find a way to do that. I have found a way to get the record Id by adding <aura:attribute name="recordId" type="String" /> (see code snippet below) It is working but not good enough. What I really need is to send a parameter from the lightning component quick action invocation:  And get it in my component: <aura:component implements="force:lightningQuickAction,force:hasRecordId,flexipage:availableForAllPageTypes">     <aura:attribute name="recordId" type="String" />     <aura:attribute name="param" type="String"/> </aura:component>  Is this possible? And if not - any workaround for achieving that?


Can we ask subjective questions - and if so where?

This question came out of a discussion  I put on superuser. Some people said I should not ask a subjective question there.  But I've seen   do quite well on SO - and I've even asked some myself (albeit, excluding the above question, always on meta).  So - can we ask subjective questions on these four sites - or only on meta?  Yes, the FAQ says clearly: "Avoid asking questions that are subjective, argumentative, or require extended discussion." but in practice it seems different.


Give an example to show that the series $\sum \sqrt{a_n a_{n+1}}$ is convergent but $\sum a_n$ is divergent, where $a_n$ is a positive real number.


How to align multiple subfigures in a grid?

I have three images and I want to align them in the way that one image is above the other two. Here's an example:    How can I achieve this? For my other figures I use the subcaption package, but I am not able to align the pictures that way with it.    Thanks for all your replys! The answer that is working for me is the one supposed by karlkoeller:  \documentclass{article} \usepackage{graphicx} \usepackage{subcaption}  \begin{document}  \begin{figure} \centering \begin{subfigure}[b]{.45\linewidth} \includegraphics[width=\linewidth]{example-image-a} \caption{A mouse}\label{fig:mouse} \end{subfigure}  \begin{subfigure}[b]{.45\linewidth} \includegraphics[width=\linewidth]{example-image-b} \caption{A gull}\label{fig:gull} \end{subfigure} \begin{subfigure}[b]{.45\linewidth} \includegraphics[width=\linewidth]{example-image-c} \caption{A tiger}\label{fig:tiger} \end{subfigure} \caption{Picture of animals} \label{fig:animals} \end{figure}  \end{document}


Difference between the multiple messaging options in Visualforce?

I have always been curious what are the exact differences between all of the messaging options Visualforce provides, such as apex:message, apex:messages, apex:pageMessage, and apex:pageMessages. The description the Salesforce documentation at times can be rather cryptic.  <apex:message>      A message for a specific component, such as a warning or   error. If an  or  component is not   included in a page, most warning and error messages are only shown in   the debug log. -      <apex:messages>      All messages that were generated for all components on the current   page. If an  or  component is not   included in a page, most warning and error messages are only shown in   the debug log. -      <apex:pageMessage>      This component should be used for presenting custom messages in the   page using the Salesforce pattern for errors, warnings and other types   of messages for a given severity. See also the pageMessages component. -      <apex:pageMessages>      This component displays all messages that were generated for all   components on the current page, presented using the Salesforce   styling. -     So, most of that sounds relatively similar. What are the differences and what are the use cases for each?


Installing a Windows 98/95 Keyboard Driver on Windows 10

I have a keyboard that I really like, but the driver () is only for Windows 95/98. I am running Windows 10.  I followed the tutorial here    by edit the registry value of the executable to ~ RUNASADMIN WIN95 but that doesn't work either.  Am I out of luck?


In Thor: Ragnarok, Bruce Banner mentions to Thor that he has several Ph.Ds. Later, Thor jokingly tells him, mid-fight, to     "do something, use one of your Ph.Ds".   This was hilarious to me, but it got me thinking, What are Bruce Banner's Ph.Ds?  5-7 Ph.Ds seems very excessive to me, but knowing that Banner has genius-level intellect, it would be interesting to know exactly what he specialises in.  Related:


Print out $view object in custom field template

I've created a custom template for a field to display in my view. Based on the view theming information, I've named the file views-view-field--at-a-glance-test--page--field-track-icon.tpl.php (the view is called at-a-glance-test, the display is a page, and the field is field_track_icon.  The sample code given for a views-view-field template has the following comments:  /** * Variables available:   * - $view: The view object   * - $field: The field handler object that can process the input   * - $row: The raw SQL result that can be used   * - $output: The processed output that will normally be used. **/   I want to know what all is coming through in the view object, so I tried to do print_r($view). All I get is a completely blank page - there's not even a single line displayed in the rendered source. Usually this happens if there's a PHP error somewhere - am I doing something wrong? How can I print out the full contents of the view object?  EDIT  I just looked at our php error log and saw this:     PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted   (tried to allocate 117789481 bytes) in   /home/www/expo/includes/theme.inc on line 1414   So obviously the view object is enormous... how else can I see what is coming through, since I have no control over our server's memory limits?  EDIT AGAIN  Per @Clive's comment below, I tried using dvm() instead of print_r, and did get some (a ridiculous amount) of output. Given that this is a template to override the display of a single field, I really want to see just the data for that particular field. So I tried dvm($field), and ended up with literally thousands of lines of nested arrays and objects. It's not pulling in just the data for this particular field, it's displaying data for the entire view, even though I passed in the field variable.  So then I tried dvm($row->field_track_icon), and got about 100 errors (Notice: Undefined property: stdClass::$field_track_icon in include() (line 28 of /home/www/expo/sites/all/themes/bluemasters/views-view-field--at-a-glance-test--page--field-track-icon.tpl.php).) The template comments state to use $data = $row->{$field->field_alias} as the format; first, what's the difference between field and field alias? I've attached a screenshot of the taxonomy term that the field I need is attached to. The field is called field_track_icon. What is the alias? Second, do I need the curly braces?  What do I need to do to get just the data for one specific field?


Let $a,b \in \mathbb{Q^{+}}$ then $\sqrt{a} + \sqrt{b} \in \mathbb{Q} $ iff $\sqrt{a} \in \mathbb{Q}$ and $\sqrt{b} \in \mathbb{Q}$

I need to prove this equivalence   Let $a,b \in \mathbb{Q^{+}}$ then $\sqrt{a} + \sqrt{b} \in \mathbb{Q} $ if and only if $\sqrt{a} \in \mathbb{Q}$ and $\sqrt{b} \in \mathbb{Q}$  I have already proved the reciprocal (the obvious part) but I am having difficulties with the other part  Please any hint will be appreciated.  Thanks in advance.


jQuery change function not logging to console

The change function is not firing to the console after I change the value in the dropdown. When I apply the code in the console and run it, changed!! logs without any problem. What could be the cause of this?  jQuery( document ).ready(function() {      /* Watch for changes in UITVERKOCHT for 50m and 100m pages and change the text */      if(window.location.href.indexOf("prikkabel-50-meter") > -1 || window.location.href.indexOf("prikkabel-100-meter") > -1){         console.log('window location true');         jQuery('#aantal-fittingen').change(function(){             console.log('changed!!');             if(jQuery('.woocommerce-variation-availability > p').text() === "Uitverkocht"){                 jQuery('.woocommerce-variation-availability > p').text('Beschikbaar');             }         });     } });   This is the page when I would like this code to work:


I am curious to know if there is a display style package, or something that would produce the same effect. You see, I get tired of constantly having to type \displaystyle, and making sure that it is in every place that it should be.   Is there some package that will "automatically" display style all of math symbols?


Illustrator Vector Graphics Appearing Pixellated

This has been puzzling me for a few days now, and I asked a graphic designer I knew before trying here and haven't been able to solve it yet. It's quite weird so please bear with me for a bit.  I am using Adobe Illustrator to create a logo, and I have something that can potentially work. I have used only the pen tool with strokes (no fill), but the issue is, when I view the logo at 100%, it looks pixellated! I know vectors should not even be able to appear pixellated, but they are. Here is the screenshot from AI, without exporting to anything:     That was just done using the snipping tool within Windows, and it's at 100% zoom.  I have anti-aliasing turned on from Edit > Preferences > General, and the document resolution is at 300 ppi (I get the same result with 72 ppi).   Could anyone help me with this?   If relevant: Using CS6, and have a 24 inch Dell U2412M at 1920x1200 resolution. I do have a 21.6" Samsung at 1680x1050 and I get the same result there as well. Let me know if you need any other settings, or if you would like the file, I'd be happy to provide it to be able to solve this problem.


Using a designer's name or brand name as a substitute for the product itself

Example: A character owns a pair of Sophia Loren sunglasses. Before going out for the afternoon, "She drew on her Sophia Loren’s, flipped her long mane back, and tossed him a cheeky grin."  If I'm not mistaken, this is an example of a "proprietary eponym". Is the apostrophe correct here, or should it be "Sophia Lorens"—i.e. since the thing referred to is a plurale tantum, should the proprietary eponym also take the form of a plurale tantum?


Adding a way to mark answer as "partially accepted"

When someone gives me an answer which is useful, but doesn't fully answer the question, there is a problem when I need to decide what to do with it.  If I accept this partial answer, no one will answer me no matter how I show the unsolved part of my problem, because the question is considered "answered".  However, If I do not accept it, there is another problem:  if a second person answered the unsolved part, which answer should I accept? But the majority work may be done by the first one. If this style become consistent, who will answered an almost solved question?  In my point of view, there should be something like a progress bar which allows me to allocate the percentage of acceptance to users who answered my question. This would make everyone feel comfortable.


Proof of $A\cap(B\cup C) = (A\cap B)\cup(A\cap C)$

I have to resit a calculus exam and for some reason set proofs were never my best friend...  Anyway, on a practice exam I encountered the following proof:  $$A\cap(B\cup C) = (A\cap B)\cup(A\cap C)$$  When I draw a Venn-diagram it seems quite obvious but I couldn't manage to write the proof down properly.  If someone could help me, that'd be great!


The UESP's  states, among its advantages, "Lighter and less movement penalty."  I practically never wear  , so I've only gathered how much it penalizes movement by watching others. I haven't really noticed movement penalization by wearing  (or maybe it's cause I usually lean towards wearing clothing rather than armour since I never expect to get hit as a hardcore sneaker anyway). And if there's a penalty by wearing clothing too, I'd like to know.  To what degree do each of the types "of apparel that is worn on the body" penalize movement? Do they only penalize movement speed, or attack speed as well? Is it binary such that only wearing one piece of heavy armor brings the maximum penalties of wearing heavy armor?


quite new to this. Hope you can help, trying to align bullets in a table but cannot get rid of the huge space at the beginning of the cell. \documentclass[10pt]{article} \usepackage{enumitem} \begin{document} \begin{table}[h]     \renewcommand{\arraystretch}{1.5}     \begin{tabular}{|p{4.5cm}|p{11.2cm}|}     \hline     \textbf{Role} & \textbf{Responsibilities} \\ \hline     Insert Role &            \begin{description}[font=$\bullet$~\normalfont]         \item Insert responsibility         \end{description}        \\ \hline     Insert Role & Aufzählung \\ \hline     Insert Role & Aufzählung \\ \hline     Insert Role & Aufzählung \\ \hline     \end{tabular} \end{table} \end{document}   Tried \textbullet but this does not leave space between the bullet an the text, but the vertical alignment is then working. Would like to align the bullets with the first column. Edit The code was given, waiting for a small edit to make visible. Added the \documentclass{article}, \usepackage{enumitem} and \begin{document} ... \end{document} to make compilable.


Let $\pi : \widetilde{X} \longrightarrow X$ be the blow up morphism of $X$ a long of $Y \subset X$, with exceptional divisor $E$ and $\text{dim}Y > 0$,   where $X$ and $Y$ are smooth projectives schemes.   For an answer to a question asked here in the forum (), Blowing up and direct image of line bundle), we have: $$\pi_{*}\mathcal{O}_{\widetilde{X}}(-E) = I_{Y/X} \tag{$**$}$$ here $I_{_{Y/X}}$ denotes the ideal sheaf of $Y$.  $(**)$ was obtained through the following exact sequence: $$0 \longrightarrow \mathcal{O}_{\widetilde{X}}(-E) \longrightarrow \mathcal{O}_{\widetilde{X}} \longrightarrow \mathcal{O}_{E} \longrightarrow  0$$  My doubt is: How to find $\pi_{*}\mathcal{O}_{\widetilde{X}}(-nE)$ for $n \geq 0$? What if $n < 0 $?  Thank you.


Has been internet predicted by a sci-fi novel?

In the history of sci-fi literature there are examples of technologies predicted in a story (in the sense that a strongly similar to the existent one was present in the tale/novel/book/etc without it been invented yet), is this the case of internet?


Logging in Selenium Webdriver using Log4net

I am using log4net for creating execution logs of test cases which are created and being executed using Selenium Webdriver in C#. I was able to implement the logging functionality but I am facing an issue with the same or you can say I have a query related to this logging feature. I have seen that every web link which provides information about this logging has shown it in a way like:  driver = new ChromeDriver(); logger.Info("Browser is launched"); driver.Navigate().GoToUrl(BaseURL+""); logger.Info("Navigate to the URL provided by the user"); driver.Manage().Window.Maximize(); logger.Info("Maximize the window");   i.e. I have to use this line 'logger.Info' at all such places where logging is required.  Is there any way in which I can avoid using it repetitively? i.e. I use 'logger.Info' only at one places and it creates logs for the whole test case execution automatically, means I want to avoid repeating this line again and again.  Reference links (these links shows that I have repeat this code of line):-


Is Dr. Zoidberg a good Decapodian doctor?

From his first appearance its patently obvious that Dr. Zoidberg has no knowledge of human (or robot) anatomy. But his willingness to diagnose humans with Decapodian diseases shows he has some knowledge of Decapodian anatomy.  But has he ever been shown as a competent doctor of Decapods, or is he an al around terrible doctor?


What does $\int d(\sin x)$ actually mean?I mean to say when we have $\int f(x)dx$,we interpret it as the values $f(x)$ s are being multiplied by tiny $dx$ and are summed together.But how do we interpret the above from this point of view.Because there is $d(\sin x)$,not $dx$ and we take $\sin x$ in the Y axis.But in integration we take dx to be in the X axis.


Are $T1$ spaces precisely the topological spaces where singletons are closed?

A $T1$ space is a topological space where, for any 2 points, each has a neighborhood not containing the other. I wonder if every singleton being closed is an equivalent condition, and what the proof for that is. I also wonder if the following condition is equivalent: for any 2 points $x$ and $y$, every neighborhood of $x$ is disjoint from every neighborhood of $y$.


recommended storage location for multiple users

Is there a conventional location to store non-secret bulk files that can be accessible by multiple users?  I know that I can create a new folder (and set the right permissions) in most places in the file system.  But I'd like to follow a established convention so (a) the structure is more familiar to our new users and (b) it avoids subtle problems with certain directories that I'm not experienced enough to anticipate.  If it matters, this is a fresh Red Hat 6 install on a VM.  Users will access it through ssh, and maybe RDP or the vCloud Director.  The tarred & gziped files are 6.6GB; uncompressed is 11GB.


EDIT: I am posting a screenshot to show the issue I am describing. I have tried about more than half of those techniques shown on the post that this question was closed for but it just sits at this one spot near the bottom of the page when the screen is resized; it shows fine whenever it's not resized. The absolute-bottom method makes the only "change" to it, but instead of fixing it, it makes it sit near the very top of the page, right under the nav header. Otherwise, any other method I try does nothing and just makes it sit about near the bottom of the page. From the picture, the blue drawn square is the fixed nav header, green  one is main content, and the red one is the footer clearly sitting (why it's highlighted) as the background on one of the previous elements on the page. I want it to sit at the bottom like when it's regular screen sized.     First thing, I get this is a VERY frequently asked question, and for that reason avoided asking it, but I have spent a whole day of searching, trying so many different techniques, even changing code that feel might be affecting it in some way and I'm still stuck at start. Just want a sticky footer (not fixed) that stays at the bottom even when screen is resized (responsive.)    Right now it looks fine, I'm guessing because there's enough content, but when the screen is resized for small screens, it appears a good bit above from where it should be and so it ends up as the background of one of the previous elements on the page. The last approach I used was this flex method, . What am I doing wrong here?        body, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, img, form, fieldset, input, textarea, blockquote {   margin: 0;   padding: 0;   border: 0; }  * {   -moz-box-sizing: border-box;   -webkit-box-sizing: border-box;   box-sizing: border-box; }  body, html {   font: 16px/30px "Helvetica", sans-serif;   margin: 0; }  html {   height: 100%; }  body {   display: flex;   flex-direction: column;   height: 100vh; }  #header {   height: 110px;   position: fixed;   width: 100%;   background: white;   background: -moz-linear-gradient(top, white 0%, #ffffff 100%);   background: -webkit-linear-gradient(top, white 0%, #ffffff 100%);   box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);   z-index: 10;   flex: 1;   top: 0;   border-radius: 2.7px; }  #content {   width: 100%;   flex: 1 0 auto;   background-color: white; }  footer {   width: 100%;   height: 180px;   background-color: #001e33;   flex-shrink: 0; }   /*media queries for footer*/  @media only screen and (max-width: 575px) {   footer,   .flex-footer {     height: auto;   }   .footer-left img {     height: auto;   }   #bottom-footer .footer-center,   #bottom-footer .footer-right {     display: none;   } }

                                               NOTE: This is just the main tags and css classes for those tags. Thank you!


Suppose 's target has counters (for example, a few +1/+1 counters). Do the counters count when calculating the gained life? I thought power and toughness do not change after adding counters.


Can I connect a second TB Display to my MacBook Air?  I currently have just one TB and would like to add a second


Adding "noise" to overlapping X,Y coordinates so no longer in EXACT same place?

I have a series of points representing animal observations. Many of them overlap, having the exact same coordinates, and this is causing me trouble when I want to run some analytical tools which requite no identical points. I was wondering if there's any tool that can add some "noise" to the coordinates, that's to say, adding some random decimal values at the end in order to obtain slightly different coordinates which are still close enough in space so as to not really modify the observation. I've heard about such a tool, but I can't find it, at least in ArcGis 10. Maybe there's another software that can do it? Thanks!


Keeping SMPS output above the post-regulator by a certain amount

I have some components here to make an SMPS from mains for a CV/CC power supply for my workshop, and I decided to add a linear post-regulator to smooth the output. To avoid big heatsinks I wanted the SMPS voltage to follow the post-regulator voltage when I adjust it, and I've found a possible solution from . However my simulations showed better results while using an OpAmp (image below). As you can see, I set up the comparator of the SMPS in a way that the output voltage of the post-regulator will determine the output voltage of the SMPS (keeping it always 5V more then the post-regulator output for example, precision is not a problem). The circuit works fine on simulation, however I wanted to know if ripple, noises or imperfections of hardware that doesn't exist in my simulation might make this a bad idea, and what filters should I study to put on the output of this OpAmp (if any) to avoid any problems with this "follower" circuit before I buy the components I need. I have another comparator not shown in the image that is doing the current sensing.


Find a general solution for $\int_{0}^{\infty} \sin\left(x^n\right)\:dx$

So, I was recently working on the Sine Fresnal integral and was curious whether we could generalise for any Real Number, i.e.   $$I = \int_{0}^{\infty} \sin\left(x^n\right)\:dx$$  I have formed a solution that I'm uncomfortable with and was hoping for qualified eyes to have a look over.   So, the approach I took was to employ Complex Numbers (I forget the name(s) of the theorem that allows this).   But   $$\sin\left(x^n\right) = \Im\left[-e^{-ix^n}\right]$$  And so, n  $$ I = \int_{0}^{\infty} \sin\left(x^n\right)\:dx = \Im\left[\int_{0}^{\infty} -e^{-ix^n}\:dx \right]= -\Im\left[\int_{0}^{\infty} e^{-\left(i^{\frac{1}{n}}x\right)^{n}}\:dx \right]$$  Applying a change of variable $u = i^{\frac{1}{n}}x$ we arrive at:  \begin{align} I &= -\Im\left[i^{-\frac{1}{n}}\int_{0}^{\infty} e^{-u^{n}}\:du \right] \\   &= -\Im\left[i^{-\frac{1}{n}}\frac{\Gamma\left(\frac{1}{n}\right)}{n} \right]\\   &= \sin\left(\frac{\pi}{2n}\right)\frac{\Gamma\left(\frac{1}{n}\right)}{n} \end{align}  My area of concern is in the substitution. As $i^{-\frac{1}{n}} \in \mathbb{C}$, I believe the limits of the integral should have been from $0$ to $i^{-\frac{1}{n}}\infty$. Is that correct or not?  I'm also struggling with bounds on $n$ for convergence. Is this expression valid for all $n\in\mathbb{R}$  Any guidance would be greatly appreciated


I need to prove this inequality that $3^\pi > \pi^3$  How can i start to answer this problem. What concept should I apply?


What are your photography tips for people who are casual photographers?

Inspired by , what are your photography tips for people who are not even beginners, just the next person with a camera?   With that I mean people like me, who own a simple compact class camera and take pictures at family gatherings or vacations. They do not know all kinds of advanced concepts like "focal length" or "shutter speed" - nor are they particularly interested in them. They just want a good picture with their little camera. In fact, a definition of a "good" picture would also be appreciated.


Not able to see Location in Stack Exchange Data Explorer

I am using the following query in Stack Exchange Data Explorer:  SELECT Id, DisplayName, Reputation, Location FROM users  WHERE Id = '3628106' ORDER BY Reputation DESC   But I don't see Location in the result:    But  has Location in the profile:    What I am missing here?


Show that $\lim_{n\to\infty}((n+1)^a - n^a) = 0$ for $0 < a < 1$

Show that:   $$ \lim_{n\to\infty}((n+1)^a - n^a) = 0 $$   where:   $$ \begin{cases} 0 < a < 1 \\ n \in \mathbb N \end{cases} $$   I've started with: $$ \begin{cases} a = \frac{1}{1+r}\\ r\in \mathbb R \\ r > 0 \end{cases} $$  So the expression may be rewritten as:  $$ x_n = \left(n+1\right)^{\frac{1}{1+r}} - n^{\frac{1}{1+r}} = \sqrt[{1+r}]{n+1} - \sqrt[{1+r}]{n} $$  Looks like I need to rationalize the expression to proceed, but I'm not sure how to do it. What is the proper way of doing this?   I guess I could use series expansion here, but that requires using derivatives which i want to keep away from for this problem.


Let $a,b \in$ group $G$ such that $ab^3a^{-1}=b^2, b^{-1}a^2b=a^3$ Prove that $a=b=e$ (identity)

I got $ab^3=b^2a$ and $a^2b=ba^3$ by getting rid of the inverses via composing on both sides.   I tried writing $a=aaa^{-1}$, which didn't help. Any suggestions please?


Is there an online, guest-friendly, and sharable latex editor? (an equivalent to Jsfiddle for web development)

I am looking for a Tex equivalent to , which is for HTML, CSS, and Java. Here, you put the code, and run, getting the output in screen. More importantly, you can share it with a self generated link, without need of subscription, logging in, registering, etc. This is very popular in www.stackoverflow.com, as you can easily share a code, and others can use it. .  Instead, here in TeX, what we do is to share a MWE, which then we can paste into our offline Tex editor (or maybe online if you fancy).  Is there such an equivalent to Jsfiddle for Tex?   Notice that I went through all the options listed in the relatively similar questions, like  or .  Options like , , , , , , which do not require to sign-up, do not allow to share the output online.


sudo apt-get install pipelight Reading package lists... Done Building dependency tree        Reading state information... Done Package pipelight 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 'pipelight' has no installation candidate


What is the lastest stable kernel and how to install it?

I face a problem with installing kernel 4.6 on Ubuntu 16.04 . Someone said because it was unstable. So What is the latest stable version of kernel and how to install it.