Gmail password reset sent to phone number I no longer own or access

I am able to access my Gmail account on my Android, but I want to access it using my laptop. I can't do that because I don't know my password and when I go to reset it, it asks me to input the phone number associated with the account.   The problem is that I no longer have that phone number. What can I do to reset my Gmail password?


For some reason, I can't seem to get the font I want displayed on the simulator.   foodfinderLabel.font = UIFont (name: "HelveticaNeue-Bold", size: 50)   The above code returns what you would expect it to.  However, when I try to execute the above code but with this font:  'Toppan Bunkyu Midashi Gothic Extrabold'  Like this...  foodfinderLabel.font = UIFont (name: "ToppanBunkyuMidashiGothic", size: 50)   The code does not display the correct font.  How can I get this to run? Probably a simple problem, but I've had no luck. Having trouble with other fonts, too.


I'm fairly new to programming, i have to start learning it for Uni.  I have to make a pattern as follow:  5 4 3 2 1 4 3 2 1 3 2 1 2 1 1   I have found ample examples of code for these patterns, just not for mine.  I cannot seem to get the numbers to line up vertically, only underneath each other:  5 4 3 2 1  4 3 2 1     what am i Missing ? I can't seem to find the exact function that other people are using to make their code act like this.    # Question 4. import random  num1 = random.choice([5, 6, 7, 8, 9, 10])  def print_triangle():     for row in range(num1, 0, -1):         for space in range(num1 - row):             print ('')          for col in range(row, 0, -1):             print (col)  print_triangle()


Will Nexus 5 be allowed to update to Android L?

I'm planning to buy a Nexus 5 next month, but before that I'd like to know if I will be allowed to update it to the next Android version, when it get released, that for now is being called Android L.


Can anyone write a paper and then publish it in a journal?

I know nothing about the bureaucracy of the academic world when writing papers but I sometimes need or enjoy to read academic papers.  Usually all the papers I've read were written either by professors or by reasearchers (I'm guessing PhDs). Some papers were written by people working at Google and they were PhDs too.   My question is: can anyone write a paper or is some minimum level of education (say a PhD for instance) required? Of course I'm not asking if a persone can wake up tomorrow and write a paper on quantum physics without knowing anything at all of physics.  EDIT: when I said "write", what I meant was having the paper published. Sorry!


How to replace some text with picture in RichTextBox without clipboard?

Like the title says I want to replace text (ex. ":)") with a smile face.  I used clipboard method, but sometimes (usually with Google Chrome) it throws exception called: System.Runtime.InteropServices.ExternalException.  After I read about it they say, it is caused by other program who is using clipboard. So how can I avoid it?  Code I'm using:   int ind = TekstiKast.Text.IndexOf(emote); TekstiKast.Select(ind, emote.Length); Clipboard.SetImage(new Bitmap((Image)emotions[emote],new Size(16,16))); TekstiKast.Paste();


I imported makehuman model with stockings to Blender, cut the stockings and made socks out of them. My problem is that the legs are coming out of the socks in some of the animation frames.  For now, I am making the socks really large so the knee would not stick out, but this is not the solution I wish to move forward with.   I posted the picture showing the problem and the .blend file here:


How can I store emoji from my Unity game into a database?

How can I store emoji from TextMesh pro in a database using the WWW class to post the string containing the emoji as a parameter in the URL?  I'm having a problem getting the emoji from a TextMesh Pro text field into my database. When I try, the emoji data is stored in plain text like this: ðŸ˜‚ or like this � or like this □ depending on which encoding i try.  I have a php script that uses a sql statement to store the text in my mysql database. And when I manually type the url of the php script in my browser and add the emoji as a parameter it works perfectly fine, it properly stores the emoji (as I have already set the collation of my database to utf8mb4).  Here's the part I don't understand: if I take the string that contains the emoji through my c# code and access the php file with the string as a parameter, it doesn't work. It stores the emojis as . (ðŸ˜‚ this sequence of characters should be this: 😂).   It stores the text just fine otherwise, so there's no problem with the code below. Here's how it looks:  public IEnumerator UpdateChatCR(string gameID, string text) {     string hash = Md5Sum(gameID + secretKey);      print("posting to chat db: " + text);      string post_url = updateChatURL + "&game_id=" + gameID + "&text=" + text + "&hash=" + hash;     WWW www = new WWW("http://" + post_url);     yield return www;      if (www.error != null)     {         print("There was an error updating the chat in the DB: " + www.error);     }     else     {         //print(www.text);     } }   I have tried different ways of encoding the text, but to be honest I have no idea what I'm doing at this point. I tried different variations of the following code, but with no luck:   byte[] bytes = Encoding.UTF8.GetBytes(tmpField.text); string encodedText = Encoding.Default.GetString(bytes);     I've been searching for an answer for the last few days. And I've come to the point where I realize I probably have to read a book about encoding and emoji unless there's someone out there who can help me out...   Thank you for your time.


I originally read this in the 1980s or 1990s; the author was considered up-and-coming at the time, but not really well-known.  The two main characters were a 'courier' and a wealthy student:   the 'courier' wasn't a messenger so much as an escort into the 'hidden worlds'. The hidden worlds were only accessible through a tunnel on the blasted world; this led to a world of high-tech that was treated as magic; from there, there was another tunnel to a world of real magic (by invoking sprites/imps/demons/etc).  the wealthy student was ostensibly studying the hidden worlds, her real purpose was to study the courier/escort. She was also trying to get away from a smothering bodyguard, who managed to follow them into the hidden worlds.    The denouement involved a revelation that there was a fourth world, where the demons invoked on the third actually came from, and there was a subplot involving a character trying to bring a demon into the high-tech world.


Demonstrative Pronouns: This/That – Advanced Usage

When you learn about demonstrative pronouns, it seems like a really simple concept. This/these for nearby (physically, or with regards to time), that/those for distant things. Anywhere you go, online language sites, or Youtube, this is where the story ends mostly. But it seems to miss out on the trickier usage of demonstrative pronouns. I can't figure this out:  Here's a sentence:     Next week may change the rest of your life. And I don't say that/this lightly.   What would you pick? This, or that?  I picked "this", and it was incorrect, apparently. "That" seems to be correct, as in:     And I don't say that lightly.   What's the rule here, are we still talking demonstrative pronoun, near/distant?  Same as in this:     Check out this/that Youtube video: (LINK). What do you think of this/that?   The near/distant trick, either in time of physical distance, doesn't really help. Suggestions?  Now,  offers some guidance:     For a concept or idea introduced a few sentences before, I think the   key thing is whether it was introduced by you or the person you're   talking to. If you introduced it, you're "holding" the idea - use   "this". If they introduced it, they're "holding" it - use "that"."   But really, how does it apply here? Do I hold up my previous sentence? I think so – so this should be correct, am I wrong?  Disclaimer: I'm not a native speaker, but my literary agent is (a seasoned writer). He suggested this was incorrect, and that is correct.


What is the difference between superpositions and mixed states?

My understanding so far is: a pure state is a basic state of a system, and a mixed state represents uncertainty about the system, i.e. the system is in one of a set of states with some (classical) probability. However, superpositions seem to be a kind of mix of states as well, so how do they fit into this picture?  For example, consider a fair coin flip. You can represent it as a mixed state of “heads” $\left|0\right>$ and “tails” $\left|1\right>$: $$ \rho_1 = \sum_j \frac{1}{2} \left|\psi_j\right> \left<\psi_j\right| = \frac{1}{2} \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} $$  However, we can also use the superposition of “heads” and “tails”: specific state $\psi = \frac{1}{\sqrt{2}}\left( \left|0\right> + \left|1\right> \right)$ with density  $$ \rho_2 = \left|\psi\right> \left<\psi\right| = \frac{1}{2} \begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix} $$  If we measure in the computational basis, we will get the same result. What is the difference between a superposed and a mixed state?


How to move selected edges toward 3D cursor?

I know that i can set Pivot point to the 3d cursor mode on the tool bar, and then scale selected edges, and edges will be scaled towards the 3d cursor. But how to move the edges to the cursor without scaling?


It actually isn't Hanukkah yet. Anywhere

- the Gelt hat can be awarded when it's December 16th somewhere. However, Chanukah (my preferred transliteration), being a Jewish holiday, starts at night. That's 25 Kislev on the Hebrew calendar.  If the hat is for Chanukah, it shouldn't be awarded based on the Gregorian calendar. It should be awarded based on the Jewish calendar.


I am just starting to learn about multivariable functions. I was thinking of the conditions of such a function.  Is there a function, with domain in $\mathbb{R}^2$ and range in $\mathbb{R}$ such that it is defined for all of $\mathbb{R}^2$, and that for every pair of numbers in its domain, there is a single output number, and for every output number, there is a single pair of numbers in its domain (1 to 1 correspondence between $\mathbb{R}^2$ and $\mathbb{R}$).   I thought about it a bit, and it seems that the function can be represented with a 3d graph, and it must be that every cross section parallel to the x-y plane is a point.  I don't believe that it is possible, but I don't know this for sure, and I would like to know for sure.


Degrees of freedom in covariance calculation

When calculating the sample covariance, why do we divide by $n-1$ instead of $n-2$? Don't we lose two degrees of freedom since we need to calculate two sample means? For example, when estimating the variance for a Bayes classifier, we divide by $n-K$ where $K$ is the number of classes since we use $K$ sample means in the calculation.  Could someone please explain this in terms of degrees of freedom?  UPDATE  The other answers on this site don't quite make sense to me. So for clarification, I would like to extend this question such that I believe it is sufficiently different to not be marked as a duplicate.  The definition of degrees of freedom as per my understanding is $df = n-p$, where $p$ is the number of parameters calculated en route to the current calculation. I guess the issue boils down to what a "parameter" is considered to be. Clearly in the case of covariance, the individual sample means are not each treated as a parameter, since $df=n-1$. Which leads me to hypthothesize the crude definition that $df=n-p$, where $p$ is the number of sequentially dependent parameters.  For example, in the case of covariance, both sample means can be calculated independently of each other. But in calculating residual standard error for simple regression, $df=n-2$ since the intercept term can only be calculated knowing the estimated gradient - or it is sequentially dependent on the estimated gradient.  Is this a valid definition? If so, does that mean that:  $f(X,Y)=\sum_{i=0}^n(X_{i}-\overline{X})^2+\sum_{i=0}^n(Y_{i}-\overline{Y})^2$ has $df=n-1$ also?  If not - with reference to both covariance and the above equation - why so?


How do I get command+tab to stop re-ordering spaces

Right now I have Chrome set up in Desktop 1, Terminal in Desktop 2, and Spotify in Desktop 3.  If I command+tab to Spotify, it changes the order of the desktops, so now Desktop 3 is Desktop 2 and Desktop 2 is Desktop 3.  This is frustrating because I expected them to stay put.  What I would like to have happen when I command+tab to Spotify is have it go to Desktop 3 and not reorder the Desktops.


What is the meaning of -n in IF statement

bash>BRANCH_NAME="My/Test/Branch/Name" bash>if [ -n "${BRANCH_NAME}" ]; then echo ${BRANCH_NAME}; else echo "latest"; fi   Result  bash>"My/Test/Branch/Name"   What is the purpose of -n and where can I find some documentation on it? I am guessing that the flag is checking for a null or empty string.


Does it make any sense to specifically hide the results of a player's dice roll from the said player?  This method is based on my assumption that many actions do not immediately reveal themselves as failed or succeeded. For example, jumping over a destroyed bridge  is fairly obvious, while trying to get information from an NPC is not. I figured it would be useful in a situation like this:     A player uses Sense Motive to determine if an NPC is lying to him. If he rolls a 20, the GM is obliged to disclose the NPC's intentions. But if the player rolls a 1, the GM would (in my experience, at least) twist the facts and state that the NPC is 100% sincere and still raise immense suspicion. Now the player knows something is wrong, since he obviously failed the roll, but there's nothing to be done about it.   In this case, players could toss the dice behind the GM's paper wall instead of rolling it on the table/floor. A bit of poker practice would perfect this technique and let the GM handle such situations without any trouble whatsoever.  Is this already implemented by some players? If not, is this a sensible technique applicable in some cases? If yes, what are its limitations and general considerations to be mindful of as a player/GM?


Let $R,S \subseteq A \times A$ be transitive binary relations. If $R\circ S=S\circ R$ then $R\circ S$ is also transitive.

My attempt to prove is the following:  Suppose $(x,a) \in R$ and $(a,y) \in S$, since $R\circ S=S\circ R$ then $(a,y) \in R$ and $(x,a) \in S$.  Suppose $(y,b) \in R$ and $(b,z) \in S$, since $(a,y) \in R$ and $(y,b) \in R$ and $R$ is transitive then $(a,b) \in R$, once again because $R$ is transitive and $(x,a) \in R$ and $(a,b) \in R$ then $(x,b) \in R$.  Since $(x,b) \in R$ and $(b,z) \in S$ then $(x,z) \in R\circ S$ meaning it is transitive.  Is this answer correct?


Let's say there's  a box with n different items in it and the goal is to collect all different items. This is done by drawing a random item with probability of 1/n, writing the outcome and putting the item back in the box. What is the expected number of drawing that will be made?


Does killing off all airbenders break the avatar cycle?

If Sozin had killed all the airbenders, and then worked through the next three Avatars, would the cycle have stopped? Skipped over? Thrown a Null Avatar Exception?


Let $(Ω,F,P)$ be a probability space. Suppose $X(ω)=C, ∀ ω∈Ω$. Show that $X$ is independent of any other random variable.

Let $(\Omega, F, P)$ be a probability space. Suppose $X(\omega)=C$, $\forall\omega \in \Omega$ where $C$ is a constant.   How do I show that $X$ is independent of any other random variable?


Mounting of NTFS drive failed, maybe due to windows hibernation

Error mounting /dev/sda4 at /media/danny/70D49480D4944A6C: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda4" "/media/danny/70D49480D4944A6C"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda4': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.   thats what it said, can someone help me?


Ubuntu server error: file '/grub/i386-pc/normal.mod' not found. grub rescue>

Hi i installed the latest Ubuntu server 14.04 and rebooted a few times perfectly and now when i last reboot it, i get the following error:  error: file '/grub/i386-pc/normal.mod' not found. grub rescue> Entering rescue mode...   any suggestions?


Can I safely remove a usb device from a win 7 computer that is turned off? Or do I need to turn on the computer and "unmount" the drive 1st?


Validity of work-energy theorem in presence of non-conservative forces?

How can the  be valid in presence of non-conservative forces since conservation of energy is not there?


How does an accelerating charge radiate electromagnetic waves?

When a charged particle gets accelerated it emits electromagnetic waves. In reality, when a charged particle gets accelerated the electric field around the charge remains unchanged, but the magnetic field changes. Here the energy provided to the particle - by the energy source accelerating it - gets divided into the energy contained in the increased magnetic field and EMWs radiated. But I don't understand the mechanism by which these EMWs are emitted. I have read that when a charged particle gets accelerated the electromagnetic field associated with it gets detached from it and this detached electromagnetic field is that we call electromagnetic waves.  So is it that, when the charged particle gets accelerated, some part of the magnetic field associated with it gets detached from it and simultaneously (but apart from the effect of the event described above) the magnetic field associated with the charged particle gets changed according to the amount of energy being supplied or being taken away by the external source accelerating the charge particle? Thus, in the entire process the electric field around the charge particle remains constant. Is it so?  If this is true, then do we have to assume that the magnetic field being detached itself and instantaneously gets converted into EMW of the corresponding energy? But then I get again the same question: By which mechanism?   Also I thought of an entirely different mechanism: When the charged particle gets accelerated some part of its electric field as well as some part of its magnetic field gets detached from the charged particle and that itself is the EMW. And simultaneously (but apart from the effect of the event described above) both the magnetic field & electric field associated with the charged particle gets changed according to the amount of energy being supplied or being taken away by the external source accelerating the charge particle? But here is one more problem: If we are assuming that the electric field is decaying into the EMWs, we will have to consider the contribution of the externally accelerating source to increase the electric field of the charge particle regardless the charge is being accelerated or decelerated. As far as I think, this cannot be done directly. We should assume the contribution of the external source to increase the magnetic field associated with the charge and its instantaneous conversion into electric field. Now again, same question: By which mechanism? So overall I have complete unclarity about the mechanism of the production of EMWs when a charge particle gets accelerated.


Why are mean and median not equal for asymmetric distributions?

My reasoning is as follows: the p.d.f. is divided by the mean (expected value) into two parts, for which the areas under the p.d.f. curve are equal, hence the probabilities that random variable takes a value less then or equal to the mean are 0.5, which means that that value is also the median (by definition of median).  But textbooks say that the mean and median are equal only if the p.d.f. is symmetrical. Where is my mistake?


Show that $f$ differentiable implies $f$ continous

I have to show that, if a function $f:\mathbb R\to\mathbb R$ is differentiable, it is also continous. $$\lim_{h\to0}\frac{f_{(x+h)}-f_x}{h}=f'_x\space\space\space\space\forall x\in \mathbb R$$  To show:  $$\lim_{h\to 0} f_{(x+h)}-f_x=0\space\space\space\space\forall x\in \mathbb R$$  I do not know hot to show that. My first thought was to set $h\to 0$: $$\lim_{h\to 0} f_{(x+h)}-f_x=f_{(x+0)}-f_x=f_x-f_x=0?$$ But i think this is not a proper proof. Can somebody help me? Thank you


Lately my laptop (HP g42 247sb) screen is damaged, so I hook it up with an external monitor (LG something) and it works fine now.  The only annoying thing is I cannot navigate the BIOS menu for some tweaking because the BIOS not shown on the external monitor, instead, it only shown on the broken laptop screen, and  it only output to my external monitor when Windows/OS is logged-on.  So, is there anyway I can force output during BIOS/BOOT/POST to my external monitor?  Things I have done and didn't work:   Set my LG monitor as primary display on both window properties and Intel Graphics panel  Enter the BIOS (F10 key) and press the Fn+F4 key (change display output). Disable and uninstall my internal screen (broken laptop screen) using device manager and restart, but Windows (BIOS?) install it back on log-on. Closed lid/Magnet on sensor.


I have a PDF file, with a Map as a vector graphic. I want to get this into GIS. (I use ESRI's ArcGIS, but any FOSS solution is also fine).  I know that it is not possible to directly get the PDF into ArcGIS, so I was just testing various scenarios, and found that we can convert the vector graphic in the PDF to SVG using Inkscape. I was successful in doing that.  I was hoping that there might be some way of going from SVG into a vector format that ArcGIS understands.   Is this possible?


Why MPIO instead of 802.3ad Team for iSCSI

Doing my first server to iSCSI target and I thought i would be off to a running start by teaming my NIC on the server (conventional 802.3ad team).  However, from many online sources I see this is NOT recommended and MPIO should be used instead (there was no specific sizing in this recommendation and seemed to apply from a 3 node cluster to large clusters of tens of nodes and above).  I know MPIO is better as it aggregates transfers over independent routes (whereas conventional NIC team would be to the same switch), this aside is there any other reason (risk of data corruption) for Microsoft and training material state to use MPIO instead of teaming?


Writing book in Arabic -- Only the Equations in English/Latin

Question  I want to write a book in Arabic (I have an Arabic keyboard, so I don't need a converter). By Arabic book I mean literally Arabic:    title, table of contents  etc    all in Arabic.   The equations, however, I want to write them in English/Latin.  Related    This link helped a lot but it was for Arabic texts in an English main document.    I already checked these two (and plenty other sites).


I have CKEditor and want to send its data to the server in order to store it in MySQL. I am able to send source code (data) of CKEditor to the server with jQuery Ajax but when I try to execute my SQL query in order to store it in the database the insert command gives error. I think the main problem here is that CKEditor data contains new lines in it. How to solve this problem?  I have found  question similar to mine, but when I tried it and it didn't work for me. And I didn't understand what does mysql_prep function do, because it is not standard PHP function.  update 1  The code for the HTML form is following:  $("#save").click(function(){     var data = $( '#editor1' ).val();                                             $.ajax({         type:"POST",         url:"save.php",         data: "editor1="+data,         timeout:15000,          error:function(XMLHttpRequest, textStatus, errorThrown){           alert("ERROR");                                     },         success:function(response){           alert("Success: "+response);         }     });                            })   And the save.php has following codes:  <?php    include '../config.php'; //connecting to DB     $title='news 1'; $author=1; $date="2011/08/08"; $categories='1,2,3';         $short_text=$_POST['editor1']; $full_text=$_POST['editor1'];        $sql=sprintf('insert into news values(null,"%s",%d,"%s","%s","%s","%s")',$title,$author,$date,$short_text,$full_text,$categories);    mysql_query($sql) or die("Error in $sql"); ?>


It is a translation question and the right answer is      The women gives cookies to the kid.    I put an extra "the" before cookies and it is marked as a wrong answer. Would anyone care to give a detailed reason as to when to put article?    Unrelated side note: I can't believe after so many years studying English, I am still struggling with these basic questions..


Changing parenthesis of biblatex-apa (mimic 2017 acmart)

I would like to closely mimic the  (\citestyle{acmauthoryear} and \bibliographystyle{ACM-Reference-Format}). As far as I know, there is no style in biblatex that adapts it (any other suggestions to make this style work without \documentclass{acmart} appreciated).  I am quite happy with biblatex-apa, but I would like to change the parenthesis of \parencite and \textcite from ( to [.  \parencite now: (Doe & Nakamoto, 2017); wanted: [Doe & Nakamoto, 2017]  \textcite now: Doe and Nakamoto (2017); wanted: Doe and Nakamoto [2017]  MWE:  \documentclass{book}  \usepackage[american]{babel} \usepackage{csquotes} \usepackage[style=apa]{biblatex} \DeclareLanguageMapping{american}{american-apa}   \begin{filecontents}{mybib.bib}  @inproceedings{John,  author = {Doe, John and Nakamoto, Satoshi},  title = {Some title},  year = {2017}, }  \end{filecontents}   \addbibresource{mybib.bib} \begin{document}  \parencite{John} \textcite{John}  \printbibliography \end{document}


Secondary Clustered DTC will not work when Primary goes offline - SQL Server Issues

I've been working on setting up clustered environment with a two new DTC roles, DTC1 and DTC2. I set up DTC1 which allows both clustered VM's and SQL Server Instances to function correctly. However, when I disable DTC1, DTC2 will remain online but no DTC transactions will work. I'm actually going through this issue with a Microsoft tech right now (without much luck). Both DTC services are set up with similar configurations. Anyone here have an idea as to what might be going on?  Here's my setup:   One clustered environment Two DTC Roles Two Separate ISCSI disks, one for each role Two VM's (same configuration) Two SQL Server Instances, on on each VM   Networking configuration is allowed, everything looks to be set up properly.


A question about compact sets: how to prove $g$ must be an isometry

Let $(X,p)$ be a compact metric space. Suppose that $g:X\rightarrow X$ is a function such that for all $x_1,x_2\in X$ we have $p(g(x_1),g(x_2))\geq p(x_1,x_2)$.  Prove that, in fact, $g$ must be an isometry ($p(g(x_1),g(x_2))=p(x_1,x_2)$ for all $x_1,x_2\in X$) and that g is bijective.  I am stuck here, and I have tried many times, but still have no idea how to solve the question. Can someone tell me how to solve this question?


SQL Server 2014 only using 10 percent of its available memory?

Hoping someone can weigh in here. I have a 2014 developer edition box that doesn't seem to be performing well. I currently have 128 GBs of RAM allocated to the box and 120 GBs maximum allocated inside of SQL itself. When I look at the server itself, Windows recognizes it and so does SQL, but it never seems to jump up above 10 percent. All of the other SQL boxes I've built have memory at least sitting at 90 percent or so. It's running a QA environment that sees maybe 10 users on it at one given time, but I would expect our memory to be using a lot more than it is currently. Any ideas?


I would like to know if you can actually concatenate class's/ID's in jQuery to DRY more effectively.  like this:  $(".div1").hover(function() {         $(".title").hide();     });  $(".div2").hover(function() {         $(".title").hide();     });   to this:  $(".div1 + .div2").hover(function() {         $(".title").hide();     });   Is there a way of doing that?  Thank you


"You have failed too many recent review audits"

I know there are a lot of questions about this issue already - but now I have experienced it myself and I am a kind of baffled. I simply don't understand the system. There is no place other than this to raise my incomprehension issue.   Today I (also) experienced :     You have failed too many recent review audits – looks like you might   need a break. Come back in 2 days to continue reviewing.   After one apparently "wrong" audit, which I by the way didn't understand should be wrong at all. Of course I have failed audits before, once in a while, and I have made mistakes after reviewing thousands of post in all the categories. But what's making me wonder most, is why it is coming now, when I have passed all audits in the past 4 or 5 days, without a single "stop and listen"-message?   Could the moderators look into this?   I appreciate the system, and if I am wrong I am wrong. And to me a pause is good. I just do not understand why my quarantine comes now, when I actually have passed all the audits except one, and not the day where I didn't pass 5 times.   I can understand "too many", but not "too many recent".   I post this because I have read  post,  and  (to clarification) post already.


Setup help for new user on 14.04 LTS required

Can I use my existing Windows partitions to install Ubuntu? I don't want to loose files and I also don't want to change the partitions. Thanks in advance.


I used stl() in R to decompose count data into trend, seasonal & irregular components. The resulting trend values are not integers anymore. I have the following questions:   Is stl() an appropriate way to deseasonalize count data? Since the resulting trend is not interger valued anymore, can I use lm() to model the trend components?


$13$ integers from $S = \{150 , 151 , ...... , 173 \}$. Any choice of $13$ integers will have a pair of integers whose difference is $3$.

We have to choose $13$ integers from this set $S = \{150 , 151 , 152 , 153 , .............. 172 , 173 \}$. I have to show that for any choice of $13$ integers there will be a pair of integers whose difference is $3$. I was trying to apply Pegion Hole principle. But I am not being able to do so. Can anyone please help me ?


Embeddings of finite groups into $\mathrm{GL}_n(\mathbb{Z})$

We know that every group $G$ of order $n$ can be embedded into $\mathrm{GL}_n(\mathbb{Z})$, because   $G \hookrightarrow S_n$ (Cayley theorem) $S_n\hookrightarrow \mathrm{GL}_n(\mathbb{Z})$ (via permutation matrices)   Furthermore we can show that $S_n \hookrightarrow \mathrm{GL}_{n-1}(\mathbb{Z})$, but we can't improve Cayley's theorem in general (i.e. we don't have $G \hookrightarrow S_{n-1}$).  For $n>2$, let $k(n)$ the smallest integer $k$ such that all groups of order $n$ can be embedded in $\mathrm{GL}_{k}(\mathbb{Z})$.  We can show easily that $k(4)=2$, $k(5)=4$, $k(6)=2$. From the initial remark we have $k(n)\leqslant n-1$. Let $u_n=\frac{k(n)}{n}$. What can we say about $u_n$ ? It seems hard to fully determine $u_n$. For instance:   Can one extract a subsequence $u_{\varphi(n)}$, such that $\lim_{n\to \infty}u_{\varphi(n)} =1$? Or even stronger: is there infinitely many $n$ such that $k(n)=n-1$? What are the accumulation points of $u_n$? etc


Do not hide VLQ flag option from users who already flagged and may wish to retract

System hides an option to flag Very Low Quality in few cases, namely when post is:        Because of that users who already flagged it when none of above conditions applied miss an option to .  Suggest1 to show this flag option to such users so that they could retract a flag.    1 Frankly I won't mind if this gets  because I doubt that it is important. This is posted mainly to document how system behaves and to provide reference for those who may wonder why they can't retract flag in some cases.


Change upvote/downvote tooltip on meta sites

Since voting on meta sites mean something different on the main sites, can you change the tooltip as well:   This question is useful and clear --> I agree This question is unclear or not useful --> I disagree This answer is useful --> I agree This answer is not useful --> I disagree   ...or something along those lines.


As soon as I click the "2" on my pagination links I get a 404-error. The url correctly changes to http://mysite.com/?paged=2  <?php /**  * The loop that displays the posts.  */ ?>
 <?php      $args = array(         'post_type' => array('post', 'wr_raffle'),         'posts_per_page' => 4,         'order' => 'DESC',         'paged' => (get_query_var('page')) ? get_query_var('page') : 1,     );      $loop = new WP_Query( $args );     while ( $loop->have_posts() ) : $loop->the_post(); ?>
         <article id="post-<?php the_ID(); ?>" <?php post_class('wrapper'); ?>>
<a href="<?php the_permalink(); ?>"><?php the_title(); ?>

<?php the_excerpt(); ?>

          <?php endif; ?>      <?php      endwhile;     wp_reset_postdata();  ?>

 <?php     $endsize = $midsize = 1;     $type = 'plain';     $loop->query_vars['paged'] > 1 ? $current = $loop->query_vars['paged'] : $current = 1;      // Sanitize input argument values     if ( ! in_array( $type, array( 'plain', 'list', 'array' ) ) ) $type = 'plain';     $endsize = (int) $endsize;     $midsize = (int) $midsize;      // Setup argument array for paginate_links()     $pagination = array(         //'base'          => @add_query_arg('paged','%#%'),         'total'         => $loop->max_num_pages,         'current'       => $current,         'show_all'      => false,         'end_size'      => $endsize,         'mid_size'      => $midsize,         'type'          => $type,         'prev_next'     => false,         //'paged'         => $loop->query_vars['paged']     );      echo paginate_links( $pagination ); ?>
   What am I doing wrong here?  I already refreshed my permalinks. Didn't work.


How can I setup Gmail to send me an SMS when I receive an email that matches a certain string?

Is there a way to send a (sms) text to myself when I receive a new Gmail message and the subject contains a certain string?  Is there a feature in Gmail itself, a third party service, or an addon that would help me do this?


I have a Dell Insiron laptop, which currently runs windows. There is a a logo of Ubuntu on my computer, I dont know why. Can anyone tell me why that is?   And I have downloaded the latest version of Ubuntu from your website.  Now I want to delete Windows and install Ubuntu as the permanent operating system, without other Grub loader type of things, just like windows - which loads like normal. Please give me guidance about that, and I don't want to delete any personal data.


Where does the background story in A Song of Ice and Fire come from?

As I can read, the author of the series created several books in the series starting with the book A Game of Thrones. I'm watching the series on TV (I haven't read the books).  When I watched something in the show that I do not fully understand or want to brush up on, I go search the web and usually find the information in Wikipedia. Often I also find a full timeline from before the first book, and I wonder where does this information come from? Whoever wrote this must have this information from somewhere - I just don't seem to understand where, since the first book starts around the same time the first episode of the first series in the TV show?


How does the referee communicate with players in football(soccer) matches, when they are from different countries?

I always see in TV referees communicating with the players in international football matches(both club and national competitions). It seems to be universal: not only in European matches, but also in Asian matches and World Cup etc. However something I don't really get is how are they supposed to communicate at all if they don't speak the same language.   I can only suppose that in this case, there exists a default lingua franca for communication, for example English, and all players more or less understand some basics of this language. (which would not be easy for professional sports players, and it's even more amazing that they can seem able to talk incessantly). If so, is it somehow specified as a rule, or just more of a custom?  Or, as an alternative, is there actually only the captain, or the few players who share languages in common with the referee doing the talking, while others express themselves more by body expressions and translation through the captain etc.?  Are international football referees (supposed to be & in reality) multilingual?


From my understanding it's not prime because it's not greater than $0$. So my followup question is why did mathematicians exclude $-1$?  The definition of prime is having only two factors.   $-1 \cdot 1 = -1$


Login with SSH authorized key with changed SSH port

I changed my SSH port in the /etc/ssh/sshd_config file and then restarted the ssh service. I implemented fail2ban and updated the port to my SSH under that config. I also then implemented the UFW firewall and allowed incoming connections to my new SSH port.  However, when I try and login with my SSH key using ssh -i /Users/myuser/.ssh/vpsssh user@555.555.555.555 it's trying to connect to port 22 instead of the defined port I have.


I'm trying to create a simple website that has a Header containing the logo and other information, then a ribbon as separator and then a two-column section. Left column will have a selector. Right column will have information depending on the option chosen on the selector.  I was able to do this so far but now I wanna take it to the next level. I would like my site to always fit to the window so no vertical scrollbar needed. I'm comfortable with the sizes of my header and ribbon so I want the two-column section to take the remaining space in the window. The scrollbar, if needed, would be on the information div. Just in case, I want the left-half (selector) to take as much space as it needs. Right-half (information) should adjust to the space it has left.  I have this code so far:  CSS  .container {     display: table;     width: 100%; }  .left-half {     display: table-cell;     background-color:#7ec0ee; } .right-half {     display: table-cell;     overflow: auto; }   HTML

&nbsp;

         <select>..</select>


Is statement like "If x>7, then x^2>49" a conditional proposition?

For statements like     x>7   we all know that since we have no idea what value x holds, it isn't a proposition by definition. But we can often see propositions like this:     If x>7, then x^2>49.   which seems to be an conditional proposition p → q, where p is "x>7" and q is "x^2>49". Maybe you'll say that it isn't a compound proposition; rather, it is just an atom proposition in the form of "conditional natural language". But I've read a few textbooks on mathematical logic and find that they all seem to believe that statements like above are indeed compound propositions. For example, in the book Discrete Mathematics and Its Applications (7th Edition), Example 10 gives the following statement as an example of biconditional:     Let p be the statement “You can take the flight,” and let q be the   statement “You buy a ticket.” Then p ↔ q is the statement “You can   take the flight if and only if you buy a ticket.”   The p, q above, in my opinion, are no different from statements like "x>7". So why are they considered propositions here?  To sum up, I've got these questions:   Is the example from the textbook given above flawed? (Maybe some more correct forms will be given later in the text?) Note that in the same textbook, in Exercise 1 of Section 1.1, it clearly says that "x+2 = 11" is NOT a proposition (so neither would "x>7"). If not, then the "propositions" here are different from what the definition says, which restricts proposition to sentences that are clearly determined as either true/false. So what's wrong here? Could it be that "statements of the same form can mean different things in different contexts?" For instance, although “You can take the flight” isn't a proposition on its own, when connected with the other statement, it will magically become one? We know that propositional calculus is used for mathematical proofs, and in our daily proofs, forms like "if p, then q", where p and q are not propositions (in the definition's sense), appear quite often. If that is true, we'll rarely see conditional propositions in proofs, so why do we need to study them, instead of studying statements composed of "conditional natural language"?   These questions really frustrate me a lot. Could it be that what I've read so far are just some simplified versions of more convoluted concepts? And is there any novice-friendly textbook that detailedly explains what is going on here? Many thanks!


I have a brand new Shimano Ultegra WH-6800 rear wheel. The freehub has about 2mm of play in it. I can feel the play without the cassette installed by grabbing the freehub body and moving it. It moves side to side and a little less in and out.   I installed a cassette (brand new Shimano Ultegra CS-6700 10spd) and put the wheel on the bike (only in a stand) but it makes some awful noises when pedaling and shifting is a mess. If I look at the cassette from the back it is wobbling all over the place.  Should I return the wheel or is this something that can be fixed by disassembling the hub?


How to recover an encrypted directory from a live distribution?

After my motherboard has been changed, the system does not start any more. I think I will have to re-install, but in this case, I am affraid that the encrypted dir will not mount at login any more (will it?)  So, I am trying to first recover my home, using a live distribution. I have tried to follow advices from StackExchange and elsewhere (e.g. ) but:  sudo ecryptfs-recover-private   only says:  INFO: Searching for encrypted private directories (this might take a while)... find: ‘/run/user/999/gvfs’: Permission denied find: File system loop detected; ‘/sys/kernel/debug/pinctrl’ is part of the same file system loop as ‘/sys/kernel/debug’.   So I tried to give the directory path:  sudo ecryptfs-recover-private '/media/ubuntu-gnome/<UUID>/username'   After entering the passphrase, I obtained a 'success' message, saying the decrypted directory was mounted in '/tmp/ecryptfs.SOMETHING' but this directory contained:  Access-Your-Private-Data.desktop README.txt .ecryptfs .Private   I guess this means it is not recovered. Then, trying again the same command resulted in failure with:  mount: mount(2) failed: No such file or directory ERROR: Failed to mount private data at [/tmp/ecryptfs.SOMETHINGELSE].   OK, maybe I made a mistake in the passphrase, but I tried several times...  Additional information: my home is at the root of a disk having one partition, the system is on another disk. Exploring the data disk with nautilus shows:  <UUID>  +-- username        +-- Access-Your-Private-Data.desktop        +-- README.txt        +-- .ecryptfs        +-- .Private  +-- .ecryptfs        +-- username              +-- .ecryptfs                    +-- auto-mount                    +-- auto-umount                    +-- Private.mnt                    +-- Private.sig                    +-- wrapped-passphrase                    +-- .wrapped-passphrase.recorded              +-- .Private   In particular, I am surprised to find:  /media/ubuntu-gnome/<UUID>/.ecryptfs/username/.ecryptfs   Is this a normal structure?  EDIT The answer was just a couple of pages away:  see the answer by @rausch the life saver to    And, by the way, my directory structure was normal.


Evaluating limit $\lim_{k\to \infty}\prod_{r=1}^k\cos{\left(\frac {x}{2^r}\right)}$

I stumbled across the following question which asked to evaluate...  $$\lim_{k\to \infty}\prod_{r=1}^k\cos{\left(\frac {x}{2^r}\right)}$$ I at first tried writing few terms $$\cos{\left(\frac {x}{2}\right)}\cos{\left(\frac {x}{4}\right)}\cos{\left(\frac {x}{8}\right)}...$$ I used the Half-angle formula to write$$\cos{\left(\frac {x}{2}\right)}=\pm\sqrt{\frac{1+\cos(x)}{2}}$$ Therefore, $$\sqrt{\frac{1+\cos(x)}{2}}\sqrt{\frac{1+\sqrt{\frac{1+\cos(x)}{2}}}{2}}...$$  As there are infinitely many two's in the denominator, the denominator goes to $\infty$ which means $$\lim_{k\to \infty}\prod_{r=1}^k\cos{\left(\frac {x}{2^r}\right)}=0$$  So..My question is ...Am I correct?... If not, Could you please give me some hint to how should I proceed ?


How do I put symbols inside a square cap?

I'm trying to write a command that will put symbols inside a square cap (see picture below). My attempt, |\overline{aaa}|, is far from good...


Can more than one antibody bind the same antigen

I'd like to clear something up about antibodies that I'm not sure I've understood in the articles I've read. Looking at concepts such as "affinity maturation", "monovalent antigens" and "polyvalent antigens" it seems as if there are multiple antibodies which can bind to the same antigen. (Although I think I'm right in saying that individual antibodies can only bind to one antigen?) However, when I read sentences like "It has been estimated that humans generate about 10 billion different antibodies, each capable of binding a distinct epitope of an antigen" on the Wikipedia page (for antibody) it does make it sound like it's one antibody per antigen? Is this the case? Or is it one antibody per epitope. Either way, to put this question in a nutshell:  Is it true to say that the same substance could bind with (and, therefore, be recognised by) more than one antibody, or not?  Also, if the answer is no, does that mean that antibodies with different binding affinities are classed as the same antibody or not?


How to change the monitor's refresh rate?

How do I change the monitor's refresh rate in Oneiric?   There is no option to do it in the Displays dialog now. By default it's 60Hz, but I need 75Hz on my monitor.  In previous releases there used to be such an option in the Displays dialog.  Edit - Half baked solution  The best I could do so far was:  xrandr -s 1280x1024 -r 75   This is perfect, but my problem is that it isn't permanent. It defaults back to 60 Hz after logging out and back in.  Perhaps this should go into some script and added to startup? I just don't know how to do that.


I have cronjobs doing various cleanup tasks:  $ crontab -l 0 * * * * find ${HOME}/Downloads -depth 1 -d -mtime +12h -exec /usr/local/bin/trash {} \; * * * * * /usr/bin/defaults delete com.apple.Spotlight userHasMovedWindow > /dev/null * * * * * /usr/bin/defaults delete com.apple.Spotlight windowHeight > /dev/null   However, it seems the jobs, for some reason, never exits. Instead they linger on and show as (cron) companioned by either (find) or (defaults) in the output of ps and in the activity monitor.  It happens for all jobs.  After hours or days, the computer freezes as the OS won't allow any more processes to spawn.  $ sw_vers  ProductName:    Mac OS X ProductVersion: 10.15 BuildVersion:   19A583


$N$ and $K$ are submodules of $M$ with $I=Ann(N)$ and $J=Ann(K)$, then show that annihilator of intersection of $N$ and $K$ contains $I+J$. Give example to show that the inclusion may be strict.


Stars and Bars Computation With Distinct Stars

Suppose we have a standard Stars and Bars problem with a restriction that each partition has at least one star.  With $n$ indistinguishable items and $k$ buckets, we can compute this by $n-1 \choose k-1$  But what if the items were distinct?  Would it be:  $n! {n-1 \choose k-1}$ ?


What is the effect of a wormhole on the gravitational field of a large body?

Assuming there is in fact a way for traversable wormholes (Einstein-Rosen bridges) to exist: What effect would a wormhole have on the gravitational field of a large body (planet or star) if one side of the wormhole is further away (in 'normal' space) from the large body? For example, in the far distant future, a mad scientist creates a wormhole near the orbit of mercury and moves one opening out to the Oort cloud. Would observers near the outer opening be accelerated into/through the wormhole, as if they were far closer to the star? Would you be able to orbit the wormhole, as if you were closer to the star? Would that create something like Lagrange points where the gravity felt through the wormhole balanced the gravity through normal space?


Embedding images in tex file as base64 strings?

A commonly asked question on this site is how to embed images directly in a .tex source file, without the need for the image to exist in a separate file. Examples of such questions (often marked as duplicate) are         ...   Unfortunately, the answers are all quite a bit outdated. In particular,    Many users responded (years ago) that "the user should simply not want this" and send multiple files as a zip/tar archive instead. However, in this time and age where automatic generation of .tex file becomes more frequent, and single-file text-only generation is much easier (especially when using predefined frameworks) than multifile and/or binary, that argument no longer holds. A package providing such functionality  no longer exists. Another package  provides this functionality but only for bitmap images (png/jpg), not for svg/eps/pdf/other vector formats, and encodes it as HEX which is pretty wasteful compared to base64.   Therefore I would like to reopen this question and ask this again: how can one create a command \includebase64image such that   \includebase64image{png}{iVBORw0KGgokIA...} \includebase64image{pdf}{weEGE2ewFWE58q...}   yields the result of \includegraphicx{a file with content type #1 and contents #2}, namely the image whose content and type are given, appearing at the current location in the generated PDF file?


How to make a working executable Jar file? (BlueJ)

I use the program BlueJ to code java and have recently finished a project and wish to make it into an Executable Jar file. I create one but I does Not work when I double click it. Do I have to do something specific in the program before creating the jar file? Do I have to download software for it to work?


What is the best way to develop apps for Ubuntu?

I want to write applications for Ubuntu. I do not know much about programming but I want develop for Ubuntu. I am trying to learn Python right now. What do you think is the best way to develop apps for Ubuntu? Can you point me to some resources that can help me get started with developing for Ubuntu?  Related .


Stop Filezilla from inserting blank lines in text files

Often, from different remote hosts, FileZilla will download a .cssor .php file and insert blank lines in between existing lines. This destroys nice formatting.  PC = Windows 10 Pro 64-bit.  How do I prevent this?


"The irate customer asked for the chef."  The irate customer asked something. (Noun phrase?)  Since you can fill in something in place of 'for the chef,' does that mean it is a direct object and an adverb at the same time?


Aliens hiding important information about the human race; story ends “‘You don’t’ he said?”

And thereby makes clear in 4 words what the whole story was about.  In a 60's or 70's era anthology I think.  I’ve always remembered it as being an example of good or clever writing.  I've never read another story with the same effect. If I gave any more clues it would spoil the story. I only read it once yet I can still remember it… but what was the story?  EDIT: The aliens were hiding some important information on the human race and the hero spent the whole story trying to find out what it was.


need help with test class with ApexPages.currentPage().getParameters().id

How can I test the below controller and get greater than 0% coverage?  My controller class looks like this:  public with sharing class EmployeeController  {     public EmployeeController(ApexPages.StandardController controller)     {      }      public PageReference pdf1()     {          return Page.Employee_PDF;     }         public list<Certification__c> certification      {         get         {                 certification = [SELECT Date_Certified__c, Name, Principle__c, Year_Certified__c FROM Certification__c WHERE Employee__c =:ApexPages.CurrentPage().getparameters().get('id')];                 return certification;         }         set;      }      public list<Project_Experience__c> proj         {                 get                 {                         proj = [SELECT Client__c, Duration__c, Location__c, Position__c, Project_Description__c, Project_Name__c, Responsibilities__c FROM Project_Experience__c WHERE Employee__c =:ApexPages.CurrentPage().getparameters().get('id')order by Project_End_Date__c desc];                         return proj;                 }                 set;         }      public list<Training__c> training     {         get         {                 training =[SELECT Location__c, Name, Principle__c, Trainer__c, Year__c FROM Training__c WHERE Employee__c =:ApexPages.CurrentPage().getparameters().get('id')];                 return training;         }         set;     }          public list<Employee__c> emp         {                 get                 {                         emp = [SELECT Name, Sex__c, Foreign_Language_Proficiency__c, Nationality__c, Qualifications__c, Tools__c FROM Employee__c where Id = :ApexPages.CurrentPage().getparameters().get('id') ];                         return emp;                 }                 set;         }    }   Here is my current test class:  @isTest private class EmployeeControllerTestClass2 {     static testMethod void myUnitTest()      {        Employee__c emp = new Employee__c(Name = 'empTest',Employee_Status__c='Active' );         insert emp;          Project_Experience__c project = new Project_Experience__c (Employee__c = emp.id, Project_Name__c='Indosat');         insert project;         Training__c training = new Training__c (Employee__c = emp.id, Name='Salesforce Adm 201');        insert training;           PageReference pageRef = Page.Employee_Pages;         Test.setCurrentPage(pageRef);         ApexPages.Standardcontroller sc = new ApexPages.Standardcontroller(emp);         ApexPages.currentPage().getParameters().put('Id',emp.id);          Test.StartTest();     } }


Implications of a correct proof of the Riemann hypothesis?

What are some major implications of a proof of the Riemann hypothesis?


Converting from quads to triangulated mesh

I have a mesh that has been created in MakeHuman. I have imported it into blender to apply some python scripts on it. But, they require that the mesh must be triangular. So, my question is, is there any way to convert from quad to triangular mesh in blender or even MakeHuman?


Is it possible to put all of the $\frac{1}{n}$ side squares into the unit square?

It's well known that $\displaystyle\underset{n\geq1}\sum\frac{1}{n^2}=\frac{\pi^2}{6},$ which is less than $2$, hence $\displaystyle\underset{n\geq2}\sum\frac{1}{n^2}<1$. However, this inequality does not suffice to prove that the sequence of squares which sides are $\displaystyle\frac{1}{n}$ can be inscribed into the unit square, as in fact doesn't happen for the case of two squares with side $\displaystyle\frac{1}{2}+\varepsilon$, for which hold of course that the sum of their areas is less than $1$ for sufficiently small $\varepsilon>0$. My question is: can this be proven to be true? I heard that the answer is yes, but my attempts arrived at most to describe a possible way to insert such squares (using the convergence of $\displaystyle\sum\frac{1}{(k+1)^n}=\frac{1}{k}$) as shown in the picture below. I really don't known if this is a good approach to the problem, it's just the nicest way I found to put them in and I was hoping that it works. Thanks in advance :) $\textbf{EDIT}$ As answered by JimN the solution is actually easy, though I continue to find it really smart! Arise then naturally another question: does the algorithm explained above converges remaining inside of the unit square?


What are the number of solutions of $11^x+13^x+17^x-19^x$?

My attempt: $ 11^x+13^x+17^x-19^x=0\implies (\frac{11}{19})^x+(\frac{13}{19})^x+(\frac{17}{19})^x=1 $.  Now taking limit as $x\rightarrow\infty$,we get $0=1$,which is absurd.Hence,the equation has no solution.  Is it correct??


How can I indicate that an area is swipable?

I have a mobile timeline with cards, each card can be swiped to the right to display interaction options. We feel that it's not evident to the user that there's anything there, the 3 dots we've added are meaningless.    Is there some form of indication that means "swipable" that we could give the user, beyond giving them a guided tour of some sort.


I got a message saying script xyz.py returned exit code 0. What does this mean?  What do the exit codes in Python mean? How many are there? Which ones are important?


Is it possible to lose HP by levelling up? If it is, is it possible to die by levelling up?

When you level up, you gain a number of Hit Points equal to 1d# (6, 8, 10, or 12) + your Constitution modifier. The lowest Constitution modifier possible is -4 (possible by rolling, and rolling 4 1s). If a PC with a negative Constitution modifier, negative by more than 1, levelled up, and rolled a 1 on the levelling up HP dice, would they lose HP? And, would it be possible to die by this HP loss? For example, a Wizard with a 3 in Constitution, would have 2 HP at first level. At second level, we'll say hey rolled a 1 on his Hit Points die. This would mean he gained -3 Hit Points. Would that kill him? I see no rules against this, but it seems to go opposite to the phrase "Levelling Up".


How can I make a random function generate a specific integer more often without using arrays and vector?

I was making a ludo game and there's a rule that your pieces will only open when the 6 will shows up on a dice.   How can I make my dice generate the number 6 more often, without using arrays or vectors? I'm using c++.


Outlook for Mac, Active Directory DNS and DDOS

Edit: This is not a question about DDOS, but a question about how to resolve a technical issue impacting only Mac clients of Outlook Anywhere.  Problem and solution are are now known, but I cannot link it here for some stupid reason of stackexchange limits.  I can suggest googling : "outlook anywhere We Get to Use Commandlets" and you should find the problem and solution described at charlietree.com  Original question follows...  I'm not a Mac user, nor the Windows Admin, so forgive me if I don't have the the nomenclature correct, but I'm trying to help another admin.  We run Active Directory and Exchange 2010.  The name servers for our Internet top level domain are Linux with Bind.  A subdomain like ad.example.com is the domain for AD, Exchange, etc.  In an attempt to prevent the DNS service on AD from being abused with DNS reflection DDOS attack method, port 53 was blocked at the firewall. It has the effect of blocking off site users with Mac Outlook from syncing with Exchange.  Blocking port 53 seemed the only way to go because disabling recursion on the Windows DNS causes failures to access the outside world, and unlike Bind, there is no feature like views.  Are other sites finding this is a problem, or does it hint of a configuration problem?  The admin mentioned that when traced, the connection information (perhaps with autodiscovery) came back with the address like exchange.ad.example.com, while the exchange server is also known as an address like exchange.example.com. He isn't sure if there is some place in the configuration to fix that.  The idea being if we can get the "ad" out of the host name, the Mac Outlook client would not need to talk to the DNS on AD.  Our Goal: to block AD's DNS servers from DDOS abuse.  Our problem: Mac Outlook clients require access to AD's DNS when off site.


Install eawpatches midi soundfont alternative to freepats via apt

I tried to install eawpatches like described here:   But it seems the installation is outdated, I tried adding  deb https://www.fbriere.net/debian stable misc   to a new file in   /etc/apt/sources.list.d/midi-fbriere.net.list   But I get this error on apt update   Get:24 https://www.fbriere.net/debian stable InRelease [8604 B]                              Err:24 https://www.fbriere.net/debian stable InRelease                                       The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E5C626294C4644D   Where do I get the key and why does it not load  which seems fine?


I need to program an FTP upload. So far no problem BUT I have to use a proxy to do so. Sadly its not a FTP proxy but a HTTP proxy so I get the typical error that uploading is not available with HTTP proxies. To correct this I tried the typical workaround with ftp.Proxy set to null (nothing in VB). But then I get the error message that the host cannot be found.   So I'm wondering what I'm doing wrong there? OR am I in a situation there where it is impossible to use FtpWebRequest?  FtpWebRequest ftp = (FtpWebRequest)FtpWebRequest.Create("ftp://ftp.targetserver.com/automaticUpload/test.txt"); ftp.Credentials = new NetworkCredential("myuser", "passwd"); ftp.UseBinary = true; //ftp.Proxy = new WebProxy("proxy1"); ftp.Proxy = null; ftp.Method = WebRequestMethods.Ftp.UploadFile;  FileStream fs = File.OpenRead(@"C:\blah\blubb\blah\t1.txt.txt"); byte [] buffer = new byte[fs.Length]; fs.Read(buffer, 0, buffer.Length); fs.Close();  Stream ftpStream = ftp.GetRequestStream(); ftpStream.Write(buffer, 0, buffer.Length);   Edit:  As it seems the information I got there that there is a working workaround was wrong. Thus the other questions answers are fully correct (still) that there is no way to do this with plain c#.


Which file does includegraphics select if there are multiple files with different extensions?

We usually write something like           \includegraphics{image}   instead of:  \includegraphics{image.png}     That is, \includegraphics does not usually require a file extension such as .png .pdf .jpg, etc... That is,  Suppose that I have all of the following files in the same directory. Which file will \includegraphics embed?  my_pic.jpg my_pic.psd my_pic.png my_pic.pdf my_pic.jpeg my_pic.gif   Document:  \documentclass{minimal} \begin{document} \begin{figure}[htpb]   \centering   \includegraphics[width=\linewidth]{my_pic}    \caption{Sunshine and Rainbows}   \Description{summertime} \end{figure} \end{document}


Did Riddick make the trip to the Underverse

It states in  that each one is to make the trip to the Threshold,      Since Covu "The Transcended" discovered the gate to The Underverse, called "The Threshold", each successive Lord Marshal has made a pilgrimage to The Underverse. His trip to The Underverse grants him a plethora of greater inhuman powers. All The Lord Marshals are extremely long lived, perhaps even immortal.   In the next section it states that Zhylaw "The Last" finds an artifact, but it does not imply that this artifact shows the way to The Threshold, only its secrets.      Zhylaw "The Last" discovered a great ancient artifact on Helion Prime, within the secrets of The Threshold were written, after studying and destroying the artifact so that nobody could ever find it, he would use it in his great crusade. With this knowledge he could use more of the Soulpower than any other Lord Marshal making him the most powerful Lord Marshal in history.   In  , Riddick does not display any of the powers of a lord Marshal, so it would be safe to assume that he did not go?


In RSA, what happens if the plaintext $m$ is not coprime to $n$?

Coming from the  on RSA, I think I understand the following: RSA is based on generating an integer $n$ as the product of two large primes, $p$ and $q$, and encryption/decryption exponents $e$ and $d$ such that for any given plaintext $m$, $$(m^e)^d \equiv (m^d)^e \equiv m^{ed} \equiv m \mod n\,,$$ i.e. such that modular exponentiation with $e$ (encryption) composed in any order with exponentiation with $d$ (decryption) is the identity mapping on the plaintext. This works because $e$ and $d$ are chosen such that $$ed \equiv 1 \mod{|m|}$$ for any plaintext $m$, where $|m|$ denotes the order of $m$ in $\mathbb{Z}/n\mathbb{Z}$. This is done by selecting a multiplicative inverse pair $e$, $d$ in the ring of integers mod $\lambda(n)$, where $\lambda$ is ; and if I understand correctly the latter is essentially the least common multiple of the orders of all positive integers less than $n$ that are coprime to $n$, so that if $ed \equiv 1 \mod \lambda(n)$ is true then $ed \equiv 1 \mod |m|$ is too for all $m$ coprime to $n$, since $|m| \mid \lambda(n)$. But what happens if $m$ happens not to be coprime to $n$, i.e. if $m$ is either a multiple of $p$ or of $q$? What guarantees that in this case too the first identity shown above (the encryption-decryption identity) still holds? I thought along the lines of using , i.e. if I could prove that $ed$ was congruent to $p$ mod $\lambda(n)$, then $m^{ed} \equiv m \mod p$. But after some thought, this doesn't seem to lead anywhere.


Remove a titlepage navigation dot in Beamer

I would like to remove the navigation dot in Beamer that corresponds to the title page. Here is a MWE. As you can see there is an empty dot for for the title page... how can I get rid of it?   NOTE I use the trick here  to remove subsection navigation dots.  \documentclass{beamer} \usetheme{Frankfurt} \usecolortheme{dove} \usepackage{remreset} \makeatletter \@removefromreset{subsection}{section} \makeatother \setcounter{subsection}{1}  \setbeamertemplate{items}[circle]    \title{Stackexchange is great} \author{John} \date{\today}  \begin{document}  \begin{frame}[plain]   \titlepage \end{frame}   \section{Motivation}  \begin{frame}{A sample slide} hello \end{frame}  \begin{frame}{A sample slide} hello \end{frame}  \begin{frame}{A sample slide} world \end{frame} \end{document}


Comparing java array elements with input string

I am a beginner and practicing arrays in java by a game of tic tac toe. However I seem to face an error when I try to compare an array element and a string (user generated by Scanner). Here is a separate program describing my problem:  import java.util.Scanner;  public class Test {     public static void main(String[] args) {         Scanner s = new Scanner(System.in);         String input = s.nextLine();          String[] nums = {"1","2","3","4","5"};          for (int i = 0; i < nums.length; i++) {             System.out.println(input == nums[i]);         }          s.close();     } }   Output:  false false false false false   But when I manually set the String in place of input, it works correctly.  import java.util.Scanner;  public class Test {     public static void main(String[] args) {         Scanner s = new Scanner(System.in);         String input = s.nextLine();          String[] nums = {"1","2","3","4","5"};          for (int i = 0; i < nums.length; i++) {             System.out.println("4" == nums[i]);         }          s.close();     } }   Output:  false false false true false   I'm stuck. Any help will be appreciated.


Squeezing all the SEO out of a URL as possible

I am working on an ecommerce site, I told our SEO consultant that I plan to make the URL scheme: /products/<id>/<name>. This is similar to Stackoverflow's URLs which are /questions/<id>/<title>.  He asked me if I could change the URL scheme to /p/<id>/<name> instead. I know why he wants this change, the word "products" isn't needed to find the correct product, and it doesn't offer any SEO, so shortening it to just p would make the relevant keywords in the <name> weigh more.  His main priority is maximizing SEO, but the part that I don't think he is considering is how this effects the semantics of the site. Also having the word "products" looks like it has meaning and a reason for being there, just having a p looks chaotic and ugly to me. I also don't think it makes that much of a difference does it? Stackoverflow doesn't use /q/<id>/<title> and they do just fine, I do realize that theres many factors at play here though, not just the URL.  So I want some outside opinions on which is the better way and why?


Is there any way to install packages through yum from a file?  Something like:   yum -f packages.txt  I couldn't find anything in the man pages.  packages.txt would contain something like:  bash bc binutils bzip2 bzip2-libs ca-certificates cairo


I've come back to Ubuntu;  I'm on Dual boot (Windows 10/Ubuntu 18.04) on a SSD with no swap partition. I have a problem. While Windows boot time is just a matter of 3-5s, Ubuntu takes 30-40s.   I've runsystemd-analyze blame and systemd-analyze critical-chain and this is what I got:    Any idea of what is going on (why these services are taking so much time to run)?


How to merge two unallocated partitions which 1st is on left site and 2nd is on right side

This is how it looks. I wonder if it's possible to merge the 2 unallocated partitions without data loss


Is it true that we are probably Boltzmann brains?

I read a post on here about boltzmann brains a few days ago, and got curious on the subject. From the articles I read, it seems that they are saying that we are almost 100 percent likely to be BBs instead of humans. These ideas have worried me tremendously.   I also read this post () Which only amplified my anxiety because that post seemingly says that yes, we probably are BBs.   Are those article's statements that we are almost certainly BBs true? And is that other post also correct?


How can I merge different accounts for Stack Exchange and Stack Overflow?

How do I consolidate all my accounts into one? I have this account on Stack Overflow     Then this one shows up for my Stack Exchange    How would I add them all together ?


Is it possible to provide an option for user to delete the installed cookies from their browser

I have a naive question about the option to opt-out of cookies consent. An example is a user has been given consent to place google analytics cookie in their browser. Is it possible to provide a functionality in our website for the user to press "reject cookies" and then the google analytics cookie is deleted from their browser? If not, what is the reason?


My ps4 controller stopped working  I tried connecting it to my macbook air to play Minecraft. I held the share button and held the ps button and used bluetooth to connect to my laptop. I then tried connecting the usb cable to the usb port.  When I tried connecting it to the ps4 again, it wouldn't work, I have tried the following:   Sticking a pin in the little hole Unplugging the wires Putting it on safe mode Connecting it to the ps with the charging cable   None of these worked. How do I fix the controller- I'd rather not have to buy another.


A polynomial with solvable Galois group and solution by radicals

Suppose $f(x)\in \mathbb{Q}[x]$ has a solvable Galois group, then we know that it can be solved in terms of radicals. But do we know how to explicitly write the solutions of $f(x)$ in terms of radicals?


What means a "$\setminus$" logic symbol?

I have a task to calculate a double integral on a region $D=A\setminus B$, where $A=\{(x,y): \text{some   system of inequalities}\}, B= \{(x,y): \text{another system of inequalities}\}$. What does operator "$\setminus$" mean?


Is it okay to scan a book (that I own) strictly for personal use?

I have a physical book from an Australian publisher which is nearly a thousand pages long, so it's quite hard to carry around with me. It is a book of worked solutions for a math textbook. It has no digital version, presumably to prevent people form distributing it online.  Since it would be much more convenient for me to have a digital copy, would it be okay to scan a copy of the book to keep with me, strictly for personal use? By "okay", I am asking more about its legality than its ethicality, preferably in the US.    Although I probably intended this question to be more general, here is the information for this specific book.   There is a disclaimer related to copying in the front page of the book, which says:     Except as permitted by the Copyright Act (any fair dealing for the purposes of private study, research, criticism or review), no part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior permission of the publisher. Any enquiries are to be made to the [publishing company].   The first part of this statement seems to suggest it might be allowed for private study, which seems to be the situation I am in.  One other notice that can be found in the book, right below the above notice:     Copying for educational purposes: Where copies of part or the whole of the book are made under Part VB of the Copyright Act, the law requires that the educational institution or the body that administers it has given a remuneration notice to Copyright Agency Limited (CAL). For information, contact the Copyright Agency Limited.   Part VB of the Copyright does not seem to apply to me as I am not a teacher (I am not a lawyer, either!). Is my only option in this case to contact the Copyright Agency or the publishers? I assume that if there is no resolution, I would have to try to obtain permission specifically from the publisher, which seems to be the safest option.


Why does Linux require that a user be root/using sudo/specifically authorized per mount in order to mount something? It seems like the decision as to whether to allow a user to mount something should be based on their access rights to the source volume/network share and to the mount point. A couple of uses for non-root mounting are mounting file-system images to a user owned direction and mounting a network share to a user owned directory. It seems like if the user has control over both sides of the mount equation everything should be cool.  Clarification of access restriction:  I feel I should be able to mount anything that the user otherwise would have access to to a mount-point that the user is the owner of.  For instance, on my computer /dev/sda1 is owned by user root and group disk with permissions brw-rw----. Therefore non-root users can't mess with /dev/sda1 and clearly mount shouldn't allow them to mount it. However if the user owns /home/my_user/my_imagefile.img and mount point /home/my_user/my_image/ why shouldn't they be able to mount that image file on that mount point with:  mount /home/my_user/my_imagefile.img /home/my_user/my_image/ -o loop   As kormac pointed out there is a suid problem. So some restrictions would have to be added to prevent suid from being a problem as well as potentially some other issues. Perhaps one way to do this would be to make the OS treat all files as belonging to the user that did the mounting. However for simple read/write/execute, I don't see why this would be a problem.  Use case:  I have an account in a lab where my home space is restricted to 8GB. This is tiny and very very annoying. I would like to mount an nfs volume from my personal server to essentially increase the amount of room that I have. However, because Linux does not allow such things I'm stuck with scp'ing files back and forth to stay under the 8GB limit.


The most important assets are people  vs are the people    Could you help, please


What is the reason why we add 0.5 and subtract 0.5 in the normal probability to approximate the binomal probability?

For example, why does $P(X \leq a) = P(Y \leq a + 0.5)$ and $P(X \geq a) = P(Y \geq a - 0.5)$ where $X$ is the binomial random variable and $Y$ is the normal random variable?


Macbook Pro mid-2015 15" swollen battery

I bought the MBP around 2016 April. Few months ago, around 2018 Nov, bottom of the device appears a bit uneven, with slight gap with my desk. Over past few months, it wobbles more and more serious. Today I brought it to Apple Store Singapore for diagnostic, specialist at Genius Bar confirmed that it's caused by swollen battery. Consider it was just after about 2.5 years use, I find it hard to believe. According to the staff, it depends on usage. If under heavy usage or often charge it overnight, it's normal that MacBook Pro's battery can become swollen pretty soon.   My battery charge cycle is under 300, battery life drops a bit but still strong (9 hours instead of 10). I rarely charge overnight, normally turn AC power off and leave my MBP in sleep mode. I do use my MBP heavily though, say 10 to 13 hours a day. However, I still find it hard to accept the explanation given by Apple Singapore.  I wonder if other MBP 15" users experience the same? Or... am I the isolated case?  -- edit  To make the question more specific, is it generally expected that, Macbookpro battery will start swelling after 2-3 years use if laptop usage is heavy, e.g. 10-13 hours a day? The concern is not about the slightly reduced battery life (the battery life is still strong), but the physical expansion. I'm asking this because I've used few other laptops before, among which I never experience battery swelling except one (after near 5 years use). If the experience with my MBP is aligned with most other users, which means it's just a matter that I should adjust my expectation, and include the near SGD300 battery cost per 2-3 years into my next purchaser's consideration; Otherwise, I will try to ask them to consider replacing without me paying the full cost.   -- update 2019/6/21  Apple has just announced a battery recall for Macbook Pro 15" mid-2015 model. They confirmed that these batteries may pose fire safety risk:


how to update records else insert records in postgresql

How to perform update and insert in same query? i need to update the record, if it is not present then it has to perform insertion i tried this   UPDATE bank SET  Address= $2,"PANCard"= $3,"IFSC" = $4  WHERE user_id = $1; INSERT INTO bank (user_id,bank_details,"PAN",bank_acc,"UAN",tax)        SELECT  '$2','$3','$4','$5','$6'        WHERE NOT EXISTS (SELECT * FROM bank WHERE user_id=$1);   but am getting   {   "name": "error",   "length": 123,   "severity": "ERROR",   "code": "42601",   "file": "postgres.c",   "line": "1274",   "routine": "exec_parse_message" }   please help me here


how can I create a regular array that contain a generic type I created in java?

I have for example the following class  public class MyClass<T> { private int id; T content; }   and in other part of my project I want to create a method that return Myclass<byte[]>[]  I wrote this code  Myclass<byte[]>[] tempArray=new Myclass<byte[]>[4];   > the eclipse says "cannot create a generic array of Myclass<byte[]  anyone knows how to solve it?


How to use plot in a foreach loop into a single path?

To answer , I would use plot in a foreach loop used into a single path. But it seems that it is impossible...  Here, an example to show my problem:  \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}   \draw   (0,0)   \foreach \myvar in {1,2,3}{     --     plot[domain=0:1] (\myvar-\x,\myvar)   }; \end{tikzpicture} \end{document}   This document should produce this result:    In fact, it produces following error:  ! Package tikz Error: Giving up on this path. Did you forget a semicolon?.   Edit: I add a more complex example to show the problem.  Here, a code without \foreach:  \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}   \draw   (0,0)   --   plot[domain=0:120] ({1-cos(3*\x)},{1-sin(\x)})   --   plot[domain=0:120] ({2-cos(3*\x)},{2-sin(2*\x)})   --   plot[domain=0:120] ({3-cos(3*\x)},{3-sin(3*\x)})   ; \end{tikzpicture} \end{document}   And the result:    And the factorized code with \foreach (but this code produces the error):  \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}   \draw[dahsed]   (0,0)   \foreach \myvar in {1,2,3}{     --     plot[domain=0:120] ({\myvar-cos(3*\x)},{\myvar-sin(\myvar*\x)})   }; \end{tikzpicture} \end{document}


Why was my suggested edit rejected? I updated a dead link, none of the rejection reasons make sense!

None of the reasons given make sense given the edit:     This edit is incorrect or an attempt to reply to or comment on the existing post.   The post contained a dead link, and I updated the link to the correct current page for the resource.   I stated as much in my edit summary.


Non techy person looking for advice on how to watch DVD on Ubuntu laptop

I've been directed here from another forum.  Looking for help! First, I'm based in the UK.  My boyfriend (who lives overseas) installed Ubuntu on my laptop a while back because he hates Windows and thought I'd prefer using Ubuntu.  I mainly use my laptop for surfing the net so wasn't bothered what was on it and it's been fine up until now.    Anyway, I just borrowed a DVD from the library and it's not playing.  I have VLC media installed already but nothing seems to be working.  Googling revealed that it might be an encryption issue to stop people copying DVDs but there are ways round it including using libdvdcss2 but that it might not be legal.    I've also been told that it might be a dvd region thing that means I can't play the dvd.  But I have no idea what region this dvd is.  Can anyone help please? Otherwise I'll need to take the DVD round to my parents' house to watch a movie that I should be able to just stick in a machine and press play to enjoy :(  Thanks.


Should I sign the back of my credit card?

When getting a new credit card, what is the policy in regards to signing the strip on the back? Should I sign it? Should I write "See ID"? Should I leave it blank? Should I sign it AND write "See ID"?   I see all sorts of different advice but it seems like it's all based on urban legends, hearsay, or self interest (merchants and banks seem to advise you to do what's best for them, not what's best for the customer).  My question: For an average everyday consumer who uses a card fairly frequently, what is the best practice? What practice is most secure?


What is the exact value of the series $\sqrt{1+2\times\sqrt{1+3\times\sqrt{1+4\times\sqrt\cdot.....}}}$

Kindly tell me what is the value of:  $\sqrt{1+2\times\sqrt{1+3\times\sqrt{1+4\times\sqrt\cdot.....}}}$  According to ramanujan ,it is equal to 3  I want to know how...


When is it appropriate to end a question without a question mark?

Basically, if I ask a rhetorical question, it's not really prompting for an answer.  Does that mean it should not end in a question mark?  Here are two examples:   "What's New" used as a title for a section. "Who wants to reinvent the wheel." This is meant to be rhetorical, so is a question mark correct?


Is the position of matter discrete in universe?

In computer, for example, if we use integer to represent position of objects, position can be (0,0) , (3,5), but not in (1.5,3.5).  In real world, there are something that is discrete, such as atomic energy level. Is there similar concept about the matter(eg: quark) that can exists in some position only?


I am trying to diagnose a network problem and noticed that my computer is communicating with an IP address that I'd like to understand.  First, all apps on the desktop were closed so the only thing I have open is my terminal window which is doing nothing but running wireshark.  The computer continuously is communicating with Google at 35.224.99.156 and it says connectivity-check.unbuntu.com.  But a whois on the ip shows Google as the owner.  On a side note:  My router keeps pinging my computer over and over again.  Is that normal?


Regarding the value of $X+Y+Z$ if $\frac1X + \frac1Y + \frac1Z = 1$

Given $X, Y$ and $Z$ are three positive and non-equal natural numbers. If $\frac1X + \frac1Y + \frac1Z = 1$, then what's the value of $X + Y + Z$?   This is a question from my nephew, I cannot think of any such triples. Any idea guys?


<form method="post" action="#" onsubmit="uploadImage">     <input type="file" name="imgFile" >     <input type="submit" id="submit" value="upload"> </form>   How can I upload an image using javascript with ajax call.


Why can questions and answers be up/down voted On Stack Exchange, but comments only up voted?

In a Stack Exchange Q&A kind of system, what is the rationale for letting the user up/downvote questions and answers, but only upvote comments?   made me think about the Stack Exchange system. What is the reason behind giving users the option to up/downvote questions and answers, but only upvote comments?  I am looking for the rationale behind the way this kind of system works.


Hide the "close" link for questions that have an open bounty

When a question has an open bounty on it, . Should the close link be hidden in these cases?


I enabled the TRIM for my SSD on my MacbookPro using Chameleon SSD, and now the Mac doesn't boot any longer. I have tried to follow guides to reverse the TRIM but none of them actually work because my disk appears to be not mounted and does not appear in /Volumes/  When I open the Disk utility, the disk is greyed. If I try to mount it, I get an error : Try repairing the disk. And of course, when I run a repair, it fails too.   Sadly I have no recent backup (of course, would be too easy).  How can I mount this volume and reverse the TRIM enable?


Fill area below curve from filecontents in PGFPlots

I would like to shade an area underneath a curve. Although this has received attention in previous posts, such as , I am instead plotting some data using the filecontents package - so the function is not known.  I have the following MWE to exemplify:  MWE  \documentclass[tikz]{standalone} \usepackage{pgfplots,mathtools}  \usepackage{filecontents}        \usepgfplotslibrary{fillbetween} \usepackage{amsmath,amssymb,bm} \pgfplotsset{compat=newest}  \begin{document}  \pgfplotstableread{results.dat}{\Results}  \begin{tikzpicture}[]     \begin{axis}[width=\columnwidth,         height=0.618\columnwidth,         ymode=log,         xlabel style = {font=\Large, yshift=0.5ex},         ylabel style = {font=\Large, yshift=-1.1ex},         xlabel={SNR (\text{dB})},         ylabel={MSE (\text{rad}$^2$)},         xmin=-40, xmax=15,           axis line style={line width=1pt},         xticklabel style = {font=\Large,yshift=-0.2ex},         yticklabel style = {font=\Large,xshift=-0.2ex},         xtick={-40,-30,-20,-10,0,10},            xticklabels={-40,-30,-20,-10,0,10},     ]        \addplot [black, line width=1pt] table [x={x}, y={s}] {\Results};     \end{axis} \end{tikzpicture}  \end{document}   Although this won't run since the results.dat file is required, it illustrates that I would like to shade the area beneath the \addplot.  The results.dat file looks a bit like this:  x   s -40.    0.22629270534185614 -39.99  0.22626343334210333 -39.98  0.22623410146157807 -39.97  0.22620470959434436 -39.96  0.22617525763435084 -39.95  0.22614574547543148 -39.94  0.2261161730113055 -39.93  0.22608654013557797 -39.92  0.22605684674173948 -39.91  0.22602709272316673 -39.9   0.22599727797312288 -39.89  0.22596740238475727 -39.88  0.2259374658511061 -39.87  0.22590746826509253 -39.86  0.22587740951952684 -39.85  0.22584728950710667 -39.84  0.22581710812041733 -39.83  0.22578686525193203 -39.82  0.2257565607940121 -39.81  0.22572619463890706 -39.8   0.22569576667875516 -39.79  0.22566527680558351 -39.78  0.2256347249113083 -39.77  0.22560411088773488 -39.76  0.2255734346265584 -39.75  0.22554269601936372 -39.74  0.22551189495762586 -39.73  0.2254810313327101 -39.72  0.22545010503587254 -39.71  0.22541911595825986 -39.7   0.22538806399091013 -39.69  0.22535694902475262 -39.68  0.22532577095060846 -39.67  0.22529452965919064 -39.66  0.22526322504110433 -39.65  0.22523185698684722 -39.64  0.22520042538680982 -39.63  0.2251689301312756 -39.62  0.2251373711104214 -39.61  0.22510574821431775 -39.6   0.22507406133292898 -39.59  0.2250423103561137 -39.58  0.2250104951736248 -39.57  0.2249786156751102 -39.56  0.22494667175011282 -39.55  0.22491466328807083 -39.54  0.22488259017831816 -39.53  0.22485045231008477 -39.52  0.22481824957249674 -39.51  0.22478598185457688 -39.5   0.22475364904524478 -39.49  0.2247212510333173 -39.48  0.2246887877075088 -39.47  0.2246562589564315 -39.46  0.22462366466859565 -39.45  0.22459100473241017 -39.44  0.2245582790361826 -39.43  0.2245254874681198 -39.42  0.22449262991632774 -39.41  0.22445970626881256 -39.4   0.22442671641348028 -39.39  0.22439366023813742 -39.38  0.22436053763049132 -39.37  0.22432734847815042 -39.36  0.22429409266862463 -39.35  0.22426077008932568 -39.34  0.22422738062756745 -39.33  0.22419392417056627 -39.32  0.22416040060544154 -39.31  0.2241268098192157 -39.3   0.22409315169881477 -39.29  0.2240594261310688 -39.28  0.22402563300271208 -39.27  0.2239917722003836 -39.26  0.22395784361062732 -39.25  0.2239238471198926 -39.24  0.22388978261453468 -39.23  0.22385564998081484 -39.22  0.223821449104901 -39.21  0.22378717987286786 -39.2   0.2237528421706975 -39.19  0.22371843588427956    Currently, I get the following output:    However, I would like the grey shading to extend all the way to the x-axis.


I'm using xubuntu 17.10 64-bit, and i'm having difficulty installing steam, i've used apt-get, software centre and downloading directly from the steam website. When I type steam in terminal, I get the following error message:  Running Steam on ubuntu 17.10 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(0) libGL error: unable to load driver: nouveau_dri.so libGL error: driver pointer missing libGL error: failed to load driver: nouveau libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast


How many articles should go in "Merry Christmas and Happy New Year!"?

On the very first Christmas card it was written as "A Merry Christmas and a Happy New Year..."   In Wiktionary that same general phrase is "Merry Christmas and a Happy New Year"   A few quick searches in Google show that many people use it without any articles at all:     Merry Christmas and Happy New Year   Does anyone have a source explaining if one of those phrases is more correct than others and if there's any difference implied by the number of articles used?   Edit just to make it more clear: I'm asking for the case when you design a Christmas card, for example, and you have to write the phrase on the card — not personally to anybody, but rather as an impersonally commercial message to the general audience.


Here's my code:   body {   background-color: brown;   display: block; } .domma { /*This part went wrong.*/   display: flex;   flex-direction: row;   justify-content: center;   align-items: center; } .grid {   display: grid;   grid-template: repeat(3, 1fr) / repeat(3, 1fr);   gap: 15px;   width: 500px;   height: 500px; } .grid div {   background-color: black;   color: white;   display: flex;   justify-content: center;   align-items: center; }

1

2

3

4

5

6

7

8

9

     result:  I hope ".domma"(body) can center for vertical. Then I writtedalign-items: center;. But this is invalid. I don't know how to make it correct. I need help, please HELP ME! Thanks!!!!


How to remove files starting with double hyphen?

I have some files on my Unix machine that start with    --   e.g. --testings.html  If I try to remove it I get the following error:  cb0$ rm --testings.html rm: illegal option -- - usage: rm [-f | -i] [-dPRrvW] file ...        unlink file   I tried   rm "--testings.html" || rm '--testings.html'    but nothing works.  How can I remove such files on terminal?


Evaluating $\int_{0}^{1}\frac{x-1}{(x+1)\ln x} dx $

Evaluate the following integral $$\displaystyle I=\int_{0}^{1}\frac{x-1}{(x+1)(\ln x)} \mathrm{d}x $$ My work: I tried it by letting $\displaystyle I(a)=\int_{0}^{1}\frac{(x-1)x^a}{(x+1)(\ln x)} \mathrm{d}x$ and then $\displaystyle I'(a)=\int_{0}^{1}\frac{(x-1)x^a}{x+1} \mathrm{d}x$. Now $\displaystyle I'(a)=\int_{0}^{1}x^a \mathrm{d}x-\int_{0}^{1}\frac{2x^a}{x+1} \mathrm{d}x$ Now if $\displaystyle J(a)=\int_{0}^{1}\frac{x^a}{x+1}\mathrm{d}x$ , then by applying integration by parts, we get the reccurence relation $J(a)+J(a-1)=\dfrac{1}{a}$ and we can solve it then, but the thing is, we neet to find $I(0)$ ,so even if we compute $J(a)$, it wouldn't be defined at $0$ and so would $I(a)$, then how do I find $I'(a)$ by other method? I also tried the substitution $x \to \frac{1}{x}$, which yields $\displaystyle I=\int_{1}^{\infty}\frac{(x-1)}{(x+1)(\ln x)} \mathrm{d}x$ and when I saw their graphs, it clearly doesn't seem that the area under the graph of this function from $0$ to $1$ and from $1$ to $\infty$ are equal. I would appreciate if someone could  continue from my method and other solutions are also welcomed...


I have a long text that exceeds the column margins  It's not an English word. it's this hexadecimal number  172CB875A0C7A7868CBCB9AEF80F97392560559ADF1D107FBD3EBFE56802D1990DDF842E15E308D7441041CE93F65971D2F71C4A442DA9440000000000000460  How to fit it the column?


Open firefox from bash file "Error: no display specified"

I need to open a browser and access my server with the ip address 1.2.3.4. First I ping my server and if the ping did not fail I launch the home page in a browser. For this I have written a bash file as follows:  # add ip / hostname separated by white space myHost=1.2.3.4  # no ping request COUNT=1  count=$(ping -c $COUNT $myHost | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }') if [ $count -eq 0 ]; then # 100% failed echo "Host : $myHost is down (ping failed) at $(date)" else     firefox $myHost fi   But I am getting an error message  Error: no display specified. Firefox is not launching. What am I doing wrong.   This file is getting called every 5 minutes using a cronjob. The cronjob seems to be  working fine.


Is it safe to eat sauteed onions left at room temperature?

I made a big pot of sauteed onions and garlic (~9 onions and a head and a half of garlic), and forgot to put it away overnight. It was probably off the fire for around 8-10 hours... Is it safe to keep?  (Edit: Does it help that the onions and garlic will all be reheated, as they are going to be frozen in small portions and used to start off soups?)


I renewed my section with dot and I want to get a number without dot when I use \ref{}. How can I do it? \documentclass[11pt]{article} \renewcommand\thesection{\normalsize{\arabic{section}.}} \begin{document} \section{Introduction} \label{s-1} I want to print just a number of Section \ref{s-1} without dot. \end{document}


$a+1,a-1$ invertible for nilpotent element

Given a ring $R$ (with unity), prove that if $a \in R$ is nilpotent, then $a+1,a-1$ are both invertible.   Suppose $a^n=0$. Then $1=1-a^n=(1-a)(1+a+\ldots+a^{n-1})$, so $1-a$ is invertible.  If $n$ is odd we can use $1+a^n=(1+a)(1-a+\ldots+a^{n-1})$.  But what if $n$ is even?


I'm using SQL SERVER 2017 GDR version 14.0.2002.14. I want to upgrade to the latest possible version of SQL Server 2017.   My question is can I download CU-17 and directly run the latest cumulative update which is CU-17 version 14.0.3238.1? OR do I need to reinstall SQL Server 2017 RTM version 14.0.1000.169 first?


I'm not sure if this is a feature request or a bug report.  Example:   Before saving, the title appears as two hyphens.  [  After saving, the title remains as two hyphens.  When I refresh the page, an em dash has appeared instead.    This is poor for readability and for SEO (maybe?).  Ideally, an em dash would be an em dash, and two hyphens would be two hyphens.