Accessing results from my first SOQL search

My Trigger will send an email anytime one account has 7 cases created within 8 days. Towards the bottom in my Else block, I am trying to access fields in my first SOQL statement. I have tried many ways and read many help pages. Help with the syntax for the line: message.PlainTextBody = 'Account name: ' + cl.get('name') + ' has ' + (Integer)cl.get('co') + ' cases opened in the last 8 days.';`  is greatly appreciated.  List<AggregateResult> AggregateResultList = [SELECT AccountId, Account.Name name, COUNT(Id) co                                          FROM Case                                          WHERE CreatedDate = LAST_N_DAYS:8                                          GROUP BY AccountId, Account.Name                                          HAVING COUNT(Id)  >= 7];                           Set<Id> AcctIds = new Set<Id>();                 for(AggregateResult aggr: AggregateResultList){                      Id accId = (Id)aggr.get('AccountId');                         AcctIds.add(accId);                 }                  List<Case> caseList = [SELECT Id, AccountId, Account.Name,Parent_Project_if_applicable__r.Implementation_status__c,                                                 Parent_Project_if_applicable__r.PM_Implementation_Status__c,                                                  Parent_Project_if_applicable__r.RCM_Implementation_Status__c                                            FROM Case                                        WHERE AccountId IN :AcctIds];             Messaging.SingleEmailMessage message = new Messaging.SingleEmailMessage();             for(Case cl:caseList){                   if(cl.Parent_Project_if_applicable__r.Implementation_status__c == 'Live - Closed Project'){                             //Private method *** getAddresses() *** retrieves email address from Customer_Success_Managers Public Group                              message.toAddresses  = getAddresses();                            }                         else{                                message.toAddresses = new String[] { Parent_Project_if_applicable__r.Client_Advisor_Email__c  };                          }                     message.Subject = 'Subject Test Message';                     message.PlainTextBody = 'Account name: ' + cl.get('name') + ' has ' + (Integer)cl.get('co') + ' cases opened in the last 8 days.';                     Messaging.SingleEmailMessage[] messages =   new List<Messaging.SingleEmailMessage> {message};                     Messaging.SendEmailResult[] results = Messaging.sendEmail(messages);             } private List<String> getAddresses(){ List<User> UserList =         [SELECT id, name, email         FROM User          WHERE id          IN (SELECT userorgroupid              FROM groupmember             WHERE group.name = 'Customer Success Managers')];  List<String> emailString = new List<String>();  for(User u: UserList){     emailstring.add(u.email); }    return (emailString); }


Proof of this result related to Fibonacci numbers: $\begin{pmatrix}1&1\\1&0\end{pmatrix}^n=\begin{pmatrix}F_{n+1}&F_n\\F_n&F_{n-1}\end{pmatrix}$?

$$\begin{pmatrix}1&1\\1&0\end{pmatrix}^n=\begin{pmatrix}F_{n+1}&F_n\\F_n&F_{n-1}\end{pmatrix}$$  Somebody has any idea how to go about proving this result? I know a proof by mathematical induction, but that, in my opinion, will be a verification of this result only. I tried to find through the net, but in vain, if someone has some link or pointer to its proof, please provide, I'll appreciate that.  Thanks a lot!


I've looked up a lot of tutorials on YouTube and all of them only work for versions of Minecraft prior to 1.7.9.  I first got a Minecraft Coder Pack (MCP) off of , but then realized that only decompiles Minecraft 1.6.4. Then I found a more recent MCP (that's not on the website for some reason) and it is version 9.03, downloaded . This decompiles Minecraft version 1.7.2 (when I followed 's instructions, I run the decompile.bat file and it says Json file not found in C:\Users\mike\AppData\Roaming\.minecraft\versions\1.7.2\1.7.2.json).  Basically I can't decompile Minecraft 1.7.9, but I can decompile older versions. However, I don't have any older versions downloaded onto my computer. I have only 1.7.9.  Then I tried using Forge, but realized that most videos were using versions of Minecraft prior to 1.6.4, meaning they use the bin folder that does not exist anymore. Even after trying to figure that out as well, the decompiling would never work. I tried to do what  did, but couldn't replicate it. Then I finally looked at  about using Forge and I could replicate it, but this didn't decompile Minecraft. It just set up a workspace in Eclipse that I'm not sure how to use.  TL;DR  I can decompile Minecraft 1.6.4 and 1.7.2 but I can't decompile version 1.7.9. Should I download an older version of Minecraft, wait for an MCP for 1.7.9, or something else? Is there something I'm missing, where I actually can decompile and mod Minecraft 1.7.9?


I have a list of commands in a file called cmds, one command per line.  I want to grab the last command, set it in a variable last_command and run it later. with $last_command or "$last_command", or whatever is more appropriate.  I start by getting the last command:  $ last_command="$(cat cmds | tail -1)" $ echo $last_command cat file1 file2 file\ 3   The last line of cmds was cat cat file1 file2 file\ 3.  The problem is, when I run "$last_command", it will not know that the space between file and 3 is part of the file name and give me an error.


Make a partition with only Windows 8.1 in it. Already installed. And move it to SSD

I just bought a SSD and would like to migrate the OS from HDD to SSD. I tried easeUS Partition Manager but it says that the disk (120gb) isn't big enough.   I think the problem is that I don't have a specific partition for Windows. It's all in the same Partition of 532gb, maximum 931gb.  I would just like to move OS to SSD but I am not sure how. If not possible. Should I reinstall windows on SSD?


Unable to install new package or update on 14.04 LTS

i have a problem with upgrading ubuntu all packages that contain the word (proxy) did not download because of my internet server block it tried to upgrade several time and failed


How to prove $x^5 + x^4 + x^3 + x^2 + 1 = 0$ has no rational roots?

I know I can set $x = \frac{p}{q}$ and then multiply everything and then show there is a contradiction but is there an easier way to do this? like by some theorem?


What will be the area of the shaded portion?

The diagram given is a square in which two quarter circle with radius $10\mathrm{cm}$ and a circle touching midpoints of all sides of square with radius $5\mathrm{cm}$. The question is to solve area of shaded portion only using elementary geometry.No Trigonometry or calculus


If W₁ ⊆ W₂ ⊆ W₃......, where Wᵢ are the subspaces of a vector space V, and W = W₁ ∪ W₂ ∪......  Prove that W ≤ V.  So I proved that: If W₁ and W₂ are two subspaces of V and W₁ ∪ W₂ ≤ V then W₁ ⊆ W₂ or W₂ ⊆ W₁. (I let u ∈ W₁ - W₂ and v ∈ W₂ - W₁ and it was trivial)  Now I don't know how to use this to prove the problem. I'm getting confused. Maybe I don't have to use induction?


I wanted to check the FAQ to see if there was a guide on giving good answers, and I couldn't find one. Am I blind? Should this be added?  What made me think of it is a common theme in bad answers I have noticed recently. Usually involving the phrase, "I'm not sure but ..." or "I think...". My thought about answers like this is: The SO community is big enough that you should never answer if you're not sure. Someone is sure, and they will answer.  It might be nice to have a guide to refer to.


How to get foreign windows form properties

How can I detect properties of other windows forms open that are foreign to my application in C#? If not able to detect properties is there a way to identify a unique form? My goal is to be able to trigger an event based on if certain forms are opened and perform action on that event. I don't care if the process is open as there could be multiple processes open. Is there a way to identify foreign windows forms that are open?


How to get my previous Hat on Winter Bash?

I am playing Winter Bash every year, but unfortunately the Hats are missing now?  How can I get my previous Hats in Winter Bash 2014, 2015, 2016?  Is there any page that can I access?  There is only  or .    How to get the screenshots of my previous years?   If we cannot get the result of the previous year, what is the purpose of Winter Bash? Only for the profile picture?


Is this grammatically correct: "Will he roll the dice, and follow it to Vegas?"?

I want to use the following line in a poem:     Will he roll the dice, and follow it to Vegas?   A couple of things to note; firstly, obviously I'm using "roll the dice" in both a figurative/idiomatic sense (as in taking a risk), and in a somewhat more literal sense (painting the image of the person actually following the dice that have been rolled to Las Vegas).   That being said, my confusion here is if I can get away with using "follow it" or if I need to say "follow them" .... As I've read online "dice" traditionally refers to more than one die (i.e., the plural of die), but in the modern usage, "dice" can also be used to refer to the singular (i.e., just one die). So, it seems like if I was referring to the image of just one die, then the way I phrased it could be correct. However, the image I'm trying to paint is the one usually associated with the phrase "roll the dice" (i.e., rolling two dice)... So could "follow it" still be considered acceptable in this sense... or would I need to use "follow them"?... And if not referring to the dice themselves, could using, could the "it" be taken to refer to the act of rolling the dice, or would that not work either?


creating a function called toQueryString

I am attempting to create a string that is used with HTML. But the scope of what I am attempting is completed in javascript. My code is not returning the way my mentor has desired, so I am at a bit of loss.  My function is called toQueryString, which accepts an object and returns a string with each key and value separated by a = and each pair separated by a &. If the value is an array, add another pair to the string with each value.  My code is:  function toQueryString(obj) {   var key = Object.keys(obj);   var value = Object.values(obj);   var result = ``;   for (let i = 0; i < key.length; i++) {     for (let j = 0; j < value.length; j++) {       result += key[i] += `=` + value[j] + `&`;     }   }   return result; }  toQueryString({"bar": [ 2, 3], "foo": 1 }) // "bar=2&bar=3&foo=1"   This returns:  'bar=2,3&bar=2,3&=1&foo=2,3&foo=2,3&=1&'   but should return this:  bar=2&bar=3&foo=1   Can anyone help me figure out what is broken?


In my profile my hat is on the correct position, but not in the top-bar. This is new. It worked until now.    Works neither in Chrome nor in Firefox.


Using Array.map() in conjuction with parseInt gives unexpected results

I have the following JS Problem. If i try to convert an array of strings using the parseInt function as a mapped function with the Array.map method, i experienced this strange result. What is wrong here?  console.log(['1','1'].map(parseInt))   Returns a strange Array containing the following:  [1, NaN]  Is parseInt not a regular function?


What does it mean that dwarf speed isn't reduced by heavy armor?

In the PHB p.20      Speed. Your base walking speed is 25 feel. Your   speed is not reduced by wearing heavy armor.   The thing is I cant seem to find anywhere that heavy armor reduces speed. So to what is this referring to?


How to determine the current widget's parent container (sidebar widget id)

I have several custom widgets that are installed as part of my theme. I'd like to execute conditional code inside each widget's admin panel (not the public side, I'm just interested in the admin panel inside function form($intance)), depending on which sidebar the widget is inserted into.  How can I obtain a reference to the current sidebar id which holds the widget, from within the widget's function form($instance) handler?


Windows 8.1 doesn't recognize ubuntu 14.04 LTS

For past few days I only had ubuntu 14.04 installed. I made 4 partitions. 1st - for installing ubuntu,  2nd - for swap,  3rd - for /Home,  4th - as free space for installing windows.  Now, after installing windows 8.1, I am not getting any option to boot ubuntu. Windows automatically boots on starting the computer. How do I resolve this issue. Thanks in advance.


How can I make a coil with relief (volute)?

I'm trying to model a facade of an arch and I need to create a spiral as shown in these two photos.    I tried using the addon "Add curve: Extra objects" to create the spiral but  I can not remove the smoothing of vertices. Besides, I'm not sure if I'll have any problems when I change the mesh to adapt the spiral. Note that the figure in the pictures has a relief.  Is this the best way to model the figure?   Note: I'm learning Blender and I followed .


"==" in case of String concatenation in Java

String a = "devender"; String b = "devender"; String c = "dev"; String d = "dev" + "ender"; String e = c + "ender";  System.out.println(a == b);     //case 1: o/p true  System.out.println(a == d);     //case 2: o/p true  System.out.println(a == e);     //case 3: o/p false  a & b both are pointing to the same String Literal in string constant pool. So true in case 1 String d = "dev" + "ender";  should be internally using something like: String d = new StringBuilder().append("dev").append("ender").toString();  How a & d are pointing to the same reference & not a & e ?


In remark 5.16.1 the claim is made that if $i\colon X\to \mathbb{P}^r_Y$ is a closed immersion, then $i^*(\mathcal{O}_Y)$ is a very ample invertible sheaf on $X$, but I cannot determine why it is locally of rank 1. I tried to appeal directly to the definition of $i^*(\mathcal{O}(1))$, but wasn't able to make any sort of meaningful progress.


I am trying to find out differences between between a bunch of "would" conditionals

I am confused about how to correctly use if with would (+have) or  could (+have) while talking about past activities in conditionals.  Please check out these sentences and help me to figure out their differences:   Even if I had tried, I would not have known. Even if I had tried, I would have not known. Even if I would have tried, I would not have known. Even if I would try, I would not have known. Even if I try, I would not know. Even if I would try, I had not known.   Are those all grammatical and meaningful? If not, which ones aren’t? What does each one mean and when should I use it?


When I run a command on a new machine (or install that I'm testing) I often find that the package needs to be installed first. This leads, for example, to the following sequence:  > colordiff  The program 'colordiff' is currently not installed. You can install it by typing: sudo apt-get install colordiff   Argggh.  > apt-get install colordiff   Is there a way, when given the prompt that says the command You can install it by typing: sudo apt-get install XXXX to run sudo apt-get install XXXX without typing the entire line out? The best I can do is:  > apt-get install !!   but since some command (the shell?) is telling me what I should run, it would be nice if I could get that same program to run it for me.


Word or phrase for one who tries to benefit from everything someone else does

I am trying to find a good word or phrase to describe someone who (or the act of someone which) tries to benefit from everything someone else has or does.  The context is, on a personal level.   For example, a friend, parent or someone else tries to be included in all of the good things that come out of your hard work.  A more concrete example may be "My friend Sam is always pushing to drive my new car, stay at my new house, go out when I get paid knowing I'll pick up the tab, inviting herself and her child to any of my interesting outings for the child's benefit. Sam is ______".  I do want to make the distinction that this should not be strictly related to money. It's just one person who uses someone else's advantageous situation to benefit, at every possible opportunity. The word/phrase I am looking for should describe either that person or their act.


how to convert this C# code snippet to Javascript

I need to understand how Javascript handles the new string object just like in the C# code below  var UpperBound = 14; for (int i = 0; i < UpperBound; i++) {     Console.WriteLine(new string('*', i));   } Console.ReadLine();   This was how i did it in Javascript:    var upperBound = 14; for(var i=0;i<upperBound;i++){   console.log(new string("*", i)); }     Am a newbie in programming and i started off with javascript so if i appear dumb by asking this question pls pardon and assist me by explaining.. thanks


Answer edited to add another solution while overwriting the previous accepted solution

is my answer to a question, well, it used to be until the edit.   is the edit history for my answer. I just opened StackOverflow and I saw some users(Users -  and ) has edited my answer to a answer of their own while my answer is also a correct one.  When those users had an answer to the question, shouldn't they    post their answer as a different answer instead of overwriting mine??  have added their solutions as suggestions in comments to my answer?? have at least appended their answers to my answer instead of overwriting mine??   I just need my answer back there and their answers posted as a new one.


I noticed that someone asked a  on how to consume C# COM component in C++  But that thread is marked as duplicate because the title of question is too generic and does not specify C#.  Since I am not able to answer that question, I am creating this new question which I'll answer and others can also put forward there suggestions


regex for extracting js function onclick ="unSelAll('FBtest11_6',this.value,this.id)"

I want to get the string after =" and before " eg - unSelAll('FBtest11_6',this.value,this.id)   some times the =" " might be =''  eg - onclick ='unSelAll("FBtest11_6",this.value,this.id)'  I want the string starting from function name only


Reviewing a suggested edit from a review queue jumps to the suggested edit queue

I was in the first posts review queue and chanced on a post with a suggested edit. (Note: I have enough reputation to review suggested edits.) I clicked on “edit (1)” and was taken into the suggested edits queue. When I approved the suggested edit, I was taken to the next suggested edit, and so on until there were no more suggestions (“There are no items for you to review.”, still in the suggested edits queue). In this situation, I think it would make more sense if I was brought back to that post I was working on in the first posts queue, as soon as I acted on its suggested edit. Alternatively, the suggested edit should be shown in the same kind of pop-up as on a question thread page. The same goes for other queues (late answers, low quality, etc.).


How to prevent downloading low-res images?

Context: I run a photography business that encourages people sharing photos without restrictions. My websites contains galleries of thumbnail images where each image links to the original, high-res version. For example, a gallery page may look like this:  The webpage uses  that switches the browser to full screen mode when the user left-clicks an image, showing the full resolution version of the image. This all works nicely both for viewing and downloading images. Users can simply right-click the high-res version and select "Save Image As..." from the context menu. Alternatively, they can right-click the thumbnail image and select "Save Link As..." to accomplish the same thing. However, I recently found out that some users attempt to download images by right-clicking the thumbnail image and selecting "Save Image As...", which results in downloading a low resolution version rather than the original image. This has resulted in my photos being shared and displayed by others in low resolution, something which they did not intend to do. How can I improve the UX of my photography website to prevent users downloading low resolution images?


Biblatex - capital names in references, regular in cites

I am trying to achieve a biblatex style that would do the following:  in the case of \parencite{} I would get ...like that (Smith 2010).   in the case of \textcite{} I would get Smith (2010) says that...  but in References I would get SMITH, J. Bookname.  How can I achieve this?  I use \usepackage[style=authoryear, firstinits=true]{biblatex}  I tried \renewcommand*{\mkbibnamelast}[1]{\MakeUppercase{#1}} but that makes the name uppercase even in the text, which is undesirable especially with \textcite{}


"There had emerged" <--- What does "there" mean here?

There had emerged on the steppes of Inner Eurasia the distinctive types of pastoralism that were to dominate the region’s history for several millennia.   I have questions about the excerpt above:     What is the meaning of "there" in "there had emerged", which tense is that, can I say it in a different way and how?    Why the writer used "were to dominate" not "were dominating"?


How to install skype Ubuntu 12.04 and later

Many people are having troubles during Skype installation, because dpkg commands change in later Ubuntu releases. Method I am using is mentioned .


Simple Prepared statement with placeholder not working

So I was wondering why this prepared statment would not work  $makr = 'users'; $stm = $con->prepare("SELECT * FROM ?"); $stm->bindparam(1, $makr); $stm->execute();   I keep getting this error.  Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dd23834_house.'users'' doesn't exist' in /nfs/c11/h05/utt/23824/domains/.../html/home.php:77 Stack trace: #0 /nfs/c11/h05/utt/23824/domains/.../html/home.php(77): PDOStatement->execute() #1 {main} thrown in /nfs/c11/h05/utt/23824/domains/.../html/home.php on line 77   Yes I do have a table named Users.  I only want to grab everything from the users DB, I do NOT have a where clause in that but I also want it to be secure.


What is the shutter speed needed to stop motion?

I find that taking pictures where the subject is in motion (people, pets, toy helicopters) I get a blur where there is movement.  On the other hand I see images of a drop of water in free fall in perfect clarity.  How fast does the shutter need to be to capture action in motion with perfect crisp clarity?  For example I want to catch a dog shaking himself dry after a swim and not get a bury mess but to see the hairs flying and water frozen in the air as it flies off the dogs fur and makes a giant mist around the dog.


Should these sentences actually use 'whom' instead of 'who'?

I'm fairly confident that some of the grammatical advice I've been reading recently is arrant balderdash. It relates to the distinction between the ‘who’ and ‘whom’. I'm sure this is a classic case on this forum, and I'm curious to see if I'm mistaken or misleading information has been disseminated. Both examples are from Quora. The first instance where a Quora thread contains possibly erroneous advice is when a user (Melanie Lee) implies that ‘you know who I'm talking about’ is grammatical. However, this appears to be the grammatically correct version: ‘you know whom I'm talking about’. In the relative clause of the example sentence, there is a subject pronoun, so the relative pronoun should take the accusative (a.k.a. objective) case. I'd also commonly say, 'I'm talking about him/her/them’, so I could easily say ‘whom’ instead. This rephrasing of the relative clause into a sentence should show my logic. The thread:  In another thread, a different Quora user (Warren Sentes) claims that ‘"Do you know whom it is from", is actually the incorrect use of the object pronoun’. I disagree! It seems absurd, as ‘it’ is the subject of the relative clause! The gender-pronoun test for grammatical cases can even be used here: it is valid to say that ‘it was from him/her/them’, so it is actually grammatically correct to also write ‘whom’ there as well. How can this be taken on as the top answer? The thread:  Is there something I'm missing? I thought I properly understood this rule. I appreciate any answers. Thanks in advance.


I don't care for him so much. But SHE, I care a great deal for

I don't care for him so much. But she, I care a great deal for.      In this scenario, isn't it correct to say "She" rather than than "Her?"  (ex: Her, I care about vs. She, I care about.) My wife thinks it's "Her" instead of "She." Just trying to settle an argument. Is this sort of an improper way to shape the sentence? I feel like it's technically OK, but it's more acceptable to say "I don't care much for him, but I care a great deal for her.)


javascript addEventListener function with arguments without using an anonymous function

How can I get the code below to work? I'm trying to pass an argument to doAlert() without using an anonymous function. var d = new Date(); var a = d.getTime();  e = document.getElementById('trigger') e.addEventListener('click', doalert(a), false);  function doalert(a) {     alert(a); }  The below code works fine, but I cannot do it this way e = document.getElementById('trigger') e.addEventListener('click', function() {     doalert(a) });  HTML <!DOCTYPE html>
Click to test


Distance between sets with one closed set and one compact set

I would like to prove the following statement.  Let A and B be nonempty disjoint subsets of $\mathbb{R}$ where A is closed and B is compact. Then there exists $a \in A$ and $b \in B$ such that $inf${$|a-b|$:$a \in A, b \in B$}=$|a-b|$    I read a similar question above where the concept of "limit point" and others were used, but my class (Introduction to Analysis) has not gone that far; most of all, I would like to prove the statement from the knowledge that the class covered.  So far, I have learned definition of limit of a sequence, Bolzano-Weierstrass Theorem. Also, I just learned (and proved) that there exists a sequence ${a_n}$ in E such that $\lim{a_n} = \inf{E}$ if E is a nonempty subset of $\mathbb{R}$ (whether E is bounded below or not due to the extended real numbers).   From the things that I learned, first, I constructed a set $E$={$|a-b|$:$a\in{A}, b\in{B}$} and I know that there exists a sequence ${x_{n}}$ in E such that $\lim{x_{n}}=infE$. Since ${x_{n}} \in{E}, x_{n}=a_{n}-b_{n}$ where $a_{n} \in A, b_{n} \in B$. Let $infE = \beta$. Then, this leads to $\lim{(a_{n}-b_{n})}=\beta$. Then, for any $\epsilon$>0, there exists $N \in$ $\mathbb{N}$ such that $|a_{n}-b_{n}-\beta|<\epsilon$ for all n $\ge$ N.   Then, I could not proceed. I should use conditions that A and B are disjoint, A is closed, and B is compact. Could anyone help me proceed? I had a feeling that using contradiction might work from the link above, but it is quite tough. Since I am a novice (just started taking Introduction to Analysis), I would very much appreciate it if you could help me prove this at the beginner level.


I'm trying to get the border of a
 element to only take up the space occupied by text. Here's the relevant part of my html:
        Plate number:

5649JSN

    And here's how it looks:  How can I fix this? Thanks in advance Edit: I can't know beforehand how much space the plate number will take


Let $A$ be a local ring, $M$ and $N$ finitely generated $A$-modules. Show that if $M \otimes N = 0$ then $M=0$ or $N=0$

Let $A$ be a local ring, $M$ and $N$ finitely generated $A$-modules. Show that if $M \otimes_A N = 0$ then $M=0$ or $N=0$   I read one proof from my book and it goes as follow: First, show that $(A/I)\otimes M \simeq M/IM$ by tensor the exact sequence $0\to I \to A \to A/I \to 0 $ with $M$. Then, let $m$ be the maximal ideal, $k=A/m$ the residue field. Let $M_k := k\otimes_A M \simeq M/mM$. By Nakayama's lemma, $M_k = 0 \Rightarrow M=0$. But $M\otimes_A N = 0 \Rightarrow (M\otimes_A N)_k = 0 \Rightarrow M_k \otimes_k N_k =0 \Rightarrow M_k = 0$ or $N_k =0$.  I could not understand 2 parts of above proof. First, how could we deduce $(A/I)\otimes M \simeq M/IM$ by tensor the exact sequence $0\to I \to A \to A/I \to 0 $ with $M$? Is there another easy argument to show $(A/I)\otimes M \simeq M/IM$ ? Secondly, how is it possible that $(M\otimes_A N)_k = 0 \Rightarrow M_k \otimes_k N_k = 0$?   Can anyone give me a clarification? Thank you in advance!


Disable chat migration notification if one of the users has insufficient rep?

Simple request, really.  Can we add a detection for the     Please avoid extended discussions in   comments. Would you like to   automatically move this discussion to   chat?   prompt, so that if one of the users in the "extended discussion" has under 20 rep it doesn't appear?  I think a lot of the users this apply to will have low rep and it may take some back and forth to get good info out of them.  New suggestion: how about if a sufficiently high-rep user is clicking on the link, the low-rep user gets a field promotion sufficient to chat? Low-rep users are particularly prone to post questions to lead in this direction of needing to move to chat.


How does one qualitatively describe the cubic increase of experimental data

I have generated some data Y and would like to describe its variation as a function of some variable X. Using MS Excel, I obtained the trendline shown in the figure below which suggests that Y varies approximately cubically with X. However, I would like to omit the trendline itself (leaving only the data points marked by the blue diamonds) and describe the data qualitatively in an increasing sense. To that end, would it be accurate for me to use the following statement: the data Y increases approximately cubically with X?


Problem with popup conclusion on pressing a marker

I have markers on pressing to which popup has to be brought. how to make it? (coordinates of markers undertake from a DB)  var map; var markers;   function ejecutar() {     init(3);     //loadMarkers(); } function init(b,kor_1,kor_2) {     if (b == 3) {         map = new OpenLayers.Map("basicMap", {             controls: [                 new OpenLayers.Control.Navigation(),                 new OpenLayers.Control.PanZoomBar(),                 new OpenLayers.Control.LayerSwitcher(),                 new OpenLayers.Control.Attribution()],             maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.34),             maxResolution: 156543.0399,             numZoomLevels: 2,             units: 'm',             projection: new OpenLayers.Projection("EPSG:900913"),             displayProjection: new OpenLayers.Projection("EPSG:4326")         });     }      layerMapnik = new OpenLayers.Layer.OSM.Mapnik("MapaCiudad");     map.addLayer(layerMapnik);     var lonLat = new OpenLayers.LonLat(50.5206298828125, 55.15881723298661).transform(new OpenLayers.Projection("EPSG:4326"), map.getProjectionObject());     //map.setCenter(new OpenLayers.LonLat(-3.862788677215576, 43.4669443349282) // Center of the map     map.zoomTo(9);     map.setCenter(lonLat, 19);       //создаем дорогу      var lineLayer = new OpenLayers.Layer.Vector("Линии");      map.addLayer(lineLayer);                         map.addControl(new OpenLayers.Control.DrawFeature(lineLayer, OpenLayers.Handler.Path));      var points = new Array(        new OpenLayers.Geometry.Point(37.61556, 55.75222),        new OpenLayers.Geometry.Point(45, 33),        new OpenLayers.Geometry.Point(49, 35),        new OpenLayers.Geometry.Point(45, 56),        new OpenLayers.Geometry.Point(49, 87)     );      var line = new OpenLayers.Geometry.LineString(points);     line.transform(new OpenLayers.Projection("EPSG:4326"), new OpenLayers.Projection("EPSG:900913"));      var style = {          strokeColor: '#0000ff',          strokeOpacity: 0.5,         strokeWidth: 5     };      var lineFeature = new OpenLayers.Feature.Vector(line, null, style);     lineLayer.addFeatures([lineFeature]);       var popup = new OpenLayers.Popup.FramedCloud(              "popup",              OpenLayers.LonLat.fromString(feature.geometry.toShortString()),              null,              '
'+feature.data.Name + '
test.url' + '
',              null,              true          );      //добавление на карту      map.addPopup(popup, true);        //создаем маркер     markers = new OpenLayers.Layer.Markers("Marcadores");     map.addLayer(markers);      if (b == 2)      {                         //=================  =========стили для маркеров и тут хранятся координаты             var size = new OpenLayers.Size(30, 30);             var offset = new OpenLayers.Pixel(-(size.w / 2), -size.h);              var location = new OpenLayers.LonLat(kor_1, kor_2).transform(new OpenLayers.Projection("EPSG:4326"), map.getProjectionObject());             var icon = new OpenLayers.Icon('http://icons.iconarchive.com/icons/icons-land/vista-map-markers/256/Map-Marker-Ball-Pink-icon.png', size, offset);             markers.addMarker(new OpenLayers.Marker(location, icon.clone()));          }   }                        function add_metka()     {         function dobavit(koor1, koor2)         {              init(2,koor1,koor2);         }       @foreach (Дорожное_строительство.Models.koordinats_piket picket  in ViewBag.Data)     {     <text>         dobavit(@picket.Dolgota,@picket.Shirota);            </text>     }      }      setTimeout('add_metka()', 6000) </script>


Can you take the same feat multiple times?

Can the same character take a given feat multiple times to gain the benefits all over again?  It seems obviously stupid that you can't, but I can't find anywhere in the RAW that actually states that.  The closest I get is Elemental Adept's "You can select this feat multiple times" sentence, which implies that most feats can only be taken once.  The feat I'm eyeing very specifically is Magic Initiate, which lets you add a splash of magic from other classes to a given character.  If I've read online documents correctly, I can use my core class (sorcerer) spell slots to cast the 1st-level spell I gain access to, which means I could grab shield of faith, use Twinned Spell on that, then turn around and grab the bard's spell list to grab healing word and turn my sorcerer into a semi-support caster.


I'm trying to create a float that spans two columns that has multiple side-by-side subfigures.  I've included the subcaption environment, and here's what I've got so far:  \begin{figure*}[h] \begin{center}     \begin{subfigure}[h]{0.3\textwidth}     \begin{tikzpicture}     \begin{axis}     \addplot[color=black!100,mark=x] coordinates {         (1, 4.89)         (2, 6.74)     };     \end{axis}     \end{tikzpicture}     \end{subfigure}      \begin{subfigure}[h]{0.3\textwidth}     \begin{tikzpicture}     \begin{axis}     \addplot[color=black!100,mark=x] coordinates {         (1, 21.9)         (2, 15.6)     };     \end{axis}     \end{tikzpicture}     \end{subfigure} \label{Results2} \end{center} \end{figure*}   However, this ends up giving me two subfigures one over the other.  What am I doing wrong?  Thanks in advance for the help


How to install a Steam game on PlayOnLinux?

I'm quite new to PlayOnLinux so I got really confused as I tried to install some of my Steam games. I'm using the newest version of this program. I installed Steam by selecting it from the installation list. Everything was installed and Steam runs fine. Now I've clicked on the "Install" tab and I've chose "Counter Strike: Global Offensive". PlayOnLinux opened an installer and added some things like DirectX and so on, but at one point it wanted to install Steam again and the Steam setup window opened. My problem is that I already have steam installed and skipping the setup causes an error... Does anyone know the correct way to add Steam games correctly?


A very basic ring theory question, which I am not able to solve. How does one show that    $\mathbb{Z}[i]/(3-i) \cong \mathbb{Z}/10\mathbb{Z}$. Extending the result: $\mathbb{Z}[i]/(a-ib) \cong \mathbb{Z}/(a^{2}+b^{2})\mathbb{Z}$, if $a,b$ are relatively prime.   My attempt was to define a map, $\varphi:\mathbb{Z}[i] \to \mathbb{Z}/10\mathbb{Z}$ and show that the kernel is the ideal generated by $\langle{3-i\rangle}$. But I couldn't think of such a map. Anyhow, any ideas would be helpful.


split line in cpp with multiple delimiter

I want to split each line  by the appearance of  <=> or => So I have 2 delimiters and each of them has more than one character    string example="A + B => C + D";   vector <string> leftRight;   boost::algorithm::split_regex( leftRight, example, boost::is_any_of( " <=> +| => " ));   my expected result is something like this:  leftright[0]= A+B leftright[1]= C+D


#!/bin/bash #... exec >> logfile #cmd   I guest it's save output. Could you expand it with the same example? Thank you very much!  I often use this command to list txt files:  find / -type f -exec grep -l "bash" {} \;   but I can't very understand too.    How can there be such good people in the world.very very moved!


A functional equation over a circle: $f(r \cos \phi)+f(r\sin \phi)=f(r)$

I am interested in the functional equation $$f(r \cos \phi)+f(r\sin \phi)=f(r),\qquad r\geq 0,\ \ \phi\in[0,\pi/2]\text.$$ Let's assume that $f:[0,\infty)\to\mathbb R$ is monotone. Clearly, $f(x)=ax^2$ is a solution. Are there any other solutions?


I am new to blender and have been following Blender Guru's donut tutorial. When I go in sculpting mode for the icing I always end up getting getting holes for the icing. But When I select the donut I have no problems. I have applied the solidify modifier and the subdivision. I have played with the settings. Nothing is working. The donut looks fine when I am on layout and edit mode. I can sculpt but on it but the wholes wont go away.


How to count how many homomorphisms from a (finite) cyclic group to another?

I know that to define a homomorphism between cyclic groups, we only need to determine where the generator goes to. But any smart general idea to determine which choice can send zero to zero?


find the general integral manifolds of a given distribution

Let $D$ be the distribution on $M=\{(x,y,z),x,y,z>0\}$ generated by $X=y\frac{\partial}{\partial z}-z\frac{\partial}{\partial y}$ and $Y=z\frac{\partial}{\partial x}-x\frac{\partial}{\partial z}$, show $D$ is involutive and find the general integral manifolds of $D$.  I compute the flows of $X$ and $Y$, there are a lot of $\sin$ and $\cos$ in the form of flows of $X$ and $Y$ , I got $\phi_t(x,y,z)=(x,-z\sin t+y\cos t,y\sin t+z\cos t)$ and $\psi_s(x,y,z)=(z\sin s+x\cos s,y,-x\sin s+z\cos s)$, but to find the integral manifolds at last, I can not eliminate $s$ and $t$ to get a general form


Failure to download "ttf-mscorefonts-installer". Not even reinstall works!

I get this message everytime I log in:     Failure to download extra data files      The following packages requested additional data downloads after   package installation, but the data could not be downloaded or could   not be processed.      ttf-mscorefonts-installer      The download will be attempted again later, or you can try the   download again now.  Running this command requires an active Internet   connection.   When I try to reinstall the package, I get this error:  $ sudo apt-get install --reinstall ttf-mscorefonts-installer             Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/29,5 kB of archives. After this operation, 0 B of additional disk space will be used. Preconfiguring packages ... (Reading database ... 322478 files and directories currently installed.) Preparing to unpack .../ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb ... mscorefonts-eula license has already been accepted Unpacking ttf-mscorefonts-installer (3.4+nmu1ubuntu2) over (3.4+nmu1ubuntu2) ... Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ... Processing triggers for update-notifier-common (3.168.2) ... ttf-mscorefonts-installer: processing... ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe Err:1 http://downloads.sourceforge.net/corefonts/andale32.exe   The HTTP server sent an invalid Content-Range header Bad header data [IP: 78.35.24.46 80] W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/andale32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) E: Failed to fetch http://netcologne.dl.sourceforge.net/project/corefonts/the fonts/final/andale32.exe  The HTTP server sent an invalid Content-Range header Bad header data [IP: 78.35.24.46 80]  E: Download Failed Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...   What could I do?  UPDATE  Seems like there is a bug about this topic:


How to code a welcome message in minecraft 1.14?

I have a realm that i'm trying to make a welcome message appear only for the player who joined, each time they join. I've looked at some old videos and tried to update the code, but to no success. The best I could come up with is: /execute if score @p[scores={JoinGame=1}] JoinGame Ive already created a scoreboard that uses the score "minecraft.custom:minecraft.leave_game"  I'm pretty new to the new command block system, so a lot of this doesn't make much sense to me. Any help will be greatly appreciated!


Inequality for the p norm of a convolution

Let $1\le p < \infty$. Let $g \in L^p(\Bbb R^n)$, and $f \in L^1(\Bbb R^n)$.   Show: $||f*g||_p \le ||f||_1||g||_p$, where $*$ indicates the convolution defined by   $$ f*g (x) := \int f(x-t) g(t)dt.$$  Here is a relevant hint, apparently:  Let $q$ be the conjugate of $p$. Note that:  $$|f*g| \le \int [|g(t)||f(x-t)|^{1/p}]|f(x-t)|^{1/q}dt,$$ then apply Holder's inequality.  I did exactly as the hint suggested, and ended up with what looked like a meaningless inequality compared to the final answer. I even took the $p$ power of both sides.   Any help?


"We can't play tennis if it will be rainy tomorrow" or "... if it is rainy tomorrow"?

Which of these two sentences is correct? And why?     A) We can't play tennis if it will be rainy tomorrow.   B) We can't play tennis if it is rainy tomorrow.


Referencing page number with only one reference

So I'm making this summary of a course where I've only been getting information from one book. Sometimes I want to show what page from the book a statement is taken from but I can't figure out a clean way of doing it.  Basically I would like to have something (in function) similar to:  "Statement[Book p123]"  Do you have any suggestions?


I have a carbon steel wok but it became rusty recently when I forgot something in it for a day.  I decided to scrub everything off and re-season it. The problem is I can't get the center of the wok to be seasoned. No matter how much oil I add, it burns and disappears leaving the center as bare metal...  My method is applying a very thin layer of oil and making it burn on the gas, then when it's dry (and not seasoned...) I rub more oil. It worked for everywhere except the middle.  Should I scrub off everything again and start over? If not, what should I do?


Could someone please explain the concept of identifiability of parameters for some statistical model? I am having some difficulties to understand the concept  and how to derive it say for example from the poisson or exponential distribution. I understand that the gist of it is that if two identical parameters should generate the same probability distribution. Could you please explain a bit more in detail this concept and when it does not work? Thank you SB


I was experimenting with floating points, and I came across something weird.  I did  8.00000000000000100000.toFixed(20)   in the console and got  8.00000000000000177636   How is this possible?  I heard floating points round, but this doesn't seem rounded.  Does it have to do with the conversion to a string in toFixed?


I have this scene where i want to keep the HDR lighting, but not necessarily the reflection in the windows. I want the reflection to be blue, sky coloured. How can i reflect the sky part of the HDR in the windows. Is this possible?


Where can I download previous builds of Blender 2.8?

I want to follow a tutorial that uses a build from July 13th, but the layout has changed a bit.


Non-numerical citation mark like [Str91] [Samar] [Tro77]

I am in need of a particular citation style, it is different from the ones offered by \cite, \citep or \citet.   This is how i would like the marks to look like    and this is how the bibliography should be.   I am not referring to the particular \bibliographystyle but to the fact that there are personalized names instead of numbers. I am not sure of it, but I believe that these marks were handcrafted.  At present I am using BibTex, but if needed i am ready to move to other tools.  This is an excerpt of my .bib   @article{maietti2009minimalist,   title={A minimalist two-level foundation for constructive mathematics},   author={Maietti, Maria Emilia},   journal={Annals of Pure and Applied Logic},   volume={160},   number={3},   pages={319--354},   year={2009},   publisher={Elsevier} } @article{coquand1998realizability,   title={A realizability interpretation of Martin-L{\"o}f’s type theory},   author={Coquand, Catarina},   journal={Twenty-Five Years of Constructive Type Theory},   year={1998} }


What's the easiest way to get started with LaTeX?

I'd like to learn and use LaTeX on Ubuntu.  What packages do I need?  What is the best editor for LaTeX code on Ubuntu for a new LaTeX user?  I'd also like the ability to see the code in one pane and the results in a second pane, if possible -- not necessarily WYSIWYG, though.


I do not know any multimodal distributions.   Why are all known distributions unimodal? Is there any "famous" distribution that have more than one mode?  Of course, mixtures of distributions are often multimodal, but I would like to know whether there exist any "non-mixture" distributions that have more than one mode.


Why can I not return a List if asked for a List?

I understand that, if S is a child class of T, then a List<S> is not a child of List<T>. Fine. But interfaces have a different paradigm: if Foo implements IFoo, then why is a List<Foo> not (an example of) a List<IFoo>?  As there can be no actual class IFoo, does this mean that I would always have to cast each element of the list when exposing a List<IFoo>? Or is this simply bad design and I have to define my own collection class ListOfIFoos to be able to work with them? Neither seem reasonable to me...   What would be the best way of exposing such a list, given that I am trying to program to interfaces? I am currently tending towards actually storing my List<Foo> internally as a List<IFoo>.


Notation for specifying the fractional part of a number

Just like the title says, what is the notation for specifying the fractional part of a number?


I am having trouble reading my JSON file back to it's respective class. I am using Jackson 2.6.3 API  ObjectMapper objectMapper = new ObjectMapper();  list<Movie>myMovies = objectMapper.readValue(JSONFile,objectMapper.getTypeFactory().constructCollectionType(List.class, Movie.class));   My Movie class  public class Movie {     private List<String> reviews;     /*Some more variables here */      public Movie() { // default constructor      }      public List<String> getReviews(){         return this.reviews;     }     public void setReviews(String review){         this.reviews.add(review);            } }   Error log   com.fasterxml.jackson.databind.JsonMappingException: N/A (through reference chain: java.util.ArrayList[0]->entity.Movie["reviews"])     at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:564)     at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:548)     at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:99)     at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:258)     at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)     at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)     at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:217)     at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:25)     at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3736)     at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2658)     at entity.Movie.loadMovies(Movie.java:427)     at myPackage.Application.main(Application.java:31) Caused by: java.lang.NullPointerException     at entity.Movie.setReviews(Movie.java:45)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:97)     ... 9 more   Sample of my JSON File  [      {         "movieID":1,       "title":"13",       "type":"DIGITAL",       "status":"COMING SOON",       "synopsis":null,       "director":null,       "mRating":"G",       "casts":null,       "showTimes":null,       "reviews":null,    } ]


Is there a way to transfer files from a large amount of damaged CDs?

I'm trying to pull a lot of files off of a lot of old CDs, and I'm getting all kinds of errors and hangs. The CDs are old and covered with scratches, so it's to be expected, but I have still been able to recover some of the files.  I was wondering if there is a way to skip the problem files but generate a list of skipped files so I can see what got missed.  I'm using Windows 7, but I am also comfortable in Linux if there are more options in that environment. I am also using a Samsung external CD reader with a USB interface.


How can I adjust the horizontal spacing between legend entries in PGFPlots?

I am using legend columns=-1 to make a horizontal legend. However, the distance between the individual legend entries is too small for my taste. Is there a straightforward way to increase the horizontal spacing between individual legend entries?


Is it possible to get non-significant post hoc test in a significant ANOVA test while the unpair t-tests are significant?

I conducted One-Way ANOVA to compare means in 4 groups. The ANOVA was significant, but the post hoc tests were non-significant. Then, I applied unpair t-tests to compare each group to the lowest group. The unpair t-tests were significant. So, is it reasonable to meet something like this, and if yes, why? I would appreciate any try of help as I am a beginner in statistic and confused.


If I have bought X tickets, do I have X hand baggage allowances?

If I have bought 3 tickets for the same flight, can I bring three times the cabin allowance allowed per ticket?  The way I see it I am doing the airline a favor  Related:


Sending on behalf of a user in Outlook fails with permissions error

I get the following deliverable message when trying to send using another accounts email address:     You can't send a message on behalf of this user unless you have permission to do so. Please make sure you're sending on behalf of the correct sender, or request the necessary permission. If the problem continues, please contact your helpdesk.   The account has Full Access and Send As permissions in Exchange 2010. Deleting the address from the From: field (clicking the black cross), redownloading the GAL or deleting the C:\Users\username\AppData\Local\Microsoft\Outlook\Offline Address Books folder all fix the problem, but only for one email. After the first email is sent successfully I then continue to get the above message again.  Turning off Cached Exchange Mode also fixes the problem, but I want that on.  Is there another way to fix this?


Should it be 30 day free trial or 30 days free trial?  I believe it should be 30 day free trial but I can't find the grammar rule to back this up. I am trying to explain it to someone who is not a native English speaker.


Putting ']' symbol in a subcaption gives ! Extra }, or forgotten $ error

When writing my M.Sc. thesis, I noticed that when I want to write an interval (like so: $[a,b]$) in the subcaption of a Figure, I get an error ! Extra }, or forgotten $. Deleting only the right, closing bracket fixes the issue. How do I get around this? MWE: \documentclass{report} \usepackage{graphicx} \usepackage{subfig}  \begin{document} \begin{figure} \centering \subfloat[$I_{10}=[36,169]$]{\hspace{-1cm}\includegraphics[scale=0.39]{example-image}} \subfloat[$I_{20}=[49,169$]{\includegraphics[scale=0.39]{example-image}} \caption{Here is a caption.} \label{label} \end{figure} \end{document}  The above code gives the error just because I inserted the right square bracket in the first subfloat.


I have thought a lot on this point but now needs help. If Universe is Infinite, Then we must be receiving Infinite energy from infinite stars and systems. So what's going on?


Xcode command line tools install error trying to run homebrew

I am trying to install homebrew but cannot due to an error popping up when I try to install command line tools. The error says that they cannot be downloaded from the install server. I already checked the library to see if Xcode is there ..nothing. I'm running Catalina. Note : I only want the command line tools, not the whole 10GB Xcode download, which I heard snoops on your system. Thanks in advance!


How can you tell if something is a CFG or not? I am wondering if you could create a math/LaTeX parser using a parsing expression grammar (PEG), or not. Is this possible, and how can you tell?


hyperlink name with biblatex authoryear (biblatex 1.4b)

I'm new here so I'm not sure if this is the right way to express my question:  I'm using the excellent biblatex package with the author-year style and want the links in my citations to include the name of the author as well as the parentheses. The answer presented at  did exactly what I wanted but it seems the solution is broken with the newest biblatex version 1.4b. Can anyone help me by adapting the code to the newest biblatex version?


How to remove indentation for all paragraphs?

I am finding this very inefficient, every time I type up something MiKTeX just indents for me and I have to enclose everything in \noindent{...}.  Is there a quick way of going past this?


Prove $G=N_G(P)H$ where $H \lhd G$ and $P \in Syl_p(H)$.  I definitely need some help with this one. I was thinking that maybe the problem meant to say that $P$ was a sylow subgroup of $G$, that would make this seem much more reasonable. Does anyone have any insights?


Quickest way to generate a sequence of consecutive numbers in a random order

Whats the quickest way to generate a list of consecutive numbers in a random order?  i.e. generate a list of numbers from 1 to 100, the list must contain each number once only. The order of the list should be random.  java or c# please.  my pseudocode looks like this, very inefficient.   var list = new list<int>();  for (int i = 1; i <= 100; ++i) {      int x;      repeat {          x = random(1, 100);      until (list.contains(x) == false);      list.add(x);  }


Is there a particular way on how to handle errors if my FileInputStream cannot find the inputted file name in its directory? I'm just trying to make it so if my program can't find the file that was typed it'd print an error stating "file doesn't exist"  EDIT: Left out info. Hoping to let users reinput the file name.


Appendices and Bibliography in Table of Contents

My document class is report. I am using chapters and sections within those chapters.   I have used the \begin{thebibliography} to create my bibliography, can someone tell me how I can add this to the table of contents?  Also I will be adding an appendex, can someone tell me how to create an appendix so that it shows in the table of contents?


PDE Evans, 1st edition, Chapter 5, Problem 14

Let $U$ be bounded, with a $C^1$ boundary. Show that a ''typical'' function $u\in L^p(U) (1\leq p < \infty)$   does not have a trace on $\partial U$. More precisely there does not exist a bounded linear operator   $$T:L^p(U)\rightarrow L^p(\partial U) $$   such that $Tu=u|_{\partial U}$   whenever    $u\in C(\bar{U})\cap L^p(U)$


so I have tried to open my ubuntu in virtualbox and it doesn't work (it did earlier today). The thing is that I can open it but it doesn't show me the desktop, it only shows like a big terminal:    Edit: Ok now I remember i was unistalling libstc++6; I have worked on that virtual machine for the whole day but while i was removing libstc it like bugged/freezed (idk if the removing had finished) as I could not log in, the keyboard didnt work. Then I shut it down and started it again and that happened.


If (ideals) $J\subseteq I_1\cup\dots\cup I_n$ and $I_3,\dots,I_n$ are prime then $J\subseteq I_k$

Let $R$ be a commutative ring with a unity. Let $I_1,\dots,I_n,J\subseteq R$ be ideals, $I_3,\dots,I_n$ are prine and $J\subseteq I_1\cup\dots\cup I_n$. Show that $\exists k$ s.t. $J\subseteq I_k$.   Attempt:  If $n=1,2$ then it is easily shown. Suppose $n=3$. Not sure how to porceed.


Say you start the job like this  foo   and then desire that you want to place it in background. Typing Ctrl+Z and then bg does the trick but will freeze foo between Ctrl+Z and bg. How can I place foo in the background without first freeze it?


I installed Ubuntu via usb with no problems, but when I restart, I get an error message:   error out of disk" 'grub rescue.   How can I fix this?


How does my dual core i5 in my MacBook Pro have more than 400% CPU usage?

I've got the Early-2015 13" MacBook Pro (2.7 GHz i5) and whilst I was building Smart Previews for all my 1600+ photos in Lightroom 5 I noticed that the fan had come on (unusually) and that the laptop was starting to get rather hot.  When I had a look at Activity Monitor, I saw that Lightroom was using around 300% CPU. Fair enough, I'm sure it's an intensive process. However, I also saw the usage for Lightroom jump higher than 400% on several occasions (usually up to around 410%).  I understand how my CPU is Hyper-Threaded so that it has 4 cores/400% CPU available, but how could it possibly use more than that (bearing in mind several other processes were running as well)?  Cheers, Dan


Can you implement WYSIWYG editor in the mobile version of Stack Overflow? I'm kinda often use the site from my iPhone and it would be nice not to enter *s and `s manually. :)


What's the best way to inject html template (which also contains  tags) with JavaScript? What I intend to do is for the user to add a line of code like this:

 and then a  tag that populates the div with the html. And how could I inject


It was ... salted the earth around your flower deck.    I wrote the second form "It was me". I have chosen the most "appropriate" answer to this question as somebody who is learning English.  This decision was made on a phonetic basis so it's for sure I made a mistake.   Surely you have a rational explanation to this exercise, maybe a grammar rule, or is it an English expression?


I have a problem in size of formulas. I used  \small{some formula}   and  \begin{small} some formula \end{small}   but, non of them works.


What is the length of the intercept made by the parabola ${ y }^{ 2 }=4x$ on the line $x+y=3$?

I did not understand what is meant by length of intercept? Isn't intercept the point where the line cuts the axis? How can a point have a length? The answer given for length of intercept is $8\sqrt { 2 } $


I am in Boulder, CO, but work on a machine in SoCal.  Careers is always suggesting jobs in LA.  Does careers use my stated location, or my IP address, or is this just a coincidence?


TWRP asking for a password when one is not set

My smartphone is the original Google Pixel. The bootloader on this device is unlocked. A week or so ago, I decided to boot into TWRP to do some stuff with my data. Before booting into it the first time, I removed my unlock pattern because I didn't know how I'd go about entering an unlock pattern in TWRP. After booting into TWRP the first time and then booting back into normal Android, I set my unlock pattern, I think, and then I removed it again. Afterwards, I was unable to (and I am still unable to) set a screen lock password/PIN/pattern. I'm pretty sure this is tied into .   The first time that I booted into TWRP, it did NOT ask for a decryption pattern; I think I was able to see files inside directories like /data/user/0. Right now, when I boot into TWRP, it asks me for my password in order to decrypt. The only problem with that is that I don't have a password  set. When Android boots up, I'm not asked for a PIN, a password, or a pattern, and I can see all of my contacts, files, applications, and so on.  Are my inability to set a password in Settings and TWRP asking for a password to decrypt folders like /data/user/0 (TWRP doesn't actually mention any directories) linked? How can I fix this?  These solutions are not acceptable:   Performing a factory reset. Anything having to do with syncing with Google.


sudo apt update && sudo apt dist-upgrade 7 not upgraded

sudo apt update && sudo apt dist-upgrade  Hit:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease Hit:2 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease Hit:3 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease Reading package lists... Done Building dependency tree        Reading state information... Done 7 packages can be upgraded. Run 'apt list --upgradable' to see them. Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done'  The following packages have been kept back:  xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-void xserver-xorg-video-dummy  0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded   When i open update-manager the following comes up:  You don't have the required privileges to perform this action.   I press "Ok", this comes up:  the software on this computer is up to date. However, Ubuntu 18.04.2 LTS is now available (you have 16.04)   i press Upgrade. Nothing happenes.  sudo do-release-upgrade  Checking for a new Ubuntu release Please install all available updates for your release before upgrading.   lsb-release -a  No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 16.04.6 LTS Release:    16.04 Codename:   xenial   cat /etc/apt/sources.list  deb http://ports.ubuntu.com/ubuntu-ports/ xenial main universe restricted multiverse deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security multiverse main restricted universe deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates multiverse main restricted universe   sudo nano /etc/apt/sources.list  deb http://ports.ubuntu.com/ubuntu-ports/ xenial main universe restricted multiverse deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security multiverse main restricted universe deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates multiverse main restricted universe


I want to use input from a user as a regex pattern for a search over some text.  It works, but how I can handle cases where user puts characters that have meaning in regex? For example, the user wants to search for Word (s): regex engine will take the (s) as a group.  I want it to treat it like a string "(s)" .  I can run replace on user input and replace the ( with \( and the ) with \) but the problem is I will need to do replace for every possible regex symbol. Do you know some better way ?


How do I fully characterize these subsets.

I'm working through the following,     Exercise 2.1.iv. A functor $F$ defines a subfunctor of $G$ if there is a natural transformation $\alpha: F \Rightarrow G$ whose components are monomorphisms. In the case of $G: C^{op} → \operatorname{Set}$, a subfunctor is given by a collection of subsets $Fc \subset Gc$ so that each $Gf : Gc \longrightarrow Gc'$ restricts to a function $Ff: Fc → Fc'$. Characterize those subsets that assemble into a subfunctor of the representable functor $C(−, c)$.   I am wanting to know how do I fully characterize these subsets they speak of. I saw that this was already asked but it feels incomplete.    The person says that it is a collection of morphisms with codomain $c$ that are closed under precompositions with morphisms in $\textbf{C}$. My question is how do we prove that instead of show it like they did.


How can I tell if "unzip" will create a single folder ahead of time?

A common scenario is having a zip file in a directory with other work:  me@work ~/my_working_folder $ ls downloaded.zip  workfile1  workfile2  workfile3   I want to unzip downloaded.zip, but I don't know if it will make a mess or if it nicely creates its own directory.  My ongoing workaround is to create a temporary folder and unzip it there:  me@work ~/my_working_folder $ mkdir temp && cp downloaded.zip temp && cd temp me@work ~/my_working_folder/temp $ ls downloaded.zip me@work ~/my_working_folder/temp $ unzip downloaded.zip  Archive:  downloaded.zip    creating: nice_folder/   This prevents my_working_folder from being populated with lots of zip file contents.  My question is: Is there a better way to determine if a zip file contains only one folder before unzipping?


On a dual-booted mac, can I hibernate from macos and resume on the other operating system?

I have a dual-boot setup with MacOS and Arch Linux on my Macbook Pro mid-2009 17-inch.  I have  installed to my EFI System Partition as EFI/BOOT/bootx64.efi with a  that allows me to choose Arch Linux or MacOS on boot. Awesome!  Arch Linux is loaded via EFI stub and I have the ability to hibernate and resume to it by using a swap file and kernel parameter resume=.... I can even hibernate Arch Linux, turn on the computer, choose MacOS through rEFInd (or even through the built in boot manager by holding the option key), which boots MacOS, and I can later shut down MacOS and resume Arch Linux from hibernate by selecting it in rEFInd at the next boot.  What I would love is to be able to do the same thing with my MacOS side, that is, hibernate MacOS, boot Arch Linux, to later resume MacOS. However it seems that when I sleep my MacOS side to hibernate (see man pmset for how to tell MacOS to hibernate), when I turn the power on, the resume process bypasses any boot selection I can make! That is, holding option doesn't bring up the boot manager, and it begins MacOS resume right away.  I have tried ensuring that my EFI System Partition is the first choice of the boot manager by holding control and clicking the EFI System Partition at startup (after holding option to get into the boot manager), but this has no effect.   seems relevant, but doesn't explicitly discuss what you can do with how MacOS bypasses the boot manager on hibernation resume.


Value of the limit $\lim_{x \to 0} \frac{\sin(\frac{1}{x})}{\sin(\frac{1}{x})}$

What is the value of the limit: $$\lim_{x \to 0} \frac{\sin(\frac{1}{x})}{\sin(\frac{1}{x})}$$ I think the answer should be $1$, but one I overheard one of my teachers saying that it is actually undefined.


Which Linux distribution should I install?

My laptop is a 2017 Dell Inspiron Pentium 4415u@2.30GHz 64-bit with touchscreen. I'm not sure which distribution will support this laptop. I would like to delve into Linux, so any suggestions would we appreciated!


Prove that if a function $f: X\to Y$ continuous then its graph is closed

The graph of $f$ is $G(f) = \{(x,f(x)) : x\in X\} \subseteq X\times Y$  $X$ and $Y$ are metric spaces.  a) Suppose $f$ is continuous and prove that $G(f)$ is a closed set.  b) Suppose that $G(f)$ is compact and prove that $f$ is continous  For a), the definition of a closed set that comes to my mind is a set that contains all its limit points (or was it accumulation points?), is there another equivalent definition that may b more helpful to prove a)? Is it possible to prove this directly? Because at first glance the only way I could imagine to prove this is by contradiction or contrapositive.   I imagine that the proof of b) will be immediately derived from a).


nginx try_files issuing http redirect beind load balancer; need https

My nginx instance is behind a SSL terminated load balancer, and I want all urls to hit https endpoints, which means http to be redirected to https.   All is well when urls have a trailing slash. They all get redirected nicely:  #!/bin/sh  do_curl() {    echo "\n$ do_curl $1"    curl -L -s -D - "$1" -o /dev/null | grep -iE 'Location|HTTP/|server' }  $ do_curl https://example.com/ HTTP/2 200  $ do_curl http://example.com/foo/ HTTP/1.1 301 Moved Permanently Location: https://example.com/foo/ HTTP/2 200  $ do_curl https://example.com/foo/ HTTP/2 200   But when the same urls have no trailing slash, nginx's try_files seems to be issuing a http redirect always:   Here's my nginx vhost.conf:  server {     listen 80;     root /app/;     index index.html index.htm;      # This 'if' block is only needed because my SSL-terminated Load balancer proxies both http and https to nginx.     # If my Load balancer only proxied https to nginx, and dropped http, this 'if' block can be omitted.     if ($http_x_forwarded_proto = "http") {         return 301 https://$host$request_uri;     }      location / {         try_files $uri $uri/ =404;     } }   How do I get nginx's try_files to redirect directly with the https $scheme when it hits the $uri/ parameter (2nd parameter in my try_files above) and successfully finds a file matching $uri/<index> (where index is defined by the index directive in the nginx config above)?  I searched similar questions such as , , or  but still could not find anything remotely relevant.


I want a to be rounded to 13.95.  >>> a 13.949999999999999 >>> round(a, 2) 13.949999999999999   The  function does not work the way I expected.


How can I make a linear regression plot also output the uncertainty of the regression itself given uncertainty in the data?

I was wondering if it possible to have TikZ/pgfplots output a linear regression which also gives me the uncertainty of the regression itself. Sort of like this:     note how a and b have an uncertainty.   Currently, I have this  \begin{tikzpicture} \centering      \pgfplotsset{width=11cm,          compat=1.3,          legend style={font=\footnotesize}}      \begin{axis}[      title={$R_1$:Experimental Plot I vs. V},      xlabel={V},      ylabel={I}},      legend cell align=left,      legend pos=north west]       \addplot+[blue][mark size=1.5pt] table[row sep=\\,      y={create col/linear regression={y=Y}}] % compute a linear regression from the      %input table       {            X Y\\            0.44 0.001   \\             -0.44    -0.001  \\             4.24 0.008   \\             -4.40    -0.008  \\             9.68 0.018   \\             -9.99    -0.018  \\             15.56    0.029   \\             -15.64   -0.029  \\             18.67    0.035   \\             -18.67   -0.035  \\      };      \addlegendentry{%          $\pgfmathprintnumber{\pgfplotstableregressiona} \cdot a          \pgfmathprintnumber[print sign]{\pgfplotstableregressionb}$ lin. Regression} %                \addplot+[blue,only marks,mark=*,mark size=1pt][error bars/.cd,y dir=both,y explicit,         x dir=both,x explicit]        coordinates {          (   0.44    ,   0.001   ) +- (  0.01    ,   0.00025 )         (   -0.44   ,   -0.001  ) +- (  0.01    ,   -0.00025    )         (4.24,0.008) +- (0.01,0.002)         (-4.40,-0.008) +- (0.01,-0.002)         (9.68,0.018) +- (0.01,0.0045)         (-9.99,-0.018) +- (0.01,-0.0045)         (15.56,0.029) +- (0.01,0.00725)         (-15.64,-0.029) +- (0.01,-0.00725)         (18.67,0.035) +- (0.01,0.00875)         (-18.67,-0.035) +- (0.01,-0.00875)       }; \end{axis} \end{tikzpicture}   Thanks in advance.   edit: I'm not asking for the r^2 value for the regression, I'm asking for the uncertainty of the regression itself.


How to find the integer solutions of $\frac{2^m-1}{2^{m+x}-3^x}=2a+1$?

Is there a way to find all integer triplets of $(x, m, a)$ for the following equation.  $$\frac{2^m-1}{2^{m+x}-3^x}=2a+1$$


Why does a wave reflect on the edge of an open tube? There is nothing solid to make the wave bounce.  Then why is it reflected?


How does distinguishability of boxes change the number of ways to distribute n objects into separate boxes

I was going through problems related to distributing n distinguishable objects all into boxes, a in the first, b in the second, c in the third where a+b+c = n. The solutions I've seen usually comes to the form of $\frac{n!}{a!b!c!}$  I am wondering, for this solution to be true,  are the boxes distinguishable or not distinguishable?   If a, b, c etc. are all different , it seems like we would need to multiply the factorial of the number of boxes to $\frac{n!}{a!b!c!...}$ if the boxes are distinguishable? What if we specify, like in the question, that the $a$, $b$ ... objects must go into specific boxes, does that make the boxes distinguishable (and yet per the solution we would suppress the 5! term)?   For , the number of ways to distribute 13 cards to four people is $\frac{52!}{13!^4}$. If I split the deck into 4 specific sets of 13 (and label each set as A, B, C, D), doesn't $\frac{52!}{13!^4}$ include the combination where one person gets A, another gets B, then C, then D, as well as one person getting D, then C, then B, then A (and all other permutations of these four sets). In this case, it seems like the people are distinguishable?   Edit:  With respect to the duplicate, I have some followup questions.   For partitions of all different sizes, why does whether the ordering matter or not not change the solution of $\frac{n!}{n_1!n_2!\dots n_r!}$?     The duplicate states that if the partitions are of equal sizes, then an r! term must be in the denominator to discount for order (I assume this means the r boxes are indistinguishable?). However, in the poker problem I linked above, the number of ways to distribute 13 cards to 4 people was given as $\frac{52!}{13!^4}$ even though I don't think the people were considered distinguishable in that problem. I feel like I'm missing something?


What early-2000s show about dimension hopping has a character who can swap limbs?

An earlier question asked about a show that made me think of another one I can't remember.  It was a live action show about exploring different dimensions, and I think the main character was searching for his dad.  I remember seeing it in the US, but I don't know if it was limited to that.  I'm a little fuzzy on the details, but I think the main character could swap his limbs or something like that.


Are general 3-to-1 or specific 2-to-1 ports better in Settlers of Catan?

Which type of ports do you find more useful in Settlers of Catan, General 3-to-1 ports or 2-to-1 ports for a specific resource?


I need to prove or give a counterexample:     If matrix $A$ is unitary and $B^2 = A$ then $B$ is also unitary   I think the statement is true since the unitary matrix A can only be Identity matrix I or negative identity matrix $-I$; and $B=A^2$ is an identity matrix which makes sure it is unitary.


clear out windows 10 network credentials without rebooting

i need to be able to completely clear the network credentials that i use to open a shared folder on my NAS. I want to be able to do it without a reboot, i've tried the following solutions so far:  1) start -> Control Panel -> User Accounts and Family Safety -> Credential Manager. I found the stored credentials and deleted them.  2) by using an elevated prompt: net use Z: /d  In both cases, something was deleted, but as soon as i try to connect again to the network folder, it connects directly without asking me for any login credential  Any suggestion?  thanks in advance.


I've started using Processes and Flows and am really excited about these features -- but am still wrapping my mind about how to manage them in Version Control (which I use) and Continuous Integration (which I don't yet... but am trying to work in that direction). The underlying challenge is that each time a process or flow is edited, the metadata file is renamed to reflect its update version, e.g. MyFlow-1.flow, MyFlow-2.flow, etc. The Challenge for Version Control If each version of the flow has its own file name, this makes it more complicated to track changes to flows.  It seems like there could be two strategies here:  Rename the files to remove the version number.  I'd need a script to run through my src folder pre-commit, and remove the number so that my file name is always MyFlow.flow.  This is an annoying extra step, but makes version control simpler.  On the other hand, it probably makes deployment much harder.  Track each file in version control with its original name.  We'd need to be diligent about deleting MyFlow-1 in the commit where we add MyFlow-2 so that git would recognize this as a rename/move and show helpful diffs.  Otherwise, the whole file appears to change with every change, which makes version control rather less useful.   The Challenge for Deployment/Continuous Integration From my experiments so far, once a flow has been activated in a given environment, the metadata file can't be deployed again (either it is currently active, or has been active in the past and superseded). That means that I need to prevent my previous flow versions from being included in a deployment package (either by not tracking them at all, or by using a script to delete earlier versions).  I also need some way to determine whether the current version (in my repo) should be included in the deployment payload for a given environment or not. I could imagine a script that (1) downloads flows from the target environment, and removes *.flow files from the payload if they already exist in the target environment, but that feels complicated.  And it's even harder if I've removed the version numbers from my flow files. Are you using flows in VS or CI?  How are you managing these issues? Note:  I'm not sure whether VC and CI should be one question or two - depends on how integrated the strategy for dealing with these two challenges.  If you think these should be separate questions, comment and I'll re-post.


I'm looking for some apps to create your invoices which I want is simple and free (such as up to 10 invoices a month) can be managed and organized the invoices online.  I have a good one in my language but I don't know any of them in English.


Maximise window in OS X only using App Store extention

We know maximise a window in OS X (like we do in Ubuntu Unity or MS Windows) is not currently possible.  Are there any third party extensions available from OS X App Store to achieve this?  (I don't want to install applications that are not in App store for security reasons.)


How should I deal with Search page for SEO

A website I'm building has a product search page with many options. Name, size, category, etc.   Currently the url is search.php and the GET string (when the user submits the form) effectively just returns search.php?name=abc&size=3,6,8&category=12&available=yes etc.   Is this best for SEO or should I construct some URL like search/name/abc/size/3,6,8/category/12/available/yes or similar? I could just exclude the entire search.php page in the robots file, which seems sensible, as it's not a massively optimised page for any particular keywords.


What happens if you have NS domains be resolved by their own NS servers?

Let me explain.  For example, you have a site, site.com, and on the domain provider service, you decide you want to have your own nameservers, and enter the new addresses.  You decide to let these nameservers have domain names, ns.site.com.  Now what happens if a client wants to resolve my.site.com, as far as i understand it, it (client and/or recursive DNS servers) will ask for authority for the second level domain record of site.com, pick the NS name from it, and resolve that to contact it.  Now we have set the nameserver to ns.site.com, which lays in it's own domain... wait, that's recursive.  This is exactly what I think could be a problem, how is it solved in the real world? Does/did this ever happen?


Complex number equation, Is this logical?

I have the following question,Find the complex numbers u=x+y such that x and y are all real numbers and $u^2=−15+8i$  What I am thinking to do is solve for u but  that doesnt seem right, I am also thinking that since u is stated and it ask for $u^2$ I am thinking of doing $(-15+8i)(-15+81)$ and solve from there but still not sure if thats the right direction.


I'm trying to identify a short story that I once read. Possibly in a collection by Bruce Coville.   A traveling intergalactic zoo stops at earth and everyone pays money to see the aliens on board. At the end you find out that the inhabitants of the zoo were paying customers as well, who were visiting the earth-life. (Safely behind bars of course, humans are uncivilized)


Why is my name different on data.stackexchange.com?

I joined  associating with my existing credentials. It is showing a different name for me, like jon.doe11943 What is happening? Why is my name something different?


If current takes the path of least resistance, why do parallel circuits work?

Why doesn't all the current flow down the path with the weaker resistance instead of dividing and going through both resistors (in a parallel setup with 2 unequal resistors)?


How to logout from Skype to relogin under other name?  I mean skype for pad-sized computers.  If I press avatar, then I have "exit" entry at the bottom. But if I click this entry, then Skype just closes. If I open it again, then it enters under old name again.  I want to logout so that it ask password.  Is it possible?


Rs. 100 have/has been returned to your child

Rs. 100 have been returned to your child.   Rs. 100 has been returned to your child.      Which one of the above sentences is correct and why?


How to install with wubi without internet connection

If I place wubi.exe and iso of same version in a single folder then is it possible to install ubuntu. My problem is that I have no broad band connection can I install ubuntu with windows installer?


Does insurance for expensive Items in checked luggage exist?

While I plan to travel with a , I am yet to find an insurance that covers much of significant value.  We have coverage that comes with credit cards with limits of $200 to $500 per item, depending on the card. Airlines also have a limit around that amount even for upgraded insurance and searching known travel insurance companies, I found similar coverage.  Does insurance exist for checked luggage between $5000 and $10000 CDN ($4000 - $8000 USD)? If so, who offers such coverage?


Every continuous open mapping from $\mathbb{R}$ into $\mathbb{R}$ is monotonic

Consider the image of an open set $(a,b)$ under the open and continuous mapping $f$. We show, $f$ cannot have any extremum in $(a,b)$.   We know, connected sets are mapped to connected sets under a continuous map. Hence, $f[(a,b)]=(c,d)$ is connected (and open). Suppose, at $\xi \in (a,b)$, $f(\xi)=\sup_{(a,b)} f=M$  (or $\inf_{(a,b)}f=m$). [Being a continuous function, $f$ must attain its supremum/infimum.]  Hence, the image of the set $(a,b)$ under $f$ becomes $(c,M]$ or $[m,d)$, which is a contradiction of the fact that $f$ maps open sets to open sets. Therefore, in any open interval, the function cannot attain glb/lub at an interior point. So, we conclude that the inf and sup are at the end points, i.e. $\sup_{[a,b]}f=f(a)$ or $f(b)$.        Hence the theorem.    Is the proof valid? I am aware of the duplicates. I just want this method verified.


Why does Windows 10 transfer some things to a USB drive at <5 kb/s?

I am currently transferring a folder to a USB drive. For the last few minutes, it has quite literally been transferring at LESS THAN 1 kb/s... we're talking 10-500 bytes/s..  How is it possible for anything to transfer this slowly and how can it be fixed?


Keep MacBook on when closed without keyboard and mouse

I use my Mac a lot to show movies or play video games on a larger display without a keyboard or mouse attached.  How can I set up my Mac so that it continues to display to an external screen when closed without a keyboard or mouse attached?


To use ToC in a pdf using XeTeX compiler I have to compile document twice to get correct table of content and page number. According to an article about  one can get a appropriate result in single build by adding -pdf option on latexmk.     Note: For the table of contents to work properly you must compile the document twice or use latexmk -pdf   but unfortunately I can't find equivalent option for XeTeX.


Can a card copying a double-sided planeswalker transform?

If I have a   copying , can it transform into ?  I imagine it would not — it would be similar to the rules for tokens right, it doesn't have the face to flip to, and in this case I would assume duplicate would just be exiled forever if it tried right?


How to open a file manager of the current directory in the terminal?

When I work in terminal, sometimes I want to open the current directory in a GUI file manager. And then to click the items in the window to run the application. How can I do this?


Marketing Cloud: Removing multiple rows from a data extension via SSJS

In Marketing Cloud, we would like to remove multiple rows based on the EmailAddress column, which is the primary key in our permission data extension.  Now, we tried using the code snippet for Server-Side JavaScript (SSJS) from the SF official developer's site, but that only removes a single contact at a time. I don't know how to add additional email addresses for removal in the SSJS code snippet below. Please help.      <script runat=server>  Platform.Load("core", "1");          var permissionDE= DataExtension.Init("Preference_Management");          permissionDE.Rows.Remove(["EmailAddress"], ["customer@customer-emailDomain.com"]);       </script>


\usepackage[T1]{fontenc} with \textsf: strange phenomenon

I have some trouble using \usepackage[T1]{fontenc}: \textsf text is no longer sans-serif. For instance,  {\Huge\textsf{\bfseries SOME TEXT some text}}    becomes    instead of the usual    I suppose there is something wrong between packages, but I cannot find the problem. What should be done to recover the usual sans-serif text? Any idea is welcome.


How do I change a type of block in a specific area into another block?

How can I change all blocks in a specific area around me (where I am currently standing) to another block? I tried using the /setblock command, but it only works for a single block.  For example, if I wanted to replace all of the grass with mycelium in a range of +/- 140 blocks in the X or Z directions, covering the entire Y range, how would I do that?


How do I setup a VPN server on Ubuntu 14.04 LTS with No-IP?

All the installation guides for VPN servers I can find go into huge detail about how to setup an IP address range (e.g. ). If I'm using  to give my PC an IP address is there a simple way to setup a VPN server?


How to select top 3 values from each group in a table with SQL which have duplicates

Assume we have a table which has two columns, one column contains the names of some people and the other column contains some values related to each person. One person can have more than one value. Each value has a numeric type. The question is we want to select the top 3 values for each person from the table. If one person has less than 3 values, we select all the values for that person.   The issue can be solved if there are no duplicates in the table by the query provided in this article  . But if there are duplicates, what is the solution?   For example, if for one name John, he has 5 values related to him. They are 20,7,7,7,4. I need to return the name/value pairs as below order by value descending for each name:  -----------+-------+ | name     | value | -----------+-------+ | John     |    20 | | John     |     7 | | John     |     7 | -----------+-------+   Only 3 rows should be returned for John even though there are three 7s for John.


Is it possible to cross the Wagan border by car?

I was planning a trip by car when I found something a bit weird in :if you try to cross from Lahore to India, it tells that you have to 6457 km detour.  Is it possible to cross this border driving? If not, is there another way to cross without having to make more than 6000 km?


I am working on float numbers as part of my project and I ran into this issue. I have two floats that are different. However, when I try to print them, it prints the same value. Can someone please help me understand what's happening? Is it related to the number of fractional digits that can be printed on the console? Following is the MWE. #include<stdint.h> #include<iostream>  union FP32 {     float f;     uint32_t bits; };  int main(void) {          FP32 a, b;     a.bits = 0x40800000;     b.bits = 0x407FFFFF;     std::cout << a.f << std::endl;     std::cout << b.f << std::endl;     return 1; }


Which one is correct, "Tasks for John and I have been created" or "Tasks for John and me have been created"?

I am confused between the texts below. Please help me with the correct one.        Tasks for John and I have been created     Tasks for John and me have been created     Tasks for John and myself have been created


My question is this : how many distinct two digit numbers can be produced from numbers $4, 3, 3, 1$? When applying the formula $$\frac{4!}{(4-2)!2!}$$ you come up with $6$, yet when doing the problem manually, I come up with $7$ numbers, namely $41, 43, 14, 13, 33, 31, 34$. Can anybody explain this discrepancy?  Thanks.


What happens to someone who destroys a Star Wars Droid?

Some Star Wars Droids are definitively sentient beings, but it appears that they are not treated as such.  The  (which have no references) said they are typically treated as property, but does the status change along with the various governments? Is there any known canon occurrence in the expanded universe where consequences of the destruction of a droid have been explored?


I have a Sting value contains in Exponential   class round{         public static void main(String args[]){         String a ="2.4545776339999877E7";         double roundOff = Math.round(a);         System.out.println(roundOff);     } }   So i want to round off upto 5 decimal vaue. How to do it please?


One particularly irritating variety of bug in a microprocessor-controlled system is for the microprocessor to unexpectedly reset. An important tool for debugging this kind of problem is a list of possible causes. What could cause a microcontroller to unexpectedly reset?


How do you get a user's real IP in Javascript?

I'm trying to make a website that collects IPs so that I can verify them for a game and so that they can't bypass a ban, but I'm not sure how to collect a user's IP from a web request using Javascript, can anyone help me on this?


Algorithm for minimization of sum of squares in regression packages

I'd like to know what technique or techniques are used by regression packages, (in particular the lm function of R) to minimize the sum of squares.   Does it use gradient descent?  Thanking in anticipation.


Node JS (-bash: fork: Cannot allocate memory)

Here's the Node JS I'm running at the beginning of the script to clear the garbage collector and then logging the available space:  global.gc(); var bytes = process.memoryUsage().rss; var GB = (bytes / 1073741824).toFixed(5); g.heapMessage = "MEMORY used in bytes: " + bytes + ", in GB: " + GB + ",  custom message: " + m;   Here's the output to the shell:  JavaScript Extracted  JavaScript Processing MEMORY used in bytes: 27869184, in GB: 0.02596,  custom message: INIT epochProp ^Z [7]+  Stopped                 sudo ./runScript oughtimpliescan1@ubuntu:~$ sudo ./runScript -bash: fork: Cannot allocate memory oughtimpliescan1@ubuntu:~$      As you can see, there's plenty of memory, 0.02596 GB... and yet the shell keeps telling me it cannot allocate memory, I've tried the  of this command:  sync; echo 1 > /proc/sys/vm/drop_caches  and I'm still having this issue, anybody know what's going on?


Are there two meanings to ”I saw the same car as her car in the garage”?

I saw the same car as her car in the garage.   I couldn’t understand which car is in this garage the car I saw or her car? Are there two meanings in sentence?


Why is "great" pronounced as "grate", but spelled with "ea"?

Great is one of the few common English words in which "ea" is pronounced /eɪ/ (ay).  Why is this pronunciation associated with this spelling?  As an aside, I remember from researching for my answer to a  that a Middle English spelling of great was grete.  Was it ever pronounced that way?


I've started teaching myself python, and have noticed something strange to do with global variables and scope. When I run this:  x = 2  y = 3  z=17  def add_nums():     y = 6      return z+y   The result of 23 is printed... However, when I expand the return to be:  x = 2  y = 3  z=17  def add_nums():      y = 6      z = z + y      return z   I get the following error on line 6:  Local name referenced but not bound to a value. A local name was used before it was created. You need to define the      method or variable before you try to use it.     I'm confused as why I am getting an error here, as z is global an accessible.


Rigs available on the market for blender

I'm an animator who just lost his student licence for Maya and is looking to move to Blender, but I can't find a lot of options available for rigs for Blender. I only found Vincent, Rain, and Proog rig so far that are good quality. So, can anyone direct me to where I might find more rigs than 4 for Blender.


What is the easiest way to add/extrude an edge loop around the hole in the first image to make it like the second image?


How to launch Ubuntu in Windows Subsystem for Linux in Windows 10 S?

I found the Ubuntu app button in Microsoft App Store and attached it. There were limited instructions: I had Microsoft Windows help with their side. Ubuntu did not boot up as option. Windows 10 S booted again, but I had a Linux command window. That's it. Below are instructions from the official  website.  To launch, use "ubuntu 1804" on the command line prompt (cmd.exe), or click on the Ubuntu icon tile in the Windows 10 Start menu. To use this feature, one first needs to use "Turn Windows features on or off" and select "Windows Subsystem for Linux", click OK, reboot, and use this app.  Over 214MB of data was installed when I clicked on the Ubuntu icon. Then I opened the Windows command prompt window and typed ubuntu 1804, but nothing happened. My Windows Command Prompt results are shown below. C:\Users\phoebedavis>UBUNTU 1804 'UBUNTU' is not recognized as an internal or external command, operable program or batch file.  C:\Users\phoebedavis>  Can someone assist this totally new noob?  I want to run Ubuntu in Windows Subsystem for Linux in Windows 10 S before buying multiple single board computers and installing Ubuntu on them as workstations.


Cross Browser Flash Detection in Javascript

Does anyone have an example of script that can work reliably well across IE/Firefox to detect if the browser is capable of displaying embedded flash content. I say reliably because I know its not possible 100% of the time.


Why should we typedef a struct so often in C?

I have seen many programs consisting of structures like the one below  typedef struct  {     int i;     char k; } elem;  elem user;   Why is it needed so often? Any specific reason or applicable area?


Proving that: $ | a + b | + |a-b| \ge|a| + |b|$

I am trying to prove this for nearly an hour now:     $$ \tag{$\forall a,b \in \mathbb{R}$}| a + b |  + |a-b| \ge|a| + |b| $$   I'm lost, could you guys give me a tip from where to start, or maybe show a good resource for beginners in proofs ?  Thanks in advance.


Install CPAN without bringing in gcc, g++, etc

From what I've searched, it looks like there's only one way to install CPAN in Ubuntu, installing build-essential. Which brings in other dependencies like gcc and g++, which I don't want to install. Is CPAN actually in build-essential? If not is there a way to install CPAN so that we don't have to bring in other dependencies build-essential brings.


is there a way to get the option "Organize Desktop by Name" in Ubuntu 19.10 same as in 18.04?

the option in Ubuntu 18.04 is "Organize Desktop by name"    But there is no option available in Ubuntu 19.10


Can $\pi$ be rational in some base radix

I am from a physics background and my mathematics is not very good, so pardon my insolence with the question.  Editing based on the comments : We know that $\pi$ in decimal (i.e. base 10) is transcendental. Is it possible to have a radix base in which $\pi$ can be rational in that base ?  PS : My question is in general for any transcendental number.


All emails I send from my new server go to spam in Gmail (and sometimes yahoo).  I've never before sent out mass email or spam.  What I've already done:   Configured reverse DNS Enabled DKIM Verified my IP is not on spam lists Verified I'm not an open relay   Here are the headers from the received message:   Really, can't seem to figure out why the mail just doesn't come through.  I'd really appreciate your help. Thank you!


$\sin(2\pi q)$ is algebraic over $\mathbb{Q}$

Let $q$ be an element of $\mathbb{Q}$ (rational numbers). How can I prove that $\sin (2\pi q)$ is algebraic over $\mathbb{Q}$ for any $q$? I am trying the method: Euler formula: $e^{i\theta} =\cos \theta+i\sin \theta$ so $2\sin\theta = ie^{i\theta}-ie^{-i\theta}$. $i$ is root of $x^2+1$. So if I prove that $e^{i\theta}$ and $e^{-i\theta}$ is algebraic over $\mathbb{Q}$f or $\theta=2\pi q$, it will be ok.


bash parameter expansion doesn't appear to be a simple textual substitution

I used to think that bash expanded something like "$<var>" simply by replacing "textually" $<var> with the content of <var>. However after coming across some examples, I realized that I'm missing something. Consider the following interaction.  1: $ X="A; B" 2: $ printf "%s\n" $X 3: A; 4: B 5: $ printf "%s\n" "A; B" 6: A; B 7: $ printf "%s\n" A; B 8: A 9: B: command not found   As you can see, the output of line 2 is different from that of line 5, so in this case $X expansion is not a simple textual substitution. Even removing the double quotes (line 7) doesn't work.  Can someone explain how exactly these situations are handled by bash?