Photoshop To CSS: How do you translate Fill to CSS

I have a content box in photoshop with the background color #bc0018 with a 65% opacity and 50% fill.  I am able to translate the backgroundcolor and opacity part to this, but without the 50% fill the backgroundcolor looks different.  .content-box {     background-color: rgba(188, 0, 24, 0.65); }   Any suggestions on also getting the proper "fill" in CSS?  EDIT  I did just divide the opacity by half and it appears to achieve the same effect as a 50% fill. Still, I would love to hear how other people do this? I definitely don't want to create an image just for this.  .content-box {     background-color: rgba(188, 0, 24, 0.325); }   Thanks!


AES. Algorithm of multipication in finite field

I multiply 2 numbers using their polynomial representation and addition via XOR. Do I need to find the remainder of the division by $x ^ 8 + x ^ 4 + x ^ 3 + x + 1$, using the operator "%" or by division, using the rules of finite fields?


Prevent biber from choking on "%" characters in abstract?

This question is basically a duplicate of , however the accepted solution (biber configuration file set to skip the abstract field entirely) does not satisfy me and the question is a bit old so maybe something changed.  On the one hand, I would like to be able to use the abstract field if needed; on the other hand, export tools of some editors routinely include an unescaped "%" in abstracts. Is there a way around this that does not involve replacements in .bib files by hand or by an external software?  (BTW, I fail to see how biber can skip the abstract field even if it contains a "%", which proves that at some point it is not in LateX-mode of "ignore the comments", but cannot escape it reliably - that's purely for curiosity, but since I'm asking...)  MWE if needed: (the first pdflatex and biber compilations will work, for a successive pdflatex will fail with "Runaway argument?")  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{filecontents}  \begin{filecontents}{biblio.bib} @article{key1,     author="Ann Onymous",       journal="Some journal",       title="Title",       year="2017",       abstract={This abstract will fail because of an unescaped percent sign:         10\% is fine, 10% is not.},       } \end{filecontents} \usepackage[backend=biber]{biblatex} \addbibresource{biblio.bib}  \begin{document}     Citation: \parencite{key1}.      \printbibliography \end{document}


When importing svg from inkscape, losses of color and definition

I'm trying to compose a cone in Inkscape, embedding text, image (after converted in vectors):   But, after importing in Blender, here is what I get:   You see then that something went wrong, but I don't know what. Please your advise is welcome !  JF


Enable F1-F12 keys without Fn on Lenovo Ideapad S400u

I just have bought a new Lenovo Ideapad S400u notebook, and it is not default F1-F12, it is default mute button, refresh, more brightness, less brightness...  I've downloaded "Lenovo Keyboard Slim Fn Switcher" or something like that, but it didn't work.  Then, how can I change Fn function to get my F1-F12 buttons? I'm running Windows 8.1.


Why are my answers showing lower than usual?

Recently, my answers are showing at the bottom of the page, even though I got good scores on those answers.       How do I change this back?


How to convert a vector map to raster in Qgis?

I am creating a thematic map (vector data) with different classes. How to convert this vector map to a raster map, keeping the classification?


How to create an Empty of type Image and assign a picture with Python?

How can an Image-Empty be done with Python?  And how to set an image file on it? Object.data is None for empties, and there is no .image property on the object level either.


Prove that: $$\binom{n}0\binom{n+1}n+\binom n1\binom n{n-1}+\cdots+\binom nn\binom 10=2^{n-1}(n+2)$$   what i observed: The sum of the lower indices in all the terms is a constant values $n$. Also the value of the sum of the upper indices in each term is decreasing by 1 and goes from $2n+1$ to $n+1$ at the end. However i am unable to solve the problem. How do i start the problem, any hints or suggestions are welcome.


$\chi^2$ goodness of fit - how to compute expected counts when $\exists$ unknown parameters

This isn't my original problem, but I'm posting a simplified version and then I'll try to see if I can apply it myself to my original problem. (yay for self-learning)  Suppose I have a sample and I want to test if the data has been drawn from a normal distribution, but $\mu$ and $\sigma$ are unknown. How am I supposed to compute the expected number of counts in each bin if I don't know these parameters? [and also, which bins should I use, since $\mu$ can stretch anywhere from $-\infty$ to $\infty$] I was thinking maybe we could use the MLE, but that seems bad because I think it will lead to an artificially low test statistic [because of something along the lines of "MLE is computed from your data so the fit would be artificially better"].


How do I reopen an instance window once it has disappeared from desktop?

I'm new to Ubuntu. I use Skype and often the main window just disappears from my desktop. The Skype instance itself is still running in the background. I know this because I can see its notifications on the bottom right side of the screen.  If I click on the Skype icon again, Ubuntu will launch a new instance instead of maximizing the running instance. Of course this will not work because Skype will not let you sign in: Another instance of Skype may be running.  How do I refocus/bring to the foreground the existing Skype instance? In Windows, you can restore running instances through the taskbar. I've tried cycling through open windows, but the running instance window is no where to be seen.


Cascading Date Manipulation and Precedence

echo 20171231 | xargs -i date -d "{} +1 day" | xargs -i date -d "{} -1 month" **Fri Dec  1 00:00:00 PST 2017**   In this case, when date formatting commands are pipelined I am get Dec 1.  echo 20171231 | xargs -i date -d "{}  +1day -1 month" Sat Dec  2 00:00:00 PST 2017    Whereas when the date formatting is included in a single data command getting result as Dec 2.  In the above command looks like -1 month is getting precedence over +1 day.   Can someone help me in understanding how this is working ?


Displaying a form only if Javascript is enabled

I have a form which uses JS to do some things when the user clicks the submit button. I want to disable the form and hide it if the user does not have JS enabled. I thought I could do it like so:  <form style="display:none;" onLoad="this.style.display='inline'">     Text     <input type="text"> </form> <noscript>Noscript stuff here</noscript>   However, it doesn't work. Since I don't really use JS, I'm probably just making an embarrassingly obvious mistake, and I'm going to take a guess and say that it has something to do with the "this" part.


I am trying to figure out how I can spawn rigid body objects, one for each frame. Imagine cubes falling down from a point orderly, sort of like a particle emitter. My problem is that all the 250 objects keep spawning in the first frame when I run the script. How can I make sure they appear at different frames?   import bpy  number = 250 frame_num = 0  for i in range(0,number):     bpy.context.scene.frame_set(frame_num)     bpy.ops.mesh.primitive_cube_add(location=(0,0,0))     bpy.ops.rigidbody.object_add()     frame_num += 1


How to replace every digit after special character '$' with '*'

I have a file which contain data like below Data in file : axbnx $56 ghjas $78$ axbnx $5** ghjas $  axbnx $006 ghjas $$678   Needed Output in below form : axbnx $** ghjas $**$ axbnx $*** ghjas $  axbnx $*** ghjas $$***   My code : [It is not working] sed -E 's/$[[:digit:]]/*/g'  Try to work on this emulator :


Understanding Bash's Read-a-File Command Substitution

I am trying to understand how exactly Bash treats the following line:  $(< "$FILE")   According to the Bash man page, this is equivalent to:  $(cat "$FILE")   and I can follow the line of reasoning for this second line. Bash performs variable expansion on $FILE, enters command substitution, passes the value of $FILE to cat, cat outputs the contents of $FILE to standard output, command substitution finishes by replacing the entire line with the standard output resulting from the command inside, and Bash attempts to execute it like a simple command.  However, for the first line I mentioned above, I understand it as: Bash performs variable substitution on $FILE, Bash opens $FILE for reading on standard input, somehow standard input is copied to standard output, command substitution finishes, and Bash attempts to execute the resulting standard output.  Can someone please explain to me how the contents of $FILE goes from stdin to stdout?


GeoServer Error decoding CRS: Error in "PROJECTION": No transform for classification

What I would like to do is to project world map from EPSG:4326 to other ones in geoserver ,special for the Esri EPSG world projection methods. GeoServer has so many EPSG codes in the demo/srslist, but seems most of them do not work. For example,from EPSG 4326 to 54052 PROJCRS["World_Goode_Homolosine_Land"], I put the gt-epsg-extension-23.2.jar which mainly support the Esri EPSGs to the GeoServer lib path，it should have done for it's projecion, but nothing happens. So how to make GeoServer support the Esri world map projection, like "World_Goode_Homolosine_Land" 54052, "World_Bonne" 54024 or "World_Winkel" 54019? GeoTools maybe supported the Esri EPSGs, does some errors happen in the GeoServer inside?


Show that if $n$ is odd and isn't divisible by $3$ then $n^2 \equiv 1 (\bmod 24)$

what I have so far is that:  $n = 3q+r$,  $r≠0 $ (otherwise it is divisible by 3)  $r=1$ (when $q$ even)  $r=2$ (when $q$ is odd)  So, $n_1 = 3(2k+1)+2 = 6k+5$  $n_2 = 3(2k)+1 = 6k+1$  $n_1^2 = 36k^2 +60k +25 = 12(3k^2 + 5k + 2) + 1$  $n_2^2 = 36k^2 +12k +1 = 12(3k^2 + k) + 1$  Then I don't know where to go from here as this only shows that they are congruent to 1 mod 12.


I want to create a few plots that should have the same style as my main document and it seems tikz is more than capable of achieving that.   Now while browsing the current tikz documentation (2.10 CVS) I found a long new section about data visualization. On the other hand there is the extra package pgfplots which seems at a first glance very similar but contains more plot types.   So what is recommend? What are the differences between the two approaches?


Can someone give me content of a fresh bash_profile text?

Could someone give me the content of a fresh .bashrc ? I did not find it with Google.  Why ? Because I unfortunately ecrased it.


How is it possible to prove a number is irrational?  First part of that question: How it possible to know that a number will go on infinitely?  Second part: How is it possible to know that no repetition will occur during the infinite sequence of digits?  Any examples of proofs of irrationality?


Changing node connections to be straight?

As is typical in this kind of thing I have a node tree filled with tangled curvy node connections going every which way. Even using reroutes it is somewhat difficult to read.  I've seen a number of people who have the node connections appear far more like a straight line than a bezier curve...how would I replicate this feature?


The best way to rename a project in Visual Studio 2008

I always find my self in trouble with a lot of namespace or reference errors when trying to rename a project in VS.  This is how I do it: I click on the project and press F2 and rename it.  What procedure do you guys follow?  I used to work in Eclipse, and there I don't have the problems. Maybe it's easy in VS too and it's just me.


Don't display review queues icon when user cannot review questions

Currently, when user cannot review questions because of insufficient reputation, the review queues icon is not displayed. This is fine. But when a user cannot review questions because they are banned, the icon is still displayed. I find such behaviour inconsistent and thus, a bug. When user cannot review questions, no matter what is the reason, the icon for review queues should not be displayed.  If you consider this as not a bug, but rather as a feature request, feel free to change the tag.  Alternatively, the appearance of this icon should changed, so that user can clearly understand that review queues are not available to him. And there should be nor red colour. The icon should draw less attention, not more. The explanation about the ban reason can be sent to the inbox, so that user can easily find it at any time later on.  There are other questions regarding review queues, but this is not a duplicate of them:


When I search how to upgrade my OS from Ubuntu 13.10 to 14.04 LTS, I see posts stating to enter the terminal and type:  sudo apt-get update && sudo apt-get dist-upgrade   I have also seen suggestions to use software updater and select the upgrade option. Do these two methods serve different functions or are they the same thing? If they are the same thing, if I use the command-line method, will using the GUI method cause issues?


How to arrange two windows easily to left and right side?

In Windows 7, we can easily arrange two windows with these shortcuts: Option (Alt) ⌥ + ← maximizes the window to the left side of the screen, and Option (Alt) ⌥ + → maximizes the window to the right side of the screen.  I'm using a 27" iMac now, and I'd really like to do this. Does Mac OS X have this functionality?


How do you become a referee for a math journal?

I am in the early stages of my career (post PhD) and I would like to referee papers to (1) get the experience and (2) be exposed to unpublished writing to learn to improve upon my own writing. How do you become a referee? Can you register? Edit: I'm not asking about reviewing.


is there something like htaccess for windows asp.net/IIS Server

is there something like htaccess in the windows iis server?  dont like to use Forms or something


What are some of the Websites/web-tools which must be a part of every mathematician's arsenal?

What are some of the web-tools which must be a part of every mathematician's arsenal? Tools which help mathematicians research, solve problems or even collaborate together! Here is a list I gathered. Many among you may already know these, But still, in case.  -- This is a great website for easy typing in LaTeX.   and the -- Especially useful when one wants to crack a tough indefinite question. Steps included for those who need them!  --A list of all mathematically interesting sequences that contains over 3 million of such. Many things are discovered thanks to OEIS.  --One of the best online graphing tool with loads of computing power.   and -- Who doesn't know them! A unique engine for computing answers and providing knowledge.  --Math. Graphics. Programming. Whether you’re analyzing data, developing algorithms, or creating models, MATLAB is designed for way you think and the work you do.   Software such as Maple, MATLAB, Mathcad, Pari/GP, R, and the WolframAlpha website, etc are famous, and this question is not asking for similar software alternatives. I haven't added  to this list  for obvious reasons :~) Thanks in advance to all for the over-enthusiastic help :-) You might want to check out   PS-No intention of advertisement or promotion of any website or software.


This is on C:  #include <stdio.h>  int main() {     int a=100,b;     b= (a>100)?a++:a--;     printf("%d %d\n",a,b); }   b assigned the value 100 but when trying   int main() {     int a=100,b;     b= (a>100)     printf("%d %d\n",a,b); }   b prints the value 1 as it returns true. why is it different when using '?:' operator?


What is the advantage/point of using Interfaces in Java?

I'm very new into Java and I've reached the chapter in my textbook that talks about interfaces. However, I am failing to see their use/point. I'm sure that they're not useless though and that it's just me not understanding the subject.  So, interfaces are like abstract classes and they only name methods, not their implementations. The first example provided in the book talks about having a class Shape, an extended class rectangle and the idea is to allow for a method to stretch the rectangle by its biggest side. So the code starts:  public interface Stretchable {     void stretch( double factor ); {   Then they describe the "point" of using it  public class Rectangle extends Shape implements Stretchable {    public void stretch( double factor )    {       if( factor <0 )       throw new IllegalArgumentException();        if( length > width )           length *= factor;       else           width*= factor;    } }   However, I fail to see what did I win there, by defining and implementing an interface. the interface was just void stretch( double factor); and I still had to define the same thing in the Rectangle class. What is the advantage in doing this, when I still have to define from scratch what the method of the interface is going to do in the class it's being implemented on?


Can One Poorly Written Research Paper Derail Your Academic Future?

I experienced a lot of stress and an episode of depression during my last undergraduate semester. The stress was caused by constant moving and housing insecurity for half the semester (giving me a late start on the paper) and the depression by learning of my professor being in the process of retirement/declining to be my graduate advisor (I don't have clinical depression). I received an A- on a research paper in this class, but it was slipshod work, and (embarrassingly) probably one of the worst undergraduate papers ever written (written in a graduate level course no less). From a practical standpoint, can this ruin my chances of graduate school? I've already graduated and can't afford to take more undergrad. courses. Even if I could, however, how would I get another professor to supervise my research when I've already produced poor work? Has anyone been admitted to graduate school/succeeded in academia despite a poor research paper? For what it's worth, I'm finally rewriting it, but second chances seem rare in academia.


Prove that $S_n$ is isomorphic to a subgroup of $A_{n+2}$

Induction on $n$:   If $n=1$, then $A_{n+2}=A_{3} \simeq \mathbb{Z}_3$ has subgroup $1 \simeq S_n = S_1$. Assume for some $n>1$, $S_n \simeq H$ for some $H \leq A_{n+2}$. I want to show that $S_{n+1} \simeq H'$ for some $H'\leq A_{n+3}$.  Note that $H \simeq S_n \leq S_{n+1}$, and by inductive hypothesis $H \leq A_{n+2} \leq A_{n+3}$. I guess if I can show that $S_{n+1} \simeq A_{n+2}$ then it will complete the proof, but I don't even know if that is a true statement.


Lost access to admin user account in my mac book pro

I changed Account name property on my mac book pro in System Preferences-> User & Groups->  Advanced Options. I attached a picture of then the window (Not my account window, now i cannot access Advanced options). After changing the property, My admin account changed to Standard account. Even thought i can log in using my login, i cannot do any admin tasks since it says my password is wrong. It was the only admin account i had. So how can i regain my admin priviledges. I highly appreciate your help.   ps: My mac book pro running on High Sierra.


Number of total orders on set with $n$ elements

Show that there exist $n!$ total orders on a set with $n$ elements.  Could someone help me with this problem?  I get why this is when seeing an example, just not sure how to write a formal proof.    Example:  For set $\{a,b,c\}$ with $3$ elements we get  $3! = 6$ total orders:  $\{a<b<c, a<c<b, b<a<c, b<c<a, c<a<b, c<b<a\}$


I designed simple AI for 3x3 Tic Tac Toe game. However I didn't want to do neither complete search, nor MinMax. Instead i thought of a heuristic that would evaluate values for all of 9 fields, and then AI would choose the field with highest value. The problem is, I have absolutely no idea how to determine, whether it is a perfect (unbeatable) algorithm.  And here are the details: Every Field has several WinPaths on the grid. Middle one has 4 (horizontal, vertical and two diagonals), corners have 3 each (horizontal, diagonal and one vertical), sides have only 2 each (horizontal and vertical). Value of each Field equals sum of its WinPaths values. And WinPath value depends on its contents:   Empty: [ | | ] - 1 point One symbol: [X| | ] - 10 points // can be any symbol in any place Two different symbols: [X|O| ] - 0 points // they can be arranged in any possible way Two identical opponents symbols: [X|X| ] - 100 points // arranged in any of three ways Two identical "my" symbols: [O|O| ] - 1000 points // arranged in any of three ways   This way for example beginning situation has values as below:   3 | 2 | 3  ---+---+---  2 | 4 | 2  ---+---+---  3 | 2 | 3    However a later one can be like this (X is moving now):   X | 10| O ---+---+---  O | O |110 ---+---+---  X | 20| 20   So is there any reliable way to find out whether is this a perfect algorithm, or does it have any disadvantages?  PS. I was trying (from the perspective of player) to create a fork situation so I could beat this AI, but I have failed.


Let p be an odd prime number. Prove that

$$\left(\frac{1\cdot2}{p}\right) + \left(\frac{2\cdot3}{p}\right) + \left(\frac{3\cdot4}{p}\right) +\ldots+ \left(\frac{(p-2)(p-1)}{p}\right) = -1$$  Note: $\left(\frac{a}{b}\right)$ represents the Legendre Symbol.  I have tried using this method. For each $k$ between $1$ and $p-2$ denote by $k'$ its multiplicative inverse $\mod p$. To estimate the sum of all Legendre symbols $\left(\frac{k(k+1)}p\right)$ show first that $\left(\frac{k(k+1)}p\right) = \left(\frac{1+k'}p\right),$ then estimate the sum of $\left(\frac{1+k'}p\right).$


I have 1GB of RAM, and when I run NetBeans and Firefox, they get about 300MB of RAM. At some point, the system becomes very slow, probably 100 times slower than normal, switching windows (Alt+Tab) becomes a huge task and the computer is practically useless. This is probably the moment when it starts to swap.    Two questions:   According to images provided, where has all the RAM gone? When I calculate all the processes memory, it is far smaller then 1GB. Is it normal for system to become 100 times slower when the RAM is full and using swap space?   On another computer with 4GB of RAM I have no problems.     Update: I added 2GB of RAM, now I have 3GB. Anyone who wants to use heavy apps with 1GB on Unity, I don't think it's going to work. Works fine on an empty desktop :)


Why is Ubuntu 16.04 very slow on my laptop?

I have a Lenovo ideapad 110 with AMD E1-7010 and 4 Gigabytes of RAM. The whole sytem is very slow. When I open Google Chrome it takes a lot to respond or when I double click to make it full screen while watching videos on YouTube takes a lot ot time to change to full screen   Output of free -h                 total        used        free      shared  buff/cache   available Mem:           3.3G        1.6G        101M         51M        1.6G        1.3G Swap:          3.8G          0B        3.8G   Edit : I have installed windows 10 and the system is very smooth. So can anyone tell me what the problem with Ubuntu is? Is Ubuntu not compatible with SOC processors?


Why is $\mathbb{C}[x,y]/(y^2 - x^3 + 1)$ normal?

A problem on an algebra qual reads     Show that the ring $R = \mathbb{C}[x,y]/(y^2 - x^3 +1)$ is a Dedekind   domain. (Hint: compare $R$ with the subring $\mathbb{C}[x]$.)   $R$ is clearly Noetherian. It is an integral extension of $\mathbb{C}[x]$, so inherits its dimension, which is one. How do I know it is normal?


Projection between EPSG:4326 and EPSG:4269 using pyproj does nothing

According to this quite thorough answer :  the crs EPSG:4326 and EPSG:4269 are slightly different, due to a difference in one of the semi-axis of the reference ellipsoids (small difference) and also to a shift in the origin of the NAD83 Datum used in 4269. However, when using pyproj (python 3.8.8 and pyproj 3.0.1 on windows) to project a point from EPSG:4326 to EPSG:4269, I obtain the exact same lat/lon : from pyproj import CRS, Transformer from shapely.geometry import Point from shapely.ops import transform  crs_4326 = CRS("EPSG:4326") crs_4269 = CRS("EPSG:4269")  transformer_4326_to_4269 = Transformer.from_crs(crs_from=crs_4326, crs_to=crs_4269).transform p = Point(-118,33)  # some position in California p1 = transform(transformer_4326_to_4269, p)  print(p)  # returns POINT (-118 33) print(p1) # also returns POINT (-118 33) !  I am quite confused as I was expecting a (rather small) difference.


Can I add an inscription on a bachelor thesis that I have been working on for almost a year?

I have been working on my bachelors thesis for 10-11 months now and am about to hand it in. Without bragging, my topic was by far harder and more work than most bachelor theses.  Now I am wondering whether I should add an inscription to my parents in it. I really want to show that I am grateful for giving me the opportunity to study. Now I have read up on some advice on the internet saying that I probably shouldn't do it because bachelor theses are generally only meant for a small amount of people.  With my thesis this is different as I am planning on releasing at as a documentation of my work (my bachelor thesis was to write an improved version of an existing API).  What do you think?  EDIT:  I am talking about a short "To my parents." on a separate page in the beginning.  EDIT2:  Please remember, a Bachelor thesis is different to a dissertation.


Ball Rolling Down An Inclined Plane - Where does the torque come from?

There is a ball rolling down an incline, with no slipping. If we consider the point of contact between the ball and the inclined plane to be the pivot point (for our torque calculations), then I have noticed that friction is no longer in play, and gravity (and normal force) is the reason for the torque. However, if we consider the center of mass of the ball to be the pivot point, friction is the only factor, since both the normal force and gravity effect the center of mass (so the net torque caused by them is 0, since the pivot is the center of mass). However, both of these produce different torques.. for different reasons. So my question is,   Is gravity the reason a ball rolls, or is friction? And why?  [Note: This is not homework, it is a genuine question I had while looking at some physics problems.]


I have recently dual booted my windows with ubuntu 20.04. And with that I have got firefox pre-installed but when I go to the app store, I see another firefox. I don't understand the difference between the two. Is one better than the other or are they the same?


Win7 to Win10, OS license usable for Windows 7 at later date?

If I upgrade from Win7 to Win10, can I transfer that key to Win7 at a later or is it locked into Windows 10 forever?  Background (Optional read): Outlook was crashing constantly the other day, ended up system restoring, fixed outlook but the PC is performing painfully slow now. I could upgrade it to Windows 10 (if it works it is software problem), or transfer the image to a new laptop (if it works it is a hardware problem). I'd like to know the answer to the question in case the PC is still slow after the 7->10 upgrade and I need to image the computer to the laptop.  Any answers or suggestions are much appreciated!


My application is based on MySQL database and it requires "MySql.Data.dll" file to run or else it will crash. Installing MySQL Connector on my computer will allow me to run it without previously mentioned file, only my application (standalone).   Is there a way to "inject" it(mysql.data.dll) to the application so there is no need to have additional files to run?  I'm using Microsoft's Visual Studio IDE.


Equilibrium of two suspended charge particles

Two small equally charged spheres, each of mass $m$, are suspended from the same point by silk threads of length $\ell$. The distance between the spheres is $x\ll \ell$. Find the rate $dq/dt$ with which the charge leaks off each sphere if their approach velocity varies as $v=a/\sqrt{x}$, where $a$ is a constant.   This is question 3.3 from IE Irodov's electrostatics part. The solution of this question comes out to be  $$x^3=\frac{\ell q^2}{2\pi mg\epsilon_0}, \text{  }  \frac{dq}{dt}=\frac32a\sqrt{\frac{2\pi mg\epsilon_0}{\ell}}$$  Now this solution comes under the assumptions that the charges are always under equilibrium.  I have following confusion:-   If the relative velocity of approach is $v=a/\sqrt{x}$ is a function of $x$, that implies there is acceleration  which means that our assumption of charges being in the equilibrium is wrong. What is the explanation for the assumption of equilibrium condition?


Kernel density estimation -Effect of bandwidth

I am trying to learn Kernel density estimation, I need help to understand how the bandwidth $h$ affects the Kernel density estimator. Consider a Gaussian Kernel $k(x)~=~\frac{1}{\sqrt{2 \pi}} e^{-x^2}$. The Kernel density estimator is given by ${\hat{f}}_h (x) ~=~ \frac{1}{n} \sum_{i=1}^{n} K_h(x-X_i)$.  Clearly, $k(x)$ is independent of $h$, where does $h$ come in? What would be ${\hat{f}}_h (x)$? How does $h$ affect the Kernel?  Thank you!


Sometimes I have a big script and I want to do some tests without it running until the end. I'd like to add a lign of code to terminate the script where I want it without closing blender.  I've found this code online but it quit Blender, which is not what I want, I'd like the equivalent of a CTRL+C in the console.  import sys sys.exit()


Been trying to install git-core package for almost more than half a day now. Every time I do, I get this error:  dpkg: error: parsing file '/var/lib/dpkg/available' near line 0: newline in field name `../../../../../share/pyshared/UpdateManager/Core/__init__.py'   I've also tried running sudo apt-get update and sudo apt-get install --fix-missing. Even tried rebooting and cleaning the apt-get cache, still doesnt work.


How do I pass a file as an argument in bash scripting?

I'm a bit confused, so I looked it up, and I found this:   FILE1=$1 wc $FILE1    this is a bit confusing to me, what does assigning the variable expression operator, followed by the number 1 to FILE1, but FILE1 is just a variable, and we're assigning what? The number 1 to the variable expression operator?   How does this work exactly?   What can I do to better understand this concept?


I am an extensive user of latex and being EE engineer I use circuitikz a lot. But it becomes a little inflexible once I start doing a complex circuit and hence I am taking an initiative to generate code from schematic just like how one can generate code for equations or table. Since I have little knowledge on how one can achieve that, I would like to know where can I start?


I am running latexlive, I think everything is installed.  How can I check to see if the etoolbox and ifthen packages are installed?  I think these packages will solve my problems.  If they are not installed, what is the best way to install them on a Debian environment?


Is there any preference in the use of participial clause versus a relative clause?

For example,  A. I defined the density as the number of persons populating the region. B. I defined the density as the number of persons that populate the region.  Also consider the following.  C. After I found the lock key, I packed all the furniture in a huge suitcase, belonging to my sister. D. After I found the lock key, I packed all the furniture in a huge suitcase, which belongs to my sister.  Are there any general rules or guidelines?


Why are Marketing Cloud timestamps not stored in the same timezone as Sales Cloud?

I have both Sales Cloud and Marketing Cloud connected and use data shared for a Journey when new records are created.  In my object that is triggered in the journey I have a Date/Time field which gets stored in SC in UTC, however in MC timezone settings are not stored in the field.  This means when using functions like SystemDateToLocalDate(@recordTimestamp) returns the wrong time as it thinks the original date is in CST (the system timezone instead of UTC).  Is this expected behavior?


Which site deals with career development questions for programmers?

Is there any site in the network where career development questions about the programming profession can be asked ? I thought Programmer's was the site for it, but that doesn't appear to be the case.


When functions commute under composition

Today I was thinking about composition of functions.  It has nice properties, its always associative, there is an identity, and if we restrict to bijective functions then we have an inverse.  But then I thought about commutativity.  My first intuition was that bijective self maps of a space should commute but then I saw some counter-examples. The symmetric group is only abelian if $n \le 2$ so clearly there need to be more restrictions on functions than bijectivity for them to commute.  The only examples I could think of were boring things like multiplying by a constant or maximal tori of groups like $O(n)$ (maybe less boring).  My question: In a euclidean space, what are (edit) some nice characterizations of sets of functions that commute? What about in a more general space?   Bonus: Is this notion of commutativity important anywhere in analysis?


How does light re-accelerate after slowing down?

Light travels at speed x through a vacuum, and then it encounters a physical medium and slows down, only to leave the physical medium and re-enter vacuum. The speed of light immediately re-accelerates to speed x, the speed before going through the physical medium. How does this happen, what is the cause of this?


Why does SE force me to permanently lose my reputation for asking a 'bad' question?

This has happened with me many times across the SE network.  For example, someone has downvoted  for no apparent reason, affecting my 'rep'.  However, SE strongly discourages me from deleting the question to reinstate my rep. In other words, SE is punishing me permanently for some unknown error in my question.  I find this quite unfair and disappointing. In my view, SE can fairly take only one of the following two positions:   SE thinks that my question is bad for the community and wants to punish me for asking a bad question by making me lose my rep. In this case, SE should allow me to delete the question to rectify the damage that I have done to the community by asking it.   OR   SE thinks that deleting my question is bad for the community. In this case, SE should stop punishing me for asking the question in the first place.   How can any fair system punish a person for an action but not allow him/her to correct it?


Is there a recurrence relation which has no closed formula?

From what I know, it is unknown whether $x_n=x_{n-1}^2 + 1$ has a closed form. Is there a recurrence relation which is known to have no closed form with a proof of inexistence?  Assuming a closed form is a non recursive description using the elementary operations of addition multiplication and power, or, assuming any other good definition of "closed form".  Edit  There are similar questions out there, but the answers are a little bit going around the question.   So is there one with proof or is it unknown? And if it depends on the definition of a closed form, then what are the (or some) options? How strong can a closed form definition be to still have a recursive relation that can be proved to not being able to have its form?  Update  Because it is a big question, and I don't want to open a new small one, I think a good representative small question about this subject is:  Is there a recurrence relation with a domain of the natural numbers, described by elementary functions, which has no closed form defined as:  A closed form of a recurrence relation with a domain of natural numbers is a function $f$ that can be described as a composition of a constant number of elementary functions without reccursion. i.e, $f(n) = f_1(f_2( \dots (f_k(n))) \dots) $ where $f_i$ is elementary for all $1 \leq i \leq k$   I think this definition is the most intuitive and basic.  For example, the relation $x_n = x_{n-1}+1$ has a closed form in this sense: $$f(n) = f_1(f_2(f_3(f_4(n))))$$  Where $f_1$ is division, $f_2(n)=(n,2)$, $f_3$ is multiplication and $f_4(n) = (n,n+1)$   Is there a recurrence relation which has no closed form in this sense?


A person randomly chooses a coin with probability 0.5: Find which coin he chose according to the outcome of 3 tosses: Tossing coin 1 yields a head with a probability P(X1 = H) = .3 (and tail with P(X1 = T) = .7). Tossing coin 2 yields a head with a probability P(X2 = H) = .6 (and tail with P(X2 = T) = .4). You earn $1 if you correctly guessed the coin and $0 otherwise. Design the optimum decision rule and estimate your average earning.  Hello folks, I have this problem in hand and I want to understand the following :   Are P(X1)=P(X2)=0.5?  P(H|X1)=0.3 , P(H|X2)=0.7? How does the Decision Table look like in this problem?  How to find the average earning?


Table of Contents for poetry collection (ConTeXt)

I'm getting stumped about how to generate the ToC for this book. I'm about to give up and just do it by hand. The author wants to include a lot of structural information that isn't present in the actual text, and none of the numbers "roll over" as they're want to do in ConTeXt.  This is the desired effect:    Narrator 1...      FIRST PART: PART SUBTITLE  1). First Poem // First Poem (Spanish title) . . . . . . . . . . . . . . . . .    1     Author of Poem (b. XXXX d. XXYY)  2). Second Poem // Poema Secunda . . . . . . . . . . . . . . . . . . . . . . .    3     Author of Poem    Narrator 2...  3). Third Poem // Third Poem . . . . . . . . . . . . . . . . . . . . . . . . .    5     Author      SECOND PART: Part 2  4). Fourth Poem // Fourth Poem . . . . . . . . . . . . . . . . . . . . . . . .    7     Author    Narrator 3...   The problems I have essentially boil down to these:   There is this weird "narrator" concept that doesn't seem to contain or be contained by the part/poem structure. A new part doesn't imply a new "narrator" and a new "narrator" doesn't imply a new part. I need to aggrandize each title with the title in translation and the author, and I want to typeset them nicely. I need poems to continue counting up across parts.   I see basically three approaches:   Make each poem a chapter and customize the appearance with \setuphead[chapter][....]. Then use \writebetweenlist[chapter] to add the Narrator and author information. Make a new list with \definelist[poem] and \definecombinedlist[content][part,poem]; continue using \writebetweenlist[poem] to insert the author and Narrator. This feels like the most conceptually valid option, but I think I'll still need a lot of customization. Forget all about ConTeXt and switch to plain TeX, use eplain's writetocentry system. Make it look right and forget maintainability.


When should I use wp_register_script() with wp_enqueue_script() vs just wp_enqueue_script()?

I'm having trouble understanding when you need to use wp_register_script(). Currently, I just use something like:  add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ) ); function enqueue() {     $handle = 'some-handle';     $js = 'http://example.com/my.js';     wp_register_script( $handle, $js );     wp_enqueue_script( $handle ); }   I've done a lot of reading (Codex, blogs, etc.), but can't quite understand when I should register first, or when I should just enqueue. As an example, I noticed TwentyTwelve doesn't register any styles or scripts, it just enqueues them.


Area of a generic polygon inscribed in a circle

Given that a generic $n$-gon ($n\geq3$) is inscribed in a circle in $\mathbb{R}^2$, we know the lengths of all its edges $a_1,a_2,\cdots,a_n$. Are there formulae to calculate its area (under Euclidean metric)?  For $n=3$, let $p=\frac{\sum_{i\in [n]} a_i}{2}$, we have the Heron's formula: $$A=\sqrt{p(p-a_1)(p-a_2)(p-a_3)}$$ which is the special case of the following $n=4$ formula ($a_4=0$): $$ A=\sqrt{(p-a_1)(p-a_2)(p-a_3)(p-a_4)}.$$ Are there any known result for $n\geq 5$?  If not, any proof that certain formulae don't exist?


What happens when you place an item inside of a creature while in the ethereal plane under the effects of the Etherealness spell, then end the spell?

This is a follow up to my question about whether   Basically, my player wants to use his bonus action to cast Etherealness using the Horizon Walker Ranger's Ethereal step ability, stick his daggers into an enemy's brains, then end Etherealness to stick the daggers in the monster's brains. He cites the part of the spell:     When the spell ends, you immediately return to the plane you originated from in the spot you currently occupy. If you occupy the same spot as a solid object or creature when this happens, you are immediately shunted to the nearest unoccupied space that you can occupy and take force damage equal to twice the number of feet you are moved.   (Emphasis theirs)  They cite that it says specifically that you are the one forced out of their space, not any items that you dropped. However, it would seem to me that by the same argument only you would re-enter the material plane, not any dropped items.  So the question is, do dropped items in the ethereal plane phase back in when the spell ends, and if they do, do they also get forced out of any items that they are in?  Now,  does seem to provide an answer to the first part by saying that the items would warp back, but it doesn't say what happens to them once there, leaving the second part quite ambiguous still. So the question then remains, would the objects still be forced out of the enemy?


I've noticed some authors of academic pieces tend to put square brackets around a T when starting a quote, I don't understand why.     "[T]he Organization is based on the principle of the   sovereign equality of all its Members."   Thanks!


Adjust margins and interline spaces in gb4e

I'm trying to condense the space around examples in gb4e, with the goal of removing unnecessary whitespace around examples in an abstract. Here's what gb4e gives me now:    What I'd like is for the examples to essentially look like part of the running text, as follows:    In sum, I'd like to remove the left indent before the top level item numbers, remove the vertical space between examples, and remove the vertical space above and below the exe environment.  I think \vspace commands might work here, but it would get very tedious to do this every time, and I'd also like to do it the 'right' way.  (I also think linguex might be able to do this without too much fuss, but I'm used to using gb4e so I'd prefer to stick with it if there's a way to do this.)  MWE:  \documentclass{article}  \usepackage{gb4e} \usepackage{lipsum}  \begin{document}     \lipsum[1]     \begin{exe}         \ex Blah \begin{xlist}             \ex Blah             \ex Blah         \end{xlist}         \ex Blah         \ex Blah     \end{exe}     \lipsum[1] \end{document}


Can someone help me prove these two binomial identities using either walks in Pascal's triangle or a committee-selection model?  $(1)$ $\qquad$ $\displaystyle\sum_{k=0}^m {m\choose k}{n\choose r+k}={m+n\choose m+r}$  $(2)$ $\qquad$ $\displaystyle\sum_{k=n-s}^{m-r} {m-k\choose r}{n+k\choose s}={m+n+1\choose r+s+1}$  I couldn't find these identities in another question already asked on here. If I just wasn't looking in the right place, feel free to leave the link to the answer. Thanks!


$p$ prime, $p\mid a^k \Rightarrow p^k\mid a^k$

Suppose $p$ is a prime and $a$ and $k$ are positive integers. Prove that, if $p \mid a^k$, then $p^k\mid a^k$ also.  I have already proven that if $a,b,n\in\mathbb{N}$ and if $a^n\mid b^n$, then $a\mid b$. I tried using induction:  $k=1 \Rightarrow p\mid a^1 \Rightarrow p^1\mid a^1$. Assume the statement holds for some $k$. Then if $p\mid a^{k+1}\Rightarrow p\mid a^ka$. Since $p$ is prime, $p\mid a$ or $p\mid a^k$. If $p\mid a$, we are done. If $p\mid a^k$ then by assumption, $p^k\mid a^k$ and so by the lemma, $p\mid a$ and so $p^{k+1}\mid a^{k+1}$.  Does this work?


reassigning object passed as reference not working

I am studying how exports and module.exports differ in Node. This question was particularly useful: . In short... this is what happens:  //require function  module = {    exports:{} }  (function(exports){     exports = 1; //contents of module })(module.exports)   If you forget about the node, and just write a simple function with the same functionality:  newmodule = {exports:{}}; function reassign(exports){     exports = ()=>{console.log("123")}     //or exports = 1;     //or exports = "Hello"; }  reassign(newmodule.exports) console.log(newmodule.exports) // prints empty object, reassign failed   You can observe that newmodule.exports indeed never gets reassigned. Not sure if I am having a brain freeze, but newmodule.exports was passed by reference. Yet, reassigning is not reflected on the passed object newmodule.exports. Why is that?   Extending the passed object works as expected   function reassign(exports){     exports.somefunc = ()=>{console.log("123")} // works as expected }


How create bootable usb windows 10 on ubuntu 14.04-16.04 with 32 bits?

How create usb bootable windows 10? I have 32 bits and created usb windows 10 and won t boot to usb and say is not supported to boot. Running ubuntu 16.04 on acer zg5 and like to install windows 10 . Can dual boot? Creaete usb win with 32 bits no 64 bits. thx


What kind of hardware do I need to run a phpBB 3 server for a large community?

I am trying to figure out what kind of hardware I need to run a phpBB 3 server for a fairly large community. When I say hardware, I mean CPU, RAM, and IO specs. When I say fairly large community, I mean a community of about 30,000 people that averages, let's say, 1,000 posts per day, with about 100 users active per day.  I have seen people discussing having 1 GB RAM for a phpBB 2 community of 5,000 users, but that is, of course, a bit old. Any ideas?


What about windows 10 Insider Preview users for windows 10 Update?

I have upgrade my windows 8.1 to windows 10 Insider Preview. Microsoft announced free upgrade to program for windows 7,8, and 8.1 users. Wheather windows 10 Insider Preview users will get windows 10 update or not?


Stack Exchange chat page is the same as Stack Overflow Chat?

The best way to explain this is to show you:  :        As you can see, the logo is not right. Also, the font is orange, and all the logos on the chat rooms are one of Stack Overflow.  :        The difference is that below "Rooms", the SE chat says it is about the SE network, while in the SO chat, it states events coming soon about programming.  I do not remember the SE chat page being like that, so something must have happened, unless I am wrong.


Can't find openjdk's jre? No Java plugin in Chrome web browser

I have recently installed openjdk just to try out writing some java application   $ dpkg -l | grep jdk ii  openjdk-7-jdk                          7u7-2.3.2a-0ubuntu0.12.04.1             OpenJDK Development Kit (JDK) ii  openjdk-7-jre                          7u7-2.3.2a-0ubuntu0.12.04.1             OpenJDK Java runtime, using Hotspot JIT ii  openjdk-7-jre-headless                 7u7-2.3.2a-0ubuntu0.12.04.1             OpenJDK Java runtime, using Hotspot JIT (headless) ii  openjdk-7-jre-lib                      7u7-2.3.2a-0ubuntu0.12.04.1             OpenJDK Java runtime (architecture independent libraries)   That's what I have on my system.   Although I have all this installed when in Chrome I go to a website which needs jre it can't find it.   How can I fix it ?


Trying to make sure my system is updated properly. Ubuntu20.04

I ran the command sudo apt-get install update and as you can see my results below:  cyberwizard34@Hogwarts:~$ sudo apt-get install update [sudo] password for cyberwizard34:  Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package update


I have an interesting problem, in which i would be utmost happy to receive some help:  $p$, $q$, $r$ are real numbers with the following property: $|px^2+qx+r|\le 1$ for all $x$ in $[-1; 1]$. Prove that $|rx^2+qx+p|\le2$ for all $x$ in $[-1; 1]$.  Substituting for $x=0$ yields $-1\le r\le1$. $x=1$ and $x=-1$ results $-1\le p+q+r\le1$ and $-1\le p-q+r\le 1$ respectively. From those: $-2\le p\le2$ and $-1\le q\le 1$.  I couldn't go anything further. Would be happy to receive some ideas. :)


Question     Prove that for $a,b,c \geq 0$, we have   $$\frac{a(a^2-b^2)}{13a^2+5b^2} + \frac{b(b^2-c^2)}{13b^2+5c^2} + \frac{c(c^2-a^2)}{13c^2+5a^2} \geq 0$$   Attempts  I've tried the proving using:   Cauchy's inequality AM-GM inequality Trying to find a way for Jensen's inequality   but I don't get anywhere.  Note  I know this might be done using critical points and verifying that the minimum is positive, but the calculations get really messy. I'm just wondering if there's a clean way of proving it.


What's the method of making the "ing form" of different verbs, in some verbs we double the last letter of that verb e.g: sit becomes sitting, dig becomes digging, and in some verbs we do not need to double the last letter of that verb e.g: go becomes going, read becomes reading. How should we know in which verb we double the last letter?


Are there any modern road/light touring tires which look like the gumwall tires of yesteryear?  In particular, I'm looking for all-weather road tires with serious puncture resistance, i.e. a more-or-less-direct competitor to .


Is there a way to post a guide on something without first asking a question?

I keep coming across bits of information throughout the internet and every so often, I collect enough data to do a solid write-up on that topic.  It'd be nice if I could post that consolidated info in a place like StackExchange, but it looks like it'd break with the Q&A format.  Is there another community where guides would be better housed?


Cannot figure out how to convert this std::string to a CString

I am writing an MFC program in Visual Studio 10 and I need to convert an std::string to a CString so that I can use it as a parameter for dialog controls.  I have tried every method that I can think of/find, including:  (note: all of these have an already filled std::string, named str.)  CString c = str.c_str();     CString c; c.Format(_T("%s"),str);     CString c = (CString)str; //desperate attempt, I know....     CString c; c.Format(L"%s", str);     Can someone help me figure out how to get this conversion done?


Should I learn Classical Physics if I want to learn Quantum Physics?

I don't remember anything from school, so please what do you say about the title?


Hi I have a question about getting the names of properties of an object.  The context  I am retrieving some data from a database which I am trying to get the column headings from. I am carrying out an ajax request to get the data as JSON.   The code  var tableHeaders = "noHeaders"; var columns = []; $( document ).ready( function( $ ) {     $.ajax({         "url": 'ajaxScripts/getDynamicData.php',         "success": function(json) {              tableHeaders = "";             parsedData = JSON.parse(json);              $.each(parsedData[0], function(i, val){                 console.log(parsedData[0]);                 tableHeaders += "<th>" + val + "</th>";                 columns.push(val);             });              $("#headings").append(tableHeaders);             //$("#tableDiv").find("table thead tr").append(tableHeaders);              $('#demotable').DataTable({                 dom: "Bfrtip",                 data: parsedData,                 columns: columns             });         }     }); });   Table Sample  Name | Age | DOB | Height | Weight | Address | Hair Colour | Eye Colour    Steve| 24  | 22/11/1994 ...   The data gets returned as an array of Objects so I want to be able to retrieve the unique properties of those objects - The column headers (Name, Age, DOB etc)


Contradiction of "For all $𝑎, 𝑏, 𝑐, 𝑑 ∈ ℤ,$ if $𝑎\mid𝑏$ and $(𝑎𝑐) ∤ (𝑏𝑑)$, then $𝑐 ∤ 𝑑.$"

I'm trying to prove this by contradiction but I'm really struggling to find the contradiction position for my proof. The idea is to assume the statement is false and show the idea leads to a contradiction, then conclude that it must be true. Should I start with "Suppose that $𝑎∤b$ and $(𝑎𝑐) \mid (𝑏𝑑)$"?


I have some older code to maintain and I am worried about SQL injections, but I cannot use PDO. I would like instead to have a top level PHP function to examine $_GET and $_POST and stop the script if anything suspicious is found.  What would be a good function to write at this point? For example, I could start with that:  $flag = 0; $req = array_merge($_GET, $_POST); foreach ($req as $rx) {     if (strpos(strtolower($rx), 'drop ') !== false)         $flag = 1;     if (htmlspecialchars($rx,ENT_QUOTES) !== $rx)         $flag = 1; .... }   Thanks.


I want to change the catcode in a macro, but it seems it doesn't work. Can anyone help me?  \def\A{\catcode`\|=0 |bf{test}}    |bf{test} would not work as expect.


Can percent overlap of polygon layers be calculated in geographic coordinate system?

I have two global polygon shapefiles in WGS84, and I would like to generate spatial stats on the % area of one shapefile that is overlapping the other. I understand that geometric calculations such as area require a projected coordinate system, but I am wondering if that is necessary in order to calculate % overlap.  I would like to avoid projecting, as these are large datasets. However, in the event that I do have to project, are there recommended projections for running geometric calculations on global data? I've only ever worked with local / regional projections. I am using ArcMap 10.2.


Convergence of $\sum_{n=1}^\infty (\frac{n}{n+1})^{n^2}$

Does the sum $\displaystyle \sum_{n=1}^\infty \left(\frac{n}{n+1}\right)^{n^2}$ converge?  I was given a hint to use the comparison test but fail to find a suitable series for comparison. I am not looking for a full solution but simply a convergent larger sequence for comparison.


Conditional Latex table: Cell value color based on its value

I would like to create a conditional where values less than 7 are in red and values greater than or equal to 7 are in blue.  I would like a result like the one below:    Follows my MWE.   \documentclass[12pt,a4paper]{article} \usepackage[brazil]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[pdftex]{color} \usepackage{longtable} \usepackage{spreadtab}  \begin{document}  \pagestyle{empty}   \centering   \begin{spreadtab}{{longtable}{c c c c c c}}    \hline     @ {\bf Number} & @ {\bf 1º Exam} & @ {\bf 2º Exam} & @ {\bf Mean} & @ {\bf Final} & @ {\bf Situation} \\    \hline     \rowcolor{gray!25}         @ 18101610 & 7 & 8.5 & (b2+c2)/2 & - & \\         @ 18103839 & 6 & 4.3 & (b3+c3)/2 & 7 & \\     \rowcolor{gray!25}         @ 18101547 & 5.4 & 3.5 & (b4+c4)/2 & 6 & \\         @ 18100204 & 7 & 8 & (b5+c5)/2 & - & \\     \rowcolor{gray!25}         @ 14101294 & 9 & 10 & (b6+c6)/2 & - & \\         @ 18101505 & 3.7 & 1.5 & (b7+c7)/2 & - & \\    \hline \end{spreadtab}  \end{document}   Other questions have already addressed this issue, but in my case the \usepackage[table]{xcolor} is conflicting with \usepackage{collcell,xfp}. The conditional is changing the color of all the cells, even the text is getting colored.  \documentclass[12pt,a4paper]{article} \usepackage[brazil]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[pdftex]{color} \usepackage{collcell, xfp} \usepackage{longtable} \usepackage{spreadtab}  \begin{document}  \newcommand{\fmtnum}[1]{%   \ifnum\fpeval{#1 < 7} = 1    \textcolor{red}{$#1$}%   %\else     %\ifnum\fpeval{#1 < 0.5} = 1      %\textcolor{green}{$#1$}%    \else    \textcolor{blue}{$#1$}%    %\fi   \fi }  \centering  \begin{tabular}{ *{6}{>{\collectcell\fmtnum}c<{\endcollectcell}}}   \hline     {\bf Number} & {\bf 1º Exam} & {\bf 2º Exam} & {\bf Mean} & {\bf Final} & {\bf Situation} \\    \hline     \rowcolor{gray!25}         18101610 & 1 & 2 & 1.5 &  & \\         18103839 & 4 & 7.5 & 5.75 & 7 & \\     \rowcolor{gray!25}         18101547 & 5.4 & 3.5 & 4.45 & 6 & \\         18100204 & 7 & 8 & 7.5 & - & \\     \rowcolor{gray!25}         14101294 & 9 & 10 & 9.5 & - & \\         18101505 & 3.7 & 1.5 & 2.6 & - & \\    \hline \end{tabular} \end{document}     Similar questions:


the number of components working at a particular time

Suppose a system has $10$ components and that a particular time the $j$'th component is working with probability $1/j$ for $j=1,2,\dots,10$. How many components do you expect to be working at that particular time?  I have only found the probability of the components and I know that the sum of the possible probabilities is $1$.  How do I go about solving this question?


I was watching some tutorials (Darrin Lile) and I saw that i have to have my cursor in the centre in order to make it walk, so I did that, but my figure is cut in two now. Please tell me i do not have to create it again :'(


Proof for $ \vdash Q \rightarrow (P \rightarrow Q) $ in symbolic logic.

I need help about proving the following sequent:  $$ \vdash Q \rightarrow (P \rightarrow Q) $$  I tried to prove it by trying to introduce a conditional proof, but somehow can't get the suppositions correctly in the beginning. I would appreciate some help.   Additionally, here is another similar sequent I've supposedly proved, but not completely sure:   $$ \vdash Q \rightarrow (P \rightarrow P) $$    Explanations for the proof:  CP: Conditional Proof Introduction  A: Assumption  Leftmost Column: Score-board for keeping track of suppositions.  I'd appreciate any help and suggestions.


Prove $2^{3^k}+1$ is a multiple of $3^k$

I need to prove by induction that $2^{3^n}+1$ is a multiple of $3^n$ for any natural number n. Assuming it holds true for $k$, I need to prove it holds true for $k+1$. So I guess I need to show that $2^{3^{k+1}}+1$ is a multiple of $3^k$? I don't really know where to start with this, even a hint would be greatly appreciated. Thanks!


How to produce side by side item and description

What I'd like to do is this: Item 1: description description description description description % edge of page         description description description description description         description description description description description  Item 2: description description description description description          description description description description description         description description description description description  etc. with the description wrapping at the edge of the page but not starting at the beginning of the line. I'm fairly new to Latex not even sure what to google here to find the answer. Hopefully someone could point me in the right direction.


How to upgrade from 18.10 to 19.10, using the command line?

I'm trying to upgrade from 18.10 to 19.10, using sudo do-release-upgrade however I only get an error: An upgrade from 'cosmic' to 'eoan' is not supported with this tool. I performed the steps to update my sources.list to point to old-release server, as suggested here:  This did not help. I get the same error.


Use of the article "the" with proper nouns

I'm writing a leaflet for children from primary schools who will visit our school.  Is it correct to write:     the "amerigo vespucci" school is waiting for you!!!!   Is the use of the definite article correct in this case? I am defining which school is waiting for them, I'm saying we and no others but us are willing to meet them?


Trying to download the window's version of steam onto my Ubuntu computer through PlayOnLinux, i have everything working properly but the library and everything just shows up as black and nothing loads. I tried the fix from last year but its outdated since steam no longer supports WindowsXP version. Is there anyone that can help me?


Consider the matrix   $$ M=\left(\begin{matrix} 0&0&0&1\\ 0&0&0&0\\ 0&0&0&0\\ 0&0&0&0\\ \end{matrix}\right). $$   For which ${n\in{\Bbb Z}}$ does there exist a matrix $P\in{\Bbb C}^{4\times 4}$ such that $P^n=M$?     Since $P$ must be not invertible, one must have $n\geq 1$. For $n=1$, it is trivial.  When $n=3$, we have (thanks to answers to this ) $P^3=M$ where $P$ is the $4\times 4$ Jordan black with $\lambda=0$: $$ P=\left(\begin{matrix} 0&1&0&0\\ 0&0&1&0\\ 0&0&0&1\\ 0&0&0&0\\ \end{matrix}\right). $$ How can I deal with the general cases?


Is there a way of maintaining malleability in a homomorphic encryption system while making it infeasible to perform chosen ciphertext attacks?   I have been reading about homomorphic encryption and malleable cryptosystems lately and have found it fascinating. I still have a lot of reading to do, however, I came across a statement in my reading that suggested malleability is inherently counter to security against chosen ciphertext attacks.  While I read up more about this relationship, I am curious to learn if there a way to maintain malleability while making a chosen ciphertext attack computationally infeasible? Why or why not?


LAMP/ webdav: my apache error.logs show "su: must be run from a terminal" - but that wasnt me

within the apache error.log I have the mssg: "su: must be run from a terminal" Usually, there are error IDs, the monitored IP and source of the error (php-page)  - all this is missing here.  If I check the apache access.log during the given time-window (the error-mssg before and that one after the entry "su: must be run from a terminal"), there is a hacking-approach:  PROPFIND /webdav/ HTTP/1.1" 403 0 "-" "WEBDAV Client" (the IP is already listed in the abuse IP database.list:  )  Now I wonder, if the "su: must be run from a terminal" is normal behaviour if the PROPFIND was rejected properly - or, if this a clear sign that there is a critical vulnerability. (I have never added/ activated/ used the webdav module for this server.)  I'd be happy if someone could explain/give further information, where/how this plain mssg "su: must be run from a terminal" is coming from/was generated by.


Am I adding this .on event listener incorrectly?

I'm trying to add a .on event to a dynamically created element, but it doesn't seem to be working.  My table renders correctly, but nothing happens when I click on my exp_col div, not even an error message.  Have I done something incorrectly here?      jQuery.each(items, function(index, item) {         jQuery('<tr>')             .addClass('item_class')             .append(                 jQuery('<td/>')                     .addClass('text')                     .text('XXX')                     .append(                         jQuery('<div />')                             .addClass('exp_col')                             .text('More...')                     )                 )              .append(jQuery('<td/>').addClass('info').text('yyy'))         .appendTo(table);      });      table.on("click", ".exp_col", function(e) {          myFunc( this );     });     table.appendTo(div);   Satpai's answer below is perfect, but instead of a console.log, if I was to call a function which did some CSS tinkering, and then removed the itself and added a new function. How could I accomplish that?  function myFunc(ele){     //does some css stuff            jQuery(ele).off(); }  function myOtherFunc(ele){     //removes the css stuff     jQuery(ele).off(); }   My overall goal is to toggle two functions on and off.


What files to move if I want a clean slate?

The Stanley Parable is a single-save game that lasts roughly 20 minutes. Then it loops. However, each play-through is subtly different, depending on the choices and paths you took in earlier play-throughs. This leads to a lot of in-jokes and references to things the player has experienced before.  I'd love have some friends try the game, but I'd want them to experience a fresh save. Does anyone know what files and/or folders contain the player's choices? I could move to a temporary location to have them try it fresh. Then presumably move them back after they're done.


Prove that $\forall a,b,c,d\in \mathbb{R}\,$,  $(a^2-b^2)(c^2-d^2)\leq(ac-bd)^2$ and equalities hold if and only if $ad=bc$.    I need hints in dealing with the inequality. I think what I have with dealing with the case of equality is sufficient.   $\begin{align}(a^2-b^2)(c^2-d^2)\leq(ac-bd)^2&\Longleftrightarrow(ac)^2-(ad)^2-(bc)^2+(bd)^2\leq(ac)^2-2abcd+(bd)^2\\ &\Longleftrightarrow-(ad)^2-(bc)^2\leq-2abcd \\ \end{align}$  Suppose $ad\neq bc$, then $-(ad)^2-(bc)^2\leq-2abcd\Longrightarrow 2abcd\leq(ad)^2+(bc)^2,\,$ since $0<(ad)^2$ and $0<(bc)^2$ if $ad\neq bc$. Thus, the equality is only satisfied if and only if $ad=bc$, since this implies:  $$-(ad)^2-(bc)^2=-(ad)^2-(ad)^2=-2(ad)^2\leq-2abcd=-2ad\cdot ad=-2(ad)^2.$$  Hints to show inequality? Thanks.


I would like to redirect my user to a specific question, from the first line of code, how do I do that?

print("Hello Welcome To The Essay Generating Code") print("") print("First things first, you need to give your essay characters") print("") print("") print("How many main characters would you like your story to have?") number_of_characters = input("Number Of Characters:") if number_of_characters <= "10":     print("That's way too many characters!")  else:     # rest of code   I would like to redirect the user with the else function back to input the number of characters, how do I do that?


How do I get back all the original leading and trailing spaces I removed from using .trim?

I made a string into .trim(). I wanted to try and reverse it, but I can't seem to do it.  For example,   String a = "    apple     ";   I did, a = a.trim(); such that:  assert(a == "apple");   I want to be able to get back to the original padded text.  assert( a == "    apple     ");


We are all used to the mechanical definitions of velocity, as the variation in time of the distance, the acceleration as the variation in time of the velocity, and even more other quantities like the jerk, the pop and so on (which are derivatives of further order of the acceleration with respect to time).  Now my question is this: could there exist a quantity, let's call it $b$, such that ?  $$\mathbf{\dot b} = \mathbf{r}$$  I mean something, the derivative of which, with respect to time, gives us the distance.  If it's a meaningless question, please just don't down vote. Explain me why end eventually I'll delete it...


Hasura - Postgres database table auto increment PK problem

I have a quite a interesting problem regarding table primary key when inserting new rows to Postgres DB using Hasura. In a short summary this is what happened: There was old backend for the app that I am currently developing which used MySql database and my task was to move all of data to new Hasura/Postgress DB, so i wrote scripts that move that data and it went fine. Script inserted all of the users data including their primary keys because of user relationship with other tables. Problem occurred when i tried to insert new users with Hasura mutation:  Uniqueness violation. duplicate key value violates unique constraint "users_pkey"  What I assume happened is: My PK on users is not default type integer/auto-increment , it is:  id - integer, primary key, unique, default: nextval('users_id_seq'::regclass)  and when i try to insert new row it tries to assign it latest PK that Hasura remembers it inserted and user with that PK is already imported from MySql DB. Is there some way to edit my table PK so it is integer/auto-increment or someone has some creative solution. Thanks in advance!


Prove that $1^\alpha + 2^\alpha = 3^\alpha $ if $ \alpha $ is a limit ordinal

I am trying to prove the following statement:  Suppose $ \alpha $ is a limit ordinal. Then $ 1 ^\alpha + 2^\alpha = 3^\alpha$.  I'm not sure how to grasp this. Obviously induction won't work, since the statement doesn't hold for non-limit $ \alpha $.  I tried to solve this for $ \alpha = \omega $, but then the statement gets trivial since both sides equal $ \omega $.  I would appreciate a hint


A PDE exercise from Gilbarg Trudinger. problem 2.2

Prove that if $\Delta u=0$ in $\Omega\subset \mathbb{R}^n$ and $u=\partial u/\partial\nu=0$ on an open smooth portion of $\partial \Omega$, then $u$ is identically zero.  I found a proof , but I'm not sure if it's the correct proof. Does anyone have any idea? Any hint would be appreciated.


Apostrophe in LargeTextElt form section causing mySQL error

I am currently trying to upload a form to our database using mySQL, but the problem is when a user enters an apostrophe in the text field it breaks and gives this error:   Error updating database: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'm interested in football ''' This is a test', resume = '/var/www/html/' at line 6  Here is the code we are using to strip characters that are not permitted in the database, with exceptions granted to - , and ' :  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <script>     $( 'textarea[name=studentTalking]').change(function() {     var txt=$('textarea[name=studentTalking]').val();         var txt=$('textarea[name=studentTalking]').val();         txt = txt.replace(/[^-,'A-Za-z0-9\s\,\-\(\)\&\/]/gi, '');         txt = txt.replace(/\&/,'and');         $('textarea[name=studentTalking]').val(txt); }); </script>   What can I add to this code to manually escape the apostrophe so it may be submitted to the database? I have seen others solving this problem by using mysql_real_escape_string, but am unsure where to put it. If you need more code to help me let me know, and I will try to edit this post with an updated code.


How to prove this statement: $\binom{r}{r}+\binom{r+1}{r}+\cdots+\binom{n}{r}=\binom{n+1}{r+1}$

Let $n$ and $r$ be positive integers with $n \ge r$. Prove that   Still a beginner here. Need to learn formatting.  I am guessing by induction? Not sure what or how to go forward with this.  Need help with the proof.


Nonzero Jacobian implies diffeomorphism?

Suppose $f: U\to V$ is a $C^1$ surjection from a $k$ dimensional manifold $U$ onto a $k$ dimensional simply connected manifold $V$ with everywhere nonzero Jacobian or nonsingular differential. Is $f$ diffeomorphic?


I only watched the Game of Thrones TV series. But there it was said that the current summer lasted for already nine years. In our world a "year" is the time in which all four seasons pass. Since this is different in Westeros, they seem to have some other way of saying what a "year" is. Is this somehow explained in the books?


As far a small I know only employees are moderators on MSE so how is  user a moderator?


I have this problem:     Prove that $\mathbb{|Q| = |Q\times Q|}$   I know that $\mathbb Q$ is countably infinite.  But then how can I prove that $\mathbb{|Q\times Q|}$ is countably infinite?  Thanks you!


Structuring two first authors equal contribution in computer science publication

Sorry if this is a naive question. We tried finding guidelines, but have failed to find concrete advice.   There are N authors (where N>2) in our publication. Two authors have equal contribution. We are aware of the custom of putting an asterisk and writing a footnote about equal contribution.  However, while arranging the names of authors with equal contribution, how should they be arranged – alphabetically by last name? For instance, if the names are John Foe and Jane Doe, should they be arranged alphabetically by last name: Jane Doe*, John Foe*?


Timestamps on Multiple Google Sheet Tabs

Can anyone help me how I can get a script that can run a timestamp for different tabs. So each tab is going to be used by different users, I have 4 different users and sheets...each time the user ticks the check box in column three, i need a time stamp on column 1.  I need this to happen to sheet 2, 3, 4 and 5. Is this possible? My current script is as follows.  I had it working for just one sheet but now I have added other sheets it is happening on all sheets and not when a specific column is changed. function onEdit(e) {      var row = e.range.getRow();  var col = e.range.getColumn();     if(col === 2 && row > 1 && e.source.getActiveSheet().getName() === "June 2021"){     if(e.source.getActiveSheet().getRange(row,1).getValue() == "" ){  e.source.getActiveSheet().getRange(row,1).setValue(new Date());     }  }  }


How to remove all empty directories in a subtree?

How can I remove all empty directories in a subtree? I used something like  find . -type d -exec rmdir {} 2>/dev/null \;   but I needs to be run multiple times in order to remove directories containing empty directories only. Moreover, it's quite slow, especially under cygwin.


Why did Voldemort blow his cover and choose to go to the Ministry?

Voldemort clearly had a good thing going for him when Fudge was in denial about his return. This allowed him free reign to move, manipulate and organise without Ministry interference. In his pursuit of the prophecy, Voldemort purposefully crafted his plan in such a way as to protect that secret. By operating at a distance he could get what he wanted by forcing Harry to take it for him. The risk of disclosure here is next to nil. The idea that Voldemort might show up was so fanciful that Bellatrix laughed at the suggestion.     "Why couldn’t he come and get it himself?”   “Get it himself?” shrieked Bellatrix on a cackle of mad laughter. “The Dark Lord, walk into the Ministry of Magic, when they are so sweetly ignoring his return? The Dark Lord, reveal himself to the Aurors, when at the moment they are wasting their time on my dear cousin?”   (Order Of the Phoenix, Chapter 35, Beyond the Veil)   This makes it all the more surprising when Voldemort does show up in the Atrium a short while later. The Ministry find him and his return is revealed.  I'd understand his thinking if he wanted to bypass Harry altogether, sneak into the Ministry using stealth (who'd doubt that he'd be capable of this?) and take it himself in the middle of the night, causing the minimum of fuss.  I'd understand his thinking too if he'd stuck with his original plan - make Harry take the prophecy, entrust the Death Eaters to collect it and keep his distance.  What I don't understand is encouraging a fight with Harry and co followed by a personal appearance that blows his cover.  Why did he pursue this course of action?  (Related questions  and  in my view don't fully address Voldemort's stated desire to remain undercover).


I have a GTK application in C++ running, and one of the widgets is a dropdown menu. I want to take a screenshot when this menu is open, but nothing happens when I press Print Screen (it works when the menu is closed). I don't think this is a GTK thing: how can I take a screenshot when the menu is open?


What makes water condense on the interior of the windows at night when it's cold?

While staying with some relatives, I noticed that all their windows experience terrible interior condensation at night and am wondering about what they can do to prevent it.  The house is kept to 70 degrees with gas-powered hot water baseboard heaters, and the windows are vinyl double-paned units. The house is 2x4 frame construction with interior drywall, exterior stucco, and I'm being told that the walls are uninsulated(!!!).  They live in a colder part of the high desert southwest where the humidity is very low during the day but rises at night, and where the temperature gets down into the single digits at night during the winter. During this season, the interior of their windows become entirely covered with condensation at around 8 or 9 PM every night without fail. It's kinda weird. What's causing this, and what can they do about it?


Is there a format function in python that turn for example 4 to 04 but 10 not in 010.  The idea is that all numbers under 10 are represented by 0and then the number.  Already thanks a lot.


Why does pointer arithmetic work the way it does?

The question is not about what happens, but why it happens.   //for printf #include <stdio.h> //for malloc #include <stdlib.h>  int main(void) {     int *pointy = malloc(4 * sizeof(int));     pointy[0] = 22;     pointy[1] = 23;     pointy[2] = 24;     printf("%p meow %i meow %p meow %p meow %p meow %p", pointy, sizeof(int), &(pointy[1]), (pointy + 1 * sizeof(int)), (pointy + 1), ((int)pointy + 1 * sizeof(int)));      //deallocating the space     free(pointy); }        Output :    00000000000A1400 meow 4 meow 00000000000A1404 meow 00000000000A1410 meow 00000000000A1404 meow 00000000000A1404   So, pointy+1 adds 4 bytes to pointy. I guess that is because pointy is of type "int*" and the addition happens similar to the logic:  (int*) pointy + (int*) 1  But it isn't working the same way like adding an int to a double ( which would yield a double result). The compiler doesnt actually let me cast " 1 " to type " int * " if I try to do so in this scenario... So I think there are more reasons beneath it. And googling didn't work, so I'm asking it here.  Please provide a detailed explanation, and I'll be thankfull.     The lower-level explanation, the better. I also would like to learn if you have any recommendations on learning fundamentals of programming with a  COMPLETE * bottom-up * approach


How do I check external USB Drive health?

I tried a few utils and none of them worked. Either USB wasnt supported or the drive was 'recognized'. I am trying to figure out if i should dump the drive or not. Its only a year old but the warranty is only a year which is a pity.


Can all the systems have a Hamiltonian description?

I have heard of mechanical systems that might not have a Hamiltonian dynamics, but I cannot figure out an example that supports it.  Please help.


What is the proper usage of "however" and where is it placed?

What is the correct usage of however; and however?     I sometimes find myself not really checking my email on a daily basis   but, I do however; find this to be very helpful to keep up with what's   going on. Now that I am in school I will make sure that I check   everyday just to make sure that I stay on top of my work and   schooling.


Displaying null fields as 0 in mySQL select


What is the sentence pattern of "I think that she is intelligent"

I understand that the sentence "She is Intelligent" would be pattern SVC, but what is the pattern when the sentence is "I think that she is intelligent". Because both "think" and "is" are verbs, I am confused. Is there a sentence pattern with two verbs that are not next to each other? Would it just be ASVC?


Remove all lines in file A which contain the strings in file B

I have a CSV file users.csv with a list of userNames, userIDs, and other data:  username, userid, sidebar_side, sidebar_colour "John Lennon", 90123412, "left", "blue" "Paul McCartny", 30923833, "left", "black" "Ringo Starr", 77392318, "right", "blue" "George Harrison", 72349482, "left", "green"   In another file toremove.txt I have a list of userIDs:  30923833 77392318   Is there a clever, efficient way to remove all the rows from the users.csv file which contain the IDs in toremove.txt? I have written a simple Python app to parse the two files and write to a new file only those lines that are not found in toremove.txt, but it is extraordinarily slow. Perhaps some sed or awk magic can help here?  This is the desired result, considering the examples above:  username, userid, sidebar_side, sidebar_colour "John Lennon", 90123412, "left", "blue" "George Harrison", 72349482, "left", "green"


I have this php script for get the value <?php header("Content-type: application/json; charset=utf8_general_ci"); require_once('db.php'); $query = 'SELECT * FROM `hebreux`'; $stm = $db->prepare($query); $stm->execute(); $rows = $stm->fetchAll(PDO::FETCH_ASSOC); echo json_encode($rows);  When I ran the script I have the value below [{"francais":"Bonjour","hebreux":"???","chemin":""},{"francais":"Bonne semaine","hebreux":"???? ???","chemin":""}] My question is why I have ??? and not the hebrew text? in my mysql database I show the hebrew value I have charset utf8_general_ci for the hebrew value. Thank you if you can help me.


Area of an irregular polygon using side lengths

I have only lengths for the sides of an irregular polygon, can anyone tell me how I can measure the area of the polygon? Remember only lengths of all the sides, no angles or coordinates. Few forums mention about trangulation of the polygon etc. But I only have side lengths. Does anybody have any feedback?


How do you enchant a stick in Minecraft Bedrock Edition version 1.9?

Is there a way to enchant a stick in Minecraft Bedrock Edition version 1.9?


AMD graphics card: What drivers should I install

I have just downloaded Ubuntu and I am trying to play some Steam games but Steam says that I should update my drivers.   I am using the post release driver, but should I also install the experimental and xorg and kernel module drivers?


Do sets whose power sets have the same cardinality, have the same cardinality?

Possible Duplicate:          Let $X$ and $Y$ be sets, and suppose that $|\mathscr{P}(X)| = |\mathscr{P}(Y)|$ (where $\mathscr{P}$ denotes the power set).  Does it follow that $|X|=|Y|$?  Remark: It's obviously true for finite sets, as $2^m=2^n$ implies $m=n$.


"It's quite full up this year." vs "They are quite full up this year."

How do you choose what pronoun to use "It" or "They" if "They" is also used as a gender-free singular? Is there no any logic?  It's quite full up this year. They are quite full up this year.  Do these sentences have absolutely the same meaning and no any difference?


How to remove duplicate elements from list?

List list = ["f1,f2","f2,f3","f4,f5","f2,f1","f5,f4"];  output list would be List uniqueList = ["f1,f2","f2,f3","f4,f5"]


I am trying to say sentences like:  Then by doing this thing, this happens Now after selecting this option, this happens By doing this, now we can do this  Should they get comma after "then" and "now":  Then, by doing this thing, this happens Now, after selecting this option, this happens By doing this, now, we can do this


Uniform continuity of $\frac{\sin(x)}{x}$

Let $f=\frac{\sin(x)}{x}$, then $f$ is continuous on $\mathbb{R}$. To show this function is uniformly continuous, we can subdivide its domain into $[-a,a]$ (such that $0\in [a,b]$) and $\mathbb{R}\backslash [-a,a]$. With the second piece of the domain, it is simple to show that $f$ is uniformly continuous by, for example, finding that $\forall \varepsilon>0$, $\delta = \varepsilon a^2 -a $, $\forall x\in \mathbb{R}\backslash[-a,a]$.  But with the second part, since $[-a,a]$ contains $\{0\}$, it doesn't seem possible to show uniform continuity using inequalities. So we can probably show that $f$ is Lipschitz on $[-a,a]$ by showing that its derivative is bounded. However, it doesn't seem to be bounded. What else can be done?


Does room temperature affect rising time for bread dough?

I've tried a couple different kinds of basic bread recipes (both active dry and instant yeast) and no matter how closely to the letter I follow the recipe, I can't seem to get the dough to rise in the time suggested in the recipe. It takes so much longer and I fear the longer rise time makes changes the taste of the bread (and serves as an I convenience to my timing, though I guess that's slightly less important). I'm starting to wonder if my room temperature might be slowing down the rise time? My house this time of year is usually mid to high 70's and I will try to put the dough in sunlight if it's shining that day.   Any thoughts on what I'm doing wrong and how I can help my dough rise quicker?  Edit: Ok, after attempting the suggestions in the answer below, I still cannot get my bread to rise. This is an oatmeal sandwich loaf which I was able to get a great 1st rise (doubled in bulk after 2 hours sitting in the sun), but the second is taking longer. After 2 hours, this is the best I got:      Not to mention that I suck at kneading because I can never get the dough smooth. These both have visible folds on the top which will inevitably burn in the oven... When I leave the dough for the 1st rise, I spray the top with oil to hold in the moisture and cover with a lint-free linen. But when I split the dough and press the gases out, the top is always a bit dried out and slightly hardened. This makes forming it into loaves difficult and leaves this fold on top. I am told that handling it too much after the first rise is not good and will make the 2nd rise take that much longer. Maybe I'm wrong a out that?   Warm equipment, super warm day today (80+ degrees and super sunny), I did use sugar and butter and allowed for a longer rise. This recipe called for 1tbs instant yeast and I even threw in an extra 1/4tbs for good measure. I made sure the salt and yeast were not mixed in together. But I just can't seem to make my breads light and fluffy. They are always small and dense. What gives? I'm so frustrated :(


I just encountered the Mirelurk Queen, and she kicked my ass pretty thoroughly. I'm at level 17, and I really didn't expect a level 50 boss to appear in this mission. Everthing before went very well, I didn't have any issues with the regular Mirelurks before the queen appears.  One issue is that the queen does a lot of damage if she hits me, apart from evading better is there anything I can do to reduce that damage?  What are the weaknesses of the queen? I didn't have any weapons with me that could do more than chip off more than a tiny bit of health with each shot.  Any particular strategies that work against this enemy?


Debugging AttributeError: 'module' object has no attribute 'runalg'?

I want to use QGIS and processing to run some tasks that would be redundant to do by hand. When I try to run a script as a stand alone I get the error      AttributeError: 'module' object has no attribute 'runalg'   When I use runandload in place of runalg, I can run the script, but only from within QGIS software. Do you know what I need to do to run the scripts as a stand alone? Below is my code, I'm using QGIS 2.8.6-Wien. I am new to Python in QGIS and if there's a better/more powerful library, let me know.  import processing  # Set variables polygon_path = "/home/pathtopolygon.shp" line_path = "/home/pathtoline.shp" explode_path = "/home/explode.shp" result_path = "/home/result.shp"  # tools general.runalg("qgis:polygonstolines",polygon_path,line_path) general.runalg('qgis:explodelines',line_path,explode_path)


Is it possible to use old Wacom tablet on 10.11?

I have Wacom Graphire 3 a.k.a CT-630. This model is old Wacom tablet. So, it has no driver for 10.11.  Can I use this tablet on my Mac? Any solution?


How to identify explicitly saved versions when reverting a document?

I suspect I know the answer to this, but...  In 10.7, versions of a document are saved automatically. You can also explicitly save a version by selecting "Save a Version".  When I wish to revert to a previous version, in the Time Machine-like display that appears, there seems to be no way to identify which versions it's showing me were saved automatically by the system, and which were (what I consider to be) the "milestone" versions that I saved explicitly.  Am I missing something? I know you're given the opportunity to revert to the last-saved version when you select File->Revert, but what if I just want to look at that version first, or revert to the last-but-one saved version?


Why does this compound command {...} not exit on error, when used with ||?

I'm trying to run this script:  #!/bin/bash -e  {      echo "Doing something";      will_fail                 # like `false`       echo "Worked";  } || echo "Failed"   To my surprise, will_fail failed, but I did not see "Failed" on my command line, but "Worked".  Why did the compound command not exit with error after will_fail failed?


I've been asked to show that $x_n \rightarrow L$ as $n \rightarrow \infty$ where $x_n = F_{n+1}/F_{n}$ for $n \in \mathbb{Z}^+$, where $F_n$ denotes the $n^{th}$ Fibonacci number. I am supposed to use this and the fact that $1/x_n \rightarrow 1/L$ as $n \rightarrow \infty$ to prove that $L$ is the golden ratio. I'm not sure how to go about computing this. Should I use the standard $|x_n -L| < \epsilon$ proof? That doesn't seem to get me anywhere when I try it.


Why shift in fringe is expected in Michelson Morley Experiment?

When I (beginner) learnt Michelson Morley experiment, it was expected that there should be a shift in the fringe pattern when the setup was rotated by 90 deg if the presence of ether is true. But why should there be a shift in fringe after the setup was rotated, assuming the presence of ether?


How to prove $\hat{p}|x\rangle=i\hbar\frac{\partial}{\partial x}|x\rangle$,using $[\hat{x},\hat{p}]=i\hbar$?

How to prove $$\hat{p}|x\rangle=i\hbar\frac{\partial}{\partial x}|x\rangle,$$ using $$[\hat{x},\hat{p}]=i\hbar~?$$ The question seems to be uncomplete because for any $f(x)$ $$[\hat{x},\hat{p}+f(x)]=i\hbar.$$ But that's my homework. Can someone add some appropriate assumptions and prove the question?  Here is a seemingly right answer:  $$ \hat{Q} = e^{-i \frac{u}{\hbar} \hat{p}},[\hat{x},\hat{Q}]=u \hat{Q} $$ $$ \hat{x}\hat{Q}|x\rangle = (x+u)\hat{Q}|x\rangle $$ $$ \hat{Q}|x\rangle = |x+u\rangle $$ $$ \hat{T} = e^{i \frac{u}{\hbar} \hat{x}},[\hat{p},\hat{T}]=u \hat{T} $$ $$ \hat{p}\hat{T}|p\rangle = (p+u)\hat{T}|p\rangle $$ $$ \hat{T}|p\rangle = |p+u\rangle $$  Therefore  $$ \langle x | p \rangle = e^{i\frac{px}{\hbar}} \langle 0 |_x |0 \rangle_p $$  $$ \delta(p-p') = \langle p | p' \rangle  = 2\pi \hbar |\langle 0 |_x |0 \rangle_p|^2 \delta(p-p') $$ $$ \langle 0 |_x |0 \rangle_p = \sqrt{\frac{1}{2 \pi \hbar}}$$ $$ \hat{p}|x\rangle = \int \hat{p} |p\rangle\langle p |x\rangle= \int \hat{p} |p\rangle e^{-i\frac{px}{\hbar}}\sqrt{\frac{1}{2 \pi \hbar}} = i\hbar\frac{\partial}{\partial x}|x\rangle $$ Which assumption is made here?


I want to solve the diophantine equation $y^2+y=x^3-1$.  I thought about writing it as $(y-\omega)(y-\overline{\omega})=x^3$, where $\omega=(-1+i\sqrt{3})/2$. If we prove that $y-\omega$ and $y-\overline{\omega}$ are relatively prime in $\mathbb{Z}[\omega]$, then it follows that there is $u\in\{\pm 1,\pm \omega,\pm\omega^2\}$ and $a,b\in\mathbb{Z}$ such that $$y-\omega=u(a+b\omega)^3=u(a^3+b^3-3ab^2+3ab(a-b)\omega).$$ I think we may be able to solve it by considering all the possible $a,b$ for a given $u$.  We two cases:   Case 1: $u=\pm 1$. This case is impossible since we would have $1=\pm 3ab(a-b)$ as an equality of integers. Case 2: $u=\pm \omega$. Here we have that $a^3+b^3-3a^2b=\pm 1$ and $y=\mp 3ab(a-b)$. I don't know what to do.   To sum up, I would like to know how to prove that $y-\omega$ and $y-\overline{\omega}$ are relatively prime in $\mathbb{Z}[\omega]$ and how to deal with case 2.


How can I round up different type of currencies with using jquery? What I'm trying to do is;  10.30 → 10 //Below .5 will round down 10.60 → 11 //After .5 will round up 849.95 → 850 1,022.20 → 1022


What is this kind of argument parsing?    $RES="${SOME_VAR##foo/}"


Is there any efficiency difference in an explicit vs implicit inner join? For example:  SELECT * FROM table a INNER JOIN table b ON a.id = b.id;   vs.  SELECT a.*, b.* FROM table a, table b WHERE a.id = b.id;


Clean way of building simple taxonomy browser of arbitrary depth

I have spent days trying to determine a clean way to do the following:   Display a list of all top-level terms in a vocabulary with links to their child terms Upon clicking a link, be taken to a list of the children of those terms.  Ad infinitum until the lowest-level term, for which a list of nodes tagged with that term will be displayed.    This seems like it would be pretty commonly-needed functionality but I can't find any solution that can handle arbitrary depth, particularly if not all term trees  descend to the same depth.  An ideal solution would be one that uses Views 3, Contexts, EntityFieldQueries, or anything else that's well-supported in Drupal 7.  I'm able to do almost exactly what I want by making a simple view with three node:term relationships (term, term's parent, and term's parent's parent) and user those for sequential contextual filters. The only problem with this is that if there's a node with a termpath of too little depth, it gets listed as "uncategorized" and generates a dead link. Instead of doing that I'd like it to link to the next child term available.


According to "X-Men Origins: Wolverine" Wolverine and his half brother victor share the same healing powers, or pretty close to the same powers.  I read somewhere on this site that Logan also has a son that has healing powers.  With that in mind are mutant powers hereditary?  And what happens if two mutants were to have a child? Could you breed a mutant with specific powers?


\begin{enumerate} \item item 1 \item item 2  \item item 3 \end{enumerate}   How to reduce the space between item 1,2,3?


How can I populate an ArrayList from a method?

I'm trying to populate an ArrayList<Integer> with numbers. When I call on the method in the main method, the compiler complains that  Exception in thread "main"`       java.lang.NullPointerException         at PrimeSum.setGeneralArray(PrimeSum.java:11)         at PrimeSum.main(PrimeSum.java:36)         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)         at java.lang.reflect.Method.invoke(Method.java:483)         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)  Process finished with exit code 1   This a sample of my code.  public class PrimeSum { private ArrayList<Integer> generalArray; private int limit; public void setGeneralArray() {     for(int i = 2; i < 2000001; i++) {         generalArray.add(i);     } } // ... // This is how I call on the method. public static void main(String[] args) {     PrimeSum ps = new PrimeSum();     ps.setGeneralArray();     // ...   What's the thing I'm doing wrong?


When the Stack Exchange alert is clicked, the app shows a blank screen

I have recently installed the Stack Exchange app and it's pretty impressive with all functionalities packed inside a small device.  Today when I received one alert from the app & after clicking on it, the app opened but with blank screen (I mean the right slide-in screen with all alerts).  I waited for some time, nothing happened, so I tried refreshing the app, then all the messages/alerts started appearing.  I know this is a beta app, so this isn't a big issue. Hope to see a stable app :)


I am using 3 phones in China iPhone 5 iPhone 6s and xiaomi metal. I am coming to india, will it create some problem at the airport?

Is there any customs problem while checking at the airport?


Word/phrase that means a series of problems of increasing severity caused by a small error

Something small goes wrong, and this triggers something slightly bigger, which triggers something slightly bigger, and so on and so forth until you end up with a chain of problems of increasing severity until it ends in catastrophy.  Something like the old saying "for want of a nail the battle was lost", only highlighting that each intermediate issue was a problem in its own right, not just a stepping-stone to the final disaster.  Is there a common word/phrase that specifically describes this? I'm thinking "cascade of ever-increasing problems", but this seems clumsy, and I suspect there might already be a neat word or expression that covers it.


What is the proper way not to scare civilians?

Seems like you spook civilians whenever you walk by them, is there a way to hide weapons to appear less aggressive?


Xfce4 create new document, remove history

I'm on Xubuntu 14.04. 64 bit. . I had kinda  on 13.10, it hunts me on 14.04 and upgrading doesn't seem to work.   When I click right click, if go over (even by mistake) to create new document, the computer freezes for a while    I think I know why, it tries to search for previously edited files    How to disable that feature forever? By the way I uninstalled the default editor, abiword I think. I disabled everything here, didn't solve it    I just want to disable the right click menu from searching to previously edited files. I don't want that feature.


Problem from *Bak,Newmann -Complex Analysis*:

Problem from Bak,Newmann -Complex Analysis:     Show that if $f$ is a continuous real valued function and $|f|\leq 1$. Then $|\int _{|z|=1} f|\leq 4$   What I did is :taking $C:z(t)=\cos t+i\sin t$ as the parametrized curve.  $|\int _Cf(z)|\leq \int _C |f|<$Length  of the curve $C$ since $|f|\leq 1 $ and Length of $C=1\implies |\int _Cf(z)|\leq 1$ ..  But I dont understand why the author has given the upper bound so large as $4$. Am I wrong or the author has been a bit casual in the question.  Please help.


Book about constant microphone surveillance and no colors

I read a book a few years back that I’m hoping someone can identify for me. These are the tidbits I remember:   Smallish community setting, near-future Microphone surveillance in every room Kids tossing a ball, one of them noticed the ball was "somehow different" (could identify the color red for the first time) Kids being appointed jobs when they came of age except protagonist Protagonist was skipped in job appointment ceremony, but was given special one-of-a-kind-job. Someone apologies to community and everyone responds "Apology accepted", which is sort of a cultural custom. The elder who’s job the protagonist was replacing had great respect in the community and the inconceivable power to disable the microphone in his home   Any one know what book this is? I read it probably twelve years ago.


I've just installed Ubuntu 15.04 on a new 240GB SSD, and immediately noticed that /dev/ubuntu-vg/swap_1 on the resulting installation is 137GB.  That seems excessive, even counter-productive, but perhaps the Ubuntu installer chose that since the machine has 128GB of RAM.  Does anyone have a strong sense of whether it is useful to have ~140GB of swap, and if not, what a suitable size for the swap should be?  I do run I/O heavy binaries.  Though it may not be relevant I will note that the machine is dual CPU Xeon (E5).  Having consulted the link suggested below by Terrance, I am tempted to reduce the automatic ~140GB of swap to ~4GB, as it is taking up more than half of the 240GB SSD on which Ubuntu is installed!