My daughter just turned 13 and confides in me she wants to be a boy

Last week my daughter turned 13. The following day my mom left with my daughter to go babysit my 12 year old niece while her parents are out of town. I didn't see my daughter again until Saturday but she did text me that she wants to talk in private and kept bringing up going home Saturday in which I explained I was staying the night at her other uncles. The girls and my mom joined us for the cookout and the weekend went by great. On the way home I brought up her wanting to talk. In which she gave me an embarrassed smile and promptly said, "I've been thinking about this a lot and I want to be a boy." She looked into the surgery costs in which I said not until after graduation, she also said she sometimes looks at boy clothes and such. But that's just it... my daughter grew up wearing dresses, skirts, and leggings. She wore tiaras, princess gowns,  and fairy wings. Just a month ago she wanted a $60 bikini from H&M along with a bracelet from Walmart. She wears a little makeup, has hair she can almost sit on and now she suddenly wants to chop it off into a boy style like that boy band BTS. I'm definitely in shock. I am hoping this is a phase and passes quickly or I don't know what we're going to do. I don't want her growing up feeling unloved but I've heard the way my family talks, I can already hear the arguments we'd have. I just do not know what else to do but to get us both therapy. As far as I see it... I have until spring to see where this goes and hope like crazy I can gain some kind clarity. It does sound like some of this came on because she plays a lot of online games with a preference of being a boy but I don't see how this translates to her now wanting surgery to be one. It is so sudden and I've read other articles about this sudden transgender trend going on among teens. I want to limit her internet use but that would be hard. This is a child that can't stick to anything. She grew up loving horses, playing horses, and running around pretending to be a horse but anything besides that it never sticks. Whether it be playing the violin or trombone, now she wants to play guitar. We are only just now getting rid of her barbies and my little pony dolls... this is not a child the has been born a female but feels like a boy her entire life... the only boyish things she likes is mudding with her uncle and skateboarding. She enjoys playing tennis as well. These days she wears leggings, cut up skinny jeans, crop tops, a little makeup, keeps her hair tidy, and like baggy sweatshirts. I didn't expect this in a thousand years. She grooms and styles her hair, wants scrunchies and hair crowns. Is this common? Is there a specific psychiatrist I should have her see? She refuses to speak to a stranger but I'm putting foot down on this. Do I call her by her new boy name and let her chop off over two feet of hair? I still can't wrap my mind around that, she has only ever let me trim it... I'm not even sure how I should address her.


Show that there exists $x \in X$ with $\|x\|=1$ and $f(x)=\|f\|$ in a non-zero reflexive space

Let $X \neq \lbrace 0 \rbrace$ be a reflexive space, and let $f \in X'$. Show that there exists $x \in X$ with $\|x\|=1$ and $f(x)=\|f\|$.  The definition of a reflexive space: $X$ is called reflexive if $J_X(X)=X''$ where $J_X: X \to X''$ defined by $J_Xx(f)=f(x)$ with $x \in X$ and $f \in X'$.  How to find this such $x$?


Can you use another material as input to material nodes in cycles?

Is it possible in cycles to use setup a material node to take the output from another material as input into a mix shader?  This way if I change the configuration in the other material it updates both materials?  Or do I need to do this another way?  I'm surprised nobody has asked this already and can't find anything online so maybe it's not possible.


Why is every map to an indiscrete space continuous?

Show that if $Y$ is a topological space, then every map $f:Y \rightarrow X$ is continuous when $X$ has the indiscrete topology.  Proof:  Assume $X$ has the indiscrete topology, $T=\{\varnothing,X\}$.  $f$ is continuous if $f^{-1}(V)$ is an open subset of $X$ whenever $V$ is an open subset of $Y$.  Let $V$ be an open subset of $Y$.  I dont know how to use this to show $f^{-1}(V)$ is an open subset of $X$.


Creating a counter inside a Python for loop

Obviously, if we do this, the counter will remain at 0 as it is reset at the start of every iteration:  for thing in stuff:     count = 0     print count     count =+1     write_f.write(thing)   But as I have this code inside of function, it does not work to do this either:  count=0 for thing in stuff:     print count     count =+1     write_f.write(thing)   I have several different indent levels, and no matter how I move count=0about, it either is without effect or throws UnboundLocalError: local variable 'count' referenced before assignment. Is there a way to produce a simple interation counter just inside the for loop itself?


What is the purpose of purple rope belt that Sasuke wears?

All Orochimaru's people are wearing a purple color rope belt. What is the purpose of it? Why Sasuke is wearing it even after killing Orochimaru? Does it offer any power?


Greatest common divisor of $(2^{21}-1,2^{27}-1)$


I am writing a program to download file from SFT URL     sftp://demo.wftpserver.com:2222/upload/10MB.zip   but the java URL class doesn't support SFTP as I read multiple post on stackoverflow.  The problem is I have a written a generic URL downloader which downloads file from all other protocol but only sftp is the problem.  Is there anyway I can use URL class itself to download the file or if i have to do it using some other way can I use that to download file from all the sources.  Program I am using  try {     bis = new BufferedInputStream(url.openStream());     String fileName = DownloadSourceUtils.getUniqueFileName(DownloadSourceConstants.DOWNLOAD_LOCALTION, url.getFile());      File directory = new File(DownloadSourceConstants.DOWNLOAD_LOCALTION);     if (! directory.exists()){         directory.mkdir();         // If you require it to make the entire directory path including parents,         // use directory.mkdirs(); here instead.     }      fos = new FileOutputStream(DownloadSourceConstants.DOWNLOAD_LOCALTION+File.separator+fileName);      byte dataBuffer[] = new byte[1024];     int bytesRead;     while ((bytesRead = bis.read(dataBuffer, 0, 1024)) != -1)      {         fos.write(dataBuffer, 0, bytesRead);     }     fos.flush();     output = url + " downloaded successfully";     return output; }  catch (IOException e) {     output = e.getMessage();     return output; } finally {     if(bis != null)         bis.close();     if(fos != null)         fos.close(); }


What is the sci fi story (novella?) where a guy is reanimated multiple times?

What is the SciFi story where a guy has to traverse a deadly alien 'trap' (it says in the story that it's possibly a trap or a puzzle but the tech is so advanced that they can't understand it) where the man dies a usually grisly death but is reanimated to test it again and again, each time getting a little further into the maze?


BASH: arithmetic expressions on point values

I am looking for bash function suitable to do some simple arithmetic expressions on point values For intance i=1 let "i_mod=${i}+1"; echo $i_mod gives me 2  but if i=1.0 let "i_mod=${i}+0.5";echo $i_mod gives me an error instead of 1.5  or alternatively one of the sollution that has already been suggested in other topic: i=1.0 echo "$(($i+1.0))" -bash: 1.0+1.0: syntax error: invalid arithmetic operator (error token is ".0+1.0")


How to enable ssh root access ubuntu 16.04

on Ubuntu 16.04  sudo nano /etc/ssh/sshd_config    change  PermitRootLogin prohibit-password    to   PermitRootLogin yes   sudo service ssh restart   still permission denied


i think if the graph G has an odd cycle, it's not two-colorable, otherwise it can be two colorable.   i read in one notes that the following is True: we couldent two-colorable any graph G that has cycle.    anyone could clarify me ?


Cron doesn't send email (while script does)

I have a simple script to send a back-up of my db to email:  #!/bin/sh  timestamp=$(date '+%d-%m-%Y@%H:%M')  mysqldump -u root  -pPASSWORD DBNAME | gzip > /tmp/database_$timestamp.sql.gz  mutt -s "backup from DBNAME | $timestamp" my.g.mail@gmail.com  -a /tmp/database_$timestamp.sql.gz < /opt/message.txt  rm /tmp/database_$timestamp.sql.gz   saved in /opt/db_backup.sh  when I run   . /opt/db_backup.sh   I SUCCESSFULLY got email on my gmail!!!  /var/log/mail.log :        Jan 24 00:30:34 ip-173-32-37-92 postfix/pickup[1483]: 85308320E:    uid=1000 from=   Jan 24 00:30:34 ip-173-32-37-92 postfix/cleanup[1884]: 85308320E:    message-id=<20180124003034.GA1873@vista9.ru>   Jan 24 00:30:34 ip-173-32-37-92 postfix/qmgr[1484]: 85308320E:    from=, size=323952, nrcpt=1 (queue active)   Jan 24 00:30:34 ip-173-32-37-92 postfix/smtp[1887]: connect to    gmail-smtp-in.l.google.com[2a00:1450:400c:c04::1a]:25: Network is   unreachable   Jan 24 00:30:35 ip-173-32-37-92 postfix/smtp[1887]: 85308320E:    to=<my.g.mail@gmail.com>,   relay=gmail-smtp-in.l.google.com[209.85.203.27]:25, $   Jan 24 00:30:35 ip-173-32-37-92 postfix/qmgr[1484]: 85308320E:    removed      I've created a cron task: crontab -e  */1 * * * * /opt/db_backup.sh   so after a minute CRON worked:        Jan 24 00:57:01 ip-173-32-37-92 CRON[2034]: (ubuntu) CMD    (/opt/db_backup.sh)      and ... I GOT NO EMAIL :(...  /var/log/mail.log :        Jan 24 01:02:02 ip-173-32-37-92 postfix/pickup[1483]: 01DC83238:    uid=1000 from=   Jan 24 01:02:02 ip-173-32-37-92 postfix/cleanup[2038]: 01DC83238:    message-id=20180124010202.01DC83238@ip-173-32-37-92.eu-central-1.compute.internal   Jan 24 01:02:02 ip-173-32-37-92 postfix/qmgr[1484]: 01DC83238:    from=<ubuntu@vista9.ru>, size=674, nrcpt=1 (queue active)   Jan 24 01:02:32 ip-173-32-37-92 postfix/smtp[2040]: connect to    vista9.ru[81.177.141.15]:25: Connection timed out   Jan 24 01:02:32 ip-173-32-37-92 postfix/smtp[2040]: 01DC83238:    to=<ubuntu@vista9.ru>, orig_to=, relay=none, delay=30,    delays=0.01/0/30/0, dsn=4.4.1, status=deferred (connect to vista9.ru[81.177.141.15]:25: Connection timed out)      my /etc/mailname:     vista9.ru   What am I doing wrong?  thank you!


How can high-school students learn mathematics on their own?

I am a ninth grader and I would like to learn mathematics on my own. I have already learned algebra, geometry, trigonometry, some precalculus, number theory and tried to understand some calculus. Apart from those I learnt a bit from other areas of mathematics but not enough to be worth mentioning.   I have learned several things from books but those  couldn't answer all questions so I had to turn to the internet (sometimes I can't be sure if something is correct or not). Besides I like to have proof for everything which is not always given in books. (I want understand it properly not just use a procedure).  I have tried using online lectures but the ones I have found according to my level were either going too slowly or didn't have complicated problems. Besides most didn't have the proofs. I use Khan Academy sometimes although it too lacks the difficult problems.  Could you please tell me what I can do to learn further mathematics(eg.  More number theory, proof writing, calculus and... maybe analysis altough I suppose I am not prepared well enough for that)?  Do you know any books I could read (normal high school /college /university books included just give me the name please) or lectures I could watch? Any other things I could do? I would like a good understanding of the subject as I would like to become a mathematician.


Calculating Slope, Flow Accumulation and Topographic Wetness Index (TWI) using ArcGIS for Desktop?

I am working on a project that requires me to extract values from  rasters (viz the slope and TWI) for a set of point dataset that I have. I tried calculating the Slope, Flow accumulation and the TWI from the DEM (using ArcGIS 10.1) but somehow the slope and the TWI raster outputs seems erroneous!  For  slope, I get values ranging from 0 to 89 (file attached here) and for TWI, I get values between 19.58 and 9.40 (file attached), with no data data for most of the area! However, while extracting values for both slope and TWI to my point shape file, I mostly get 0 as the RASTERVALUE for most of the point data.  Could anyone kindly review  where exactly I am going wrong and how do I correctly get the slope and the TWI?


Does Strength affect the Ender dragon in Minecraft

Can Strength affect an Ender dragon if I use a lingering potion while battling it? Considering I know that when you throw a potion at it it does nothing but do lingering versions of the potion affect it in v1.9 or v1.10?


Proof Help: Order of element divides order of group

I'm stuck in proving that the order of an element divides the order of the group.  I've already proved Lagrange's theorem that for $H<G, |H|||G|$   And I know that for any $a\epsilon G, |a|=|<a>|$  The problem is that though I know this for a fact, I need to prove that the order of the element equals the order of the cyclic subgroup it generates but how do i prove this result to finally conclude that the order of a divides G using lagrange?  Please help.


Action of a 1-form on vector : changing of coordinates - tensor calculus

I try currently to revise my classic. Could you help me please to demonstrate : $$\frac{\partial T^{\prime\mu}}{\partial x^{\prime \alpha}}=\frac{\partial}{\partial x^{\prime \alpha}}\left(\frac{\partial x^{\prime \mu}}{\partial x^{v}} T^{v}\right)$$ i.e by using a changing of coordinates between $x^{\mu}$ and $x^{\prime\mu}$. $T^{\mu}$ represents the contravariant components of a "vector" (I mean a tensor of rank 1). This demostration would be the same than proving : $$T'^{\mu}\text{d}x^{\nu}=T^{\nu}\text{d}x^{\prime\mu}$$ How to justify this equality if I apply a 1-form $\text{d}x^{\mu}$ or another 1-form $\text{d}x^{\prime\mu}$ on a vector $T$ ?


How do I use my two passports when my surname is not the same in them?

I have both Japanese and Philippine passports, but my surname is different on each. I have never been to Japan; I was born and raised in the Philippines.   This is my first time traveling to Japan. Which passport should I use for my flight ticket? What should I do when I get to Japan?   I don't have any idea as this will be my first time traveling abroad.


Group of order 24 with no element of order 6 is isomorphic to $S_4$

Proposition: Given a group $G$ with $|G|=24$ such that $\nexists g\in G$ with $|g|=6$, then $G\cong S_4$.    I understand methods you can employ to deduce the number of Sylow $p$-groups in $G$ by counting elements or reasoning about permutation representations. But how can we construct an isomorphism to $S_4$ given that $n_{2-\text{Sylow}}=3$ and $n_{3-\text{Sylow}}=4$? Or otherwise, rule out all other possible cases (perhaps reasoning with Cayley's Theorem)? I am also interested in finding a proof that is perhaps less direct, but more elegant, in particular one that may involve the irreducible representations of $S_4$. Any insight appreciated.


what is difference between primary key and unique key in defining tables in sql?


Two logos in opposite side on beamer with sidebar

I want to create a presentation in beamer. Like  question, I want to have two logos in opposite side on beamer, but my template have sidebar too. I also used  question to prevent logo from title page in beamer class. But the problem is one of the logos goes out of the slide.  I tried \centering command then add space between logos, so they get set on opposite sides but it didn't help. I think one possible solution is using PGF package, but that is my last resort.  \documentclass{beamer} \usetheme{Berkeley}  \logo{%   \makebox[0.2\paperwidth]{%     \includegraphics[width=1cm,keepaspectratio]{example-image-a}%     \hfill%     \includegraphics[width=1cm,keepaspectratio]{example-image-b}%   }% }  \title{The Title} \author{The Author} \institute{The Institute}  \begin{document}  { \setbeamertemplate{logo}{} \begin{frame} \maketitle \end{frame} }  \begin{frame} test \end{frame}  \end{document}   What I want is something like this.


Detect if an element is visible with jQuery

Using .fadeIn() and .fadeOut(), I have been hiding/showing an element on my page, but with two buttons, one for hide and one for show. I now want to have one button to toggle both.  My HTML / JavaScript as it is:  Show Hide   function showTestElement() {   $('#testElement').fadeIn('fast'); }  function hideTestElement() {   $('#testElement').fadeOut('fast'); }   My HTML / JavaScript as I would like to have it:  Show/Hide   function toggleTestElement() {   if (document.getElementById('testElement').***IS_VISIBLE***) {     $('#testElement').fadeOut('fast');   } else {     $('#testElement').fadeIn('fast');   } }   How do I detect if the element is visible or not?


Is there an environment that imitates align but displays `textstyle` math?

I'm currently typing a mathematical document which counts many sum symbols. I frequently use the align environment to render equations, although the default behaviour of this environment is to render the equations in displaystyle, which in my opinion wastes vertical space. I therefore have added \textstyle at the beginning of each line of math in this environment, but I'm looking for a more convenient solution.   So is there an environment that is similar to align with the exception it displays textstyle math by default ? Thank you.


Russian SE has a slightly longer and more storied history than Japanese SO

In what I assume is a repeat of , the  shows that Rus.SE is 2014 years, 3 months old (click for full resolution):


How to identify the same user in different sites in stack data dump?

I'm wondering if there exists a way to identify the same user across different stack exchange sites. Like Id are unique for user across this sites? If not, is there some data like information that user logged in using Stack Exchange account and which account? I really want to identify which users are using which sites to check:  a) common part of different sites by knowing how many users they share,   b) examine flow of people between different fields of science and technology by examining mix of sites data, tags and activity  c) and much more...


When I was running Windows 7 Ultimate 32-bit, I had UAC disabled and everything was working smoothly for me. Now I've updated to Windows 10 Pro 32-bit (and recently also the 2015-11 update), I'm having a few issues. Although I have UAC set to "Never notify" in Control Panel, I find that certain activities are still fettered by UAC. For example, Windows Explorer doesn't let me create a file in certain folders, such as C:.  I use the Command Prompt quite a lot. In Windows 7, with UAC turned to "Never notify", Command Prompt automatically started as Administrator; whereas under Windows 10 I have to explicitly right-click and choose "Run as Administrator". More annoyingly, when I connect to the Windows 10 machine from another PC, using NET USE with my username for the target machine, I don't have access to do anything in folders that need admin access. I haven't found a workaround for this.  Is there a way to completely turn off UAC in Windows 10, so that I can do all admin tasks easily?


Can the original Age of Empires II be played online with the HD version on Steam?

My friend has an original copy of the game and was wondering if he could play online with me if I buy the HD version on Steam.


Is bash scripting the same as shell scripting?

I'm very new to Ubuntu. I hear people say "shell scripting", "bash scripting".   I wonder are they same? Or they are different?


Sometimes I come across integrals like this $$\int x^{dx}$$ on the internet. What does this mean? Also, what is the standard nomenclature? Edit- Apparently, this is called a 'geometric integral', see .


When I tried to access my laravel after successfull installation, instead of the default page it shows an error in the webpage.  Mcrypt PHP extension required.    I have tried some fixes like this,  sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/apache2/conf.d/20-mcrypt.ini ln: failed to create symbolic link ‘/etc/php5/apache2/conf.d/20-mcrypt.ini’: File exists sudo service apache2 restart


Is there a way to make text unselectable on an HTML page?

I'm building an HTML UI with some text elements, such as tab names, which look bad when selected. Unfortunately, it's very easy for a user to double-click a tab name, which selects it by default in many browsers.  I might be able to solve this with a JavaScript trick (I'd like to see those answers, too) -- but I'm really hoping there's something in CSS/HTML directly that works across all browsers.


Do "to ravel" and to "to unravel" mean the same thing?

I'm reading  for "ravel":     transitive verb   1 a : to separate or undo the texture of : unravel    b : to undo the intricacies of : disentangle       intransitive verb   1 obsolete : to become entangled or confused    2 : to become unwoven, untwisted, or unwound : fray   :3  break up, crumble   Some of these seem very similar to the meaning of "unravel" - ostensibly its opposite. Why is that?


How to preserve the same parskip in minipage

I have following structure:   \begin{document}  Paragraph1. Paragraph2.  \begin{minipage} Some paragraph1. Some paragraph2. \end{minipage}  \end{document}   How can I make the same spacing between paraghs in minipage section as in plain paragraphs? Would like to make it as macros, in order not to repeat it many times, but this failed:  \let\currentparskip\parskip \newenvironment{minipage_parskip}{   \begin{minipage}{\textwidth}{     \setlength{\parskip}{\currentparskip}   } }{   \end{minipage} }


Bibliography aux file mismatch (.aux.bcf versus .bcf)

I have migrated from OS X/TeXShop to Linux/TeXMaker. Something in the configuration must be different, because my project doesn't build the bibliography any longer.  I tried the sequence pdflatex > bibtex (biber) > pdflatex.  My original setting was like this:  % NOTE: do not use backend=biber, this fucks up everything. ignore the uf8 warning, % we do _not_ use utf8 characters in the .bib files, I don't know where that comes from. \usepackage[natbib=true,citestyle=verbose-ibid,isbn=false,maxnames=3,bibstyle=authoryear,useprefix=true,citereset=chapter]{biblatex}   This worked on the Mac. On Linux, biblatex falls back to biber (I'm not sure it did on OS X), and biber finds the correct aux files, nevertheless the second pdflatex run doesn't pick up the output of biber, and I end up with an empty bibliography.  If I do add backend=biber to the above statement, then there are messed up aux files (and this is probably why I put the comment originally):  INFO - This is Biber 1.8 INFO - Logfile is 'main.aux.blg'  ERROR - Cannot find control file 'main.aux.bcf'! - did you pass the "backend=biber" option to BibLaTeX? INFO - ERRORS: 1   So what is wrong here?


River simulation - different approaches than fluid simulation?

I am in the middle of a project which needs to have a river flowing in it. (You may be familiar with my recent questions; they are all related.) Just for reference and imagination, here's a preview of the setting where the river should go.   As you can see, what I need to accomplish is:  1) something like an "ever-flowing river". It shouldn't start flowing from some point and expand from there. The final render (it is for a video) should be continuous and seamless.  2) a "caged" river. You should see it flowing as if we took a slice of it, (just like with the rest of the terrain)  I've been looking for tutorials, but the ones I've found tend to cover typical fluid simulations, which I'm not so sure can help me. I think I may need something more simple. Something like a cloth waving (for now it doesn't need to be realistic).  I ran into , and I was hoping for some hints on how the creator did that, because I don't understand... I can tell he used code... Maybe some of you can give me a kind introduction to code in Blender aiming to generate this kind of river.  I'm not interested by now in making something as realistic or detailed as the video, but it happens to fits my 2 initial requirements.


Does $\mbox{Im}\left ( z \right )\geq 0$ define an affine algebraic variety?

Let $k=\mathbb{C}$ and $ A=\left \{z \in \mathbb{C} \mid \mbox{Im}(z)\geq 0  \right \}$. I see intuitively that this cannot be expressed as the zero locus of a finitely number of polynomials, but how can you justify that it is not a variety with the following abstract definition of an affine variety?


If light is an electric and (magnetic field), how can it be absorbed?

I was wondering how light or any electromagnetic radiation can be "absorbed" if it consists of electric and magnetic fields. For example if there is a charge at point A, and the  light reaches point A, it will cause that charge to move depending on the value of the electric field. However, why wouldn't this electric field continue on and influence others particles everywhere else? For example, if you have a static charge creating an electric field, then if you put a charge at point A it will feel its effects and then if you bring a charge at another location B it will also feel its effects, namely it will not have been absorbed. Please shed some light on this. Thanks  edit: Does this mean the electron that absorbs this light moves in such a way that it creates an electric field of its own canceling the initial one? Or am I way off?


"As a beginner, I am happy that I learned a new thing."  You will recognize this as your DoReMi-s.( at 4:52)  What is the meaning of the "AS" there and when do we use that?  In depth answers would be appreciated.  Similarly:     Do I have your word as a lawman not to shoot me down like a dog in the street?    Can you explain this sentence?   Can I understand it as a lawman wouldn't shoot down people on the street or wouldn't have his word or what?


How to change a single element in a matrix intialized by list of list in python?


Several weeks ago a darker spot appeared on my screen (as seen in the attached picture, it's right under the "Super User" tab) and it looks as if there was some liquid behind the screen. When I physically press it, it doesn't change its shape and it didn't change its shape since it appeared (around 2 weeks ago). The spot is visible especially on white background and is very weak with black background.  I tried blowing hot air on it and rubbing strong magnet (from a hard disk) but neither helped nor made it change its shape.  Do you have any ideas what could have caused it? Additionally, do you know how could it be fixed besides using my warranty? The laptop is 4 months old, Asus UX530UQ.  Thanks


This question was asked in INMO 2005 and here is the problem: $Let$ $(a,b)$ $\in$ $\mathbb{N}$ $s.t$ $\cfrac{43}{197}$ $\lt$ $\cfrac{a}{b}$ $\lt$ $\cfrac{17}{77}$. $\text{Find}$ $\min(b)$. My first approach to this question was to take reciprocal of the fractions. If the numbers have different integral part  then I pick the middle term to be the smallest positive integer. But I don't know how to continue. Any hint or help is appreciated Thanks


decomposing a group into a direct sum of cyclic groups

This is a question that I asked 2 days ago. But it was not solved.....  Let $\mathbb{Z}_n ^*$ be the set of all units in $\mathbb{Z}_n$  and $(\mathbb{Z}_n ^*)^2$ = $\{ a^2 | a \in \mathbb{Z}_n ^*\} $  Then,  decompose the factor group  $\mathbb{Z}_n ^* / (\mathbb{Z}_n ^*)^2$   when $n$ is an odd prime when $n$ is a product of two distinct odd primes $p, q$   I solved the first as following: In $\mathbb{Z}_p$, since $x^2=(p-x)^2$ holds, the order of $(\mathbb{Z}_n ^*)^2$ is exactly the half of that of $\mathbb{Z}_n ^*$.  Thus, the answer is $\mathbb{Z}_2$.  However the second is more complicated. I didn't know that. Please help me to solve this.


ubuntu wont run because windows cant load after i reboot my computer

i recently downloaded ubuntu and after installing it and rebooting it the computer tells me windows failed to laod components have been erased or missing and insert your installation disk and press repair  so what do i do is there another way out of this problem i currently run windows 8 os on a hp pavilion with a a4 amd processor at 2500 mhz and i downloaded and installed the 32 bit version of ubuntu linux? please help if I have to buy the installation disk I will but I want to know if there are any other options.


In what physical situation would the correlation of two spins be useful?

I have done problem 4.50 from Griffiths' Quantum Mechanics (2nd ed), quoted below, and got the correct answer. What would be a physical situation where this would be useful?  I have already had some people tell me to look at Bell's Theorem in Ch 12, which I did. But that is seven chapters ahead of where I am at in the book, and contains things that are over my head at this point. Can anyone tell me, in plain undergrad terms, a physical situation where this would be useful?     Problem 4.55 Suppose two spin-$1/2$ particles are known to be in the singlet configuration (Equation 4.178). Let $S_a^{(1)}$ be the component of the spin angular momentum of particle number 1 in the direction defined by the unit vector $\hat{a}$. Similarly, let $S_b^{(2)}$ be the component of 2's angular momentum in the direction $\hat{b}$. Show that   $$\langle S_a^{(1)} S_b^{(2)} \rangle = -\frac{\hbar^2}{4}\cos\theta,\tag{4.198}$$   where $\theta$ is the angle between $\hat{a}$ and $\hat{b}$.


How to merge 2 parts of the same object?

i have a simple question for you, i need to "merge" 2 parts of the same object in edit mode where the faces collide, here a simple example to better explain the desiderata:   IS it possible in Blender with a simple operation? or do i have to recreate the whole parts to make them collide correctly?


How to search for a string with "+" character in sed?

I want to search for S+P and replace it with S&P.  Following doesn't seem to be working.  sed 's~"S+P"~"S&P"~' filename1 > filename2


Proof that $\lim_{x \to \infty} \frac{x^{a}}{b^{x}}=0 $

I have to prove that $$\lim_{x \to \infty} \frac{x^{a}}{b^{x}} $$  equals zero for all $a$ of $\mathbb{N}$ and $|b|>1$  The suggestion is to start by finding $$\lim_{x \to \infty} \frac{x^{1}}{b^{x}} $$  which I have done. But what I get is $\frac{x}{b^{x}}$ and since the limit of $b^{x}$ is defined as $0$ I don't know how to continue...


A positive "Fourier transform" is integrable

Let $f\in L^1_\mathbb C(\mathbb R^n)$. I once read, in one of my old exam, that if $\hat{f}(\mathbb R^n)\subset\mathbb R_+$, then $\hat{f}\in L^1(\mathbb R^n)$. As far as I remember, the professor gave an identity using mollifiers but I'm not 100% sure. Any hints on how to prove that ?  Thanks!


Calculate $\lim\limits_{n \to \infty} \frac1n\cdot\log\left(3^\frac{n}{1} + 3^\frac{n}{2} + \dots + 3^\frac{n}{n}\right)$

Calculate $L = \lim\limits_{n \to \infty} \frac1n\cdot\log\left(3^\frac{n}{1} + 3^\frac{n}{2} + \dots + 3^\frac{n}{n}\right)$   I tried putting $\frac1n$ as a power of the logarithm and taking it out of the limit, so I got   $$ L = \log\lim\limits_{n \to \infty} \left(3^\frac{n}{1} + 3^\frac{n}{2} + \dots + 3^\frac{n}{n}\right)^\frac1n $$  At this point I thought of the fact that $\lim\limits_{n \to \infty} \sqrt[n]{a_1^n+a_2^n+\dots+a_k^n} = max\{a_1, a_2, \dots,a_k\}$ but this won't be of any use here, I guess. How can I calculate this limit, please?


Text with chords for guitar in Italian language

I would to write the words of a song (for example "Immensamente" of the singer-songwriter Umberto Tozzi) with a typewriter font, with manual hyphenation, but the top should adopt either a mathematical mode or write the text and chords on different lines or use some packages that I don't know. I always hope that exists a package that can directly write the chords over the text including eventually the hyphenation. I have seen this question/answer of the user @Steven B. Segletes  that I have adapted with this MWE: \documentclass{article} \usepackage{stackengine} \usepackage{parskip} \usepackage{lmodern} \renewcommand*\familydefault{\ttdefault} \usepackage[T1]{fontenc} \begin{document}  In \stackanchor{\small \textbf{DO}}{me}, immensamente in me\\ \stackanchor{\small \textbf{LA}}{La} notte si è appena spenta\\ E sono qui senza di te\\ Più te ne vai\\ E più ti sento\\ Più non ci sei\\  \end{document}  with this screeshot:  that it is not very similar to the this picture:  My questions are:   How to have the whole words aligned? For example "me" is not aligned     How to have a strong bold of DO (for example)?   Better fonts to use, or other alternatives code/packages, and a longer line spacing to optimally insert chords are welcome. I hope my question isn't a bad one because I mentioned my favorite singer. 😄😄😄 I have seen also an old link of an user  with an MWE taken from this link , and that I add, \begin{filecontents*}{tabs.txt} A,X02220:001230 C#sus4,4:XX3341 Bb,X13331:012341 D,X00230:000123 E,022100:023100 F,133211:134211     \end{filecontents*}      \documentclass{book}     \usepackage{xparse}     \usepackage{songs}     \ExplSyntaxOn     \ior_new:N \g_fedelibre_get_tabs_ior     \prop_new:N \g_fedelibre_tabs_prop      \cs_new_protected:Npn \fedelibre_add_to_prop:w #1,#2!!      {       \prop_gput:Nnn \g_fedelibre_tabs_prop {#1} {#2}      }     \ior_open:Nn \g_fedelibre_get_tabs_ior {tabs.txt}      \ior_str_map_inline:Nn \g_fedelibre_get_tabs_ior      {       \fedelibre_add_to_prop:w #1!!      }      \DeclareDocumentCommand{ \fedetab }{ v }      {       \prop_get:NnNTF \g_fedelibre_tabs_prop {#1} \l_tmpa_tl        {         \fedelibre_gtab:nV {#1} \l_tmpa_tl        }        {         \msg_term:n {Maybe~ you~ have~ mispelled~ your~ tab!}        }      }     \cs_set_eq:NN \fedelibre_gtab:nn \gtab     \cs_generate_variant:Nn \fedelibre_gtab:nn { nV }     \ExplSyntaxOff       \begin{document}     \begin{songs}{}     \beginsong{First Song}     \beginverse     \[A]Sed ut perspiciatis \[E]unde omnis iste \[Bb]natus error     \[E] sit voluptatem \[A]accusantium doloremque \[Bb]laudantium     \endverse     \beginverse     \[A]Quis autem vel eum iure \[E]reprehenderit qui \[Bb] in ea      \[E]voluptate velit esse \[A]quam nihil molestiae \[Bb]consequatur     \endverse     \endsong      \beginsong{Second Song}     \beginverse     \[A]Sed ut perspiciatis \[D]unde omnis iste \[Bb]natus error     \[E] sit voluptatem \[F]accusantium doloremque \[A]laudantium     \endverse     \beginverse     \[D]Quis autem vel eum iure \[E]reprehenderit qui \[Bb] in ea      \[F]voluptate velit esse \[D]quam nihil molestiae \[Bb]consequatur     \endverse     \endsong      \end{songs}     % need code here to extract the list of all chords in the songbook     % that contains more than 300 songs     % with that list, I need the unique occurence of chords     % then proceed to print each chord with \fedetab     %for \fedetab info see this thread     % http://tex.stackexchange.com/questions/151004/songs-package-how-to-store-gtab-definitions-in-an-external-file/151102     {\bfseries\Large Chords used in the Songbook A  Bb  D  E  F}     \newline     \newline     \fedetab{A}  \fedetab{Bb} \fedetab{D} \fedetab{E} \fedetab{F}      \end{document}


How do I save a shell's stderr and stdout to a file while still having it output to the terminal window?

I need stdout and stderr to a file, and my shell simultaneously.  command > file.txt, the usual goto, will not output stderr to the file, nor output stdout to the terminal.  command > file.txt && cat file.txt will also not work because it needs to be real time, and it needs to have colour codings.   What command or primitive do I need to utilise in order to be able to read both to the file and my shell, real time?


I just been victimized by a user for hate downvote. The story is like this: I reply to one question, and realise that someone suggested an off-topic answer, I downvote him and comment about the downvote.   After 10 minutes, I check back on Stack Overflow, and I realise that all my past comments and questions start getting downvoted. I lose about 20 points due to those downvotes. I accept that someone can downvote me, if they don't like my answer, but in 5-10 minutes 20-30 comments of mine from 6 month old question/comments get downvotes which means someone is doing it on purpose.


Can a multiclass sorcerer make spell slots for their other class using sorcery points?  For example: can a multiclassed sorcerer 3 / warlock 1 use Flexible Casting to create a warlock spell slot?


Is the ending of the anime and manga the same (ERASED)

I was wondering, is the anime ending and the manga ending the same for Boku dake ga Inai Machi? Or is there going to be a sequel for the anime version?


Find the smallest integer $n$ greater than $1$ such that the last $3$ digits of $n^2$ are the same as the last $3$ digits of $n$.  So far I've got $n^2 = 1000k + n$ which means $n^2 ≡ n \mod 1000$. I  don't know how to proceed since 1000 seems to be a bit high.


We say space-time is not rigid.  But if, e.g. space expands then even the 'meter' stick we use to measure distance expands - (I guess distance is nothing but number of times a meter stick is repeated to reach from pt A to pt B which then won't change) - then how will we ever know that space (i.e. distance between A and B) has 'expanded'  What is it that I'm missing in this - Why am I wrong?


Sed is unable to copy temporary file to original file

My aim is to edit the file (whose owner is user1) using a script where user2 doesn't have permission to directly edit the file but it should be edited when executed through script by user2. So I set SUID on the script My script has the following content  #!/bin/sh echo "Enter variable a" read a echo "Enter path" read Path echo "Enter variable b" read b sed -i -c "/#Hello variable \<$a\>/{h;n;s/\$Initial_Value=.*/\$Initial_Value=$b/}" "$Path"   The script replaces some matching pattern in the file provided as input Permissions of the script are as follows  -rwsr-xr-x 1 user1 user1 648 Jul 21 08:03 Script.ksh   Permissions of the file which script modifies are as follows  -rwxrwxr-x 1 user1 user1 224 Jul 21 10:46 file   Permissions of the directory under which the file is present  are as follows  drwxrwxr-x 6 user1 group1 122880 Jul 22 11:17 directory   The script is executed by user2 who is part of group1 where the file exists, and executing user2 will not have permissions to directly edit the file.  To edit the file indirectly using script I have set SUID bit on the script. I thought that when executed by user2 it will get executed with the permissions of user1 But when I am executing the script, SED is giving below error.  sed: cannot copy Path/sedFKvRSo to Path/file: Permission denied


Where's the iTunes app section for my iPhone?

I just updated itunes to 12.7.0.166 before making a backup of my iphone 5. To my surprise I can't find an apps section when configuring the phone in itunes, nor can I find the apps section in the itunes library itself.   I'm confused. Have they removed that section in the update? If so, then that would make my backups useless -- there is no way to back up my apps. Transferring purchases from the phone does nothing, it just finishes immediately.  I could not find an itunes changelog.   Do I need to downgrade itunes to make a decent restore of my phone nowadays?  Update: To clarify, I have apps that are no longer available for download. There is no other option than itunes.


Survival Analysis with Time-Varying data & AFT Models

I have a dataset with a number of records. For any record $i$, I have: $(T_i, X_i^{fixed}, X_i^{vary})$ representing an event time $T_i$, a set of features $X_i^{fixed}$ that are time-invariant and a set of features $X_i^{vary}$ that are time-series, reported every minute for every record. Note that I do not have any censoring in the data, every single record has a known event time. I want to model the event time, conditioned on the features I have. Accelerated failure time models are the most popular in my application, and reading up on these, the authors typically use a set of fixed features to model the log of the event times. That is: $log(T) = \mu + \beta'X^{fixed} + \epsilon$. They choose some distribution for $\epsilon$ and then fit the model via optimizing the log-likelihood function. My question is, are there known methods to incorporate the time-varying features into this framework? I see a lot of discussion of time-varying covariates for cox-models, but not so for accelerated failure time models. The simplest thing I can think to do is just treat this as a standard regression problem (due to no censoring) and at some time $t$, given $X_i^{fixed}$ and the time-series $X_i^{vary}$ up-to $t$, try to predict the remaining time until $T_i$. But, this means each event is present multiple times in the data, so I am unsure if independence among observations is then true. Any pointers on how to address time-varying AFT models, or other helpful advise on this situation is greatly appreciated.


I'm just going to throw this out there, but Google indexes Stack Overflow really quickly

For example, I  after using Google to try to find an answer. I then turned back to Google and did a search for  and it was already the first result! Similar searches also put my question on the first page, usually in the top 5!  This is insanity. Did I get lucky and post just before an indexing? Is the popularity of SO leading to Google indexing extremely frequently? Or is Jeff using some kind of crazy SEO?


Salesforce - user trigger not invoked when user role changes

There are two ways to change user role. One is from user detail page, which invoke user trigger. I am facing issue where if user role is changed from ROLE hierarchy screen, then user trigger is not being invoked.  Any body know if there is written documentation which specifies this? or is it just my ORG having some setting to skip user trigger?   Below is screenshot of the screen from where it happens.


eventListener added to element before adding element to DOM. Does not apply

I want to add an eventListener to a div that I create dynamically. However, it does not apply to the div when I inspect it in Chrome. This is what I do:  var div = document.createElement('div'); div.addEventListener('click', function(evt) {   console.log('test'); });  var root = document.getElementById('root'); root.appendChild(inner);   Can I not add an eventListener to an element before it is added to the DOM?


Does Minecraft 1.14.4 allow NBT tags in crafting recipes?

I have a small question: does Minecraft 1.14.4 allow NBT tags in crafting recipes? Because I'm making a map in 1.14.3 and some part of the map need custom NBT tags crafting and I need to use custom crafting chest to make it


If stock like GOOG does not pay dividends, what is the use of holding onto it?

I don't own many GOOG shares, but those that I do own have increased in value. It seems, though, that growth has flattened and the value is only fluctuating within a fairly stable range.  Why should I hold onto it if I'm not going to get any dividends from it?


"Today is one of my friends' birthday."or"Today is my friend's birthday."

Could you tell me which is correct to say,  "Today is one of my friends' birthday." or "Today is my friend's birthday."  Thank you for your advice!


Two bodies of finite size treated as two point masses in Newtonian gravity

When discussing gravitation between two bodies of finite size, for instance Earth around the Sun, we suppose the mass of Earth and the Sun to be perfectly localized at the center of each body. Is this a "useful" "good" "approximation" or the "absolute truth"?


What is the result of $\infty - \infty$?

I would say $\infty - \infty=0$ because even though $\infty$ is an undetermined number, $\infty = \infty$. So $\infty-\infty=0$.


Which are the default installed programs in Xubuntu which are safety to uninstall?

Thinking that the Xubuntu could be even more slimmer/more lightware/more faster...    Tell me please are there any applications(pre-installed software) from the Standard(default) installation of Xubuntu which are not recommended to uninstall?   Even if I don't need them, it is not ok to uninstall them because they could affect the stability or the security of the system?  This question for Ubuntu(not Xubuntu) is here too, but is from 2012-2013, and I thought it would be ok to ask it again...    Kind regards,


Using tab delimiter in Cut in Unix Shell Scripting

I have file input.txt with below data in TAB delimited format-  23776112        Inactive        Active 23415312        Inactive        Active   As per requirement, Inside the while loop, I want to use cut 1st column's data and print it -  Below is the part of code-  ...... ......     while read line     do           SN=`echo ${line}|cut -d '       ' -f1`         echo $SN     done < input.txt .... ....   To use the tab as delimiter above, I am using Ctrl V Tab  But the output is not as expected.I am getting O/P-  23776112 Inactive Active 23415312 Inactive Active   Whereas I want O/P like -   23776112  23415312


Since my ATI hybrid graphics card isn't working well under Linux, I wanted to try the new kernel. I don't want to update to  14.04 just yet, because of some missing dependencies and there doesn't seem to be a kernel for 13.10 in the Ubuntu mainline (kernel.ubuntu.com/~kernel-ppa/mainline/). Is there another way to install the new kernel?


Why "go version" command fail with an error? No such file or directory

Below is the environment in Mac: ~$ ~$ ~$ echo $0 -bash ~$ ~$ ~$ ~$ ~$ ~$ cat /etc/paths.d/go /usr/local/go/bin ~$ ~$ cat /etc/paths /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Users/MYUSER/go/bin ~$ ~$ ~$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/MYUSER/go/bin:/usr/local/go/bin ~$ ~$ uname -a Darwin XYXYXYXXYX 19.6.0 Darwin Kernel Version 19.6.0: Mon Apr 12 20:57:45 PDT 2021; root:xnu-6153.141.28.1~1/RELEASE_X86_64 x86_64 ~$ ~$ which go /usr/local/go/bin/go ~$ ~$ ~$ ~$ go version -bash: /usr/local/bin/go: No such file or directory ~$ ~$ ~$ ~$ /usr/local/go/bin/go version go version go1.16.4 darwin/amd64 ~$ ~$   I performed rm -rf /usr/local/go , rm  /usr/local/bin/go before installing new version go v1.16 that installs go binary in /usr/local/go/bin How to make go version command work?


Does the word "spectrum" (as in a progressing array of values) necessarily imply separate extremes?

I'm drafting a text about music theory and, when looking for a way to describe the progress of steps between a note's octaves, the expression "looping spectrum" came to mind. I'm sure something like "note wheel" would be more elegant but, merely for the sake of curiosity: can a spectrum's ends come together? Note: an almost identical question was asked  but I'm afraid the answers were not very helpful.


Display the name of the developer when we search for the website on Google

I am very curious about SEO for the past few days. I noticed that when searching the Laravel website, below the website description, the name of the developer appears. I tested three search engines, Google, Bing and DuckDuck Go, and only on Google does the name of the developer appear below the website description, how is this possible? I didn't see any meta tags on the website containing the name Taylor Otwell PICTURE:


Does Hawking Radiation Violate General Relativity?

“Electromagnetic radiation which, according to theory, should be emitted by a black hole. The radiation is due to the black hole capturing one of a particle-antiparticle pair created spontaneously near to the event horizon.” (General definition of Hawking Radiation)   I have several questions concerning this…..  Once one of the virtual particles is swallowed by the by the event horizon, the surviving particle becomes a real particle.  The generally accepted theory is that the black hole provides the energy needed to allow this to happen.  Wouldn’t any energy syphoned from the singularity need to travel faster than light to achieve this?  I mean light cannot escape the black hole as it cannot travel faster than C.  This means that any energy from the singularity has to first escape the massive gravity field / warped space time.  It also has to travel the distance from the singularity to through the event horizon to the particle nearly instantaneously.  How is this possible?  This would appear to violate General Relativity wouldn't it?  Why are not both particles drawn into the black hole?  If the virtual particles pop into existence so close to each other to be instantly annihilated by each other, shouldn’t they both be pulled in?    Can the antiparticle half of the virtual particle pairs be pulled into the black hole?  Does the black hole lose mass equal to antiparticle mass?


In which file should one put the PATH and LD_LIBRARY_PATH variables?

After having installed cuda drivers on Ubuntu 16.04, the program told me to make sure to have /usr/local/cuda-8.0 in the PATH variable and /usr/local/cuda-8.0/lib64 in the LD_LIBRARY_PATH variable.  I read, each time the terminal is started it reads the .bashrc file in order to establish its environment variables and environmennt variables should be put into this file. So I checked with   grep PATH .bashrc    and  grep LD_LIBRARY_pATH .bashrc    where in this file the variables are declared to append both paths, but in terror I realized, that there is no such thing as PATH or LD_LIBRARY_PATH inside the .bashrc. And I asked myself: "How are the envirnoment variables declared then?", but no annswer was given. So I went here to ask you Why and How?


Difference in the age of Earth equator region when compared to the age at the pole regions

What is the Difference in the age of Earth's equator region when compared to the age at the pole regions. The Earth spins, so time is ticking slower at the equator.


What is wrong with the pan in which I make my caramels, and what kind of pan should I be using?

I am an amateur caramel maker!  I have made caramels for years, but recently my caramels have started turning really hard.  I have a new pot, and I think it holds the heat for too long, as the thermometer continues to rise even after I have removed it from the heat.  This is a stainless steel pot with a thick copper bottom.  What would be the best kind of pan to use?  I am on a tight budget, so copper is out of the question.


Can I use "pretty" as a degree adverb to describe an adjective that has a negative meaning?


C program cannot open serial port on OS X when user is member of 'wheel'

I have a C program that opens a serial port. The code is not the issue here. When I run the program as sudo it works fine and opens the port. When I run it as myself (normal user) it fails to open the serial port.  The serial port is:  crw-rw-rw-  1 root  wheel   18,   5 Dec 26 17:34 /dev/cu.usbmodem1421   I am running Mac OSX 10.11.6 (El Capitan). I have added myself to the 'wheel' group, and that did not help. So I am wondering why I cannot open it if I am a member of the 'wheel' group? Is there something else that I am missing.  <


How can I algebraically prove that $2^n - 1$ is not always prime?

This question is from Elementary Number Theory by W. Edwin Clark.      Is $2^n - 1$ always prime, or not? Prove.   Is this a start? $x^n - 1 = ( x - 1)(1 + x + x^2 \cdots x^{n - 1})$. So, $2^n - 1 = \sum \limits _{i = 0}^{n - 1} 2^i.$  Will I reach a solution through the above, or is there any other way?  I know that the property doesn't hold true for $n = 1,4,6$ et al but I want an algebraic proof.


Ubuntu 18.04 LTS Disk Partition Recomendations

I upgraded to Ubuntu 18.04 LTS and my disk partition is the following picture.    I want to have partition now. I booted with Ubuntu 16.04 LTS CD. I need help to get proper disk partition without having any problem. Thanks


Leave Open link in Vote to Close dialog box

As noted below in the comments, this question specifically addresses how the functionality delivered to "complete" the  question is not sufficient, and requests a CHANGE to .   TL;DR I want to be able to quickly vote to keep good questions open WITHOUT having to go click through the review queue. Currently, we cannot easily vote for questions to be left open when they have existing close votes on them - the only way to do this is to go to the review queue and click through until you find the question you want to vote to keep open. This discourages the use of "Leave Open" votes by making them difficult to cast.    There have been numerous good questions that are descriptive, on-topic, and informative for IT professionals that still manage to get several close votes. It is quite difficult for us to go into the review queue and slog through all the other questions and hope we don't burn through our close vote quota before we get to the question needing a helping hand.  And if we've already used up our close quota, we can't do anything at all until Midnight GMT to help a question out. (Note: it's possible that Leave Open uses up one of those votes. I don't know.)  I'm requesting that a 'Leave Open' button be provided in the Close Vote dialog that pops up on the questions page.  This will enhance our ability us to improve the quality of ServerFault questions in a positive and qualitative manner.


p and q are odd primes. I know I should use Fermat's little theorem, but truly I have no idea how to use it. May someone help me how to apply this theorem in this problem, or maybe give me some hints about it? $({p-1})^{q-1}+({q-1})^{p-1}\equiv 101\pmod{pq}$  i think i should explain why i would ask this again since i can get the below method of using Fermat's little theorem to get the solution of p and q.


How do you test the network speed between two boxes?

I have a gigabit network set up in my house and a few Ubuntu based boxes. Out of complete curiosity I would like to check the speed between the two boxes. I am not having any problems with speed or anything, it really is just the geek in me that is curious. Plus maybe the results will let me know if there is room for improvement, or that I have something configured wrongly.  So how do you properly test the network speed between Ubuntu boxes?


Maximum distance of a body in projectile motion from origin

Suppose a body is in projectile motion then what will be the maximum distance it can attain from origin?  Also in what case the range will be the maximum distance from the origin compared to other points in the path?


The Priority Criteria for Selecting The Principal Advisor

Long story short, I have left behind a toxic PI and now I am considering applying for another labs at different demographic locations, however, I found it little bit harder to make a thorough decision. One of the challenges that hinders me to make a selection is different feedback from many students from different labs, I have asked them and there is their response as follows.   A star professor at a high ranking university:  One of his student told me he doesn't have time to manage the lab by himself and as a sequence, he hired postdocs to be intermediate between him and his students. In retrospect, the student informed that he had tried to leave the lab at the beginning, however, they continue and mentioning that he benefit from his PI's reputation. Adding that, he and other colleagues suffered from anxiety and chronic stress due to the demand of having highly quality research papers. Intermediate professor not very well: His student told me he is not qualified to work with students, but the student told me that she doesn't feel so much pressure on her research. Junior PI: I think it could be risky as I don't have any background about their supervision history. However, what makes interested to contact them as they did good research and we have the same passion for this research line which triggers me to contact them.   My previous experience with ex-PI, he was not junior and not star, but he did research for more than 14 years, however, he didn't help me in my research or even writing papers besides being abusive and very destructive person.  The question is : If am going to select the new PI which very critical decision, how I should consider these scenarios, for sure, I avoid PI in  the influence circle of the ex-PI as I have been advised before, but what are other key corners I should bear in my mind.  I know we cannot make sweeping generalization, however, I would like to hear from the academia community if your have any prior experience or recommendation I should consider to make a reasonable decision regarding the PI selection.


Intuitive explanation of why p is not the probability of the null hypothesis

I've got to teach a basic course on the $\chi^2$ test soon, and I will of course insist on the fact that $p$ is not the probability of the null hypothesis to be true, and that the result of the test can't allow to accept the null. However, students of this course won't have any mathematical or statistical background, and I'd like to provide an explanation as intuitive as possible.  I've read some interesting things in , with an example of a dog barking when he's hungry, but I still don't find this really clear enough.  Did you already provide such an explanation, or have any idea or example that would be "sufficiently intuitive" ?  Thanks a lot in advance.


I am trying to write a test class for a simple Apex Class which sets the status of the Case to be Closed like below   public class updateCaseRecord {          @AuraEnabled     public static void updateCheck(String caseId){         List<Case> records = [select id,Status from Case WHERE Id = :caseId];         for (Case record : records)         {             record.Status = 'Closed';         }         update records;          } }   The test class I have written so far is like below I have created a test account,contact and a case.  @IsTest public class updateCaseRecordTest { @IsTest(SeeAllData=true) static void testIsUpdateCheck() {     ID parentRecType = '012U0000000PqA9IAK';     ID csRecType     = '012U0000000QGv4IAG';       Account pa = new Account(Name='Test Parent Account', recordTypeId=parentRecType);     insert pa;      Account testAccount = new Account(Name='test', Industry='Biotech',Territory__c='EUR',BillingCity='Test',BillingCountry='Germany',ParentId=pa.id);     insert testAccount;       Contact c = new Contact(LastName='Test',LeadSource='Customer Service',AccountId=testAccount.Id);     insert c;      Case newCase = new Case();     newCase.Subject = 'testStatusClosed';     newCase.Status = 'New';     newCase.Category__c = 'Inquiry';     newCase.Sub_Category__c = 'Other';     newCase.AccountId = testAccount.Id;     newCase.ContactId = c.id;     newCase.recordTypeId=csRecType;     insert newCase;       ApexPages.standardController std = New ApexPages.standardController(newCase);   updateCaseRecord uC = new updateCaseRecord(); uC.updateCheck(std); }}   I get the error like Method does not exist or incorrect signature: void updateCheck(ApexPages.StandardController) from the type updateCaseRecord. How  can I test the apex class and can have the assertion statement. I am writing first time test scripts and I am kind of lost. Any help is greatly appreciated


Why use coherent state path integral? What is its motivation or goal?

In almost all textbooks of quantum field theory for high energy, they insert the position and momentum eigenstate to formulate the path integral. While in condensed matter field theory, they insert the coherent state to get the path integral. What's the motivation or goal to use the latter instead of the former?


I would like to see my review audit history

Confession: I have been suspended a couple times from reviewing activities.  Partial Redemption: I have become better and better at passing audits.   I'd like to see my recent and distant history with audits.  Even better, I'd like to see my history with the various types of audits.    I'm not sure this has much value beyond self-reflection and self-analysis. I'd like to see if there are patterns to when I was more likely to fail (do I get sloppy after 10 or 20?), or if there are certain types of reviews at which I struggle more (e.g., suggested edit vs close question).  I suspect that if I reviewed my history and revisited audits I failed, I could create rules and rhythms for myself to become a better reviewer.


How can I resolve the error "reboot and select proper Boot device or insert boot media in selected boot device and press a key"?

I'm having a problem with my computer. It displays      reboot and select proper Boot device or insert boot media in selected boot device and press a key   Why does it display that message and how can I resolve it?


NullPointerException in Java/MySQL application

I'm building a Movie Rating CRUD application and whenever I click on the 'Categories' link, which is supposed to access the database and display the categories and the list of movies available, I receive an error message: java.lang.NullPointerException Database.ConnectionPool.freeConnection(ConnectionPool.java:40) Database.ItemDB.getItems(ItemDB.java:59) Controllers.CatalogController.processRequest(CatalogController.java:33) Controllers.CatalogController.doGet(CatalogController.java:86) javax.servlet.http.HttpServlet.service(HttpServlet.java:622) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)  ItemDB.java public static ArrayList<Item> getItems() {          ArrayList<Item> items = new ArrayList<Item>();          ConnectionPool pool = ConnectionPool.getInstance();     Connection connection = pool.getConnection();     PreparedStatement ps = null;     ResultSet rs = null;           String query = "SELECT * FROM Item";                  try {         ps = connection.prepareStatement(query);         rs = ps.executeQuery();                  while(rs.next()) {             Item item = new Item();             item.setItemCode(rs.getString("itemCode"));             item.setItemName(rs.getString("itemName"));             item.setCatalogCategory(rs.getString("CatalogCategory"));             item.setItemDescription(rs.getString("descript"));             item.setItemRating(rs.getString("itemRating"));             item.setImageUrl(rs.getString("imageURL"));             items.add(item);         }         return items;              } catch (SQLException e) {         System.out.println(e);         return null;     } finally {         DBUtil.closeResultSet(rs);         DBUtil.closePreparedStatement(ps);         pool.freeConnection(connection);     } }  ConnectionPool.java public void freeConnection(Connection c) {     try {         c.close();     } catch (SQLException e) {         System.out.println(e);     } }  Context.xml <Resource            auth="Container"            driverClassName="com.mysql.jdbc.Driver"            logAbandoned="true"            maxActive="100" maxIdle="30" maxWait="10000"            name="jdbc/MovieThoughts"  removeAbandoned="true"            removeAbandonedTimeout="60" type="javax.sql.DataSource"            url="jdbc:mysql://localhost:3306/root"            username="MovieThoughts" password=[my_password] />  I've tested the connection in my MySQL workbench and it can establish the connection in there.


Downloading a previously purchased app with Ubuntu Software Center

Fresh install of Ubuntu 12.10 but I want to claim a purchase of Minecraft that I bought with the old install using Ubuntu Software Center. Don't see an intuitive way of downloading your purchased items. I have the email payment confirmation. Any advice?


Why use printf %f for print 100.00100 results 100.000999?

I have this code:  #include  <stdio.h>  int main(void) {     float c = 100.001000;     printf("%f\n",c);     return 0; }   But result is:  100.000999   Why this happen? Where is rule for this result in C standards?


How many automorphism are there in the field of $p$-adic?  % I suspect that there's only one automorphism, the Identity. But I stuck with the continuously of the automorphism in $\mathbb{Q}_p$.


When I iterate numbers with TikZ \foreach, they are stored in a macro. Now, when I need the letter corresponding to this macro, I can only convert it by saving it to a counter and then receiving it again.  \foreach \n in {1,...,10} {   \setcounter{number}{\n}   \edef\letter{\alph{number}} }   Directly issuing  \alph{\n}   does not work. I think it would be more efficient to avoid the counter. Is it possible convert directly?


Javascript - Function Not Changing Global Variable

My Code (Javascript):  var num = 0; function change(){     var num = 10; }         change();         document.write(num);   The result should be 10 but it is showing 0. Why? If the code is wrong, what is the correct way to do this?


I need to fly from Lexington, KY to Houston, TX. Almost all airline fares are more than $500. But the interesting part is if I choose Dallas, TX as my final destination (layover/change plane in Houston, TX 1hr 15min), it costs less than $300.   So in this context, can I buy Lexington-Dallas flight and get off at Houston and not worry about Houston Dallas flight? What are the consequences?


Help me understand the oddity of percentage gains and losses?

If you start with $100K, and you get a 50% gain, it's $150K.  Then, you get a 50% loss: now it's $75K. Reverse the order (i.e. lose 50%, gain 50%), it's the same thing (a 25% loss).  So, 50% up then 50% down, or 20% up then 20% down, you don't get back to "even"; it's a loss.  My question is: how can one make this notion work to their advantage, instead of to their disadvantage?  I'm wondering if you have any strategies/thoughts/ideas on how to make this effect work for you, instead of against you. Or is my thinking on this as a strategy somehow incorrect?  The effect seems to diminish with lower swings in returns.  E.g. the +20% / -20% case, results in a 4% loss.  I.e. 100K -> 120K -> 96K.  Not clear what the formula for it is, but it's not linear.


What is the cheapest public transportation from the Madrid airport to downtown?

I am going to Madrid for one night so I want to see downtown Madrid.  Because I am just a student with limited budget I am wondering what is the cheapest way to go from the airport of Madrid Terminal 1 to downtown Madrid?


How to get book cover picture through amazon API

I want to get the cover of a book form its ASIN through Amazon API. I use the ItemLookup function, but I only get the author, manufacturer and the title.  ie :  <ItemAttributes> <Author>Anna Gavalda</Author> <Manufacturer>J'Ai Lu</Manufacturer> <ProductGroup>Book</ProductGroup> <Title>Ensemble, C'Est Tout (French Edition)</Title> </ItemAttributes>


Behaviour of bubbles on the surface of a liquid

When you observe a group of very small bubbles on the surface of say, a cup of coffee, you can see that when the bubbles get close enough to the edge of the glass, the get attracted to it and eventually collapse into it.  Can anyone explain this phenomenon ? Is it due to some form of electromagnetic attraction ?


how to model response variable is bounded by a predictor variable

I have a set up like this  continuous outcome ~ categorical predictor group variable + continuous predictor  The issue is that the continuous predictor is always an lower bound on the outcome so if the continuous predictor  is -500 then the outcome can be between -500 and infinity.  What is the best model for this type of data given that my goal is to perform inference on the categorical predictor group variable and I was using a lme4 model to get random intercepts as I have 20 categorical predictors. The predicted values are falling outside the possible ranges.   Note the continous outcome can be between -infinity and infinity but for each outcome the lower bound is the continuous predictor.


I can't insert the text from textarea when the text has apostrophe please sir's how to fix it.   this my whole code. I try mysqli_real_escape_string but it gives a error.  <?php      session_start();      $servername = "localhost";     $username = "root";     $password = "";     $dbname = "srdatabase";      $conn = new mysqli($servername, $username, $password, $dbname);      $speakerid = $_SESSION['speakerid'];      $speaker_info = "SELECT * FROM speakers WHERE id=$speakerid";     $si_result = mysqli_query($conn, $speaker_info);      $array = mysqli_fetch_array($si_result);     $dbfullname = $array['speaker_fullname'];     $dbimage = $array['speaker_image'];     $dbspecialization = $array['speaker_specialization'];     $dbdescription = $array['speaker_description'];     $dbpaymentcost = $array['speaker_paymentcost'];  ?>  <!DOCTYPE html> <html> <head> <title>Update Speaker</title> </head> <body>      <form action="updateSpeaker.php" method="post" enctype="multipart/form-data">         <textarea name="description" class="inputbox" cols="60" rows="5" autofocus required="required" maxlength="2000" style="resize:none;" placeholder="Description"><?php echo htmlspecialchars($dbdescription);?></textarea>         <br>         <input name="update" id="buttonsubmit" type="submit" value="Update">     </form>  <?php      if(isset($_POST['update']))      {            $newdescription = $_POST["description"];         $finaldescription = $mysqli_real_escape_string($conn, $newdescription);         $update_data = "UPDATE speakers SET speaker_fullname = '".$_POST["fullname"]."', speaker_description = '$finaldescription', speaker_specialization = '".$_POST["specialization"]."', speaker_paymentcost = '".$_POST["paymentcost"]."' WHERE id=$speakerid";         mysqli_query($conn, $update_data);      } ?>    </body> </html>   Prepared statement:  $update_data = "UPDATE speakers SET speaker_fullname=?, speaker_description=?, speaker_specialization=?, speaker_paymentcost=? WHERE id=?"; $stmt = mysqli_prepare($conn, $update_data); mysqli_stmt_bind_param($stmt, 'ssssd', $_POST["fullname"], $finaldescription, $_POST["specialization"], $_POST["paymentcost"], $speakerid);


I'm a complete beginner to Blender, this question is about putting objects into an environment  Basically, I don't know exactly how to get an object to have color and be in an environment. I have a model of a phone in right now and it's just grey.


\cite coming up as (?) in texstudio with the error message

I am using a thesis template from the following link The original version of the thesis and the CHARM website can be found at: . The same had been used by my senior also. The references is not appearing when compiling the document. Also the \cite are appearing as (?) I have manually put in the citations but would prefer latex to pick it up and fill up the reference section. Process started: bibtex "BRMphd".aux  This is BibTeX, Version 0.99d (TeX Live 2015/Debian) The top-level auxiliary file: BRMphd.aux A level-1 auxiliary file: 11_backmatter/BRMdeclaration.aux A level-1 auxiliary file: 11_backmatter/BRMcertificate.aux A level-1 auxiliary file: 0_frontmatter/BRMabstract.aux A level-1 auxiliary file: 0_frontmatter/BRMdedication.aux A level-1 auxiliary file: 0_frontmatter/BRMacknowledgement.aux A level-1 auxiliary file: 11_backmatter/BRMpub.aux A level-1 auxiliary file: 1/BRMintro.aux A level-1 auxiliary file: 2/BRMinstrumentation.aux A level-1 auxiliary file: 9/Codes.aux The style file: Latex/Classes/jmb.bst I couldn't open database file 9_backmatter/BRMref.bib ---line 53 of file BRMphd.aux  : \bibdata{9_backmatter/BRMref  :                             } I'm skipping whatever remains of this command I found no database files---while reading file BRMphd.aux Warning--I didn't find a database entry for "Taylor:2013" Warning--I didn't find a database entry for "Taylor:2015" Warning--I didn't find a database entry for "Nichols:1997AAS" Warning--I didn't find a database entry for "Garhart:1997IUENNV2" Warning--I didn't find a database entry for "Nichols:1996" Warning--I didn't find a database entry for "Nichols-Bohlin:1990ESASP" Warning--I didn't find a database entry for "HI4PI:2016A&A" Warning--I didn't find a database entry for "FerlandOsterbrock:1987ApJ318145F" Warning--I didn't find a database entry for "Davisdon:1977ApJ21820D" Warning--I didn't find a database entry for "DavisdonNet:1979RvMP51715D" Warning--I didn't find a database entry for "Ferland1Mushotzky:982ApJ262564F" (There were 2 error messages)  Process exited with error(s)  The text is as follows Tool for OPerations on Catalogues And Tables or (TOPCAT)\footnote{http://www.starlink.ac.uk/topcat/} as it is generally called (Taylor, 2013) \citep{Taylor:2013StaUNT} is a desktop GUI (Graphical User Interface) for analysis of tabular data, particularly source catalogue (Taylor, 2015) \citep{Taylor:2015ASPCT}.


I have a Windows form which is taking forever to load data into my datagridview.  I keep getting the error in this line:       dataGridView1.Rows.Add(row);   Cross-thread operation not valid: Control 'dataGridView1' accessed from a thread other than the thread it was created on.  Here is my code:      public List<string> _checked = new List<string>();      private void getBarcodProperty()     {                         string query = "select Name from RfidUnic where Barcode = @barcode";          while (true)         {             while (_checked.Count > 0)             {                 SQLiteCommand cmd = new SQLiteCommand(query, sqliteConnection);                 cmd.Parameters.AddWithValue("@barcode", _checked[0]);                 sqliteConnection.Open();                  SQLiteDataReader da = cmd.ExecuteReader();                  if (da.Read())                 {                     if (!da.IsDBNull(0))                     {                         string[] row = new string[] { da[0].ToString(), "1", _checked[0] };                         dataGridView1.Rows.Add(row);                         _checked.RemoveAt(0);                     }                 }                 else                 {                     string[] row = new string[] { "empty", "1", _checked[0] };                     dataGridView1.Rows.Add(row);                     _checked.RemoveAt(0);                 }                  sqliteConnection.Close();             }         }     }   Please show me where I am going wrong  Thanks


I have been wondering about the  used in almost every sentence, by especially young Americans.    What is the purpose/intention of rising pitch except in questions? Is it friendly and polite, or condescending? Is it proper to be used in presentation and teaching and other professional occasions?   For example: In , starting around 0:40, when Amy Chua introduced herself.


How to install software from old repository?

I want to install a package on a computer running Ubuntu Precise.  However, the provider of the package only "supports" Ubuntu up till Lucid. Newer versions are probably supported as well, but they stopped updating the repository. The newest repository available is  deb http://appscale.cs.ucsb.edu/appscale_packages lucid stable  If I try to install the package from that repository I get this error, probably because of version issues:  $ sudo apt-get install appscale-core 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:  appscale-core : Depends: sun-java6-jdk but it is not installable                  Depends: libboost-filesystem1.40.0 but it is not installable                  Depends: libboost-serialization1.40.0 but it is not installable                  Depends: libboost-thread1.40.0 but it is not installable                  Depends: libboost-program-options1.40.0 but it is not installable                  Depends: libboost-iostreams1.40.0 but it is not installable                  Depends: libboost-python1.40.0 but it is not installable E: Unable to correct problems, you have held broken packages.   My system is fully updated and upgraded, so I doubt that I indeed have broken packages.  I've been in this situation before, that I had a repository that only existed up to some version lower than the current (LTS) version.  Is there a general way for resolving this?


change font of verbatim environment, but not of \verb

I use both \begin{verbatim} ... \end{verbatim} and \verb.something. in my document. I would like the contents of \begin{verbatim} ... \end{verbatim} to be displayed in a smaller font. I found , which is kind of what I want. In that answer, the verbatim font can be customized via this command:  \makeatletter \newcommand{\verbatimfont}[1]{\renewcommand{\verbatim@font}{\ttfamily#1}} \makeatother   But I would prefer this to be applied to every verbatim environment automatically.   Then I tried to transfer  answer to my problem, but this also makes the contents of \verb.someting. small, which is not what I want.    I also tried defining a custom verbatim environment like this:  \newenvironment{smallverbatim}{ \verbatimfont{\footnotesize}\noindent\ignorespaces\begin{verbatim}}% {\par\noindent% \ignorespacesafterend\end{verbatim}}   But this gave me:  ! LaTeX Error: \begin{smallverbatim} on input line 526 ended by \end{itemize}.   Is there a way to do what I want to do?  What I need is some kind of macro that replaces every \begin{verbatim} with \verbatimfont{\footnotesize}\begin{verbatim}, so it shouldn't be impossible, but I have no idea how to do it.


How do I install the Firefox Developer Edition?

Mozilla released the Firefox Developer Edition! How do I install it on Ubuntu?  Source:


How to recover deleted photo album saved on internal memory - Note 3

I have a Samsung Note 3 and I accidentally deleted an entire photo album from my phones gallery. I didn't enable my device to sync with Gmail. I didn't manually backup any of the data. The images were saved on my phone, not on the SD card. Is there any way for me to recover this deleted photo album? I Google'd and came across SDrescan but that won't work since the images were not initially saved on my SD card.


When you hear the phrase “Try and act”, How do you paraphrase it? Is this expression common among native speakers?


What order does LaTeX check for image file extentions?

I'm reading the tutorial on LaTeX by overleaf, and in their section  they have some example code:  \documentclass{article} \usepackage{graphicx} \graphicspath{ {images/} }  \begin{document} The universe is immense and it seems to be homogeneous,  in a large scale, everywhere we look at.  \includegraphics{universe}  There's a picture of a galaxy above \end{document}   When explaining the \includegraphics{universe} part of that they say:  The \includegraphics{universe} command is the one that actually included the image in the document. Here universe is the name of the file containing the image without the extension, then universe.PNG becomes universe. The file name of the image should not contain white spaces nor multiple dots.  My question really comes down to this: If I had in that folder both universe.png and universe.jpg what would be chosen? Why?


Quality check failing with sonarqube Nullpointer when using findFirst

SonarQube quality fails with possible NullPointer in the method  When calling the method I'm checking !=null, but not passing through  private Asset findAsset(List<Asset> assets, Long assetId) {     return assets.parallelStream()                  .filter(ast -> ast.getAssetId().equals(assetId))                  .findFirst()                  .orElse(null); }   Im trying the below code:  if (findAsset(assetCompositionList, pair.getKey()) != null) {     assetMap.put(pair.getKey(),             findAsset(assets, pair.getKey()).getAssetCode()); }   I was already checking !=null in findAsset() method when called.


"Biden to revive/boost U.S Pakistan relations" What is the meaning of "sub + to+ verb" structure. How is it different from.."Biden going to"


Why does a for loop terminate early when iterating through a double?

If a for loop "iterates" a double from 0.00 to 0.40, for example, even when writing <=, the loop terminates when i=39. When performing essentially the same thing using integers, the program acts normally.  #include <iostream> using namespace std;  int main() {     for (double i = 0.00; i <= 0.40; i += 0.01) {         cout << i << " ";     }     return 0; }   This returns 1 2 3 ... 37 38 39.  You can test this here:   What causes this behavior and is there an ideal way to fix this, as just writing i <= 0.41 seems like a hacky solution. Even more so if the 0.40 was a user entered value, adding a small quantity certainly be considered bad practice.  Sorry if the title and question are poorly phrases, I'm not sure how to word this.


How do I install software using the Ubuntu Software Center?

The title says it all. I'd like to know how I can install software - an example is the Chromium web browser.


Python cmd is not recognized as an internal or external command

I'm trying to run a command through cmd - but it's not being recognized.  import os cmd = '"C:\\Program Files (x86)\\PATH TO PROGRAM" "C:\\Users\\PATH TO FILE" /r /e' os.system(str(cmd))   I know the str(cmd) isn't needed, but just wanted to show that I tried. The error I'm getting is:     'C:\Program' is not recognized as an internal or external command,   operable program or batch file.   I looked around and I know it's because I should use quotes, but I am using quotes for my path. I tried other ways to get around it like:  TCPath = '"C:\\Program Files (x86)PATH"' PPath = '"C:\\Users\\PATH"' cmd = TCPath + ' ' + PPath + ' /r /e' os.system(str(cmd))   And I keep getting the same error. Any thoughts on this? I tried \" too but that didn't work either.


Why would one want to build a Starkiller Base on a planet?

In Star Wars: The Force Awakens the First Order built a Death Star-like construct known as Starkiller Base on a planet. To charge and fire the weapon, it drains the energy from a sun. To eliminate the Ileenium system it appears that they consume a complete sun. Assuming it only is possible to drain a limited number of suns in reachable distance the base will render useless after some shots. You might be able to move around space with the Death Star, but certainly not with a whole planet.  Why would they want to spend so much time and energy (and money) on a weapon they will eventually have to discard?


If low-cost index funds are considered the best investment, why are there so many high-cost, managed funds?

The general consensus is that the single best indicator of a fund's future performance is the its expense ratio . If you look for more than 5 minutes online you discover the  approach to investing; the , etc. It looks like the less you pay for a fund (and therefore the less it's managed), the better it does in the long run.  So why is it that in peoples' 401(k)s there are so many high-cost actively managed funds? Furthermore, why are there so many high-cost actively managed funds in the first place? Shouldn't the market reflect the fact that actively-managed funds typically don't beat the index they benchmark to and and react by purging itself of these crappy funds?


how to prevent the commandblock from saying [@]

I am trying to make it look like someone is saying something for a map for a friend, but whenever I do the /say command and use it, it would say something like: EX: [@] Julie > You are doing it wrong. I want it to say : Julie > You are doing it wrong. I have tried both commandBlockOutput and sendCommandFeedback, but nothing has worked. Please tell me if you know what to do!  Thank you in advance.


What keyboard shortcuts move, resize, and maximize windows under Mac OS X?

I just checked  but the following "Window management" entries are blank for Mac OS X:   Move the focused window Resize the focused window Maximize the focused window   Are there really no built in keyboard shortcuts for these in OS X?  I do this stuff all the time with GNOME under Linux.


Show that every normal subgroup can be written as an intersection of $\ker \chi$'s for $\chi \in \operatorname{Irr}(G).$

The question is as follows:  This can be the third part of this question :     Let $G$ be a finite group and $N$ a normal subgroup of $G$.      c) Show that $N$ is the intersection of the sets of the form $\ker \xi$ that contain $N$ with $\xi \in \operatorname{Irr}(G)$.   Some attempts:  For the finite group $G$ and $\rho$ a representation with induced character $\chi_{\rho}$, we have $\ker \rho = \{ g \in G: \chi_{\rho}(g) = \chi_{\rho}(e) \} $ by Lemma 15.17; Isaacs "Algebra: A Graduate Course". Then it makes sense to define the kernel of the character $\chi$, denoted $\ker \chi$ by $\ker \chi = \{ g \in G: \chi(g) = \chi(e) \}$.  In particular, we know that for every character $\chi$ one has that $\ker \chi \unlhd G.$ For the irreducible characters $\chi^{(\alpha)}$, $\alpha \in \hat{G}$, we give the special symbols $N^{(\alpha)}$ for $\ker \chi^{(\alpha)}$. Now what we are going to show is that knowing $N^{(\alpha)}$ for every $\alpha \in \hat{G}$ enables one to know $\ker \chi$ for every character $\chi$. Indeed, if we let $\chi$ be a character with representation as a linear combination of the irreducible characters $\chi = \sum_{\alpha \in \hat{G}} m^{(\alpha)}\chi^{(\alpha)}$, then we have  $$\ker \chi =\bigcap \{ N^{(\alpha)} :  m^{(\alpha)} > 0 \}.$$ Because if $\chi^{(\alpha)} (g) = d_{\alpha}$ for every $\alpha$ such that $m^{(\alpha)} > 0$ one sees that  $$\chi (g) = \sum_{\substack{\alpha \in \hat{G}\\ m^{(\alpha)} > 0 }} m^{(\alpha)} \chi^{(\alpha)} (g) =  \sum_{\substack{\alpha \in \hat{G}\\ m^{(\alpha)} > 0 }} m^{(\alpha)} \chi^{(\alpha)} (e) = \chi (e) $$ and so $g \in \ker \chi$.  Conversely, since one evidently has that $|\chi^{(\alpha)} (g)| \le d_{\alpha}$ for every $\alpha \in \hat{G}$ we see that for $g \in \ker \chi$ one has that  \begin{align}  |\chi (g)| &= \left| \sum_{\substack{\alpha \in \hat{G}\\ m^{(\alpha)} > 0 }} m^{(\alpha)} \chi^{(\alpha)} (g) \right|\\ &\le \sum_{\substack{\alpha \in \hat{G}\\ m^{(\alpha)} > 0 }} m^{(\alpha)} \left| \chi^{(\alpha)} (g) \right| \\& \le  \sum_{\substack{\alpha \in \hat{G}\\ m^{(\alpha)} > 0 }} m^{(\alpha)} d_{\alpha} \\ &= \chi(1)  = \chi(g)  \end{align} from where it follows from this that $\chi^{(\alpha)} (g)$ must be real and so if $\chi^{(\alpha)} (g) \le d_{\alpha}$ for any $\alpha \in \hat{G}$ then this would induce a strict inequality for $\chi(g)$  and $\chi(1)$. It follows that $\chi^{(\alpha)} (g) = d_{\alpha}$ for any $\alpha \in \hat{G}$ such that $m^{(\alpha)} >0$. Then the conclusion follows.     Can someone please let me know if I am wrong and we cannot get the result through what I wrote?   Thanks!


I have a multimap called clientPrinterConnections that maps printer names to SocketConnections in a many to many manner. When I close a SocketConnection, I want to remove every entry that uses it. I thought Multimap implements ConcurrentMap (it seems like it did in 8.0.0 but not 9.0.0) so I did it the easy way.      for (Map.Entry<String, List<SocketConnection>> e: clientPrinterConnections.entrySet()) {         if (e.getValue().contains(connection)) {             clientPrinterConnections.removeValue(e.getKey(),connection);         }     }   It ends up that doesn't work, and it throws a ConcurrentModificationException. I can't really use an iterator though due to needing a removeValue call.      Iterator iter = clientPrinterConnections.entrySet().iterator();     while(iter.hasNext()) {         Map.Entry<String, List<SocketConnection>> pair = (Map.Entry)iter.next();         if (pair.getValue().contains(connection)) {             //this deletes all connections to the specific printer             iter.remove();             //this throws the same exception as before             clientPrinterConnections.removeValue(pair.getKey(),connection);         }     }   I can just compile a list of things to delete like this,      ArrayList<String> itemsToDelete = new ArrayList();     for (Map.Entry<String, List<SocketConnection>> e: clientPrinterConnections.entrySet()) {         if (e.getValue().contains(connection)) {             itemsToDelete.add(e.getKey());         }     }     for (String s: itemsToDelete){         clientPrinterConnections.removeValue(s,connection);     }   but that seems messy. Is there a more elegant way to do this? I can imagine some situations where just compiling a list wouldn't be an adequate fix.


How much outgoing traffic would a HTTP load balance use?

I'm setting up HTTP load balancers for Tomcat servers. I'm looking at a few different VPS plans that the load balancer will run on. I assume the load balancer would use very small amounts of traffic? If a website gets about 4 Million visits a month, how much bandwidth can I expect the load balancer to use?


How to resize font of displayed formulas to automatically fit column width?

Is there a way, in LaTeX, to automatically resize font of displayed equations to fit column width (241 pt, here)?  Any ideas would be appreciated.  You can see my equation below; note that I use \fontsize{4pt}{4pt}\selectfont to resize the font, but I need the font to be resized automatically every time.    {\fontsize{4pt}{4pt}\selectfont{\begin{gather}\begin{gathered}{\varphi  }_{ij}^{q}\left(t\right)=2\left[\dfrac{{S}_{a}}{{L}_{a}^{2}}{e}^{-({\Vert  {x}_{j}(t)-{x}_{i}(t)-{\Delta }_{ij}^{q}\Vert  }^{2}/{L}_{a}^{2})}-\dfrac{{S}_{r}}{{L}_{r}^{2}}{e}^{-({\Vert  {x}_{j}(t)-{x}_{i}(t)-{\Delta }_{ij}^{q}\Vert  }^{2}/{L}_{r}^{2})}+\left(\dfrac{{S}_{r}}{{L}_{r}^{2}}+\dfrac{{S}_{r}}{{L}_{a}^{2}}\right){e}^{(-1/{L}_{r}^{2}+1/{L}_{a}^{2})({\Vert  {x}_{j}(t)-{x}_{i}(t)-{\Delta }_{ij}^{q}\Vert  }^{2})}\right].\label{eq6}\end{gathered}\end{gather}}}


I ran the following code and got this package needs these packages, now it also says these packages are suggested, and theses are recommended. How do I get those up to install as well.  myusuf3@purple:/etc$ sudo apt-get install virtualbox-4.0  Reading package lists... Done Building dependency tree        Reading state information... Done The following extra packages will be installed:   acroread ia32-libs lib32asound2 lib32bz2-1.0 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32v4l-0 lib32z1 libaudio2   libc6-i386 libcurl3 libflac8 libhal1 liblcms1 libmng1 libogg0 libpulse0 libqt4-dbus libqt4-network libqt4-opengl   libqt4-xml libqtcore4 libqtgui4 libsdl-ttf2.0-0 libsdl1.2debian libsdl1.2debian-alsa libsndfile1 libv4l-0   libvorbis0a libvorbisenc2 libx11-xcb1 nspluginwrapper Suggested packages:   libldap2 libgnome-speech7 lib32asound2-plugins nas liblcms-utils pulseaudio qt4-qtconfig Recommended packages:   pdf-viewer The following NEW packages will be installed:   acroread ia32-libs lib32asound2 lib32bz2-1.0 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32v4l-0 lib32z1 libaudio2   libc6-i386 libcurl3 libflac8 libhal1 liblcms1 libmng1 libogg0 libpulse0 libqt4-dbus libqt4-network libqt4-opengl   libqt4-xml libqtcore4 libqtgui4 libsdl-ttf2.0-0 libsdl1.2debian libsdl1.2debian-alsa libsndfile1 libv4l-0   libvorbis0a libvorbisenc2 libx11-xcb1 nspluginwrapper virtualbox-4.0 0 upgraded, 34 newly installed, 0 to remove and 26 not upgraded. Need to get 168MB of archives. After this operation, 460MB of additional disk space will be used.   Please and thank you


Height issue with segment inside to grid column (new question)

Accoriding to ,if the question change to larger first column, and I want to let "question2" segment become height:100% to match the first column.However it become over first column. (see new question). what am I supposed to do ? New question     <link href="//oss.maxcdn.com/semantic-ui/2.1.8/semantic.min.css" rel="stylesheet" />

Header 1

Header 1

Header 1

Header 1
       Select all that apply

           <input type="checkbox" id="id1" name="id1" value="1" tabindex="0" />           Information about widgets

           <input type="checkbox" id="id2" name="id2" value="1" tabindex="0" />           Additional information about widgets

Question 1

           <input type="checkbox" id="content_1" name="content_1" value="1" tabindex="0" />           Include Sprockets

Question 2

           <input type="checkbox" id="content_2" name="content_2" value="1" tabindex="0" />           Don't include sprockets


Relation between surface area and volume; and perimeter and area.

I've noticed the following things while studying calculus, and would like experts to tell me if my conclusions are right. My Observations If I represent the area of a circle by $A$ and its perimeter by $C$, I can write $$C=\frac{dA}{dr}$$ Similarly, for a sphere, if I represent volume by $V$ and surface area by $S$, I can write $$S=\frac{dV}{dr}$$ I tried doing the same for other 2D and 3D figures, and saw that it worked only in case of the circle and the sphere. My questions My questions are:  Why does this happen only in the case of the circle and the sphere?  Can't I express the surface area of a solid in terms of its volume and the perimeter of a closed figure in terms of its area using calculus? Why or why not? I remember reading something of that kind in Jenny Olive's book "Mathematics: A Self-study Guide"


How to replace svg tags from a string in Javascript

I'm trying to replace svg tags from a string using regex, here's what I have tried.    const REPLACE_TAGS = [   'svg',   'g',   'circle',   'path',   'rect',   'defs',   'line',   'linearGradient',   'radialGradient',   'stop',   'ellipse',   'polygon',   'polyline',   'text',   'tspan' ];    const str = '<g fill="none" fill-rule="evenodd"> <path fill="none" d="M0 0h24v24H0z"/> <path stroke="#333" stroke-linecap="round" stroke-linejoin="round" d="M3.5 12.5h17v9h-17zM13.5 12.5v9M10.5 12.5v9M1.883 9.602l18.353-4.918.776 2.898L2.66 12.5z"/> <path stroke="#333" stroke-linejoin="round" d="M6 6.857c.957.553 4.675.393 4.675.393S8.957 3.945 8 3.393a2 2 0 1 0-2 3.465zM15.296 4.366c-.546.956-3.852 2.674-3.852 2.674s-.164-3.718.388-4.674a2 2 0 1 1 3.464 2z"/> <path stroke="#333" stroke-linecap="round" stroke-linejoin="round" d="M12.508 6.755l.777 2.897M9.61 7.531l.776 2.899"/> ></g>'  function recurs(str, arr, index) {   if (index >= arr.length) {     return str;   }   let tag = `<(/?)${arr[index]}\b((?:[^>"']|"[^"]*"|'[^']*')*)>`;   let pattern = /tag/g;   str = str.replace(pattern, `SVG.${arr[index][0].toUpperCase()}${arr[index].slice(1)}`);   return recurs(str, arr, index + 1); }  const strn = recurs(str, REPLACE_TAGS, 0); console.log(strn);     It seems that the regex is not working, How can I solve this?


How did the message, "This post is related to a rapidly changing event" appear?

On Travel.SE, there was a hot network question about the United Kingdom leaving the European Union. The vote was yesterday, and other developments are of course possible, so it is understandable why the message, "This post is related to a rapidly changing event" would be there, but what is the process for it, or a similar message to appear?     I'm assuming a moderator can add the message, similarly to how they can lock a post or add special tags, but can they put whatever message they want below a post, or is it limited to a pre-set list of messages? (or, am I totally wrong about this being a moderator's doing?)


Render process include what in camera or whole scene?

imagine you have very complex scene and camera point to a part of it ! of course render give you what in the camera view ; the thing that i don't know is should i delete extera meshes for faster render process or it dosen't affect ? thanks for your basic assist :)


Why $p \leftrightarrow q$ is equivalent to $(p \wedge q) \vee (\neg p \wedge \neg q)$? Without using the truth table

I want to know why $p \leftrightarrow q$ is equivalent to $(p \wedge q) \vee (\neg p \wedge \neg q)$? Without using the truth table.  Thanks all


Stop programs from stealing focus in Windows 7

In Windows 7, if I launch a program and immediately make its window inactive (e.g. by minimizing or switching windows), it will pop back up after the program has finished loading completely.  This is undesirable. I would like to let a program load in the background without having it steal focus once it is ready. For example, this happens when I launch Photoshop.  Is there a way to disable this behavior?


Is there a way to see what processes are running? linux like npm servers, etc. Sorry 4 a stupid question


Creating Stored Procedure with TableName as parameter

I am attempting to create a stored procedure where a table name is passed as a parameter, as well as updating contents of the table. Here is my code I have so far.  SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE TableSelect     @TableName varchar(100) AS BEGIN     SET NOCOUNT ON;      Declare @String varchar(100)     SELECT @String = 'Update '     SELECT @String = @String + @TableName     SELECT @String = @String + 'Set Internet = 1'      EXEC (@String)  END GO   When I attempt to execute by this command:  EXEC TableSelect 'Waterford';   I get the error:  Msg 102, Lvevl 15, State 1, Line 1 Incorrect syntax near 'Internet'.   Any help would be great. FYI, the column Internet, is just a bit so 0/1 or False/True. Thanks


After some bad luck with cheap Chinese products, I'm looking to build myself a simple USB "pass-through" e-cigarette.  For anyone not familiar with e-cigarette, the idea is very simple : you put voltage across a thin wire acting as resistor, it heats up the liquid and that's it. Most e-cigarettes got some PCB inside to manage different voltages and more importantly hold a battery.  However what I want to build is much more simple as it doesn't include a battery : all I want is get the power from a usb connection (rated for 2A) and output a voltage around 4V.  As I got some basic knowledge about electricity I recalled the voltage divider circuit which is quite simple and easy to make :         – Schematic created using   But it seems that V2 will change depending on the load (cf : ).  Another thing is I use 1.8 Ohm resistance as the heating element and I calculated that I would need R1 = 0.45 Ohm which I don't think is easily achievable.  So to wrap it up here is what I need a circuit for :   Input : 5v USB Output : 4v across a 1.8 Ohm load If possible the possibility to use a variable resistor to tweak the output voltage (about 3.5v to 5v)   Thanks a lot to anyone willing to help !  PS : CircuitLab is awesomely intuitive but why no MathJaX syntax ?