in my mariadb i have replication, i tried to change the location of the binlogs by changing the configuration file as so: log-bin = /new/path/mysql-bin I also tried to change the index location as so: log_bin_index = /new/path/mysql-bin.index but every time when I restart I see that the location of the binlog files is /var/lib/mysql... i tried to check with mysqld --verbos --help | grep bin and I saw that the lob-bin parameter is mysql-bin and not what I wrote in the cnf... how to I make the MySQL to take the value of the log-bin from the cnf file? this is the cnf file of the MySQL for sure...
in my mariadb i have replication, i tried to change the location of the binlogs by changing the configuration file as so: log-bin = /new/path/mysql-bin I also tried to change the index location as so: log_bin_index = /new/path/mysql-bin.index but every time when I restart I see that the location of the binlog files is /var/lib/mysql... i tried to check with mysqld --verbos --help | grep bin and I saw that the lob-bin parameter is mysql-bin and not what I wrote in the cnf... how to I make the MySQL to take the value of the log-bin from the cnf file? this is the cnf file of the MySQL for sure...
A logic puzzle involving a balance. Possible Duplicate:          You have 12 balls and you know that they all weigh the same except for 1 which is heavier or lighter than all the others (you don't know which though). How can you make sure you know which ball is the heaviest/lightest in only 3 weighings?  The way I approached it was to split up the 12 balls into three sets of 4 and weigh two of the sets. If the sets balanced the scale, then I know the ball I am looking for must be in the set of 4 balls not weighed, else, I disregard said set and arbitrarily choose the heaviest set of 4 (as opposed to choosing the lightest set). I split the heaviest set of 4 balls into 2 and weigh that... etc.  Repeating this process until all 3 tries have been "used up", even if everything just so happened to be in your favor (the arbitrary choice you have in choosing the heaviest or lightest set happens to be the correct choice) in the end you still end up having to choose between 2 balls. A 50% chance is good, but I am wondering, is there a way to make sure 100%? Metapost label based on variable value I want to label a scale based on a variable value and I wrote a metapost code like this.  $ := 1; for i = -.3cm step .6cm until 3.6cm:     label.bot(str$,(i,-3.7cm));     $ := incr($); endfor;   It just labels "$" instead of its value. How to output the variables value? MacOS dmg file question Not entirely sure if this is where to ask this, but I can't find another place to...  I've recently switched from Windows to Mac and I am trying to understand more in depth what I'm working with.  My question is: are .dmg files the equivalent of .zip files in Windows? I came to this theory when downloading a .dmg and when I opened it, it contained a .app and and text file read me. To me, this seems like a compressed file.   Is this correct? Why isn't $\lim \limits_{x\to\infty}\left(1+\frac{1}{x}\right)^{x}$ equal to $1$? I'm using terminal-ide  which is basically a terminal for android with all sorts of utilities. One is able to create bash scripts for example. Is there a way to create an icon on the home screen that will launch one of these scripts? This formula provides the $n$th term in the Fibonacci Sequence, and is defined using the recurrence formula: $u_n = u_{n − 1} + u_{n − 2}$, for $n &gt; 1$,  where $u_0 = 0$ and $u_1 = 1$.   Show that     $$u_n = \frac{(1 + \sqrt{5})^n - (1 - \sqrt{5})^n}{2^n \sqrt{5}}.$$    Please help me with its proof. Thank you. The number of divisors I am reading a math book. It states the following rule:      For an integer $n$ greater than 1, let the prime factorization of $n$ be $$n=p^a_1p^b_2p^c_3...p^m_k$$    Here $a, b, c,..., m$ are nonnegative integers, and $p_1,p_1,...,p_k$ are prime numbers. Then the number of divisors of $n$ is: $$d(n)=(a+1)(b+1)(c+1)...(m+1)$$   I can use the rule to solve problems correctly, but I don't understand the rule. How to prove it? Free, open-source substitutes for Mendeley? is (mainly) a proprietary social network to share basic citation data and research papers.   Are there any free and open source substitutes for this service?   A technical possibility: users could collect BibTeX data and a hash and share this information.  It would be very useful to have such a free service because every journal provides the citation data in a different format. That includes false field entries, broken files and hidden download buttons on the website. UK Standard Visitor visa application to sit for PLAB 1 without savings or job I am a medical doctor in Pakistan. I have been on a career break to allow myself to study full time for the IELTS exam (from which I recently got the required band score) and PLAB 1. I have now registered and paid for the PLAB 1 exam in UK for June 2016, as the next sitting in Pakistan is in November 2016 and I feel like I am ready to do the exam sooner.  Due to having no current employment, my savings are limited (around 25,000 Pakistani Rupees) but I live with my parents and do not have any financial commitments at home.  My savings have depleted in the past ten months whilst I have taken a career break and the money has been used for my own personal expenses. My trip to the UK is being funded by my grandfather who is a British citizen. He is a retired doctor with a good NHS pension. He has provided me with:   6 months bank statements which clearly show his pension deposits   Letter from NHS Pensions stating his pension   Sponsorship letter stating that he will pay for my PLAB exam fee, travel, accommodation and subsistinence costs whilst in the UK   Copy of British passport  Document confirming that he owns the house he lives in mortgage-free Confirmation email from GMC stating he has paid the PLAB exam fee.   Without large personal savings and no current job (but I have job offers now) would my application be rejected or is the strong sponsorship going to be good enough?  Are there any other documents I should consider submitting that may help me get a visa? How to append multiple lines of text to a file? I'd like to make links to all files in a directory tree. Which means, create the same directory structure and make the links in them to the respective subdirectory in the original dir.  That could be done with   cp -R -s ../foo .   But - that needs an absolute path. So rather  cp -R -s `readlink -e ../foo` `readlink -e .`   I would like the resulting links to be relative.  How would I do that? Justifying $\,\Bbb{Z}[i]/\langle 2\rangle\cong \Bbb{Z}[X]/\langle X^2+1,2\rangle\cong \Bbb{F}_2[X]/\langle X^2+1\rangle$ I am asked to describe the quotient ring $\,\Bbb{Z}[X]/\langle X^2+1,2\rangle$ in two different ways. I would say that $\Bbb{Z}[X]/\langle X^2+1,2\rangle$ is isomorphic to $\Bbb{F}_2[X]/\langle X^2+1\rangle$ and $\Bbb{Z}[i]/\langle 2\rangle$ but I am not sure how can I justify that. Does we have $\langle X^2+1,2\rangle=\langle X^2+1\rangle\langle2\rangle$? I think the answer is no, because $\langle X^2+1,2\rangle=2P(X)+(X^2+1)Q(X)$. How can I justify the two isomorphism ? Can I use the Unity launcher icon to minimize applications/windows? For some reason my Steam just broke today after working perfectly since I installed it a few days ago.  It was originally installed via the deb from the Steam site. So I uninstalled that using the Ubuntu Software Center. Then I installed steam-launcher. When I run it from the menu it does nothing at all. When I go through terminal it gives this message, no error:  $ steam/usr/bin/steam:  line 196: /home/andrew/.local/share/Steam/steam.sh: Success   So I purge-removed it and removed the .steams directory from my home directory but on re-installation its the same story.  I am using Xubuntu 12.10 64bit.  It appears that steam .local/share/Steam/steam.sh is blank. What is it meant to have in it? I am so confused with how reinstalling it doesn't fix it. How to dismiss the Windows 8.1 Upgrade banner? As of today, my Windows 8 system is displaying a large banner covering about a quarter of the screen, demanding that I upgrade to Windows 8.1 for free.  The banner helpfully informs me that that I can continue to use the computer while the upgrade is downloading.  There's a button to go to the store for the upgrade, but no other choices, such as No Thanks, Maybe Later, or Absolutely Not.    I can't find a way to dismiss the banner, and I can start programs but can't give them focus while the banner is present.  So I'm dead in the water.  How can I fix this?  Bringing up Task Manager doesn't give me any options.    My employer doesn't yet support Windows 8.1 (which is also an issue, but beyond my control) so I won't be able to connect to work if install the upgrade.  So there is no way on God's green earth that I'm going to install this upgrade now.    UPDATE: The banner went away after the second restart and I was able to run regedit as @magicandre suggested.  The banner hasn't reappeared.  So far, so good. Convergence in Distribution in Order Statistics Let $X_1, X_2, \ldots$ be iid from Exp$(\theta)$ with density function $f(x) = \frac{1}{\theta}e^{-\frac{x}{\theta}}$. (a) Find the limiting distribution of $M_n = Y_1 - \theta\ln(n)$ and $T_n = nY_n$, where $Y_1$ and $Y_n$ represent the first and last order statistics (among $n$ observations) respectively. Answer: I have obtained the CDF of X to be: $$F_x(x) = 1 - e^{-\frac{x}{\theta}}$$ the CDF of $Y_1$ to be: $$F_{Y_1} = 1 = e^{-\frac{xn}{\theta}}$$ the CDF of $M_n$ to be: $$F_{M_n}(x) = \left[1 - \frac{1}{n}e^{-\frac{x}{\theta}}\right]^n$$ with limiting distribution $$e^{-e^{-\frac{x}{\theta}}}$$ the CDF of $T_n$ to be: $$F_{T_n}(x) = 1 - e^{-\frac{x}{\theta}}$$ which is also the limiting distribution. (b) Show that $M_n$ and $T_n$ are asymptotically independent. Answer: I've tried finding the joint PDF for ordered statistics by using the equation $$g_{ij}(y_i, y_j) = \frac{n!}{(i - 1)!(j - i - 1)!(n - j)!}[F(y_i)]^{i - 1}[F(y_j) - F(y_i)]^{j - i - 1}[1 - F(y_j)]^{n - j}f(y_i)f(y_j)$$ however, it is a mess based on my CDFs. Any suggestions on a different approach? Installing from source - do I need to keep the extracted tarball directory If I'm installing from source, do I need to keep the extracted tarball directory?  So if I download the git tarball. I then do:  tar -xvzf git.tar.gz   This will create a git.x.x. directory, into which I cd, then run ./configure etc. Once I'm done with this process, and git, or whatever is installed, do I need to keep the original git.x.x extracted directory, or is that just used for compiling the program?  I'm somewhat confused by all the directories, and folders used for programs. On Ubuntu 12.04 LTS on a Dell Vostro 2420 laptop, each time I start Ubuntu, the screen brightness is set to the maximum level, which gives a high glare. (I have recently installed Ubuntu on the laptop, but did not change any default settings related to brightness, IIRC.) I am currently lowering the brightness manually each time after starting, using the System Settings icon on the left of the screen. Looking for a permanent way to set it to a lower value. How did the writers not notice that the mailbox of Leela's parents says "Turanga," and not "Leela"?  Turanga Leela is Leela's proper name, with Leela being her surname, so shouldn't it follow that her folks would be the same? What kind of things can you take from a hotel? Hotels normally provide a big amount of sets (well, depending on the quality, but however, many!) that can help you feel more comfortable there.  So for example you can get towels, slippers, candies, pens, shampoos, shaving kits, sponges, ...  The same in the self-service breakfast: pastries, bread, ...  They are meant to be used during your stay. However, they can be provided in such an amount that there are some extra by the time you leave... and make you feel like taking some back home.  My general rule is to take those things that I used but didn't finish. However, sometimes I may be tempted to take the brand new stuff lying there before I close the door for the last time.  So the question that pops is: what kind of things is it correct to take from hotels and what is it not recommended? Else, what items may differ from country to country?