I am looking for a word to describe the situation :  A poor person describes his struggles of poverty, while a middle-class (economically speaking) lady is faking her empathy to the man – and the conversation goes in the lines of "Do not despair, keep hoping, work = reward... " etc. All these words very often repeated to the poor person, but his state does not change due to certain unchanging social situations. The lady is aware of it.  Nevertheless, just to virtue-signal, the lady who never experienced the struggles of the other – goes on making empty, often condescending remarks to the guy, without genuine empathy, just mechanically repeating the statements everyone else does.   She even goes on to invent some silver lining, such as the positive effects of poverty is that you will not have to manage a big house..  My question Is there a word to describe the remarks of the lady? Patronizing does not quite hit the nail, and condescending does not quite capture the part in italics. Are there any words to describe what I am looking for?   Example:       [Name] at this point is truly tired of continuous _______ from every 4th middle-class . The last thing he'd appreciate now is pity.   Part of Speech: Noun; I searched thesaurus for patronizing and condescension  A single word would be better than a phrase .

What is the word for when someone is overly nice and actually isn't nice at all because of the unnecessary added information/comments? For example, they will say things like "Your hair looks so good that wayyyy omg you should do it that way ALL the time! Looks way better than how you usually do it." And the word I'm looking for is not passive aggressive and it is not sarcasm. There is a word for these types of people. What is it? These people think they're being kind but actually blunt and rude. Another example would be for someone to say "hey you're beautiful, but maybe if you didn't wear harsh makeup you would look better" and they intend to sound like they're being nice when you know they don't like you and are saying in out of spite.


Suppose we wanna define and use a LinkedList in our code. I would define it this way:  LinkedList<String> list= new LinkedList<>();    Why some people use the interface List   List<String> list = new LinkedList<>();   to define a LinkedList? What are the advantages?

I have seen this mentioned a few times and I am not clear on what it means. When and why would you do this?   I know what interfaces do, but the fact I am not clear on this makes me think I am missing out on using them correctly.   Is it just so if you were to do:  IInterface classRef = new ObjectWhatever()   You could use any class that implements IInterface? When would you need to do that? The only thing I can think of is if you have a method and you are unsure of what object will be passed except for it implementing IInterface. I cannot think how often you would need to do that.   Also, how could you write a method that takes in an object that implements an interface? Is that possible?


I have one list but I'd like to divide this list into a list of lists. The final list should be made of lists with 4 items in each lists. The order of the original list should remain the same.   For example:  lst = ['201,904', '17,998', '14,421', '14', '66,000', '5,502', '9,428', '7', 0, 0, 0, '0', '32,300', '2,816', '10,766', '3']   Goal_lst = [['201,904', '17,998', '14,421', '14'], ['66,000', '5,502', '9,428', '7'], [0, 0, 0, '0'], ['32,300', '2,816', '10,766', '3']]   I'd like to also be able to carry out this function if I wanted the Goal_lst to have each sublist only 2 items.

I have a list of arbitrary length, and I need to split it up into equal size chunks and operate on it. There are some obvious ways to do this, like keeping a counter and two lists, and when the second list fills up, add it to the first list and empty the second list for the next round of data, but this is potentially extremely expensive.  I was wondering if anyone had a good solution to this for lists of any length, e.g. using generators.  I was looking for something useful in itertools but I couldn't find anything obviously useful. Might've missed it, though.  Related question:


The question from the book:  Let $G$ be a finite group it's order $|G|=nm$, with $\gcd(m,n)=1$. Supposing the existence of a subgroup $H$ in $G$ such that $|H|=n$. Show that $H$ is the only subgroup in $G$ of order equal to $n$ if and only if $H$ is normal in $G$. (Hint: If $K$ is another subgroup of order $n$, consider $HK$.)  I have managed the first part, proving that if $H$ is unique than it is normal, but I'm having a lot of trouble proving the other. I can see $HK$ is a subgroup of $G$, and that it's order will be $n^2/|H\cap K|$, but I'm not quite sure where to go from there. We have not yet learned Sylow's theorems, so I assume it must be possible without using them.

Let $G$ be a finite group of order $mn$ with $\gcd(m,n) = 1$ and $H$ be a normal subgroup of order $m$. Prove that it is the only subgroup of order $m$. This is somewhat different from this question:  and I don't think we are allowed to use homomorphisms(it is in the next section) I let $K$ be a subgroup of order $m$. If $K = H$, I am done. Otherwise, I supposed $K \neq H$. Based on previous results, I know that $HK = \{hk | h\in H, k \in H\}$ would be another subgroup of $G$ if $H$ is normal. We would have that $\exists k \in K$ such that $k \notin H$ or $\exists h \in H$ such that $h \notin K$. In either case, $|HK| > m$ which may cause problems with some theorems of number theory and Lagrange's theorem but I am unsure of the specifics. I don't know if I can say more about $|HK|$ or whether I am even on the right track. Thoughts?


The jacket or cover page of my passport has separated from the main booklet, everything else is intact including picture, signature, number etc. Will it be considered a damaged passport and can I travel abroad on its basis? Will it be held by immigration officers?

My passport was detached from the front cover but all the pages are intact. I have an Indian passport and wants to travel from Philippines to India, is it possible?


I have a model containing about 30 objects, all together about 900,000 vertices. My computer can't handle this amount of verticies and it gets realy slow. Is there a way how to turn on/off subsurf to all these objects at the same time?

I have an issue where I am trying to render a very complex scene, and I need to cut on my poly count in order to fit it on my GPU. The simplest way is to change modifiers like Sub-division to a lower value, like in my preview, which is all fine and good, but I have hundreds of objects . . . is there a way to render at the Preview settings in the final render? I do know rendering at these lower settings will work as my scene currently renders in the viewport, I just need to know if there is some Python script or something to set all final values to the preview values.  I am using:   Blender 2.72 Cycles Render Engine   Scene details (preview):   384,000 verts 366,000 faces 237 objects .45 GB Memory


how to use ffmpeg to convert mov file to gif , and gif is resized directly?  Here is the   I firstly convert mov to gif,  ffmpeg -i input.mov -pix_fmt rgb24 output.gif,  then use imageMagick to resize the gif.  convert   output.gif -coalesce temporary.gif convert -size 756x1504   temporary.gif -resize 189x376 smaller.gif   Here is the result:     How to use ffmpeg to do this directly, without using imagemagick

I'm converting a video to GIF file with ffmpeg:  ffmpeg -i input.flv -ss 00:00:00.000 -pix_fmt rgb24 -r 10 -s 320x240 -t 00:00:10.000 output.gif   It works great, but output gif file has a very low quality.  Any ideas how can I improve quality of converted gif?


I'm learning about functions in Javascript but getting confused about the use of function declaration and function expression.  Let's say I have the following code:  function callFunction(fn) {   fn(); }  // function expression var sayHello1 = function() {   console.log("Hello World!"); }  // function declaration function sayHello2() {   console.log("Hello World!"); }  callFunction(sayHello1); // Hello World! callFunction(sayHello2); // Hello World!   We can easily see that when passing sayHello1 (function expression) and sayHello2 (function declaration) into callFunction(fn), both generate the same output Hello World!.  Is there any real case that I must use only function declaration/ function expression or I can use them interchangeably all the time?  Thanks so much!

I've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consistent.  The previous developer used two ways of declaring functions and I can't work out if there is a reason behind it or not.  The two ways are:  var functionOne = function() {     // Some code };     function functionTwo() {     // Some code }   What are the reasons for using these two different methods and what are the pros and cons of each? Is there anything that can be done with one method that can't be done with the other?


Sometimes I need to get off of the game while I’m in the middle of a mission but I can’t find a way to save besides ending the mission.   Is this possible?

I'm looking for how can I save my progress in GTA V. I've looked in menu (from pressing "start") then "GAME". I only see    Replay Mission Replay Strangers and Freaks Load Game New Game   I activated the autosave but sometimes I want to save at a precise moment.


Who will win the next election?   Who would win the next election?   Are there any differences between those sentences? They both describe the future, so from what I learned, the difference would be the intensity of the sentences. But I'm not sure there is meaningful politeness gap about them as they are both questions.     Other things bug me also, such as the hypothetical usage of would. Doesn't that word 'Who' replace the role of would? I can't fit in the idea of hypothetical would into question sentences at all. Shouldn't they be both hypothetical regardless of the choice of will/would? Because nobody knows the future. I'm confused.

Consider the following sentence     It will/would rain tomorrow.   I understand "would" usually means something that is really improbable.  So "it would happen" means it might happen but it is very unlikely; while "it will happen" means it is going to happen  But what if I want to say      It will not happen?   Because the meaning of "it will not happen" represents something that is unlikely or, worse still, not going to happen, shouldn't it be more accurate to say "it would not happen"?  However, to contravene the aforesaid suggestion - if I am confident that the thing is not going to happen, should I use "will" to indicate the definite nature of my statement?  To further complicate the issue, what if I want to say     I think you will not be able to do it.    or      I think you would not be able to do it.    Which one is more accurate/correct,  given that "I think" already conveys a sense of "less than definite" and "will/would not be able to" conveys the same sense as "unlikely"?


I don't have anything against Python and think it is an awesome language. But I, personally, am used to be much more productive with functional languages in general. Thinks like map, fold and first class lambdas help me a lot when programming. Python's support for FP, while acceptable, is far from ideal. With this, I ask: is there any way to use another language for blender scripting? Something with a Haskell-like syntax would be great, but even JavaScript/CoffeeScript/Etc would help me a lot already.

What version of Python does Blender use and are other languages available? Also, does Python work the same in Blender as when you write console applications or when working with Pygame or are there any differences? If so, what are the main differences?


On doing the following Gibbs free energy being zero merely: $$Pressure \ constant$$ $$Temperature \ constant$$ $$dU=TdS-pdV$$ $$dU + d(pV) = TdS +VdP$$ $$dH=TdS+VdP$$ $$VdP=0 \ as \ dP=0$$ $$dH-TdS = dG = 0$$

Gibbs Free Energy is defined as   $$G = H - TS$$ and the change in $G,$   $$\Delta G = \Delta H  -  T\Delta S,$$ (isothermal and isobaric)  Now at constant pressure, $q  =  \Delta H$  and Entropy is defined as , $\Delta S  =  \dfrac{q}{T}$ which means that $T\Delta S = q.$  Thus shouldn't Gibbs Free Energy automatically be zero. Or is there something I'm missing, like a specific condition?


in my paragraph I have to get the string between brackets [ ]  ie)  <p id="mytext">     this is my paragraph but I have [code1] and there is another bracket [code2]. </p>   on my JavaScript I have go through all strings and get result of array only as  "code1" and "code2"  thank you in advance!

Unfortunately, despite having tried to learn regex at least one time a year for as many years as I can remember, I always forget as I use them so infrequently. This year my new year's resolution is to not try and learn regex again - So this year to save me from tears I'll give it to Stack Overflow. (Last Christmas remix).  I want to pass in a string in this format {getThis}, and be returned the string getThis. Could anyone be of assistance in helping to stick to my new year's resolution?    Related questions on Stack Overflow:


input :  var b= [{     "cat_id": "1",     "cat_name": "teaching"   }];    var a= [  {     "username": "r",     "password": "r"   }];   I want output like this  [{"username":"r","password":"r","cat_id":"1","cat_name":"teaching"}]

I need to be able to merge two (very simple) JavaScript objects at runtime.  For example I'd like to:  var obj1 = { food: 'pizza', car: 'ford' } var obj2 = { animal: 'dog' }  obj1.merge(obj2);  //obj1 now has three properties: food, car, and animal   Does anyone have a script for this or know of a built in way to do this?  I do not need recursion, and I do not need to merge functions, just methods on flat objects.


I am including a formula in a LaTeX document that includes subscript that consists of more than one character: N sub t0 and N sub tmax  I managed to get LaTeX to do this using this syntax:  \[   \vec{V} = \vec{N_t_0} * M \cdots \vec{N_t_m_a_x} * M \]   This syntax throws multiple Double subscript errors.  Although it produced the intended results despite these errors, eventually these errors cause weird behaviors in the document, such as the bibliography dropping references, etc.  What is the correct syntax to produce the result I need without throwing errors?

\begin{equation} f_s = \frac{1}{T} \geq  2 f_m_a_x \end{equation}   I am getting double subscript error. Although I am getting correct format of equation in pdf but in code it is giving this error. can anybody help me in solving that. Thank You


Why does string EndsWith and StartsWith equals true with string.Empty in c# and explain the reason behind this, why it is this way.  string str = "string"; Console.WriteLine(str.EndsWith(string.Empty));   // returns true... why? Console.WriteLine(str.StartsWith(string.Empty)); // returns true... why?

Title is the entire question. Can someone give me a reason why this happens?


I'm writing my final year B.Sc thesis on transportation (pattern of passenger flow from a bus terminal to several destinations).   I intend to use a distributive flow line method of spatial movement analysis in ArcMap, now that I have the software and flowline tool all ready. I also have a raster map showing the defined source region and defined destination regions of passengers. I was able to add a point to signify the source point and several other points to signify the destination points.   I also have a record of number of passengers moving to all the various destinations from the defined source point.   What I don't know is how to make flow lines of different widths to link the source point to the several destination points. I want to make the width of the lines to be defined by the number of passengers moving through them (i.e the higher the number of passengers, the thicker the lines and vice-versa).

I am trying to represent trade flows on a world map where the size and direction of arrows indicate the exports/imports of a given country.  This type of map is commonly found in magazines and newspapers. However, I find it extremely difficult to make.   Is there any function in ArcGIS for Desktop or any free software that would help me in making it?


I just recently started a VPS using Fedora.  Upon creation of the VPS I was asked if I wanted to use SSH keys (which I did). Now, to connect as root to the VPS, I do not need to enter a password.  Now I want to create a pair (or just reuse the same key) for user1 for use while using ssh.  First I tried to paste the id_rsa.pub folder while logged in as user1 in the  ~/.ssh/ folder.    Still asks for password upon ssh   Then I added a authorized_keys file that was identical to the id_rsa.pub file.    Still asks for password upon ssh   Then I chmod the permissions to the .ssh folder to 644 however, when I try to ssh login as user1.   Still asks for password upon ssh   How can I use the same public ssh key on a user account that I have for the root account.  Where to I put these files, and what is the difference between having a id_rsa.pub file and an authorized_keys file?

I generated a key and copied it to my target:  ssh-keygen ssh-copy-id username@hostname   I left the the location of the key as default and did not set any passphrase.  For a small while after that, I was able to ssh username@hostname without being prompted for a password, and then it stopped working for some reason.


I have elementary knowledge in statistics. I'm trying to estimate the confidence interval for mean of a beta distribution as specified in this  using log likelihood estimation given alpha, beta and sample size. This is closely related to this . The main difference is I have the alpha, beta and the sample size estimated using log likelihood from the data.  Lets suppose I have estimated $(\alpha,\beta)$ for two different data with different sample sizes:   ($\alpha,\beta$) = (0.688,3.806) using a sample size $n=500$ and ($\alpha,\beta$) = (0.704,1.182) using a sample size $n=1500$  The mean of a beta distribution is $$E(X) = \frac{\alpha}{(\alpha+\beta)}$$ and the variance is given by $$Variance(x) = \frac{\alpha\beta}{(\alpha+\beta)^2(\alpha+\beta+1)}$$   the mean and variance for 2 data are as follows:   mean = 0.15 and variance = 0.0236 mean = 0.37 and variance = 0.0810   Edit:  Using Bootstrap we could estimate the confidence interval of the beta distribution, This is based on the :  # Sample size n = 50  # Parameters of the beta distribution alpha = 0.688  beta = 3.806   # Simulate some data set.seed(1) x = rbeta(n, alpha, beta)  curve(dbeta(x,alpha,beta))   library(simpleboot)  x.boot = one.boot(x, mean, R=10^4) hist(x.boot)                boot.ci(x.boot, type="bca")   Below is the confidence interval for beta distribution when $\alpha = 0.688$ and $\beta = 3.806$ with a mean of 0.15.  Intervals :  Level       BCa           95%   ( 0.1159,  0.2082 )   Calculations and Intervals on Original Scale   My question is around using the alpha, beta, and estimated mean and variance to estimate the CI of the mean as opposed to using bootstrap estimates. For normal distribution you could estimate CI given a mean, variance and sample size. How do I do the same for Beta distribution ?  How do I estimate the confidence interval for the mean, given the alpha, beta, and estimated mean and variance?

Consider a beta distribution for a given set of ratings in [0,1]. After having calculated the mean:   $$   \mu = \frac{\alpha}{\alpha+\beta}  $$  Is there a way to provide a confidence interval around this mean?


How do I shrink an SSD partition? When I try to shrink the volume, the "available amount of space to shrink" is zero. I did a disk defragmentation (I know it's bad), but it still comes up with zero. Any tips or pointers?  I am using Windows 7, Vertex 2 240 GB, , NTFS, and I have about 70 GB used. I also turned off hibernation and turned off paging to reduce large files.

I have just bought an HP laptop with Windows 7 (64 bit). It has a 500 GB HDD with three partitions: a small hidden system partition, a 12 GiB HP recovery partition, and a 450 GiB C: boot partition.  I would like to split this large C: partition into two partitions, leaving only 100 GiB for the system, and giving the rest to a new data partition.  Although the Windows built-in Disk Management utility has an option to shrink the bootable partition, it only allows me to shrink it roughly by half, even though only 20 GiB on the partition is used. As far as I understand, system unmovable files lie in the middle of the partition, preventing Disk Management utility to do what I want.    And since new HP laptops don't come with OS installation disks (they only allow you to create recovery disks yourself), I can't just repartition HDD and then reinstall OS.  So, is there a way to shrink the C: bootable partition and preserve Windows 7 working?  P.S.: I have tried to use the third-party  utility, and after shrinking the partition, Windows 7 stopped booting, with a . System recovery didn't work, and I had to do factory recover. Since this is a long process, I would like to avoid doing it again :) So, please, suggest only proven solutions.


If yes, can you describe it please? with an example would be appreciated

I was doing some problems on physics when i saw a question that asked what is the minimum number of vectors needed in different planes for their resultant to be zero  I thought about this and came to the conclusion that it should be three.  ex : suppose one vector is $3\mathbf{\hat{i}}+ 3\mathbf{\hat{j}}$ in the $xy$ plane , another $-3\mathbf{\hat{i}} + 3\mathbf{\hat{k}}$ in the $xz$ plane and another $-3\mathbf{\hat{j}} -3\mathbf{\hat{k}}$ in the $yz$ plane .   So their resultants should be zero. But the answer is $4$. I don't understand why.  Please correct me if am making a mistake.  Thanks in advance.   *


Let $G$ be a finite group prove that $o(ab)=o(ba)$   I have started with let $(ab)^n=e$ now because $G$ is a group there is $(ab)^{-1}\in G$ but can I conclude it is $b^{-1}a^{-1}$?

How do I prove that if $a$, $b$ are elements of group, then $o(ab) = o(ba)$?   For some reason I end up doing the proof for abelian(ness?), i.e., I assume that the order of $ab$ is $2$ and do the steps that lead me to conclude that $ab=ba$, so the orders must be the same. Is that the right way to do it?


The issue is that, one particular flat file is getting created in a directory. I'm not sure which application is creating that flat file.  I am using Unix environment.  Is there any possibility to identify which script/binary/application is creating that flat file.

Given file path, how can I determine which process creates it (and/or reads/writes to it)?


I would like to center the text in bartext and button within the bar class. Is this possible with vertical-alignment property? Below I have a link to the codepen version of my problem.    Snippet:    .bar {     display: inline-block;     width: 100%;     height: 50px;     background-color: black;     color: white;     font-style: italic;     font-size: 18px;     text-align: center; } .bartext{     display: inline-block;     vertical-align: ; } .button1 {     display: inline-block;     vertical-align: ; }

This is how you contact us

Contact

I have a div with two images and an h1. All of them need to be vertically aligned within the div, next to each other. One of the images needs to be absolute positioned within the div. What is the CSS needed for this to work on all common browsers?

testing...


Per reviewer request, I need to do power analysis for a logistic regression model with multiple dummy variables.  I have four groups: Control, (Treatment) A, B, and C. The hypothesis is that group A and B do NOT differ from the control group, but group C does. I tested this hypothesis by running a logistic regression model with 3 dummy variables with the control group being the baseline group, along with 3 control variables.   The results supported the hypothesis, but one of the reviewers recommended conducting power analysis, saying that the non-significant differences between control and group A, and between control and group B might be a result of lack of power.  I tried to conduct power analysis using G*Power, but because there are no true values of Pr(Y=1|X=1)H0 and Pr(Y=1|X=1)H1 as I'm dealing with political perception as the dependent variable, I couldn't do the analysis.   I found that power analysis simulation using R could be a solution, but unfortunately I don't have enough knowledge about R to adapt the code provide here () to my study design.  Any help or suggestions would be greatly appreciated.  p.s.) I am just wondering what follows is a valid alternative method: - A meta-analysis study suggested that the mean correlation of the effect in question is about 5.  - Use the value to calculate R2 and use the R2 value to calculate Cohen's f2. - Estimate effect size (i.e., small, medium, large) based on the f2 value. - If, for example, the effect size is large, plug .40 in the "Effect size f" box in G*Power and select ANCOVA to calculate power.

I have a logistic regression model and output an $R^2$ value. I then go and add another predictor variable to fit a second model. I can output a new $R^2$ value associated with the second model. When I run an ANOVA test, I see no significant improvement in the second model, but I want to assess the power associated with including the additional variable in model 2.  I have found  for linear regression that uses an $F$-Test. I want to do something similar for a logistic regression using G*Power.   But there appears to be very little documentation on multiple logistic regression models like my situation. .  From what I understand, in G*Power I set Test Family == z tests and statistical test == logisitic regression. But I am not sure what to set R² other X equal to. Is that the improvement in $R^2$?  Reading the tutorial in 27.4 from the  makes no variation of $R^2$, whereas , does not discuss the improvements made from $R^2$.


I could not/ can not ask for more when i've been with my best buddy for such a long time.

When should I use can? When should I use could? What is right under what context?


I've been having this problem and I haven't been able to solve it for days now. It should be very simple, but I'm also very much a novice.  My webcam is flipped upside down. Tried flipping it back with v4l2, but the settings doesn't apply. In Cheese I can manually flip the webcam but the effect doesn't generalize to other applications, such as firefox/chrome or skype.  I know that internal ASUS cameras are physically installed upside-down and that there is software to flip it, but it seems v4l isn't able to do it.  The common solution for skype, LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so /usr/bin/skype doesn't fix the problem either.  Except actually turning my computer upside down, what options do I have?

I am using Ubuntu 16.04 on an ASUS N61JQ laptop. When I use video call from viber or facebook (through chrome) my webcam feeds an inverted image. I am wondering how to fix it. Because two separate applications (Viber and Chrome) have this I am thinking it is not application specific.  While looking for a fix in the internet I have found many cases giving instructions on how to fix this for skype. I have run  sudo apt-add-repository ppa:libv4l/stable sudo apt-get update sudo apt-get upgrade   which installed libv4l-0 libv4lconvert0 and retested but no fix.  I have not followed further those solutions (e.g.  ) because viber and chrome are not 32-bit applications. I did check that viber is indeed 64-bit with the method provided .   I am including the lines of the files that I expect I should change if I were to do something similar to the skype fix:  $ cat /usr/share/applications/viber.desktop | grep Exec Exec=/opt/viber/Viber   and  $ cat /usr/share/applications/google-chrome.desktop | grep Exec Exec=/usr/bin/google-chrome-stable %U Exec=/usr/bin/google-chrome-stable Exec=/usr/bin/google-chrome-stable --incognito   I am not sure how to modify those lines and where to find libv4l package for 64-bit, in order to implement a workaround that will make viber and chrome work properly.  In my quest to fix the underlying problem I started by looking for camera/video settings in Unity's "Search Your Computer" System Settings. But I found nothing. I also run:  $ ls /dev/video* /dev/video1   but I don't know what to make out of that result. Also after running   sudo lshw -sanitize   I get, somewhere along a huge output:  *-usb:0                   description: Video                   product: USB2.0 UVC 2M WebCam                   vendor: USB2.0 UVC 2M WebCam                   physical id: 2                   bus info: usb@1:1.2                   version: 2.02                   serial: [REMOVED]                   capabilities: usb-2.00                   configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s   I tried to find the driver from this but found nothing. For example:  $ ll /lib/modules/4.4.0-28-generic/kernel/drivers | grep uvcvideo   returns nothing.  I also run:  $ lsmod | grep uvcvideo uvcvideo               90112  0 videobuf2_vmalloc      16384  1 uvcvideo videobuf2_v4l2         28672  1 uvcvideo videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2 videodev              176128  4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2 media                  24576  2 uvcvideo,videodev   which (according to the internet) shows the status of the drivers. Can't interpret it though.  There should be a file of a driver somewhere that I could tinker to fix it but how do I find it?


Jacobi's triple product identity states that:  $\displaystyle \sum_{n = -\infty}^{\infty}z^{n}q^{n^{2}} = \prod_{n = 1}^{\infty}(1 - q^{2n})(1 + zq^{2n - 1})(1 + z^{-1}q^{2n - 1})$  I've seen a messy proof of this, but I still don't have any feeling for why it should be true. Is there some intuition behind it? (Or at least some reasonably nice combinatorial argument...)

I'm taking a short number theory course this summer. The first topic we covered was . I still have no sense of why this is important, how it arises, how it might have been discovered, etc. The proof we studied is a bit on the clever side for my taste, giving me no sense of how said proof might have been discovered. Can anyone help?


We would like to buy some servers and we are looking into DELL server with 24 NVMe drives (like R740xd2 - 2 socket server) since we need very high read IOPS and throughput. We are however wondering what's the maximal throughput we can achieve with this solution. AFAIK, each NVMe takes 4 PCIe lanes but I am not able to find what's the number of available lanes on these servers. Usually NVMe drives offer around 24 Gbps but I know it is not real that 24 NVMe drives would give us 24 * 24 Gbps in parallel read.  So the question is, what is the throughput we can expect out of server like this while doing parallel read from all drives? I know that we'll probably reach the limit of what CPU can do but I am just wondering what is achievable. Anything around 48 Gbps would be win.

This is a  about  Related:      I have a question regarding capacity planning. Can the Server Fault community please help with the following:   What kind of server do I need to handle some number of users? How many users can a server with some specifications handle? Will some server configuration be fast enough for my use case? I'm building a social networking site: what kind of hardware do I need? How much bandwidth do I need for some project? How much bandwidth will some number of users use in some application?


I wish to install a partition wall with a header made of 2x8s (7 feet long). The header will run perpendicular to ceiling joists. I know the no-nonsense approach is to cut channels in the ceiling drywall and exterior wall drywall to anchor the header and end stud. Unless I am extremely lucky I will have to install some blocking between exterior wall studs to anchor the end wall stud (implies opening a couple spots to install blocking and repairing vapour barrier and drywall). Is the opening of existing drywall overkill?

Below is a rough diagram of the interior wall I'd like to build.  The wall is in green, and the rooms are in white.  The grey offset around the edges of the walls represents 3/8" drywall.  My question is simple - do I need to remove the drywall where the interior wall will meet the existing framing, or can I just drive framing nails straight through it to pick up the stud on the other side?  What about the top plate?


I am a Greek national and I will be traveling from Greece to Scotland. I booked my tickets with Turkish airlines. Both flights (to Scotland and back from Scotland) connect at Ataturk Airport (IST) for a few hours.   Will I need a visa for Turkey? Or is a passport or European identity card enough?

I have an Indian passport and am planning to visit Germany with a valid visa. To book a flight for Germany (Mumbai – Dusseldorf), I came across some connected flights that stop at Istanbul.  Do I need to have visa for Turkey?  This is the first time I am travelling outside my country, and any information on this will be helpful.


This is the error I'm getting from using sudo apt-get update   E:Type 'b-src' is not known on line 2 in source list /etc/apt/sources.list.d/tiheum-equinox-precise.list   How can I fix this?

Every once in a while I see users having issues to update due to errors like this:  E:Type 'ain' is not known on line 1 in source list /etc/apt/sources.list.d/some-ppa.list'   with varying types/line numbers/source list files (often after removing a PPA).  How can such an error be fixed?


The Inquisitive silver badge  reads:     Ask a well-received question on 30 separate days, and maintain a positive question record.   Please correct me if I am wrong, I interpret the latter part as maintaining a score of greater than or equal to one, but how is well-received defined? I could not find any details about it on the linked badge description page.  I see this badge available on lot of other SE sites, but never understood completely how it works. Also, does the interpretation of the definition applies similarly on all the sites or could differ between the sites?

Formerly List of all badges with full descriptions.  What are badge name's requirements? Why didn't I get badge name ? Which badges can I earn multiple times?    Jump to:                    Note: Some badges are awarded based on score. The term score means the total number of upvotes minus the total number of downvotes.  Any badge with a *** next to it is one of 20 badges that count towards the  displayed on a moderator candidate in an election. The candidate score is a total of 40 points: the first 20 are awarded based on the user's rep divided by 1000 and rounded down; the second 20 represents the total number of unique badges earned of the 20 that count. Note that if the same badge is earned multiple times, it will only count once towards the candidate score.  Any badge with a "(retired)" next to it is no longer awarded, but is retained by users who previously earned them. See  for more info on what it means for a badge to be retired.       Visit the  of the  on any site to see a complete list of badges that you can filter by earned, unearned, or type.


My primary focus will be to make API Calls and to verify Status Code and Json response.If you know any library which makes this task easier please answer. As of now I am using    Postman-Newman Apache HTTPClient  Jackson & Gson Parser RestAssured

My company is working on its API which is RESTful JSON Web API. So far, all my testing was done using Selenium WebDriver. Starting from one and more tests I manage to create some sort of framework. This API will be also part of the web portal we use.   I was given task to look for some tools that can help us automate the API tests and also help in future tests.  So far I have looked up for HP and UFT with other set of tools. Also, SoapUI NG Pro seems be a good tools for this kind of tests.  Can you guys help me out here and point out some pros and cons based on your experience. Every help will be much appreciated. Thanks!


I want to know how is possible to enable gtk (gtk2 engine) in this case for sudoers? When I start an application using gksudo or it run elevated, the application doesn't benefit from the engine while if I am normal user everything is okay.  Does it have something related with /usr/share/themes and people who use it?  Ubuntu Mate Edition 14.04

I would like the the applications I launch as root to look differently from the application launched as a normal user.  This can be done by using a theme that does not come from usr/share/themes but I haven't found a way to modify the default theme the root applications use.  Can this be done?  Using sudo gnome-appearance-properties doesn’t work.


Given a directed graph G(V,E) with (positive) weighted edges, is there an algorithm that computes the shortest paths from a single vertex to every other, given the total weight of the largest shortest path to be K, in O(K+V+E) time?

Assume a directed graph with positive integer values for edge weights. Also, we know that the cost of the longest shortest path is $K$. The objective is to construct an algorithm that finds the shortest paths from a source node $s$ to all the other nodes in $(K + V + E)$ time. I cannot see how the cost of the longest shortest path can be used by the algorithm to produce the required shortest paths. Can someone provide me with a hint?


What is the proper use of question versus questions. For example,  "Please call me with any question (or questions) you may have."  My boss and I are having an argument over this.

Are they both correct? Should there be singular or plural that right after "any"? If they are both correct, what's the difference?  Here, I quote some sentences from the Internet and I wonder if the word "problem" can be changed into "problems" or vise versa.        I don't think there was any question she wore the pants.    I can ask you any question, and you will answer?   We were never asked any questions.   Any questions about what is happening in mine are put aside until dessert is served.


How can I add a CSS class to an <img> tag by using a template file if output looks like this:  <!-- BEGIN OUTPUT from 'themes/contrib/bootstrap/templates/system/image.html.twig' --> <img class="media__image media__element b-lazy b-responsive img-responsive b-loaded" src="/sites/default/files/styles/media_image/public/2018-03/Trainer-Norbert-Sauer-auf-der-Rennbahn-Wambel-Am-Donnerstag-249903.jpg?h=c913b3c6&amp;itok=sENPOWtc" alt="Trainer Norbert Sauer auf der Rennbahn Wambel"> <!-- END OUTPUT from 'themes/contrib/bootstrap/templates/system/image.html.twig' -->

The input in file field.html.twig is normally like this:  {% for item in items %}
{{ item.content }}
 {% endfor %}   And you get the output in HTML like this:

   But I want to add a class to img-tag. How do I receive the following output:

   I am looking for a solution like , but it is not working. Can anybody help?


I'd like to go to California.  The problem is that: last time, I got into the US with a 3 months tourist permit(I didn't even need to apply for it, since I'm Italian) and I overstayed 4 years in California.; that's why I can't get another tourist visa, or can I?  I left the US IN March 2005, almost 12 years ago. I wasn't kicked out and I didn't try to re-enter till now.  I'm an EU citizen.  1) I want to come back,  as a tourist (probably just 3-4 weeks) and this time I have to obey all laws, I would never try to overstay.  I don't know if this is a difficult situation. Now that the Ban should be well over expired could I easily come back as a tourist for up to 90 days, as before I ever came to the US (with the VWP)? In the meantime, during these 12 years, I never tried to come to the US, my OLD passport expired, so I made a new one which has got different codes/numbers on it (apart from my generalities).  Can I easily obtain an ESTA and use the VWP?  I just want to avoid the ordeal of having to apply for b2 visas or those kind of things (and perhaps don't even get it).  2)If I enter the US from Mexico with my passport, riding one of your buses, will I be simply asked to fill out paper-work at the boarder?  or will they require me an ESTA? or any type of visa?(given the fact that I overstayed in the past.  I don't want to do anything illegal, but at the same time I want to avoid the stress, time and money waste that may come by not doing the best option.  I don't want to overstay, I just want to enter with ease, I just want to avoid the ordeal of having to apply for any visa (and perhaps don't even get it).  Thanks

I have a particular situation here, In March of 1997 I travelled to the US as a tourist and lived there illegally for almost 9 years. I was never arrested, or had any trouble with the law, I was never deported. I paid my taxed (had a TFN) had a job, bank account bought a house, etc. About 9 years ago I decided to leave as I was tired of living like that, not able to be legal, in fear of deportation and loosing everything. I also got married (to a person in the exact situation as me) we were able to legally migrate to Australia and now we are Australian citizens. We never returned our I-94s and in 2005 left through Mexico (walked through the border) so there are no records of us ever leaving. We have lived here in Australia for over 9 years.  OK so my question is... We have been thinking we would like to visit our friends and family back in the US now that we have a little girl. Is there any chance they won't let us in because they know we overstayed? We would be travelling with our Australian passports.


Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


I wanted to make a copy of my file and I generally use   cat file1> file2   This time, I typed mistakenly  cat file1> file1   Because of which the the contents of my original file are lost. Is there any way to recover it?

I accidentally deleted a file from my laptop. I'm using Fedora. Is it possible to recover the file?


Basically im asking if there's anything special about visible light other than the fact that we use it to see colors. If we saw in another wavelength, would it still be possible to see colors like we do now? Does visible light have something special about it that lets us see a variety of different colors?

The portion of the electromagnetic spectrum that is visible to humans are wavelengths between 380 and 750 nanometers.  I am aware that animals have different capacities than humans, but the EM spectrum where they see colors is very close, e.g. 300 - 590 for bees.  I am aware that some humans can see in quadrichromy, but what they see is actually two greens rather than one.  As all animals see around this visible light, it implies that it is in this EM band that the most information about matter can be gathered.  This band is therefore the best to distinguish between objects. Even color-blind people see shades of gray at these very wavelengths.  So it seems that matter has some special properties at the wavelengths of visible light that it doesn't at higher or lower frequencies.  It therefore seems plausible that there is a physcial phenomenon behind these, e.g. imperfections in compound matter could have sizes mostly corresponding to the visible wavelengths.  Is it actually the case?  Edit: added a few complementary questions to helps breakdown all the different aspects  Do most energy level transitions in matter of every day objects correspond quite precisely to the wavelenghts of visible light?  If no electronic transitions happened in the band of visible light, would we still be able to use this band to see? If no, what would be the most efficient ways to see?


On my Minecraft, Linux Version, whenever I try to login to the launcher, I get an error. Sorry, but we couldn't connect to our servers. ( IllegalStateException: ).

Similar to  on the bugs in Minecraft, I would like a complete list of what error codes exist in Minecraft and how they occur, as well as how they can be resolved.


public void addNewLamp (Lamp newLamp) {     for(Lamp lampName: lamps)     {         if(lampName.equals(newLamp.getLampName()))         {             System.out.println("no");             Break;         }         else         {             System.out.println("New Lamp!");             lamps.add(newLamp);         }     } }   lamps being an array of type Lamp.  When looking at the debugger it seems like the for loop just skips everything, the entire IF statement, howcome?  EDIT: Code has been edited to fit comments, still same problem.  This is not the same question as the one that was linked to me since its more than just comparing strings, I've now changed != to "if(!lampName.getLampName().equals(newLamp.getLampName()))" and still getting the same result. Thanks for the link though

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I have a feature class with a bunch of polygons depicting buildings in it and I'm trying to select all the ones that are by themselves, that means any building that is by itself. There are also buildings that are adjacent to other buildings but I'm not interested in those.   Does anyone have any idea how to accomplish this in ArcMap?  Edit: Here's an example image for context. The red circles would be ones I wouldn't want to select and the green ones are ones I would like to select. The polygons are oddly shaped for fencing, but I just refer to them as buildings.

Is there a simple method to select singlepart non-overlapping polygons in a single feature-class which are not contiguous with other polygons ie they are island polygons?


I have a function which is meant to keep a record of every program I've installed (really, I'm interested in keeping track of dependencies). I've tested out my command in a terminal and it works just fine:  dnf install sc | tee -a ~/Scripts/dnf_install.log  Note that sc is just the program I chose since I happened to want to test out a few spreadsheet programs (without bloating my computer with unremoved dependencies) and it's got a short name.  Anyway, so I want to make this a function so I put in my .bashrc the following:  # easier install with logging function install () {     dnf install $1 | tee -a ~/Scripts/dnf_install.log }   However, I always get this error:  ryan: ~ $ sudo install sc [sudo] password for ryan: install: missing destination file operand after ‘sc’ Try 'install --help' for more information.   After trying to narrow things down a bit, I'm pretty sure that the offending part of the code is dnf install $1 and not the part afterwards.  Can anyone explain to me what I'm screwing up and how/why the command is being treated differently inside a function than directly inputted?  Edit: issue solved. As don_crissti pointed out, "sudo forks/execs a new shell that doesn't know about your function." So I put sudo inside the function and also changed $1 to "$1" for good coding practice. I did not know this was a duplicate since I didn't know the issue had to do with sudo.

I have a script that does a number of different things, most of which do not require any special privileges. However, one specific section, which I have contained within a function, needs root privileges.  I don't wish to require the entire script to run as root, and I want to be able to call this function, with root privileges, from within the script. Prompting for a password if necessary isn't an issue since it is mostly interactive anyway. However, when I try to use sudo functionx, I get:  sudo: functionx: command not found   As I expected, export didn't make a difference. I'd like to be able to execute the function directly in the script rather than breaking it out and executing it as a separate script for a number of reasons.  Is there some way I can make my function "visible" to sudo without extracting it, finding the appropriate directory, and then executing it as a stand-alone script?  The function is about a page long itself and contains multiple strings, some double-quoted and some single-quoted. It is also dependent upon a menu function defined elsewhere in the main script.  I would only expect someone with sudo ANY to be able to run the function, as one of the things it does is change passwords.


It was a quote from Anne Frank. The sentence structure looks a little off, especially the "need wait" part.

Consider:  I need to do this. I need do this.  My English grammar knowledge tells me that "need" doesn't have the same status as the modal verbs "may", "can", "should" and what not. Hence the second usage where two verbs appear consecutively is incorrect. But yesterday, my native English speaking friends (Americans) told me that "I need compute this." is a perfectly grammatical sentence, and one is simply omitting the "to". How can this be? Is it a colloquial usage but grammatically incorrect, or is it grammatically correct? If it is grammatically correct, is it because "need" is a semi-modal verb? EDIT: in particular, is it okay to use "need compute" in a scientific paper? EDIT2: the exact phrase that raised the question was "The advantage of this representation is that we need only compute sums and products"


The question is: Let $M$ be a positive, continuous martingale that converges a.s. to zero as $t$ tends to inﬁnity. Prove that for every $x > 0$ $$P\{\sup_{t\geq 0} M_t > x \,| \,F_0\} = 1\wedge \frac{M_0}{x}$$ almost surely.  From Doob's martingale inequality we may conclude that $P\{\sup_{t\geq 0} M_t > x \,| \,F_0\} \leq 1\wedge \frac{M_0}{x}$, but right now I'm stuck on showing that $$P\{\sup_{t\geq 0} M_t > x \,| \,F_0\} \geq 1\wedge \frac{M_0}{x}.$$ On this part I'm completely clueless right now. Any tips?  P.S. We were given the tip "stop the martingale when it gets above $x$", but I don't see what we can do with such a stopped martingale.

Let $M$ be a positive, continuous martingale that converges a.s. to zero as $t$ tends to infinity. I now want to prove that for every $x>0$ $$ P\left( \sup_{t \geq 0 } M_t > x \mid \mathcal{F}_0 \right) = 1 \wedge \frac{M_0}{x}. $$ My approach: I thought that rewriting the conditional probability to an expectation would help so we obtain that we must prove: $$ \mathbb{E} \left[ 1_{\sup_{t \geq 0 } M_t > x}  \mid \mathcal{F}_0 \right] = 1 \wedge \frac{M_0}{x}.$$ A hint to me was given that I should consider stopping the process when it gets above $x$. Thus a stopping time that would do this is $\tau = \inf\{t\geq 0 : M_t>x\}$. But now I'm stuck as I want to apply optional sampling results but we have an indicator which complicates things. How could I proceed from this? Any help is appreciated!


When the page is first loaded, the javascript works well. But after I make a ajax call(I think it should be ajax?), the javascript is not working. I see some post in stackoverflow having similar title but i think it is not similar to my problem actually.  Details of my work :  To make a new appointment of students. I need to select name(in dropdown) of the student, subject he/she wanted(fixed text and manual input in radio/ select and manual input in radio), corresponding tutor and fee. So after the user has set the student name, it should be change to the first choice subject and corresponding tutor and fee. After picking student, the user need to choose the subject (maybe from dropdown or radio).   pick name of student in first dropdown select onchange -> ajax call -> parse response -> set entire
 code of block of choosing subject (since it is a mixed of many things, i don't think it is good to set those input and select separately) pick the subject   my javascript works for first loaded page, but not after changing the name of student. (i am now trying to alert only)  code :  html
 <?php      if (empty($row['desc02'])){ // only got one subject : dropbown list         // mysql query here         echo "<input id=\"desc01\" type=\"radio\" name=\"description\" class=\"addtuteeradio\" checked/>";             echo "<select id=\"description\" name=\"description\" class=\"apptbigselect\" required>";             while ($row = mysql_fetch_assoc($result)){ // looping all matching                  echo "<option value=\"".$row['description']."\"";                 if (strcmp($row['description'], $pref_description) == 0) echo " selected";                 echo ">".$row['description']."</option>";             }             echo "</select>";         echo "";         echo "<input id=\"desc04\" type=\"radio\" value=\"manual\" name=\"description\" class=\"addtuteeradio\"/><input id=\"desc04text\" type=\"text\" name=\"desc04\" placeholder=\"or manual input\" class=\"apptbiginput\" ></input>";     }     else { // more than one subject : radio button         // mysql query here         echo "<input id=\"desc01\" type=\"radio\" value=\"$desc01name\" name=\"description\" class=\"addtuteeradio\" checked/>$desc01name";         echo "<input id=\"desc02\" type=\"radio\" value=\"$desc02name\" name=\"description\" class=\"addtuteeradio\"/>$desc02name";         echo "<input id=\"desc04\" type=\"radio\" value=\"manual\" name=\"description\" class=\"addtuteeradio\"/><input id=\"desc04text\" type=\"text\" name=\"desc04\" placeholder=\"or manual input\" class=\"apptbiginput\" ></input>";     } ?>
   javascript (or ajax?)     I think I describe it a bit messy, hope you can understand..

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


This question has been asked in UPSC exam and I have seen many books but I have not got this question anywhere. Please help me to find out.

If $\lambda_1$, $\lambda_2$, $\lambda_3$ are the eigenvalues of the matrix : $$         \begin{pmatrix}         26 & -2 & 2 \\         2 & 21 & 4 \\         4 & 2 & 28 \\         \end{pmatrix} $$ Show that : $$\sqrt{\lambda_1^2 + \lambda_2^2 + \lambda_3^2} \le \sqrt{1949}$$   I found the characterstic equation as $$\lambda^3 - 75\lambda^2 + 1850\lambda - 15000 = 0$$ This gave $$\lambda_1 + \lambda_2 + \lambda_3 = 75$$ and $$\lambda_1\lambda_2 + \lambda_2\lambda_3 + \lambda_1\lambda_3 = 1850$$ Also $${(\lambda_1 + \lambda_2 + \lambda_3)}^2 = \lambda_1^2 + \lambda_2^2 + \lambda_3^2 + 2{(\lambda_1\lambda_2 + \lambda_2\lambda_3 + \lambda_1\lambda_3)}$$ From this I found out $$\sqrt{\lambda_1^2 + \lambda_2^2 + \lambda_3^2} = \sqrt{1925}$$ But am not satisfied with the way I have approached the problem. Does anyone know of an easier way of doing it?


Sorry if this has been asked many times but I couldnt find the answer that I was looking for.  Coming from Max I used to have scripts that would place the pivot to the left, right, top or bottom of an object by the push of a button. Now im trying to create something similar in blender python but I cant for the life of me figure out how it works.   I've searched online but the answers are all pretty confusing and most of them are written for versions earlier than 2.8.   However I found a script that should place the pivot on the bottom of an object AND doesn't throw an error. BUT actually it doesn't do anything at all either. So i'm wondering why this script won't work for me?   import bpy context = bpy.context  for obj in context.selected_objects:     mx = obj.matrix_world     minz = min((mx @ v.co)[2] for v in obj.data.vertices)     mx.translation.z -= minz   The pivot remains in the center of the object.

I have a lot of 3D objects of various sizes, shapes in blender 2.76b and I would like to set the origin to the bottom center of the objects bounds.  I cannot select the bottom edge and snap to cursor etc as each shapes edges are in different X/Y positions.  Is there a script or tool that will allow me to set the origin to the lowest edge z position?


I am working on a Qt project with sqlite database. I just want to merge two databases (*.db file) with same schema using QSqlDatabase code. what is the best way to do this?  Thanks

If I have a large number of SQLite databases, all with the same schema, what is the best way to merge them together in order to perform a query on all databases?   I know it is possible to use  to do this but it has  of 32 and 64 databases depending on the memory system on the machine.


I read a story long ago that has gotten stuck in my mind lately, but I have no idea of the author or title!  It's about a wrecked spaceship. All the crew get into spacesuits, but have no maneuvering packs. They are all being thrown away from the wreck in various directions. There's no hope of rescue, and the story consists almost entirely of the crew’s radio communications with each other and the thoughts of the protagonist.  The protagonist is the only one heading towards Earth, and the story ends with him thinking "I'll burn like a meteor. I wonder if anyone'll see me" and then cuts to a kid saying "Look! A shooting star!" And mommy saying "Make a wish!"  Obviously, it had an impact on me! I probably would have read it between the late '60's and early '70's.  Thanks for any help!

Looking for a short story in which the crew of a spaceship for some reason find themselves outside the ship, drifting apart in outer space. They can communicate via their radios but are individually drifting apart.  One by one, they lose communication as they drift further away from each other.  Might have also been adapted into a radio play?


I'm trying to find all analytic functions such that $f(z)=-f''(z)$  I keep on trying but the solution seems a bit elusive...  I'm thinking of $\{a\cdot e^{iz},a\cdot e^{-iz}|a\in \mathbb{C}\}$ but cannot prove it...  any advice? :)

How can one solve the following differential equation   $$f'' + f =0$$   with the usage of power series?  Writing:   $$f(x) = \displaystyle\sum_{k=0}^{\infty} a_k x^k$$  $$f'(x) = \displaystyle\sum_{k=1}^{\infty} a_k k x^{k-1}$$  $$f'' (x) = \displaystyle\sum_{k=2}^{\infty} k (k-1) a_k x^{k-2}$$  How to continue?


How can I find out which Apple ID has been used to set up my ipad - it has been hacked and is now some years old and I am in the process of restoring this device.  This iPad is not listed on the Apple ID I have established.

My mum can't find her apple ID on her iPad. I'm not with her at the moment and do not have an iPad so I don't know where to look.  She already has an Apple ID set up on this iPad, so I don't want to set up another one.


I have setup a local windoes server on which I am running php cron job which send email to gmail on daily basic but after some time gmail consider this server as spam and not deliver any email to mail id.   I am using smtp virtual server on IIS6. I got respond as blow from GMIAL  Final-Recipient: rfc822;name@mycompany.com  Action: failed  Status: 5.5.0  Diagnostic-Code: smtp;550-5.7.1 [111.93.202.11012]   Our system has detected that this message is  550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail,  550-5.7.1 this message has been blocked.

This is a tricky one and I've always relied on techniques, such as permission-based emails (i.e. only sending to people you have permission to send to) and not using blatantly spamish terminology.  Of late, some of the emails I send out programmatically have started being shuffled into people's spam folder automatically and I'm wondering what I can do about it.  This is despite the fact that these particular emails are not ones that humans would mark as spam, specifically, they are emails that contain license keys that people have paid good money for, so I don't think they're going to consider them spam  I figure this is a big topic in which I am essentially an ignorant simpleton.


I was wondering if the rules that apply to lava blocks (they can catch things on fire from blocks away and can travel through one block) apply to the lava that is not on/in the block of lava.

It seems that containing lava in solid glass, stone and iron blocks may not be sufficient to prevent wool from burning, even if the lava is completely encased.         After some delay, it seems that fire will jump onto the wool above the iron.   Are solid blocks more effective than airspace, or not? If so, Does it matter whether the corner block is filled in? What are the exact rules on distance that I need, and how can I prevent flammable blocks from being eliminated by nearby lava? Bonus: Does a flowing lava block behave differently than a lava source block when it comes to fire creation?


I used this code to install the Nvidia driver:  sudo add-apt-repository ppa:graphics-drivers/ppa                 sudo apt update              sudo apt install nvidia-384                Problem: There are many versions available. How do I choose the right one? Is there any way to auto-detect the right version based on the hardware?

Is there a package of Ubuntu drivers as driver pack solution? I tried to search for it, but I did not find it. If there is, how can I easily get it?


In bash when I type   echo {0..10}   I get  0 1 2 3 4 5 6 7 8 9 10   How can I use a variable instead of the upper bound? When I try  a=4 echo {0..$a}   I get  {0..4}   How can I fix that so I get the same as the first example?

How do I iterate over a range of numbers in Bash when the range is given by a variable?  I know I can do this (called "sequence expression" in the Bash ):   for i in {1..5}; do echo $i; done   Which gives:     1    2    3    4    5   Yet, how can I replace either of the range endpoints with a variable? This doesn't work:  END=5 for i in {1..$END}; do echo $i; done   Which prints:     {1..5}


I know that if $f$ is surjective then $f(\mathfrak{a})$ is an ideal for every ideal $\mathfrak{a}$ in $A$.  I want to first prove that if $\mathfrak{m}$ is maximal in $A$ then $f(\mathfrak{m}) = \mathfrak{m'}$ is maximal in $B$.  $A/\mathfrak{m}$ is a field by maximality of $\mathfrak{m}$ and $f$ induces $f^* : A/\mathfrak{m} \twoheadrightarrow B / \mathfrak{m'}$.  If $I' \leqslant B / \mathfrak{m}'$ is an ideal and $f^{*-1}(I')$ must either be $(0 + \mathfrak{m})$ or $(1 + \mathfrak{m}) = I$.  If the latter then $f^*(I) = B/\mathfrak{m'}$ because $f^*$ is surjective, but $f^*(f^{*-1}(I')) \subset I'$ so $I' = B/\mathfrak{m'}$ the whole ring.  And if $I = (0 + \mathfrak{m})$ then $f^*(f^{*-1}(I')) = 0$ so that $I'$ can only be $0$.  So, $B / \mathfrak{m'}$ is a field and $\mathfrak{m'}$ is maximal.  Is the above proof valid?  We want to show that $f(\bigcap\limits_{\mathfrak{m} \text{ maximal}} \mathfrak{m}) \subset \bigcap\limits_{\mathfrak{m}' \text{ maximal}} \mathfrak{m'}$.  Next, the inverse map $f^{-1}$ takes maximal ideals in $B$ over to maximal ideals in $A$ so $f(\bigcap \mathfrak{m}) \subset \bigcap f(\mathfrak{m}) = \text{rad}(B)$.  Now how do I prove the question in the title?  A semilocal ring is one with a finite number of maximal ideals $\mathfrak{m}_1, \dots, \mathfrak{m}_n$.  Each one of these ideals is pairwise coprime so that $\phi : A / \mathfrak{m}_1 \times \dots \times A / \mathfrak{m}_n \xrightarrow{\sim} A / (\mathfrak{m}_1 \cap \dots \cap \mathfrak{m}_n)$ is an isomorphism.  But in the first proof, those field homomorphism, since they weren't identically $0$ must be injective so that $A/\mathfrak{m}_i \simeq B/\mathfrak{m'}_i$ so we have an isomorphism:  $A / (\mathfrak{m}_1 \cap \dots \cap \mathfrak{m}_n) \simeq B/(\mathfrak{m}'_1 \cap \dots \cap \mathfrak{m}'_n)$ where $f(\mathfrak{m}_1 \cap \dots \cap \mathfrak{m}_n) \subset f(\mathfrak{m}_1) \cap \dots \cap f(\mathfrak{m}_n) = \mathfrak{m}_1' \cap \dots \cap \mathfrak{m}_n'$.  Now how do I prove that that is not an isomorphism if $\subset$ can't be replaced by $=$?

If $A$ is a semilocal ring and $f:A\rightarrow B$ is a surjective homomorphism, then $f(\operatorname{rad}A)=\operatorname{rad}B$.   I know that if $A$ is a semilocal ring and if $I_{1},\dots, I_{n}$ are all of its maximal ideals, then $\operatorname{rad}A=I_{1}\cdots I_{n}=I_{1}\cap\cdots\cap I_{n}$. Let $y\in\operatorname{rad}B$, then there is $x\in A$ such that $f(x)=y$. I would like to show that $x\in\operatorname{rad}A$.  Any hint?


My mother is currently in the United States on B2 visa and her 1-94 expires on 10-June. Since she has been an asthmatic patient for the last 30 years, I am really worried about her traveling back to India during this covid-19 situation hence I plan to apply for I-539 extension.Some question regarding the same :  1) What are the chances of her extension getting approved given her medical and current covid-19 condition ?  2) If her cases gets denied and leaves united states before her I-94 expires, will her visa still be valid?  3) What happens to her visa status if she leaves the country while her case is still pending and her I-94 has expired ? Do I have to revoke the cases in this situation ?

My mom has come to US on a tourist visa and her I-94 expires on the first week of May.   Due to the coronavirus, travel restrictions have been imposed in our home country (India). Also we want to avoid the risk of traveling in flights at this time.  Is there an easy way to to extend her stay in the US by one or two months?  I am aware that we should fill out an  to extend our stay. But in-order to submit the online application it requires a fee of $370.    Is filing I-539 the easiest way to extend her stay at this time? If so, is it possible to waive the fee due to the coronavirus situation?  After filing I-539 should she wait for an approval to continue her stay? Or is the receipt good enough?   Can you please help me with these? Thanks!  [Edit 1]:  With the current situation of the virus, traveling anywhere sounds like a very risky operation, especially for elders.   That is the main reason behind this question. If the US government will allow visitors to overstay until Covid-19 settles down!


I am working on a project that requires the use of a PC Power supply with my  Arduino Uno. I would like to use a Molex to power my Arduino and I have a few questions. My power supply is rated 18A on the 12V rail, and 28A on the 5V rail. My question is which rail would be best to use, and should I use Vin, 5V, or the DC power plug. Also, would the same advice work for an Arduino nano? All help is appreciated.

Power supplies are available in a wide range of voltage and current ratings.  If I have a device that has specific voltage and current ratings, how do those relate to the power ratings I need to specify?  What if I don't know the device's specs, but am replacing a previous power supply with particular ratings?  Is it OK to go lower voltage, or should it always be higher?  What about current?  I don't want a 10 A supply to damage my 1 A device.


After much frustrating head-brick-wall contact, I've discovered this:  $ echo $PATH /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/steve/bin  $ sudo bash # echo $PATH /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin   but  $ sudo bash -c 'echo $PATH' /sbin:/bin:/usr/sbin:/usr/bin  $ sudo bash -Ec 'echo $PATH' /sbin:/bin:/usr/sbin:/usr/bin   I gather from  that the sudo path is read from /etc/sudoers — but why? Does setting $PATH in /root/.profile make any sense, or is that just a recipe for the confusion above (ie, spawning an actual shell causes a different $PATH from that used in casual sudo commands...)?  I'm using bash on RHEL 6.4.

On my fedora VM, when running with my user account I have /usr/local/bin in my path:  [justin@justin-fedora12 ~]$ env | grep PATH  PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/justin/bin   And likewise when running su:  [justin@justin-fedora12 ~]$ su - Password:  [root@justin-fedora12 justin]# env | grep PATH PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/justin/bin   However, when running via sudo, this directory is not in the path:  [root@justin-fedora12 justin]# exit [justin@justin-fedora12 ~]$ sudo bash [root@justin-fedora12 ~]# env | grep PATH PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin   Why would the path be different when running via sudo?


Consider this example:  \documentclass{article} \usepackage{graphicx}                                              %\usepackage[latvian]{babel}                                                     \renewcommand{\figurename}{att.} \begin{document} \begin{figure}   \includegraphics{example-image-a}   \caption{cap} \end{figure} \end{document}   \renewcommand{\figurename}{att.} fails once I uncomment the line   \usepackage[latvian]{babel}.   The purpose is to override the settings in babel.   How to solve this problem?

How can I modify the caption name of a figure? For example I have  \caption{This is a figure.}   and by default the caption appears as     Figure 1: This is a figure.   However I want     Fig.1 - This is a figure.


The question  Let $f_1,f_2$ be some entire functions without zeros in common, so for every $z∈ℂ$ we have $|f_1(z)|^2+|f_2(z)|^2≠0$. Prove that there exist two entire functions $g_1,g_2$ such that:  $$ f_1(z)g_1(z) + f_2(z)g_2(z) = 1,\qquad ∀z ∈ \mathbb{D} $$    What I've tried  Lets define: $$ g_1 = \frac{1-g_2f_2}{f_1}$$  If we show that the fraction is entire, then $g_1$ is given as above. But because $f_1$ can be zero at some point, we need to choose $g_2$ correctly to have zeroes where $f_1$ does. In other words: $$ Z(f_1) ⊂ Z(1-g_2f_2) $$  Suppose $f_1(a)=0$, then we need to take $g_2(a)=1/f_2(a)$, and we have no problem with the denominator, since $Z(f_1)\cap Z(f_2)= \emptyset$. Using Mittag-Leffler's interpolation, one can find $g_2$.  My doubts [based on what 308745 says]  As said in , the multiplicity of the zeroes at $f_1$ are a restriction that one needs to deal with. Finally one has to choose:  $$g_2(z) = \frac{1}{f_2(z)} + O((z-z_n)^{m_n+1}), \quad z\to z_n  $$  where $z_n$ is a zero of $f_1$ with multiplicity $m_n+1$. But the Mittag-Leffler's corollary that I have, only states the following:     let $\{a_n\}_{n≥1}$ and $\lim_{n\to∞}|a_n|=∞$, and $\{w_n\}_{n≥1}$ be an arbitrary sequence of complex numbers. Then there exists an entire function $f$ such that $f(a_n)=w_n,\ ∀n≥1$   But in this problem I also need $(1-g_2f_2)^{(j)}(z_n)=0$  for $j≤m_n$.  How can I construct $(1-g_2f_2)$ to satisfy that?

Let $\Omega$ be a region in the complex plane and let $f_1$ and $f_2$ be holomorphic functions on $\Omega$ having no common zero. Show that there exist holomorphic functions $g_1$ and $g_2$ on $\Omega$ such that, $f_1g_1+f_2g_2$ is identically equal to one on $\Omega$.


I've just moved 262GB of photos to a new external hard drive (1 TB), freeing up my MacBook Pro, 1 year old, which was dangerously low on space. I first backed them up on an existing external hard drive (also 1 TB). But now I see that this hard drive is getting full and Time Machine has started deleting older backups. That's ok. Currently the backups go to Jan 2015. But I need to keep the backup dated 2015.06.11 because that has all the photos I just deleted from the computer: these images are now on my new HD called "Photos" (and not formatted for Time Machine) and backed up in 2015.06.11 on the original ext. hard drive. So for now I'm okay, but in order to keep 2015.06.11 will I have to replace my backup ext. HD? Or is there some way I can tell Time Machine not to delete that one backup? Thanks.

I make my Time Machine backups on an external hard drive. Recently I upgraded from Mountain Lion to Mavericks. Now I need the ability to freeze those old backups I've done with Mountain Lion in case I need to go back with the hole system.  What I tried so far:   Stop Time Machine and rename backup folder on the disk. On Mavericks the Time Machine folders can't be renamed or moved. Remove the external drive from Time Machine preference pane and read the drive - Time Machine backups continue on same folder and in some time in the future overwrites old backups.   How can I achieve what I want?


I am using the following packages to submit a paper in International Journal of Communication Systems:  \documentclass[12pt,peerreview,draftcls,onecolumn]{IEEEtran} \usepackage{amsmath} \usepackage{amssymb} \usepackage[numbers]{natbib} \usepackage{graphicx} \usepackage[tight,footnotesize]{subfigure} \usepackage{algorithmic} \usepackage{algorithm} \usepackage[dvips,colorlinks,bookmarksopen,bookmarksnumbered,citecolor=red,urlcolor=red]{hyperref}  \newcommand\BibTeX{{\rmfamily B\kern-.05em \textsc{i\kern-.025em b}\kern-.08em T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}} \def\volumeyear{2010} \begin{document} ... \end{document}   However, when I insert a table which has for example more than 5 rows or when I write an algorithm which fill entire of a page, the LaTeX put them at the end of the paper!!!  One of my table:  \begin{table}[h!] \caption{Parameter's Values of Environment}\centering \begin{tabular}{p{25mm} p{20mm} p{22mm}} \hline Parameter &various SUs  & various K \\ \hline Environment & $500\times500[m]$  & $500\times500[m]$ \\ \hline $|\mathcal{M}|$ &10 &5 \\ \hline $|\mathcal{N}|$ &5-50 &50 \\ \hline $r^{PU}(.)$ &150(meter) & 150(meter) \\ \hline $r^{SU}(.)$ &100(meter) & 100(meter) \\ \hline No. Rounds &100& 100 \\ \hline No. Time slots &$3\times |\mathcal{N}|$ &100 \\ \hline No. Iteration &1000& 100 \\ \hline \end{tabular} \label{table5} \end{table}   My algorithm style:  \begin{algorithm}[tb] \caption{Distributed SCG-RP Algorithm} \label{algorithm1} \begin{algorithmic}[1] ... some \IF some \STATE ... \end{algorithmic} \end{algorithm}

Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?


if $a,b,c$ are positive real numbers,Prove:$$a^3+b^3+c^3\geq a^2b+b^2c+c^2a$$   Things I have done so far: I know the fact that $$a^3+b^3+c^3\geq\frac{1}{2}[ab(a+b)+bc(b+c)+ca(c+a)]$$  However i tried to reach the problem inequality,but I was not succesful.  Source of problem: school exam.

Let $a,b,c$ be positive real numbers. Prove that $a^3+b^3+c^3\geq a^2b+b^2c+c^2a$.   My (strange) proof:  $$ \begin{align*} a^3+b^3+c^3 &\geq a^2b+b^2c+c^2a\\ \sum\limits_{a,b,c} a^3 &\geq \sum\limits_{a,b,c} a^2b\\ \sum\limits_{a,b,c} a^2 &\geq \sum\limits_{a,b,c} ab\\ a^2+b^2+c^2 &\geq ab+bc+ca\\ 2a^2+2b^2+2c^2-2ab-2bc-2ca &\geq 0\\ \left( a-b \right)^2 + \left( b-c \right)^2 + \left( c-a \right)^2 &\geq 0 \end{align*} $$  Which is obviously true.    However, this is not a valid proof, is it? Because I could just as well have divided by $a^2$ rather than $a$:  $$ \begin{align*} \sum\limits_{a,b,c} a^3 &\geq \sum\limits_{a,b,c} a^2b\\ \sum\limits_{a,b,c} a &\geq \sum\limits_{a,b,c} b\\ a+b+c &\geq a+b+c \end{align*} $$  Which is true, but it would imply that equality always holds, which is obviously false. So why can't I just divide in a cycling sum?  Edit: Please don't help me with the original inequality, I'll figure it out.


Problem: I use a index.php wich includes other php files.  index.php declares:   <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>   All ok until here with portuguese characters "é,ç,ã".  When I include php files, chars are wrong encoded. With the use of utf8_encode() in the php file being included, things work fine. But, this is to much work encode every sing piece of text in several php files. So, I'm looking for a global solution.  I already tried: 1- use (as the first thing in the index.php file), nothing changes.  header('Content-Type: text/html; charset=utf-8',true);   2- use (as the first thing in the index.php file), in this case the include files work fine but index.php are wrong enconded now.  header('Content-Type: text/html; charset=iso8859-1',true);   3- insert the lines of code above everywhere in index.php and in beinginclued.php files, nothing changes.  Any help will be wellcome.

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


Let $Y_1,Y_2,\dots , i.i.d, \ \mathbb Z \ $valuable  and integrable random variables. $Z_n:= \sum_{i=1}^n Y_i$. Derive $E(Z_n \mid \sigma(Z_k)), k,n \in \mathbb N_0$.   $$E(Z_n \mid \sigma(Z_k))=E(\sum_{i=1}^n Y_i \mid \sigma (Z_k))=n \cdot E(Y_1 \mid \sigma(Z_k))$$ by using the given properties. I am not sure how to continue now, should one consider two cases now ($n \le k$ and $n>k$)? Another point I am wondering is that if $Y_1$ is $\sigma (Z_k)$ measurable? But if so I could use the property that $E(X \mid G)=X$ if $X$ is $G$ measerable.  I would appreciate any help!

The questions asks to $ E[X_1|S_n]$ where $ S_n = \sum_{[n]} X_i $ with $X_i$ i.i.d. of finite expectation. My attempt was to consider an arbitrary Borel set, pull it back under $ S_n $ to get a set in $\sigma(S_n)$, and then average $X_1$ over that pull back and normalize:  $$ E[X_1|S_n] = E[X_1 1_{S_n^{-1}(B)}]/P[S^{-1}_n(B)]$$  for any Borel set $B$.  However, it just doesn't feel right - it seems just symbol pushing, without giving any intuition to what's happening.   Can anyone explain if this is correct, of if I missing something deep?


I have a table that I've created dynamically and in each row there is a button that will clear that row. The button works fine in the first row, but doesn't do anything in the following rows. To troubleshoot this, I set the button to give me an alert on click, but only the first button is registering.  I've changed the button to be an ID and a Class, but that doesn't seem to do anything either.  Here is the code:     //dynamically create 4 rows  $(document).ready(function(){  var rowsAdd = $('#addTable tbody >tr');  var rA = rowsAdd.length;  while (rA<5) {   $('#addTable tbody>tr:last').clone().insertAfter('#addTable tbody>tr:last');   rA++;  } })   //alert on button click  $('.clear').each(function(index){   $(this).on("click",function(){   alert("Button " +index+ " is clicked");  });  });

             Class #	             Course Title	             Catalog Number

    	        <input list="courses" name="courseInput" placeholder="Course" class="courseClass" oninput="UpdateCatNumbers()">       <datalist id="courses" name="courseDatalist">                  </datalist>    	                <input list="catalogs" name="catalogInput" placeholder="Catalog Number" id="catalogID" class="catClass" oninput="UpdateCourseNames()">       <datalist id="catalogs" name="catalogDatalist">             </datalist>       	    <button class="clear">−</button>

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


At the end of the Deathly Hallows Part 2 Albus Potter questions to Harry "What if I am put in Slytherin" So what was he actually sorted into?

I know the epilogue to DH doesn't say this, but are there any interviews or other JKR info about which houses the Potter children were sorted into?


I've setup a couple of "at" jobs to execute at specific times on CentOS 5. This morning I don't see these commands in the queue ("atq"), as expected, but I also don't see were can I check whether the daemon responsible to execute them did this on time or had any issues. Unfortunately I didn't log enough info from the scripts themselves. Any ideas?

I am running CentOS 5.3 and would like to log all messages from the "at" daemon. My syslog.conf contains the following entry:  cron.* /var/log/cron   I assumed that cron line in syslog refers to the entire family of "cron, anacron, at and batch". However, while cron and anacron actions seem to get looged, "at" actions do not get logged. How do I log atd actions?  Thank you for your attention   (Added) I would like to add the contents of my syslog.conf just in case there is an error:  # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.*                         /dev/console  # Log anything (except mail) of level info or higher. # Don't log private authentication messages! *.info;mail.none;authpriv.none;cron.none        /var/log/messages  # The authpriv file has restricted access. authpriv.*                      /var/log/secure  # Log all the mail messages in one place. mail.*                          -/var/log/maillog   # Log cron stuff cron.*                          /var/log/cron  # Everybody gets emergency messages *.emerg                         *  # Save news errors of level crit and higher in a special file. uucp,news.crit                      /var/log/spooler  # Save boot messages also to boot.log local7.*                        /var/log/boot.log


Let $\phi :\mathbb{R} \rightarrow \mathbb{R}$ be a one to one map such that $\phi \left( x+y\right) =\phi \left( x\right) +\phi \left( y\right)$ and $\phi \left( x^{2}\right) =\phi \left( x\right) ^{2}$ for all $x,y\in\mathbb{R}$,  $\phi \left( xy\right) =\phi \left( x\right) \phi \left( y\right)$ for all $x,y\in\mathbb{R}$ and $\phi \left( q\right) =q$ for all $p\in\mathbb{Q}$.  Claim1. If $x\leq y$ then $\phi \left( x\right) \leq \phi \left( y\right)$.  Claim2. $\phi \left( x\right) =x$ for all $x\in\mathbb{R}$.  My proof-trying of Claim1. By the definition, $x\leq y$ $\Leftrightarrow$ $\exists z$ $(z\geq 0 \wedge $x+z=y$)$. Thus, $\phi \left( x\right) +\phi \left( z\right) =\phi \left( y\right)$. Hence, we obtain $\phi \left( x\right) \leq \phi \left( y\right)$. But, I don't sure. Can you check?  Can you give a hint for claim2?  Recall that

Is an automorphism of the field of real numbers $\mathbb{R}$ the identity map? If yes, how can we prove it?  Remark An automorphism of $\mathbb{R}$ may not be continuous.


I want to change the name of the passenger on my booked train ticket from Sulekha to Gayatree for the journey to Pune. Is this possible, if so, how?

I have booked a ticket on IRCTC () for me and my brother but now even my sister is willing to travel but we are not getting tickets for her. So my brother agreed to not come and take my sister with me. Can I take my sister on the same ticket which is booked on my brother's name? Or is there a way I can change the name on already booked ticket to reflect my brother's name or is there a way I can cancel the ticket and book the same ticket on my sister's name?


I tried to delete an Ubuntu Partition and now I cant access either of my Operating Systems. I have tried Several different commands and none of them worked. I always got the unknown Filesystem error with every attempt.

I want to completely remove Ubuntu from my system. But if I delete the partition, the Grub files will be deleted and that will leave me "Bootloader-less". How can I workaround this?


Hi I'm learning automation testing using Eclipse, Selenium Webdriver, and Java. I'm practicing. I'm trying to select the label 'Consumer Electronics' from the Ebay dropdown menu and search only in that category.  Below script is what I have.  It runs but what I notice is even though it will open the drop down and highlight 'Consumer Electronics', it actually is still searching in 'All Categories'. I'm using css to select 'Consumer Electronics'. What am I doing wrong?  Thanks.  import org.openqa.selenium.By;  import org.openqa.selenium.WebDriver;  import org.openqa.selenium.firefox.FirefoxDriver; public class EbayTest {  public static void main(String[] args) {     WebDriver driver = new FirefoxDriver();     driver.get("http://www.ebay.com/");     driver.findElement(By.name("_nkw")).sendKeys("Klipsch Status");     driver.findElement(By.name("_sacat")).click();     driver.findElement(By.cssSelector("option[value='293']")).click();     driver.findElement(By.xpath(".//*[@id='gh-btn']")).click();   }   }

This is a canonical question, intended to provide a comprehensive answer to many related questions.  I understand the basics of working with Selenium Webdriver; I can navigate to pages, click buttons, and type into text boxes. But now I want to do things with dropdown boxes (also known as "Select" boxes).  How can I perform common tasks like iterating over the options in the dropdown or selecting options from the dropdown?


So apparently my Server kinda got hacked. I don't think that someone got access to the root user or any other user but in every main directory of the www-data user there were a lot of weird files.   Files like these:      09pr830b.php 52uhp5j9.php 9hjbz7xu.php bdeaduyl.php hhj7on2v.php jm7n1zdf.php lw3lv13h.php nzj3wf6h.php r5qp67kw.php x6ehtntu.php 0y9gi471.php 5536w191.php 9vmwh7aa.php e2papru4.php hzmnb75x.php jme7u409.php orc8p82a.php  ra14sbdz.php uis5zhq2.php xnqcqm3d.php 158d9hzv.php 5k2x6uh1.php c15b02bz.php e6ykc6n0.php i1sc5ikc.php jn76fivm.php mb3w53e9.php ox26z4hn.php rcwj3dkx.php umhzgkbh.php xoodj3hs.php 2b1vzzo7.php 5mzdj4r3.php a7kwdelx.php c9shlse9.php eak7qcei.php i9f2cyhu.php jp62feoo.php mcp2njev.php p0dfud9d.php xs2g1nc8.php 2d0x8ec5.php 6s88dqcm.php a9tqjna5.php c9tfpu8d.php ed17zccq.php iahr5b8k.php jrtaolcc.php p0ntclmm.php xtlog640.php 2gqt4ol7.php 6s89iw0b.php en539hql.php igtvj6vh.php ko3l8s4u.php picg4k2r.php rk2yi0zl.php utajrsov.php yc5w8otp.php 2lh94d56.php 71zw0l85.php cn7d5i9a.php eok7yfj2.php kps5qctg.php prvpb4vg.php veceocp0.php z0yyxgtw.php 2wvhyz4c.php 79vq53ml.php apv62qn8.php co8c22wm.php f7yo0qfw.php kpu3xi71.php mwksuipa.php ptu6md0l.php sg6sk7we.php vg6mqofk.php z25w3zq9.php 3axgnqdb.php 7e0249wk.php cpy4xvrl.php fyospouz.php j3u65l0i.php kzikyhq5.php ndv1twur.php q4vs0pfe.php svmlp5n8.php vr71dbz8.php zjcinm40.php 3nkos6a4.php 7xka8fu3.php awrnmp7p.php cw6ibtrt.php g4oxsofs.php j706xx73.php l8j3k01f.php noldizm7.php q5l61p21.php t0ewh25s.php vzxso84f.php zssdhx3d.php 3w8veomm.php 8x6qv1tl.php aze5jtlk.php de9kfywx.php j9umstng.php q9oudc57.php u9s7v60e.php wi54c5sc.php 470dae43.php 902deir8.php b4aogx06.php gk9moupj.php jeet447u.php npm72nuo.php qbd1c67k.php uar9q55s.php wn17yctf.php 4uwk3yz6.php 90kpxfeq.php dq7tefm3.php jepw041c.php lv8r524n.php ntnl0am3.php qvgy3407.php ucwog9rb.php   There are a couple of wordpress instances in each webspace. But even in the webspaces where there wasn't a wordpress instance installed those files were there...   Also the beginning of every index.html or index.php there was always an entry like this:      script type='text/javascript' src=''>   I don't know if that were 2 seperate hacks or just a single one but i really would like to know what mistakes i could have been making that this was happening.  Hope someone can help me here.

This is a  about Server Security - Responding to Breach Events (Hacking)   See Also:                  Canonical Version I suspect that one or more of my servers is compromised by a hacker, virus, or other mechanism:   What are my first steps? When I arrive on site should I disconnect the server, preserve "evidence", are there other initial considerations? How do I go about getting services back online? How do I prevent the same thing from happening immediately again? Are there best practices or methodologies for learning from this incident? If I wanted to put a Incident Response Plan together, where would I start? Should this be part of my Disaster Recovery or Business Continuity Planning?   Original Version       2011.01.02 - I'm on my way into work at 9.30 p.m. on a Sunday because our server has been compromised somehow and was resulting in a    attack on our provider. The servers access to the Internet   has been shut down which means over 5-600 of our clients sites are now   down. Now this could be an FTP hack, or some weakness in code   somewhere. I'm not sure till I get there.      How can I track this down quickly? We're in for a whole lot of   litigation if I don't get the server back up ASAP. Any help is   appreciated. We are running Open SUSE 11.0.            2011.01.03 - Thanks to everyone for your help. Luckily I WASN'T the only person responsible for this server, just the nearest. We managed   to resolve this problem, although it may not apply to many others in a   different situation. I'll detail what we did.      We unplugged the server from the net. It was performing (attempting to   perform) a Denial Of Service attack on another server in Indonesia,   and the guilty party was also based there.      We firstly tried to identify where on the server this was coming from,   considering we have over 500 sites on the server, we expected to be   moonlighting for some time. However, with SSH access still, we ran a   command to find all files edited or created in the time the attacks   started. Luckily, the offending file was created over the winter   holidays which meant that not many other files were created on the   server at that time.      We were then able to identify the offending file which was inside the   uploaded images folder within a  website.      After a short cigarette break we concluded that, due to the files   location, it must have been uploaded via a file upload facility that   was inadequetly secured. After some googling, we found that there was   a security vulnerability that allowed files to be uploaded, within the   ZenCart admin panel, for a picture for a record company. (The section   that it never really even used), posting this form just uploaded any   file, it did not check the extension of the file, and didn't even   check to see if the user was logged in.      This meant that any files could be uploaded, including a PHP file for   the attack. We secured the vulnerability with ZenCart on the infected   site, and removed the offending files.      The job was done, and I was home for 2 a.m.            The Moral   - Always apply security patches for ZenCart, or any other CMS system for that matter. As when security updates are released, the whole   world is made aware of the vulnerability.   - Always do backups, and backup your backups.   - Employ or arrange for someone that will be there in times like these. To prevent anyone from relying on a panicy post on Server   Fault.


I wanted to test which one is faster for my problem: boolean[] or BitSet. I need to update a seperate matrix for every pair of indices which are true. e.g. [true, true, false, true, false] results in [0][1]++, [0][3]++ and [1][3]++.  Using boolean[]:  for (int i = 0; i < (booleanArray.length - 1); i++) {   if (booleanArray[i]) {     for (int j = i + 1; j < booleanArray.length; j++) {       if (booleanArray[j]) {         matrix[i][j]++;       }     }   } }   Using BitSet:  for (int i = bitSet.nextSetBit(0); i != -1; i = bitSet.nextSetBit(i + 1)) {    for (int j = bitSet.nextSetBit(i + 1); j != -1; j = bitSet.nextSetBit(j + 1)) {     matrix[i][j]++;   } }   Iterating through both showed that boolean[] seems to be faster (1.5 vs 3 sec), but updating the matrix needs so much more time (20 sec vs. 6 sec!). How is this possible? How can I improve the performance using boolean[]?

How do you write (and run) a correct micro-benchmark in Java?  I'm looking for some code samples and comments illustrating various things to think about.  Example: Should the benchmark measure time/iteration or iterations/time, and why?  Related:


I had an exercise were I had to prove that for each natural $n$ and each prime $p$, there exists an irreducible polynomial in $\mathbb{Z}_p[X]$. But then I was searching for an example were for a certain $n$ (not prime), there are no irreducible polynomial of degree $n$. So I considered the easiest example $\mathbb{Z}_4[X]$ but :  degree 0 : $2$ is irreducible  degree 1 : $X$ is irreducible  degree 2 : $X^2+1$ is irreducible  is there a $n$ for which we don't have irreducible polynomial?

Let $F$ be a finite field. How do we prove that for each $n \in \mathbb{N}$ there is an irreducible polynomial of degree $n$?  One can assume that $F = \mathbb{F}_{p^m}$ where $p$ is prime. If $n \ge |F|$ then I can construct an irreducible polynomial, namely  $ p(x) = 1 + \prod_{j=1}^{|F|} ( x - a_j )$  where $a_j$ are all the field elements. It is clear that $p(x)$ has no roots in $F$.  This trick doesn't work for $n < |F|$. A counter-example: Let $F = \mathbb{F}_3$ and $p(x) = 1 + (x-1)(x-2)$, then $p(1) = 1$, $p(2) = 1$, $p(0) = 1 + (-1)(-2) = 1 + 2 = 3 = 0 \pmod 3$.  I know there is a way to count them using the Möbius function $\mu(n)$ but I want a proof without it that just shows existence.


I want to know about the way of defining interface class in C++ by this approach. Is it possible? I don't want to know about interface creation but want to know about the abstract keyword use in C++.

How do I setup a class that represents an interface?  Is this just an abstract base class?


Suppose that the function $f:[0,\infty)\rightarrow\mathbb{R}$ is continuous and strictly increasing and that $f:(0,\infty)\rightarrow\mathbb{R}$ is differentiable. Moreover, assume $f(0)=0$. Consider the formula $$\int_{0}^{x}f+\int_{0}^{f(x)}f^{-1}=xf(x)\qquad\text{for all $x\geq0$}$$ Prove this formula.     Attempt: Consider that $g(x)=\int_{0}^{x}f+\int_{0}^{f(x)}f^{-1}-xf(x)$ which is continuous on $\mathbb{R}$. Then differentiate $g(x)$, we have $g'(x)=f(x)+xf'(x)-f(x)-xf'(x)=0$. Thus for all $x$, $$g(x)-g(0)=0\Longrightarrow\int_{0}^{x}f+\int_{0}^{f(x)}f^{-1}-xf(x)=0$$    I am not sure my the equality valid not or not. If not, can someone give me a suggestion to modify the proof. Thanks.

Regarding real numbers, the following appears to be true, or at least true with some modifications. Could you help me for the proof? $$\int_0^af(x)dx+\int_{f(0)}^{f(a)}f^{-1}(x)dx=af(a)$$


user@chrubuntu:~$ sudo apt-get update     [sudo] password for user:      user     Sorry, try again.     [sudo] password for user:      E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)     E: Unable to lock directory /var/lib/apt/lists/     E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)     E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?      user@chrubuntu:~$ sudo apt-get -f install     E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)     E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?     user@chrubuntu:~$    I'm trying to install Wine1.6 and i'm using the terminal. When I try to do it otherwise, it says that there are packages that are missing or uninstallable, what does that mean? Am I not able to download Wine?

I get this error when trying to use apt-get:  E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?     How can I fix this?


I have written this program to make the value of a in b and the value of b in a. For this I created temp as a temporary variable and this is my program: #include <stdio.h>  int changevalue(int a, int b) {     int temp;     temp = a;     a = b;      b = temp; }  int main() {     int a;     int b;     a = 10;     b = 20;      printf("the value of a is %d \n and b is %d",a,b);     changevalue(a,b);     printf("the value of a is %d \n and b is %d",a,b);     return 0; }  But the values of a and b did not change . Where is the problem?

What is the difference between    a parameter passed by reference a parameter passed by value?   Could you give me some examples, please?


What's so special about second order equations in classical mechanics? I have a basic understanding of the Lagrangian and Hamiltonian formulations of classical mechanics, so I'm not looking for answers like 'because Newton's second law is a second order ODE' or 'because Euler-Lagrange equations act on a first time derivative of position'. I'm looking for a deeper physical reason - in the same sense that Energy conservation is not fundamental, it results from time translation invariance. I realise two boundary conditions are required to solve for the dynamics of a given system, but I see that more as a result of the equations being second order than the cause of them being second order. Is there a more fundamental organising principle that I am not aware of?

What is the reason for the observation that across the board fields in physics are generally governed by second order (partial) differential equations?    If someone on the street would flat out ask me that question, then I'd probably mumble something about physicists wanting to be able to use the Lagrangian approach. And to allow a positive rotation and translation invariant energy term, which allows for local propagation, you need something like $-\phi\Delta\phi$.  I assume the answer goes in this direction, but I can't really justify why more complex terms in the Lagrangian are not allowed or why higher orders are a physical problem. Even if these require more initial data, I don't see the a priori problem.  Furthermore you could come up with quantities in the spirit of $F\wedge F$ and $F \wedge *F$ and okay yes... maybe any made up scalar just doesn't describe physics or misses valuable symmetries. On there other hand in the whole renormalization business, they seem to be allowed to use lots and lots of terms in their Lagrangians. And if I understand correctly, supersymmetry theory is basically a method of introducing new Lagrangian densities too.   Do we know the limit for making up these objects? What is the fundamental justification for order two?