It seems the X button on locked comment voting lost's it's X  Grab any locked post, such as  .  Scroll to the comments, and try to upvote any comment. And tada, greeted with a big Ã—

After revoting on question opening or successful flag, cross symbol in the notification message is broken.  Revote for opening:        Vote for opening:


My laptop is Toshiba M840. When I suspend, my laptop auto resumes immediately. I used acpitool to check what devices made my computer waking up. After I disable the XHC, my computer suspends properly. But after restart, the XHC was enabled.  How can I disable it forever?

This all started happening after upgrading to 13.10, now I am running 14.04 and still have the same issue.  When I close the lid or I do sudo pm-suspend the laptop goes into suspend for 2-5 seconds and awakes by itself.  Same happens if I try to do hibernate.  I have a gut feeling that something is awaking/taking the cpu out of suspend mode but I cannot figure out what.  Any help troubleshooting this annoying issue?  Edit:   Thanks to @Fabian , I was able to figure out that it looks like the ethernet card is misbehaving and even after I set the card to not wake up on lan (either doing acpitool -W 3 or echo disabled > /sys/bus/pci/devices/0000:00:19.0/power/wakeup or echo IGBE > /proc/acpi/wakeup, the laptop keeps waking up and showing this when I do acpitool -w  Device  S-state   Status   Sysfs node --------------------------------------- 1. LID    S3    *enabled  2. SLPB   S3    *disabled 3. IGBE   S4    *enabled   pci:0000:00:19.0 4. EXP1   S4    *disabled  pci:0000:00:1c.0 5. EXP2   S4    *disabled  pci:0000:00:1c.1 6. EXP3   S4    *disabled 7. EXP4   S4    *disabled 8. EXP5   S4    *disabled  pci:0000:00:1c.4 9. EHC1   S3    *disabled  pci:0000:00:1d.0 10. EHC2      S3    *disabled  pci:0000:00:1a.0 11. HDEF      S4    *disabled  pci:0000:00:1b.0   Any idea how to proceed from there?  The network driver that IGBE uses is e1000e


Is "sky" a countable noun or an uncountable noun? We can count the sky as it is only one, but it's that people refer to as it being uncountable.

You would think we never use "skies" since there's only one sky, but I've heard it often enough that I often want to say "skies" rather than "sky". The problem is that I never gave much thought about it, so I have no idea why I even want to do that.  When do we say “skies” instead of “sky”?


I have a datepicker that is setting the value of a textbox. Every time the text in that text box changes, I want to submit the form. Here is a snippet of the code that I thought would achieve this:  $(document).ready(function() {   watchDateFields(); }  function watchDateFields() {   $('form .date_field').on('change', function() {     this.form.submit();   } }   The .date_field input gets dynamically set, but for some reason this doesn't fire the change event?

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 hope this question won't be ill received. I have a rather simple question in physics. I never got a satisfying answer to the following question: If a man holds a massive body in the air such that it is at rest with respect to the earth, then according to Newtonian Physics no work is being done. However everyone knows that this is a process which consumes energy. I thought of resolving this in a few ways:  One way was to say that it has to do with the fact that biological systems need to spend energy in order to exert a force.  The other one is that it is actually related to the equivalence principle. I read in wikipedia (I hope this source is reliable)     According to the equivalence principle it (a body resting in a   gravitational field) should be indistinguishable from a particle in   flat space being accelerated by a force.   So can the expenditure of energy in the case of a man holding a mass be explained by invoking the equivalence principle and saying that the situation is equivalent to the man exerting a force on the body in flat space? If the second explanation would be correct, then that would mean that the friction (electrostatic forces) of  table would have to continuously lose energy in order to prevent a massive body from falling to the ground. That would be absurd?

I read the definition of  as  $$W ~=~ \vec{F} \cdot \vec{d}$$  $$\text{ Work  =  (Force) $\cdot$ (Distance)}.$$ If a book is there on the table, no work is done as no distance is covered. If I hold up a book in my hand and my arm is stretched, if no work is being done, where is my energy going?


I'm working on a server with several admin users. Each of them can use sudo to make configuration changes. We're keepeing our /etc directory version-controlled using etckeeper.  However, when I or another admin calls sudo etckeeper commit COMMITMESSAGE, git uses the root user's name and e-mail for the commit message. Setting git config user.name on the etc repository doesn't work in this case, because then each time etckeeper commit is called, the same data will be used.  What I want is the actual user's name and email be present in the etckeeper git repository, so that from the commit log I can track down who did which change.  Any help is greatly appreciated!

We use git to track changes in /etc/ on our servers.  Administrators work as root when changing files in /etc/, and thus their commits have author  root <root@machinename>   This is not very satisfying since you cannot see which admin actually did the change.  What can we do to get the real admin names in the git log? I don't think that keeping a local clone of the repository is feasible since we often change interatively until something works, and a change-commit-push-seeError-repeat cycle would not help here.


I have been trying to align the div (table) to centre. I changed the margin and the width and it works fine but when the screen is small, I get the scroll down/right bar as shown below :    How can I change that? I tried putting a max-height and playing with the margins (set to 0) but with no success.   HTML :

####

 MORE

   CSS :  .container {   max-height: 465px; }  .table {   position: relative;     width: 50%;     max-width: 320px;     min-width: 270px;     margin: 30px auto;   background: #fff;   text-align: center;   height: auto;   margin-bottom: 90px;   -webkit-transition: all .3s linear;   transition: all .3s linear; }

How can I horizontally center a
 within another
 using CSS?

Foo foo


I am using firebase and android along with user authentication.   I want an activity to start only for one specific user with email id - someemail@gmail.com.  my code is:  System.out.println("uid "+auth.getCurrentUser().getEmail()); if(auth.getCurrentUser().getEmail().equals("someemail@gmail.com")){     Intent intent = new Intent(LoginActivity.this, AdminActivity.class);     System.out.println("uid1 "+auth.getCurrentUser().getUid());     startActivity(intent);     finish(); } else {     Intent intent = new Intent(LoginActivity.this, MainActivity.class);     startActivity(intent);     finish(); }       Even though I log in with someemail@gmail.com, it starts the MainActivity.class instead of AdminActivity.class  System.out.println("uid "+auth.getCurrentUser().getEmail());   prints someemail@gmail.com but it doesn't work in the if condition.   I am new to android and firebase, please help.

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


I would like to count number of weekdays between two dates  For example:  From :1/1/2015 To: 10/1/2015   The number of Mondays = 1

Given a date range, I need to know how many Mondays (or Tuesdays, Wednesdays, etc) are in that range.  I am currently working in C#.


I'm not going to lie to you. I want to become immortal. Yes, I'm fine with watching all my friends and relatives dying, never liked them much anyway. In fact, outliving a few of my obnoxious friends is exactly what I need... Oh, I would love to watch them shrink and wrinkle while I'm forever young.   So I've been doing some research. It turns out that very powerful druids have a  that allows them to age really slowly. That sounds cool but I'm not into druids. Too naturalistic, too neutral, too... dirty? Anyway, definitely not for me.   Then, there's the option of becoming a Lich. Well, I have to admit, that's a bit extreme even for me -- and that says a lot. That said, it's not out of the question... But I'd like to explore my options first.   Finally, I learned about a  that produces an exact copy of myself that stands inert until I die. When that happens, my soul transfers to this body and ta-da, I'm alive again. I have to admit, that this is by far the best option I know of so far (with the worst one being a druid). That said, the transfer of soul part sounds a bit scary.   So now I'm asking you, my dear shady, hooded person whom I just met in this awful tavern in the most infamous part of the city: How can I prolong my life? Remember that I'm not looking to become invincible (I wouldn't oppose it of course), just prolonging my life for as long as possible. Ideally, I would like to avoid complicated procedures such as transfering souls and the such (too much work) but for lack of better options I would do anything. Money and ethics, of course, are not a problem (never have been).   I've opened my notebook and I'm all ears. It goes without saying that if your solution is acceptable I will make you rich. Wench! Another drink for this person whom I cannot see the face of!

Are there any magic items or spells that extend the natural life of a creature (meaning the age of the creature, and not preventing death from a wound or injury) or that grants immortality in the 5e books published by Wizards of the Coast.  I'm looking only for options available to PCs through character creation or options available to the DM via canon books.  What is not a valid answer is:   Reincarnation   A lich's phylactery   Raise dead   Resurrections of any kind Spare the dying   or similar effects.


Our foundation has a 2" hole for the water main / well pipe which is about 7' below the ground outside. During spring thaw when there is several feet of snow melting, the ground gets saturated, and water leaks in between the pipe and the cement foundation. Ideas for repairing from the inside would be ideal, however even options for what we can do by digging up around the foundation on the outside are appreciated. This  suggests caulk or cement (perhaps this means ?) will fail, epoxy is better though will eventually fail due to rigidity, preferring instead injecting a “high-viscosity polyurethane” (Perhaps  or  ?). I also found this video suggesting this  I've found 4 existing questions here, though no conclusive answer:     talks about a foundation seal compound on the outside, though not specific enough to figure out which to try or how to apply. talks about cleaning and packing around the pipe from the inside with  or   --> these seem to be roofing products, do we have anyone who can verify success with this approach?      suggests using epoxy, though as I summarized above, it seems some sites suggest epoxy is too rigid and thus will fail over time.      No proposed solution.      Proposes  --> The product page doesn't seem to talk about sealing leaks in foundation, is this the right long term solution? Proposes expanding foam is not good (doesn't elaborate on why). proposes a channel outside the house to keep water away --> won't work for us, as this is from spring melt of many feet of snow (the channel would be buried).

My house is 15 years old, and ground water has suddenly started to leak into the basement around a pipe that passes through the poured concrete foundation.  The method of installation complicates the repair. Situation An iron pipe sleeve (roughly 4"D), is sealed to the wall with spray foam.  A 3" PVC drain pipe passes through the sleeve, with more foam sealing between it and the sleeve. Leakage There aren't signs of leakage between the two pipes, it's all between the sleeve and the wall.  There appear to be small leaks between the foam and the concrete.  However, much of the water enters around the sleeve, between it and the foam. I cut away most of the foam to find the source.  Some pieces cleanly separated from the concrete, indicating that it wasn't bonded.  Around the sleeve, all the foam cleanly pulled off. Embedded in the foam was a layer of black.  It looks like water rusted its way down the sleeve.  The surface of the pipe remained bonded to the foam, and water leaked under that.  There is some powdery residue on the pipe that's a mixture of black and some rust color.  The sleeve otherwise seems virtually intact. Issues  I can try to remove the rust in the exposed area, but the sleeve will rust again, making it hard to do a permanent repair. The foam didn't make a permanent seal with some of the concrete, making me wonder whether it's suitable for this application. Trying to seal with hydraulic cement will require grinding away all traces of foam for it to bond well with the concrete wall.  The area doesn't have great work access, so this would be difficult, messy, and involve risk of damaging surrounding plumbing.  Also, can you even use cement on iron (thinking rebar issues)? My understanding is that the purpose of the sleeve is to facilitate servicing the pipe if needed.  An approach like encapsulating the opening with epoxy would require bonding to the PVC pipe to be permanent. The exterior of the wall is inaccessible; all work must be done on the inside.  Solution? Is there a good, permanent solution?  What I've considered:  I could just clean it up and apply new foam.  Hopefully it would hold for another 10-15 years (and maybe become someone else's problem). I could clean it up and use hydraulic cement to seal it.  That would be a lot more work, and also temporary because of new rust. I could encapsulate the opening in epoxy.  If I ever need to service the pipe, just deal with it then. I could try to seal the hole by injecting Gorilla Glue around the sleeve as far as possible into the hole (syringe with long needle).  That expands as it hardens, after which foam (or cement?) could be added to further seal it.  That might prolong the time until another repair is needed. Wrap the pipe with self-fusing silicone repair tape, and then fill around it with hydraulic cement (no idea whether it would work). I can't think of another material that is waterproof and permanent, cures in the presence of water, stays put while curing under pressure, and bonds with wet surfaces.   Pictures The location is blocked by a utility sink and a water heater, so it's difficult to get at the pipe, to see what you're doing or work on it, and to take pictures.  There are actually two pipes running through the wall in this location.  To the left of the subject pipe is the water line.  Some of the concrete around the two pipes was broken away at construction time; that was all filled with foam before I removed it.  There's still some remaining above each pipe sleeve.  There's also some leakage around the water line sleeve due to gaps in the sealing foam; that one isn't an issue because the sleeve is PVC and sealing that one is straightforward.  This view is the right side of the problem pipe.


Just restarted my computer and this happens, tried switching desktop managers and the same thing. Help?

When I login, nothing happens.   I am presented with my desktop wallpaper.    No Dash, no Launcher, nothing.


In my application I want people to be able to make a post, then be able to copy it, make changes to it, and then compare it to the previous post.   I looked at   And it seems like these might work but I'm not certain which would be the best course of action. If I read it right I would probably want to go with clone. But I don't want the original to be overwritten so I should use dup instead?  Basically I have something like:    def index   @posts = Post.all  end   def new   @post = Post.new   @post.title = "original"  end   def copy   @post = Post.new   @post.dup   @post.title = "something new"   @post.save end   Ideally the post with the title of "original" would exist and the method of copy would allow for everything from the original to be copied over, without overwriting the original, for review. Am I close?

I want to make a copy of an ActiveRecord object, changing a single field in the process (in addition to the id).  What is the simplest way to accomplish this? I realize I could create a new record, and then iterate over each of the fields copying the data field-by-field - but I figured there must be an easier way to do this. Perhaps something like this:  new_record = Record.copy(:id)


I would like to install Ubuntu on a computer with an unformatted hard drive, do I need to format my harddrive before installing Ubuntu, or can I just install Ubuntu without any problems?  Greetings, Bart

I would like to see a full how-to guide on how to install Ubuntu.


I know log |z| has a complex harmonic conjugate if we only consider the complex plane with $(-\infty , 0]$ removed because log |z| is just the real part of the principal Log function, so we can just use say $v=Arg(\theta)$. But I'm not sure how to make the same argument if we only consider the complex plane without the origin. Yes, the Arg function no longer works because it is not continuous but you can still argue there may be another harmonic function that works. How can we argue that there is absolutely no other harmonic function v such that log|z| + iv(x,y) is analytic on C*? Also, complex integration has not been introduced, so I don't want to prove this using any complex integration.

How I prove that $u(z)=\ln |z|$ has no harmonic conjugate in $\mathbb C \setminus \{0\}$ ?   I found from C-R equation that $v(z)=\arctan(y/x)$ , which is defined in  $\mathbb C \setminus \{0\}$ . So why it is not a harmonic conjugate of $u$ ?


Can parallel lines meet?  There is a person that takes a calculus course with us, and every time we ask him for something he answers us with I'll do it when two parallel lines meet each other. So I decided to give him a proof of this so that he won't say it anymore (it is annoying).  I've heard that two parallel lines can meet each other at infinity, is this true?

My teacher told me that two parallel lines have a point of intersection, it is called Point at infinity. But I I can't understand how it can be true or how was it proved, can someone explain this to me?  Thank you.


I have an Excel sheet which has two columns. Both columns have numbers. The first column contains more numbers than the second column. I want to find which all numbers in the second column are there in first column and which are not.  For example consider the following as an example:  Col A | Col B 1     |2 2     |5 3     |7 4     |10 5     |15 6     | 7     | 8     | 9     | 10    | 11    | 12    | 13    | 14    | 15    |

I have two columns in Excel that I want to compare and find the differences between them.  Suppose:   Col A has 50 numbers, i.e. 0511234567 Col B has 100 numbers in the same format


English is not my native language. I read much more than I speak or hear. In fact, the only time I hear English being spoken is when I'm at my lectures in college or watching a movie.   However, I read a lot, and I know how to words are spelt but don't know how they are enunciated.  For example, I have long know  the word "lingerie", having come across it in my reading, but only recently knew that it was pronounced "lawngzere" and not "lingerie".  So how do I know how a word in pronounced just by looking at it's letters on a page?

I have learned English for many years, and from the first day I began to learn it I know the dictionary is necessary for the study.  One of the important aspects is that English words, unlike German and Spanish, usually can not be read correctly without phonetics.  But recently, I talked with some native speakers and they told me they can read any word directly and rightly even though they never learned it before.  I just want to know how they can do that -- there is no ordinarily acceptable method to read an English word?


I have a dataset with 37 independent variables and a dependent variable. In order to take care of multicollinearity among the independent variables, I conducted a PCA on them. My first principal component explains 53% of the variance in the data.  However, when I run a linear regression using top 10 PCs (explaining ~90% of the variance) as independent variables:  lm(dependent ~ PC1 + PC2 + ...))   the regression coefficient for PC1 comes to be statistically insignificant (all other 9 PCs are highly significant). I would have imagined that PC1 would have been highly significant.  Am I conceptually missing something?

Suppose I am running a regression $Y \sim X$. Why by selecting top $k$ principle components of $X$, does the model retain its predictive power on $Y$?   I understand that from dimensionality-reduction/feature-selection point of view, if $v_1, v_2, ... v_k$ are the eigenvectors of covariance matrix of $X$ with top $k$ eigenvalues, then $Xv_1, Xv_2 ... Xv_k$ are top $k$ principal components with maximum variances. We can thereby reduce the number of features to $k$ and retain most of the predictive power, as I understand it.   But why do top $k$ components retain the predictive power on $Y$?   If we talk about a general OLS $Y \sim Z$, there is no reason to suggest that if feature $Z_i$ has maximum variance, then $Z_i$ has the most predictive power on $Y$.   Update after seeing comments: I guess I have seen tons of examples of using PCA for dimensionality reduction. I have been assuming that means the dimensions we are left with have the most predictive power. Otherwise what's the point of dimensionality reduction?


So I tried several manuals to install and start at boot KDE Plasma on 20.04. Namely:     Even:  HW: Graphics: Sapphire PULSE RX550 2GB (64) aktiv D H DP Processor: AMD, Trinity A4-Series X2 5300 Processor BOX, soc. FM2, 65W, Radeon TM HD 7480D Not sure if the dual graphics is disabled. command startX results a blue screen with movable mouse cursor

I have Ubuntu 12.04.4 LTS (64 bit) server with no GUI. Can anyone tell me how do I install KDE on it? Will that command be okay?  apt-get install kubuntu-desktop -y startx   Or something else has to be done?


I created a module to generate and display demo content; I would like to know if I can use Twig inside my pricing-table.html file and use a function to convert all data to HTML to use for #markup.  How does Drupal 8 convert Twig in HTML?    public function princingTablesPage() {     return array(       '#title' => 'Pricing Tables',       '#markup' => file_get_contents(__DIR__."/../../demo_pages/pricing-table.html")     );   }

Is this considered a good practice for rendering a Twig template and loading a CSS file from a controller?   DefaultController.php  namespace Drupal\acme\Controller;  use Drupal\Core\Controller\ControllerBase; use Drupal\Core\DependencyInjection\ContainerInjectionInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\Core\Template\TwigEnvironment;  class DefaultController extends ControllerBase implements ContainerInjectionInterface  {   /**   * @var Drupal\Core\Template\TwigEnvironment   */   protected $twig;    public function __construct(TwigEnvironment $twig)   {     $this->twig = $twig;   }    public static function create(ContainerInterface $container)   {     return new static(       $container->get('twig')     );   }    /**    * hello    * @param  string $name    * @return string    */   public function hello($name)    {      $template = $this->twig->loadTemplate(       drupal_get_path('module', 'acme') . '/templates/hello.html.twig'     );      $markup = [       '#markup' => $template->render([ 'name' => $name ]),       '#attached' => [ 'css' => [           drupal_get_path('module', 'acme') . '/assets/css/acme.css'         ]       ]     ];      return drupal_render($markup);   } }   acme.routing.yml  acme_hello:   path: '/acme/hello/{name}'   defaults:     _content: '\Drupal\acme\Controller\DefaultController::hello'     _title: 'acme Title'   requirements:     _permission: 'access content'   hello.html.twig

Hello {{ name }}!


Let $K$ be a field. Given $V$ a $K$ vector-space containing all sequences $a=(a_n)_{n\in \mathbb N}$ with values from $K$, such that $a_n\neq 0$ for only finitely many $n\in \mathbb N$.  I want to to find $f,g\in\mathrm{End}(V)$ such that $f\circ g=id_V$ and $f,g\not\in\mathrm{End}(V)^{\times}.$

Let $R$ be a ring with unity $1$ and let $a,b\in R$ be not s. Is there any counterexample for: $$ab=1\quad\Rightarrow \quad ba=1$$


This question is from William R. Wade's Introduction to Analysis book:  Prove that every open set in $\Bbb R$ is a countable union of open intervals.   I have no ideas honestly. Thank you.

Let $U$ be an open set in $\mathbb R$. Then $U$ is a countable union of disjoint intervals.    This question has probably been asked. However, I am not interested in just getting the answer to it. Rather, I am interested in collecting as many different proofs of it which are as diverse as possible. A professor told me that there are many. So, I invite everyone who has seen proofs of this fact to share them with the community. I think it is a result worth knowing how to prove in many different ways and having a post that combines as many of them as possible will, no doubt, be quite useful. After two days, I will place a bounty on this question to attract as many people as possible. Of course, any comments, corrections, suggestions, links to papers/notes etc. are more than welcome.


I'm using Tabular and XColor to color some cells of a table, but some of the coloured cells are "printed above" the lines of the table (see attached image, which shows part of the table). How could I avoid this?  Thanks in advance for your time and effort! :)    \begin{center} \begin{tabular}{|l|cccc|cccc|cccc|} \hline  (...first part of the table, not relevant...)  First item & \cellcolor{gray!25} & \cellcolor{gray!25} & \cellcolor{gray!25} & \cellcolor{gray!25} & \cellcolor{gray!25} & \cellcolor{gray!25} & & & & & & \\ \hline Second item & & & & & \cellcolor{gray!25} & \cellcolor{gray!25} & & & & & & \\ \hline Third item & & & & & \cellcolor{gray!25} & \cellcolor{gray!25} & \cellcolor{gray!25} & \cellcolor{gray!25} & & & & \\ \hline  (...the rest of the table...)  \end{tabular} \end{center}

I'm using the xcolor package to colour the top row in a table. This is displayed properly using PDF viewers such as Preview or Skim (Mac). But using Adobe Reader 10.1.3 (either Windows or Mac) doesn't display the table line properly.   But removing the colouring for the table fixes it. Here is the example that works as expected:  \begin{table} \caption{Table showing Feature 5's Functional Tests} \hspace*{-0.5in} \begin{tabular}[h!]{|p{0.6cm}|p{4cm}|p{5cm}|p{4cm}|p{1.5cm}|} \hline {\bf Test ID } & {\bf Task } & {\bf Expected} & {\bf Actual} & {\bf Outcome} \\ \hline    5.1 & Something &  Something & Something &  Success \\ \hline    5.2 & Something &  Something & Something &  Success \\ \hline    5.3 & Something &  Something & Something &  Success \\ \hline    5.4 & Something &  Something & Something &  Success \\ \hline \end{tabular}  \end{table}   And here is the example with a coloured row:  \begin{table} \caption{Table showing Feature 5's Functional Tests} \hspace*{-0.5in} \begin{tabular}[h!]{|p{0.6cm}|p{4cm}|p{5cm}|p{4cm}|p{1.5cm}|} \hline \rowcolor{gray!25} {\bf Test ID } & {\bf Task } & {\bf Expected} & {\bf Actual} & {\bf Outcome} \\ \hline    5.1 & Something &  Something & Something &  Success \\ \hline    5.2 & Something &  Something & Something &  Success \\ \hline    5.3 & Something &  Something & Something &  Success \\ \hline    5.4 & Something &  Something & Something &  Success \\ \hline \end{tabular}  \end{table}   Removing the \rowcolor{} command replacing it with \cellcolor{} creates the same view. Any idea how to fix this?  I've tried printing it out of Adobe and the lines print fine, but as this will be read on as a soft copy it's pretty important. .  Any idea how to fix this?


One day I logged into my system and it started offering me "Pop!_OS 20.10 is available." popup. The system is "Ubuntu 20.04.1 LTS" and was upgraded from 18.04 TLS release via standard Ubuntu upgrade. Why am I getting this Pop distro upgrade? Is something wrong? I know that Pop distro is not Ubuntu and never have been. And I also can't find any information about this strange upgrade. Is this some kind of a virus or what?

I have Ubuntu 18.04 and I just received a notification that I can upgrade to Pop!_OS 19.10. Why in the world would this happen? Did I break my system? Has anyone else had something similar happen?  The only thing I have installed from Pop!_OS is their icon theme. Could it be because I have their ppa on my system? How can I clear this notification and request to update?


Recall Question 6 of the 1988 Math Olympiad  Question 6 is as follows:     Let $a$ and $b$ be positive integers such that $ab + 1$ divides $a^2 +  b^2$. Show that $$\frac{a^2+b^2}{ab+1}$$ is the square of an integer.   My proof:     Proof:      Let us denote the square of an integer by $k^2$. We have to show that   $$\frac{a^2+b^2}{ab+1}=k^2$$ for some $a > 0$ and $b > 0$ where $a, b, > k \in \Bbb Z$.      Rewriting the equation:      $$a^2+b^2=k^2(ab+1)=k^2ab+k^2$$      Let $k = b$:      $$a^2+b^2=b^3a+b^2 \Rightarrow a^2=b^3a \Rightarrow a=b^3$$      To check, let's substitute these relations back in the original   expression:      $$\frac{a^2+b^2}{ab+1}=\frac{(k^3)^2+(k)^2}{(k^3)(k)+1}=\frac{k^6+k^2}{k^4+1}=\frac{k^2(k^4+1)}{k^4+1}=k^2$$   Two of things I would like to know about this Olympiad Question:   Is this proof correct? Is there a reliable way to check if a certain solution to a proof already exist?   Background  Every now and then I visit Youtube for educational purposes. I've been a great fan of Kurzgesagt, Numberphile, Computerphile, and other educational channels. For anyone not having heard of these channels I would greatly recommended to check them out!  Today I was watching this video on the channel of Numberphile: . In this video a great mathematician Professor Tao tells about his passion for mathematics from a young age. At some point in this video it is mentioned that Tao only scored 1 out of 7 points for the infamous Question 6 from the 1988 Math Olympiad. In the next couple of frames this video shows the details of the question. At that moment I paused the video to try and solve this question by myself, with only pen and paper.  After 10 minutes or so I figured out the solution to this problem and questioned myself why the question is called infamous. I came across some solutions at this site that are, in my opinion, mindblowing in terms of length and mathematical notation, for example  solution. Then I read something about Vieta-jumping that I'm not familiar with and how it's used to solve this question (or not). A rather simple solution I came across is  one. I think the elegance and quality of a solution is greatly influenced by its length and level of simplicity in terms of notation, terminology, and construction.  As far as I did my silly online research I couldn't find a solution that was equivalent to mine. Therefore I thought it would be a good idea to share it and let other people, with a much broader understandig of existing mathematical proofs, decide if this proof is correct (and a known solution).

Let $a,b$ be positive integers.  When $$k = \frac{a^2 + b^2}{ab+1}$$ is an integer, it is a square.    Proof 1: (Ngô Bảo Châu): Rearrange to get $a^2-akb+b^2-k=0$, as a quadratic in $a$ this has two values: $a$ and $kb - a = (b^2-k)/a$. (The second root is determined in two different ways from the expansion $(x-r_1)(x-r_2) = x^2 - (r_1 + r_2)x + r_1 r_2$.)  Now suppose we have $a,b$ such that $k$ is an integer but not a square, by the investigation about roots we have that the second root is a nonzero integer since $k,b,a$ are integers and $k \not = b^2$, futhermore it is positive which is easily seen from its defining equation.  WLOG assume $a \ge b$ so that the second root is strictly smaller than $a$. This leads to a decent, replacing $a$ with the second root.    Proof 2 (Don Zagier): Apply reduction theory (specifically, Sätze 1 and 2 of Section 13 of my book on quadratic fields) to the quadratic form $x^2 + kxy + y^2$, which is the unique reduced quadratic form in its equivalence class.    Note that Proof 2 is pretty much the same as Proof 1 when written out in explicit detail, but I could not read Zagier's book because I cannot read German.  I would like to know more approaches to this and other alternative proofs of this result if possible! Thanks in advance.  I would also be interested in related problems (especially easier ones of a similar nature) and texts which cover the reduction theory in English.


Here is my table i want to add value in one line format my code is   OrderDate OrderID ItemNo PaymentType        Cash    Nets    Visa    AMEX MasterCard Voucher Remarks ReciptNo  2018-01-27  809   40149  Mix Payment Type   NULL    NULL    NULL    NULL    NULL    55.00   NULL    NULL 2018-01-27  809   40149  Mix Payment Type   NULL    NULL    NULL    NULL    10.00   NULL    NULL    ABC123 2018-01-27  809   40149  Mix Payment Type   NULL    NULL    NULL    4.00    NULL    NULL    NULL    PQE789 2018-01-27  809   40149  Mix Payment Type   NULL    NULL    10.00   NULL    NULL    NULL    NULL    123456 2018-01-27  809   40149  Mix Payment Type   20.00   NULL    NULL    NULL    NULL    NULL    NULL    NULL   i want o/p like   OrderDate   OrderID     ItemNo       PaymentType        Cash    Nets    Visa    AMEX    MasterCard  Voucher Remarks    ReciptNo 2018-01-27  809         40149        Mix Payment Type   20.00   NULL    10.00   4.00    10.00       55.00   NULL    ABC123,PQR789,123456   what should i do for that in sql query

I'm trying to migrate a MySQL-based app over to Microsoft SQL Server 2005 (not by choice, but that's life).  In the original app, we used almost entirely ANSI-SQL compliant statements, with one significant exception -- we used MySQL's group_concat function fairly frequently.  group_concat, by the way, does this: given a table of, say, employee names and projects...  SELECT empName, projID FROM project_members;   returns:  ANDY   |  A100 ANDY   |  B391 ANDY   |  X010 TOM    |  A100 TOM    |  A510   ... and here's what you get with group_concat:  SELECT      empName, group_concat(projID SEPARATOR ' / ')  FROM      project_members  GROUP BY      empName;   returns:  ANDY   |  A100 / B391 / X010 TOM    |  A100 / A510   So what I'd like to know is: Is it possible to write, say, a user-defined function in SQL Server which emulates the functionality of group_concat?   I have almost no experience using UDFs, stored procedures, or anything like that, just straight-up SQL, so please err on the side of too much explanation :)


I broke my phone a couple weeks ago, thankfully I was paying the $7/mo for insurance and was able to get a replacement in the mail a few days later.  This new phone isn't registered with my Google Play account ( doesn't list it) and I can't remotely install apps through .  Everything else is working fine, it's sync'd with my gmail/chrome just fine and I'm able to install already-paid for applications on it without a problem.  The only thing it seems I can't do is install apps remotely through the play.google.com/store website, which makes sense given it's not registered as one of my devices.  Am I missing something obvious?  In the past my devices have always been registered automatically, as best I could tell anyways.

When I go to , my tablet is listed, but not my phone. I had signed up just as soon as ADM was available, and at that time both devices were listed. Now, for the last several days, I can only see my tablet. (For what it's worth, both devices appear in the "My Devices" section of the Google Play Store.)  I have done the following while troubleshooting:   Ensured that the Android Device Manager settings in Google Settings are both on. I have even toggled them off and back on again Ensured that Location Services are on Ensured that all sync services for my account are toggled on and work Have connected to the Play Store several different times Ensured Google Play Services is at the latest version Made sure I'm using the right account. (In fact, I removed the other secondary accounts from the phone) Power-cycled the phone several different times   I could understand if ADM couldn't find the phone due to it being off, out of range, poor signal, etc., but ADM would at least display the phone and tell me it couldn't find it.  So, any suggestions to get my phone to show up on Android Device Manager?  I would like this to be working before something happens to the phone. ( and all that.)  Although it shouldn't make any difference:   Tablet: Nexus 7 (2012) with Android 4.3 Phone: Verizon Galaxy Nexus with Android 4.2.2   Addendum:  There's apparently some (relatively new) advice on the :   Open  Google Settings from your device's apps menu. Touch Android Device Manager. Uncheck Allow remote factory reset. Go to your device's main Settings menu, then touch Apps > All > Google Play services. Touch Clear Data. Note that this action doesn't remove personal data. Go back to Google Settings and select Allow remote factory reset. Restart your device.   I have followed these steps, but it doesn't appear to have worked.


Since there is no option for flat shading in OpenGL ES2, is there a workaround to disable the color interpolation when different color is being passed to each of the vertices?  Update: I'm working with OpengGL ES 2.0 in android. I'm given with these vertices which I used to draw shapes by connecting them with lines. Now I need to change color of each of these lines individually. I tried passing a color matrix for each vertex through vertex shader to fragment shader but the color gets interpolated (which actually makes sense, since I'm giving different color to two vertices). I did some googling about that and found out glSmoothShader cannot be disabled in OpengGL ES.  Is there a way to color those lines without the colors getting interpolated?  Or is there a way to use multiple triangles to draw a line between two vertices that way i can flat color each of those triangles.

I would like for the color between my vertices to not be rendered as a gradient, but as a hard break. Is there any way to accomplish this in OpenGL/GLSL?


I would like to find a solution $x$ for $x^x = c$ where $c$ is a positive constant.  Firstly I'm looking for an approximative solution when $c$ tends to infinity.  Thank you in advance

Given that   $x^x = y$; and  given some value for $y$   is there a way to expressly solve that equation for $x$?


Let $E\subseteq \mathbb{R}^n$ be a compact set and suppose that for each $x\in E$, there is an $r_x \gt 0$ such that $E \cap B_{r_x}(x) = \{x\}.$ Prove that $E$ is a finite set.  I am a bit confused as to what "finite" means here. Do I have to prove that $E$ is closed and bounded? This is giving me memories of the Heine-Borel Theorem. Am I on the right track?

Show that a discrete and compact subset $D \subset \mathbb{C}$ must be finite. Does this conclusion hold if $D$ is just discrete and bounded? How about discrete and closed?  Compact is the usual (for these simple spaces), closed and bounded, where closed is contained under the limit operation/contains all limit points.  Bounded it can be contained in a ball of some radius around the origin.  $D \subset \mathbb{C}$ is a discrete subset if $\forall z \in D$ there exists a ball of radius $r>0$ such that $D \cap B_r(z)$ = $\{z\}$.  Okay, for bounded set: why is discrete required? Can you give mme an example of a bounded set that is NOT finite?


I'm trying to get the right paper for the job. That job is the printed cover that is inserted under the plastic on a DvD or Blu-ray  album, to be printed in an Océ CM2522 toner copy machine. Unfortunately, I'm at a loss what all the various words and numbers really mean. I can't find much consistency when I actually get a chance to physically inspect them either.  I'm looking for a really glossy paper that's not too think, but thicker than typical office paper. Pull out the paper in a typical DvD and you'll see what I mean. I know office paper is usually 20 or 24 lb, and I've see 60-something pound paper that was pretty think, so I'd guess I'm looking for something between 35 to 45 lb.  Without physically checking it, I bought and was disappointed in the gloss and weight of HP's   .   I had some paper hanging around that was just about exactly what I'd want, so I went to an office store to identify it. They came close on gloss, but were too light with Xerox's    .   The confusing part came when their "100# Gloss Coverstock" was exactly the same, except maybe three times heavier. So if I wanted just a bit heavier, I should look for something like "110lb text"?  Then in looking around I'm seeing papers labeled "smooth" and "matte" instead of "gloss", so I'm pretty sure I don't want that. I've also noticed some papers give a g/m2 weight instead of the pound weight. I've seen  and , but have no idea how that converts to the pound weight.  On top of all this, I still don't know if "laser" means for toner printers only, nor if "inkjet" means it won't work well in a toner printer.  I can't make heads or tails of    The weight designations, both pound and g/m2, and how those convert Why "coverstock" and "text" can be otherwise labeled identically  Whether there's an actual glossiness rating I can consider What "smooth", "matte", and "gloss" really mean, other than the implications from the words' common definitions. What words like "laser" and "inkjet" imply about the printer compatibility Auxiliary words like "Premium32" and "Elite" (maybe just brand marketing)

I'm printing a tradeshow flyer and was wondering what type of paper I should print it on. I don't want anything glossy so I'm trying to decide on the following:   100# text weight matte 80# cover 80# matte   What is the difference between the types above? And how can I make a decision?


whenever i install a package eula notification appears.like   │ TrueType core fonts for the Web EULA                                           │                                                                                │ END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE                              │                                                                                │ IMPORTANT-READ CAREFULLY: This Microsoft End-User License Agreement            │ ("EULA") is a legal agreement between you (either an individual or a           │ single entity) and Microsoft Corporation for the Microsoft software            │ accompanying this EULA, which includes computer software and may include       │ associated media, printed materials, and "on-line" or electronic               │ documentation ("SOFTWARE PRODUCT" or "SOFTWARE"). By exercising your           │ rights to make and use copies of the SOFTWARE PRODUCT, you agree to be         │ bound by the terms of this EULA. If you do not agree to the terms of           │ this EULA, you may not use the SOFTWARE PRODUCT.                               │                                                                                what should i do to get rid of this ?

After a recent update, ttf-mscorefonts-installer prompted me to accept its license agreement.     ┌─────────────────┤ Configuring ttf-mscorefonts-installer ├─────────────────┐  │                                                                           │   │ TrueType core fonts for the Web EULA                                          │                                                                               │ END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE                             │                                                                               │ IMPORTANT-READ CAREFULLY: This Microsoft End-User License Agreement           │ ("EULA") is a legal agreement between you (either an individual or a          │ single entity) and Microsoft Corporation for the Microsoft software           │ accompanying this EULA, which includes computer software and may include      │ associated media, printed materials, and "on-line" or electronic              │ documentation ("SOFTWARE PRODUCT" or "SOFTWARE"). By exercising your          │ rights to make and use copies of the SOFTWARE PRODUCT, you agree to be        │ bound by the terms of this EULA. If you do not agree to the terms of          │ this EULA, you may not use the SOFTWARE PRODUCT.                              │                                                                               │                                  <Ok>                                         │                                                                           │   └───────────────────────────────────────────────────────────────────────────┘    Screenshot:   For some reason my terminal will not allow me to accept, or for some reason I am pressing the wrong hotkey...  I've tried every letter on the keyboard and Enter among others...  I'm sure there is a very simple and obvious solution to this.  I've also just tried to remove the package completely however the terminal states that due to the package not being correctly installed, I should reinstall the package before removing it.  Very frustrating!  Essentially, because I cannot successfully install this package, I can't really ever upgrade my system because I always have to end up terminating the terminal with the license agreement (thus the upgrade fails).


I am doing exercises from the Tom Leinster's Basic Category Theory and I want to check the answer to the following exercise:  Let $G$ be a group. For each $g\in G$, there is a unique homomorphism $\phi:\mathbb{Z}\to G$ satisfying $\phi(1)=g$. Thus, elements of $G$ are essentially the same thing as homomorphisms $\mathbb{Z}\to G$. When groups are regarded as one-object categories, homomorphisms $\mathbb{Z}\to G$ are in turn the same as functors $\mathbb{Z}\to G$. Natural isomorphism defines an equivalence relation on the set of functors $\mathbb Z\to G$, and, therefore, an equivalence relation on $G$ itself. What is equivalence relation, in purely group-theoretic terms?  My answer is that this relation can be caracterized in the following way: two elements $g,g'$ are in relation if there is automorphism $\alpha$ of $G$ such that $\alpha(g)=g'$.  Am I correct and is there a special name for this equivalence relation?

So imagine you have a group $G$ and we consider the set of group homomorphisms from $\mathbb{Z}$ to  $G$ specified by  $\forall g$ $\in G$ $\exists$   $\phi(1)=g$. Each of these homomorphisms is in 1-1 relation with the elements of $G$.  Consider groups for a moment in the context of category theory, viewing the groups as one object categories and thereof group homomorphism as functors. What would a natural isomorphism mean in group theory terms for G?  My thoughts are that the natural transformations equate to maps between homomorphisms and since the homomorphisms are in 1-1 relation with the elements of G, then a natural transformation is a map between group elements, i.e another element of the group. I'm not entirely convinced by this.   Anyway continuing my reasoning a natural isomorphism is a map between the homomorphisms that has an inverse, the thing is in relation to the elements of G this is every element? Furthermore I'm looking to find an equivalence class defined by this natural isomorphism, is this just a collection of the elements that are each others inverses?  Thanks in advance for any assistance.


I want to transfer a game with my progress form my phone to my tablet. The game is in my Google play account but it does not show my progress when I open the game. Please help!

I'm planning to buy a new Android phone and I'd like to be able to transfer the progress I have made at several games to the new device, so I won't have to play all the levels again from scratch.  I currently have an HTC Desire and will buy an HTC Evo 3D.  There's probably no simple/general solution to this.  But I was wondering if anyone did something similar and could provide some advice (e.g. where to look for files that might hold game progress information).


I am using a Mac for the first time and need to install Eclipse. How do I know if I am on a 32 bit or 64 bit computer? I am on a MacBook Pro.

I want to install new software that has these two versions, and I need to know which one to install.  How can I tell the 32 or 64 bit capabilities of my Mac?


Let G be a finite group and let H and K be subgroups of G.  Suppose that H is a subgroup of K. Then $ (G:H)=(G:K)(K:H)$  So I have to prove that the number of cosets of H in G is equal to the number of cosets of K in G multiplied by the number of cosets of H in K.   But we also know that $(G:H)$ = $\frac{order(G)}{order(H)}$. If I just use this formula, it is very easy to prove the statement by just equating the two and cancelling out the order of K.  But I feel like using that formula is not enough to prove this statement. Any help would be appreciated!

I would like to prove that : If $H$ is a subgroup of $G$ and $K$ is a subgroup of $H$, then  $$|G:K|=|G:H||H:K|$$  I appreciate any clear explanation of this. Thanks !


I guess I saw a suggestion somewhere that standard latex does not use $$ notation for math equation, but I am not sure. This is the default template provided by the online compiler. \documentclass{article} \usepackage[utf8]{inputenc}  \title{insert_dollar} \author{mhaonlp } \date{September 2019}  \begin{document}  \maketitle  \section{Introduction}  \end{document}  and got this error  Missing $ inserted. Check that your $'s match around math expressions. If they do, then you've probably used a symbol in normal text that needs to be in math mode. Symbols such as subscripts ( _ ), integrals ( \int ), Greek letters ( \alpha, \beta, \delta ), and modifiers (\vec{x}, \tilde{x} ) must be written in math mode. See the full list here.If you intended to use mathematics mode, then use $ … $ for 'inline math mode', $$ … $$ for 'display math mode' or alternatively \begin{math} … \end{math}.  The whole thing above  So, should I use $ notation to deal with math expressions in latex?

I have a variable name that I need to include mid-paragraph.  The variable is called "oral_read_score".  LaTeX seems to think that I meant the "r" and "s" to be subscripts, and gives an error unless I change to $oral_read_score$, which is not what I want.  Is there some option I can use to turn this error off?


Getting a "this code will never be reached" under self.weight, for some reason. The code all works, however the self.weight inst returned when i print this function  class Person:     def __init__(self,name,weight):         self.name=name         self.weight=weight      def BMI(self):         return self.name         return self.weight   person1=Person("john",52) print(person1.BMI())

The canonical way to return multiple values in languages that support it is often . Option: Using a tuple Consider this trivial example: def f(x):   y0 = x + 1   y1 = x * 3   y2 = y0 ** y3   return (y0, y1, y2)  However, this quickly gets problematic as the number of values returned increases. What if you want to return four or five values? Sure, you could keep tupling them, but it gets easy to forget which value is where. It's also rather ugly to unpack them wherever you want to receive them. Option: Using a dictionary The next logical step seems to be to introduce some sort of 'record notation'. In Python, the obvious way to do this is by means of a dict. Consider the following: def g(x):   y0 = x + 1   y1 = x * 3   y2 = y0 ** y3   return {'y0': y0, 'y1': y1 ,'y2': y2}  (Just to be clear, y0, y1, and y2 are just meant as abstract identifiers. As pointed out, in practice you'd use meaningful identifiers.) Now, we have a mechanism whereby we can project out a particular member of the returned object. For example, result['y0']  Option: Using a class However, there is another option. We could instead return a specialized structure. I've framed this in the context of Python, but I'm sure it applies to other languages as well. Indeed, if you were working in C this might very well be your only option. Here goes: class ReturnValue:   def __init__(self, y0, y1, y2):      self.y0 = y0      self.y1 = y1      self.y2 = y2  def g(x):   y0 = x + 1   y1 = x * 3   y2 = y0 ** y3   return ReturnValue(y0, y1, y2)  In Python the previous two are perhaps very similar in terms of plumbing - after all { y0, y1, y2 } just end up being entries in the internal __dict__ of the ReturnValue. There is one additional feature provided by Python though for tiny objects, the __slots__ attribute. The class could be expressed as: class ReturnValue(object):   __slots__ = ["y0", "y1", "y2"]   def __init__(self, y0, y1, y2):      self.y0 = y0      self.y1 = y1      self.y2 = y2  From the :  The __slots__ declaration takes a sequence of instance variables and reserves just enough space in each instance to hold a value for each variable. Space is saved because __dict__ is not created for each instance.  Option: Using a  (Python 3.7+) Using Python 3.7's new dataclasses, return a class with automatically added special methods, typing and other useful tools: @dataclass class Returnvalue:     y0: int     y1: float     y3: int  def total_cost(x):     y0 = x + 1     y1 = x * 3     y2 = y0 ** y3     return ReturnValue(y0, y1, y2)  Option: Using a list Another suggestion which I'd overlooked comes from Bill the Lizard: def h(x):   result = [x + 1]   result.append(x * 3)   result.append(y0 ** y3)   return result  This is my least favorite method though. I suppose I'm tainted by exposure to Haskell, but the idea of mixed-type lists has always felt uncomfortable to me. In this particular example the list is -not- mixed type, but it conceivably could be. A list used in this way really doesn't gain anything with respect to the tuple as far as I can tell. The only real difference between lists and tuples in Python is that lists are , whereas tuples are not. I personally tend to carry over the conventions from functional programming: use lists for any number of elements of the same type, and tuples for a fixed number of elements of predetermined types. Question After the lengthy preamble, comes the inevitable question. Which method (do you think) is best?


I recently bought a new Windows 10 computer. Installation of my apps without a hitch.  I would like to the default file associations. For example I would like .GIF to open with Adobe Fireworks and .JPG or .PNG files to open with Photoshop.  Wherever ("File explorer >> Open with" or in the Settings >> apps >> Default apps) I change something it has NO EFFECT when I double click on a file with the extension.  Does Windows write a log file somewhere about what goes wrong? I've searched the Event Viewer but found nothing. Perhaps I am searching for the wrong thing?  So far I've tried:   File Explorer >> "Open with". That only on the one time I click on the menu. Afterwards the default app Photos is active again Settings >> Apps >> Default apps by file type or app

Disclaimer: I know how to set default apps and file extensions, I have done it many times previously.    I have just installed Windows 10 Home on a new machine. I'm trying to associate my web development files with Netbeans specifically, but that may be irrelevant.  1. File extensions not available  Firstly, lots of common file extensions I use are not present in the file extensions list - e.g. .php extension. I don't know if that is normally available in the Windows list. I certainly didn't have to manually add the .php extension on my previous computer with the same OS.  . As I say, I have never had to do that before.    2. "Open With" doesn't save my choice of app  If I right-click on a file and "Open with" and enable "Always use this app to open files" it will open the file in the program I select, but the file icon in Explorer will not change, and it will not set it as the default program.  I still have to select "Open with" every time I open a file with that extension.    3. I cannot choose defaults by app  Settings > Default apps > Set defaults by app  My program (Netbeans) is not in the list of available apps.    4. I cannot choose defaults by file type  Settings > Default apps > Choose default applications by file type  If I select a file extension and "[+] Choose a default", when I select an app it will hang for a second as if it's working, then nothing happens. The default will not be set, and the "[+] Choose a default" button is still there.  Note: This does work for any file type with a default app already set.    Other Info   I can change the extension for common files such as PNG, TXT. I cannot change extensions for files such as HTML, CSS, JS, PHP, SQL.


So I created a network using Hamachi, my friend joined, copied my IP from Hamachi, pasted it in direct connect, and I told him the port. He didn't write anything wrong, every number was correct. Even though we did everythnig well, he couldn't join. This is the message he got:  failed to connect to the server. io.netty.channel.AbstractChannel(dollar sign)AnnotatedConnectException:Connection refused:no further information What could go wrong?

Whenever I start an Unturned Server, my friends can join it over Hamachi without a problem.  Same way with Magicite, we can play together with no issue.  But whenever we try to join a Minecraft Server I started it says java.net.ConnectionExeption: Connection timed out: no further information: And they can't join.    I am properly launching a Minecraft.1.8.6.exe server not just Opening it to LAN.  I had my friend host a server and I was able to connect without a problem but he says it slows down his computer too much, so we aren't able to play Minecraft together.  I have had several friends try to connect from several different computers, and they had the same problem.  my LAN Minecraft games work OK, but it is just Hamachi hosted games.  Any way to fix it?  I am assuming it'd have something to do with my Hamachi Network Adapter, or my Firewall.  I have inbound, outbound, and Gateway rules set for hamachi-2-ui.exe so I wouldn't think it would've been my firewall.    EDIT: I had my Hamachi connection set as a Public connection and Public Networks don't have the rights to inbound connections, so by setting it as a Work/Home connection fixed the problem.


Can a character with darkvision see into Hunger of Hadar? This assumes the character is not inside the spells area, and therefore not blinded. This has come up a few times on this stackexchange, but never really answered.  The hunger of Hadar spell (PHB, p. 251) creates a black void of darkness, which cannot be penetrated by light. This means that no one can see in [...]  is stated in , without any rules to back it up.  I'm not even going to go into the debate about whether darkvision can see through hunger of hadar  From  Therefore I think a seperate question is warranted.

The  spell (PHB, p. 251) creates a black void of darkness, which cannot be penetrated by light. This means that no one can see in, and those inside cannot see at all, which is a handy way to damage and control enemies since they don't know which way is out. This also means that characters cannot easily attack those inside. The Devil's Sight , however, enables a warlock to see normally in magical and non-magical darkness. Does this enable the warlock to see into the area of blackness created by hunger of Hadar and attack creatures inside? Are there any other sight mechanics that allow someone to see in or out of the spell?


When writing an article in LaTeX, I don't usually have a specific formula in mind that might be refereed to later. So I have to label all of them. I find manually adding \label{} slow.  Is there a quick way to put \label{} quickly in an organizable clear way?   Moreover, if I have already used the label sec1-eq1, sec1-eq2, (and suppose I have already referred to them somewhere else,) but I need to put a new formula between these two, then I will have to use something like sec1-eq1-1 for it. What I want is to change sec1-eq2 to sec1-eq3 then I have the right label for this new formula. Is there a way to change \label{sec1-eq2} to \label{sec1-eq3} so that all the \ref{sec1-eq2} will automatically become \ref{sec1-eq3}?

I'm facing a problem with my document that has many equations. The problem with the labelling issue if I decide to modify or add new equations. Basically so far, I'm using \label{eq4.1} where 4 for the chapter four and 1 for the first equation. With this approach, if I decide later to add new equations before eq4.1, then I have to change all subsequent equations to reflect this change. I'm looking for a better and flexible approach to cope with this problem.   \documentclass{article} \usepackage{amsmath}  \begin{document}  \begin{align} x &= 2^{100}, \label{eq4.1} \\ y &= 2^{100}, \label{eq4.2} \\ z &= 2^{100}. \label{eq4.3} \end{align}  These are \eqref{eq4.1} and \eqref{eq4.2} and \eqref{eq4.3}.   \end{document}


From the field $\{0,1,A,B\}$ I know that, by exhaustion, $A\cdot B=1$ but how do I get $A \cdot A $ and $B\cdot B$? How can I get the sum table? We haven't been thought almost anything about fields in class yet so I am stuck even with the other answers on the internet. I need a full explanation. I don't know what cyclic means or anything pretty much about fields.

I'm currently tutor in an undergraduate course and the students are asked to find how addition and multiplication behave on the field with 4 elements: $\{0,1,x,y\}$. In the solution the teacher gave me, he uses the fact that $(\mathbb{F}_4^*, \cdot )$ is cyclic with order 3 to find that $x$ and $y$ are both generators and that $(\mathbb{F}_4,+)$ is a group of order 4 to deduce that $0=1+1+1+1=(1+1)(1+1)$ and hence, $(1+1)=0$ since a field is integral.   However, I'm not satisfied with this reasoning because this question is asked to student in first year and they juste have been introduced to fields (and this was part of an analysis course so they won't see any result soon). So I tried to find how it behaves by myself, using as few results as possible.  Multiplication is the easy part, $0\cdot a$ and $1 \cdot a$ is trivial for all $a\in \mathbb{F}_4$. Then, $x\cdot y\not = 0$ because it is invertible, and it can't be equal to $x$ or $y$ because that would imply the other element to be equal to $1$. Hence, $x\cdot y=1$. We are left to find what is $x^2$ (and similarly, $y^2$). $x^2$ cannot be $0$, nor $x$. If $x^2=1$, then $y=(x^2)y=x(xy)=x\cdot 1=x$. Contradiction. Hence $x^2=y$ and by the same reasoning, we have $y^2=x$.  It was easy with the multiplication, but I can't figure out any non-trivial result concerning addition. My intuition tells me that distributivity should be used here but I'm feeling like it's just converting a problem into another one because we don't know anything about addition.  Does anyone here have an idea of how addition can be "found" without using any advanced result (or as few results as possible)?  Thanks in advance.


I am new to the Junit. Please suggest what is going wrong in the below code -:  Mockito.when(daoimpl.getEcgs(request)).thenReturn(listOfecg);   getEcgs() takes the DashboardRequest object and the POJO if this class is as -:  public String eligibilityCarrierGroupId; public Set<String> carrierIds; @LastModifiedDate public Date fromDate; @LastModifiedDate public Date toDate;   and the listOfecg POJO is   private String ecgId; private List<String> carrier;   Now, consider i am setting up each and every field with some values and even after that i am getting the null pointer exceptions on   Mockito.when(daoimpl.getEcgs(request)).thenReturn(listOfecg);   Please advice me what might be going wrong.  Full Code-:  public class DashboardDataServiceTest {      //Set<String> testSet = new HashSet<String>();      private MockMvc mockMvc;     @Mock     private DashboardService dashboardService;     @InjectMocks     private DashboardDataController dashboardController;     @InjectMocks     DashboardDaoImpl daoimpl= new DashboardDaoImpl();      @Before     public void setup() {         MockitoAnnotations.initMocks(this);         this.mockMvc = MockMvcBuilders.standaloneSetup(dashboardController).build();     }      @Test     public void testDashboardInfo() throws Exception {         DashboardRequest request = new DashboardRequest();          DashboardDataResponse response = new DashboardDataResponse();         List<String> carrierIds = new ArrayList<>();         Set<String> testSet = new HashSet<String>();         carrierIds.add("KCY");         List<DashboardStatusCount> overall = new ArrayList<>();         DashboardStatusCount dashstatus = new DashboardStatusCount();         dashstatus.setStatus("Success");         dashstatus.setCount(12);         overall.add(dashstatus);          request.setEligibilityCarrierGroupId("aaa");         testSet.add("KCY");         request.setCarrierIds(testSet);         request.setFromDate(new Date());         request.setToDate(new Date());         response.setOverallTotals(271);         response.setOverall(overall);         List<EligibilityCarrierGroupingDoc> listOfecg = new ArrayList<>();         List<String> carrierIdsx = new ArrayList<>();         EligibilityCarrierGroupingDoc ecgDoc = new EligibilityCarrierGroupingDoc();         ecgDoc.setEcgId("aaa");         carrierIdsx.add("KCY");          ecgDoc.setCarrier(carrierIdsx);         listOfecg.add(ecgDoc);          Mockito.when(daoimpl.getEcgs(request)).thenReturn(listOfecg);          DashboardDataResponse responsedata = dashboardService.getDashBoardResponseData(request);         System.out.println("The response data is "+responsedata);     }     private String mapToJson(Object object) throws JsonProcessingException {         ObjectMapper objectMapper = new ObjectMapper();         return objectMapper.writeValueAsString(object);     } }   Thanks in advance.

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


Situation: We recently had a consultant company build new Lync 2013 Servers in a mirror setup.  There are two security principles set, SA (disabled), and a AD group that is only associated with the Public server role.     Setup:   - 6 x Windows Server 2012 R2 Standard 64-bit   - 4 x SQL Server 2012 Standard w/SP1 64-bit (11.0.3128) -   - 2 x SQL Server Express 2012 64-bit(Witness)   - All servers are VMware VMs   Questions:  - Is there a Jedi trick to gain SysAdmin access or will I have to contact our consultant?  - How does this happen?  I thought there was some sort of failsafe to    keep this from happening.

I lost the sa password on a machine, and when I log in to the machine directly using an account in the admin group, SQL Server Management Studio will not allow me to log in using Windows authentication.  My plan was to simply log into the server, connect via Windows Authentication, and reset sa to use a new password. Since I cant' connect via Windows Authentication, this won't work.  How else can I reset the sa password?


I downloaded some .zip files and tried three different programs to open them and these are the results that I got:  Squeeze: command exited with status 2304  Archive Manager: cannot open file as archive  Xarchiver: Archive format is not recognized  So, how am I supposed to open .zip files?

Just downloaded a .zip file from the internet. I want to use the terminal to unzip the file. What is the correct way to do this?


What is a good way to proofread a journal article before you submit it? I would like to do more than just spellcheck.

After an article/book has finally reached the pre-publication stage, the authors have to check the proofs for errors (introduced by themselves or during type-setting). I find this one of the least enjoyable aspects of my work and also think I might not be particularly efficient. It varies with the length of the manuscript. A five-page article in conference proceedings is obviously less of a problem than a monograph.   When proof-reading my own contributions, it is the umpteenth time that I am reading the same text. I find it exceedingly boring, which might make me ineffective (taking a long time to read the text, and potentially overlooking errors). The delay between the actual research and publication of the work can be quite extensive. After such a long time, I am less likely to recall all the details of the analysis, making me more likely to overlook errors in the manuscript.   Asking colleagues to help with this also seems ineffective. They might be less bored while reading the text, but (a) might not be very attentive because they have more pressing issues at hand and (b) can only spot clear inconsistencies, but not other errors you can only notice if you did the research yourself.  How can I make my proof-reading more effective and enjoyable/increase my motivation?


Our schematics capturing tool (PADS Designer) offers the possibility to "automate" several processteps using VBScripts. For example, you can create a PDF either by opening the relevant GUI (3 clicks), enter some additional inforamtion (3 to 5 clicks and some typing) or by running a script (2 clicks). This script include every information we genearlly entered in the GUI. So I went for the scripting option.   In the meantime, I created a set of scripts, helping my colleagues and me to save time. Just recently I reviewed my code with a more experienced colleague (no vbs-experience, or knowled regarding the schematics tool, though), who suggested, I could unify my function calls and names of variables and so on. For example, most of my scripts need file-system-objects, or objects related to the schematics tool; furthermore there's some functions I repeatedly use. Those functions and objects appear in each script file, regardless wether or not I use them. So, the scripts got longer and longer with each new script.   My scripts are written using Notepad++, as    the schematics tool offers no "integrated" scritping environment, I don't use Visual Studio (or some other tool) and  it worked with little effort regarding setup for me.    Now I wonder, if it's possible to add some kind of "header" file that I can include in each vbs-file. this "header" should contain    functions I use in more than one script,  declaration of global variable and constants.    Can this be done, and how?

VBScript doesn't appear to have a way to include a common file of functions.  Is there a way to achieve this?


I have the following shell script code that is not running at boot time.   The boot.sh file is located in /home/icrs/boot.sh:    #!/bin/bash cd /home/icrs/manipulator_proj source devel/setup.bash  xterm -hold -e "roscore" & //xterm -hold -e "cd ~/manipulator_proj/ && ls && catkin_make"   //xterm -hold -e "cd ~/manipulator_proj/ && source devel/setup.bash" xterm -hold -e "cd ~/manipulator_proj/ && rosrun dynamixel_control  dynamixel_control" xterm -hold -e "cd ~/manipulator_proj/ && rosrun dynamixel_control ik" xterm -hold -e "cd ~/manipulator_proj/ && rosrun dynamixel_control server_node"   In terminal it's running fine and excuting, but at boot time it's not running. I placed this file in /etc/rc.local:  #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing.  /home/icrs/boot.sh: exit 0   Kindly suggest us any solution for this issue.

How can I make an application automatically start when I have logged in?


Does anybody know how you can draw a line, that starts very thin and then gets thick to the middle and then thin again? I hope this is clear because I cannot produce a minimal example here.  I think this should be possible with tikz but any solution / suggestion would be welcome.  I would like to use it to separate the Author from the title on the titlepage.

I want to get the line similar to the one in PRL articles at the end. I don't want to use RevTex but can't figure out a simple way of doing it in Latex. Any help will be appreciated.


I will be travelling from Katmandu to Istanbul with a 5 hour stopover in Delhi is a transit visa required.I have British passport and will not be leaving international airport.

I have a valid US passport. I will fly Jet Airways to Delhi airport with 9 hours of layover to change to another Jet Airways Flight to Abu Dhabi. Do I need a transit visa?


Does a South African citizen travelling from Canada to South Africa via Amsterdam, with a lay over of 23:50 need a transit visa?

I found many related questions on this site but I am still not sure about the rules. How can I decide if I need a visa to transit? Schengen members as of May 2021 are as follows:  Austria Belgium Czech Republic Denmark (excluding Greenland and the Faroe Islands - but an open border with the Schengen Area is maintained) Estonia Finland France (excluding overseas departments and collectivities) Germany Greece Hungary Iceland Italy Latvia Liechtenstein Lithuania Luxembourg Malta Netherlands (excluding Aruba, Curaçao, Sint Maarten and the Caribbean Netherlands) Norway (excluding Svalbard) Poland Portugal Slovakia Slovenia Spain (except Ceuta and Melilla) Sweden Switzerland


I've been observing a couple of websites, and leading brands using drop down menu, and some using just a login page.  I know Google uses a login page for you to log in to your inbox. When you visit  there's an initial page with slideshow, then when you click login, it takes you to another page for you to login.   For  it just takes you to the home page with the login section on the homepage, same with facebook.  Twitter also, they use a drop down menu for login, which is on the homepage.  This reduces the amount of mouse clicks and movement of the mouse the user has to engage in when they want to login, as a good law of simplicity in design.  I'm build a fully functioning desktop based site, that is mobile responsive, there's a login page, a login section, but the idea is: would it be necessary to have a drop down menu, for easier navigation so they won't have to visit the login page initially.  I'm confused on which model to follow.  Should i make my login page on another page, or keep it on the homepage which could be either a section on the home page, or a drop down menu?

I'm designing a microsite that has all the usual functionality. There's a simple registration/login process.   Is it a bad idea to not have a login page and instead just have username and password fields as part of the navigation?


The standard definition of continuity is as follows:  A function is continuous if $$\forall \varepsilon > 0\  \exists \delta > 0\ \text{s.t. } 0 < |x - x_0| < \delta \implies |f(x) - f(x_0)| < \varepsilon $$  This may sound silly, but is the converse true? In other words, is there an example of a function which is continuous, but for which this property doesn't hold? I thought I remembered reading something about the exponential function being an example of a continuous function for which the epsilon-delta implication is false, since it gets arbitrarily steep as x approaches infinity, but I could be wrong. Thanks!

Consider the following definition:     A sequence $\{p_n\}$ is Cauchy if we have that for every $n, m \ge N$: $$|p_n - p_m| < \epsilon$$   Although if and only if is not used, we know that if a sequence is Cauchy, the Cauchy criterion holds. Consider now the following definition:     An action of a group $G$ on a set $X$ is transitive if and only if for each $x, y \in X$ there is a $g \in G$ such that $gx = y$.   What motivates the use of "if and only if" here? As far as definitions go, my head has automatically thought "if and only if." The latter example is taken from Ratcliffe's "Foundations of Hyperbolic Manifolds", and he switches a lot between "if" and "if and only if" in his definitions.


Given this PHP array:  $options['systems'] = array(1, 2, 3)  How would I append the value 4 to the $systems array within the $options array?

If I define an array in PHP such as (I don't define its size):  $cart = array();   Do I simply add elements to it using the following?  $cart[] = 13; $cart[] = "foo"; $cart[] = obj;   Don't arrays in PHP have an add method, for example, cart.add(13)?


I want to get the ID or class if the link button is clicked

Nick says:

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi malesuada
Delete  Unapprove  Approve     the code that i created to process the clicked button is this which resulting "undefined"  $('.btn-unapprove').click(function(){      var id = $(this).attr('id');     alert(id);   });   so is it possible to get the div id if the link is clicked ? if so how to to do it?

I have some html like this:

         Volume = <input type="text" />         <button rel="3.93e-6" class="1" type="button">Check answer</button>

   and some JS like this:  $("button").click(function () {     var buttonNo = $(this).attr('class');     var correct = Number($(this).attr('rel'));      validate (Number($("#"+buttonNo+" input").val()),correct);     $("#"+buttonNo+" div").html(feedback); });   What I'd really like is if I didn't have to have the class="1" on the button (I know numeric classes aren't valid, but this is a WIP!), so I could determine buttonNo based on the id of the parent div. In real life there are multiple sections looking like this.   How do I find the id of the div parenting the button. What would be a more semantic way to store the answer in the button code. I want to make this as foolproof as possible for a non programmer to copy and paste without breaking things!


I am trying to solve a problem I made form myself: proving that  $$\sum_{n\geq0}\left(\frac12\right)^n\prod_{k=1}^{n}\frac{2n-2k+1}{2n-2k+2}=\sqrt2$$ The highly accurate powers of  seem to confirm my hunch. But how do I prove it?   I was just messing around with products and generating functions, and then I noticed that the numerical value of the sum in question was suspiciously similar to $\sqrt2$, so I conjectured the result. Unfortunately I found this completely by accident and have absolutely no idea of how to prove it.   Feeble attempt:  Define $$S(x)=\sum_{n\geq0}x^n\prod_{k=1}^{n}\frac{2n-2k+1}{2n-2k+2}$$ Which Wolfram says is equal to $$S(x)=\sum_{n\geq0}x^n\frac{(1/2-n)_n}{(-n)_n}$$ With $\displaystyle (x)_n=\frac{\Gamma(x+n)}{\Gamma(x)}$. But that doesn't really make sense because $\Gamma(0)$ is undefined. So all in all I'm just confused.   Could I have some help?    Edit:  According to the comments, it suffices to prove that  $$\sum_{n\geq1}\left(\frac12\right)^n\prod_{k=1}^{n}\frac{2n-2k+1}{2n-2k+2}=\sqrt2-1$$

I'd like to determine the function corresponding to the following power series: $$x + \sum_{n=1}^\infty (-1)^n\frac{1\cdot3\cdot5\cdots(2n-1)}{2\cdot4\cdot6\cdots2n} \frac{x^{2n+1}}{2n+1}, $$ where $|x|<1$.


Currently I'm working on a project for class that requires us to create a front end for a mysql database. For learning purposes we're only using a single patient table without auto-increment implemented for the unique identifier (patient_id). We have to add new patients and to handle this we planned to have the C# front end to create a patient_id value of 0 and then have another statement to update this to be the max patient_id + 1. I'm aware this is not a practical/safe solution since it could cause errors but since it's only for testing and isn't linking with other tables I'm not too concerned.   I've attempted using basic queries to tackle this by setting patient_id = max(patient_ID) + 1 but this doesn't seem to work.   UPDATE patient set patient_id = (select max(patient_id) + 1 from patient) where patient_id = 0;   The output of this query says that I can't specify the target table 'patient' for update in FROM clause so I'm a little bit confused as to why it can't.

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


Many small companies have difficulty growing because the number of   orders becomes too large to handle.   Should I use become or becomes in this sentence? I don't know, but the sentence feels a little odd to me.

Formally, is it correct to write:     A number of questions has been asked here.   or:     A number of questions have been asked here.   As a non-native speaker of English, I would prefer the former: the subject seems to be "number", therefore the verb ought to be singular, I'd say. However, the latter seems more common, and therefore I believe that my gut feeling is just plain wrong — but I would really like to have a definite answer.  Moreover, is it the same for "a myriad of", "a plethora of", and so on?


I have 2 URLs:       the 1st one is the stack overflow URL and the 2nd one is another website URL.But when we put the stack overflow URL ,this automatically change (Anatomy of a "Memory Leak") URL to HyperLink format  URL :https://stackoverflow.com/questions/104/anatomy-of-a-memory-leak   But  that URL changed in hyperlink format like :Anatomy of a "Memory Leak"  It's good ! we can manually do this ,for select text and press ctrl+k then past our URL.I didn't said this way. I said for add dynamic text with same functionality  (Automatically Change the other site URL To hyperlink format same as when put stack overflow URL) when put other website URL?

Most of the times, when I paste a link I do:    Click on the "link" icon at the toolbar   Paste the link   Enter the link title      While step three is not too problematic I would like to skip it.   Could we insert the page title, back from step 2, so the next time we enter a link it appears like this:   Like Jeff said in [Stack Overflow Outage - Blog – Stack Overflow][1]  [1]: http://blog.stackoverflow.com/2009/10/stack-overflow-outage/   And from there we can put what ever we want ( just like today ) ie    Like Jeff said in [the latest blog][1]  [1]: http://blog.stackoverflow.com/2009/10/stack-overflow-outage/   If needed, or just leave it like that ( as I will do  most of the times)


I have a large data set of points which has the field 'Name'.  Some of the points have an attribute such as 'Slope >40%' or 'Grade 10-30%' for example.   I would like to use Select By Attributes and the LIKE operator to select all points which have a % within the attribute.   I've tried different combinations such as:  WHERE NAME LIKE '%[%]%'  But no luck on trying several combinations...

I have an attribute field in my file geodatabase (GDB) where I'm trying to select all records that contain an underbar in the string field.  The issue is that the underbar is considered a SQL wildcard on its own.  To illustrate: I need all data similar to "ID" = '42W_42_42E' or "ID" = '31A_31'  Using "ID" LIKE '%_%' returns all records, which isn't helpful.  The perfect solution would simply return a count on the number of records with the underbar in their ID attribute.


I noticed an interesting thing today. I had posted a ques on the main stack Overflow website . This post  garnered 14 views and 0 votes. Definetely not  a popular PGE. Yet as I searched related keywords to my ques on google the stack overflow website with my ques was ranked first amoung the rest. How is Stack.Overflow doing this ?

For example, I  after using Google to try to find an answer. I then turned back to Google and did a search for  and it was already the first result! Similar searches also put my question on the first page, usually in the top 5!  This is insanity. Did I get lucky and post just before an indexing? Is the popularity of SO leading to Google indexing extremely frequently? Or is Jeff using some kind of crazy SEO?


I have just installed this plugin and make it work following . It is properly working with some apps but not with all. For example with Thunar file manager and wxMaxima it does what is supposed but with Lyx, Okular, and some others it does nothing. How can I make it work with all apps?

I'm using Xubuntu 16.04 on a laptop, which means a confined screen space and a desperate need for global menu. I've tried  I've tried  (the classic option), but it looks like it hasn't been updated for 16.04 yet. Then I discovered that it's in the official repos, but still it doesn't work. When I try to add the plugin to a panel the only result is panel becoming opaque.  I've also tried  (the alternative version), but I failed to understand how to compile it.  Is there a way to get global menu working in 16.04, or I should just relax and wait for topmenu to be updated?


I clicked on the OpenSTV link in a recent election, but all I got was the following notice on the :     OpenSTV version 2.4.0 released February 10, 2015 Since 2003, the   OpenSTV project has been dedicated to improving democracy by providing   professional quality software for the single transferable vote and   other ranked-choice voting methods.      OpenSTV has now been incorporated into the OpaVote online voting   website. All of the features of OpenSTV are now available by creating   a Count at OpaVote for a price of 5 cents/voter. The only difference   is that you need an Internet connection to use OpaVote whereas you did   not for OpenSTV. Since Internet connections are now available just   about anywhere, we are no longer supporting OpenSTV.      For a limited period of time, we will be providing one-year renewals   for existing customers for the price of $400 per year. We will not be   providing OpenSTV to any new customers.      OpaVote provides a better experience than OpaVote and will be less   expensive for most of our customers. We hope that OpaVote meets all of   your needs, and we apologize for any inconveniences during the   transition.   Does this mean that we can't download OpenSTV ourselves anymore? I always liked that we had the ability to run the elections ourselves if we wanted to. It's not essential, we have to trust SE anyway to provide good data, so it isn't really an effective way of auditing an election, but it was useful nonetheless.  Is the ability to download the OpenSTV software coming back, or is it gone for good now?

With an election:  Download the election data and use  to audit the results.  Previously, this was a free to download application.  It isn't anymore.  ... To support continued development, OpenSTV is now available under a restrictive license. The license is for one year with prices ranging from $10 to $400. For small non-profits, the price is only $10. For medium non-profits, the price is $40. For all other organizations the price is $400. ...  The individual license is $10. Given this, should Stack Exchange continue to promote the site for auditing running election returns?


I've installed a couple of apps (Slack and Spotify) from "Software" and while they run fine the first time, they don't show up in search when I go to "Activities" so I can't launch them except by going back through the software app. They don't even show up on my $PATH, which is weird.

I've installed okular from snap  snap list Name              Version  Rev   Developer  Notes core              16-2.30  3887  canonical  core kde-frameworks-5  5.37.0   13    kde        - okular            16.12.3  3     kde        -   when enter command okular in shell  okular The program 'okular' is currently not installed. You can install it by typing: sudo apt install okular   It also doesn't appear in the application list. the only way to launch okular is from software center.


I specialize in macro photography and I've recently begun to export in 300-350dpi, as I find it does a better job of representing details (crucial to my work).   However the file size is small, eg. 1200px.   Am I compromising my image's safety? (given watermarks can be removed and files can be enlarged easily)

I often see statements in discussions about web displayed image quality that go something like this: "I only upload pictures at 72 dpi and 1200 pixels on the long edge, so if someone copies and prints the image it won't look as good as if it were 300 dpi."  What? Have I missed something here?  Does an image edited and saved/exported with 1200x800 pixels at 300 ppi look any different online than the same image saved/exported with 1200x800 pixels at 72 ppi? Other than the metadata regarding ppi, is there any difference in the two images at all? If so, what is the difference? If I tell my printer to print the images at 4R (4X6 inches) will there be any difference at all in how the printer creates a print from the 1200x800 @ 300 dpi image versus the 1200x800 @ 72 dpi image?


Why the optimal classifier is called "Bayes". I do not see the connection with being Bayesian or so.  Edit: This question asks about naming. Not about math.    Another phrasing of the question:  Given that the Bayesian classifier is optimal (under certain constraints) does not explain why that particular classifier is called "Bayesian."  Why do we call such a classifier "Bayesian" rather than some other name?

It is considered the ideal case in which the probability structure underlying the categories is known perfectly.  Why is that with Bayes classifier we achieve the best performance that can be achieved ?  What is the formal proof/explanation for this? As we always use Bayes classifier as a benchmark to compare the performance of all other classifiers.


Basically I have 3 meshes connected to each other I want them to rotate in the positions they are in but I also need them to bend at a certain point. The rotation is fine the problem is with the bending. The bending effect will be done with a curve modifier. The curve will change shape at a certain point and I'll save it as a shape-key. The problem is when I apply a curve modifier to one of the meshes and choose the curve that passes through the three meshes, the mesh changes position and messes up the whole thing. how do I apply a curve modifier while maintaining the position of the mesh I apply it to?

Every time I think I have the curve modifier mastered, it throws me a another curve ball (no pun intended).  Why in  can I not get the lights to follow the spiral curve? When the modifier is activated, the lights are stretched and distorted along the curve.  I created the curve by converting it from a mesh (string of verts). Why does it not display like a normal Bezier? Is that related to my problem?  I am following all the "rules" that I am aware of, as detailed here: . The curve seems to run in the correct direction. The origin point is at the first point of the curve. The curve modifier on the lights is set to -Y which is the local orientation of the curve's direction.  What am I missing?


I'm pretty new to blender, started making my first project just to learn the basics of the interface, but when I rendered my image on cycles render,it started showing these grayish dots and messed up shadows, it looked like recycled paper to me so it was the best term i found to describe it.  It may be just my stupidity, but I would appreciate your guys help. As I said, I'm new to the community and ask for mercy upon me and my mistakes D:  my rendering:

I know that this question is a bit old or maybe overdone, but I'm running the latest edition of Blender and when I use the Cycles engine I get really fuzzy results and I can't find a simple, non-compromising solution to the quality.  I don't know exactly what I'm doing wrong here, but I'm sure others share my frustration.  Leaving everything in default settings, I started a new project and switched to the Cycles render.  I duplicated the cube and set colors for two Diffuse BSDF shaders, then went ahead and made walls and a floor all sharing the same diffuse shader.  I made two windows to emit blue light.  The screenshot has gaps between the walls because of the setup:  I'm aware that it's considered very incomplete and many have come to terms with some amount of noise, but is this normal?  Furthermore, with default settings or not, I can't change the amount of noise produced.  Supposedly, using "progressively refine" in the rendering tab should make it refine itself indefinitely, however Cycles only counts to 10 refines and then stops, creating a render which is a pixel-perfect match of the ordinary rendering method when it's completed.  I understand that there are tricks that can be used to reduce noise, but at the cost of extra processing time and usually small quality conflicts, like blurring.  My question essentially boils down to is this Cycles' current limit?


This question is related to my previous question  Here my question is, how can i show $\frac{k[x,y]}{I}$ and $k[x]$ are not isomorphic. I showed there exist a ring hom. which is surjective but not injective. However this is not enough to prove the being non isomorphic.

I've been given a homework problem that requires me to show that the rings $\mathbb{C}[x,y]/(y - x^2)$ and $\mathbb{C}[x,y]/(xy-1)$ are not isomorphic.    This is my attempt at a solution:  For $\mathbb{C}[x,y]/(y - x^2)$, we can parametrize in the following way: $x = t$ and $y = t^2$. Then this ring is isomorphic to $\mathbb{C}[t]$.  For $\mathbb{C}[x,y]/(xy-1)$, we can parametrize $x = t$ and $ y = 1/t$. Then this is isomorphic to $\mathbb{C}[t, 1/t]$.   But $\mathbb{C}[t, 1/t]$ is not isomorphic to $\mathbb{C}[t]$.  Am I on the right track? If not, any helpful hints?


I have a multi line log entry format that I need to process.   The log looks something like this:   --START-- Device=B Data=asdfasdf Lorem=Ipsum --END-- --START-- Device=A Data=asdfasdf Lorem=Ipsum --END-- --START-- Device=B Data=asdfasdf --END-- --START-- Device=A Data=asdfasdf --END-- --START-- Device=B Data=asdfasdf --END-- --START-- Device=C Data=asdfasdf Lorem=Ipsum --END--   I want to print everything between --START-- and --END-- if a particular pattern is matched.   e.g:   Print all entries where Device=A  --START-- Device=A Data=asdfasdf Lorem=Ipsum --END-- --START-- Device=A Data=asdfasdf --END--   All I've been able to do so far is write:   sed -e -n '/--START--/,/--END--/p' < input   Which effectively prints the input but I think I need to add {} to filter with N and then print if that condition matches.   I also think I'm completely lost.  Any idea on how to print multiple lines if a single line matches a condition?

I have this file:  sometext1{ string1 }  sometext2{ string2 string3 }  sometext3{ string4 string5 string6 }   I want to search this file for a specific string and print everything before this string up to the opening { and everything after this string up to the closing }. I tried to achieve this with sed but if I try to print everything in the range /{/,/string2/ for example sed prints this:  sometext1{ string1 }  sometext2{ string2 sometext3{ string4 string5 string6 }   If I search for the string "string2" I need the output to be:   sometext2{ string2 string3 }   Thanks.


The Fibonacci numbers  Fn are defined by the recurrence  Fn=Fn−1+Fn−2, with base cases  F0=0 and  F1=1.  Prove that any non-negative integer can be written as the sum of distinct and non-consecutive Fibonacci numbers. That is, if  FiFi  appears in the sum, then  Fi−1 and Fi+1  do not appear in the sum. For example:  17=F7+F4+F2  42=F9+F6  54=F9+F7+F5+F3+F1  How can i prove this?

Can anyone hint me to prove:  $\forall n\in \mathbb{N}: \exists$ Fibonacci numbers $ F_{i_1},\ldots,F_{i_k}$ such that: $$\sum F_{i_k}=n$$    Note: Every Fibonacci number can appear only once. Thanks


I tried to add bpy.operator.render.render() to a menu (e.g. invoked via Q key) for quick access, but the rendering operation executed via the menu runs without having the rendering image shown and without showing the rendering progress and without the ability to cancel (escape) the rendering.  If the same operator is placed within a panel the rendering operation works just as expected.   Is there a solution to having the render operation to work as expected within a pop-up menu?

Is there a way to have a preview of the rendered image during the render process (like the one you get after you press the render button) if the render process is started from a script with   bpy.ops.render.render()   ?


Assume i have the following decimal value:  4.584406  I need a simple quick way to truncate the decimal without rounding up, so the output would be 4.5  I'm using T-SQL (SQL Server 2005/2008).  Any help will be appreciated.

I'm trying to determine the best way to truncate or drop extra decimal places in SQL without rounding.  For example:  declare @value decimal(18,2)  set @value = 123.456   This will automatically round @value to be 123.46, which is good in most cases.  However, for this project, I don't need that.  Is there a simple way to truncate the decimals I don't need?  I know I can use the left() function and convert back to a decimal.  Are there any other ways?