I'm a woman working in the UAE and I applied for a visit visa to see my friend in Aberdeen and also for tourism. I had booked my hotels and bought my tickets. I provided employment letter and bank statement with my application. I had mentioned I require almost £4,000 for my 13 day trip. I had provided a bank statement until end of October with closing amount of £4,600 and mentioned that my salary of November and December will be deposited before my travel date which was 24th of December.    But the first time it was refused, mentioning that I had only £3,550 as my closing amount. I went through my bank statement - this amount was for September first!! They had overlooked my saving after first of September. I discussed with many companies and I paid a lawyer for consultation. All came to the point that the officer made an error and overlooked my statement. I thought maybe adding more money to my bank statement would make it better. I asked my father for money and he provided me with £2,600 cash which I deposited it to my account.    In my second application I mentioned this was a gift from my father. I provided an invitation letter from my friend. My November salary was also deposited to my account. So my closing amount was now £8,400. But they refused it again!! They had provided one point only. Mentioning that I have added £2,600 and I didn't provide enough documentation for where I got the money. So because of this they cannot trust my documentation.    I had provided my original employment paper, original bank statement. All they had to do was to call the bank but they didn't. Simply with false accusation they refused my visa. All my documents were originals and I was ready for this trip. I had everything planned and it was supposed to be 13 days only. But I won't apply again. My tickets are reserved for 24th of December and I went through so much stress for this two time for a simple visit visa. I have been looking for a way to reach the Embassy. I know there is no right of appeal for a visit visa application.    But how can someone like me can prove their case?    I can apply for judicial review but by the time I get an answer, it is way past my travel date and my annual leave from my job has already finished. I wanted to know if there is any other way I can try. I have lost hope and I'll be cancelling my tickets and hotels soon. I just wanted to see if there is anything else I can do. The first two images are for the first refusal and the third is for my second refusal.

I have applied recently for a general visitor visa to the UK to spend 10 days during Christmas with my British unmarried partner and it has been turned down.   The Entry Clearance Officer stated on his refusal notice the following:     I note that you have never previously travelled to the UK or any country with similar immigration requirements and you therefore do not have a history of travel and compliance to consider.      You have submitted an employment letter to confirm your occupation in KSA but I am required to also assess your personal, domestic and economic circumstances in determining whether you are genuine visitor travelling to the UK for the period and purpose you state.      You claim an income of SAR ........ per month which equal ........ GBP and from the evidence submitted this appears to be your sole source of income.   I note that this monthly income is reflected on your bank statements. However, the bank statement you have presented show a recent large deposit that are in excess of your stated income and inconsistent with the account history. You haven't provided evidence toward the origin of this recent deposit and in the absence of reasonable evidence I am not satisfied that these bank statements accurately reflect your personal circumstances.      In view of the above, I am not satisfied you have demonstrated that your circumstances are as you claim and therefore I am not satisfied that you're travelling to the UK for the period and purpose you stated. 41(i)and(ii).   Its true that I have deposited that sum of money right before I apply and it was a commission I received from work earlier this month.   So, could you please give me your advice on the above as I am planning to apply again soon. and how to avoid my application being refused again?


If the electric field due to a point charge varies as $r^{-2.5}$ instead of $r^{-2}$, then would the Gauss Law still be valid?  I infer that the $r^{-2}$ term in the Electric field comes as a result of solid angle in 3 dimensions. Would this be valid in higher dimensions? The flux would depend on the spatial dimensions. Because in the verification of Gauss law the $\frac{da}{r^2}$ terms is written as solid angle. Does this mean for Electric field varying in some other way, we would be talking about the solid angle of that dimension? Even if it were true for higher dimensions, which it might be, does it hold for fractional powers of $r$?

Coulomb's Law states that the fall-off of the strength of the electrostatic force is inversely proportional to the distance squared of the charges. Gauss's law implies that the total flux through a surface completely enclosing a charge is proportional to the total amount of charge. If we imagine a two-dimensional world of people who knew Gauss's law, they would imagine a surface completely enclosing a charge as a flat circle around the charge.  Integrating the flux, they would find that the electrostatic force should be inversely proportional to the distance of the charges, if Gauss's law were true in a two-dimensional world. However, if they observed a $\frac{1}{r^2}$ fall-off, this implies a two-dimensional world is not all there is. Is this argument correct? Does the $\frac{1}{r^2}$ fall-off imply that there are only three spatial dimensions we live in? I want to make sure this is right before I tell this to my friends and they laugh at me.


Is there a way to convert strings inside an array into lowercase?  So say I have an array like:     String mainArray[] = {"Dog", "caT", "ElepHANT", "Hungry", "LION"}    // So mainArray[0] = "Dog" mainArray[1] = "caT" etc.    // So i get:    mainArray[] = {"dog", "cat", "elephant", "hungry", "lion"}   Is there a function or method to iterate through the array and transform each string into lowercase?

I want to convert a std::string to lowercase. I am aware of the function tolower(). However, in the past I have had issues with this function and it is hardly ideal anyway as using it with a std::string would require iterating over each character. Is there an alternative which works 100% of the time?


I was wondering how to rule something in my friend's campaign.  We were fighting a modified beholder boss as a level 13 druid and a level 12 warlock. The fight was at a large summoning circle at the bottom of a 250-foot hole with a diameter of 15 feet. I, the druid, was at the top of the hole and the warlock was levitating up the hole after getting the beholder's attention.  I proceeded to use the move earth cantrip to drop 5 feet of stone on top of the beholder as it was rising up. How much damage should this do?  After a couple rounds, the beholder started to go back down after taking a lot of damage. I noticed this and polymorphed into a T-Rex and jumped in the hole. How much damage should the beholder take on impact if the T-Rex hits it, and slams it into the ground?  We then proceeded to fight the beholder which summoned 3 devils and eventually won.  TLDR: I fought a beholder in a 250-foot shaft and jumped in as a T-Rex and smashed it into the ground. How do you rule that for damage to the beholder?

If a character who was under the effect of a growth potion (double their height and eight times their weight) and weighed 2,400 lbs. was able to use Dimension Door to teleport 400 feet or more into the air, directly above a Huge-sized monster, and fell on it, how much damage would the falling creature - and the monster - take?  I would assume both would take the 20d6 max for the falling over 200 feet, but is there a estimation on additional damage for the falling creature's size?  According to the splat calculator, at 500 feet you'd be falling at 196 km/hr, and it would expend 1.6 million joules of energy, the equivalent of over 3,000 mid-sized cars hitting an object at 60 km/hr.  A 2,400-lb. barbarian falling 500 feet is like dropping a mid-sized Toyota Corolla off a 50 story building onto a monster - it should do some damage.


I'm asking this question because atoms can definetely not travel at the speed of light. Atoms have electrons orbiting them at a speed very close to the speed of light, so, is it really possible for anything(macro objects) to travel at the speed of light? P.S. : Is there any word for this condition where an atom loses electrons due to translatory motion?

I'm in a freshmen level physics class now, so I don't know much, but something I heard today intrigued me. My TA was talking about how at the research facility he worked at, they were able to accelerate some certain particle to "99.99% the speed of light". I said why not 100%, and I didn't quite understand his explanation, but he said it wasn't possible. This confused me. Since the speed of light is a finite number, why can we go so close to its speed but not quite?  Edit: I read all the answers, and I think I'm sort of understanding it. Another silly question though: If we are getting this particle to 99.99% the speed of light by giving it some sort of finite acceleration, and increasing it more and more, why cant we increase it just a little more? Sorry I know this is a silly question. I totally accept the fact we cant reach 100%, but I'm just trying to break it down. If we've gotten so close by giving it larger and larger acceleration every time, why cant we just supply it with more acceleration? And how much of a difference is there between 99.99% the speed of light, and the speed of light? (I'm not really sure if "difference" is a good word to use, but hopefully you get what I'm asking).


If $a, b$ are positive real numbers and $a + b = 1$, prove that $$ \left(a +\frac{1}{a}\right)^2 + \left(b +\frac{1}{b}\right)^2 \geq \frac{25}{2} $$  Thank you.

If $a, b$ are positive real numbers and $a+b = 1$, prove that :  $$\left(a+\frac{1}{a}\right)^2 + \left(b+\frac{1}{b}\right)^2 \geq \frac{25}{2}$$  I can see that the value $\frac{25}2$ is attained for $a=b=\frac12$. But I do not know how to show that this is the minimal possible value.  Thank you.


Recently I've learned about , which looks like magic. What's the explanation behind it?  I remeber from school that if no force is applied then object should keep still or continue going as it did, what is the force in this case?

See below gif image taken from .    Or see  about 30 sec in.    Is this a real effect?  Why does it seem to turn periodically? Can it be explained by classical mechanics alone? Is there a simple equation that models this behaviour?


I'm using the wallpaper package to insert a jpg image in the background of a page. Specifically, I'm doing something like this:  \usepackage{wallpaper} \begin{document} \ThisULCornerWallPaper{1}{summary-analysis-bg.jpg} \end{document}   The image is in the same folder as the .tex file.  What if I wanted to compile the pdf but, instead of using an image from the same folder, use an image from a web address? The naive approach (replacing the file name/location with some image's web address) doesn't work.  Is there some approach that works?

I have tried  \includegraphics{http://www.site.com/path/to/figure.png}   But this returns the error   ERROR: Package pdftex.def Error: File `http://www.website.com/path/to/figure.png' not found.    Are there other options?


Simple enough, in chat and in comments, when typing [metaso] the expected behavior is to get a link to . Instead, however, I get a link to .

In chat, the short code [metaso] expands to http://meta.stacexchange.com/ (no typo, the missing 'k' is the bug I'm reporting).  (And since this is too short a bug report, I'll note that I think that [metaso] should probably point to .)


When I enabled some modules (Drupal Chat, Chat room, and Node.js) my site crashed, and it reported some errors; I have removed my modules entirely, and reloaded the site, but still the errors are showing on the dashboard.     PDOException: SQLSTATE[40001]:  Serialization failure: 1213 Deadlock found when trying to get lock; try  restarting transaction: DELETE FROM {semaphore}  WHERE  (name = :db_condition_placeholder_0) AND (value =  :db_condition_placeholder_1) ; Array (     [:db_condition_placeholder_0] => menu_rebuild     [:db_condition_placeholder_1] =>  20854936424f460742220126.19788787 )  in lock_release() (line 254 of /var/www/mute/includes/lock.inc   How can I fix this?

I experience frequent deadlocks on the semaphore table that look like this:     PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction: DELETE FROM {semaphore} WHERE (name = :db_condition_placeholder_0) AND (value = :db_condition_placeholder_1) AND (expire <= :db_condition_placeholder_2) ; Array ( [:db_condition_placeholder_0] => variable_init [:db_condition_placeholder_1] => 298999494f343fc583c3e2.30542255 [:db_condition_placeholder_2] => 1328824262.5293 ) in lock_may_be_available() (line 181 of /var/www/drupal/includes/lock.inc).   This site sees fairly heavy traffic. Is the load the cause of this? Is this due to a faulty module? Is this something in Drupal core?  Most importantly, are there precautionary measures I can take to avoid this?


I have two external monitors with my MacBook pro. I'd like to keep the MacBook lid open for speaker quality - listening to music, but have the same result as it would be closed with external monitors. Changing the brightness of the laptop screen to None does not eliminate the unnecessary screen. Is this possible to blank the screen while the lid is up and the keyboard is clear?

I'm using two external monitors, and I want to be able to disable the built-in monitor without closing the lid. Option with disabling brightness doesn't fit my requirements because I don't want every time to search my cursor in the black screen. I need the lid to be opened because I'm ofently using touch id sensor.


Let $ \{u_1, u_2, \ldots , u_k \} $ be $k$ vectors in $\mathbb{R}^n$. Show that  $\{u_1, u_2, \ldots, u_k\}$ is an orthonormal family if and only if the $n \times k$ matrix $U = \begin{bmatrix} u_1,u_2, \ldots, u_k \end{bmatrix}$ satisfies the equation $U^{\intercal} U = I_k$, where $I_k$ denotes the $k\times k$ identity matrix.  Can anyone help me prove the statement above?

It's not immediately clear to me why this is true. My notes say that putting $n$ orthonormal vectors $ v_1, ..., v_n$ in the columns of $X$ gives $X^TX = I$, and it follows from this that the rows of $X$ are orthonormal.   Can you explain this better to me? I tried the $2\times 2$ case, but it isn't clear to me why this is true.


This may be obvious, but I can't find anything about it in my searching.  What is the difference between  MyVar() as String   and  MyVar as String()   I realise the first is an array made up of strings.  But what is the second?  What is a String Array?  Or is it just the same?

This may sound trivial, but what is the difference between  Dim v As String()   and  Dim v() As String   in VB.NET?


Suppose there is a set of points $[(x_1, y_1),(x_2, y_2), ..., (x_n, y_n)]$.   I want to figure out whether $y$ will grow with $x$. If yes, I want to automatically find the best growth (linear growth, quadratic growth, exponential growth, or others) to fit it.   I know that pearson correlation can be used to judge whether $y$ and $x$ have a linear correlation. However, is there a threshold $t$ ? For example, if $PearsonCorr(x,y) > t$, we can conclude that $y$ and $x$ have a linear correlation.  Linear/polynomial regression can also be used to fit the points, and there are measurements such as $R^2$ and $F$ test. However, I do not know how to use them to determine the best fit, especially when $n$ is small (say 10).  Any suggestions will be appreciated!

Context:  From a question on Mathematics Stack Exchange , someone has a set of $x-y$ points, and wants to fit a curve to it, linear, exponential or logarithmic.  The usual method is to start by choosing one of these (which specifies the model), and then do the statistical calculations.  But what is really wanted is to find the 'best' curve out of linear, exponential or logarithmic.  Ostensibly, one could try all three, and choose the best fitted curve of the three according to the best correlation coefficient.  But somehow I'm feeling this is not quite kosher. The generally accepted method is to pick your model first, one of those three (or some other link function), then from the data calculate the coefficients. And post facto picking the best of all is cherry picking. But to me whether you're determining a function or coefficients from the data it is still the same thing, your procedure is discovering the best...thing (let's say that which function  is -also- another coefficient o be discovered).  Questions:   Is it appropriate to choose the best fitting model out of linear, exponential, and logarithmic models, based on a comparison of fit statistics? If so, what is the most appropriate way to do this? If regression helps find parameters (coefficients) in a function, why can't there be a discrete parameter to choose which of three curve families the best would come from?


Do I require a transit visa if I'm travelling to Ghana from China through Heath row Airport by British Airlines

Is there a website or some other way to find out if I need a transit visa for a short stop in the UK on my way somewhere else? Ideally this should give me the answer for all nationalities, and take into account any other visas I may have.


$\ z^2 = i-1 \ $ Hey guys, I couldn't find a way to solve this problem. The question suggests I replace $\ z\ $ with $\ x+iy\ $ and then go from there, but I always end up having to complete the square and end up with a completely different answer to the back o the book. Can you please help? Thanks

If I'm given a complex number (say $9 + 4i$), how do I calculate its square root?


I am writing a script where I am looking for help. I am using date format in my script as below (YYYY MM DD HH MM):  $ echo $DT 202002252216   Now my requirement is to compare two dates listed in the file and calculate output in hours.  cat /home/postgres/pglinux_mm_cfg MM_START=202002261015 MM_END=202002261530 MM_SERVER=pglinux    Here is my script, timediff.sh  ENV=/home/postgres MM_START=`grep MM_START ${ENV}/\`hostname\`_mm_cfg |awk -F"=" '{print $2}'` MM_END=`grep MM_END ${ENV}/\`hostname\`_mm_cfg |awk -F"=" '{print $2}'`  MPHR=60 STARTIME=$(date +%Y%m%d%H%M -d ${MM_START}) ENDTIME=$(date +%Y%m%d%H%M  -d ${MM_END}) MINUTES=$(( ($ENDTIME - $STARTIME) / $MPHR ))  echo $STARTIME $ENDTIME $MINUTES   How to get date difference between MM_END AND MM_START in day's and hours?  I am using ksh.

I often want to make some quick date calculations, such as:   What is the difference between these two dates? What is the date n weeks after this other date?   I usually open a calendar and count the days, but I think there should be a program/script that I can use to do these kinds of calculations. Any suggestions?


This question is not the same as  because I am asking about the inverse Fourier transform and more specifically the relation of equation $(1)$ below to the expression in $\color{purple}{\mathrm{purple}}$ below.  From  asked by myself with some help I became convinced that the Dirac-Delta function can be written as $$\delta(t-u)=\frac{1}{2\pi}\int_{-\infty}^\infty e^{i\omega(t-{u})} \, \mathrm{d}\omega \tag{1}$$  Consider the rectangular distribution of frequencies in $\displaystyle\mathrm{(a)}$, taking the inverse Fourier transform   $$f_{\Omega}=\frac{1}{\sqrt{2\pi}}\int_{-\Omega}^{\Omega}1\times  e^{i\omega t} \,\mathrm{d}\omega$$  $$=\sqrt{\frac{2}{\pi}}\frac{\sin(\Omega t)}{t}$$ My text tells me that as $\Omega \to \infty \implies f_{\Omega} \to \sqrt{2\pi}\delta(t)$ by virtue of $(1)$.  Could someone please explain this to me as I don't see why $$\color{purple}{\sqrt{\frac{2}{\pi}}\frac{\sin(\Omega t)}{t} \to \sqrt{2\pi}\delta(t)}$$ as $\Omega \to \infty$?  Thank you.

I'm looking for a rigorous proof of the statement: $\delta(x) = \lim_{\epsilon->0} \frac{\sin(x/\epsilon)}{\pi x}$ (see ).  For any non-zero value of x, LHS of the above is by definition zero. But, for any non-zero value of x, the limit in RHS simply does not exist. So, how is this statement proved?


I need a quick proof of the following combination  $$\binom{n+1}1+\binom{n+1}2+\binom{n+1}3+\dots++\binom{n+1}{n+1}=2^{n+1}-1$$

Student here! Just reading Liebecks Introduction to pure mathematics for fun and I made an attempt at proving the total number of subsets of S is equal to $2^n$.   I realized that the total number of subsets of S is just:  $ \binom{n}{1} + \binom{n}{2} + \cdots + \binom{n}{n} + 1$  And so I put together the cool looking formula  $ \displaystyle \sum_{r=1}^n \frac{n!}{r!(n-r)!} = 2^n - 1$  But I have no clue how to approach proving this formula analytically. Any help?    So if I try a proof by induction:  $\displaystyle \sum_{r=1}^n \frac{n!}{r!(n-r)!} = 2^n - 1$  $\displaystyle \sum_{r=0}^n \frac{n!}{r!(n-r)!} = 2^n$  obviously true for $n = 1$:  $1 + \frac{1}{1!0!} = 2 = 2$  assume true for $n$, I could multiply both sides by $2$?  $\displaystyle 2\sum_{r=0}^n \frac{n!}{r!(n-r)!} = 2^{n+1}$  How could I go about proving that  $\displaystyle 2\sum_{r=0}^n \frac{n!}{r!(n-r)!}  = \sum_{r=0}^{n+1} \frac{(n+1)!}{r!((n+1) - r)!}$


My code:  import java.io.*; public class compute_volume {    public static void main(String args[])throws IOException{        InputStreamReader reader = new InputStreamReader(System.in);        BufferedReader input = new BufferedReader(reader);        boolean answer;        double radius,height;        final double pi = 3.14159;        do{System.out.println("Enter the radius,press enter and then enter the height");        String t = input.readLine();        radius = Integer.parseInt(t);        t = input.readLine();        height = Integer.parseInt(t);        System.out.println("The volume of a cylinder with radius " + radius + " and height " + height + " is " + (pi*pi*height) + "\n Thanks for using my cylinder volume calculator.Enter \"yes\" to use again or \"no\" to stop.");        t = input.readLine();        System.out.println(t);        if ( t == "yes"){            answer = true;         }else{              answer= false;         }     }while(answer);     } }   Problem:  The user inputs yes but the calculator doesn't restart.  Solution:  That's what I don't know ,and hope to know by posting this here.

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 can see that this is generated by three elements subject to some relations. Is there a way to realize this group without talking about generators and relations?  For example, is the group isomorphic to $\mathbb{Z}_2\oplus D_3$?    EDIT: I see  saying that the group is isomorphic to $\mathbb{Z}_3\rtimes \mathbb{Z}_4$. I am not sure that I understand this. From the definition I have seen of the semi-direct product, one needs subgroups $H$ and $K$ of a group $G$ to write $G = H\rtimes K$. Can someone help me understand.  I also see in that same answer realizing the group as a specific subgroup of $S_7$. Is there a more canonical way of doing this?

I'm studying group theory and now I'm analyzing non-abelian groups of order 12. I see that the dihedral group $D_6$ can be expressed by  $$D_6=\langle a,b : a^6=1, b^2=1, aba=b\rangle =\langle 1,a,a^2,a^3,a^4,a^5, b, ba, ba^2, ba^3, ba^4, ba^5\rangle,$$ and the alternating group $A_4$ by $$A_4=\langle 1, (123),(132),(124),(142),(134),(143),(234),(243),(12)(34),(13)(24), (14)(23)\rangle.$$ I want to know what are the elements of the dicyclic group $\text{Dic}_3$ defined as $$\text{Dic}_3=\langle a,b : a^6=1, b^2=a^3, bab^{-1}a=1\rangle.$$ Any help would be appreciate.


Which is it- You apply for a schengen visa from the country you entering first or the country you spending the longest time in? And after the age of 70 is it compulsory to have medical & travel insurance no matter where you travel to and/or from? Where can I find more info re schengen visa application when your spouse is a UK resident & you are a South african resident but wish to travel to Europe together. Been reading too much conflicting info.

Most of the already posted questions were about traveling between EU countries. In my case I would like to visit Austria with my South African wife. We got married over 20 years ago in Austria, lived there together for 6 years, but moved to SA 16 years ago. The permanent residence my wife had once expired and she needs a Schengen visa. The Austrian Embassy tells me that my wife has to apply in person, show proof of income, proof of accommodation, has a travel insurance and all fulfills all other requirements like every ordinary applicant.  Is the Directive 2004/38/EC only applicable for spouses when they are already within the EU or is it also valid in our case?   In particular the personal appearance is a problem as we are living in the Southern Cape and going to the embassy means a round trip of 2600 km, closer is the consulate in Cape Town but still requires a 1200 tour.


How can I sort a list that contains classes by a particular instance variable? I want to do alphabetically by the name of the animal in this case.    For example: my_list = [Animal('dog',3), Animal('cat',5) , Animal('bird',2)]  I want it sorted like this:  [Animal('bird',5), Animal('cat',3), Animal('dog',2)] (Alphabetically)   I don't want it like this:  [Animal('bird',2), Animal('dog',3), Animal('cat',5)] (Numerically)

I've got a list of Python objects that I'd like to sort by an attribute of the objects themselves.  The list looks like:  >>> ut [<Tag: 128>, <Tag: 2008>, <Tag: <>, <Tag: actionscript>, <Tag: addresses>,  <Tag: aes>, <Tag: ajax> ...]   Each object has a count:  >>> ut[1].count 1L   I need to sort the list by number of counts descending.  I've seen several methods for this, but I'm looking for best practice in Python.


I'm trying to find the title of a book I read as a kid, probably somewhere in late elementary days. I read this one around the same time as The White Mountains series by John Christopher, ~30 years ago, which I would also recommend to today's YA generation. Pretty creative stuff.  It's about a boy whose father has a secret underground garden because it's some sort of post-nuclear age where all the official food comes out of something like vending machines. The boy's father disappears and he goes on a search for him, and through a mysterious series of events ends up finding the last people on Earth strapping themselves into an airplane or spaceship to go into suspended animation until the Earth renews itself.

I'm hoping someone can identify this young-adult/children's sci-fi book. I read it in 1996-1997, but I remember thinking it was written in the 1980s.   The main character was a boy (maybe in his early teens) and over the course of the book he gained a female companion of the same age. I think the boy and his father had a vegetable garden growing in their basement, but it was illegal for them to grow their own food so they hid the trapdoor to the basement under their refrigerator. The boy's father was an important scientist (or something of that nature) and he goes missing (taken by the evil government?) and the boy has to find him.   There is a scene where the boy is at school and is sent to the school counselor or doctor to be given an anti-depressant or tranquilizer pill, the counselor (a male) is sympathetic to the boy and tries to help him and the girl to find the boy's father (and possibly the girl's parents too?). There was also a scene where the boy and girl go to an abandoned building/warehouse to meet someone who can give them information on their parents (maybe they meet each other for the first time at the building?). It seems like there was also a mention of golf clubs in relation to the boy's father and a mention of Crackerjack rings in relation to the girl, but I know a Crackerjack ring played a part in another book I read around the same time so I could be confused:).   Sorry this is so long, I only read part of the book and would like to find out how it ends.


does the invocation undying servitude add animate dead to the warlock spell list? it says you may cast it without spending a spell slot once a day, however, does "once a day" apply to the casting or casting without a spell slot?

From the answers over on the question of "", the implication is that something is a 'class spell' if it is on that class' spell list.  There is not, so far as I'm aware, any other general criteria for what makes something considered a warlock/wizard/etc. spell.   I am also under the impression that spending a warlock spell slot does not automatically make that spell a warlock spell, given the multiclassing rules allowing sorcerer/etc. spells to be cast via warlock spell slots.   While the rules state "To cast one of your warlock spells of 1st level or higher, you must expend a spell slot," and "The Warlock table shows how many spell slots you have to cast your warlock spells [...]", the phrasing of Dreadful Word could also be parsed as an instance of "specific beats general" enabling a non-warlock spell to be cast via warlock spell slots regardless of those rules (it is already enabling you to cast a spell you don't know, after all).  The multiclassing rules also give me the impression that spending a spell slot from a specific class- say, warlock- doesn't mean that the resulting spell is a warlock spell, anyways; you can cast sorcerer spells with pact magic slots, for example, and they still count as sorcerer spells.  So, the question: with a literal reading of the rules, since confusion is not on the warlock spell list, is confusion a warlock spell when cast via Dreadful Word for the purposes of Rod of the Pact Keeper?   I care about specifically a literal reading because it seems extremely clear that it should count as a warlock spell- there's no implication of what DC to use if you're not meant to use your warlock spell save DC ("Charisma is your spellcasting ability for your warlock spells"), for example. Crawford also - thanks, @Bloodcinder. I would never intend to argue otherwise in actual play. I'm just curious what the literal interpretation of the rules in this case results in, even if there truly is no rule indicating that it would be considered a warlock spell and it not being one seems nonsensical.


Do Stack Exchange sites have a link to their respective meta site somewhere?

How do you expect users to:   Know that a site's meta-site exists (and what it's for)? Find the hyperlink to the meta-site?   I know it exists, of course, and how to get there; I'm wondering how (or even whether) you expect new or naive users to do that.  I think there isn't a link to Meta from the main site, am I right (except one link in the "list of all 171 Stack Exchange sites" drop-down menu on the toolbar)?  Sometimes I tell people to post a question on Meta instead of on the main site -- I don't realise that they may not know that Meta exists, and that if they do (because they've been there before) they don't know how to get there (because they haven't yet investigated everything on the toolbar).


I am stuck on the following question:     Assuming $$\frac{d^2y}{dx^2}-q(x)y = 0,\;\; 0 \le x \lt \infty ,\;\;y(0)=1,\;\;y'(0)=1$$ wherein $q(x)$ is monotonically increasing continuous function,then which one of the following is true.        (a) $y(x) \to \infty$ as $x \to \infty$         (b) $\frac{dy}{dx}\to \infty$ as $x \to \infty$         (c) $y(x)$ has finitely many zeros in $[0,\infty)$         (d) $y(x)$ has infinitely many zeros in $[0,\infty)$       I am completely stuck on it.can anyone help me please.

Let   $$y''-q(x)y=0$$be a differential equation with initial conditions  on $0\leq x<\infty,$ as $y(0)=1,y'(0)=1$ where $q(x)$ is a positive monotonically increasing continuous function. Then which of the following are true?   $y(x)\rightarrow\infty$ as $x\rightarrow\infty$. $y'(x)\rightarrow\infty$ as $x\rightarrow\infty$. $y(x)$ has finitely many zeros in $[0,\infty)$. $y(x)$ has infinitely many zeros in $[0,\infty)$.   Please don't mind, actually I am new in differential equation. I only know that by Picard's theorem the above differential equation has the unique solution, but I don't know what is the solution as I tried by direct hit and trial method. According to me the solution of above differential equation will be some thing in exponential form, so according to me its answer will be $a$, $b$, $c$. But I don't know the exact method. Please help me to solve the above problem. Thanks in advance.


The business was registered officially.  or  The business was officially registered.  Where to place the word 'officially'?

For example:     Ever wish you could share information broadly   Could it be rewritten to:     Ever wish you could broadly share information   Are there any rules for the position of the adverbs.


ALTER TABLE user DROP COLUMN registered_date   We can drop a column using the above command. But how can i drop it only if the  column registered_date exist?

How can ALTER be used to drop a column in a MySQL table if that column exists?   I know I can use ALTER TABLE my_table DROP COLUMN my_column, but that will throw an error if my_column does not exist. Is there alternative syntax for dropping the column conditionally?  I'm using MySQL version 4.0.18.


I want to delete all directories in the download folder. /content/download/documents/ /content/download/music/ /content/download/videos/ /content/download/pictures/  I have tried removing them using rm but it's not working. rm -rf '/content/download/*/'

This question is kind of a phase II to the first question I posted at   I have a directory that contains a bunch of sub-directories, .zip files, and other random files not contained within a sub-directory.  I'd like a command line script to remove all sub-directories from within the parent directory, but keep all zip files and loose files that don't belong to any sub-directories. All of the sub-directories have content, so I believe I'd need to force their deletion with the -f command.  So basically, a command that looks inside the parent directory (or the current directory), deletes all folders from within it, but keeps all other content and files that are not a folder or contained within a folder.  I understand that deleting items from the command line requires special care, but I have already taken all necessary precautions to back up remotely.


let's say $(x_n)_n$ is a row in $\mathbb{R}$. If $(x_{2n})_n, (x_{2n+1})_n$ and $(x_{3n})_n$ converges, I want to prove that $(x_n)_n$ also converges. I think it's normal because $(x_n)_n$ exist out of the three rows, but I can't prove it. Can someone help me with this?

I have a question in Analysis. Knowing that $x_{2n}$, $x_{2n-1}$, $x_{3n}$ converge, how can I show that $x_{n}$ converges?


I would like to know if there is an elegant way to create a GoTo LABEL structure with Python such as it is possible on Visual Basic. I have read that it kind of depends on case to case, but let's assume that I have a loop like the following (executable):   for i in range(0,10):     print "LOOP", i, "- DO SOMETHING ALL TIMES"     print "LOOP", i, "- DO SOMETHING SOME TIMES"     print "LOOP", i, "- DO SOMETHING ELSE ALL TIMES"     print ""   What I would like to know is if it's possible to skip the middle instruction, namely print "LOOP", i, "- DO SOMETHING SOME TIMES", with a construction like the following that (badly simulating the Visual Basic syntaxis) should allow the script to skip the instruction "do something some times" if i is equal to  3:  for i in range(0,10):     print "LOOP", i, "- DO SOMETHING ALL TIMES"     if i == 3: (GoTo SECONDPART)     print "LOOP", i, "-DO SOMETHING SOME TIMES"     SECONDPART:     print "LOOP", i, "-DO SOMETHING ALL TIMES"   I know that I could write if i != 3: and indent the instruction "do something some times", but I'd really like to know if possible to have (or himitate) the GoTo structure of other languages. Thanks a lot, I hope it's clear (if not don't hesitate to ask!)

Is there a goto or any equivalent in Python to be able to jump to a specific line of code?


Here my situation, I have a dual boot one partition with windows 10 and another one with Ubuntu.  I just delete the ubuntu partition in disk manager in windows.  But then when I try to reboot, I get a grub rescue screen.  What could I try to fix it ?

I installed Ubuntu on a system that has Windows 10 installed. I can boot to Windows or Ubuntu normally using GRUB. I want to delete Ubuntu partition, but first I must restore the Windows 10 MBR.  In  (applies to Windows 7 and Windows Vista) they say to use Bootrec.exe with options /FixMbr /FixBoot, but when I type "bootrec.exe /FixMbr" in a command prompt, Windows says:     'bootrec.exe' is not recognized as an internal or external command.   I say I can boot to Windows 10 and run a command prompt from there (I don't need to use an installation medium), but I don't know what to enter.


For the first time in a long time, I traveled on a ticket that was purchased (in the US) at a travel agent. Our travel party got itinerary receipts, not e-tickets. At the end of the itinerary receipt, there was a brief description of fare restrictions; but there was no notice of terms incorporated by reference, as I'd always seen with my past e-tickets.   My understanding of Federal regulations is that whatever document you get that embodies the contract of carriage is supposed to have this notice of terms being incorporated by reference. I'm in a dispute now with the airline about fees, so this technicality is relevant.  Do itinerary receipts typically not have this notice? If so, what's the argument that airlines make to say that they are still complying with Federal regulations?

When I buy my plane tickets there's often certain things I want such as:   Ticket valid for 12 months No fee for return date changes Stopovers in both directions   Now it seems that these days your E-ticket is basically a number. So you get an itinerary that your travel agent prints out with your E-ticket number, some other reference numbers, and some, but not all conditions of your ticket.  From what I know of air tickets there are all manner of codes for all kinds of conditions, including things like in my list above, but they are vastly complicated and don't necessarily map directly to the simple English phrases I used.  My question is How can I check that the ticket I bought actually does have all the things I asked for? What if the agent made a mistake or a wrong assumption or printed the wrong thing on my printout. It's not a printout the airline made after all.  I made sure when booking my ticket to ask multiple times on each point. But I didn't get the agent to put it in writing and sign it.  What just happened:   My printout says my ticket was valid for 12 months but when I called the local airline office to change the date they didn't think my ticket was valid for a year after all! (It turned out it was a year ticket after all this time.) My printout says date changes will cost $75. But the local airline office told me changes are free! (This time luck is on my side.) My travel agent only booked my stopover on the way to my destination and not the one on my return flight. They assured me I can change it while I'm travelling with no problem. But the local airline office tells me it's not so simple after all and if it's even possible it will require some fees! (This time luck may be against me.)   How can you make sure all of this stuff is what was promised / what is printed before it bites you?


I have got this error and my application stops running      va.lang.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference     when I click on the button next please tell me what to do instead in order to check that the fields are empty    if ( ( lastName.getText().toString().matches("")) || ( firstName.getText().toString().matches("") ) ||                     ( id.getText().toString().matches("") ) || ( email.getText().toString().matches("") ) ||                             ( phoneNumber.getText().toString().matches("") ) )   Thank you for your help

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


If I have a creature with two copies of  on it, and a creature my opponent control dies, do I get one or two +1/+1 counters?

If I have two s, does their effect stack? That is, do the other slivers I have get the "1 damage" ability twice?  If not, why? What rule makes it so they can't have the ability twice?  If I had a different card with same ability would they get it twice? What if the different card had a slightly different wording? Or caused 2 damage instead of 1?   In what situations would a creature be allowed to have two copies of the same ability (if ever)?


I'm trying to install VLC on Ubuntu by using the following commands:  sudo apt-get update && sudo apt-get upgrade sudo apt-get install vlc   After trying to run the first command, an error is thrown:  E: Some index files failed to download. They have been ignored, or old ones used instead.   After running the second second command it gives another error:  E: Unable to correct problems, you have held broken packages.   What to do?

Possible Duplicate:             TL;DR: sudo apt-get install ... saying "Unable to correct problems, you have held broken packages."   The problem  I was trying to get the WebApps feature for PP and QQ following .  I ran the sudo add-apt-repository ppa:webapps/preview command to add the repository, but i got a connection error. Since I know my current ISP gives a shaky connection, I tried again and sure enough, it worked.  Then I ran sudo apt-get install unity-webapps-preview, but I realized we had to update apt-get first, so I hit Ctrl + C to stop it. Then I ran sudo apt-get update which worked w/o a fuss, but when I ran sudo apt-get install unity-webapps-preview again later, it showed an error message. Here's the dump:  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  unity-webapps-preview : Depends: xul-ext-unity but it is not going to be installed                          Depends: xul-ext-websites-integration but it is not going to be installed                          Depends: xul-ext-webaccounts but it is not going to be installed E: Unable to correct problems, you have held broken packages.   I think this might be because of me interrupting the earlier command. It hadn't got a chance to output anything, though — I stopped it pretty fast.  What I tried  Commands  I tried these:-   sudo apt-get install --fix-broken sudo apt-get autoclean sudo apt-get autoremove sudo apt-get -f install   But even after running sudo apt-get upgrade after every try, none of them worked.  Purging  I tried purging the repository, but that didn't work either. First, I got the package using sudoapt-get install ppa-purgeand then tried to purge the WebApps repo usingsudo ppa-purge ppa:webapps/preview`.  Manually installing dependencies  If you look at the error dump carefully, it says:     Depends: xul-ext-unity but it is not going to be installed   Depends: xul-ext-websites-integration but it is not going to be installed   Depends: xul-ext-webaccounts but it is not going to be installed   So I tried installing them manually. I ran sudo apt-get install xul-ext-unity, but got this:     Depends: xul-ext-websites-integration but it is not going to be installed   Breaks: firefox (>= 15.+) but 16.0~b6+build1-0ubuntu0.12.04.1~mfn4 is to be installed   I have no idea what the second part means, but I tried resolving the first. Running sudo apt-get install xul-ext-websites-integration gave:     xul-ext-websites-integration : Breaks: firefox (>= 15.+) but 16.0~b6+build1-0ubuntu0.12.04.1~mfn4 is to be installed   As a last resort, I tried sudo apt-get install xul-ext-webaccounts, but that gave the sane message too:     Breaks: firefox (>= 14.+) but 16.0~b6+build1-0ubuntu0.12.04.1~mfn4 is to be installed   What does Breaks: firefox (>= 14.+) but 16.0~b6+build1-0ubuntu0.12.04.1~mfn4 is to be installed mean?  Research  I tried searching , looking at a couple of , looking at  and searching on AU, but to no avail. Help would be appreciated.


This is the question from my book.  Is the series $\Sigma^{\infty}_{n=1}\frac{n!}{n^n}$ convergent or divergent?  Actually I know the answer is convergent by plotting but I can't complete the proof.  This is my workings:  $$\lim_{n->\infty}\frac{U_{n+1}}{U_n}=p$$  $$p<1 (convergent) ,p>1(divergent)$$ $$=\frac{\frac{(n+1)!}{(n+1)^{n+1}}}{\frac{n!}{n^n}}$$ $$=\frac{(n+1)n!}{(n+1)^n(n+1)}.\frac{n^n}{n!}$$ $$=\frac{n^n}{(n+1)^n}$$ $$=\left(\frac{n}{n+1}\right)^n$$ This is where I am stuck. Where do I go from here?

I can clearly see that $\dfrac{n!}{n^n}\to 0$ when $n\to\infty$. But how do I know if the sum $$\sum_{n=1}^{\infty}\frac{n!}{n^n}$$ is convergent or not? I know this might be basic, but thank you if anyone can help me.


I can't manage to connect my iMac (Retina 5K, 27-inch, 2017) Display with my  MacBook Pro (15-inch, 2018).  I have an Apple Thunderbolt 3 USB-C cable, both computer are on (logged with an admin user), but nothing happen when .  I tried to use AppleScript in case something was wrong with my keyboard, but same issue.  tell application "System Events"     key code 122 using command down # Cmd-F2 end tell   Tried the other way round (from my MacBook Pro) same thing...  FY, I don't think this is an issue but both computer are in a different VLAN  iMac : 10.15.4 (19E287), MacBook Pro 10.15.5 Beta (19F72f) (pretty sure had the same issue when both was in 10.15.4)

I have a Surface Pro 4 and an iMac (late 2019). I would like to connect my Surface Pro to the iMac to use the iMac screen as a second monitor.  Is that possible?  What are the requirements to use an iMac as a second screen?


What is the difference between by and in? For example:   I went home by taxi. I went home in a taxi.   Is there any difference?

While studying, I faced these two sentences:     I come to Istanbul on the train every week.   and     I came to Istanbul last week by train.   I want to know is there any differences between the phrases  'on the train' and 'by the train?'  Regards


In the 8th edition of Calculus by Stewart, The second derivative test is stated as follows  The Second Derivative Test  Suppose $f''$ is continuous near c.  (a) If $f'(c)=0$ and $f''(c)>0$, then f has a local minimum at c. (b) If $f'(c)=0$ and $f''(c)<0$, then f has a local maximum at c. I don't see why continuity of $f''$ is an assumption here. Can you provide a function that discontinuity of $f''(c)$ affects the test?

When looking over true/false questions on previous midterms, one of my conscientious students said:  "If f is defined on an open interval containing c, f'(c)=0, and f''(c)>0, then c is a local min of f"  was false because one of the hypotheses for the second derivative test (at least in Stewart) is that the second derivative is continuous in a neighborhood of c.  Can anyone think of a counterexample for this statement (in one real variable)? It's apparently been too long since I've taken an analysis class to come up with something clever.


I'm trying to add a node onto the beginning of a linked list (push function).  I'm getting 2 errors:  1) invalid conversion from 'Node int*' to 'int'  (points to test.Push(&test2); in main())  2) initializing argument 1 of 'int Linked_List::Push(ItemType) [with ItemType = int]' (points to function push)  I'm really not sure what the problem is. If I remove the & out of test.Push(&test2); in main() then I get a lot more errors, so I assume it's correct.  //.h #ifndef Linked_List_h #define Linked_List_h  template <typename ItemType> class Node {     public:         ItemType Data;         Node <ItemType> *next; };  template <typename ItemType> class Linked_List {         public:         Node <ItemType> *start;         Linked_List();         int Push(ItemType newitem); }; #endif   .  //.cpp #include "Linked_List.h"  template <typename ItemType> Linked_List <ItemType>::Linked_List(){     start = NULL; }  template <typename ItemType> int Linked_List <ItemType>::Push(const ItemType newitem){    //error     Node <ItemType> *nnode;  //create new node to store new item     nnode -> next = start -> next;  //new item now points previous first item of list     start -> next = nnode;   //'start' pointer now points to the new first item of list     return 1; }  int main(){     Linked_List <int> test;     Node <int> test2;     test2.Data = 4;     test.Push(&test2);  //error }

Quote from :     The only portable way of using templates at the moment is to implement them in header files by using inline functions.   Why is this?  (Clarification: header files are not the only portable solution. But they are the most convenient portable solution.)


I am a noob at blender and I am just starting out... I am attempting to create a Halo Spartan Model for animation. I am at the stage where I am attempting to pair the model with a rig, but I keep getting the error "Bone Heat Weighting: failed to find solution for one or more bones". I've tried everything but i have no idea whats wrong.... Here is the File that im working on. thanks FILE HERE:

Here is the .  Picture:   It's nothing special but I cant figure out why I get problems rigging this mesh. It would be important and a great Help! Thanks for reading and I know there are a lot of guides answering this question but I tried all and it doesn't seem to work.


I'm trying to do a sum in a variable number, and pass a String in assertEquals return a value without changing the variable String attribute.  Calculadora.java      class Calculadora {     public void agregar(String resulta) {         int mensaje = 0;         if(resulta == "")         {             mensaje = 0;         }         else if(resulta == null)         {             mensaje = 0;         }         else if(resulta != null )         {             String[] cadena = resulta.split(",\\s*");             for(int i = 0; i < cadena.length; i++)             {                 mensaje = mensaje + Integer.parseInt(cadena[i]);             }         }         System.out.println(mensaje);   } }  The test should not change any since, you must exit this result that appears. the issue is the method. CalculadoraTest.java      import static org.junit.Assert.*;      @Test public void agregarRetornaCeroCuandoLaEntradaEsVacia() {      int resultado = Calculadora.agregar("");     assertEquals(0, resultado); }  @Test public void agregarRetornaCeroCuandoLaEntradaEsNula() {      int resultado = Calculadora.agregar(null);     assertEquals(0, resultado); }   @Test     public void agregarRetornaNumeroCuandoLaEntradaSonVariosNumerosEnString() {          String resultado = Calculadora.agregar("0,1,2,3,4,555");         assertEquals(565, resultado);     }   Error in Netbeans  link

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?


Is current a tensor or a scalar quantity? The internet seems to be divided on this one. Tensors are too complicated. So I am unable to find an answer. Can someone please clearly state whether it is a scalar or a vector?

Current has both magnitude and direction. As per the definition of vector , current should be a vector quantity. But, we know that current is a scalar quantity. What is the reason behind it?


This is not a duplicated question, but a new one. I created a formula where the user can or should only edit the status field when the status is equal to "Under approval". However, when I change the status to approve or rejected, I can edit the record name and payment name during the edition. How can I prevent user to modify the payment name and account name (lookup) during the record edition? The user should only change the status, not the other fields. The system should not allow the user to save the record, because only the status field can be edit. This is my current formula:   AND(ISPICKVAL( PRIORVALUE( Status__c ), "Under Approval"),AND( NOT(ISPICKVAL(Status__c, "Unpaid")), NOT(ISPICKVAL(Status__c,"Paid"))),  NOT(ISPICKVAL(Status__c, "Approved")),  NOT(ISPICKVAL(Status__c, "Rejected")))   Thanks for helping me!

I need a validation rule that prevent user to edit the record when the status is "under approval", however the status can be edit to other values. I tried the formula above, but the syntax is wrong. I'm pretty new on validations and I don't understand this very well. :( Someone can help me on this?  AND( ISPICKVAL(  Status__c  , "Under Approval") ,       NOT( ISPICKVAL( PRIORVALUE(Status__c) , "Approved"),            ISPICKVAL( PRIORVALUE(Status__c) , "Paid"),           ISPICKVAL( PRIORVALUE(Status__c) , "Rejected"),            ISPICKVAL( PRIORVALUE(Status__c) , "Unpaid")          )


I'm looking for a textbook that covers, at least for a large part, special relativity with tensors/a geometrical approach. Most textbooks I have found develop tensors for the purposes of GR; I'd like a book that goes through this exercise for the purposes of understanding SR. I'll then feel more comfortable moving on with the GR bit.  Ideally, the textbook/resource will first cover tensors, and then move on to discuss tensor analysis in SR.  Any suggestions?

Can I have suggestions for some good book regarding tensors for physics.


I am a Syrian citizen who obtained a visa to travel to the US one week before the travel ban was implemented. Since then I have successfully entered and left the US twice (last time being March 2019). My visa (B1/B2) has expired and I am planning to apply for a new one.    Am I now affected by the travel ban placed on Syrians travelling to the US?

My husband and I are looking forward to visit the states. My husband is Jordanian and I’m Syrian. Can I apply to go with him to the U.S?


Suppose we have the density and distribution of the standard normal. How can one calculate the integral:  $\int_{-\infty}^{\infty} \Phi (a + bX) \phi (c + eX) dx$  Note this is not included in the Wikipedia .  Further, this is not the same as  because that solution only works for a standard normal second term, i.e. $\phi (X)$ whereas this problem includes a coefficient and additional term. One cannot put into the same form as that case because $c$ and $e$ cannot be brought out of the normal density due to their involvement in the exponential component.

Suppose $\phi(\cdot)$ and $\Phi(\cdot)$ are density function and distribution function of the standard normal distribution.  How can one calculate the integral:  $$\int^{\infty}_{-\infty}\Phi\left(\frac{w-a}{b}\right)\phi(w)\,\mathrm dw$$


OK, we all know that epistemic modals such as may and might can be interchanged to express possibility in present & future   For example: he might be late, and he may be late are almost the same.   But might is also the past form of may in indirect speech:  For example: He said he might be late = He said "I may be late"  I had some feeling that people lived 100 or 200 or 300 years ago may have used may and might differently from what we are using nowadays.  I would guess, in the past, ‘he might be late’ means ‘it was possible that he is late’ and  ‘he may be late’ means ‘it is possible that he is late’ The word might expresses it was possible and may expresses it is possible, but I may be wrong.    I found this information in     The book says:  "something might happen" in the past (maybe 1000 or 200 or longer time ago) (might + inf) is equivalent to "something might / may have happened" (might / may + have +PP) in Modern English.  Q: So, how were might and may used in the past?

The more I learn about Modals, the more confused I get. English Modals are very unstructured or adhere to a rigorous structure & that makes foreigners hard to understand them.  According to      Some people insist that you should use may (present tense) when   talking about a current situation and might (past tense) when talking   about an event that happened in the past. For example:      I may go home early if I’m tired. (present tense)      He might have visited Italy before settling in Nuremberg. (past tense, might here refers to posibility)   However, the site also states     In practice, this distinction is rarely made today and the two words   are generally interchangeable:      I might go home early if I’m tired.      He may have visited Italy before settling in Nuremberg.      But there is a distinction between may have and might have in certain   contexts. If the truth of a situation is still not known at the time   of speaking or writing, either of the two is acceptable:      By the time you read this, he may have made his decision.      I think that comment might have offended some people.      If the event or situation referred to did not in fact occur, it's   better to use might have:      The draw against Italy might have been a turning point, but it didn't   turn out like that. (might here prefers to Ability, not Posibility)   My questions are those:   Should we always use "may" for the present & "might" for the past as suggested by ?  That means we should never say "I may have done something", but we should say "I might have done something" As mentioned above, people do not distinguish "may have" & "might have", both refer to the past (The past can be "present perfect", "past perfect" or "simple past". My question is:  Is there any slight difference between "may have" & "might have" in today English? For example, "I may have done this" corresponds to "Present perfect" & "I might have done this" corresponds to "Past perfect" or "simple past"?  Ex 1: The baby may have been sleeping for 2 hours (similar to Present perfect, the action lasts from the past to the present time)  Ex 2: The baby might have been sleeping for 2 hours (similar to Past perfect, the action had lasted from the past to a point in the past)  But I am not sure my thinking is right or not because noone has ever brought this up.


not sure how to word this so i will use an example.   Lets say i disenchant a weapon that dose 5 points of stamina damage. i will be able to add that effect to other weapons but the effect in my enchantment table will say "5 points of stamina damage"   dose this restrict my potential for the enchantment at all?   Like if i disenchanted a weapon that dose 20 points of stamina damage instead will my enchantments then be more powerful? or is the power of the effect based purely on your skill and spent perks in the skill?

Possible Duplicate:           states that the strength of the enchantment doesn't matter when disenchanting items to learn new enchantments.  Am I reading that right? If I have novice robes with 50% faster regen and disenchant it and my enchantment skill is at 5/5, when I enchant that item will it be the same result as disenchanting master robes with 150% faster regen? Because if you do the math, 5/5 enchanting will give you 100% better enchantment.   Therefore wouldn't it be better to disenchant more powerful items than weaker ones?


I used to run Ubuntu and Kali, but now I want to delete Kali and just extend the partition where Ubuntu is stored. I booted from a LiveUSB and deleted the partition where Kali was installed, and now that partition is unallocated. However, when I try to resize the Ubuntu partition, the slider will not move left. How do I solve that?

Previously, I have installed Windows 7 on my 320 GB laptop with three partitions 173, 84 and 63 GB each. The 63 GB partition was where the Windows was installed. The rest were for file containers.  Now I changed my OS to Ubuntu 12.04 LTS. I installed Ubuntu by replacing the entire Windows 7 on the 63 GB partition. The rest of the partitions remain as an NTFS Windows partition and I can still access them both (the 173 and 84 GB partitions).  Now I want to change the two partitions of Windows into an Ubuntu format partitions plus most importantly, I want to extend the 63 GB partition to more than a 100 GB because at the moment I am running out of disk space. Whenever I try to install any application, especially using wine, it always complains for a shortage of disk space.  How do I do the extending activity before I entirely format my laptop again and lose all the important files on my partitions?


When I display my map using tiles a label gets drawn on each tile - is there any way to avoid this?  I have attached an example image to show the problem:

I'm using the standalone GeoWebCache to serve tiles from a remote GeoServer. My problem is that the polygon label is added to each one of the tiles served, instead of only once in the polygon centroid.  I found a post which discusses the issue:     The first reply mentioned a possible solution:       "All in all, I suggest to use a tile rendering engine (GeoWebCache, MapProxy, TileCache) anyway, instead of requesting small image from GeoServer and have the tile rendering engine do the tile slicing afterwards. You will have send fewer requests to GeoServer (1 large image instead of multiple small images), so this speeds up the overall tile cache creation time."     Problem is that I couldn't find how to do that by referring to the GeoWebCache documentation, and the above mentioned post doesn't explain the way to implement that.   I also found a  with an answer that links to the , but my code allready uses all the necessary attributes and still the label shows up multiple times:    var Layer_1874 = new OpenLayers.Layer.WMS(     'Grundkort',     '/wms10.ashx'     , {         format: 'image/png',         srs: 'EPSG:25832',         layers: 'ballerupkommune_grundkort_bk',         tiled: true,         tilesOrigin: '698804,6173460'     }     , {         displayInLayerSwitcher: true,         isBaseLayer: true,         transitionEffect: 'resize',         displayOutsideMaxExtent: true,         visibility: false     } );   Anyone has an idea?


I am wondering how to erase my hard drive completely, Grub and all, because my hard drive is messed up.    This is what I would like to do when it's wiped clean:       Install Windows 7 Home Premium 64-bit from system image. (first and primary)   Install Ubuntu 12.04  64-bit. (desktop) (going to be Ubuntu TV)   Install 4MLinux 64-bit (for maintenance)     I would like to use the Windows Boot Manager to be able to load any of the four OSs. Ubuntu Grub is fine though, but it's not really what I wanted. I also need a partition for each OS. I have 250GB.  How would I do this correctly? I tried and messed up badly before.  UPDATE: I have got Ubuntu installed!

I have a windows 7 Computer.  I want to install ubuntu.  I know if I install to the unallocated it will set up the multiboot like it should.  However, I want to set the partitions up manually, I want different stuff in different partitions, e.g. logs.  If I do this, will the installer still set up the multiboot like it should?


Let f be uniformly continuous on (a,b). How do you prove that it is bounded on (a,b)?

I need to prove that if $f: (0,1) \rightarrow \mathbb{R}$ is Uniformly continuous then it is  bounded.   Thank you.


I think it's easier to explain the question with some images.   Here you can see a six-rayed one:   I cannot post more than 2 links, so:  www.i.stack.imgur.com/23YLa.jpg  www.i.stack.imgur.com/4WqEU.jpg  Why does it spread in such rays only? How does it happen?  I guess many of you have seen this before. Maybe the answer is quite simple but I don't know it and it did not seem to me it has been asked already.

Very often when viewing pictures of the cosmos taken by telescopes, one can observe that larger/brighter stars do not appear precisely as points/circles on the image. Indeed, the brighter the light from star, the more we see this effect of four perpendicular rays "shooting" out from the star.    (Taken from .)   My question is: what are the optics responsible for this effect? I would suppose that both the hazy glow around the stars and the rays shooting outwards are optical effects created by the camera/imaging device, but really can't surmise any more than that. (The fact that the rays are all aligned supports this, for one.) A proper justification, in terms of (geometrical?) optics for both the glow and the rays would be much appreciated.  Here are a few other examples of such images:


Requires installation of untrusted packages  this state appear when do update

Any install that I'm trying through the Software Center is telling me:  Requires installation of untrusted packages: The action would require the installation of packages from not authenticated sources.  I did an apt-get update from the command line, then removed the software sources that the keys were bad from (PPAs I added myself), and unchecked them in the software sources for software center, but to no avail.  I can't install anything from software center anymore - only> from the command line with apt-get. Is uninstalling/installing the only option?  I don't want to break other PPAs that I have. Additional information: Here's a paste from apt-get update: Reading package lists... Done W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B725097B3ACC3965 W: GPG error: http://us.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>  I've tried apt-key update, and there was no effect (two keys unchanged). The output of apt-get update and apt-get upgrade, and the contents of /etc/apt/sources.list, can be found in .


I'm trying to set up an AutoCompleteTextField. I'm using Callback> versionCollection.  Here is my code :   Callback<AutoCompletionBinding.ISuggestionRequest,Collection<T>> versionCollection = null; for (Object name : this.fixVersionModel.getFixVersions().keySet()) {     versionCollection.add((String) name); } TextFields.bindAutoCompletion(this.autoCompleteTextField, versionCollection)   I get a stupid error while my collection isn't initialized. Is there no better solution to make an AutoCompleteTextField? If no, could someone help me with my code ?  Thank you.

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I have an array which looks like this: array = [          {code1:            {            number: 2,            name: "e"           }          },          {code2:            {            number:2,            name: "u"           }          }          ]  and I want to add the following as a new object to say "code1" without changing the data it now has. { number: 3, name: "j" }  how can I do it? Thank you!

How do I append an object (such as a string or number) to an array in JavaScript?


Usually I use MAMP for my local development server which already has all of my shortcuts and stuff configured the way I like it.   A client was on Acquia Cloud and to prevent conflicts with other developers we are all using the Acquia Dev Desktop for local. Acquia Dev Desktop comes with Drush within its own package.  When running my drush cc all I was getting the following error:  No Drupal site found, only 'drush' cache was cleared  After running drush status I noticed that Drush was trying to use my MAMP version of drush and thus resulting in no site found.

After much trial and tribulation, I thought I had drush all ready to roar. Much excitement. But then, no joy...  Drush is working. The sites operate fine via MAMP. Regardless, a "drush cc all" command returns:   No Drupal site found, only 'drush' cache was cleared.                                          [warning] 'all' cache was cleared.                                                                       [success]   This question has stumped drupalcon attendees and very experienced developers. Any ideas?  I am on Mac OS 10.9.3 using MAMP (free) Version 3.0.5  Here is my drush status:   Drupal version         :  7.29-dev                                 Site URI               :  http://default                           Database driver        :  mysql                                    Database hostname      :  localhost                                Database username      :  db_user                             Database name          :  db_name                        PHP executable         :  /usr/bin/php                             PHP configuration      :                                           PHP OS                 :  Darwin                                   Drush version          :  7.0-dev                                  Drush temp directory   :  /tmp                                     Drush configuration    :                                           Drush alias files      :                                           Drupal root            :  /Applications/MAMP/htdocs/mysite.dev   Site path              :  sites/default       Have tried executing drush from /Applications/MAMP/htdocs/mysite.dev; from /Applications/MAMP/htdocs/mysite.dev/sites/default; and using drush cc all --uri=http://localhost/mysite.dev  Tried running drush from sites/default. Same result.


I have set up a hosted wi-fi network bridged to an Ethernet connection by following . The network works, but I want to be able to monitor/block certain traffic going through the hosted network to the Ethernet connection. How can I do this?

I have a laptop running Windows 7, which has two network cards, so I bridged the Ethernet and Wireless connections.  On a second laptop, which runs Windows XP, I set its default gateway to the IP of the bridged network.  The Windows 7 laptop with bridged network has access to the Internet via wireless. The Windows XP laptop can see the Internet through the bridged network.  How do I control the traffic through the Windows 7 machine? Is there a specific tool I can use to do this?  The ones I've found are specific to modems, and not to wireless connections. For wireless connections, I found a network load balancer, but I'm not sure if this is correct.


let's say if I don't have  I want to display  is this possible to do it?  Edit:  sorry if the question is confusing... The problem is this:when user inserts url and if that url is a link to youtube, then youtube thumbnail needs to be displayed. if that url isn't a link to youtube video, post.image(default image) needs to be displayed. But post.image is not getting displayed!    //display post.image  the above two displays images fine. But if {{post.thumbnail}} is none I want to display {{post.image}}... how do I do this?  this is why I need it,,please see the below code     {% if post.main_image %} //if post has main_image     //display that image   {% elif post.url %}//if post has url     {% video post.url as my_video %} //setting post.url as my_video(problem starts here I think)       {% if my_video %} //if my_video is there          //display the video thumbnail       {% else %} //if my_video isn't there and post.url isn't a link to youtube          //display post.image       {% endif %}     {% endvideo %}   {% else %}         {% endif %} 	 so main thing to look at it is for post.url if I don't have   I want   //display post.image

I have a web page that includes a bunch of images. Sometimes the image isn't available, so a broken image is displayed in the client's browser.  How do I use jQuery to get the set of images, filter it to broken images then replace the src?    --I thought it would be easier to do this with jQuery, but it turned out much easier to just use a pure JavaScript solution, that is, the one provided by Prestaul.


Its been a while since I've written a proof and would appreciate some feedback on this one.  Question: Given the set of rational positive values,  $\{q | q \in \mathbb{Q} \wedge 0 \lt q \lt \sqrt{2}\}$, show that there is no maximum value for $q \lt \sqrt{2}$  Response  Given $x=\sqrt{2}$, suppose that $x$ can be defined as a positive rational number such that $x$ is composed of positive numbers $p, q$ such that $x=\frac{p}{q}$ where $q \neq 0 $ and that $p,q$ are simplified to the lowest possible terms.  It follows that $2=\frac{p^{2}}{q{^2}}$ or $p^{2} = 2 \cdot q{^2}$.  Therefore, $p^{2}$ must be an even number as it is the product of some $n$ and an even number.  As a result, $p$ is an even number because otherwiese, $p^{2}$ would be odd.  If $p$ is an even number, then $p=2n$ for some number $n$.  Substituting $p=2n$ into the original equation:  $$2= \frac{(2n)^{2}}{q^{2}}$$ $$2= \frac{(4n^{2}}{q^{2}}$$ $$2q^{2} = 4n^{2}$$ $$q^{2} = 2n^{2}$$  Therefore, $q^{2}$ is an even number, which makes $q$ even as well.  This is a contradiction as $p, q$ are defined to be simplified to the lowest possible terms, which would not be possible if $p, q$ were even.  Therefore, $\sqrt{2}$ must be an irrational number.  An irrational number is defined as a number with no terminal or repeating decimals.  Because $\sqrt{2}$ repeats to infinite decimal places, there is no exact value that can be defined as a maximal value $< \sqrt{2}$  Therefore, there is no positive rational value that can be defined to be less than or equal to the $\sqrt{2}$  My strategy for this proof is to prove that $\sqrt{2}$ is an irrational number and then explain why there is no possible maximal value for some number $\lt \sqrt{2}$.  I think I've satisfied the first section, but feel there is rigor lacking in the second section.  How can I redefine the proof that there is no maximal value to a number that is $\lt \sqrt{2}$?

I am working on a proof about Dedekind cuts on the positive rational numbers. I have been stuck for a while on the following point and would appreciate any help.  Given $x\in \mathbb{Q}^+$ such that $x^2<2$, how to find $y\in \mathbb{Q}^+$ such $y>x$ and $y^2<2$?


I am beginner in Java. I am confused if the followings are correct or not.  The first condition is understood and is used frequently. What are the usages of others? When and how can I utilize them?  /* 1) */ Car car = new Car(); /* 2) */ Car car = new Vehicle(); /* 3) */ Vehicle car = new Car(); /* 4) */ Vehicle vehicle = new Vehicle();   Perhaps you could include examples in your answer.

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?


so my probleme is quite simple. i have 2 circles away from each other and not intersecting, I want to connect those 2 cirlces with a rectangle in the middle.  heres what I have    and heres what i want     however as u can see its not perfect. I would like to know how. (Ai cc 2018)

It's easy to join two circles if they are the same size and horizontal/vertical, into a pill shape:    If the circles are at an add angle then it's still possible but you can no longer rely on smart guides.     You can add lines roughly where the tangents should be and then use the scissors tool on the circles, cut out the inner area and then join the two crescents into one shape.    Is there a better way to do this? Is there a way to do this that is still editable afterwards too?  There are some other questions that cover the same area as this but don't cover editability or joining circles that are not in line with each other (where smart guides can't help).


I work as a QA/test engineer in a small software company. It is a web based product. I was assigned a few projects by my manager. I mostly do functional/black-box testing. Before the release, I tested many good scenarios and found quite a few defects in the code. Most of them got fixed. I did my analysis and gave important information to the stakeholders. I had a good test strategy at that time. Now, a client found a lot of bugs and the client is disappointed with testing.   So how to improve my testing and cover all test cases?  My manager and the stakeholders don't trust my work as a tester, as how dare I say that it PASS the QA the first time. They think that I'm careless, not worthy of working, and risky.

I work as a QA/test engineer in a small software company. It is an e-commerce based product. I was assigned a few projects by my manager. I mostly do functional/blackbox testing. Before the production release, I tested many good scenarios and found quite a few defects in the code. Most of them got fixed. I did my analysis and gave important information to the stakeholders. I had a good test strategy at that time. Now, this module went live in production servers and all was good.  After many months, there were some enhancements in the product and I did regression testing of the same product, that old code build. Due to my carelessness, I now found at least 10 defects, bugs that were already in Production. I had missed those simple test cases. I should have found those earlier, many months ago. I'm no junior, I'm a senior analyst, which is shameful.  My manager and the stakeholders don't trust my work as a tester, as how dare I say that it PASS the QA the first time. They think that I'm careless, not worthy of working, and risky.  Now, I'm feeling very bad and low as one should be PERFECT in this job and there should be NO scope for mistakes. Company pays me to test well and not be careless. I feel I don't deserve this job and should find new job in another industry.   Should I ignore this mistake and keep on working in the same project? Should I have acted more clever and wise. Should I have not found bugs in Production and should have been quiet? Why did I highlight my mistakes and been noticed by management. Should I resign or change my Job, as I can't even do simple testing? I also broke the trust of management as well as my reputation.


I am just watching the Shaders intro video from here where the Youtube is saying  3 vertices make up a triangle and Could generate a couple hundred fragments based on how much of the screen that triangle occupies  Its super easy to understand the first thing but the next thing fragment? What actually the fragment is? When we join the three vertices the face will appear which is called a fragment? then how 3 vertices colud generate hundred of fragments?

What is a fragment in a fragment shader? Wikipedia says that:     In general, a fragment can be thought of as the data needed to shade the pixel, plus the data needed to test whether the fragment survives to become a pixel (depth, alpha, stencil, scissor, window ID, etc.)   So is it textures, vertices or something else?


Over on Programmers, we had a troll .  I tried taking a look at  but received a 404 not-found.  I'm a 10k+ user there, so I can see deleted questions and thought I was supposed to be able to see timelines for deleted questions.  This  was asked in 2012 and was closed as a duplicate of  from 2010: with the implied answer of "yes, 10k users can see deleted question timelines."  But the 2010 question doesn't have a resolution to it, and it's not clear what the resolution should be.  Looking in the , the  has been removed along with a comment indicating the functionality may have never worked even though other comments indicate it should have worked.   My question - Should I be able to see the timeline on deleted questions or is the current timeline functionality (still) broken?  Or did something magical happen because that question was closed and deleted so quickly?

For example,  question's timeline is 404 for 10k users, who are supposed to be able to see deleted posts.        So, can we 10k+ users be able to see deleted questions'  like we can on ?


I have a question about an answer given by somebody on a question. How do I tag that person and ask my question regarding his answer? This is in Cryptography Exchange.

has an accepted answer with a single issue that I wanted to help note/fix.  Then Blindman67 suggested the naive approach with this solution: function findCommon(arr)..."  This implementation has a small error when given an array with a single high value (e.g. arr = [1,2,33,2,1,1] it returns 2 as the most common number).  How can a user that has a low reputation reach out to a user/community to help correct this answer?


I started writting a simple program with classes in C++ to get comfortable with OOP. I wrote a class Game that takes instances of classes Player and Unit as attributes: #ifndef GAME_HPP #define GAME_HPP  #include "Unit.hpp" #include "Player.hpp"  class Game { public:     //ATTRIBUTES     Player player;     Unit mob;          //CONSTRUCTORS     Game(Player, Unit){};          //METHODS     std::string get_n_chars(char, int);     void print_player_character_panel();     void print_enemy_character_panel();     void print_character_panels();  };  #endif // GAME_HPP  I want the 'mob' attribute to take any inherited class of 'Unit', i.e. class Goblin : public Unit {...  int main() {         Player hero{"Boi"};     Goblin goblin;      Game game1(hero, goblin);          return 0; }  But when I do this then 'mob' only has the attributes and methods of a 'Unit'. Like this:  And even attributes from the contructor changed:  Can I somehow declare an instance of any inherited class of 'Unit' as mob attribute and for it to remain an instance of that class instead of 'Unit.'

Someone mentioned it in the IRC as the slicing problem.


How would you answer? When I opened Photomath, it said any non-zero expression raised to the power of zero equals one.

I have been a witness to many a discussion about numbers to the power of zero, but I have never really been sold on any claims or explanations.  This is a three part question, the parts are as follows...    1) Why does $n^{0}=1$ when $n\neq 0$?  How does that get defined?  2) What is $0^{0}$?  Is it undefined?  If so, why does it not equal 1?  3) What is the equation that defines exponents?  I can easily write a small program to do it (see below), but what about in equation format?    I just want a little discussion about numbers to the power of zero, for some clarification.    Code for Exponents: (pseudo-code/Ruby)  def int find_exp (int x, int n){     int total = 1;     n.times{total*=x}     return total; }


If a set of $k$ random variables $x$ is drawn from the same normal distribution with mean $μ$ and standard deviation $σ$, then:   the mean of the distribution of $Σx$ is $kμ$ the mean of the distribution of $Σx²$ is $k(μ²+σ²)$   Is there a similar closed-form expression for the mean of the distribution of $Σx³$ ?  Sorry if I've got the terminology wrong!

Given $X \sim N(1,2)$, what is $E[X^3]$?  I've been told I should use the moment generating function, but I'm not sure how to apply it here in this instance.  Using the given mean and variance, I subbed the values into the normal density function $f(x)$, then tried to compute $E[X^3]$ by integrating $\int_{-\infty}^{\infty} f(x) \, x^3 \mathrm{d}x$ . At this point, I have no idea how to compute the integral, which leaves me pondering if I've veered way off track. I'd appreciate any help!


For $a,b,c>0$ and $abc=1$. Find max: $\frac{a}{b+2a}+\frac{b}{c+2b}+\frac{c}{a+2c}$

I want to prove that for $a, b, c > 0$ we have $\frac{a}{2a + b} + \frac{b}{2b + c} + \frac{c}{2c + a} \leq 1$.  My approach:  I know that each of the individual terms is lesser than $\frac{1}{2}$ because of it's form. I am familiar with the Cauchy-schwarz inequality and the AM-GM-HM inequality. I tried using AM-GM but could not get anywhere because of the way the inequality is structured. Similarly I tried using Cauchy-schwarz as well.  I just need some intuition/hints on how to actually reduce this to a feasible form to solve and not the actual answer because it does not provide me with the necessary intuition which I need as I am a beginner when it comes inequalities. If I can't use these 2 inequalities, is this problem best tackled with some other inequality?


I would like to cleanup the folder sites/default/files by removing all images that belonged to a node that already has been deleted. Or would deleting a node, also delete the images it is showing in the body?  So, how can I know which images are no longer in use? Is there a tool to show which nodes are linking to the images? or to show images that are not linked to from anywhere in the site?

Is there a way to list all unused files which reside inside public file system and inside a theme directory and list them, or maybe even have an option to delete them automatically?  I mean files which are currently not linked from any css stylesheet or from any node.


Because of a page limit for a report, I would like to decrease the linespread between individual \items. I know this is generally not a good idea, but I really need the space.  How can I achieve this globally, say, with a couple of lines of code in the preamble?

What is the best way to globally change the amount of vertical space between items in list environments?


I am writnig Aribic on beamer using minipage and begin arabic, the problem is that transparency  applies on bullets and except the text, here is the MWE:      % !TeX TS-program = xelatex \documentclass[12pt]{beamer} \usetheme[secheader]{Madrid} % \setbeamercovered{transparent} % \usepackage{fontspec} \usepackage{polyglossia} \usefonttheme{serif} \setmainlanguage{english} \setmainfont{Times New Roman} \setotherlanguage[calendar=gregorian,numerals=maghrib]{arabic} \newfontfamily\arabicfont[Script=Arabic,Scale=1]{Times New Roman}% \newfontfamily\arabicfontsf[Script=Arabic,Scale=1]{Times New Roman}% % \begin{document} \begin{frame} \frametitle{Animation} %\begin{minipage}{0.95\textwidth} \begin{Arabic} \begin{itemize} \item<1-> Item one \begin{enumerate} \item<3-> Item three \item<4-> Item four \end{enumerate} \item<2-> Item two \end{itemize} \end{Arabic} %\end{minipage} \end{frame} \end{document}

The famous [<+->] overlay specification is not working as expected in this very simple MWE right-to-left beamer presentation.  MWE    \documentclass[12pt]{beamer}  \usepackage{polyglossia} \setmainlanguage[numerals=mashriq,abjadjimnotail=true]{arabic} % Polyglossia package for more options \setotherlanguages{english} \newfontfamily\arabicfont[Script=Arabic,Mapping=arabicdigits,Ligatures=TeX]{Simplified Arabic} \setsansfont[Script=Arabic,Mapping=arabicdigits,Ligatures=TeX]{Simplified Arabic} % Bold sans used for sections \newfontfamily\englishfont{Arial}  \setbeamertemplate{frametitle}[default][right] \usetheme{Frankfurt}  \setbeamercovered{transparent} \title{مثال توضيحي}  \begin{document} \begin{frame}   \titlepage% \end{frame}  \section{مقدمة} \begin{frame}   \frametitle{الشريحة الاولى}    \begin{enumerate}[<+->]     \raggedleft%   \item هنا النقطة الاولى   \item الثانية حيث اكتب ١، ٢، ٣، ٤، ٥   \item الثالثة والاخيرة   \end{enumerate} \end{frame}   \end{document}   Output      In the first overlay, the first item is active and the second one is inactive so far which is good, but the third item text and bullet alike should be inactive as the second one. In this case only the bullet is inactive while the text is not.  By the second overlay, the second item becomes active as expected.  Finally, by the third overlay, the third item bullet and not the text is becoming active, the text has already been active right from the beginning. So could you please help me fix this abnormal behavior?


On the basis of Western morality, the Greco-Roman Judeo-Christian one, behaviors like killing, betraying, cursing are considered immoral. Christianity imposes that thoughts can be corrupt, therefore immoral; and there is logic, since thought represents - before desire and/or intention - the conception, the consideration that a given alternative is possible, and even plausible.  However, if the mind can have immoral productions, can it also arouse something unethical? In particular, can thoughts — internal mental processes in which no one is harmed other than possibly the thinker itself — possibly be unjustifiable in a typical society's set of principles?   Reflecting on killing someone can certainly be immoral, but can it be unethical, even when the act has not been perpetrated yet?  For short: jumping a queue is immoral, because it goes against society's informal rules, but ethical if you are in a hurry for an urgent meeting, since the act is justifiable in this circumstances. Can immoral thoughts be seen in such a light?  EDIT:  Terminology used:   Immoral: an act, reasoning, behaviour or reaction deemed improper by the modi operandi of a given society respective. Ethical: as in Applied Ethics, but used in a more abstract manner; the act, ... that: even when judged immoral, may and should be carried out when it represents a greater good done than bad be it concerning individuals or groups, shall be permitted given the circumstances of an individual in an alarming situation, or is justifiable in the sense that the agent of such act should not be judged guilty when the context is avaluated. E.g.: homicide in legitimate defense; thus homicide is (unconditionally) immoral, but ethical in this situation.

Can a thought without a corresponding action be morally wrong?  More fully, under which approaches to morality do thoughts, in and of themselves, carry moral significance?  In particular I'm looking for approaches that yield affirmative answers to the initial question.  In  in some (naive) utilitarian approaches, I can see arguments in the negative: since there are no (significant -- maybe there is some very minor self-harm) negative outcomes from just the thought itself, they're not really bad.  This is where my intuition lies.  The only positive case I can think of is under theism: the thought can  be an affront to God.  But I have only vague notions on this so any elaboration on the idea of "thought sins" under specific religious dogma would be appreciated.


I'm writing a python script that will append a line in C:\Windows\System32\drivers\etc\hosts. How do I append a line in this file with administrator permission?

I want my Python script to copy files on Vista. When I run it from a normal cmd.exe window, no errors are generated, yet the files are NOT copied. If I run cmd.exe "as administator" and then run my script, it works fine.  This makes sense since User Account Control (UAC) normally prevents many file system actions.  Is there a way I can, from within a Python script, invoke a UAC elevation request (those dialogs that say something like "such and such app needs admin access, is this OK?")  If that's not possible, is there a way my script can at least detect that it is not elevated so it can fail gracefully?


I'm working with polygon coordinates in QGIS using PyQGIS using ESRI shapefiles as input data.   Are the polygon vertices (I am referring only to the outer boundary in the case of polygons with holes) stored as clockwise or as counterclockwise in a shapefile or can be in mixed order?   Is the order always the same or can be different depending on the source of the data: digitizing, converting from other sources as *.csv files, etc.?

According to "ESRI Shapefile Technical Description An ESRI White Paper—July 1998", Vertices for a single, ringed polygon are, therefore,always in clockwise order. Otherwise,"Dirty" polygons occur when the rings that define holes in the polygon also go clockwise, which causes overlapping interiors.   In my understanding, you can create donuts polygon with "avoid intersection of new polygons" is checked on snapping option, even if both polygon(inner and outer) are created clockwise roated.    It has not necessary to care about clockwise rotation when you create polygon in QGIS.  Is this a right understanding?


I would like to highlight a segment of a curvy path (color, thickness) defined by several controls as shown in the following image. I already tried it using intersections and clipping but I failed.   Preferably, I would like to mark the end points of the highlighted segment by arrows. The segment of the path which should be highlighted is given as an 'interval' of the original path, e.g. start highlighting after 1/3 of the original path and stop highlighting at 5/7 of the path.   But in fact, if I would have a solution if I define start and stop of the highlighted segment somehow by hand, I would be glad.  Any ideas?     \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc} \begin{document}   \begin{tikzpicture}[scale=1, >=stealth, ->]     \tikzstyle{node_style}=[inner sep=2pt, circle, fill=black]      \node[node_style, label=right:{$x$}] at (3,3) (x) {};     \node[node_style, label=below:{$y$}] at (0,0) (y) {};      \draw (y) .. controls ++(2,-0.1)  .. (1,1) .. controls ++(-1.5,1.5)  .. (2,2) .. controls ++(2,-0.3)  ..(x);   \end{tikzpicture} \end{document}

I'm in the following situation: Using TikZ, I have drawn a curve which is fairly simply described:  \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (1,1.5) .. controls (1,2.25) and (-1,2.25) .. (-1,2)         node[pos=0,anchor=west]{-1}         .. controls (-1,1.75) and (1,1.75) .. (1,2.5)         node[pos=1,anchor=west]{0}         .. controls (1,3.25) and (-1,3.25) .. (-1,3)         .. controls (-1,2.75) and (1,2.75) .. (1,3.5)         node[pos=1,anchor=west]{1}; \end{tikzpicture} \end{document}   However, now I'd like to specify a different style for part of this curve; It happens that the part of this curve I'd like to do something special with is not easily described explicitly. In this particular case, I'd like to apply the style [(-),thick,red] to some arbitrary segment of the curve. I'm looking for an efficient and simple way to do just that.  I was hoping that there might be an option to do something along the lines of \draw[only between 0.2 and 0.8] "curve description", but I'm not aware of any such possibilities.   For extra concreteness, here is a (Paint-made) picture of something like what I'm looking for:


The left delimiter of matrix environment is missing when I apply the zebra-effect using \rowcolors{1}{cyan!20}{yellow!20}. How can we prevent the zebra-effect from those environments?    \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \usepackage[table]{xcolor} \usepackage{float} \usepackage{listings} \rowcolors{1}{cyan!20}{yellow!20} \begin{document}     \begin{table}[H]         \caption{Matrice}         \centering         \begin{tabular}{|l|l|c|}             \hline             Environment & Example & Result\\             \hline             \texttt{matrix}&\lstinline|\begin{matrix} a & b\\ c & d \end{matrix}|&$ \begin{matrix} a & b\\ c & d \end{matrix} $\\             \hline             \texttt{bmatrix}&\lstinline|\begin{bmatrix} a & b\\ c & d \end{bmatrix}|&$ \begin{bmatrix} a & b\\ c & d \end{bmatrix} $\\             \hline             \texttt{Bmatrix}&\lstinline|\begin{Bmatrix} a & b\\ c & d \end{Bmatrix}|&$ \begin{Bmatrix} a & b\\ c & d \end{Bmatrix} $\\             \hline             \texttt{pmatrix}&\lstinline|\begin{pmatrix} a & b\\ c & d \end{pmatrix}|&$ \begin{pmatrix} a & b\\ c & d \end{pmatrix} $\\             \hline             \texttt{vmatrix}&\lstinline|\begin{vmatrix} a & b\\ c & d \end{vmatrix}|&$ \begin{vmatrix} a & b\\ c & d \end{vmatrix} $\\             \hline             \texttt{Vmatrix}&\lstinline|\begin{Vmatrix} a & b\\ c & d \end{Vmatrix}|&$ \begin{Vmatrix} a & b\\ c & d \end{Vmatrix} $\\             \hline         \end{tabular}     \end{table} \end{document}

I want to typeset a tabular with alterning row colors, containing matrices. Somehow, when adding \rowcolors{1}{}{black!5} the left bracket of some matrices is just omited. What am I doing wrong and how can I avoid this?   \documentclass[ border=2pt]{standalone}  \usepackage{amsmath} \usepackage[natural,table]{xcolor}  \begin{document}     \rowcolors{1}{}{black!5}     \begin{tabular}[t]{ll}         \rowcolor{gray!50}{\bfseries SKP} & \\ \hline         $A$ & $\begin{bmatrix}-0.25 & 1 \\ 0 & 0.5  \end{bmatrix}$\\         $b=g$ & $\begin{bmatrix}0 \\ 1\end{bmatrix}$         \end{tabular} \end{document}


I have no idea how to solve the second question from ,   $$\int \sqrt{\ x \sqrt[3]{\ x \sqrt[4]{\ x \sqrt[5]{\ x \cdots}}}} dx = \frac{x^{e-1}}{e-1}.$$  I tried to to find a value for the roots and i tried converting it to a power, and I tried making a $u$ substitution but nothing worked out, while i think that the right approach to this question is to convert the roots to a power, i cant find the right approach to the question.

I've just read a post that has been put on hold.  The question was about computing $$ \int_{ }^{ }\sqrt{x\sqrt[3]{x\sqrt[4]{x\sqrt[5]{x \cdots}}}}\, \mathrm{d}x $$ My attempt was to find explicitely the integrand hence I introduced the sequence $$ a_1=1\ \text{ and }\ a_{n+1}=\left(xa_n\right)^{1/(n+1)} $$ hence $$ a_2=\sqrt{xa_1}=\sqrt{x}, \ a_3=\sqrt[3]{xa_2}=\sqrt[3]{x\sqrt{x}} \ \dots $$ But the power is reversed, how can I ffind the corresponding $(a_n)_{n\in \mathbb{N}}$ ?