No 'apply now' button for careers, using iPad Air/iOS 7.0.6

Browsing for (junior) JavaScript jobs on  (hint, hint…) I found a few that I'd like to apply to, but browsing the job page there seems to be no way to actually apply (for clarity this applies to iPad Air/iOS 7.0.6) for positions, due to the lack of an 'apply now' button:  iPad Air/iOS 7.0.6:    iPhone 4s/iOS 7.0.6:    Nexus 7 (original model, Android KitKat):    Link to actual job page (though it's true of all job pages that I've browsed on iPad):   Incidentally, I have previously flagged this problem via the in-page 'report a problem' facility (around, or slightly before, 17/02/2014) and received this response:     Hi David,       Thanks for showing your interest in this position:   1      You should be able to see the "apply now" button at the bottom of this job listing.   Can you try a different browser if you aren't able to see that?       Cheers,   (Name removed, since I don't think it's fair to potentially embarrass someone)     1: Note that this is an entirely different job, though it shows the same behaviour.


Help me understand the problem I am failing to identify in the following code.  def extend_a_list(list_var):     return list_var.extend([6, 2])  def plus_equals_list(list_var):     list_var += [6]     return list_var  list_var = [1, 2, 3] print "Extending" print extend_a_list(list_var)  list_var = [1, 2, 3] print "Plus Equals" print plus_equals_list(list_var)   >>> Extending >>> None >>> Plus Equals >>> [1, 2, 3, 6]   Extend is giving None. Why is that?


Keys are not repeating with Yosemite after 10.10.2

I never had a single issue with yosemite, until yestersday after updating to 10.10.2.  Now I press a key and hold it and it is not repeating anymore.  but the problem is selective. Spaces repeat. Symbols, punctuation mark repeats but numbers and letters don't.  Any way to make that work again?  Nope, that is set (look pic).


Solve identity: $\frac {\sin x}{1-\cos x} = \frac {1+\cos x}{\sin x}$

$$\frac {\sin x}{1-\cos x} = \frac {1+\cos x}{\sin x}$$ The only way I can see of doing this is by cross multiplying but isn't that not allowed when trying to prove something?


Windows 10: How to keep task bar buttons in manual order?

Windows 10 has this shortcut key to switch between desktop: Win+Ctrl+Left/Right Choose the classic task bar button mode (with title next to small icon) instead of big icons on task bar, and arrange the task bar buttons of programme in a manual order. Switch to another desktop using the shortcut key above, switch back, and the manual order is no more there, task bar buttons are sorted back in opening order. How to keep manual order of task bar buttons when switching between desktops?


How do i show that $w=z^2$ maps $|z-1|\leq 1$ onto $R=2(1+\cos \theta)$?

How do i show that $w=z^2$ maps $|z-1|\leq 1$ onto the cardioid $R=2(1+\cos \theta)$?


bash heredoc gets corrupted(randomly) when pasted to ssh terminal

I connect to a lot of Linux servers with ssh and run a health check script on each, wanted to save myself 2 secs per server when doing so.  So instead of normally creating the script file:  cat > test.sh + right-click paste(whole script file -copied from notepad) + ctrl+c   I right click paste: here doc with whole script(copied form notepad):  cat <<'EOF' > test.sh #!/bin/bash commands.. commands.. EOF   Aprox 50% times script inside gets corrupted when pasted like this. Corruption occurs on random line/lines(part of line is missing, some characters are missing etc.) which results in syntax errors when script is run, other 50% times script is pasted OK and can be run OK.  Problem is definitely not in the script itself.  When it is copied cat > filename way, it works 100%. Notepad where the text is copied from uses UNIX - LF EOL conv. but this also happens when switched to windows CRLF type. Script has no tabs inside, just whitespaces also limitString has no leading whitespace before itself  Script is 430 lines long, could this be a problem?  I have been using same syntax for some time in some other bash scripts or directly in terminal but never experienced such behavior.  Anyone has ideas what might be causing this? Or possible workaround?


Positive correlation and negative regressor coefficient sign

Is it possible to obtain a positive correlation between a regressor and a response (+0,43) and, after that, obtain a negative coefficient in the fitted regression model for this regressor?  I'm not talking about changes in the sign of the regressor among some models. The coefficient sign always remains.  Could  the remaining variables of the fitted model influence the changing of the sign?


I typed iptables -F by mistake, how to undo?

I typed iptables -F by mistake, how can I undo it?    I see now strange activity on my routers IP, scanned it and saw that strange ports are open. How can I block these ports?


Can anybody please explain the derivation of transformation of a frame rotating with constant angular velocity w.r.t. a stationary frame. It can't understand it from my book. The derivation started with assuming origins of both frames K (stationary) and Kp(rotating) are same.  So the position vectors are  equal i.e  r=rp .Then for displacement vectors we can write    $$ dr=v_p\cdot dt +  (d\phi \times r)$$  so by dividing dt I got   $$v=v_p + (\omega \times r)$$  then  $$dv = dv_p + (\omega \times dr)$$  up to there is everything ok.  I thought by dividing by $dt$ I will obtain acceleration. But that gives a different result.  I don't know why?


What is significance of negative sign in Maxwell's third equation?

Is that explanation actually correct? Can we take sign conventions according to our preference which satisfies equation and also predict direction?


I need to install LaTeX on a old MacBook holding a Mac OS Lion 10.7.5 . Apparently the new version of MacTeX distribution require Mac OS 10.10 or higher, and I am not managing to find old versions of the distribution. Some ideas?


How are the categories assigned in new Area 51 layout?

has a new layout with categories on the left. My question is - how are proposals assigned to those categories and by whom?  I ask because I'm thinking of my main proposal: . It is currently under  which makes sense. But what about the other categories? E.g. given that it includes , why isn't it also listed under ? Or since it includes moderating for businesses, why isn't it included under  as well? (Yes, I know someone will say that with this proposal I could argue that it could go under almost any category - that's the point - how are these assigned?)  And related - are these categories fixed for all time? If not, how can they be changed?


Space issues on Ubuntu, no space to install GParted

My Ubuntu stopped saving my files last time I was working on it, saying "insufficient hard disk space". I tried rebooting my PC and it won't open. Rather, a black screen with a single dash appears. I understand that some drivers may be corrupted and would have to be reinstalled from the root shell, but I have no space. I know how to resize or increase partitions on Ubuntu, but I don't have GParted either, through which this is done. When I try to install it from the root shell, it gives me the same space error. What can I do to solve this issue?


What is a SIM Toolkit? Does it come with your phone?

I don't remember ever installing an app called 'SIM Toolkit'. Can someone be stalking my phone with a SIM Toolkit?


Illegal parameter number in definition of \reserved Error

What is the problem with that code?  Öncelikli olarak \textbf{#include <mpi.h>} header'ını programımıza ekliyoruz.  Ardından MPI programımızı başlatacak olan \textbf{MPI_Init(&argc, &argv);}  fonksiyonumuzu yazıyoruz. Bu iki satır her MPI programında bulunmaktadır.   Error  Illegal parameter number in definition of \re served@a. <to be read again>                     i l.512 Öncelikli olarak \textbf{#include <mpi.h>}                                               header'ını programımız..


Why does Hawking Radiation not add up to zero?

First off: I am not familiar with the details of quantum mechanics or relativity. My understanding of  is as follows: Pairs of particles and anti-particles can and will spontaneously form in space and when that happens near the event horizon of a black hole the anti-particle might fall into the black hole and the particle not, effectively causing the black hole to lose mass.  Now, this is totally fine with me. The thing I do not understand is: Why do more anti-particles fall into the black hole than particles? If these pairs pop up randomly, shouldn't the effects of Hawking-radiation and anti-Hawking-radiation cancel out?


Talking about Luke and Leia.  Padme - Alien (right?) did not age when Anakin turned puberty.  Because their mom is an alien that doesn't age.  Does it work like half/half?  Do they live longer than normal humans?


A divisibility question concerning polynomials.

What is the condition that $$x^2 + x + 1$$ is a factor of $$(x + 1)^n − x^n − 1$$.


Why the behaviour of python does not meet expectations

I think here is a very strange python code, but i don't know the reason：  In [7]: a = [[]] * 3  In [8]: b = [[], [], []]  In [9]: a == b Out[9]: True  In [10]: a[0].append(1)  In [11]: b[0].append(1)  In [12]: a == b Out[12]: False  In [13]: a Out[13]: [[1], [1], [1]]  In [14]: b Out[14]: [[1], [], []]   Why a is [[1], [1], [1]] after a[0].append(1)?   A similar problem is：  In [15]: c = dict.fromkeys(range(3),[])  In [16]: d = {0:[], 1:[], 2:[]}  In [17]: c == d Out[17]: True  In [18]: c[0].append(1)  In [19]: d[0].append(1)  In [20]: c == d Out[20]: False  In [21]: c Out[21]: {0: [1], 1: [1], 2: [1]}  In [22]: d Out[22]: {0: [1], 1: [], 2: []}   In my understand, a is b, and c is also equal to d, but it isn't. WHY? can anyone help me? Thanks very much!


I want to install this application    but I can't, because I'm in a wrong country. I would like to change country. Do I need to travel to another country to install this application or can I somehow pick a right country ? what is the right country for this application?


If my British boyfriend visits me in the US for a month this December, how long could he stay in the summer?

My boyfriend, who is a UK citizen, is intending to visit me (in the US) for roughly a month in December under the visa waiver program. He wants to come back to visit me during the summer because he's going to be on break from school, but I was wondering if the visa waiver period will be reset by then. I.e., if he was here for 30 days in December, would he only be able to come for 60 days in starting in June? Or would he be able to stay the full 90 days?


The square of a number is even if and only if the number itself is even

I wish to prove that square of a number is even if and only if the number itself is even. Let's call that number $a$, we need to prove that  $$ a^2\text{ is even}\Leftrightarrow a\text{ is even} $$  We need to prove two things:   If $a$ is even, then $a^2$ is also even.   I think that I can do this part. If $a$ is even, then we can write $a=2k$ where $k$ is some integer. Now $$ a^2=(2k)^2=4k^2=2(2k^2) $$ which shows that $a^2$ is also even.   If $a^2$ is even, then $a$ is also even.   I am having difficulty here. If $a^2$ is even, then I can write $a^2=2m$ . for some integer $m$ but taking square root gives $a=\sqrt{2m}$ which can be written as $a=2\sqrt{\frac{m}{2}}$ but the problem is that will $\sqrt{\frac{m}{2}}$ always end up as some integer? I do not think so!


I think it is about time I learn the difference.  I have seen how to use these, but the tutorials have been kinda vague.  I have a very basic knowledge on the syntax and how to use them to a very small extent.  Pointers have always seemed kinda scary and confusing.  I have heard once you learn to use them they are great, and I want something great :).  So how can I use these and at what time should I use each one?  One more thing, I am using C++.  Thank you!


(Internal) Render Won't Save as Transparent Image

So I have quite a simple question, but basically I have a picture of a model and want to save it as transparent. So I went up to the Render Layers panel, Layers, and deselected "sky" and rendered it out. It showed that checkered grey background with the object still there, so things were going good! I saved it, but for some reason there is a black background and it isn't a transparent image. Any help? Thanks!


I'm using TeXstudio 2.6.2 with MiKTeX-pdfTeX 2.9.4535 on Windows7.  I configured TeXstudio to store all output files in a separate directory.   It now looks like this:  -src     |_Report.tex     |_*.tex (all chapters)     |_Report.bib -build     |_Report.pdf     |_Report.log     |_Report.bbl     |_*.aux   which is my desired structure.  My problems are   There are many messages like "citation 'X' on page Y undefined. There's the error message "no file Report.bbl" the inbuilt pdf-viewer doesn't open (find?) Report.pdf   My configuration looks looks this:   How do I have to configure TeXstudio properly  in order to solve these issues?


By numeric experiment, I have noticed that $$ \underset{i=0}{\overset{k}{\sum }}(-1)^{i+k} (i+n-1)^k \binom{k}{i} = k! $$ for any integer $n$ and $k \ge 1$. How can we prove this?


How to prove that $\lim_{n \to \infty} \frac{1}{2^{2n}} \binom{2n}{n} \sim \frac{1}{\sqrt{\pi n}}$

I am presented with the following problem: Prove that $\lim_{n \to \infty} \frac{1}{2^{2n}} \binom{2n}{n} \sim \frac{1}{\sqrt{\pi n}}$ After simplifying the left hand side expression: $\frac{1}{2^{2n}}(\frac{(2n - n)!n!}{2n!}) = \frac{1}{2^{2n}}({\frac{n!}{2n!}}) = \frac{n!}{2^{2n+1}}$ And using Stirling's approximation, I get: $\frac{\sqrt{2\pi n}(\frac{n}{e})^n}{2^{2n + 1}}$ However, I'm not sure how to get from: $\lim_{n \to \infty} \frac{\sqrt{2\pi n}(\frac{n}{e})^n}{2^{2n + 1}}$ to $\frac{1}{\sqrt{\pi n}}$


I'm new to blender, I started today and I created this model.   As you can see it's missing faces, any way to fix this? I created the face by the extrude tool.  It's doing this every time I use the extrude tool


I am currently on Ubuntu 19.10 and I am having trouble with the screen flickering sporadically, sometimes several times per minute sometimes less. There is also small horizontal screen tear when I scroll or similar.   I have a Nvidia 130M graphics unit, and I have activated the proprietary drivers:    I'd have thought any graphics issues would be resolved by using the correct drivers, but since the problem persists, I was hoping someone could help me find a solution. Checking checking graphics units and drivers in terminal yields:  $ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)   and  $ sudo lshw -C video [sudo] passord for *user*:    *-display                         description: VGA compatible controller        product: UHD Graphics 620        vendor: Intel Corporation        physical id: 2        bus info: pci@0000:00:02.0        version: 07        width: 64 bits        clock: 33MHz        capabilities: pciexpress msi pm vga_controller bus_master cap_list rom        configuration: driver=i915 latency=0        resources: irq:139 memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff   *-display        description: 3D controller        product: GM108M [GeForce MX130]        vendor: NVIDIA Corporation        physical id: 0        bus info: pci@0000:03:00.0        version: a2        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list rom        configuration: driver=nvidia latency=0        resources: irq:142 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff


What's the best power injection method for addressable LED RGB Strips?

I'm currently working on an outdoor LED Strip lighting project, and as I'm not particularly experienced with electronics, I wanted to confirm whether my current plan/components have any issues that I should be aware of before I purchase the components. Components        Diagram (Apologies for how crude it is)  Firstly, I was wondering if the LED Strips linked above would need to be powered on both ends of the 5m strip, or if powering just one end of the strip would be adequate. Assuming they only need one connection per strip, would running three 2-Core cables from the power supply work (one for the WIFI Controller, & two for each set of two LED Strips, as shown in the diagram), splitting at the points where they connect to the LED Strips, or would I need to run a separate cable for each connection (for a total of five cables)? Sorry if that's not explained very well, let me know if you need further clarification.


I am examining the impact of 7 IVs on one DV using regression anaysis. Some of the IVs are significantly correlated with each other, which is consistent with theory.   While the single OLS regression between the individual IVs and the DV shows positive and significant effects in 4 out of 7 cases, multiple regression only finds 1 signigicant predictor.   As the first suspect in this case is multicollinearity, I applied a collinearity resistant Partial Least Squares Regression, which successfully identified 4 significant predictors.  However, when I conduct the VIF and Tolerance analysis, I don't find any indications for multicollinearity. VIF is below 1.7 for every variable.   Do I have multicollinearity in the data?   What else may explain this phenomenon?   (N = 80, survey data)


Is it possible to write IOS code in windows notepad and then run it on iphone without mac machine

I am new in IOS, is it possible that I want to write source code in notepad/notepad++ for iphone apps and want to then run it on apple iphone device without mac machine through command prompt or any free tools? If it is possible then suggest how to write files with extension and collect it in a particular folder then how to run it?  I already searched regarding this but not find proper answer for it, please suggest


Wilcoxon Rank Sum test unequal sample sizes

I am comparing two sets of data using the Wilcoxon Rank Sum test. Although the distributions appear to be quite different, the p-value is quite high (0.344).  This is the line of code being used for the test:  WG2013_data$Duration <- c(2, 2, 4, 4, 12, 2, 2) WG2014_data$Duration <- c(1, 26, 1, 31, 18, 12) wcx <- tidy(wilcox.test(WG2013_data$Duration, WG2014_data$Duration))     There are 7 samples in the WG2013_dataand 6 samples in the WB2014_data. Could it be that the unequal sample sizes is causing the high p-value?   Should I set any options as TRUE/FALSE?  I've also tried the Kolmogorov-Smirnov test:  ks <- tidy(ks.test(WG2013_data$Duration, WG2014_data$Duration))   And the Kruskal–Wallis test:  kruskal <- tidy(kruskal.test(Duration ~ Year, data = WG_data))   Both of these tests also show p-values of about 0.34.  Welch's t-test gives a p-value = 0.089, so this at least shows a significant difference in the mean at p < 0.1, but the Whigg 2013 data are not normal according to a qqplot and Shapiro-Wilk test.  Is there another non-parametric test I should try?


Implementing auto correct/complete on Stack Overflow

I have noticed this in hundreds of questions.   Most of the users use invalid lower case letters. "i" instead of "I" and "how to do..." instead of "How to.." Other than that I can see a lot of abbreviated words like "plz", "thx", etc.  However, they are not nice to see on a Q&A site. And these are the things that can be corrected by a bot (or even when submitting the question).  I just wanted to add this as a new idea.


I wrote the following commands:  The following {\bf {\underline{Approximations}}} and {\bf\underline{Definitions}} is applied in further work   The things comes out as:    One is way down than other and looks weird. What is the possible solution so that the distance remains same in all text?


63 is not equal to 2^(log(63)/log(2)) in Matlab

Because of the floating point error 2^(log(63)/log(2)) isn't equal to 63. Check the results below:  format long; >> 2^(log(63)/log(2))  ans =    63.000000000000014   And unfortunatelly i can't use vpa on a logarithm according to the Matlab documents:     Unlike exact symbolic values, double-precision values inherently   contain round-off errors. When you call vpa on a double-precision   input, vpa cannot restore the lost precision, even though it returns   more digits than the double-precision value. However, vpa can   recognize and restore the precision of expressions of the form p/q,   pπ/q, (p/q)1/2, 2q, and 10q, where p and q are modest-sized integers.   So how can i solve this issue ? I have very big numbers like 2^200 and i get very big errors.  Edit: I'm not asking why it is happening. I'm asking how to make this work as 100% accurate so this isn't a duplicate.  The best solution so far:  Unfortunatelly the solution that is suggested by @Sardar_Usama isn't always working as intended. Check the results below:  >> sym(2^(log(2251799813685247)/log(2)))  ans =  2251799813685259   On the other hand  >> 2^(log(vpa(2251799813685247))/log(vpa(2)))  ans =  2.2517998136852470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e0*10^0*10^15   is much much more closer to 2251799813685247 = 2^51. It's error is around ~9.491*10^-494 which makes this the best solution so far but there is still some error.


What is the proper way to reference a user in comments?

If I am commenting and want to reference another user, sometimes when I use @[username], I get a clickable pop-up with their username, other times I do not.  Some Meta questions indicate that @ isn't needed anymore.  Is there old / new / draft guidance on the "correct" way to reference a user in comments?


I wrote “I know all these stuff; I don’t have to go over them again” in my writing-exam paper and the teacher corrected it to read, “I know all this stuff; I don’t have to go over it again.”  The teacher is Irish so I don’t think he would make a mistake but I think even if the first one (these) was wrong, the second one (them) should have stayed the same. Am I right?


How to check if a method is being used in solution?

is there any way to check if a method is being used or referenced anywhere in the solution other that using "Find all references" or searching for that method using Crtl+F.


Does everything that eases a task, but is not listed as an asset, stack with other 'untyped' eases?

The rules as interpreted in this question:   state that you cannot ease a difficulty by more than 2 levels with assets, however through the book there are examples of situations that would allow one to ease a task without stating it counts as an asset, as all assets ease a task, but nothing says that all eases count as an asset.  So does everything that eases a task ignore the  An example: Say you have a player with the 'Murders' focus attacking an enemy with a light weapon and has gained surprise, the breakdown of all the bonuses in play(All highlighting my own):   'Murders' focus power (+1 asset)     Tier 1: Surprise Attack. If attacking from a   hidden vantage, with surprise, or before an   opponent has acted, you gain an asset to your   attack. On a successful hit with this surprise   attack, you inflict 2 additional points of   damage. Enabler.      Numenera Discovery pg.82  Light Weapon (+1 ease)     Light weapons inflict only 2 points of   damage, but they ease the attack roll because   they are fast and easy to use.       Numenara Discovery pg.95  Surprise (in this case +2 eases)     When a target isn’t aware of an incoming   attack, the attacker has an advantage. Attacks   by a ranged sniper in a hidden position,   an invisible assailant, or the first salvo in   a successful ambush are all eased by two   steps. For the attacker to gain this advantage,   however, the defender truly must have no idea   that the attack is coming. If the defender isn’t   sure of the attacker’s location but is still on   guard, the attacks are eased by only one step.      Numenara Discovery pg.113    So in this case does the player lower the difficulty of the attack by 4, as they only had one named asset, or do they lower it by only 2, treating all these as assets, essentially invalidating half of their benefits?


I need to write a T-SQL stored procedure that updates a row in a table. If the row doesn't exist, insert it. All this steps wrapped by a transaction.   This is for a booking system, so it must be atomic and reliable. It must return true if the transaction was committed and the flight booked.  I'm new to T-SQL, and not sure on how to use @@rowcount. This is what I've written until now. Am I on the right road? I'm sure is an easy problem for you.  -- BEGIN TRANSACTION (HOW TO DO?)  UPDATE Bookings  SET TicketsBooked = TicketsBooked + @TicketsToBook  WHERE FlightId = @Id AND TicketsMax < (TicketsBooked + @TicketsToBook)  -- Here I need to insert only if the row doesn't exists. -- If the row exists but the condition TicketsMax is violated, I must not insert  -- the row and return FALSE  IF @@ROWCOUNT = 0  BEGIN   INSERT INTO Bookings ... (omitted)  END  -- END TRANSACTION (HOW TO DO?)  -- Return TRUE (How to do?)


The  tag doesn't appear to be very useful.  It's used in a variety of ways (for reading, writing, showing, transforming, compiling, translating, obfuscating, obtaining, ... source code) on 1747 questions right now, and doesn't appear to be adding any classification value to the site.  Can we get rid of it?


Running an Arduino from a dual 12V power supply

I build a regulated dual +/-12V power supply with common GND myself as specified in . Now I would like to run an Arduino from that power supply. Can I simply use two resistors (140 and 100 Ohms) to create a voltage divider (with or without an opamp buffer), or should I use a 5V voltage regulator?


An open set $U\subset \mathbb{R}^n$ contains the closed origin-centered unit ball $B=B(0,1)$. If a $C^1$ mapping $f:U\rightarrow \mathbb{R}^n$ with rank $n$ obeys $\|f(x)-x\|<1/2$ for all $x\in U$, show that, a) $\|f\|^2$ must attain a minimum in the interior of $B$. b) $f(p)=0$ for some $p\in B$.  Honestly I don't know how to solve such problems. I am planning to take an exam in few weeks which contains such problems. So I want to learn how to solve this. So I appreciate if someone would help me. First of all what can be inferred from the fact that $f$ is of rank $n$? Does it imply that $f'$ is invertible?


After an update from 16.04 to 16.10 a transitional package for nvidia-361 driver start giving an error.  This is the message (some data is translated to EN from BG):  Preparation for the unpacking of nvidia-352_361.45.11-0ubuntu4_amd64.deb ... Failed to stop var-lib-snapd-lib-gl.mount: Unit var-lib-snapd-lib-gl.mount not loaded. dpkg: warning: under process old pre-removal script returned error status out of 5  dpkg: trying script from the new package instead ... dpkg: error processing archive /tmp/apt-dpkg-install-9wUQ2T/8-nvidia-352_361.45.11-0ubuntu4_amd64.deb (--unpack):  no script in the new version of the package - I surrender (or something like it) Failed to get unit file state for var-lib-snapd-lib-gl.mount: No such file or directory var-lib-snapd-lib-gl.mount is a disabled or a static unit, not starting it. Error in the process:  /tmp/apt-dpkg-install-9wUQ2T/8-nvidia-352_361.45.11-0ubuntu4_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   EDIT: Seems i forgot some data (added in the prevous text):  Preparation for the unpacking of nvidia-352_361.45.11-0ubuntu4_amd64.deb ... Failed to stop var-lib-snapd-lib-gl.mount: Unit var-lib-snapd-lib-gl.mount not loaded. dpkg: warning: under process old pre-removal script returned error status out of 5


View complex numbers as $\mathbb{R}^{2}$

A complex number $z$, in its nature, is nothing but an element $z \in \mathbb{R}^{2}$. Specifically, the imaginary unit $i$ is defined as $i = \left(0,1\right)$. Thus, our daily representation of a complex number $z = x + yi$ is abused in that, $x$ is a real number, and cannot be added to an element $yi \in \mathbb{R}^{2}$. In my understanding, $z = x + yi$ is actually the abbreviated form of $z = x\left(1,0\right) + yi = x\left(1,0\right) + y\left(0,1\right)$, where $\left(1,0\right)$ and $\left(0,1\right)$ are standard basis of $\mathbb{R}^{2}$. Thus, the $\mathrm{Re}\left(z\right)$ is the coefficient for $\left(1,0\right)$ while the imaginary is actually the coefficient for $\left(0,1\right)$. We should not see $i$ as something special. Is this understanding correct?


What is the meaning of ps process names printed in [] such as [cgroup]?

when I do a command such as ps -aux on CentOS 6 I get a bunch of processes whos command is listed in [] as shown below. What is the meaning of the [] in the name? I am assuming that these are special processes of some kind, what makes a process name show up with  a [] around it?   [root@centos6 src]# ps -ef UID        PID  PPID  C STIME TTY          TIME CMD root         1     0  0 18:48 ?        00:00:01 /sbin/init root         2     0  0 18:48 ?        00:00:00 [kthreadd] root         3     2  0 18:48 ?        00:00:00 [migration/0] root         4     2  0 18:48 ?        00:00:00 [ksoftirqd/0] root         5     2  0 18:48 ?        00:00:00 [migration/0] root         6     2  0 18:48 ?        00:00:00 [watchdog/0] root         7     2  0 18:48 ?        00:00:02 [events/0]


Identify identical geometry in column with common number in QGIS?

I'm trying to identify identical (or duplicate) geometry in QGIS by adding a common number for each identical set. For example, if there are 4 features, and 2 are identical:  1| Identical with 2  2| Identical with 1  3|  4|  I want the following:  1|1  2|1  3|2  4|3  With ArcGIS, there is a tool called "Find Identical" that creates a table for geometry duplicates - you choose a shapefile and choose "Shape" under the list to identify within, and it produces a table of identicals, as above. Here is a screenshot of the tool:


How to use the same browser window every time you start a project in Visual Studio?

Does anyone know of a way to set Visual Studio to use the same browser window again, instead of opening a new one, every time you start/debug an ASP.NET project?  This is a simple issue.  When I click 'Start with Debugging' to test my ASP.NET application, it launches my project in a new browser window.  During development at any one point I have nearly a dozen browser windows open, which is not a big deal, but having to open the developer tools and get the browser setup again so I can see what is going on is annoying.  I have looked around for an answer to this, but I did not find anything.


1.New employee is going to join on Sunday. 2.New employee is joining on Sunday. 3.New employee will join on Sunday. 4.New employee joins on Sunday.  Can you please let me know which sentence i should use form abou and why ?


Character type pointer memory allocation?

#include<stdio.h> #define ASIZE 50 void Reverse(char *str){     int Asize,i=0;     char temp;     // Find the length of the string     while(*(str+i)!='\0'){             i++;     }     Asize=i;     // string reverse     for(i=0;i<(Asize/2);i++){                 temp = *(str+i);                 //may be below is some error with first input method 1                 //but for input method 2 it works perfectly                *(str+i)  =  *(str+(Asize-(i+1)));                 *(str+(Asize-(i+1))) = temp;     } } int main() {     //input method 1. (error aries while i pass the pointer as argument)     char *s = "abcxyz";     //input method 2 (works perfectly while as function parameter)     char s[ASIZE];     scanf("%s",s);      Reverse(s);     printf("%s",s); }   In the main the input method 1 not working perfectly for the reverse of the string, but the method 2 works. The concept of mine is not clear with the memory representation of char pointer. Maybe I am not good to make the question correctly but Would someone please make me clear why the method 1 is not working. Thanks in advance for the help.


Today while installing a 12v LED strip on my windows with the power adapter plugged but the LED turned off, I noticed the led that I pushed down against the wall got turned on partially. It wasn't right. My finger shouldn't have enough resistance to turn on those led with 12v. Right away, I tested the DC adapter output line with a 90-1000vac surveyor and found out that the 12vdc line from the DC adapter carries a high voltage AC. When testing with a meter, it measures about  12vdc, and unstable AC range from 38-0Vac. ( properly higher AC voltage, since my meter may not be fast enough.)  1, Is it safe to use this power adapter? ( It powers up the LED strip fine. I have also found a 5V usb charger that carries a HIGH voltage AC before, of which I discarded right away.)  2, What is the cause of this HIGH voltage AC? ( Is it because it's not isolated? or it's not filtered properly at the output end? I can't open the case, as it's sealed completely with no screws. )


I am looking for a formula to compute the following:      Assume you are given a GPS coordinate $(\alpha, \beta)=(\text{latitude}, \text{longitude})$ in decimal format (not in the format involving minutes and seconds), a time $t$ and a speed vector $v=(v_x, v_y)$. Now a point moves from $(\alpha, \beta)$ with speed $v$ for the time $t$. The question is: Which GPS coordinate does it end up at (, assuming the earth is a ball with radius $R$)? I am sure there is a formula for that already but I can´t find it. The solution can be an approximation, since I need this for a real world problem. I know that this problem is not strictly well-defined since the speed vector is in Cartesian coordinates, so I am assuming that the earth is locally flat. Still, there should be some almost-solution to my problem, since I am dealing with rather short times and small speed vectors which makes the curvature of the earth almost irrelavant.   Any help will be appreciated!  Leon


I developed my project with hybris.And I want to some template in 500Error.jsp but I can't handle 500 error.Next I can't get jsp file.  I got this error:  SEVERE: Servlet.service() for servlet DispatcherServlet threw exception java.lang.NullPointerException  Aug 10, 2017 3:14:07 PM org.apache.catalina.core.StandardHostValve custom SEVERE: Exception Processing ErrorPage[exceptionType=java.lang.Throwable, location=/serverError] org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException   in web.xml file   <error-page>         <exception-type>java.lang.Throwable</exception-type>         <location>/serverError</location> </error-page>   in Controller.java following method   @RequestMapping(value = "serverError", method = RequestMethod.GET)     public String renderErrorPage(final Model model, HttpServletRequest httpRequest) throws CMSItemNotFoundException {


How to cut out one shape from another using Photoshop?

Given have two shapes for example. a star (blue) and arrow (no fill). The arrow has a green stroke.   How can I make the portion of the star which is behind the arrow transparent, but retain the green stroke on the arrow?


Is there word for this, other than know-it-all?

Just wondering, if there's a word for:  One who makes it appear as if they're an expert on a subject while there are also signals (subtly or blatantly noticeable) that this person doesn't know very much on the subject or at least as much as they're acting like they do on the subject; pretending to have much knowledge on a subject matter.  I found pedantic but I don't suppose it's the right word.


Why did Harry go back to 4 Privet Drive between 6 and 7?

(HBP, ch.30)     "I'm going back to the Dursleys' once more, because Dumbledore wanted me to," said Harry. "But it'll be a short visit, and then I'll be gone for good."   Dumbledore wanted him to go back to the Dursleys' to keep the protection going between years*, but the protection was going to be gone in a couple weeks anyway, after which they'd have to go to great lengths to extract him safely as or before the protection broke (OK, the original plan wasn't quite so involved or dangerous). It seems like an awful lot of trouble for the extra week or two, which, unlike other years, would not have a lasting effect (keeping the protection going til the next year). Why not just keep him safe at the Weasleys' or another OotP hangout for the extra fortnight and save the trouble?  *: I'm not quite sure why Dumbledore wanted that anyway, it seems self-perpetuating to me. But that's another question.


Lenstra - Chebotarev density theorem exercise

I'm having troubles working on the exercise 7.2 of Lenstra - The Chebotarev Density Theorem (). I have proved the first part, that is a group $G$ acting transitively on a finite set $X$ with at least two elements admits a $g$ that doesn't fix any $x\in X$. I want to show that     Let $f(X)\in\mathbb{Z}[X]$ an irreducible polynomial such that $f\pmod{p}$ admits a roots in $\mathbb{F}_p$ (the finite field with $p$ elements) for almost every prime $p$ (i.e. all but finitely many). Then $f(X)$ has degree 1.   I couldn't find help online and I'm stuck. I know that I have to use both the Chebotarev density theorem and the above group action fact, but I don't know how. I tried assuming the contrary, so $f(X)$ has $\ge 2$ roots and the Galois group of its splitting field over $\mathbb{Q}$ acts transitively on them, but I have no idea if this will lead me to a contradiction.  Any hint?


Adding dataset to ArcMap with ArcObjects and C#?

I am trying to add feature dataset to ArcMap as a layer  I  tried some code but addlayer needs iLayer but IFeatureDataset can't casting as ilayer  How Add dataset to ArcMap?         ESRI.ArcGIS.ArcMapUI.IMxDocument mxd = ArcMap.Application.Document as                                                ESRI.ArcGIS.ArcMapUI.IMxDocument;         ESRI.ArcGIS.Carto.IMap map = mxd.FocusMap;         ESRI.ArcGIS.Geodatabase.IWorkspaceFactory wsf = new                      ESRI.ArcGIS.DataSourcesGDB.FileGDBWorkspaceFactory();         ESRI.ArcGIS.Geodatabase.IWorkspace ws = wsf.OpenFromFile(@"D:\ARC OBJECTS\TemplateData.gdb", ArcMap.Application.hWnd);         ESRI.ArcGIS.Geodatabase.IFeatureWorkspace fws = ws as ESRI.ArcGIS.Geodatabase.IFeatureWorkspace;         ESRI.ArcGIS.Geodatabase.IFeatureDataset fd = fws.OpenFeatureDataset("World");


Why doesn't it work when I try to compare doubles in java?

I get that this is a dumb question but I couldn't figure this out on google so this is my last resort.   Why is it that when I try to compare two doubles that are variables that I know are equal, it returns false? Here's an example that I hope is more clear:  double x = 323.23 double y = 323.23 System.out.println(x==y)   Output:  false   Why does this happen? Also, why does it print true if you just compare two doubles that are not variables or a double that is a variable and a double that is not? example:  double x = 323.23 System.out.println(x==323.23) System.out.println(323.23==323.23)   output:  true true


Recover password while logged in on iPhone

I am in a quite a chicken and egg situation with my Gmail account:   I forgot my password so I can't access from desktop. I am logged in on my iPhone Gmail app. The phone number is not related to the account so can not be used as a recovery method.   I think Google is detecting I am logged in the phone so any attempt to recover the password is not working. I can automatically log in with Safari in the phone, but from there, if I want to change the password it will ask me for the previous one.  Can I use the logged in phone access in any good way to change my Gmail password?


If I understood properly you can add value to an array by using :  $myArray[] = 123;   or  array_push($myArray, 123);   Is one cleaner/faster then the other one ?


Some people say that you shouldn't keep your tomatoes on the fridge, while others say that this is the best way to make them last longer. I have tried both ways and I couldn't find the difference.  So, how to make tomatoes last longer?


Experts on ELU assure us that there is no subjunctive mood in English. How should we who have been mistaught refer to what we were taught?

Here are some examples.  "Until the Son of God appear" What I was taught: Subjunctive of indefinite future.  "It is required that the applicant be 18 years old and possess a valid driver's license." What I was taught: mandative subjunctive.  "Where be ye going," said the false knight on the road?" What I was taught: subjunctive of direct discourse.  "If I were you, which we both are thankful I am not, I wouldn't do that. What I was taught: The subjunctive mood is used for supposition contrary to fact.  "I dreamed I were a fireman in my Maidenform bra." What I was taught: The subjunctive mood can be used with words like dream.  "God bless you." I don't remember, so obviously I wasn't taught.  I can live with Pluto's not being a planet, but I must say it's irksome to find that so much of what I was told about English turns out to be nonsense.


$m\times n$ matrix with an even number of 1s in each row and column

So I want to find the number of ways to fill an $m\times n$ matrix with only 0s and 1s such that each row and column has an even number of 1s.  I'm pretty stumped here.  I've set up m+n equations summing the respective rows and columns yielding 0 mod2, but other than that I'm not too sure of a clean way to approach this.  The subsequent part asks for the same thing except that there's an odd number of 1s.  Any hints and/or tips very much welcome.


Automatically growing 2D list in python?

After reading , I'm now attempting to create an automatically growing 2 dimensional list. Basically I would say  >>> l = 2DGrowingList(' ') # Fills the inner lists with space (' ') character >>> l[1][2] = 'x' >>> print(l) [[], [' ', ' ', 'x']] >>> l[0][1] = 'a' >>> print(l) [[' ', 'a'], [' ', ' ', 'x']]   What I attempted was this:  class GrowingList(list):      def __init__(self, fill):         super().__init__()         self.fill = fill      def __setitem__(self, index, value):         if index > len(self) - 1:             self.extend([self.fill] * (index + 1 - len(self)))         list.__setitem__(self, index, value)   Now I tried to create a new 2D list like so:  l = GrowingList(GrowingList(' '))   But it doesn't work as intented, since it uses the same instance for filling the lists:  >>> l[3][0] = 'x' >>> print(l) [[], [], [], ['x']] >>> l[1][0] = 'y' >>> print(l) [['y'], ['y'], ['y'], 'x']   Besides, it doesn't allow me to use l[0][2] = ... instantly, but I must first call l[0] before I can access l[0][2]


Starcraft 2 is taking up so much space in my drive. I was wondering if there are some files which can be safely deleted?


Does an increase in monster Toughness also mean an increase in monster trophy value?

There are several things that change a monster's Toughness. For instance:    gives +1 Toughness to all Maniacs for the duration of the game  gives +1 Toughness to all Fire Vampires while the environment is active  gives all monsters +1 Toughness for the duration of the game   When effects like these are in play, the monster's Toughness in combat is higher than printed on the monster token. Does this also increase the monster's trophy value?   If yes, what happens in the event of temporary changes to the monster's Toughness? For instance, if a Fire Vampire was killed before a Heat Wave, is the trophy worth one extra point if a Heat Wave strikes later? And if a Fire Vampire is killed during a Heat Wave and then the environment is replaced with something else, is the trophy back to the original value?


How can I change weapons?  I have most of them at the ammunition store but I cannot equip them. I have looked for videos and the game controls but nothing has worked. I have tried changing the tab button so that I can get the wheel up in the gun store but nothing works. How do I swap between weapons (such as pistols and shotguns)?


In the public opinion, why was Voldemort considered the greatest dark wizard of all times, and not Grindelwald?

In the books, it's established that Voldemort is seen as the greatest dark wizard of all time (well, at least the greatest until now) by the wizarding world.  Given the hints and facts about Grindelwald in the books, I was always a bit confused and now, after the films, I'm even more surprised by this. The common knowledge about both, in the timeframe of the books, includes facts that suggest Grindelwald being the greater dark wizard:   Grindelwald managed to rule (at least in eastern Europe) for quite some time, Voldemort never ruled even the UK in the first war and only ruled for some months in the second. Grindelwald had his own concentration camp (Nurmengard). Voldemort used Azkaban for a similar purpose, but that's in the last book, well after his reputation was already established. Grindelwald's followers must have been numerous, given that he managed to rule parts of Europe and have his own concentration camp. You need quite a few people to run a country (or a prison). Voldemort's followers, for the most part, were his few Death Eaters and some outcasts like werewolfs. He is not portrayed as the charismatic leader people rally to (he is portrayed like this during his school time, but this couldn't have any impact on his reputation, because most wizards won't ever know that Tom Riddle and Voldemort are the same person).  Grindelwald was a seer, and a very powerful one - he accurately predicted events 18 years in the future. Only Trelawney managed to do something similar, in her prophecy about Harry and Voldemort, albeit in a less precise manner. As far as we know, this branch of magic was simply off-limits to Voldemort. Voldemort was brought down for the first time because of his own miscalculations, whereas Grindelwald was beaten in a duel. Grindelwald had to be stopped by someone, while all that Voldemort needed to fall was his own ignorance.    Please keep in mind that I'm not asking who actually is the greater dark wizard. My question is purely about how the common opinion on that matter came to be. Therefore, all informations that are not known to wizardkind at large aren't important (that, for example, is why I'm not mentioning Voldemort having Horcruxes or Grindelwald mastering the Elder Wand - nearly nobody knows about this, so it's not important for the public opinion).


What are the (ring) automorphisms of $\mathbb{Z}[x]$?  The constant polynomials must be carried to themselves by any automorphism $\varphi$. The action of $\varphi$ is then determined by $\varphi(x)$.  For $\varphi(x)$ to be surjective, $x \mapsto \pm x + b$, with $b\in\mathbb{Z}$.  So, $c \mapsto c$ and $x \mapsto \pm x + b$ is a necessary condition for $\varphi$ to be an automorphism of $\mathbb{Z}[x]$, but is it sufficient?


A word for words that are both the same and opposite

I just had a conversation where the sentence 'The system is broken because it's fixed!' was correctly spoken under the pretense where fixed means that it's rigged. Assuming that context of rigged matches as a weak synonym for broken, the question came up - what's the word for a pair of words that are simultaneously synonyms and antonyms?   I am not asking about autoantonyms. I am not even looking for a single word. I am trying to find a term to describe the relationship of two different words, where one is an autoantonym and where one of its definitions is synonymous with the second word, causing the two words to be synonyms and antonyms at the same time.  In my example:   fixed = rigged: fixed and rigged are synonyms fixed = repaired: fixed and rigged are antonyms   What is the label given to the relationship between fixed and rigged?


7) Prove that $2n-3 \leq 2^{n-2}$ for all $n \geq 5$ by mathematical induction

Prove that $2n-3\leq 2^{n-2}$ , for all $n \geq 5$ by mathematical induction  I have to prove by mathematical induction that: $2n-3\leq 2^{n-2}$ , for all $n \geq 5$


i get null pointer NullPointerException from onPause() method

i have made an Qr-Scanner now the activity has button. if i click the button it opens the scanner so i'm doing good with it, but if i go back to the previous activity without clicking the button i get the NullPointerException from the onPause() .  @Override public void onPause() {     super.onPause();      mScannerView.stopCamera();  }   if i go to previous activity without opening the camera then it is giving the error. someone help me


how to open url in same window using window.open

I want to open the URL in the same window I'm actually using the lightning component inside vf page so I can't use "Navigate To Url" as it only works in one.app container. It’s supported in Lightning Experience and Salesforce1 only. that's the reason I'm using Window.open is there is a way I can open the URL in the same window the way we can do this using "Navigate to URL". handleOpenNewWindowWithRecordId : function(component, event, helper){     console.log('called');    window.open("/006/o"); }  and if i use window.open("/006/o","_self"); if just refresh the component and open the url there only


Trying to remember title of a book about people on an asteroid/comet

I'm trying to remember the title of a book.  The plot was a group of people are stranded on a comet or asteroid.  They establish kind of a colony inside it, and rig up rockets on the surface to move it.  Some of the people discover some sort of algae type life form inside it, which bonds with and mutates people helping them to survive.  They set the asteroid to head for Earth but have to change the course when authorities on Earth threaten to blow the asteroid up because of the mutations.


Extra line in a tabular using expl3 syntax

I'm having trouble using (the amazing)  package with a tabular environment.  Specifically, I'm getting a full extra row in my tabulars when creating rows using \seq_map_inline. I can avoid this behavior by not including the \cr in the last row (in the MWE below, this would involve a few more lines of code, but was not a huge deal in the original usage), and then including the \cr verbatim.  In the MWE I purposely delete a lot of space “just in case” but it does not change anything (except make it harder to read, sorry). Another fix might be inserting negative spacing as in , but I'm confused why the kernel is inserting something into my table (it takes up no horizontal space at least, seen by add a Hi before the \end{tabular}).  Broken but should be right  \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \DeclareDocumentCommand \myTable {m} {   \seq_set_split:Nnn \l_tmpa_seq {,} {#1}   \begin{tabular}{|c|c|}\seq_map_inline:Nn \l_tmpa_seq {Entry&##1\cr}\end{tabular} } \ExplSyntaxOff \begin{document} \myTable{A,B,C,D} \end{document}     Works but more complicated  \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \DeclareDocumentCommand \myTable {m} {   \seq_set_split:Nnn \l_tmpa_seq {,} {#1}   \int_zero:N \l_tmpa_int   \begin{tabular}{|c|c|}     \seq_map_inline:Nn \l_tmpa_seq {Entry&##1       \int_gincr:N \l_tmpa_int       \int_compare:nNnTF{\l_tmpa_int}={\seq_count:N\l_tmpa_seq}{}{\cr}      }      \cr   \end{tabular} } \ExplSyntaxOff \begin{document} \myTable{A,B,C,D} \end{document}


Apex Error Message without Salesforce Record ID and technical wording

I am running an Apex AddError message from a trigger living on an object called "document placeholder", the error fires on the record living in another object called "Product Package", I would like to have the error message not to include this part Update failed. First exception on row 0 with id a1g1f0000000d7JAAQ; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION  Is it possible to accomplish that, attached a screenshot of the error message


what is the difference between parameters and arguments?

I am doing an assignment for school and messing around with some different types of loops, namely for loops... I am curious as to whether the items it accepts are considered as parameters or arguments... and what is the actual difference between the two?   for (initialization; condition; increment/decrement) {      Statement(s) }


i have download one source code (glibc，linuxthreads） form GNU site .and install it in /usr/local.  I want to compiler glibc and change some code ，but i don't know where can download the source code. question:   is other program  need？  how can i install it？


Why can't I execute this simple shell script?

I have a file called go in ~/  All I want to do is to be able to run go and have it cd to this other dir.  This is what the go file looks like:  $ cat go #!/bin/bash cd ~/Desktop/rs3   I ran the line $ chmod +x go  And then the line ./go to attempt to run the file.  If i put echo whatever in the file it will print whatever to the console, but the cd command never works.  Thanks.


Created a VHD from a machine using disk2vhd.  File created is 61GB, partition on the VHD is set to 149GB.  Virtual PC won't let me use the VHD (as the partition is too large, has to be below 127GB).  Disk Management mounts the VHD, all accessible but won't 'Shrink Volume' (hangs).  DISKPART mounts the volume and using shrink querymax gives me the option to shrink the volume, but when shrinking it doesn't seem to complete (or show any errors why) leaving the VHD volume set to 149GB.     but it only seems to give me an option to 'shrink' the 61GB file to 149GB!  What have I missed, or any other tips? Do I need to look at repairing this VHD some how?


Can I travel within the Schengen area if I currently don't have a valid visa or residency permit?

I googled all over and couldn't find a definitive answer on this. I arrived to Poland on a Schengen visa and applied for a temporary residence permit on my 88th day in the Schengen area. I got my passport stamped saying that I applied and am waiting for that permit. While it is being processed, can I travel to other Schengen countries? My visa is still valid, but what about the 90/180 rule?


How does one prove the Taylor's Theorem by the Cauchy's Mean Value Theorem?

I am trying to prove there is a $c \in (a,b)$ such that $$ f(b)=f(a)+f'(a)(b-a)+ \frac{1}{2} f''(c)(b-a)^2 $$  which I do believe is a specialized form of the Taylor's Theorem when you plug in $b$ and $a$ into the appropriate spots.  I think you can approach this by proving the Lagrangian remainder is the same, but it doesn't seem all that intuitive.


Which Red Hat / CentOS updates should be applied and on what schedule?

I'm subscribed to the CentOS-announce mailing list and I've read the definitions of the various severity tags such as Critical, Important, Moderate, Low, BugFix, etc. but I'm still unclear as to what really needs to go out and what can wait (as I need to justify an interruption to our regular work to get the updates out there).  So far I've tried to get critical updates applied in our production environments as quickly as possible.  What is the normal schedule of applying these updates? They happen so frequently clearly we can't apply them all quickly because they need to be tested to ensure they haven't broken our systems.  For context, we mainly run a website and there's no extra users on the system so I'm typically not worried about 'local exploits' as much as I'm worried about remote exploits. But I feel I'm still in the dark about how best to apply these updates.  Thanks,


Can I buy non-essential, non-magical items in League play at my own leisure?

I played my first public 5e Adventurers League session. I got gold now and I want to buy helpful items and tools: mainly things like a component pouch, bull’s-eye lantern, candles, caltrops, etc. Also possibly a mount and saddlebags for extra weight as I'm trying to honor all the rules for AL.     I know you can't buy magical or homebrew items. How does gold spending work with modular campaigns and normal adventuring gear?


From , I find SE supports

, so I copied an example from W3schools:

Coffee

Black hot drink

Milk

White cold drink

   And it seems...normal.        Coffee   Black hot drink   MilkWhite cold drink      What's going on?


Is the expansion of the space between the galaxies caused by stretching of existing space or the creation of new space?  The fact that the energy content remains constant, and is therefore not being diluted, would suggest to me that it is not being stretched and therefore must be the result of the creation of additional space.  If this is so, are there any theories as to how space is created.


Calculating inverse of transposition key cipher

I need some help on transposition cryptography.  If I'm given the encoding key to a transposition cipher, how do I get the decoding key for it? I tried googling but couldn't find any steps on the calculation for it. For example, like in  website, when I enter   4 3 1 6 2 5 I would get 3 5 2 1 6 4 but why and how?


Do laptop users experience purple blank screen sometimes after logging in to 18.10?

It has happened several times. After entering userid and password, a purple screen with nothing on it shows up. I had to press the power button continuously to force reboot. I am using a Thinkpad X1 Extreme but some other laptops might have the same issue.


sufficiency and necessity of convergence of $\sum a_n$ wrt convergence of $\prod (1 + a_n)$

Does there exist a sequence $a_n$  of complex numbers such that $\sum _{i = 0}^\infty a_n$ converges and the product $\prod _{i = 0}^\infty (1+a_n)$ does not converge to any complex number(not even 0).  And conversely a sequence  $a_n$ s.t. $\prod _{i = 0}^\infty (1+a_n)$ converges to a non zero complex number. But $\sum _{i = 0}^\infty a_n$ does not converge.  We all know that if $\sum _{i = 0}^\infty a_n $ converges absolutely iff the corresp product converges absolutely. So i tried alternating serieses like $ a_n = (-1)^n /n $ and $(-1)^n / \sqrt n $  but that did not work. i tried like $ \sum _{i} \sum _ {k} \frac{ e^{2(pi)i/k}}{k} $but i couldn't go furthur. Can anybody help?


How to safely insert USB stick/device to Linux computer?

When inserting a USB stick or device to computer, there is always the risk that the device is malicious, will act as an HID and potentially do some damage on the computer. How can I prevent this problem? Is disabling HID on specific USB port sufficient? How do I do that?


How to play mp3 content from resource in Delphi?

I have a TResourceStream contains a simple WAV sound.  I wrote that line into the resource.res file: sound WAV "res\notify.wav"  I have the following method that works with WAV:  Res := TResourceStream.Create(HInstance, 'sound', 'WAV'); Res.Position := 0; SndPlaySound(res.Memory, SND_MEMORY or SND_ASYNC); Res.free;   I converted the WAV into MP3 and did the following things:  resource.res file: sound MP3 "res\notify.MP3"  Changed the play method first line to:  Res := TResourceStream.Create(HInstance, 'sound', 'MP3');   But nothing happens. It doesn't throw any exception, simple no sound heard.  How can I play MP3 as simple as WAV files?


Rendering of text on Home page Safari browser  I've noticed over a course of a week or so that the rendering of the question titles on the Home page on MacOs Safari browser is not so satisfactory, resulting in overlapping words with the reputable attributes on the left. Is anyone else having this problem? The formatting on the Questions page is, however, rendering fine and I've checked both pages on firefox in the same system and it appears fine. I've seen the problem in both physics and math stack exchanges.


Keyboard shortcuts for resizing windows on mac

I'm looking for the Mac keyboard shortcut equivalent of "windows key + left/right/top arrow" to resize windows (not split view)


Currently item order in review page is differ from the equvivalent list from review popup:        In the picture above item order for page view is:   Triage  Documentation  First Posts  Late Answers   For popup menu:   First Posts  Late Answers Triage  Documentation    What's the reason to not make them same? Is it just was overlooked?


Couldn’t find my Google account that’s what it says when I try logging in


Why is this not a violation of parity invarance for EM

I read that Wu's experiment illustrates that parity violation is possible for weak processes. In that experiment, when Co-60 undergoes beta decay, the emitted electrons come out opposite to the direction of nuclear spin. The mirror image process does not occur.  I also read that parity is conserved for EM and strong processes. But consider the following from EM. Say I have a positively-charged particle moving to the right, and the magnetic field is into the page. Then force on the particle is up (i.e. the particle is accelerated upwards initially). And here, the mirror image also does not occur! The mirror image (the mirror I am thinking of lies in the plane that cuts your head between the eyes) would be moving left, magnetic field into page, acceleration still pwards - but EM would predict that the acceleration is supposed to be downwards!!  Why isn't this an example of parity violation?


I'm running 1.0.1.83 and keep getting messages to update. Clicking the update link takes me to the App Store, from where I can download the new app, but that still seems to have the version 1.0.1.83 tag, rather than 1.0.1.84. So, I seem to be locked in an update loop rather than being able to use the app. Hopefully this is just affecting me rather than all alpha-testers of the app?


Do I need a transit visa in Amsterdam if I'm on advance parole?

I am returning to the US via Amsterdam. I have a US advance parole document. Do I need a transit visa to transit through Amsterdam? Their website mentions US resident permits but does not talk about advance parole.


Why is $n_1 \sqrt{2} +n_2 \sqrt{3} + n_3 \sqrt{5} + n_4 \sqrt{7} $ never zero?

Here $n_i$ are integral numbers, and not all of them are zero.  It is natural to conjecture that similar statement holds for even more prime numbers. Namely,   $$ n_1 \sqrt{2} +n_2 \sqrt{3} + n_3 \sqrt{5} + n_4 \sqrt{7} + n_5 \sqrt{11} +n_6 \sqrt{13} $$ is never zero too.  I am asking because this is used in some numerical algorithm in physics


$p\in \mathbb Z$ is prime if and only if $\langle p\rangle$ is maximal.  Could someone give me a hint to prove it. please?


What do you mean by the cards from voting for Community Choice Flash Sale?

When voting for the Community Choice Flash Sale, I got this notification.     Once you reach Steam Level 5, you'll get a card every 3rd time you vote for the Community's Choice Flash Sale and you'll be granted the cards for your previous votes.   Can someone explain what these "cards" are and what it means by "you'll be granted the cards for your previous votes."?


Let's make it easier to reply within comments!

Here's my proposal.  Every comment has a 'Reply' link after it.  Clicking on this link adds the standard @UserName: to the comment edit box.  After posting, the @UserName: is converted into a javascript 'link'.  By 'link' I mean that it appears to be a hyperlink, but is actually a span with the hyperlink style and javascript in its onmouseover event.  When you hover over this link, the comment it references is highlighted in some fashion (background color changes, its outlined, whatever).  When the referenced comment is hidden, one of two things can happen:   The comments section is expanded and unshown comments are revealed, or   A hovering div appears next to the pointer containing the comment that is referenced.   No. 2 is probably easier to implement.


I am adding more RAM memory to my 2011 21-inch iMac. It currently has two 2 GB memory cards. Can I leave those two cards in place and simply add two new 4 GB memory cards, or do I need to remove the existing cards? Is it OK to mix 2 GB and 4 GB memory cards, provided I stay under Apple's 16 GB limit?


Get Record Type Developer Name without SOQL Query

I want to get Developer Name of record Type without using SOQL query.  With the below code, I'm able to get the "Name", but I want the DeveloperName.  Let me know.  string recordTypeName = Schema.SObjectType.Account.getRecordTypeInfosById().get(Account.RecordTypeId).getName();


I'm having trouble fully understanding this introductory combinatorics problem; this is all that's provided, so it's most likely me not fully comprehending the question.  Any help is appreciated.  The problem is this:     Each square of a 1998 by 2002 chess board contains either 0 or 1 such that the total number of squares containing 1 is odd in each row and each column. Prove that the number of white unit squares containing 1 is even.   I have discovered that this is a legitimate question and has been copied out of a book entitled 102 Combinatorial Problems where the problem and solution are clearly stated . Thank you and apologies for the ambiguity.


Can I change apache web server user and group?

I'm not too familiar with file ownership etc. in Linux but here's my problem. I log into my ubuntu (dev machine) which is local as let's say user abc group xyz.   Now files that reside under /var/www/vhosts/abc.com/htdocs when created are owned by abc:xyz. In order for web server to run them I have to do sudo chown -R www-data:www-data . which works like a charm. Problem is that I can't edit these files with my text editor since these files are not owned by abc:xyz.   Ideally I want my web server group to be replaced with abc and group to be replaced with xyz (if possible) so that files are both editable through IDE and executable by the web server user. I don't like the idea of symlinking files/directories from elsewhere.  Any advice on this will be greatly appreciated.


When I add data to my db Russian letter are converted into some kind of symbols like this: Ð´Ð°Ð²Ð¸Ð´. Same with Georgian language. I use PHP to insert data from web to db. In html charset is utf-8 and also in database Collation is set to utf8_general_ci. How can i fix it?


Prove whether $f(n)$ is $O$, $o$, $\Omega$, $\omega$ or $\Theta$ of $g(n)$. $f(n) = n + (\log n)^{2}$, $g(n) = n + \log(n^{2})$.

$f(n) = n + (\log n)^{2} , g(n) = n + \log(n^{2} ).$  Now so far I've done $g(n) = n+ 2\log(n)$  and then I think since its the same change to both, I can remove $n$.  leaving me with $f(n) = (\log n)^{2}$ and $g(n) = 2\log(n)$ now if I do $f(n)/g(n)$ I  get  $((\log n)^{2}) / (2\log n)$   and since the numerator is growing exponentially and the bottom is growing linearly? As we approach positive infinity the function approaches positive infinity. Thus $f(n)$ is $\omega$ of $g(n)$?  I don't know if this proof is done right, if its what is a better alternative? I am still new to this and learning!


Hello i'd like to know how to remove 2 apt things that gets an error any time I type apt-get update here is the output at the end   `W: Failed to fetch   HttpError404  W: Failed to fetch   HttpError404 ` I've already tried ppa purge and apt remove neither worked.


A oil drop is half immersed in water. What will be the direction of the force of surface tension on the drop?

Usually force of surface tension acts downwards , but in this problem , the direction is given upwards in my textbook. Am I missing a concept here , or the book is wrong? Please do help.


Story set on a planet/sun moving through our solar system with alien life experiencing many generations for a human generation

I'm trying to find a story set on a planet/sun moving through our solar system with alien life experiencing many generations for a human generation. I recently found a reference to it online but I misplaced it.  I think it was set on a neutron star that was hurtling through our solar system. The races consists of very small individuals ( ~ nm ) and their life span is very rapid such that thousands of their generations pass for a humans.  Humans help them develop and they quickly surpass human development.  Anyone got any ideas?


Google Webmaster Tools returning 404s for pages that exist

I logged in to GWT today just to see how things are going. It is showing a bunch of 404 errors for pages that exist. I checked the server response and got: SERVER RESPONSE: HTTP/1.1 200 OK.  These pages are all nofollow.  Has anyone noticed GWT throwing up 404 errors for pages that exist?


Can't find my bootloader (GRUB) after updating Windows

I have Windows 10 and Ubuntu 16,04.  I did an update on Windows and after the update I had to restart my computer. After restarting I have an error   Error : no such partition. Entering rescue mode... grub rescue>   How can I fix it?


What is equivalent to Mac's purge in Linux?

In Mac I use purge to free up some memory. What is equivalent to it in Linux(Ubuntu Server)? apt-get install purge gave me nothing. If you are no familiar with Mac's purge here is it's man page:  purge(8)                  BSD System Manager's Manual                 purge(8)  NAME      purge -- force disk cache to be purged (flushed and emptied)  SYNOPSIS      purge  DESCRIPTION      Purge can be used to approximate initial boot conditions with a cold disk      buffer cache for performance analysis. It does not affect anonymous mem-      ory that has been allocated through malloc, vm_allocate, etc.  SEE ALSO      sync(8), malloc(3)                                September 20, 2005


Caps Lock is turned off when i change the language

Pretty self explanatory question. Does anyone know why this is happening? I am using 16.04 with English and Greek languages. When I am changing the language on the keyboard, caps lock is turned off, so I have to press it again.  Just to clarify, this is happening for years now, as of 2014!!! It hapens with all the languages, and both ways from Gr to En and vise versa. I have used every combination for keyboard input that exists and can't find the solution.   It continued even after i reinstalled 14.04, and even when i changed computers.  The formats and the changing of computers where done retaining the /home folder, so it could be something in my configs....


How to connect one Android mobile audio output to the microphone of another Android mobile?

This question is to help the "hard of hearing community" so that they can READ the phone/mobile call because they can not hear it. Android has some really good (and free, too) apps which can convert voice to text with high accuracy and in many languages (Google Live Transcribe, SpeechNote etc.) Unfortunately as of now there is no feature to transcribe a phone call on Android (Google is working on it but it has a lot of complexities ranging from technical to privacy.) To transcribe phone calls, I need help from experts. A hard of hearing person will get call on his mobile phone. (Let us call this mobile "Mobile1.") A mobile headset will be connected to Mobile1 which will have left and right audio and a microphone. Something like this:  How can I remove Output2 and feed this output to another Android mobile (Mobile2) microphone as input so that Mobile2 can transcribe the caller's voice successfully? A picture of that case is given below where Google Live Transcribe on Mobile2 is translating the voice (which it gets it from its microphone) to text.  I read on the internet and learned some basic terminology about the headset, so based on my limited knowledge, please guide me on how to connect the left or right audio channel wire from one headset to the microphone of another mobile. Can you please give me a YouTube video demonstrating the making of that adapter or cable or some photos of how to make it so that I can connect with some local shopkeeper for the same because I am not an electronics engineer. I just want to help the deaf community around me and want to see happiness on their faces.   gave me that idea that we can achieve what I was thinking but that I think the answer is not complete.  If I did not explain myself clearly please ask so that I can do my best to clear it. Please help to support the noble cause of making someone happy.  Edit 1 - Adding a rough diagram as per the suggestion by David. @David - Can you please confirm whether my understanding is correct about the connectivity of different adapters from source to target mobile? If anything needs to be changed please let me know.


Can a non-Briton become Minister of Magic?

An online quiz told my sister she would be best suited to the profession of Minister of Magic. The only problem I saw with that is that she is not British (she is American). I am not aware of anything in the canon works that enforces this belief, however, I’m simply basing it on the idea that this is a general rule for electing top officials in (Muggle) governments across the world.  Is there any basis for thinking this that anyone might know of?


Real solutions of $x=\sqrt{2+\sqrt{2-\sqrt{2+x}}}$

Find all real solutions of the equation:  $$x=\sqrt{2+\sqrt{2-\sqrt{2+x}}}$$  My approach:  One idea was square $3$ times untill get a equation and try factoring it. Another was try to get a system, calling, for example, $y=\sqrt{2+x}$, but I didn't have luck with any of them.   Any idea?


Chat adds arbitrary semicolon for no apparent reason

Go to chat  Write "like http://xkcd.com"  Wait a few moments for the submission to go through  Resulting text is:    I tried a few variations and, as long as the URL is within a quoted passage, and some non-link text is prior within the quote, the semicolon appears. More  that this is a strange bug (as the two blocks in the below image ought to be identical):  (Thanks to  for caring more than any human would.)


Let $A$ be a $n\times n$ matrix such that $a_{ij}=ij$,find the eigenvalues of the matrix $A$.

Let $A$ be a $n\times n$ matrix such that $a_{ij}=ij$.  I want to find the eigenvalues of the matrix $A$.   Efforts: $n=2$, I found that eigenvalues are equal to $0,5$.  For $n=3$, I found eigenvalues are equal to $0,0,14$. For $n=4$ I found eigenvalues are equal to $0,0,0,30$.  For $n=5$ I found eigenvalues are equal to $0,0,0,0,0,55$.  It looks like there is a pattern here. Eigenvalues of $n\times n$ matrix seems to be $\sum_{i=1}^n i^2, \underbrace{0,0,0,..0}_{n-1\text{ times}}$.  But how can I prove it? I mean whether there are some beautiful arguments that makes things easy, and ideas clear.   Thanks for reading and helping out.


I know positive integers are 1,2,3,4,....;and the sequence of whole numbers are -3,-2,-1,0,1,2,3,...;But the Natural numbers start with one 0r zero ?


Remove/Hide Terminal window from custom Application List entry

First off, apologies if this is not the right place for this specific question, but new to both the site and the OS in question.  -System Details- OS: Xubuntu 14.04 (xfce)  Question: I have manually added a new program to my Applications List, by creating a new file with the following script:  [Desktop Entry] Version=1.0 Type=Application Terminal=false Icon[en_AU]=/home/username/programdir/programexe.gif Icon=/home/username/programdir/programexe.gif Exec=/home/username/programdir/programexe Name[en_AU]=ProgramName Comment[en_AU]=Program Name Name=ProgramName Comment=Program Name   This file is than placed in /usr/share/applications  This program requires SUDO access to launch correctly, which I was able to accomplish by editing the following lines:  Terminal=true Exec=sudo /home/username/programdir/programexe   This causes a Terminal window to open where I can enter the SUDO pass, and allow the program to launch fully.  Issue: Once the Terminal window opens, it remains open and will only close when the program is shutdown.  I have tried setting the line "Terminal:true" to "Terminal:false", but this effectively stops the program as the Terminal window will not launch during startup for the SUDO pass entry.  Is there a way for me to get the Terminal window to close once the pass has been entered, so that it is not constantly present?  Thanks in advance.  Best Regards, TH


Sampling from copula given a particular value of marginal

I am working in the bivariate case with copulas as follows:  I have two marginal Gamma distributions $f_1=Ga(\alpha_1, 1)$ and $f_2=Ga(\alpha_2, 1)$ that are bound by a copula Frank copula $C$, with parameter 10. Assume now, that I observe a value from $f_1=5$.   The question: How can I obtain a value for $f_2$, assuming that $f_1, f_2$ admit the copula $C$?   Initially I though it was a matter of conditinal probability with copulas as in , but I am not convinced about my approach. I tried with cCopula, but I am not sure I am on the right path. Any code sample would be highly appreciated.


A man who lies a fourth of the time throws a die and says it is a six. What is the probability it is actually a six?

First, I apologise for the vague title. I couldn't think of a short way to represent the problem. Also, I am aware that a similar question exists, but I have a little bit more insight.  The problem is:      A man is known to speak the truth three out of four times. He throws a   die and reports that it is a six. Find the probability that it   actually is a six.   The answer in the book is $ \frac{3}{8} $, which sounds completely off to me, given the numbers, on first glance. I decided to try it on my own. After some contemplation, it indeed is true that $ \frac{3}{8} $ is correct. But, the question's vagueness makes it interesting. It's sort of a naive answer!  First, here's the book's solution:  Let $ E $ be the event that the man reports that a six occurs, $ S_1 $ be the event that six occurs and $ S_2 $ be the event that six does not occur.  $ P(S_1) $ = Probability that six occurs = $ \frac{1}{6} $  $ P(S_2) $ = Probability that six does not occur = $ \frac{5}{6} $  $ P(E~|S_1) $ = Probability that the man reports that a six occurred when it has actually occurred (truth) = $ \frac{3}{4} $  $ P(E~|S_2) $ = Probability that the man reports that a six occurred when it hasn't actually occurred = $ \frac{1}{4} $  $ P(S_1|E) $ = Probability that a six has actually occurred when the man claims so =  $$ \frac{P(S_1)~P(E~|S1)}{P(S_1)~P(E~|S_1)+P(S_2)~P(E~|S_2)} = \frac{3}{8} $$  Link to original: Page 25 of  (link updated 22/11/2015; tends to break often).  Here's the first of my two solutions:    The question is a little vague and it doesn't tell us what the man says when he doesn't get a six. Assuming he lies every time he doesn't get a six (which is not quite what the question says), would bring up $ P(E~|S_2) $ to $ 1 $, which skyrockets $ P(lie) $ to $ \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6}.\frac{1}{4} = \frac{7}{8} $.  Also, $ P(E~|S_1) = \frac{3}{4} $ and $ P(E) = \frac{5}{6} + \frac{1}{6}.\frac{3}{4} = \frac{23}{24} $.  This brings us to, $$ P(S_1|E) = \frac{P(S_1)P(E~|S_1)}{P(E)} = \frac{3}{23} = 13.04\% $$  Please note that I don't care about the sixes rolled when he lies about it being a six, because that condition is not applicable to the question.  I'm very skeptical about my calculations! I decided to whip up a simple program and see what the probability distribution is for $$ \frac{Number~of~sixes~rolled~while ~saying~it's~a~six}{Number~of~dice~rolls} $$  Here's the result:    Considering the book says $ P(E~|S_2) = \frac{1}{4} $, which is in essence is contradictory to the question, let's also consider the other possibility:    It's even more vague in this scenario! If the man lies after any given roll, there is a $ \frac{1}{5} $ probability that he will lie about it being any other number. This creates a new branch at each lie, which splits into five. In this case,  $$ P(E) = \frac{1}{6}.\frac{1}{4}.\frac{1}{5}.\frac{5}{1}+\frac{1}{6}.\frac{3}{4} =  \frac{1}{6} $$  $ P(E~|S_1) $ still remains $ \frac{3}{4} $, but $ P(E~|S_2) = \frac{1}{4}.\frac{1}{5} = \frac{1}{20} $.  $$ P(S_1|E) = \frac{P(S_1)P(E~|S_1)}{P(E)} = \frac{3}{4} = 75\% $$  This seems like the more intuitive answer, and it is why I doubted the original answer in the first place. Given a truth probability of $ \frac{3}{4} $, there was no way that the probability of a six was $ 37.5\% $!    The ambiguity of the question is what makes $ \frac{3}{8} $ wrong to me. Entirely out of curiosity, which answer fits best with the question and are these calculations correct or baloney?


How to integrate $\int\frac{1}{\sqrt{1+x^3}}\mathrm dx$?

In a course, my teacher told us that the following integral is convergent and used the comparison test to prove it; my question is how to find the antiderivative in closed form? It seems to exist; if, however, it doesn't exist, can someone prove it?       $$\int\sqrt{\dfrac1{1+x^3}}\mathrm dx$$


I am trying to get my Bose QC 35 to work with Ubuntu. I have managed to get the headset paired, but the headset doesn't want to connect to the PC for some reason.   Here is a screenshot of what it looks like:    When I turn on the headphones nothing happens. I have also tried going into ControllerMode and changed it from Dual mode to bredr


Select either a file or folder from the same dialog in .NET

Is there an "easy" way to select either a file OR a folder from the same dialog?  In many apps I create I allow for both files or folders as input. Until now i always end up creating a switch to toggle between file or folder selection dialogs or stick with drag-and-drop functionality only.   Since this seems such a basic thing i would imagine this has been created before, but googling does not result in much information. So it looks like i would need to start from scratch and create a custom selection Dialog, but I rather not introduce any problems by reinventing the wheel for such a trivial task.  Anybody any tips or existing solutions?  To keep the UI consistent it would be nice if it is possible to extend the OpenFileDialog (or the FolderBrowserDialog).


Bug identification - Beetle, grasshopper, moth-like and it also flies

Could anyone please help me identify this creature? It can fly and seems to like crawling as well. It has mandibles that are beetle-like.  Approximately 3cm/2inch. Location: KwaZulu Natal, South Africa


Is there something trully unpredictable?

Let's say that a being or a machine has nearly infinite amount of information, about the world around us. It could easily find the outcome of a flipped coin knowing the force it was thrown, the atmospheric pressure, etc... It could also predict the place and action for every person on earth in a year from now by calculating all the possibilities.  So the question is, is there any event that could happen that this machine has no way to predict? A trully unpredictable event no matter how much information it has?


Cannot find "Custom Settings" in Org Browser (Visual Studio Code, SFDX)

I creating a Custom Setting in a sandbox, called Global Settings (Global_Settings__c). I am trying to pull the Custom Setting into my SFDX project via Visual Studio Code, but "Custom Settings" does not appear in the Org Browser as a component type.  Using the Org Browser GUI, how can I find my Custom Setting in Visual Studio Code?


Is there a way to define parallel section numberings for different section-like entities, e.g.:  \startsectionA[title = {secA1}] \stopsectionA \startsectionB[title = {secB1}] \stopsectionB \startsectionA[title = {secA2}] \stopsectionA \startsectionA[title = {secA3}] \stopsectionA etc.   Which should then turn out as  1. secA1 I. secB1 2. secA2 3. secA3 etc.   These titles should appear in the TOC and in the headers.


Can I ask a professor from another institution about getting involved in their research (undergrad CS)?

I am going to be a senior next year and was hoping to get involved with research for my capstone. The professor I was planning on asking to advise me had been one of my favorite professors and seemed to have really interesting papers based on my readings of his work. However, he will be moving schools this fall. He will be going to a school that I was hoping to apply to for grad school. We didn't build much of relationship from the class I had been in, would it be weird to reach out to him to see if I could possibly get involved in his work? Is it even really possibly to do work for a professor remotely like that at another school? I am not asking how I should correspond with the professor, I am more asking if that is an ok to get involved with research.


Show that for all real positive $x$ and $y$ such that $x+y=1$, the following holds: $$\left(x+\frac{1}{x}\right)^2+\left(y+\frac{1}{y}\right)^2\geq \frac{25}{2}.$$ I know this can probably be easily solved with Lagrange multipliers, but I am more interested in proving it using inequalities. I think it could be profitable to use AM-HM or something similar but I am not sure about how to proceed. How can I do it? Thanks.


How do i pass a variable in the entity where, when this variable is null or empty, the query returns all data to me.  Example:   public IList<Pessoas> Pessoas { get; set; }   Pessoas = await _context.Pessoas                  .Where(s => s.Nome == nome)                 .ToListAsync<Pessoas>();


How can we prove that x^n - 1 always be a multiple of x - 1

It wonder with a finite series  $$y = x^0 + x^1 + x^2 + ... x^{n-1}$$  can be formulate into $$\frac{x^n - 1}{x - 1}$$  But I don't understand why $x^n - 1$ could be divide by $x-1$ and always be an integer. What is the relation between $x^a - 1$ and $x - 1$. It seem like a mystery  Are there any proof, if possible a visual proof, that would make it easy to understand this relation?


Prove that invertible metrices set is an open set in a given space, and the determinant is continuous

Given a matrix $M_{n\times m}$, we can think about it as a vector in $\mathbb{R}^{n\times m}$ (How come?).  How can I prove that the set of all the invertible metrices of size $n\times n$ is an open set in $\mathbb{R}^{n^2}$, and that the function $f:M\mapsto M^{-1}$ is continuous?  I understand that $f$ is the determinant of $M$, and $f = \det(M)\ne 0$, and becuase $f$ is a linear function, it's a continuous function. But I'm not 100% sure why $f$ is a linear.  The invertible metrices set is $\mathbb{R}^{n^2}\setminus\{0\}$ (am I wrong?), and that's why the set is an open set?  Thank you!


What is the approach for solving these kinds of modular arithmetic?

I am new to modular arithmetic. I have gone through a few formulae related to this but I am unable to solve problems like (5^12) mod 23. I am not really bothered about the final answer, but mainly on the approach on these kinds of problems (or maybe more involving complex powers). Any help is appreciated. Thank you.


This is a question thats been bothering me a while. I don't even know if it makes sense or not (like if it is a physics question or becoming a philosophical one). But here it goes. The crux of my question basically is that we all know that we can't see light (like in its photon or electromagnetic wave form) directly when it is traveling past us. However, we also know that the way we see objects is by light reflecting off them. This then means that we are "seeing" the light reflecting from the object which then sends the signal to our brain saying that we are seeing a particular object. We know that both light traveling past us and light reflected from objects are made of photons (so they are the same kind)? So then my question is that what is happening to the photon of a light after it is reflected from the objects, that causes us to see it or the object, but on the other hand we can't see light as it is directly traveling past us.


The "add / show x more comments" showing itself after posting a comment

One screenshot will explain it the best:    It shouldn't be there - appeared right after posting the comment. When reloading the page it disappears so something goes awry with the AJAX handling.  Clicking it is reloading the existing comment(s) and open the new comment text box.


Can't delete time machine backups - error 8072

I am not able to delete permanently time machine backups from an external hard drive which are now in my trash. After an hour or so « deleting items » and a growing number, I get « the operation can’t be completed because an unexpected error occurred error code -8072 ». I have tried many times and different backups but no success. I can’t even restore them out of the trash anymore and have therefore not managed to free any space from my hard drive which was the aim.  Here is what I have done : -deleted some backups directly via finder -stopped auto backups from time machine to avoid interference -tried emptying the trash or « delete immediately » individually   Any help would be appreciated, have tried looking around but no luck so far.  MacBook Air (13-inch mid 2011) macOS Sierra 10.12.6


I have flight with stop in HK at 14:30 for 3:30 hrs. Is it possible to get out airport and see something in HK?


Why is $2^n$ the maximum number of subsets of a set of size $n$?

There is a set with $n$ elements. Why is the maximum number of subsets that can be formed out of it $2^n$?


Is re-entry on a tourist visa after being in USA for ESTA for almost 3 months a problem?

I am in the States on ESTA, but I like it here and would like to stay longer and explore more, so I decided to travel to Canada to apply for a B1/2 visa to re-enter for longer period.   MOST IMPORTANTLY : Will my ESTA (visa waiver) period of 90 days still keep counting while I am in Canada, even if I left the US (but not to my residential country, as I am European)? Or will it stop counting on the day I leave the USA?  Could that be a problem, or is it OK and I will probably be granted the tourist visa? Do you know how long it usually takes the Toronto consulate? Is it a problematic spot?   Can I enter straight after the visa is issued, even if it is just a week after I left the USA?   Thanks a lot!


Delete/add/replace pages in PDF while preserving bookmarks

Is there an easy CLI method to do that?  If I use pdftk, I get a new pdf without the bookmarks of the original one. The bookmarks were created on another system with Adobe Acrobat Pro, and an example is available .  My system is Kubuntu 17.


Why am I not able to comment on my own posts?

I am getting started on the Blender Stack Exchange site and have asked a complicated question and am getting great answers. But I am told need 50 points to comment on answers. How do I deal with this?


I am trying to get started with GDAL on a windows machine using Python2.7. I have tried commands such as:  gdalinfo RasterFileName.TIF and gdal_translate.py -projwin ulx uly lrx lry -of GTiff input.TIF output.TIF   and they run without producing any results. What am I missing that makes these not to work.  For example, I am doing the gdal_translate as follows:      import os     infile = path+'InFileName.TIF'     outfile = path+'OUTFileName.TIF'     string ='gdal_translate -projwin %.0f %.0f %.0f %.0f -of GTiff %s %s' %(ulx,uly,lrx,lry,infile,outfile)     os.system(string)   Many thanks


Rename "featured" tab to "bountied" tab in help center

Since for about an year  but the  still mentions "Featured" tab:  The bountied question will appear with a special indicator in all question lists, and it will also be visible on the  for 7 days.


Which sentence is correct:   Can you afford not to have this solution? Can you afford to not have this solution?


Why int array[1000][1000] is memory issue in C program?

Why int array[1000][1000] is memory issue in C program when it is declared in main method instead of global declaration?


I left porkchops out to thaw over night can i cook them still

I i left porkchops out to thaw i forgotten about them and left them out all night is it ok to cook still


If $h$ is an arbitrary holomorphic function then there exist $\phi_1, \phi_2$ holomorphic such that $h = f\phi_1 + g\phi_2$

I don't need this statement to be true globally - even if it's locally true I'm fine with that. I'm on a noncompact Riemann surface but that doesn't matter because I only want this to hold locally anyway, so we can just look at little subsets of $\mathbb{C}$. Say $h$ is an arbitrary holomorphic function.  Say $f,g$ are holomorphic functions with no common zero. Then I want to show that there exist $\phi_1, \phi_2$ holomorphic such that $h = f\phi_1 + g\phi_2$ locally (so on some neighbourhood of some fixed point). I'm happy to just work with Taylor series of all these functions (which is what I was doing) because as I said, I'm fine with this holding just locally. But I can't quite figure out how it works. I'd appreciate some help, please!


How to generate all permutations of a list?

How do you generate all the permutations of a list in Python, independently of the type of elements in that list?  For example:  permutations([]) []  permutations([1]) [1]  permutations([1, 2]) [1, 2] [2, 1]  permutations([1, 2, 3]) [1, 2, 3] [1, 3, 2] [2, 1, 3] [2, 3, 1] [3, 1, 2] [3, 2, 1]


I have watched a lot of tutorials about how to reduce noise and rendering time and each one suggest some tips. In this scene , I remark that there are some noise points on the floor despite of it is flat surface and not very textured. In addition the hair of the person is very blurred. First, I fixed the samples as 100 and I have the image below. Second, I fix the samples as 200 but I still had noise in the floor. I try to modify other parameters (I have used limited global illumination as light paths and in the world scene and lamp i check the Multiple importance option).   Any suggestion will be appreciated.


How does the hendo hoverboard achieve omni-directional movement?

An older thread already gave away the wonderful details of how the Hendo hoverboard achieves levitation, but how does it achieve its form of omni-directional control and movement?  My idea was that each engine had a gyro or gimballed mount that fed to it's artificial feedback system, and would change its pitch in response to user command, but the engines looked a bit thin to be able to hold these systems. Another concept was the use of electromagnets with varying fields, mounted throughout the board's frame.  However, I still do not understand how the boards able to create propulsion with only four engines, and what appears to be no kind of stabilizers or thrusters.


Can you make money from your settlements?

I know that building the shops in your settlements allow you to sell items and are convenient, but do they allow you to make money?   Do I need to take a certain perk before I can start making money?  Can I make money only with certain shops?  Do I have to invest in them before I make money?   If I CAN make money from them, how do I collect it?   Is it automatic every time I visit the settlement with the shops in them?


How to share a YouTube video with a specific start and end time?

YouTube gives the option to share a video with a specific start time, something like this:  http://youtu.be/chElHV99xak?t=53s   The above video starts at 53 seconds elapsed.  Is there any way to provide an end time as well, like forming a small clip?  Example: start at 53s and end at 59s.


Turn VLQ flags on questions into red flags on selected sites

The very low quality flag is intended to mark posts that are unsalvageable and need to be removed as fast as possible. In the past these flags also had an automatic downvote from the Community user. (source: )  Red flags are flags for spam/rude or abusive posts. These posts should be deleted as fast as possible. Any red flag comes with an automatic downvote from the Community user and if a post is flagged six times it is automatically deleted. (source: )  Some of the bigger sites (especially Stack Overflow) have a quality problem. Users unaware of the rules use the site as their personal help desk. The question block filter is quite good in preventing them from doing long-term harm but in order for this block to work, the users posts need to be downvoted and deleted.  Users suggested different solutions to solve this problem. The latest proposal is from Shog9 who proposes to .  Unfortunately most of these proposals take a lot of time to implement. That is why I am proposing a short-term solution/workaround that will help the community to quickly get rid of very low quality questions:  Sites can decide whether they want this feature enabled or not. If the feature is enabled, the very low quality flag would two things:   enqueue the post in the low quality review (triage on Stack Overflow) – Current behaviour act as red flags, i.e. every flag includes an automatic downvote, six flags of this type would automatically delete the post and give the owner an reputation penalty of -100.   The reputation penalty is something that is not necessary but I think it would make the implementation easier. Additionally one might consider changing the VLQ flag description on these sites to something like this:     This question has severe formatting or content problems. This question is not salvageable through editing, and needs to be removed.    This flag should not include an IP-ban as the spam flag. It should be more like the rude or abusive flag because I think someone using an SE site as their personal help desk is on a same level as rude or abusive because they use the system in a way it is not designed for and they expect others to do the work without doing some on their own.  The current red flags show a post notice This post was deleted as spam/offensive. I think in the case of a VLQ-deletion this text should be changed to something more explanatory.


What is the difference between a speedometer and a power meter in terms of performance measurement?

If I cycle the same route every day, what would be the benefit of having a power meter over a speedometer?  Can't I just measure my speed and compare it against my last run and see if I've done better?


Guides for being an independent/freelance researcher?

Are there any books on how to be an independent/freelance researcher?


Installing Ubuntu on Dell XPS 7390 2-in-1

Can somebody walk me through the exact steps of getting ubuntu installed on the XPS 7390 2-in-1? I got the installer to boot but it goes straight to a black screen. SATA set to AHCI, Safeboot tried both on and off. Thanks!


Extremising a functional with conditions

Extremise the functional: $$ J[y]=\int_0^1 (yy')^2 dx$$ subject to the constraint  $$ \int_0^1 y^2 dx=3, $$ And the boundary conditions $y(0)=1$ and $y(1)=2$.


How do I keep an egg from cracking while being boiled?

I know it's a stupid question and I really am quite the amateur when it comes to cooking, but this problem occurred rather very frequently to me.  The egg moves in the boiling water and often it hits the wall of the pot and cracks, making a mess. No matter how little water I use, I can't avoid it. Any way out?