How do I add the Stack Overflow profile icon to my blog?


How to unmount a recursive bind mount - safely

Please take care that you have no unsaved work if you test this.  I ran this command as an experiment, but how can I undo it without rebooting?  # mount --rbind / /mnt   What I have tried   # umount /mnt umount: /mnt: target is busy.  # strace -f -e umount,umount2 umount -R /mnt umount2("/mnt/var/lib/nfs/rpc_pipefs", 0) = 0 umount2("/mnt/sys/kernel/security", 0)  = 0 umount2("/mnt/sys/fs/cgroup/unified", 0) = -1 EBUSY (Device or resource busy) umount: /mnt/sys/fs/cgroup/unified: target is busy. +++ exited with 32 +++  # umount -l /mnt # findmnt findmnt: can't read /proc/mounts: No such file or directory   (this is the catastrophe I warned you about).   Environment  Fedora 28.


$\mathbb R = X^2$ as a Cartesian product

I wonder if it is possible to consider $\mathbb R$ as a Cartesian product $X\times X$ for some set $X$. From the point of view of the dimensionality, there are spaces with a Hausdorff dimension $1/2$ (sort of Cantor sets), but I guess there are other problems in this construction  unrelated to the dimension.  Edited: replying on the comment by Asaf. I want that for all $r\in\mathbb R$ there exists a unique representation $r=\langle x,y\rangle$ where $x\in X$ and $y\in X$. Also, what if we want to have $X$ to be a topological space and $h:X\times X\to\mathbb R$ to be a homeomorphism?


In Python, you can do this:  import webbrowser webbrowser.open_new("http://example.com/")   It will open the passed in url in the default browser  Is there a ruby equivalent?


Find all positive integers $n$ such that $\phi(n)+\sigma(n)=2n$.

I'm asked to find all integers $n$ such that $\phi(n)+\sigma(n)=2n.$ I know that when $n$ is a prime, $\phi(n)+\sigma(n)=(n-1)+(n+1)=2n.$ My guess is that $n$ can be primes only, and I want to derive a contradiction when $n$ is a composite number. But I can only show that when $n=pq$ ($p$, $q$ distinct primes), $\phi(n)+\sigma(n)=2pq+2=2n+2.$ How do I generalize from here?


Is it correct to say "greedy little mind" or "little greedy mind" or both?

I was watching ERB, and Tesla replied to Thomas Edison - "You couldn't handle my gifts with your greedy little mind".  What if I say: "little greedy mind", what does it change on the meaning. Is it right to say?.  Thanks in advance.


Why infinity minus infinity, 0 multiply infinity, infinity divided by infinity and 0/0 are not defined?

Suppose that the arithmetic operation on extended complex plane are defined via arithmetic operations on the corresponding sequences, why $∞-∞，0*∞，∞/∞，0/0 $are not defined? Can anyone give me some example about that?  I know that ∞ + ∞ is undefined because if we have two sequences:  $1, 3, 3, 5, 5, 7, 7, 7, 9,....$    and   $-1,-2,-3,-4,-5,-6,-7,-8,....$  the sum of the above sequences will be:  $0,1,0,1,0,1,0,1,...$  which is not converging or diverging. so ∞+∞ is meaningless.  Can I use it in $ ∞-∞，0*∞，∞/∞，0/0$?  Can anyone give me some example about that?


Have I found a bug in the way that SE parses comments for bold markdown?

In  I was trying to do "". It took me 3 tries and what I finally had to do is suboptimal. SE can choose whatever parsing rules they want. I won't debate my desire to emphasize a portion of a word in this thread. What I do think is a problem is that I expect that I can use the answer editor to preview my comment before copy-pasting it into the comment box (and get the same rendering).  I will add 3 comments to this question to demonstrate the differences between how comments and answers/questions are rendered.  Code  1 Ugh! That is even more confusing. My brain wants to associate `shopt` with $**SH**ELL**OPT**S rather than $BA**SHOPT**S.  2 Ugh! That is even more confusing. My brain wants to associate `shopt` with $SHELLOPTS rather than $BASHOPTS.  3 Ugh! That is even more confusing. My brain wants to associate `shopt` with $ **SH**ELL**OPT**S rather than $ BA**SHOPT**S.   Renderings  1 Ugh! That is even more confusing. My brain wants to associate shopt with $SHELLOPTS rather than $BASHOPTS.  2 Ugh! That is even more confusing. My brain wants to associate shopt with $SHELLOPTS rather than $BASHOPTS.  3 Ugh! That is even more confusing. My brain wants to associate shopt with $ SHELLOPTS rather than $ BASHOPTS.    In case this behavior changes in the future, I want to document how it renders at the time of my asking.    What you should notice   It's not that HTML doesn't render in attempt #2. The literal text displays consistently. That is by design and that is okay. It is that in attempt #1 the placement of the $ changes the rendering. It seems to nullify the first ** which in effect inverts what is bold and what is not. If it rendered the literal text, again I would say "that is by design and that is okay." But that is not the case. In attempt #3 it renders correctly in the comment the same as it does in the question because there is a space after the $.   Why this is not a dupliacte  It has been suggested that this is a duplicate of . The rendering example above demonstrates that it is not. In that question he states that the double asterisks show up in the comment. That may have been true at the time that he asked the question (I don't know because he didn't include a screenshot of the rendering), but it is not today. So, I'd suggest that it is not  but rather . Here it is today:


Is this many to many relationship correct?

I'm reading this , and I have question about it.  Look at this picture:    'Reading' the logical Relationship I read that a Project must have one or more Employee. But the physical implementation has that a Project could have zero or more ProjectEmployee.  Or maybe I am wrong and the physical implementation is correct.  What do you think?


How to remove accounts from "Choose an account" list in Google sign in?

When signing in with Google (OAuth), it shows a list of accounts it already knows about. How can I remove some accounts from this list?    I know I can nuke all of them by deleting all cookies, but I'd prefer to remove one account that I don't want there, rather than all of them.  There used to be an ability to edit this list in the older version of this screen, but in 2018 redesign Google has removed [×] buttons next to the accounts.


Dynamically Add / Remove Fields - Remove Button not removing Fields

I have created Dynamically Add / Remove Fields. The Add button is working perfectly. But when I click the remove button, it only removes the button and not the fields. Following is my code... Plz help... Thanks...

Allocation of Funds

Allocation Items

Amount

<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email">

<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email">

<button type="button" class="btn btn-success" id="add-allocation-fields"></button>


How can $A \supset B$ be a synonymous of $A \Rightarrow B$?

From time to time, although not so commonly, I see $A \supset B$ written with seemingly the same meaning as $A \Rightarrow B$.  Ex. in , on page 8.     A proof of $A \supset B$ is a method which transforms   a proof of $A$ to a proof of $B$.   This suggest $A \supset B$ means the same as $A \Rightarrow B$, isn't it?  $A \Rightarrow B$ means: whenever $A$ holds, then $B$ holds. However, this also means $B$ may holds when $A$ do not. Which in turn means the set of the cases where $A$ holds is a subset of the set of the cases where $B$ holds. Is this OK? If that's OK, $A \Rightarrow B$ should be written as $A \subset B$ instead of $A \supset B$.  Why is this not so? Or am I wrong in some way? If I'm wrong, where am I so?  Edit: oops, duplicate of this one:  . Sorry.


linux : compare just a part of two directory names

Here's where I'm stuck up. I've a old file (Fieldart_1.2.war). And I've a new file named Fieldart_1.4.war. I just have to deploy the new one. But, before that I need to make sure I'm hitting the right file.  Is there anyway I can compare just the first part of the two files i.e., 'Fieldart' ? like, if the first part matches, go ahead with the deployment otherwise, throw an error..   What do you guys think ?


I want to write (or find) a guide to effective bug reporting in a style similar to ESR's   What are your top tips for effective bug reports?


Number of positive integer solutions of $\frac{1}{x}+\frac{1}{y}=\frac{1}{pq}$ for distinct primes $p$ and $q$

Let $p$ and $q$ be distinct primes. Then find the number of positive integer solutions of the equation $$\frac{1}{x}+\frac{1}{y}=\frac{1}{pq}$$   We get $pq=\frac{xy}{x+y}$  Now $x+y$ must divide $xy$ as L.H.S. is a positive integer with two prime factors but how do we make sure the same on R.H.S. ?  Given options are $3$ or $4$ or $8$ or $9$.


PHPMailer send to junk folder in office.com

I am using PHPMailer and it sends mail into junk folder in office.com how can I send mail into the inbox with PHPMailer. I want to complete this portion ASAP but I can't find any help.  Below is my code.  <?php require("email/class.phpmailer.php");  $mail = new PHPMailer();   $mail->SMTPDebug  = 2;                     // enables SMTP debug information (for testing) $mail->SMTPAuth   = true;                  // enable SMTP authentication $mail->SMTPSecure = "tls"; $mail->Host       = "mail.google.com"; // sets the SMTP server $mail->CharSet = "utf-8"; $mail->Port       = 25;                    // set the SMTP port for the GMAIL server $mail->Username   = "abc@gmail.com"; // enter your email address $mail->Password   = "*****";        //enter your password      $webmaster_email = 'xyz@amatheon-agri.com'; //Reply to this email ID $email= 'xyz@amatheon-agri.com';  // Recipients email ID $name= 'Test Name'; // Recipient's name  $mail->From = $webmaster_email; $mail->FromName = 'test'; $mail->AddAddress($email,$name); $mail->AddReplyTo($webmaster_email,'test'); $mail->WordWrap = 50; // set word wrap  /*$mail->AddAttachment("/var/tmp/file.tar.gz"); // attachment $mail->AddAttachment("/tmp/image.jpg", "new.jpg"); // attachment $mail->IsHTML(true); // send as HTML*/  $mail->Subject = 'Test Mail1'; $mail->Body = 'message'; //HTML Body $mail->AltBody = 'body'; //Text Body  if(!$mail->Send()) {     echo "Mailer Error: " . $mail->ErrorInfo; }  else {     echo "
"."Your Suggestions has been sent to"." ".$name." "."having email"." ".$email."
"; } //$version= 0; //echo $final;  /*$suggest= mysqli_query($con,"UPDATE sent_proposals SET In_Discussion = 1, accepted = NULL,declined = NULL WHERE proposal_id= '$proposal_id'");*/  ?>   can anybody help me?


I shifted to Ubuntu 10.10 now I am facing problem to have C/C++ compiler. What are the possible ways so that I can use C/C++ compiler using all the libraries (like graphic, math, conio, stdlib, etc) as in Microsoft Windows creating executable file?


Will it be possible to render out the Workbench viewports in Blender 2.8?

In the same way as you can currently render the active viewport in Open GL? Some aspects of the Workbench renderer look as if they will be very useful for NPR people.


what is the value of \thecontentslabel for a chapter*

I am customizing my toc, but cannot figure out what the value of \thecontentslabel is for chapters that are marked not to be numbered...  In general where are these commands described? I don't know where the manual is. Tried KOMA-Script but didn't find anything.


How can I pass data from operator to another operator in one panel? Specifically I have a dialog box, I want to get back the path of the selected box to a label and activate another operator(button) Thanks


Is it possible to disable auto mount of external devices?

How can I disable the auto mount of usb/firewire devices or basically any external disk in MacOSX?  My motivation for this is that in Windows there have been possible attacks via USB trojans that would copy to the internal hard drive just after the auto mount. I thought that disabling auto mount of external devices is a good counter measure. But I'm be open to solutions that protect from such a threat using other methods.  Edit  I assume that a solution to my problem would have to look like the following:   Auto mount disabled for all devices. Opt-in of auto mount for my private devices.


Any hint to solve given integral $\int_0^{2{\pi}}{{d\theta}\over{a^2\cos^2\theta+b^2\sin^2\theta}}$?

Show that for $ab>0$ $$\int_0^{2{\pi}}{{d\theta}\over{a^2\cos^2\theta+b^2\sin^2\theta}}={{2\pi}\over ab}$$  I'm not sure how to go about this. Any solutions or hints are greatly appreciated.


Question about: How to show backup ads now that AdSense doesn't have the ability to do so for you?

I have some questions! I use Adsense code on my site. My question is, how to ad backup affiliate code in to the code below? Also how do I add the affiliate code in 2 diferent sizes (I want to add the 728x90 banner on the desktop to appear and 300x250 banner on mobile phone to appear) when Adsense is not loading any ads on desktop and mobile. THIS IS THE BACKUP CODE I HAVE: // Run when the DOM content is loaded document.addEventListener('DOMContentLoaded',function(){ // AdSense ads lazy load, so they can't be examined right away setTimeout(function(){ // Search the DOM for ad slots assuming they all have  around them var x=document.getElementsByClassName("adsenseads") for(var i=0;i<x.length;i++){ // See if adsense loaded an ad by checking for an iframe if(x[i].innerHTML.search(/iframe/i)==-1){ // No ad loaded x[i].innerHTML="BACKUP AD CONTENT HERE"; } } },3000); // 3000ms or 3 seconds }); AFFILIATE CODE 300X250 :  rel="nofollow"> a target="_blank" style="font-family:Verdana, Geneva, sans-serif; font-size:10px; color:#028ACC; text-decoration:none;" href="http://www.cursos24horas.com.br/parceiro.asp?cod=promocao124728&url=cursos/curso-de-ingles-online" rel="nofollow"> AFFILIATE CODE 728X90 :  rel="nofollow"> a target="_blank" style="font-family:Verdana, Geneva, sans-serif; font-size:10px; color:#028ACC; text-decoration:none;" href="http://www.cursos24horas.com.br/parceiro.asp?cod=promocao124728&url=cursos/curso-de-ingles-online" rel="nofollow"> I hope that someone can help me please! Thank you !! Daniël


Drawbacks of using fragile frames in beamer

This is a follow up on . What are the drawbacks of setting the default frame to be fragile (or passing the optional fragile argument to all frames). The  says     If a frame contains fragile text, different internal mechanisms are   used to typeset the frame to ensure that inside the frame the   character codes can be reset. The price of switching to another   internal mechanism is that either you cannot use overlays or an   external file needs to be written and read back (which is not always   desirable).   Presumably writing and reading a file takes time and so this increases the time it takes to compile, but are there things that do not work in a fragile frame?  As for an MWE:  \documentclass{beamer} \def\foo{Something that makes the fragile frame fail is: } \begin{document} \begin{frame}     \foo \end{frame} \begin{frame}[fragile]     \foo \end{frame} \end{document}   I am trying to understand what \foo would need to be defined as to cause problems.


What is the Goal of "Hot Network Questions"?

There has been a tug-of-war in the  list.  seem to be unhappy with the traffic that it brings to their site:  'But we want to encourage people to post, that's the whole point of the HQ list!' I hear you cry. I disagree. We want to encourage people to the site not just to that question.  The SE Community Team seems to have  (emphasis mine):  the results have been... Not great so far: a significantly smaller number of people are clicking through to randomly-selected questions than to the top questions, which hints that the algorithm may've been doing a better job of identifying general-interest questions across topics than some expected.  Disclaimer: This should not be taken as a slight of the community team whatsoever, nor do I think this is some cause for revolt or a boxing match as the below prose may indicate. These are just poorly applied literary tools to emphasize the drastically different approaches to the same list between two groups. In the Red Corner, the Community Members The goal of the hot questions should be to drive up interest in the site. The hot questions should be a lure to encourage SE network users to contribute to other content, not just do a drive-by on the hot question. In the Blue Corner, the Community Team The goal of the hot questions should be to drive traffic to general-interest questions. After all, the Hot Network Questions used to be more accurately named as "Popular Questions". What is the Goal of Advertising Network Questions? Before discussing , or , we need to come to an agreement on what the heck we are actually trying to achieve. Once we know what we are looking to accomplish, we can find the best way to do that. The list of questions from a variety of sites is in a great location screen-wise, it is readily accessible and does get a lot of eyes on it. But as with any marketing, the goal isn't just to grab eyes, it's to grab the right eyes.* * I have nothing against left eyes. Most of my friends have left eyes too. And they are awesome. But in the context right eyes are not a geospatial thing, but rather in the 'correct' sense. So what are the right eyes? What type of people do we want to attract to our site? What would we determine as 'success'? How can we measure that success? Please do not limit yourself to the very narrowly scoped topic above. Think outside the box if you'd like. On every page across the network we have a nice piece of real estate for showing off the rest of the network. How can that space best be used if not on a list of questions picked by an arbitrary algorithm?


How exactly would you find all the automorphism of something like $Z_8$ or $U(8)$?    I read that there are $4$ automorphisms of $Z_8$, but how did they come about it?  Please explain this as if talking to a beginner. Thanks


Why does the value of BASH_SUBSHELL not change while the value of SHLVL changes?

The bash manual says     BASH_SUBSHELL  Incremented by one within each subshell or subshell environment when the shell begins executing in that environment. The   initial value is 0.      SHLVL Incremented by one each time a new instance of Bash is started. This is intended to be a count of how deeply your Bash shells   are nested.   What are the differences between the two builtin variables?  Specifically what differences are between "subshell or subshell environment" and "Bash shells"?  In the following example, why does the value of BASH_SUBSHELL not change, while the value of SHLVL changes?  $ echo $BASH_SUBSHELL 0 $ echo $SHLVL 1 $ bash $ echo $BASH_SUBSHELL 0 $ echo $SHLVL 2


I need a regular expression which should parse string with white space and if white space exists in a string which ended with quotes (single/double) then it should not parse.  abc cde 'efg hij'k lmn'opq rst' 'ijk lmn' u'v'w xyz 'abc' \'\\\\\'  \'_Notes.txt\'   Requirement O/P:  abc cde 'efg hij'k lmn'opq rst' 'ijk lmn' u'v'w  xyz 'abc' \'\\\\\' \'_Notes.txt\'   I used below pattern for my requirement but this parsing like below  Pattern p = Pattern.compile("[^\\s\"']+|\"([^\"]*)\"|'([^']*)'");   O/P:  abc cde 'efg hij'         //here k is missing lmn'opq rst' 'ijk lmn' u'v'w  xyz 'abc' '\\'   //here original string is \'\\\\\' '_Notes.txt' //here origina string \'_Notes.txt\'


What happens when I try to create an object using its empty default constructor but while adding brackets in ANSI C++?

I have a class called "Complex" which is intended to represent complex numbers. I have defined an empty default constructor for the class that only prints a message to the screen. When I try to create an object of the class in the main function as follows:  Complex c1();   The compiler(I am using BorlandC) doesn't give a syntax error but it doesn't create the object. How does the compiler interpret this line?


Which Stack Exchange site is for asking/discussing about system flows?

I'm developing systems I really don't have much background on. I do research, but I have some questions I'd like to ask that I can't find the answers to. I'm talking about system flows here for like  systems or accounting systems. "How is a process supposed to happen?", "Am I providing all the basic information needed?", etc.  Note: I'm talking about computer system development.


How can I install libavcodec-extra-53 on ubuntu 14.04?  When I use the following command:  root@sana:/home/sana/topology# sudo apt-get install libavcodec-extra-53   I receive the following message:  Reading package lists... Done Building dependency tree        Reading state information... Done Package libavcodec-extra-53 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it:   libav-tools:i386 libav-tools  E: Package 'libavcodec-extra-53' has no installation candidate


I'm just starting Blender and I have a problem with rendering smoke. I'm using blender 2.8. So while being in solid mode I can see animated colors, but once I switch to rendered mode it becomes grey.  As a test I've started a new project and got the same result. I used Quick effects to get smoke.  What should I do?


The numbers of references didn' t appear in beamer? How to solve?


Why do Windows 10 foreground apps mysteriously launch as background processes?

Occasionally Task Manager shows that "Store", "Settings", and/or "Calculator" are mysteriously running as background processes.   There's no corresponding foreground application, just the background processes. I haven't interactively run either during the current session. Neither is listed in the "Everything" tab of .    As discussed in  to , these two background processes cause a delay in executing Windows shortcut keys. But besides that, it's just plain weird.   Does anyone know why these foreground apps are mysteriously launching themselves as background processes?   And, ideally, how I can prevent it from happening? As discussed elsewhere ( and ), I could uninstall the Calculator and Store apps. But it seems like overkill to uninstall them just to defeat a shortcut key delay.


Populating a JTable from a .dat file in Java

I am trying to populate a jTable from a .dat file in Java.  However, it is not going well.  I have tried every solution I have found on the internet and I am still getting a NullPointerException.  I need to code to iterate through the file, convert each line to an array (or some other type of collection), display the array in 1 row of the jTable and then move on to the next line in the file and repeat the steps.  Here is the code I have so far:  private void displayEmployees() {     String line = null;     File employeeFile = null;     BufferedReader br = null;     String[] record;      try     {         employeeFile = new File("Employees.dat");         br = new BufferedReader(new FileReader(employeeFile));         record = new String[]{};         while (!(line = br.readLine()).equals(""))         {             record = line.split(", ");             employeeTable.addRow(record);         }     }     catch (Exception ex)     {         JOptionPane.showMessageDialog(null, "Unable to display employee details "                  + ex.toString(), "Information Retrieval Failed", JOptionPane.ERROR_MESSAGE);     }     finally     {         try         {             br.close();         }         catch (Exception ex)         {             JOptionPane.showMessageDialog(null, "Unable to close the connection to"                     + " the file", "Operation Failed", JOptionPane.ERROR_MESSAGE);         }     } }   Although I know what a NullPointerException is, I can't figure out what is causing it within my specific code.  After looking through all the related questions I could find on stackoverflow and elsewhere on the internet, I still can't find a solution that works.  Can anyone help me with this please?  Any help would be greatly appreciated.


What happened to Sauron immediately after losing the One Ring?

I watched and read LotR and Hobbit and there is no mention of the events after the Last Alliance overthrew Sauron.  I imagine that after Isildur cut off the Ring Sauron could be captured and for example taken to the Undying Lands to prevent him from corrupting Middle-Earth ever again.   So what happened after cutting the One Ring?


What do you call someone who has fought his way from a lower social class to a higher social class with his/her own efforts?

Is there a single word (noun) that describes someone who was born into a lower social class family, but struggled along to a higher social class with his/her own efforts? Idioms are also welcome.  For example, I have a friend who is such a person. He has very uneducated parents who also had a lot of financial problems when he was a kid. He grew up with no toys, with clothes from his older siblings, without much of a social environment. His parents just attended primary school before they immigrated to Europe, so his parents also could not guide him and motivate him for education. He was, however, able to graduate from one of the best technical universities without any support of others, including his parents.  I wanted to tell him that he is a ______, but I did not know what word would fit to describe him.


Every submodule is finitely generated iff every nonempty collection of submodules has a maximal element

This theorem was in Keith Conrad note on Noetherian module and I read the proof. Three conditions in the theorem are equivalent, but I want to find the way to prove $(1) \Leftrightarrow (3)$ directly.


Who decided to call quotient groups quotient groups, and why did they choose that name? A lot of identities such as $$\frac{G/A}{B/A}\cong \frac{G}{B}$$ suggest that whoever invented the notation understood these things a lot better than I do...  Edit: I'm also interested in the notation; I was assuming that the notation and terminology went together, but perhaps that is not the case.


Why am I seeing multiple different IP addresses reported as my public IP?

Could anyone explain why these sites are showing me as having different public IP addresses?  www.whatismyip.com - 46.19.227.251 as   showmyipaddress.com - 46.19.227.253 as   www.ipchicken.com - 46.19.227.252 as my IP  www.myipaddress.com - 46.19.227.250 as my IP


How to remember $\limsup$ and $\liminf$ of sets

I have an understanding of what $\limsup$ and $\liminf$ are as set theoretic limits.  I've also found a lot of explanations of how to think about them. I'm having trouble reproducing the arguments quickly though. Besides memorizing, do you have a quick way of remebering which order the intersection and union should be in?


Is it possible to dedicate a specific network connection only to the applications?

The environment where I work has an application which is available only within the intranet. Meaning it can be accessed using LAN and web access is under some restrictions with proxy server.  To avoid this restriction I use a 3G dongle but in that case I can not access that application even though I am connected to LAN.  How can I make sure web surfing with the 3G dongle and application access with LAN at the same time?  In other words is it possible to dedicate network connection to the applications?


How to run a program on a remote pc via command line?

How can I run a program on a remote Windows PC in our network without the need of killing an existing remote-desktop-connection? I only need a command line for running the program and getting its results. Thank you!


I am new to the field of embedded systems. Recently I was learning about the differences between different bit size (8, 16, 32) microcontrollers. What I found was that the size of bit indicates the memory addressing capacity, data bus and address bus size etc. Every other website has almost the same explanation. But still I could not find answer to some of the questions. To list them:   Is it really necessary for the address and data bus to be the same size as the bit size of the micro.  What is it that will become fixed for sure for a given bit sized microcontroller?  Do a microcontroller have have same address bus for all the memories (RAM, flash, EEPROM) and if so, is it the choice of manufacturer to allot any size to any type of memory out of the available addresses?  Say there's an 8 bit microcontroller. So it can adress 2^8 memory locations (that's what I figured out, I am not sure). If each register is 8 bit it means a total of (2^8)*8 =2048 bits of memory. That's not even close to the 32kb of flash inside most of them. What blunder am I making?


Upgraded to Ubuntu 16.4 and lost half years work, is it possible to go back to Ubuntu 14?


How long to wait after sending an email to a professor before I should assume that I will never receive response?

I have sent  an email to a professor at a local university. The email asks for assistance with a fairly large science fair. I have done much of the work and the email was asking about how I could improve it.  After 4 days I have not received a response yet.  Usually people check their email on a fairly regular basis (Once a day, usually) and so I am naturally worried about it.   Is it possible the professor has not read the email yet or should I email other professors?


Correlation coefficient between a (non-dichotomous) nominal variable and a numeric (interval) or an ordinal variable

I've already read all the pages in this site trying to find the answer to my problem but no one seems to be the right one form me...  First I explain you the kind of data I'm working with...  Let's say that I have an array vector with several names of city, one for each of 300 users. I also have another array vector with scores response to a survey of each user or a continuous value for each user.  I would like to know if exist a correlation coefficient that compute the correlation between these two variables so, between a nominal and a numeric/continuous or ordinal variables.  I've searched on the Internet and in some pages they suggest to use the contingency coefficient or Cramer's V or Lambda coefficient or Eta . For each of this measure the just say that they could be applied for such data in which we have a nominal variable and interval or numerical variable. The thing is that searching and searching, trying to understand every one of them, sometime is written or watching the examples that they are reasonable to use them if you have dichotomous nominal variable, except for Cramer's V, other time is not written any requirement for the type of data. A lot of other pages say that is right to apply regression instead, that is right, but I would just simply like to know if there is a coefficient like pearson/spearman for this kind of data.  I also think that is no so properly to use Spearman Correlation coeff since the cities are not sortable.  I have also built the function of Cramer'sV and Eta by myself (I'm working with Matlab) but for Eta they don't talk about any p-value to see if the coefficient is statistically significant...  In the matlabWorks site there is also a nice toolbox that says to compute eta^2 but the kind of input it needs is not understandable.  Is here someone that have done a test like mine? If you need more detail to understand the kind of data I'm using just ask me and I'll try to explain you better.


If $Y| \mu \sim N(\mu, A)$ and $\mu \sim N(\mu_0, B)$, showing the marginal of $Y$ is $Y \sim N(\mu_0, A+B)$

I have an n-dimensional multivariate distribution:  $$ Y| \mu \sim N(\mu, A) $$  and a prior of:  $$ \mu \sim N(\mu_0, B) $$  I would like to show that the marginal distribution of $Y$ is:  $$ Y \sim N(\mu_0, A+B) $$  My approach is to recognize:  $$ p(Y) = \int_{-\infty}^{\infty} p(Y|\mu) p(\mu) d\mu $$  This ultimately yields:  $$ p(Y) = \int_{-\infty}^{\infty} 2^{-\frac{k}{2}}|A|^{-\frac{1}{2}} e^{-\frac{1}{2}(y-\mu)^{T}A^{-1}(y-\mu)} 2^{-\frac{k}{2}}|B|^{-\frac{1}{2}} e^{-\frac{1}{2}(\mu-\mu_0)^{T}B^{-1}(\mu-\mu_0)} d\mu $$  To solve this is a mess and I am stuck here. Is there a simpler way to find the marginal? Thanks.


I am working with a 500 GB SQL Server database. I need to reduce the size of the database data file after removing a large amount (50%) of the data.  I tried re indexing, it's good the database has de-fragmented. But the DB size is not reduced.  I am not prepared to use shrink database. I have already tried compression and DBCC UpdateUsage but no space gain. Please advise me any other ways to reduce the database size.  Our client will not allow us to take the DB Offline. It might take 5 hr to shrink the database and then re indexing will take 3 hrs, so in total we would need 8 hr down time. I am looking for a solution without downtime.


Actually i wanted to install adobe reader on my linux machine, so i first typed the code sudo apt-get update and pressed enter then got a new problem. please fix this error  sudo apt-get update E: Malformed entry 52 in list file /etc/apt/sources.list (Component) E: The list of sources could not be read.   Source.list      # deb cdrom:[Ubuntu 18.04.3 LTS _Bionic Beaver_ - Release amd64 (20190805)]/ bionic main restricted  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://in.archive.ubuntu.com/ubuntu/ bionic main restricted # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic main restricted  ## Major bug fix updates produced after the final release of the ## distribution. deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://in.archive.ubuntu.com/ubuntu/ bionic universe # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic universe deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates universe # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates universe  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  ## team, and may not be under a free licence. Please satisfy yourself as to  ## your rights to use the software. Also, please note that software in  ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://in.archive.ubuntu.com/ubuntu/ bionic multiverse # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic multiverse deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates multiverse # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates multiverse  ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse  ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu bionic partner # deb-src http://archive.canonical.com/ubuntu bionic partner  deb http://security.ubuntu.com/ubuntu bionic-security main restricted # deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted deb http://security.ubuntu.com/ubuntu bionic-security universe # deb-src http://security.ubuntu.com/ubuntu bionic-security universe deb http://security.ubuntu.com/ubuntu bionic-security multiverse # deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse deb http://archive.canonical.com/precise partner # deb-src http://archive.canonical.com/precise partner deb http://archive.canonical.com/ precise partner # deb-src http://archive.canonical.com/ precise partner


How long does it take for DNS records to propagate?

This is a  about DNS Propagation   How long does it take for an the various types of records to propagate? Do some propagate faster than others?  Why does it take time for DNS records to propagate and how does it work?


How many sequences of lenght 2n, made of n "+1"s and n "-1"s and such that every partial summation of the first k terms is nonnegative, are there?

What's the number of sequences $$(u_{1},...,u_{2n})$$ with $u_{i}=+1,-1$, such that: $$\sum_{j=1}^{2n} u_{j}=0\quad\hbox{and}\quad \sum_{j=1}^{k} u_{j}\geq 0$$ I realized that $u_{1}=+1$ and $u_{2n}=-1$, but I don't know how to proceed...


What is the magnetic field of a radially moving current?

Let's say free electrons are contained in a small cloud because of electrostatic forces confining them. Now, if those walls vanish, the cloud will expand very fast because of the coulomb force inducing repulsion between alike charges.  I suppose there is now a current in the shape of a radially expanding flux, centered around the center of mass of the electron cloud. If one checks a small area of the sphere surrounding the cloud before its expansion, once the cloud starts expanding, a number of negative charges will move through it, so we have coulombs per second, i.e. amperes.  What does that mean for the magnetic field created by this varying electric field? Since the magnetic field is encircling the axis of the current, i.e. it is perpendicular to its direction, I would expect the ampere effect, i.e. that parallel wires with same sign current attracts each other. But that would seem to mean the lines of the electrons moving away from the center will contract and make the sphere collapse.  What is the real consequence of such a setting? A slowing down, like an inductor resists current change? Possibly a rebound or even an oscillating cloud?  EDIT: Someone explains to me how a question already assuming the correct answer is a duplicate. I understand it answers my question yes, but not as a duplicate.


Rsync not working: If trying to log the output of the Rsync to other file after successful completion of cron job

I was trying to execute the below on my linux terminal and it was working fine by creating the backup of the source file at a given location + a log file was getting created with timestamp to the name of the log file.  rsync -av --delete /home/root/Desktop/Test/ /home/root/auto_backups/My_Programs/ /home/root/auto_backups/My_Programs/zz_crontab_logs/`date +\%F_%H-%M-%S-%N`-test1.log   But when I am running the same as a crontab as given below the I am not getting any output at all. Neither the backup of the source file nor the log file.  30 11,22 * * * rsync -av --delete /home/root/Desktop/Test/ /home/root/auto_backups/My_Programs/ /home/root/auto_backups/My_Programs/zz_crontab_logs/`date +\%F_%H-%M-%S-%N`-test1.log   and if i am just trying below command in cron with out the creating the log file it working fine.  30 11,22 * * * rsync -av --delete /home/root/Desktop/Test/ /home/root/auto_backups/My_Programs/   Can some one help on this please.


I require use of the  package of similar one which support Prolog syntax-highlighting.  Given that I use the  "IDE", how do I enable shell-escape?    Though I attempted—see above—I still receive this in my output:  ! Package minted Error: You must invoke LaTeX with the -shell-escape flag.


How can I check the count of my tag wiki edits?  I want to become "Research assistant" badge, and I would like to know how many edits did I do.  Is there a way to do that?


chkrootkit shows "tcpd" as INFECTED. Is it a false positive?

Scan by chkrootkit shows "tcpd" as being INFECTED.  Although a scan by rkhunter shows ok,(except for regular false positives)   Shall I be worried?  (I'm on Ubuntu 16.10 with 4.8.0-37-generic)


Show election voting privilege notice next to its button

Clicking on one of the buttons in  election, I saw this notice pop up:  But it showed way down here!  If my scrollbar had been any farther up the page, I wouldn't have seen that.  Can we make the notice pop out next to the button, to avoid mistakes like this?  I also don't know why this would be by design; the "voting on comments on deleted posts" notice doesn't popup near the answer icon, for instance. Or, make it like the Vote Down privilege dropdown:


Formal proof that a subsample of a random sample is representative

There are two questions asking about the random nature of a subsample ( and ). However, they do not provide a formal proof of the result. I am looking for a proof to support my selection mechanism.  The specific problem is:   Say I have a random sample of size $M$, drawn from a given population. One of the dimensions of that population is, for example, gender. Now, from the above sample, I selects only those individuals who are female, obtaining a subsample of size $N$ (naturally, $N<M$). The question is: is that subsample representative of the population of females?


What happens if you go through an incoming stargate?


Why can't I break a block in survival mode when just being in creative mode?

So, I just went from survival mode to creative mode and switched back, only to find that I can't break or set ANY blocks! How can I fix this???!


Why is ((m^e mod n)^d mod n) = (m^ed mod n) in RSA?

$$RsaPrivate(RsaPublic(m)) = (m^e \bmod n)^d \bmod n = (m^e)^d \bmod n$$ $$RsaPublic(RsaPrivate(m)) = (m^d \bmod n)^e \bmod n = (m^e)^d \bmod n$$ why is this always true?


Jquery button click() function is not working

I am trying to create dynamic form where user can add dynamic text-fields based on their requirement. Here is my jquery code ..  $(document).ready(function() {     $("#add").click(function() {         var intId = $("#buildyourform div").length +1;         var fieldWrapper = $("
");         var fName = $("<input type=\"text\" name=\"name\" class=\"fieldname\" id=\"tb"+ intId +"_1\"/>");         var lname = $("<input type=\"text\" name=\"email\" class=\"lastname\" id=\"tb"+ intId +"_2\"/>");         var removeButton = $("<input type=\"button\" class=\"remove\" value=\"-\" />");          var addButton = $("<input type=\"button\" class=\"add\" id=\"add\" value=\"+\" />")         removeButton.click(function() {             $(this).parent().remove();         });         fieldWrapper.append(fName);         fieldWrapper.append(lname);         fieldWrapper.append(removeButton);         fieldWrapper.append(addButton);         $(this).remove();         $("#buildyourform").append(fieldWrapper);      });  });   and Html code is ...  <fieldset id="buildyourform">     <legend>Build your own form!</legend>
        <input type="text" name="name" class="fieldname" id="tb1_1" />        <input type="text" name="email" class="lastname" id="tb1_2" />        <input type="button" value="+" class="add" id="add" />
 </fieldset>  <input type="submit" value="send" id="asdasd" name="submit" />   Check my  also.   Whats wrong with me is when user click on "+" button first time then click function working and it adds two text-fields into my fieldset. But after that when i click on "+" button, its not triggering click function. May be id conflict. Please help.


if Higgs boson stopped existing, what would happen?

If The Higgs boson and field ceased to exist (starting now), then would particles zip around at the speed of light, or would they gain mass from $E=mc^2$?  Or would something else happen?


What’s the real-world origin of the name Azor Ahai?

Azor Ahai is some mythical hero, who may or may not coincide with other mythical heros that are supposed to be born and save us from the eternal night (which is dark and full of terrors, if we are to believe Melisandre).  But I'm interested in the origins of the name, here, in our world. More specifically because in Hebrew "Azor Ahai" means (albeit ungrammatically) "Help my brothers", or if you transliterate it differently you'd get "The Living Help".   Since writers often take meaningful names to be terms from other languages (and mangle them a bit), I can't help but wonder Did GRRM reveal the origin of the name "Azor Ahai" at some point?


Continuous injective map $f:\mathbb{R}^3 \to \mathbb{R}$?

How would you show that there is no continuous injective map  $f:\mathbb{R}^3 \to \mathbb{R}$?  I tried the approach where if $a \in \mathbb{R}$ then $\mathbb{R} \backslash \{a\} $ is not clearly connected so there can't exist a continuous function otherwise $\mathbb{R} \backslash \{a\} $ would be connected?


Why does my over all edit count of posts are different than the total edits count in profile page?

In Pro Webmasters I have edited 491 posts(All time)  But when I checked the edit count in my profile page it's 489 posts edited  What is the reason for this count variation? Note: It might be similar to  question but that question has been asked 2 years ago and they said  This will be fixed in the next build  But still existing.


How to construct a homomorphism from an abelian group to $\mathbb{Q}$

For any abelian group $A$. Is it possible to construct a nontrivial homomorphism from $A \to \mathbb{Q}$?  Is it possible if $A$ is a finite generate abelian group?


Why can't we see Rainbows from its end points?

We see Rainbows many times, but we always see them Horizontally or from Sideways. Why can't we see it from under it?/From the point where it starts or ends(end points)? I also want to stress on that, I am asking on viewing part and not about the formation, reason, causes of a rainbow.


Let $a , b , c \in [0,1]$. Prove that $\frac{a}{1+bc}+\frac{b}{1+ac}+\frac{c}{1+ab} \leq2$.  Thanks Mark for your reply. I'm new to the group so I dont know how to deal with this . Anyways I tried assuming that $c=\max\{a,b,c\}$ .   I also tried applying AM-GM on $(1+bc)$ but I got no result.


I have a @restResource that's receiving a JSON payload as a string. I am taking that payload and placing it into a Map<String, Object> variable. I'm trying to save the date/time into a variable that I can later pass to Salesforce.  String raw_start_date = (String)response.get('start_date');  Datetime start_date = Datetime.parse(raw_start_date);   I keep getting the following error when I receive my test packet:  FATAL_ERROR System.TypeException: Invalid date/time: 2020-01-15T00:00:00Z   What am I missing here? I'm I using the wrong command to get the data saved into a Datetime variable?


What's the actual physics behind the optical apodization?

Canon seems to plan to introduce a 50mm with apodization for a more natural bokeh [1], but it is not the first in photography [2]. Wikipedia article is only an introduction [2], and does not develop the physics behind.   What is the quantitative physics (mathematics) behind ? Which physical quantity can we build to quantify this esthetical quality manifested in the bokeh ? How do we achieve this in terms of engineering with a piece of glass ?   [1]   [2]


I tried to draw this in latex.     But not successful. How could I draw this quiver in latex? Thank you very much.


My ipad is superrrrrr slow on 9.3.2 Can I downgrade it anyway?


My mac mini has been having a major problem.... basically becomes so slow that it's inoperable. When this happens and I click Command/option/ESC an item comes up in the force quit window that is labeled com.apple.PressAndHold. I do this when a window that says "You are running out of Application memory, close unused applications".... That is when I have literally only the finder open. When I force quit the com.apple.PressAndHold, the computer starts operating fine....  Any suggestions?


How would Special Relativity work if the universe were periodic?

Okay, this may sound quite stupid, but I am currently learning special relativity in my physics class (2301 OSU). So since both frames assume that their frame is stationary and that time in all other frames is dilated. So if Twin A stays on earth and Twin B travels at constant velocity to another planet, both can say that the other person is aging slower. But since the twin that’s traveling goes through some sort of acceleration to return back to earth, they do age slower (due to effects of general relativity according to my friend). But what if that twin could return to compare clocks without having to accelerate (I know its not possible but its just a what if situation), how would their clocks compare?


Preparing to move, I found this together with the papers I got when I bought my bike. But what is it? Is it important?    It is about 2cm long.  I have four of these... Maybe related to the disk brakes? I was hoping they could be pad spacers, but that might just be wishful thinking.


Can an anonymous function in MATLAB have more than one line?

I've seen anonymous functions like:  @(eta) 30*eta^2;   but they mostly are one liners. Is it possible to have them have more than one line like:  @(eta) (x =eta^2; y=eta^3; return x+y; )   where one has more lines and variables defined in the anonymous function but let it remain as an anonymous function?


How to run VMWare ESX or ESXi in a virtual machine?

Can VMWare ESX or ESXi be installed and used inside a virtual machine?  It can be installed inside VMWare Workstation or Server, but then it doesn't work; the main symptoms are:   It runs REALLY slowly. It lets you create VMs, but when powering up them it gives an error stating "You may not power on a virtual machine in a virtual machine".


I have a block of text that I would like to automatically break in blocks of equal length. Something like what \num does with numbers.  What I need is a definition for what I called \makeBlocks. The MWE below should output: aaaaa bbbbb ccccc ddddd followed by abc def ghi  \documentclass{article}  \newcommand{\makeBlocks}[1]{???}  \begin{document} \makeBlocks{5}{aaaaabbbbbcccccddddd}  followed by \makeBlocks{3}{abcdefghi} \end{document}


Is the continuing absence of Imgur resizing for new images still temporary, or permanent? ETA?

The question  has a work-around listed, but no information about the reason this function is suddenly not available for new images thought a quick check of an old post showed that previously generated medium size images are still medium size.  Is there any information if this has been discontinued, or is only temporarily broken?   I find this really useful, so I'd like to know if I should just wait a little longer, or if I should start manually resizing my images or using the workaround described in the answer there.  Question: Is the sudden loss continuing absence of Imgur resizing for new images still temporary, or permanent? ETA?  Thanks!


"Install" button is disabled in Ubuntu (12.04 LTS) Software Center

Until recently, I was able to download and install applications directly from the Software Center but now since the past few days, the "Install" button is disabled at all times when I try and get an application. "sudo apt-get" works fine, but I would like to have the option of installing stuff directly from the Software Center.   The screenshots below will make things clearer: (As you will observe in both snaps, the Install button is disabled...)      I recently installed Ubuntu and have been encountering this problem since day 2. I am using Ubuntu 12.04 LTS on a Dell Inspiron 15R 64-bit. Please someone help me out with this. Thanks in advance :D


how to read an output message from Process

I have a C# application which calls a exe file. Below the code I used for calling the process:  System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.EnableRaisingEvents = false; proc.StartInfo.FileName = "ContasillabeGame"; proc.StartInfo.Arguments = numeroSillabe + " " + numeroToken; proc.OutputDataReceived += new DataReceivedEventHandler(OutputToTextArea); proc.Start(); // Start the asynchronous read of the sort output stream. proc.WaitForExit();   And here the method used for getting data retrieved from the process.  private void OutputToTextArea(object sendingProcess, DataReceivedEventArgs outLine) {     // Collect the sort command output.      if (!String.IsNullOrEmpty(outLine.Data))     {         System.Console.WriteLine(outLine.Data);     } }   With this code i launch app ContasillabeGame but i don't have any result from that app. Why? For send message from ContasillabeGame i use this code  Sample code for send message:  System.Console.WriteLine("pippo");


In a Math lecture , we solved the following DE   $$yy'^2+2xy'-y=0$$  in 3 ways : First we solved for y' by taking y' in one side , making a substitution and integrating.  We solved the DE again for x and one more time for y as following :   We solved the DE for y , by taking y in one side and called y' as p , then we differentiated both sides w.r.t x to get finally a separable DE in p and x that can be solved easily.  And we solved the DE for x by taking x in one side and called y' as p , then we differentiated both side w.r.t y to get finally a separable DE in p and y that can be solved easily.  My problem is that I do not understand why can we need to solve a DE for x and y ?? solving the DE for y' gave us the solution we need . What do the solutions gotten from solving for x and y represent ?? and why do we differentiate w.r.t x when solving for y and differentiate w.r.t. y when solving for x ? ..Is this a standard method to solve non linear DE?? If you can provide me a reference name that introduces this method of solution ,I will be grateful!


How many teams of 5 players can be chosen from a group of 10 players? How many teams will include the best player and exclude the worst player?

This was a question from my textbook. This is how I approached it.   For the first part, you can do c(10,5) so you choose 5 of the 10 to be on a team.   For the second part, you have 10 ways to choose the "best player" and you multiply it by c(10,4) to pick the other 4 players. However, I am not sure how you can exclude the "worst player". Although this sounds subjective, I believe the question is saying that the "best" and "worst" players are distinct, whereas the other players aren't.


Using Polyglossia with setdefaultlanguage{french} breaks spacing in verbatim and \verb: \verb|a:b| typesets as a :b.  , .  Before I delve into Polygloglossia's internals -- does anyone know how Polyglossia interacts with verbatim, and do people have hints about fixing this issue?


How do you change the language on Google Play? I'm American, so I want it in English. I live in Luxembourg, have a Lux SIM card and bought my phone in Thailand and yet the Google Pay Topics are all in Italian. I lived in Italy years ago but I'm not using anything that I got in Italy. I've tried clearing the cache on the app, but I get the same thing and it's also on my laptop, which I purchased recently in Lux as well. It's really annoying. How can I change it? Please help.


Is the following true or false:  If $\int_0^{\infty} f(x)dx$ converges and $\lim_{x\rightarrow \infty} f(x)$ exists, then $\lim_{x\rightarrow \infty} f(x)=0$?    This should be doable without series.


When I use OMZ, I have a very, very nice feature I like to call context-sensitive history. It's easier to show than describe. If I run:  % abc % cba   And then I type % a[up], without CS history I get% cba. With it I get % abc. What in OMZ causes this?  EDIT: I want this to give me results based on the beginning of the command. With the substring search suggested by @Thomas Dickey, it matches if what I typed was anywhere in the command.  EDIT 2:  @jasonwryan's answer in  is almost it; the only thing is that the cursor should be at the end of the new line rather than staying at its current location.


Is there a word to name being unable to think of "proper terminology" for something?

In regards to only being able to say something like "hand ankle" when meaning "wrist", but the person is absolutely unable to remember the word "wrist". (Or "unsweet doughnut", when someone can't remember the word "bagel".)  Is there a word to describe this phenomenon of cobbled together phrases meant to bridge a temporary gap in commonly-known vocabulary?


Why does not the negative indices in python strings result as expected?

I created a string in python : 'HelpA' and labeled it as word.  >>>word='HelpA'  >>>word  'HelpA' #expected string  >>>word[0:4]  'Help' #expected string   While calling the word with negative indices, I am getting the full string instead of partial string as expected.  >>>word[-97:]  'HelpA'  #not the expected string   Its giving the whole string instead of expected string : 'pA' Why does this happen?


Anonymize @-mentions in comments on account delete

The  page states that your questions and answers will be anonymized and disassociated when your account is deleted. Why doesn't this apply for comments as well? Any comments that have @-mentioned the deleted user remain unedited thus revealing the very thing that was supposed to be disassociated from the question/answer.  I think all Stack Exchange sites would benefit from a feature which anonymizes all comments in which a deleted user was @-mentioned. For example:   The following comment: @Chris please provide more info about...  Would instead become: @user306512 please provide more info about...  I have zero legal experience so I might be entirely wrong here, but I believe that with the modern legal standards regarding privacy, the  and the  this might be something worth looking into in order to better protect users privacy and identity.


Biblatex in Beamer doesn't work unless backened=bibtex8 is provided

I have ref.bib and want to cite some papers at the end of the slides. So far I know I should use \footfullcite{key} with \usepackage{biblatex} and the references would be shown at the end of the slide. However, doing pdflatex bibtex pdflatex in my texMaker. Specifically, when running bibtex will give the following :     This is BibTeX, Version 0.99d (TeX Live 2016) The top-level auxiliary   file: mwe.aux I found no \citation commands---while reading file   mwe.aux I found no \bibdata command---while reading file mwe.aux I   found no \bibstyle command---while reading file mwe.aux (There were 3   error messages)   adding [backend=bibtex8] will work although it gives warning 'functionality may be reduced'   My question is how to place citations bottom of the slide with biblatex without resorting to biber in texmaker  \documentclass{beamer} \usepackage[backend=bibtex8]{biblatex} \nocite{*} \bibliography{ref} \begin{document} \begin{frame} Hello. \footfullcite{key}. \end{frame} \end{document}


How to initialize a structure on definition?

Is there a way to declare a structure with default initalisation values?  I have a header file which defines a structur like this:  typedef struct struc_s {     size_t cost const = 2000;     size_t dmg const = 100;     size_t def const = 100;     size_t hull const = 1500;     size_t shield const = 300;     size_t capacity const = 2;     size_t destruc const = 10; } struc_t;   But this ofcourse doesn't work.  I would also be fine with a way of declaring a var of type struc_t in this header file. But as I remember right. I would have to decalre it in the c file as extern  What I want to do is every where where this header is included i want to be able to do var = struc_s.dmg and and the result should be that var holds the value 100. But I dont want to declare struc_s anywhere else then in the header. Is there a way to archive this behavior?


Recommended ways to upgrade AlwaysOn AG from 2014 to 2016

What is the recommended process of upgrading Availability Groups with one Sync Replica from SQL 2014 to 2016?  My understanding is that in-place upgrades are not really liked among database professionals. Is there a way to avoid in-place upgrades in Availability Groups? Is there a possibility to join a 2016 server into an existing 2014 availability group and to failover there, then "kill" one of the other instances and upgrade it? (e.g. by removing/re-installing SQL side-by-side on the same host)  Are there any other upgrade scenarios that we should consider?  The ideal solution would be that we always have 2 online replicas, and that we don't need to do any in-place upgrades.


Need to create a primary key by the combination of 4 fields to determine a price

I need to create a primary key with combination of 4 fields, i.e. Product  + Sales Unit Of Measure + Currency + Province.  If any of the 4 fields differ, it will result in a different price for the product.  Currently the logic goes just for the region. But currently the country I have been working for is maintaining price on the basis of Sales unit of Measure.  I have added fields on the standard price page. But how do i form a primary key with the combination of these fields?


$f:\mathbb R\to\mathbb R$ differentiable, $f(0)=0$ and $f'(x)=[f(x)]^2$. Prove that $f(x)=0$ for all $x\in\mathbb R$.

Let $f:\mathbb R\to\mathbb R$ differentiable such that $f(0)=0$ and $f'(x)=[f(x)]^2$ for all $x\in\mathbb R$. Prove that $f(x)=0$ for all $x\in\mathbb R$.   My thoughts:   Suppose, to the contrary, that $\exists a\in\mathbb R$ such that $f(a)\neq 0$. Assume $f(a)>0$ $\left(f(a)<0 \mbox{ is analogous}\right)$. Hence, $f'(a)>0$ and therefore there is $\delta>0$ such that $x\in\mathbb R$ and $a<x<a+\delta$ implies $0<f(a)<f(x)$. Thus $f(x)\neq 0$ for all $x\in(a,a+\delta)$. We have that $\dfrac{1}{f},h:(a,a+\delta)\to\mathbb R$ given by $h(x)=-x$ are primitives of the function $t(x)=-1$, $x\in(a,a+\delta)$ since $$ \left(\frac{1}{f}\right)'(x)=\frac{-f'(x)}{f^2(x)}=\frac{-f^2(x)}{f^2(x)}=-1. $$ and $h'(x)=-1,\; \forall x\in(a,a+\delta)$. Since primitives differ by a constant, it follows that $$ \frac{1}{f(x)}-h(x)= C \Longrightarrow f(x)=\frac{1}{-x+C},\quad C\in\mathbb R. $$  I stop here. My attempt was to be able to evaluate $f(0)=\frac{1}{C}\neq 0$, which would give a contradiction, but my function is defined only in $(a,a+\delta)$.


Japanese Stack Overflow is almost as old as Jesus

So, it's  again:    I feel like this might be a small bit of false advertising on SE's part. It's been like this since the site creation 2-3 days ago.


Comment links starting with double slashes (//) doesn't show up in linked posts

If the below, for example, is posted as a comment, the linked post doesn't show up in Linked in the sidebar.  [Doesn't show up in linked.](//meta.stackexchange.com/q/3122)   This seems like a bug.


wget can see the internet, ping and git cannot

This is on a virtual CentOS host which I access via terminal ssh, and have sudo rights on.   wget works fine. Neither ping nor git can see the internet at all. Since wget is able to resolve host names while fetching pages, it doesn't seem to be DNS related.  I checked the iptables command as suggested below; no relevant protocols seem to be blocked.  How do I go about troubleshooting the cause?


User equals untrustworthy. Never trust untrustworthy user's input. I get that. However, I am wondering when the best time to sanitize input is. For example, do you blindly store user input and then sanitize it whenever it is accessed/used, or do you sanitize the input immediately and then store this "cleaned" version? Maybe there are also some other approaches I haven't though of in addition to these. I am leaning more towards the first method, because any data that came from user input must still be approached cautiously, where the "cleaned" data might still unknowingly or accidentally be dangerous. Either way, what method do people think is best, and for what reasons?


Post-split, Meta's moderators are (we've been told) the CMs and maybe a few other employees.  And, sure enough, those folks have diamonds.  However, something's missing:    Where are all the moderators??  Also, while I'm here, see the underlined text -- I know it's boilerplate, but since Meta doesn't have elections, you might want to change that.  (Lest you say that per-site metas have that text too, at least their associated sites have elections.  Lest you say that betas don't have elections, at least they can aspire to do so in the future.)


Seeking list of geodetic benchmark locations for all of Canada?

Does anyone know where I can find a list of geodetic benchmark locations for all of Canada?   I am looking for a few specific control monuments in Arctic Canada with accurate coordinates


Excel freezes when copying a few cells multiple times

I have had a frequent problem in Excel 2013 and Excel 2010 on several different computers, where Excel would freeze for 10-20 seconds when I copied a few cells into 3 or more locations.   I frequently want to copy data into every other row, so I end up hitting paste repeatedly on the same set of copied data, until Excel freezes and I have to wait for it.  I'm hoping someone else has encountered this same problem and has a workaround or solution for this, as when I have to fill in a hundred columns of data this really slows me down.  I've had this problem on three different computers, in both Office Excel 2013 and Office Excel 2010, so it doesn't seem specific to any particular computer setup.   I've attached an example where Excel froze during a copy, and a list of my addins installed.


I think there should be a separate community/site here on the topic of  (IoT).


How can I store and retrieve a custom list in a blend file?

I am trying to create a script that will allow me to generate a list and store it in the blend file. The list starts out blank and then strings get added to the list, resulting in: ["test1","test2","test3"] I create a PropertyGroup Class for the enum, define a new scene property as a CollectionProperty type with access to that enum Class, before appending a new item into the enum: import bpy  class item_set(bpy.types.PropertyGroup):     myItems = []     enums = bpy.props.EnumProperty(name="My Items", items=myItems) bpy.utils.register_class(item_set)  bpy.types.Scene.myItemSet = bpy.props.CollectionProperty(type=item_set)      newItem = bpy.context.scene.myItemSet.add() newItem.myItems.append("test")    I need to be able to add items to the list, save the blend file, re-open the file, run the script again and retrieve the list from the scene. However, the  states:  One thing to keep in mind is that after saving and reloading your blend-file, your new property will have disappeared...    ...To make the values you assigned in a previous session available again, you need to redefine the property. So after reopening the blend-file you need to rerun: bpy.types.Object.myProperty = bpy.props.StringProperty()   I can do the appending into and retrieval of the property values absolutely fine upon an initial run, but as the documentation states, the property is unavailable when trying to view it's contents on a reload of the file (after having run the script, saved and re-opened the file), but I am unsure how to redefine it without clearing all it's values. If I redefined the scene property, it would presumably also need the enum Class to be available, which would currently set myItems back to [] (empty). Do I need to change the way I am initially setting the items in the class or am I on entirely the wrong track with all of this? All I need to do is store a list in the blend file, so if there is a better way please let me know. Thanks. (I would hope, eventually, to be able to store sub lists [["a","b"],["c","d"],["e","f"]], I'm just trying to get normal lists to work first.)


It's my first time using ubuntu so I don't know how to use it very well yet... How can i install python 3.5.2 ? It has already the version 2.7.12 . My Ubuntu version is Ubuntu 16.04 LTS (desktop).


Is it true that $(a+b)^x>a^x+b^x$ for three numbers $a,b,x>1$

This holds for if $x$ is natural nunbers greater than $1$ so i think it would work for every real nunber $x$ greater than $1$.


If somebody uses the hair of a Metamorphmagus in Polyjuice Potion, can they then use the abilities of the Metamorphmagus?

If someone were to take Tonks's hair, as she is a Metamorphmagus, does that mean that they can change their appearance just like her, as Polyjuice Potion copies all of the attributes of the person you are transforming into, or would they only be able to turn into Tonks (with her regular hair and features)?


Can I reinstall windows without loosing my dualboot?

I installed windows 10 in 50% of my SSD Then, i installed linux in other 50% (OS Only)  And i have 75% HDD for Linux + 15% for windows (Data only)  Everything worked fine until Windows update broke windows: blue screen at boot, "inaccessible boot device".. A classic problem in dualboot with windows.  Now, I would like to reinstall w10 in it's partition. I don't want to break my linux installation, so i prefer asking here:  Can I clic "Next" here ?    The partition selected is the windows partition is my SSD. I hope it will not recreate shemas of disk, destroy other partitions, or something else  Thanks !


If I have that $X,Y,Z$ are jointly independent random variables, how can I show that $X$ is independent of $YZ$ (the product)?

I read in a book that gave without proof that if I have that $X,Y,Z$ are jointly independent, then $X \perp cYZ$, where $\perp$ means independent of and $c$ is a finite constant. How can I show this fact from a measure theoretic or even simpler way? thanks!


Will helium in the tires of a bike make it lighter?

I know that helium balloons float because it is less dense than air. I'm not expecting my bike to float, although that would be pretty cool. I just wanna know if replacing normal air with helium in the tires will produce a noticeable effect on its weight. Will the helium 'lift'/reduce the weight force on the bike?


What are some equivalent statements of (strong) Goldbach Conjecture?

What are some equivalent statements  of (strong) Goldbach Conjecture ?   We all know that Riemann Hypothesis has some interesting equivalent statements.  My favorites are involved with Mertens function, error terms of Prime Number  Theorem, and Farey sequences. Those equivalent statements do not use Riemann Zeta function directly, but provide additional insights about Riemann Hypothesis from very different angles.   What are some equivalent statements  of (strong) Goldbach Conjecture ?  to shed lights on this problems from different angles ?


Does a Readied spell immediately use a spell slot?

The PHB is a bit unclear when it comes to readied spells in combat. If I lose my concentration do I lose the spell slot? What about if the trigger never occurs, do I get the spell slot back?


What does the notation f ∈ {0, 1}^N mean?

I'm trying to solve a problem in which this notation occurs. On the one hand, I have the question of what it means that a function f is an element of {0,1} ^ N and what {0,1} ^ N means. Thank you in advance!


SyncMaster 2693HM unnatural color over laptop's HDMI port

I have got a samsung SyncMaster 2693HM plugged it to my laptop through the hdmi cable and I realized that the colors are different between the two screens. When playing movies it doesn't bother, though the colors are different the movies on both screen are of very good quality, though the one on my laptop seems more real/natural.  The big problem is when reading on the syncmaster or browsing the net, or using a certain program (which means everything other than watching movies!) Reading text causes eye fatigue.  One very evident difference between the two screens is the blue welcome screen of windows 10 where my laptop screen has a more darker blue, which feels better for the eyes.  my laptop is msi ge62 6qf (it has intel graphics 530 & NVIDIA GeForce GTX 970M)  The question is: Has anyone had a different-color problem similar to the one I have described ? if yes did you find a solution ?   Btw: I have tried the settings mentioned in this site:   Brightness : 17 Contrast : 85 Red : 20 Green : 12 Blue : 23  The result was better than other combinations yet it was far from satisfactory.  PS: I didn't try a different laptop with the monitor, thus I don't know if it might be a laptop-problem! However, the hdmi display should work as a plug-and-play without any problems  thanks in advance


How to manage imposter syndrome during the job hunt?

There are lots of questions on here about dealing with Imposter Syndrome throughout the whole Ph.D. experience.  I have struggled with Imposter Syndrome throughout my whole Ph.D., but was able to manage it through a supportive adviser who thinks the world of my work. However, this is changing now.  I am on the job hunt (graduating this spring with a Ph.D. in applied mathematics - my research is sort of straddling the line between applied math and computer science, although my masters and bachelors are both in pure math) and I am focused on teaching-oriented schools, and have a diverse teaching background (with overwhelmingly positive teaching evaluations).    I have applied to many jobs.  I have gotten a decent number of first round interviews (phone, skype/zoom, conference interviews at the Joint Math Meetings) but only one on campus interview so far.  And still waiting to hear back from them (probably not the top candidate judging by the time).  The job most interested in me right now is a job I was qualified for with just my masters - and I only have unofficial word on that, hearing things through the grapevine.  There has also been countless rejections of the form-letter variety.  Sorry for the rambling.  Long story short, I struggled with Imposter Syndrome through the Ph.D., was built up by a supportive adviser and finally was feeling like I actually did belong in academia, and now the complete lack of job prospects is just making me feel like it was all a mistake somehow.  Somehow I slipped through this far, but nobody will actually want me on faculty.    Those of you who have been here before - how did you personally deal with feeling not good enough after all this work?  The way I'm feeling is interfering with me finishing typing my dissertation, because I'm feeling like there is no point.  How can I snap out of this enhanced imposter syndrome?


Can I use a USB stick for a normal install? (to get platform adaptability)

So I know I can make a persistent LiveUSB whereby there would be anywhere up to 4GB (I think that's the max) of persistent storage for downloads, etc.  I am asking the opposite, in a sense. I'd like to configure a USB install to have the platform adaptability that a Live OS offers while fully utilizing the 120GB of space I have.  In essence I'm hoping to have a boot up install that reconfigures most/all the hardware/drivers as necessary every boot as I'd like to be able to boot off of it on nearly any machine. (Within reason - they will all be 64-bit)  The biggest gripe with doing multi-platform booting is the video driver stuff. Sometimes the system I'm booting off of is AMD, sometimes Nvidia, sometimes Intel.  Alternatively, a usable answer may be a way to better configure the LiveUSB setup for more storage utilization and customization.


What is a GFI outlet used for, and where should I install them?

What purpose does a GFI serve?  Where should they be used?


Limit of definite integral of $f(x)\cos(mx)$

Source: Old comp./preliminary exam.  Let $f(x)$ be a Riemann integrable function on $[0,1]$. Prove that $$\lim_{m\to\infty}\int_{0}^{1}f(x)\cos(mx) \, \,dx=0$$  Thought  $(1)$ Because we don't know if $f(x)$ is differentiable, we can only use integration by part by setting $du=f(x)\, \,dx$ and $v=\cos(mx)$, the result is not quite helpful.  $(2)$ We don't know whether $f(x)\cos(mx)$ converges as $m\rightarrow \infty$ so those convergence theorems cannot be applied.  Side note: This exam assume no knowledge in measure theory and Lebesgue integral.


Giving Ubuntu Desktop a domain name to ssh into

I know absolutely nothing about remote access to a desktop. I've just set up a machine with Ubuntu installed which I wish to run calculations on remotely.  I've installed openssh-server and opened port 22. I can now successfully access the desktop remotely using the command  ssh username@IPADDRESS   But I have a couple of questions:  1) Since this machine is connected to a network, I'm worried the IP address may change - how do I make it static?  2) (And more importantly). It would be a lot easier if it wasn't an IP address used to ssh to the machine. How do I change it from an IP address to something like:  ssh username@MACHINENAME.university.address   Some machines here already have this set up but I'm not quite sure how to do it.  Thank you


Where can I find more documentation on building an Ubuntu-based cloud infrastructure?

I've been reading:   It's fascinating stuff, but documentation seems a bit sparse. Where I work, we have this aging, clunky VMWare ESXi setup for all our internal servers. I'd really like to read up on possible migration or just information on Orchestra, integration with Juju, etc that isn't a bunch of loosely connected blog posts. :p  This is concerning 11.10 and, presumably, 12.04.  To make this less vague, specifically documentation on:   Orchestra - features, comparisons, videos, etc Integrating Juju with Orchestra - I'm familiar with using Juju for deploying on AWS, but that wiki page glances over connecting it to orchestra Building a private cloud - Advantages, using/deploying Openstack, etc Working with internal networks - Configuring DMZs, setting rules, etc   Any recommended books would be appreciated too. I didn't intend for this to be a 'do all my homework for me! LMGTFY' post, I'm just hungry for information and haven't found a good repository of knowledge for much of this.


What did the first humans tell their children about the Matrix and the real world?

When the first humans were plugged into the Matrix, they would obviously notice some differences, such as the level of technology available. When they started to have children in the Matrix, is there any canon evidence that they told their children about the Matrix?   Did they recorded the events that happened in the real world inside the matrix to pass on, but it simply got lost and forgotten because of a ?


how can i redirect two domain on the same server.. let say this domains  http://www.game.com -> http://www.games.com http://game.com -> http://www.games.com http://games.com -> http://www.games.com (*this is not redirecting*)   all domain all should redirect to this domain   heres the current htaccess content  RewriteCond %{HTTP_HOST} ^game.com$ [OR] RewriteCond %{HTTP_HOST} ^www.game.com$ RewriteRule ^/?$ "http\:\/\/www\.games\.com\/" [R=301,L]  RewriteCond %{HTTP_HOST} ^games.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.game.com$ RewriteRule ^/?$ "http\:\/\/www\.games\.com\/" [R=301,L]


What is the best number of paragraph width for readability?

Since my current project has a lot of text/paragraph content, I consider about the readability of the website.  I've seen and try to inspect any of sites that I feel have a good readability such as medium.com, Quora.com, and so on.  Their width of the paragraph always between 500-700px.  My question is, what is the best number of paragraph width for readability?especially on desktop view.


Getting started with "man": a few questions

I'm having problems with man:   How can I display sections of a man-page? How can I figure out what sections a man page offers? According to man man -S is the parameter I need to get a list of "sections" available of a man page. But if I try to display available sections of git, ls, or pwd with: man -S git. I would expect a list but all I get is: What manual page do you want? I also have a second question: How can I display a short version/preview of a man page? It's also my task to figure this out. I couldn't find a parameter that sounds like the thing I want to do.   PS: I'm using a shell on MacOS Sierra


How can I move files into subdirectories by count?

I have around 100,000 files in a directory. As you can imagine, that's not an ideal situation, and I'd like to split the directory up into subdirectories. But the filenames aren't such where I can put them into subdirectories based on their names or anything, so I'd like to create, say, 10 directories and put about 1000 files in each. Is there an easy bash command or loop that would do this?


I have problems with this code and I have no idea how to fix it:  \documentclass[10pt]{article} \usepackage{makeidx} \usepackage{multirow} \usepackage{multicol} \usepackage[dvipsnames,svgnames,table]{xcolor} \usepackage{graphicx} \usepackage{epstopdf} \usepackage{ulem} \usepackage{hyperref} \usepackage{amsmath} \usepackage{amssymb} \author{NAME} \title{TITLE} \usepackage[paperwidth=612pt,paperheight=792pt,top=28pt,right=34pt,bottom=35pt,left=34pt]{geometry}   \begin{document}  \noindent \textbf{ABSTRACT}  \noindent \textbf{}  {\raggedright  \vspace{3pt} \noindent \begin{tabular}{|p{514pt}|} \hline \parbox{514pt} {\raggedright  \vspace{3pt} TEXT \textbf{. } TEXT } \\ \hline \end{tabular} \vspace{2pt}  }  \end{document}   The error that I got is this:  Command Line:   latex.exe --src --interaction=errorstopmode --synctex=-1 "file.tex" Startup Folder: C:\Users\*****  This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit) entering extended mode (file.tex LaTeX2e <2015/01/01> patch level 2 Babel <3.9m> and hyphenation patterns for 1 languages loaded.  ! LaTeX Error: Missing \begin{document}.  See the LaTeX manual or LaTeX Companion for explanation. Type  H <return>  for immediate help.  ...                                                l.1 ï      »¿%\documentclass[10pt]{article} ? x No pages of output. Transcript written on file.log.     LaTeX Compilation Report (Pages: 0)  Errors: 1   Warnings: 0   Bad Boxes: 0      Any help is appreciated.   Thanks in advance


Parse a MySQL insert statement with multiple rows

I have a huge MySQL Dump with lots of insert statement using the multiple rows syntax. I need to search for specific content in each row, therefore I want to split the statement to have each row in a extra string.  INSERT INTO tbl_name (a,b,c) VALUES (1,2,'test1'),        (4,5,'test2 (test2a),        (test2b)'),(7,8,'test3');   Result should be a list of the 3 blocks  [     "1,2,'test1'",     "4,5,'test2 (test2a),(test2b)'",     "7,8,'test3'" ]   Question, what is the most efficient way to achieve this. Is it regular expression with some magic? Language does not matter for me. Can do with Java, PHP, Perl ...


give direct proof of the fact $a^2 - 5a + 6$ is even for any integer

I know this is true but I don't know how to prove it.  I have worked it out for the integers from $1$ to $10$ but this is not direct proof, is there a formula I need?


How do I use pathfinder on multiple objects?

I have some text. I changed it to outline. Drew a rectangle on it. Selected all and then pathfinder->minus front. I got a weird result. How can get my desired effect in this way?


When I vote to close a question, there's a message saying that I have X votes left. I assume those regenerate after some time? What are the rules on that? Is it different for different sites across the Stack Exchange network?


Is it possible to have several languages in Windows 8?

I had Windows 7 Ultimate before I upgraded to Windows 8 Pro and before, in Windows Update, there were updates that allowed me to install more language packs for Windows. After installing the updates I would have more languages for the interface.  Now I don't see any language updates, is it not possible to have various languages in Windows 8? Or maybe they are not ready yet?


how to bring up the menu at the bottom left

hello everyone I have a little problem, how do I bring up the menu in the circle? when I select another object the menu becomes non-existent


Are photon energies universally quantized?

Is it theoretically possible to have a photon of any energy/wavelength? I have a vague memory in my mind of something like there being a minimum energy level for a photon and then the possible energy levels jump up in discrete but ever decreasing amounts, so that near e.g. the visible spectrum photon energies are for practical purposes continuous.


Can't Install VLC Media Player (Ubuntu 14.04)

I have a problem while trying to install VLC Media Player.  I type sudo apt-get install vlc in the Terminal, and this is what I get:  sudo apt-get install vlc [sudo] password for hagaymosko:  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies: vlc : Depends: vlc-nox (= 2.1.4-0ubuntu14.04.1) but it is not going to be installed Recommends: vlc-plugin-notify (= 2.1.4-0ubuntu14.04.1) but it is not going to be     installed Recommends: vlc-plugin-pulse (= 2.1.4-0ubuntu14.04.1) but it is not going to be     installed E: Unable to correct problems, you have held broken packages.   What does that mean, and how do I fix it?


So I have created a Site Page that has the "New Experience" look and I would like to change its style a little. Nothing major, just the height, width, color, etc. However, I can not seem to figure it out.   For example, I tried to change the height of the .pageHeader to a smaller value.   .pageHeader{ height: 150px !important } //for example of CSS in file   Here is a reference image of the page i'm trying to change    I tried adding   <link href="../SiteAssets/file.css" rel="stylesheet" type="text/css">   to the .aspx page using SharePoint Designer and it didn't work.    I also tried adding   <SharePoint:CssRegistration ID="CssRegistration" Name="SiteAssets/file.css" runat="server" />   to the .aspx page and it didn't work    I tried to use the "Embed" feature to add the CSS; however, it complains and says,     This embed code doesn't seem to work. We only support iframe based embeds.   Question:   How can I add custom CSS to this type page?  I can't seem to figure it out and I'm not sure exactly why the page will not load the file.  Is this even possible?


Using Python to add object with specified number of vertices?

How, in Python, could I add an object with a specified number of vertices n, all of which are at, say, the origin (0,0,0)?


In multiple regression, a coefficient gets opposite sign in subsample than in the full sample

In a multiple regression, the regression coefficient of the two subsamples is opposite to that of the full sample. Both coefficients are significant. The sum of the number of obs in the two subsamples is equal to that of the full sample. Is this normal? What are the possible causes? Thanks.


A story both SF and Fantasy where a character in a spacesuit has a phantom arm

I don't remember when I read this. At least 20 years ago but maybe more. Nor the length. Probably not a very short short story but whether a novelette or a full length novel I have no idea.  It was at the same time SF and fantasy, because the only thing I remember is that one of the characters, while in a spacesuit in the vacuum (SF!) was able use his "phantom-hand" (Fantasy!).  I think that at some point he had lost an arm and developed this strange telekinetic power which he interpreted as a "ghost arm". Later he was grafted an artificial arm, but retained his telekinetic power as a "third" arm that could penetrate matter and for instance wipe his sweat from his brow while in his space suit. I don't remember anything more, alas.


I am working on refactoring some old code and have found few structs containing zero length arrays (below). Warnings depressed by pragma, of course, but I've failed to create by "new" structures containing such structures (error 2233). Array 'byData' used as pointer, but why not to use pointer instead? or array of length 1? And of course, no comments were added to make me enjoy the process...  Any causes to use such thing? Any advice in refactoring those?  struct someData {    int nData;    BYTE byData[0]; }   NB It's C++, Windows XP, VS 2003


Get integer value of the current year in Java

I need to determine the current year in Java as an integer. I could just use java.util.Date(), but it is deprecated.


I've got the following script:  #!/bin/bash echo "We are $$" trap "echo HUP" SIGHUP cat    # wait indefinitely   When I send SIGHUP (using kill -HUP pid), nothing happens.  If I change the script slightly:  #!/bin/bash echo "We are $$" trap "kill -- -$BASHPID" EXIT    # add this trap "echo HUP" SIGHUP cat    # wait indefinitely   ...then the script does the echo HUP thing right as it exits (when I press Ctrl+C):  roger@roger-pc:~ $ ./hupper.sh  We are 6233 ^CHUP   What's going on? How should I send a signal (it doesn't necessarily have to be SIGHUP) to this script?


What "is" means in python if it's not "=="?

What "is" means in python, if it's actually not equal to "=="?  >>> c = 300 >>> b = 300 >>> b == c True >>> b is c False


For shooting portraits, why is 50mm preferable? For example with an APS-C sensor, why is it not ok to take photos with 35mm equivalent and simply crop them (to 50mm equivalent)? or take photos closer to the subject?  What's the difference?


Is there a name or definition for this popular notation?

I'm sorry if this is a silly question. I've done quite a bit of searching and have not found any definition or name for this symbol/usage, despite immense popularity and convenience. The sources I've checked barely allude to the existence of such a thing, or give vague explanations. It has many varieties and from what I understand can be traced back to early usage of infinitesimals.  I'm talking about, the bar, bracket, or other vertical symbol used to denote a difference of a function between two points, as: $$\int_{a}^{b}{f(x)}=\biggl[ F(x) \biggr]_{a}^{b}=F(x) \Bigg|_{a}^{b}=F(x)\bigg]_{a}^{b}$$ I have seen other usages of such notation (e.g. in the context of partial derivatives, for example, where it can mean 'taken at this point') being defined, but not this usage. Some authors use it, some do not. I see it more often than not in elementary mathematics courses or introductory material, but it appears everywhere.  It does not seem to have an appropriate unicode character, in stark contrast to the dozens of types of spaces, dashes, periods, and other explicitly named vertical bars.  I haven't found anything but cursory mention of it on wikipedia, even in articles talking about the very symbols used to represent it, and despite it appearing on many images and formulas there. At some point I thought I misremembered its popularity, or may have confused it with something else.  Word cannot typeset it, and it doesn't have an exclusive macro in standard latex (as far as I know), although it is often used there as (depending on taste) a large bracket, bar, divider, etc.  What is the name of this notation? Does it have a definition? Is it used, in this specific meaning, anywhere else besides integration? Is there a 'correct' way to typeset it? (e.g. lar or medium square brackets, bar, single square bracket, etc)  I would be thankful if anyone has a source on it.


Which Schengen countries have bilateral agreements which ignore the standard 90/180 rule?

The Schengen rules have certain exemptions for citizens of countries which concluded bilateral visa-free agreements before the Schengen area took effect. For example, a relevant quote from the :     In practice, it means that, for instance, a citizen of the Korean Republic can travel in the Schengen area (including the CR) for a period of 90 days in any 180-day period. If the citizen of the Korean Republic stayed in the Schengen area for the entire period, he/she can move to the CR before the 3 months are up and then stay for a further 90 days in the CR without a visa. During these 90 days in the CR, he/she can no longer travel to other Schengen states without a visa. In the event of departing and returning to the CR during this period, it is necessary to take a direct flight.   The provision above applies to citizens of:     Argentina, Chile, Croatia, Israel, Korea, Costa Rica, Malaysia, Uruguay   What other countries have similar provisions and to citizens of which countries do they apply? And does the Schengen clock "count back" while the tourist is using his rights as part of a bilateral agreement?  Note that since the rule still precludes staying for more than 90 days in any single country, this is on topic for Travel.SE.


php pdo not show special character in view page , use some option but not work

i have upgrade php 5.6 to php7 and same database value . then i use pdo and old mysql connection remove from my code . In my old php version file i used   mysql_query("SET NAMES 'utf8' COLLATE 'utf8_general_ci'");   this after mysql_db_connect then all page working perfect in special character . but when  update to php 7 using pdo then some special character not working perfectly as like    Körner   i have added this code in pdo connection file           $this->PDO = new PDO('mysql:host=' . DBSERV . ';dbname=' . DBNAME . ';charset=utf8', DBUSER, DBPASS);         $this->PDO->setAttribute(PDO::MYSQL_ATTR_INIT_COMMAND, "SET NAMES 'utf8' COLLATE 'utf8_general_ci'");         $this->PDO->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC);   i want to solve this issue using this   $this->PDO->setAttribute  htmlentities()   this type function and database set uft-8 . and in html main file  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">   this also set


Is it forbidden to use "Other" flag for link-only answers?

I flagged an answer  that looked like this:     This is not my article but have a look at <external URL> which looks like it will work for you.   I used the "Other" flag, with a custom message: "This answer looks more like a comment to me because it does not offer much besides a link to an external resource." As far as I can tell, the answer has been  but my flag was declined with the following message:     Please use the "NOT AN ANSWER" flag type for these "answers"!   Please help me understand the decline reason. Did I do anything wrong?


I have exactly the same problem as it was described there:  The texture is distorted (kind of "skewed" or broken) on a trapeze-shaped face. But the solution provided there does not satisfy me. I need Blender to better interpolate a texture stretched over a single trapeze-shaped face. I can achieve this by subdividing my object, using "simple" method, but I would prefer to avoid that. I want to keep my model low-poly.


What does this kind of indexing refer to in case of recursion.  def is_palindrome(s): if len(s) < 1:     return True else:     if s[0] == s[-1]:         return is_palindrome(s[1:-1])     else:         return False  a=str(input("Enter string:")) if(is_palindrome(a)==True):     print("String is a palindrome!") else:     print("String isn't a palindrome!")


Find entire hierarchy based in all hierarchy levels

I have a table that looks like this:    Where EMP has a child SEG and it has a children SUP and so on... What I would like to do is find the full hierarchy EMP>SEG>SUP>DIR>REG>GOP in any of the children based in something like 'where' clause (something like: 'where inferior_codigo = SUP0001'), they should return me all the hierarchy of this particular item.   I did something like this but i can only find the parent or children, not both at the same time, with something like this:      SELECT s1.inferior_codigo AS lv1, s2.inferior_codigo AS lv2, s3.inferior_codigo AS lv3, s4.inferior_codigo AS lv4, s5.inferior_codigo AS lv5, s6.inferior_codigo AS lv6 FROM subs AS s1 LEFT JOIN subs AS s2 ON s2.superior_codigo = s1.inferior_codigo LEFT JOIN subs AS s3 ON s3.superior_codigo = s2.inferior_codigo LEFT JOIN subs AS s4 ON s4.superior_codigo = s3.inferior_codigo LEFT JOIN subs AS s5 ON s5.superior_codigo = s4.inferior_codigo LEFT JOIN subs AS s6 ON s6.superior_codigo = s5.inferior_codigo  WHERE s1.superior_codigo = 'EMP0001' LIMIT 25;   Which will result in the following:    Can someone tell me what I should do to accomplish this? Thanks in advance :)


Post doc or Lecturer after Full-time PhD? and Can I apply for Post doc after Thesis submission or should wait until Viva-voce?

I am a Full-Time research scholar in finance about to submit my thesis in a month or two.  After this is it good to go for post-doc or as a lecturer in finance?  If I apply for lecturer will colleges entertain it as I am a fresher?  And one more doubt I got is, Am I eligible to apply for Post-doc position after submitting my thesis? or should I wait until the completion of Vivo-voce and/or graduation? Because its time-consuming process to receive Vivo-voce.  Kindly give your valuable suggestions


How do I solve $$x'=e^{it}\overline{x}?$$  This is a complex differential equation, but I don't see how to solve it.  Edit: the original ODE is given by $$(x', y')=\begin{pmatrix}\cos t& \sin t\\ \sin t&-\cos t\end{pmatrix}(x,y)$$ I want to show that solutions of this ODE do not remain bounded for all $t$, and the idea was to solve the complex equation.