I own Fuji X100T; it's 35mm equivalent. Now I am looking at wide angle WCL-X100 conversion lenses, it is 0.8x.  is one review, just to know what I am talking about.  What is the purpose of this 0.8x wide angle? I mean, you get wider image, but isn't that the same if I just go some steps back?  Where I would use it? I guess it pays of for shots in nature, when subject is far away? Or? Where I would use it?

I am looking for a prime lens to pick up, and I'm wondering if there is any difference between 35mm and 50mm in terms of the end product if I just stand back more with the 50mm. I use the Sony a6000 and am looking at the SEL50F18 and SEL35F18.  I understand that something like a fish eye lens will give a different effect, but is that what is going on in 35 vs 50mm? Or is 50mm effectively just taking a 35mm and cropping the center out (but with increased quality)?


I flagged  because it is clearly a comment in my opinion, and not only in my opinion but in the answerer's opinion, too. (See his own comment below.)  So I don't understand why I got this for my flag: "declined - flags should not be used to indicate technical inaccuracies, or an altogether wrong answer". This is not a wrong answer, this is not an answer. There's no other problem with it, probably it is a good comment.

What is the "Not an Answer" flag and what is its purpose? When should I use this flag? When should I not use this flag? But I'm still not sure if I'm using the flag correctly... An answer is "Not an Answer", but the flag was declined or disputed!   See also:


For any prime number $p$ and natural number $i < p$, prove that $p$ divides ${p \choose i}$.  Also, what happens when $p$ is not a prime. Is this still true?  I tried writing out the formula for combination but couldn't get further.

Prove if $p$ is a prime then $p \mid \binom pk$ for $k\in\{1,\ldots,p-1\}$  I don't really know where to begin with this one.   I can see that I have to use the fact that $p$ is prime somewhere - the same is not true for composite numbers, for example $4\nmid 6=\binom42$.  I have checked that this is true for the first few primes:    $3$ divides $\binom 31=\binom32=3$ $5$ divides both $\binom 51=\binom 54=5$ and $\binom 52=\binom 53=10$ $7$ divides $\binom71=\binom76=7$, $\binom72=\binom75=21$ and $\binom73=\binom74=35$.


Is there generically a latex command which allows to shift images horizontally by a prescribed amount of cm for example?

I composed a diagram that takes up the entire sheet of paper in landscape mode, called diagram.tex (compiled it to generate pdf). I'm trying to include that into an article, but only half of it is showing; the bottom half is cut off by the right end of the paper.  I was able to get it in the proper orientation by using  \includegraphics[angle=90]{diagram.pdf}  But because the bottom half of it is cut off, I need some sort of option where I can do something like this:  \includegraphics[angle=90, shift left = 5cm]{diagram.pdf}  to pull the rest of the image left (or up, depending on how you're looking at it).     So how can I move the figure around?   I'm not sure if this is relevant, but I'm using the following documentclass and packages in my paper:  \documentclass[11pt,a4paper,twoside]{article} \usepackage{tikz, graphicx}     Edit:  This is not an issue with pushing it past the margins. Half of the picture is not on the paper (sort of like if you stuck half of your left hand behind the left side of your monitor). I need to pull the paper left (just like you would shift your hand left to see it).


About creating new shapefile layer. Is it possible to give default folder for saving a file so user can just write the name of new file and not giving the whole path in addition to the name

Probably a basic issue, but still something that irks me and I can't find an answer online. I want to change the default folder for saving new shapes/processing outputs from "last used folder" to "project folder" or "something in relation to project folder" - is this possible? If so, how can I achieve this?


I'm using Ubuntu in my work and I have just created a small .deb package to make some configs in my system. I need this package to install or upgrade some other packages, so I put some installing commands in the postinst script, but installation exits with an error telling me there is another package manager already running.  How can I make my .deb package install or upgrade other packages as part of its installation process?

I have a game made with the LÖVE framework and I want to package it into a .deb file so it can be easily installed by others and be easily findable through the Unity dash for example.   I also have the LÖVE framework love_0.7.2.deb which I want to be in the deb file also somehow.  Files that I have:  game_icon.png game .desktop the_game.love love_0.7.2.deb   Could someone explain to me how to do this?


Let $p$ be a prime number of the form $4n+1$, and let $n$ be a natural number. Show that congruence $x^2\cong-1 \mod p$ is solvable. I tried solving by simplifying $\cong$ sing i.e. $x^2 + 1 = p.m$ or $x^2 = (4n+1).m -1$. But I can't  proceed after this

Question: If $p$ is prime and $p$ $\equiv$ $1$ (mod 4), then the congruence $x^2$ $\equiv$ $-1$ (mod $p$) has two incongruent solutions given by $x$ $\equiv$ $\pm$ $\frac{(p-1)}{2}$!(mod $p$).   I noticed that the congruence $x^2$ $\equiv$ $-1$ (mod $p$) fits the form of Wilson's theorem but can't figure out how to modify/change the congruency to fit Wilson's theorem. Sorry if this is a duplicate, I wasn't able to find any other question similar to this one but it could just be my incorrect usage of MathJax.


I am having a hard time with this code. I keep getting a rounding error when I enter 95.95 as the purchase price and 100 as the price paid, for example it returns 4 dollars, 4 pennies and not 4 dollars and 5 pennies. All other values work fine but for some reason it is having a hard time returning the correct pennies when the decimal place is .95 or .05...  public static void main(String[] args){          //Read price per pack         Scanner in = new Scanner(System.in);          System.out.println("Enter purchase price: ");         double purchasePrice = in.nextDouble();         System.out.println("Enter amount paid: ");         double amountPaid = in.nextDouble();          //Compute change due          if (amountPaid < purchasePrice)         {System.out.printf("Error, you need more money!");         }          else {         int diff = (int)(( amountPaid - purchasePrice)*100);           int dollars = diff/100;             diff = diff%100;          int quarters = diff/25;             diff = diff%25;          int dimes = diff/10;             diff = diff%10;          int nickels = diff/5;             diff = diff%5;          int pennies = diff/1;             diff = diff%1;          System.out.println("--------------------");             System.out.println("Total Change due: " + (amountPaid - purchasePrice));         System.out.println("--------------------");         System.out.println("Dollars: " + dollars);         System.out.println("Quarters: " + quarters);         System.out.println("Dimes: " + dimes);         System.out.println("Nickels: " + nickels);         System.out.println("Pennies: " + pennies);          }     } }

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


I can copy but pasting yields nothing   App Version: 1.6.6.2 Device: iPhone 6s Plus OS Version: Version 11.2.1 (Build 15C153)

I’m able to copy-paste from any application to any application. I’m able to copy from a comment or from a question or from an answer. I’m able to paste to a question or answer. However, if I attempt to paste into a comment, nothing happens. I am able to subsequently paste into another application, confirming that the text is actually on the clipboard.   However, copying SE links will paste them successfully, but all other text - including other links - still fails. This leads me to believe that it’s a SE issue and not an Apple one.   This has been an issue since 11.0 beta and persists through iOS 13 release.


I cannot understand the statement "every partial order is the intersection of its linear extensions. (See e.g. Davey and Priestley [DP]" . The book Introduction to Lattices and Order on page 32 assumes that $P$ is finite, not infinite. So suppose that the poset $P$ is infinite.   Is the intersection of linear extensions now the infinite $P$?

How do I show that every partial order can be extended to a linear ordering?      I think that I manage to prove that claim for finite set, how can I prove it for infinite set?  Thank you.


I am trying to troubleshoot the performance issue on one of the SP which executes throughout the day daily every 20 mins and on avg completes under a min.  For past couple of weeks it happens once in a week that it will stuck and keep running for hours. Stats maintenance is done daily for modified stats and automatic update stats on is ON  There is no change to SP neither too much of load being increased in that run time.  I recompiled that SP to see if the plan was bad due to parameter sniffing issue, but does not help.  Due to security constraints i am not able to share the plan or any table structure here.  I know without seeing plan and query its tough to comment, but need possible ideas on what else should i be checking here?

[Salutations]  (check one)  [ ] Well trained professional, [ ] Casual reader, [ ] Hapless wanderer,   I have a (check all that apply)  [ ] query [ ] stored procedure [ ] database thing maybe     that was running fine (if applicable)   [ ] yesterday [ ] in recent memory [ ] at some point    but is suddenly slower now.  I've already checked to make sure it's not being blocked, and that it's not the victim of some long running maintenance task, report, or other out of band process.  What is the problem, what should I do, and what information can I provide to get some help?  [*Insert appropriate closing remarks*]


Being Force-sensitive definitely helps if you are a pilot or Podracer and some of the best like Anakin and Luke definitely were. Furthermore, Qui-Gon Jinn, albeit probably exaggerating a bit, admitted:     Qui-Gon Jinn: You must have Jedi reflexes if you race pods.   This can be interpreted as: If you survive long enough in Podracing, you must either have excellent reflexes equivalent to those of a Jedi or you must be Force-sensitive.  Now, in the Phantom Menace we see another top Podracer and very skilled pilot, namely Sebulba, so my question is: Is Sebulba Force-sensitive?

In episode I, when Anakin mentions to Qui-Gon that he is a podracer pilot (and the only human one), Qui-Gon tells him that he must have Jedi reflexes.   Does he mean that because Anakin is human and should not be able to survive those races, let alone at that age? and does this imply that every podracer pilot have Jedi-like reflexes?


i dont know what is wrong. i tried almost everything to fix the issue  my apache2.conf:   error in browser Forbidden  You don't have permission to access /UI on this server.  Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.  i hope you guys can help me out!

I can access localhost but not the sub directories index.html  My default conf looks like:  <VirtualHost *:80> ServerAdmin webmaster@localhost  DocumentRoot /var/www <Directory />     Options FollowSymLinks     AllowOverride None </Directory> <Directory /var/www/*/>     Allow from None     Order allow,deny </Directory> <Directory /var/www/>     Options Indexes FollowSymLinks MultiViews     AllowOverride None     Order allow,deny     allow from all </Directory>  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin">     AllowOverride None     Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch     Order allow,deny     Allow from all </Directory>  ErrorLog ${APACHE_LOG_DIR}/error.log  # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn  CustomLog ${APACHE_LOG_DIR}/access.log combined     Even after allowing read/edit/write access to the directory, its showing Forbidden error. Tried all possible ways out in forums, didnt worked. Anyone has a solution.  Between above I tried something for sub directory access:  <Directory /var/www/*/>     Allow from None     Order allow,deny </Directory>   Please suggest me possible solution. Thanks!


How difficult it is to switch between different graduate departments within the same graduate school? And how can a student initiate the process?  Some have told me that it's easier than getting into a graduate department via PhD admissions. But I do wonder - does it depend on what school it is? (I'm at Brown). What other factors determine how easy it is to get into another graduate department? Would they look at your transcript/GRE scores/etc? I have GRE scores of 96th percentile Verbal/96th percentile Math/99th percentile Analytical/89th percentile Biology. My grades are weaker though. I'm currently a student in a Geoscience department and am considering switching to Physics or a Biology-related field.  Of course, one has to convince someone else to be able to take them on. Most of my experience is with Physics and Scientific Computing, however, and a lot of fields really value the skills that people in Physics/Scientific Computing have.

Is it possible to switch from one area of graduate study to another in US universities? For example, suppose someone has enrolled in a computer science phd program. Can he switch over to math(or physics) phd program in the same school later?(or say from applied mathematics to pure mathematics?)  What are the steps for doing for doing that?


It might sound a bit naive but,  How is it that conservation of energy is never broken, how is it that we know that always and for sure the energy in our universe is constant and we cannot create a destroyed energy.  I mean is there any mathematical and physical mechanism in the real world that has prevented this from happening or is it just that we have not been able to find any case where energy is being created from nothing that we have led to this conclusion?  Similarly for charges to how is it that in the universe all the charge that is created is conserved.

In popular science books and articles, I keep running into the claim that the total energy of the Universe is zero, "because the positive energy of matter is cancelled out by the negative energy of the gravitational field".  But I can't find anything concrete to substantiate this claim. As a first check, I did a calculation to compute the gravitational potential energy of a sphere of uniform density of radius $R$ using Newton's Laws and threw in $E=mc^2$ for energy of the sphere, and it was by no means obvious that the answer is zero!  So, my questions:   What is the basis for the claim – does one require General Relativity, or can one get it from Newtonian gravity? What conditions do you require in the model, in order for this to work? Could someone please refer me to a good paper about this?


Initially I was running Windows OS which had three partitions: C, D and E. I then installed Ubuntu 16.04 in 'C' (formatting it and wiping out windows). Now in my Ubuntu when I try to access my E drive I get this error:  Error mounting /dev/sda3 at /media/cyan/F428D28228D24372: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda3" "/media/cyan/F428D28228D24372"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda3': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.   Please help me to retrieve my files. I have valuable information which I don't want to lose. 'c' 'D' and 'E' are partition of internal drive not external  i have no dual boot i am left with only one 'OS' that is ubuntu in 'C' drive.

Whenever I boot Ubuntu, I get a message that it cannot mount my windows partition, and I can choose to either wait, skip or manually mount.  When I try to enter my Windows partition through Nautilus I get a message saying that this partition is hibernated and that I need to enter the file system and properly close it, something I have done with no problem so I don't know why this happens.    Here's my partition table, if any more data is needed please let me know.     Device Boot      Start         End      Blocks   Id  System /dev/sda1            2048    20000767     9999360   83  Linux /dev/sda2        20002814   478001151   228999169    5  Extended /dev/sda3   *   478001152   622532607    72265728    7  HPFS/NTFS/exFAT /dev/sda4       622532608   625141759     1304576   82  Linux swap / Solaris /dev/sda5        20002816   478001151   228999168   83  Linux


Isn't it absurd?  $\textbf{Problem-}$ Suppose my water heater broke and heat in my apartment raised high. I went to a "person" to ask him to take a look at it, he came to my apartment, used a bunch of spare parts and then fixed it. I paid him for the repairs."  Now what is more likely,   $1)$ He is a mathematician,  $2)$ He is a mathematician and plumber.  Now look at this Image where, A (white) means he is both mathematician and plumber and B (yellow) means he is only a mathematician and not a plumber.     Now probability A means that a mathematician plumber fixed my water heater, and probability B means a mathematician who is not a plumber fixed it, Now since A $\leq$ A+B, it is more likely that a mathematician fixed my water heater. Isn't it absurd.  But if I denote B by plumbers who are not mathematicians, I get it is more likely a plumber fixed my water heater, so which one is more likely?

My professor assigned a completely random question on our problem set. Basically, it goes:  Sophie is 30 years old and majored in philosophy. As a student, she participated in anti-nuclear demonstrations and was deeply concerned with social justice. Which is more probable?  1. Sophie is a bank teller. 2. Sophie is a bank teller and is active in the feminist movement.  I'm guessing the point the prof was trying to get across is that assuming you have two different events $A$ and $B$,  $A\cap B$ would always have a smaller probability than either. Is this correct?


The proof I have is :  $\begin{aligned}1&\ &\forall x\exists yLxy\\   2&\ &\exists y\ \text{(Lay)}\ \forall E_1\\  3&\ &\text{Assume Lab}\\   4&\ & \forall y Lyb\ \forall I_3∀yLyb\\  5&\ &\exists x\forall yLyx \exists I_4\\  6&\ & \exists x\forall yLyx ∃x∀yLyx\ \exists E_2 ∃, 3–5 \\\end{aligned}$  But I don't know if steps 4 and 5 are proper application of the universal and existential introductions.

Given $\exists y. \forall x. p(x,y)$, use Fitch-style natural deduction system to prove $\forall x.\exists y.p(x,y)$.  I know this question has been asked , but based on that answer I'm not able to move forward from step 3 below. I'm using  as a proof assistant by the way, maybe that's the issue. Any help is very much appreciated.  1.  EY:AX:p(X,Y)     Premise 2.  AX:p(X,Y).       Assumption 3.  p(X,Y).          Universal Elimination: 2


here is my code import numpy a = numpy.arange(0.5, 1.5, 0.1, dtype=numpy.float64) print(a) print(a.tolist())  >>>[0.5 0.6 0.7 0.8 0.9 1.  1.1 1.2 1.3 1.4] >>>[0.5, 0.6, 0.7, 0.7999999999999999, 0.8999999999999999, 0.9999999999999999, 1.0999999999999999, 1.1999999999999997, 1.2999999999999998, 1.4]  When trying to convert numpy array to list getting this problem with value like 0.7999999999999999 in place of 0.8 please help me to convert numpy array to normal python list without losing the decimal value.

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


I know that a common lightning strike is an electric current and I believe air has high electrical resistance comparatively, detail is not important however I think friction caused a build up of charges (ions start to accumulate) inside the cloud and voilà... let there be light!  I like to know how do these electrons carrying a vast amount of energy and transfer it to the ground in split seconds?

If air cannot conduct electricity, how can lightning happen?


I want to identify each element by it's name attribute. Each element has the same class and will ultimately contain differing dynamic information.  For example I would want the following code to alert the individual element's name value:  html:
this is p #1

this is p #2

this is p #3
   jquery:  $('p').on('click', function() {     if ($('p').attr('name') !== undefined) {         alert($('p').attr('name'));     } })   Here is a jsfiddle..   This code however only alerts the initial elements name value. Help is greatly appreciated.

Is there any way to get the ID of the element that fires an event?  I'm thinking something like:    $(document).ready(function() {   $("a").click(function() {     var test = caller.id;     alert(test.val());   }); }); <script type="text/javascript" src="starterkit/jquery.js"></script>  <form class="item" id="aaa">   <input class="title"></input> </form> <form class="item" id="bbb">   <input class="title"></input> </form>     Except of course that the var test should contain the id "aaa", if the event is fired from the first form, and "bbb", if the event is fired from the second form.


I just wondering which way is the most efficient (or pythonic) for accessing statically defined methods inside a method. Let me clear my question. class ExampleClass:     @staticmethod     def do_something():         pass      @staticmethod     def do_anohter_thing():         pass  I want to call do_something inside of the do_anohter_thing. Should I use @classmethod or the class itself(ExampleClass)? class ExampleClass:     @staticmethod     def do_something():         pass      @classmethod     def do_anohter_thing(cls):         cls.do_something()  or class ExampleClass:     @staticmethod     def do_something():         pass      @staticmethod     def do_anohter_thing():         ExampleClass.do_something()

What is the difference between a function decorated with  and one decorated with ?


I have two primary partitions in my hard disk one with Windows (~900GB) and the other with Ubuntu(~100 GB), but now I need more space for my Ubuntu. Can I make a free space partition in Windows (shrink volume) and then merge it with my Ubuntu partition without any serious problems?

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?


I'm doing IELTS preparation tests. One of the tasks is to read a text and compltete the summary by filling the gaps. I did it without mistakes.  Text:     Before committing yourself to postgraduate course, weigh up the options. Perhaps the best route might be to take a job now and plan to do an MBA a few years down the line? Try to get sponsorship from A company. Or go for a well researched and thoroughly thought through masters that will help you land a good job.   Summary:     First, however, it is important to consider the .... (options): whether to start right away on a carefully chosen postgraduate course, or to do so after a few years' work, preferably with financial assistance from THE ... (company).   My question:   Why it's not A company in the summary?   Thank you in advance

I can’t for the life of me figure out where to use a and where to use the — and where there is no article at all. Is there a simple rule of thumb to memorize?   The standard rule you always hear:     “If a person knows which item you are talking about then use "the"   . . . doesn’t clear things up for me, as I have no idea whether or not they know.


Show that collection of all sets with cardinality $\kappa\neq0$, is not set.   I'll state my approach and I need to see whether this idea is precise/precisable or not :  First let $K$ be the set with $card(K)=\kappa.$  Then let $C$ be the collection of all sets with cardinality $\kappa$. By contrary, suppose it's a set.  Now it can be shown that there's a bijection $\varphi:C\rightarrow F$, which $F$ is the collection of all one-to-one function like $f$, with $dom(f)=K$.  I don't know whether $F$ is now a set or not !  But if $F$ is a set, then I think $\displaystyle\bigcup ran(f)$ would be a good set to be considered and to construct set of all sets.  Every guidance (even a completely new approach) or correction to my idea is very appreciated.

This question was inspired by the question on .  From the discussion in the comments there, it seems there does not exist a set of all sets of a given cardinality.  To me, it seems easy to see that this is true for any nonzero finite cardinality $n$. Given any set $x$, you can always make a set of size $n$ by adding $n-1$ other sets to $x$ to make a set of size $n$, which exists by repeated use of the pairing axiom.   But how would you do this for infinite cardinalities? For suppose $\kappa$ is some given infinite cardinality. To show that the set of all sets of cardinality $\kappa$ does not exist, it seems you would have to show that for any set $x$, there exists a set of that size with $x$ as an element, and then you could take the union of that set to find the set of all sets, and thus a contradiction. But it doesn't seem reasonable to simply say, for a given set of size $\kappa$ if $x$ is in the set, we have no problem. If not, just take an element out of the set and put $x$ in. Something about that seems like it would not be allowed.  So how would you do this for infinite cardinalities?


I'm reading The Great Gatsby and there's one part when Tom Buchanan is arguing by phone with George Wilson about a car, and Tom says the next:     Very well, then, I won't sell you the car at all ... I'm under no   obligations to you at all ... and as for your bothering me about it at   lunch time, I won't stand that at all!   the part:     [...] and as for your bothering me [...]   has a structure like:  possessive adjective + gerund + object pronoun   I had never seen such a construction, so my question is: Is there something elided in the sentence, and what's the meaning of the sentence?  Thank you in advance.

I have a problem analysing this sentence from the point of finite/nonfinite clauses, clause elements and their functions:     He does not want to destroy his parents' dream of him achieving a Cambridge degree.   I am especially interested in the: dream of him achieving a Cambridge degree.  I know that 'achieving a Cambridge degree' is a non-finite -ing participle clause. However what is its function? And what is the function of 'of him'? Is it a postmodification?


I am having problem to create a RAID volume on the internal disks of a Sun Server (Sunf Fire V440)  When I type the below command raidctl -f -c -r 5 c1t0d0 c1t1d0 c1t2d0 c1t3d0  it displaysOperation not support with volume of this level. My controller is "LSI_1030"  Help me out please

How can I setup Internal Hard disk RAID5 configuration? I have SunFire 440 machine with 4 internal hard disk. I have never worked on Sun systems except for now and I am exploring google for the above solution. If anyone could help me out.


I've been trying to make my own theme with 2 different background images and haven't succeed.  I have two images:   A title image one  {   \usebackgroundtemplate{\includegraphics[width=\paperwidth]     {img/titleimage.png}}   \begin{frame}    \vspace*{80pt}    \hspace*{1em} \titlepage   \end{frame} }  An image for the rest of the slides (don't know how to do it!)   I want to set this on the theme and not on the main script.

I am working on a presentation theme for use with conference presentations. Most of our powerpoint themes use some type of background image on the first (title) slide, which I am trying to reproduce.  I can accomplish what I want by using  \usetheme{Mytheme} \begin{document} { \usebackgroundtemplate{\includegraphics[width=\paperwidth]{MyBackground.jpg}} \frame{\titlepage} } % Etc etc \end{document}   This appears as I expect, with the image behind the presentation title, and only on the title slide.  What I want to do is move the use of the backgroundtemplate command in to the beamerthemeMytheme.sty file so that someone else using the theme down the road doesn't need to figure that particular command out. However, no amount of tweaking of setbeamertemplate{titlepage} { ... } has gotten this command to work.  I've seen  using pgfimage to accomplish this effect, but my attempts have not come out nearly as cleanly as usebackgroundtemplate. For example, either:  \setbeamertemplate{title page}{     \usebackgroundtemplate{\includegraphics[width=\paperwidth]{MyBackground.jpg}} }   nor  {     \usebackgroundtemplate{\includegraphics[width=\paperwidth]{MyBackground.jpg}}     \setbeamertemplate{title page}{     % ...     } }   have worked.  Is there a way to use usebackgroundtemplate (Or a similar command) from within a beamer style file?


I asked a question (and even got some answers) but then I realized that I'm an idiot, I have a typo in my source code and that's the reason it does not work, the question is irrelevant. (One of the answers actually suggests the typo).  Now should I delete the question? It clearly has no value for others.  The reason I'm asking is b/c deleting a question with existing answers seems to be against the rules and "can result in your account being blocked from asking" (quoting the popped up message-box).  PS. the question

A while ago I asked , and got an answer which I upvoted and accepted.  Recently the thread about closing 'typo' questions made me realise that's essentially what my question is - no one else is ever likely to have the same problem. Should I vote to close or delete it? If I do, will the guy who answered lose the 25 rep?


I know that isn't first topic of this type but I have read almost all similar topics and proposed solutions don't work.  I have table with 8 handmade rows, there is also add row button which adds row in this way:  function addNewRow(){        var numRows = $('#newTasks tr').length;      $('#newTasks').append('
<input type="text" id="title-'+numRows+'" />	<input type="text" id="description-'+numRows+'" />	<input type="button" id="delete-'+numRows+'" class="deleteButton" value="x" />
'); }   As you can see I have delete button in each row but in dynamically generated rows it doesn't work.  $(document).ready(function(){      [...]      //Delete button click event     $('.deleteButton').click(function(){                 alert($(this));         deleteRow($(this));     }); });   Even alert action isn't triggered by dynamically generated button but in case of handmade rows it works fine. I think it doesn't treat dynamically generated buttons as classified "deleteButton" but from the other hand css does.   function deleteRow(thisButton){     thisButton.parent().parent().remove(); }

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


I have the table Vendors (VendorID PK, VendorName, VendorContactFName ,.....)  I want to find out the VendorName and VendorContactFName for those Vendors whose Contact First Name is different from The Contact First Name from any other Vendor, using joins.  I can find a way of finding the list of vendors having a contact first name equal to that of some other vendor.  select     V1.VendorContactFName,     V1.VendorName,      V2.VendorName  from vendors v1  join vendors v2      on v1.vendorContactFName = v2.vendorContactFName where      v2.VendorID <>V1.vendorID  EXCEPT Select VendorContactFname   It runs, but I cannot come up with a way of finding those vendors whose  contact name is different from that of any other contact name. I keep getting overly large results - 14756 rows - whereas the original table has 128 rows.  I have even tried taking above query and using it with an except with a table containing all other ContactFnames (and other fields in original table) but that does not work.  Any ideas?

I am running a correlated subquery to find out the listing of vendors (by Vendor Name) that are in different cities, states, i.e. we want to know the vendors that do not have a common city and state with other vendors. It seemed like a self-join was the thing to do.   Only hints if possible, please.  The Vendors table is:  Vendors(VendorID P, VendorCity, VendorState, VendorName,...)   This is what I have:  Select VendorName, VendorCity, VendorState from Vendors AS V1 where          VendorCity, VendorState NOT IN (Select VendorCity, VendorState FROM           Vendors AS V2 where V2.VendorID <> V1.VendorID)   This is the error message I get:     Msg 4145, Level 15, State 1, Line 2 An expression of non-boolean type   specified in a context where a condition is expected, near ','.   I don't see why there is a reference to Boolean types, since this is not an EXISTS or other related query.


I am desperately looking for an old science fiction book, I only remember this much:  A woman (I believe) observes an ancient statue of an extinct race that indicates a point in deep space. After much research they arrive on a planet (perhaps frozen) where they are attacked by flying spheres that seem to want to destroy everything technological. After many investigations, at the end of the book they discover that these beings will arrive in 7000 years. I remember the phrase: "is what even the extinct thought"

This is a series of novels probably written in the last 15-20 years. I read them about 8 years ago.  The future Earth has many problems but it is not a dystopia. A means of FTL is discovered. It is easy to run (most ships require only a single crew member) but expensive to operate - Earth only builds and finances a very small number of the ships. The explorer corps (not capitalized because I do not think this is its proper name) is a very small group. Over time, it has grown smaller as Earth becomes more self-interested and less interested in paying the steep cost of learning about "what's out there."  The protagonist is a woman (who I think was petite and pretty but not beautiful). She had feelings for her mentor pilot who died before the events of the novels in the series. The novels are about how she personally survives the many pitfalls of exploring the Universe essentially by herself during her missions.  Some of the novels included these events (a line item per novel):   Rescue stranded science team, who was running out of air. Witnessing the collision of a terrestrial and Jovian planet as well as attempting to rescue a portion of the inhabitants they discover there while observing. Investigating a giant alien artifact discovered by the explorer corps. Investigate why stars are exploding for an unexplained reason and why that reason seems to be approaching the Earth (maybe in conjunction with #3).   I can almost visualize the name of the author and/or the book names but it is buried just a bit too far back in my mind.


I currently have a script in /etc/init.d which calls autossh with port forward to set up reverse ssh on the server.  The command is preceded by 'sleep 20' to try to ensure the command is called after networking is active.  The questions is, what is a better way to run this script later in the boot cycle (after networking is set up)?  Could/should this be moved to /etc/rc.local or is there a better solution?

I'm working on moving my current server setup to newer hardware, and migrating from ubuntu karmic koala to lucid lynx. Currently i'm using gw6c (compiled from the gogo6 website, as opposed to the version from the repositories) to get ipv6 access for my systems. On the karmic koala system, i used simple init.d script to get the ipv6 client started   #! /bin/sh /usr/local/gw6c/bin/gw6c -f /usr/local/gw6c/bin/gw6c.conf   I figured since this runs at any runlevel, it should translate to  respawn console none  start on startup  stop on shutdown  script exec /usr/local/gw6c/bin/gw6c -f /usr/local/gw6c/bin/gw6c.conf emit free6_ipv6_started end script   this works fine started from initctrl, but it apparently fails to start when it boots. - its status being stop/waiting. It works fine (and respawns) when started otherwise.Any ideas on where i'm going wrong, and what would be the appropriate 'start on' arguement?  EDIT: the exact error is 'init: gw6c main process (xxx) ended with status 8' followed by the process respawning , with xxx being a PID i suspect. I'm also half suspecting this is cause gw6c starts before networking does, and i need my eth0 up before gw6c is


Let $G$ be a group acting on a set $S$ where $|S| \geq 2$.  If this action has one orbit, show that there exists a $g \in G$ which has no fixed points.  I feel I am having trouble proving this because I am not sure exactly what it means to have one orbit.   I am taking the set $Gs = \{g\cdot s : g \in G\}$ to be the orbit of $s \in S$.  For every $s \in S$, we have $e \cdot s = s$.  In this case doesn't 'one orbit' mean that the orbit would be all of $S$?  Any help is appreciated.

Let $X$ be a transitive $G$-set. ($G$ acts on  $X$ transitively.) If $X$ is finite and has at least two elements, show that there is some element $g$ $\in$ G which does not have any fixed points; that is, such that $g$$($$x$$)$ $\ne$ $x$ for all $x$ $\in$ $X$  I am trying to use contradiction, but it is not very clear to me why this is true.


It is a common saying that there are more real numbers than integers, since you can not uniquely map integers to real numbers - even after using up all integers, there will still be at least one real number left that you haven't mapped to any integer.  So I applied the same argument to the two intervals in question. One obvious way to map number from $[0,1]$ to $[0,2]$ is $\times 2$ - $0$ is still $0$, $0.25$ becomes $0.5$, and $1$ becomes $2$. Good enough.  However, if we change the second interval to an open interval, namely $(0,2)$, then the number $0$ and $1$ in the original mapping is now the "remaining" number, while all numbers in $(0,2)$ have already been "used". Does that mean that $[0,1]$ have more real numbers than $(0,2)$? (even though $(0,2)$ seems to be bigger than $[0,1]$…)  Does my argument even make sense? I did some Googling but didn't found anything useful.

There are infinitely many real numbers between any two real numbers, therefore there are infinitely many real numbers in the range $[0,1]$ as there are in $[1, \infty)$. In a mathematical sense, are there more numbers in one range as opposed to the other?  What about $[0,1]$ and $[0, \infty)$ ?  I'd assume this is akin to how limits work in that the limit as $x\to\infty$ of $\frac{x^x}{\log(x)}$ is $\infty$, even though both the numerator and denominator approach infinity.


i want to get rid of the auto fill in   i am new to html and i cant ix my problem. if you dont understand me ill be more than happy to send a screenshot using gmail.  <FORM action="Database.php" method="GET"> First Name <input type="text" name="firstName">
   Last Name

How do you disable autocomplete in the major browsers for a specific input (or form field)?


I would  be pleased if someone could explain to me the participle in this sentence :  James has made a breakthrough in his math this year, doing excellent work in comparison with last year

"Essos is an immense landmass located to the east of Westeros,   extending into the far east of the known world." (Here, "extending"   describes the Essos or does it describes the landmass? )   Having seen this sentence above, I question came to my mind.   Can I use participles to modify the subject of the main clause when there is no connection between main clause and participle clause. For example:      1- "He is a bookworm, living in Canada. (He is a bookworm + He lives in   Canada, there is no connection between being bookworm and living in   Canada)      2- He, living in Canada, is a book worm. (I suppose, this placement would be more correct)


I was talking to a co-worker about  the fact that he ignored certain guidelines when writing his code. He is fairly aware of the established guidelines and a well-defined copy of the same is present on his PC, but he chooses to ignore them and deliver code that doesn't suit the organizational standards.  I wanted to tell him this, "Your ignorance of this matter is unwelcome."   However, I stopped mid-statement because I realized that this statement would imply that he is not aware of these guidelines. However, he is well-aware of the requirements but ignores them out of choice (probably out of laziness or lack of attention). Is there a better word for this situation? Alternately, how would I phrase this statement in a better way to convey the message that his choice of continuing to ignore guidelines is unwelcome?

I try to use the 2nd or 3rd definition of words (to slow down speed readers). However, I am not sure if "ignorance" has a 2nd definition.  (common meaning)  is "a lack of knowledge". With this meaning, no syllable is stressed.   My ignorance of hardware means I cannot build my own pc.   (2nd meaning?) If pronounced differently, I think that "ignorance" can also mean "a willful and careless disregard of something". The "nor" syllable in "ig-NOR-ance" must be stressed.     The French were aware of the strategic weakness of the Maginot Line, and their ignorance of it enabled the German blitz through the Low Countries.   My ignorance of my girlfriend's hourly text messages quickly caused our break-up.   In a dictionary, "ignorance" is only defined as "lack of knowledge". But, I am not talking about that "ignorance". I am talking about the "ignorance" that is derived from "to ignore" and thus pronounced just like "to ignore", and thus has the meaning of "to ignore". There is precedence for this:  "to accept" --- derive ---> "acceptance" "to ignore" --- derive ---> "ignorance" ....  Anyone agree with me?


Let $A$ and $B$ be sets. Suppose that there is some set $C$ such that $A \cap C = B \cap C$ and $A \cup C = B \cup C$. Show that $A = B$.  My sketch is the following. Suppose first that sets are non-empty and instead that $A$ were not equal to $B$. Then there must exist an element in either $A$ or $B$ that is not in the other. In particular, choose a in $A\setminus B$. Then this a must be in $A \cap C = B \cap C$. But this contradicts the fact that a was not in $B$.   In fact, I am interested in the logic of my steps. Any comment would be helpful.

I’m stuck on this one problem in my textbook regarding proofs in set theory. I’ve done the following so far:  Let $ x \in B $. As $ B \subseteq A \cup B $, we have $ x \in A \cup B $, so $ x \in A \cup C $ because $ A \cup B = A \cup C $. Hence, $ x \in (A \cup B) \cap (A \cup C) $, which yields $ x \in A \cup (B \cap C) $. Now, either $ x \in A $ or $ x \in B \cap C $. If $ x \in B \cap C $, then $ x \in C $ because $ B \cap C \subseteq C $, so $ B \subseteq C $.  This is only half of the proof, though, as I have to prove that $ C \subseteq B $ as well; and I also haven’t even considered the case $ x \in A $ for the last step in what I have so far. I’ve drawn many different Venn diagrams, and although I see why the statement is true, I just can’t formalize it. Any pointers, help or guidance is very much appreciated. Thanks!


If I use any integer variable in a LINQ where clause, and after query execution if I modify / initialize the integer variable, then the result set of the LINQ query changes. For example:  static void Main(string[] args) {          int startPos = 0;                List<string> intList = new List<string>();      for (int i = 0; i < 10; i++)      {         intList.Add(i.ToString());      }       var qResult = from c in intList                    where Convert.ToInt32(c) >= startPos                    select c;       // prints count as 10      Console.WriteLine("List count is :"+qResult.Count());       startPos = 5;       // prints count as 5      Console.WriteLine("List count is :" + qResult.Count()); }   Output:  List count is :10 List count is :5   In above example you can see that after startPos = 5;, the qResult has changed. I don't understand how this has happened; as far as I know, int is value type.  Is the Linq query again executed at line startPos = 5;? If yes, then will it be a performance impact? And most importantly, am I missing anything here?

Background: Over the next month, I'll be giving three talks about or at least including LINQ in the context of C#. I'd like to know which topics are worth giving a fair amount of attention to, based on what people may find hard to understand, or what they may have a mistaken impression of. I won't be specifically talking about LINQ to SQL or the Entity Framework except as examples of how queries can be executed remotely using expression trees (and usually IQueryable).  So, what have you found hard about LINQ? What have you seen in terms of misunderstandings? Examples might be any of the following, but please don't limit yourself!   How the C# compiler treats query expressions Lambda expressions Expression trees Extension methods Anonymous types IQueryable Deferred vs immediate execution Streaming vs buffered execution (e.g. OrderBy is deferred but buffered) Implicitly typed local variables Reading complex generic signatures (e.g. )


I always used to do:  SELECT column FROM table ORDER BY random() LIMIT 1;   For large tables, this was unbearably, impossibly slow, to the point of being useless in practice. That's why I started hunting for more efficient methods. People recommended:  SELECT column FROM table TABLESAMPLE BERNOULLI(1) LIMIT 1;   While fast, it also provides worthless randomness. It appears to always pick the same damn records, so this is also worthless.  I've also tried:  SELECT column FROM table TABLESAMPLE BERNOULLI(100) LIMIT 1;   It gives even worse randomness. It picks the same few records every time. This is completely worthless. I need actual randomness.  Why is it apparently so difficult to just pick a random record? Why does it have to grab EVERY record and then sort them (in the first case)? And why do the "TABLESAMPLE" versions just grab the same stupid records all the time? Why aren't they random whatsoever? Who would ever want to use this "BERNOULLI" stuff when it just picks the same few records over and over? I can't believe I'm still, after all these years, asking about grabbing a random record... it's one of the most basic possible queries.  What is the actual command to use for grabbing a random record from a table in PG which isn't so slow that it takes several full seconds for a decent-sized table?

Whenever I need to return a random record from my tables and performance matters, instead of:  SELECT column FROM table ORDER BY random() LIMIT 1;   I always do:  SELECT column FROM table TABLESAMPLE BERNOULLI(1) LIMIT 1;   This is much faster but it seems like it's not very random? It looks like a lot of the same records get returned when using this method repeatedly. Is it just me or is this method much less random (and less useful because of that)?


$1)$ I have a sequence defined in terms of a recurring relationship. Namely, $$s_0=\sqrt{2},\;s_{n+1}=\sqrt{2+\sqrt{s_n}}.$$ I could prove that it is bounded, but having difficulty in proving that it is monotonic so that I can apply Heine-Borel theorem to prove convergence. Can someone tell me how to do it? $2)$ Also how to calculate the limit rigorously. I calculated it using the fact that we can substitute both $s_n$ and $s_{n+1}$ with a supposed limit $l$. While it is intuitive that this approach works, I need a rigorous proof of how such an evaluation works without using concepts of continuity and differentiability as the book (baby Rudin) I am going through didn't reach there yet.

Here's Prob. 3, Chap. 3 in the book Principles of Mathematical Analysis by Walter Rudin, 3rd edition:      If $s_1 = \sqrt{2}$, and $$s_{n+1} = \sqrt{2 + \sqrt{s_n}} \ \ (n = 1, 2, 3, \ldots),$$ prove that $\left\{ s_n \right\}$ converges, and that $s_n < 2$ for $n = 1, 2, 3, \ldots$.    My effort:   We can show that $\sqrt{2} \leq s_n \leq 2$ for all $n = 1, 2, 3, \ldots$. [Am I right?]  Then we can also show that $s_n < s_{n+1}$ for all $n = 1, 2, 3, \ldots$. [Am I right?]  But how to calculate the exact value of the limit? Where does this sequence occur in applications?


Sorry if this is a dupe. Searching for 'extract bibtex' or 'export bibtex' just gives me results about getting bibtex from other formats, like zotero.  I have a single, huge biblatex file, where I keep all of my bibliographic information. I keep all of my tex work (essays, papers, collated notes etc.) under version control and push most of it to a personal git forge. Part of the reason I like this is that my research and writing processes are transparent ('open source writing' I suppose?), and if they wanted to, anybody could download the sources and compile my paper in a bigger font, or just extract a single chapter, or whatever.  programatically generated edition of the TLP is a great example of this sort of thing. For this to work properly, all the data necessary to compile the file needs to be present in the repo. Obviously the text and formatting are there, but since I have a monolithic, locally stored bib file, the reference data for resolving citations is not. I could just copy/hardlink the file into the repo, but this would introduce a big file with lots of unneccessary data. In the case of hardlinking (preferable for this sort of thing) adding something new would make it look as if there were changes in the repo, even when the new entry wasn't relevant to (cited in) the paper that repo contained. So what I want is to be able to dump all the data of every citation in a given .tex file into a file. I can then just add a commented line and explanation in the preamble that this file contains all the data. Presumably this will be part of the compilation chain -- part of latexmk, or some bibtex processing in the preamble? Obviously, I'd also like to make sure that the resulting file is as similar as possible between runs, with new references being the only difference, so  it should probably be sorted somehow. I can't be the first person to think about this sort of thing, so I'm sure there must be a great solution out there somewhere. Thanks in advance.

Normally, LaTeX will only create references for the BibTeX entries cited in the text. Is there a way of extracting these entries into a different .bib file automatically? For example if I have a .bib file with two entries, and only one is cited in a particular text, I need a way of creating a new .bib file with just that reference.


I want to be able to test a count of obj below but not able to do so. when I mouse over obj it shows a count of 3      <IEnumerable<File> obj = await _mytester.cleanup(myitems)   why cant i do this?      if(obj.count > 0)   The liine above is giving me an error

Whats the best/easiest way to obtain a count of items within an IEnumerable collection without enumerating over all of the items in the collection?  Possible with LINQ or Lambda?


There is a percentage displayed in the Careers profile.   Does anybody know what the basis of this is?

I noticed that a percentile is placed at the top of my resume in Careers 2.0.    How are these percentiles calculated? Is there a certain threshold you need to be over in order for it to be displayed?


(First Post Here so sorry if I did something wrong while posting) I recently decided to render a car, but when I pressed the render button I was greeted with a Grey Screen. I've been to many other forums and tried their solutions but none of them worked. So I thought maybe I did something wrong and I decided to render the default cube in a new project and nope the same thing happened again. I tried reinstalling blender and even updating it from 2.82 to 2.83 but nothing worked. And before you ask, Yes the camera button in the layers menu has been selected. After a bit more digging around I found out that a project I made a few months ago might've been the cause for it because every other project before that one renders perfectly. But every project after that one gives me the grey screen. Link to the project I want to render:  Link to the project which I think might've caused a problem:  Thank you

A scene I made is not rendering, at all. This grey screen stays the same and nothing changes.  Here are my settings:  [


How to check whether a given date is between two dates but it should not check with the time in given date.  I have tried with after but it checks for time range too.  Could anyone help me to know about this ?  TIA.,

I have a series of ranges with start dates and end dates. I want to check to see if a date is within that range.  Date.before() and Date.after() seem to be a little awkward to use. What I really need is something like this pseudocode:  boolean isWithinRange(Date testDate) {     return testDate >= startDate && testDate <= endDate; }   Not sure if it's relevant, but the dates I'm pulling from the database have timestamps.


I'm not sure if this is the right term, but we can OneBox tags like [tag:tag-name] and [meta-tag:tag-name]. It would be nice to be able to do this for badges as well.

I always found it odd that although I could compose  and  with  in , I can't do the same for a , , or . I assume that this is because, outside of Meta Stack Overflow, there is no real need to reference badges? Be that as it may, would there be any interest in adding badges to Markdown? I am envisioning a syntax similar to the one used for tags. For example,  [badge:great-question] Question score of 100 or more. This badge can be awarded multiple times.  or ( ):  [gold-badge:great-question] Question score of 100 or more. This badge can be awarded multiple times.  would be displayed as  Note that I am not proposing that you need to enter the badge description to display the badge, nor that the badge description will be automatically inserted. Typing [badge:great-question] (or [gold-badge:great-question]) would be sufficient to display the "Great Question" badge, which would ideally have a tooltip with the badge description and link to the badge page. (I used the badge description text in the example above only because it was easier to take a screenshot that way.)  and  are great examples of posts that would benefit from the addition of badges to Markdown. UPDATE:  has brought it to my attention that the idea of a badge creator is not a new one. Check out this post for .      , until inevitably . Luckily,   (as of May 23, 2013). Given the popularity and utility of these badges—their use in jokes notwithstanding—wouldn't it be better to have Stack Overflow host this functionality itself rather than have users rely on an external service that will inevitably go down?


So I'm trying to integrate this expression, but I'm not figuring out what's the best substitution to do...   $ \int \frac {1}{x^6+1} dx $  I tried to take $x^6 +1 $ and write $ (x^2 + 1) (x^4 -x^2 + 1) $ and then do partial functions, so I reach to the sum of two expressions.  One of them is easy to integrate...  But the other one:   $ \frac {x^2-1} {x^4 - x^2 + 1} $  I'm having trouble integrating...   Is there any easier method or is there a way to integrate this right from the beginning or can someone give a hint about how to integrate this last expression?   Thanks!

I came across following problem     Evaluate $$\int\frac{1}{1+x^6} \,dx$$   When I asked my teacher for hint he said first evaluate     $$\int\frac{1}{1+x^4} \,dx$$   I've tried to factorize $1+x^6$ as  $$1+x^6=(x^2 + 1)(x^4 - x^2 + 1)$$ and then writing  $$I=\int\frac{1}{1+x^6} \,dx=\int\frac{1}{(x^2 + 1)(x^4 - x^2 + 1)} \,dx=\int\frac{1+x^2-x^2}{(x^2 + 1)(x^4 - x^2 + 1)} \,dx$$ $$I=\int\frac{1}{x^4 - x^2 + 1} \,dx-\int\frac{x^2}{(x^2 + 1)(x^4 - x^2 + 1)} \,dx$$  However $$x^4-x^2+1=\left(x^2-\frac12\right)^2+\frac{3}{4}$$ But I can't see how it helps  I've also tried to reverse engineer the   And I need to have terms similar to $$\frac{x^2-1}{x^4-x^2+1} \quad , \quad \frac{1}{1+x^2} \quad , \quad \frac{1}{(x+c)^2+1}\quad , \quad \frac{1}{(x+c)^2+1}$$ in integrand, How can I transform my cute looking integrand into these huge terms?  Since in exams I will neither have access to WA nor time to reverse engineer the solution moreover it does not seem intuitive,is there any way to solve this problem with some nice tricks or maybe substitutions?


I have learnt that in complete norm space any series that is absolute convergent is convergent.  However, I am wondering is there any example of divergent series which is absolute convergent in that norm space.   Thanks

, Lemma $2.1$ states that      A normed space $X$ is complete if and only if every absolutely   convergent series is convergent.   I would like to know a series which is absolutely convergent but not convergent. Can someone give such example? I always thought that absolutely convergent series implies the series converges.


I wrote this piece of code of simple if statement and the out put is not it should be it gives   What is your Gender? male male The user did not answer the Question.  strong text public static void main(String args[]) {      Scanner userInput = new Scanner(System.in);     System.out.println("What is your Gender?");     String gender = userInput.nextLine();      System.out.println(gender);      if (gender == "Male" || gender == "male") {         System.out.println("Go to Room M1.");     } else if (gender == "Female" || gender == "female") {         System.out.println("Go to Room F1.");     } else {         System.out.println("The user did not answer the Question.");     }      userInput.close(); }

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?


How long should we wait for voting to close a question based on 'unclear what you are asking'?  Thanks !

Let's say that there is a question asked in a bad manner, in a way that the question is missing. For example the user shows the code and doesn't explain very well which is the problem.    Usually someone starts digging in the OP mind posting comments and asking him for details. It may happen that the question gets edited and the OP edits it to a valid question.    Do you usually give the OP time to edit the question or you immediately vote to close it?


If we fire a command with sudo in terminal, it asks for password for the first time and if we fire another command with sudo immediately in same terminal, it won't ask for password again. Why is it so ?  Does Ubuntu store the sudo password for sometime in cache? Can anyone else (another program/malware) use that password during that time span ?

Just installed a minimal ubuntu 12.04, then installed xfce4 and xinit from the command line after first boot.  Totally vanilla installation afaik.  I'm noticing that sudo caches the password until I issue sudo -k to clear it.  This is unexpected behavior in my mind.  I've run xfce4 before and don't recall credential caching being on, nor have I experienced it in the many previous ubuntu installs I've had over the years.  Is this a new feature of Ubuntu?  Is this something that's the result of the minimal install?  Is this an xfce default that's been added recently?


I know the basic matrix syntax in LaTeX but I am having problems with the type I have shown in the image . If anyone can help me with the encircled items it would be great:    So far I have this:  $$(3)(2)(1)\ \begin{vmatrix} {x}+{y}+ & {z}=33\\ 3{x}-8{y} & +7{z}=26\\ 5{y} & -3{z}=19 \end{vmatrix}$$   and it gives this result:

How to add label to index the rows and columns of the matrix ? because I want to number the line outside the matrix       \[     \begin{array}{lc}       \ Mat_{\varPhi to M} & \left(\begin{array}{@{}ccccc@{}}             1 & 1 & 1 & 1 & 1 \\             0 & 1 & 0 & 0 & 1 \\             0 & 0 & 1 & 0 & 1 \\             0 & 0 & 0 & 1 & 1 \\             0 & 0 & 0 & 0 & 1               \end{array}\right) \\[15pt]     \end{array}     \]


I am looking for an app that will let me transfer media from iPhone 5 to a PC without iTunes sync.  It has 3 atributes that I like:   works on any Windows upload media with no iTunes sync multiple iOS management

How can I sync my MP3 collection on my Windows 7 PC with my iPhone 4S without having to use iTunes?


I watched an anime around 2008-2010. In it, the main characters use crystals to summon monsters to fight.  All I can remember is the main characters' appearances:   one was a red hair male middle age one teen blond guy one teen girl

I am from India, this anime or animated series (I can't remember this was made by the Japan or other countries) was aired between 2009 and 2012 probably in Jetix/Disney XD (but I'm not sure).   This anime starts with a boy (the main character, I forgot his name) who find a stone (or crystal like thing) in his dad's property, his dad was missing that time. Some day he accidentally hire a creature/monster from that stone. Other day some creature attack him and he was saved by his creature and the story begins.   In his journey to solve the mystery he meets a middle aged man 'Dante' (probably that was the name; this is the only character name I can remember). He had also some stone. After that they meet with one girl and a women (one of the girls is same age with the main boy character and probably will become his partner as the story goes on). Another women probably Dante's partner.  Four of them started their journey to collect all the stone/crystal. They are collecting twelve legendary creatures to defend against their enemy. I watched till they collect 4 legendary creatures' stones. This anime is kind of touch with archeological things.  This story kind of matches with 'Kiba' anime series. This animation series name probably between 5 to 6 letters. That  galactic football was also hiring besides this anime series.


Lately my viewport render on eevee is fine and shows the textures and everything, but this time, when I open blender even if its 2.83 or 2.9 or 2.91 the problem still the same and gives me gray texture, and upon rendering the result is transparent. I checked my Film settings if i set it to transparent and its not, i don't know how to fix this.  note: when I switch to cycles render everything's fine

I don't know why but now, when i go in material preview or rendered (in solid mode it works fine), my object is entirely gray, or invisible idk, because it has the same color of the background. I've been working for days on this project without having this issue, it suddenly showed up. I tried opening other old projects and suddenly they all do the same so i guess it is some blender program setting that applies for all the projects, but idk how it happened cuz i didn't change anything :/, anyone got any tips?


When I open up my Minecraft Launcher it launches with no problem, but when I hit play, my launcher closes and then nothing else opens up. After a while, my Minecraft Launcher will reopen and say a crash occurred, this is what the crash report said:

I go to the Minecraft menu and click on singleplayer to test out the 1.9 update. I made a new world (no mods), it said downloading terrain and then it crashes every time (I've tried about 20 times now).  Has anyone else experienced similar issues and know what the fix may be?  Here is the launcher log:  Completely ignored arguments: [--nativeLauncherVersion, 301] [00:35:12] [Client thread/INFO]: Setting user: Teddy_Cromwell [00:35:12] [Client thread/INFO]: (Session ID is <censored>) [00:35:14] [Client thread/INFO]: LWJGL Version: 2.9.4 [00:35:14] [Client thread/WARN]: Removed selected resource pack resources (no region and battle music).zip because it's no longer compatible [00:35:14] [Client thread/INFO]: Reloading ResourceManager: Default [00:35:15] [Sound Library Loader/INFO]: Starting up SoundSystem... [00:35:16] [Thread-5/INFO]: Initializing LWJGL OpenAL [00:35:16] [Thread-5/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org) [00:35:16] [Thread-5/INFO]: OpenAL initialized. [00:35:16] [Sound Library Loader/INFO]: Sound engine started [00:35:18] [Client thread/INFO]: Created: 1024x512 textures-atlas [00:35:26] [Server thread/INFO]: Starting integrated minecraft server version 1.9 [00:35:26] [Server thread/INFO]: Generating keypair [00:35:27] [Server thread/INFO]: Preparing start region for level 0 [00:35:28] [Server thread/INFO]: Preparing spawn area: 5% [00:35:29] [Server thread/INFO]: Preparing spawn area: 8% [00:35:30] [Server thread/INFO]: Preparing spawn area: 15% [00:35:31] [Server thread/INFO]: Preparing spawn area: 21% [00:35:32] [Server thread/INFO]: Preparing spawn area: 27% [00:35:33] [Server thread/INFO]: Preparing spawn area: 34% [00:35:34] [Server thread/INFO]: Preparing spawn area: 42% [00:35:35] [Server thread/INFO]: Preparing spawn area: 48% [00:35:36] [Server thread/INFO]: Preparing spawn area: 56% [00:35:37] [Server thread/INFO]: Preparing spawn area: 66% [00:35:38] [Server thread/INFO]: Preparing spawn area: 74% [00:35:39] [Server thread/INFO]: Preparing spawn area: 81% [00:35:40] [Server thread/INFO]: Preparing spawn area: 91% [00:35:41] [Server thread/INFO]: Preparing spawn area: 98% [00:35:42] [Server thread/INFO]: Teddy_Cromwell[local:E:6d7525a7] logged in with entity id 301 at (244.5, 69.0, 244.5) [00:35:42] [Server thread/INFO]: Teddy_Cromwell joined the game # # A fatal error has been detected by the Java Runtime Environment: # #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fffcf6e6b37, pid=15456, tid=12424 # # JRE version: Java(TM) SE Runtime Environment (8.0_25-b18) (build 1.8.0_25-b18) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode windows-amd64 compressed oops) # Problematic frame: # C  [ig8icd64.dll+0x16b37] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # C:\Users\Connor\AppData\Roaming\.minecraft\hs_err_pid15456.log # # If you would like to submit a bug report, please visit: #   http://bugreport.sun.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release


I am stuck in this problem of integrating $e^{x^2}$. I was solving the linear differential equation of second order for damped oscillations in which i got this to solve

How can I do a closed form expansion of $\int e^{x^2} \, dx$? Please be specific as to which method I must use.


If $R$ is reflexive and transitive relation on set $X$. then show that $R$ intersection $R$ inverse is an equivalence relation on $X$? I have started this by proving that $R$ inverse is also reflexive and transitive but cannot get how to show $R$ intersection $R$ inverse is an equivalence relation on set $X$.

Let $R$ be a reflexive and transitive relation on $X$. Show that $R \cap R^{−1}$ is an equivalence relation on $X$.   I am stuck and feel like I am doing something wrong, any help would be much appreciated!  Here is what I have so far:  $R = \{1,2,3\}$  $X = \{2,3,4,5,6\}$  $R$ on $X = \{(1,2), (1,3),(1,4),(1,5),(1,6),(2,4),(2,6),(3,6)\}$  $R^{-1} = \{1,1/2,1/3\}$  $R \cap R^{-1} = \{1\}$  $R^{-1}$ on $X = \{(1,2),(1,3),(1,4),(1,5)(1,6)\}$  TRUE  Am I completely off-base or am I close?  Thanks!


Is it possible to check the version of the Flash Player installed in a browser using Javascript?

Does anyone have an example of script that can work reliably well across IE/Firefox to detect if the browser is capable of displaying embedded flash content. I say reliably because I know its not possible 100% of the time.


I want to buy a  for my . But I'm worried if the power supply is sufficient. The Dell Precision T1700  has a "365W 90% efficient (80 Plus® Gold Certified)" PSU and Dell says that it supports     one PCI Express® x16 Gen 3 graphic card up to 150W (total for graphics)   Does that mean I can use a graphics card as long as its maximum power is less than 150 W? Like , its "Maximum Graphics Card Power" is only 60 W, but its "Minimum System Power Requirement" is 400 W which is more than 365 W. So can I use it?

Note: This is intended to become a canonical post.  I got a dedicated graphics card of type XXX and it claims I need at least a YYY Watt PSU.   How big does my PSU really need to be?


I have a polygon shapefile that I would like to dissolve on a field called FID_merged (see below). For each dissolved polygon I would like to summarize a list of the countries.   I am using ArcGIS 10.3 and see that the only option for text-field statistics are first and last. How could dissolve on FID_merged and still maintain a list of all the countries for that FID_merged?  I am open to other non-esri solutions.

I have a table with 2 fields the first is for community and the second for the main community that it belongs to, as in the image  I want to summarize the second field (Belongs_to) but with an extra field (multiple value field) that shows components of each main community, as in the image  Could anyone help me please?


I have read the FAQ and "How to ask" guide. But even after following that sometimes the questions are straightly down voted, without anyone giving clear instructions of what was wrong.   Is there any way to add the "What's wrong" with every down vote? Or any way I can know what's wrong in the question?

Note: If you're looking for a simple explanation as to why comments aren't required on downvotes, see .   I used to get "upset" (though that is too strong a term) when I got downvoted without comment. If my answer isn't good enough then I'd like to know why. Not only does it improve the answer for the OP but it improves my knowledge too.  Where the down-vote has been explained I've found it useful & it has improved my answer, or forced me to delete the answer if it was totally wrong.  So is there any way we can encourage people to leave a comment? Perhaps they don't lose rep if they explain their down-vote?  I must admit though that I haven't always explained my down-vote either so you could call me a hypocrite. I've also grown a thicker skin over the months of using SO (it seems to have come with the higher rep score ;-)), so I'm less bothered about this now.


The following are related tutorial and articles:     I want to insert a movie in my slide with the following codes: \documentclass{beamer} \mode<presentation> {   \usetheme{default}         \usecolortheme{default}    \usefonttheme{default}    \setbeamertemplate{navigation symbols}{}   \setbeamertemplate{caption}[numbered] }  \setbeamertemplate{frametitle}[default][center] \usepackage[english]{babel} \usepackage[3D]{movie15} \usepackage[utf8x]{inputenc}     \begin{document} \begin{frame}{Movie} \begin{columns} \begin{column}{4.2cm} \begin{block}{A} \includemovie[autoplay,repeat]% {4cm}{3cm}{goose.mp4} \end{block} \end{column} \end{columns} \end{frame} \end{document}  I put the video in the same file of the this latex document. My video file is:    MP4 Video (.mp4) However, it only shows the following:  Well, I can open this video; however, I cannot open it in my pdf file. How to fix it?

I have been suffering from finding a PDF presentation viewer for beamer output on Windows that can play embedded videos (by media9 package) and show the elapsed presentation time. I have tried the following: Adobe Reader with tdclock package:  Pros: plays videos and loads tdclock properly Cons: sluggish and crashes frequently  Foxit Reader with tdclock package:  Pros: smooth viewer and plays videos  Cons: can't load tdclock clock/stopwatch despite enabling javascript   Impressive:  Pros: fast and has internal clock  Cons: can't play embedded videos   Dual-Screen PDF Viewer:  Pros: very fast, has internal clock and dual screen support  Cons: can't play embedded videos   Is there any other solution that can properly play embedded videos and show elapsed presentation time flawlessly and smoothly on Windows?  P.S. when I mean tdclock javascript is not loaded, those empty red boxes show up instead of the clock/stopwatch,  and when embedded video can't be loaded, a white page shows up.


I often come up with many questions, and I am not sure where to ask. Why doesn't StackExchange have an "archive" where general questions can be asked and kept, where then users with lots of rep can then migrate it to the appropriate site, (of which the asker might not know it exists) or if not then delete it as off-topic or whatever. Of course not everyone would be able to use it, only members, just like Area51 works.  I could propose the idea on Area51, but there is no category for that

Is there a catch-all place somewhere on the Stack Exchange sites where one can post a (any) question that does not obviously belong to any of the Stack Exchange sites?  Sometimes I have questions but I don't want to ask them on other sites (no need for names). I prefer to post it on the Stack Exchange network for various reasons.  If there isn't, are there plans for one? I imagine that if such a site exists, questions on that site can also be moved to other more specific sites when they exists, and it's not to be used to post questions which obviously belong to a specific Stack Exchange site.


Similar questions have been asked already but none of them have solved my problem:  I need to install a package on a standalone Linux box, specifically kdbg. Now I tired the command   sudo apt-get install --download-only kdbg   on a box connected to the internet, but it only downloads the package and dependencies that I don't have installed. Some of those dependencies (that command downloaded 117 total packages) have sub dependencies, and those sub dependencies have even more dependencies and I'm going down a rabbit hole trying to fish those packages out of the repo.  Now I tried using a couple of other commands that supposedly will download all dependencies, even the ones I have installed. I've tried    apt-get download PACKAGE && apt-cache depends -i PACKAGE | awk '/Depends:/ {print $2}' | xargs  apt-get download    and    apt-get download $(apt-rdepends <package>|grep -v "^ ").   Command one only downloads the direct dependencies, like the ones you'd find on packages.ubuntu.com if you were to search kdbg, and command two gives me the error message:  Can't select candidate version for package <package> as it has no candidate   for several different packages.  So, to restate my question, is there a way for me to download kdbg, all of its dependencies, all of those dependencies' dependencies, so on and so forth? Or perhaps I am using one of the above commands incorrectly?  Thanks in advance.

I have a friend who has got a computer that is not connected to the Internet. Is there any way to install software offline easily?


I'm having trouble using using commands on files that start with "-" (i.e. -file 1, -file 2). It is giving me invalid option errors.  For example:   cp '-file 1' '-file 2'   However, echo still works.  echo "Hello World" > '-file 2'   How can I make it so that the "-" does not signify that I'm choosing an option?

How do you remove a file whose filename begins with a dash (hyphen or minus) -?  I'm ssh'd into a remote OSX server and I have this file in my directory:  tohru:~ $ ls -l total 8 -rw-r--r--    1 me  staff  1352 Aug 18 14:33 --help ...   How in the world can I delete --help from a CLI?  This issue is something that I come across in different forms on occasion, these files are easy to create, but hard to get rid of.  I have tried using backslash  rm \-\-help   I have tried quotes  rm "--help"   How do I prevent the minus (dash or hyphen) character to be interpreted as an option?


I use the Texmaker compiler. I would like to know how do I increase the letter in the TEX typing box.

I've just updated Texmaker to 4.0.2. I've enabled the "file", "edit" and "tools" toolbars. But there is no buttons for changing font size etc. (E.g. in link below where is says "part", "label" and "tiny")    In earlier versions I have installed of Texmaker these buttons have always been there from the start, but now I can't seem to find them. Any suggestions?


How can I find out what my wifi password is for my iphone?  I entered what I thought was password but it will not connect.  I can't find it written down anywhere to be sure.

I've previously connected to a WiFi network on my iPhone but I have no way of finding out the password. Is there any way to recover the password after resetting my device to view saved WiFi passwords on the iPhone?


I am trying to simple update query with following syntax:  UPDATE cl SET cl_s="active_" WHERE id in (                 SELECT distinct                      c.id                  from                     cl          c,                     ac          a,                     cl_ac       ac                 where                     c.id=ac.cl_id                     and                     a.id=ac.ac_id                     and                      c.cl_s="someval"                     and                      a.ac_no !=""             ) ;   The error I get is: Error Code: 1093. You can't specify target table for update in FROM clause  I've read through posts which mention that MySQL is unable to run query like this. I'd want to know a seamless way to restructure such queries to a structure which works. The solution seems to be using joins instead but I can't seem to grasp the concept.  A pseudo code would be helpful, to help with the understanding. Something like   (Main query) where var in (subquery generating var list)   to   (main query) inner join (subquery generating var list) on var ???

I have a table story_category in my database with corrupt entries. The next query returns the corrupt entries:  SELECT *  FROM  story_category  WHERE category_id NOT IN (     SELECT DISTINCT category.id      FROM category INNER JOIN         story_category ON category_id=category.id);   I tried to delete them executing:  DELETE FROM story_category  WHERE category_id NOT IN (     SELECT DISTINCT category.id      FROM category        INNER JOIN story_category ON category_id=category.id);   But I get the next error:      #1093 - You can't specify target table 'story_category' for update in FROM clause    How can I overcome this?


I have a shapefile with 30 polygons. I want to create 30 shapefiles/layers from the original. I was doing this by selecting individual features and exporting them to a new layer.  Is there an automated way to do this?

I have a feature class with over 2,000 features, and I need to make them all individual feature classes based on a field.   Is there a way to do this?


I am using 16.04 Ubuntu. After login , I am getting blank screen, nothing is displayed, how to fix the problem.

I am trying to boot Ubuntu on my computer.  When I boot Ubuntu, it boots to a black screen.  How can I fix this? Table of Contents:


Well, the title says everything. I get this message when linking(compilation is successful):  F:/Android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/ ../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.ex e: ./obj/local/armeabi/objs/hellondk/Player/Renderer.o: in function Renderer::On SurfaceCreated():jni/Player/Renderer.cpp:63: error: undefined reference to 'void  GameObject::test<void>()'  GameObject.h:  class GameObject {     public:     ...     template<typename T> T test(); }   GameObject.cpp:  template<typename T> T GameObject::test() {  }   Renderer.cpp(using the template):  object = new GameObject(); ... object->test<void>(); // error here

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 have been reading about linear regression a lot on internet. And people everywhere use a model: y = w*x+b and I have huge difficulties to understand why? As well I think they are overthinking with loss function. If you check the code bellow, my prediction model doesn't have constant, still it's working just fine.  import numpy as np  X = np.random.randint(100,1000,100).reshape(50,2) #features y = np.mean(X,axis=1).reshape(50,1) #labels  w = np.random.random((2,1)) #weights  for i in range(100000):     model = X.dot(w) #model     loss = model-y #loss       w = w- (X.T.dot(loss))*0.0000000001 #gradient      if np.mean(np.abs(loss)) < 0.00001:         break   prediction_input = np.array([[8880,9000]])  print(prediction_input.dot(w))   Linear models are convex function, so local minima is always it's global. I am sure there is a reason to include constant b, however I don't get why. Is there any good explanation please?

I am running linear regression models and wondering what the conditions are for removing the intercept term.   In comparing results from two different regressions where one has the intercept and the other does not, I notice that the $R^2$ of the function without the intercept is much higher. Are there certain conditions or assumptions I should be following to make sure the removal of the intercept term is valid?


In economics literature, the IV approach uses what is commonly referred to as the “first stage” and the “reduced form”.     Should I italicize them instead? I'm not sure what to use because I have not written many economics research papers.

If I want to mention the word "furlong", for example, should I use furlong, "furlong", or 'furlong'? Also, am I correct in putting the punctuation outside the quotes?


I was born in Bosnia and grew up in Bosnia but the thing is that ever since my birth, my mom (who is NOT a native English speaker) has been speaking English to me.  Another thing is that half of my family lives in the USA and just because of that we use English 60% of the time.  I met my first English speaking friends when I was 3-4 years old, we kind of grew up together and when we grew old enough to discover Skype and other apps, we continued communicating through them all. My best friend is from Cuba, living in Miami, and other people I spend time with every day are not from Bosnia and they don't live here either, which means I've been using and listening to English 90% of the time.  I started teaching English when I was 15 and established my own online English school last year.   Even though I am a Bosnian who lives in Bosnia, I cannot speak Bosnian well at all. I always need people to translate words from Bosnian into English for me and from English into Bosnian when I'm trying to speak.  Now what bothers me is that many people keep saying that I am not a native English speaker just because I wasn't born in the US and because I am not an American.  I mean, does it matter? Does our nationality really have something to do with the language we speak? There are tons of Chinese people who cannot speak Chinese at all.  Are there any professionals out there who can explain this?

I think this particular phrase creates a lot of concern in English learners. From general conversation to posts here, we see native speaker a common usage when talking about a person who speaks English by birth. So according to this definition, inhabitants of all the countries considered as  should be considered as native speakers. But herein lies my confusion. Would we conclude a random inhabitant of these countries to be a native speaker (as there is a chance of them to be a English speaking person)?    Also, I think Native speaker can also be one whose mother tongue is not English but uses English a lot in day-to-day life. For example, I don't speak English by birth, but as , I have to use English daily for at least 5 hours a day in my normal life. So can I consider myself as native because I use it frequently?  UPDATE 1 - From Googling, I could not find any dictionary sites explaining this phrase. The results only include different forum answers. So I thought of asking the question here and perhaps wise users here can help me out with the actual meaning.  UPDATE 2 - Later I thought it is worth adding that Anglo Indian families (and some purely Indian families too) who are born and raised here in India, speak English from birth and their first language is English and English is their primary means of communication although I cannot admit they fully abide by or understand all English cultural values like a British or an American. So what can I call them? Are they native?


I have an iMac 27 inch, and one summer the room temperature was up to 40C, and I came home that day, and the hard drive was really slow.  I then rebooted the machine and it took something like 8 minutes to boot up since then.  So I suspect the hard drive is not working so well any more.  Can I now use one of those Samsung T1 SSD USB drive, or a Seagate 2TB external USB drive, or a WD Thunderbolt My Book, and boot up the iMac using this drive from now on?  The thing is, how do I make such a bootable drive, when the original iMac isn't working so well?  I do have a Mac Mini, a Macbook Air, and a Macbook Pro Retina, running Mavericks or Yosemite, so I do have some Macs to work with in order to set up this external hard drive.  (I supposed using the Samsung T1 would make the iMac really fast too?  That's because I can connect the Samsung T1 to my Macbook Pro and copy files at a speed of 400MB/s)  P.S. and actually, since my Mac Mini (with USB 3.0) has an internal 5400rpm hard drive, can't I make such an external SSD boot up drive for the Mac Mini, and boot up my Mac Mini using this SSD from now on, and make the Mac Mini run a lot faster that way?

Does anyone have a Terminal command-line recipe for making a new bootable USB flash drive for one of the new MacBook Air's?  Is there a way to dd copy the USB boot device that comes in the box and make the new copy bootable?  I'd like to make a new backup copy of the USB rescue device for my MBA, preferably on a much larger flash drive with room for a backup of some of my working directories.  Added:  And is it possible to make, not just a rescue drive, but a bootable USB drive that will boot a fully updated version of the OS (say 10.6.8 or later)?  If so how on a MacBook Air 11, and how big a USB stick will this require?


So let's picture ourselves a pretty drow priestess of Lolth, CLR3 which would make her a CR4 creature.  Add to her entourage Cuddles, an Owlbear Skeleton, CR 2 according to the MM and "Useless lot", three former priestess apprentices, now  Drow skeletons (we'll use the HUMAN skeleton for ease of use) CR 1/3 each all controlled with rebuke.  should i consider it a CR 4 or up the gains for a CR 5-6 encounter?  if she also raised/created undead and controlled them (assuming she was of a higher level) prior to meeting the group, would THAT change the CR?  Bottom line question: Would a lonely cleric, a cleric of the same level with rebuked undead and a cleric of the same level with both rebuked and created undead have the same CR?

Question The Dungeon Master's Guide explains that DMs  Do not award XP for creatures that enemies summon or otherwise add to their forces with magic powers. An enemy’s ability to summon or add these creatures is part of the enemy’s CR already. (You don’t give PCs more XP if a drow cleric casts unholy blight on them, so don’t give them more XP if she casts summon monster IV instead.) (37)  Does this mean the DM should not award XP for enemies added to the battlefield via spells and magic powers even if those spells and magic powers have been employed prior to the encounter? Further, what about enemies added to the battlefield via means other than spells and magic powers yet that still expend or exploit the creature's resources? A druid's animal companion and a paladin's mount are among the "magic powers" obviously included in the creature's Challenge Rating, but what about cohorts and followers via the feat Leadership (DMG 106) or animals that have been purchased using the creature's NPC Gear Value (DMG 127)? In short, did I miss--in the DMG or elsewhere--the section addressing creatures using their magical or nonmagical resources to have more creatures on their side before an encounter begins? If I didn't miss that section, is it a reasonable house rule to extend the rules above from the DMG to cover such encounters? (By the way, I know that Challenge Rating and Encounter Level are guidelines--wildly subjective and often inaccurate guidelines--, and therefore I'm unconcerned with an evaluation of the encounter's perceived difficulty. I know I must adjust Challenge Ratings and Encounter Levels based on the characters and circumstances.)  Background I'm designing an encounter with a hag covey (MM 144), and when 3 hags are within 100 ft. of each other one can employ the spell animate dead [necro] (PH 199) as a spell-like ability 3/day as a 9th-level caster. The covey's had both time and access to corpses. That means 12 9-HD CR 4 skeletons (the group of which is an EL 11 encounter) can be present alongside them. Further, one of the hags is a cleric who can cast planar ally [conj] (PH 261), and the hag's NPC Gear Value is sufficient to add to the enemies a 12-HD elemental or outsider to perform a "long-term task, one requiring up to one day per caster level" (PH 261), and that outsider or elemental could reasonably include a glabrezu (MM 43), kelvezu (MM2 61), rukarazyll (MM2 181), or an extremely liberal arcanaloth (MM2 203) with its at-will spell-like ability shapechange [trans] (PH 277-8). Yeah, I know--the Monster Manual 2 has some crazy stuff. Also, all 3 hags possess sufficient class levels to take the feat Leadership and, narratively, should have it. And, narratively, their cohorts should be present during their encounter with the PCs, and their followers should be nearby. Don't worry about the PCs' survival. They're tough. But I am worried about rewarding them appropriately if they defeat the covey. The hag covey has a lot of baggage but mechanically only generates treasure appropriate for an EL 18 encounter (3 CR 15 creatures) unless their animated dead, planar ally, cohorts, and followers all count toward that EL. I know I can totally ignore the entire Encounter Level calculation and instead use the skeleton horde and the planar ally as one encounter, the cohorts and followers as a second, and the hag covey as the boss fight, but I'd still like to know the actual rules.


i want to change the key. this is the output once i submitted the form.  Array (      [year] => 1      [event_name] => 2      [Sno] => 6      [First_name] => kodeesswaran      [Last_name] => thanagaraju      [Dept/Class] => cse      [topice] => test  )    i want to replace[Dept/class] to [Dept_class].  what array function i want to use  to replace that forward(/)

I have an associative array in the form key => value where key is a numerical value, however it is not a sequential numerical value. The key is actually an ID number and the value is a count. This is fine for most instances, however I want a function that gets the human-readable name of the array and uses that for the key, without changing the value.  I didn't see a function that does this, but I'm assuming I need to provide the old key and new key (both of which I have) and transform the array. Is there an efficient way of doing this?


Given I have two File objects I can think of the following implementation: public File convertToRelative(File home, File file) {     final String homePath = home.getAbsolutePath();     final String filePath = file.getAbsolutePath();      // Only interested in converting file path that is a      // direct descendants of home path     if (!filePath.beginsWith(homePath)) {         return file;     }      return new File(filePath.substring(homePath.length()+1)); }  Is there some smarter way of converting an absolute file path to a relative file path?  Possible Duplicate:

Given two absolute paths, e.g.  /var/data/stuff/xyz.dat /var/data   How can one create a relative path that uses the second path as its base? In the example above, the result should be: ./stuff/xyz.dat


I am trying to replace images that are not found, or that have width or height 1px. I managed to do this in PHP with this:  $imgName = $resultList->IMAGE1; // ex http://www.domain.com/image.png   if (@file_get_contents($imgName) && $imgName !== 'h') {     // detects the image size (NOT based on width and height attributes) $imgNamearray = getimagesize($imgName);  $size = $imgNamearray[3];     if ($size == 'width="1" height="1"') {       $imgName = $base_path . 'uploads/no-img.jpg';     }   } else {     $imgName = $base_path . 'uploads/no-img.jpg';   }   I tried this code in jQuery:   $('body').append('

'); $('#init').hide();  $('#myimg').bind("load",function(){     alert(this.height) })   which can be found in a fiddle here  but I am a noob in jQuery, please help me this. It's much appreciated.

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.


I have a folder parentdir with many directories like this:  $ tree parentdir/subdir_1  parentdir/subdir_1 ├── important.txt ├── important_001.txt ├── important_002.log ├── important_007.bmp ├── something ├── else.mp3 ├── nothing.000 └── ignore.me   What I want is to move all files with a name starting with important to the parent directory parentdir and renaming them by prefixing each file name with the name of the subdirectory they came from.  For example, parentdir/subdir_1/important_001.txt should be moved/renamed to parentdir/subdir_1-important_001.txt.  How can I most easily perform this bulk move/rename operation on a huge directory?

Given the following structure:  source/   dir1/    file1.ext1    file2.ext2   dir2/    file3.ext3     dir3/      file4.ext4   I want to achieve the following:  destination/  dir1file1.ext1  dir1file2.ext2  dir2file3.ext3  dir3file4.ext4   In other words, I want to move all the files, recursively, from source to destination, appending the original subdirectory name to the file name.


When I type nautilus I have these lines:   (nautilus:28316): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed     (nautilus:28316): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed Impossible d'enregistrer l'application: Le délai d'attente est dépassé    (nautilus:28316): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed     (nautilus:28316): GLib-GObject-WARNING **: invalid (NULL) pointer instance     (nautilus:28316): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed   I tried to reinstall Nautilus, but that did not fix the problem. Does somebody have any ideas as to how to fix the problem?

When I launch nautilus from terminal the following error is printed and nautilus doesn't open up.  (nautilus:25179): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed  (nautilus:25179): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed Could not register the application: Timeout was reached  (nautilus:25179): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed  (nautilus:25179): GLib-GObject-WARNING **: invalid (NULL) pointer instance  (nautilus:25179): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed   What could be the problem??