I have done my research and know that a reason for this might be that I don't have eight good trackers. However, I do have at least eight trackers in every frame of the shot, and I still get the same message everytime (some data failed to reconstruct, see console for more details). Also, where can I find the console? I looked at the python console and the info in the scripting work space, but I couldn't find anything. I also have no idea (besides eyeballing it in the tracker preview window) whether my trackers are good or not, since the solve error changes everytime I click on solve. I have keyframe unchecked, it still changes everytime I do something. For a short periodt of time it seemed to be working just fine, I could change the weights of the trackers and managed to drop the solve error to about 1.9, but suddenly I began getting random numbers again, over 100 etc, even though I didn't change anything but adjust the weight of another tracker. Sometimes solve error equals "nan". What does THAT mean? Some trackers are highlighted in yellow, some in red when I hit A to select all (I have info turned on). First I thought it was because those trackers are the ones that failed and kept refining them, but then I realised that if I select any red tracker, unselect it and select all again it turns yellow, and others turn red. I'm so confused. Checking the tripod box doesn't make it better either. Does anyone know what I can do to get a half decent track out of this?  Also, does anyone know where I can upload the .blend file? I tried a few but the file size is about 64201KB and that's too large for most sites. I can only provide screenshots for now.      Link to the footage I'm using:   (password is "tracking issue")

Whenever I do camera tracking in Blender the reconstruction is always zooming out or not on the axis. I have a great quality camera, but the end results of the camera tracking always has the model sliding. If you have a solution please tell me.


Let $R$ be UFD and denote.  Show that if  If c|a and c|b then $cgcd(a/c, b/c)=gcd(a, b)$. My attempt. Let $gcd(\frac{a}{c},\frac{b}{c})=d$. First need to show $(a,b) \subset (cd)$. This is clear since if $x \in (a,b)$ then; $$x=ar+bs=c(a/c)t+c(b/c)s$$ and since $d$ divides both $a/c$ and $b/c$ we are done. Now need to show that if $(u)$ is another princ. ideal with $(a,b) \subset (u)$ then $(cd) \subset (u)$. this is also immediate since if $y \in (cd)$ then for some $s,t \in R$ we have $(a/c)v + (b/c)w=d$ and ; $$y=cdr=c[(a/c)v + (b/c)w]r=avr+bwr$$. Which seems to show $(a,b)=(cd)$ but this can't possibly be true;

I'm trying to prove that $(ma, mb) = $|$m$|$(a, b)$ , where $(ma, mb)$ is the greatest common divisor between $ma$ and $mb$. My thoughts: If $(ma, mb) = d$ , then $d$|$ma$ and $d$|$mb$ → $d$|$max + mby$ → $d$|$m(ax+by)$. This implies that $d$|$m$ or $d$|$(ax+by)$. This is the same as  $d$|$m$ or $d$|$a$ and $d$|$b$, so $d$|$m$ or $d$|$(a,b)$. This is the same as $d$|$m|$ or $d|(a,b)$, so $d$|$|m|(a,b)$. I don't know what to do.


What is accidental metaplasm & metathesis across words?    Such as...     grammar teacher --> trammar greacher   Does this have a name?

Primary question: A common speaking mistake is to exchange syllables of words, saying "It's trace rhyme!" instead of saying "It's race time!", or pronouncing "kickin' chackatory" instead of "chicken cacciatore." Is there an existing name in poetry, linguistics, or English studies for switching syllables of (quasi-)consecutive words? I am not especially interested in the case when switching syllables results in interpretable homonyms or portmanteaus, like in the first example.  Secondary question: if not, what would you call it?  Tertiary question: is there somewhere a (playful?) taxonomy of fruitful or unfruitful lingual aberrations?


I have downloaded a digital soil map of the world from:   It has lots of files in it with different endings (shp, sbx, xls etc.). I am using QGIS 3.4. When I add vector layer and add the shapefile, all it does is loads a bunch of polygons with no soil colour to differentiate them (they are all the same colour). When I try to load all the files in the zip file at once, the same thing happens.   Can anyone tell me what I am doing wrong?

I have been familiarising myself with QGIS and the free information Ordnance Survey provide. Though I'm struggling to find further data specific to my needs.  I want to produce a map plotting renewable energy in the UK (or at least operating wind turbines) against locations of operating data centres, preferably on a background of wind speeds.   Are there places where I access this data?  By so far I have seen only these sources:   This website provides locations of data centres:   This renewable energy:  This has wind speed but when I import it is all the same colour:


Prove that there's no continuous function $f:\mathbb{R}\rightarrow\mathbb{R}$ such that $f(f(x))=-x $.   Any hints?

I've been perusing the internet looking for interesting problems to solve. I found the following problem and have been going at it for the past 30 minutes with no success:     Find a function $f: \mathbb{R} \to \mathbb{R}$ satisfying $f(f(x)) = -x$ for all $x \in \mathbb{R}$.   I am also wondering, can we find $f$ so that is continuous?  I was thinking of letting $f$ be a periodic function, and adding half the period to x each time. I had no success with this, and am now thinking that such a function does not exist.  Source:


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?

In Star Wars: The Force Awakens, once the Starkiller Base has depleted the star it is drawing power from, is it supposed to travel to another star where it can draw more power? Or is it non-mobile and supposed to fire a few, limited shots only? Or can it somehow reuse the star it is drawing power from, even after it has been depleted?  Its name suggests that it will "kill" or completely deplete the star it is drawing power from, but I haven't noticed an indication in the film that the Starkiller Base can travel to other stars.


In the Die Hard series, John Mcclane often uses this phrase before delivering the punch-blow that exterminates whatever he's aiming to blow up. But Mcclane ain't from Texas or anywhere in the Mid-West, but from New York. Sure the word after this phase (MoFo) is too common for a New York detective, but what is "Yippee-ki-yay" ?

In the movie Die Hard, John McClane (Bruce Willis) says the line "Yippie Ki Yay".  What does this mean?


I am looking for my father Herman Albert Zimmerman, who was born Oct 13, 1896, in  Magdeburg, Germany.  I found his  and  draft papers and have done much research with census and, on the Saxony sites and found nothing more about his parents. I am in the process of backtracking his steps where he boarded the Arnoldus Vinnen ship.  I believe, in 1916-1917 I have the newspaper article where he was talking to congressman Donn Bonker and have also found a book () to read more about the ship's purpose and sailing days.  Nothing in his adventures tells me who my grandparents are. I do know that he was born and his name and I remember seeing a picture of him with another boy and his parents, but no name on the back of the picture.   I do know he said he was of Lutheran faith. That is all I do know from his own words. I am very proud of my father he was a good man with a good heart. Thank you all for helping me. I gave my child his last name to carry his name forward.  My question is now how do I find my grandparents in Magdeburg and or parishes where there might be a birth record, or census in Germany?

Where can I find information on German soldiers from World War I and World War II?   I am curious to find out about my ancestors' role in the wars, i.e. what rank they had, where they where fighting, with whom and anything else.


From      This means, it doesn't take into account, the Uncertainty Principle of   Quantum Mechanics, which says that an object can not have both a well   defined position, and a well defined speed: the more accurately one   measures the position, the less accurately one can measure the speed,   and vice versa.   Why can't two people agree to measure the same particle?  One measures the speed and the other the position.  I suppose it raises the question - how do you "agree" on which particle to measure.  But that may be part of the answer to this question.

My understanding is that an observer can measure the precise location of a particle so long as the corresponding uncertainty in momentum measurement is not an issue and vice-versa.    Say there is such an observer, interested in the precise position of a particular particle.  Now, consider a second, independent observer, unbeknownst to the first, who is trying to measure the exact momentum of the same particle without caring about the position.  As a thought experiment, we assume that the two observers are somehow able to access the same particle at the same time in some way without being aware of each other.  Can both observers get their desired results?


I installed windows few days ago and set user name as [FirstName] [Last Name], some commands had problems to execute from CMD because my username had space in the middle. I logged in using administrator and renamed the folder to [My Nickname], after that I'm geetting error that setup can't find directory C:\Users\[First Name] [Last Name]\... and when I try to search from start menu, it's not able to find anything any ideas?

I want to rename my win 10 account with my initials. When installed Win 10 created my account with my initials but appended to extra characters. This is different from my other accounts on my network and all other machines I use. I tried to rename my account but Win 10 did not rename my home folder. It changed my name but not my account or my home directory.


Based on  I was able to produce a citation that is Authors, Journal Year. By I was hoping to fix two things in the example below to match the \footcite case:  1) I would like the color to be black  2) I would like the year to be in parenthesis  \documentclass[10pt,english,compress]{beamer}  %Beamer Settings \usetheme{Warsaw} \setbeamercovered{dynamic}   %BIB File \usepackage{filecontents} \begin{filecontents}{MWE.bib} @article{ref1, author = "Appleton, W. and Anderson, Z. and Almeirim, P.", title = "This is the title of this article, which as you can see, is very long and takes up too much space in the footnote.", journal = "Journal of Interesting Things", year = 2013} @book{ref2, author = "Burger, J.", title = "The title of the Book is this", publisher = "Public Publishing Publishers", year = 2014 } \end{filecontents}  \usepackage[backend=bibtex,style=authortitle-dw,addyear=true]{biblatex} % For .bib references \addbibresource{MWE.bib}  % The bibliography file \newrobustcmd*{\footlessfullcite}{\AtNextCite{\renewbibmacro{title}{}\renewbibmacro{in:}{}}\footfullcite}   \begin{document}  \begin{frame}{Example in Beamer}     \begin{itemize}         \item This is an example of text.\pause{}         \item Here is the second text that contains a reference\footlessfullcite{ref1} in the middle of the sentence.\pause{}         \item Here is another reference at the end of the sentence\footcite{ref2}.     \end{itemize} \end{frame}  \end{document}

I'm showing my references at the end of my beamer presentation.  \documentclass[compress]{beamer}  \begin{document} \frame{      \begin{thebibliography}{1}\scriptsize         \bibitem{Test} Test, Me, 2015.      \end{thebibliography} }  \end{document}   I'd like to change the color of every whole \bibitem line to something else, black for example. How can I do that without affecting the rest of my presentation? I've been looking and Googling for hours, but I can't find a way to do it. I tried things like  \setbeamercolor{structure}{fg=black}   and   \setbeamercolor{bibliography item}{fg=black}   but the first one changes about my whole colour palette and the second one doesn't do anything. What am I missing?


Consider the following code. Why does this work?  #include <iostream> using namespace std;  int main() {     int i[10] = {1,2,3,4,5,6,7,8,9,10};     int array = 4;     cout << array[i] << endl;  }   This compiles without warnings and errors and outputs 5.

As Joel points out in , in  (aka: K & R), there is mention of this property of arrays in C: a[5] == 5[a]  Joel says that it's because of pointer arithmetic but I still don't understand. Why does a[5] == 5[a]?


I'm having a problem with a Javascript function that apparently gets called too soon. I have a hunch this is a hoisting problem, but I'm not sure.  So, I have this function which is assigned to onclick of an <img>:    function setModalPicture(picName){          //Build the path to the picture     var pic= 'assets/img/art/'+picName;            //Set the picture     $('#g-modal-img').attr('src', pic);              adjustModalPadding();                }     The intention was that the src attribute of #g-modal-img should be set to the img, and only then should adjustModalPadding be called. This is because adjustModalPadding needs the height of #g-modal-img, which is zero before src is set to the <img>. However, I noticed that this doesn't work properly, and if I make adjustModalPadding log the height of #g-modal-img to the console, it shows zero. I think this means that the function is called before src is set to the <img>.

Are there any JavaScript or jQuery APIs or methods to get the dimensions of an image on the page?


best distro  for 2 GB ram, i3, 500 GB. I am currently run win7 on it. I have never tried Linux or Unix except Ubuntu in my school. I do not have many needs. Will Ubuntu lag in above system requirements?

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and  such as:    with a lighter desktop than the usual Gnome and Unity  with the even lighter LXDE desktop   Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?


This is a book that haunted me for years.  A girl lives on a very low level of an ant-hill-like society where most people live underground (supposedly due to a polluted surface). Most of the people around her are bred to be low-intelligence or are possibly the descendants of political prisoners. She is intelligent so she often gets in trouble. The levels of the underground world correspond to a class system, with the aristocracy living on the highest levels. There is a classroom scene where she is forced to watch videos over and over about how to tie her shoes.  A boy mysteriously shows up from the surface of the planet (his parents are farmers?) and together they escape to the surface and she learns everything she has been told is wrong and she was actually part of a subterranean slave society.  Ring any bells?

This has been bugging me for years.  I checked it out from the juvie fiction section of the library in Texarkana, Texas, probably around 1990 or so, but can't say when it would have been written.  Here's all I remember (sorry so vague, but I have to try!):  The protagonist, whom I believe is a female, lives in an underground compound in a dystopian future.  Reading and books are completely banned, and everyone is led to believe, falsely, that the outside world is toxic in some way (can't remember if it's pollution, nuclear fallout, UV exposure, or what).  I remember descriptions of the enclosures like they are skyscrapers with long hallways, small family unit apartments, only with no windows.  Lots of stories/levels, and where the "commoners" live are the lowest levels, as the upper stories are restricted or authorized acccess only.    The protagonist, however, knows how to read, because her grandmother had secreted away a children's picture dictionary and taught her the basics.  Her and a friend decide to sneak up onto the upper restricted-access levels, and find they are able to do so because she can read the signs, while none of the other proles can.    There is some sort of communication/physical access to the outside from the upper levels; specifically, some sort of conveyor belt.  She inadvertently gets on the belt and cannot go back, so ends up "outside", where she finds people are actually living quite normal lives.  I can't recall if her friend comes with her here.  She sees green grass/blue sky, etc. for the first time and discovers that her whole society has been lied to and confined to the underground, except for these lucky ones who have escaped.  However, there is no way for her to go back to tell anyone else.  Forever grateful if someone can scratch this itch...I'll owe you a drink should you be in/ever come visit Seattle :)


W:Failed to fetch http://dl.google.com/linux/deb/dists/stable/Release  Unable to find expected entry 'non-free/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) , E:Some index files failed to download. They have been ignored, or old ones used instead.  I have included a picture below showing my issues as I don't know how to exactly explain it....    Should I be concerned and how do I fix it?  below is the contents of sources.list  # deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release i386 (20130820.1)]/ precise main restricted  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted  ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ precise universe deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  ## team, and may not be under a free licence. Please satisfy yourself as to  ## your rights to use the software. Also, please note that software in  ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse  ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team.  deb http://security.ubuntu.com/ubuntu precise-security main restricted deb-src http://security.ubuntu.com/ubuntu precise-security main restricted deb http://security.ubuntu.com/ubuntu precise-security universe deb-src http://security.ubuntu.com/ubuntu precise-security universe deb http://security.ubuntu.com/ubuntu precise-security multiverse deb-src http://security.ubuntu.com/ubuntu precise-security multiverse  ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu precise partner # deb-src http://archive.canonical.com/ubuntu precise partner  ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main ## DepÃ´t MultiSystem deb http://liveusb.info/multisystem/depot all main

I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that.  I just tried to upload a screen shot but since I'm new it won't allow me to.  I also can not figure out how to cut and paste anything so I have to hand type what the error screen says, both when I attempt to open the software center and nothing happens, when I try to enter commands into the terminal to uninstall, reinstall, whatever I get the same following:  COULD NOT INTITIALIZE THE PACKAGE INFORMATION An unresolvable problem occured while initializing the package information Please report t:his bug against the 'update-manager' package and include the following error message: 'E: Malformed line 91 in source list/etc/apt/sources.list (dist parse)  E: The list of sources could not be read.,  E: The package list of status file could not be parsed or opened.   How do I report bugs?  What can be done about this.  I have searched and everything everyone says to do leads me back to the same line error message.  So, I don't know how to get to line 91 in the source list; to tell you what it says. Sorry, I'm really new to this. That is what I need is to find out how to get there and fix what it says. I would really like to NOT have to re partition my hard drive and start from scratch, so I'm really looking forward to getting this problem solved. I need to be able to install new software.


What is special about $(1/2)m v^2$ that makes physicists believe that it is a representation of kinetic energy?

For elastic collisions of n particles, we know that momentum in the three orthogonal directions are independently conserved:$$ \frac{d}{dt}\sum\limits_i^n m_iv_{ij} =0,\quad j=1,2,3$$  From this, it follows there's also a corresponding scalar quantity conserved:$$\frac{d}{dt}\sum\limits_i^n m_i(v^2_{i1} + v^2_{i2} + v^2_{i3}) = \frac{d}{dt}\sum\limits_i^n m_iv^2_i =0,\quad j=1,2,3$$  So why is there a need to put 1/2 in front of this conserved scalar quantity, kinetic energy?


class Direction:     def __init__(self,position=0):         self.position=position         self.dir=1     def display(self):         print("Positon:",self.position,",Direction: Up")   Here is what's printing now:   >>> a=Direction(3)   >>> a.display()   Positon: 3 ,Direction: Up   I want to remove the space after 3.

I'd like to do it in Python. What I'd like to do in this example in C: #include <stdio.h>  int main() {     int i;     for (i=0; i<10; i++) printf(".");     return 0; }  Output: ..........  In Python: >>> for i in range(10): print('.') . . . . . . . . . . >>> print('.', '.', '.', '.', '.', '.', '.', '.', '.', '.') . . . . . . . . . .  In Python print will add a \n or space, how can I avoid that? Now, it's just an example, don't tell me I can first build a string then print it. I'd like to know how to "append" strings to stdout.


Recently I migrated my account on Minecraft.net.  I had two worlds/saves before migration called 'Exile' and 'TEST world'.      A little after I migrated, I deleted 'Exile' and 'TEST world', and started a new world/save called 'Village on the Green'. Today, I went in my saves to check out my files for ADMIST related purposes.  'Village on the Green' wasn't in the saves, but my old maps 'Exile' and 'TEST' world were, even though I had deleted them.   I don't care about the latter, I think I get whats going on there. The problem is that since migration, I cannot find my current worlds/saves.     Where are they at? Is there still local content for my current worlds in a file somewhere, or does Mojang hold onto all of the data now?   4/4/2013 EDIT: Most likely location conflict.

I want to copy/modify/delete a Minecraft world. Where can I find my saves folder?


I have been searching through the whole CrossValidated but couldn't find the answer. I want to test out-of-sample the volatility forecasts (if it means something ARCH-like ones, MSGARCH, Multifractal models). I want to use MSE and MAE metric but am not sure what to take for actual volatility. I know that probably the best I can do is to take realized volatility of that day based on the sum of the intraday returns but I don't have access to that data. So questions are the following:  Can I compare it to squared returns as written here  In this case my problem is that I feel like couple of outliers will influence score much more than most of the data set. Can I use absolute returns similarly as to in the point one? Is there any better reference than this? Is there any access to intraday data of S&P500 for example and if not is there maybe estimated volatility from such a data available?  Reference to any such answer is very welcome

I am evaluating different forecasting models and their ability to forecast index volatility during period of market turmoil, using two measurements, Root Mean Square Error and Mean Absolute Error. For the previous evaluated models, ARMA (1,1) as an example, I was able to obtain the residuals and calculate the RMSE quite easily in Stata.   When estimating the GARCH (1,1) model in Stata I am however not able to correctly obtain the residuals in the post estimation procedure, no option to directly obtain the RMSE is available. Perhaps I have misunderstood how one should evaluate the forecasting ability of GARCH models, since the models specifies the conditional variance unlike ARMA which specifies the conditional mean.   Does anyone have a suggestion on how to obtain these evaluation measurements after estimating a GARCH model? And preferably how to do it in Stata.


I have the following call to the \hypersetup macro:  \hypersetup{     pdfauthor={My Name},     pdftitle={Title},     pdfkeywords={LaTeX, PDF},     pdfcreator={PDFLaTeX},     pdfproducer={PDFLaTeX}, }   Which is only usable if I have the hyperref package loaded. So I tried to wrap it under conditionals:  \@ifpackageloaded{hyperref} {\hypersetup{     pdfauthor={My Name},     pdftitle={Title},     pdfkeywords={LaTeX, PDF},     pdfcreator={PDFLaTeX},     pdfproducer={PDFLaTeX}, }} { }   and I get the following compilation error:  ! You can't use `\spacefactor' in vertical mode. \@->\spacefactor                   \@m {} l.19 \@

Many LaTeX “hacks” begin with \makeatletter and end with \makeatother. What do these commands do?


I found that the emails sent from my VPS server usually go to the spam folder in popular email providers such as hotmail or gmail.  Is it because the VPS IP has been marked as a spam server? (Other account using this VPS IP have/had been sending spam emails)  Any solution for this kind of situation?

When sending or forwarding emails using a personal or company domain using a  website or email client, how do I prevent the email from being incorrectly marked as spam?


I am a bit financially strapped and received a Gateway GT5056 tower. The tower has an AMD dual core 64-bit processor in it. Will Ubuntu 12.04 run on this machine? I will not have any other application other than LibreOffice installed.

I'm thinking about installing Ubuntu Desktop, but I don't know what flavor is the best for my system. What are the minimum and recommended hardware requirements? What kind of CPU? How much memory? Should I have Hardware Acceleration? What flavor should I use?  This is an attempt of a canonical answer. My answers have the "official  requirements", the recommended are a mix of official sources and opinion based (along with the answer it's told the source). You can comment or edit if you feel that the information is obsolete or incomplete. It is a good rule of thumb that any system capable of running Windows Vista, 7, 8, x86 (Intel) OS X will almost always be a lot faster with any Ubuntu flavor even if they are lower-spec than described below.


Let $K \subset L$ be a field extension and $A:=\{l \in L\,:\,a\text{ algebraic over }K\}$. I already have shown that $A$ again is a field and $K \subset A$ is algebraic. Also: If $l \in L$ is algebraic over $A$ it's also algebraic over $K$.  I now have to prove the following statement:  Suppose $L$ is algebraically closed. Show that $A$ is algebraically closed and that $K \subset A$ is algebraic.  As mentioned the latter I already have proven. Any hints how to proceed? I thought about considering a polynomial $a(x) \in A[x] \setminus A$ which decomposes into linear factors of $L[x]$ since $L$ is closed. From there on it would've been quite nice to show that these linear factors indeed are contained in $A[x]$ but I unfortunately do not know how to proceed.  Thanks for checking in! :)

Let $\mathbb F$ be a field and $\mathbb  K $ be an extension field of $\mathbb F$  such that $\mathbb K$ is algebraically closed.   Let $\mathbb L$ be the field of all elements of $\mathbb K$ which are algebraic over $\mathbb F$. Then $\mathbb L_{|\mathbb F}$ is an algebraic extension.   My question is : Is $\mathbb L$ algebraically closed ?  I am trying to prove the existence of algebraic closure, so please don't assume that every field has an algebraic closure.


I am a little bit confused, when somebody told me that a student is the same as a pupil. Would it be correct, if I said "He is a pupil of MBA."?  Which of the following expressions is the most appropriate?      He is a student of MBA   or      He is a pupil of MBA   And which situations should I use either words?

I'm German and we distinguish between "Schüler" (pupil) and "Student" (student).  When reading English news articles, and I read the words "student" or "students", most of the time the articles seem to refer to school kids, not university students.  My questions:  Am I right or is my impression wrong? If I'm right, why is "pupil" used so rarely?


$\displaystyle\sum_{n=1}^\infty \frac{1}{n^s}$ only converges to $\zeta(s)$ if $\text{Re}(s) > 1$.  Why should analytically continuing to $\zeta(-1)$ give the right answer?


We often say that minimizing the (negative) cross-entropy error is the same as maximizing the likelihood. So can we say that NN are just an alternative way of performing Maximum Likelihood Estimation? if not, why?

I just started to study about stats and models stuff. Currently, my understanding is that we use MLE to estimate the best parameter(s) for a model. However, when I try to understand how the neural networks work, it seems like they commonly use another approach to estimate the parameters instead. Why don't we use MLE or is it possible to use MLE at all?


I have the following date string which I tried to extract the date from. I am getting an error as I am obviously not parsing it correctly. from datetime import datetime  date_string = '2021-05-16T13:24:31+0000' date_format = "%Y-%m-%d'T'%H:%M:%S'+0000'" date_object = datetime.strptime(date_string, date_format) print(date_object.date)  What would be the correct parsing format for this date string '2021-05-16T13:24:31+0000'? Thank you.

I need to parse  strings like "2008-09-03T20:56:35.450686Z" into Python's datetime type.  I have found  in the Python standard library, but it is not very convenient.  What is the best way to do this?


Too often, when I try to move my cursor and click, or try to drag something or select text, and my two fingers end up on the trackpad at the same time, all my open tabs shrink into this view:    This is extremely disruptive as it makes me lose my focus and then I have to locate the page I was currently on, click it and then resume working.  I can't tell what this specific feature in Safari is called (I want to still be able to pinch to zoom in and out of a page), and couldn't find info anywhere on how to completely disable it.  Can I disable this? (or I can use another browser, obviously...)

When looking at a PDF document I often want to zoom-out to scroll quickly to its contents and get an overview.  However, when I zoom-out past a certain threshold (it seems to differ per PDF) Safari thinks I want to see the tab overview:    I have never found a use for this function, so it only causes annoyance.  Can I turn this tab overview off somehow? A solution that uncouples the pinch-to-zoom gesture from the functionality would also work.  I'm on Mountain Lion 10.8.5 with Safari 6.1.3.


Wondering if it's possible to see total amount of reputation over time generated by one post for a given user.  Note that it's not simple upvotes * 10 - downvotes * 2 math - there is a cap of 200 daily reputation.

If I would like to view all of the reputation I have gained or lost due to one specific question of my own, how can this be done?  Is it possible for someone with, say, 421 rep on the site in question?


While attempting to load a MS standard resource dictionary, "Luna.Metallic.xaml", the following error is thrown during compile:  Data at the root level is invalid. Line 1, position 1. XML is not valid.  I tried both the Notepad++ as well as vim solutions to no avail.  What am I doing wrong?  Many Thanks!  <Application x:Class="test.App"              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"              StartupUri="MainWindow.xaml">     <Application.Resources>         <!-- Resources scoped at the Application level should be defined here. -->         <ResourceDictionary Source="Luna.Metallic.xaml" />     </Application.Resources> </Application>   => Here is a VIM hex display of "Luna.Metallic.xaml", showing no non-displayable characters  0000000: 3c21 2d2d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d  <!--============ 0000010: 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d  ================ 0000020: 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d  ================ 0000030: 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d  ================ 0000040: 3d3d 3d3d 3d0d 0a43 6f70 7972 6967 6874  =====..Copyright 0000050: 2028 4329 204d 6963 726f 736f 6674 2043   (C) Microsoft C 0000060: 6f72 706f 7261 7469 6f6e 2e20 2041 6c6c  orporation.  All 0000070: 2072 6967 6874 7320 7265 7365 7276 6564   rights reserved 0000080: 2e0d 0a0d 0a54 6865 6d65 2053 7479 6c65  .....Theme Style 0000090: 7320 466f 7220 5769 6e64 6f77 7320 5072  s For Windows Pr 00000a0: 6573 656e 7461 7469 6f6e 2046 6f75 6e64  esentation Found 00000b0: 6174 696f 6e20 5665 7273 696f 6e20 0300  ation Version .. 00000c0: 0000 200d 0a3d 3d3d 3d3d 3d3d 3d3d 3d3d  .. ..=========== 00000d0: 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d  ================ 00000e0: 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d  ================ 00000f0: 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d 3d3d  ================ 0000100: 3d3d 3d3d 3d3d 3d2d 2d3e 0d0a 0d0a 3c52  =======-->....<R 0000110: 6573 6f75 7263 6544 6963 7469 6f6e 6172  esourceDictionar 0000120: 7920 786d 6c6e 733d 2268 7474 703a 2f2f  y xmlns="http:// 0000130: 7363 6865 6d61 732e 6d69 6372 6f73 6f66  schemas.microsof 0000140: 742e 636f 6d2f 7769 6e66 782f 3230 3036  t.com/winfx/2006 0000150: 2f78 616d 6c2f 7072 6573 656e 7461 7469  /xaml/presentati 0000160: 6f6e 220d 0a20 2020 2020 2020 2020 2020  on"..

I have an XSD file that is encoded in UTF-8, and any text editor I run it through doesn't show any character at the beginning of the file, but when I pull it up in Visual Studio's debugger, I clearly see an empty box in front of the file.      I also get the error:   Data at the root level is invalid. Line 1, position 1.    Anyone know what this is?  Update: Edited post to qualify type of file. It's an XSD file created by Microsoft's XSD creator.


I am having DSM and DTM data .My primary objective is to develope a CHM(Canopy Height Model) in Qgis.which i have done already but in my company they are stressing that CHM model which i already achieved is in Raster but they want the result in TIN model how to do this in Qgis?

I'd like to generate a 3d terrain model moving from a DEM dataset (currently in shp and GeoTIFF format).   As far as I understand it, the first step of the better path would be generating a TIN, but I can't find the way to do.   I found a lot of references to ArcGIS 3D Analyst, but no tools in MacOSX/Unix world.   Are there any?


I am able to send french accent é in the body in php mail using the following code:  $subject = "é"; $message = "<html>&eacute;<html>";  $headers = 'From: noreply@mymail.fr' . "\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";  mail($to, $subject, $message, $headers);   However, how do I send accents in the subject?

When I try to send a HTML encoded email from PHP, if the subject line contains special chars like "Here's the information you requested", PHP encodes it to read "Here&#039;s the information you requested."  How do I fix this?    Here's what the code looks like using PHP mail():  $headers  = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";  $headers .= 'To: ' . $mod_params['name'] . '<' . $mod_params['email'] . '>' . "\r\n";  $headers .= 'From: <do_not_reply@a4isp.com>' . "\r\n";    $email_to = $mod_params['email'];  $email_sub = "Here's the Information You Requested";  $body = html_entity_decode("" . $email_html_body . "");  mail($email_to,$email_sub,$body,$headers);   It gives the same error as running it through the SugarPHPMailer class.


Im using Plesk 17 and Ubuntu 16, Plesk automatically created an ftp user for my "webspace". I won't give this created user more rights and can't change it easy to my main user withouth messing up everything.  I connect with my main user with a ssh key to the server. I don't allow other users to connect via ssh.  Now if i would connect with bitvise and Dreamweaver i get permission denied, because the owner is the created user by Plesk (dexxxxxx - img).    How i can add a second user withouth changeing the existing groups for this folder ?   I tried to create a group added both users, but like that all other groups get replaced (psacln, root, psaserv -> siteaccess group)  If i replace the user created by plesk the Homepage outputs access denied.  Edit: I tried to add the main user to the same groups like dexxx then i can see the folder but cant write into it. (dexxx can)

I want the transmission-daemon to have permission to write to a directory called /opt/www/ that already has the owner set to www-data(in order for the web server to serve files in it)  The transmission daemon responds with a permission denied error when I set it to my download directory. How can I give it permission to write in this directory while maintaining the www-data ownership?  Sorry if it's a bit confusing I will clarify if I was unclear. Thanks!  Basically: /opt/www needs www-data to be able to be served as a webpage, but at the same time I want transmission to be able to write files to that folder. How can I do that? By default transmission runs on the user debian-transmission


I managed to ruin the password so I want to completely reinstall Ubuntu 20.04. I have 'ubuntu-20.04.1-desktop-amd64.iso' on a USB stick but when I try to boot from it I'm told the boot file/s can't be found. I can't use 'sudo' because of the password problem and I've tried several ways to restore privileges to no avail. Will I need to format the drive in order to reinstall Ubuntu? Alan

I need to reset my password. I have followed these steps:    However, then I go to "root" or "netroot" recovery options, it tells me:  Give root password for maintenance (or type Control-D to continue)   Clearly, I do not know the root password. If I type CTRL+D, I return to the list of options. From  I read:  Under chapter 'The Other Way':  4. Highlight the line that begins kernel and press 'e' to edit`   But in the grub configuration file I have no line that starts with kernel. Only:  setparams 'Ubuntu...' recordfail set gxfpayload... insmod part_msdos insmod ext2 set root=... search --no-floppy... linux /boot/vmlinuz-2.6.38... initrd /boot/initrd.img-2.6....   Those are all lines in my GRUB. Which line should I edit? Or is there another way to reset my password?


Given the following interaction:  $ git add foo  $ git commit -m "Initial import of 'foo'" $ rm foo # This could be any destructive action on foo, like editing it.   How do I restore 'foo' in my working copy? I'm looking for something like:  $ git <magic> foo Restored foo to revision <blah>.

I have made some changes to a file which has been committed a few times as part of a group of files, but now want to reset/revert the changes on it back to a previous version.   I have done a git log along with a git diff to find the revision I need, but just have no idea how to get the file back to its former state in the past.


In system theory it is very common to represent a system in state space form, which consists of 4 matrices, A, B, C and D. The professors have a nice way of representing these in a general form. Now I am writing the report, but I do not know how to represent it in such a form. If I would explain it in latex it would be  \left[  \begin{tabular}{c|c} $A$ & $B$ \\ \hline $C$ & $D$ \end{tabular} \right]   However, this does not work in equation form, but I do not know how to represent this is properly. It is important that the A,B,C and D are seperated by a thin line that does not touch the brackets around it.  I know this is maybe an odd question, but I would not know how to ask it otherwise.   EDIT: Thank you for the quick answer. This question is a duplicate from  Therefore the question can be closed.

I want to create a block matrix of this form:    But Block A should be a diagonal matrix with 1 on the diagonal, the other blocks should be B, C and D like in the picture. But the size of each block should be equal.


As of right now i have 144mb on external, and 44 on internal. But i can't download a 8mb app? I fixed it once but i had to do a lot of stuff to it and I'm only 14 so yeah not a tech wiz. Its getting really annoying. Help?  When i clear the data for Google Play Store Services and Google Play Store (application manager > all) the low memory space notification thing foes away for like 10seconds and then comes back

Every time I go to install a new app, I get the message "Insufficient storage", and an unable to install anything!  I am using Samsung GT19060 my internal memory is 8GB. I have not downloaded anything but anytime I try to download something it will tell me low memory space.


I am using an ImageSwitcher View to create an infinite loop between 3 pictures.. Every second another image is being displayed in the View.   My code is the following..   I am getting the following error message:   "java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageResource(int)' on a null object reference"  This would say I am not instantiating the ImageSwitcher, which I believe I am..  What am I missing?   public class SecAct_Foto_Fragment extends Fragment {      int counter = 0;     View rootView;     private ImageSwitcher pic_image_switch;     private Handler pic_image_switch_handler;      @Nullable     @Override     public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {          rootView = inflater.inflate(R.layout.sec_act_photo_layout, container, false);          pic_image_switch = (ImageSwitcher) rootView.findViewById(R.id.foto_groot_imageswitch);          pic_image_switch_handler = new Handler(Looper.getMainLooper());          pic_image_switch_handler.post(new Runnable() {             @Override             public void run() {                 switch (counter) {                     case 0:                         pic_image_switch.setImageResource(R.drawable.run_mount);                         break;                     case 1:                         pic_image_switch.setImageResource(R.drawable.run_away);                         break;                     case 2:                         pic_image_switch.setImageResource(R.drawable.run_rocks);                         break;                 }                 counter += 1;                 if (counter == 3) {                     counter = 0;                 }                 pic_image_switch.postDelayed(this, 1000);             }         });          return rootView;     } }   Fragment XML :        <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout     xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:app="http://schemas.android.com/apk/res-auto"     xmlns:tools="http://schemas.android.com/tools"     android:background="@color/white"     android:layout_width="match_parent"     android:layout_height="match_parent">       <ImageSwitcher         android:id="@+id/foto_groot_imageswitch"         android:layout_width="match_parent"         android:layout_height="220dp"         android:background="@color/black"         android:contentDescription="@string/topscreen_picture_secondactivity"         android:padding="3dp"         android:scaleType="fitXY"         app:layout_constraintRight_toRightOf="parent"         app:layout_constraintTop_toTopOf="parent"         app:srcCompat="@drawable/run_rocks"         />      <ImageView         android:id="@+id/knoppen"         android:layout_width="120dp"         android:layout_height="25dp"         android:layout_marginBottom="264dp"         android:contentDescription="@string/threebuttons_secondact"         app:layout_constraintBottom_toBottomOf="parent"         app:layout_constraintHorizontal_bias="0.501"         app:layout_constraintLeft_toLeftOf="parent"         app:layout_constraintRight_toRightOf="parent"         app:srcCompat="@drawable/but_left" />  </android.support.constraint.ConstraintLayout>

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


Given that $A$ is a symmetric matrix, find $X$ that solves $$\mathop {\min }\limits_X {\left\| {A - X{X^T}} \right\|_F}$$  I think that the problem can be solved using eigenvalue or singular value decomposition technics. $XX^T=A$ seems an obvious solution, but the problem is that $XX^T$ is positive semidefinite, while $A$ may not be, although they are both symmetric.  At this point I am thinking about taking eigenvalue decomposition of A, then replacing the negative eigenvalues in the middle diagonal matrix with 0-s (denote the resulting matrix by $\bar{A}$). But am having difficulties to understand why  $XX^T=\bar{A}$ gives the $X$ with minimal distance from A.

Given that $A$ is a symmetric matrix, find $X$ that solves $$\mathop {\min }\limits_X {\left\| {A - X{X^T}} \right\|_F}$$  I think that the problem can be solved using eigenvalue or singular value decomposition technics. $XX^T=A$ seems an obvious solution, but the problem is that $XX^T$ is positive semidefinite, while $A$ may not be, although they are both symmetric.  At this point I am thinking about taking eigenvalue decomposition of A, then replace the negative eigenvalues in the middle diagonal matrix with 0-s (denote the resulting matrix by $\bar{A}$). But am having difficulties to understand why  $XX^T=\bar{A}$ gives the $X$ with minimal distance from A.


I'm doing a project and in my LaTeX file the examples are in italic. I want to know if there is something I can do to avoid it and put the examples in normal font. I did put the examples as "newtheorem".

What package should I use, or what setting can I make to the font in theorems so that the text wouldn't be italic. I use amsmath, and from default, everything I write in theorem environments becomes italic and I don't want that. Thank you


is the following correct English?  On behalf of Karen Jones … my wife, Cyndi … and me. WELCOME … and THANK YOU for coming.

Possible Duplicate:               I found a photo of Sarah, Thomas, James and I?  OR  I found a photo of Sarah, Thomas, James and me?  "I" subject pronoun,  photo "object",   "me" object pronoun - or not as the case may be?  I believe it is "me" not "I" but can you provide why this is so in terms of sentence structure.  Thank you


How do amorphous objects emit blackbody/thermal radiation when such objects don't have optical phonons?

By conservation of energy, the solid is left in a lower energy state following emission of a photon.  Clearly absorption and emission balance at thermal equilibrium, however, thermodynamic equilibrium is a statement of the mean behaviour of the system, not a statement that the internal energy is constant on arbitrarily short timescales.  The energy has to come from somewhere during emission, and go somewhere during absorption.  Energy in a solid can be stored as kinetic and potential energy of electrons and nuclei, either individually or in collective modes such as phonons and plasmons.  In thermal equilibrium energy will be stored more or less in various forms depending on the temperature and material.  However, even if most of the thermal energy in a particular solid at temperature $T$ is stored in the form of phonons, it could be that phonons primarily interact with light indirectly via electrons, e.g. a phonon excites an electron in a phonon-electron interaction, which can interact with light via the EM field.  Given that light is an EM field, it makes sense to me that it is emitted and absorbed by charged particles.  The electron-photon interaction is probably dominant for visible and ultraviolet light, given that metals are opaque, while semiconductors and insulators are transparent to (visible and UV) light with energy lower than their bandgap. However, once you get into energies in the IR and below, or X-rays and above, other mechanisms apparently take over.  For example, on the high-energy end of the spectrum I've heard that gamma rays can interact directly with nuclear degrees of freedom, which is reasonable considering that gamma rays are emitted during a lot of nuclear reactions.  A review of  might give clues to important light-matter interactions over a broad range of wavelengths.  Whether all of the these processes are involved in blackbody emission is a somewhat different question.  What physical processes mediate energy transfer during blackbody emission, and in which energy ranges are the various processes dominant?


The task is to calculate the following integral:  $$\int_{1/3}^{3}{\frac{\tan^{-1}x}{x^{2}-x+1}dx}$$  However the answer me currently getting seems to be too large and odd, any ideas of more efficient solution? P.S I was using universal substitution for rational trigonometric equations

Can somebody help me calculate the following integral:  $$\int\limits_{1/3}^{3}\frac{\arctan(x)}{x^2-x+1}\;\mathrm{d}x$$  I have tried integration by parts, but I got stuck in it. Wolfram also didn't help me.  I would be happy to get some hints.


Let $a_n$ be a sequence defined: $a_1=3; a_{n+1}=a_n^2-2$ We must find the limit: $$\lim_{n\to\infty}\frac{a_n}{a_1a_2...a_{n-1}}$$  My attempt  The sequence is increasing and does not have an upper bound. Let $b_n=\frac{a_n}{a_1a_2...a_{n-1}},n\geq2$. This sequence is decreasing(we have $b_{n+1}-b_{n}<0$. How can I find this limit?

If $$\left\{x_{n}\right\}\mid x_{1}=5,x_{n+1}=x_{n}^{2}-2,\forall n\geq 1$$ find $$\lim_{n\to\infty}\frac{x_{n+1}}{x_{1}x_{2}\cdots x_{n}}.$$  If someone could help me out with tags, it'd be lovely. I think this is calculus and real-analysis, but I'm not sure--I had the problem scribbled down on a post-it, and I forget where it's from.


While reading through , I was suddenly struck with a memory of having read a book within the last few years (I'll start trolling through my library history tonight after work) with a kind of similar premise. The inventor in question had some sort of pull or influence over the town such that they couldn't quite get rid of him. I want to say that he developed projects for the U.S. Military, although he was sort of a "gentleman inventor" who was doing it for the fun of it rather than someone who was truly trying to push the boundaries of human understanding. The two bits that stick out to me are   He frequently causes incidents that require the fire department to show up, and he's got his own siren or klaxon for when things go wrong. I don't remember if it was fires or gasses that were what kept happening, and I have a vague memory that the post office guy often got caught in the middle of incidents, to the point where the inventor treated him as a bit of a guinea pig. He eventually gains a young boy as an assistant. We're introduced to said boy as he and a gang of kids are playing a "follow the leader" game where he's trying to winnow them out by doing progressively more dangerous or at least damaging to the clothes they're in. One which sticks out in my head was that they had to wade through a river, I think without removing their shoes, etc. The last challenge involves them going onto the grounds of this inventor, which I'm pretty involved traversing a fence. The young boy winds up the only one left when he encounters the inventor.   From there, I think I had to return the book, but the inventor decides to give the boy a job. I think he initially gives the boy some recent invention... I want to say they were either discs or glass bottles but they're on a belt, and there's something in the belt indicating that it was a military project.  The book had the feel of an older book, maybe pre-computers. I'm almost certain it was set in a time before cell phones and personal computers, when the primary entertainment for kids involved romping through woods and creeks. I think the cover might have been yellow, a hardback, just the name of the book without a cover image? I'm pretty sure it was written for a younger crowd.

I am looking for a children's short story about a scientist that invents a material that is pushed away from other matter. It accelerates away from gravity instead of towards it.  He makes several small (golf ball sized?) spheres of the material. He could wrap his fingers around a ball, but it would push his fingers out away from it, so it was hard to hold onto. If he let go of one indoors, it would zoom up to the ceiling.  If one got loose outdoors, it would zoom directly upward into the sky. Within a few hours it would leave the Earth-moon system. After a few days, it would zoom away from the Solar System constantly accelerating. After a million years, it would leave the galaxy.  He could put several balls into a chest harness that would let him hover. He had to balance the outward pull of the material against the gravitational pull of the Earth on his body. He also had one or more of his children hold onto to him.  One of his children wears a harness that just balances his weight against the upward acceleration so he can appear to be on the ground, but is actually slightly hovering. The child uses the harness to win events at a track and field competition.  This is not the movie Flubber, or the movie, The Absentminded Professor. It is a written short story.  The story was published before the mid 1980's. Maybe as far back as the 1960's.


I want to attach a code file to my question, but I am not able to find a link to do it. Is attaching files possible at all?

I posted a question and a couple of respondents asked for the source code. I could only post portions of the code.  If attachments were allowed I could have uploaded a .zip file with the whole application.  Will this be a feature in SO?


I want to make a form that sends a feedback (good/average/poor) in a mysql database without loading the page I'm on. It's working fine except that it doesn't recognize if wich value I'm sending (if it's good, average or poor that was sent).  Here my form :  <form method="post" id="radio_fb" style="margin-top:-90px;">
         <input type="radio" name="radios" id="poor" value="poor" />Poor         <input type="radio" name="radios" id="average" value="average" checked="checked" />Average         <input type="radio" name="radios" id="good" value="good" />Good         <input type="hidden" name="url" value="<?php echo 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];?> "/>         <input type="submit" name="submitter" value="Send" id="submit" />
 </form>   And here is my jQuery :  jQuery(document).ready(function($) {     $("#radio_fb").submit(function() {         cname = this.radios.value;         curl = this.url.value;         submitter = this.submitter;          var data = {             name: cname,             url: curl         };         $.post("ajax.php", data, function() {             submitter.value="Sent";             submitter.disabled=true;                     });          return false;      }); });   And here are the functions that store the value in the database:  <?php include_once('config.php');  if ($_POST['radios'] == 'good') {     $url = $_POST['url'];     $bdd->exec('INSERT INTO feedback(id, url, avis) VALUES ("", "'. $url .'", "Good")'); } else if ($_POST['radios'] == 'average') {     $url = $_POST['url'];     $bdd->exec('INSERT INTO feedback(id, url, avis) VALUES ("", "'. $url .'", "Average")'); } else {     $url = $_POST['url'];     $bdd->exec('INSERT INTO feedback(id, url, avis) VALUES ("", "'. $url .'", "Poor")'); }  ?>   Any idea how to fix this? I looked through all the answers but nothing is working: my function keeps returning the else statement (or nothing if I remove it).

I have two radio buttons and want to post the value of the selected one. How can I get the value with jQuery?  I can get all of them like this:  $("form :radio")   How do I know which one is selected?


this is my first ever question on this forum so bear with me if the formatting or phrasing of the question itself seems strange...   I was reading about TREE(3) and the rules followed in generating the sequence of trees here:     Midway through the article when describing a hypothetical game in which the trees are being generated, a lower bound for X is presented and, therefore, m and n have an upper bound.  "After this incredibly long sequence of moves, the next six moves might be these (let m and n be positive integers where m + n < x; in practice, x is so large that it is unrestrictive):"  My question is what rule in creating the sequence says that X needs to be bounded at all? Why can't either player play a tree with an infinite number of leaves?  I am not a math major, I just came across the topic in a Numberphile video and wanted to understand more.  Thanks

Reading online, it generally seems accepted that TREE(n) where n >= 3 is a finite number, but large enough to be incomputable and only has extremely loose lower bounds today. TREE(n) is the function defined by Harvey Friedman, based on Joseph Kruskal's tree theorem. A simplified definition:  "TREE(n) = the maximum length of a set of rooted trees Tm with n possible vertex labels, where Tm has m or fewer vertices, and subsequent trees do not homeomorphically embed a preceding tree."  We can trivially show that TREE(1) = 1 and TREE(2) = 3.  My question is, how can it be known that for values of n greater than 2, the series of possible trees is finite? If we can't compute the solution, how do we know that it ends? If there is an existing write up online describing proof that these numbers are finite, please link me to it, I'm finding limited reading material on the TREE function. Thanks.


I have successfully downloaded the Linux version but cannot get it to execute. It appears to come up with misread character type or error.  So, how do I install TeamSpeak successfully on Ubuntu

I am very new to Ubuntu and I want to create desktop launcher.  I have this in my TeamSpeak3.desktop in   [Desktop Entry] Name=TeamSpeak 3 Comment=TeamSpeak 3 VoIP Communicator Exec=/opt/TeamSpeak3-Client-linux_amd64/ts3client_runscript.sh Terminal=false Type=Application Categories=Network;Application; Icon=/opt/TeamSpeak3-Client-linux_amd64/styles/default/logo-128x128.png   in my ~/.local/share/applications/TeamSpeak3.desktop But I dont see it in my launcher and when I double click on it files, it just opens the text file. I even made it executable with     chmod +x TeamSpeak3.desktop  drwx------ 15 hung hung     4096 srp 16 12:29 . drwxr-xr-x  3 root root     4096 pro  9 19:22 .. -rw-------  1 hung hung   174627 srp 16 12:29 CHANGELOG -rwx------  1 hung hung   227136 srp 16 12:29 error_report drwx------  2 hung hung     4096 srp 16 12:29 gfx drwx------  3 hung hung     4096 srp 16 12:29 html drwx------  2 hung hung     4096 srp 16 12:29 iconengines drwx------  2 hung hung     4096 srp 16 12:29 imageformats -rwx------  1 hung hung   334520 srp 16 12:29 libc++abi.so.1 -rwx------  1 hung hung  1934744 srp 16 12:29 libcrypto.so.1.0.0 -rwx------  1 hung hung   746960 srp 16 12:29 libc++.so.1 -rwx------  1 hung hung  5842312 srp 16 12:29 libQt5Core.so.5 -rwx------  1 hung hung   484832 srp 16 12:29 libQt5DBus.so.5 -rwx------  1 hung hung  5683224 srp 16 12:29 libQt5Gui.so.5 -rwx------  1 hung hung  1335584 srp 16 12:29 libQt5Network.so.5 -rwx------  1 hung hung   290008 srp 16 12:29 libQt5Positioning.so.5 -rwx------  1 hung hung  3829280 srp 16 12:29 libQt5Qml.so.5 -rwx------  1 hung hung  3831288 srp 16 12:29 libQt5Quick.so.5 -rwx------  1 hung hung   234552 srp 16 12:29 libQt5Sql.so.5 -rwx------  1 hung hung   331232 srp 16 12:29 libQt5Svg.so.5 -rwx------  1 hung hung   117104 srp 16 12:29 libQt5WebChannel.so.5 -rwx------  1 hung hung 67570152 srp 16 12:29 libQt5WebEngineCore.so.5 -rwx------  1 hung hung   208344 srp 16 12:29 libQt5WebEngineWidgets.so.5 -rwx------  1 hung hung  6439120 srp 16 12:29 libQt5Widgets.so.5 -rwx------  1 hung hung  1334528 srp 16 12:29 libQt5XcbQpa.so.5 -rwx------  1 hung hung   180248 srp 16 12:29 libquazip.so -rwx------  1 hung hung    22936 srp 16 12:29 libsnappy.so.1 -rwx------  1 hung hung   111888 srp 16 12:29 libsrtp.so.0 -rwx------  1 hung hung   383072 srp 16 12:29 libssl.so.1.0.0 -rwx------  1 hung hung    51080 srp 16 12:29 libudev.so.0 -rw-------  1 hung hung     4340 srp 16 12:29 openglblacklist.json -rwx------  1 hung hung   260232 srp 16 12:29 package_inst drwx------  2 hung hung     4096 srp 16 12:29 platforms -rw-------  1 hung hung       26 srp 16 12:29 qt.conf drwx------  2 hung hung     4096 srp 16 12:29 qtwebengine_locales -rwx------  1 hung hung    19720 srp 16 12:29 QtWebEngineProcess drwx------  2 hung hung     4096 srp 16 12:29 resources drwx------  6 hung hung     4096 srp 16 12:29 sound drwx------  2 hung hung     4096 srp 16 12:29 soundbackends drwx------  2 hung hung     4096 srp 16 12:29 sqldrivers drwx------  3 hung hung     4096 srp 16 12:29 styles drwx------  2 hung hung     4096 srp 16 12:29 translations -rwx------  1 hung hung 18987008 srp 16 12:29 ts3client_linux_amd64 -rwx------  1 hung hung     1364 srp 16 12:29 ts3client_runscript.sh -rwx------  1 hung hung  2206064 srp 16 12:29 update drwx------  2 hung hung     4096 srp 16 12:29 xcbglintegrations


By mistake I have upgraded Ubuntu from 20.04 to 21.04. Is there an easy way of going back to the previous release?

I just installed a new version of Ubuntu and I want to roll it back to the previous version.  How can I do that? Is that even possible?


I was using Chrome when the power went off and the internet was cut for about 10 mins. So I was wondering if there was an app that automatically saved the websites I visited in Chrome, and made them available for offline use. May be an extension or procedure?

Is it possible to save everypage you visit in a browser automatically? I do now want to rely on Cache as a huge cache will slow down the browser. A third party software or an add-on will be helpful.  I use Chrome browser, but any other browser which can help me in my requirement is okay.


so i found a shell deep in a directory of my website . my website doesn't have a upload section and i use a well known framework and it covers sql injection ( i use codeigniter active record to work with database) so i dont think its the code itself   i had a ckeditor/ckfinder in my asset folder and i think hacker has used them to upload shell on my server   to make sure where this file has come from i need to know its history ... mainly the first directory which this file has been uploaded to and  perhaps the original name of the file  .  is there any way to find this information about a file ?

This is a  about Server Security - Responding to Breach Events (Hacking)   See Also:                  Canonical Version I suspect that one or more of my servers is compromised by a hacker, virus, or other mechanism:   What are my first steps? When I arrive on site should I disconnect the server, preserve "evidence", are there other initial considerations? How do I go about getting services back online? How do I prevent the same thing from happening immediately again? Are there best practices or methodologies for learning from this incident? If I wanted to put a Incident Response Plan together, where would I start? Should this be part of my Disaster Recovery or Business Continuity Planning?   Original Version       2011.01.02 - I'm on my way into work at 9.30 p.m. on a Sunday because our server has been compromised somehow and was resulting in a    attack on our provider. The servers access to the Internet   has been shut down which means over 5-600 of our clients sites are now   down. Now this could be an FTP hack, or some weakness in code   somewhere. I'm not sure till I get there.      How can I track this down quickly? We're in for a whole lot of   litigation if I don't get the server back up ASAP. Any help is   appreciated. We are running Open SUSE 11.0.            2011.01.03 - Thanks to everyone for your help. Luckily I WASN'T the only person responsible for this server, just the nearest. We managed   to resolve this problem, although it may not apply to many others in a   different situation. I'll detail what we did.      We unplugged the server from the net. It was performing (attempting to   perform) a Denial Of Service attack on another server in Indonesia,   and the guilty party was also based there.      We firstly tried to identify where on the server this was coming from,   considering we have over 500 sites on the server, we expected to be   moonlighting for some time. However, with SSH access still, we ran a   command to find all files edited or created in the time the attacks   started. Luckily, the offending file was created over the winter   holidays which meant that not many other files were created on the   server at that time.      We were then able to identify the offending file which was inside the   uploaded images folder within a  website.      After a short cigarette break we concluded that, due to the files   location, it must have been uploaded via a file upload facility that   was inadequetly secured. After some googling, we found that there was   a security vulnerability that allowed files to be uploaded, within the   ZenCart admin panel, for a picture for a record company. (The section   that it never really even used), posting this form just uploaded any   file, it did not check the extension of the file, and didn't even   check to see if the user was logged in.      This meant that any files could be uploaded, including a PHP file for   the attack. We secured the vulnerability with ZenCart on the infected   site, and removed the offending files.      The job was done, and I was home for 2 a.m.            The Moral   - Always apply security patches for ZenCart, or any other CMS system for that matter. As when security updates are released, the whole   world is made aware of the vulnerability.   - Always do backups, and backup your backups.   - Employ or arrange for someone that will be there in times like these. To prevent anyone from relying on a panicy post on Server   Fault.


Is there a way to create a feature layer (or other queryable layer) from a local JSON file? I have a feature layer that was exported to JSON (not geoJSON) and need to display it completely offline. Is this possible?  Using ArcGIS JavaScript API 3.21

For various reasons I need to add layers to a map object using a response returned by an esriRequest to an ArcGIS Server. One reason being the data will change constantly and hard coding FeatureLayer URLs would prove inefficient.  I have successfully been able to return a JSON object containing attribution that appears to be the same data one would see on the layers REST node.     maps = [];  require([     "esri/map", "esri/layers/FeatureLayer",      "esri/dijit/Print", "esri/tasks/PrintTemplate", "esri/request",      "esri/config","esri/dijit/BasemapToggle",      "dojo/_base/array", "dojo/dom", "dojo/parser",  "dojo/domReady!"  ], function (Map, FeatureLayer,Print, PrintTemplate, esriRequest,      esriConfig,BasemapToggle,arrayUtils, dom, parser){  parser.parse();  console.log("Map Start");  esriConfig.defaults.io.proxyUrl = "http://........./proxy.ashx";  maps.addRespLyrs = function addRespLyrs (layer) {     if (layer.type == "Feature layer") {         console.log(layer.name);         maps.map.addLayer(layer);     } };   maps.handleMapInfo = function handleMapInfo (resp) {     console.log("handleMapInfo called");     maps.layers = resp.layers;     console.log(maps.layers);     for (i in maps.layers) {         var layer = maps.layers[i];         maps.addRespLyrs(layer);     } };  maps.layerRequest = function layerRequest () {     var mapInfo = esriRequest({         "url": "https://........./Application Name/MapServer/layers",         "content" : {"f":"json"},         "handleAs" : "json",         "callbackParamName" : "callback"     });     mapInfo.then(maps.handleMapInfo); };  maps.map = new Map("cpCentCent", {     basemap:"topo",     center: [-98.5795, 39.8282],     zoom: 5 });   console.log("Map End");   When attempting to add the data using the addLayer() method I recieve an error thrown from deep with in esri's API.      init.js:199 TypeError: a.id.match is not a function(…) "TypeError: a.id.match is not a function   Any thoughts as to what could be going wrong here or how to create a layer from my JSON?


Is there a difference between these two, or is only one correct?     I shoot him. I shoot at him. She will shoot you. She will shoot at you.   How about these two?     The plane shot missiles at the base.   versus     The plane shot the base at its weapons bunker.

How to correctly choose the preposition in "fire (at, on, in, to) target"?


I have 20 or 30 deb files within a folder in a local directory, lets say /home/Downloads. Given that the amount of files may vary, I need a script(or command or whatever) which installs all these .deb when executed.  I have no knowledge of scripting on Linux, so the most explicit the answers the better. Thanks in advance

Hello I'm using Ubuntu 12.04 Beta 2 and I've got the .debs of the softwares I had been using in Oneiric. I wanna install them all!! But the problem is I can't install them one by one [due to shortage of time and patience].  Is there any command to install all the .debs placed in a single folder once and for all!!


Newbee to Ubuntu. I've just installed Ubuntu 14.04. How do I log in as root? Alternatively, when performing su, what's the default root password? Thanks in advance.

I would like to enable the root account on my Ubuntu installation.  I realize the security implications of this.


Disclaimer: This question is just a practice question and is not for marks.  I am trying to prove the following statement (I'm skipping right to the inductive step here since the base case is trivial):  $\forall n \in \mathbb{N}, \hspace{3pt} $$\sum_{i=1}^{n} \frac{1}{i(i+1)} = \frac{n}{n+1}$  Inductive Step: Let P(k) be $\forall k \in \mathbb{N}, \hspace{3pt} $$\sum_{i=1}^{k} \frac{1}{i(i+1)} = \frac{k}{k+1}$. We will prove $\forall k \in \mathbb{N}, \hspace{3pt} $$\sum_{i=1}^{k+1} \frac{1}{i(i+1)} = \frac{k+1}{k+2}$ is true.  $\sum_{i=1}^{k+1} \frac{1}{i(i+1)} = \sum_{i=1}^{k} \frac{1}{i(i+1)} + \frac{1}{k(k+1)}$  I'm not sure whether the above step is correct, or how to progress with this proof. Also, is there a cookie cutter proof structure for this type of question? Thanks in advance for the assistance.

So for a better presentation:   I need to prove this using mathematical induction, so i started with a base of $n=1$  Since $i$ starts at $i = 1$ I got this:  $$\frac{1}{i(i+1)} = \frac{n}{n+1}$$ $$\frac{1}{2} = \frac{1}{2}$$  So since this was true I went to the induction part: I chose $n = k$ and assumed this was true:  $$\frac{1}{i(i+1)} = \frac{n}{n+1}$$ $$\frac{1}{i(i+1)} = \frac{k}{k+1}$$  but I got stuck here since I didn't know if I needed to increment $i$ or not and because I didn't know if I needed to add the summation symbol or not and needed to do a few things with it.


I want to prepare my CV using LATEX. Please provide some sample (latex source) so that I could see how does that actually render as PDF after compiling. Also, share some references for the packages/commands generally found useful for building a CV.  Any other relevant suggestions are also welcome.

If you have a TeX'ed resume, did you use a template or make your own? Are there any useful packages? What looks the most professional? How about special considerations for different areas of work (e.g. in academia)?


Hello my npcs are not moving in although i have a house with all the requirements and 68 silver coins i have also 30 gold coins i say this because i  want a merchant

I read on the wiki that people will move in under the following conditions:   You do something to please them An empty house is available with a light source, table, and chair (also with walls).   I have a house which is about 7x8, then a roof space above that; about half the area. I could put furniture up there too, but will anyone move in?


I can not log into any Stack Exchange sites while using the  built today (11.01.2013). When I try to log in, it just says welcome you have been logged in please refresh the page, and when I do that, it says you have been logged in redirecting and it just redirects infinitely.  I already tried deleting all cookies and clearing the cache.  This worked on nightly builds pre 10.12.2013.  What is the explanation?

I am using "Login with Google" and can't access stackoverflow from my account using Firefox. I tested this using 2 versions: At first I tried logging in using Firefox 21 Nightly, then I checked it using the Firefox 19.0.2 stable version (current). It told me that I am logged in with Google and have to refresh the page, so I click at the link and I am logged out. It works well at Chrome, but I would love to have this working with Firefox as well.


I trying to solve the following problem. The question is from a past exam.     Suppose that $V$ is a finite dimensional vector space over a field $K$. Let $T: V\rightarrow V$ be a linear operator. If $n=\dim V$, then $V=\ker(T^n)\oplus\mathrm{range}(T^n)$   Attempt/Thoughts. If I can show that $\ker(T^n)\cap \mathrm{range}T^n={0}$ then we are done. To show this I need the following claim. (At least this is what I think). I claim that $\ker(T^{2n}) \subseteq \ker(T^n)$. I am stuck on trying to prove this. I know that     $\ker(T) \subseteq \ker(T^2) \subseteq \ker(T^3) \subseteq \cdots$   So this set of inclusions has to stop at some point since we are in the finite dimensional case(?). If there is some $r\geq0$ such that $\ker(T^{r})=\ker(T^{r+1})$ then I can easily prove my claim. But I don't know how to make this precise.   Can somebody help?  Thanks

I'm looking for the shortest and the clearest proof for this following theorem:  For $V$ vector space of dimension $n$ under $\mathbb C$ and $T: V \to V $ linear transformation , I need to show $V= \ker T^n \oplus  $ Im $T^n$.  Any hints? I don't know where to start from.  Thank you.


I'm trying to get the rocket boots, which are apparently in the room in the desert castle that has a chest too high to reach.  I read something online where a guy made clones of himself and then climbed them to get to the chest. I don't have the actual instructions on how to make the cloning potion, but can I still brew it? I don't want to waste candies on something that might not even work.  Also, is there another, easier way to get to the chest? If so, that would really help.

It's big and empty and I can't get up to the top, what should I do? I can't jump high enough, anti-gravity doesn't seem to do anything either.  My first tactic was to use the octopus summoning crown to create a pile of octopi that I could climb up, but when I teleported to the back of the room they followed me back, trapping me in the entrance.


So I have amplifier circuit that is biased using a sine wave and a DC offset on the NPN and PNP . Wouldn't biasing the circuit at 1v short out the circuit as VBE~07V?  Here is a copy of the schematic:

I have a circuit that has the emitter side of a NPN tied to the emitter side of PNP. I need to find the output voltage on the emitter. Base voltage is a sine wave. Can someone help me understand what this kind of configuration is used for? And how should I go about to calculate the power dissipated by the resistor?


I know bashrc is executed on terminal startup. But my use case is something like this,    To execute a specific command, say ls, whenever user executes another specific command, say cd, on the terminal.  My current solution is overriding cd command. But again that I feel is not a good solution. But my restriction here is that my user-group may not be aware of this new command that I may create and continue using cd.

Just about every time I 'cd' to a different directory on my machine (in this case, running Mac OS X 10.6.7) via the command line (which is bash), I immediately type 'ls' to get the list of contents in that directory. I'm trying to figure out a way to override 'cd' so that it changes to the requested directory and then gives me the list in one shot.   I've been able to get the basic functionality I'm looking for working by with the following line added to my ~/.bash_profile  function cl() { cd "$@"; ls -l; }   This works as expected. Changing to the requested directory and then showing me the contents. Where I run into an issue is trying to override "cd" itself instead of creating a new "cl" command.   The following things do not work  ##### Attempt 1 ##### # Hangs the command line  function cd() { cd "$@"; ls -l; }   ##### Attempt 2 ##### # Hangs the command line  function cd() { 'cd' "$@"; ls -l; }   ##### Attempt 3 ##### # Does not change directory.  # Does list contents, but of the directory where you started.  function cd() { /usr/bin/cd "$@"; ls -l; }   #### Other attempts that fail in various ways ##### alias cd=cd "$@"; ls -la; alias cd="cd '$@'; ls -la;" alias cd='cd "$@"'; ls -la; alias cd=/usr/bin/cd "$@"; ls -la;   I also tried several other iterations that aren't listed as well as making an alias that points to the working 'cl' function. None of which worked.   What I've read in documentation talks about the fact that 'cd' can't be run as an external command (which is what I understand to be the way the function would need to use it).   So, I can currently use my "cl" command and get what I want, but the question is/remains:  Is there a way to override the behavior of 'cd' to have it change to the requested directory and then do something else afterward?


I am trying to change an Image SRC based on a variable in javascript.  I have the following modal:

         Image Name         <input type="text" name="image_name" id="image_name" class="form-control" />

         Image Description         <input type="text" name="image_description" id="image_description" class="form-control" />

         Path         <input type="text" name="path" id="path" class="form-control" />

     <input type="hidden" name="image_id" id="image_id" value="" />     <input type="submit" name="submit" class="btn btn-info" value="Edit" />     <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
   I then try to change the initial dummy SRC in JS:  ... $.ajax({    url:"edit.php",    method:"post",    data:{image_id:image_id},    dataType:"json",    success:function(data)    {     $('#imageModal').modal('show');     $('#image_id').val(image_id);     $('#image_name').val(data.image_name);     $('#path').val(data.path);     $('#image_description').val(data.image_description);     document.getElementById("image_modal").src = val(data.path);    } });   I am checking if the src URL is correct by showing it in the modal (data.path) and it is correctly outputted.  But when trying to change src with document.getElementById("image_modal").src = val(data.path);no image is shown, like if the variable was not correctly interpreted.

My DOM looks like this:

   When someone clicks on an image, I want the image src to change to  where x represents the image number 1 or 2.  Is this possible or do I have to use CSS to change the images?


Compare two files if second file contains a domain which is not found in first file than add "Static" in second field.  File1:  cleanwatersaveslives.com      WordPress blood-mate.com                CodeIgniter brotex.com                    WordPress   File2:  brotex.com blood-mate.com cleanwatersaveslives.com suhailacademy.com damiastudioz.com               support.techpublications.org   techpublications.org           tekstilworks.com                 What i want to get is:   cleanwatersaveslives.com      WordPress blood-mate.com                CodeIgniter brotex.com                    WordPress suhailacademy.com             Static damiastudioz.com              Static support.techpublications.org  Static techpublications.org          Static tekstilworks.com              Static

I have two files.  I want to match the 1st column of first file to 1st column of second file. If there is a match I'd like to print the 2st column of second file, if not 0.  I have tried awk (awk 'FNR==NR{a[$1]=$0;next} {print a[$1]}' 2.txt 1.txt) but it is not working.  F1.txt  A B C D E F G H I J   F2.txt  A  0.5 E   1 H   0.5 J    1   Desired_output  A    0.5 B    0 C    0 D    0 E    1 F    0 G    0 H    0.5 I    0 J   1


I have a logo made of text and paths. Everything is blue. I also want an all white version, an all black version, and a version that has one word blue and one grey. The only way I know how to accomplish this is to copy and paste the entire group of objects into another artboard, or copy the file, and then just change the colors. I would have 5 or so versions of the same logo, just different colors.  But then if I tweak one object, I have to recreate that tweak in the other 4.  Is there any way to keep one version of the logo but link it to different color schemes?  Using Illustrator 2017

I'm sure this is a common problem, but I haven't found an efficient solution yet.  I've created a 4 color logo and I want to create a few versions of it with different colors for use on different backgrounds. I'd love to be able to use the same symbol as much as possible.  My natural inclination is to duplicate the symbol over a number of artboards in the same file, and have a different color scheme in each artboard, but it seems like I need to break the symbol to accomplish this.  My assumption is that there's no quick solution to this, but is there a common workflow that keeps things more-or-less linked and organized?


UPDATE:  The "screen: flip region" command from the Menu Search is either accidentally or intentionally missing from both stable, beta, and experimental versions of Blender 2.90.  Downgrading to Blender 2.8x has solved this problem for question A, however even though the Flip Region command can be executed on the panel in question B, it doesn't actually do anything. :( A.  I am trying to move the Toolbar to the right hand side of the screen.  Is this still possible in Blender 2.9? In scrolling through the forums, it appears that pre-2.8 there was a "flip side" feature on the toolbar that could be accessed by the search bar with F3. However the feature doesn't appear to exist post 2.8, likely due the appearance on forums that many people were doing this unintentionally and coming here for help reversing it.  Maybe I need to look in a new place?  Any information is appreciated. B.  Similarly I would like to move this. (I'm not sure what its called so for this post I'm calling it Tool Properties).  Is there a way to move or scale up the Tool Properties or view them in the larger Editor Properties panel as highlighted? Additionally if someone knows the proper name of the panel please let me know.  I apologize if these questions have been answered already.  I attempted to find solutions myself but have come up empty. Thanks, Ryan

When I bring up the Properties Shelf (hotkey N) in 2.8, it appears aligned to the left side of my 3d viewport. Youtube tutorial videos I am watching show the Properties Shelf on the right side of the 3d viewport.  I have searched the Blender documentation, Google, Blenderartists, and I cannot find anywhere that shows how to realign this shelf to the right side!    How do I move the Properties shelf to the right side of thew viewport?


so I want to open each file in a directory (there are 5 plain text documents in this directory ). And do something like find specific words in each file.   This is code I used, but it seems the results are all stacked together instead by each file.   import re import os  path = 'C:\Python27\projects\Alabama\New folder'   pattern = re.compile(r"\bshall\b") pattern1 = re.compile(r"\bmay\b") pattern2 = re.compile(r"\bmust\b")   for filenames in os.listdir(path):    with open(filenames, 'r') as myfile:         for string in myfile:             m = re.findall(pattern, string)             m1 = re.findall(pattern1, string)             m2 =  re.findall(pattern2,string)             k = len(m)              k1 = len(m1)             k2 = len(m2)             print m,m1,m2,k,k1,k2   my question is that how to perform the re.findall function for every single one of the file in directory separately, instead of having a stacked up output.  Thanks!

I'd like to search a Word 2007 file (.docx) for a text string, e.g., "some special phrase" that could/would be found from a search within Word.    Is there a way from Python to see the text?  I have no interest in formatting - I just want to classify documents as having or not having "some special phrase".


If I run a command like this one:  find / -inum 12582925   Is there a chance that this will list two files on separate mounted filesystems (from separate partitions) that happen to have been assigned the same number? Is the inode number unique on a single filesystem, or across all mounted filesystems?

I find that under my root directory, there are some directories that have the same inode number:  $ ls -aid */ .*/  2 home/ 2 tmp/ 2 usr/ 2 var/ 2 ./ 2 ../ 1 sys/ 1 proc/   I only know that the directories' names are kept in the parent directory, and their data is kept in the inode of the directories themselves.  I'm confused here.  This is what I think when I trace the pathname /home/user1.   First I get into the inode 2 which is the root directory which contains the directory lists. Then I find the name home paired with inode 2. So I go back to the disk to find inode 2? And I get the name user1 here?


Imagine a non-magnetic tube bent into the shape of a triangle, with two sides forming downhill ramps, and the third side connecting the two ramps. Through this tube travels a metal ball, which is pulled back at the top with a magnet. When the ball gets back to the top, a small part of the energy generated by falling (or a pin and spring) is used to insert and remove a strip of some antimagnetic material (if that exists), causing the ball to repeat the cycle. The image below is a diagram of the machine.    Why doesn't this work?

I know that this machine does not work, via thermodynamics. I am asking for an analysis in terms of mechanics and magnetism.  Anyway, so here is the machine:   (source: )    The magnet (the red ball) pull the ball up the ramp, and then it drops the ball through the hole, which then rolls down, and go ups the ramp again. Thermodynamics shows that this can not work.  From a mechanics and magnetism perspective, what happens when you do this, and why can't it happen?  I have a source saying that it would work if it were frictionless and we didn't try to extract energy from it (), so in a certain sense, it is very close to possible (they didn't provide a full analysis though.)  Another Image:


How to set different wallpapers on different desktops (workspaces)? Why is this option disabled,by default, in Ubuntu?

I normally use 4 different workspaces for different things, and they are always the same. Can I make a different background image for each one of them?   I would like an answer that works for GNOME 3 desktop environment, Unity and the Classic desktop environment.     This question has multiple answers covering different Ubuntu versions:


I was searching this on the internet and with no success. So hopefully someone here can answer me this because I don't understand the point of it.   Is it just good practice or it actually does something? Why should I bother if .NET has very good garbage collector?   Example  In this example I will use super-simple data-annotation validation filter. What is the benefit of encapsulating my data context in using?  public static ValidationResult ValidateUniqueUsername(string username, object context) {     using (var db = new MainDataContext()) // What's the point?     {         var user = db.Users.SingleOrDefault(x => x.Username == username);          if (user == null) return ValidationResult.Success;         return new ValidationResult("Username already taken");     } }

What is the purpose of the Using block in C#? How is it different from a local variable?


If f(x) =  0 if x is R \ Q  = 1/q if x = p/q; p,q belong to Z, g =/= 0, (p, q) = 1  Is f Riemann integrable on [0, 1]?

Let $\displaystyle f: [0,1] \rightarrow \mathbb{R}$ given by   $$f(x) = \begin{cases} 0 & x \notin \mathbb{Q} \\ \\ 0 & x = 0 \\ \\ \frac{1}{q_x} & x = \frac{p_x}{q_x} \in \mathbb{Q} \backslash \{0\}, \ p_x \in \mathbb{Z}, \  q_x \in \mathbb{N}, \ \text{gcd}(|p_x|, q_x) = 1 \end{cases}$$  Is $\displaystyle f$ Riemann integrable?  I am trying to use the equivalent statements $\displaystyle g:[a,b] \rightarrow \mathbb{R}$ is Riemann integrable and $\displaystyle \forall \epsilon >0 \ \exists$ step functions $\displaystyle \rho, \psi$ with $\displaystyle \rho \leq g \leq \psi$ such that $\displaystyle \int_a^b (\psi - \rho) \leq \epsilon$.  I guess that means I would have to somehow show that given $\displaystyle \epsilon$, there exists only a finite amount of $\displaystyle x \in [0,1]$ with $\displaystyle f(x) \geq \epsilon$?   Is it recommended that I consider something else instead? If not, how should I do this?


This is a Number Theory problem about the extended Euclidean Algorithm I found: Use the extended Euclidean Algorithm to find all numbers smaller than $2040$ so that $51 | 71n-24$. As the eEA always involves two variables so that $ax+by=gcd(a,b)$, I am not entirely sure how it is applicable in any way to this problem. Can someone point me to a general solution to this kind of problem by using the extended Euclidean Algorithm? Also, is there maybe any other more efficient way to solve this than using the eEA? (Warning: I'm afraid I'm fundamentally not getting something about the eEA, because that section of the worksheet features a number of similiar one variable problems, which I am not able to solve at all.) I was thinking about using $71n-24=51x$, rearranging that into $$71n-51x=24.$$ It now looks more like the eEA with $an+bx=gcd(a,b)$, but $24$ isn‘t the $gcd$ of $71$ and $51$...

When I am faced with a simple linear congruence such as  $$9x \equiv 7 \pmod{13}$$ and I am working without any calculating aid handy, I tend to do something like the following:  "Notice" that adding $13$ on the right and subtracting $13x$ on the left gives: $$-4x \equiv 20 \pmod{13}$$  so that $$x \equiv -5 \equiv 8 \pmod{13}.$$  Clearly this process works and is easy to justify (apart from not having an algorithm for "noticing"), but my question is this: I have a vague recollection of reading somewhere this sort of process was the preferred method of C. F. Gauss, but I cannot find any evidence for this now, so does anyone know anything about this, or could provide a reference? (Or have I just imagined it all?)  I would also be interested to hear if anyone else does anything similar.


Ginny Weasley was told that, once Olivander was no longer operating his shop, people would get their wands from other makers:  “Talking of Diagon Alley,’ said Mr Weasley, ‘looks like Ollivander’s gone too.’ ‘The wand-maker?’ said Ginny, looking startled. ‘That’s the one. Shop’s empty. No sign of a struggle. No one knows whether he left voluntarily or was kidnapped.’ ‘But wands – what’ll people do for wands?’ ‘They’ll make do with other makers,’ said Lupin. ‘But Ollivander was the best, and if the other side have got him it’s not so good for us.” Harry Potter and the Half-Blood Prince, Chapter 6 (Draco's Detour)  Were there other wandmakers in Diagon Alley? Or would you have to go to another village or even another country (or by post) to get a new wand? [yes, there is a 'second' shop in the Wizarding World park by Universal. I wouldn't consider that canon outside of a secondary source like JKR or something actually referencing that. The second shop in the park is merely one of traffic flow and economics imo - a chance to buy a wand without waiting around for the 'wand ceremony' experience]

How many wand makers are there in the Harry Potter universe? Is there only a select few people that can make wands or is there like a wand company?


When I come across an awful question , my  is to "investigate" that user to see what else they have posted.  All too often, the user has posted several poor questions that are en route to closure. I will typically add some comments and cast a down/close-vote here and there.  It occurs to me that this might be serial voting – a sudden rash of votes from one user to another. Do I risk being caught out by the serial voting algorithm?

I am not a fraud, I have no acquaintances here whatsoever. I love reading questions and answers here and upvoting what I feel is cool. Sometimes I'm in awe of some answers and questions posted here. So I do see into users' profile and open their top questions and answers, and if I like them I upvote.   Number of votes:  Mostly up to 5 questions or answers (may be at best 10).   Mode:  When upvoting (or downvoting) in the opened links, I do not restrict my votes just to that user, but to all good answers and questions I find in that link. Also I do not open the profiles of someone I remember I had visited once.   Am I susceptible to be caught for serial voting? Is reputation gained from my votes deducted from his profile in this scenario? I just don't want my votes to be wasted, hence asking.. I went through  two  but hadn't got enough clarification.


Is there an equivalent of  in PowerShell? For instance, in Linux I can create a new empty file by invoking: touch filename  On Windows this is pretty awkward -- usually I just open a new instance of  and save an empty file. So is there a programmatic way in PowerShell to do this? I am not looking to exactly match behaviour of touch, but just to find the simplest possible equivalent for creating empty files.

What do you use when you want to update the date-modified field of a file on Windows?   commands accessible via C++, .NET, C#, or something native to Windows (Vista preferably) tools/applications preferably free, and if possible open source as well   Edit:  there is already a page for applications as pointed out by CheapScotsman .   If anyone knows how I can do this via C++, C#,  or something similar, well and good, else I would think everything else is covered in the linked question.


When I run gnome-terminal from the command line and hit return, the shell prompt appears immediately when the gnome-terminal window is open, as if gnome-terminal & was executed. This is unlike xterm, which will not return to the shell prompt unless it is started in the background.   My question is how I can start gnome-terminal in the foreground the same way as xterm, such that it won't return to the shell prompt after entering return unless I explicitly run gnome-terminal &?

If you have gnome-terminal running, and want a new instance of the program, you might think that running gnome-terminal & from a shell would do the trick.  Astonishingly, this new instance behaves like some insipid Windows or Mac program; it only sends a message to the existing, running gnome-terminal to create a new window. If this one gnome-terminal process crashes, you lose all of the terminal windows!  (Of course, each window has its own shell, which is an independent process, but the actual terminal emulator and its GUI are managed from a single instance of the application.)  How can we create independent instances of gnome-terminal, each running in their own process, so that killing that process only destroys the window(s) associated with that process?


The following code is accepted by gcc, vc++, and clang.  template<class T> struct A {     template<class U>     struct B     {}; };  int main() {     A<int>::B<int> y; // OK as expected     A<int>::template B<int> x; // Also OK! Is this standard-compliant? };   Is it C++ standard-compliant to define a variable using A<int>::template B<int> x;?

In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template <typename T, typename Tail> // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template<typename U> struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion<U> dummy;      };     template< > struct inUnion<T> {     }; }; template <typename T> // For the last node Tn. struct UnionNode<T, void> {     // ...     template<typename U> struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template< > struct inUnion<T> {     }; };   The problem I have is in the typedef Tail::inUnion<U> dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion<U> names a type and not a function?