Previously, I was able to read from and write to my 128GB Micro SDXC storage card, which is always removed from my computer correctly (i.e. using the "eject" option)... It is also removed from my cell phone correctly, because I switch my cell phone off before I remove the storage card.  Now however, when I try to mount my storage card in Ubuntu, I am told:  Unable to access "Phablet"  Error mounting /dev/sdc1 at /media/gregoryopera/Phablet: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid,uid=1003,gid=1003,iocharset=utf8,namecase=0,errors=remount-ro,umask=0077" "/dev/sdc1" "/media/gregoryopera/Phablet"' exited with non-zero exit status 32: mount: unknown filesystem type 'exfat'   Nothing on my storage card has changed (i.e. it is the same format it has always been) and aside from the usual day-to-day updates, nothing on my computer has changed either...  Any assistance would be great.

I just installed Ubuntu 14.04 and I can't mount my exFAT HDD.  I get the following error:  Unable to access “SeagateHDD” Error mounting /dev/sdb1 at /media/me/SeagateHDD: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,iocharset=utf8,namecase=0,errors=remount-ro,umask=0077" "/dev/sdb1" "/media/me/SeagateHDD"' exited with non-zero exit status 1: stdout: `FUSE exfat 1.0.1 ' stderr: `ERROR: `Operating Systems' has invalid checksum (0x281c != 0x2450). '   I installed exfat-utils and exfat-fuse using apt-get but no luck. I also tried the repository ppa:relan/exfat but I got:  Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  fuse-exfat : Depends: fuse-utils (>= 2.7) but it is not installable E: Unable to correct problems, you have held broken packages.   Can anybody give me a hint? All my backed up data is on that HDD.  EDIT:  The output of $ sudo apt-cache policy exfat-fuse is:  exfat-fuse:   Installed: (none)   Candidate: 1.0.1-1   Version table:      1.0.1-1 0         500 http://ppa.launchpad.net/relan/exfat/ubuntu/ trusty/main amd64 Packages   Tried it on a Linux Mint and had the same problem. Also tried mounting it on a Mac and it worked perfectly so the data is not corrupted.  EDIT2:  It appears it was a problem with my HDD which apparently I unplugged from the USB port without unmounting and it had a checksum error. What I did was I plugged it on my Mac and it automatically did a fsck_exfat disk check which fixed the problem and I could load it on Ubuntu as well. I think a similar thing could be achieved on Ubuntu as well, but I don't know which tools to use to do so.


Assume I have a template class TemplateClass with a template function templFcn as follows:  template <typename T> struct TemplateClass {   template <bool Bool> void templFcn(int i) { } }; void test() {   TemplateClass<float> v;   v.templFcn<true>(0);  // Compiles ok. }   Now I would like to write a forward function to emulate this behavior  template <typename T, template<typename> class C, bool Bool> void forward(C<T>& v) {   v.templFcn<Bool>(0);  // Compiler error, Line 16 (see below) };  void test2() {   TemplateClass<float> v;   forward<float,TemplateClass,true>(v);  // Line 21 }   Compiler error by clang++:  test.cc:16:5: error: reference to non-static member function must be called   v.templFcn<Bool>(0);   ~~^~~~~~~~ test.cc:21:3: note: in instantiation of function template specialization       'forward<float, TemplateClass, true>' requested here   forward<float,TemplateClass,true>(v);   ^ test.cc:3:29: note: possible target for call   template <bool Bool> void templFcn(int i) { }                         ^ 1 error generated.   Can someone explain why such template forward failed in this case? And is there any way to circumvent it? Thanks!

In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template <typename T, typename Tail> // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template<typename U> struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion<U> dummy;      };     template< > struct inUnion<T> {     }; }; template <typename T> // For the last node Tn. struct UnionNode<T, void> {     // ...     template<typename U> struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template< > struct inUnion<T> {     }; };   The problem I have is in the typedef Tail::inUnion<U> dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion<U> names a type and not a function?


I am having a problem with getting my bibliography to show full last name for multiple authors. Here are two examples of my code and the compiled output: @article{12_equility,   author = {M. Hardt, E. Price and N. Srebro},   title={Equality of Opportunity in Supervised Learning},   journal = "arXiv",   year = "2016",   url={https://arxiv.org/abs/1610.02413 },   note = {[accessed: 14.11.2020]}   }  @article{10_FutureCriminals,   author = {J. Angwin, J. Larson, S. Mattu and L Kirchner},   title={Machine Bias: There’s software used across the country to predict future criminals. And it’s biased against blacks.},   journal = {ProPublica},   year = {2016},   url={https://www.propublica.org/article/machine-bias-risk-assessments-in-criminal-sentencing},   note = {[accessed: 15.11.2020]}   }  becomes:  E. P. M.Hardt and N.Srebro, “Equality of opportunity in supervised learning,”arXiv, 2016,[accessed: 14.11.2020]. [Online]. Available: https://arxiv.org/abs/1610.02413   S.  M.  J.  Angwin,  J.  Larson  and  L.  Kirchner,  “Machine  bias:   There’s  software  usedacross the country to predict future criminals. and it’s biased against blacks.”ProPublica,2016,  [accessed:   15.11.2020].  [Online].  Available:   https://www.propublica.org/article/machine-bias-risk-assessments-in-criminal-sentencing  This is all the code I have currently related to the bibliography: \usepackage[sort, numbers]{natbib}  \setlength{\bibsep}{0pt} \bibliographystyle{IEEEtran} \bibliography{references.bib}  If it is related then I am using Overleaf and I do not have much experience with Latex. [Solved] I found it out. I need to put "and" instead of "," between all authors. @article{12_equility,   author = {M. Hardt and E. Price and N. Srebro},   title={Equality of Opportunity in Supervised Learning},   journal = "arXiv",   year = "2016",   url={https://arxiv.org/abs/1610.02413 },   note = {[accessed: 14.11.2020]}   }

I use  to store all articles I need and bibtex4word add-on (in MS Word) to maintain the reference list. So, I would like to know how to properly fill the "author" field in Jabref with multiple authors to appear them correct in the reference list.  For example, I've got the article with several authors:      E. Orti, J.L. Bredas, C. Clarisse   And I would like them to appear in this manner. But instead I get this:     C. C. E. Orti, J. L. Bredas


Yesterday I was outside to do lawn weed eater to cut the grasses around the garden. So I had to plug it into the outlet at the top and bottom. It doesn't work at all. So, this morning I tried on one of these at a another place and different outlet. It was working. What might cause this jackwall not working?  I had a mouse trap equipment that is plugged earlier. I did smell something burned.. I have plugged in and check for the light to come on or not. It did not. Your thoughts for me to get it fixed? P.S. I am adding this electronic panel ...

Not getting power to outside outlet but have one outlet that has power on the outside checked the breaker it has not been tripped don't know what to do.  How do I fix it to work again? Maybe one month ago I had power, now only my front of the house works and back outside plug don't work both run on same breaker.


I want to change the whole background.I have installed many apps for this purpose that  demands to erase that part of pic.and i can't do it well..I think no one can do this well.I just want that thing on applying that it will really look like, u are at that place..no erasing no croping.do u know about such app?this all look unreal

I have like 30 different photos to process like this, but I want to know key things to maintain realistic photo by changing it's background, or maybe just modify background so it would be more pleasing to eye.(If you know tutorial related to my problem, please do provide it to me)  Here is the photo:   Here is my step 2:   Here is background:   Here is the result:   As you can see, it isn't any close to realistic feel. I fooled around with levels, but all I got was this and still it doesn't feels right.  First try:   Second try:   Update  Different background:


Show that the cross-product term \hat $y'r$ from $y'y$ is 0.  I see that $y'y = ( \hat y + r)'( \hat y + r) = \hat y' \hat y +  \hat y'r + r' \hat y + r'r$  But not sure what identity can be used here to break up  $\hat y'r$ such that it can be equal to 0.  r = residuals y = response value $\hat y$ = predicted value  The notes package written by a professor has this under an ANOVA section so the link you gave me, I'm not seeing the connection, but then again I also don't get the course notes and question so maybe I'm wrong here :|

In multiple linear regression, I can understand the correlations between residual and predictors are zero, but what is the expected correlation between residual and the criterion variable? Should it expected to be zero or highly correlated? What's the meaning of that?


I have a mixed design ANOVA, with a 2 level between-subject and a 7 level within subject variable. What is the appropriate post-hoc test after a significant ANOVA?  I'd like to see R code in the response.

I have performed a repeated measures ANOVA in R, as follows:  aov_velocity = aov(Velocity ~ Material + Error(Subject/(Material)), data=scrd) summary(aov_velocity)    What syntax in R can be used to perform a post hoc test after an ANOVA with repeated measures? Would Tukey's test with Bonferroni correction be appropriate? If so, how could this be done in R?


Let $f\colon\mathbb R \to \mathbb R$ be convex and $X_1,\ldots,X_n$ be i.i.d. random variables. Is it true that $\mathbb E f(n\cdot X_1) \ge \mathbb E f(X_1 + \cdots + X_n)$? It seems like one approach is to show that $X$ is a mean-preserving spread of the average of $n$ independent copies of $X$. Is there a name for this sort of result? (Also, is there a name for this sort of inequality?)

Let $f\colon\mathbb R \to \mathbb R$ be convex and $X_1,\ldots,X_n$ be i.i.d. random variables (e.g., uniform). Furthermore, suppose $g_1,\ldots,g_n\colon\mathbb R\to\mathbb R$ are increasing. Is it true that $$\mathbb E f(g_1(X_1) + g_2(X_1) + \cdots + g_n(X_1)) \ge \mathbb E f(g_1(X_1) + g_2(X_2) + \cdots + g_n(X_n))? $$ Like the previous version of this question (), which is the special case where the $g_i$ are all the identity, it seems like one approach is to show that $g_1(X_1) + \cdots + g_n(X_1)$ is a mean-preserving spread of $g_1(X_1) + \cdots + g_n(X_n)$. As before, I am also curious if there is a name for this sort of result/inequality.


Let $\left(f_n\right)_{n \in \mathbb{N}}$ be the Fibbonacci sequence. I've seen that: $$ \sum_{n=0}^{+\infty}\frac{1}{f_{2^n}}=\frac{7-\sqrt{5}}{2} $$ I wonder how we can prove this result. Any hint ?

let sequence $\{F_{n}\}$ such $$F_{1}=1,F_{2}=1,F_{m+1}=F_{m}+F_{m-1},m\ge 2$$  Find this value      $$I=\sum_{k=0}^{\infty}\dfrac{1}{F_{2^k}}$$   My try: I know this      $$F_{n}=\dfrac{1}{\sqrt{5}}\left(\left(\dfrac{\sqrt{5}+1}{2}\right)^n-\left(\dfrac{\sqrt{5}-1}{2}\right)^n\right)$$   so     $$\dfrac{1}{F_{2^k}}=\dfrac{\sqrt{5}}{\left(\dfrac{\sqrt{5}+1}{2}\right)^{2^k}-\left(\dfrac{\sqrt{5}-1}{2}\right)^{2^k}}$$   so   we only find this sum   $$I=\sum_{k=0}^{\infty}\dfrac{\sqrt{5}}{\left(\dfrac{\sqrt{5}+1}{2}\right)^{2^k}-\left(\dfrac{\sqrt{5}-1}{2}\right)^{2^k}}$$   But I can't.Thank you


I tried making hot cross buns over the weekend using gluten free flour. I used a standard recipe and tried substituting All purpose flour for a GF version and White bread flour for a GF version.  The recipe calls for 2 cups of each with 1/2 cup warm water and 1/2 cup warm milk and 1 1/2 tsp yeast.  However my dough just didn't rise. Can anyone give me some suggestions so as to ensure the dough rises?  Many Thanks

What can I add to make my gluten free buns a decent size.  I have tried for years. There has to be something to lift them and make them to the same size as our regular hot cross buns


I need to change a bunch of HTML elements to just show values instead of showing the input with the value... With normal input's it's a breeze, but with the radio buttons it's proving to be quite a bit more difficult. And I assume checkboxes will have the same issue since they both use multi-line with php loops...  Please Note: $array is an existing array with the field's values in it  Is it possible to use regex to change the below code:
             The Column's Title Is Shown Here	                              <fieldset id="radio_group_name">                     <?php                         foreach ($radio_group as $option){                             ?>                                 <input type="radio" value="<?php echo $option; ?>" name="radio_group_name" <?php echo ($array->radio_group_name==$option ? "checked='checked'" : ""); ?>> <?php echo $option; ?>                             <?php                         }                     ?>                 </fieldset>
   And convert it into:
                 The Column's Title Is Shown Here	                 <?php echo $array->radio_group_name; ?>
   I used  to build a regex command and used  to test it, but RegExr says that there is no match when I use something like /<fieldset id="(?:.*)(?:type\=\"radio\")(?:.*)(?:\<\?php)/gim and other phrases...  When I remove fieldset id=" from the regex it pick's up the input, aswell as when I remove the below line's info it does pickup the fieldset id=" line, but I can't get it to work with the 2 together, think it may be because it's split accross a couple of lines...  Does anybody know of a solution?

For example, this regex  (.*)<FooBar>   will match:  abcde<FooBar>   But how do I get it to match across multiple lines?  abcde fghij<FooBar>


When I do an exercise, I want to generate a m*n list , and all the elements are 0. I find an interesting question:  # first way a = [[0]*n]*m a[0][0]=1 # then I find a[1][0]=1,a[2][0]=1....  # second way b = [[0 for _ in range(n)] for _ in range(m)] b[0][0]=1 # in this way, I get the normal effect   I am confused about the first way, what is the * means for list?

I needed to create a list of lists in Python, so I typed the following: my_list = [[1] * 4] * 3  The list looked like this: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]    Then I changed one of the innermost values: my_list[0][0] = 5  Now my list looks like this: [[5, 1, 1, 1], [5, 1, 1, 1], [5, 1, 1, 1]]    which is not what I wanted or expected. Can someone please explain what's going on, and how to get around it?


If a First Striker does lethal damage to an indestructible creature, does this remove the creature from combat so it can not deal any damage?  Another scenario: An indestructible creature is dealt lethal damage, has destroy cast on it, or is hit during combat by a creature with deathtouch. Would casting  in the second main phase cause it to be exiled?

If I were to attack with a 4/4 indestructible creature and it's blocked by a 4/2 creature with first strike, would my indestructible creature still attack during the second combat damage step, or would it just tap, not assigning any damage?


My understanding is that most data uploaded to iCloud from an iPhone is encrypted on some server and that apple possesses the decryption key to this data. For example, files from the Files app can be stored in iCloud Drive, which can then be decrypted by Apple. But what about the generic iPhone backup that essentially stores a clone of the device in the cloud? Can Apple simply decrypt and view the full contents of your device when you back it up to iCloud?

Are iCloud backups encrypted, both when transmitted and stored? Is it possible for someone at Apple to access any backup made to the data enter?  I have heard that when apps have been pulled from the app store they have also been removed iCloud backups, so if they can be modified by apple then surely they aren't stored securely?  I have a lot of my passwords for websites and apps saved, so I assume these are stored in the backups as well?


I have an admin facing user profile page which allows admins to make any changes needed to each user. I am trying to create a quicker way for the admins to add/remove roles using jquery/javascript. I have a drop down list with all the available roles and a
 with the roles the current user is in. My issue is when I add a role from the drop down list dynamically and it gets placed in the
, if I try and remove it from the ul I cant.  @model Dev.Internal.Models.UserAndRolesDTO
Existing Roles

     @Html.DropDownList("AddRole", null, "-- Select Roles --", new { @class = "form-control" })              <input id="RoleButton" type="button" value="Add Role" class="btn btn-primary"  />

                 @foreach (var item in Model.colUserRoleDTO)                 {
                         @Html.DisplayFor(modelItem => item.RoleName)                         @if (!((Model.UserName.ToLower() == this.User.Identity.Name.ToLower()) && item.RoleName == "Administrator") && item.RoleName != "No Roles Found")                         {                             Remove                         }
                 }

                   //add roles on button click         $('#RoleButton').click(function () {             var listvalue = $('#AddRole :selected').val();             if (listvalue != "") {                 $('#Rolegroup').append('
' + listvalue + ' Remove
');                  $('#AddRole :selected').remove();             }         });                  //remove rolls on  click         $("#Rolegroup a").click(function () {             var currentli = $(this).parent();             $(this).remove();             var foption = $('#AddRole option:first');             $('#AddRole').append('<option>' + currentli.text() + '</option>');             var soptions = $('#AddRole option:not(:first)').sort(function (a, b) {                 return a.text == b.text ? 0 : a.text < b.text ? -1 : 1             });             $('#AddRole').html(soptions).prepend(foption);               currentli.remove();         });      });   When I click on the
 Remove anchor it should remove the
 from the
 and add the text back into the dropdown list.

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'd like to identify this anime TV show or movie.  I saw it about 6 years ago, late night, on Cartoon Network/Adult Swim/Toonami/Boomerang, in English language.  At the beginning of the show there was these monsters that were attacking a village or a town and then this girl gave him a gem that was on her forehead. The gem bonded to him and then he fled away from the destruction. There was about 5 to 8 people that had these "gems" and they were teaching him how to use and how to transform into these bio monsters.   There were different elements: one guy had the water element. But the kid had a special type of "gem" that nobody knew what his powers or limit was. The crystal or gem was blue.

Typical Japanese style anime art, it was a series.   It has been around for more than 6 years. I think it mixed fantasy and sci-fi. It was certainly not Isekai and it has no magic, it feels more like revered science. A boy gets a gem embedded into his arm after a terrorist attack and transforms into a white and orange humanoid being. There are more people able to transform into these beings. There is also a red flying ship with a dark yellow underbelly that throws boxes with parachutes. There is also this top-secret laboratory where the scientists study how to battle against the beings. There are some other flying ships of varying colors. If I remember correctly, the protagonist gets amnesia near the end of the plot.


During the installation process I was asked to set a password. I chose a password (a strong one) and everything goes smoothly every time I log in. Problems arise whenever I resort to "sudo" or "su" commands ...  I mean, if I type "sudo or "su" I'm compelled to provide a password and whenever I type  the password I choose during the installation process I get this error:  Authentication failure   Can someone help me?

I am having problems with the su command. I know my password and I am typing it correctly but su indicates authentication failure.  So I checked on the internet and then went into recovery mode and changed my username's password to what I was entering before.  Even now entering the same password on su gives me authentication failure.  Please suggest what am I doing wrong??


Am new at ubuntu. I downloaded flash plugin for my ubuntu, and install it from the terminal but it does not play the movie on YouTube it seams installed, and there is sound and the first picture is there. and when I installed the libflashplayer.so, and in terminal i type:            # rah -Uvh libflashplayer.so.    I tried several times and it seems installed but those are  not working probably.  Can some one please help me?

I have had significant problems with watching flash video in 64-bit Ubuntu.  Does anyone know of a good way to get flash running on the platform?


I have a Schengen visa from French embassy valid between 25-05 to 10-06-2019 for the stay of 15 days.  I want to travel on 6th June for 10 days. That is 6th June to 16th June, is it ok or do I have to travel between 25-05 to 10-06-2019. Please advise.

I'm from Tunisia and I got a Schengen visa from the Austrian Embassy for  28 days, the “duration of stay”, and the number of entries is 1. But the validity of the visa is from 02/08/2015 to 13/09/2015.  Do I have to stay only 28 days, for example from 02/08/2015 to 29/08/2015 or can I stay there until 12/09/2015 ?  And if I have got to stay only 28 days, then can I choose the days of stay, that's mean can I stay in Austria for example from 09/08/2015 to 05/09/2015?


I stumbled across this problem and I realize that it's propably easy but somehow I can't imagine the problem properly. Prove that the maximal number of monomials (that are not similar) of polynomial $n$ variables of a degree $d$ is equal to $\binom{n+d}{n}$

If we consider a multivariate polynomial of $n$ variables with degree $N$, how do we show that the maximal number of monomials is $$\binom{N+n}{n} = \frac{(N+n)!}{n!\, N!}\quad ?$$  The hint our teacher gave was that the number of monomials is the number of independent coefficients. So how many independent coefficients does a multivariate polynomial have (at most)?  Thank you.


I'am running win XP sp2. How to check that whether I have admin rights or not?  I can't check the system properties. I don't have that much items in the configuration panel. It seems I don't have admin rights, but how to check that formally ? Is there any command line tools for that?

I am looking to write a script that takes user input, then makes system wide changes. I need this to be very generic, but simply put, at the top, I need it to check to see if it's being run 'As an Administrator'. If it's not, then I want to display a message to tell them that; if it is, I want it to continue on. Is there a constant way to verify this? I am not looking to start a new session as the Administrator, I just want to detect if it's currently run as admin


I am not from a physics background. I came to know this while studying probability? Is this because the planets are nearer than the stars so we get average behaviour rather than random. Is law of large number used here? Can anyone explain in detail.

Why do stars flicker and planets don't? At least this is what I've read online and seen on the night sky. I've heard that it has to do something with the fact that stars emit light and planets reflect it. But I don't get it, isn't this light, just "light"? What happens to the reflected light that it doesn't flicker anymore?  I was thinking that it has to do something with Earth's atmosphere, different temperatures or something (if this has any role at all).


Sometimes people post local web server or arbitrary non-existent example URLs as reference to their issue. In those cases it should be possible to avoid the auto-linking of them.  I know that you can do that by using backticks as described in an answer to "", though this also formats the URL as code, which it isn't and which makes their display different to linked URLs.  I , which is using a numeric character reference for one slash like this:  https:&#47;/someexamplewebsite.com => https://someexamplewebsite.google.com  This works as expected for questions and answers, but it doesn't work in comments and is rather a hack.  It would be better if the used markdown syntax could be extended, so that people can escape the URL somehow to avoid the auto-linking, e.g. by preceding it with a backslash or enclosing it in curly braces or something similar.  Examples where this would be needed:

As most of you know, putting a link into a post automatically makes it a link (e.g. ) We can force the linkification with angle brackets (<http://localhost/>) if the markdown somehow misses it. But (as far as I know) there's no way to force the address to not be made a link.  Such a feature would be nice when we need example addresses, there's no reason to have a link to , for instance, or , from the question where I thought of this.   I think an easy way to mark this up would be something like <!http://example.com>, making the address appear in plain text without the hyperlink.  This came to my attention in this question:


I saw a user spamming Stack Overflow, how can I flag them for moderator attention other than posting here?

I think the community does a great job policing questions/answers, etc. and the community has some good tools available to do this.  Between flagging questions with some reasons behind it and editing posts, closing them, and deleting them, the only thing that seems to be missing to me is the ability to flag a user.  Reasons to flag a user as abusive:   Duplicate User Abusive Behavior Offensive user name or profile User profile consists of spam Others?


The package: "libtiff4" is now unavailable.  So, for people who have problem trying to install libtiff4:i386  And came out with this output:  zorin@Samsung-NP300E4Z-S03TH:~$ sudo apt-get install libtiff4:i386 Reading package lists... Done Building dependency tree        Reading state information... Done Package libtiff4:i386 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'libtiff4:i386' has no installation candidate zorin@Samsung-NP300E4Z-S03TH:~$   The answer is below.

When I try to install libtiff on my 64-bit Ubuntu, I get the following error:  sudo apt-get install libtiff Reading package lists... Done Building dependency tree        Reading state information... Done Package libtiff is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'libtiff' has no installation candidate ubuntu@ip-10-119-97-123:/mnt$ libtiff-memcached  libtiff-memcached: command not found


I was wondering if it's possible to change directory of a shell from a bash script, but keep the directory change persistent to more than just the subshell.  I'm aware that when you run cd inside a bash script the directory will only change inside the subshell, and when you get back out you'll return to whatever directory you were in.  However, I want to make a command to bring me to certain directories. I could use an alias, but there are a lot of subdirectories that I would have to make an alias for..

I want to run a script to simply change the current working directory:  #!/bin/bash cd web/www/project   But, after I run it, the current pwd remains unchanged! How can I do that?


I recently was notified by my monitoring service that a few Windows 2008 servers (hyper-v instances) were down.  I logged into the Hyper-V box and noticed everything was super slow. I opened task manager and saw that while CPU and RAM were fine, network utilization on our "Public" NIC was at 99%.  This lasted for about 10 minutes, during which time I found that disabling inbound connections for one of the servers caused the network saturation to drop to normal levels. I disabled that server's inbound connections to allow the other servers to operate, and eventually the traffic went away.  I suspect this was a DDOS or regular Denial of Service attack, but it seems pretty random. The server in question is very low visibility and not a lot of value would come from someone taking it down.  What would be the best way to tell if I am experiencing a DDOS attack? Is there anything else that you could think of that would cause this, and, if so, what should I look for?  EDIT: This happened again. I tried netstat -noa but didn't see anything useful. I was hoping there was some command or program I could run that would show me how much bandwidth each IP is using (i.e., it says network utilization is 100%, but how does that add up). Does anything like that exist?

This is a  about DoS and DDoS mitigation.   I found a massive traffic spike on a website that I host today; I am getting thousands of connections a second and I see I'm using all 100Mbps of my available bandwidth.  Nobody can access my site because all the requests time out, and I can't even log into the server because SSH times out too!  This has happened a couple times before, and each time it's lasted a couple hours and gone away on its own.  Occasionally, my website has another distinct but related problem: my server's load average (which is usually around .25) rockets up to 20 or more and nobody can access my site just the same as the other case.  It also goes away after a few hours.  Restarting my server doesn't help; what can I do to make my site accessible again, and what is happening?  Relatedly, I found once that for a day or two, every time I started my service, it got a connection from a particular IP address and then crashed.  As soon as I started it up again, this happened again and it crashed again.  How is that similar, and what can I do about it?


Kubernetes seem to require docker version 18.09 even if newer versions exist such as 19.03...  When installing on CentOS, I made sure to pass the right version to yum.  Unfortunately, I did a yum update / yum upgrade after and it upgraded docker's version to the newest...  In Kubernetes documentation, it is specifically written to use 18.09, and I also get some warnings after issuing the kubeadm init command.  2 questions here...   Why is still the newest K8s version not supporting 19.03? How can I make sure CentOS doesn't update 18.09?   Thank you very much!

For certain reasons I have to keep a slightly older version of a particular RPM installed on my box (Fedora 11). The problem is that every time I do a package update yum (or one of its GUI equivalents) wants to update this RPM to the latest version, which is annoying - especially when I update it by mistake.  Is there a way to 'pin' this version so that yum knows to never try and update it?


have the following traits (Monster Manual, p. 135):  Eldritch Rejuvenation. A flameskull's shattered fragments reform unless they are splashed with holy water or subjected to a dispel magic or remove curse spell. If it can no longer fulfill its intended purpose, the re-formed flameskull is beholden to no one and becomes autonomous. Rejuvenation. If the flameskull is destroyed, it regains all its hit points in 1 hour unless holy water is sprinkled on its remains or dispel magic or remove curse spell is cast on them.  If you defeat a creature like a flameskull, and wait for an hour until it rises again, then you kill it again, wait another hour, and kill it yet again... would you earn the XP each time you kill it? (Basically making an XP factory.) Is there any rule which forbids that exploit?  Related question on . This question differs from it because the creature is returning by its own natural ability and not a mechanic provided by an adventurer, which might affect whether it counts as “defeated” for the purpose of earning XP.

The party defeats a group of creatures by killing them, earning XP. Can they then raise the corpses as undead, release control so they're uncontrolled undead, then kill the undead for more XP?  Is experience granted for both killing the creatures and for the undead?


Toggles have a problem: the state the toggle is in is the opposite of the action taken when the toggle is clicked.  E.G. if my toggle is on, it should display that it is on, but if I click the toggle, it should become off. So should the toggle visually indicate the state it is in ("on") or the action the user is taking ("off").  Is there a best practice for solving this dilemma?

I have a quick question about buttons that toggle between two states. (Think Play/Pause, or Shuffle/Regular Play.) As the title says, should the toggle show it's current state or the state to which it will transition?  I think people are used to the Play/Pause convention. But the Shuffle/Regular play might be more confusing if you show the transition state instead of current. For example, the built-in music player on the Xbox 360 does it this way: when it's in shuffle mode, it shows the icon for direct play and vice versa and it always confuses me (am I in shuffle mode or straight play).  I see it this way: Play/Pause is more like action as in begin playing or pause playing. Yes behind the scenes it is a state transition but to the user, there is an action. Whereas Shuffle/Straight Play is an option and it's best to show the current state (and possibly have only one icon and change button to show that the option is enabled/disabled). Thoughts?


According to Wolfram, the axiom of foundation is equivalent to, ""A set contains no infinitely descending (membership) sequence". Why is this true?

I'm wrestling with the elementary implications of the Axiom of Regularity.  The axiom:  $∀A(A≠∅→(∃x∈A)(A∩x=∅))$  implies that every set A either has $∅∈A$, or it has some element $x$ such that $x∩A=∅$.  My questions: (1) If $x∈A$, and $x$ is not a subset (or, x is a subset that consists of only one element, i.e. {1}), then does $x∩A=∅$? I'm trying to understand how $x∩\{1,2,3\}=∅$   (2)How does this guarantee no infinitely descending sequences?   Thank you for your time.


Suppose that $f$(x) is a function on (0, +∞), satisfying that $f$(2x) = $f$(x). If lim x→∞ $f$(x) = A, prove that $f$(x) ≡ A for all x ∈ (0, +∞).  Hi, I am trying to understand this question but I have no idea how to approach this. I also don't fully understand why the 'identical to' sign is there rather than the equal sign. Any help would be appreciated!

If $\lim_{x\rightarrow\infty}f(x) = A$, prove that $f(x)\equiv A$.  Any help would be appreciated! I just don't even understand the question.


Find attached below mentioned error fixing sample tex document   \documentclass[twocolumn]{article}  \usepackage[noblocks]{authblk} \usepackage[switch]{lineno} \usepackage{mdframed} \usepackage{amsmath} \def\@editor{} \def\editor#1{%      \gdef\@editor{\raggedright \textbf{Edited by:}\newline #1}}  \def\@reviewer{} \def\reviewer#1{%      \gdef\@reviewer{\raggedright \textbf{Reviewed by:}\newline #1}}  \def\@metanote{} \def\metanote#1{%      \gdef\@metanote{\raggedright  #1}}  \def\@correspondence{} \def\correspondence#1{%      \gdef\@correspondence{\textbf{\textit{*Correspondence:}}\newline%        \raggedright  #1}}  \def\@abstract{} \def\abstract#1{%      \gdef\@abstract{\fontsize{9.5}{11.5}\selectfont #1}}  \def\@keywords{} \def\keywords#1{%      \gdef\@keywords{\textbf{Keywords:} #1}}  \def\@firstpara{} \def\firstpara#1{%      \gdef\@firstpara{\raggedright  #1}}  \mdfdefinestyle{theoremstyle}{% linecolor=black,middlelinewidth=2pt,% theoremseparator={~|},% frametitlerule=false,% apptotikzsetting={\tikzset{mdfframetitlebackground/.append style={% shade,left color=white, right color=black}}}, frametitlerulecolor=black, frametitlerulewidth=1pt, innertopmargin=6pt, innerbottommargin=6pt, innerleftmargin=6pt, innerrightmargin=6pt, frametitlebelowskip=0pt, }    \mdtheorem[style=theoremstyle]{keybox}{KEY CONCEPT}  \begin{document}  \linenumbers  \title{Hormonal crosstalk for root development: a combined experimental and modeling perspective} \author[1]{Junli Liu} \author[2]{James Rowe} \author[2]{Keith Lindsey} \affil[1]{Integrative Cell Biology Laboratory, School of Biological and Biomedical Sciences, The Bio physical Sciences Institute, Durham University, Durham, UK} \reviewer{Jedrzej Jakub Szymanski, Max Planck Institute of Molecular Plant Physiology, Germany } \reviewer{Dimas Mendes Ribeiro, Universidade Federal de Vi\c{c}osa, Brazil} \correspondence{Keith Lindsey is Professor of Plant Molecular Biology.} \abstract{Plants are sessile organisms and therefore they must adapt their growth and architecture to a changing environment.} \metanote{$\dagger$Joint corresponding authors} \keywords{root development, POLARIS peptide, hormonal crosstalk, osmotic stress, kinetic modelin} \firstpara{\section*{Introduction} Hormone signaling systems coordinate plant \hfilneg} \maketitle   \noindent Patterning in Arabidopsis root development.   \begin{keybox}[POLARIS (PLS) peptide] The POLARIS (PLS) peptide was identified in the plant species Arabidopsis thaliana by promoter trapping. The gene encodes a mRNA of ca. 600 bases, at the 3-end of which is a 36 amino acid open reading frame (ORF). Translation of the ORF is required for biological activity. The tran- scriptional start of the gene overlaps with the 3-UTR of an upstream gene. Expression of the PLS gene is strongest in root tips, but is also detectable in young leaves, and is induced by auxin. Mutation of POLARIS leads to several developmental defects, including a short root phenotype and reduced vascular complexity in leaves. Recent results show a role for PLS in repressing ethylene responses, and in promoting ethylene-mediated auxin biosynthesis. \end{keybox} \begin{align*}           \sin A \cos B &= \frac{1}{2}\left[ \sin(A-B)+\sin(A+B) \right] \\           \sin A \sin B &= \frac{1}{2}\left[ \sin(A-B)-\cos(A+B) \right] \\           \cos A \cos B &= \frac{1}{2}\left[ \cos(A-B)+\cos(A+B) \right] \\ \end{align*}  \begin{figure} \caption{DR5::GFP expression in wild type and pls mutant, showing difference in auxin gradients (upper panel), and PIN1 immunolocalization in wildtype and pls mutant, showing differences in PIN protein levels (lower panel). This ?gure is adapted with permission from the Figure 4 of Liu et al. (2010a) and the Figure 1 of Liu et al. (2013).} \end{figure}  \end{document}

I am using lineno.sty package. I am using package in two column layout. I am using the lot environments like "Opening page mini page concept, Keybox, figures, tables, lot of user defined environments is used. But I can't get the line number output all the environments.   My requirement is I would like to control single command like "\linenumbers" all the environments automatically print the line numbers. Any other option is available in the lineno.sty style file or any other packages is available to create the line numbers without disturbing any environments.  My tex file coding below mentioned:  \documentclass{article}  \usepackage[switch]{lineno} \begin{document}  \linenumbers  \title{Hormonal crosstalk for root development: a combined experimental and modeling perspective} \author[1]{Junli Liu}} \author[2]{James Rowe} \author[2]{Keith Lindsey} \affil[1]{Integrative Cell Biology Laboratory, School of Biological and Biomedical Sciences, The Bio physical Sciences Institute, Durham University, Durham, UK} \editor{Wagner L. Ara\'{u}jo, Universidade Federal de Vi\c{c}osa, Brazil} \reviewer{Jedrzej Jakub Szymanski, Max Planck Institute of Molecular Plant Physiology, Germany } \reviewer{Dimas Mendes Ribeiro, Universidade Federal de Vi\c{c}osa, Brazil} \correspondence{%\protect\includegraphics{Saravana.jpg}\newline Keith Lindsey is Professor of Plant Molecular Biology in the School of Biological and Biomedical Science sat Durham University, UK. His research interests are in understanding how genes and signaling systems regulate the development of plants. Most of his work is with the model experimental organism Arabidopsis thaliana.\newline} \abstract{Plants are sessile organisms and therefore they must adapt their growth and architecture to a changing environment. Understanding how hormones and genes interact to coordinate plant growth in a changing environment is a major challenge in developmental biology. Although a localized auxin concentration maximum in the root tip is important for root development, auxin concentration cannot change independently of multiple interacting hormones and genes. In this review, we discuss the experimental evidence showing that the POLARIS peptide of Arabidopsis plays an important role in hormonal crosstalk and root growth, and review the crosstalk between auxin and other hormones for root growth with and without osmotic stress. Moreover, we discuss that experimental evidence showing that, in root development, hormones and the associated regulatory and target genes form a network, in which relevant genes regulate hormone activities and hormones regulate gene expression. We further discuss how it is increasingly evident that mathematical modeling is a valuable tool for studying hormonal crosstalk. Therefore, a combined experimental and modeling study on hormonal crosstalk is important for elucidating the complexity of root development.} \metanote{$\dagger$Joint corresponding authors} \keywords{root development, POLARIS peptide, hormonal crosstalk, osmotic stress, kinetic modelin} \firstpara{\section*{Introduction} Hormone signaling systems coordinate plant growth and development through a range of com- plex interactions. The activities of hormones such as auxin, ethylene, cytokinin, abscisic acid, gibberellin, and brassinosteroids depend on cellular context and exhibit either synergistic or antagonistic interactions. Additionally, auxin is directionally transported through plant tissues, providing positional and vectorial information during development (Vanneste and Friml, 2009).\hfilneg} \maketitle   \noindent Patterning in Arabidopsis root development is coordinated via a localized auxin concentration maximum   My output pages below mentioned    Kindly advice and provide the solution


I cannot execute UPDATE statements in my Flask App deployed to Azure App Service (Linux). It says:     Database is Locked.   SELECT statements are executed as expected. On the local machine work UPDATE statements as expected.  I have tried to change the isolation_level (DEFERRED, EXCLUSIVE, IMMEDIATE). I have also tried to CHMOD on the data folder but that looks right.  with sql.connect(connstring) as con: cur = con.cursor() cur.execute("Update INNOVATIONPOWER_MESSAGES SET innovative = 0 WHERE id = 21187") con.commit()

sqlite> DELETE FROM mails WHERE (`id` = 71); SQL error: database is locked   How do I unlock the database so this will work?


I want to precise that this is not a duplicated issue.  I've been trying to install mongodb on my odroid XU4 (raspberry like), running on Ubuntu 17.04, using the command "sudo apt-get install -y mongodb"  Here's the output:  Reading package lists... Done Building dependency tree Reading state information... Done Package mongodb is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'mongodb' has no installation candidate   Here's the output of sudo apt-get update  Hit:1 http://ports.ubuntu.com zesty InRelease Hit:2 http://ports.ubuntu.com zesty-backports InRelease Hit:3 http://ports.ubuntu.com zesty-proposed InRelease Hit:4 http://ppa.launchpad.net/random-stuff/ppa/ubuntu wily InRelease Hit:5 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu wily     InRelease Hit:6 http://ports.ubuntu.com zesty-security InRelease Hit:7 http://ports.ubuntu.com zesty-updates InRelease Hit:8 http://ppa.launchpad.net/ubuntu-x-swat/updates/ubuntu zesty InRelease Hit:9 http://ports.ubuntu.com/ubuntu-ports zesty InRelease Ign:10 http://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/3.4 InRelease Hit:11 http://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/3.4 Release Hit:12 https://dev2day.de/pms jessie InRelease Ign:13 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 InRelease Hit:14 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release Reading package lists... Done   Here's the output of uname -m  armv7l   Here's the output of dpkg --print-architecture  armhf   Here's the output of apt-cache policy mongodb mongodb-tools mongodb-org  mongodb:   Installed: (none)   Candidate: (none)   Version table: N: Unable to locate package mongodb-tools N: Unable to locate package mongodb-org   I've already done the following:  sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list sudo apt update   I also tried instruction in the following post:  with the following result:  > sudo apt install mongodb-clients Reading package lists... Done Building dependency tree Reading state information... Done Package mongodb-clients is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it:   mongo-tools  E: Package 'mongodb-clients' has no installation candidate   I also tried:  > sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 > echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list > sudo apt-get update > sudo apt-get install -y mongodb-enterprise  Reading package lists... Done  Building dependency tree  Reading state information... Done  E: Unable to locate package mongodb-enterprise   And many other things found on internet, but I'm running out of ideas.. Does someone have a hint?  Thanks !

How can I install MongoDB on  my Ubuntu 17.04??  Looks like there are no packages provided by Mongo at the moment, just wondering if someone has already managed to install an instance on 17.04?


Suppose that I have two ImageButtons, a HashMap, and pictures in drawable(resources) that are placed in this HashMap as a value. I need to randomly choose a value from the HashMap by key using Randomizer and then assign this value (that is a picture) to the ImageButton as it's background. For example, if the first button is clicked, the second button's background will be randomly changed.  So this is what I already have:    public class MainActivity extends Activity {    final Resources res = getResources();   final Random random = new Random();    final ImageButton imgButt1 = (ImageButton) findViewById(R.id.imageButton1);   final ImageButton imgButt2 = (ImageButton) findViewById(R.id.imageButton2);    @Override   protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);      Drawable coub1 = res.getDrawable(R.drawable.coub1);     Drawable coub2 = res.getDrawable(R.drawable.coub2);     Drawable coub3 = res.getDrawable(R.drawable.coub3);     Drawable coub4 = res.getDrawable(R.drawable.coub4);     Drawable coub5 = res.getDrawable(R.drawable.coub5);     Drawable coub6 = res.getDrawable(R.drawable.coub6);     Drawable coub7 = res.getDrawable(R.drawable.coub7);     Drawable coub8 = res.getDrawable(R.drawable.coub8);     Drawable coub9 = res.getDrawable(R.drawable.coub9);     Drawable coub10 = res.getDrawable(R.drawable.coub10);      final Map<Integer,Object> someHashMap = new HashMap<Integer,Object>();     someHashMap.put(1, coub1);     someHashMap.put(2, coub2);     someHashMap.put(3, coub3);     someHashMap.put(4, coub4);     someHashMap.put(5, coub5);     someHashMap.put(6, coub6);     someHashMap.put(7, coub7);     someHashMap.put(8, coub8);     someHashMap.put(9, coub9);     someHashMap.put(10, coub1);      imgButt1.setOnClickListener(new OnClickListener() {          @Override         public void onClick(View v) {              Object[] values = someHashMap.values().toArray();             Object randomValue = values[random.nextInt(values.length)];             int drawableID = values.;             imgButt2.setBackgroundResource(drawableID);         }     });      imgButt2.setOnClickListener(new OnClickListener() {          @Override         public void onClick(View v) {              Object[] values = someHashMap.values().toArray();             Object randomValue = values[random.nextInt(values.length)];             int drawableID = myImages.getResourceId(randomInt, -1);             imgButt1.setBackgroundResource(drawableID);         }     });   } }

How do I pick a random element from a set? I'm particularly interested in picking a random element from a HashSet or a LinkedHashSet, in Java. Solutions for other languages are also welcome.


i recently watched a tutorial where the speaker said that it makes no difference if you use:  #import "Class.h"   or:  @class Class;   And i have to say, my apps work the one way or the other.  But there have to be a difference right? So thought i ask you guys.  Thanks in advance!

It is to my understanding that one should use a forward-class declaration in the event ClassA needs to include a ClassB header, and ClassB needs to include a ClassA header to avoid any circular inclusions. I also understand that an #import is a simple ifndef so that an include only happens once.  My inquiry is this: When does one use #import and when does one use @class? Sometimes if I use a @class declaration, I see a common compiler warning such as the following:     warning: receiver 'FooController' is a forward class and corresponding @interface may not exist.   Would really love to understand this, versus just removing the @class forward-declaration and throwing an #import in to silence the warnings the compiler is giving me.


I've submitted an application to visit my unmarried partner in the UK during Christmas and the Embassy turned it down. My partner is British and I have Sudanese passport.    Entery clearance officer turned down my application because I don't have previous travel history to the UK or any other country with similar immigration system and cash deposit I have made before submitting my application. Regarding the money that he commented on it was a commission that received from work and I didn't submit any evidence where this money came from according to the entry clearance officer.    Can I re-apply for entry clearance again anytime soon? And how to avoid the refusal next time?

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


I was reading through Google's material design spec on the topic of  (under the Shadows section), and it seems the button states are backwards.  It shows the pressed state with a deeper shadow indicating that it has a higher elevation, but if I'm pressing a button, shouldn't it have a lower elevation?

There is some discussion of this  but I haven't found a more comprehensive discussion of it.  With Material Design, objects that wish to convey being pressed appear to rise up towards the user, rather than get depressed away, as normal buttons do. ()  Why? As pointed out in the original link, it's contrary to what we usually expect, and more importantly, it's contrary to what happens in real life (which is what material design is supposed to represent)  On one of my own sites, at the time this was originally posted, I specifically designed the social media buttons in the footer (and most other buttons) to appear satisfyingly  when active


I'm using a template I found on overleaf to make journal-like papers. The given format only has one abstract, but now I'm required to present two abstracts, one in Spanish and one in English. How can I modify my template to use two abstracts without messing up the format of presentation? Here's the link of it:

I'd place in the same page two abstract section.One created using my own language and one in english language. If I tried this:  \selectlanguage{italian} \begin{abstract}     \lipsum[1] \end{abstract}  \selectlanguage{english} \begin{abstract}     \lipsum[1] \end{abstract}   but they are placed into two different pages  Edit:  this is my environment definition:  \newenvironment{abstract}{     \clearpage     \vspace*{\fill}     \begin{center}%         \bfseries\abstractname     \end{center}}%     {\vfill\clearpage}


Let $V \xrightarrow{\phi} W \xrightarrow{\psi} V$ be linear maps such that $V\xrightarrow{\psi\phi}V$ is an isomorphism. Show that $\phi$ is injective and $\psi$ is surjective.   So, I know that an isomorphism is both injective and surjective. Surjective meaning that all of $W$ maps onto all of $V$ at least once and injective meaning that the nullspace of the map $V \rightarrow W$ will be only the zero vector.   But, how does one prove this without being given a function?

How to show that when the linear transformation $\Phi =\psi \circ \phi : E \rightarrow G$  (where $\phi : E \rightarrow F$ and $\psi : F \rightarrow G$) is (1) injective, then $\phi$ is injective and when (2) $\Phi$ is surjective, then $\psi$ is also surjective ?  I've tried to prove it by the definition of injection and surjection, but I'm not convinced myself by it.  For example, in the first case :  If $\Phi$ is injective, $\forall g \in G$, we have $0$ or $1$ $e \in E$ such as $\Phi(e)=g$.  $\Rightarrow \Phi(e) = \psi(\phi(e)) = \psi(f) =g$.   So $\forall f \in F$, we also have $0$ or $1$ $e \in E$ such as $\phi(e)=f \in F$.   $\Rightarrow \phi$ is injective.  Is this right or did I prove nothing at all ? I think it is easier to convince myself/ to understand with surjectivity but still..


Just saw this. Shouldn't it have the period (full-stop) after the parenthesis?     Like the magazine? Take it with you. (Don’t worry, we’ll give the next passenger a new copy)

Where should the period go when using parentheses? For example:     In sentence one, I use this example (which has a parenthesis at the end.)   Should the period be inside, or outside of the parentheses? What about if the entire sentence is a parenthetical (as below)?     (Where does the terminal punctuation go here?)   Is there a hard and fast rule?


After installing 12.04 and Gnome Shell, I find that the arrow and delete keys, along with the insert, home, page up & down, and end keys have stopped working.  All these keys now appear to be XF86MonBrightnessdown whatever that is.  Any fix for this?

I opened my laptop today to find that my arrow keys, excluding the left arrow, and Delete key are not functioning correctly.  The down arrow brings up the notification that the trackpad was disabled, the delete key brings up the notification that the trackpad was enabled, and the up and right arrows don't seem to do anything.  I'm running Ubuntu 14.04, I have an Acer laptop, and the keyboard model is set to Generic 105 key (Intl) PC.  The keyboard language is set to English(US).  I tried changing the model to a few different ones, but it didn't solve the problem.  I noticed that a lot of people had this problem in the past, but I couldn't find a solution for myself.  If you experienced this problem recently, how did you solve it?  Or do you have any ideas on how I may fix it.  Also, I have Ubuntu installed as my operating system and am not using a VM.


I am trying to find a short story I read as a kid in the 60's. It is about a little boy and his younger sister who find this mechanical toy dropped by aliens into their backyard. The box emits patterns of light. The little boy can figure out the patterns for awhile, but then realizes his younger sister has a much greater understanding of the box. The aliens come for her in the end.   Does anyone know this story?

I remember reading what I believe is a short story about a brother and sister who somehow come into possession of some toys which turn out to be from aliens. Through playing with them they develop a language their parents can't understand and start to develop mentally far faster than any human.    Does anyone recognize this story, or remember who wrote it or what it's called?


I've been trying to figure out if the category of short exact sequences of abelian groups is abelian. It's clearly additive, and it has all of its kernels, but Im not sure about cokernels. I can't produce a solid counterexample, and don't know if it exists. Is the category abelian? And if not, what witnesses it's failure? I was thinking of the cokernel of a sequence like 0->Z->Z but I'm not sure (sorry for the poor formatting, I'm on my phone)

I'm wondering whether the category whose objects are short exact sequences of abelian groups, and whose morphisms are commutative diagrams of such short exact sequences, is cocomplete. Working naively, it seems you can get coproducts by taking them componentwise. However, for coequalizers, I think we are not so lucky. Consider the two short exact sequences $0 \rightarrow 0 \rightarrow \mathbb{Z} \rightarrow \mathbb{Z} \rightarrow 0$ and $0 \rightarrow \mathbb{Z} \rightarrow \mathbb{Z} \rightarrow 0 \rightarrow 0$ with maps between integers being the identity. Consider the morphism from the first sequence to the second which is the identity on the middle map between the integers and obviously zero elsewhere. Then taking cokernels componentwise would give $0 \rightarrow \mathbb{Z} \rightarrow 0 \rightarrow 0 \rightarrow 0$, which clearly cannot be exact.   So the obvious candidate for cokernels is not the correct one, but perhaps there is another not-so-obvious choice. I'm wondering how I might go about showing whether or not there are coequalizers.


I am trying to solve the following nonlinear PDE problem.     Let $D$ be a bounded simply-connected domain on $\mathbb R^2$ and $u(x,y)$ be a classical solution of the nonliner elliptic problem:      $$\left\lbrace\begin{aligned} \Delta u &= u^3 - u & \text{ in } D \\ u &= 0 & \text{ on } \partial D \end{aligned}\right.$$      Show that $-1\le u(x,y) \le 1$ in $D$.   Can $u(x,y) = \pm 1$ be achieved in $D$?   Since the equation is nonlinear, we cannot apply maximum principle directly. The only idea coming to my mind is to incapsulate points in $D$ where $u>1$ into closed curve, and to try to justify max principle for subharmonic functions within the curve-bounded portion of the domain. However I could not complete solution following this approach. Any help is appreciated.

Let us consider that $u\in C^2(\Omega)\cap C^0(\Omega)$ and satisfying the following equation .  $\Delta u=u^3-u , x\in\Omega$ and   $u=0 $   in  $\partial \Omega$  $\Omega \subset \mathbb R^n$ and bounded .   I need hints to find out what possible value $u$ can take ?  Thank you for ur hints in advance .


I am on GNOME 3.28, Ubuntu 18.04 LTS. I want to go from the default 18.04 dock which spans the full vertical of the screen, to no wasted space like the following:    Is it possible to do this in Ubuntu 18.04?

By default Ubuntu Dock in Ubuntu 17.10 and later releases always extends to the edges (top-bar-to-bottom if placed on the left or right and left-to-right when placed at the bottom) even when it's not filled with icons. Is there a way to prevent this behaviour (i.e. I want to make the dock-length flexible so that as the number of application icons in the dock increases, it should expand accordingly)?  ➡➡➡  In other words, is there a way make Ubuntu Dock look like a "proper dock" instead of a side/bottom panel with full-height/width?


I am parsing text and need to detect if any string contains any character NOT including A-Z, 0-9, full stop, comma, plus, minus, or any number of spaces.  I tried the regex expression: "[^A-Z0-9][^.][^,][^-][^+][\S+]"  as well as variations on this, which does not work correctly.  Examples of permissible strings:  1 23842U 96021A   15170.20596865  .00000124  00000-0  00000+0 0  9998 2 23842   0.0589 306.1344 0002868 147.0577 292.5546  1.00269795 70198   Invalid string:  1 2%8!2U 96021A   15170.20596865  .00000124  ^00000-0  00000+0 0  9998

I don't really understand regular expressions.  Can you explain them to me in an easy-to-follow manner?  If there are any online tools or books, could you also link to them?


I'm new with blender. I want to set cameras at different positions in the scene with respect to an origin point. I don't know how to do the steps I think I should follow:  Set the origin at the point of interest taking into account that I want to position it at Z = 0 m, and on the line between a building and the floor (see the attached figure). I don't know how to exactly set this origin considering the restriction of the building and the floor. Buildings were imported from OSM.  Set camera position with respect to the new origin.   I hope you can help me. Many thanks!  After the first answers I received, I tried the example offered by Chris and it did work but I still have doubts about how to position the camera. I show you the example of the monkey. Here I would like to position the camera at a distance of 10 m from the monkey at the beginning. Why is it not aligned with the x axis if the location is set (10, 0, 0)? Thanks for your help!

In my scene I have a camera sitting at the origin. I would like to contraint it so that it always looks at the center of a given object. But the camera should not change its position.  I found some answers using a "TrackTo" or "LockedTrack" constraint but could not manage to make it work.  Could I probably use a Driver for this and if yes, how can I adjust it?  Thanks in advance!


Let's say a Gnome bard polymorphs themselves into a triceratops, then has to make a strength check to bust through a door frame. Would they be able to add jack of all trades to said check? As it is a passive ability?

The Polymorph spell states (in part):     The target’s game statistics, including mental ability scores, are   replaced by the statistics of the chosen beast. It retains its   alignment and personality.      The creature is limited in actions it can perform by the nature of its   new form, and it can’t speak, cast spells, or take any other action   that requires hands, or speech.   So, can a polymorphed Paladin use their Divine Smite class feature?  It expends a spell slot, but it is not a spell, and as far as we can tell does not require hands or speech.  We know (based on the 10th level Transmutation Wizard feature) that a wizard is supposed to be able to polymorph herself, and we can assume that she is also supposed to be able to maintain concentration needed to stay in the new form (otherwise it would be a pretty useless ability).  This is (as far as I can tell) not something any of the beasts eligible as polymorph targets can normally do.  So it is clear that the polymorphed creature maintains some abilities from her old form.  The question is which ones.    The Druid's Wild Shape ability explicitly says you can use class features, while Polymorph does not, suggesting that you can't use class features while polymorphed.  However, Wild Shape also explicitly says that you can continue to concentrate on a spell (see below, emphasis mine), and Polymorph does not, yet we believe that a polymorphed creature can continue to concentrate on the polymorph spell.  So the fact that Wild Shape explicitly allows something and Polymorph is not explicit about it does not necessarily mean that the polymorphed creature cannot do those things.  From Wild Shape rules:     You can't cast spells, and your ability to speak or take any action   that requires hands is limited to the capabilities of your beast form.   Transforming doesn't break your concentration on a spell you've   already cast, however, or prevent you from taking actions that are   part of a spell, such as call lightning, that you've already cast.   So, since Polymorph is silent on the question of whether or not class abilities can be used, and states only that the polymorphed creature cannot perform actions that require hands or speech, how can we best determine whether (RAI) polymorphed creatures maintain any of their old abilities beyond spell concentration?


Question rephrased to better fit my situation at the time of asking:  After rebooting my computer; all memory of recent file use by software programmes accessing files upon my second hard disk, are lost; How can I stop this loss of information?

I have a 500GB internal HDD where I store all my music and photos but it is annoying to manually mount it after a restart and I was wondering how to mount it automatically and make it available to Rhythimbox for playback.  Thanks!


! LaTeX Error: File `Thesis.cls' not found.   I am using Kile editor. If the above error appeared in the log file then how to correct it?

I'm using  editor. There is no problem when I run others  .tex article in Kile. But problem is when I run a thesis article in KILE. This thesis article is running fine in      \documentclass[12pt,a4paper]{thesis}     \usepackage{amsmath}\usepackage{amssymb}     \usepackage{graphicx}   Is there anything need to add in KILE setting to run the Thesis .tex in KILE?  This is the log file:  This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=latex 2013.3.7)  25 AUG 2013 23:37 entering extended mode  %&-line parsing enabled. **Thesis-Aug24-2013.tex (./Thesis-Aug24-2013.tex LaTeX2e <2009/09/24> Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, loaded.  ! LaTeX Error: File `thesis.cls' not found.  Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: cls)  Enter file name:  ! Emergency stop. <read *>   l.2 \usepackage                {amsmath}\usepackage{amssymb}^^M *** (cannot \read from terminal in nonstop modes)   Here is how much of TeX's memory you used:  10 strings out of 495062  226 string characters out of 1182645  45108 words of memory out of 3000000  3285 multiletter control sequences out of 15000+50000  3640 words of font info for 14 fonts, out of 3000000 for 9000  28 hyphenation exceptions out of 8191  10i,0n,7p,80b,8s stack positions out of 5000i,500n,10000p,200000b,50000s No pages of output.


On Windows XP, can I run a batch (.bat or .cmd) file, via a shortcut, without a "black window"?

I'm looking for some way to run a batch file (.bat) without anything visible to the user (no window, no taskbar name, .etc..).  I don't want to use some program to do that, I'm looking for something cleaner. I've found  that uses VBScript, but I don't really like using VBS, either.


(P.S. I already know there is a relatively similar question  but it didn't gave me the info I needed, apart of it being 2 years old, when MC was still beta... It could be obsolete by now...)  I know that some seeds have very few biomes that actually have resources in them. Take, for example, GLORIOUS, with its infinite ocean (1.5.2, haven't checked for my new 1.6.2). Or how about This Seed sucks with its infinite jungle? (But that one doesn't work in the later version.)  I already know that you will always find 3 dungeons at max 1 km from your spawnpoint, but I only find villages occasionally and if I do it may take MC weeks. And how about GLORIOUS? Will I have to travel FOREVER to find a desert or a underwater village? Or maybe I need eons of luck to find a rare mushroom island in any random seed?

I've never seen any information about the distribution of biomes in a generated world.   First, are all types of biomes, guaranteed to exist in a world? Will I always find snow somewhere, and desert somewhere? I've got one world that doesn't seem to have cactus (so I guess the sand is beaches, no actual desert).  Second, is there any kind of pattern or relation to biomes? Is snow to the North, and desert South, for example?  Third, how about density of biomes? If all types do exist, would I find them all within distance X of my spawnpoint, or have to travel for weeks to find a given type?


This is a situation I often find myself in:  mkdir /Some/really/long/path/to/a/directory/ cd /Some/really/long/path/to/a/directory/   I know that ideally you would cd /Some/...etc.../a/ and then mkdir directory, but I've often performed mkdir first and then had to cd to the end of the same lengthy file path I just created.  Short of doing...  var="/Some/...etc.../a/" mkdir $var/directory; cd $var   ...which is even worse, is there some way to reuse the parameter passed to the previous command? I'm aware of course of tab completion, but in a series of nested directories with similar names this doesn't always help that much. Ideally, I'm hoping for a shortcut like $# or $@.  Failing this, the next best time-saving solution would be equally appreciated!

I find myself repeating a lot of:  mkdir longtitleproject cd longtitleproject   Is there a way of doing it in one line without repeating the directory name? I'm on bash here.


During the process of crossing over, Why is the maximum possible recombination frequency between two genes equal to 50% and not more than that?

Classically, the linkage between two loci can be measured in centimorgans (cM), which represents the percent chance that these two loci will recombine an odd number of times (generating a recombinant genotype).  Due to independent assortment, markers on different chromosomes are expected to recombine 50% of the time. As I understand, if one conducts a classic experiment and counts various progeny, then deduces the apparent linkage, values of 50 cM or more are interpreted as "impossible to determine whether on separate chromosomes or just recombines very often". See (), with grammar corrected:     The final point that we need to make regards the maximum distance that we can measure. Because of the way in which the calculations are performed, we can never have more (than) 50% recombinant gametes. Therefore the (maximum) distance that two genes can be apart and still measure that distance is just less (than) 50 cM. If two genes are greater than 50 cM apart, then we can not determine if they reside on the same chromosome or are on different chromosomes.   Wikipedia gives an  and also remarks that (d is physical distance):     The probability of recombination is approximately d/100 for small values of d and approaches 50% as d goes to infinity.   However, what happens if the linkage is greater than 50 cM? It seems like classical experiments aside, such a situation is possible in reality.  For instance, , and . Let's take two genes on Chr.IV:    is at about +631 kb.  is at about +1370 kb.   The physical distance between these is about 734 kb. According to the cM/kbp value, the centimorgan distance is $734\text{ kb} \cdot 0.31\text{ cM}/\text{kb} = 228 \text{ cM}$ . How to interpret this 228?  If I mate a haploid yeast which is DNF2 TOM1 with another which is dnf2 tom1 (lowercase indicating minor allele rather than deletion), then sporulate them, what is the chance of getting spores with DNF2 tom1 or dnf2 TOM1 genotypes?  I realize that the cM/kbp value is only a simplification and that in practice linkage is a more complex phenomenon. Nevertheless, it seems plausible that several crossover events can happen on Chr.IV since it is so big. This includes the possibility of 1, 3, 5 and more crossovers which would create a hybrid (assuming they all happen between these two loci), as well as the possibility of 2, 4, etc crossovers which would create a non-hybrid spore (at least as far as our chosen markers are concerned).


this is my JS code  $(document).on('submit', '#emp-appwallForm', function() {          $.post("createapp.php", $(this).serialize())          .done(function(data){             $("#dis").fadeOut();             $("#dis").fadeIn('slow', function(){                  $("#dis").html('
'+data+'
');                  $("#emp-appwallForm")[0].reset();              });              });             return false;     });   this is my form  <form method='post' id='emp-appwallForm' action="#"  enctype='multipart/form-data'>      <input type='file'  class='form-control' id="fileToUpload" name="fileToUpload"    required />         i am not able to upload image

I would like to upload a file asynchronously with jQuery.     $(document).ready(function () {     $("#uploadbutton").click(function () {         var filename = $("#file").val();          $.ajax({             type: "POST",             url: "addFile.do",             enctype: 'multipart/form-data',             data: {                 file: filename             },             success: function () {                 alert("Data Uploaded: ");             }         });     }); });  File <input type="file" id="file" name="file" size="10"/> <input id="uploadbutton" type="button" value="Upload"/>     Instead of the file being uploaded, I am only getting the filename. What can I do to fix this problem?


I have found my errors via console log in chrome and remove them but my problem now is that it doesn't call the php script that supposed to process the data.  <legend>Select type of machine model</legend> <form id="form1" name="form1" method="post" enctype="multipart/form-data"> <select id="machine" name="machine" class="field" > <option value="" selected="selected">Choose..</option> <option value="machine1.php">Machine 1</option> <option value="machine2.php">Machine 2</option> </select> </fieldset> <fieldset>     <legend>Select a file to upload</legend>            <input type="file" id="files" name="files[]" size="40" multiple="multiple" />

        <input type="submit" value="Upload File" id="upload"/>

     </form>

 </fieldset> <fieldset> <legend>Uploaded Files</legend>

 </fieldset>


How can I define a command similar to \ref for referencing a list of subfigures at once? Just like what cite package does for citations.  A command like \myref{a,c,d} which can be tuned to generate the following outputs for the below MWE: 1a,c,d, 1(a,c,d).   It would be great if it can group the labels together for example \myref{a,b,c,d} will generate 1a--d.  Is there any package which implements this kind of cross-referencing?  \documentclass{article} \usepackage{subfig} \usepackage{hyperref} \begin{document} \begin{figure} \subfloat[][]{Plot 1 \label{a}}  \subfloat[][]{Plot 2 \label{b}}  \\ \subfloat[][]{Plot 3 \label{c}}  \subfloat[][]{Plot 4 \label{d}}  \end{figure}  \noindent Note: \\ Fig.~\ref{a} \\  Fig.~\ref{a},b \\ How to generate the following cross-references? \\     Fig.~1a,b \\  Fig.~1a,b \\ Fig.~1a,c,d \\ Fig.~1a--d \\  \end{document}

I am just a beginner in LaTeX, I am facing a problem in Ref Range,   \documentclass{article} \usepackage{amsmath,amsfonts,amssymb,cleveref} \begin{document} \ref{eq1a,eq1b,eq1c,eq1d,eq1e} \begin{subequations}   \begin{align}     1+1=2\label{eq1a}\\     1-1=0\label{eq1b}\\     23+23=46\label{eq1c}\\     d+e=f\label{eq1d}\\     e+f=g\label{eq1e}   \end{align} \end{subequations} \ref{eq1a,eq1b,eq1c,eq1d,eq1e} \cref{eq1a,eq1b,eq1c,eq1d,eq1e} \end{document}   My problem is I want to display the refrange like 1a-e if I use \cref, but I am getting an output like 1a-1e but is it possible to hide the 1 in the refrange (1a-e)  I went through the cleveref style file (Dont know anything about that :)), I found out the command which is replacing the (1a-1e) (cleverref.sty Line Number: 1022)              \textup{(#3#1#4)}--\textup{(#5#2#6)}}}{}}{}%   In the above mentioned coding from cleverref.sty, I need to delete the Number and retain the 'e' from #2, Please guide me in this problem, thanks in advance


I have researched this, and there are no other entries on the internet that I can find with this problem, so posting here.  It may be that the wording in 17.04 is different leading to no hits.  But anyway, here it is...  I'm getting this error when trying to update my software on Ubuntu 17.04:  AppStream system cache was updated, but problems were found:  Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml   I have performed (all with sudo):  apt-get clean apt-get update appstreamcli --version (shows 0.10.6) appstreamcli refresh --force   Then I went to the System > Software and Updates tab, selected other, then Select Best Server.  Did that, it set to http://mirror.atlantic.net/ubuntu, but I'm still getting problem.  Then ran:  appstreamcli refresh --force suso apt-get upgrade sudo appstreamcli refresh   Still getting the same error.  Any suggestion on how to clear up this issue?

I am getting an error while updating as a root. After Update log below error was shown in terminal.   AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi' E: Sub-process returned an error code   I followed  answer and executed sudo apt install appstream/xenial-backports.  My appstream package is already updated:-  $ appstreamcli --version AppStream CLI tool version: 0.10.6   After, force refreshing the cache data. I am getting the following error:-  $ sudo appstreamcli refresh --force AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml


I got interface with method: Task<Dictionary<long, Cars>> GetCars();  Thne I have VM: private IList<Cars> m_cars;  public IList<Cars> MyCars {    get => m_cars; }  and some method: public override void Load() {   MyCars = someservice.GetCars(); }  But I can't do that. How to assing values from Dictionary to IList?

I have a the following dictionary:  IDictionary<int, IList<MyClass>> myDictionary    and I am wanting to get all the values in the dictionary as an IList....    Just to add a bit of a background as to how I've gotten into this situation....  I have a method that gets me a list of MyClass. I then have another method that converts that list into a dictionary where they key is the id for MyClass. Later on...and without access to that original list...I'm needing to obtain the original ungrouped list of MyClass.    When I pass myDictionary.Values.ToList() to a method that takes an IList I get a compile error that says that it can't convert from   System.Collections.Generic.List<System.Collections.Generic.IList<MyClass>>    to:  System.Collections.Generic.IList<MyClass>   Now, I can understand that its gone and added each of the groups of IList to the new list as separate elements of the list....but in this instance its not really what I'm after. I just want a list of all the values in the entire dictionary.  How then can I get what I'm after without looping through each of the key values in the dictionary and creating the list I want?


I was going through the hot question list and found this question    This question is locked and it is in the hot question list. Is that right ? If it is locked then it shouldn't be part of hot questions or it should be unlocked.

Historical locks are sometimes applied to questions.   What is a historical lock? What is the purpose of a historical lock? How are questions affected by historical locking? When is it appropriate to lock a question for historical reasons?  When is it not appropriate? How do I request a historical lock for a question? What should I do if I notice a serious problem with a historically-locked question or one of its answers?


I want to increase the check box size for my following code:
     <form>         <input type="checkbox" name="chat" value="LiveChat" />Live Chat
         <input type="checkbox" name="email" value="Email us" />Email Us     </form>
   is it possible?

Is it possible to set the size of a checkbox using CSS or HTML across browsers?   width and size work in IE6+, but not with Firefox, where the checkbox stays 16x16 even if I set a smaller size.


I really want to learn about electricity and magnetism for a long time but never have gotten to it, are there are good books that are conceptual on the topic of electromagnetism? I do not know calculus btw.

Please recommend undergraduate-level textbooks on electrodynamics which emphasize practical applications and real life examples. Please describe the book's level and contents and its intended audience in as much detail as possible.   Please provide both applications from everyday life for curious students as well as engineering applications from a physics perspective.


I want to ask to incorporate Windows Live ID (.outlook.com or .live.com) for Stack Exchange websites. Windows Live ID is very popular these days.

Why there is no single sign on with Windows Live ID? It is also a widely used ID provider.


How can set two images in one line without using a table, but having a caption and a label for each image? Besides image one should be labeled Figure 1 and the second figure with Figure 2. Therefore I want the following construction:  **************     ******************* *            *     *                 * *            *     *                 * **************     ******************* Figure 1: Caption  Figure 2: Caption   I tried already subfigure:  \begin{figure}[!ht] \subfigure[caption]{\includegraphics[width=0.4\linewidth]{Screenshots/step1.png}} \subfigure[caption]{\includegraphics[width=0.41\linewidth]{boundingbox.eps}} \end{figure}   But this made (a) and (b) and one number for both figures.  Furthermore I tried:  \begin{table}[!ht] \begin{tabular}{p{7cm} p{7cm}} \begin{center} \includegraphics[width=0.7\linewidth]{Screenshots/step1.png} \label{fig:stepone} \caption{caption one} \end{center} & \begin{center} \includegraphics[width=0.7\linewidth]{boundingbox.eps} \label{fig:steptwo} \caption{caption two} \end{center} \\  \end{tabular}  \end{table}   But here the the columns are labeld with Table 1 and Table 2.

How can I put two figures side-by-side? Not two sub-figures, but two actual figures with separate "Fig.: bla bla" captions.  A figure is supposed to spread over the entire text width, but I have two figures which are narrow and long, and I need to save the space in order to withstand the pages limit.


The  feat (PHB, p. 168) says:     While you are wielding a glaive, halberd, pike, quarterstaff or spear, other creatures provoke an opportunity attack from you when they enter the reach you have with that weapon.   The  feat (PHB, p. 170) says:     When a hostile creature's movement provokes an opportunity attack from you, you can use your reaction to cast a spell at the creature, rather than making an opportunity attack. The spell must have a casting time of 1 action and must target only that creature.   Assume that I'm a wizard, with both Polearm Master and War Caster, and I'm holding a  (it's a magic quarterstaff).  Can I cast a spell (with a casting time of 1 action) as a reaction when a creature enters my quarterstaff's reach, targeting only that creature?

The  feat (PHB, p. 168) says:     While you are wielding a glaive, halberd, pike, or quarterstaff, other creatures provoke an opportunity attack from you when they enter your reach.   The  feat (PHB, p. 170) says:     When a hostile creature's movement provokes an opportunity attack from you, you can use your reaction to cast a spell at the creature, rather than making an opportunity attack. The spell must have a casting time of 1 action and must target only that creature.   On this very topic, Mearls has :     Q: Do Polearm Master and War Caster combine to allow a magic user to make a spell opportunity attack when they enter reach?   A: No - polearm master applies only if you use the weapons it lists to make the attack     Another question on this very topic:   But since then, we now have spells like  (SCAG, p. 142):     As part of the action used to cast this spell, you must make a melee attack with a weapon against one creature within the spell’s range, otherwise the spell fails. On a hit, the target suffers the attack’s normal effects, and it becomes sheathed in booming energy until the start of your next turn. If the target willingly moves before then, it immediately takes 1d8 thunder damage, and the spell ends.    So, with the addition of booming blade, if I have a quarterstaff + War Caster + Polearm Master, could I use my reaction to cast booming blade if someone steps into my reach?


I have several hundred packaged .ai files but I need to know all of the fonts used is there a script or something that can generate a list of all the fonts?

I have several hundred Illustrator files that are formatted similarly, and for legal reasons I need to replace a font in all of them. Even with the 'Find font' tool, that's a hell of a lot of fonts to replace by hand.  Is there some way of automating it? For example, using Bridge? Illustrator (CS5) doesn't offer many options in Bridge, compared to the automation options offered by Photoshop. I also don't see any option for running actions on multiple Illustrator files.  Also, creating a repeatable action for replacing the font doesn't seem to work: instead of repeating my action, it brings up the dialog box an waits for me to tell it to replace them.  As a programmer I'm prepared to edit the files directly if it can be done without breaking them.    Update: The 'Batch...' menu item from Illustrator's actions panel menu allows the same action to be performed on a folder of files. It doesn't fix the Find Fonts action waiting for input though. Toggling the dialog off makes the action do nothing at all.


I am a Canadian currently sitting in a room waiting to take the Oath for American citizenship. They told us we will not be able to enter the US on a foreign passport once we are American citizens. However, my younger sister who has dual citizenship has previously traveled with her Canadian passport to other countries and successfully reentered the US.  Will I need to have an American passport to reenter the US?

I am a dual citizen. I have both a US passport and a non-US passport. I live in the US. My US passport is currently being processed for renewal. I am unsure whether I will receive my passport in time for a trip that I have scheduled. Could I use my non-US passport to leave the US and return? I have never entered the US with my non-US passport. There is no immigration leaving the US but I still need to scan my passport for ticketing. Will the airline refuse me a ticket? I know that in this situation returning with a non-US passport can be problematic as well, but will I be able to leave at all? Note that I am traveling to a country which neither of my passports are from.


In Hotmail, you can click an exclamation mark "!" for an outgoing email to let the sender know it is important.   How do I do this in Gmail?

Is it possible to set the "urgent" flag in Gmail for outgoing mail? I'd like to be able to flag time-sensitive emails as such.


I am looking for some samples or directions on how to print an aspx page. On the page, I have a set of edit boxes and buttons and grids filled with information. Using the following JS code of course I'm able to bring up the Printing dialog and it prints the page but How can I avoid printing or displaying buttons, lines, grids and etc on the output?  Or in general, how can I manage or customize the layout of my output?  <asp:Button ID="btnPrint" runat="server" Text=" Print " CssClass="btn btn-info" OnClientClick="javascript:window.print();" />  Thanks. Ak

I have a link on my webpage to print the webpage. However, the link is also visible in the printout itself.  Is there javascript or HTML code which would hide the link button when I click the print link?  Example:   "Good Evening"  Print (click Here To Print)   I want to hide this "Print" label when it prints the text "Good Evening". The "Print" label should not show on the printout itself.


I'm trying to build a website that enables users to vote for things. The website works, but a user can vote multiple times. How can I prevent that?   I read online that I can use cookies. But I don't know how to implement them in my ASP.NET MVC 5 project.   Can you tell me how to use cookies for preventing multiple voting in ASP.NET MVC 5?  A small code snippet for starting would be great.

I'm planning to add some vote up/vote down buttons to a website I run. This seems easy enough but I want to stop people voting multiple times. One solution would be to make them register before allowing them to vote but I'd prefer not to have to force them to register.   Is there are a reasonably straightforward way of doing this? Checking the IP address doesn't seem like a good solution, since it's possible that multiple users may come from the same IP address.   Cookies might be the answer, but a savvy user could delete the cookie. Any better ideas?


I installed Node.js with:  sudo apt-get install nodejs   But when I type in a console node I get nothing, no command not found, no any error. But when I type nodejs I get the Node.js prompt >.  Now, I can't install anything with npm, I tried to install yeoman with: sudo npm install -g yo but I got an error, something related to node. I tried to change the command with:  sudo ln -s /usr/bin/nodejs /usr/bin/node   But still nothing happens when I type node  What is the right way to install Node.js on Ubuntu? Or what am I doing wrong? Or what am I missing?

I noticed over at the  website that node is currently at v 0.12.0.  Can someone let me know how to install the latest version of node together with npm (terminal commands please)?


I have installed Ubuntu 16.04.4. When I press Alt+Tab the application switcher GUI generates two layers of images.     How I can solve this problem?

I have two Alt+Tab window switchers. It's super confusing to try to use them. This screenshot shows it pretty well:    How can I get back to the regular switcher (the one in the background)? I'm guessing the one in the front is the older switcher. It seems the current behavior is that both switchers are functioning, but the one on top get's the "last word." So the selected window in the bottom switcher will be second to the top, while the one in the top switcher will be in front.  Background:    I lost Unity and finally got it back, after trying a lot of things. What finally worked was solution #1 from :    sudo rm -fr ~/.cache/compizconfig-1 sudo rm -fr ~/.compiz   Shortly before Unity disappeared (possibly the previous time the computer was on) I ran sudo apt-get dist-upgrade, which I am suspecting may have caused the problem.  What I've tried: sudo apt-get install --reinstall compiz and then log out.


Long story short..I am flying from New York to Dubai with Delta and Dubai to Mumbai with Air India.   How do I obtain my baggage and recheck the baggage with Air India without having to go through customs? I am not planning on obtaining UAE visa..

I am an Indian citizen with a German residency permit. I am travelling from Germany to Dubai by Pegasus Airlines and then from Dubai to Madurai by SpiceJet separately, in both directions. I need to transfer myself in Dubai. I have found that transit is possible in Dubai airport via transit desk without UAE transit visa.  But, I have read on SpiceJet's website that Indian citizens travelling from India to Dubai need "Ok to Go" stamp in their passports. It is not clearly explained for transit people like me with Schengen visa.  Q1: Will SpiceJet in Madurai check "Ok to Go" and reject me (Indian citizen with Schengen residence permit) in Madurai airport during my return journey?  If yes; Q2: Is there is any other possibility to solve the above problem?  If "Ok to Go" is ultimately needed for SpiceJet in Madurai; Q3: How can I get it from Germany and how much does it cost?


I was trying with my friend to Install Ubuntu 14.04 In Dual Boot Mode With Windows 8.1 UEFI in my new Toshiba laptop. The installation of Ubuntu was finished successfully. However when I rebooted (with secure boot disabled) it is not showing any GRUB menu and directly going to Windows. It is, I guess the similar situation to the following : . I tried to fix this problem exactly the same way by using Boot-repair. It finished with the following error message.  "An error occurred during the repair.  Please write on a paper the following URL: http://paste.ubuntu.com/8249722/  In case you still experience boot problem, indicate this URL to: boot.repair@gmail.com  You can now reboot your computer."   Switching off the fast startup did not help as someone advised on forum previously. Does anybody know what the problem is ? I would be very grateful for any advice.

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?