Is there a way to disable access to certain Settings components?

The Settings app is common to all Android devices, some have more features than others, but most of them are common, such as "Wireless and networks", "Sound", "Screen" and so on.  However, I am faced with the desire of disabling access to some of these components, while keeping access to some others. Using apps such as "SmartAppProtector", I am able to lock access to the entire Settings application, but can't configure access on a deeper level.  Is there a way to do so? How can I, for example, enable access to the "Wireless and networks" component and disable access to the "Screen" component?  Rooting is no problem, thank you.


Integral from $0$ to $\infty$ of $\ln(x)/e^x$

Show  $$\int_0^\infty \frac{\ln(x)}{e^x} = -\gamma$$ (gamma is Euler-Mascheroni constant).  Can anyone please prove this result?  Also  $$ \int_0^\infty \frac{\left( \ln(x) \right)^2}{e^x}\mathrm dx. $$


How do you log the machine name via log4net?

I am using Log4Net with the AdoNetAppender to log messages from a simple systray application into a SQL Server 2005 database.  I want to log the machine name along with the log message because this application will be running on multiple machines and I need to know on which one the message originated.  But, I cannot find a way to expose this information via the log4net.Layout.PatternLayout that I am using with the appender.  Is there a way to log the machine name via log4net in this manner?


I have two computers connected via LAN network , one of them has internet connection , How can I access the internet from the another computer using the connection in the first one ?  Both computers are running on windows 7 os. the first one has wired modem connection.


Need to migrate server from old version to latest version

I need to migrate ubuntu server from 10.04 to 19.04 . Please help me with the procedure. It was a Virtual server in Vcenter.


Block questions where the body is the same as the title

UPDATE: It looks that the requested feature is already in place...the body of the post that triggered this request originaly wasn't the same as the title, this was caused by an edit (I included the details at the bottom)    As I understand, only title questions aren't allowed on SE because we want questions descriptions longer than what can be included in the title and that a good title summarizes the content of the question body, not to repeat it textually, and there is no value added on having the same content both on the title and the body (I'm not talking about including the title in the body but about including the title in the body and nothing else). I think that this might be implemented as an opt-in feature that the CM should be able to turn on/off on existing sites and on new sites during the alpha/beta stage this setting might be discussed on their respective Meta.  The current Ask page has three stages:  Welcome modal shown only to new askers Drafting a question Reviewing with / without errors  The "block" might be implemented by highlingithing in red the body box and showing a text like the following: Body should be used to provide details and any research   Image taken from "The new ask page is now live ..." announcement  I  a query found  to help me to find the case that triggered this request.  Orinaly the question body wasn't the same as the title, that was result from a edit. I didn't reviewed yet the older cases.  Related


Batch "resize" JPEG images to a fixed file size

Changing quality of the JPEG when saving an image, changes the file size. For eg. I have the following image. Dimension: 243px x 53 px Quality:100% File Size:9.7kb Background:      If I edit the image, keeping the dimensions and Quality same, the file size still falls to 6.1kb.      Problem: I am using Fotoresizer, which has a batch Quality change option, but due to the above problem, you cannot predict file size from quality alone. So when I batch change quality of a set of 200px x 300px images set at 20% quality, some files will turn out at 6kb, whereas others will turn out at 15kb, when the file size I want is 10kb.  Is there any program or programmable solution, which lets me save all files in a range of 10-11kb, without me manually changing the quality slider to change file size each time.


I have 2 disks: one with Windows and second split into 2 partitions, on one I have Ubuntu and on the second one I have some more space for Windows' files. I've accidentally deleted all Windows' files: both from disk with main system and partition from other and I want to recover them. Using this:  I found out that all or most of the files are still there and I can recover them (well, I haven't written anything on them after deletion so it should be this way I guess), but I wonder if I could recover whole Windows. It would be nice as I don't have Windows key at the moment and need Windows a bit. After some research I've found TestDisk, but I'm not sure if I can recover it with this and how.


Search SVN File's History for Particular String

This is probably basic, but I have not been with SVN for long and am wondering how to do it.   Suppose I have a line of text, say, Hello world!  I would like to search a particular file's history in my SVN repository to see when that line disappeared from there.   What is an efficient way to do that? A command line operation should work. However, something via ViewVC is also an option.  Much appreciated.


Let's say I run a lot of univariate OLS regression models, say 200,000, with 50 data points, then cherry pick the best one (highest r-square). If my $p$-value for this model is way less than 1/200,000, do my results still have any explanatory power?  The probability of getting this result when there is no relationship between the variables was extremely low, even running 200,000 instances of it, correct?  I'm generally interested in rules on how/when cherry-picking can still make sense.


Why is Ubuntu 18.04 using Kernel 4.15 although that's not an LTS-Kernel?  Since 18.04 is supported for at least 5 years that seems like a strange choice.


I want to find in visual studio (C#) in WPF all the occurrences of the pattern:  Content="  and after the " I want to find only the occurrences that do not continue with {  for example:  I want to find: Content="This is a button"  I do not want to find: Content="{StaticResource ThisIsAButton}"  I am very bad at regular expression.  Any Idea ? Thanks


What is the best AntiVirus application available for non-technical users?

I am looking for an AntiVirus for Ubuntu, and have researched potential products. I do not want a paid product, but i do want a user friendly interface.  I do not want rants about how unnecessary it is on Ubuntu.  My considerations are:    (Free with Registration, 27.7MB)  (Free, 138MB)  (Free, 54.46MB)  (Free with Registration, 27.7MB)  (Open-Source, Free, 45.8MB)   My concerns are:   Ease of Scan Ease of Update Ease of Schedule Detection Rates   Which, if any, come with good GUIs?  Note: I am willing to do complicated setup, so long as my great aunt can use it.


How to get the value of a Propertie of a stored object in a ArrayList

I have a ArrayList with objects. When I try to get the properties of the objects in the ArrayList, the returned variable isnt exactly the value, which i before set to the variable. For example, when I try to compare the returned variable, variable type "String" isnt working. But when I print the value of the returned variable, it seems everything is working.   //Class:  public class obj{   public String name;    public obj(String name){     this.name = name;   } }  //Add to List: ArrayList<obj> objs = new ArrayList<obj>();  objs.add(new obj("txt"));  //Get Value: String name = objs.get(0).name;  //Not working: if (name == "txt"){   println("..."); }  //But working: println(name); //same if (name.charAt(0) == 116){ //"t"    println("working"); }   I tried:   getter/setter methods are resulting in the same converting the returned var with a function which takes every char                                                         of the returned var, because the .length() is working, to a new String,                         containing every single character of the returned variable. creating a "toString()" method which returns the name of the object.


How to transfer a large amount of data between two Windows 10 laptops?

What is the most efficient way to transfer a large number/amount of data, such as 430-450 GB, from one Windows 10 laptop to another?  Could someone guide me visually using a short yet comprehensive tutorial? And which connector/cable should I use to transfer between two internal HDDs?  I think all the laptop specs are fairly standard and fairly inexpensive. The laptop internal HDD data interfaces are both SATA.


Prove by induction: $\sum\limits_{k=1}^{n}sin(kx)=\frac{sin(\frac{n+1}{2}x)sin\frac{nx}{2}}{sin\frac{x}{2}}$

$\sum\limits_{k=1}^{n}sin(kx)=\frac{sin(\frac{n+1}{2}x)sin\frac{nx}{2}}{sin\frac{x}{2}}$  Base case: For $n=1$  $sinx=\frac{sinx\cdot sin\frac{x}{2}}{sin\frac{x}{2}}=sinx$  Induction hypothesis: For $n=m$  $\sum\limits_{k=1}^{m}sin(kx)=\frac{sin(\frac{m+1}{2}x)sin\frac{mx}{2}}{sin\frac{x}{2}}$  Induction step: $n=m+1$  $\sum\limits_{k=1}^{m+1}sin(kx)=\frac{sin(\frac{m+2}{2}x)sin\frac{(m+1)x}{2}}{sin\frac{x}{2}}$  Prove: $\frac{sin(\frac{m+1}{2}x)sin\frac{mx}{2}}{sin\frac{x}{2}}+sin(m+1)x=\frac{sin(\frac{m+2}{2}x)sin\frac{(m+1)x}{2}}{sin\frac{x}{2}}$  Left side: $\frac{sin(\frac{m+1}{2}x)sin\frac{mx}{2}+sin\frac{x}{2}sin(m+1)x} {sin\frac{x}{2}}$  How to prove this equality? I used $sin(u)sin(v)$ identity but that didn't help.


Prove that $sgn(\sigma_1 \circ \sigma_2) = sgn(\sigma_1)sgn(\sigma_2)$

Lete $n\in \mathbb{N}$. Show that the transformation $$sgn: S_n \rightarrow \{\pm 1\}$$  (where $S_n$ is the set of all permutations of the integers in the set $\{1,...,n\}$),given by $\sigma \mapsto sgn(\sigma)$, $\sigma \in S_n$, is a group homomorphism, i.e. the following equality holds:  $$sgn(\sigma_1 \circ \sigma_2) = sgn(\sigma_1)sgn(\sigma_2)$$  Def.(sgn) : Let $\sigma \in S_n$ be a permutation that can be expressed as l transpositions. Then $sgn(\sigma) := (-1)^l$  My attempt:  Since every permutation $\sigma$ can be expressed as the product of a given number of transpositions, I have the following:  Let $\sigma_1 = \tau_1 \circ \tau_2 \circ .... \circ \tau_l$ and $\sigma_2 = \tau_1 \circ \tau_2 \circ .... \circ \tau_k$. Then it follows that $\sigma_1 \circ \sigma_2 = \tau_1 \circ \tau_2 \circ .... \circ \tau_l \circ \tau_1 \circ \tau_2 \circ .... \circ \tau_k$. Now I'm not exactly sure how to go from here and whether my approach is correct. I kind of doubt it, since I need $l + k$ transpositions to derive $\sigma_1 \circ \sigma_2$, but the sum of those could easily be greater than $n$, right? In case my approach was correct thus far, how can I show that the equality holds, could I case cases depending on whether l and k are even or odd to prove the equality?


Multiple regression vs propensity score matching for covariates in observational study

I want to determine if smoking is related to this cancer in an observational study. I have data from 1000 subjects with following variables: age (continuous numeric) gender (male/female) income (continuous numeric) smoking (yes/no) cancer (yes/no)  However, since this is an observational study, groups may not be balanced. To determine relation between smoking and cancer while correcting for covariates (age, gender and income), I think both of following methods can be used: 1. Propensity score matching 2. Logistic regression analysis: cancer ~ smoking + age + gender + income  Are both these methods valid for such an analysis? If so, which is better and why? Or some other method is most appropriate for this? Thanks for your insight. Edit: Cancer (outcome variable) is present in about 100 subjects while 900 subjects have no cancer. Also, I would like to have suggestions on this particular set of data rather than a general answer.


wlan is first brought to life when ethernet is plugged in

Endless timeouts...     Request timed out.     Request timed out.     Request timed out.     Request timed out.     Request timed out.     Reply from 192.168.1.11: bytes=32 time=105ms TTL=64     Reply from 192.168.1.11: bytes=32 time<1ms TTL=64     Reply from 192.168.1.11: bytes=32 time<1ms TTL=64     Reply from 192.168.1.11: bytes=32 time<1ms TTL=64     Reply from 192.168.1.11: bytes=32 time<1ms TTL=64     Reply from 192.168.1.11: bytes=32 time<1ms TTL=64     Reply from 192.168.1.11: bytes=32 time<1ms TTL=64     Request timed out.     Request timed out.     Reply from 192.168.1.11: bytes=32 time=105ms TTL=64     Reply from 192.168.1.11: bytes=32 time=26ms TTL=64     Reply from 192.168.1.11: bytes=32 time=48ms TTL=64     Reply from 192.168.1.11: bytes=32 time=71ms TTL=64     Reply from 192.168.1.11: bytes=32 time=5ms TTL=64     Reply from 192.168.1.11: bytes=32 time=17ms TTL=64     Reply from 192.168.1.11: bytes=32 time=39ms TTL=64     Reply from 192.168.1.11: bytes=32 time=61ms TTL=64     Reply from 192.168.1.11: bytes=32 time=87ms TTL=64   I'm having a small problem with my debian box (not running any gnome/kde...). I can get the wireless to work, but only if I connect the ethernet cable in for a second or two.  Above is my ping result from my workmachine. I turned off the debian box, started the ping and turned the debian box on. I got a endlessly Request timed out untill i plugged in the ethernet. I've then removed the the ethernet cable (the two time outs in the middle there). Wireless is still up after ethernet is removed and I can putty my way in.  I'm using auto wlan0 but I've also tried allow-hotplug :-( /etc/network/interfaces)


Sci Fi book about the last pure blood Terran

Humans have all but left Terra (Earth) and spread out over outer space.  It starts out with a man and women dis-formed and mutated. They go to a disreputable embryo dealer. And they are told it is the last pure blood Terran.  The child is raised on a planet of dactyl humanoids. When a slave circus comes to town, he sneaks in by climbing a wall. He is caught and made a slave.  There is a giant rock creature and other weird beings. Ultimately he makes his way to Terra, and almost dies there due to a lack of Terran antibodies.


Identify app icon that looks like a letter "b"

Anyone know what this one is? It was on a screen cap I received of a Galaxy S5.


Why do we calculate a charged conductor sphere's potential with respect of the centre?

If potential is indefinite when measuring on a point/distribution of charge, then why isn't the same for a charge distribution lying on a conductor surface?  To better explain what i mean: let's consider the potential of a point charge: $$ V(r) = \frac{q}{4\pi\epsilon_0r}$$This formula comes straight up from the integral of $\vec E$ using $\infty$ as reference potential, $r$ as distance from the charge.    To calculate the potential of a conductor sphere we basically use the same formula besides that $q$ would be : $4\pi r^2\sigma$ ($\sigma$ as surface distribution of charge) and (here is what i don't get) r as the distance from the center of the coordinate system we use.  Why isn't $r$, in the sphere case, the distance from the charge  "$dq$" on the surface? Read the edit please     Edit: to clear things up, we can consider $r$ as the euclidean distance from the origin of a general point. The equation i wrote has an implied term : $V(r) = \frac{q}{4\pi\epsilon_0\infty} $ , meaning that i'm considering the second point to which i'm referring to, in calculating $\Delta V$, at infinite distance from the origin, thus making the second term equal to $0$.   ($\Delta V= V(r)-V(\infty)=V(r)-0=V(r))$        My perplexity: my electromagnetism prof showed our class that when we have a  distribution of charge (I'll refer to a volumetric one but it should apply to every type of distribution) we use this formula to calculate the potential over the entire space : $$V(r)=\int_\tau \frac{ \rho d\tau}{4\pi \epsilon_0 |r-r'|}$$ with $r'$ pointing to $dq=\rho d\tau$ and $\tau$ as the volume that contains charge (sorry for the abuse of notation).        Now if i use this formula to calculate the potential of a conductor sphere (i should use the one that considers a surface distribution since a conductor has no volume charge), if the sphere is centered in the origin then : $r'=R$(sphere radius).   We can now see that when we approach with our vector $r$ our sphere's surface, the potential, with respect of infinty, has indefinite value.   Where am I wrong?        P.S. our professor didn't explicited the correlation between the formula i used above and the integral($\int \vec E dl)$ it comes from, can you please explain me... from what integral it comes from?   I guess there is a change in $\vec E$, it should be used a formula where the charge isn't centered in the origin.


Adding p. or pp. in glossary based on number of pages

I'm trying to add the abbreviation p. or pp. before listing the pages in a glossary. My current MWE is as follows:  \documentclass{article}  \usepackage[acronym]{glossaries}  \makeglossaries  \renewcommand{\glspostdescription}{\emph{ pp.~}}  \newacronym{abc}{ABC}{a contrived acronym}  \begin{document}  \gls{abc}  \printglossaries  \end{document}   This produces the following output:    Note that I redefine \glspostdescription to produce custom text instead of a dot.  This is almost what I want. The only thing I'd like to change to display p. when only a single page is being referenced, like in the example above. When there's a reference to multiple pages, I want to use pp. instead.  How can I accomplish this without manually editing all entries?


How In Running multiple Web Server on Multi Server at one static IP

I Have one static Ip such as 1233.22.33.44 and i have two Servers that have IP: Server 1: 192.168.1.1 Server 2: 192.168.1.2  Server 1 running Website on Port default 80, I can access Web on Server 1 through  , and I want set up Web Server Running on Server 2, how can i do that?  Thanks for Reply!  PS: Sorry for my English.


I am using a smartphone for capturing photos and I need to estimate the camera sensor size (mm*mm). I have the resolution (in pixels) and the focal length (in pixels). I can also measure the size of any stationary object and its distance w.r.t the lens. Basically, I don't have a pixel-to-mm metric for any of the above parameters that I can use. Is there any way I can calculate that to estimate sensor size?


Why do I need to enter my password for apt update?

I can understand why you need to enter your password for an sudo apt install daSoftware or even sudo apt upgrade: you are modifying the code that will run on your machine.  But why on apt update? You are just updating the list of available software. Why would it be a problem not to ask for the extra privilege granted by the super user mode to perform an update?


I cannot type the @ sign using Shift+2.  I get " instead. I have tried all sorts of language selection. Why do none of the English selection work.  Setting up email is impossible with no @ sign!


\footcite always prints long citation if used in `figure` environment

I'd like to use \footcite in a figure environment in a way that acts completely like a \footcite in ordinary text mode. Specifically, I've configured \footcite to print a long citation (i.e. with the author's first name, year of publishing, etc.) on the first reference to a given source, and on subsequent citations, only a short citation should be printed in the footnote.  However, when I use \footcite in the \caption of a figure, I always get a long citation. What can I do to change that behavior?  MWE:  \documentclass[12pt,english,a4paper]{article}  \usepackage[a4paper, total={6in, 4in}]{geometry} \usepackage[english]{babel} \usepackage[backend=biber,     citestyle=verbose,     bibstyle=verbose,     sorting=nyvt]{biblatex} \addbibresource{bibliography.bib} \DeclareNameAlias{sortname}{last-first} \renewbibmacro{in:}{} \usepackage{tikz}  \usepackage{footnote} \makesavenoteenv{figure}  \usepackage{filecontents} \begin{filecontents*}{bibliography.bib} @article{A,   author    = {Alpha, Amber},   title     = {Title},   publisher = {Publisher},   year      = {2014}, } @article{B,   author    = {Beta, Bryan},   title     = {Title2},   publisher = {Publisher2},   year      = {2015}, } \end{filecontents*}   \begin{document}  While some\footcite{A} argue X, Ref. \textcite{B} argues Y. Also, W\footcite{A}.  \begin{figure}[!htbp]     \begin{center}         \begin{tikzpicture}             \draw (0, 0) circle (1);         \end{tikzpicture}     \end{center}     \caption{A circle.\footcite{A}} \end{figure}  \printbibliography  \end{document}     Note how footnote 1 and 2 are long while 3 is short, as I expected them to be. However, I also want 4 to be short, but it isn't.  Thank you in advance!


I have a rechargeable vacuum cleaner with NiMH batteries, 1800mAh and 14.4 volts, 12 cells. The charger is 18v 200mA. The batteries have now died.  Can I replace the batteries with 4 cell Li-ion in series?   That will be 14.4 volts, if considered 3.7v each. Of course, I know it will be roughly 4 volts when fully charged.  Li-ion batteries in my mind: 18650, 2500mAh.  Also, can I charge them with the same charger?


Why the size of an empty directory in Linux is 4KB?

I'm using Ubuntu 14.04 and I made an empty directory on /tmp with the mkdir command:  cd /tmp mkdir foo   and then I checked it's size using ls:  ls -ldh foo   and the result shows that the size of the directory is 4KB, although it has nothing inside!  then I created an empty file with touch:  touch empty   and then I checked its size:  ls -l empty   the result shows that the empty file is of 0B, which differs from the empty directory.  I've read about some Q&A's saying that the 4KB is the metadata of the directory. But if it is the metadata, what kind of information is stored inside and why it is so huge, and why an empty file don't have such kind of metadata? If it is not the metadata, what does the 4KB mean?


MacBook is sleeping despite being set to "never" sleep

My 13" MacBook (late 2006) is set to never sleep but after about 3 hours the whole computer still goes to sleep.   Lid is always UP. Power Adapter is plugged in and indicator light is green when battery is 100%. Recently upgraded to Mac OS 10.6.8 and all system software is up to date.   Here are my exact settings...  System Settings -> Energy Saver ->   Computer Sleep: Never Display Sleep: 15 minutes Put the hard disks to sleep when possible:  NOT checked Wake for Ethernet:  NOT checked Automatically reduce brightness before display sleep: checked Startup automatically after power failure:  NOT checked    (please ignore the "battery charge: 94%", it's only because I'm composing this question while using the battery)  I recently installed Simon for monitoring uptime of websites.  I cannot allow the computer to sleep since it stops the software monitor.  Exactly after three hours of inactivity, the MacBook goes to sleep so then Simon stops.  The console confirms sleep mode.  I can wake it without a problem but it's frustrating to see that my monitoring was interrupted for many hours by this sleep bug.  It's like it thinks it's set to sleep after 3 hours despite it being clearly set to "never".  So where is this thing stuck?  Is there some cache or plist file I need to blow out?  Troubleshooting this is very difficult since I essentially have to wait another three hours to see if I fixed it.  Any shove in the right direction appreciated.    As per comments, this is the result of pmset -g from Terminal:  MacBook:~ myusername$ pmset -g Active Profiles: Battery Power       1 AC Power        -1* Currently in use:  lidwake    1  autorestart    0  halfdim    1  sms        1  hibernatefile  /var/vm/sleepimage  disksleep  0  sleep      0  hibernatemode  3  ttyskeepawake  1  displaysleep   15  acwake     0  womp       0


Windows 10 CPU Usage at 99%. Processes not showing correct CPU usage

On a Windows 10 16299.192 desktop system task manager always shows 99% usage. If I try killing the highest usage program all others suddenly show their CPU usage increasing to fill the gap, as if the CPU usage is being calculated as % of CPU cycles currently used instead of % CPU cycles available like normal.   I tried editing a registry key to allow me to disable the processor idle state (as has worked in the past) but no change even after a reboot.  Process Explorer does show the correct CPU usage numbers, with System Idle Process filling in the remainder of (100% - Current Usage) like normal.  Intel i3-4170 CPU. Let me know if there's any more information you might need.


Evaluating the product $\prod\limits_{k=1}^{n}\cos\left(\frac{k\pi}{n}\right)$

Recently, I ran across a product that seems interesting.  Does anyone know how to get to the closed form:  $$\prod_{k=1}^{n}\cos\left(\frac{k\pi}{n}\right)=-\frac{\sin(\frac{n\pi}{2})}{2^{n-1}}$$  I tried using the identity $\cos(x)=\frac{\sin(2x)}{2\sin(x)}$ in order to make it "telescope" in some fashion, but to no avail. But, then again, I may very well have overlooked something.  This gives the correct solution if $n$ is odd, but of course evaluates to $0$ if $n$ is even.   So, I tried taking that into account, but must have approached it wrong.   How can this be shown? Thanks everyone.


Showing that $(m)\cap (n)=(\operatorname{lcm}(m,n))$ and $(m)+(n)=(\gcd(m,n))$ for any $m,n\in\mathbb{Z}$

Suppose that $I$ and $J$ are ideals of $\mathbb{Z}$, with $I=(m)$ and $J=(n)$. This question has two parts:  1) Let r be the least common multiple of $m$ and $n$. Show that $I\cap J = (r)$.  2) Let $d=(m,n)$.  Show that $I+J = (d)$.


Is "considering stealing" grammatically correct?

I am working with a student who sends me essays and I help edit them. In one of his paragraphs, he wrote "The lecturer indicates this is illegal since it is considering stealing." In my head, I know it should be "considered stealing." But I am having trouble explaining why. Is there a specific grammar rule? My student's first language is Spanish so I want to try and explain this in a way he can remember.


Is it possible to access a terminal session after closing terminal?  I ran into some interesting information about my installation of Ubuntu using the terminal, and I would like to retrieve that material.


While I'm doing the inline tag edit by clicking on the "Edit tags" (privilege earned ) on a post, there is a loader image which is briefly visible. However, the loader image is very big and not looking good. I was able to reproduce this issue on the following browsers:     Configuration Version     Operating System Windows 10 Pro   Mozilla Firefox 87.0 (64-bit)   Google Chrome 89.0.4389.90 (Official Build) (64-bit)   Zoom 100%     Can this be fixed? GIF for the same:


The problem: For all positive integers $a$ and $b$, if $(a, b)=1$, then $(a+b)^{\phi(a)\phi(b)}\equiv(a^{\phi(b)}+b^{\phi(a)}) \pmod{ab}$.  My work thus far. I know that by using Euler's theorem I can show that $(a^{\phi(b)}+b^{\phi(a)})\equiv1 \pmod{ab}$.  I am currently stuck trying to show that $(a+b)^{\phi(a)\phi(b)}\equiv1\pmod{ab}$, and then putting that with my idea above to complete the proof.  Can anyone give me any hints or let me know if I am on the right track? Thanks!


Probability that Amy gets more heads than Bob?

Say that Amy tosses a coin 6 times, and Bob tosses a coin 5 times. What's the probability that Amy gets more heads than Bob does?


I recently installed 8GB of RAM onto a quad core workstation (HP xw8600) running Windows XP Pro (32-bit).  I added the /PAE switch in the boot.ini file, but the SysInfo is saying 3GB total memory still.  Is Windows recognizing the extra memory?  Is there a way to tell?  Any help is appreciated.  Thanks.


Problem on the domain of the solution of a differential equation

Let $f:[0,\alpha]\to\mathbb{R}$ be a solution of the Cauchy problem:  $\begin{cases} f'(t)=(f(t))^2+t \\ f(0)=0 \end{cases} $  The question is: prove that $\alpha<3$.  It is clear that the problem admits a unique solution locally on some $[-\epsilon,\epsilon]$, since $(f)^2+t$ is $C^1$ in $(f,t)$, and we have $f(t)>0$ for all $t>0$, looking at the sign of $f'$. But now I don't know how to proceed. Thank you all!


Every Stack Exchange site, StackOverflow, Super User etc continue to asks me for cookie consent even if i accepted multiple times

As the title of the question says, every time I visit a site of stack exchange family I get the dialog for cookie consent. I accepted it multiple times (clicked on "Accept all cookies") but no way, it is still there every time I visit a page on stack exchange network. Tested with Firefox, chromium.


Can't post because 'question body does not meet our quality standards'

Good day/night. I wanted to post something at StackOverflow and it was very urgent. I made to use correct grammar (I'm speaking English natively) but I was not allowed to post my question because 'question body does not meet our quality standards'. I read what these 'quality standards' are and my question seems to be alright. But for some reason it is not. Can you tell me what is wrong with it? Here it is:     Good day/night. Today i found one old tablet of mine. I can not remeber the pattern and i can not remove it. Tried ADB but it didn't have USB debunging on (when doing 'adb devices' list was empty). Tried trough Google Device Manager and still did not succeed. It acts like this tablet never existed. When i look carefully i saw that the google profile picture is an old one of mine. I turned on wifi but i didn't sync it with my new one. Is there any way to unlock it?


I´m currently working on a calculator and i want to skip 2 lines of my code if the second Scan equals a specific word. In this case the word is either "Wurzel" or "wurzel" because i wont need to scan b then.       Scanner eingabe = new Scanner(System.in);     BigInteger a, b, ergebnis;     String Operator;     System.out.println("Bitte gib die erste Zahl ein:");     a = eingabe.nextBigInteger();     System.out.println("Bitte gib die Rechenart ein:");     Operator = eingabe.next();     if(Operator == "Wurzel" || Operator == "wurzel" ) {         //skip to switch(operator)     }     System.out.println("Bitte gib die zweite Zahl ein:");     b = eingabe.nextBigInteger();     switch(Operator) {        ...      }


Does a space opera have to feature supernatural abilities, à la the Force?

I'm creating a space opera video game and I was wondering if to be considered a Space Opera it had to feature some supernatural abilities like Star Wars has with the Force. Or can I completely forgo that entire idea altogether and keep the rest of what the Wikipedia page says about Space Operas?


What are the odds of the loot boxes in overwatch?

When you open a loot box, you can get a chance to get items of different rarities.  To be available in china, I heard that they need to have their loot box odds publicly available,   So are the ones of Overwatch available, and if so, what are they?


In the current scenario, the images are arranged in a vertical sense, however I wanted to align the subfigures in a horizontal sense. This is the code that I'm using. Also I'm working on a template, which follows IEEE convention.  \begin{figure}[h] \begin{subfigure}[b]{0.25\textwidth} \includegraphics[width=0.7\linewidth,height=5cm]{MobileApp/login.png} \caption{Login Screen} \label{fig:login screen} \end{subfigure} \begin{subfigure}[b]{0.25\textwidth} \includegraphics[width=0.7\linewidth,height=5cm]{MobileApp/Selectcanteen.png} \caption{Select Canteen Screen} \label{fig:Select canteen screen} \end{subfigure}  \caption{Caption for this figure with two images} \label{fig:image2} \end{figure}


In which post apocalyptic SF novel is the South Pole (Antarctica) thawed? Humans live there

Period: 1960 - 1990 Main character: a man Clue: The main clue is that a group of humans live on the South Pole, called "The Girls". The interesting thing about them is that they live to a very old age or are immortal, because they choose to not age beyond puberty. So, basically, they're all prepubescent, they never menstruated, but at the same time they are very, very old. However, they are not the main characters, they're there to help the story along because they have some knowledge. The rest of humanity is either scattered or doesn't exist anymore, I forgot what happened to them, but it's a post apo novel, so ....


Ever since a few weeks, my .htaccess gets consistenly broken every few days. Sometimes it just gets an extraneous character at the end of file, but most of the times it's part of the file duplicated, like this:  # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBa # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>  # END WordPress   My best guess is that some plugin is rewriting the htaccess and it's obviously not doing it properly. These are the plugins I have installed:    Akismet All In One SEO Pack CopyRightPro DB Cache Reloaded Hello Dolly Jetpack por WordPress.com MediaElement.js - HTML5 Audio and Video Ninja Forms qTranslate Rapid Twitter Widget Recent Facebook Posts Simple Backup Spider Facebook. Twitget Under Construction WP Super Cache WP Twitter widget by rYokiNG   Any ideas?


-didSelectRowAtIndexPath: not being called

I'm writing an iOS app with a table view inside a tab view. In my UITableViewController, I implemented -tableView:didSelectRowAtIndexPath:, but when I select a row at runtime, the method isn't being called.  The table view is being populated though, so I know that other tableView methods in my controller are being called.  Does anyone have any ideas what I may have screwed up to make this happen?


How to obtain a password for RAR archive having some of the files inside?

I have an old password protected RAR file with a random generated password that I lost. I still have some of the files outside, but need the rest.  Is there a way to obtain the password by comparing the same file, inside and outside the RAR?  Btw, filenames and attributes of my RAR luckily are not hidden, and all the files are protected with the same password.


How can I get a shell script to change directory for me?

here is a small test I ran, to try and move me back to root:  #!/bin/bash pwd cd / pwd   It returns the current working directory, and then the correct new one, but when the script finished executing, I am still in the original directory and haven't moved. Is there any way to achieve this?  Thanks.


Is clockwise or counter-clockwise rotated text easier to read?

When rotating text with css, should it be rotated clockwise or counter-clockwise?  Is one more readable than the other?  Counter Clockwise:       —    Clockwise:


Nullable type as a generic parameter possible?

I want to do something like this :  myYear = record.GetValueOrNull<int?>("myYear"),   Notice the nullable type as the generic parameter.   Since the GetValueOrNull function could return null my first attempt was this:   public static T GetValueOrNull<T>(this DbDataRecord reader, string columnName)   where T : class {     object columnValue = reader[columnName];      if (!(columnValue is DBNull))     {         return (T)columnValue;     }     return null; }   But the error I'm getting now is:     The type 'int?' must be a reference type in order to use it as parameter 'T' in the generic type or method   Right! Nullable<int> is a struct! So I tried changing the class constraint to a struct constraint (and as a side effect can't return null any more):  public static T GetValueOrNull<T>(this DbDataRecord reader, string columnName)   where T : struct   Now the assignment:  myYear = record.GetValueOrNull<int?>("myYear");   Gives the following error:     The type 'int?' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method   Is specifying a nullable type as a generic parameter at all possible?


How can I use JavaScript on the client side to detect if the page was encrypted?

Is it possible to detect, on the client side, whether the user is using an encrypted page or not?  Put another way -- I want to know if the URL of the current page starts with http or https.


I'm doing this exercise.     Let $A$ be an integral domain, then prove that $$A = \bigcap_{\mathfrak{p} \in \text{Spec(A)}} A_{\mathfrak{p}} = \bigcap_{\mathfrak{m} \in \text{MaxSpec(A)}} A_{\mathfrak{m}}$$ where the intersection is taken in the quotient field of $A$ and $A_{\mathfrak{p}}$ is the localization of $A$ at the prime ideal $\mathfrak{p}$, similarly for $A_{\mathfrak{m}}$ .   What I have done: we have $$A \subseteq \bigcap_{\mathfrak{p} \in \text{Spec(A)}} A_{\mathfrak{p}} \subseteq \bigcap_{\mathfrak{m} \in \text{MaxSpec(A)}} A_{\mathfrak{m}}$$ so it suffices to prove that $$\bigcap_{\mathfrak{m} \in \text{MaxSpec(A)}} A_{\mathfrak{m}} \subseteq A$$  Suppose $\frac{a}{b} \in \bigcap_{\mathfrak{m} \in \text{MaxSpec(A)}} A_{\mathfrak{m}}$ . I want to show that $b$ is invertible.  If $b$ is not invertible then there exists $ \mathfrak{m} \in \text{MaxSpec(A)} $ such that $b \in \mathfrak{m}$. By hypothesis $$\frac{a}{b} = \frac{r}{s}$$ with $s \not\in \mathfrak{m} $.   $A$ is a domain so $sa = rb \in \mathfrak{m} $ and thus $ a \in \mathfrak{m} $. Then I don't know how to proceed , any hint ?


Can anyone help me to understand what is suppose to do in this question?  "A matrix that is similar to the identity matrix" I should say something about this but I do not understand what is meant to do.  I know that two n x n matrices A and B are similar if $B=P^{-1}AP $.   They also have some properties such as:  The same:  Rank; Characteristic equation;  Determinant; Trace; Eigenvalues etc.   However I do not understand the question and consequently I do not know how to start.  Can anyone help me on this?  Thanks


In Harry Potter, can a boggart really hurt you?

When it appeared as a snake to Parvati, would it really be able to bite or choke her, or is it just scaring without actually being able to attack?


Anti-Cheat for MMOs issues and solutions?

Most online games suffer for this problem and there are some  out there to cover this but recently from what I've seen most companies are trying to avoid those programs creating their own system (blizzard with warden, aion with their own checking, etc...) but it is a very difficult case to prevent such ...  Just wanted to say i made another question topic as community wiki specific for posting applications and it is features and the ideas behind this question here is not to list those but instead to know more about what were your attempts, issues along the road and possible solutions, piece of codes if application and so forth.  What sort of protection do you guys use in order to (try to) prevent such acts:   Anti-cheat Software ? (please state which, why and possible problems you faced, for example aion stopped using GameGuard at beta stage due to a huge amount of compatibility problems and complains from their users) Your own code ? (what sort of verification do you usually run to make sure of the bad-faith players, for example speedhack, verify new location against speed+last location, etc...) None, i dont care ? (any personal reason or input you did like to share ?)   Any interesting piece of code related to the issue you would like to post ?  Feel free to rework my text my english inst that great  ?**


Sometimes a question gets closed as off-topic (not-migrated) while there is another site where the question is on-topic.  If a moderator wants to migrate the question, the moderator needs to reopen the question and then reclose it as off-topic and migrate the question.  It would nice if a moderator can migrate questions closed as off-topic without going through this process of reopening/reclosing.


Shading issue when adding Subdivision Modifier

Firt things first, needless to say that I'm still a newbie haha.  I've been learning how to model with extruding vertex and faces, instead of starting from a cube.  Everything went pretty well until I decided to add a Subdivision Surface modifier to smooth everything and I found this(Also happens when I right click and check shade smooth):    Also I let you see the X-Ray version, which made worry:    So thanks in advance and any help would be appreciated :3


Word for dismissing someone's opinions as racist, liberal, etc, instead of debating back

I'm looking for either a single word or phrase that would describe either someone or the action of dismissing someone's opinions as something "socially unpopular", without giving any reasoning why, either just to spite them, because they have a poor counter-argument, have been backed into a corner, or something similar.  For example, someone who supports something politically incorrect (like, say, stronger gun control or help for male domestic abuse) might have their views dismissed as racist or sexist or liberal without actually acknowledging and debating against them, thus labeling the former as something they might not be.  I was talking to a friend earlier about politics, and she complained about Germany's immigration problem. She said one issue was that many politicians that try to support stronger immigration laws would immediately be shot down as racist or a nazi and forced to resign, instead of being presented with counter-arguments. Regardless of whether you agree with them or not, what would describe that?  EDIT: Forgot to specify -- the word or phrase I'm looking for would be used in an informal context. And to address further questions, to be used when the person's opinion has legitimate worth and isn't just "being racist" etc, i.e. the dismisser is incorrect, and is only making these accusations because they can't argue further. (Added emphasis to the last sentence of the first paragraph)


Children's novel where girl agrees to be replaced by robot/clone

This was a children's or YA novel I read in the 80s or 90s, I think relatively recent at the time.  Written in English. Sent in the present day (as was), a girl is fed up with her life and accepts an offer from a woman to replace her with a robot or clone that will do things like go to school for her. The woman provides a place for the girl to stay when the robot is impersonating her, the place has all her favourite things to eat, which include chocolate eclairs.  Eventually she comes into conflict with the woman and robot trying to get her life back.


Do I need a transit visa to explore Seoul while in transit?

Hi I'm a Nepalese citizen traveling to Nepal from Japan and holding the japanese resident card have 72 hours layover in incheon airport Seoul via Korean Airlines. Do I need a visa to go out for the visit?


gdal2tiles.py using param: -nb_processes does not use multicore, only one core fully working

I'm using gdal2tiles to tile huge geoTIFF image, but it takes a long time. I tried using the nb_processes param but only one core is working hard.  My command line:  gdal2tiles.py -e -p geodetic -nb_processes=4 -k -v -w google image.tif TILES/   How can I achieve multicore tiling?


I get Linker Errors for the following code. Is this Circular dependency or am I messing up any Includes

and my main is  #include<iostream>  template<typename T> class Node;  //#include"Node.h" #include"BinaryTree.h"   int main() {     BinaryTree<int> bt;      //bt.Insert(20);      return 0; }   So I have two .h files BinaryTree and Node and their respective .cpp files. I am using making a class variable of type Node in BinaryTree and I have declared BinaryTree and friend class in Node. When i run the program i get the following Linker errors -   Severity    Code    Description Project File    Line    Suppression State Error   LNK2019 unresolved external symbol "public: __thiscall BinaryTree::BinaryTree(void)" (??0?$BinaryTree@H@@QAE@XZ) referenced in function _main Practice    C:\Users\u1017574\documents\visual studio 2015\Projects\Practice\Practice\main.obj  1


Can a US citizen leave and enter the US using a foreign passport?

I am a dual citizen. I have both a US passport and a non-US passport. I live in the US. My US passport is currently being processed for renewal. I am unsure whether I will receive my passport in time for a trip that I have scheduled. Could I use my non-US passport to leave the US and return? I have never entered the US with my non-US passport. There is no immigration leaving the US but I still need to scan my passport for ticketing. Will the airline refuse me a ticket? I know that in this situation returning with a non-US passport can be problematic as well, but will I be able to leave at all? Note that I am traveling to a country which neither of my passports are from.


In DnD 4E, the planes are listed as being:   The Astral Sea Elemental Chaos The "World", being the "normal realm". Feywild, being the "magical realm". Shadowfell, being the "underworld". Far Realm   So my questions are:   How are the planes connected? How do you depart one plane and get to another? Can you explain the Astral Sea and Elemental Chaos further? Is the Sea just like space with little planets, or "dominions", floating around? And that's where the gods live and the Primordials live in the Elemental Chaos?


I constantly hear the terms "small cap" and "large cap" while watching the financial channels on TV.  What is meant by small/large market cap?    How do they relate to a stock valuation?


Remastersys creating 36k ISO files 14.10/15.04/15.10

Remastersys has been creating unusually small ISO files, I observed this issue starting on Ubuntu 14.10 but this also happens on 15.04, 15.10, and even the daily builds of 16.04 LTS. This  (Which I am 99% sure that it is my problem) here suggests how to fix the problem, but I do not know how to install the syslinux-utils and isolinux packages onto the ISO manually, so how do I do this? I would use Systemback but I do not want to backup my entire system and compress it into an ISO I just want to create a custom distro essentially to use around the house and share with my friends.


Mac OS X Mavericks keeps jumping to the first desktop

My screen (desktop/spaces) keeps jumping to the first "desktop". There are no running apps on that desktop (except finder). After the first few times this happened I pressed ⌘ Cmd-⌥ Opt-⎋ Esc and restarted finder.  When it continued to happen I quit all open apps and restarted the computer. (I run a few apps full screen, and usually keep the first desktop open for any quick work or apps I will use, if I will have an app open for a while that doesn't have full screen, I create a desktop/space for it and run it off on the side somewhere).  The screen just keeps taking me back to the first one. It is getting to the point where it is too annoying to ignore. So far typing this I have counted it happening seven times.  What I have tried, besides restarting Finder, and restarting the Mac, in Mission Control settings I disabled Automatically rearrange, and Group windows by applications (to be honest I don't know what Group windows by application means, I assume it has to do with what screens a new window of an already running app will open on), and When switching to an app, switch space.  I tried rearranging spaces, I moved the Desktop to the third space (this must be a Mavericks feature, I don't think I have ever been able to do that before), and it keeps jumping to that Desktop (third space). I have also tried creating a new desktop space and deleting the old one. It keeps jumping.  I also don't think this is finder calling for anything. The menu bar remains the same for the app I was using, and only becomes finder when I click on the desktop.  I could just not use spaces, but what would the point be?  I don't know if this would be an easy thing to help anyone with, but maybe something similar has happened to someone before.


I want to install Linux on a disk that currently contains Windows 7. I want to remove the current Windows. I have not tried anything yet because I am new to this.


I was trying to smoothen my character by pressing Ctrl + 5 ; it made it smoother but I ended up with a line and a crease in my character.


What is the difference between normal class and interface in c#

interface:  public interface IAuthenticationRepository     {         Task<IEnumerable<dynamic>> GetMenuItems(string groupIds);     }   class:   public class AuthenticationRepository : Base, IAuthenticationRepository     {         public AuthenticationRepository(string sqlConnRep) : base(sqlConnRep) { }          public async Task<IEnumerable<dynamic>> GetMenuItems(string groupIds)         {             var menuAndFunctions = $@"select gfm.GroupId, fmm.MenuId, cm.MenuType, cm.MenuName, fmm.FunctionId,cf.FunctionName,                                      cf.Description, cf.IsDefault from FunctionMenuMapping fmm                                      inner join CoCMenu cm                                      on cm.Id = fmm.MenuId                                      inner join CoCFunction cf                                      on cf.Id = fmm.FunctionId                                      inner join GroupFunctionMapping gfm                                      on gfm.FunctionId = fmm.FunctionId                                      where gfm.GroupId in (" + groupIds + ")";             return await ExecQueryDynamic<dynamic>(menuAndFunctions);         }     Create an instance for AuthenticationRepository class and assigned the instance to the AuthenticationRepository  class object  public class AuthenticationLogic : IAuthenticationLogic     {             readonly AuthenticationRepository authenticationRepository;             public AuthenticationLogic( AuthenticationRepository authenticationRepository)             {                 this.authenticationRepository = new AuthenticationRepository("");             }     }   Create an instance for AuthenticationRepository class and assigned the instance to IAuthenticationRepository  interface   public class AuthenticationLogic : IAuthenticationLogic     {                 readonly IAuthenticationRepository IauthenticationRepository;                 public AuthenticationLogic(IAuthenticationRepository IauthenticationRepository)                 {                     this.IauthenticationRepository = new AuthenticationRepository("");                 }     }        What is the difference between them? both are doing the same. Is any permanence difference for it? and which one is best approach?


Letting a device access the Internet through an Ethernet port via a laptop

I have Internet access to my laptop, over Wi-Fi. I have connected a device with an Ethernet port (with an Ethernet cable from my laptop to the device), and set up a local area network between the two, so that they can ping each other. Now I want the device to access the Internet, i.e., to forward "Internet" from Wi-Fi on my laptop to the Ethernet port of the laptop.  How do I set this up if the laptop runs Ubuntu?


If $f(y)−f(x) \le (y−x)^2$ for all $x,y$, then $f$ is a constant function.

Suppose that $f(y)-f(x) \leq (y-x)^2 $ for all $x\in \mathbb{R}$ and $y\in \mathbb{R}$. Then how can i show $f$ is a constant function.   I encountered this problem reading Calculus book written by Michael Spivak. He said that this would imply that $|f(y)-f(x)| \leq (y-x)^2$ and I could derive this exchanging y and x. And his final hint was Divide the interval from $x$ to $y$ into $n$ equal pieces.


If $(F:E)<\infty$, is it always true that $\operatorname{Aut}(F/E)\leq(F:E)?$

If I understand correctly, Arturo Magidin says in  that the following is true.     If $E\subset F$ is a finite field extension, then $|\operatorname{Aut}(F/E)|\leq (F:E).$   I understand why this is true when the extension is simple, but the general case eludes me. (I also understand that my particular extension in that question is simple, so this is irrelevant to the problem, but I would like to understand this.)  Let $E\subset F$ be a finite extension. Any finite extension is finitely generated, so let $$F=E(a_1,\ldots,a_n).$$ Let $$E=F_0\subset F_1\subset\ldots\subset F_n=F,$$ with $F_i=F_{i-1}(a_i)$ for $i=1,\ldots,n.$ Let $f_i$ be the minimal polynomial of $a_i$ over $F_{i-1}$, and let $g_i$ be the minimal polynomial of $a_i$ over $E$. Then $$(F:E)=(F_n:F_{n-1})\cdots (F_1:F_0)=\deg(f_n)\cdots\deg(f_1).$$  I think I can't use $f_i$ to bound the order of $\operatorname{Aut}(F/E).$ Surely, $$|\operatorname{Aut}(F/E)|\leq \deg (g_n)\cdots\deg (g_1),$$ because the generators must be mapped to roots of their minimal polynomials over $E$ (taking non-minimal polnomials here would only make things worse), but this doesn't work because the inequality we have is $$\deg (f_i)\leq\deg (g_i),$$ not the other way around.


Why were the "infiltrator" T101 units built on such a conspicious body?

It was noted that the Terminators (T101) were infiltrator units, designed to infiltrate the resistance.  Given the ragged undernourished humans of the time, wouldn't making an infiltrator body into the hulking over-built Conan The Destroyer frame be something totally illogical if your goal is to blend in?   Why not use a more "normal" body? Robots already have metal frame and super-strong muscles, so size wasn't required to bump the combat capacity as with flesh and bone humans.


Should a link opened/closed by a chain-breaker be stiff afterwards?

I disassembled my bike's drivetrain to degrease and regrease all the components. I used a chain-breaker for the first time (previous bikes had a master link) to open a chain link and remove the chain. Afterwards, I reassembled the chain but found the link I'd opened is very stiff to the point where, as the link emerges from the chainring, it stays bent until it moves through the derailer and which point it snaps straight again.  I tried making small adjustments to the rivet holding the link together and adding additional lubricant with no success. I even removed that link from the chain completely (assuming I'd bent something slightly), only to have the next link I opened/closed become the stiff one.  Is this normal after using a chain-breaker to open a link? Should I expect the stiffness in the link to work itself out, or have I done something wrong? Is there anything else I can try to loosen up the stiff link?


The home in question is in Orange County California. I believe most upstairs floor joist are 2"x10" 16" on center. What is the pounds per square feet.  If my box foot print 60"x80"and weighs 2000lbs would it be safe at 30psf


Javascript/JQuery function not triggered after .load

When a user clicks the "search" button in my ASP.NET application, a temporary "spinner" div is loaded. Then when the search (finally) completes, the contents of the spinner div are replaced by the HTML returned by the SubmitSearch method.  $("#spinner").load("@Url.Action("SubmitSearch","Search")");   I also have this JavaScript file that is loaded in:  $(document).ready(function() {     $(".card--result").hover(function () {         alert("hover");         $(this).css('cursor', 'pointer');     });      $(".card--result").click(function() {         var url = $(this).attr('data-url');         window.open(url, "_self");     }); });   However, the problem is that a div with card--result class is part of the new HTML that gets added to the page after the .load method succeeds.   How can I register the .hover and .click functions so that they are actually triggered on the newly loaded HTML elements?


Worm type bug inside of stick? What is it?

This bug was found on the wall of my closet in Seattle, Washington. It has been around 40-50°F lately, and it is winter. It looks like a tiny, brown, fuzzy stick/twig, but there is a hole through the middle of it. A tongue kind of thing comes out of the hole. The tongue thing is clear/tan and has a brown tip. The tongue is how it moves around and it looks like the tip sticks to the ground, and then it pulls the rest of its body/the stick part forward from there. It doesn’t seem to like it when light is shined on it (like from a phone flashlight) and goes back into the twig part when light gets shined on it. The twig part doesn’t seem to move on its own. The twig when the tongue is inside is about 0.5 cm.


I can calculate the number with computer and read the digits, or I can say PowerMod[2, 100, 100] in Mathematica, or I can even determine the digits myself, pencil-and-paper, by considering congruences modulo 4 and modulo 25 separately.  But if I determine the last digit first -- it's 6 -- and then set this congruent equation for the penultimate digit $y$:  $\frac{2^{100}-6}{10} \equiv y\ (mod\ 10)$  Which simplifies to $2^{99} - 3 \equiv 5\ y\ (mod\ 10)$, or $8 \equiv 5\ y + 3\ (mod\ 10)$, or $y \equiv 1\ (mod\ 2)$. This says this digit is odd. But how can I determine its exact value from here?  I wonder why sequential modulo 10 congruences don't yield a specific answer.


Probability of mean of random sample being in a certain range

I got this question on a test:     The average jumping distance for males between the ages of 20 to   30 is 6.5 feet with a standard deviation of 0.523 feet. What is the   probability, from a sample of 5 males between the ages of 20 to 30,   having a sample mean jumping distance between 6 and 7 feet.   I don't want you to solve it for me, but please point out the general workflow for solving such problems, because I don't know where to begin.


word describing "people who can very quickly think what to say"

What is a word to describe "people who can very quickly think what to say". I mean like funny people who have great timing. Is there one exact word for that ability. Not "smart", "canny", "savvy" or "shrewd". Thank you.


Is it legal to use Ubuntu name for my cybercafé?

I have a cybercafé in Tunisia (North Africa) and I want to promote Ubuntu and hence I want to call it "Ubuntu Club" and I want to know whether Canonical will allow this. I love Ubuntu and I want to promote its OS and products in North Africa. BTW I will give my cybercafé and Ubuntu-like design. Will Canonical allow this and support me?  From the outside it will look something like this:


Basic java algorithm giving me a nullpointerexception error?

public class chocolatecake {     int rows,cols;     public chocolatecake(int r, int c)     {         rows = r;         cols = c;     }     private String letterBlock[][];      public void fillBlock(String str)     {         boolean hasExtra;         int tracker=0;         for(int y=0;y<rows;y++)         {             for(int x=0;x<cols;x++)             {                 letterBlock[y][x] = str.substring(tracker, tracker+1);                 System.out.println(letterBlock[y][x]);                 tracker++;             }         }     } }   SO the point of this program is to take a string and put it into an array first in row major order and then in column major order with a different array size, but im stuck here where the compiler is saying nullpointerexception at line 21  letterBlock[y][x] = str.substring(tracker, tracker+1);


Is there a classification of regular maps $\mathbb{P}^1(k)\to\mathbb{A}^1(k)$?

If $\mathbb{P}^1(k)$ and $\mathbb{A}^1(k)$ are the projective line and affine line, respectively, over an algebraically closed field $k$, is there any known classification of the regular maps $\mathbb{P}^1(k)\to\mathbb{A}^1(k)$?  I searched a bit on google and through my books, but can't find any mention of any classification or description. Is it possible to determine all such maps? Thanks.


How do I change the Default Drive for installing apps

Just installed Ubuntu 20.04 LTS. Chose the "Erase disk and install Ubuntu". I have 2 disks. (1) SSD, 120GB, (1) HDD, 1TB  Coming from windows, how do automatically mount my 2nd drive (HDD)? And how do I set all the folders Desktop, Documents, Downloads, Music, Videos, and all other apps to install to the HDD? Where the SSD would only act as a drive for the OS. Or is this possible?


I saw this formula on  page 2  $$\pi (n)=\sum_{j=2}^{n}\frac{\sin^{2}\left(\pi \frac{(j-1)!^{2}}{j}\right)}{\sin^{2}(\frac{\pi }{j})}$$  Where $\pi(n)$ is the prime counting function. Is this true? How to prove it?


Just have a quick question. I've looked around the internet quite a bit  and I've found a few solutions but none of them have worked yet. Looking at converting a string to an int and I don't mean ASCII codes.  For a quick run-down, we are passed in an equation as a string. We are to break it down, format it correctly and solve the linear equations. Now, in saying that, I'm not able to convert a string to an int.  I know that the string will be in either the format (-5) or (25) etc. so it's definitely an int. But how do we extract that from a string?  One way I was thinking is running a for/while loop through the string, check for a digit, extract all the digits after that and then look to see if there was a leading '-', if there is, multiply the int by -1.  It seems a bit over complicated for such a small problem though. Any ideas?


I cannot understand how quadratic formula to solve for $x$ was derived.  On this , it explains the steps  Following I understand    but I cannot understand how they got   $b/2a$  and why they are squaring it  $b^2/4a^2$  Really, I am baffled!


Difference between «so that» and «such that»

Are these the same?  The image will be sheared such that the x-axis goes through (1,1). The image will be sheared so that the x-axis goes through (1,1).  I think I have usually seen the former, I didn't even know that “so that” is allowed in English until I once saw it in a text from a (as I assume) native English speaker. Simon


WHY no Copy&Paste by keyboard in Bash/CMD

I know there are a lot of threads, tutorials and questions about how to work around it, but I do not get, WHY you simply cannot use Ctrl+C and Ctrl+V to insert a line for example from the browser into the bash (Linux) / cmd (Windows).  Is there a specific reason why this isn't yet implemented?  It works like this:   Ctrl+C from the source Right Click -> Paste in the Bash or CMD


Is there any anti-hermitian operator in quantum mechanics?

I know what are Hermitian operators and anti-hermitian operators.but as i have studied quantum mechanics most of the operators we had dealt with them are hermitian and this question popped up in my mind that does any anti-hermitian operator exists in quantum mechanics?


What is the remainder when $32^{32}$ is divided by 3 ?  MY ATTEMPT  $$32^{32}=(2)^{160}$$  $$32^{32}=(3-1)^{160}$$  $$32^{32}=3M+(-1)^{160}$$  According to binomial expansion $$32^{32}=3M+1$$  Thus the remainder is 1.  Am I correct ?


How to find which query is causing tempdb growing?

Good day.  I'm trying to discover which query is causing tempdb growing too much (around 100gbyte).  In my new company, people is using a lot of dynamic Excel files with various query.  I'm pretty sure that one of them is "guilty" for tempdb growing.  The only solution I've discovered is to restart sql server service (it delete and recreate tempdb). Is there a way to discover which query is allocating so much space ?  Thanks


Let $F_a$ be the group which is freely generated by $a$ elements. How to show that there is a homomorphism from $F_a$ onto $F_b$ if and only if $b\le a$?  I was thinking one possibility is if $F_a$ generated freely by $\{x_1, \dots , x_a\}$ and $F_b$ generated freely by $\{y_1, \dots , y_b\}$ then consider map which says $\phi(x_i)=y_i$ for $1\le i \le b$ and $y_1$ otherwise. I do not know if this works or even how to proceed. How to show this fact?


Will moving a subdomain into subdirectory improve SEO?

I have read this article:   But I'm not 100% clear if moving my subdomain website into a subdirectory on the main domain would change anything related to SEO.  I inherited this structure:   Informational site related to our specific industry lives at: http://example.com StoreFront where we sell product related to our industry lives at: http://store.example.com   The informational site gives a lot of good information on how to use the products we sell. The storefront is primarily used for the ecommerce function of selling the products, but there is a lot of info specific to the products on that site.   Question: Is our main domain http://example.com getting page rank credit for the product info contained at http://store.example.com? Would there be a benefit to changing the structure?


Extand main APFS partition on MacOS Mojave 10.14.3

As it can be seen from the screenshot below my APPLE SSD is of size 500GBs, but my Apple_APFS Container disk1 is of size 450GBs. There was a Container disk 2 of size 50GBs before but I successfully removed it using:   sudo diskutil eraseVolume "Free Space" %noformat% /dev/disk0s4   I tried resizing the main APFS cotnainer with the following command:  diskutil apfs resizeContainer disk0s2 0   but I am getting the following error:     Error: -69519: The target disk is too small for this operation, or a   gap is required in your partition map which is missing or too small,   which is often caused by an attempt to grow a partition beyond the   beginning of another partition or beyond the end of partition map   usable space   Following some screenshots displaying the current state of the sysetm:   diskutil list /dev/disk0 (internal, physical):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      GUID_partition_scheme                        *500.3 GB   disk0    1:                        EFI EFI                     209.7 MB   disk0s1    2:                 Apple_APFS Container disk1         449.3 GB   disk0s2    3:       Apple_KernelCoreDump                         655.4 MB   disk0s3  /dev/disk1 (synthesized):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      APFS Container Scheme -                      +449.3 GB   disk1                                  Physical Store disk0s2    1:                APFS Volume Macintosh HD            362.2 GB   disk1s1    2:                APFS Volume Preboot                 55.2 MB    disk1s2    3:                APFS Volume Recovery                517.2 MB   disk1s3    4:                APFS Volume VM                      1.1 GB     disk1s4


Indefinite article before uncountable "drink" nouns, e.g. "a water"

I have been reading  (a novel) for the last seven days. I have seen in the novel that the writer used the indefinite article a before a uncountable noun water.      I glanced at Linc again. His grin was still in place, but he rolled   his eyes as if he was amused with his dad.      “Okay, well, thank you. It didn’t take me too long to get settled in   though,” I said, feeling the need to say something. I wasn’t good with   small talk.      “Good. I’m glad you’re ready to dive in. Please, have a seat. Can Linc   get you a water?”   However, I do not think that we can put the indefinite articles (a and an) before uncountable nouns (water, milk, wine). As per my opinion, the author should have said:     “Good. I’m glad you’re ready to dive in. Please, have a seat. Can Linc   get you a glass of water?”      “Good. I’m glad you’re ready to dive in. Please, have a seat. Can Linc   get you a bottle of water?”


Does an off-pitch defender break offside?

Let’s say a defender is injured and leaves the pitch for treatment just outside his goal-line. If an attacker of the opposite side then receives the ball in a position which would previously be called offside, would it also be offside then, or would the off-pitch defender break the offside?


Why is Community Moderator ♦ user voting?

I was going through personal profile of  and .  Their personal info written as:     Hi, I'm not really a person.      I'm a background process that helps keep this site clean!      I do things like         Randomly poke old unanswered questions every hour so they get some attention   Own community questions and answers so nobody gets unnecessary reputation from them   Own downvotes on spam/evil posts that get permanently deleted   Own suggested edits from anonymous users      And this users are not listed in  voters tab.   How can background process vote this many times? Is voting being done democratically? Are StackExchange employees handling this accounts?


How can I rewire half switched receptacles?

In my bedroom the bottom half of all receptacles are controlled by one switch. Is it possible to have just one receptacle with top and bottom hot all the time?  The top half is hot all the time the bottom half is controlled by one switch.  Keep in mind there are six other receptacles in this room that are the same way controlled by the same switch. When I took the receptacle out the right side tab had been removed.  The top right screw had a black wire, the bottom right had a red wire, the top and bottom left screws had separate white wires.  I changed the receptacle out as suggested, I capped off the red wire and I capped off the white wire that was attached to the bottom left screw. I attached the other white wire to the top left screw and attached the black wire to the top right screw. I now have none of the receptacles working at all. What did I do wrong?


can i safely remove /var/log/jenkins/jenkins.log (/var: 100% used)

I am running out of disk space with /var system file and noticed /var/log/jenkins/jenkins.log file is occupied 7 GB. Can i safely remove this log file ?


Does unlocking bitizens via the album make them available for play in the game?

I've waited patiently for a few months for the Trandoshan species (my favorite!) and they haven't come, so I decided to use some bux, and unlock them and the Tusken Raider.    A week or so later, they still have yet to show up (even as elevator passengers)! So, I decided to run another test and unlock Zabrak, same problem.  I've read a theory that unlocks are the same for all players, and I today unlocked Sullustan, so my big question is; does unlocking in the album enable the species to show up and they still do not, or does it simply add their description and they will show up in the allotted amount of time?   Has anyone even had Trandoshan or Zabrak "randomly" unlock and become available as elevator passengers and/or residents? Or do we all just have to wait until they push the release button for us? My fear is that spending the bux in the album doesn't actually unlock them and locks them out from ever showing up,  I have even contemplated restarting my tower out of fear that I had glitched things for myself, but I decided to post here first :)  Thanks for your help!


What is the purpose of old-school D&D class level limitations?

When I played 1E and 2E, racial level limits was one of the first rules we decided to ignore.  We decided that it would prevent us from playing (say) an Elven fighter for as long as the party might last and that we couldn't figure out a reason for the rule to exist.  Now I'm thinking about teaching some young relatives to play D&D, and I'm pretty sure that I want to go with 2E, which I know best and learned at their age.  I might use 2E itself, or maybe OSRIC.  I'm re-evaluating a lot of the rules that I used to ignore, and that's one that I'm curious about. What is the purpose of that rule?  Is it for balance, or flavor, or something else?  A well-explained opinion is welcome, but I'd love to see historical evidence from the designers.


What happens when you swap out a required feature to get into a PrC?

Say a Human Warlock-6/Mindbender-1 was to gain another level in Warlock and decided to swap out his Charm invocation (required for Mindbender entry) for the Flee the Scene invocation.  Is this a legal move, or is it just not allowable?  And if it is a legal move, are there any negative ramifications (other than not being able to level up in Mindbender again)?...Such as would I love the Mindbender's telepathy class feature until I qualified for the PrC again, etc?  Similarly, what if you retrained a feat you used to enter a class?  Ie.  A Human Warlock-5/Chameleon-2 decided to retrain his Able Learner feat (required for Chameleon entry) for Improved Initiative.  Or...An Epic level character getting Epic Leadership, then swapping out Leadership.  Now I know in the case of feat retraining, the PHB2 goes over that not only do you have to meet the requirements when you retrain it, but also must have been able to have taken it at the time when the original feat was chosen...However, I have not come across any resource saying that you cannot retrain a feat if it was the requirement for another feat or a Prestige Class (I found one for PF saying you cannot, but I haven't seen one for 3.5)...Nor do I see anything referring to the similar situation about the invocations.  Now I am sure that RAI (and many DM's would rule), that you cannot give up a requirement, but is there any official ruling anywhere?  There has to be some sort of official ruling out there right?...I mean there has to have been plenty of ppl who took/tried to take advantage of feat/skill retraining to get rid of unwanted requirements for feat tree and or PrC's right?


Find all $n$ such that   $3^{2n+1}+2^{n+2}$ is divisible by $7$  Prove that your answer is correct   So I am not allowed to use mods,  as is a calculus question, I have tried by induction but can't get to prove that it works for $k+1$, by multiplying the equation by powers of $2$ and $3$.   Thank you for your help


Deriving approximate wave function of virtual photons in a simplified model of momentum transfer

In the virtual particles FAQ here , under "How can they be responsible for attractive forces?" I didn't follow this step:  "If the wave packet is small enough in position space, a Coulomb potential and a sinusoidal one are both effectively a constant-force potential, so I can do this.  Neglecting all magnetic effects and taking the nonrelativistic limit, the amplitude for transfer of a given momentum by a single virtual photon […] has to have an imaginary part odd in p_x because the potential is real,…"  How is this oddness derived? Or, what do I need to know/study to derive this? Added: More precisely, I would like to understand first of all, what is the right equation to write down from QM theory, and what are the modifications (neglecting magnetic effects, taking limit, etc.) we should make for this simplified model? And secondly, if it's not already clear, how do I get from there, to an approximation by an odd function (whose sign depends on parity) such as is necessary to follow the rest of the thought experiment in the FAQ? (My real goal here isn't to pick apart this FAQ, but to understand how attractive force comes from QM first principles, I'm just not knowledgeable enough to fill in the gaps of the FAQ. If there is another more detailed treatment of this topic to recommend that would also be helpful.)


For positive real numbers $a,b,c$ prove that $$(a+b+c)(ab+bc+ca)(a^3+b^3+c^3)\le (a^2+b^2+c^2)^3$$ My try : Rewrite this as $$\frac{a^2+b^2+c^2}{ab+bc+ca}-1\ge \frac{(a+b+c)(a^3+b^3+c^3)}{a^2+b^2+c^2)^2}-1$$ Then I am stumped, I was trying to use SOS but I think an easier proof is possible. My teacher give this to me. He combined to well known inequalities $a^2+b^2+c^2\ge ab+bc+ca$ and $(a+b+c)(a^3+b^3+c^3)\ge (a^2+b^2+c^2)^2$ and changed the sign. This is easy by  but my teacher wouldn't accept it. Can some one help me? Thanks in advance.


Do we need "more than 200 reputation" instead of "at least 200 reputation" to get the silver "Yearling" badge?

I have observed this on  community, but this probably applies to all communities on .  On March 2, 2019, I scored 200 reputation and I did not receive the silver "Yearling" badge.  On March 4, 2019, , so now I have 202 reputation and I immediately got the "Yearling" badge.  My case shows that to get the silver "Yearling" badge we must have "over 200 reputation", not "at least 200 reputation", as it is written for example :  Is this what it should be like, or maybe I misunderstand something?


Find the number of bijective function  $g(n):\mathbb{N}\to \mathbb{N}$ such that it's satisfies $\sum_{n=1}^{\infty} \frac{g(n)}{n^2}<\infty$   I think  there is no such bijective function exists , suppose $g(n)=n$ then $\frac{g(n)}{n^2}=\frac{n}{n^2}=\frac{1}{n}$ , but $\sum_{n=1}^{\infty}\frac{1}{n} $ is  diverges . Now again $\sum_{n=1}^{\infty}\frac{1}{n} $ is converges if we omit the term $n$ whose last entries is $9$. But then don't understand how to construct such bijective function .(source:: )  This question is came in TIFR GS-2021 .


Watching a video ( &  @ 1m:34s), the presenter (TJ Holowaychuk) wrote:  touch !!:2{...}   I can't find what !!:2 means anywhere.  I get the (repeat the previous command) !! but, the meaning of  !!:2   I don't know, can't find an answer for and the search here returned no results for, so ... I'm stuck.  Context:  to create several directories at once, he wrote:  mkdir -p lib/{login,signup,users,posts}   to create the same files in each of those directories, he wrote:  touch !!:2/{package.json,index.json}   The output was:  touch lib/{login,signup,users,posts}/{package.json,index.json}   The result was:  The two files were created in each of the directories.


Given an integer n, show that an integer can always be found which contains only the digits 0 and 1 (in the base 10 notation) and which is divisible by n. How to solving this problem?


Lost password, recovery mode doesn't help

A friend of mine has a old Ubuntu laptop that he wants to put back into use, but since it has been some time since he used it he has forgotten his password.   I've looked up how to change but none of them will work. I have also tried using the recovery mode, but using the root mode is locked also and requires a password. (We can not reformat the disk due to some pictures on it.)    Thank you in advance! :)


If a nine digit number is formed by the nine non zero digits with units digit $5$, prove that it must not be a perfect square.   Greetings, I was continuing on with my number theory, and a question came again which I could not solve.  Here's what I've done so far:     Since the units digit of the 9 digit number is $5$, it is a multiple of $5$. Therefore the number is divisible by $25$ and hence the last two digits are $25$ and now I'm stuck.   Any help would be appreciated.   Thank You  EDIT: Thanks to John Omielan, Toby Mak, Community♦ for pointing out that this is a duplicate. See the first link on the top. There is an answer there.


Possible Duplicate:          I know that asking for something like Visual Studio is too much but something that will let me write, debug and compile in a GUI instead of the command line is good enough for me. (Not that I'm lazy, but I don't have time to learn the necessary commands...)


Solving $\lim_{t\rightarrow 0}\frac{1}{\pi}\int_{-1}^1 f(x) \frac{t}{t^2+x^2} dx =f(0)$ without dominated convergence

I have to prove the following: $$ \lim_{t\rightarrow 0}\frac{1}{\pi}\int_{-1}^1 f(x) \frac{t}{t^2+x^2} dx =f(0) $$  Assuming continuity of $f(x)$ for every real number. I tried change of variable with $x=t \tan(\theta)$ and $u=\frac{x}{t}$ but none of them take me to some known place.   Actually, when I try the second change of variable it looks like Dirac delta function. But maybe I did something wrong or going in the wrong way.  I know that it can be solved with Dominated Convergence Theorem, but I'm not allowed to use it.


Does “Marvel Universe” mean just Earth-616, or the whole multiverse?

EDIT:I'm just confused how to properly use the term. I understand that each alternate universes have it's own designation numbers but just wondering whether the term 'Marvel Universe' simply just mean the main universe which is 616 or it could be use to referred to the whole multiverse(main universe + all the alternate universes) as well?


How to change the text of a 'Label' field in java fx at runtime?

I tried to change the value of a 'label' field using setText() method which is in a method called by timer.Totally, I have 3 Classes 1)FXMLDocumentController 2) checkInternetStatus and 3) InternetConnectivity as I've shown below.  At First,I called timer in 'initialize' method of FXMLDocumentController as below     Timer timer = new Timer();     timer.schedule(new checkInternetStatus(), 0, 5);  Then, it calls runnable in the checkInternetStatus class and returns to a method which is in 1st class. Here getInternetStatus() is a method in InternetConnectivity class which returns a boolean.  class checkInternetStatus extends TimerTask {   InternetConnectivity obj = new InternetConnectivity();   FXMLDocumentController obj2 = new FXMLDocumentController();    @Override   public void run() {     javafx.application.Platform.runLater(new Runnable() {         public void run() {             obj2.checkInternetStatusFXML(obj.getInternetStatus());         }     });   }   But it returns Null Pointer Exception like below  Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at the line  statusText.setText("desired_text");    which is in the method in FXMLDocumentController which sets desired text. Can anyone help, Thanks in advance !!


What are your easiest photography beginner tips?

Over time, I've found there are a handful of really simple things that anyone can do to take better pictures.  What are your favorites?   Understand the basics of aperture, shutter speed, and ISO. Take your camera everywhere, including when you don't intend to use it. Take a lot of pictures. If you find what you could perceive as an interesting subject or image, take many images varying angle, height, framing, working distance, aperture, focal length, etc. When reviewing your own pictures, think about what you like and don't like for each one. What could be done to improve it (not just in post process, but when you were taking it, or even stuff like if that tree wasn't there, the clouds were better, a certain facial expression, etc). Also look at photos and photogs that you like and try to understand why you like the work and how to do that. Submit your good ones to critique forums and websites. Critique other people's photos, it will help you see and take better pictures. Participate in photo challenges. Once you spend a week agonizing over a good concept for a theme, you can look at what other people did. The pains of your own creative process combined with great ideas that others have executed will give you new insight. Forget about gear. For a day, limit yourself to one focal length. Limit yourself to a certain number of pictures (once you have started to develop a photographic eye from taking and looking at many pictures), it will teach you to be careful and deliberate about creating a photograph. Have fun. "check your edges" -- think about everything that's inside the frame, and make sure you want it there.  ("check your edges" meaning to look around the edges of the frame -- often things that straddle the edge of the frame are good candidates for either bringing further in (tops of heads, say, or feet sometimes) or excluding (random objects, a transition that doesn't need to be there, etc.)).


Solve the equation $2φ(x)=x $ for $x\in\mathbb N^+.$   I know $$x=\prod_\limits{i} p_i^{a_1} =p_1^{a_1}\cdot p_2^{a_2}\cdot p_3^{a_3} \ldots p_n^{a_n}$$  $$\phi(x)=x\left(1-\frac{1}{p_1}\right)\left(1-\frac{1}{p_2}\right)\left(1-\frac{1}{p_3}\right)\ldots \left(1-\frac{1}{p_n}\right)$$  But still don't know to solve it. Can anyone help me?


Help identify a novel/short story with themes similar to Elysium

I saw the trailer for a movie Elysium, and it reminded me of a book I read as a kid.  It was about how Earth was poor but had a giant population, and the space stations were rich and had better technologies, but low population due to dimensional constraints. Then some guys on Earth try to develop an advanced ship and somebody remarks how even though an average Earth citizen is poor, there is a billion of them and if you take 1 dollar from each you now have a billion dollars at your disposal.  I tried various google searches but to no avail. Perhaps it was an Asimov short story? I looked through his works but none seem to match.


I tried several solutions to disable completely the notification center in Yosemite. For example, see  or .  These solutions disable the notification panel, but, in Yosemite, the notification icon of the menu bar is still there.  How can I remove the menu bar icon ?  I know the bartender software can do that but I am looking for a solution which does not require addind another app.  EDIT:   I have already tried to remove NotificationCenter.app in /System/Library/CoreServices. I also tried the following command:  launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist; killall NotificationCenter   These two techniques remove the notifications but do not remove the icon.


Can I replace a 15 ampere circuit breaker with a 20 ampere breaker?

When I plug-in a conventional heating pad or a hair dryer into any bedroom duplex, the lights dim; and/or trips the circuit breaker. The home is of new construction-- placed in service 31 Dec 2013. My question is: Can I safely replace the existing 15 AMP Breaker with that of a 20 AMP? . . . the service cable is of 14 Gauge Copper Conductor.


UK visa refusal on credibility grounds (longer visit than originally described)

I would like to enquire about the maximum length of stay possible for an individual with a 6-month UK visit visa.  Although it's mentioned in the Home Office webpage that granting a 6-month visitor visa allows the person to stay for a maximum of 6 months , I've seen friends of mine who were refused a second visa as they previously stayed for 2 or 3 months during their first visit to the UK.


How to change password in Remote desktop?

I have to change my password in remote desktop and I am not getting the option to change password.  I tried with Ctrl + Alt + Delete, it working for local desktop but not for remote.  I also tried with Onscreen keyboard too.  Can any one help me on this?


Term to describe when one event cannot occur without the other

So my wife and I were just having a conversation concerning a situation at her work, and I was trying to think of a term to describe the GM's approach but it's eluding me.  Here's the context:  Background: Newly opened hotel restaurant, all hands on deck including my wife (who was hired as a Sales Manager, not a server/buslady), situation has devolved into chaos  Conversation: I asked my wife who was responsible for hiring staff for the new restaurant, and she said ultimately it would be up to her boss, but her boss was given explicit instruction by the GM NOT to hire any additional restaurant staff, and simply make do with the existing skeleton crew.  I asked why the GM wouldn't hire any additional staff, and she said -  "Because [NAME] doesn't want to hire any additional staff until our numbers are up (sales numbers), but we can't get our sales numbers up until we hire additional restaurant staff to get us off the floor"  The term I'm trying to think of would describe the situation in which A cannot exist without B yet B cannot exist without A ad infinitum.  Almost like an infinite feedback loop? But that doesn't seem to be an appropriate term just given this has nothing to do with computers/software.  If this isn't clear just let me know.  Thanks for any and all help!


Vertical align content with unknown height

Currently I have something like the following:

         sample

         sample

   and css:  .wrapper {   border: 1px solid;   height: 600px;  //This is for test purposes and will be 100% of available height in flexbox grid   text-align: center;   justify-content:center; }  .contentWrapper {   display: flex;   align-items: center;   flex-direction: column; }   I am trying to vertically align the text content but it is refusing to be vertical aligned. I don't want to set any height on the image as don't want to ruin it's aspect ration, but need content to always be aligned in the remaining space left at all screen sizes.   below is a jsfiddle:   Any ideas on how to acheive this would be greatly appreciated


Why do primes other than 2 and 5 divide infinitely many repunits?

I first noticed this is true for the integers of the sequence $9, 99, 999, 9999,\dots$, since for some term $a_n=10^n-1$ in the sequence and $p$ a prime other than $2$ or $5$, we have $a_n\equiv 0 (mod\ p)\Leftrightarrow 10^n\equiv 1 (mod\ p)$ and we can find infinitely many $n=k(p-1)$ so that $10^n=(10^{p-1})^k\equiv 1^k\equiv 1 (mod\ p)$ by Fermat's little theorem.   I'm curious, is there a similar way to show this is true for repunits $1, 11, 111,\dots$?


Infix to Postfix, my program compiled but wont produce an output. (java)

so I have to convert infix to postfix with the example, ab/(c-a)+de. My code did not show any errors only some warnings, it compiled but there is no output. When I run it will show me the message below. Exception in thread "main" java.lang.NullPointerException     at LinkedStackTest$Convert.convertToPostfix(LinkedStackTest.java:40)     at LinkedStackTest$Convert.main(LinkedStackTest.java:60)  I tried looking over the code multiple times and still do not know what I did wrong. Any help or advice would be great thanks! My code: public class LinkedStackTest {     static class Convert     {         static int getPriority(char ch)         {             switch (ch)             {                 case '+':                 case '-':                     return 1;                 case '*':                 case '/':                     return 2;             }             return -1;         }          public static String convertToPostfix(String infix)         {             LinkedStack<Character> linkStack = new LinkedStack<>();             String postfix = "";              for (int i = 0; i < infix.length(); i++)             {                 char ch = infix.charAt(i);                  if (Character.isLetterOrDigit(ch)) {                     postfix += ch;                 } else if (ch == '(') {                     linkStack.push(ch);                 } else if (ch == ')') {                     while (linkStack.peek() != '(') {                         postfix += linkStack.peek();                         linkStack.pop();                     }                 } else {                     while (!linkStack.isEmpty() && getPriority(ch) <= getPriority(linkStack.peek())) {                         if (linkStack.peek() == '(')                             return "Invalid";                         postfix += linkStack.peek();                     }                     linkStack.push(ch);                 }             }             while (!linkStack.isEmpty())             {                 if(linkStack.peek() == '(')                     return "Invalid Expression";                 postfix += linkStack.pop();             }             return postfix;         }          public static void main(String[] args) throws Exception         {             String infix = "a*b/(c-a)+d*e";             String postfix = convertToPostfix(infix);             System.out.println("Infix: " + infix);             System.out.println("Postfix: " + postfix);         }     } }


Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sda5 on /media/bakwas  /etc/fstab: static file system information.  <file system> <mount point>   <type>  <options>       <dump>  <pass>  /dev/sda7   /host   fuseblk defaults,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096    0   0 /dev/sda6   /media/New_Volume   ntfs-3g defaults,locale=en_US.UTF-8     0   0 /dev/sda1   /media/SYSTEM   ntfs-3g defaults,locale=en_US.UTF-8     0   0 /dev/sda5   /media/bakwas   ntfs-3g defaults,locale=en_US.UTF-8     0   0 /dev/sda2   /media/windows7_64bit   ntfs-3g defaults,locale=en_US.UTF-8     0   0 /host/ubuntu/disks/swap.disk    none    swap    sw  0   0   Above is my fstab file.  I am not able to understand how to solve this problem. Please help me. I am new in LINUX  When I am restarting system it is showing me all my drives already mounted.


How to create and navigate instantly to a directory with Shell Scripting?

I need to create and navigate to a directory with one line of command. And it needs to be inside a function. I'm new to terminal and shell scripting and don't know much about it.  My process goes like this:  I write the name of the directory and it is stored to $dirname variable, and then type "create" and it is stored to another variable named $thecommand, to create the directory with the name I gave, and navigate to it.   I have a create() function. Inside the function I did mkdir ./$dirname, and then cd $dirname. Then I applied a condition: if what the user wrote in $thecommand variable (BTW both $dirname and $thecommand are read, so the user writes the value) is equal to "create".   The directory was created, but it didn't navigate to it. So I tried creating an alias p="$dirname", and applied the alias in the function, still, it created the directory, but didn't navigate!   I would appreciate if someone helped me with this.  Here is my code:  echo "Write Folder name" read dirname echo "Write -create- to create the folder" read thecommand  p="$dirname"  function create() {     mkdir ./"$p"     cd "$p" }  if [ "$thecommand" == "create" ] then     create fi


How to install SQL Developer on Ubuntu 14.04?

I am trying to install SQL Developer on Ubuntu 14.04. I have followed some tutorials but none of them worked. So I am asking you if you know how to install SQL Developer.


What is the ppm in the crystal oscillator?

I'm a student and I'm working on a low power communication project. I am trying to design a PCB using the . There is a MC-306 (32.768kHz, 12.5pf, and 20/50ppm).   I don't know what the 20/50ppm rating is. For me, the size is very important, so I decided to replace it with the , but its ppm is -20/+20. Will it cause a problem if I use this one instead?  What is the ppm rating in the crystal oscillator?


How to get filename without extension from file path in Ruby

How can I get the filename from a file path in Ruby?  For example if I have a path of "C:\projects\blah.dll" and I just want the "blah".  Is there a LastIndexOf method in Ruby?


How to show that this binomial sum satisfies the Fibonacci relation?

The binomial sum   $$s_n=\binom{n+1}{0}+\binom{n}{1}+\binom{n-1}{2}+\cdots$$   satisfies the Fibonacci relation.   I failed to prove that $\binom{n-k+1}{k}=\binom{n-k}{k}+\binom{n-k-1}{k}$... Any hints or suggestions?


I'm a beginner at c. I learnt that goto statement can be used to get out of all nested loops at a time. I also learnt that it is not so  preferred in C. However, I use it frequently because I think it helps a lot, and sometimes, it's much easier than the common alternatives. Here is a little program in which I used goto statement to correct the user's mistake instead of using a loop. So, my question is : Should I really stop using it?  #include <stdio.h> #include <stdlib.h>  int main() {     /*A program to store a number in 4 bits only !*/     printf("Enter x then z :\n");     int x, y;     Start:     scanf("%d %d", &x, &y);     if((x > 15) || (y > 15) || (x < 0) || (y < 0))     {         printf("Wrong numbers! : 0<= x,y <=15\n");         printf("Enter the numbers again : \n");         goto Start;     }     char z;     x<<= 4;     z = x + y;     printf("z = %d", z);     return 0; }


Here is exercise 11, chapter 3 from Stein & Shakarchi's Complex Analysis II:  Show that if $|a|<1$, then:  $$\int_{0}^{2\pi}\log|1-ae^{i\theta}|\,d\theta = 0$$  Then, prove that the above result remains true if we assume only that $|a|\leq 1.$ ($a\in \mathbb{C}$)  I've already proved it for $|a|<1$, but couldn't make it for $|a|=1$, which I thought would be the easy part. But the only thing I could come up with was that, WLOG, it is enough to prove that:  $$\int_{0}^{2\pi}\log|1-e^{i\theta}|\,d\theta = 0$$  Tried to look for some kind of symmetry, but could't find it. Any ideas? Thanks!


If $f:D\to D’$ is analytic and $u: D'\to R$ is harmonic then the composition of $u$ and $f$ is harmonic in $D$.  How can I show that the above statement is true/false? Can anyone help me?


If $x_n\cdot y_n\to 0$ then $x_n \to 0$ or $y_n \to 0 $

Assume   $$\lim_{n\to \infty}{x_ny_n}=0$$  then  $$\lim_{n\to \infty}{x_n}=0$$ or $$\lim_{n\to \infty}{y_n}=0$$  I couldnt find two series who disprove that.. just hint please thanks


Does every professor need to do research?

I wonder if there are some professors only focusing on teaching or management but no research. I think this may be feasible.


How do i type ♣ (alt+5) and ♥ (alt+259) and other characters like it on a keyboard w/o a numberpad? using the numbers 1-9-0 doesnt activate those characters. Note i want to TYPE and not use that windows program to select/copy/paste


How did I unlock Roselina in Mario Kart Wii?

I have unlocked Roselina a long time ago and I don't remember how. She is the only character I have ever unlocked. I don't have any Mario Galaxy save, and I don't have the mirror levels, I don't even have all of the cups. I also have no stars for anything. How did I unlock her? Does anyone know?