I am trying to write a PhD thesis in TexStudio backended with biber & biblatex. I've been using JabRef to handle the bib file until several days ago. However decided to switch to Mendeley, but parsing a lot of PDFs often with hopeless metadata entries (as Mendeley struggled to cross reference them online) seems to have created some non-UTF8 encoded strings in my new bib file and now upon passing through biber during TexStudio build I am getting the following error: INFO - This is Biber 2.15 (beta) INFO - Logfile is 'Thesis.blg' INFO - Reading 'Thesis.bcf' INFO - Found 26 citekeys in bib section 0 INFO - Processing section 0 INFO - Looking for bibtex format file 'Bib/Mendeley/libraryjab.bib' for section 0 ERROR - Data file 'Bib/Mendeley/libraryjab.bib' cannot be read in encoding 'utf8': Wide character at C:\Users\user\AppData\Local\Temp\par-776f6c6665\cache-b32225defac3568d1e921af5a7245ca571b236aa\inc\lib/Win32/Unicode/File.pm line 163.  INFO - ERRORS: 1  I have checked the file, it is almost definitely UTF8 encoded itself (exported file has a comment line at the top confirming it), I tried saving it again as suggested , which hasn't helped. I checked the preamble and the \usepackage[utf8]{inputenc}  \usepackage     [backend=biber,     bibencoding=utf8]{biblatex}  are definitely there. I ran the JabRef entry clean-up tool to convert all text fields to Unicode. No dice. I even tried to use the older version of the bib file pre-dating switch to Mendeley - which DOES work fine with my .tex file, so the problem is most certainly with one/some of the new entries. I also tried removing all of the files generated by the Build and Building again. Same problems persist. I have tried to manually prune whatever erroneous entries I could find, but I continue to get the error. Is there a way I could to find and remove the wide characters causing the problem in my .bib file? There are hundreds of references so I'd rather avoid continuing to investigate them manually.

I just updated my MikTeX distribution and am now running biber 2.15 with biblatex 3.15a. And all of a sudden, I run into problems. I have a bib-file with 1888 entries, and trying to use that now seems to break biblatex, although it worked fine on earlier versions. I do not know if the problem lies with biber or biblatex, but try the following: I created two bib-files out of my original one, available  and . With the following MWE it works fine and both citations are resolved: \documentclass{article} \usepackage[french, german, UKenglish]{babel} \usepackage[backend=biber, style=authoryear]{biblatex} \addbibresource{Test.bib} \addbibresource{Test2.bib}  \begin{document} Let's test: \textcite{Arnold2002}, \textcite{Setty1973}  \printbibliography \end{document}  However, when I combine both bib-files into one and try to compile with that, none of the citations is resolved. Since it works fine when having the database split in two, I cannot see any other reason for this behaviour other than the new biber or biblatex having a limit of file-size/entry-number in the bib-file. Not the amount of entries actually cited, mind you (as it was in bibtex), but the sheer number of entries in the database. Or do I overlook something? Any help would be greatly appreciated. EDIT 1: Here is the .blg-file. Indeed, there is an error message "[1095]", but I cannot make sense of it: [0] Config.pm:312> INFO - This is Biber 2.15 (beta) [0] Config.pm:315> INFO - Logfile is 'DatabaseTest.blg' [311] biber-MSWIN64:330> INFO - ===  [385] Biber.pm:415> INFO - Reading 'DatabaseTest.bcf' [882] Biber.pm:952> INFO - Found 2 citekeys in bib section 0 [998] Biber.pm:4334> INFO - Processing section 0 [1068] Biber.pm:4523> INFO - Looking for bibtex format file 'TestFull.bib' for section 0 [1095] Utils.pm:411> ERROR - Data file 'TestFull.bib' cannot be read in encoding 'utf8': Wide character at C:\Users\Manue\AppData\Local\Temp\par-4d616e7565\cache-b32225defac3568d1e921af5a7245ca571b236aa\inc\lib/Win32/Unicode/File.pm line 163. [1095] Biber.pm:132> INFO - ERRORS: 1  EDIT 2: I now identified the limit length. The file available  contains as many entries as I manage to process. It contains 1477 entries, 25026 lines, and 1,048,339 bytes. This file just works, but as soon as I add just one more mock entry like @Article{Test3,   author       = {Author, A. and Author B. and Author, C.},   date         = {2020},   journaltitle = {A Journal},   title        = {A nice title of a certain topic which I cannot even imagine},   issue        = {3},   pages        = {1--18},   volume       = {12} }  I get the same error as above. This seems to be the length limit with which biblatex works properly. EDIT 3:  is the full file that does not work directly from JabRef (as .bib) without any changes. And  is the same file as hex dump exported with Cygwin.


Very short short-story of a near future with advertisments everywhere, even on toilet paper. Maybe by Philip K Dick?  Can't think of anything else to add... googling turned up too many other things. Thanks!

I remember reading a short story at least twenty years ago about a man who spends a lot of money to rent a hovel because there is no advertising in it.  During any normal day everything advertises to him, but in this room he can find some peace.  I think he risks a death sentence, though...


Can I use Termux to send an app (APK file) via, e.g., adb push, from my unrooted Samsung Galaxy S10 phone to an unrooted Android 5.1.1 tablet via an OTG cable?

Is it possible to run adb and fastboot commands using Termux terminal emulator? I am wanting to run commands from one Huawei T3 7 to another using USB/OTG cable. Need to unlock bootloader but have no access to a PC or laptop.


Skeleton:  \documentclass[a4paper,12pt]{article}  \begin{document}  \chapter{How can I make this be understood correctly?}   \section{This, instead, works}  \end{document}

I’m getting an “undefined control sequence” error with the following code, using TeXstudio:  \documentclass[11pt]{article} \begin{document} \begin{center} \chapter{CHAPTER 6} \end{center} \end{document}


As I know when you move to "bigger" number systems (such as from complex to quaternions) you lose some properties (e.g. moving from complex to quaternions requires loss of commutativity), but does it hold when you move for example from naturals to integers or from reals to complex and what properties do you lose?

As normed division algebras, when we go from the complex numbers to the quaternions, we lose commutativity. Moving on to the octonions, we lose associativity. Is there some analogous property that we lose moving from the reals to the complex numbers?


The question  is related, but does not deal with "somatic-only" spells; they only say "no" due to lack of access to verbal or material components.    The druid's  feature states:     You retain the benefit of any features from your class, race, or other source and can use them if the new form is physically capable of doing so.   Can a druid who is wild shaped into an ape cast spells that only have somatic components?  For example, the  spell only lists "S" under "Components".  My logic: Ape has hands = can clap?

So, last night i was cooking up a new character and had this in mind. While reading the Wild Shape topic from PHB, i couldn't find anything that rules out the option to turn into an Ape/Giant Ape that can wield a Spear/Club.   Is it possible?


How many solutions are there to the inequality $x_1 + x_2 + x_3 ≤ 11$, where $x_1, x_2$ and $x_3$ are non-negative integers? [Hint: Introduce an auxiliary variable $x_4$ such that $x_1 + x_2 + x_3$ +  $x_4$ = 11.]  Would my reasoning be correct if I let $x_4 = x_1 + x_2 + x_3, x_4 = 11$  Then proceeded as normally with $14\choose11$? I'm a bit unsure of how the auxiliary variable comes to play.

How can I compute the number of lists of the form $(a_1,\ldots,a_k)$, where $a_i \geq 0$ are integers and $\sum a_i \leq n$? What is the easiest way to derive the answer?


We are creating a pamphlet which shows Available Functions:     Engineering   Manufacturing   Operations   Finance   Human Resources       Should they all be capitalized, and if so, should "Resources" after Human also be? They will be bulleted.

Possible Duplicate:          Let's say I have a bullet point list e.g:   Point 1. Point 2.  Point 3.    Notice I have put a capital letter for the starting letter of every bullet point and a full stop at the end. Is this the correct way to do it?  If not, what is the correct way to do it?  Do I put a capital letter and no full stop, or, the other way around, a full stop and no capital letter? Alternatively, do I not put a capital letter or a full stop? Is it only necessary to put a capital letter on the first bullet point and full stop on the last bullet point?  For reference, I'm from the UK so British-English grammar would apply.


Group: U(24) Group Description: The set of integers less than 24 and relatively prime to 24 with multiplication modulo 24.  Can anyone clarify what the cyclic mean? I was trying to google the definition, and I couldn't get it...

Q: Show that $(\mathbb{Z}/n)^\times$ cannot be cyclic (i.e., there is no   primitive root modulo $n$) unless $n$ is either a prime power or   twice a prime power.  I'm reading a solution. The first step is that for any $n$ it can be factorized into three relatively prime terms: $n = 2^r \cdot p^s \cdot m$ where $p$ is prime.  Since these terms are relatively prime, we can say that:  $(\mathbb{Z}/n)^\times \cong   (\mathbb{Z}/2^r)^\times \times (\mathbb{Z}/p^s)^\times \times (\mathbb{Z}/m)^\times$  The next step claims that for $(\mathbb{Z}/n)^\times$ to be cyclic, at most one of the three factored groups can be an even cyclic group. Why is this statement true? I know what cyclic groups are, does "even cyclic" just mean a cyclic group of even order?


When moving things, it almost seems like it's lagging or I'm moving in specific grids, it's hard to explain, watch the gif:

My cursor is moving by every selection by large increments!  Normally when I use Blender, I am able to select and move objects to any coordinate. Now, all of the sudden, when I select an object or mesh the selection moves by an inch or so in each direction.  How do I reset it to normal?


I'm really interesting to know the best or good way for introducing to my student the best way to know the mathematical definition $i^2=-1 $, even now the the easiest way to let my student check the titled definition is to correct the mistake that is :$\displaystyle\sqrt{a}\sqrt{b}=\displaystyle\sqrt{a\cdot b}$ is true only when $a$, and $b$ are positive real numbers, then are there others?     My question here is:           What is the best way to introduce for students the new mathematical definition : $i^2=-1 $?

I teach a precalculus course almost every semester, and over these semesters I've found various things that work quite well.  For example, when talking about polynomials and rational functions, in particular "zeroes" and "vertical asymptotes", I introduce them as the same thing, only the asymptotes are "points at infinity".  This (projective plane) model helps the students in understanding what multiplicity of a zero/asymptote really means.  I later use the same projective plane model to show how all conic sections (circle, ellipse, parabola, hyperbola, lines) are related.  I get very nice feedback on this, and the students seem to really enjoy it.  I have not, however, been able to find similar motivating examples for introducing complex numbers. I know there must be similar (pictorial!) arguments to engage the students and pique their curiosity, but I haven't found it yet.  Simply saying "all polynomials have a zero over the complex numbers" doesn't really do it for them (again, the more pictures involved, the better).  Are there "neat" and "cool" ways of talking about complex numbers for the first time, that are understandable by beginning precalculus students, but also interesting enough to capture their attention and provoke thought?


I am selling some monthly basis services like website hosting. And I like to get prepaid payment for every month. So, how do I send email to my clients for notification by email to give payment for coming recurring date?  For example - A client purchase a digital service from our website in 5th of Jan. Next recurring payment date should be 5th Feb. So, I like to send recurring payment reminder before 15 days, then before 10 days (if not paid), then before 5 days (if not paid), then in the recurring date i.e. in 5th Feb.  I have install drupal 7, commerce recurring framework module, rules, rules scheduler. Currently I am stuck with how to send periodic email to my client for recurring date, after they have initially pay for the services?  Is this module is perfect for this - . I think this module -  is not sending email reminders. Specially I am looking for email reminders which will work with commerce recurring framework.  So, how can I do this?

I'm using Drupal 6 and Ubercart 6.x-2.7. In my online store I'm going to manage subscription for the products. Every product can be subscribed for some period of time, weekly, biweekly, monthly, semiannually. I'm going to use PayPal PayFlow Pro and PayPal Website Payments Pro gateways to receive payments.   The issue is here how to manage getting recurring payments through this payment gateways? Any php code or something else?  Here I'm including how this process works:   Customer adds required products in his shopping cart.  In the cart there is a select-box per every product for subscription(options: just one time, daily, weekly...) Customer checks out from the site paying with Credit/Debit card or PayPal account.   Question: How to charge automatically the fee for subscription in the selected period?


Assume, that A and B are finite sets.  What notion $$A^{B}$$ does mean?  Have been looking for awhile now.

Let $ D = 2^\mathbb{N} $, i.e., D is the set of all sets of natural numbers.   What's the meaning of this definition? Intuitively, I would suggest that $ D = \{1,2,4,...\} $ but the explanation "set of all sets" leads me to the guess that this is wrong.


In Harry Potter and the Chamber of Secrets, the Weasleys buy at least one second-hand schoolbook for Ginny:     "Busy time at the ministry, I hear," said Mr. Malfoy. "All those raids... I hope they're paying you overtime?"   He reached into Ginny's cauldron and extracted, from amid the glossy Lockhart books, a very old, very battered copy of A Beginner's Guide to Transfiguration.   Why buy books that Fred, George, and probably also Percy needed before? Why not just take those and reuse them, like happens in real life if siblings with a short age difference go to the same school?

In the beginning of Chamber of Secrets, the Weasleys and Harry get their book lists which have all the Lockhart books and one of the twins remarks that 5 sets of Lockhart's books won't come cheap. Molly also mentions that they'll be able to get a lot of Ginnys books secondhand.   But why wouldn't Ginny just use Ron's books from the previous year?   And as for the Lockhart books, there's only one teacher, Lockhart, so really they'd need two sets max, as Fred and George would need a set each being in the same class, but couldn't the books get passed around between the other siblings?   I know it seems trivial, but for a poor family you think they would be a bit thriftier about the books.   On another note, Dumbledore mentions to Tom Riddle, in his memory in The Half Blood Prince, that Hogwarts has a fund for those who can't afford stuff. Did the Weasleys ever get anything from that fund?


How can I get an array with the post ID's of the five most recent posts? I need it to exclude those posts from a WP_Query / get_posts().   I need a WP_query that skips the first five posts and starts with the sixth. I've been trying this for some time, so if you have a solution for that: very appreciated!

I have a WordPress loop, that is part of an AJAX call. Every time a button is clicked, this function is called, runs the below loop and outputs the next 6 posts. There are already five posts shown by default. How can I exclude the five latest (most recent published) posts from the Wordpress loop? So that page 1 of the loop starts with the 6th, 7th, 8th, 9th, 10th & 11th post?  This is the loop that I use. It would be great if someone could tell me how to alter it so that it starts with the 6th post. Thanks in advance!  $args = array(     'post_type' => 'post',     'post_status' => 'publish',     'posts_per_page' => '4',     'paged' => $paged, //Starts with 1 (or a different number if that's better) ); $query = new WP_Query( $args ); ?>  <?php if ( $query->have_posts() ) : ?>         <?php while ( $query->have_posts() ) : $query->the_post();?>

                        <img class="amb-home-thumbnail-container override" src="<?php echo the_post_thumbnail_url(); ?>">
<a href='<?php the_permalink() ?>'><?php the_title() ?>

<?php the_excerpt() ?>

           <?php endwhile; ?> <?php endif;


I have managed to grasp and construct the elementary proofs of the division theorem and the modified version were $0 \leq r < \mid b \mid $, but I am not quite there yet with the absolute least remainder algorithm.  Theorem:  If $a, b \in \mathbb{Z} $ and $a, b \neq 0$, then there are unique $q, r \in \mathbb{Z} $ such that:  $a = bq +r, ~~~~ -\frac{|b|}{2} < r \leq \frac{|b|}{2}$  Proof:  (here is what I got so far)  There are three things to prove: existence, r conditions and uniqueness.  Consider these two cases:    $0 \leq r < \frac{1}{2} |b| $ $\frac{1}{2} |b| \leq r < |b|$   We apply the original division algorithm to a.  In the first case, we have:  $a = |b|q' + r$  where $q' = q \frac{|b|}{b} \in \mathbb{Z}$ and $r$ is in the appropriate range.  In the second case, we have:  $a = |b|q' + r'$ where $q' = (q+1) \frac{|b|}{b} \in \mathbb{Z}$ and $r' = r - |b|$.   This satisfies the r' criteria i.e. $-\frac{1}{2}|b| \leq r' < 0$.    However, I am not sure if this is correct in the first place, or how to connect this to the overarching proof structure of the division algorithm.

Prove that if a and b are integers, then there are unique integers q and r such that $$a = bq + r,$$ with the restriction that$$-|b|/2 < r \le |b|/2$$


I have a question:  I proved that If $n \in \mathbb{N}$ is an odd number and $\phi(n)$ is a power of $2$ then $n$ is a product of distinct primes.  Now I need to prove that for every odd $n \in \mathbb{N}$ then  $\phi(n) \neq 2^{32}$.  Can someone give me an advice?

Find all $n \in \mathbb{N}$ such that $\phi(n) = 4294967296=2^{32}$.  I managed to find that $16106127360$, $8589934592$, $10737418240$ and $12884901888$ are solutions for the equation, but I do not know how to find all of them.


If one invokes acf() function in R the estimated acf values are plotted together with blue error lines. What are they (the lines)?

I'm having a bit of trouble understanding the blue dotted lines in the following picture of autocorrelation function:    Could someone give me a simple explanation, what they are telling me?


Imagine two objects with equal mass in empty space attracting each other. One of these objects moves tangentially with a very high speed (lets say 0.9c). (p1 = (0, 0) p2 = (1, 0) v1 = (0, 0) v2 = (0, 0.9c)).  Would the direction of the force, acting on the resting mass point directly towards the other mass, or to a point, where the moving mass was some time ago.  Einstein says, that information cant travel faster than light, so whats about gravity? Does the gravitational pull really point towards the center of mass, even if it its moving?

A thought experiment: Imagine the Sun is suddenly removed. We wouldn't notice a difference for 8 minutes, because that's how long light takes to get from the Sun's surface to Earth.   However, what about the Sun's gravitational effect? If gravity propagates at the speed of light, for 8 minutes the Earth will continue to follow an orbit around nothing. If however, gravity is due to a distortion of spacetime, this distortion will cease to exist as soon as the mass is removed, thus the Earth will leave through the orbit tangent, so we could observe the Sun's disappearance more quickly.  What is the state of the research around such a thought experiment? Can this be inferred from observation?


I don't have a  router, but I mostly use my desktop for online shopping and torrenting. So, do I have to enable the firewall? I hope not, because I'm really dumb and I don't think I will be able to configure the firewall.

I am a novice at Ubuntu (12.04).  I have it on my netbook which I use mainly for surfing the net, learning python and remote desktop into my work computer.    Do I need to enable a Firewall type software?  If so, what would you suggest, and what are sensible default suggestions?


I recently started noticing that my emails were being replace to "Holidays in the United States" on the default Apple mail app. This is annoying because now I have to send emails from the browser. My name is correct in settings, does anyone know how to fix this?  I am on macOS Sierra.

Recently I noticed that on both  and the default mail app, my name is being replaced as "Holiday In The United States". This is happening on all my accounts, with various email providers. I have verified my name in both System Preferences, Spark Preferences, and Mail Preferences. Additionally, I have checked my name on each email provider's settings. To clarify, I am only seeing my name as "Holiday In The United States" from my Mac, not online.  Any way I can fix this? It is really annoying having to log-in from the browser to send mail.  I am currently on a MacBook Pro Mid 2014, running Mac OS Sierra 10.12.3.


I have Android 5 on my HTC One M8. Only have a guest user and my own user. still there are apps - partly restored by titanium backup - listed in my app manager. They're marked as "not installed". They stay there even when I uninstall them. any idea? br Tom

I am having a problem with uninstalling apps on Android 5.0 (Nexus 5). I am developing an Android app, so I debug/run the app directly on my device. For production, I exported the same app with my keystore, uninstalled the debug APK that I ran earlier, tried to install the signed APK, and I got this error:      An existing package by the same name with a conflicting signature is already installed.   Is it because the bytecodes are still in the ART runtime? Anyone has any idea how to solve this?


For my community login, I have a custom vf page to which the user is redirected if his password has expired for him to reset his password. Also, when the user's password is reset manually from the back-end the link in the password reset mail redirects the user to the same vf page. I need an identifier in the custom vf page for whether the redirection is from the mail link or due to password expiry. Is there any way to do this? Thanks in advance.

Here's what I am trying to do:  1) User creates record A.  2) Time-based workflow sends an email to the Record A creator based on a date field in the record.  3) The email template has a URL link.  4) The URL links to a Visualforce page that is basically a form with fields to be filled out (this Visualforce page is in a managed package) and a save button that creates a new User record.  5) When the User clicks the URL link in the email, the Visualforce page opens in a new window.  6) I would like to pass the values of the fields in record A to pre-fill the Visualforce page fields.   Here's my link:  <a href="https://cs19.visual.force.com/apex/CloneThisUser?Desktop=true&Id={!Pending_User__c.User_to_CloneId__c}&formGroupInputSmall={!Pending_User__c.First_Name__c}   And here's the code from the relevant section of the Visualforce page:

           <apex:inputField html-placeholder="First Name" styleClass="form-control FirstNameInput"  value="{!u.FirstName}" id="formGroupInputSmall"/>

   I have only included the first field I would like to pass the parameter to, in order to keep this post simple.   The link passes the User_to_Clone_Id__c just fine but does not fill in the "First Name" field with the value of the First_Name__c .  What am I doing incorrectly? Thanks.


$query = "SELECT * FROM makale ORDER BY date ASC";     how can I add another ORDER after date ...?  I want rows ordered by dates and if same dates will be ordered by name ?  How can I do that?

How do I sort a MySQL table by two columns? What I want are articles sorted by highest ratings first, then most recent date.  As an example, this would be a sample output (left # is the rating, then the article title, then the article date)  +================+=============================+==============+ | article_rating | article                     | article_time | +================+=============================+==============+ | 50             | This article rocks          | Feb 4, 2009  | +----------------+-----------------------------+--------------+ | 35             | This article is pretty good | Feb 1, 2009  | +----------------+-----------------------------+--------------+ | 5              | This Article isn't so hot   | Jan 25, 2009 | +================+=============================+==============+  The relevant SQL I'm using is: ORDER BY article_rating, article_time DESC  I can sort by one or the other, but not both.


I was moving a  file from the disk. Unfortunately, I misspelled the path, and I lost the file Ubuntu.  sudo mv /media/creator/sumeeth/software/apache-tomee-1.7.0-plus.tar.gz /~

I had a directory with a file and another empty directory in it like this:  . .. file.ext folder   I did:  mv file.ext /folder   The file disappeared now, not in folder too not where it was before!   Anyway to find it back?   Thanks


I didn't use blender for quite some time then I loaded a saved file and saw that there were no material. I checked the material properties and they were all there but the viewport couldn't display them. I created new things and no matter what there were no material in the viewport in rendered view or material preview mode instead I see weird behavior when I zoom in and out it's as if there's a black thing of the same shape as the object that isn't affected by the zoom. and in the material properties menu the small balls that display the color of the material left of the material name disappear.

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


I have a desktop with a second hard drive that I rarely use and am interested in playing around with Linux. I was thinking I might try dual booting Ubuntu from this second drive but I am curious to know if I can completely erase the OS and everything with it and just use it as a secondary hard drive again for my original OS (which is Windows 7).  I know almost nothing about Linux and this may be a dumb question but I am just interested in testing Ubuntu out and I might want my drive back some day.

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.


I have a checkbox containing a class name "checkbox-button".when the page load then below function is execute perfectly.But when a newly created checkbox appended on jquery success then the below function doesn't execute.  $(function() {   $('.button-checkbox').each(function() {     var $widget = $(this),       $button = $widget.find('button'),       $checkbox = $widget.find('input:checkbox'),       color = $button.data('color'),       settings = {         on: {           icon: 'glyphicon glyphicon-check'         },         off: {           icon: 'glyphicon glyphicon-unchecked'         }       };      // Event Handlers     $button.on('click', function() {       $checkbox.prop('checked', !$checkbox.is(':checked'));       $checkbox.triggerHandler('change');       updateDisplay();     });      $checkbox.on('change', function() {       updateDisplay();     });      function updateDisplay() {       var isChecked = $checkbox.is(':checked');       $button.data('state', (isChecked) ? "on" : "off");        // Set the button's icon       $button.find('.state-icon').removeClass().addClass('state-icon ' + settings[$button.data('state')].icon);     }      function init() {       updateDisplay();        // Inject the icon if applicable       if ($button.find('.state-icon').length == 0) {         $button.prepend('<i class="state-icon ' + settings[$button.data('state')].icon + '"></i> ');       }     }     init();   }); });

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.


So far we have only talked about equations in the form $x^{2} - dy^{2} = \pm 1$ and I'm unsure how to handle the specific coefficients. We have normally found $\sqrt{d}$ and looked at the convergents of the continued fraction to find solutions. I was just wondering how to get started on this type of problem.

I have some understanding of Pell's equation $$x^2-dy^2=1$$ where $d$ is a prime. I know that you can take the continued fraction of $\sqrt{d}$ and use information about the period and convergents to find things out. Now I need to show that if $p,q$ are primes $\equiv 3 \pmod{4}$ then at least one of the equations $$px^2-qy^2=\pm 1$$ is soluble in integers $x,y$. I have not learned what to do when there is a prime in front of the $x^2$. How should I begin doing this?


what is a easy way to disable blue-tooth at start up with Ubuntu 13.10.

How can I deactivate Bluetooth on system startup?


I am asking this question simply out of curiosity. Why the double differentiation is denoted by $\frac{d^{2}f(x)}{dx^2}$ and not by $\frac{d^{2}f(x)}{d^2x}$ or $\frac{d^{2}f(x)}{(dx)^2}$. Is there any mathematical reasoning behind it? It seems like a similar question has been asked before . But then the same discussion happened there, i.e., why $\frac{d^{2}f(x)}{(dx)^2}$ is not the correct notation :/

In Leibniz notation, the 2nd derivative is written as $$\dfrac{\mathrm d^2y}{\mathrm dx^2}\ ?$$  Why is the location of the $2$ in different places in the $\mathrm dy/\mathrm dx$ terms?


I'm trying to read the Prototype source. I've come to this part.(Unfortunately, this snippet is in the beginnning).  What does this () mean?    Browser: (function(){     var ua = navigator.userAgent;     var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]';     return {       IE:             !!window.attachEvent && !isOpera,       Opera:          isOpera,       WebKit:         ua.indexOf('AppleWebKit/') > -1,       Gecko:          ua.indexOf('Gecko') > -1 && ua.indexOf('KHTML') === -1,       MobileSafari:   /Apple.*Mobile.*Safari/.test(ua)     }   })(),   I am referring to the last line before the comma?

I'm new to both JavaScript and . In YUI library examples, you can find many uses of this construct:  (function() {     var Dom = YAHOO.util.Dom,     Event = YAHOO.util.Event,     layout = null,         ... })();   I think the last couple of parentheses are to execute the function just after the declaration.  ... But what about the previous set of parentheses surrounding the function declaration?  I think it is a matter of scope; that's to hide inside variables to outside functions and possibly global objects. Is it? More generally, what are the mechanics of those parentheses?


When I type echo $TERM on my terminal it shows me xterm. From there itself I believe there are more than one terminal in Ubuntu. Is it the name of the terminal that I am using? I have seen some computer experts using terminal which is having lots of colored text and all. Actually how many types of terminals are there in Ubuntu?

I'm trying to get the solarized color scheme in my terminal and am working through some tutorials online. I have run across the $TERM environment variable that from my understanding is the current name of the terminal I'm using. I also have a $COLORTERM which I'm not quite sure what it is but it shows me: gnome-terminal whereas the $TERM variable is xterm. Isn't the terminal that Ubuntu 13.10 uses the gnome-terminal? Why is xterm being displayed in the env var?


EXERCISE:  Consider that $Φ:G\rightarrow G'$ homomorphism and $a\in G$ which has order d. Show that the element $φ(a)\in G'$ has also order d.  I am sorry i could't appose any attempt here but i don't even know how to start.I have just started to examine homomorphism and i have to clear my mind on them! It would be very helpful if someone can give me some hints or a thourough solution to my problem. I want to learn how i can work with these problems as i don't have many experience with these type of problems! Thanks in advance!

I was reading an example about describing homomorphisms and I'm having a bit of trouble with this one.  Show there is no group homomorphism $f : \mathbb{Z}_{10} \to \mathbb{Z}_{25}$ such that $f(1) = 3$. The first step of the proof is  $|1| = 10$ in $\mathbb{Z}_{10}$, so $|f(1)| \in\{ 1, 2, 5, 10\}$.  Does this mean that $|f(1)|$ can be $1$, $2$, $5$ or $10$? I see that $|1| = 10$ since $1$ is a generator of $\mathbb{Z}_{10}$, and that $|f(1)|$ seems to be a factor of $10$. If $f(1)$ is the image of $1$ under $f$, how would I find the order of $f(1)$?  Thanks for your help.


I have added document library template using VS 2012. and then added custom content types to this library. the content types includes 3 managed metadata fields. After deploying the project when I add terms to taxonomy fields in document library, I got following error:  "The SPListItem being updated was not retrieved with all taxonomy fields"    I could not find any solution. Any body have an idea whats wrong ?

This problem appears only on one particular Document Library. I use   TaxonomyField.SetFieldValue(myItem, myTaxonomyFieldValue);   and it works fine everywhere except this lib. Can anyone suggest a workaround?


I am using the definition of a $\Delta$-complex as given in Hatcher's book   on pg 103.  Now on pg. 104, just before the section on Simplicial Homology, Hatcher remarks that if $X$ has a $\Delta$-complex structure then $X$ is Hausdorff.  I do not see it at all. Is this easy? Does anybody know of a reference where the general topological details of a $\Delta$-comlpex can be found?  Thanks.

Suppose that $X$ is a topological space equipped with a delta-complex structure. Prove that $X$ is Hausdorff.  I can actually "see" why it should be Hausdorff after the hint from Hatcher asks to "think of a delta-complex X as a quotient space of a collection of disjoint simplices".  I would appreciate if somebody can write out a full formal argument showing this proof. I'm trying to start from the definition of Hausdorff but I don't know how to carry on.


How can I make a redstone door that only allows one person through at a time?  I have made several efforts to solve by myself.  I realise that a simple button iron/wooden door will not work, as the door stays open long enough for multiple people to pass through.  I realise too that even by using  a monostable circuit to open the door people can pass through simultaneously.  I've tried relying on the glitchiness of servers to help, for example I tried using a "dropper" style door, where people press a button, fall through a hole opened beneath them and a slime block underneath bounces them out. However, this is not consistent enough.  I've tried chaining multiple iron doors, but any method I thought of suffered the same problems as single iron doors.  I will implement this on a 1.10 server, so I tried relying too on the entity pushing feature, by having two adjacent pressure plates, of which only one can be triggered to open the door, hoping that players would push each other onto adjacent plates. However, this doesn't happen consistently, and the door still opens to two players, and while it is open players can rush in from elsewhere.

On my server I have a quiz which you need to take before you can go to most of the areas, build etc... However, sometimes people try to cheat by going with friends into there. I want some kind of gate/mechanism which only allows one player to pass through and insert some kind of delay or so after this. Is this possible? For the delay I know how to make it, I only need to know if you can build something where only one person can pass through, not multiple at once.


I have a really annoying bug, and I've finally tracked it down.   I use (or more accurately, already have used) a stand-alone script to create a store of objects, after which I pickle this data structure. I can then initialize my main program with the deserialized data each time my program runs.  This becomes a problem, however, if I use type-checking. After I do pickle.dump() and get this data structure, I had it set up so that I try to check the type of one the objects. Unfortunately, the only thing I can check it against is a new reloading of my classes, which Python recognizes as distinct.     DEBUG: Object I am type-checking: >> Fixture {name: 'Front Desk', location: '0', desc: 'The front desk has a sign that read...'} <<   DEBUG: A generic GameObject: >> GameObject {name: '', location: 'None', desc: '...' } <<     (You can see that the object representations look very similar. This is because the one inherits its __repr__ from the other, i.e. OUGHT to be an instance of it.)     DEBUG: Type of object I am type-checking: {class 'chimai.chimai.objects.fix.Fixture'}   DEBUG: Type of generic GameObject: {class 'objects.game_object.GameObject'}   DEBUG: MRO for the object I'm type-checking: ({class 'chimai.chimai.objects.fix.Fixture'}, {class 'chimai.chimai.objects.game_object.GameObject'}, {type 'object'})   DEBUG: MRO for the generic GameObject: ({class 'objects.game_object.GameObject'}, {type 'object'})     (The GameObject classes have slightly different identifiers; this comes from where I ran the standalone script originally.)     DEBUG: Id of pickled Fixture type: 173671604   DEBUG: Id of Fixture type as reloaded in my main program: 149507748     The end result is, I can't think of a way to type-check my pickled data at all. Unless anyone has any genius proposals, I think I'll be duck-typing.

Putting aside whether the use of , I have run into the following conundrum when trying to evaluate isinstance after serializing/deserializing an object via Pickle:  from __future__ import with_statement import pickle  # Simple class definition class myclass(object):     def __init__(self, data):         self.data = data  # Create an instance of the class x = myclass(100)  # Pickle the instance to a file with open("c:\\pickletest.dat", "wb") as f:     pickle.dump(x, f)  # Replace class with exact same definition class myclass(object):     def __init__(self, data):         self.data = data  # Read an object from the pickled file with open("c:\\pickletest.dat", "rb") as f:     x2 = pickle.load(f)  # The class names appear to match print x.__class__ print x2.__class__  # Uh oh, this fails...(why?) assert isinstance(x2, x.__class__)   Can anyone shed some light on why isinstance would fail in this situation? In other words, why does Python think these objects are of two different classes? When I remove the second class definition, isinstance works fine.


Google doesn't understand <> so that failed thus asking here.  What does '<>' (less than followed by greater than) mean in Excel? For example:  =SUMPRODUCT((E37:N37>0)*(E37:N37<>"")*(E37:N37))   What's happening here?

I have seen this before in SQL and VB, I am now reverse engineering an Excel speadsheet and have come across the following formula:   =IF(D23<>0,"Insufficent",0)   I am converting it to ActionScript:    var result:String = [condition] ? 0 : "Insufficient";    but I am unsure of what D23 <> 0 means, is it simply "not equal"?


I am trying to create a horizontal line around a corner but Blender won't allow me to do cuts with crtl+r.  My intent is to make 4 edges so that i can make it go inward (it's supposed to be the lid of a box)    Some extra info: I am unable to use the knife tool (K) because from the front and rear view the box is obstructed and I don't want to cut a line through the entire model.  If there is a way for me to add a Vert on an edge with it being able to slide, much like the crtl+r shortcut does for edges that would be a way.  Edit: This was marked as possible duplicate where the solution was using the knife tool but like I said above I'd like to avoid using this as I'll have to make it "cut-through" which will cut the entire length of a 6m long model with a bunch of details.

Alright so I've seen some postings about loop cuts and done some research. I am very new to blender and modeling overall. I am trying to loop cut this concrete barrier. Now I'm following a tutorial and kind of did my own thing in some areas. I cleaned it up following some instructions in another answer here on stack exchange.  I can't for the life of me figure out why I can loop cut around the whole bottom:   ...but not the whole middle:   I see this marked as answered by another question. That question refers to ngons and inside faces. Now once again I'm totally new to this. I looked on the inside. I don't believe I have inside faces or any ngons by the terms I've read online in my research.  Here is a wireframe picture and the inside view:     Maybe I'm missing something the answers on other posts are saying. If so and you know what it is I'd be very appreciative of what it is.


I have a pretty weird issue here with the Ubuntu session just vanishing from the LightDM session list. I usually use LXDE/Lubuntu as a session and rarely even log into the Unity/Ubuntu desktop, but it used to work flawless, switching back and forth. Now, all of a sudden, the Ubuntu session isn't listed anymore. I seem to be unable, after some extensive research really, to figure it out by myself. Here is relevant information:  1) The Session is there:  $ ls -al /usr/share/xsessions/ total 36 drwxr-xr-x   2 root root  4096 Jan 24 22:04 . drwxr-xr-x 313 root root 12288 Feb 15 10:50 .. -rw-r--r--   1 root root   157 Okt  9 18:02 Lubuntu.desktop -rw-r--r--   1 root root   165 Okt  9 18:02 Lubuntu-Netbook.desktop -rw-r--r--   1 root root  1507 Feb 27  2016 LXDE.desktop -rw-r--r--   1 root root   198 Okt 14  2015 openbox.desktop -rw-r--r--   1 root root   204 Aug 22  2016 ubuntu.desktop $ cat /usr/share/xsessions/ubuntu.desktop  [Desktop Entry] Name=Ubuntu Comment=This session logs you into Ubuntu Exec=gnome-session --session=ubuntu TryExec=unity Icon= Type=Application DesktopNames=Unity X-Ubuntu-Gettext-Domain=gnome-session-3.0   2) LightDM lists all sessions, but the Ubuntu session. The log file even explicitly tells that it is ignoring it (see excerpt of the relevant log file):  $ sudo cat /var/log/lightdm/seat0-greeter.log [...] [+0,16s] DEBUG: Loaded session /usr/share/xsessions/openbox.desktop (Openbox, Log in using the Openbox window manager (without a session manager)) [+0,16s] DEBUG: Loaded session /usr/share/xsessions/Lubuntu.desktop (Lubuntu, Lubuntu - Lightweight X11 desktop environment based on LXDE) [+0,16s] DEBUG: Loaded session /usr/share/xsessions/LXDE.desktop (LXDE, LXDE - Lightweight X11 desktop environment) [+0,16s] DEBUG: Ignoring session /usr/share/xsessions/ubuntu.desktop [+0,16s] DEBUG: Loaded session /usr/share/xsessions/Lubuntu-Netbook.desktop (Lubuntu Netbook, Lubuntu Netbook - Lubuntu based session for netbook) [...] [+3,00s] DEBUG: session-list.vala:49: Adding session LXDE (LXDE) [+3,00s] DEBUG: session-list.vala:49: Adding session Lubuntu (Lubuntu) [+3,00s] DEBUG: session-list.vala:49: Adding session Lubuntu-Netbook (Lubuntu Netbook) [+3,00s] DEBUG: session-list.vala:49: Adding session openbox (Openbox) [+3,01s] DEBUG: greeter-list.vala:210: Error registering user list dbus object: An object is already exported for the interface com.canonical.UnityGreeter.List at /list  (nm-applet:3866): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWidget'  (nm-applet:3866): Gtk-CRITICAL **: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed [+8,61s] DEBUG: session-list.vala:49: Adding session LXDE (LXDE) [+8,61s] DEBUG: session-list.vala:49: Adding session Lubuntu (Lubuntu) [+8,61s] DEBUG: session-list.vala:49: Adding session Lubuntu-Netbook (Lubuntu Netbook) [+8,61s] DEBUG: session-list.vala:49: Adding session openbox (Openbox) [+8,61s] DEBUG: greeter-list.vala:210: Error registering user list dbus object: An object is already exported for the interface com.canonical.UnityGreeter.List at /list [...]   I did, getting desperate somehow, already try to dpkg-reconfigure both lightdm and ubuntu-session. Didn't do anything.  I did see that "DesktopNames=Unity" is not a FreeDesktop standard definition, but i manually downloaded both "ubuntu-session (3.18.1.2-1ubuntu1)" from xenial and "ubuntu-session (3.18.1.2-1ubuntu1.16.04.2)" from xenial-updates, extracted them, looked at /usr/share/xessions/ubuntu.desktop of each of them and they perfectly match up (i assumed some update to it may have messed it).  My system is up-to-date.

This  forced removal of unity and ubuntu-desktop on my 16.04 Ubuntu system.   The offending package that is missing, but unity needs, seems to be compiz-core-abiversion-20151010. It seems to be a , and I can't find it to download.    As it happens, I mostly use LXDE on this system, but I'd be very unhappy if I used Unity...  Since I do occasionally use the Unity desktop, is there a fix for this?  Edit: related questions are rolling in. Looks like a major quality escape          Edit 2:


I installed Lubuntu 14.04 LTS from a disc. How do I get 14.10? Will installing updates effectively provide this?

What are the different ways I can use to upgrade Ubuntu from one release to another?


When I upgraded the ubuntu 19.10 to 20.04,MySQL Workbench not show in the system.Then I installed the MySQL Workbench community & run it then.It gives a below error.How can I resolve it?

I have installed MySQL workbench from Snap Store and MySQL server 8.0 using apt. The server is running fine and I can access MySQL shell from terminal. But I am having issues connecting the Workbench to the server. I'm getting          Cannot Connect to Database Server Your connection attempt failed for user 'root' to the MySQL server at localhost:3306:   An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.125" (uid=1000 pid=7944 comm="/snap/mysql-workbench-community/5/usr/bin/mysql- wo" label="snap.mysql-workbench-community.mysql-workbench- community (enforce)") interface="org.freedesktop.Secret.Service" member="OpenSession” error name="(unset)" requested_reply="0" destination=":1.13" (uid=1000 pid=2044 comm="/usr/bin/gnome- keyring-daemon --daemonize --login" label="unconfined") Please: 1 Check that MySQL is running on address localhost 2 Check that MySQL is reachable on port 3306 (note: 3306 is the default, but this can be changed) 3 Check the user root has rights to connect to localhost from your address (MySQL rights define what clients can connect to the server and from which machines) 4 Make sure you are both providing a password if needed and using the correct password for localhost connecting from the host address you're connecting from  There no field for entering password. It shows two options store in keychain and clear.  On selecting store in keychain it prompts for a password, and I enter the password. But then it shows an error:  Could not store password: An AppArmor policy prevents this sender ...


I have one shape file(polygon) downloaded from freely available sites. I want to add the Z value or height value into it. I have corresponding DEM file. The Z column has come after using the 'Add Surface Information' tool. But all the values are 0 in the attribute table and my DEM has elevation values within it. How can I include the Z column having values in it?

I have Raster Data for a State which has Elevation Data in its pixels. I also have Vector layer which has the 300 divisions of State. what I need is, I want to get the average elevation value of particular division from the raster data using ArcGIS. I tried extract by mask in ArcGIS to extract individual polygon to clip the raster into 300 raster then from individual raster i have collected average elevation but it has taken days together to complete the work. Is there any other easy way to get it?


The new image upload dialog is awesome and I love it.  Will we get it on chat as well?

We've already got it for questions and answers. Let's get it for chat too! Most of my images come from screen captures so this would be really great!


Apparently, Socrates claimed the following:     the unexamined life is not worth living   What is "unexamined life" supposed to mean in this context, could you please elaborate?

Socrates continually admonished his interlocutors to become more introspective, arguing passionately for self-examination:     The unexamined life is not worth living.   But an examined life is painful, and necessitates an involvement with real problems. This is why it's worth living -- the unreflective are easily trapped into a living death of the mind by mythology, as the reflective sometimes are by ideology. In both cares we are deadened, sleepwalking through our lives blind and deaf, incapable of interacting with the world as it actually is much less imagining the world as it should be.  Now, we know of course that Socrates did not refrain from commenting on the generally unreflective character of his fellow Athenians. This is really the heart of my question. Certain reactionary critics might suggest that it's all well and good to closely examine one's own beliefs and values, but why should you go about examining the beliefs and values of others?


I want a sql to get a list of CREATE of all Index and Constraints in a table 'tablename' just using SQL.

How to list all constraints (Primary key, check, unique mutual exclusive, ..) of a table in PostgreSQL?


I am not Ubuntu literate however noticed my 16.04 LTS is not updating  when I try to update manually I get following message     I would really appreciate if someone could assist me step by step assuming I know nothing about Ubuntu.

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


I found the Stack Exchange and recently. I'm trying to understand its operation and structure. Who funds the site Stack Overflow?

I once , but that was . Now, , and they have , but where's the business model? The  its own Q&A about its site (since it wasn't included in the ), and just about the only dig in there that halfway has merit is the business model dig:  We switched to a premium model to keep out of the Venture Capital business (been there, done that, got the t-shirt). Companies like StackExchange couldn't do it without the VC cookie jar. Where's the model? Huh, Spolsky? (I’m sorry. Did that slip out?)  It hurt, but I can't help but wonder if they're on to something.  How would Stack Overflow Internet Services pay back the VCs? Ad revenue alone?  There is only one 'paid' product, Stack Overflow careers, but it doesn't seem like that could sustain a business as large as Stack Overflow (Joel once mentioned on his blog that his jobs board brought in an extra million a year in revenue). So what does Stack Overflow do when the VC cash runs out? Is this a get-big-and-take-the-company-public maneuver? Is that the only viable business model for Stack Exchange? Edit: With the size of Stack Overflow's team, it isn't a stretch to say that payroll is at least $2 million  a year, probably as much as 4 when you think about benefits (average 120K for a developer in New York City; x2 for benefits/taxes/all-that-other-good-stuff). Office space can't be cheap, so how long does $6 million last before you need another VC infusion?


I had to replace all character occurrence in string. For example: string a = "202F"; string b = $"\u{a}";  # There is an error - unrecognized escape character  Regex pattern = new Regex($"[{b}]"); n = pattern.Replace(n, "_");  How to make UTF-8 code from variables?

uint color;  bool parsedhex = uint.TryParse(TextBox1.Text, out color);  //where Text is of the form 0xFF0000 if(parsedhex)    //...   doesn't work. What am i doing wrong?


public static void main(String[] args) {     String str1 = "java";     String str2 = str1.intern();     String str3 = new String(str1.intern());     System.out.println("hash1=" + str1.hashCode());     System.out.println("hash2=" + str2.hashCode());     System.out.println("hash3=" + str3.hashCode());     System.out.println("str1==str2==>>" + (str1 == str2));     System.out.println("str1==str3==>>" + (str1 == str3)); }   ============================================output===> hash1=3254818 hash2=3254818 hash3=3254818 str1==str2==>>true str1==str3==>>false  =================================    Can anyone explain how == returns false even though s1 and s3 having same hashcode?

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’m travelling to the USA on Monday for a sudden and unplanned funeral. I have just realised that my USA Passport is expired- only just (June 15 2019). I do have my UK Passport which is in date and valid but I am unsure of what might happen if I travel into USA on UK. I ca obviously arrange to fill an ESTA and I also have a valid USA Driving license. What do you recommend? Should I just chance it and travel in as a UK citizen?

I have an expired US passport, and due to an family emergency in America, i need to travel immediately. The US embassy where i live cannot renew my passport for another 2-3 weeks.  I have dual citizenship. Can i use my foreign passport to obtain ESTA and enter into the US? I have already applied for the ESTA, and stated that i also have a US passport. It has been approved. Will i still have a problem entering?


I wanted to try Ubuntu out, but now that I've tried it I don't really think it is for me and I want to go back to Windows 10.  I can't figure out how though.  I don't know anything about Ubuntu, and I tried using a Windows 10 recovery disk, but Ubuntu seems to just ignore it.  I can't figure out how to get Ubuntu off my computer.  It is really starting to stress me out, I've been googling for hours trying to figure this out, but every answer I find assumes I can do things that I can't even figure out how to do.  The most I've been able to do is get to some boot menu that lets me either boot Ubuntu normally, or do advanced options that just gives me 4 Ubuntu options.  I have access to command thing and something else by typing 'e' or 'c', but I have no idea what to do in either of those to help.  If I had known how difficult it was going to be to go back I'd have never installed Ubuntu in the first place.  I feel like I need someone to walk me through the entire process because I have no idea what I am doing, and google searches never give me answers that help me.

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.


I did not find my answer in the questions I searched , that's why I am asking it .  class outer  { class inner  // non static . { } }  For creating object of inner class I am unable to understand the logic of the part to the right of assignment operator .  outer o = new outer () ; outer.inner y = o. new inner () ; //  I have doubt in this line .   Here outer.inner is the return type but what about the right portion ?  Thing I know : We cant write outer.inner y = new outer.inner () ; since inner is non static .

What is the main difference between an inner class and a static nested class in Java? Does design / implementation play a role in choosing one of these?


I have a multipart feature and I need to convert it to a singlepart feature.  Couldn't find any code sample.  I wonder if i could get some help from you?  I'm working with ArcGIS 10 and c#.

There are some nice features in ArcToolbox we can use, but for some reason, this is NOT working properly. It doesn't even throw me an error.  My software is running inside ArcMap, so no need to AoInitialize again, corret?      public void Execute()     {         InitializeProduct();         try         {             Geoprocessor gp = new Geoprocessor();             gp.OverwriteOutput = true;              FeatureToPoint featureToPoint = new FeatureToPoint();              string outputPathName = CurrentWorkspace.PathName + "\\teste_centroide";              featureToPoint.in_features = InputFeatureClass;             featureToPoint.out_feature_class = outputPathName;             featureToPoint.point_location = "INSIDE";              IGeoProcessorResult result = (IGeoProcessorResult)gp.Execute(featureToPoint, null);              if (result == null)             {                 for (int i = 0; i <= gp.MessageCount - 1; i++)                 {                     Console.WriteLine(gp.GetMessage(i));                 }             }              IGPUtilities gpUtils = new GPUtilitiesClass();             this.OutputFeatureClass = gpUtils.OpenFeatureClassFromString(outputPathName);         }         catch (Exception ex)         {             MessageBox.Show(ex.Message + "\r\n");         }   This is a code example I'm having here. I generated the DataManagement tools assembly, but I could not find the file to sign it.  This code just gives me an error. is it because of the signing?  I've tried the other way too, using IVariantArray and calling from the tool name, without sucess. Is it just me or...?  Can anyone point me a "nicer" solution? I need to run several process that are already built in ArcToolbox that I really don't want to duplicate.


My 4/4 lifelink creature is blocked by his 1/1 indestructible creature. How much life do I gain, if any?

I have recently began playing a deck that has a number of creatures with lifelink in it.  I want to be certain I understand the mechanic and the following question occurred to me.  Which damage total do you use to determine the life gain from lifelink?  I had assumed that if  a 3/3 creature with lifelink was blocked by a 2/2 creature that the life gain total would be 2, the maximum that the blocker can absorb before dying.  This seems to be incorrect, as when I read the example attached to CR 119.4c      [...] attacks with a 3/3 creature with wither and lifelink. It’s blocked by a 2/2 creature, [...]. The damage event starts out as [3 damage is dealt to the 2/2 creature, 2 damage is dealt to the 3/3 creature]   Have I been short changing myself?


I want to talk about git and created some slides, where I use a listings enviroment to mark code that can be typed into the terminal (see minimal example).  Unfortunately, when I want to copy the code from my .pdf file into the terminal, unwanted blanck spaces appear.  For example:  $ git config --global alias.st status    is copied into the terminal the following  $ git config -- global alias . st status   Is this a problem of my pdf viewer (I tried evince and okular) or is this a latex-beamer problem and how can I solve this?  EDIT: sorry I forgot the code  \documentclass[11pt]{beamer} \usetheme{Boadilla} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{listings} \lstset{basicstyle=\ttfamily,   showstringspaces=false,   commentstyle=\color{red},   keywordstyle=\color{blue} } \begin{document} \begin{frame}[fragile]         \frametitle{aliases}          \begin{lstlisting} $ git config --global alias.st status $ git config --global alias.ci commit $ git config --global alias.co checkout \end{lstlisting} \tiny{ \begin{lstlisting} $ git config --global alias.lg "log --graph --abbrev-commit --decorate  --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset)  %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''           %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all" \end{lstlisting} } \end{frame}  \end{document}

When I compile the .tex file below into .pdf using rubber -d mwe.tex and try to copy & paste the contents of the listing, I get spaces around . characters that were not present in the original listing. How do I force listings to preserve spacing (i.e. not add any) and always show exactly what I've typed?  \documentclass{article}     \usepackage{listings}     \lstset{language=sh}     \begin{document}     \title{Lol}     \maketitle     \section{Introduction}     Where does spaces around dot comes from: \begin{lstlisting}       lxc.id_map = g 0 100000 65536 \end{lstlisting}     \end{document}


I am using a purchased model, imported as an OBJ. In Blender Object and Render modes, I am seeing a mesh pattern I am not used to seeing on stuff I create myself:    Much of the model, in object mode, has a strange-looking waffle mesh, which affects the render as well as the solid view.  In Object properties, the max draw type is set to solid:    ... And portions of the mesh appear in a mix of solid (like the area near the front and cockpit door) and waffle mesh.  I suspect I am about to learn something about Blender: Why does my mesh look and render like this?  Thanks rg  EDIT : As requested, here is a small portion of the mesh:

Here is the viewport in material view.  The node setup is just a PNG texture into a diffuse shader.    And this is in rendered view.  I've tried using environmental lighting as well as a directional light, and while the lit parts become brighter/washed out, the darker parts stay dark.  Normals are correct and there is no z-fighting.  Ambient Occlusion is not enabled.  Changing to Flat shading makes it worse.    Update:  Any modifier that alters the mesh (bevel, subdivide, etc) make the problem go away instantly.


I hope that you can help me understand how the German tax system works.  I recently found a job in Berlin with a yearly gross salary of 68000. I am married (we are both Spanish) but my husband is still working in the UK with a yearly gross salary of 47000 pounds.  My questions are:   In which tax classes do we belong?  If he moves to Berlin, registers here and we live together with him being unemployed will we pay less for taxes?  Which case (1st or 2nd) is the most favourable for us in order to pay less taxes?

I received an offer from Germany. However, my husband is working in France. Both of us are immigrants with temporary residence permit. We don't have kids.  In this case, what is my tax class in Germany?  Thanks


$$\lim_{n \rightarrow \infty} \Big( 1-\dfrac{1}{\sqrt 2} \Big) \cdots  \Big(1-\dfrac{1}{\sqrt {n+1}}  \Big)$$  Attempt:   Let $y = \lim_{n \rightarrow \infty} \Big( 1-\dfrac{1}{\sqrt 2} \Big) \cdots  \Big(1-\dfrac{1}{\sqrt {n+1}}  \Big)$   $\ln y = \lim_{n \rightarrow \infty} \ln \Big( 1-\dfrac{1}{\sqrt 2} \Big)+ \cdots  + \ln \Big(1-\dfrac{1}{\sqrt {n+1}}  \Big)$  I am not able to move ahead really from here. Could someone give me an hint on how to move forward with this problem.  Thank you very much for your help in this regard.

Let $$a_n=\left(1-\dfrac{1}{\sqrt2}\right)\dots \left(1-\dfrac{1}{\sqrt{n+1}}\right),n\ge1$$ Then find $\lim_{n\to \infty} a_n$.   How can I proceed? I am stuck at the first step. Please help.


I reloaded my bounties offered page and I got "Page not found"  But when I navigate to my offered bounties from my profile page it works fine (as soon as I press F5, it becomes not found again)  page:     The same goes for any of the bounty pages ending in &sort=<x>

When click on view more in earned and offered  bounty section it give Not found error message          same happen with the earned. It happens  when url have   &sort=offered or  &sort=earned param   but when do not have  those param, its working fine (?tab=bounties works fine)


She is reading a lot these days.   She has been reading a lot these days.      Which one is correct? Is there any real difference between them?

Non-native speakers often get confused about what the various tenses  and aspects mean in English. With input from some of the folk here I've put together a diagram that I hope will provide some clarity on the matter.  I offer it as the first answer to this question. Consider it a living document. Input is welcome, and good suggestions will be  incorporated into the diagram.    Nota bene: What this is not is a discussion of whether there are  more than two tenses in English. , to which this question is not intended to supply arguments one way or the other.  Here, the aim is to provide an overview of what constructions English-speaking people use for conveying information about actions referring to past, present, and future, and to provide it first and foremost to precisely the people who are likely to use "tense" as a catch-all term in their search, rather than to linguists who know better.  Breaking News There is now an excellent ELU blog article titled  . It is highly recommended reading.


What do search engines presently prefer us to use as word separators in URLs: dashes or underscores? Should I use  or ?

Should it be /about_us or /about-us?  From usability point of view, I personally think /about-us is much better for end-user yet Google and most other websites (and javascript frameworks) use underscore naming pattern. Is it just matter of style? Are there any compatibility issues with dashes?


Is it possible to find out the location of a computer similar to the "set time by location" feature via command line?  I'm working on a little script that would update my network location settings depending on whether or not I'm within a certain city or something.

Some GUI apps use OS X location services, but I want to retrieve a Mac's physical location from the . This could be useful for running scripts, switching settings etc. The mechanism should be , not a Geo IP service (data too low-res, needs online connection).  Minimum requirement is output of longitude and latitude. Nice would be a number indicating the precision. Super nice: a geocoder that provides location names.


I have list of strings shown below. I want to combine each string with every other string to give unique combination.  listTags = [ "TOT" , "WBA", "BUR", "SOU", "HUL", "SUN", "STK", "SWA", "ARS", "CHE", "MUN", "WHU", "WAT", "MID"   "WHU", "CRY", "LEI", "EVE", "MCI", "LIV"].   So for above list it would be #TOTWBA, #TOTBUR, #TOTSOU...etc. How can I do this in python?

I have a list with 15 numbers in, and I need to write some code that produces all 32,768 combinations of those numbers.   I've found  (by Googling) that apparently does what I'm looking for, but I found the code fairly opaque and am wary of using it. Plus I have a feeling there must be a more elegant solution.  The only thing that occurs to me would be to just loop through the decimal integers 1–32768 and convert those to binary, and use the binary representation as a filter to pick out the appropriate numbers.   Does anyone know of a better way? Using map(), maybe?


I am trying to identify a chrome bike similar to a dyno orroyce union

I can't identify my bike so I was hoping someone could help me... The serial number is AX365316


if I learned the “true meaning” of a word via etymology, would it help to get all its possible meaning in any context?

In discussions about the meanings of words I often find participants bring up the etymologies as though they are conclusive deciding factors.  On the other hand there is concept of the "etymological fallacy" .  Which is true? Or is the truth somewhere between? If words change over history how relevant is their origin to their current meaning? If the etymology of a word is a trump card which can settle debates about correct usage of words does this mean words cannot in fact change over time?


The following problem appeared on a problem set I'm working on: "Let $A$ be a finite-dimensional associative algebra with $1$ over a field $k$. Show that an element $a$ in $A$ has a multiplicative inverse if $a$ is not a zero divisor" (emphasis mine). I'd appreciate if y'all could check my solution to see that it's correct.  Let $a \in A$ not be a zero divisor. Then the map $T : A \to A$ given by $T : x \mapsto ax$ is an injective linear transformation from a finite-dimensional vector space $A$ to itself, as $\ker(T) = \{ x \in A : ax = 0 \} = \{ 0 \}$ by the assumption that $a$ isn't a zero divisor. Thus $T$ must also be onto, so in particular there exists a unique $b \in A$ such that $ab = 1$. Let us fix this $b$.  We know that $b$ is a right-inverse to $A$, so must show that it's also a left-inverse, i.e. that $ba = 1$. First, we wanna show that a right-inverse to $b$ exists, for which it'll suffice to show that $b$ is not a zero-divisor. If it were the case that $bx = 0$, then we'd have $a (bx) = (ab) x = 0$. But $(ab) x = 1x = x$, so $x = 0$. Thus we know that $b$ is not a zero-divisor, so there exists a unique $c \in A$ such that $bc = 1$.  It now remains to show that $a = c$. This follows as \begin{align*} a(bc) & = (ab) c \\ = a 1 & = 1 c \\ = a & = c . \end{align*} Thus $ab = ba = 1$, so $b$ can rightly be called a multiplicative inverse to $a$.  Is my solution correct? Thanks!

Let $A$ be a finite dimensional algebra. Prove that an element of $A$ is invertible iff it is not a zero divisor.  Let $a$ be an invertible element, then there exists an element $b$ such that $ab=1$ and assyme that $a$ is a zero divisor, then there exists an element $c  \neq 0$ such that $ac=0$ and i don't know.


Could you tell me how to write the following P in Latex?    It is not equal to \mathcal{P} in Latex.

I know what my symbol or character looks like, but I don't know what the command is or which math alphabet it came from. How do I go about finding this out?


I have this table:  VAT | Email1 | Email2 000 | a@a.it | b@b.it 000 | a@a.it | - 000 | a@a.it | c@c.it 000 |  -      | d@d.it   I want this result:  VAT | Emails 000 |  a@a.it, b@b.it, c@c.it, d@d.it   How can I do this in SQL?  Note that I want to concatenate values from multiple columns and multiple rows simultaneously.

Consider a database table holding names, with three rows:  Peter Paul Mary   Is there an easy way to turn this into a single string of Peter, Paul, Mary?


So there are always a lot of sales going on on craigslist / ebay / etc. How do I tell if what they are selling is worth it?  I don't really know the difference between a $500 bike and $1500 bike. I know weight is one of concerns but 20 or 25 lbs or even 30 lbs it's pretty hard to tell the difference. There are multitudes of brand names and even more variations within the brand name.   There are also the group sets (even discounting too much of customization)  My stats: 5'10, 270 lbs Purpose: Commuting ~12 miles daily (each way) - (assuming for long rides 50+ a hybrid is better)    I am planning to go to a local shop to try out some bicycles but, i also don't mind used, but somehow doubt someone from Craigslist will let me do a 'test drive'. Hopefully this is enough information about what my purpose and question is    to sum it up: - What should I look for that will make the difference between a $500 bike and $1500 (both for same purpose) when it comes to Frame/Components

I'm moving to a city where I can ride a bicycle to the grocery store, coffee shop etc. I want to purchase a decent used bicycle. I'm leaning towards a bike that's in between a "10-speed" or road-bike and a mountain bike. What should I look for when choosing a particular bike?  I've never purchased a used bicycle. Other than classifieds (e.g., Craigslist), what types of places can I look? What other issues should I consider, such as size, visual appearance, leaking tires, etc.? How can I make sure it's not stolen?


I'm trying to setup a method in which I can run remote tcpdumps on some of my devices, and save the file to my local machine for analysis (I don't want to save the file on the remote device and then pull it out as the remote device has very little space available).   I have setup an Ubuntu VM on my machine (bridged network) in which I've installed SSHPass and used it successfully to complete this troubleshooting task. I used a syntax as shown below from the terminal of my Ubuntu machine:  sshpass -p <password> ssh -c aes256-ctr <username>@<remote-ip> -p <remote-access-port> "tcpdump -i eth1 -s 0 -nnn -vvv -w - port 53" \ > /home/drew/Desktop/DNS_Capture.pcap   Once I ran the above command, my session connected and started running a tcpdump on the remote device looking at it's DNS traffic. This captured directly to a file located on the desktop of my Ubunut VM which is exactly what I wanted.  One on of my other devices however, the main landing page from an SSH session is not the Linux shell of the device, but rather another debug shell. If I were to actually be doing the process on this other device via CLI, I would do the following:  ssh <username>@<remote-ip> -p <remote-access-port> <password> (*at prompt for password after connection) sh tcpdump -i eth5.1 -s 0 -nnn -vvv port 53   As you can see from the above, I initiate a "sh" in order to be dropped into the appropriate linux shell of the device. With the above, I'm able to run my captures as needed, but the issue is that I'm not able to save the output of this in a .pcap file. In my attempts to get around this, I have tried the below in my attempts to get this working on this other device:  sshpass -p <password> ssh <username>@<remote-ip> -p <remote-access-port> "sh; tcpdump -i eth5.1 -s 0 -nnn -vvv -w - port 53" \ > /home/drew/Desktop/DNS_Capture.pcap   I found on other questions on this forum that people were successful in passing multiple commands by using those command escapes such as ";". It almost seems to me like the first command is not even applying when setup in this manner. Even if I enter the following as a test to see if I've landed in the proper linux shell, it doesn't run the second command, and the prompt tells me that I'm still at the default landing page:  sshpass -p <password> ssh <username>@<remote-ip> - <remote-access-port> "sh; ifconfig"

I am issuing a command to a remote device in order to run a tcpdump on one of it's interfaces, but capture the output to a local .pcap file on my Ubuntu VM. The command that I'm issuing is as follows:  drew@Drew-Ubuntu:~/Desktop$ sshpass -p $password ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -T $username@$remote-ip -p $remote-port << EOF \ > /home/drew/Desktop/Example_Capture.pcap > sh > tcpdump -i eth5.1 -s 0 -n -v not host $local-ip -w - > EOF tcpdump: listening on eth5.1, link-type EN10MB (Ethernet), capture size 65535 bytes ^Ct 23 drew@Drew-Ubuntu:~/Desktop$   The issue that I'm having is that this does allow me to start up a tcpdump. I can see the "Got $counter" values increasing as the tcpdump runs which is great. I can then simply "CTRL + c" in order to stop the capture and my file is generated at my specified location. The issue is that the first command "> sh" shows up in the very first line of this capture file, which stops me from being able to properly open this file for review.  I've tried adding "> sh > /dev/null", but I'm pretty sure that is only going to suppress output on the remote side, and not mine, as it didn't work. I've tried messing with the syntax of this a bunch, but either my command doesn't work entirely, or that first line is included. Hoping there is a proper syntax out there to just populate my local file with the tcpdump information.  Update:  I have since tried to update things to work within a single script that runs my tcpdump capture, and then once cancelled out, sed would clean up the first line as needed. Below is what I have built:  #!/bin/bash  read -p $'\e[32mEnter Remote IP: \e[0m' remote_ip read -p $'\e[32mEnter Username: \e[0m' username read -sp $'\e[32mEnter Password: \e[0m' password echo read -p $'\e[32mEnter File Save Location and Name: \e[0m' save_file echo -e '\e[32mEnter tcpdump Options (ie. -i eth1 -s 0 .....)\e[0m' read -p $'\e[32m*note: You do not need to enter the \"-w\" modifier to save to a file: \e[0m' tcpdump_options  sshpass -p $password ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -T $username@$remote_ip -p 30007 <<- EOF \ > /tmp/Remote_Capture.pcap         sh         tcpdump $tcpdump_options -U -w - EOF  trap '{ sed 1d /tmp/Remote_Capture.pcap > $save_file; rm /tmp/Remote_Capture.pcap; }' SIGINT SIGTERM   The issue with this is that when I enter a CTRL+C, it seems to terminate out of the entire script and not make it to that final line. My capture file gets created in my /tmp directory with that extra line up top, but the sed operations don't actually happen to clean things up and push the cleaned up file to my set location.


Why doesn't this work? I thought the list would be able to accept any object that is an instance of A.  import java.util.List;  public class Test {      interface A {}      interface B extends A {}      class BImpl implements B {}      List<? extends A> listOfAExtensions;      void function() {         B b = new BImpl();         listOfAExtensions.add(b);         // error         // The method add(capture#1-of ? extends Test.A)         // in the type List<capture#1-of ? extends Test.A>         // is not applicable for the arguments (Test.B)     } }

Why do I get compiler errors with this Java code?  1  public List<? extends Foo> getFoos() 2  { 3    List<? extends Foo> foos = new ArrayList<? extends Foo>(); 4    foos.add(new SubFoo()); 5    return foos; 6  }  Where 'SubFoo' is a concrete class that implements Foo, and Foo is an interface.  Errors I get with this code:   On Line 3: "Cannot instantiate ArrayList<? extends Foo>" On Line 4: "The method add(capture#1-of ? extends Foo) in the type List<capture#1-of ? extends Foo> is not applicable for the arguments (SubFoo)"   Update: Thanks to Jeff C, I can change Line 3 to say "new ArrayList<Foo>();".  But I'm still having the issue with Line 4.


I want to change color of the main command line. Just the first and last ones.  The command I've called and the prompt line that waits to new command.  When I've called a command and it returns some stuff, I'm lost in those! I want to highlight the main line and the new line.  If I can reposition the main line it would be great too! I'm not sure if it's clear enough, sorry for my bad English.

I spend most of my time working in Unix environments and using terminal emulators. I try to use color on the command line, because color makes the output more useful and intuitive.  What options exist to add color to my terminal environment? What tricks do you use? What pitfalls have you encountered?  Unfortunately, support for color varies depending on terminal type, OS, TERM setting, utility, buggy implementations, etc.  Here are some tips from my setup, after a lot of experimentation:   I tend to set TERM=xterm-color, which is supported on most hosts (but not all). I work on a number of different hosts, different OS versions, etc. I use everything from macOS X, Ubuntu Linux, RHEL/CentOS/Scientific Linux and FreeBSD. I'm trying to keep things simple and generic, if possible. I do a bunch of work using GNU screen, which adds another layer of fun. Many OSs set things like dircolors and by default, and I don't want to modify this on a hundred different hosts. So I try to stick with the defaults. Instead, I tweak my terminal's color configuration. Use color for some  (ls, grep, less, vim) and the . These commands seem to use the standard "". For example:  alias less='less --RAW-CONTROL-CHARS' export LS_OPTS='--color=auto' alias ls='ls ${LS_OPTS}'    I'll post my .bashrc and answer my own question Jeopardy Style.


This script: \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} See Fig. \ref{fig:exa} \begin{figure}   \centering   \subfloat[example a]{     \label{fig:exa}     \includegraphics[width=0.5\textwidth]{example-image-a}   }   \subfloat[example b]{     \label{fig:exb}     \includegraphics[width=0.5\textwidth]{example-image-b}   } \end{figure} \end{document}  renders output  How can I format the reference to subfloat as "Fig. 1(a)".

Say I have a figure with two subfloats inserted using the subfig package.  When I reference them with \ref{myLabel} I get this     Figure 3.5a and 3.5b.     But what I want is this:     Figure 3.5(a) and 3.5(b).   How can I add the parentheses?


I have a list of files, which I would like to move from folder A to folder B, but I do not want to do that by hand. Is there an easier way to loop through the list and move every file which is on that list?

I have a file that contains file names. For example:  /tmp/list.txt (it is with the spaces at the start of each line):     /tmp/file.log   /app/nir/home.txt   /etc/config.cust   I want, using one line, to move all the files listed in /tmp/list.txt to /app/dest  So it should be something like this:  cat /tmp/list.txt | xargs mv /app/dest/


I'm trying to update a Ubuntu server and when I run apt-get update I get a number of errors like the examples below (note I added some space after http).  Err http  ://no.archive.ubuntu.com natty/main Sources  404  Not Found Err http  ://no.archive.ubuntu.com natty/restricted Sources 404  Not Found   AND  W: Failed to fetch http  ://no.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources  404  Not Found W: Failed to fetch http  ://no.archive.ubuntu.com/ubuntu/dists/natty/restricted/source/Sources  404  Not Found  I tried to replace all occurrences of http   ://no.archive.ubuntu.com/ with http  ://archive.ubuntu.com/   But seems all of these archives are gone...  Version of Ubuntu: lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 11.04 Release:        11.04 Codename:       natty  How can I cleanup this mess? Thanx for any help! j

Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc


I was trying to run the command sudo apt update, but I'm getting the following error: $ sudo apt update     E: Malformed entry 1 in list file /etc/apt/sources.list.d/lutris.list (Suite)     E: The list of sources could not be read.  How can I fix this? I checked the file /etc/apt/sources.list.d/lutris.list and is a text file containing only the following line: deb http://download.opensuse.org/repositories/home:/strycore/xUbuntu_17.10/ Thank you

I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that.  I just tried to upload a screen shot but since I'm new it won't allow me to.  I also can not figure out how to cut and paste anything so I have to hand type what the error screen says, both when I attempt to open the software center and nothing happens, when I try to enter commands into the terminal to uninstall, reinstall, whatever I get the same following:  COULD NOT INTITIALIZE THE PACKAGE INFORMATION An unresolvable problem occured while initializing the package information Please report t:his bug against the 'update-manager' package and include the following error message: 'E: Malformed line 91 in source list/etc/apt/sources.list (dist parse)  E: The list of sources could not be read.,  E: The package list of status file could not be parsed or opened.   How do I report bugs?  What can be done about this.  I have searched and everything everyone says to do leads me back to the same line error message.  So, I don't know how to get to line 91 in the source list; to tell you what it says. Sorry, I'm really new to this. That is what I need is to find out how to get there and fix what it says. I would really like to NOT have to re partition my hard drive and start from scratch, so I'm really looking forward to getting this problem solved. I need to be able to install new software.


Compute     $\sum\frac{1}{n^2(2n-1)}$ assuming that $\sum\frac{1}{n^2}$ = $\frac{\pi^2}{6}$ If we multiply and divide the fraction by 2n+1 we get $\sum\frac{2n+1}{n^2(4n^2-1)}$ but still I couldn't proceed.  How to use $\sum\frac{1}{n^2}$ = $\frac{\pi^2}{6}$ to evaluate the series sum?

Find the sum $ \displaystyle\sum_{n=1}^{\infty} \frac{1}{n^{2}(2n-1)}$  $= 1 + \dfrac{1}{3\cdot 2^{2}} + \dfrac{1}{5\cdot 3^{2}} + \dfrac{1}{7\cdot 4^{2}} \ldots$  Then, I'm stuck. I didn't find any pattern to solve.  I just need a hint.


Given a complete graph, what is the maximum number of triangles that have no edges the same?  For example, two triangles that have a coinciding edge don't work (note that intersecting is fine).   For example, if we have a complete graph with 6 vertices labeled 1-6 clockwise, the two triangles determined by vertices 1, 3, 4 and vertices 1, 5, 6 are okay but the two triangles determined by vertices 2, 3, 4 and vertices 3, 4, 5 are not because the 4-5 edge coincides. Any help would be appreciated!

Suppose we have a set of $n$ elements. We want to know the maximum number of subsets of $3$ elements we can find of this set such that no two subsets have an intersection with $2$ or more elements.  The question arises from trying to count the number of subgroups isomorphic to $\mathbb{Z}_2\times\mathbb{Z}_2$ in a group with $n$ elements of order $2$ such that the product of any two such elements has also order $2$.


You have five cards numbered 1,...,5. You shuffle them, so that at the end every permutation of them is equally likely to show up. What is the probability that no card 'i' will end up in the i-th card after shuffling?   So I'm figuring out this problem. I got stuck because the probability of relocating card A changes the probability of moving other cards. For example, if card 1 is moved to location 2 after shuffling, moving card 2 to another location is 4/5, while if card 1 is moved to location 3, moving card 2 to another location will have a probability of 3/5. I'm confused here. How do I solve this problem? Thank you.

Five bald men wearing hats go to a party, and when they arrived they put their hats in a dark closet. During the party, someone yells, “Fire!” and the men rush to the closet, grab a hat at random, and leave. What is the probability that  (a) exactly four get the right hats?  (b) all five get the wrong hat?  (c) more than one man gets the right hat?


I recently upgraded my laptop (Dell Vostro 3558, with Ubuntu 14.04 inbuilt) to Ubuntu 16.04, but it was not working properly. When I upgraded it, a notification said that the system may be unstable. I was not able to shutdown my laptop(when I tried to do that i.e clicked the shutdown button, nothing happened). I somehow managed to shut it down, by removing the battery, but then it didn't start(boot again). There was just the purple screen and the LED on Capslock key kept blinking. Nothing happened. What should I do, should I restore my system back to factory mode(as there is an option of it just before the booting starts) or what should I do to successfully use the upgraded version?

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


Sorry to disturb you but i have been making a quiz app that counts the score.But when  it displays my score it shows 0.  Is there something wrong with my variables?.  Is there a way to fix it?  Here is the code:  package quiz;  import java.util.Scanner;   public class quiz {  public static void main(String[] args) {     //–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––     //User input      Scanner in = new Scanner(System.in);     //User input     //––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– //SCORE int score = 0; //SCORE //––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– //Yes or No String yn;       //Yes or No      //––––––––––––––––––––––––––––––––––––––––––––––––––––      String q1 = "Is the hottest chili on earth called the Carolina      Reaper(y/n)?"; String q2 = "Was beethoven the father of mosart(y/n)?"; String q3 = "Is the worlds best sellng album the Thriller(y/n)?"; String q4 = "Was Steve Jobs the maker of microsoft(y/n)?"; String q5 = "Did Steve jobs Die(y/n)?"; String q6 = "Was the first Iphone the Iphone 2(y/n)?"; String q7 = "Was  Rich Miner the only developer of android (y/n)?"; String q8 = "Is the Goliath  tarantula the  biggest spider on earth(y/n)?"; String q9 = "Is Octopus wolfi the biggest octopus on earth(y/n)?"; String q10 = "Adolph Blaine Charles David Earl Frederick Gerald Hubert Irvin John Kenneth Lloyd Martin Nero Oliver Paul Quincy Randolph Sherman Thomas Uncas Victor William Xerxes Yancy Wolfeschlegelsteinhausenbergerdorff Broke the record for the most confusing name(y/n)?";    //QUESTIONS   System.out.println(q1); yn = in.nextLine(); if (yn == "y"){     score++; } System.out.println(q2); yn = in.nextLine(); if (yn == "y"){     score++; } System.out.println(q3); yn = in.nextLine(); if (yn == "y"){     score++; } System.out.println(q4); yn = in.nextLine(); if (yn == "y"){     score++; } System.out.println(q5); yn = in.nextLine(); if (yn == "y"){     score++; } System.out.println(q6); yn = in.nextLine(); if (yn == "y"){     score++; } System.out.println(q7); yn = in.nextLine(); if (yn == "y"){     score++; } System.out.println(q8); yn = in.nextLine(); if (yn == "y"){     score++; } System.out.println(q9); yn = in.nextLine(); if (yn == "y"){     score++; } System.out.println(q10); yn = in.nextLine(); if (yn == "y"){     score++; }  System.out.println("Awesome, you scored "+ score +"/10");      }    }   Thanks!  Sorry if my code is sloppy i am a beginner.

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'm trying to make a script that adds motion trackers every n frames and tracks them but I can't get the detect_features and track_markers operators to run on a specified frame. My approach is to jump the time cursor to the next "step" of n frames using any way I know to update the frame, namely: bpy.context.scene.frame_current bpy.context.scene.frame_set bpy.ops.clip.change_frame  But for some reason, the tracking operators ignore all of these commands and always operate on the current frame instead (the one you're on when you press the Run button). Here's a script that shows the problem. You can paste it in Blender’s text editor and run it, provided you have a Movie Clip Editor area with a clip open in it: import bpy C = bpy.context ctx = C.copy() for area in C.screen.areas:     if area.type == 'CLIP_EDITOR':         ctx['area'] = area  for step in range(3) :     currFrame = (step*20)+1     C.scene.frame_current = currFrame     C.scene.frame_set(currFrame)     bpy.ops.clip.change_frame (ctx, frame = currFrame)     bpy.ops.clip.detect_features(ctx)     bpy.ops.clip.track_markers(ctx, backwards = False, sequence = False)  Notice how after running it, all markers are tracked at the same frame and if you grab the currently selected markers with G, it will reveal the previously added markers underneath, at the same positions. EDIT: I added a . EDIT 2: I also  with an interface for easier automated tracking (under development). Feel free to ask me anything about it.

I am attempting to make these GUI steps into a script. When I follow this process manually, I get a tracking error under 1 and I get some great matches. This is far better than autotrack. import bpy  Step 1 - Set tracking settings extra correlation to .99: bpy.data.movieclips["Name.png"].(null) = 0.99  Step 2 - Loop through 1000 times When in loop, it loops but only tracks one frame forward: for loopv in range (1000):  Step 3 - Detect Features bpy.ops.clip.detect_features(ctx)  Step 4 - Track Features 1 Frame bpy.ops.clip.track_markers(ctx,backwards=False, sequence=False)  Step 5 - Deselect all features bpy.ops.clip.select_all(ctx,action='TOGGLE')  or bpy.ops.object.select_all(ctx,action='DESELECT')  Step 6 - End Indentation of loop and Return to Step 2 This is my current code. I have to hit Run Script. over and over, for it to work and go through all the frames of the clip. import bpy import random  #for loopv in range (1000): ctx = bpy.context.copy() for area in bpy.context.screen.areas:    if area.type == 'CLIP_EDITOR':    ctx['area'] = area  bpy.ops.clip.select_all(ctx,action='DESELECT') bpy.ops.clip.detect_features(ctx) bpy.ops.clip.track_markers(ctx,backwards=False, sequence=False)


For e.g   "All Muslims are terrorists, that muslim guy knifed that girl in London last month"  "All white men have privilege, just look at any senior level boardroom"  (not the same as the fallacy for associating a group with the actions of a few)

What is the technical term for when people thinks the actions of the few represent the many.  Like when people thinks everyone in a specific group behaves a certain way cause of how a few people in the group behave, including non stereotypical behaviours. I thought it was "generalisation" but I couldn't find any articles using that term.


I read about a full charge cycle at least once per month - how is this done? Just purchased this wonderful machine, brand new, want to keep it as perfect as possible, and am not sure how to do a full charge cycle of the battery.

My friend told me that I need to disconnect the power cord when the battery is fully charged. Otherwise, I will shorten the life of the battery.  Other people say you should drain it once a month or point out that for long term storage, you should charge it to 50% and then periodically (3 to 6 months) bring it back to 50% and store it again.  I am going to use my laptop at home 90% of the time. So, I plan to have the power cord connected all the time.  I'd prefer to just plugging in my MacBook Pro and letting it be on charge long term and occasionally taking it away from the charger when I'm not at home or my desk.  Are these specific recommendations worth the inconvenience?


Does the word 'rhythm' have one or two syllables?  I'm wondering if there are any reasons for or against a sound-based argument vs a written-based argument.

Does the word 'hour' have 1 or 2 syllables?


In a multiplayer game, how can you be sure that the IP from a packet is the real IP? By spoofing I could send, for example, a "suicide packet" which tells the server that the owner of said packet wants to destroy its avatar when in reality I faked it.  Do games just give up on this aspect?

I'm thinking about clients spoofing IP addresses, tricking other clients that they are the server; that sort of stuff. (I don't know much about this, so if this is completely wrong, please correct me.)  What should I do to prevent this? Because it is a real-time game, if I were to use encryption, I would use something fast and secure like RC4. Should I encrypt packet data with a key, that the server gives to the client?   If it makes any difference, I'm using UDP.


In Harry Potter, it is said that Lord Voldemort is one of the most powerful wizards of all time. But I am not very convinced about why that is the case. I guess, a more general question is, how can you tell if a wizard is powerful?  In terms of spells, to be specific, the death curse, if two wizards speak this curse to one another at the same time with the equally good wands, then who will die? Does the effect of the spell depend on the way a wizard speaks it? If so, it what way exactly? Can an average wizard cast death spell to Lord Voldemort and kill him?  In terms of wands which is sort of the guns of our world, how do we know if one wand is more powerful than the other. In the movies, I did not see why the elder wand was that special except that it looks better.

In the world of Harry Potter, various wizards are described as being "powerful".     Harry had been a year old the night that Voldemort – the most powerful   Dark wizard for a century, a wizard who had been gaining power   steadily for eleven years – arrived at his house and killed his father   and mother.   But how is wizardly power actually measured in the franchise? Is it just a matter of O.W.Ls and N.E.W.Ts or is there more to it?