I try to connect and show database to DatagridView1 every second using timer. Im new in C# so I confuse about threading system. I try to call munculkantabel() from timer and it is always return that Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on. So How to fix this code?   public void buattimer()     {         System.Timers.Timer aTimer = new System.Timers.Timer();         aTimer.Elapsed += new ElapsedEventHandler(backgroundWorker1_DoWork);         aTimer.Interval = 1000;         aTimer.Enabled = true;     }      public void backgroundWorker1_DoWork(object source, ElapsedEventArgs e)     {         Thread thh = new Thread(munculkantabel);         thh.Start();     }   string constring = "datasource=localhost;port=3306;username=root;password=;convert zero datetime=True";     public void munculkantabel()     {         MySqlConnection conDataBase = new MySqlConnection(constring);         MySqlCommand cmdDataBase = new MySqlCommand(" select * from konsentrasi.okedeh ;", conDataBase);         try         {             MySqlDataAdapter sda = new MySqlDataAdapter();             sda.SelectCommand = cmdDataBase;             DataTable dbdataset = new DataTable();             sda.Fill(dbdataset);             BindingSource bSource = new BindingSource();              bSource.DataSource = dbdataset;             dataGridView1.DataSource = bSource;             sda.Update(dbdataset);         }         catch (Exception ex)         {             MessageBox.Show(ex.Message);         }     }


Color coded plots with colorbar in pgfplots

In matlab I can achieve this result using the structure of this minimal working example (in matlab):  figure('color','white'); hold on xx=0:1; colors = parula(5); for i = 1:5     color = colors(i,:);     plot(xx, xx*i, 'color', color); end h = colorbar('Ticks',0:0.25:1,'TickLabels',{'1','2','3','4','5'}); h.Label.String = 'line slope';   which produce this:    I would like to do the same in pgfplots but i really don't know hot to do it!  For the curves I surely would load the data from tables, but for the color code and color bar I have no idea.  Anyone can help me?  Thanks


If the plural of ‘man’ is ‘men,’ shouldn’t the plural of ‘German’ be ‘Germen’?

What makes these two words so different that 'man' is changed to 'men', but 'German' is changed to 'Germans'?


\includepdf seems to remove internal links within included each PDF file?

\includepdf seems remove internal links within included each PDF file. For example, in  \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[pages=-,fitpaper]{1.pdf} \includepdf[pages=-,fitpaper]{2.pdf} \end{document}   2.pdf has some internal links in some pages that, when clicked, will jump to some other pages. after compiling the above latex code by pdflatex, the output pdf lose the internal links.  I followed  using pax, but it doesn't seem to make the internal links work in my example. Am I missing something? For example, you can combine an arbitrary pdf, and a pdf generated from  which contains internal links.


I cannot use both packages thmtools and tkz-euclide.  Following is a minimal nonworking example with "pdfTeX, Version 3.14159265-2.6-1.40.18":  \documentclass{article}  \usepackage{thmtools} \usepackage{tkz-euclide}  \begin{document} a \end{document}   this giving  /usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty:433: Extra \endc sname. \kv@processor@default ...fincsname\@xa \endcsname                                                    \csname iftrue\endcsname \... l.433 } /usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty:433:  ==> Fatal  error occurred, no output PDF file produced!   Following is minimal nonworking example with "XeTeX, Version 3.14159265-2.6-0.99998":  \usepackage{amsmath} \usepackage{thmtools} \usepackage{tkz-euclide}  \newtheorem{thm}{Theorem}  \begin{document} a \end{document}   this giving  .test.tex.swp:8: LaTeX Error: Missing \begin{ document}.  See the LaTeX manual or LaTeX Companion for explanation. Type  H <return>  for immediate help.  ...                                                l.8   No pages of output.


How does one produce a backslash fraction? That is, something like 2\1 with the 1 above the 2.


I am currently using ubuntu.That is dual boot alongside with windows 10.First there was windows 10 on my computer.Then I started using Ubuntu 20.04.1 LTS.Is dual boot slow down the performance of ubuntu? Now I want to remove windows from my pc but I don't want to loss any file that is in my ubuntu environment and not to reinstall ubuntu once again.How i can remove windows safely?


When I do this in beamer:  \begin{column}[T]{0.6\textwidth} \begin{equation} F = m a \end{equation}  This is Newton's law. \end{column}   the equation sits in the center of the column while the text is flushed left. How do I make both flush left?


What is the function of the word 'happy'?

I woke up happy today.   In the sentence, what is the function of the word 'happy', an adjective or adverb and is the verb 'woke up' considered as a linking verb?   I'd like to know some verbs that can be followed by adjectives although they are not linking verbs.


Can I transit out of the Heathrow airport? US Student Visa / Indian Citizen

I am a Indian National, currently studying in San Francisco on a Valid F1 visa. I came to India for a month long visit and will be leaving via Heathrow.  Unfortunately i have a 18hour layover there. Will I be able to get out of the Airport without a Visa?  My flight lands 6 pm in the evening and leaved 1 pm the next day. I basically plan on just hanging out for the night and staying a hotel later on.   I really dont think the immigration people expect you to stay at the airport for the whole 18 hours. I was reading the info in the other topics as well as the UK visa website. But nowhere did I find a clear answer, mostly everyone has just quoted what has been stated on the UK website.  Is there anyone who has been under the same situation?


Galois Groups of Finite Extensions of Fixed Fields

I am trying to prove the following proposition:     Let $L$ be an algebraically closed field, $g \in Aut(L)$ and $K=\{x \in L \; | \; g(x)=x\}$. Show that every finite extensions $E/K$ is a cyclic Galois extension.    So far my thoughts have led me to the following:  If $E=K$, then clearly $E/K$ is Galois and $Gal(E/K)=Aut(K/K)=i$, where $i$ is the identity automorphism, so it is trivially cyclic. Assume $[E:K]=n$ for some $n>1$. Since $E/K$ is a finite extension, it is algebraic. Note that if $\beta \in E\setminus F$ then we have the minimal polynomial $m_{\beta}(X)$ over $K[x]$. Since $K$ is fixed by $g$, we know that $g(\beta)$ is also a root of $m_{\beta}(X)$. We can also conclude that $g(\beta)\not \in K$ since $\beta \not \in K$.   Where to take any of these observations, I have yet to determine. I feel I must be missing something elementary, for I cannot see how to conclude this is a Galois extension from here.   Any tips would be greatly appreciated, especially over full solutions.


Setting an animated .gif as the desktop background on Windows 7

I have an animated .gif I created using Photoshop CS4, but I can't get animation on my desktop although I can set it as a background from the context menu by opening it in Internet Explorer.  How can I set an animated .gif as the desktop background on Windows 7?


How to calculate determinant of $n \times n$ matrix

How can I calculate the determinant of the following matrix?  $$A=\begin{pmatrix} \lambda&&&a_0\\ -1&\ddots&&\vdots\\ &\ddots&\lambda&a_{n-2}\\ &&-1&\lambda+a_{n-1} \end{pmatrix}$$  I've tried to calculate the determinants of the $2 \times 2$ and $3 \times 3$ ones and finally got something like  $$\det(A_n)=\lambda^n+\lambda^{n-1}a_{n-1}+\dots+a_0$$  But in order to prove this solution a mathematical induction would be necessary. Is there any more efficient way?


Why does the YouTube logo have "FR" in the upper left corner?

When I visit YouTube, this is what I see in the upper left corner:    At first I thought that YouTube was thinking I'm in France, but the URL is still https://www.youtube.com and the rest of the site appears in English with no French anywhere.


How to split a string by spaces excluding ones between double quotes in Python?

I'm trying to split text into a list in Python, but I want to exclude text & spaces between double quotes. In short, something like this: def splitdq(text):     # do spliting stuff here...  test = 'The "quick brown fox" jumps over the "lazy dog."' print(splitdq(test)) >>> ["The", "quick brown fox", "jumps", "over", "the", "lazy dog."]  I found some solutions to that, but they either kept the quotes or just didn't work. So, is there a possible way to do just that in Python?


I have the following problem:  Prove that if $k > 1$, then $$\dfrac{1}{(k - 1)^2} - \dfrac{1}{(k + 1)^2} = \dfrac{4k}{(k^2 - 1)^2}$$ Hence simplify $$\sum\limits_{k = 2}^n \dfrac{k}{(k^2 - 1)^2}$$  My Work: $$\dfrac{1}{(k - 1)^2} - \dfrac{1}{(k + 1)^2} = \dfrac{(k + 1)^2 - (k - 1)^2}{(k - 1)^2 (k + 1)^2} = \dfrac{(k + 1)^2 - (k - 1)^2}{(k^2 - 2k + 1)(k^2 + 2k + 1)}$$ I could have continued and multiplied the denominator out, but, at this point, I'm thinking that I'm actually expected to have proceeded differently, rather than multiplying the denominator out fully? And I don't have solutions for this problem, so I can't check anything. I would appreciate it if someone could please take the time to explain this problem.


How do I filter out addresses using HTTPS for a D-Link router?

I recently got a new router, a DRL-600L Router from D-Link, and was setting up some filters to block out certain websites.  One problem I am having is blocking out addresses that use https instead of http.  For example, I'm trying to block out Facebook, because Facebook.   So far, the filter filters http://www.facebook.com perfectly fine, but for the url https://www.facebook.com, it won't block that.  How can I block those kinds of websites?


How effective is FILTER_SANITIZE_SPECIAL_CHARS

I am using FILTER_SANITIZE_SPECIAL_CHARS in my php code to sanitize the inputs.  Do i really need to user mysql_escape_string? Can i prevent sql injection and other attacks from filter functions only?


How to calculate median and mode from continuous data?

If data is continuous (not discrete) how to calculate median and mode?


How to Convert from Point to Continuous Raster in ArcGIS 10.1?

I have a vector point dataset that I would like to convert to raster. The point-to-raster conversion tool creates a raster grid with spaces between each grid cell. I want to create a 'continuous' raster whereby each grid cell expands outwards until its' borders meet with the adjacent cell's borders.  I find the interpolation tools under spatial analysis to be unsatisfactory (spline is the closest I come to satisfactory). I do not want to smooth my data when I put it in raster form (ie I want to keep peaks and valleys in data).   Is there a geoprocessing tool that gets at what I am attempting to do?


Show that $f(z) = cg(z)$ is valid for two analytic functions $f$ and $g$ given a certain relationship between them

Question: Suppose that functions $f$ and $g$ are analytic on the disc $A = \{z : |z| < 2\}$ and that neither $f(z)$ nor $g(z)$ is ever $0$ for $z \in A$.  $\frac{f'(\frac{1}{n})}{f(\frac{1}{n})} = \frac{g'(\frac{1}{n})}{g(\frac{1}{n})}$ for $n=1,2, ... ,$  show that there is a constant $c$ such that $f(z) = cg(z)$ for all $z \in A$.  Comments: This is one of the more theoretical problems from an old complex analysis exam. I am not sure which theorems I am supposed to use here. Am I supposed to take the integrals of both sides over the same curve and use the root-pole counting theorem? All input very much appreciated, so far everyone here has been of great help.


I came across a line of code that is quite confusing to me. I tried searching but wasn't sure what to even search for.  The line is as follows:   int i = ++::i;   I am lost to whether this line evaluates to:   int i+= i ;   Any help would be appreciated


Let $f(z)$ be analytic on $\mathbb{D}$ = {${z\in\mathbb{C}:|z-1|<1}$} such that $f(1) = 1$, if $f(z) = f(z^2)$ for all $z\in\mathbb{D}$, then which of the following statements are correct?  1) $f(z) = [f(z)]^2$  2) $f(\frac{z}{2}) = \frac{1}{2}f(z)$  3) $f(z^3) = [f(z)]^3$  4) $f'(1) = 0$  I can't understand how to do solving this problem. please anyone give me some hints.


but I need to create it with these configs GPT partition scheme for UEFI computer It is possible to do with rufus but it does not work in linux (I tried with wine) so somebody knows some program like rufus for linux sorry for my incredible english


How precise must the energies match for absorption of photons?

According to Quantum Mechanics, in order for an atom to absorb a photon the energy of the photon must be precisely that of a "jump" between energy states of the atom.  How precise must it be?   If I create a photon with an energy within an error of 0.0001% of that of an energy state, will it be absorbed by my atom?


I'm trying to insert a small image inline with some text. A the moment I have my code like this:  Press \begin{figure}[H]\includegraphics[scale=0.7]{fit_button}\end{figure} to start the fitting. Wait for the program to finish and the fit should   This results in    But I would like to have it be like this    How can I do this?


How to distort artwork for printing on a cup?

I need to print using my regular office printer a design I have already made to wrap around to the shown here under mug.   As you may notice that the circumference of the top part is wider than the lower part. which mean That I need a sort of deformation or cone projection to do the job.  So please how can I do that doing Illustrator or Photoshop.  ps. There is a post discussing the process designing and printing for mugs  and it is not my case, it discuss the mug printing production itself, but my case is just a regular printing to warp a the printed paper around the mug.  using the wrap command is the solution but actually I don't know the exact amount that I have to adjust the distortion to get my design wrapped exactly over the mug. also I need to know how to determine the dimensions I marked "?" below.


Doing something even though you don't want to on an internal level

It's when you know you're gonna do something that you shouldn't but you do it anyways, like dropping something even though you had no intention of dropping it but the thought of dropping it crossed your mind and you consciously decided not to drop the thing but you did anyways.  The thought process is pretty much "I know I shouldn't do this but I'm going to even though I don't want to". Might be a medical term, maybe there isn't even a word for it.  Best use I can think of is: "The patient has been suffering from ____ for a long time"  I'm seeking the word or definition for the act of doing said thing even though you don't want to and made a conscious decision not to but still do.  It's not a compulsion, but more of a momentary dissonance(?) between your brain and your body about what to do. Not sure if this will clarify it enough.


Can i submit visa application for Canada , without Invitation Letter?

Like the subject states, Has anyone tried something like this to IRCC before? just need some form of Clarification and stuff.  Edits  I am applying for a Tourist visa. Just Visit and come back home, Want to make Canada my second home.


a 2d planet in the center, where the players will be able to walk on it and also will be affected by center gravity. planet will be static and there won't be any other planets. so;  Is there a way that I can change the gravity position? yes you can adjust gravity via project settings but I want it to be in the middle x,y,z(0,0,0)  I have tried creating my own gravity but it wasn't very useful because objects wouldnt fall, stand on foot and also in contact with another object they would vibrate instead of standing still. (if they stand on the planet they would vibrate)          private void FixedUpdate() {     foreach(GameObject item in grav)     {         Attact(item);     } }  private void Attact(GameObject gmf) {     Rigidbody2D rgg = gmf.GetComponent<Rigidbody2D>();      Vector3 direction = rg2d.position - rgg.position;     float distance = direction.sqrMagnitude;      float forceMag = (10 * rgg.mass) / distance;     Vector3 force = direction.normalized * forceMag * 10;      rgg.AddForce(force); }   I can create a script that will change the gravity by the opposite of the object's position. this does work but I cannot see any way to do it for more than one object.


What's the accuracy of data obtained through a random sample?

I'm a newbie at stats, so if I make any mistaken assumptions here please tell me.  There's a population N of people. (For example N can be 1,000,000.) Some of the people are redheads. I take a sample n of people (say 10,) and find that j of them are redheads.  What can I say about the general proportion of redheads in the population? I mean, my best approximation is probably j/n, but what would be the standard deviation of that approximation?  By the way, what is the accepted term for this?


Using grep and looking for unique occurrences

I have a text file of this type, and I would look for any lines containing the string Validating Classification and then obtain uniquely the reported errors. I do not know the types of possible errors.  Input file:   201600415 10:40 Error Validating Classification: error1 201600415 10:41 Error Validating Classification: error1 201600415 10:42 Error Validating Classification: error2 201600415 10:43 Error Validating Classification: error3 201600415 10:44 Error Validating Classification: error3   Output file  201600415 10:40 Error Validating Classification: error1 201600415 10:42 Error Validating Classification: error2 201600415 10:43 Error Validating Classification: error3   Can I achieve this using grep, pipes and other commands?


Can I return to America if I used my Philippine passport although I am an American citizen?

I used my Philippine passport to book an airline ticket, but I'm also an American citizen. Will this create problems with immigration?


How to save duplicate images in Excel to different JPEGs

I have an Excel sheet with images which are stored as objects in one column and product names in another. I was trying to extract all the images to JPEG files. I was able to achieve this by saving the Excel sheet as an HTML document.   This gave me the following files   A HTML file A folder with all the images together with a XML file filelist.xml with a list of all image files   Now I need to create a new Excel sheet which has the product names in one column and image file names in the other. I was able to achieve this using the created XML file filelist.xml.    However, this has introduced a new problem  My original Excel sheet had certain variants of products for e.g. (Product1 white, Product1 green,  Product1 red,  Product1 blue)  While the products are a little different in color, the associated image object was repeated. Basically all four had the same corresponding image. Now while saving this file as an HTML I found only one image file instead of four.   Also the XML file had only one entry instead of four and so the new Excel sheet I'm creating from the XML also has one entry instead of four.  Though the same object is used four times for similar products, they seem to be stored with different names. (Clicking on the 1st showed "picture1", the second "picture2" etc). This has given me hope that maybe there is a way to save images individually so I receive four JPEGs instead of one.


What are Clustering techniques for this case?

What type of clustering methods are available for ordinal, nominal and ratio variables? Suppose I have one ordinal, one nominal and one ratio variable; is there a common clustering technique that can be applied on the data set?  By creating dummy variables for nominal and ordinal, can I use K-means? If not, why? What are the limitations associated with it?


Every function of arity $n$ could be written as the composition of binary, unary and nullary functions?

A few months ago, I took some course in Logic and one of the topics was the arity of functions. The arity of a function $f$ is the number of arguments that $f$ needs to works. For example, the function $f$ defined by $f(x,y)=x^2 +y^2$ has arity 2 and the function $g$ defined by $g()=\tanh(\frac{\pi}{3})$ is function with arity $0$.   However, every function that comes to my head can always be written as the composition of functions of arity $0,1$ or $2$ arguments. For example, consider the function  $$g(x,y,z,w)=\frac{\sqrt{\sin(xy^2)}}{3+z+\ln(w)}$$ If we let  \begin{align} t()&=3\\ p(x)&=x^2\\ r(x)&=\sqrt{x}\\ s(x)&=\sin(x)\\ l(x)&=\ln(x)\\ k(x,y)&=x+y\\ h(x,y)&=xy\\ f(x,y)&=\frac{x}{y} \end{align} Then, $g$ can be rewritten as follows: $$g(x,y,w,z)=f\Bigg(r\bigg(s\Big(h\big(x,p(y)\big)\Big)\bigg),k\bigg(k\Big(z,l(w)\Big),t()\bigg)\Bigg)$$  My question until this point is if there is any function that don't follows this rule, or actually every $n$-ary function could be written as the composition of nullary, unary and binary functions.  I guess my question is because mostly all the function that I know are binary.


Mass Password reset Salesforce - System.InvalidParameterValueException: INSUFFICIENT_ACCESS: insufficient access rights on cross-reference id

I wrote a small script in anonymous window in dev console to reset password for all users in the org apart from two. But it keeps throwing a error like -   System.InvalidParameterValueException: INSUFFICIENT_ACCESS: insufficient access rights on cross-reference id   List<User> userList = new List<User>();  userList = [SELECT Id from User WHERE IsActive = true and ID not in ('00561000000cdef','00561000001abcd')];  for(User u : userList)  {     System.setPassword(u.Id, 'hello2017');  }


Installing cuda on ubuntu 16.10 - directory not found after installation

I have installed cuda via a package manager. The installation seems to be successful:  $ nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2016 NVIDIA Corporation Built on Sun_Sep__4_22:14:01_CDT_2016 Cuda compilation tools, release 8.0, V8.0.44   And when I type which nvcc I get /usr/bin/nvcc. However, I think the cuda directory is not actually there:  $ ls -a /usr/local/bin .   easy_install      f2py  gitsome      tensorboard   theano-nose  xonsh.bat ..  easy_install-2.7  gh    gitsome.bat  theano-cache  xonsh   Is cuda actually installed, and if it is - where?  After running dpkg --get-selections | grep cuda I get the following output:  libcuda1-375                        install libcudart8.0:amd64              install nvidia-cuda-dev                 install nvidia-cuda-doc                 install nvidia-cuda-gdb                 install nvidia-cuda-toolkit             install


New York JFK connection for two separately purchased international flights

Here is my itinerary, followed by my question:  X (a European city) --> New York, JFK New York, JFK --> Y (a South American city)   Do I need to pass through the passport control at JFK if I purchase those two flights separately?


Shouldn't the association bonus acquired via serial upvoting be reversed?

When a user's rep gets bloated because of serial upvoting, and as result the user is given the association bonus, shouldn't that association bonus also be reversed in case of serial upvoting reversal?


Text formatting now allowed in comments (List of proven and disproven abilities)

What special formatting tricks can be done in the comments now?  Proven:   **text** or __text__ = Bolding = text *text* or _text_ = Italics = text `text` = Code Formatting = text [example](http://example.com "title") Inline links with title and text http://example.com plain old links   Disproven:   Cannot insert <kbd> (i.e. F12) characters Cannot use #[text] to increase size


Euclidean Algorithm - find $\gcd(172, 20)$ and solve $172a + 20b = 1000$.

I am revising for an exam and have just realised that the euclidean algorithm questions in past exams are much harder than in homeworks! So i need some help please.  I have a question here, i already have the solution to it but i dont understand it that well, so i would like someone to please explain what is going on ect, and dont worry about avoiding giving me the full solution as i already have it so a full solution would be good!  Here is the question:  Use euclids Algorithm to find $gcd(172,20)$.  Hence solve $172a + 20b = 1000$ giving all solutions in terms of parameter t. List any solutions for which $a,b>0$.  So it wants the answers in terms of parameter t, which is something i am not familiar with and cannot find in my books.   I have the solution in the solutions paper as   $$172= 8\times20+12 $$ $$20=1\times 12 + 8$$ $$12=1 \times 8 +4$$ $$8=2\times 4+0$$  thus $gcd(172,20)=4$  then   $$4= 12-8=12-(20-12)=2\times 12 - 20$$  $$=2\times(172-8\times20)-20$$  $$=2 \times 172 -17 \times20$$   multiplying by 250 we get   $$1000=500 \times 172 -4250 \times 20$$  so one solution is $a=500, b=-4250$  So, I understand everything up until here!!  Now it says,  Generally, $$a=500-t \frac{20}{4}=500-t$$            $$b=-4250+t \frac{172}{4}=-4250+43t$$  To have $a,b>0$, we need $$500-5t>0, (100>t)$$ to have $a>b$ we need $$-4250+43t>0,(t>98.8)$$$  Need $t=99$, $a=5$, $b=7$  Could someone please help explain what is going on in this last bit of working out? I am pretty good at euclidean algorithm usually but havent seen this type before an am panicking  bit as so close to exam! Any help appreciated how to find t and the other positive solutions would be great!  Please could you show me exactly how it is done here as my lecturer is quite strict with us using his exact methods. Many thanks


How to create dual boot with LUKS/LVM full partition encryption on same disk?

I followed this tutorial from 2014:   I am installing Linux Mint 19.1 XFCE and Ubuntu 18.04, both fully encrypted in a single disk. First I installed Linux Mint on /dev/sda5.  After following all steps to install the first Linux, and rebooting the machine, I got into the  with this error:      When following the tutorial, I ran the following commands:   fdisk /dev/sda, then, created the following partitions:     cryptsetup luksFormat /dev/sda5 cryptsetup luksOpen /dev/sda5 sda5_crypt pvcreate /dev/mapper/sda5_crypt vgcreate vggroup /dev/mapper/sda5_crypt lvcreate -L1G -n mint_xfce_swap vggroup lvcreate -L8.9G -n mint_xfce_root vggroup     mkdir /mnt/newroot mount /dev/mapper/[vg-name]-[root1-lv-name] /mnt/newroot mount -o bind /proc /mnt/newroot/proc mount -o bind /dev /mnt/newroot/dev mount -o bind /dev/pts /mnt/newroot/dev/pts mount -o bind /sys /mnt/newroot/sys cd /mnt/newroot chroot /mnt/newroot mount /dev/sda1 /boot blkid /dev/sda5       update-initramfs -u update-grub      exit reboot     Other references:


In linear regression, how to prove the equivalence of F-test and t-test?

In the setting of linear regression, when we want to test the hypothesis $H_0 : \beta_j = 0$, we can use either t-test or F-test, with test statistics $t = \frac{\hat{\beta_j}}{SE(\hat{\beta_j})}$ and $F = \frac{RSS(m) - RSS(m)}{RSS(M)/(N-P-1)}$ , where $RSS(M)$ is the RSS under the full model, and $RSS(m)$ is the RSS under the model that has $\beta_j = 0$. I know that $F = t^2$, but how to prove it?  Thanks!


How to differentiate between a method and a function?

I have always been confused between these two. From what I understand, methods always use dot notation like:  $( "li.third-item" ).nextAll().addBack().css( "background-color", "red" );   In this case, nextAll(), addBack() and .css() are all methods.  Similarly, functions are called directly. Like,  make_tea();   I want to know with certainty whether something is a function or a method by looking at how it is used. Does using PersonOne.run_now() always guarantee that run_now() is a method? Can run_now() still be a function if we are using a . to access it?  My question is "Does a function become a method when we are using . to call it?"


If $\phi$ is a homomorphism from the group $G$ with identity $e$ to the group $G'$ with identity $e'$, then $\phi$ is injective if and only if $\ker\phi=$?  I think the $Ker\phi = \{x\in G:\phi(x)=1\}$  because you are looking at an identity then it is all reals $0$ does not work a because if $x=0, e'x=0$  but then i realize it is injective how does that affect the kernel?


How can I remove the smell of cigarettes from my computer?

I'm a smoker, and of course I smoke in front of the computer when I'm at home. Last Friday I moved out from my mother's house to my own, and since the computers were always turned on and the room was one where everybody could smoke, the smell didn't bother me. At my new home, I turned them on, about 15 minutes ago, and now I'm dying because of the smell of cigarettes (this may be kind of stupid to hear from a smoker, but I hope some of you understand). This solution has to be relatively quick, because I can't stay without the desktop and the server for one week, for example. Tomorrow, I'm going to open them both, and remove all dust there is inside, this should clear some of the smell, but probably won't remove it completely. Does anyone know a technique to get rid of the smell?  Update: Some pictures of the case after I opened it: Side Fan of the case  CPU, Graphics Card and PSU  PSU


The professors award and take away points to houses simply by stating the fact.  e.g. "10 points for Gryffindor".  I don't recall it ever being said that someone wrote that down or anything.  Do the books ever explain how all those points are tracked?  I'm sure it involves some kind of magic but are the details specified?


Attempting to compile kernel yields a certification error

I'm currently attempting to follow  guide in order to install the 4.5.7 kernel with Grsecurity on my Kali Linux desktop.   I am following that list of instructions verbatim, except for the fact that I'm trying to use Grsecurity's test patch for the 4.5.7 kernel and I'm running Kali Linux instead of straight Debian.  Every time I attempt to compile the kernel, however, I get this error following the line "CC certs/system_keyring.o":    CC      certs/system_keyring.o make[2]: *** No rule to make target 'debian/certs/benh@debian.org.cert.pem', needed by 'certs/x509_certificate_list'.  Stop. Makefile:951: recipe for target 'certs' failed make[1]: *** [certs] Error 2 make[1]: Leaving directory '/home/jc/Downloads/linux-4.5.7' debian/ruleset/targets/common.mk:295: recipe for target 'debian/stamp/build/kernel' failed make: *** [debian/stamp/build/kernel] Error 2   I get this error, as I found out, for any kernel even if I apply no patches or modifications, so it has something to do with the tools I'm using to compile the kernel (apparently a system keychain of some sort). Can someone out there tell me how to fix my OS and compile my kernel?   P.S. Here is the output of cat /proc/version:  Linux version 4.6.0-kali1-amd64 (devel@kali.org) (gcc version 5.4.0 20160609 (Debian 5.4.0-4) ) #1 SMP Debian 4.6.2-2kali2 (2016-06-28)


Failed to install El Capitan on MacBook Air, now can't go back to Lion

I have a MacBook Air Mid 2011, I tried installing an El Capitan update. During installation, it says, about 19 minutes remaining, then, "OS X COULD NOT BE INSTALLED IN YOUR COMPUTER. File Syste verify or repair failed. Quit the installer to restart your computer and try again. ", and every time I restart it, it just goes back to OS X installer.  One thing about my MacBook is, the WiFi doesn't work, so I cannot go to internet recovery. I also tried getting a TPLink Nano USB WiFi adapter, thinking it may detect wifi, but it doesn't (I think I need to install the drivers first, but to do that, I need a working OS) PLEASE HELP ME


Macbook turns off before battery is 0% when left unplugged. (Already reset SMC and PRAM several times)

This is my first question on this forum. My MacBook has been turning off randomly when left unplugged. It shuts down before the battery indicator reaches 0%. I have reset the SMC and PRAM several times before. It starts up and i've cycled the battery 2 or 3 times after a reset. So it does start up without being connected and has let me cycle the battery from 100% to 0% Since it's actually letting me cycle the battery, i'm under the impression that it's working again. But out of no where it's shuts off on me randomly.   I thought maybe it could be the thermal paste on the heatsink just getting old, but why doesn't it shut down when connected to power? Could the battery be bad? The indicator is showing that it has charge. Could it be possible that the SMC chip has gone bad? I have had this MacBook since 2012. I've put some work into it. Increasing the RAM, replacing the optical drive with an SSD, reapplication of thermal paste to both the CPU and GPU. Could it be a one of my hardware monitoring programs forcing a shut down? I get no warning prior to the machine turning off. I can start it right back up after but it isn't log before it does it again. The more I start it up after the shut down, the less time it takes to shut down again the next time.  MacBook info:    MacBook Pro (15-inch, Mid 2012, Unibody) 2.6 GHz Intel Core i7 processor 16GB 1600 MHz DDR3 RAM NVIDIA GeForce GT 650M 1 GB / Intel HD Graphics 4000 1536 MB 500GB SSD 1TB HDD   UPDATE:  I used different battery health apps and they show that my battery is good. Using the system_profiler SPPowerDataType command showed that the amperage was zero which according to the  post meant that the battery is bad. I'm guessing this doesn't alway prove to be true, at least not in my case. I am currently running my MacBook without the charger plugged in and it isn't shutting down right away after unplugging it.


I used QGIS to find the extents/bounding boxes of a list of features from census data.  I used the following method: Vector - Research tools - Polygon From Layer Extent, which creates a new shapefile with a table of extent values for each feature.  However, the resulting extent values (minx, miny, etc.) are not LAT/LONG. I'm not sure what they are. The properties show CRS as "USER:100000 -   Generated CRS (+proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=37.5 +lon_0=-96 +x_0=0" even though I set the project default to WGS 84 EPSG: 4326. If I change it back to WGS84, the data stays to same.  What CRS format are QGIS extents and how can I convert them to standard Lat/long so that I can plot them?


We know that the ways to go from A to B in a $m×n$ rectangle is $(m+n)!/m!n!$ I want a proof for this formula.(the way should be the shortest.  My Attempt:There is a counting way that may help us.   Every point is calculated by the sum of two adjacent points.


Pdf text looks faded both on screen and on paper

Looking at the pdf generated from the latex code (I am using texmaker) it looks faded with respect to other pdf files I am use to read. I mean, the words are not as dark as the ones on the other papers.  The same happens when I print it.   How can I make them look darker? (I am not allowed to change the font)


Base is the base class and Derived is the derived class.  Base* p = new Derived; delete p;   Let's assume that the base destructor is not virtual. Does this cause memory leak, if yes, why? And what would be the solution to fix it?


$$x + \frac1x + \cfrac1{x + \frac1x} + \cfrac1{x + \frac1x + \cfrac1{x + \frac1x}} +\cfrac1{x + \frac1x + \cfrac1{x + \frac1x} + \cfrac1{x + \frac1x + \cfrac1{x + \frac1x}} } + \cdots $$  How can this series be simplified? Consider me as a high school graduate.


Java - Parameter Passing and Local Variables

How do I get this working because the swap is not working as intended? I believe that my scope of my local variables is incorrect and I am having trouble where to place them. My code outputs 4, 5 but it's supposed to output 5, 4. I also can't add a print statement in the swap method.      public class SwapTest {             public static void main(String[] args) {                 int num1 = 4;                 int num2 = 5;                 swap(num1, num2);                 System.out.println(num1 + " " + num2);       }       //a method that swaps the values of two int variables.       public static void swap(int num1, int num2){               int num3;               num3 = num1;            num1 = num2;               num2 = num3;        }  }


this is my first question on StackOverflow and I am quite new to programming so please bear with me :) So I want to learn programming and I started with JAVA, the basics, classes, variables, methods and all that stuff. It went quite good until I stumbled over the term 'Interface'. I didn't understand it by what was written on  and I am finding myself now browsing the web to understand it but I don't seem to find the right, easily explained answer. I don't get the usage of interfaces... :(  I try to make an example:  So I know how to declare an interface and I know how to implement it into a class..  The interface:  interface motor {      void speedUp(int increment);  }   A class:  public class Bicycle implements motor {      int speed = 0;      void speedUp(int increment) {      speed = speed + increment;        }   }   So now I could use the interface of the Bicycle class by  Bicycle.speedUp(10);   But I don't understand what do I need the Interface for? Because I could use the method in the same fashion without having the interface. Even if I have more classes that use this interface, I'd still have to create the method speedUp individually in each class because the interface demands it so why not just leave it out in the first place? I hope you understand my problem and I am looking forward to your answers :)  Cheers


What happens to privileges if the requirements change?

On Stack Overflow the current  thresholds are considerably higher than a newly created site such as  which tells me that popularity dictates privilege thresholds.  So what happens if I attained privileges and then the threshold is increased?        If this answer already exists elsewhere then please let me know.


Plotting Differential Equation Phase Diagrams

I haven't got Matlab, nor have I found a suitable online tool. Could someone plot the phase diagram for the following, or point me in the right direction?  $$\frac{dx}{dt} = y - x, \frac{dy}{dt} = x(4 - y)$$


Cardinality of power set of $\mathbb N$ is equal to cardinality of $\mathbb R$

How to prove that;     The cardinality of power set of $\mathbb N$ is equal to cardinality of $\mathbb R$   I need a reference or proof outline. I looked up but didn't find results  thanks.


Why does L'Hopital's rule fail in calculating $\lim_{x \to \infty} \frac{x}{x+\sin(x)}$?

$$\lim_{x \to \infty} \frac{x}{x+\sin(x)}$$   This is of the indeterminate form of type $\frac{\infty}{\infty}$, so we can apply l'Hopital's rule:  $$\lim_{x\to\infty}\frac{x}{x+\sin(x)}=\lim_{x\to\infty}\frac{(x)'}{(x+\sin(x))'}=\lim_{x\to\infty}\frac{1}{1+\cos(x)}$$  This limit doesn't exist, but the initial limit clearly approaches $1$. Where am I wrong?


"inputenc Error: Unicode char \u8" error while trying to write a degree symbol (invisible character)

No matter how I try to do it I always get the following error :      ! Package inputenc Error: Unicode char \u8: not set up for use with LaTeX.    I have tried using $^{\circ}$, \deg, \textdegree, pasting the ° symbol directly, to no avail.  Here is the header of my document, in case one of those could be causing the errors :  \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[francais]{babel} %\FrenchItemizeSpacingfalse \frenchbsetup{CompactItemize=false} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amsthm}


Bring up original edit summary when editing your prior edit

EDIT:  It seems that I've also had edits that stacked well, so I'm not sure if I had a timing problem, or was just delusional.  The one thing that can be fixed, that I'll turn this question into, is a feature request so that when I go to re-edit (either within the 5-minute grace period, or before a suggested edit is approved), it brings up the old edit summary text.  Right now, it brings up a blank edit summary, and this replaced the first one I did.  This isn't really intuitive, and even knowing that's what it's doing, I still forget to put everything in.  Original Question:  It has happened a few times now, when on a site where I don't have edit privileges, that I make an edit.  I then see that the edit didn't work quite right, so I go back in to re-edit it.  This creates a brand new edit review, with an additional useless summary. How about we have the same grace period to re-edit your up-for-review edit, as there is for a normal edit? Of course, it wouldn't be possible once it's been approved.


$A$ is a commutative ring with unit and $\mathfrak a$, $\mathfrak b$ ideals. I have to show that $$A/\mathfrak a \otimes_{A} A/\mathfrak b \cong A/(\mathfrak{a+b}).$$ Any hint ?


Let $K$ be the subgroup of $S_4$ such that $K = \{e, (1,2)(3,4), (1,3)(2,4), (1,4)(2,3)\}$.  I'm not sure if the first part of the question is related, but it asks to show that $K \triangleleft S_4$.  I believe I've shown that $K \triangleleft S_4$.  For any $g \in S_4$, $g$ can be expressed as a product of transpositions  The definition of normal means we need to show $gKg^-1 = K$  So suppose we represent $K$ as arbitrary transpositions then: $K = \{e, (a,b)(c,d), (a,c)(b,d), (a,d)(b,c)\}$  Then for an arbitrary transposition in $S_4$:  $$(a,b) \{e, (a,b)(c,d), (a,c)(b,d), (a,d)(b,c)\} (a,b)$$ $$= \{e, (a,b)(c,d), (a,c)(b,d), (a,d)(b,c)\}$$ $$ = K$$  So $K$ is normal.     Now I need to show that $S_4/K\cong S_3$.   I'm pretty sure that I have to find a map $\phi:S_4 \rightarrow S_3$ that is a homomorphism such that $\ker(\phi) = K$, but I'm not sure how to do this.


I am trying to use a Nitrokey FIDO 2 on Ubuntu to login to some websites, and I know the keys are well-configured. When switching to Ubuntu, I have faced some issues that seem to originate at the browser level. With firefox it works fine, however at first it required an exception, i.e. to disable AppArmor specifically for firefox. Found a workaround that seems to work, so now firefox detects the FIDO 2 key, and is listed in the profiles in enforce mode within AppArmor. On the other hand chromium does not detect the key despite the loose policies:  I downloaded Chromium with both Snap and sudo apt install chromium-browser, In the Ubuntu software app I activated Access USB hardware directly, and Read/Write access to U2F devices exposed was enabled by default. AppArmor is deactivated for chromium with sudo ln -s /etc/apparmor.d/usr.bin.chromium-browser /etc/apparmor.d/disable  So far I did not find a way to remove the AppArmor profile of chromium, similarly to this  I have two questions:  Can this issue be solved by removing the AppArmor profiles of chromium Does chromium require further configuration or an addon so it can detect FIDO 2 keys. A similar issue was noticed but with another device .  Thanks. Here is the log of sudo apparmor_status sym@salabym:~$ sudo apparmor_status apparmor module is loaded. 52 profiles are loaded. 37 profiles are in enforce mode.    /snap/snapd/9279/usr/lib/snapd/snap-confine    /snap/snapd/9279/usr/lib/snapd/snap-confine//mount-namespace-capture-helper    /usr/bin/evince    /usr/bin/evince-previewer    /usr/bin/evince-previewer//sanitized_helper    /usr/bin/evince-thumbnailer    /usr/bin/evince//sanitized_helper    /usr/bin/man    /usr/lib/NetworkManager/nm-dhcp-client.action    /usr/lib/NetworkManager/nm-dhcp-helper    /usr/lib/connman/scripts/dhclient-script    /usr/lib/cups/backend/cups-pdf    /usr/lib/snapd/snap-confine    /usr/lib/snapd/snap-confine//mount-namespace-capture-helper    /usr/sbin/cups-browsed    /usr/sbin/cupsd    /usr/sbin/cupsd//third_party    /usr/sbin/tcpdump    /{,usr/}sbin/dhclient    firefox    firefox//browser_java    firefox//browser_openjdk    firefox//lsb_release    firefox//sanitized_helper    ippusbxd    lsb_release    man_filter    man_groff    nvidia_modprobe    nvidia_modprobe//kmod    snap-update-ns.chromium    snap-update-ns.snap-store    snap.chromium.chromedriver    snap.chromium.chromium    snap.snap-store.snap-store    snap.snap-store.ubuntu-software    snap.snap-store.ubuntu-software-local-file 15 profiles are in complain mode.    /usr/sbin/dnsmasq    /usr/sbin/dnsmasq//libvirt_leaseshelper    avahi-daemon    identd    klogd    mdnsd    nmbd    nscd    ping    smbd    smbldap-useradd    smbldap-useradd///etc/init.d/nscd    syslog-ng    syslogd    traceroute 13 processes have profiles defined. 11 processes are in enforce mode.    /usr/sbin/cups-browsed (779)     /usr/sbin/cupsd (695)     /snap/chromium/1328/usr/lib/chromium-browser/chrome (5070) snap.chromium.chromium    /snap/chromium/1328/usr/lib/chromium-browser/chrome (5195) snap.chromium.chromium    /snap/chromium/1328/usr/lib/chromium-browser/chrome (5196) snap.chromium.chromium    /snap/chromium/1328/usr/lib/chromium-browser/chrome (5198) snap.chromium.chromium    /snap/chromium/1328/usr/lib/chromium-browser/chrome (5220) snap.chromium.chromium    /snap/chromium/1328/usr/lib/chromium-browser/chrome (5222) snap.chromium.chromium    /snap/chromium/1328/usr/lib/chromium-browser/chrome (5322) snap.chromium.chromium    /snap/chromium/1328/usr/lib/chromium-browser/chrome (5335) snap.chromium.chromium    /snap/snap-store/467/usr/bin/snap-store (1591) snap.snap-store.ubuntu-software 2 processes are in complain mode.    /usr/sbin/avahi-daemon (693) avahi-daemon    /usr/sbin/avahi-daemon (738) avahi-daemon 0 processes are unconfined but have a profile defined.


How can I uninstall the Cyanogen Mod 7 for my Htc Incredible 2?

I bought an HTC Incredible 2 on Amazon and found out that it is modded with Cyanogenmod 7. I didn't install it myself. Is it possible to uninstall CM7, or is it just built in? It doesnt even look like how an HTC Incredible should look or act.  Im wondering if I got another version of the HTC Incredible 2, but I didnt think there is another version.


Reasoning about random variables with bounded range

Suppose a random variable  X  can take any value in the interval  [−1,2]  and a random variable  Y  can take any value in the interval  [−2,3] .  I know that X + Y is [-3, 5] (-1 - 2 = -3; 2+3 = 5) and X - Y is [-4, 4] (-1 - 3 = -4 ; 2 - (-2) = 4) . But where can I find more about the rules of these operations? Like X*Y or X/Y ? And why is this? I thought was something like this:


What is $\int_0^\infty \frac{\sin(x^2)}{x^2}\ \,dx$?

I was asked this $$\int_0^\infty \frac{\sin(x^2)}{x^2}\ \,dx$$  I have a solution by letting $$I(b) = \int_0^\infty \frac{\sin(x^2)}{x^2}e^{-bx} \,dx$$  However, I was told that the question can also be solved via contour integration. Can anyone demonstrate that? You can take a picture of the steps if you are too lazy to deal with mathjax symbols.  Thanks!


Ubuntu cannot find my HP 2130 printer, which was automatically installed in the previous Ubuntu release and ran without a problem. Ubuntu 18.04 doesn't install the printer automatically, and it doesn't give me the option to do it manually. Same as with sound. No search facility to find the printer.  I clicked in Settings -> Devices -> Printers, but the operating system displays Sorry the system printing service doesn't seem to be available. No Add button. I never had a problem with previous releases of Ubuntu, with printing, scanning and sound. Since I loaded Ubuntu 18 right from the beginning, and if I want to print or scan I have to use my Windows laptop.


What is a vCard  and how do I read it? It popped up in a message from a friend and I don't know what it is. Please explain.


How to get a smooth paste from ground chickpeas?

I make Hummus quite often, and use my food processor to chop the chickpeas. This yields a sort of coarse paste, which is a little better if I peel the chickpeas first. Adding liquid to the mixture doesn't seem to help much, but only leads to watered down Hummus.  I would like to get a much smoother paste, that resembles restaurant Hummus more closely. How can this smoother paste be achieved?


Convert from a specifc range to another one

Can anyone explain how one would convert one voltage range to another? I'm going to need to convert a range of -10 to +10 volts into a range of 0 to +5 volts. How would this be accomplished? Thanks!   Let me say  something more. Inside of a torpedo there are gyroscopes. This gyroscope give -10 volts when the torpedo have 180 degrees of deviation to the west and 10 volts when the deviation is to the east. This signal is DC, so i need to change this range a range: 0 to 5 v DC . Thanks


How would I go about discovering all of the files created by a particular user and display them to the screen?  I've started a script that prompts the current user to enter the username of whom they wish to view all the files of. I've thought about using an if statement considering I'd like to include error checking.  echo -e "Option 11: Display all the Files a Particular User Has Created\n\n" echo -e "Enter Username below\n" read username


The statement I am trying to prove is:  If $a$ is an infinite cardinal number, prove that $\aleph_0 + a = a$  Any idea on how to start would be appreciated. I am thinking of proving it by showing that $\omega \cup A \approx A$. But how would I start?    Addition: Since $\omega \cup A$ is an infinite set, this implies that $\omega \cup A$ is equipotent with a proper subset of itself, namely $A$. This means that $\#(\omega \cup A)=\#A$.  Is this correct?


In what contexts are those two words used?  It's been a while since I've read the grammar books and I don't exactly remember the definitions of a few terms like adjective, so I would really appreciate it if the answers didn't leave it off by saying x is verb and y is adjective - I learn more by practical examples.  Please do mention similar words as well.


What is a good technique for initially seasoning a wok, keeping it seasoned, and preventing rust?


I need answers on the Bleach anime and manga

I watched the Bleach anime up until the last episode that was released, and I want to start reading the manga now, but I don't want to read and repeat things that I've already watched in the anime. So where do I start reading in the manga so that I don't get lost and I also don't repeat things that I've already watched? Also, do they leave anything important out in the anime that was in the manga? Because I don't want to miss anything and I want to know everything.


Delete all files starting with a question mark

I have a folder in which I have around 4k files. Some of these files start with a a ? or ! character. I need to delete them but can't find an expression that would do so:   rm -f ./?*   just deletes everything. I can possibly use grep on ls and pipe it through xargs and move files to another folder but I was hoping there was a proper way of doing this. Need help on both the ? and ! files.


How to replace a string in all folder and file names

How can I recursively replace a string in all folders and files' name with a different string? I am running Red Hat 6 and I can find them with:  find . -name \*string\*   I've managed to do it for strings within files:  find . -type f -exec sed -i 's/string1/string2/g' {} +   but how could I replace in a similar way all file names?


Why Microsoft uses a struct for directX library instead of a class?

I had worked with DirectX 9 approximately 8 years ago and one question has been opened till now. why Microsoft use struct for their entities instead of class? what is the benefit? I know class and struct are same(except default access specifier) and always I think the class is the meaning of object-oriented programming(because every people who know every language know class as OOP), but it seems Microsoft maybe don't think so.  again I want to emphasize that I know what is the difference between class and structure(only default access specifier differ)  A picture from one definition in directx 9.0:


Shebang line with `#!/usr/bin/env command --argument` fails on Linux

I've got a simple script:  #!/usr/bin/env ruby --verbose # script.rb puts "hi"   On my OSX box, it runs fine:  osx% ./script.rb hi   However, on my linux box, it throws an error  linux% ./script.rb /usr/bin/env: ruby --verbose: No such file or directory   If I run the shebang line manually, it works fine  linux% /usr/bin/env ruby --verbose ./script.rb hi   But I can replicate the error if I pack ruby --verbose into a single argument to env  linux% /usr/bin/env "ruby --verbose" ./script.rb /usr/bin/env: ruby --verbose: No such file or directory   So I think this is an issue with how env is interpreting the reset of the shebang line.  I'm using GNU coreutils 8.4 env:  linux% /usr/bin/env --version env (GNU coreutils) 8.4 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.  Written by Richard Mlynarik and David MacKenzie.   This seems really odd.  Is this a common issue with this version of env, or is there something else going on here that I don't know?


In the below code, how does Python know to print each letter individually? I really can't wrap my head around it.   for letter in 'Python':    print 'Current Letter :', letter   It knows to split the string 'Python' into 6 individual strings. How does it do that?


, I'm starting to believe it is not active.  Last night I started up Task Manager and I see 2 disks - Disk 0 (C:) and Disk 1.    Disk 0 appears to be active -    Disk 1 appears to be not active.  It's been this way for at least 3 hours of active use, both Metro and Desktop use.   This is supposed to be the Solid State part of my Hybrid Drive, but it doesn't seem to be doing anything, at least not from the perspective of the Task Manager tool.  Does anyone know of any additional tools that I could you for analysis or do you know if there is some way to activate this part of the drive?  Thank you in advance!


Correlation coefficient contradicts t-test

I am looking at the probability of opting into a program based on a continuous variables $X_1$, $X_2$, $X_3$, etc.  When I divide the sample into people who opted in and did not opt in and do a t-test I find that the mean of all the $X$'s for those opting in is significantly different from the mean for those not opting in.  However, when I look at a correlation matrix for the $X$'s and opting in I find really low correlation coefficients -- from between $.04$ and $.13$.  But my t-tests are significant at the 95%+ confidence level.  How do I square these two results?


and I update/upgrade by   apt update  then  apt upgrade   what has replaced:  apt-get autoremove ?   As near as I can tell there is no  apt autoremove   command?


how to install a Windows 10 on Ubuntu or burn Windows 10 into USB

I tried to burn windows 10 into usb and dvd even try to install Windows 10 on Ubuntu it's not work please help me i tried many time


Reset lightning:input textbox Field Value to Null

I am trying to create a button which will update a field value to null (RESET it). However, it's not working and not even giving any error. So when I click on the button, nothing happens.  lc.cmp:  <aura:attribute name="myObj" type="Account" default="{'SObject':'Account'}"/> <lightning:input type="text" name="accountPhn" label="Enter Account Phone" value="{!v.myObj.Name}"/> <lightning:button label="Reset" onclick="{!c.resetMe}"/>   lc.js:  resetMe : function(component, event, helper) {         //alert("Called");         component.set("v.accountPhn","");     }   Appreciate help around this.


I installed Ubuntu 14.04 a few days ago. I've made a scan with a RkHunter and got a few warnings that I don't really know what to do with. I read about false positives a little bit but I didn't find the answer for myself really. I got those errors:  Checking /dev for suspicious file types         [ Warning ] [19:44:16] Warning: Suspicious file types found in /dev: [19:44:16]          /dev/.udev/rules.d/root.rules: ASCII text [19:44:16]   Checking for hidden files and directories       [ Warning ] [19:44:16] Warning: Hidden directory found: /etc/.java: directory [19:44:16] Warning: Hidden directory found: /dev/.udev: directory [19:44:16] Warning: Hidden file found: /dev/.initramfs: symbolic link to `/run/initramfs' Checking for group file changes                 [ Warning ] [19:44:16] Warning: Group 'winbindd_priv' has been added to the group file.   Should I be worried ?


Points group automatically when adding delimited text layer

I'm using QGIS 3.10. I am working with an Excel table with records having coordinates. I'm adding a delimited text layer, that is shown as points. However, records with the same coordinates are shown as a single point instead of several ones. Is there a way to separate them?  In the image, the selected point has 3 records for the same locality (LOCALIDADE at the right panel).    I tried to use Point Cluster and Point Displacement, but these two are not what I was expecting... the first one shows how many points are overlapping, while the other one I didn't quite understood. But what would work for me was if instead of one point, it was three points, one overlapping the other, so one could easily see that there is three records at the same locality.


Bibliography using biblatex-swiss-legal not displayed correctly

I'm having a bit of trouble to use a custom style found on CTAN. This is the . In my MWE, it basically produces no output, especially not in the expected format. The default style works fine (commented line).  Goal & requirements  MY target is to use Latex to automate the production of a set of documents. The processing needs to be semi-automated to produce a final PDF using some scripts in an other language. The end goals is then to (1) retrieve the separate code, (2) merge them and then (3) generate the full PDF using latex.   My constraint is that it needs to follow the Swiss Legal requirements in terms of citations. Consequently, the formatting of the quote is really tricky, and this is my final steps to produce a working prototype.  From some other questions here, I can deduce that . I've got basically no experience with the creation of custom style for biblatex. Moreover, I've got some further constraints, as my end document needs to be:   In french or german, hence using polyglossia & csquotes Custom font, hence compiled using xelatex Using abbreviation (not here in MWE), hence using glossaries   Question 1 - Effort to update the full package ?  What would be the effort to update the package ? Is there any documentation on how to port an entire package into the “new” biblatex format ?  Question 2 - How could I only take the relevant part ?  Most of the code from this style will not be used. There are plenty of other function which I don't need.  Hence, how could I only take the “article” part and then plug it in a separate style ? I'm not sure what is needed and my first tryouts created a lot of errors.  Final note  This is my very first post on SO and TeX board. Hence please let me know if/how I could improve my future submissions. Thanks!  MWE Code  % MweBiblatex Swiss Legal \documentclass{article}  % Needed by Biblatex \usepackage{polyglossia} \setmainlanguage{french} \usepackage{csquotes}  \usepackage[style=biblatex-swiss-legal-general, backend=biber, bibencoding=UTF8]{biblatex} % \usepackage[backend=biber, bibencoding=UTF8]{biblatex}   \usepackage{filecontents} \begin{filecontents}{\jobname.bib} {     @book{druey,     author      = {Druey, Jean-Nicolas},     title       = {Grundriss des Erbrechts, 6e ed.},     publisher   = {Aucun},     date        = {2016},     location    = {Berne},     } } \end{filecontents} \addbibresource{\jobname.bib}  \begin{document} En matière de successions, le CC offre aux héritiers plusieurs façons de procéder \cite{druey}.  My goal as a real citation and as pseudo-code in the reference table  and in a citation \textsc{Druey} Jean-Nicolas, \textit{Grundriss des Erbrechts, 6e ed}, Berne 2016  And this should be cited as : "\textsc{Druey}" \printbibliography \end{document}


After i installed shutter all my screenshots looks like this:    Anyone had and fixed this problem?  EDIT: probably relevant - i'm using ubuntu 17.10


Solving Rubik's cube and other permutation puzzles

I've seen two questions on solving the Rubik's cube but none of the answers have given a complete solution using mainly mathematical techniques. Furthermore, I've not seen a good explanation of general techniques for solving permutation puzzles in general, including those of the Rubik's cube family, without involving any memorized move sequences. So I've decided to write up my method below as an example of how group theory can be applied to solving such puzzles.


Can you upgrade from Windows 7 to Windows 10?

Is it true that you can upgrade from Windows 7 to Windows 10 for free?  If so, how can you upgrade from windows 7 to windows 10?


Call a bijection $f : \mathbb{N} \rightarrow \mathbb{N}$ irrelevant over $\mathbb{R}$ iff for all sequences $a : \mathbb{N} \rightarrow \mathbb{R}$, if $$\sum_{i=0}^\infty a_n$$ exists, call its value $\lambda$, then $$\sum_{i=0}^\infty a_{f(n)}$$ also exists, and its limits is also $\lambda$.  (I feel slightly bad about the melodramatic title.)     Question. Which bijections $f : \mathbb{N} \rightarrow \mathbb{N}$ are irrelevant over $\mathbb{R}$?


Why does parallel doesn't work using '{}' but '--'?

Following the man pages and other examples the following should work:  $ find  *.gz | parallel zgrep pattern {}   but it results in:  /bin/zgrep: line 161: 1: missing pattern; try `/bin/zgrep --help' for help /bin/bash: pattern: command not found /bin/bash: {}: command not found   while substituting the '{}' with '--' works fine:  $ find  *.gz | parallel zgrep pattern  --   Why is this?  (using GNU parallel 20121122 and GNU parallel 20130922)


Is It Possible To Recover Deleted Partition in Ubuntu 16.04?

I was a windows 8.1 user, when i was installing Ubuntu 16.04 on my system there was four partition and for the installation purpose i select installation type "Erase disk and install Ubuntu" and my all partition are gone and its turn into one partition. Is there any possibility to recover my old partition or recover old data. please help.


Request for a scholarly reference for the correct usage of the English indefinite article (a/an).

This is NOT a request for a recommendation of a "best" book. I'm looking for a definitive authoritative source to address a specific question...   I recently had a discussion with a friend of mine who is a retired high-school English teacher. We were discussing the correct usage of "a" vs "an".   In her opinion the article must always match the subject. Thus she says "an emergency" is correct but so is "an dire emergency", she claims.   I personally think she is wrong, that the correct usage of the indefinite article is never based on the subject per se but rather only on the vocal pronunciation of the most proximate word following the article.  Any suggestions for a source that would generally be well-respected by school teachers?


Transforming vertices, edges or faces affects surrounding areas

I can't transform vertices, edges or faces without affecting the surrounding areas as well.


Which is it- You apply for a schengen visa from the country you entering first or the country you spending the longest time in? And after the age of 70 is it compulsory to have medical & travel insurance no matter where you travel to and/or from? Where can I find more info re schengen visa application when your spouse is a UK resident & you are a South african resident but wish to travel to Europe together. Been reading too much conflicting info.


Flag counter on top bar showing there are flags, but there aren't any

I see this since yesterday:        Its tooltip says:     we have posts flagged for moderator attention, perhaps you can help   But when  I see empty page i.e. no flags:        After clicking the number isn't showing for a while but then it come back.  Can the zombie flags please be put to an end? :)


What is highest temperature which is attainable?

We all know that there is a limit to the lowest temperature which can be achieved i.e. $0K$. But I wanted to know if there is a limit to the highest temperature which can be attained. And if there is a limit, what is that temperature?


There are favorite and ignored tags in Preferences. They need to explicitly list your tags. I would like to have wild char support here, so for example *PHP* will find PHP, PHP3, PHP4, PHPUnit, CakePHP and all other PHP tags.


mumble-server i386 depends on libqt4-core and libssl0.9.8

I am trying to use apt-get and i get this error.  It also doesnt allow me to install devs.  root@ubuntu:~# sudo apt-get install mumble Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies:  mumble : Depends: libasound2 (>= 1.0.23)           Depends: libavahi-compat-libdnssd1 (>= 0.6.16) but it is not going to be installed           Depends: libg15daemon-client1 but it is not going to be installed           Depends: libprotobuf7 but it is not going to be installed           Depends: libpulse0 (>= 1:0.99.1) but it is not going to be installed           Depends: libqt4-network (>= 4:4.5.3) but it is not going to be installed           Depends: libqt4-sql (>= 4:4.5.3) but it is not going to be installed           Depends: libqt4-svg (>= 4:4.5.3) but it is not going to be installed           Depends: libqtgui4 (>= 4:4.8.0) but it is not going to be installed           Depends: libsndfile1 (>= 1.0.20) but it is not going to be installed           Depends: libspeechd2 (>= 0.7.1) but it is not going to be installed           Depends: libspeex1 (>= 1.2~beta3-1) but it is not going to be installed           Depends: libspeexdsp1 (>= 1.2~beta3.2-1) but it is not going to be installed           Depends: gconf2 (>= 2.28.1-2)           Depends: libqt4-sql-sqlite but it is not going to be installed           Recommends: speech-dispatcher but it is not going to be installed  mumble-server:i386 : Depends: libqt4-core:i386 (>= 4.3.2) but it is not going to be installed                       Depends: libssl0.9.8:i386 (>= 0.9.8e-1) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). root@ubuntu:~# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed:   mumble-server:i386 Suggested packages:   mumble-server-web:i386 mumble-django:i386 The following packages will be upgraded:   mumble-server:i386 1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. 1 not fully installed or removed. Need to get 0 B/958 kB of archives. After this operation, 2,109 kB of additional disk space will be used. Do you want to continue [Y/n]? y dpkg: dependency problems prevent configuration of mumble-server:i386:  mumble-server:i386 depends on libqt4-core (>= 4.3.2).  mumble-server:i386 depends on libssl0.9.8 (>= 0.9.8e-1). dpkg: error processing mumble-server:i386 (--configure):  dependency problems - leaving unconfigured Errors were encountered while processing:  mumble-server:i386 E: Sub-process /usr/bin/dpkg returned an error code (1)


How to Enable Frame Blending in Blender 2.74?

I can't find the option that supposedly existed in Blender 2.49: "Enable Frame Blending". Does anyone know where it is, or where is its analog?  I shot a sunset - 30 minute video I want to turn to 10 second sped-up video. I easily do that with Add->Effect Strip->Speed Control, and setting  to 200.   This drops 199 frames out of 200, which isn't quite what I'm after.  There are people walking in front of the camera. I want to blur every 200 frames into 1, so that there are blurred trails of people rather than snippets of people.     Google says that all I need to do is check the "Enable Frame Blending" option. However, I cannot find this option in Blender 2.74 UI or source code, so it probably got renamed. Does anyone know how to fix this? I cannot use Blender 2.49 (I tried.. The new blender UI is tough for me to get around, googling basic things 20 minutes at a time; the old blender is however just an impenetrable wall of foreign UI concepts)


Dual Boot Windows 10, 4 partition maximum

I'm trying to dual boot Ubuntu with Windows 10. I shrunk my windows 10 partition to create space for Ubuntu but when I try to partition the free space I am told I can't make more than 4 partitions. I'm not sure what to do/if I can delete either one of those 2 450MB partitions?


I made an ROC curve for three classifiers and am getting the following results:    My blue and orange lines are going under the diagonal and I'm pretty sure that's not supposed to happen. Does anybody have an explanation for this?


Flow of current, isn't make potential difference?

I've learn some electronic knowledge at school and so confused by some questions.  Q1. IS it possible a flow of electricity without an electric field?  Q2. I've learn that moving of particle with electric charge in electric field makes potential difference. Then, let's suppose no resistance in wire. IF Q1 is true, wire with a flow of electricity makes an electric field, and in the electric field, an electron moves. Then potential difference must exist. But when measured, there is no potential difference. ( I learn there is ESR in battery, but I wonder whether moving of electron dosen't make any potential difference or not.)  Sorry for my bad English, but I hope someone could help me to find answer.


I have searched the web but all the ones readily available are where you specificy a date and it counts down to that date. What I need is something which will simply count down from "27 minutes and 43 seconds" (in that format) all the way down to 0 from whenever they land on the page, anyone got any snippets available?


COD4: Modern Warfare Single Player close unexpectedly

I have a problem with my COD4's iw3sp.exe, as i run the game, it exited during intro/load of the game without any message. How can i fix this? Running on Windows 7 32-bit.  *Multiplayer works just fine


Existence of pair of primes with difference $2n$ for every integer $n$

So this might be a silly question. There is the open problem of proving there are infinitely many pairs of primes with a fixed even difference, for any given even number. This maybe implies that it's known that given any even number, there exists a pair of primes with that difference. Is this a hard thing to prove if it is even known, or is it a simple fact?


Wouldn't the thermodynamic cost of creating alternate universes make the Many Worlds interpretation implausible?

I was thinking about the many interpretations of quantum physics, and one thing that never made sense to me was the many world's interpretation. Basically at any given moment for which something exists in a superposition, isn't this interpretation basically saying that there would have to exist a new universe for every possible discrete outcome that could result once the measurement is made?   So let's say an electron's location is a superposition of two distinct locations. Doesn't that mean there would at that moment have to be two distinct universes for each distinct location that is superposed? If so, then clearly the amount of universes being spawned every moment must be astronomical.   There could be trillions upon trillions of electrons(for instance) having superposed states, and then every moment in time (I suppose every planck time?), it seems there would have to be yet another set of universes spawning for every superposition.  How could this be? Surely there must be some kind of thermodynamic cost to replicate an entire universe. What would fuel or supply the additional mass and energy for every universe at every moment for every superposed state?  To my lay person's mind, this seems to be a very big weakness of this interpretation, but I needed to ask people with the physics background required to answer this question. Could there be some kind of loophole that could allow alternate universes to spawn so rapidly? Otherwise, doesn't this present a bit of a problem for taking this interpretation seriously?


Allow bulleted lists to be used in spoiler tags

I want to use spoiler tags to hide a bulleted list, but the formatting doesn't seem to be working properly.  Can an option be added for using spoiler tags ! with a bulleted list?  This is apparently a longstanding issue as . It would be helpful if a workaround was implemented.    Failed Attempts  > - Spoiler        Spoiler      >! - Spoiler      - Spoiler   > !- Spoiler     - Spoiler   > - !Spoiler        !Spoiler      !> - Spoiler !> - Spoiler


Execute Windows commands in Linux Subsystem?

I want to open files using Windows applications in Linux Subsystem. E.g. call the atom command to open Atom installed in Windows. How would I do this?


Float comparison (1.0 == 1.0) always false

I'm using the following function in Python 2.7.3 and Kivy 1.8.0 to fade-in a Grid widget:  def __init__(self, **kwargs):      # ...Init parent class here...      self.grid.opacity = 0.0      Clock.schedule_interval(self.show, 1 / 10)  def show(self, value):     if self.grid.opacity == 1.0:         return False     else:         self.grid.opacity += 0.1   show() is executed infinitely, self.grid.opacity == 1.0 always returs False, so the scheduler never removes the function.  I thought, and the documentation says, that opacity is a NumericProperty which defaults to 1.0, but I'm changing its value right before show() is called.  This is what I've tried:  if self.grid.opacity == NumericProperty(1.0):  if float(self.grid.opacity) == 1.0:   It doesn't work. Also, I'm sure self.grid.opacity is 1.0 and type() retrieves float right before I make the comparison.  This works:  if str(self.grid.opacity) == "1.0":   But obviously I don't like this solution.  Any ideas?


Can I use my old flash on a D3300 with a Nikon AS-15 sync adapter?

Is it safe to connect my old flash  to my DSLR D3300 using a Hot shoe sync adaptor. Will the  AS-15 Sync Terminal Adapter act as an isolator against any high voltages that can affect my camera?


Precise to Trusty Upgrade? No Notification so far

I checked the settings of my update manager (cf picture below), but I have received no notification so far for Trusty, I was wondering if this was normal, or if I would have to install it manually?  EDIT If I change my settings to "Any new version" I get a notification for 12.10. I don't really want to run four upgrades to get to the current version though...  EDIT 2  is very useful to understand the upgrade on Ubuntu. The answer is basically that there won't be any notification until the first point release (14.04.1), but users who wish to bypass this and install the new LTS without having to wait can run sudo update-manager -d. Remember to backup your system beforehand to protect your data against screwups.


How can I exclude a given label from a search, effectively finding all the email that do not have that label applied? I've searched Google, SuperUser, and  to no avail.  Here are the searches I've tried, none of which work:   !label:work NOT label:work not label:work -label:work   The reason this may not be a duplicate: After some more experimentation it seems that the - operator would work, except that it doesn't exclude entire conversations if any one message in the conversation has the label. I need my search to exclude any conversation in which one or more messages has the specified label.  How can I achieve this behavior?  Per Gianni Di Noia's advice, I tried making a filter that matches emails labeled work and then re-applies the label work. Unfortunately, after some testing with another email account I have I found that this does not work because it is never triggered. Filters are triggered based on the properties of the incoming email, not on the conversation to which Gmail assigns that email. Google warned me of this even before I did my testing:


How to get the disk space used by Ubuntu back after failed installs?

I tried to install Ubuntu 2 times, but I failed. The first time, I installed Ubuntu alongside Windows, but it never booted! Still, it occupied about 44 gigabytes of disk space. The second time I gave my laptop to my friend and she installed it again (alongside Windows 10) but she failed to boot it after the install too. Now, for the third time, I want to install it but not alongside Windows.   If I select Erase the disk and install Ubuntu, would it then delete the previous failed Ubuntu install files or not? And if it doesn't, then how can I delete them and free up the disk space they occupy?


Where did the rest of Walter White's money go?

In Breaking Bad, part of Walter's money got absorbed by the Gray Matter corporation that will be later handed out to Walter's family.   But what happens to the remaining money he has made?


Clarification needed on pots and pans in the dishwasher

So I know from a previous  that you are ok putting glass, glazed ceramics, silicone and stainless steel in the dishwasher, and that you should avoid putting non-stick coated, aluminium, copper, cast-iron, tin, wood, unglazed ceramics, etc in the dishwasher.   However, I'm in the market for a new set of pots and pans, and would like to know what I should be aiming for. At the moment, I have a skillet set:   4 inch non-stick - ruined 6 inch non-stick - ruined 8 inch non-stick - ruined 12 inch non-stick - not ruined 12 inch cast iron skillet - babied   During previous bouts of laziness, I've put them in the dishwasher and thus ruined the non-stick coating on most of them (the cast iron skillet is babied and never goes into the dishwasher). I also have a 14 quart pot, which is showing its age, and an 8 quart pot which had its bottom corroded to the point where a hole appeared (thus, leaky pot).  As an avid (and lazy when it comes to washing dishes) home cook, what should I be looking for in a set of pots and pans? At a minimum, what should I have in terms of sizes and types. I'd prefer to purchase them separately rather than buying a set (budget is not a limiting factor). Additionally, I'd love for them to be dishwasher safe, but I can add a few more 'hand wash only' items like my cast iron skillet.  EDIT  Per a comment below,  pretty much answers my question.


Not able to make REST Calls with Jersey based client

I've a Jersey based REST Client and a GET call defined as this :  The code doesn't come out after the client.get() call. A null pointer exception is hit on the client.get() call , this is the initialization logic from the class which calls the REST client :  Student.java :  public class Student {      private static RestClient client;      @SuppressWarnings("static-access")     public Student(Client client) {         this.client = new RestClient(client, "xyz");     }      public static RestClient getClient() {         return client;     }      public static void addStudent() throws Exception {          try {                    String addStudentUri = "https://www.zebapi.com/api/v1/market/ticker-new/btc/inr";                  ClientResponse js_response = getClient().get(URI.create(addStudentUri));             String s = js_response.getEntity(String.class);             System.out.println(s);         } catch (Exception e) {             System.out.println(e);                   }     }      public static void main(String[] args) {         try {             addStudent();         } catch (Exception e) {             // TODO Auto-generated catch block             e.printStackTrace();         }     } }   RestClient.java  public class RestClient {      private Client client;     private String randomHeader = "";      public RestClient(Client jerseyClient) {         this.client = jerseyClient;     }      public RestClient(Client jerseyClient, String random) {         this.client = jerseyClient;         this.randomHeader = random;     }      public String getRandomHeader() {         return randomHeader;     }      public void setRandomHeader(String randomHeader) {         this.randomHeader = randomHeader;     }      public RestClient() {     }      public ClientResponse get(URI uri)     {         return client.resource(uri)                 .get(ClientResponse.class);     }      public ClientResponse post(URI uri)     {         return client.resource(uri)                 .type(MediaType.APPLICATION_JSON)                 .accept(MediaType.APPLICATION_JSON)                 .post(ClientResponse.class);     }  }   Can you please help?


If Spock is half-Human, why is his anatomy entirely Vulcan?

Sarek and Amanda's son Spock is half Vulcan half human but he looks no different from other Vulcans. On the episode Naked Time, Bones was giving him a checkup and the way he explains Spock's anatomy it is full Vulcan. If he is half human why does he have all Vulcan anatomy and no human features?


Why are the camera and lamp objects appearing in the OpenGL render?

I am new to blender. First time I tried rendering the animation using Cycles render it worked fine. After that I tried OpenGl render, and after that this problem has started. The objects including the camera and light(lamp) in the 3d viewport are being rendered in the images. I don't know if its a feature or a bug. Please help.


How to explain the relationship between wave's amplitude and intensity?

I have the following statement which I don't know how to explain:  Suppose I have 2 identical monochromatic waves (same intensity and phase) shooting into the same receiver. If each wave's intensity is I, based on energy conservation I would expect the 2 waves together will bring a total intensity of 2I. For example if each wave carries 100mW power, I'm expecting a 200mW total power on the receiver side.  However the summation using phasor gives a different result: if we consider that intensity is proportional to the square of wave's amplitude, the square root of 100 gives 10 for the amplitude of 1 wave (for simplicity I use 10 as amplitude which included the constants), adding the other wave of the same phase which gives 20 as amplitude of the new beam, then square it to get intensity which is 400mW instead of 200 in the above example.  If we keep going by summing 4 50mW waves with the same convention, we get (4 x sqrt(50))^2 = 800mW ... which the logic is obviously not correct.  My ultimate goal is to sum up power of beams with different intensities and phases. Phasor addition works great if I have amplitude and phase, but when I try to use intensity to get wave's amplitude I got the above dilemma. Could someone point out where my logic go wrong, and please explain the way to do power summation with intensity and phase known for each wave? Thanks!


I encrypted my computer with FileVault full disk encryption on Yosemite. FileVault gave me an emergency decryption code to use when I forgot my password.  For some reason, when I changed my account password while the drive was being encrypted it gave me another emergency code. How can I verify which one works?


Locked questions: add ability to bookmark

(e.g. ) should have an ability to bookmark (star / favorite). If it’s available for reading, user should be able to bookmark it.  Similar question was raised in  “Can a historically locked question still be starred, or is that behavior frozen too?”   Also as we have reopen link for closed questions, should be similar link to vote for unlocking the Historical Locked question?


FFMPEG - Combining one image and one audio together loop

@echo off for %%a in (*.mp3) DO ffmpeg -i "%%a" -f image2 -loop 1 -r 30 -i image.jpg -shortest -c:a copy -c:v libx264 -crf 23 -preset veryfast -vf scale=1280:720 "%%a.mp4" pause   I have this batch code here, however it doesn't output correctly. The mp3 is successfully converted to a mp4, though the image is not merging with the audio.   I have the audio and the jpg called image.jpg in the folder together.


Allow under 6 character changes if they are inside code tags

I tried to update a jQuery code block that was missing a curly brace. The code is incorrect, but I cannot edit it since changes under 6 characters are not allowed (at least at my level of rep?).  I understand why you don't want to allow minor copy-editing, and I agree that's fine for textual descriptions and regular writing, but 1 character can make a big difference in code.


At the start of GoF, the portkey has a time that it is due to leave, and the implication is that it will leave at that time whether there are people touching it or not.   Towards the end of the book however, the portkey is activated by touch and presumably wouldn't have left until it was touched.   Is this a contradiction or are there different spells for this?


mysqldump, preserve update_time and modify_time attributes as listed by show table status from

Does mysqldump preserve the create_time and update_time attributes that are output by show table status from?  If not, is there an option that does this?   it looks like mysqldump preserves this data if you export to XML. EDIT: Well the data is included in the export. Whether it's read in at the other end I'm not sure.  Is there a way to do this with a normal .sql dump?


What is the easiest way to convert a bunch of text files from LF (Unix) to CRLF (Windows) in a single run?

There is a directory tree on a Windows7 machine containing a few hundred text files that I want to convert from LF to CRLF.  I already found a Win32 version of  but that one accepts only one file at a time for input whereas I want to convert a whole set of directories and subdirectories recursively in a single run.  What is the easiest way to accomplish that task?


Is an hour and a half enough time to connect United flights from Michigan, USA to Belfast, Northern Ireland?

I am flying alone and have never been at this airport. Flying in from Michigan to connect to an international flight going to Belfast, Northern Ireland.  Is an hour and a half enough time and what terminal does this United flight leave from?


What is wrong with my SOQL query on profile?  It's saying "Incompatible element type Profile for collection of Id"  What do I need to change      global class ProductAction {     WebService static String convertToService(Id product) {         string result; // Return a string telling us if this worked or not         Id currentProfile = UserInfo.getUserId(); // Get the current user profile Id         Id CurrentUser = UserInfo.getUserId(); // Get the current user Id          Set<Id> allowedProfiles = new Set<Id>(); // Create a new set to profile Ids         for (Profile p: [SELECT Id FROM Profile WHERE Name = 'System Administrator']) {// Get the System Administrator profile             allowedProfiles.add(p); // Add them to the set         }          Set<Id> allowedUsers = new Set<Id>(); // Create a new set to store User Ids         for (User u: [SELECT Id FROM User WHERE Id = '005w0000004j93kAAA' OR Id = '005w0000004Noi6']) {//Select Joy Palmer and Andy McGregor Id's and select Jeremey Sharp and Mark O'Leary once they're in SF}             allowedUsers.add(u);// Add them to the set         }         Product2 prod = [SELECT Convert_to_Service_catalogue__c, R_D_Service_Owner__r.id , Project_Owner__r.Id From Product2 WHERE Id = :product]; // Get the product          if( //If...             (currentUser == product2.R_D_Service_Owner__r.id) || // They own it             (currentUser == product2.Project_Owner__r.id) || // They own it              (allowedProfiles.contains(currentProfile)) || //They're a system admin             (allowedUsers.contains(currentUser))// They're a specific user             ) {                 //Do stuff!                 prod.Convert_to_Service_Catalogue__c = true;                  UPDATE prod;                  result = 'Success!';              }            else {// Otherwise...               // Do nothing               result = 'Go Away!';             }              // Return a message            return result;         }  }


99 reputation yet getting "Earn 10 reputation in order to answer this question"

Asking this here because I think this is very likely to be a general behaviour. Some months ago I wrote an  to a question in Software Engineering that got very bad feedback (two negative votes and one delete) which then made me get 99 of reputation. Now, I see this in the page  . Earn 10 reputation in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.   Understand that I was awarded 100 in reputation in that specific network due to having good reputation in other communities. Still, the description in the Highly active question page also mentions  Protecting a question prevents answers from being added by anonymous and very low-reputation users, generally users with under 10 reputation.  and I don't have under 10 reputation. So, either it should be clearer that "Highly active question" blockage can also apply to users with more than 10 of reputation OR give such users the permission to do so.  Edit According to 's answer it's intentional that such users don't have the respective privilege. So, this question is then only proposing to add the content from Ollie's answer (see right after) in the 's page.  The +100 reputation Association Bonus is ignored in such cases.  From the post :  In other words, a user with the association bonus and no other rep changes can't answer protected questions.  Also:  On per-site metas, you can answer protected questions with the association bonus reputation, provided your corresponding main site reputation doesn't fall below 10.


Unable to install Ubuntu alongside Windows 10 due to UEFI firmware error

I have recently bought a new ASUS laptop which has Windows 10. Now I need to install Ubuntu 15.04 alongside Windows. I have done this before with my other laptops. However, now when i try to install Ubuntu, first during the installation it gives me a warning as;      Force UEFI Installation?     This machines's  firmware has started   this installer in UEFI mode but it looks like there maybe existing   operating systems already installed using BIOS compatibility mode, If   you continue to install Debian in UEFI mode,it might be difficult to   reboot into any BIOS-mode operating system.   Also note that I'm not getting the "Install alongside Windows" option. Instead, I see;     This computer currently has detected no operating systems.   Even though I have Windows 10 installed.  How can i install Ubuntu alongside Windows?


im using Ubuntu 18.04.2 LTS and want to install win 10 along side. how plz?

im using Ubuntu 18.04.2 LTS want to install Win 10 along side im using a 500 GB hard disk with: 4 GB swap . primary------------ 150 MB /root .primary--------------- 345 MB /home . primary-----------  plz ive searched internet and found answers but im confused on how to use Disk Utility to create a C-partion for win, also should i creat another partion for my files or my /home partion is enough ? also what is Grub ?


How to Choose When to Hyphenate, Maybe, Two Nouns

No vehicular stand still ever made him late, for work.   or,     No vehicular stand-still ever made him late, for work.   Which may you choose, as proper, and grammatical English grammar?


I'm trying to follow an example of arc drawing from one  question:  \begin{tikzpicture}     \tkzDefPoint(0,0){O}     \tkzDefPoint(2,-2){A}     \tkzDefPoint(60:2){B}     \tkzDrawLines[add = 0 and .5](O,A O,B)     \tkzDrawArc[rotate,color=red](O,A)(180)     \tkzDrawPoints(O,A,B)     \tkzLabelPoints[below](O,A,B) \end{tikzpicture}   And I keep getting this error message  Undefined control sequence. \tkzDrawArc [rotate,color=red](O,A)(180) ?   I'm using the following packages:  \usepackage{fullpage,amsfonts,amsmath,amssymb} \usepackage{txfonts} \usepackage{tikz} \usepackage{tkz-euclide} \usepackage[margin=0.5in]{geometry} \usepackage{yhmath}   What am I missing?


This might sound really dumb but why is it bad/insecure too use the same key twice on One-time-pad?  Question: Why and how does using a key twice make it insecure. (in One-time-pad).  EDIT: I have read the "maybe" duplicated ones but they did not have the same perspective as this quesiton.  EDIT: But what if I use extra key? Can the reused cipher text be saved?  We say if you had a plaintext (5) and a key (6) you would do 6 + 5 + 127 mod 127 to get the cipher text and next time you will use the key again but with extra key and the extra key will be added exactly like the key (6 + 5 + "extra key" + 127 mod 127). Every time you encrypt a text the key will be the same. The extra key would be the same on every character you encrypt but will be changed every transmission.  Is that secure then?


How to Append List to Empty List in Python?

I try this code below  lst = [[]] * n lst[0].append(1)   If i print the cod, the result is  [[1], [1], [1], [1], [1], [1]]   And then I try manual way to make an empty list like below  lst = [[], [], [], [], [], []] lst[0].append(1)   The result showing up  [[1], [], [], [], [], []]   Is there any differences between lst = [[]] * n and lst = [[], [], [], [], [], []] ?


Can anybody tell me how to enter $\bigcupdot\limits$? Thanks. I know how to enter \bigcupdot, but I don't know how to follow it by \limits.


Closed subspace $M=(M^{\perp})^{\perp}$ in PRE hilbert spaces.

Is it true that $M=(M^{\perp})^{\perp}$ if $M$ is a closed subspace of a PRE hilbert space (a space with a scalar product, but that is not complete)?  The proof of the analog fact for hilbert spaces uses the projection on the subspaces $M^{\perp}$ and $(M^{\perp})^{\perp}$, but if the space is not complete that projection may not exist.


I have a bit of bash script like this: echo "Number of Connections: " Conns=$(netstat -an | grep -c ‘8800.*OK’) echo "Done"  It appears to stop processing after netstat.  The output I get is: Number of Connections:  When I try it this way: echo "Number of Connections: " netstat -an | grep -c ‘8800.*OK’ echo "Done"  It proves the netstat is working but stopping the process, the output looks like this: Number of Connections: 0  Is there a way to stop netstat from stopping the script from continuing? Thanks


How can I cure players of Character Abandonment Syndrome?

I've noticed a problem in my gaming group that I can only dub Character Abandonment Syndrome.  Over the last few years, my group has played several campaigns (D&D 5e mostly, but some other stuff as well) with different GMs, but no matter the GM or the campaign, no one plays a character for more than a few sessions. It's gotten so bad that occasionally the party roster has changed completely every other session.  For various reasons, our group tends toward powergaming, but lately interest has been expressed in doing some more serious role-playing. Because of this and because I'm the current GM, I feel like the first order of business is to help players overcome Character Abandonment Syndrome so that they can have a more enriching role-playing experience.   How can I encourage players to stick with one character throughout an entire campaign?  EDIT  Some of you guys have asked why or how my players are able to do this. Most of the time it's them expressing that they don't want to play that character anymore and the GM explaining away why a character has left. With the case of a lot of players switching, we do a time skip or say that the previous party got themselves killed somehow and now there's a new set of adventurers.


How to find $ \lim_{x\rightarrow 0} \frac{(x + 1)^{\frac{1}{x}} - e}{x} $

Let $$ \lim_{x\rightarrow 0} \frac{(x + 1)^{\frac{1}{x}} - e}{x} = ? $$  How would you calculate it's limit? I thought using l'hopital rule, but it then becomes something nasty, as the differentiate of $(x + 1)^{\frac{1}{x}}$ isn't simple.


Elementary Set theory proof: $A \subseteq B$ iff $A \cap B=A$

Prove:   $A \subseteq B$ iff $A \cap B=A$   Can someone give me a hint on how to start this? I know in order to prove two sets are equal you have to take an arbitrary item from one set and show it is in the other and then vice versa but how do I apply it to this case?


Delta of two DATETIME in Google Spreadsheet

As show in this image:  I have those 2 cells with DATETIME and I need to do the delta of those in order to get Day - HH:mm:ss. How can I do that? If i try to use  I get error. Any tip? What i wanna get:


timeout errors in apt-get update/install

I'm trying to do an apt-get update or apt-get install xyz and I'm seeing timeouts like this:  W: Failed to fetch http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release.gpg   Unable to connect to eu-west-1.ec2.archive.ubuntu.com:http: [IP: 10.224.87.159 80]   Is this a transient issue with Ubuntu, or maybe it's something on my end. The box I'm accessing it from is in EC2-EU.  Perhaps there is a way to force the installer to use the US servers which seem to work?


What method would I use to show an image in between X amount of posts on category archive?

I am trying to output an image in between every XX post shown on the /category/archive pages for every category. Years ago there was a tutorial online of how to do this, but I can't seem to find it now.  I am writing a plugin that allows the admin to upload an image with a link to the image to create an advertisement on the site and have it show between every 10 posts shown on the category page. What hook would I use for this and would I need to loop through the posts before they are shown?   Any help would be greatly appreciated.


Moving app from "/data/app" to "/system/priv-app" leads to reboot (Magisk, Android 8.1)

I have a rooted device Samsung SM-T590 (Galaxy Tab A, 2018, 10.5, Android 8.1.0)  I have Root Explorer app installed  When I try to move some app from "/data/app" to "/system/priv-app" (using Root Explorer) the device reboots and nothing is being saved at "/system/priv-app"  I want to make my app a system one  This method works ok on many other devices   But something wrong with this device  Any ideas how to solve this problem?  I think system apps Device Security and Device Maintenance prevent me to do it.  I tried to delete them using Titanium Backup but phone reboots and they are installed again  Also there is Samsung Knox security technology  It's not a duplicate because this question is about Magisk and not SuperSu