I am a novice with software issues and so am asking for what may seem very basic help. I have Ubuntu 14.04 LTS on 32-bit. I managed to get a list of all that is on my boot, and each time I start my laptop, I get the message that I need to empty disk space in boot as I have 0 bytes space.  So, here is what I have:  $ ls /boot/ abi-3.13.0-40-generic     initrd.img-3.13.0-52-generic abi-3.13.0-43-generic         initrd.img-3.13.0-53-generic abi-3.13.0-44-generic         lost+found abi-3.13.0-45-generic         memtest86+.bin abi-3.13.0-48-generic         memtest86+.elf abi-3.13.0-49-generic         memtest86+_multiboot.bin abi-3.13.0-52-generic         System.map-3.13.0-40-generic abi-3.13.0-53-generic         System.map-3.13.0-43-generic config-3.13.0-40-generic      System.map-3.13.0-44-generic config-3.13.0-43-generic      System.map-3.13.0-45-generic config-3.13.0-44-generic      System.map-3.13.0-48-generic config-3.13.0-45-generic      System.map-3.13.0-49-generic config-3.13.0-48-generic      System.map-3.13.0-52-generic config-3.13.0-49-generic      System.map-3.13.0-53-generic config-3.13.0-52-generic      vmlinuz-3.13.0-40-generic config-3.13.0-53-generic      vmlinuz-3.13.0-43-generic grub                          vmlinuz-3.13.0-44-generic initrd.img-3.13.0-40-generic  vmlinuz-3.13.0-45-generic initrd.img-3.13.0-43-generic  vmlinuz-3.13.0-48-generic initrd.img-3.13.0-44-generic  vmlinuz-3.13.0-49-generic initrd.img-3.13.0-45-generic  vmlinuz-3.13.0-52-generic initrd.img-3.13.0-48-generic  vmlinuz-3.13.0-53-generic initrd.img-3.13.0-49-generic   What can be done next?


I have a wide table (more than in the MWE if I start putting numbers in there) and use resizebox to fit it. However, in the threeparttable environment it does not let me put the footnotes inside the rescaled box, which is why they exceed the width of the table. Any suggestions how to approach this?     \documentclass[12pt]{article}     \usepackage{authblk}     \renewcommand\Affilfont{\tiny}       \usepackage[a4paper,total={6in, 8in}]{geometry}     \usepackage[parfill]{parskip}     \usepackage{hyphenat}     \usepackage{setspace}     \usepackage{titlesec}      \usepackage[hang,flushmargin]{footmisc}     \usepackage{pdflscape, longtable}     \usepackage[strict]{changepage}     \usepackage{array}     \usepackage{enumitem}     \usepackage{booktabs}     \usepackage[flushleft]{threeparttable}     \usepackage{adjustbox}     \usepackage{xltabular}     \usepackage{enumitem}     \usepackage{graphicx}     \usepackage{caption}     \usepackage{hyperref}      \usepackage{tabularx}     \usepackage{multirow}               \begin{document}          \begin{center}     \begin{table}[ht]     \setlength{\tabcolsep}{12pt}     \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}     \centering     \begin{threeparttable}     \resizebox{\textwidth}{!}{%     \begin{tabular}{l ccc ccc ccc ccc}     \hline\hline     \addlinespace[1ex]     & \multicolumn{3}{c}{\textbf{OLS}} & \multicolumn{3}{c}{\textbf{PPML}} & \multicolumn{3}{c}{\textbf{Tobit}} & \multicolumn{3}{c}{\textbf{LSTM}}  \\      \addlinespace[1ex]          \cmidrule(r){2-4} \cmidrule(l){5-7} \cmidrule(l){8-10} \cmidrule(l){11-13}     \addlinespace[1ex]     & (1) & (2) & (3) & (1) & (2) & (3) & (1) & (2) & (3) & (1) & (2) & (3) \\     \addlinespace[1ex]     \hline     \addlinespace[1ex]     \textbf{In-sample}  &   &  & &  &  &  &   &  &   & &  &                \\     \addlinespace[0.5ex]     \hspace{2mm} (Pseudo-)$R^{2}$  & &  &  &  &   &    &             &      &            &           &             \\     \addlinespace[0.5ex]     \hspace{2mm}  CPC & &  &  &  &  &  & &  &  &  & &             \\     \addlinespace[0.5ex]     \hspace{2mm}  MAPE & & &  &  &  &      &             &             &      &            &           &             \\     \addlinespace[0.5ex]     \hspace{2mm}  RMSE &  &  &  & & & & & &  &  &             \\     \addlinespace[1ex]          \hline\hline     \end{tabular}     }     \begin{tablenotes}     \setlength\labelsep{0pt}     \item{\scriptsize \textit{Blablaaaaaaaaaaaaaaasd  aaaaaaaaaaaaaaaaaaaaaaaaaa   aaaaaaaaaa bla bala aasfsdiovo  srbOBSFdofb just a long text that is longer than the table}.     \end{tablenotes}     \end{threeparttable}     \caption{Some Table}\label{tab:PredPower}     \end{table}     \end{center}          \end{document}


Let $z_1,z_2$ be two complex numbers with $\operatorname{Re}(z_1)\leq0$ and $\operatorname{Re}(z_2)\leq0$. I want to prove: $$\big|e^{z_2}-e^{z_1}\big|\leq\big|z_2-z_1\big|$$  I began by using the reverse triangle inequality: $\big|e^{z_2}-e^{z_1}\big|\geq\bigg|\big|e^{z_2}\big|-\big|e^{z_1}\big|\bigg|$  So, it must be shown that: $$\frac{\bigg|\big|e^{z_2}\big|-\big|e^{z_1}\big|\bigg|}{\big|z_2-z_1\big|}=\bigg|\frac{e^{\operatorname{Re}(z_2)}-e^{\operatorname{Re}(z_1)}}{z_2-z_1}\bigg|\leq1$$  Why is this true?


Story about workers repeatedly doing trivial work

I'm trying to remember a (short) story I read in school some time ago. I don't have much, but here it is:   Numbers of workers are assigned to trivial task, like changing broken lightbulbs (or something similar). Once they finished their daily work, another group of workers are putting the broken lightbulbs in again, allowing for an endless, trivlal working circle.   I know that isn't much, but maybe someone has an idea, thanks.


How can I have "will call" Greyhound tickets picked up without a photo ID?

A good friend's daughter is in a bad way.   Not to get into too many irrelevant details, but... She was sent to Arizona to dry out, ended up getting ripped off and is currently living in a shelter. She has no money, and no photo ID.   I'm trying to get her back to Colorado as soon as possible; she's in danger staying where she is, and sending her money will likely increase that danger.   Greyhound sells "will call" tickets on their website. However, they appear to require the traveler to have a photo ID in order to pick them up. Given Greyhound doesn't normally ask for ID, I'm hoping there is a way around this requirement.  Ideas?


How to add translation to long form of acronym?

I am currently using the acronym package to handle acronyms/abbreviations in my thesis.   I am writing in German, but I use a couple of English acronyms because either no German acronym exists or the English one simply more commonly used. So when introducing the acronym, I want/need to use the German word in text (as "long" form) but I want to include the English long form in parentheses alongside the (English) acronym. And of course, both German and English should show up in the list of acronyms.   German Term: Steuergerät English Term: Electronic Control Unit Acronym: ECU   So in my text I'd like to have:     .... Steuergerät( Electronic Control Unit, ECU) ....   and later simply have     .... ECU ....   In the list of acronyms, it should show up as:     ECU   Steuergerät (Electronic Control Unit)    or      ECU Electronic Control Unit (Steuergerät)   Is there a way to include a translation in the long version of an acronym?  EDIT: As pointed out by @NicolaTalbot, the use case is the same than . Is there a way to achieve this with the acronym package as well or do I need to switch packages?


Open files limit does not work as before in OSX Yosemite

I just updated the Mac OS X to Yosemite, and now some applications do not work (IBM DB2). I know that I need to set the Open Files to 65000, however the command does not work.  Andress-MBP:~ root# ulimit -n 12288 Andress-MBP:~ root# ulimit -n 12289 -sh: ulimit: open files: cannot modify limit: Invalid argument   Why is this happening and how can I correct the problem?


It's an 8GB micro SD card. It was on my Sony Xperia android smartphone, I almost never removed it from the phone. Suddenly about a month ago, the phone displayed a message saying that the card is not formatted, so I removed it from the phone and formatted it using my PC. It was working normally until yesterday when the phone displayed a message saying that the card was removed, but it was obviously still inside the phone. The phone is working normally with any other micro SD card.  I've tried inserting the card directly in the PC card reader but it won't detect anything. When I try using a USB card adapter, it shows partially as removable disk E:,but if I try to open I get a "Please insert disk into removable disk E:" and chkdsk is reporting "Cannot open volume for direct access".  I used the card mostly for music, but there is a couple of photos I'd like to have back. Is there anything I can do? Thanks.


Dimensions of vector spaces in an exact sequence

I've read the following formula in :  Given finite dimensional vector spaces $V_i$ and an  $\cdots\rightarrow V_i\rightarrow V_{i+1}\rightarrow\cdots$, we have  $$ \sum_{n\in 2\mathbb{Z}}\dim V_n = \sum_{n\in 2\mathbb{Z}+1}\dim V_n $$  Is there a name for this theorem? Could anyone please tell me where to find a proof of this in the literature?  Thank you!


So I became Thane of Riften and got Iona as a housecarl and I married. She was in my house but after a while she just disappeared from my house and isn't anywhere in riften, from what it seems. Any idea where she would be? I also have not gotten a letter from a courier to inform that she has been killed.


How can I take a picture through glass without glare?

Context  Looking at previous shots I've taken, I see that when I'm indoors and shooting outdoors with glass in between, I sometimes get glare. I know that realistically if I can get outside, the shot looks a lot better but sometimes that isn't an option, or it is inaccessible.  The only way I've found to reduce glare is to remove the lens hood and put the lens right up to the glass but I'm unable to get different perspectives except ones tangential to the glass.  Question  Are there ways to mitigate or reduce glare, before post production? Related when is glare most predominant/likely to occur?  Related


Chrome on Android displays minimalistic list of tabs

For a couple of months now the default Chrome web browser on my Android device has changed the way it displays tabs when thr Tabs icon is tapped. Previously it used to roll out all of my open tabs in mini windows that allowed me to preview the content of the webpage and also had the title of the tab at the top of the window.  Suddenly, however, this changed and at the moment whenever I tap the Tabs icon, I get a minimalistic, text-only list of the tabs:    According to some suggestions in different forums and articles, I tried to wait it out but nothing has changed for months now. I also tried clearing the cache, disabling the application and then enabling it again but nothing has helped.   Some sources say this was a bug in the Beta of a certain Chrome version but I am well past it, currently with Chrome 72.0.3626.96 and Android 8.0.0.  Any help would be appreciated.   Edit: Tabs are diaplayed the old way if I swipe down from the address bar on any tab, but this is not preferable to the normal single tap gesture. However, it is to show that the old way is still present but the functionality seems to be swapped.


Is it possible to motion track a camera move that zooms mid way through the shot?


How can I check /dev/xvda1 if the command 'touch /forcefsck' doesn't work?

On login to EC2 (Ubuntu) instance, I see  *** /dev/xvda1 should be checked for errors ***   I can't fsck /dev/xvda1 because it is mounted, and sudo umount /dev/xvda1 fails because it is in use. So I tried to use sudo touch /forcefsck as suggested  but it doesn't work, when I did it nothing happened on terminal.  What to do?


Hi I came across this question, prove there is no entire function f(z) which verifies that |f(z)| > |z| for every z ∈ C.  I was gonna try use the fact that $g∈C$ such that $f(g)=0$ and maybe that function $1/|f(z)|$ is bounded. Thank you


I have written a test document to illustrate the strange behaviour I have encountered. When I compile the code, it indents the paragraph on the first page differently from the second paragraph but when I skip to the third page, the indentation matches the first page. Please help. My code is below:   \documentclass[11pt,twoside]{article} \usepackage{apacite} \usepackage{graphicx} \usepackage{subcaption} \setlength{\parindent}{0pt} \begin{document} %\nocite{*} % use if we want to see a list of all references  %\input{title_page} % \input{abstract} % \input{table_of_contents} % \input{introduction} \section{dude}  \par sdfdsflsgssdfsd \newpage \par sfsdfsfsfsdfsfsd \newpage \par sfsdfsdfsfsdfsdfs \newpage  %\input{background} % \input{research_questions} % \input{approach} % \input{related_work} % \input{thesis_outline} % \input{project_requirements} % \input{timeline} %\input{references}  \end{document}  %%% Local Variables:  %%% mode: latex %%% TeX-master: t %%% End:   Here is a  to the document that gets produced:


From a SEO point of view, which one is "better" for a not so little company: Having one huge site containing everything regarding the company or having multiple one? I think one site is better, because it is easier to optimize and advertise, but I just started working in a company, where we have multiple simple websites (almost single page) to handle offer requests. My boss don't want this site structure changed. (These sites have no connection at all, but the first thing I would do is link them and by linking I mean adding a page where there are links to the other pages).   It is easier to explain through an example. We have domains structured like this (not the real ones):   forkliftparts.com : for forklift parts forkliftseat.com : for ordering seats forklifttire.com : handling orders regarding tires forkliftbattery.com : and for batteries ...   The sites are basically the same, with a little color difference. Should I start advertising the pages separately? What could I do to improve the standing in search engines? The sites are built with WordPress and with the use of SEO plugins, so I am more interested in off-site seo.


cannot install Ubuntu 16 on a Compaq Presario CQ57-229WM alongside Win7 Home Premium 64-bit

I've attempted to install Ubuntu 16 desktop alongside Win7 using both a USB drive and DVD install -- Ubuntu 16 runs great directly from the media!  However, in attempting to install alongside Win7 on this Compaq Presario (circa 2010-2011 production), it DOES detect the Win7 operating system but the only choices are to delete the existing OS -OR- "Other" for installs.  I have successfully installed previous versions of Ubuntu alongside Windows on other laptops and have never encountered this issue before.  I believe this laptop has an AMD C10 processor.  Can anyone please help?  Thank you!!!


Edit: This is not a duplicate of  because that question only seems to talk about adding an image texture, not combining an image texture with additional shader effects.  Original question:  I want to make the paper you'd find in a fortune cookie. To create the shape, I extruded a bezier curve and added a Solidify modifier to it.  For the material, I tried this:   Made an image texture and added text in Photoshop Made a Principled BSDF shader with subsurface scattering Used an Add Shader to combine the other two shaders   However, the text of the image gets faded:    How would I put opaque text on translucent paper?


Introduction to statistics for mathematicians

What is a good introduction to statistics for a mathematician who is already well-versed in probability?  I have two distinct motivations for asking, which may well lead to different suggestions:   I'd like to better understand the statistics motivation behind many problems considered by probabilists. I'd like to know how to better interpret the results of Monte Carlo simulations which I sometimes do to form mathematical conjectures.   I'm open to the possibility that the best way to go is not to look for something like "Statistics for Probabilists" and just go to a more introductory source.


Does Angry Birds and other games have Leaderboard on Android devices?

I went to a Best Buy store and tried Android tablets but didn't see any Leaderboard for Angry Birds Space edition -- is it because it is not logged in as a game user or does Android have a standardized Leaderboard similar to iOS's GameCenter yet?


Prove that $\mathcal{P}(A) \sim \{0,1\}^A$   We might can find a bijection function, however I am trying to prove it in other way. I want to F, G 1-1 functions and prove that those functions are inverse each other, once I did it, we know from a another proved claim that function is inverse if and only if function is bijection.  I define $F:\mathcal{P}(A) \to {0,1}^A$ by the following rule, for all $X\in \mathcal{P}(A)$, we have function $F(X): A \to \{0,1\}$ and for all $a\in A$ we define function $F(X)(a)=0$ its easy to prove that this function is 1-1.  Now I have to define $G:\{0,1\}^A \to \mathcal{P}(A)$ by the rule: for all $f\in \{0,1\}$, $G(f)=?$  My question is how can we define $G(f)$ to be 1-1 function? Moreover, any suggestions on this strategy will be highly appreciated.


I got this error while installing system updates. It looks like it might be due to dependency issues. Updated with apt-get and used -f install. I got this error:   E: The package linux-headers-4.4.0-65 needs to be reinstalled, but I can't find an archive for it.    Could anyone suggest how to resolve this issue?


Proving $(\forall a\in\mathbb{Z^+})(m\in\mathbb{Z^+}\to a^m\equiv a^{m-\phi(m)}\pmod{m})$

Problem: $(\forall a\in\mathbb{Z^+})(m\in\mathbb{Z^+}\to a^m\equiv a^{m-\phi(m)}\pmod{m})$  My work: Start by letting $m=p_1^{a_1}p_2^{a_2}\cdots p_r^{a_r}$. If $(a,p_i)=1$ for some integer $i$, then we have that  $$ a^{\phi(p_i^{a_i})}\equiv 1\pmod{p_i^{a_i}} $$ by Euler's theorem. Since $\phi(p_i^{a_i}) \mid \phi(m)$, we have that $p_i^{a_i}\mid (a^{\phi(m)}-1)$ if $(a,p_i)=1$.   Beyond this, I am stuck at the moment.


Can anyone help to compute this limit, please? $\{nx\}$ denotes the fractional part of $nx$.  Tried to replace $nx$ by another variable and write an entire integral as a sum of integrals: $$\sum\limits_{i=0}^{n-1}\int\limits_{i}^{i+1} $$ but it seems not to work out.


This is my post id:  var postId = 47213486358396931; var postComments = "Comment";   adding in object like this   var param = {     "PostId" : postId,     "postComment":postComments }    If I print the param I get  like this. The last digit of number changed to 0. Why am getting like this.    {"PostId" : 47213486358396930, "postComment": "Comment"}


Maxnames does not work when first names are identical

I would like to print et al. after the first name when there are more than 2 authors. Therefore, I added maxnames = 2 in the options of biblatex. However, when two papers have the same first two authors, biblatex prints every name. I suppose this is done so that the reader can distinguish the papers, but on the other hand, if the date is different, then that should be enough to distinguish them, and biblatex should print only the first name et al.. In the example below, the first citation works well, but the two others don't because the first two authors are the same, even if the date is different. Is there a way to force biblatex to print et al. if the date is different? MWE: \documentclass{article}  \usepackage[style = bwl-FU, maxnames = 2]{biblatex}  \usepackage{filecontents} \begin{filecontents}{jobname.bib} @article{doak_overweight_2000,     title = {Overweight and {Underweight} {Coexist} within {Households} in {Brazil}, {China} and {Russia}},     volume = {130},     number = {12},     journal = {The Journal of Nutrition},     author = {Doak, Colleen and Adair, Linda and Monteiro, Carlos and Popkin, Barry},     year = {2000},     pages = {2965--2971}, } @article{doak_dual_2005,     title = {The dual burden household and the nutrition transition paradox},     volume = {29},     number = {1},     journal = {International Journal of Obesity (2005)},     author = {Doak, Colleen and Adair, Linda and Bentley, Margaret and Monteiro, Carlos and Popkin, Barry},     year = {2005},     pages = {129--136}, } @article{popkin_dynamics_2020,     title = {Dynamics of the double burden of malnutrition and the changing nutrition reality},     volume = {395},     number = {10217},     journal = {The Lancet},     author = {Popkin, Barry and Corvalan, Camila and Grummer-Strawn, Laurence M},     year = {2020},     pages = {65--74} } \end{filecontents} \addbibresource{jobname.bib}  \begin{document}  \noindent \cite{popkin_dynamics_2020} \\ % works \cite{doak_overweight_2000} \\ \cite{doak_dual_2005}  \end{document}


Statement: if $\hat{\theta}$ is the MLE of some parameter $\theta$ then asymptotically $\hat{\theta} \sim \mathcal{N}(\theta, I_\theta^{-1}),$ where $I_\theta$ is the fisher information matrix.   My question is, what if $\hat{\theta}$ is a biased estimator of $\theta$? Surely $\mu$ will not be $\theta$ then.


I wrote a simple bash script which does nothing but sleeps.  #!/bin/bash  echo "Sleeping..." sleep 180s   I see two processes running on my system after I run the script:  user 22880  0.0  0.0  12428  1412 pts/28   S+   20:12   0:00 /bin/bash ./sleep.sh user 22881  0.0  0.0   7196   356 pts/28   S+   20:12   0:00 sleep 180s   I give a SIGTERM to the process with id 22880 by using kill -15 22880 which kills the process. However, after this, I still see the sleep command running which exits after 180 seconds.  user 22881  0.0  0.0   7196   356 pts/28   S    20:12   0:00 sleep 180s   Why does this happen? What do I need to do to not leave the sleep 180s process running?


How to permanently fix Xcode 5 SpringBoard failed to launch application with error: -3

Launching apps from Xcode 5 to the iOS simulator (multiple OS versions) fails with SpringBoard failed to launch application with error: -3. I can get around the problem by 'turning it off and back on again' (quitting the simulator and relaunching, uninstalling and redeploying the app, etc.), but it seems to come back again later and in other projects.  Can someone help me understand what the real problem here is and if there is a permanent fix?


Is "between A to B" considered good grammar?

I looked at , but it didn't mention a third variation I've been hearing more often, recently.  Even on the Australian national broadcaster, the ABC, I've heard statements by reporters like      The cost was estimated to be between A to B dollars.   Have the rules of grammar changed, or is this as ungrammatical as I think it is?


“Exception in thread ”AWT-EventQueue-0“ java.lang.NullPointerException”. I have no clue what I'm doing wrong

I'm pretty new to Java, and I've never attempted a project like this before. I would like if you guys can help me fix this problem.  Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException     at grafika.OknoKniha.initOknoK(OknoKniha.java:134)     at grafika.OknoKniha.<init>(OknoKniha.java:44)     at grafika.PanelTopKnih$VyberKnihy.valueChanged(PanelTopKnih.java:74)   problem part of class:   public class OknoKniha {      private JFrame knihaOkno;     private Kniha kniha;      public OknoKniha(Kniha kniha) {         initOknoK();         System.out.println("konstruktor> "+ kniha.getPopisKnihy());         this.kniha = kniha;     }       public void initOknoK(){        knihaOkno = new JFrame("KNIHA");        knihaOkno.setResizable(false);         JPanel pravyPanel = new JPanel();        pravyPanel.setPreferredSize(new Dimension(150, 500));        pravyPanel.setBackground(Color.red);         popisky = new JLabel(kniha.getTitul());            HERE IS THE PROBLEM        //System.out.println("v okne knihz> " + kniha.getTitul());        gbc.fill = GridBagConstraints.HORIZONTAL;        gbc.gridx = 1;        gbc.gridy = 1;        horniLevyPanel.add(popisky, gbc);                 knihaOkno.pack();     }


I'm trying to make a custom launcher in 11.10 for the special force quit launcher we had in 11.04 (you could add it from the list of apps, but now it is nowhere to be found, even in alacarte). So I try using info from  but I have no idea what the actual file or command is for force quit nor where it is in the file system. This question is real specific to force quit itself and is not about asking how to create a launcher. I will create a file called forcequit.desktop and put it in ~/.local/share/applications folder and will then drag it unto the toolbar like it is told elsewhere. The content of the file will look like this: #!/usr/bin/env xdg-open   [Desktop Entry] Version=1.0 Type=Application Terminal=false Exec=sh -c 'notify-send "Click on an application to force-close it, or press Esc to cancel."; xkill' Name=Force Quit Comment=Click on the app to quit with your pointer Icon=gnome-panel-force-quit Categories=System,Accessories;  I suppose it might be a special command that takes an argument, again if you have the info please do tell :) I wrote comments in the file about the info I need. Edit: ok now it works with showing a special X icon and does force quit properly. Now I just need to find out how to get instructions to appear for an end user, just like it does when using from CLI. I'd suppose it displays the launcher's comment on screen somewhere? Any ideas or links ? Or maybe I need to add something to this launcher file ? Last edit: well the solution from the above edit has been found, it is the usage of notify send that does the trick. Like it is now reflected in the code. Enjoy the solution for your desktop (or for end users you support !) Latest edit: all this talk makes me want to go look for notify-send options a little more... and well in a greater scale at all the other commands I can use.....notify-send is part of gnome, is it ? Or is it part of sh? (I doubt it's from sh) Edit to the lastest edit : never mind that. I found an answer to that as well. notify-send is part of the libnotify library package... and notify-send is in the tools folder (I had trouble finding it at first…) and no it isn't specifically part of gnome, but rather another library used by many apps :)


How to set the value of a class static data member from a member function?

The idea is to use a static member function to update the value of a static data member in the same class  template<typename K,typename U> class Map{ private:     static pair<K,U> default_value; public:     static void set_default(K& k,U& u){default_value=make_pair(k,u);} };  int main(){     int a{8};     int b{9};     Map<int,int>::set_default(a,b);     return 0; }   Here I get an error: undefined reference to Map<int,int>::default_value


How does the number of sticks of RAM influence speed, for the same total amount of RAM?

Which will run faster: four 1GB sticks of DDR2 RAM, or two 2GB sticks? Will they run at the same speed? I'm just curious since they are sold in both sizes, and I have four slots, but only two sticks currently. I would imagine the 2GB sticks would be faster, but I can see how the 1GB sticks could as well.


SEDE login redirects to front page rather than returning

Recently, the redirect behaviour of login on SEDE has changed (for the worse). Steps to reproduce:   When logged off, go to a query page Click the "login" link Login   Previously, you would be returned to the query page in a logged-in state (ready to run the query without captcha).  Currently, you are redirected to the SEDE front page (http://data.stackexchange.com/#) (so you then have to re-navigate back to where you were). The returnurl parameter passed in the first few steps is lost somewhere along the way.  Could  be reinstated?


arcpy CalculateFieldManagement - single quotes in expression

I'm using the following to write a value to a field.  arcpy.CalculateField_management (newPha, "PHACODE", """'{}'""".format(name), "PYTHON_9.3")   The only problem is that the string I'm attempting to write to the table has an apostrophe. (ex. "Saint Anne's Bay").  The single quote is clearly throwing off the expression, but the triple-double quote solution isn't working. Any ideas on how to deal with this???


Voting lock mechanism for near simultaneous answers

I have the following scenario: A question was made and now 2 users start writing an answer before the other ever posted it.  Then the first user press the post button and later the other user.  But now the first user down vote the second answer, just because.   Now i would ask if it yould be possible to implement a mechanism, that locks the option to down vote the other answer just because it was posted to the same time (e.g. under 2 min)   I think it would improve the user experience, if that pointless down voting, to get the own answer to a higher rating, would not be not possible.   It happend to me multiple times, that I start writing an answer to a fresh question and then post it just a couple of seconds after another post an answer and this other user down voted my answer without a obvious reason, besides to get rid of the competitors.


General formula of a sequence $a_{n+1} = 2a_n + 1/a_n$

What is the exact formula for $a_n$ in the sequence $a_{n+1} = 2a_n + 1/a_n, a_1=1$? I discovered that there are no elementary answers, but I don't know how to solve it.


Resizing mac partition on a volume with boot-camp

On my mac I have two partitions, and I want to create a new one. One partition has Mountain Lion and the other has Windows 7 (through Boot-Camp). I want to create a new mac partition, and for that I want to remove about 10Gb of space from the mac partition I already have and use that space for the new one.  I have searched quite a bit and I found so many different answers I can't really make up a plan on my mind, so I decided to post a question here explaining my situation in hopes of getting an answer tailored to my needs.  I know that resizing windows partitions can lead to big problems, but the thing is I don't want to resize the windows partition, just the mac partition. Does that still cause problems? If so, what would you advise (preferably something you have already tried)?  Lastly, I found out about , which is recommended on various places, but I'm at a loss on how to use it (for example, how can I put it on my USB pen?).


In one question I've posted, there were a few comments upon my wrong capitalisation of a scientist's name. Another user had already edited it, and someone else had negatively voted it (I really wish I could see the real and actual reason for them negatively voting, so that I could improve my questions), so now my title question has a shade lighter than normal questions (is it correct to assume that is how it is for negatively voted questions?). However, I was completely surprised to see that now my post contains none of the comments that were there till yesterday. Can someone with a higher reputation points delete all the comments in the same way they can edit the posts, or is this a glitch?


$$\lim_{n\to \infty} \left[{\left({{n \choose 0}.{n \choose 1}.{n \choose 2}.\dots.{n \choose n}}\right)^\frac1{n^2+n}}\right]$$ I have tried to solve this question for a decent amount of time but with no avail,so I'd be grateful for any help provided. ALSO:This may seem as a drag/nuisance, but are there any other alternate methods to solve this other than the one provided ?


Had a quick look around on here and around the web but I haven't been able to fix my problem yet.  I recently bought a new laptop with windows 8 pre installed on it but I want to be able to dual boot with ubuntu. I turned secure boot off in UEFI and I changed my load order so it would boot cd, USB then HDD. When I boot from my USB I get to a GRUB menu where I can choose to install or try ubuntu, no matter which one I select the screen goes black and stays that way. Left it for over half an hour the first time and nothing happened.  Trying to install ubuntu 12.10  Laptop is MSI GE60 288au with Intel Core i7-3630QM  *definately an issue with UEFI, when I boot in legacy mode it works fine, except it doesn't detect my already installed windows 8!


If $a,b \in\mathbb N$ and $\gcd(a,b)=1$, prove that $\gcd(a+b;a^2+b^2)= 1$ or $2$.

If $a,b \in\mathbb N$ and $\gcd(a,b)=1$, prove that $\gcd(a+b,a^2+b^2)$ is always equal to either 1 or 2, where $\gcd$ is the greatest common divisor. I haven't really ever solved a problem like this before, so I'd like to get some help. Thanks.


Apparently there are only 2 at any given time. A Sith and his apprentice. There are numerous Jedi Masters, thousands of Jedi Knights and apprentices and countless younglings. A veritable assembly line of Jedi. They even have a huge temple to hang out in. So why are Sith such a problem when they have to slink around in back alleys and dark corners? Is a Sith so much smarter and more powerful than all the Jedi combined?


Let $f$ be a real-valued function on $A$ in $E^n$. Show that is $\int_A f$ exists, then so does $\int_A |f|$ and $\left | \int_A f\right | \le \int_A |f|$.   I am trying to finish Rosenlicht's Introduction to Analysis and the last chapter is awful. But I do want to finish it because I have come this far. Could someone show me how to do this, so I can at least have some example problems to understand the material. This chapter (Multiple Integrals) really just left more confused than before I started reading the chapter.  Thank you in advance.


Apex Callout failed due to SunCertPathBuilderException

I am trying to make a apex callout from salesforce to external system which is hosted inside in corporate firewall. Firewall sends the request to load-balancer which sends the request to appropriate web server.  I am getting below exception when trying this call from salesforce while I can getting correct response while making a callout from SOAP UI.  As per my client they don't provide any certificate. I am not sure what is happening and how to resolve the issue. As per log it seems like I need to install the certificates.  Any help would be appreciated.  Log -   [51]|System.HttpRequest[Endpoint=https://someURL/servlet/request, Method=POST] 07:51:12.268 (268755208)|CALLOUT_REQUEST|[51]|System.HttpRequest retrying request in response to handshake failure: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 07:51:12.423 (423017546)|EXCEPTION_THROWN|[51]|System.CalloutException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 07:51:12.423 (423110461)|SYSTEM_METHOD_EXIT|[51]|System.Http.send(ANY)


Could crosslinking using very general anchor texts be a reason for a drop in rankings?

I have crosslinked 20 sites and I thought I have been penalized for this, asked this question and some experienced members told me maybe that crosslinking may not necessarily be the reason.  The sites are on same host, different C class IP and every site in linked to each other.  Each site targets long tail kewords. Site 1 - BMW Used Cars - and my area Site 2 - WW Used Cars - and my area And so on...  When I crosslinked them (in the sidebar), I did it for the users; instead of repeating the terms used cars and my location over and over (since my users are targeted) I just crosslinked them using the brand: BMW, WW.  Targeting locally, my niches are not overly competitive, so I did not need to many external links to rank on various positions on the 1st page.  I'm thinking that when I chose to link using only the brand, google might have thought I wanted to actually rank for BBW and WW, hence the drop in my targeted local traffic.  Could this be?  I now have no-followed the links and I am noticing a slight recovery, but if it's not a interlinking penalty it would be a shame not to benefit from my links.


New breaker and panel: What's the brown goo where they connect?

I'll be replacing my electrical panel soon and I noticed that the new breakers and panel have a brown goo on them where they connect to one another. I'm guessing it is lubricant .. similar to what goes in the aluminum wires but I rather make sure than end up with fireworks.  Should I leave the brown goo in place before I plug the breakers to the new panel or should I wipe it out? Thanks.


How to change default bullet in beamer to a simple dash

I would like to change the default bullet style for the itemize environment in beamer to be a dash (or double dash). It seems that labelitemi is not defined in beamer so  \renewcommand\labeli{-}   does not work. How can I solve this?


Is there a way to change the font color of the current path in termial?

I'm styling my Terminal and what I need is to change the color of the path, if you still don't understand what I mean, here's a pic:    There you can see the shaded area (Jonathans-MacBook-Pro:~ feniixx$), That is what I want of other color than dark yellow, is it possible?


How can I find the sensor position on my camera?

In terms of post production I need to measure the exact distance from the camera sensor to several objects on the set.  Where I can find specifications to determine the sensor position of a canon 600D?


I'm trying to use an  and an Arduino UNO R3 to drive a bipolar stepper motor.   To simplify things, I'm just trying to get a 12v output from either output-1 or output-2 of the l298 (then I can write up the 2nd h-bridge in the l298 the same way and be able to drive both motor coils).  I'm only getting ~130mv from output-1 and 140mv from output-2 (measured between the power supply ground wire and output-1/output-2). The motor is a 12v motor, but I've been able to drive it with an l293 which provides only 6v.  I am getting 5v on the logic supply voltage pin and ~4v on the enable pin (using analogWrite(3, 200) - tried with the enable pin connected to either the analog pin 3 or the digital pin 3 (labeled pwm)).  I have measured supply voltage to be 11.85v (12v power supply).  I have followed the wiring/code from  and  (using same arduino code, but they got it to work, and I can't).  I have tried connecting the Current Sensing A pin to the power supply ground as suggested on the 2nd web page.  I have double checked that I have wired it up the same way. I've tried everything on both web pages and the few other pages I can find about building a circuit with an l298n and an arduino and I'm out of ideas about what to try next.  Is there anything I can do?  Here's a picture of what I built:


Fantasy movie with lizardmen coming out of the ground

I am looking for a fantastic movie from the 70's, or 80's, maybe early 90's.  Various groups are sent on a search for an artifact; I think it was a sword. There is one scene I can remember quite clear: A group of riders is stopped by some kind of lizardmen coming out of the ground in front of them where they have been hiding in the middle of the path. Another scene plays in some sort of cave with fog on the ground.


Prove that      $$\sum _{ i=1 }^{ n }{ \frac { i }{ { 2 }^{ i } } = } 2-\frac { n+2 }{ { 2 }^{ n } } \quad { for\quad all}\quad n\in \mathbb N $$   My attempt:  For my inductive step I tried the following:  $$\left(2 − \left(\frac{k + 2}{2^k}\right)\right) + \left(\frac{k + 1}{2^{k+1}}\right) = 2 − \left(\frac{k + 3}{2^{k+1}}\right)$$  But they never equal, this is where I'm stuck.


I was wondering how many Pokemons a single gym can hold because it doesn't let me put my Pokemon into the gym.


Install VMWare tools disabled on Guest VM

I'm trying to install a Windows 7 on a VM in Ubuntu, but the "Install VMware Tools" button is faded.


Is it OK to get a PSU that provides more wattage than is needed? {not a}

I am starting on planning out a computer. I want to be able to expand the RAM and video cards without replacing the PSU, and I'm not sure if it's safe to get a PSU that provides 750W for a system that'll only require maybe 500W at first. Thanks, all!


On a RAID controller card, what is the difference between the connector, port, and device numbers?

I'm looking at RAID controllers, specifically the (Avago) LSI Logic MegaRAID SAS 9261-8i.  It is a 8-port card, which I would be able to "Connect up to 128 SATA or SAS drives with eight internal 6 Gb/s SATA and SAS ports" but I only see two connectors.  Can someone please explain how the connectors/ports/devices relate? Thanks!


Uneven thickness when using bevel object along a curve

I want to add even thickness to a zig-zagged line.   Therefore, I converted the line to bezier curve and used another beziercircle as a bevel object. The result is uneven thickness as below.  Any ideas on how to fix it? or other ideas on how to create the pipe-like thickness from my zig-zagged line?


What exactly are we doing when we set $c=1$?

I understand the idea of swapping from unit systems, say from $\mathrm{m\ s^{-1}}$ to $\mathrm{km\ s^{-1}}$, but why can we just delete the units altogether?  My question is: what exactly are we doing when we say that $c=1$?


What is the philosophical basis for the notion that somebody is "innocent until proven guilty"?  This seems to imply that we can confidently assert that a person is innocent until proof to the contrary emerges.   But that is obviously fallacious. Rather, the statement should be "neither innocent nor guilty, until proven to be either innocent or guilty".  No?


How do I stop getting notifications to Try Safari on Mac

I'm getting these stupid reminders to TRY SAFARI. As I don't trust Apple, how do I stop them from trying to push products on me on my personal system where in my opinion, these advertisements should not even be allowed at all?


Sort Excel VBA Number and Text Array with FUNCTION

If I have values in cell A2=2,4,8,6,12,19,18,23,35,78,101,38,30,205,2 And I want to sort by smallest to largest or largest to smallest in cell B2. then my desired result should be =2,2,4,6,8,12,19,18,23,30,35,38,78,101,101,205 or,Large to small= 205,101,101,78,38,35,30,23,18,19,12,8,6,4,2,2 if I have textvaluse like in A3= WPN/01,AFF/02,PROP/4,ENG/03 Then I want to sort alphabetically my desired result should be in cell B3=AFF/02,ENG/03,PROP/4,WPN/1


What does "new Boolean[0]" or "new String[0]" in Java evaluate to

What does new Boolean[0] or new String[0] in Java evaluate to?  Why do we need a number here ?  Which of the following is proper way?  myList.toArray(new Boolean[0])   or  myList.toArray(new Boolean[myList.size()])


When solving a differential equation, why do we always start with guessing the solution is exponential function?

For example, when solving second order differential equation with constant coefficients, we start with guessing the solution is the form of the linear combination of two independent exponential functions. I read some explanations saying it's for the convenience of integral and derivation.  Is there any more reason?  I'm still an undergraduate student, please write an answer in a way that I can understand.


When can a "first conditional" be mixed with the "second"?

From my own research, I have seen people say that the first conditional cannot be mixed with the second, or the zero with the second. I have some example sentences, however, which I took from an essay about the pros and cons of having a small family. This was written by a native English speaker:   If a parent wants their children to have a university education, tuition fees would have to be paid for each child in order to be fair. If a person has a larger family, by contrast, then more members would be able to work and generate more money.   Are these sentences grammatically correct? What is the meaning of using the present tense in the first clause, and would in the second?


Find the divisibility test for 13.    Let's first find a test for small 3-digit numbers first and then find a general test. We'll be finding tests which involves separation of last digit. These tests will be similar to the tests of 19, 23, 29, etc.  Let $\overline { abc }$ be any number such that $\overline { abc } =100a+10b+c$. Now assume that $\overline { abc }$ is divisible by 13. Then  \begin{align} \overline { abc } &\equiv 0 \pmod{13}\\  100a+10b+c &\equiv 0 \pmod{13}\\ 10\left( 10a+b \right) +c &\equiv 0 \pmod{13}\\  10\overline { ab } +c &\equiv 0 \pmod{13}. \end{align}  Now that we have separated the last digit from the number, we have to find a way to use it:     What does coefficient of $\overline { ab }$ mean? And why does it have to be 1?           make the coefficient of $\overline { ab }$ 1.          In other words, we have to find an integer $n$ such that $10n\equiv 1  \bmod{13}$.       It can be observed that the smallest $n$ which satisfies this property is 4. Now we can multiply the original equation by 4 and simplify it:  \begin{align} 10\overline { ab } +c &\equiv 0 \pmod{13} \\  40\overline { ab } +4c &\equiv 0 \pmod{13}\\  \overline { ab } +4c &\equiv 0 \pmod{13}. \end{align}  Aha! We have found out that if $\overline { abc } \equiv 0 \bmod{13},$ then $\overline { ab } +4c\equiv 0 \bmod{13}$. In other words, to check if a 3-digit number is divisible by 13, we can just remove the last digit, multiply it by 4, and then add it to the rest of the two digits.  Now that we have found out the test for 3-digit numbers, let's find out a general divisibility test. Let $\overline { { x }_{ n }{ x }_{ n-1 }{ x }_{ n-2 }\dots { x }_{ 2 }{ x }_{ 1 } } $ be any $n$ digit number. Then  \begin{align} \overline { { x }_{ n }{ x }_{ n-1 }{ x }_{ n-2 }\dots { x }_{ 2 }{ x }_{ 1 } } &\equiv 0 \pmod{13}\\  10\overline { { x }_{ n }{ x }_{ n-1 }{ x }_{ n-2 }\dots { x }_{ 2 } } +{ x }_{ 1 } &\equiv 0 \pmod{13}\\  40\overline { { x }_{ n }{ x }_{ n-1 }{ x }_{ n-2 }\dots { x }_{ 2 } } +4{ x }_{ 1 } &\equiv 0 \pmod{13}\\  \overline { { x }_{ n }{ x }_{ n-1 }{ x }_{ n-2 }\dots { x }_{ 2 } } +4{ x }_{ 1 } &\equiv 0 \pmod{13}. \end{align}  Hence, a number is a multiple of 13 if we add 4 times the last digit to the rest of the number and the resulting number is still divisible by 13. $_\square$  link of original article:


Unable to install ttf-mscorefonts-installer

While trying to install MSCOREFONTS the following error occured:  $ sudo apt-get install ttf-mscorefonts-installer Reading package lists... Done Building dependency tree        Reading state information... Done ttf-mscorefonts-installer is already the newest version (3.6). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies:  fonts-lohit-mlym : Breaks: ttf-malayalam-fonts (<= 1:0.5.12) but 1:0.5.11ubuntu1 is to be installed  fonts-mlym : Breaks: ttf-malayalam-fonts (< 2:1.0) but 1:0.5.11ubuntu1 is to be installed  fonts-samyak-mlym : Breaks: ttf-malayalam-fonts (< 2:1.0) but 1:0.5.11ubuntu1 is to be installed  fonts-smc : Breaks: ttf-malayalam-fonts (< 2:1.0) but 1:0.5.11ubuntu1 is to be installed  ttf-mscorefonts-installer : Depends: cabextract E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


How to properly set TXT SPF record when separating A from MX records

I have current TXT record for my domain:     v=spf1 a mx ip4:{ip-of-my-server} -all   Both email traffic and website goes to same machine. Now, I have to point website (A record) to other server. Will it broke Sender Policy Framework - note the "a" in TXT record?  If so, should I just strip "a" form current TXT record or reconfigure current record differently, and how?


Link between Maximum Likelihood and Maximum Probability

How can I see that the maximum likelihood approach finds the parameter values of the probability distribution that maximize the probability of the observed sample? Maximum likelihood is not the maximum of probability in general because for, say, two continuous random variables $X_1, X_2$ we have $P(X_1=x_1,X_2=x_2)=0$.


Exporting symbols rather than points in .dxf

I have a map I've made in QGIS which is points from a .csv file. These have then be turned into different symbols based on what they represent and then the sizes of said symbols based on values in the .csv.  I need to export this as a .dxf to use in AutoCAD so it basically looks the same as it does in QGIS. However, when I do so it just exports as single dots (points). Is there a way I can export them as the symbols as I can see in QGIS?


Alt-click is not selecting edge loops in lInux

Does anybody have an idea why this is not working?


How can I make my IP address appear to be from another country?

How do I make it appear that my IP address is coming from one country while I'm located in another? I live in Germany and some websites (like Hulu or Youtube) don't work because my IP isn't in the US. How do I get around this? Do I have to use a proxy or something?  Moderator note Super User does not endorse nor defend any activity which may be used to circumvent local/state/national laws.


Copying prod multi-site installation to dev multi-site installation

I am attempting to upgrade my Drupal 8.9.2 multi-site installation to D9. I was hoping to work this all out on a development installation, that is located in a subdirectory of my home directory on my NameCheap Shared Hosting plan. When I first installed this installation, I did so using the tarball method from years ago. I then followed the instructions given here (). I was able to get the current running prod version converted to use composer with out an issue. Before I go and start messing with the files, and attempting to upgrade to D9 through composer on a prod installation, I wanted to copy these files over to another installation where I can use it as a sandbox. To do this I:  copied the files on my server to a new directory made clone databases for the new installation truncated all the cache tables in the cloned DB changed all the database settings in the settings files to point to the cloned databases  I've done this before without any issues, and now I seem to be getting a WSOD error on all the sites running from the new installation. The error I'm getting is  PHP Fatal error:  Uncaught Error: Class 'Drupal\Core\Cache\DatabaseBackend' not found in ~/{new installation dir}/public_html/index.php:16.  If anyone has any thoughts what's going on I am all ears. Thank you in advance


Particles can be seen as "Unitary irreducible representations of the Poincare' group" using the Casimir of the representations: $m$ and $j$. Now, is it possible to generalize this procedure in order to classify all the "Unitary irreducible representations of the Diffeomorphism group"? If it's possible, does this give a generalization of the concept of particle? In both cases the group is acting on the space-time.


Find one example : Bijection from $ P=\{A|A\subset N\}, \Omega=\{|x_n \in\{0,1\}\} $

Bijection from $ P=\{A|A\subset N\}, \Omega=\{<x_n>|x_n \in\{0,1\}\} $  I know that both sets are uncountable but I can't come up any example.  Can anyone give me a hint? or solution?


Is there a way to get Blender to remember my view settings?

I prefer my Blender set up with four view windows, like in this example:    However, every time I begin a new model, I'm presented with the default single view, and I have to re-establish the other three windows and perspectives, as well as reset other preferences, like the grid size.  How can I get Blender to remember my settings across models?


Debian, apt-get: how do I ignore NO_PUBKEY for good?

I have a qemu in which I have debian-10.0-powerpc-NETINST-1 plus sid as package source. I need powerpc to as a reference big endian architecture (maybe there's something easier?)  My problem is that trying to install packages end me up with NO_PUBKEY errors, which I can't fight: apt install debian-archive-keyring did not do anything about it and I can't install gpg since I can't install anything due to broken apt-get with obsolete database which gives 404 for most of files. Please tell me any options to ignore NO_PUBKEY for good. Since it's a throwaway qemu I don't care in the slightest, just let me ignore the stuff and install packages.


My code refers to an interface and stub in the servlet's own directory(At the top, in 'WEB-INF/classes'. Stubs are created during the RMI compilation, and I can view them being present in the same folder where the servlet resides. However, when running the servlet, the stubs cannot be referred. I am starting the registry from inside the servlet itself.   protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {     response.setContentType("text/html");     PrintWriter out = response.getWriter();     out.println("test3");     try {         try {             LocateRegistry.createRegistry(5002);              TestController obj = new TestController();             Naming.rebind("CerberusServer", obj);         } catch(Exception e) {             System.out.println("EXCEPTION::::: New Servlet2:: 2:: " + e);             System.out.println(e.getMessage());         }     } catch(Exception e) {         System.out.println("unable to run RMI: " + e);     } }   Test Controller:  import java.rmi.RemoteException; import java.rmi.server.UnicastRemoteObject;   public class TestController extends UnicastRemoteObject implements ITestController {  protected TestController() throws RemoteException { }  @Override public String test(String text) throws RemoteException, Exception {     return text;  } }   ITestController:  import java.rmi.Remote; import java.rmi.RemoteException;  public interface ITestController extends Remote {     String test(String text) throws RemoteException, Exception;  }   The exact exception that I get when trying to bind is      java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:    java.lang.ClassNotFoundException: TestController_Stub (no security manager: RMI class loader disabled)   Edit: It is different from  because this error is coming in a Tomcat servlet application. Without the servlet part, this error does not appear.


N - more comments misalignment in Stack Exchange app

There is misalignment in showing the "N - more comments" in Stack Exchange app.  A little hard to describe so I have added the screenshots.    Not a big deal but wanted to let you know.  Updates: Just now realized that this issue could be due to screen resolution (I'm using Samsung Galaxy s Duos s7562)


The problem is that videoplayers in Ubuntu have a problem with integrated central european subtitles.The solution is to extract them. Does anyone knows if there is a command in the terminal or a program to extract the subtitle from a mkv file?


Is it safe to reuse an image from an older post?

Suppose I made a post which contains an image (which I uploaded the usual way using the uploader in the editor). Many months later, I decide to make another post using the image from the earlier post. Is it safe to reuse an image that was previously uploaded as part of an older post? I don't want my new post to have broken images in the future.


render on a transparent background (volume is almost invisible)

I ran into a problem. If I render on a transparent background, then the output volume is almost invisible.  As you can see, the fire after the render almost disappears. :(  That is, I try to get the result like on the left preview  In addition: If I remove the transparency, everything becomes normal, but the point is to get a tank with a shot on a transparent background    Thank you in advance! If something is wrong, feel free to edit


How to force caching apt-installed packages so that I can copy and install on another machine?

I want to force caching the installed packages with apt-get install (apt install) in /var/cache/apt. Currently, I found some of them are cached, but most of them are not. I want to cache all of them to install them on another machine by copying these packages without downloading them again from the Internet, especially for large packages which cost a lot of time.


What historic reasons are there for common aspect ratios?

The most common width to height ratio rates in the "old good" paper photography seems to be 3:2, which was adopted by today's DSLRs. Early (non-professional) digital cameras adopted 4:3 aspect ratio, which was the industry standard for computer monitors and for consumer TV sets. Prints are often 5:4 (as in 4"x5" or 8"x10"). Wide-format monitors are 16:9. Does anyone have any idea where and why these aspect ratio conventions were adopted in the first place?


How to fix stable Debian with hundreds of vulnerabilities

I'm new to Linux administration, despite being a bsd/linux user for 25 years. I've always been told that Linux is secure and Windows is full of vulnerabilities and now that I've got a Debian 9.13 host to watch over, I ran debsecan | wc -l and it reported 384 vulnerabilities (known CVEs based on the packages I've got installed). That was after apt-get upgrade with the apt security repo enabled, so all existing security upgrades are already applied, to my understanding. Does this mean these 384 vulnerabilities just don't have a fix yet or is there another way, besides apt-get upgrade, to get the bugfixes?


How do I fix non-responsive keyboard and trackpad after sleep on MacBook Pro Retina 15?

I'm having a problem with my MacBook Pro Retina 15.  I close the screen to put it to sleep.  When I open it back up, the screen wakes up, but the keyboard and trackpad do not work.  If I plug in a USB keyboard, it works fine and I see a message on the screen that says:  Bluetooth Mouse or Trackpad Setup  There isn't a wireless mouse or trackpad connected.  I'm running 10.8.5.


Continuous bijection from $(0,1)$ to $[0,1]$

Does there exist a continuous bijection from $(0,1)$ to $[0,1]$? Of course the map should not be a proper map.


I had the problem when I want to replace attribute img.  In class="HotProject_item HotProject_item_preview isotope-item" content class ="content-asset" have  <img src="/Uploads/images/0110/112/image012.jpg" .    I want to change img src with new image. Can you help me?

 Title ABC

    Decription :)    &nbsp;

    Subtitle    &nbsp;


prove that $p^2-1$ is divisible by $24$ if $p$ is a prime greater than $3$

How to prove that $p^2-1$ is divisible by $24$ if  $p$ is a prime number greater than $3$?


Seems that the same thought about future can be expressed in two ways. For instance:     Are you working tomorrow?      Will you work tomorrow?   So the question is, are there any difference between them?


Proper Sampling - can I collect a two-group sample this way without issues?

I need to collect a two group sample for a comparison analysis (perhaps using logistic regression).  The population that I need to extract a sample from is all firms from country A with activities in country B. The firms are classified into two categories: having a subsidiary in country B (S), or not having a subsidiary in country B (NS). I expect the share of S firms to be small relative to NS firms (but I have no way of knowing for sure).  I already hold the entire population of S firms (because this data was available to me). However data on NS firms is not readily available and I have to collect that, and I will probably not get access to identify and collect all NB firms.   So my situation is I have the entire population of S firms, and need to collect enough NS firms for subsequent analysis to be significant. Most likely my final sample will consist of all S firms and some share of the population of NS firms. Without much experience in doing these kinds of studies, I can't help to think that there is some kind is bias/reliability issue when sampling this way (one group: entire group population, other group: some part of group population). I have learned that if it so happens that the population of NS firms is indeed much larger than S firms (again there is no way to know without data for the entire population of firms), and I e.g. end up with similar-sized samples of each group, there will be a case of oversampling the minority group. However I cannot find any remarks anywhere that consider this a problem for a comparison study, as a correct sample representation of the entire population is less important in this manner.  Is my concern justified? Or is it fine to do it that way for e.g. logistic regression? If not, how can I get around the issue?


How do I configure reverse DNS for a SMTP server

We use iis 6 to send out emails for our website but some email addresses bouce backs. It only appears to be 2 addresses. There is at least 100 different email addresses sent to at the same time as these. Here are the 2 different messages we get.  First one.  You do not have permission to send to this recipient.  For assistance, contact your system administrator.             secure.example.com #5.7.1 smtp;550 5.7.1 Fix reverse DNS for xx.xx.xxx.xxx or use your ISP's mail server  Second one.  Could not deliver the message in the time limit specified.  Please retry or contact your administrator.             secure.example.com #4.4.7  Not sure if they both relate to reverse dns. If you can help or require more information please let me know.


For a $2$ by $2$ matrix A, why does $A^3=0$ imply $A^2=0$?

The field is not specified and $0$ in the question means the $2$ by $2$ zero matrix.   I have a feeling this is something to do with the minimal polynomial of A, but I'm stuck. Any help would be appreciated!


How do ideal quotients behave with respect to localization?

Suppose $R$ is commutative ring with unity. For ideals $I$, $J \subseteq R$, the ideal quotient $(J:I)$ is $$(J:I) := \{x\in R \, : \, xI \subseteq J\}$$ Let $S\subset R$ be a multiplicative set. When does localization at $S$ commute with taking quotients, i.e. when does the equality $$(S^{-1} J : S^{-1} I) = S^{-1} (J:I)$$ hold? More generally, when is it true that $$S^{-1} \text{Ann}_{R} (M) = \text{Ann}_{S^{-1} R} (S^{-1} M)$$ for an $R$-module $M$?


Cannot unlock Users & Groups in System Preferences

I was making some changes recently, trying to rename my user account in macOS High Sierra System Preferences, and it seems I've locked myself out from making any changes to Users & Groups now.  When I click the lock icon (Click the lock to make changes), I am prompted for a User Name and Password. No matter what I input in these fields I am unable to unlock the preferences. I am sure I know my User Name, otherwise I wouldn't be able to log into the computer, and there is only 1 user on my Mac.  I've also tried with:  sudo dscl . -merge /Groups/admin GroupMembership <username>  Password:  <username> is not in the sudoers file. This incident will be reported.   So it seems the name change is causing a mismatch between what's in the sudoers file, so I basically have no user with admin access right now.  Does anyone know how I can reset these, even from the command line?


I'm looking for a command to lock user session (kinda like Super+L). I saw it for screen lock but I need something to work while I'm connected through SSH (e. g. with PuTTY).


How to change enumerate item from 1. to (1)?

I would like to force latex enumerate environment to output (1), (2),... in place of 1., 2. that he gives by default. How could I do this ?  I don't need to do it in my whole document but in some places only. Hence I should only make modifications in the chosen enumerate environment.


Prove that the only operator on $\mathbb{C}$ for which his inner product is zero is zero

How do I prove this statement: Let $V$ be an unitary vector space over $\Bbb C$, $(,)$ be an inner product on $V$ and $\Bbb A$ operator $V\rightarrow V$. Then $(\Bbb Av,v)=0$ if and only if $\Bbb A=0$.  I know that on $\Bbb R$ this does not apply, since we are searching for an operator that assigns to my vector a vector that is orthogonal and so every orthogonal projection on a subspace of $\Bbb R$ can be this operator. But how is this possible on $\Bbb C$? Thank you.


How does one correctly use a semicolon?  It is probably one of the more difficult punctuation marks to master in my opinion.


How can I take a screenshot of my logon screen in Windows 7?

Ideally, this can be done for a non-virtual installation of Windows 7 and without the use of an RDP client connection.  There are numerous blog posts, , etc that include screen shots of the Windows 7 logon screen... how did they do it?


string produced by matcher.group does not work correctly with List.contains

I have created a class named Titles and i have an attribute in it called 'name', which is a String.   class Title{    String name;    Title(String name){        this.name = name; }   I am looking for words that fit my puprose in a textfile and then I create an object of type Title with this word as an argument, like this (titles is a List containing all the created objects):  while(in.hasNextLine()) {                        line = in.nextLine();                        Matcher m = libPattern.matcher(line);                        while(m.find()) {                                String token = m.group(1);                 Title newTitle = new Title(token);                                       if(!titles.contains(newTtile)) {                                         titles.add(newTitle);                                        System.out.println(newTitle.getName());                 }              }   I have overrided the equals and hashCode methods with the standard way:  @Override public boolean equals(Object o) {     if(o == null)         return false;     if(o == this)         return true;     if(!(o instanceof Title))         return false;     Title t = (Title) o;     return t.getName() == this.getName(); }  @Override public int hashCode() {     return this.getName().hashCode(); }   Now my problem is that although I check if the titles List already contains a Title object with the same name, it always returns false, so I get Title objects with the same name many times in my List. I have debugged this in all the ways I could think of and I couldn't solve it. If i replace token with, let's say token = "TitleName" , then create Title(token), add it in the List and then do the check, it understands that it already exists. I tried the following:  Title titleObj = new Title("titleName"); titles.add(title); if(titles.contains(titleObj))     System.out.println("true");   and it does return true. So I guess the cause of the problem is the line  String token = m.group(1);   but i can't find the solution. Could anyone help?


Can I install Linux on computers that come with windows 8? uefi vs boot locking

Thinking of buying a computer that comes with windows 8, but want to install Linux on it (Mint or Debian).  I was wondering a few things:   Do most computers with windows 8 come with UEFI now - eg, Samsung laptops? I heard that Microsoft may lock the UEFI so that other operating systems can't install. Is this the case?   I'm looking to do a clean install - so only have one operating system on the hard drive.


What is the optimum pattern to place crops in Minecraft?

What factors affect soil hydration and crop growth time? What is the most efficient layout of dirt and water to grow crops?


pgfplots fill above two lines with domain

iam trying to fill above the green and the red line, between the two brown lines. Ive tried it with soft clip and domain, but i cant get it working. Here is what iam trying to achieve (thick organe lines or just this space filled).  Code so far is: \documentclass{standalone}  \usepackage{tikz} \usepackage{pgfplots} \usepgfplotslibrary{fillbetween} \usetikzlibrary{patterns}  \begin{document} \begin{tikzpicture}     \begin{axis}[grid=both,ymin=-5,ymax=5,xmax=5,xmin=-5,xticklabel=\empty,yticklabel=\empty,       minor tick num=1,axis lines = middle,xlabel=$x_1$,ylabel=$x_2$,label style =       {at={(ticklabel cs:1.1)}}]       \addplot[draw=green, name path=A]{7/2 -2*x};        \addplot[draw=red, name path=B]{3/2 - x/2};       \addplot[draw=blue, name path=C]{1- x/3};        \addplot +[mark=none,draw=brown, name path=D] coordinates {(1,-6) (1,6)};       \addplot +[mark=none,draw=brown, name path=E] coordinates {(2,-6) (2,6)};      \end{axis}   \end{tikzpicture} \end{document}  Thanks in advance!


Is there a closed form formula for $\sum\limits_{n=0}^\infty e^{-n^2}$?

I am curious about the value of   $$\sum_{n=0}^\infty e^{-n^2}.$$   It comes to my mind by observing Gauss integral that it is equal to  $$\int_{0}^\infty e^{-t^2}dt=\dfrac{\sqrt{\pi}}{2}.$$


Detecting pattern at the end of a line with grep

If I do:  $ ls -R .: 4Shared/  Cloud/  ./4Shared: UFAIZLV2R7.part3.rar  ./Cloud: UFAIZLV2R7.part2.rar.part UFAIZLV2R7.part1.rar.part UFAIZLV2R7.part4.rar.part   If I want to list the .rar files only, and I use grep, it will show me too the .rar.part files, what is not my wish. I am solving this using find or ls **/*.rar as told in  and they work fine, but I would like to learn if it is possible to do it via grep.    I have tried (thinking about EOL):  ls -R | grep ".rar\n"   with no results. I think that the problem lies in discover if the greping is found at the end of the line, but I am not sure.    Any help out here, please?


In the below code -  #include<iostream> #include<string> using namespace std; class my_string {     string s;     public :     my_string(const string& s):s(s){ cout << s;} }; int main() {     my_string sa{"amruth"}; }   What is the address "amruth" string that is passed into the constructor? Where does the address locate in stack data or code data?


Overwrite Taxonomy Term page display settings with custom URL's

I would like to define the display settings of my Taxonomy term page. As I understand, this is possible by configuring the Taxonomy view provided by the Taxonomy module.     However, I use custom URL's and by so, my taxonomy pages doesn't have the URL taxonomy/term but something like products/tents. Is there a way to customize these pages with the provide view?


Do we have any policy around posting "your question is wrong" content?

I keep seeing this more and more (and on sites other than SO):  A question is asked about a practical problem  People post comments (at best) or even answers (even worse) that are eloquent, highly voted, and totally offtopic/irrelevant, amounting to things like "You shouldn't be asking this question", "You are asking the wrong question", "Why do you even want to know", "Your shouldn't be solving this problem but another problem" (the latter is known on StackOverflow as X-Y problem). I'm especially concerned with the first two comments.   There are tons of examples; the last one I saw today was on Workplace. The question "  " generated the following comments, all upvoted:    Why are you asking this question on behalf of your friend - is your friend responsible for the salary distribution? Is your friend part of management? If not, it's none of your friends' business how the management copes with it. The management sets and implements policy, they get to deal with the consequences of their decisions     sorry, but your friend is unethical. He fired someone for sharing salary info? At the same time he was screwing over his employees salary wise, including with gender-discrimination? And now he wants to "fix" the issue? If your friend is the manager/CEO, the fix is he resigns and leaves. He has no place in the modern workplace.  {{ my note: this isn't simply offtopic, but also incorrect. Most companies have explicit policy against making compensation public and releasing even your own salary is a fireable offense and is ALWAYS explicitly stated so in most compensation discussions, at least where I worked }}   Just to be clear, I'm NOT complaining about the users' behavior as far as posting this - as a matter of fact the person who posted the second comment publicly apologized for making incorrect assumptions. However, I'd like to see if we have a policy against posts in this spirit ("Your question is wrong") and as such, be able to flag such comments - which frequently are popular and upvoted - for deletion. Please note that this doesn't seem explicitly covered by "Code of Conduct" and "Be nice" - the comments are frequently generally polite-ish and not personal, objecting to the question's content and not the person. The problem with such comments is that frequently, the OP already knows about the alternate avenues, the reasons why common solution to their situation differ from what their question discusses, etc...; and usually OP has valid reasons for asking the exact practical question they are asking.


reference at the end of a bunch of equations

\begin{equation} \begin{aligned} \frac{\partial f_j}{\partial x_j}(\textbf{y},t-\frac{\textbf{|x|}}{c_0} + \frac{\textbf{x} \cdot \textbf{y}}{c_0 |\textbf{x}|}) & = \frac{\partial f_j}{\partial t}(\textbf{y},t-\frac{\textbf{|x|}}{c_0} + \frac{\textbf{x} \cdot \textbf{y}}{c_0 |\textbf{x}|})\frac{\partial}{\partial x_j}(\textbf{y},t-\frac{\textbf{|x|}}{c_0} + \frac{\textbf{x} \cdot \textbf{y}}{c_0 |\textbf{x}|}) \\                & = \frac{\partial f_j}{\partial t}(\textbf{y},t-\frac{\textbf{|x|}}{c_0} + \frac{\textbf{x} \cdot \textbf{y}}{c_0 |\textbf{x}|}) (-\frac{x_j}{c_0 |\textbf{x}|} + \frac{y_j}{c_0 |\textbf{x}|} - \frac{\textbf{x} \cdot \textbf{y}}{c_0|\textbf{x}|} )\\                 \label{3_7}                & \approx -\frac{x_j}{c_0 |\textbf{x}|} \frac{\partial f_j}{\partial t} (\textbf{y},t-\frac{|x|}{c_0} + \frac{\textbf{x} \cdot \textbf{y}}{c_0 |\textbf{x}|}) , \ \ \ \  |\textbf{x}| \rightarrow \infty.                  \end{aligned} \end{equation}   I'd like the reference (3.7) to be located at the end of last equation. Could someone help? I have tried align instead of aligned but it doesn't work in amsmath


Punch a face on a model to the first backface of the model and make a hole

I have a model where i need to make a lot of holes. The kind of the problem is in all of them the same. The position and size of the hole(s) is already set by a face and they should not change. So what i need to do is to punch the face through the part of the model to a backface. Here is an simplified illustration of the problem:     Update1: I don't have a separate mesh to make holes.  Update2: I have this problem probably more than 30 times in my mesh. So doing an extrusion, deleting backface, punching hole, recreating the backfaces, making the tunnel is unpythonic. Is there a shortcut for this?


What memories did the neural block let the Doctor keep and which did he forget does he stiil remember the adventures in his past regenrations

In "Hell Bent," when he was talking to Clara in the diner, he said he remembers her name is Clara, and he knows they traveled together; he remembers ice warriors in a submarine and the mummy on the express and remembers being in the cloisters, but he doesn't remember the message she said or how she talked or looks like.  It made me think the neural block wiped the Doctor's memories of Clara, but does he still remember his adventures with her as the 11th and 12th doctor from Asylum of the Daleks to Hell Bent and does he still remember the adventures as his past regenerations (Hartnell - Smith)?


Convergence of a series: TV show problem

I came across the following  on youtube where a kid was asked to show that $\sum_{n = 1}^{\infty} \frac{\sin{(2n)}}{1 + \cos^4{n}}$ is convergent. He tried to use the integral test but wasn't allowed to finish his argument. I have two questions.  (1) Can you apply integral test in this situation since it is not clear if the terms of the series are decreasing?  (2) How do you solve this problem?


Is It possible to make this MySql code non-injectable in any way?

Hello thanks to everyone for helping me with my current issue if so could you check if this code has any vulnerabilities as-well?     $sql="INSERT INTO  `paypal_mysqltable_name` (datenow,    item_name,   item_number,       payment_status,    payment_amount,   payment_currency,  payer_email,     payment_type,   custom,  invoice, first_name, last_name, address_name, address_country, address_country_code, address_zip, address_state, address_city, address_street)              VALUES (CURRENT_TIMESTAMP,'item_name','$item_number','$payment_status', '$payment_amount','$payment_currency','$payer_email', '$payment_type','$custom' ,'$invoice','$first_name','$last_name','$address_name','$address_country','$address_country_code','$address_zip','$address_state','$address_city','$address_street')";   $result=mysql_query($sql,$link);   Hey everyone sorry im not very accustomed to SQL and php I have turned my $link into MYSQLi like recommended but I have a problem writing the statement that I presented into this format.      $stmt = $mysqli->prepare("   can anyone help


"Unterminated template literal" syntax error when literal contains script tag

I'm using ES6 template literals to construct some HTML in strings, and so far it has been working fine.  However, as soon as I try to put the literal text </script> in my string the browser throws up and throws the syntax error:  SyntaxError: Unterminated template literal   Here is a simple JavaScript sample which throws the error:  var str=` <script> </script> ` var pre = document.createElement('pre') pre.textContent = str document.body.appendChild(pre)   See the above code in .  It appears that what is happening is that it gives up looking for the end literal quote and instead starts treating everything at point as literal HTML, so all the JavaScript after that point is incorrectly treated as HTML, which it is not!  If I replace script by any other legal HTML tag (and even invalid tags like scripty) then it works just fine, so I can't see how this can possibly be a syntax error or a weird case where I think I have typed one character (e.g. the backtick) but instead have typed another that looks almost like it.  I am literally creating a string (to my understand, at compile time), the browser should not be attempting to treat it as HTML or in any way parse it. So what gives?


LineageOS for Samsung Galaxy Young (S6310)?

I have a Samsung Galaxy Young (S6310), which I'm re-tasking to play with as a secondary, mini-tablet (with no cellular access i.e. no SIM card inside, just wifi for internet access). My issue is space available on the device for applications, data, etc.  I don't want to use an SD Card, because the one which was in this phone has already been moved to a new phone. Plus, I don't want to buy a new SD card, because the point of this exercise, for me, is to see if (without spending any money) I can take this already-four-year-old phone and get several more years out of it.  I've already removed old pictures/videos on it, old messages, rooted it to remove some unnecessary Samsung and Telstra bloatware, etc. But I'm still not having a whole lot of internal memory available, so my next step (unless I'm missing something which would make the next step unnecessary?) is flashing a different ROM onto the phone. I used CyanogenMod in the past on a different phone, so I'm thinking I might try out LineageOS, CyanogenMod's successor. However, herein lies where I got stuck.  Checking out the download page for , after expanding the Samsung models on the left, I can't see the Galaxy Young or its model number in the list of devices at all.  Am I correct, and a ROM for the Samsung Galaxy Young is not available/supported by LineageOS? And if so, could I use a different ROM instead?  For the latter question, I'm assuming "no", but asking anyway in case the answer is actually more along the lines of "not really, but you could, with certain risks".


Wallpaper Generating Script works but not when run as a cron job

I wrote a python script to autogenerate a background pattern for my computer. I want to use cron to run it every 15 minutes or so. Here's the code:  #!/usr/bin/python import os import numpy as np import svgwrite as svg  WIDTH = 1600 HEIGHT = 900  def circle_layer(dwg, size_range, blur, number):      blur_filter = dwg.defs.add(dwg.filter())     blur_filter.feGaussianBlur(in_='SourceGraphic', stdDeviation=blur)     g_f = dwg.add(dwg.g(filter=blur_filter.get_funciri()))      for c in xrange(0, number):         (x, y) = (np.random.random_integers(0,WIDTH),    np.random.random_integers(0,HEIGHT))         rad = np.random.random_integers(size_range[0], size_range[1])         g_f.add(dwg.circle(center=(str(x),str(y)), r=str(rad),stroke="rgb(100,100,100)", fill="rgb(100,0,0)"))      return dwg     if __name__ == "__main__":      svg_doc = svg.Drawing(filename = "current_wallpaper.svg", size = (str(WIDTH), str(HEIGHT)))      svg_doc.add(svg_doc.rect(insert=(0,0), size=(str(WIDTH), str(HEIGHT)), fill="rgb(0,0,0)"))       svg_doc = circle_layer(svg_doc, (10,50),  20, 100)     svg_doc = circle_layer(svg_doc, (10, 20), 4, 100)      svg_doc.save()      import subprocess      proc = subprocess.Popen(["pgrep gnome-session"], stdout=subprocess.PIPE, shell=True)     (pid, err) = proc.communicate()     pid = pid.rstrip('\t\r\n\0')     print repr(pid)      cmd = "grep -z DBUS_SESSION_BUS_ADDRESS /proc/"+pid+"/environ|cut -d= -f2-"     proc = subprocess.Popen([cmd], stdout=subprocess.PIPE, shell=True)     (out, err) = proc.communicate()     out = out.rstrip('\t\r\n\0')     print repr(out)       cmd = "export DBUS_SESSION_BUS_ADDRESS=$"+out     print repr(cmd)     os.system(cmd)      os.system("/usr/bin/gsettings set org.gnome.desktop.background picture-uri file:///home/jofo/Pictures/Wallpapers/current_wallpaper.svg")     print "I ran!"   Basically, it uses svgwrite to draw some circles and add a gaussian blur. Then, I make a system call to gsettings to update the ubuntu wallpaper.   This works fine when I run it as ./wallpaper.py, but when I schedule it in crontab, the script runs, and the background pattern doesn't change.  Here's what I have in my crontab file doohickey:  MAILTO="" */1 * * * * /home/jofo/Pictures/Wallpapers/./wallpaper.py >> /home/jofo/Pictures/Wallpapers/cron.log   I know the script is running once a minute because it appends "I ran!" to the cron.log file once per minute. Unfortunately, the wallpaper never changes. If anyone knows why this might be, that would be great!


Can a moderator close my question as duplicate?

I know a moderator of stackexchange sites has some special Privileges to close a question as off topic. For example ,the following  question      on stackoverflow was put on hold by   a stackoverflow moderator with 21K reps, but he doesn't have a Golden badge or 1k votes on any of his answer related tags.    My question here is : Can He close my question my question as duplicate with mod privilegs?


Can DLC be shared along with games with family sharing?

Using Steam's Family Sharing feature, can you share DLC as well as games?


PDF of $\sin(2\pi X)$ where $X$ is uniform random variable

Let $X$ be a continuous random variable with uniform distribution between $0$ and $1$. Compute the distribution of $Y = \sin(2\pi X)$.  $\sin(2\pi \cdot0)$ and $\sin(2\pi \cdot1) =0$. So, the inverse image of the function has multiple roots. How can I find the PDF of $Y$ then?


I am designing a device that automatically adjusts it's physical position as temperature changes. If the device it shut off or power is disconnected the device needs to remember it's last temperature and position. I have the ability to store these values in EEPROM but the problem is the position and temperature could be changing very rapidly. If I were to write the temp and pos to EEPROM after every time they changed that would (1) slow down the firmware a bit, and (2) likely kill the EEPROM after a year or two. So as I see it my options are as follows...  1) use a capacitor/battery to keep the device powered for a short time after power is lost so that I can write the values to EEPROM at that time only. I don't like this because the board is kinda power hungry and this would require a big cap. And I don't have a ton of free space. And I don't want the added cost of a battery and battery holder / or a big cap.  2) use F-RAM instead of EEPROM so that I can write to it trillions of times without wearing it out. I don't like this option because FRAM is quite a bit more expensive than EEPROM and this is for a production product (not just one).  3) Only write the position and temperature every 5 minutes or so. That way I always have a fairly recent position/temp recorded but I am not writing every second so my program is not slowed down and the EEPROM won't die as fast. This seems like my best option.  Does anyone else have any suggestions that I'm not thinking of?


Is there a way to change Ubuntu 17.10 theme

Just downloaded and installed Ubuntu 17.10 and I was wondering if I could change the look. To look like the Ubuntu 17.04 or just change it, as it is. PS. I prefer the Ubuntu 17.04 look.(UNITY)


Does $\lim_{x \to 5} \sqrt{x-5}$ exist, even though $5$ cannot be approached from the left?

A basic limit question I don't quite understand... The question is as $$\lim_{x \to 5} \sqrt{x-5}$$ and solve for the limit. When I plug in $5$ I get the answer zero, but when I tackle this question graphically the limit does not exist as nothing comes from the left of $5$.  Could anyone clear this up for me? Thanks.


CPU Memory type and memory bus frequency

I am reading about computer components to collect for a gaming computer. So far I am thinking of:    , and    My question is about memory and CPU. It says in Intel's specifications that the processor I am thinking of can run DDR4 memory at max 2400 Mhz freq bus. ASUS Z170 PRO motherboard can operate at much higher frequency bus, much over 3000 MHz. What does it mean? Do I need to be strict and buy memory with 2400 Mhz or will I benefit anything if I buy memory kit with more than 2400 MHz ?  Thanks


run a script by double-clicking the executable file

I want to run a script by doubleclicking the executable file. I tried this: filename: myscript.sh script to run: run this script I making the myscript.sh executable by rightclick  and checking: "allow executing file as program" but I cannot get it to work. Everything that happens when I doubleclicking the file its content displays in the default application, in my case in GNU emacs. How can I execute the script? This seemed easy but I cannot find a working solution. Im running Ubuntu 18.04.5 LTS


TikZ: How to connect nodes and specify line direction?

When drawing a line between two nodes in TikZ, you can specify the anchors on the beginning and end nodes in order to control how the line is drawn.  I would like to specify the anchor on the beginning node, and the angle at which the line is drawn, and let TikZ figure out where it will intercept the end node.  The usual use case is when I'm connecting to a "big node" and I would like the lines to be vertical.  I can cheat by placing a coordinate behind the big node, drawing a line to the coordinate instead, and then drawing the big node so that it covers things up.  However this won't work if I need to put an arrow on the end.  I could try to calculate the intercept coordinate on the edge of the big node manually, but that seems against the TikZ spirit.  |- doesn't work in this case.  \documentclass[10pt]{minimal} \usepackage[active,tightpage,pdftex]{preview} \usepackage{tikz}  \begin{document} \begin{preview}  \tikzstyle{RectObject}=[rectangle,fill=white,draw,line width=0.5mm] \tikzstyle{line}=[draw] \tikzstyle{arrow}=[draw, -latex]   \begin{tikzpicture}   %%%%%%%%%%%%%%%%%%%%%%%%   %%  LEFT SIDE   %%%%%%%%%%%%%%%%%%%%%%%%   \draw (1,0) node[RectObject] (Small1A) {A};   \draw (3,0) node[RectObject] (Small1B) {B};   \coordinate (Cheat1A) at (1,2);   \coordinate (Cheat1B) at (3,2);   \path [line] (Small1A.north) -- (Cheat1A);   \path [line] (Small1B.north) -- (Cheat1B);    % need to draw Big Node last to cover up our cheating   \draw (2,2) node[RectObject, inner xsep=1cm] (Big1) {Big Node};    \draw (2,4) node[text width=4cm] (text1) {L: Cheating to control line orientation. Arrows would be hard.};    %%%%%%%%%%%%%%%%%%%%%%%%   %%  RIGHT SIDE   %%%%%%%%%%%%%%%%%%%%%%%%   \draw (7,2) node[RectObject, inner xsep=1cm] (Big2) {Big Node};   \draw (6,0) node[RectObject] (Small2A) {A};   \draw (8,0) node[RectObject] (Small2B) {B};   \path [arrow] (Small2A) -- (Big2);   \path [arrow] (Small2B) -- (Big2);    \draw (7,4) node[text width=4cm] (text2) {R: No cheating. Arrows easy. Can't control line orientation.}; \end{tikzpicture} \end{preview} \end{document}   Here's a side-by-side example of "cheating", which shows what I want to be able to do, and "not cheating", which does not do what I want.    The left side of this example shows what I want to be able to do, except I want to do it without cheating, and I'd like to put arrows on the end of the lines.


All permutation of a set including the ones where some elements of the set are missing

I have following elements: $A$, $B$, $C$, $D$, $E$ and I want to find all permutations, including the ones where some elements from the set are not included in the permutation (For example $(C, D)$ or $(E, A, C)$). When all elements are respected in the permutations, then the answer would be simply $5!$. But how can I find the 'true' number of permutations?


How to find the lost text part when having "Float(s) lost" error

I've lost some text. I don't know if theres something missing, so how can I find it? I'm not in the mood to compare the chapter1.tex to the pdf file by reading both. Chapter 1 (chapter1.tex) is rather long but it's the only hint I got.      [35]      ! LaTeX Error: Float(s) lost.      See the LaTeX manual or LaTeX Companion for explanation.   Type  H   for immediate help.   ...      l.215    \include{chapter1}      ? H   You've lost some text.  Try typing    to proceed.   If that doesn't work, type  X   to quit.   So... Whats your coping strategy with that error? (Except not making the error)


Is there any particular danger (apart from bricking) that may stop you from rooting Samsung Galaxy S3? Anybody has a good tutorial? And if something goes wrong what to do?


Create rar without directory structure from command line

I've got a folder full of folders, and some of those folders may or may not have folders in them. It looks something like this:  ~/stuff/01.d/01/files ~/stuff/02.d/files ~/stuff/03.d/files ~/stuff/04.d/lol/files ~/stuff/05.d/files   I want to make separate .rars for each of the folders in ~/stuff, so I was going to do for f in *.d; do rar a "${f//.d/.rar}" "$f"; done which worked great, and gave me the rars. But I'd rather have no directory structure in the rars at all, just files. Is there an easy way to do this? It seemed like one of the switches looked like it might have done what I wanted, but the man page is a bit confusing. I'll try a few things.  I may end up trying to figure out a bash script to cd into the directory, check if it's the files, if so make the .rar in the parent (../${f//.d/.rar}), else go into the directory again and make the rar two parents up (../../${f//.d/.rar}). In this case, I'd want rar a ../"${f//.d/.rar}" * I think, I haven't tested it.


How does one prove that Σ(2n)!!/(2n+1)!! diverges? The ratio test is inconclusive and I don't know how to use the comparison test and the limit comparison test in the situation.  Edit: I found an answer to my question .


If a sequence $(u_n)$ be such that its every subsequence has a subsequence that converges to $0$, then $\lim u_n= 0$

Suppose that $(u_n)$ is unbounded above. Then, we pick any arbitrary monotone increasing subsequence $(v_n)$ of $(u_n)$. But by hypothesis, we can find a subsequence of $(v_n)$ that converges to $0$. Hence, $\lim v_n =0$. Therefore, $(u_n)$ must be bounded above.  Again, let $(u_n)$ be unbounded below. Then we pick any monotone decreasing subsequence $(w_n)$. By similar arguments, $(u_n)$ must be bounded below.   Being bounded, it has a finite $\limsup =l$ and $\liminf =m$.  Hence, there must be convergent subsequences $(a_n)$ and $(b_n)$ that converge to $l$ and $m$ respectively. But every subsequences of the above two must converge to $l$ and $m$ respectively (treating the two as convergent sequences). Again, by hypothesis, they both have subsequences that converge to $0$. Therefore, both $(a_n)$ and $(b_n)$ converge to $0$.   In conclusion, $\limsup u_n = \liminf u_n = 0 =\lim u_n$  Is this alright?


How to convert a list of longs into a comma separated string in python

I'm new to python, and have a list of longs which I want to join together into a comma separated string.  In PHP I'd do something like this:  $output = implode(",", $array)   In Python, I'm not sure how to do this. I've tried using join, but this doesn't work since the elements are the wrong type (i.e., not strings). Do I need to create a copy of the list and convert each element in the copy from a long into a string? Or is there a simpler way to do it?


Showing that $n \leq \chi(G)\chi(G')$ and $\chi(G') + \chi(G) \geq 2\sqrt n$.

Let $n$ be the number of vertices of $G$. Recall that $G'$ denotes the complement of $G$. Show that   a) $n \leq \chi(G)\chi(G')$ and therefore,   b) $\chi(G') + \chi(G) \geq 2\sqrt n$.   This question was on my graph theory exam and I didn't know how to approach solving it.  Any tips on how to approach this would be greatly appreciated!


A confusion about the proof of $\hat{p}|x\rangle=i\hbar\frac{\partial}{\partial x}|x\rangle,$ using $[\hat{x},\hat{p}]=i\hbar~?$

How to prove $$\hat{p}|x\rangle=i\hbar\frac{\partial}{\partial x}|x\rangle,$$ using $$[\hat{x},\hat{p}]=i\hbar~?$$ The question seems to be uncomplete because for any $f(x)$ $$[\hat{x},\hat{p}+f(x)]=i\hbar.$$  However, there is a seemingly right answer:  $$ \hat{Q} = e^{-i \frac{u}{\hbar} \hat{p}},[\hat{x},\hat{Q}]=u \hat{Q} $$ $$ \hat{x}\hat{Q}|x\rangle = (x+u)\hat{Q}|x\rangle $$ $$ \hat{Q}|x\rangle = |x+u\rangle $$ $$ \hat{T} = e^{i \frac{u}{\hbar} \hat{x}},[\hat{p},\hat{T}]=u \hat{T} $$ $$ \hat{p}\hat{T}|p\rangle = (p+u)\hat{T}|p\rangle $$ $$ \hat{T}|p\rangle = |p+u\rangle $$  Therefore  $$ \langle x | p \rangle = e^{i\frac{px}{\hbar}} \langle 0 |_x |0 \rangle_p $$  $$ \delta(p-p') = \langle p | p' \rangle  = 2\pi \hbar |\langle 0 |_x |0 \rangle_p|^2 \delta(p-p') $$ $$ \langle 0 |_x |0 \rangle_p = \sqrt{\frac{1}{2 \pi \hbar}}$$ $$ \hat{p}|x\rangle = \int \hat{p} |p\rangle\langle p |x\rangle= \int \hat{p} |p\rangle e^{-i\frac{px}{\hbar}}\sqrt{\frac{1}{2 \pi \hbar}} = i\hbar\frac{\partial}{\partial x}|x\rangle $$ Which assumption is made here?


I need to make this equation in LateX but I get some errors when i try to do that.    Can you help me please??


What does the status "editor discussion period" in editorial manager mean?

I have this on editorial manager, but I can't find any information about what it is/means anywhere! It's been this way for 15 odd days, and before that, it was "under review" (I may have missed some steps in the middle because I didn't check for 3 weeks).


Looking for a book about a boy who had to stay aligned in a particular direction

I'm looking for a story (probably a novel, but could have been something shorter) about a boy who always had to stay aligned in a particular direction.  He always had to undo turns he made, and then eventually had to start compensating for the earth's rotation, revolution around the sun, and so forth.  This was probably published in the sixties or seventies, but could have been older than that.  Does this sound familiar?


How do I find binary path of Firefox ? I'm using the dev edition and the solution I found here  didn't help as the command which firefox outputted nothing.  whereis firefox outputted the lib location within the system which lead me to firefox's plugins.  which firefox-dev outputted nothing as well.  Any ideas ?


What do we call the shift in the orthography of words like "cuppa, fella, attaboy and attagirl"?

I know that words like  cuppa, fella, attaboy and attagirl  are contractions of, respectively,  cup of tea, fellow, that's the/a boy and that's the/a girl.  I wonder if there is a term which would describe the process through which the orthography of these contracted words changed to what they call  (writing words as they are pronounced). For example, the British  comes from cup of tea but it renders just cup of. As for attaboy, it comes from , but there were stages ("That's the boy"—"'at's a boy"—"atta boy" – there is even a variant of at her, boy!) Also, cuz just popped into my mind because (!) it became so short. Kinda seems to be kind of (!) in between. So from a proper English orthography there is a shift towards phonemic orthography in informal English. Is there a term for this? Does anyone know of any reliable investigations of this process? Edit: The question indicated as already existing does shed some light, but the accepted answer is relaxed pronunciation. And the question seems to focus on speech and pronunciation. My question is rather about this tendency to write in this way in informal writing. It may be though that such term does not exist in orthography. The result is phonemic orthography; just wondered if the process leading to it has a name.


I'm attempting to find $$f^{-1}(x)$$ for the function $$f(x) = x + \sin{x}.$$ So far I've tried some simple algebraic methods as well as rewriting $\sin{x}$ as a power series. I'm not quite sure where to go aside from that. Any direction would be appreciated!


In Dark Souls III you don't start hollowing until you ask Yoel of Londo to "draw your true strength", which in practice gives you up to 5 free levels at the cost of getting hollowing points each time you die, which change your appearance.  To reverse this process, you need to pay a lot of souls... however, apparently you NEED to get hollow to get the best ending.  Where is the catch?