How can I get an email copy of completed forms?

I made a form to be completed by my visited on my web page. I'd like the completed form to be sent to my email, as it will have healthcare information.  I see that the completed form is sent to CognitoForms.com. I need the forms sent to my email, as I really don't want another dashboard to manage.  I need to be able to print this form from the email.  Is there a way to change this?


Asymptotic behavior of combinations: approximating Hypergeometric by Binomial

A form of the hypergeometric distribution is $$P(X=x)=\frac{\binom{Np}{x}\binom{Nq}{n-x}}{\binom{N}{n}}$$  where    $N\equiv$ total number of elements of the sample space $p\equiv$ probability of choosing a particular type of element $q=1-p$ $x\equiv$ the number of success $n\equiv$ the number of trials   It says in the text that as $N\to\infty$, this formula reduces to  $$P(X=x)=\binom{n}{x}p^xq^{n-x}$$  How is this reduction performed?  I'm asking here rather than in the statistics forum because I'm getting a vibe that it could be more of a mathematical question than a statistical one. (Albeit I'm ready to be shown mistaken)


Integrate $\int_0^\infty \frac{\log(\frac{1+ix}{1-ix})}{e^{2\pi x} - 1} dx$

How to calculate the following integral :   $$\int_0^ \infty \frac {\log (\frac{1+ix}{1-ix})}{e^{2πx}-1} dx$$  Where, i is the unit imaginary number or iota .


Example sentence for the scenario I have in mind:     We will bring the necessities that most people take for granted such   as...   Is "that" better left omitted, or would omitting "that" create a grammatically incorrect sentence?


Does $ \int_0^{\infty}\frac{\sin x}{x}dx $ have an improper Riemann integral or a Lebesgue integral?

In  wikipedia article for improper integrals,  $$ \int_0^{\infty}\frac{\sin x}{x}dx $$ is given as an example for the integrals that have an improper Riemann integral but do not have a (proper) Lebesgue integral. Here are my questions:   Why does this one have an improper Riemann integral? (I don't see why $\int_0^a\frac{\sin x}{x}dx$ and $\int_a^{\infty}\frac{\sin x}{x}dx$ converge.) Why doesn't this integral have a Lebesgue integral? Is it because that $\frac{\sin x}{x}$ is unbounded on $(0,\infty)$ and Lebesgue integral doesn't deal with unbounded functions?


What does `do-release-upgrade` really do?

We know that do-release-upgrade “does a release upgrade”. But at a little lower level what does it really do?  I plan to do a more manual upgrade, for instance the Debian way: aptitude update and aptitude full-upgrade after setting up the sources. Actually, I plan to do it entirely interactive with aptitude. But that leaves me curious about what else do-relase-upgrade does, except hosing up my sources.list.


What goes better with "first" -- "second" or "secondly"?

Say you're making an argument that has two parts:     Why did such and so happen?  First, bla bla.  Second, bla-pity bla bla bla.   I'm thinking "secondly" would sound better.  But if I use "secondly," do I have to use "firstly" -- which sounds so -- yuck.  The tone of the piece of writing is medium formal.  I mean, it's formal, but not formal at the level of a brief submitted to the Supreme Court.


How to wrap lines correctly inside algorithmic

I am having problems displaying algorithms. The wrapping is really ugly and I can't, for the life of me, find a fix that doesn't involve manually tweaking the hell out of everything, to the point that I might as well scrap the crappy algorithm packages and write everything out in TeX.  Is there any way to properly indent the following  \documentclass{article} \usepackage{algorithm} \usepackage{algpseudocode} \begin{document} \begin{algorithm}    \caption{My pseudo code.} \begin{algorithmic}[1]    \While{this line is sooooooooooo long and boring and too much for algorithmic to handle}       \State look at this state, this state is just too long for algorithmic to display it properly        \While{again this line is sooooooooooo long and boring and too much for algorithmic too handle}          \State look at this state again, this state is just too long for algorithmic to handle, I'm just going to switch to Word       \EndWhile    \EndWhile \end{algorithmic} \end{algorithm} \end{document}     so that the output is similar to


Are these 2 try/catch/throw statements the same?

Given the following statements:  try {     ... some code ... } catch {     ... some cleanup code ...     throw; }   and  try {     ... some code ... } catch (Exception ex) {     ... some cleanup code ...     throw ex; }   Do these operate the same, or will the first one cause a new exception to be thrown?


Irreducible components of affine variety

Fix some algebraically closed field $k$ and let $X$ be the affine variety given by the ideal $I=(z^2-xy,xz-z)$, how can I describe the irreducible components of $I$? I know that there is a bijection between the irreducible components and the corresponding prime ideals but this doesnt help me.   Also, a variety $X$ is irreducible if $I(X)$ is a prime ideal, I tried to use this to find the irreducible varieties but I didnt manage, any hints?


Gaussian Distribution: How to calculate the Cumulative Distribution Formula (CDF) from the Probability Density Function (PDF)? + Error Function?

I understand that we can calculate the probability density function (PDF) by computing the derivative of the cumulative distribution formula (CDF), since the CDF is the antiderivative of the PDF. I get the intuition for that (integrals denote the area under a curve, which is the accumulated probability under the curve of continuous functions). I'm just wondering how to derive the CDF from the PDF of the Gaussian distribution, which is $$ f(x) = \frac{1}{\sigma \sqrt{2 \pi}} e^{- \frac{1}{2} \left(\frac{x - \mu}{\sigma} \right)^2} $$ I'm guessing we integrate this from negative infinity to positive infinity, but how do we do the whole process? I've seen the answer, and for some reason the answer seems to involve the "error" function, which is this: $$ \text{erf} (z) = \frac{2}{\sqrt{\pi}} \int_0^z e^{-t^2} dt $$ If someone could explain how we derive the CDF from the PDF of Gaussian distribution, AND how that calculated CDF is related to the error function, I would be so grateful!


proof by induction: sum of binomial coefficients $\sum_{k=0}^n (^n_k) = 2^n$

Question: Prove that the sum of the binomial coefficients for the nth power of $(x + y)$ is $2^n$.   i.e. the sum of the numbers in the $(n + 1)^{st}$ row of Pascal’s Triangle is $2^n$ i.e. prove $$\sum_{k=0}^n \binom nk = 2^n.$$ Hint: use induction and use Pascal's identity  What I have so far: $$p(n)= \sum^{n}_{k=0}{n\choose k} = 2^n$$ $$P(0)=\sum^{0}_{k=0}{0\choose k} = 2^0$$ LHS: ${0\choose k}=1$ RHS $2^0=1$  now of for the inductive step I am getting all tangled up in my terms. It seems like a silly thing to get confused on but every inductive proof I've done I do $P(n) =$ something to $P(1)$ then my inductive step is $P(k)$ and $P(k+1)$ but I don't think can use that terminology because those variables are in the problem. Also the two (i.e) are throwing me off, am i even setting it up right to begin with or am I missing something. How does $(x+y)^n$ even fit in to here, I know how it connects to pascals because I googled it but I don't understand how it fits into my inductive proof.  I need help getting on track form here. PS my professor is a stickler for set up so making sure I write it properly is a big part of it.


I've come across a design where each pad was connected using 4 'bridges' to the GND copper layar. What stands behind these 'bridges'? Why not make a full copper layer with only solder-mask defining the pads?


Open target.html page within SAME window following successful login

After inputting login details i would like the target.html page to load in the same window. Currently it loads in a new tab.

Login
     <form>
Username
       <input type="text" name="userid" placeholder="Enter Username">
Password
       <input type="password" name="pswrd" placeholder="Enter Password">       <input type="submit" onclick="check(this.form)" value="Login">      </form>


If horcruxes are destroyed what happens to the Maker?

In the 7th movie part 2 (I suppose in the books also) Voldemort "killed" Harry which lead to destroying one of the Horcruxes that was inside Harry. Harry survived the killing curse and the battle continued with Voldemort dying.   Now let's say Voldemort had succeeded in killing Harry and that lead to ending the war and Voldemort prevailing. Now the remaining Horcrux is Voldemorts snake.  Snakes have a finite lifespan.   Or let's say Neville killed Nagini after Harry's death and then Voldemort and the Death Eaters destroy everything and they prevail. The last Horcrux is also destroyed but there is no one to kill Voldemort.  Voldemort prevails but all the Horcruxes are destroyed. What would happen then? Would Voldemort age and die as well?  So basically, in many possible cases Voldemorts horcruxes could be destroyed while he won the war. What would happen then? He stayes alive and ages? Does he create new ones?(Does he have any soul left to do so?) or is he unkillable with time and only with magic?


\documentclass{article}: do not show date

My Latex code is:  \documentclass{article} \begin{document} \author{Author} \title{Title} \maketitle Document's text. \end{document}   The output is:   How can I not show the document's date?


A confusion on Radiations emitted from a body

Suppose an atom is accelerated...Now the protons in its nucleus and the electrons in the orbits are also accelerated...So will they emit the electromagnetic radiations? Basically here the electrons will get excited to the upper energy levels and when they will come back to their original levels they will emit radiations...but my confusion is will the protons also emit the radiations as they are also accelerated ?And when a body is at some non zero temperature its molecules are in random motion and during their oscillations they are accelerated and emit electromagnetic radiations...Do these radiations involve the radiations emitted by the accelerated protons or not?


Ubuntu server installation on Ubuntu deskop

Will the installation of Ubuntu server on a Ubuntu desktop deletes the existing files and documents?


Telnetting the Local port not working but trying the ip working

My application listens on port 8180.  When I am trying to connect to port 8180 locally. Connection got refused. But when I am trying to connect to port with ip . I am able to connect.  [root@MUMLGOMAPP002 ~]# telnet 10.209.129.54 8180 Trying 10.209.129.54... Connected to MUMLGOMAPP002 (10.209.129.54). Escape character is '^]'. ^] telnet> q Connection closed.   [root@MUMLGOMAPP002 ~]# telnet localhost 8180 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused   My interface is :  [root@MUMLGOMAPP002 ~]# ifconfig bond0     Link encap:Ethernet  HWaddr 44:1E:A1:73:F7:50           inet addr:10.209.129.54  Bcast:10.209.129.63  Mask:255.255.255.224           UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1           RX packets:322997568 errors:23 dropped:0 overruns:0 frame:0           TX packets:304470664 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0           RX bytes:213628580915 (198.9 GiB)  TX bytes:217449664400 (202.5 GiB)   I would like to know what is the difference between telnetting localhost and ip.


Why does my LAN file sharing speeds never go beyond my internet subscription download speed

I am fairly new to networking but I can understand its basics. I recently found out that my file copying over wireless LAN speed is low and specifically doesn't exceed my maximum download speed that I bought through my ISP.  To explain :  I have a home modem that has a 4MB plan, so my download speed never exceeds 400Kb/s. When I connect my Two computers or generally any two devices and try to copy a file from one to an other, that file transfer speed, though from a local machine to a local machine is also capped at 400Kb/s.  This can't be because my local network is not affected by my ISP in any way.  I must say that I didn't do any special configuring like create NATs or any static IPs/MACs.  A Second Point :   When I Upgraded my Plan to 20Mb/s, what I found is that the maximum speed for file transfer also jumped up to 2000Kb/s average. which does point an issue in my modem, I guess.  EDIT: To transfer I use FTP and HTTP file Download (basically make a file available over the network and download it from an other device via browser)  My question is : is this normal ? or is there a way to fix it ?, especially if I want to stream files from one device to an other and I need a higher transfer rate.


"Could not initialize supporting library" while playing videos through default player in ubuntu 14.04

I have upgraded to Ubuntu 14.04LTS from 13.10. Before upgrade sound was working fine, but after that its not working.Before trying below reference sound was working only through headphone but after below these  reference sound not working neither through headphone nor speakers(in-build). I tried solving from below reference link.    And i have attached logs for pulseaudio to the below reference link.    but after this sound icon always showing mute which was showing near battery icon, but when checked from system settings->sound->output volume its showing unmuted. I tried changing from mute to unmute from icon near battery icon but its not changing. And after playing videos its showing "An error occurred Could not initialize supporting library" error message is coming. Please suggest how to resolve this issue.


iOS app: Unable to log in with Google OpenID

Just got a new iPad Pro, installed the SE app and tried to log in using my Google OpenID. Getting this error every time (including deleting and reinstalling the app):    On the first try I go through the usual username / password / Google Authenticator 2FA entry, and on subsequent attempts, Google shows the account in a list which leads me to assume all is well at their end.


How do I install HP P1102W printer driver

Trying to install drivers for a HP P1100W on Ubuntu 12.04.  The printer was recognized as soon as I hooked it up.  I'm using the USB cable.  I followed the directions of this question    and I get the message that I now need the "HP-Plugin.   Also, how do I get rid of all the test prints that are still spooled?  There is no clear button.


Using QGIS 2.14.2 after installing qgis2web, the app doesn't appear in the plugin tab, even though all the files were successfully downloaded and verified in the python plugin directory. Other plugins I downloaded have installed just fine. Tried uninstall and install again, tried reinstalling, tried quitting and restarting qgis, still no app.


My tags are follows:  \documentclass{book} \usepackage{amsmath,amssymb}  \begin{document}  $\boldsymbol{\subsetneq}$  \end{document}   I got the symbol in roman only but I need in bold face, any suggestions...


Show that $\lim \sin(xy)/xy =1$ when $(x,y)$ tends to $(0,0)$

I have started by proving that $\lim \sin x/x =1$ when $x$ tends to zero, using trigonometric arguments. Now I should use these arguments to prove it with two variables, but I have to relate the magnitude of the vector $(x,y)$ to the product of its coordinates.


After update to 14.04, ncurses seems to have bugs (cursor still visible in petris)

I just upgraded to 14.04, and wanted to kill time by playing some petris. Then I noticed this:    The problem also exists in other terminals. Is there some option I can set to get the terminal to not show the cursor when it isn't supposed to? (I tried switching cursor style to I-beam, but then it constantly blinks, which is even more distracting.)


Prevent employees from using anything else but my proprietary application

I will be getting several mac minis for different branches that will have installed my software application which I need my employees to use. I need to make sure of the following:   When the computer starts for my application to be on in full screen mode For the user to not be able to exit the app For the user to not be able to start plugging in their personal usb sticks and try to hack/view movies on the computer - one solution would be to lock the computer away and expose only the touchscreen graphic display. I suppose if my application automatically covers the full screen then the user would not be able to go into the finder app and browse through their files.   Most elegant solution is preferable, as long as the solution gets the job done effectively without any round about ways to by pass this setup.


Are both options correct? If so, are there some subtle differences between those?  An increase of serotonin   An increase in serotonin  Thank you!


iPhones have a dedicated Voice Memos app. iPads don't, despite running the same OS and also featuring a built-in microphone.  Since the answer to 1 is probably "no", what current alternatives do people use?  (ideally free simple app that works the same way like Voice Memos on the iPhone)


HP Deskjet driver for Big Sur - OS X 11.0.1

I recently upgraded my MacBook Air from Catalina to Big Sur. Following the upgrade my ancient HP Deskjet F380 printer no longer works. When I try to use it I get various popups like this one  I've tried reinstalling the printer, and using HP Easy Start to install new drivers, but there doesn't seem to be any compatible drivers available. Is there any solution other than buying a new printer?


Proof that given 8x8 Mboard and 21 trominoes there will no overlap

Given an 8x8 Mboard ( top left piece missing), as given below in the image, and 21 trominoes, how can we proof that there exists a configuration where there will be no overlap after all trominoes are placed.    What I tried doing was - a 8x8 Mboard will have 63 squares, now $63 / 21 = 3$, ie. it is divisble. But recall a tromino is L-shaped, so just show that the total number of squares is divisble with the total number of trominoes really isnt telling much. I mean how do you account for the shape of the tromino in that case.  I actually manually plotted out a configuration but could only get up 20 trominoes to fit. I have no idea how 21 fits in, and how we can say that there will be no overlap.    The red squares are the squares that were blank. There are 3 of them, but how can we rearrange the configuration to included 21 trominoes. And more than that how can we say that there will be no overlap?


How To Remove "File ownership" In File Explorer on Windows 10

I am trying to remove the file ownership tab in Windows 10 File Explorer. I have unchecked this option in the View pane but after navigating back to the folder or any other folder it comes right back. Is there a registry hack that can be applied to permanently remove this tab? This is a domain joined machine however and File ownership may be re-appearing due to domain settings that need to be edited local using either gpedit or regedit. Administrator access is held on this machine also.  Similar issue:


Tp Players To a Certain Block When They First Spawn

On my Vanilla Minecraft server I want players to TPed to the center spawn block when they join I know that if you set the world spawn players will spawn within a 20 block radius of that point, I was thinking that if I hook up a command block to tp people within a 20 block radius to the center block I just don't know how to go about it. I need it to be compact because the spawn is a floating airship and I cant have it hanging into the passageway below. Thanks


How to access hard drive files from liveCD?

I don't know what files or file types are there on the hard drive nor do I know the file system in which the hard disk is written on. I am not able to view it in the home folder after booting from the liveCD.


Drop the chunks that doesn't equal to n parts

I suppose to split this sequence into a list of n=3. codons('agucaccgucautc') # result = ['agu','cac','cgu','cau'] # 'tc' is supposed to be ignored as it doesn't equal to n=3  I've tried the following solution; def codons(RNA):      """This functions returns a list of codons present in an RNA sequence"""      # store the length of string     length = len(RNA)      #divide the string in n equal parts     n = 3     temp = 0     chars = int(len(RNA)/3)      #stores the array of string     change = []      #check whether a string can be divided into n equal parts     for i in range(0, length, chars):         part = [RNA[i:i+3] for i in range(0, length, n)];         change.append(part);         return part          if (length % n != 0):             continue  But when I try to run the previous code again, it still returns 'tc' codons('agucaccgucautc') # result = ['agu', 'cac', 'cgu', 'cau', 'tc']  Can anybody help me what should I do to ignore any chars that not equal to n=3 or the last part 'tc'?


Diamond on moderator profile page is hidden if the site has a long name

On the moderator  there were a diamond alongside sites they are moderating.        It's hidden if the site name is too long. Is it a bug?


Or "How can I RegEx in reverse?"  specifically I want to take a regex such as wks[0-9][0-9][0-9]  and create a list such as wks001,wks002,wks003, etc  I know the easiest way in this example would be to simply increment the number through addition, but say I want it to be even more sophisticated later on such as [0-9abc] I'd like to use a more sophisticated tool.    preferable would be some windows capable scripting tech, such as vbscript/powershell but I'm open to other alternatives.  I guess I kind of thought this might be something that is done all the time by random number generators and such and would be a programming staple, but I lack the understanding to phrase it correctly I think.


Number of all possible splits in each node of trees in a Random Forest

The trees in a  Random Forest are grown by recursive splitting the nodes, and the best split in each node is obtained by using the Gini index, I want to know if there is a possibility to know the number of all possible split-cuts? For example by knowing the dimension of data and mtry ?


Sometimes I see them with methods, classes etc.  What does it do?  When should i use them? Example:  [Obsolete] public static void MyMethod() {     //some code }


How to create a copy of a file immediately when it's created?

I have an Android app that will create a file and immediately delete it. I want to know how can I catch this file or create a copy or even disable user permissions to delete a file. I have root access to the device.


"Obama is in town this weekend" or "Obama will be in town this weekend"

A friend of mine used the following phrase to tell me about Obama's visit to Malaysia this weekend (he told me this when it was not already the weekend):     Obama is in town this weekend.   This phrase confused me, because it goes against what I was taught in school. Or at least, I think so, I am not a native speaker.  At least in my mind, the following is correct:     Obama will be in town this weekend.   My friend, a native British English speaker, says that both are fine, but in his country people are more likely to use the first.  How is the first acceptable? Doesn't "is" mean that it is happening in the present?  Thank you.


iPhone 4 reset is taking a very long time

I'm passing my IPhone 4 on to my mother, and I wanted to reset it. So I went into settings -> general -> reset, and I picked the option to reset all settings and remove all the data. Now I'm seeing a screen with a spinner on it. How long can I expect this to take? At what point should I reboot the phone and try again?  I'm still running IOS 5.something on it, because I had jailbroken it, but according to most sites I'm reading, the jailbreak shouldn't affect the reset.


Lorentz transformation and symmetries of the Lagrangian

Since the Lagrangian of our quantum field theories is covariant under Lorentz transformations I'm asking myself if there is any link to some symmetries (like that we get from gauge transformations which also let the Lagrangian unchanged)?  So is it possible to apply Noether's theorem to this invariance or doesn't this makes any sense? So what is the mathematically difference between this two transformations and their behavior?


Protecting from sun when taking pictures

I've read that taking picture of the sun without protection is a recipe for trouble both for the lens and for the shooter's eyes...  I took this kind of picture this morning, do you think it's necessary to protect even on those kind of picture ?    If yes, what are the options available to me ?


Series about robots made of metal and plants, which are fought by a small group of humans

I watched a few episodes of this cartoon a few years ago. All I can remember about it are as follows:   there are these bad robots that are part metal, part plant the good guys travel to several planets in a sailing ship-like spaceship the main character (male) is looking for his father   Does anyone know what the name of this series is?


Single quote within double quotes and the Bash reference manual

In section 3.1.2.3  titled Double Quotes, the Bash manual says:      Enclosing characters in double quotes (‘"’) preserves the literal   value of all characters within the quotes, with the exception of ‘$’,   ‘`’, ‘\’, and, when history expansion is enabled, ‘!’.   At the moment I am concerned with the single quote(').  It's special meaning, described in the preceding section, section 3.1.2.2 is:     Enclosing characters in single quotes (') preserves the literal   value of each character within the quotes. A single quote may not   occur between single quotes, even when preceded by a backslash.   Combining the two expositions,    echo "'$a'"   where variable a is not defined (hence $a = null string), should print $a on the screen, as '', having it's special meaning inside, would shield $ from the special interpretation. Instead, it prints ''. Why so?


Let me redo this, I was accessing a sever via ssh, i can access the server easily from my system (the server is in my local network). I tried copying a file from my local system to my server and it failed due to an error (permission denied). And now I do not want to dig whats wrong and instead want to get that file(which is on my system) from my server directly to which I am ssh'd into.  Old questions: /* I am using scp as a root, tried all the things but unable to copy files from my system to the remote server (to which I am logged-in via ssh from the same system). Let say i want to get the files from my system while being on ssh'd server, how do i do it.*


Is there a word for someone who is a genius, or intelligent, but ignorant or blind to obvious things?

Is there a word for someone who is a genius, or intelligent, but ignorant of obvious things, in a none intention sense? A character flaw.  I think of Orwell's "doublethink", according to Wiktionary, the power of holding two contradictory beliefs in one's mind simultaneously, and accepting both of them, but that doesn't quiet do it. It is as if one does not ever discover their own ignorance, which would be required to pressure it!  I'm still searching.


Centos mysql version is 5.5 however PHPmyadmin still says version 5.1

When i run the following in my console:  [root@****~]# mysql -u root -p -e 'SELECT VERSION();' Enter password: +-----------+ | VERSION() | +-----------+ | 5.5.39    | +-----------+   Which should be the correct version.  However when i enter my PHPMYADMIN on my server it has the following specs:  Server: Localhost via UNIX socket Program: MySQL Programversion: 5.1.73 - Source distribution   So which version is the correct one and how do i make sure that the database is running on 5.5?  Note  I have already restarted sql several times without any changes


black artifacts when baking ambient occlusion

When I bake with the bake mode "ambient occlusion" it ends in a horrible result.      Anyone know the reason why this is happening?  PS: It worked yesterday. I just opened it today and the model was black, so I      hit bake again and it was then it happened.


One of my server computers shows a "broken pipe" message while I'm using SSH after 10 minutes even though I execute simulation program programmed with python3.5.   I tried    Editing sshd_config and ssh_config files Ignoring power-save mode Re-installing Ubuntu 16.04 Using tmux for the simulation.    In addition, after the disconnection between the server and local client, I tried tmux attach command but it didn't work.   The most weird thing is only the one server shows this symptom. Other server works well without any broken pipe message.   What should I do?


In the Starter Set, how can PCs learn the password?

In the D&D 5th starter set scenario(Lost mine of Phandelver), there's a part where players can repel skeletons by saying a password (p.22). However, I cannot find where & how players learn this password in the scenario. Could you enlighten me here please?  Spoiler Alert !! The following is the script from the scenario book.     The three skeletons are animated and attack any creature that comes within 10 feet of the door leading to area 5 or the door leading to area 6, unless that creature is wearing the scarlet cloak of the Redbrands or speaks the password "Illefarn" (the name of an ancient elven nation, which once spread across much of the Sword Coast)


Mathematical journal for an undergraduate

I want to make someone a present by subscribing for him to a mathematical journal. (It should appear every month or every two months). The contents should be comprehensible to an undergraduate in mathematics, and be about a broad selection of topics (for example not only analysis).   I expect the content to be something like proposing interesting problems and then giving solutions with some references for further study. Are there some famous journals you could suggest me?


Unabel To Change The Commerce Order Item Title

I Have Issue with Commerce cart  or Order Processing I don;t really. One of the my Module Invoke A Hook called "checkout_apigee_apigee_m10n_insufficient_balance_error_message_alter" Inside this I am Creating an Order with An Order Item, after that I am redirect the user to checkout flow step "payment" . Let Me Explain: I am Creating a Module To Redirect the User to Checkout under some Business Scenarios. Before Sending to Checkout. 1.I am Loading Already Exiting Product and 2.Creating a Commerce_Order_Item , Commerce_Order 3.and Then Redirect to Payment Step  For More Details U can see this Code Below:     <?php     $store_id = 1;                          $order_type = 'default';              $store = $entity_manager->getStorage('commerce_store')->load($store_id);     $product=$entity_manager->getStorage('commerce_product')->loadByProperties(['type' => 'custom_apigee']);     $product_object = array_values($product)[0];     $variations = $product_object->getVariations();     $variation_object =  array_values($variations)[0]; // 1.Create Order LIne Item for custom values for order like title and price override      $order_item=OrderItem::create([       'type' => 'default',       'purchased_entity' => $variation_object ,//(string)$product_variation,       'quantity' => 1,       'title' => 'Prepaid' ,//$productVariation->get('title')->value, // Overridden the Title       'unit_price' => new Price($cart_value, 'SAR'),       'overridden_unit_price' => TRUE,     ]);     $order_item->save();         // 2.Creating Order        $user = user_load_by_mail("abac@gmail.com");       $order = Order::create([       'type' => 'default',       'mail' => $user->getEmail(),       'uid' => $user->id(),       'store_id' => $store,       'order_items' => [$orderItem],       'placed' => \Drupal::time()->getCurrentTime(),     ]);     $order->save();         //Redirect the User to Payment Step      $response = new RedirectResponse(Url::fromRoute('commerce_checkout.form',[         'commerce_order' => $order->id(),         'step' => 'payment',       ])->toString());       $response->send();  My Issue : As You can see above the code while I Create a Commerce_order_item I am Overridden the Title of the Commerce Product And The Price . But after Redirecting in to checkout payment step My Title is still not Changed !! But the Price is changed in the checkout . Why it did not changed the Product Title? Hope Someone Can Help thanks Full Code Repo:


The title says it all. For what natural numbers $n$ does $2^n$ divide $3^n - 1$? By substituting values I can see that this happens for $n = 1, 2, 4$ but are there more? I am not able to prove/disprove.


How can I create a multivariate random normal distribution from separate normal distributions?

In R I can sample from a multivariate normal distribution as follows:  n         <- 100 # sample size mu        <- c(1, 5) # mean for each distribution            Va        <- c(0.2, 1) # variation for each distribution         CORa      <- 0 # correlation between the two                      Cova      <- CORa*(sqrt(Va[1])*Va[2])  # covariance between the two VCVmatrix <- matrix(c(Va[1], Cova, Cova, Va[2]), 2, 2) # variance-covariance matrix MVNData   <- mvrnorm(n, mu, VCVmatrix) # function for multivariate randome normal sampling        But I want to be able to replicate this without using the mvrnorm function (I've to create these data in a different language that doesn't have this function).  Someone at stackoverflow suggested this but it's not working out exactly right:  rho <- 0 dim1 <- rnorm(100, 1, 0.2) dim2 <- rho * dim1 + sqrt(1 - rho ^ 2) * rnorm(100, 5, 1)   If I compare the histograms of the distributions from the two methods, dim1 seems to have a much smaller variation than MVNData[,1].   hist(MVNData[,1], col='blue') hist(dim1, col='red',add=T)  hist(MVNData[,2], col='blue') hist(dim2, col='red',add=T)   Hope you can help.


Rear wheel keeps moving forward in frame no matter how hard I tighten the bolts. Any solutions?

This is occurring on my Avanti Discovery 8, which is a hybrid bike with an in-hub 8 speed.  Problem is I seem to be applying so much torque it's pulling the rear wheel forward in the frame, loosening the chain. I've tightened the rear nuts as hard as I can - to the point where the nuts got a little damaged (hex edges started to 'flatten' inside the spanner) - but the wheel keeps moving forward as soon as I go up a hill and apply pressure. You can even see the scrape marks where the nut and washer has been digging into the frame and being pulled forward.  Is there any solution to stop this?


Ring homomorphisms from $\Bbb Q$ into a ring

Let $A$ be a ring. I'm trying to prove that there is only one ring homomorphism (different from the zero one) from $\Bbb Q$ into $A$ or there are no ring homomorphisms between $\Bbb Q$ and $A$.    I have proven that if $A=\Bbb Z$ or $A=\Bbb R$ then there are no ring homomorphisms between $A$ and $\Bbb R$ (not taking into account the zero one) but I don't know how to prove it for any $A$.


Why does the following sentence is true? A square matrix $n \times n$ is an invertible matrix iff the rank of the matrix is $n$.


What counts as a "visual illusion" for a character that has Truesight?

Creatures with Truesight, have a number of benefits, one of which is that they     automatically detect visual illusions and succeed on saving throws   against them   How do you determine if a spell creates a visual illusion? Is it as simple as "If the illusion creates something that the target can see, it's visual" or is there a more specific rule?  For some context, this came up into play in our last session where a Wizard PC cast Mental Prison on an enemy with Truesight an we weren't exactly sure how to rule it at the time and decided to research it after the session was over.


Why don't planets radiate in orbit like a charged particle?

According to Maxell's Electromagnetic Wave theory, an accelerating charged particle radiates energy and this is one of the arguments due to which the Rutherford model of an atom(In which Rutherford compares electrons revolving around the nucleus to planets revolving around the sun) was rejected.    My question is that even though planets have zero nett charge they are still composed of electrically charged species and if the planet is under constant acceleration due to its revolution, aren't the constituent electrically charged particles of the planet under acceleration? Why don't we see planets emitting photons and spiralling into the sun?


I have a feeling that this question has been asked before, but I was wanting to know if anyone has installed Ubuntu on an SSD and have their /home folder on an HDD?  The reason I ask is I have a MacBook Pro that I recently upgraded to an SSD, I have my /Users folder on a separate hard drive from tips I have learned from watching YouTube videos.  I want to know if it can be done on Ubuntu as well, if it can, please provide easy to follow instructions for me to follow so when I get another SSD for a computer I built, I can do it and show my inner geek. LOL!  Remember, I want Ubuntu on the SSD and my /home folder on the HDD, this is NOT a dual-boot setup.  Stay Awesome and Always Believe


Thousands of requests with non-existent domains as HTTP_REFERER

For the last few days one of my websites has been receiving hundreds of requests per minute with non-existent random domains as HTTP_REFERER and from different IPs (therefore using deny from IP is not an option):  REMOTE_ADDR     | HTTP_REFERER    | HTTP_USER_AGENT 95.133.126.178  | 1dljlc2jm2.info | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; QihooBot 1.0 qihoobot@qihoo.net) 188.232.31.38   | 3r28169e6v4.net | Mozilla/5.0 (compatible; ShunixBot/1.x; http://www.7vlc8pngqk7zmx.com/bot.htm) 177.184.135.114 | 3p10jjujbn.ru   | Mozilla/5.0 (compatible; Bot; +http://w4n2e2mte8.ws/spamfilter 188.235.184.231 | 06d94hx.biz     | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; iRider 2.21.1108; FDM) 42.119.240.12   | ho0gg8r7.net    | Mozilla/3.0 (WorldGate Gazelle 3.5.1 build 11; FreeBSD2.2.8-STABLE) ...   Any ideas how to fight this, please?  UPDATE (after problem was successfully solved)  My question is not a duplicate for  because I knew "what is happening" (small DDoS attack) and therefore I have asked for the exact rules to be added to .htaccess to block attackers.  BTW, here  is suggested to contact hosting provider. I did, but my hosting provider (one of the most popular ones) proposed to buy a more expensive package with more resources included. :)  Froggiz's  was exactly what I was looking for.


Book about a boy who plays a video game that turns out to be a job interview

The plot goes like this: a boy goes to an arcade and plays a game with this girl. He is the pilot and she is the shooter. Somewhere in middle of the game they switch places. It turns out that the game was just a test to find someone to work for this company. They get recruited, and I do not remember what happens after that.  It is not Ender's Game.


Disable option greyed out, how to disable the app then?

(Click image to enlarge)    I am having a problem with the Play Store. I searched for a solution, it noted that we need to make sure our Download Manager is disabled. But the "Disable" button is greyed out.   What should I do?


I want to draw a table like this, but my code does not work

Here is my code.  \documentclass[12pt,a4paper,twoside]{memoir} \pagestyle{empty}% for cropping \usepackage{colortbl,multirow,hhline} \usepackage[raggedrightboxes]{ragged2e} \definecolor{c1}{rgb}{0.30980, 0.50588, 0.73725} \definecolor{c2}{rgb}{0.82353, 0.87843, 0.92941} \begin{document}  \begin{table}[H]   % added on 12172013 for caption and label \centering \caption{Table} \label{tb32b} \arrayrulecolor{white} \begin{tabular}{|p{4.5em}|p{10.8cm}|p{3em}|} \rowcolor{c1} \textcolor{white}{Measure}          & \textcolor{white}{Description}                                          &   \textcolor{white}{NO.}  \\ \hline   \rowcolor{c2} \multirow{2}{*}{Orientation-based}    &   The first orientation-based measure is the number of empty bins in the t.  &   $N_i$ is the number of detected      \\ \cline{2-2} & The second one is defined as the variance in  the orientations of points. & $N_i$ \\ \cline{2-2}   \end{tabular} \end{table} \end{document}


How to change hostname on Linux and make it appear on a network?

First, what is the correct way to change the hostname in Linux ? I followed some steps on the internet and sometimes it does not take effect. Besides, the new hostname does not appear when I ping my PC from another one on the same LAN. So how to change the host name and make it appear on the LAN ?


Is the oil thrown on a creature consumed when it's dealt fire damage and lit?

I had the idea of throwing oil flasks on enemies at level 1, then hitting them with a torch to deal a bunch of bonus fire damage.  PHB 152:     If the target takes any fire damage before the oil dries (after 1 minute), the target takes an additional 5 fire damage from the burning oil.   PHB 152:     If you make a melee attack with a burning torch and hit, it deals 1 fire damage.   A flat 6 fire damage is pretty potent at level 1, but does the oil remain or does it burn out in a flash when hit (since it has no damage over time) when hit?  If not there is potential for a dual torch wielding PC to throw down 12 fire damage per round, or for multiple PCs to deal 6 damage per torch per PC per round.


Server Hardware/Settings for high traffic

I'm currently using a virtual server.     2 vCores 8GB RAM Bandwith 100MBit/s Ubuntu 10.04   But still this seems to be not enough to handle the traffic on my site. Normally a page needs less than 0.2seconds to be generated, but when there are more visitors on the site at the same time, then it can also take sometimes more than 5 seconds.     MySQL Statistics (approximately): 1300 queries/sec 80   connections simultaneously CPU usage > 90 %   I have the possibility to upgrade to a better Virtual Server (4 vCores, 16GB RAM). Would this have much and visible effect on the performance? Or is there any setting I could change in the apache config files?  Please tell me if you need any further information besides from that.


“Yes” is absent in Windows 10 elevation dialog

When I try to do anything that needs elevated privileges in Windows 10 (such as run a program downloaded from Internet), I get the question  Do you want to allow this app to make changes to your PC?   but it has no yes option, only no button. This happened after I changed my account's type to user (it was administrator). However, for whatever reason, the laptop seems not to have any other administrator account, or it is not enabled. Commands like  net user administrator /active:yes   show the same dialog, without a yes button.  I tried substituting SETHC.EXE with CMD.EXE as  recommends, and five times pressing Shift really brings a command prompt, but it does not have admin rights: it runs under the same user account.  Anything else I can try?


Shortening GUI code by passing parameters to definitions

I have been working on a GUI code in wxpython that more or less repeats the same information 4 times. There are a lot of buttons on the screen that I have had to bind events to, and I'm finding that I have a lot of on_button_click definitions that look almost identical. So, I was wondering if there was a way to just pass through a parameter when binding the button to an event and cutting out 3 of the definitions. Here is an example:  self.VDBenchSlot1 = wx.Button(self, -1, "Slot 1 VDBench") sizer.Add(self.VDBenchSlot1,(1, 5), (1, 5), wx.EXPAND) self.VDBenchSlot1.Bind(wx.EVT_BUTTON, self.VDBenchSlot1_clicked)  self.VDBenchSlot2 = wx.Button(self, -1, "Slot 2 VDBench") sizer.Add(self.VDBenchSlot2,(1, 5), (1, 5), wx.EXPAND) self.VDBenchSlot2.Bind(wx.EVT_BUTTON, self.VDBenchSlot2_clicked)  self.VDBenchSlot3 = wx.Button(self, -1, "Slot 3 VDBench") sizer.Add(self.VDBenchSlot3,(1, 5), (1, 5), wx.EXPAND) self.VDBenchSlot3.Bind(wx.EVT_BUTTON, self.VDBenchSlot3_clicked)  self.VDBenchSlot4 = wx.Button(self, -1, "Slot 4 VDBench") sizer.Add(self.VDBenchSlot4,(1, 5), (1, 5), wx.EXPAND) self.VDBenchSlot4.Bind(wx.EVT_BUTTON, self.VDBenchSlot4_clicked)  def VDBenchSlot1_clicked(self, event):            global diskchange     if diskchange[1] == 'No Disk':         self.TextSlot1.AppendText("No Disk is currently in the slot so you cannot run this! \n")     else:           # Open the file startDisk#VD.sh that has the setup to start running VDBench         os.system("echo pcieRocks | sudo -S gnome-terminal --profile=VDbench --working-directory=/home/pciedev3ubuntu/Documents -e './vdbench -f disk%dVDscript.txt -vr' &" %diskchange[1])  def VDBenchSlot2_clicked(self, event):     global diskchange      if diskchange[2] == 'No Disk':         self.TextSlot2.AppendText("No Disk is currently in the slot so you cannot run this! \n")     else:            # Open the file startDisk#VD.sh that has the setup to start running VDBench         os.system("echo pcieRocks | sudo -S gnome-terminal --profile=VDbench --working-directory=/home/pciedev3ubuntu/Documents -e './vdbench -f disk%dVDscript.txt -vr' &" %diskchange[2])  def VDBenchSlot3_clicked(self, event):     global diskchange      if diskchange[3] == 'No Disk':         self.TextSlot3.AppendText("No Disk is currently in the slot so you cannot run this! \n")      else:            # Open the file startDisk#VD.sh that has the setup to start running VDBench         os.system("echo pcieRocks | sudo -S gnome-terminal --profile=VDbench --working-directory=/home/pciedev3ubuntu/Documents -e './vdbench -f disk%dVDscript.txt -vr' &" %diskchange[3])  def VDBenchSlot4_clicked(self, event):     global diskchange      if diskchange[4] == 'No Disk':         self.TextSlot4.AppendText("No Disk is currently in the slot so you cannot run this! \n")     else:            # Open the file startDisk#VD.sh that has the setup to start running VDBench         os.system("echo pcieRocks | sudo -S gnome-terminal --profile=VDbench --working-directory=/home/pciedev3ubuntu/Documents -e './vdbench -f disk%dVDscript.txt -vr' &" %diskchange[4])   I've tried changing VDBenchslotx_clicked to VDBenchslotx_clicked() and passing parameters to it, but one of two things happen; it tells me that the parameters entered do not match the parameters of the def, or it lets my program run but it automatically executes the def at program startup and not when the button is pressed, and the button then does not function properly.


Can you help me solve this series: $\sum_{k=0}^\infty p^kk$?

I have the infinite series: $$\sum_{k=0}^\infty p^kk$$ where $0<p<1$.  I can see from a computer calculation that the series converges to $\frac{p}{(1-p)^2}$, but I can't see why.  Thanks in advance for any help.


By the definition of a derivative, find the first derivative of $\sin^{-1} x$? Could anyone help me please


Have all Noether Charges been enumerated?

Noether's theorem states that every symmetry (of a Lagrangian) is associated with a conserved quantity. Is it possible to know whether or not all symmetries (of the Lagrangians we use) have been enumerated? Or is it possible that someone will discover a new one?


Law of large numbers for non-identically distributed Bernoulli random variables

Let $(X_n)$ be a succession of independent r.v., such that $X_n$ ~ $Bern(p_n)$. I know then that $\lim_{n \to \infty}p_n=p$ and $p_n>p>0$ for each $n \in \mathbb{N}$. I have to prove that  $\dfrac{X_1 + \dots + X_n}{n} \rightarrow p$   almost surely.  Intuitively, by the strong law of large numbers, I would say it is true. The problem is that the succession $p_n$ is not constant, so I do not know how to conclude in a formal way.  Thanks to who will solve my doubt.


I've tried a few different methods to change the options listed in the "font" drop-down in CKEditor, to no avail.  First off, I went to Config > CKEditor > Profiles > edit each profile > Advanced Options > Custom JavaScript configuration and followed the instructions below, putting something like  config.font_names = "Helvetica Neue;Helvetica;Arial;sans-serif;"   but nothing changed. I went into the config.js file located at sites\all\modules\ckeditor\ckeditor\ and added the following lines inside the function call:  config.font_names = "Helvetica/Helvetica Neue, Hevletica, Arial, sans-serif;"   but nothing changed. I then tried removing the prior line in Drupal's Configuration menu but that also didn't help. I've cleared my browser's cache and Drupal's cache, no luck. I've tried Firefox & Chrome, no luck.  Am I missing something or is this a bug? As a last resort, I could go directly into ckeditor\ckeditor_source\plugins\font\plugin.js and change the font_names listed there but the documentation I've read indicates my methods above should work, so I'm trying to avoid that.


How to remove a filter that is an anonymous object?

In my functions.php file I would like to remove the below filter, but I'm not sure how to do it since it's in a class. What should remove_filter() look like?  add_filter('comments_array',array( &$this, 'FbComments' ));   It's on line 88 .


How to interact with data piped to console application similar to the LESS program

I am trying to write a console program similar to "less", where I can pipe data in to it from the command line, and then interact with that data via the keyboard.  I am running in to the following exception: Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.  The suggested Console.Read appears to be reading from the pipe instead of the console, so that doesn't work for me.  I understand that I can not Console.ReadKey while Console.IsInputRedirected, but I believe there has to be some work around because programs such as less accomplishes the same goal.  Does anyone know how I can Console.ReadKey (or equivalent) when the standard input has been redirected?  I've already looked in to , but it doesn't appear to work. The call to AttachConsole returns false, and the console application terminates.


I am using Ubuntu 18.04. I installed a Mac OS theme, and I'm using the "Garuda" font, is it possible to apply it in the top bar?  I also want to change the font in the login and lockscreen, is it possible?


Hello I am a mathematician currently studying Data Science and I would like to ask for a book that can give me a variety of statistical tools for having more solid conclusions in my analysis of a problem.  For example, it would be useful to know ways to observe correlation between continuous random variables apart from Pearson's coefficient, or between a continuous random variable and a discrete one, etc. I'm also curious about different hypothesis tests that can be used to see if there are significant differences between the results that two algorithms give.  I'm looking for a practical approach that presents a wide variety of methods which I can later study more closely in another source if I'm interested in.


Determine the sum of the roots of any f'

Knowing that we have the polynomial $f(x)=a(x-1)(x-2)\dots(x-101)$ with $1,2,\dots101$ it's roots , how do I determine the sum of the roots of $f'$? Yesterday on one of my posts I got an idea of explication but I didn't understand it . Is there a specific formula? Here you can find in the comments the answer , but I don't know how he got to it  ... is the one with the sum equals to 5100


We have $r$ objects and $n$ boxes. I have to count all the combinations possible if the objects and boxes could be both different. If that happens I can count the number of variations from $n$ to $r$ (number of functions between objects and boxes). I mean, $n^r$.  But if I have to count all the combinations possible if anyone of the boxes is empty ($r\ge n$). Now I have to count the surjective functions.  For example if I have $r$ objects and 1 box. The number of surjective functions is 1. Then, if I have $r$ objects and 2 boxes, the number of surjective functions is $2^r-2$. And finally if I have $r$ objects and 3 boxes, I will count $3^r-2\cdot[3\cdot2^r-3]$. How do I get the formula for $r$ objects and $n$ boxes?


Potential at a point is the work done to bring unit charge from infinity to that point

work = force x displacement. Here displacement is infinity? so then potential at a point?


A related question is . Let $\Pi$ be a symmetric positive semidefinite projection i.e. $\Pi^2 = \Pi$ and $0\leq \Pi\leq I$ where the inequalities are meant in a positive semidefinite sense. Let $X$ and $A$ be arbitrary symmetric positive definite matrices. Is it true that $$\text{tr}(X\Pi A\Pi)\leq \text{tr}(XA)?$$ I think it's false but I'm unable to construct a counterexample.


When someone says "I'll make due" what does it mean?


As far as I know quantum physics and General relativity theory get along. So Why do some people claim that quantum physics and General relativity theory will never get along?  Mathematically, What is contradiction between quantum physics and General relativity theory?


Vector Software for Drawing and Diagramming

What software is available for Mac that is good for drawing cartoons and diagrams?  These are some features it should have:   Edit any component easily after drawing it.  Easily add and edit text anywhere.  Graphics Tablet support, preferably with a pressure-sensitive option.    Also it should be able to import/export:   Import other image formats, and ideally should be able to convert hand-drawn images into vector images. Export into png and svg formats, and for extra credit, export a clickable image map.     Extra Information: Omnigraffle looks good for diagramming (and can export clickable image maps), but it doesn't seem like its for drawing non-diagrams. EazyDraw looked like it might combine some graphing and drawing features, but I'm not sure how stable it is.     What software is there that has the above drawing features and can do some diagramming?


There exists a unique prime in the form of p^2 -1, p is just some integer with the restriction of p being greater than or equal to 2. Prove this.  I understand that I am first suppose show a prime p exists and that another p' exists then p=p'.But I am quite confused.


when i type www.google.com how does the dns lookup work. According to my knowledge it first goes to the root server and finds out where the .com dns server is. Next it returns the ip address of that server. Next from there is finds out where the google server is. Now it returns a ip address and that would be the place where www.google.com is found.  So to resolve this two dns look ups are needed. Correct me if iam wrong.


Inappropriate used and available space in lvm and disk free

I have a problem with used space and available disk space in lvm. Please see this results :  [root@localhost ~]# vgs   VG       #PV #LV #SN Attr   VSize VFree   VolGroup   3   3   0 wz--n- 6.78t 736.00m  [root@localhost ~]# pvs   PV         VG       Fmt  Attr PSize   PFree   /dev/sda2  VolGroup lvm2 a--u   3.50t      0   /dev/sdb1  VolGroup lvm2 a--u   2.50t      0   /dev/sdb2  VolGroup lvm2 a--u 798.72g 736.00m  [root@localhost ~]# lvs   LV      VG       Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert   lv_home VolGroup -wi-ao----  6.73t   lv_root VolGroup -wi-ao---- 50.00g   lv_swap VolGroup -wi-ao----  4.90g  [root@localhost ~]# df -h Filesystem            Size  Used Avail Use% Mounted on /dev/mapper/VolGroup-lv_root                        50G  2.5G   45G   6% / tmpfs                 4.9G     0  4.9G   0% /dev/shm /dev/sda1             477M   28M  425M   7% /boot /dev/mapper/VolGroup-lv_home                       6.7T  5.8T  531G  92% /home [root@localhost ~]# df -Th Filesystem           Type   Size  Used Avail Use% Mounted on /dev/mapper/VolGroup-lv_root                      ext4    50G  2.5G   45G   6% / tmpfs                tmpfs  4.9G     0  4.9G   0% /dev/shm /dev/sda1            ext4   477M   28M  425M   7% /boot /dev/mapper/VolGroup-lv_home                      ext4   6.7T  5.8T  529G  92% /home  [root@localhost ~]# arch x86_64   as you see I assigned about 6.7T to /home via lvm but I can't use more than 6.3T ( difference of Used and Avail in df ) space.  I would be glad if someone could help me. Thanks


Make ShellScript run with custom CLI command

I have a shell script i use frequently to manually clear the dentries, inodes and page cache in my RAM: ramflush.sh  #!/bin/bash echo " ██▀███   ▄▄▄       ███▄ ▄███▓   " echo "▓██ ▒ ██▒▒████▄    ▓██▒▀█▀ ██▒  _____ " echo "▓██ ░▄█ ▒▒██  ▀█▄  ▓██    ▓██░   |   | F" echo "▒██▀▀█▄  ░██▄▄▄▄██ ▒██    ▒██    |   |  L " echo "░██▓ ▒██▒ ▓█   ▓██▒▒██▒   ░██▒   |   |   U" echo "░ ▒▓ ░▒▓░ ▒▒   ▓▒█░░ ▒░   ░  ░   \___|    S       _" echo "  ░▒ ░ ▒░  ▒   ▒▒ ░░  ░      ░     ||  ____H__  -( (-" echo "  ░░   ░   ░   ▒   ░      ░        |_'(-------)  '-'" echo "   ░           ░  ░       ░           |       /" echo "___________VERSION 1.0______________,-\__..__|_____" echo " " read -p "[*] Do you have a need to flush?:    " yn case $yn in    [Yy]* ) ;;    [Nn]* ) echo "[X] Understood."; exit;;        * ) echo "[X] No input detected. Exiting."; exit;;  esac  echo " " echo " <=== OPTIONS ===>" echo " " echo "1. Clear RAM Page Cache." echo "2. Clear Dentries and Inodes." echo "3. Clear Page Cache, Dentries and Inodes." echo " " read -p "[*] Choose what to flush:    " ans  case $ans in    [1]* ) echo 1 > /proc/sys/vm/drop_caches; echo "[*] Cache Cleared.";;    [2]* ) echo 2 > /proc/sys/vm/drop_caches; printf "[*]Dentries Cleared.\n[*]Inodes Cleared.\n";;    [3]* ) echo 3 > /proc/sys/vm/drop_caches; printf "[*]Page Cache Cleared\n[*]Dentries Cleared.\n[*]Inodes Cleared.\n";;       * ) echo "[X] No input detected. Exiting."; exit;;  esac   However it gets tiresome constantly changing back to my home directory, then going in to a folder and calling the script. I also refuse to just do the commands manually because it defies the point to me having made the script.  Is there a way I can add this to my bash shell in order to be able to run the script from any directory simply by typing ramflush in order to call and run this script, similar to nmap or ping?  Would I have to add it to the package manager and how do I go about doing this?


Unable to set password for the MySQL "root" user, start: Job failed to start

┌───────────────────────Configuring mysql-server-5.5─────────────────────────┐      │ Unable to set password for the MySQL "root" user                           │      │                                                                            │      │ An error occurred while setting the password for the MySQL                 │      │ administrative user. This may have happened because the account already    │      │ has a password, or because of a communication problem with the MySQL       │      │ server.                                                                    │      │                                                                            │       │ You should check the account's password after the package installation.    │      │                                                                            │       │ Please read the /usr/share/doc/mysql-server-5.5/README.Debian file for     │       │ more information.                                                          │       │                                                                            │      │                                                                            │      ├────────────────────────────────────────────────────────────────────────────┤                                        │ < OK > │       └────────────────────────────────────────────────────────────────────────────┘ start: Job failed to start  invoke-rc.d: initscript mysql, action "start" failed.  dpkg: error processing package mysql-server-5.5 (--configure):  subprocess installed post-installation script returned error exit status 1  dpkg: dependency problems prevent configuration of mysql-server:  mysql-server depends on mysql-server-5.5; however:   Package mysql-server-5.5 is not configured yet.  dpkg: error processing package mysql-server (--configure):  dependency problems - leaving unconfigured  Processing triggers for libc-bin (2.19-0ubuntu6.6) ...  Processing triggers for ureadahead (0.100.0-16) ...  Errors were encountered while processing:  mysql-server-5.5  mysql-server  E: Sub-process /usr/bin/dpkg returned an error code (1)   I issued ps -e | grep mysqld after this but got no output.  I have tried everything below but the problem remains:  dpkg -S etc/mysql aptitude purge mysql-server --purge-unused sudo apt-get remove --purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autoclean sudo rm -rf /var/lib/mysql sudo rm -rf /etc/mysql sudo dpkg --configure -a sudo apt-get update    I tried this as well with no luck:  sudo apt-get purge mysql-server mysql-client mysql-common mysql-client-5.5 mysql-server-5.5  sudo dpkg -i mysql-5.6.13-debian6.0-i686.deb  sudo apt-get install mysql-server   How should I proceed?


Generating an RSA public key certificate (.pem) from only a modulus


macOS equivalent of Linux's /etc/fstab configuration file

In Linux, there's a configuration file /etc/fstab that lists the file systems (typically hard disk partitions) that are to be mounted at boot time.  macOS and Linux share the same UNIX linage. A file with the same name is not available in macOS, as apparent from the output shown below:  $ less /etc/fstab /etc/fstab: No such file or directory   What is the equivalent configuration file in macOS?


How do I factorize this thing? $x^4+x^2+1$ I tried to solve the integral $\int{\frac{1}{x^4+x^2+1}}$ and after trying some substitutions that did not work, I plugged the integral into an integral calculator and it turns out that $x^4+x^2+1$ can be written as $(x^2-x+1)(x^2+x+1)$ and at first I thought it was factorized using the formula $(a-b)(a+b) = a^2 - b^2$ where $a = x^2$ and $b = x+1$ but after trying that I realized it is wrong because $b = -(x-1)$ in the first parantheses and in the second $b = x+1$.  So what is the intuition behind this factorization?


How quickly is antibiotic resistance lost?

I would imagine the bacterial genome is highly conserved and limited in its space, but maybe I am wrong.  If you were to take a strain of antibiotic resistant bacteria and kept them isolated, but fed well and so forth, how long would it take for them to lose their resistance? A year? A decade? 100 years? 1000 years? At some point it seems like that trait would disappear, but I have no feeling for how long. Please support your answer with a relevant citation.  EDIT:  My purpose is simple: I am thinking about a strategy for dealing with antibiotic resistance. If we were to ban them across the entire world (could be impossible) how long would we need to wait before they would be usable again. If it was a matter of years, then we could almost do a rotation of existing antibiotics (if we had enough) because I would rather not live in post-antiobitic world.


What is the advantage of rolling shutters, if any?

I have read a lot about global and rolling shutters, and it seems from what I have read that the global shutter is better than the rolling shutters when it comes to moving objects. On the other side it seems that a lot of smartphone companies uses rolling shutters and I really don't understand why. What is the advantage of using rolling shutters, if any?


There are infinitely many subsequences of a bounded sequence $(a_n)_{n \geq 1}$ which are convergent.

Let $(a_n)_{n \geq 1}$ be a bounded sequence of real numbers. Then  There is a subsequence of $(a_n)_{n \geq 1}$ which is convergent.  There are infinitely many subsequences of $(a_n)_{n\geq 1}$ which are convergent.   My Attempt: If we take a term of the sequence and repeat it infinitely then it becomes a constant subsequence of a given sequence. So option 1 is trivially true. Note that the given sequence is not necessarily bounded. For 2, take a sequence {1,2,1,2,1,2,1,2...} Which is bounded. We see that there are three subsequences {1,1,1,1...}, {2,2,2,2,...}and{1,2,1,2,1,2,1,2,...} Out of which {1,1,1,1...}, {2,2,2,2,...} are convergent. These are not infinitely many. So option 2 discarded. But I have seen any where that option 2 is a result which is always true. Please clear my doubt giving some hints or proofs.


How old is the character SpongeBob SquarePants?

In the first SpongeBob SquarePants movie, SpongeBob stated that he has been employee of the month over 370 times. If you divide that by 12, that means he's been working at the Krusty Krab for over 30 years.   Let's not forget, SpongeBob was supposedly born on July 14, 1985. Today, that means he's in his 30's.   Additionally, he was supposedly 13 when he started working at the Krusty Krab.   With all these facts, the math kind of doesn't make sense.  If we stick with the theory that he started working at the Krusty Krab when he was 13, add 30+ years at the Krusty Krab and that means SpongeBob is in his 40's today.    So, how old is he?


My recipe calls for 1 packet active dry yeast. All I have is rapid rise instant yeast. How much instant yeast do I use in substitution?


Inheritance with different properties, how to write?

I have an Animal class with X properties and Tiger class with B properties. The Tiger class inherits from the Animal. When I create an instance of the tiger class, how I put the arguments of the Animal class?  Thanks :)  class Program     {         static void Main(string[] args)         {             Animal dogA = new Tiger()             dogA.Run();             Console.ReadLine();         }     }     class Animal     {         public int Age { get; set; }         public string Color { get; set; }         public float Speed { get; set; }          public Animal(int age, string color, float speed)         {             Age = age;             Color = color;             Speed = speed;         }         public virtual void Run()         {             float runSpeed = (-1 * Speed) + 100;             Console.WriteLine("I'm running at {0} kph", Speed);         }     }     class Tiger : Animal     {         public int Legs { get; set; }          public Tiger(int legs)         {             Legs = legs;         }         public override void Run()         {             double runSpeed = (Legs * Speed) / 2.5;             Console.WriteLine("I'm running at {0} kph", Speed);         }     }


How can other processes affect measurements made with `time`?

If I time a process using the time command, I get output for 'real', 'user', and 'sys'.  My understanding from  is that 'real' is wall time, whereas 'user' and 'sys' are process time.  Does this imply that 'user' and 'sys' will be unaffected by other processes? In other words, if the computer is under heavy load or light load from other processes, it may take more time on the wall clock ('real') to finish my process. But my process may have only required 5 seconds of running time, even though it was spread out over 20 seconds of real-world time.  Am I guaranteed that I'll be told '5 seconds user time' regardless of whatever else the system is doing?


How to use a link as footnote that has special characters inside?

I want to use the following footnote:  \footnote{http://msdn.microsoft.com/en-us/library/ee804826%28Surface.10%29.aspx}   But the problem is since there are % symbols in the link, it is recognized as a comment. How can I avoid that?


What are these memory strings? What do they do?

Recently, I dumped my memory strings (just because I could) using sudo cat /dev/mem | strings. Upon reviewing this dump, I noticed some very interesting things:  .symtab .strtab .shstrtab .note.gnu.build-id .rela.text .rela.init.text .rela.text.unlikely .rela.exit.text .rela__ksymtab .rela__ksymtab_gpl .rela__kcrctab .rela__kcrctab_gpl .rela.rodata .rodata.str1.8 .rela__mcount_loc .rodata.str1.1 .rela__bug_table .rela.smp_locks .modinfo __ksymtab_strings .rela__tracepoints_ptrs __tracepoints_strings __versions .rela.data .data.unlikely .rela__verbose .rela__jump_table .rela_ftrace_events .rela.ref.data .rela__tracepoints .rela.gnu.linkonce.t6   These lines all seem to be related in some way: they are all (very) near each other in the memory, they all have similar .<name> prefixes, and they all seem to refer to each other.  What would cause these strings to appear, and why?


How do I make Vim do normal (Bash-like) tab completion for file names?

When I'm opening a new file in Vim and I use tab completion, it completes the whole file name instead of doing the partial match like Bash does. Is there an option to make this file name tab completion work more like Bash?


How do you get Google to show wiki information about your site in the right side bar of the search results?

What I am referring to is say you search for . You can see on the sidebar of the results page all of the company's wiki information.  My current website does not show my company's wiki page. I am trying to figure out if there is a certain time limit for Google to show the wiki page or if some other validation is required for it to show that is documented?


How do I find all the different cases of convergence/divergence of this series?

Find if sum converges or diverges \begin{equation} \sum_{n=1}^{\infty}\frac{ 1}{n(\ln n)^p(\ln(\ln n)^q } \end{equation} I know how to answer the question if $q=1$ and $p=1$ (through integral comparison)  But I'm can't seem to solve other cases. Any tips?


I was recently asked to find  $$\liminf_{n->\infty} n|\sin(n)|.  n \in \mathbb{N}$$  I suspect that the answer is $0$, but I'm not quite sure how to prove it. I know that $\{ \sin(n) : n \in \mathbb{N}\}$ is dense on the real line, but from this fact is not easy to me to deduce that $\{ n\sin(n) : n \in \mathbb{N}\}$ is also dense. Maybe one can use this inequality $$n |\sin n| \le |n^2-nk\pi|$$  for every $n,k \in \mathbb{N}$ and prove that $|n^2-nk\pi|$ can be as small as desired, but that seems hard to me.


1 minus percentage: What is this called?

I'm trying to convert a percentage: The original percentage represents how bad the condition of a asset is (in other words, a high number is bad). I would like to convert the percentage to represent how good the condition of an asset is (in other words, a high number is good). To do this, I can simply subtract the original percentage from 1 to get the desired percentage. Example:  1 - 0.25 = 0.75  My question is: What is this called in mathematics? As far as I can tell, this is not the same thing as .


Transferring from Windows 10 to Ubuntu, 3 disks with NTFS filesystem and a new SSD with Ubuntu installed

On Windows 10 I had this setup. On the main disk I had the OS, on the second disk I had all my personal files mounted with first drive  (so if the OS breaks down I have my files safe), and on the third drive I had some large files, games and backups.   Since I now have switched to Ubuntu, I have Ubuntu with ext4 filesystem on my first drive, an SSD, but my other drives are still ntfs. Can I leave the other drives as ntfs or do I need to reformat them to a different file system? I can access the disks with no problem from Ubuntu. At a later date would like to transfer home to my second drive to have the same situation as before, so do I need to change the filesystem of the other three ntfs drives?


Is there any reference where Captain America's shield is made from stolen Wakanda vibranium?

In any version, is Captain America’s shield made with vibranium stolen from Wakanda? I saw this idea on Facebook and was curious about its veracity.


I am running macOS Sierra on a Macbook 2010. I followed the instructions at .  When I try to boot from the flash drive I get the following error message:  [   9.911831] Couldn't get size: 0x000000000000000e [   9.911867] MODSIGN: Couldn't get UEFI db list [   9.929086] Couldn't get size: 0x000000000000000e [   9.946311] Couldn't get size: 0x000000000000000e [  10.447589] nouveau 0000:04:00.0:bus:MMIO write of 0000807e FAULT at 100c1c   Does anyone have any suggestions?


How do I get the GRUB menu to show when starting my dual-boot system?

Recently I have installed Ubuntu 10.10 and selected a wrong option while installing it.   Now the problem is that my machine directly boots Ubuntu and even does not show me grub menu.  How do I install grub menu ?  And how do I add Windows Vista to the grub menu?  This is what I have tried.  sudo grub  > root (hd0,0)  > setup (hd0)  Error 17: Cannot mount selected partition   I don't know what's going wrong here and I am sure that I have not wiped out my windows partition.  Edit :   sudo update-grub  Generating grub.cfg ...   Found linux image: /boot/vmlinuz-2.6.35-22-generic   Found initrd image: /boot/initrd.img-2.6.35-22-generic   Found memtest86+ image: /boot/memtest86+.bin   ls: cannot access /media/BC54B2C654B282A6/boot   Boot: No such file or directory   done      sudo os-prober  ls: cannot access /media/BC54B2C654B282A6/boot   Boot: No such file or directory     Thanks.


I have problems with apt-get update once in a while. This error is shown sometimes I try to run this command:  sudo apt-get update E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?   What's going on? I'd like to know the problem and solve it. It's solved once I restart my pc though, but I would like to know what is this error. Thanks.


A Proposal for More Constructive Downvoting on Meta: Express Disagreement by Answering the Question

Downvoting legitimate questions on Meta because one disagrees with the question's premise has become a bit of a problem.     Question bans on users asking legitimate questions are a real possibility. Discussion can be suppressed.  Heavily downvoted questions fall off the front page, and no longer have any visibility.   If you disagree with the question or its premise, why not:   Vote on the question based on its clarity and usefulness.  That's how we do it on every other SE site. Express your disagreement in an answer explaining why you disagree, and allow your opinion to be voted/vetted by the community on its own merit.   You can still vote down questions that:   Do not demonstrate minimal research effort (close as duplicate of FAQ questions), or Are merely rants, or otherwise not constructive.   Feature requests are an exception.  Note recent change in :     Unlike normal Stack Exchange sites, Meta invites the community to   discuss, debate and propose changes to the way the community itself   behaves, as well as how the software itself works. On posts tagged   feature-request, voting indicates agreement or disagreement with the   proposed change rather than just the quality or usefulness of the post   itself.


Code:  SqlCeCommand addBookHistoryQuery = new SqlCeCommand("INSERT INTO rooms_history (room_id,[user],data_wynajecia,data_zwolnienia,id) VALUES (@room_id, @user, @data_wynajecia, @data_zwolnienia, @id)", connection);   Can anyone remind me what was doing [ ] with parameter? ([user])  Thanks.


Let's say we have the equation: $$x^y=y^x$$ what are the solutions when $x,y \in \Bbb Z$ for ${x}\ne{y}$..   The only one I have found is 2 and 4. There are infinite non-integer solutions but I am interested in the integer ones. Also you can find a new definition for $e$ from this equation $e=x^{\frac{y}{xln(y)}}$ and also $log_x(y)=\frac{y}{x}$


I'm currently working on a project which requires me to test the functionality of TTL logic gates by making use of diodes and resistors. To do so I must first place them on the breadboard and then calculate their voltage with an electronic tester.  However I lack the skills and knowledge required to accomplish the task, since I don't know how to set up a breadboard, therefore I'm not only asking for a scheme but also, possibly, for some pointers related to the subject, in order to gain some knowledge about it.   doesn't cover how breadboards are built from circuits since it lacks any sort of examples, and it doesn't address the main issue, which would be coming up with a scheme for the circuits.  The following are the circuits I must build on the breadboard:


use of I and me at the beginning of a sentence

Which one is correct:  I and my father are going to the market.  Me and my father are going to the market.


Setting environment variables in Linux using Bash

In tcsh, I have the following script working:  #!/bin/tcsh setenv X_ROOT /some/specified/path  setenv XDB    ${X_ROOT}/db setenv PATH   ${X_ROOT}/bin:${PATH}  xrun -d xdb1 -i $1 > $2   What is the equivalent to the tcsh setenv function in Bash?   Is there a direct analog? The environment variables are for locating the executable.


What does Yoda mean by “Remember your failure at the cave!”

At approximately 1:23:55 in Star Wars V: The Empire Strikes Back, Yoda is trying to convince Luke to stay and continue his training, and then implores Luke to     Remember your failure at the cave!   The exact script quote is . Which failure is he referring to?  From my understanding, Luke killed a "fake" Vader in the cave, and then sees his own face behind Vader's helmet.  The fact that he missed that this Vader was not the real one could be interpreted as a failure for a Jedi as he did not stay calm enough to detect the real danger.  Is this correct?


I'm using oracle plsql and I have a question. I have table of Tests and Table of Schools.   How can I make a query that will put null or some other by my demands?   I mean, to put null or some numeric number in the execution.


I want to start a programm with timeout, how can I kill the process using SIGINT and SIGKILL? If the programm not terminate within 5 seconds, send SIGINT. If it’s still running after 10 seconds (in total), send SIGKILL.  I already did timeout -s SIGINT nano; timeout -s SIGKILL nano but its not working, can somebody help me?


LastPass Sesame (Ubuntu/Debian) does not work after update to Wily Werewolf 15.10

LastPass Sesame (Ubuntu/Debian) Sesame was working normally before the new Ubuntu update 15.10. However, now I get this error when I try to execute the command.  John@John's-PC:/media/crypt1$ ./sesame_x64 ./sesame_x64: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory  So, I did a clean install following the instruction below.   Right-click the download button and choose 'Save Link As' Extract the tar.bz2 file Run 'sudo apt-get install ca-certificates libssl0.9.8' to update necessary packages   When I run the sudo apt-get install ca-certificates libssl0.9.8, I get this message:Reading package lists... Done Building dependency tree Reading state information... Done Package libssl0.9.8 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension E: Package 'libssl0.9.8' has no installation candidate Anyone know how to fix this problem?   Thanks so much!


How can I hide photo "likes" on Facebook?

I want to like a picture of someone else on Facebook, but I do not want friends to see that on the news feed.  Is is possible to change the settings in "who can see your future posts"? Does that also include the photo likes?


1 mile of elevation gain over 20 miles. This takes me 4 hours. It takes the pros 1.5 hours.  We're riding at roughly the same cadence (if anything I'm a bit faster), but they're turning over a much heavier gear.  (I know these things because I did this route on the day of a race)  I'm on a repurposed mountain bike, so I have a proper granny gear.  If I want to get faster at this climb, should I ride at the cadence that feels right (granny gear), or should I limit myself to using my middle ring of my triple, closer to the gear that the pros use?  (Not sure if this changes anything, but my bike weighs about 35 pounds, 20 more than a race-grade road bike)


How to know if you are using Ubuntu or Debian?

I know Ubuntu is based on Debian but I would like to find out if I am running debian or ubuntu.  Uname:  uname -a   Result:Linux test 2.6.18.8-x86_64-linode10 #1 SMP Tue Nov 10 16:29:17 UTC 2009 x86_64 GNU/Linux  Version:  cat /proc/version   Result:Linux version 2.6.18.8-x86_64-linode10 (root@build.linode.com) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #1 SMP Tue Nov 10 16:29:17 UTC 2009  Lsb-release:  lsb_release -a   Result:  Distributor ID: Debian Description:    Debian GNU/Linux 5.0.10 (lenny) Release:        5.0.10 Codename:       lenny   So What is it Debian or ubuntu?  UPDATE:  cat /etc/issue:   Result:  Debian GNU/Linux 5.0 (So I can conclusively say it is debian)


What does the following expression does: x = (a1,a2,...,n);

I was reading  about sequence points and I saw this line:     i = (i, ++i, 1) + 1; // well defined (AFAIK)   I was wondering how is the following syntax called and what are its effects?  i = (a1, a2, ...,an);


Virtual Machine does not start an more on Ubuntu 16.04

Since weeks, my Virtual machine does not start anymore, even after numerous updates. I get this error message:  RTR3InitEx failed with rc=-1912 (rc=-1912) The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing '/sbin/vboxconfig'  may correct this. Make sure that you are not mixing builds of VirtualBox from different sources. where: supR3HardenedMainInitRuntime   what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912)        - The installed support driver doesn't match the version of the user.   When I try this, A window pops up a thousand times asking me to "legitimize" by putting in my password, but that does not help. Here is what comes up in the Terminal window: ich@ThinkPad-Edge:~$ /sbin/vboxconfig rm: das Entfernen von '/sbin/rcvboxdrv' ist nicht möglich: Keine Berechtigung ln: Die symbolische Verknüpfung '/sbin/rcvboxdrv' konnte nicht angelegt werden: Die Datei existiert bereits /sbin/vboxconfig: 154: /sbin/vboxconfig: cannot create /lib/systemd/system/vboxdrv.service: Permission denied rm: das Entfernen von '/sbin/rcvboxballoonctrl-service' ist nicht möglich: Keine Berechtigung ln: Die symbolische Verknüpfung '/sbin/rcvboxballoonctrl-service' konnte nicht angelegt werden: Die Datei existiert bereits /sbin/vboxconfig: 154: /sbin/vboxconfig: cannot create /lib/systemd/system/vboxballoonctrl-service.service: Permission denied rm: das Entfernen von '/sbin/rcvboxautostart-service' ist nicht möglich: Keine Berechtigung ln: Die symbolische Verknüpfung '/sbin/rcvboxautostart-service' konnte nicht angelegt werden: Die Datei existiert bereits /sbin/vboxconfig: 154: /sbin/vboxconfig: cannot create /lib/systemd/system/vboxautostart-service.service: Permission denied rm: das Entfernen von '/sbin/rcvboxweb-service' ist nicht möglich: Keine Berechtigung ln: Die symbolische Verknüpfung '/sbin/rcvboxweb-service' konnte nicht angelegt werden: Die Datei existiert bereits /sbin/vboxconfig: 154: /sbin/vboxconfig: cannot create /lib/systemd/system/vboxweb-service.service: Permission denied  (Basically it's mostly rm failing to remove a file followed by ln failing to recreate a symbolic link with that name because it still/already exists) What can I do now?


How does one Stack Exchange site know that I'm logged in to the other?

Here's what I did:   Completely cleared my browser of all cookies Open a new browser window in Incognito mode Navigate to askubuntu.com and log in Open a new tab and navigate to stackoverflow.com   On its first response, Stack Overflow responds with my user profile photo already populated and my notifications in place!  How did Stack Overflow know that I was logged in to the network? Any cookies set by Ask Ubuntu should not have been accessible (from what I understand) to Stack Overflow – a different domain!  Note: This is not a duplicate of "", which is a progress update that does not go into specifics at all. I am looking at least for a bare bones technical explanation.


LaTeX offers 10pt or 11pt, but many books are published using 10.5 pt. Is there any way of getting 10.5 pt in LaTeX?


Is there a way to take a technical article in PDF format (which typically contains latex formulas) and convert it into an epub format?  I wouldn't have access to the original latex files themselves, just the PDF.


How can I get a copy of a user-added image iOS is using for the wallpaper?

I thought I saw this question answered before but I'm just not seeing it now. If I can't access the file itself I know I can get a screenshot and crop out a little bit but I'd like the whole image if it is possible.   I looked in Photos but didn't see it, and I looked a bit in the wallpaper preferences and didn't notice anything that would help.   I'm looking at a friend's iPad with iOS 7 and I'd like to get this wallpaper image before updating.


Is there way to put hard space after defined words?

In Polish typography, one should avoid putting prepositions at the end of the line. Example: Nie wiedziałem, że nie umieszcza się przyimków na końcu strony. - bad Nie wiedziałem, że nie umieszcza się przyimków na końcu strony. - good    Can I force LaTeX to put ~ after every word that is a preposition (e.g. w, z, na, o etc...) so I don't need to put them manually?


Has a metric formulation of electromagnetism ever been attempted?

I understand that electromagnetic fields carry energy, and this energy curves spacetime gravitationally.  That's not my question.  I'm asking if anyone has tried to formulate electromagnetism in such a way that EM charges impart an EM geometry onto spacetime that is only experienced by EM charges.  That is, the EM geometry of spacetime would be a function of charges such that charges themselves produce EM curvature and the motion of charges produces EM torsion, and that charged objects move according to how their charge (electrical or magnetic, positive (N) or negative (S)) experiences that geometry.  For example, a positive electric charge would appear as a "hill" to other pe charges, a "valley" to ne charges, and either a left or a right hand "whirpool" to either nm or sm charges (I'm not immediately sure which would match with which) if it had some velocity.  This formulation would be directly analogous to how energy creates gravitational curvature in spacetime (and if one accepts Einstein-Cartan, gravitational torsion comes from intrinsic angular momentum), and then this resulting geometry is experienced by the energy in that region.  If Einstein is correct about gravity, would it be too much of a stretch to suppose separate metric functions for each of the fundamental forces, considering that they were a single force moments after the big bang?  I'm not currently concerned with the quantum mechanical approach to electromagnetism.  I understand that to be truly fundamental, EM has to be formulated quantum mechanically, but right now I want to limit my question to macroscopic charged objects.


Is there no solution to the blue-eyed islander puzzle?

Text below copied from       The Blue-Eyed Islander problem is one of my favorites. You can read   about it  on Terry Tao's website, along with some discussion.   I'll copy the problem here as well.      There is an island upon which a tribe resides. The tribe consists of   1000 people, with various eye colours. Yet, their religion forbids   them to know their own eye color, or even to discuss the topic; thus,   each resident can (and does) see the eye colors of all other   residents, but has no way of discovering his or her own (there are no   reflective surfaces). If a tribesperson does discover his or her own   eye color, then their religion compels them to commit ritual suicide   at noon the following day in the village square for all to witness.   All the tribespeople are highly logical and devout, and they all know   that each other is also highly logical and devout (and they all know   that they all know that each other is highly logical and devout, and   so forth).      [For the purposes of this logic puzzle, "highly logical" means that   any conclusion that can logically deduced from the information and   observations available to an islander, will automatically be known to   that islander.]      Of the 1000 islanders, it turns out that 100 of them have blue eyes   and 900 of them have brown eyes, although the islanders are not   initially aware of these statistics (each of them can of course only   see 999 of the 1000 tribespeople).      One day, a blue-eyed foreigner visits to the island and wins the   complete trust of the tribe.      One evening, he addresses the entire tribe to thank them for their   hospitality.      However, not knowing the customs, the foreigner makes the mistake of   mentioning eye color in his address, remarking “how unusual it is to   see another blue-eyed person like myself in this region of the world”.      What effect, if anything, does this faux pas have on the tribe?   The possible options are   Argument 1. The foreigner has no effect, because his comments do not tell the tribe anything that they do not already know (everyone in the tribe can already see that there are several blue-eyed people in their tribe).   Argument 2. 100 days after the address, all the blue eyed people commit suicide. This is proven as a special case of  Proposition. Suppose that the tribe had $n$ blue-eyed people for some positive integer $n$. Then $n$ days after the traveller’s address, all $n$ blue-eyed people commit suicide.  Proof: We induct on $n$. When $n=1$, the single blue-eyed person realizes that the traveler is referring to him or her, and thus commits suicide on the next day. Now suppose inductively that $n$ is larger than $1$. Each blue-eyed person will reason as follows: “If I am not blue-eyed, then there will only be $n-1$ blue-eyed people on this island, and so they will all commit suicide $n-1$ days after the traveler’s address”. But when $n-1$ days pass, none of the blue-eyed people do so (because at that stage they have no evidence that they themselves are blue-eyed). After nobody commits suicide on the $(n-1)^{st}$ day, each of the blue eyed people then realizes that they themselves must have blue eyes, and will then commit suicide on the $n^{th}$ day.     It seems like no-one has found a suitable answer to this puzzle, which seems to be, "which argument is valid?"   My question is...  Is there no solution to this puzzle?


I'm looking to join the field of statistics and more exactly to forecasting. I'm a software developer and I just started playing with R.  Can you recommend me some tutorials related to forecasting, but something which beginners can handle. It will be great also to read and try some forecasting related problems in which the input data needs some cleaning.


Resource file not found in jar but present when opening in winrar

I want to read a json file in my java application which uses gradle. When I run the application in Intellij and gradle run it works fine, but when I do gradle dist and run that jar it throws a FileNotFound. If I open the jar with winrar I see the file in the correct directory.  I have tried getting the file in all ways I could find, some are:  new FileReader("data/user-data.json"); new FileReader(new File(getClass().getResource("data/user-data.json").getFile())); new BufferedReader(new InputStreamReader(getClass().getResourceAsStream("data/user-data.json")));   and lots more.  Can anyone help me? Let me know if you need more information.


My primary partition is running out of space (/dev/sda1). The main partition (/dev/sda) having much more free space. I want to transfer space from (/dev/sda) and extend to (/dev/sda1) partition which is my primary partition and have all linux boot, kernel etc files.   sudo fdisk -l Disk /dev/sda: 204.8 GB, 204803670016 bytes,400007168 sectors  Units = sectors of 1 * 512 = 512 bytes  Sector size(logical/physical): 512 bytes / 512 bytes I/O size(minimum/optimal): 512 bytes / 512 bytes  Device Boot      Start         End      Blocks   Id  System /dev/sda1            2048   199997439    99997696     Linux


I have Dual Boot Windows xp and Ubuntu . I have Net Protector Antivirus in Windows but I can't open it in ubuntu through Wine. Please give me solution.   Thanks in Advance.


Alternating sum of binomial coefficients $1 - \binom{n}{2} + \binom{n}{4} - \binom{n}{6} + ...$

I want to find the sum: $1 - \binom{n}{2} + \binom{n}{4} - \binom{n}{6} + ...$  but i'm not entirely sure where to start. I know that alternating sums of binomial coefficients is zero, but don't know if that will help at the moment.  Any ideas?


I'm using ubuntu 18.04 and if I download QGIS 2.18 and I try to run it, I get this:  libpng warning: Application jmp_buf size changed Segmentation fault (core dumped)   If I try with QGIS 3.2, the error is:   libpng warning: Application was compiled with png.h from libpng-1.6.34 libpng warning: Application  is  running with png.c from libpng-1.2.56 libpng error: Incompatible libpng version in application and library   So it's clear that the problem is with libpng.   I purged libpng-dev and reinstall again but nothing changed.   I tried to purge libpng16-16 but I get:  sudo apt purge libpng16-16 Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  libgdk-pixbuf2.0-0 : Depends: libpng16-16 (>= 1.6.2-1) but it is not going to be installed                       Recommends: libgdk-pixbuf2.0-bin  libgtk-3-0 : Depends: libcairo-gobject2 (>= 1.10.0) but it is not going to be installed               Depends: libcairo2 (>= 1.14.0) but it is not going to be installed               Depends: libfontconfig1 (>= 2.12) but it is not going to be installed               Depends: libpango-1.0-0 (>= 1.40.5) but it is not going to be installed               Depends: libpangocairo-1.0-0 (>= 1.40.5) but it is not going to be installed               Depends: libpangoft2-1.0-0 (>= 1.40.5) but it is not going to be installed               Depends: adwaita-icon-theme               Recommends: libgtk-3-bin E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   and then:  ~$ sudo apt install libgdk-pixbuf2.0-bin libgtk-3-bin Reading package lists... Done Building dependency tree        Reading state information... Done libgdk-pixbuf2.0-bin is already the newest version (2.36.11-2). libgtk-3-bin is already the newest version (3.22.30-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ~$ sudo apt install libgtk-3-0 libgdk-pixbuf2.0-0 Reading package lists... Done Building dependency tree        Reading state information... Done libgdk-pixbuf2.0-0 is already the newest version (2.36.11-2). libgtk-3-0 is already the newest version (3.22.30-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   At this point I'm afraid of breaking something if I continue trying things, so I come here for advice before.  I deleted and reinstalled ubuntu. I installed first thing qgis and it was working. Afterwards I compiled gdal, from source to have it from python as stand alone. It might be this, but I had done this previously without any problems.


What happens when I add a tag which doesn't exist to my favorite tags?

I notice that I can add a tag which doesn't exist on Stack Overflow to my favorite tags. What happens when I do this? Does it mean I have created a new tag? But I don't have the privilege to create a new tag.


Do accepted answers turn green only on MathOverflow?

, the accepted answer has a green background, I don't think I've ever seen that before on any Stack Exchange website, does it happen only on MathOverflow?


PHP basic arithmetic + type conversion floatval intval

I dont get it!  $a = intval("-945"); $b = floatval('9.45')*100; $c = $a + $b;  var_dump($a); var_dump($b); var_dump($c);   $a = intval("-355"); $b = floatval('3.55')*100; $c = $a + $b;  var_dump($a); var_dump($b); var_dump($c);    Results:   int(-945) float(945) float(-1.1368683772162E-13) int(-355) float(355) float(0)  Why not both c=0? Any ideas?


How to create a for loop to generate a range of 1110 values?

I have a density (dens) array of 156510 values which comes from 141 files with 1110 values in each (141*1110=156510). These files were all combined, but I need to generate a for loop to separate each file of range 1110. Below is what I want the for loop to do, so I don't have to keep doing this manually if more files are added. What would I need to do to the for loop to get this proper separation as I have listed below? dens_1 = dens[0:1109] dens_2 = dens[1110:2219] dens_3 = dens[2220:3329] dens_4 = dens[3330:4439] ... dens_140 = dens[154290:155399] dens_141 = dens[155400:156509]


I'm creating a simple flowchart using Tikz, and I'd really like the "decision" nodes to be lozenge-shaped (think "tilted parallelogram") rather than square, in order to fit text better.      Here's a minimal example, which is only the top part of the flow-chart and so doesn't illustrate the worst of the node in terms of text fit, but does show what I've got as opposed to what I would like, which is the "decision" node shape here:     \documentclass[a4paper]{article}  \usepackage{amsmath}  \usepackage{tikz} \usetikzlibrary{positioning} \usetikzlibrary{shapes.geometric} \usetikzlibrary{arrows,automata}  % Define block styles \tikzstyle{decision} = [diamond, draw, text width=10em, text badly centered, node distance=3cm, inner sep=0pt] \tikzstyle{line} = [draw, -latex'] \tikzstyle{cloud} = [draw, ellipse, node distance=3cm]  \begin{document}  \begin{figure} \begin{center} \begin{tikzpicture} % Nodes   \node[cloud] (a) {$p_n$ is proposed.};   \node[decision, below of=a] (b) {Has a positum $\phi$ been admitted?};   \node[decision, below left of=b] (c) {Is $p_n$ true?};   \node[cloud, below right of=b] (g) {Nothing happens.};  % Edges   \path [line] (a) -- (b);   \path [line] (b) -- node {no}(g);   \path [line] (b) -- node {yes}(c); \end{tikzpicture} \end{center} \end{figure}  \end{document}