Prove $\mathbb{Z}$ is not a vector space over a field

This is an exercise from Chapter 3 of Golan's linear algebra book.  Problem: Show $\mathbb{Z}$ is not a vector space over a field.  Solution attempt:  Suppose there is a such a field and proceed by contradiction. I will write multiplication $FV$, where $F$ is in the field and $V$ is an element of $\mathbb{Z}$.   First we rule out the case where the field has characteristic 2. We would have   $$0=(1_F+1_F)1=1_F1+1_F1=2$$  a contradiction.  Now, consider the case where the field does not have characteristic 2. Then there is an element $2^{-1}_F$ in the field, and   $1=2_F(2^{-1}_F1)=2^{-1}_F1+2^{-1}_F1$  Now $2^{-1}_F1\in\mathbb{Z}$ as it is an element of the vector space, but there is no element $a\in\mathbb{Z}$ with $2a=1$, so we have a contradiction.  Is this correct?


Interpretation of coefficient of inverse Mills ratio

How do you interpret the coefficient of inverse  (lambda) in two step ?


How does GMAIL have a favicon that shows an unread message count?

GMAIL in chrome has a favicon that shows an unread message count. Does anyone know how they do  that? Is that them changing images? Or is there a property that allows you to set the number near the favicon?  Thanks


I know that a dedicated IP is needed for setting up SSL. What happens if we add SSL for  domains sharing an IP ? (Namevirtualhost)


C++: concise way to create const reference to modiable object

I have a class foo with a method bar(). I want to be able to use bar() on the object, but also use bar() to create a (modified) copy of the object. I declare the methods as:  void bar();   and  foo bar() const;   The second option works fine with a const foo object, but errors on a non const foo object: Cannot convert void to foo.  Now I can overcome this by:  foo obj2 = ((const foo&)obj1).bar();   I am interested in a more concise cast, since the casting gets irritatingly verbose in (other) cases. A workaround has been to append the name of the const method with a c, as in:  foo barc() const.   I would hope for something like (const)obj.bar(), but obviously, that will not do. Any ideas?  Edit:  I solved it by a simple macro.  #define _const(o) ((const decltype(o))o)  using it  as  _const(obj1).bar()   The underscore appears to be optional.  Another good/better approach through templates, see


Regular expression for strings, which are no ended with a specified substring

Please advice a regular expression to find all string which are not ended with ".pdf". So, it should find stings "some string" and "some stringpdf", but not the strings like "some string.pdf"  Thanks, Aleksey Asiutin


In my lecture note, a real-valued random variable is defined as follows:    Then I have an exercise:        Actually, my lecture notes do not have a definition of a random variable generated by other ones.  We already have funtions $X : \Omega \to \mathbb{R}$ and $Y : \Omega \to \mathbb{R}$.   My question: What is the random variable $Z: \Omega \to \mathbb{R}$ by the symbol $Z= X/Y$? I mean, for each $\omega \in \Omega$, what is $Z(\omega)$?  Thank you so much for your help!


Intuitively, what separates Mersenne primes from Fermat primes?

A Mersenne prime is a prime of the form $2^n-1$.  A Fermat prime is a prime of the form $2^n+1$.  Despite the two being superficially very similar, it is conjectured that there are infinitely many Mersenne primes but only finitely many Fermat primes.  Is there an intuition that can help me appreciate the nature of that seemingly paradoxical difference?


Site logo in "Bounty Grace Period Started" email is distorted

The logo of the site where the bounty question is asked appears to be distorted in comparison to the text, when reading the mail:        Same issue in landscape orientation.


In RWBY Volume 3, Chapter 4: Lessons Learned | Rooster Teeth - YouTube                                Winter hits again the first time was in                                Watch you see Winter asked Weiss "How have you been?" Weiss was telling her, and Winter for no reason hits her.


Marshmallow Heads-up Notifications Gone?

My Galaxy S6 edge recently updated to Android 6.0.1.  Before, when I would get a message from Whatsapp, it would show the message at the top of my screen (Lollipop called it Heads-up notification). Now, only the icon shows up at the top of the screen and I have to pull down the screen in order to see who its from.  It's really irritating! Please help me get that feature back or advise me how to return to Lollipop. Many thanks.


Let $f$ be a holomorphic function on the unit disk. If $|f(z)|=1$, show that $f$ must be a constant function.  I am a little confused how to start this.


How does freezing an app work technically?

Apps like Link2SD and Titanium Backup are able to "freeze" other apps, that is disable them without removing them. What do these apps do to achieve this?


I've always installed Debian/Ubuntu without problems with Windows but this time I cannot.  I had a w10/debian9 build but I wanted to start from 0 so I formatted my partitions and reinstalled my os. There wasn't problems for w10 but I couldn't install any Linux distro, I tried with Mint 19, Ubuntu, Kubuntu 18.04 and 16.04 and it always says that I have no space when installing even though my disk has 930 GB empty space. I tried to restart even my partition tablet.  I don't know what to do, any idea?  Edit: I post pictures since pc gets mad and doesnt allow me to copypaste. I added syslog where my PC starts to iterate this error. Any idea?  Edit2: I finally got the solution that was to add  pci=nomsi after quiet splash as grub boot parameters


I am new to programming.  I am trying to create validation for a UK postcode.  I have found what I believe will do the job (see below), but I do not know what other lines I need to enter to complete the process.  ^(([gG][iI][rR] {0,}0[aA]{2})|((([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y]?[0-9][0-9]?|(([a-pr-uwyzA-PR-UWYZ][0-9][a-hjkstuwA-HJKSTUW]|([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y][0-9[abehmnprv-yABEHMNPRV-Y])))&[0-9][abd-hjlnp-uw-zABD-HJLNP-UW-Z]{2}))$   Can anyone please help me with the other lines I would need to type to get this validation to work.  I checked the above code with the source and typed it into my programme (see below) when I tried to run the programme it came up with 54 errors. What am I missing?  namespace Moondog_odering_system {     public partial class CustomerDetails : Form     {         public CustomerDetails()         {             InitializeComponent();         }      private void textBox11_TextChanged(object sender, EventArgs e)     {         ^(([gG][iI][rR] {0,}0[aA]{2})|((([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y]?[0-9][0-9]?)|(([a-pr-uwyzA-PR-UWYZ][0-9][a-hjkstuwA-HJKSTUW])|([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y][0-9][abehmnprv-yABEHMNPRV-Y]))) {0,}[0-9][abd-hjlnp-uw-zABD-HJLNP-UW-Z]{2}))$     } }   }


Should I use the past tense or present tense?

I am struggling to choose the correct tense for this question:  What were the names of the sons of Mahatma Gandhi?  OR  What are the names of the sons of Mahatma Ghandi?  His sons have passed away so I would naturally opt for 'were', but they are still his sons so 'are' seems more appropriate. Is this correct? Thank you.


How to customize the spacing between two items within \begin{itemize} and \end{itemize}, without every time putting for eg. say,  \vspace{3mm} ? Thank you.


How to deduplicate and centralize pictures from multiple cameras?

I have several cameras, some retired and/or broken, some working, some not. Their pictures are scattered across several computers, possibly with duplicates, and the original SD cards. The naming format is not consistent, dates possibly broken, and maybe not all the pictures are on the computers.  So what I need is a tool/way to:   Collect images (can do manually) Deduplicate them based on image data or hash Store all of them in day-based or month-based folders so I can back them up on a external HDD   Note to duplication: The options in the dupe tag don't have any way of moving pictures based on date, preferably extracted from the EXIF data. And Picasa is more of a Google-syncer and centralized photo manager that operates on photos from many sources, and I couldn't find the option for actually reorganizing the photos on disk.


pvcreate not working: can't open exclusively

After having added 2 disks of 1Tb to a Dell PowerEdge, I went through their initialization with the goal to add them to an existing LVM VG.  When the MegaCli background initialization went complete, I did fdisk the new disk to add a Linux LVM partition on it.  Then, pvcreate refused to work:  pvcreate  /dev/sdn1   Can't open /dev/sdn1 exclusively.  Mounted filesystem?   Part of strace of the pvcreation:  open("/dev/sdn1", O_RDWR|O_EXCL|O_DIRECT|O_NOATIME) = -1 EBUSY (Device or resource busy)   Of course, the device is NOT mounted nor used: (fuser reports nothing).  Any idea why this is blocked?  Thanks


Where is Java Type Erasure. Why the codes decompiled from the .class file are exactly same to codes in java source codes

We know "Java Type Erasure" mechanism modify types in our java source codes when they were compiled into .class file. But, today I use Java Decompiler to decompile a class file, it shows me the exactly same codes which I typed in the java file.  I want to know? Where is the  "Java Type Erasure" mechanism? or how JD know?  The java codes:  public class C1 extends C<D>{  public C1() {  }  public void myPrint() {     System.out.println("Hello C1"); }  public static void main(String[]args) {     System.out.println("Test"); }   }  Codes de-compiled from .class file by JD software:  import java.io.PrintStream;  public class C1 extends C<D> {   public void myPrint()   {     System.out.println("Hello C1");   }    public static void main(String[] args)   {     System.out.println("Test");   } }   You see, they are same, and it confused me that how "Type erasure" works?


How to clone a Windows 10 dell onto an SSD

I've recently bought a Dell Inspiron 3650, and would like to clone the disk onto a samsung SSD I have bought for it, in order to speed up boot times etc.  Samsung provide a clone tool called "Samsung data migration", which I've had success with in the past for cloning a system from a HDD to SSD.  Having tried it on the dell, the disk is not bootable, Leaving me with an error that no bootable media can be found. I've tried using a recovery usb to fix any boot system errors, but this fails with an error.  Booting into windows on the old HDD, the system recognises the disks have the same ID and disables the SSD, so it looks like the clone was successful.  I've tried disabling secure boot in the bios and then doing the clone, but this doesn't make a difference.  What else should I try? The system has Windows 10 home installed and is brand new, straight out of the box.


Maximizing expected value of coin reveal game

I was asked this question today in an interview and am still not sure of the answer. The question is as follows.   Part one:  Say I have flipped 100 coins already and they are hidden to you. Now I reveal these coins one by one and you are to guess if it is heads or tails before I reveal the coin. If you get it correct, you get $\$1$. If you get it incorrect, you get $\$0$. I will allow you to ask me one yes or no question about the sequence for free. What will it be to maximize your profit?  My approach for this part of the problem was to ask if there were more heads than tails. If they say yes, I will just guess all heads otherwise I just guess all tails. I know the expected value for this should be greater than 50 but is it possible to calculate the exact value for this? If so, how would you do it?   Part two: Same scenario as before but now I will charge for a question. I will allow you to ask me any amount of yes or no questions as I go through this process for $\$1$. What is your strategy to maximize your profit?  I was not sure about the answer to this part of the question. Would the best option be to guess randomly? I think the expected value of this should be 50. I am not sure about the expected value of part one but if it is greater than 51, I think I could also use that approach. Anyone have a good idea for this part?


I was trying to execute a query on data.stackexchange.com, since I wasn't logged in I get  asked to solve the captcha (Which is fine).  However data.stackexchange.com  is failing to display the captcha for me and presents this error:


How did S.H.I.E.L.D lose ownership of this item?

At the end of Captain America: The First Avenger we see Howard Stark's team recover the Tesseract from the ocean floor.   in Captain Marvel we learn that the power source to the Lightspeed Engine Mar Vell was developing was the Tesseract found in Mar Vell's lab which was a Kree Impiral Cruiser in orbit of Earth.  Since Howard Stark was a founding Member of S.H.I.E.L.D after Captain America: The First Avenger S.H.I.E.L.D has the Tesseract, but given Fury was detained when looking into Project Pegasus (what Mar Vell was working on) this means Project Pegasus wasn't a S.H.I.E.L.D project.  So how did S.H.I.E.L.D lose ownership the Tesseract to Mar Vell?


Before starting to ask, just know that I am a total noob to CSS and started learning it yesterday along with HTML.  I'd like to know how i can center a div with some text in it. I've tried this:  #div1 {position:absolute;top:50%;left:50%;}   but it doesn't move exactly to the center.


Let {a_n} be a sequence such that lim a_2k = L = lim k→∞ a_2k + 1 Prove that lim n→∞ a_n = L.

Let {a_n} be a sequence such that lim a_2k = L = lim k→∞ a_(2k+1) Prove that lim n→∞ a_n = L.  I know that I'll have two limits set up, |a_2k - L| < ε and |a_(2k+1)-L| < ε and then I'll have two inequalities, k ≥ N_1 that comes from n = 2k and k ≥ N_2 that comes from n = 2k+1. So in total I'll have two cases. I just don't know how to fill in my proof with the language it requires to make sense. Can someone please help me?


How to add an on click function to a dynamically created element?

I'm aware similar questions have been asked and answered but I can't seem to get them to apply to my issue.   Below is the code that sends an ajax post when the form is submitted    $form.on("submit", function(event) {     event.preventDefault();      $.ajax({       url: url,       data: JSON.stringify({ description: desc }),       type: "POST",       contentType: "application/json",       dataType: "json",       success: function(data) {          $(".list").append(           '
<input type="checkbox" value="' +             data.id +             '">description
"         );         createOnClicks(data.id);       },       error: function(error) {         //list errors      },       complete: function() {        //reset form       }     });   });   this is part of the createOnClicks() function:  function createOnClicks(id) {     var listId = "#" + id;      $(listId).on("click", function(event) {       var value = $(this).is(":checked");        if (value) {         console.log("checked");         $.ajax({           url: "/listapi/" + id + "/complete",           type: "POST",           contentType: "application/json",           dataType: "json",           success: function(data) {             console.log(data);             $(listId)               .parent("li")               .addClass("complete");           }         });       } else { ...      } });   createOnClicks works correctly when it is called on elements that are there when the page loads, but won't work on elements that are added with the ajax post.   $(listId) returns an empty object when called within createOnClicks(), despite on the line above `console.log(listID) shows the appropriate value.


New automatic properties in c# 3.0, what's the benefit?

Whats the benefit of:  public string User {get; set;}   over  public string User;   Since you can't access the private member in the first case, how is it any different that just making your property public?


Don't understand the error code that's being returned

My project is to create a program which reads a number the user inputs and return relevant information corresponding to the input. I've finished my code and it compiles, but when I enter a room number it returns this error:  Exception in thread "main" java.lang.NullPointerException                at Room.setDirection(Room.java:93)                at Room.roomNumber(Room.java:29)                at Room.main(Room.java:18)   My complete program is below. I've looked at the lines corresponding to the errors but can't tell whats wrong. Any help?  import java.util.Scanner;  class artGallery {     String direction;     String title;     String artist;     String year;     String height;     String width; }  public class Room {     public static void main(String[] param)     {                artGallery room;         room = roomNumber();         System.out.println("The painting " + getDirection(room) + " is called " + getTitle(room) + " and is painted by " + getArtist(room) + ". It was painted in " + getYear(room) + " and is approximately " + getHeight(room) + "cm tall and " + getWidth(room) + "cm wide.");     }     public static artGallery roomNumber()     {         int number;         Scanner scanner = new Scanner(System.in);         System.out.println("Are you in room 1, 2 ,3 or 4?");         number = scanner.nextInt();         artGallery[] room = new artGallery[5];          room[1] = setDirection(room[1], "in front of you");         room[1] = setTitle(room[1], "The Starry Night");         room[1] = setArtist(room[1], "Vincent Willem van Gogh");         room[1] = setYear(room[1], "1889");         room[1] = setHeight(room[1], "73.7");         room[1] = setWidth(room[1], "92.1");          room[2] = setDirection(room[2], "to the left of you");         room[2] = setTitle(room[2], "The Persistence of Memory");         room[2] = setArtist(room[2], "Salvador Domingo Felipe Jacinto Dalí i Domènech");         room[2] = setYear(room[2], "1931");         room[2] = setHeight(room[2], "24");         room[2] = setWidth(room[2], "33");          room[3] = setDirection(room[3], "to the right of you");         room[3] = setTitle(room[3], "Liberty Leading the People");         room[3] = setArtist(room[3], "Ferdinand Victor Eugène Delacroix");         room[3] = setYear(room[3], "1830");         room[3] = setHeight(room[3], "260");         room[3] = setWidth(room[3], "325");          room[4] = setDirection(room[4], "above you");         room[4] = setTitle(room[4], "The Creation of Adam");         room[4] = setArtist(room[4], "Michelangelo di Lodovico Buonarroti Simoni");         room[4] = setYear(room[4], "1512");         room[4] = setHeight(room[4], "280");         room[4] = setWidth(room[4], "570");          return room[number];     }       public static String getDirection(artGallery v)     {         return v.direction;     }      public static String getTitle(artGallery v)     {         return v.title;     }      public static String getArtist(artGallery v)     {         return v.artist;     }      public static String getYear(artGallery v)     {         return v.year;     }      public static String getHeight(artGallery v)     {         return v.height;     }      public static String getWidth(artGallery v)     {         return v.width;     }      public static artGallery setDirection(artGallery v, String direction)     {         v.direction = direction;         return v;     }      public static artGallery setTitle(artGallery v, String title)     {         v.title = title;         return v;     }      public static artGallery setArtist(artGallery v, String artist)     {         v.artist = artist;         return v;     }      public static artGallery setYear(artGallery v, String year)     {         v.year = year;         return v;     }      public static artGallery setHeight(artGallery v, String height)     {         v.height = height;         return v;     }      public static artGallery setWidth(artGallery v, String width)     {         v.width = width;         return v;     } }


Similar to this , but slightly different. I am looking for a word or phrase to describe the act of adding in disclaimers or qualifications in sentences to not suggest a certain thing, especially if it is offensive. Take in mind that these phrases are often used in situations where one is scared of offending others, so it's likely there are ways of describing it with negative connotations.   Here are some examples:     "I admire Hitler's military tactics, not that I think he wasn't a bad person."    Notice for this one that the second half of the sentence doesn't change the implication of the first half, but not adding something to that effect at the end might have people come to other conclusions about the writer.     "Although I think women can do just as good as men in mathematics, there are few great female mathematicians."   Once again the first half is not really needed, it is put in to not offend people.     "If p, then q. Not that it should be that way and not that q implies p."   Again, the second sentence is not really adding more information about the subject, its purpose is to protect the writer or to stop the reader from forming conclusions that have no basis.  This question is different from  because, in that one the statement that follows the caveat usually contradicts the caveat.


"Hat trading company" vs "Hat-trading company"

Last year I worked for X, a hat-trading company   or     Last year I worked for X, a hat trading company   For some reason I was inclined to go with the hyphenated version, which now seems wrong, but I'd like to be sure.


Does Feeblemind produce an ongoing magical effect that can be dispelled?

has a duration of instantaneous. However, it also produces an ongoing effect, and the spell's text describes when this effect ends (emphasis added):  At the end of every 30 days, the creature can repeat its saving throw against this spell. If it succeeds on its saving throw, the spell ends. The spell can also be ended by greater restoration, heal, or wish.  The fact that the text refers to the spell ending, as opposed to just "the effect" or something similar, implies that it produces an ongoing magical spell effect, which can be dispelled using Dispel Magic. However, it has also been argued that any effects that persist beyond a spell's stated duration cannot be considered magical (with the classic example being fires started by a Fireball spell). Applying this rule to Feeblemind, it shouldn't have any ongoing effects since its duration is instantaneous. So, which is it? Are the ongoing effects of Feeblemind considered magical and therefore susceptible to effects like Dispel Magic, or are are they simply the lingering result of the initial shattering of the creature's intellect and personality? (Note that the final sentence quoted above does not by itself rule out Dispel Magic and other ways of ending the spell. It gives additional options for ending the spell, but it doesn't say these are the only options.)


Extension of continuous function on a closed subset of $\mathbb{R}$

Any help with this problem is appreciated. It comes up in the context of Lusin's theorem, where it was assumed to be true.     Suppose $E$ is a closed subset of $\mathbb{R}$ and $f:E\rightarrow \mathbb{R}$ is continuous. There exists a continuous function $g: \mathbb{R} \rightarrow \mathbb{R}$ such that $f(x)=g(x)$ for $x \in E$ and $g$ satisfies $$\sup_{x \in \mathbb{R}} |g(x)| \leq \sup_{x \in E} |f(x)|\;.$$


I Can't receive files via bluetooth on lxde

I needed to receive a PDF file from a friend in a class. I use ubuntu LXDE (13.10) and my friend had a Samsung tablet. I enabled bluetooth. We went through some sort of "setup" and entered a security code and so and it seemed that this step was completed successfully. He tried to send me the file but I had no notifications coming up or anything and he got a "sending error" after a while. I searched for a "receive mode" or something but couldn't manage to find anything. I was able to send a file to him!  Even later I looked around quickly in unity but still didn't know how to receive files.  ...how? :D


On really old Ubuntu 6.06 - How to upgrade

I'm on an old Ubuntu version (Ubuntu 6.06.2 LTS Server) which isn't really supported any more. So the automatic updates don't work. I have ISPConfig installed to manage a few web sites.  What's the best course of action? I'd like to upgrade to something current, but I can't figure out how to go about doing this, given that the apt-get scripts don't really work any longer.


command line application in JAVA to connect to MS SQL SEVER with Arguments

I created a console application with a Menu System like this,  But since the requirement was different, I need to create a command line application, for example I need to connect to MS SQL Database so, I should do something like this :  If you see, I have a bat file, I will pass some arguments, any suggestion on how to start this development? I heard something called arg4j but not sure how to start with it.


Metadata Translation API: REST Request URL

I am trying to retrieve the translation for a custom picklist values , using  REST  I think i need to retrieve CustomObjectTranslation :    I don't see it when i query : /services/metadata/v46.0/components/  I am not able to find the REST request URL to get the translations.  For example,    i have Contact.PreferedColor__c which is a Custom Picklist. I have added translations into the workbench, for french fr and englich en_US. I want to query : /services/metadata/v46.0/components/xxx and retrieve the translations   What may be xxx :) ? Is it available with REST call ?   Thanks for your help


Principal component regression: some loadings are null. Is there any problem?

I did the principal component regression (PCR) in R . But some loadings are null as figure shows. Is there any problem? How to solve it ?


Sql Server management studio how to auto capitalize

Is there any FREE "build-in" way to capitalize the "keywords" in the SQL 2005/2008 management studio when you write a sql query?  i.e  truncate table x   should be automatically changed to:  TRUNCATE TABLE x


I have 1TB external HDD, the file system is NTFS and i need to convert it to Ext3. My operating system is Ubuntu 10.10 is there anyway to do so without losing my data??    Thanks for your help


Is there a way to turn off an external Apple Cinema Display remotely and continue to use the computer?

Here's the situation: I often access my Mac Pro remotely using Screen Sharing and sometimes TeamViewer. The problem is that when I do this, everything I'm doing can be seen by those near the physical computer. It also uses a considerable amount unnecessary power to have the displays on but not actually being used.  Is there a way to turn them off and not just blank if possible, while still using Screen Sharing or TeamViewer Free?


Unable to play .mkv files using vlc player

I am using ubuntu 14.04 and using vlc media player 2.2.4. I'm unable to play .mkv files using vlc player. While opening .mkv files it is giving some error messages like this.  No suitable decoder module: VLC does not support the audio or video format "VP90". Unfortunately there is no way for you to fix this.


What's the most efficient way of determine individual card values for my collection?

With an extremely large variety of Magic: The Gathering Cards that exist out there from so many sets and a loose definition of utility and value in the game, it's often hard to gauge a card's individual worth/price without checking it out online. Of course, the rarity is generally a good indicator, but there are plenty of  too.   My question is What is the most efficient way of determining card value without individually loking up each Magic card?


How do you get a bad transcript past Ph.D. admissions?

I have a master's degree in International Studies, and a double major with Computer Science from undergrad.  My transcripts suck.  There's no other way to dress it up.  I have pretty good teaching experience, and my GRE scores are awesome, and I suspect my recommendations are as bland as everyone else's.  Basically, to an admissions committee, I suspect I'm the model of a student who is probably smart enough but didn't work hard enough.  I want to do a Ph.D. in Political Science, but the response from my applications is looking pretty grim.  Am I permanently out of the running, or is there something I can do for the next few years which will help to counterbalance my unfavorable GPA?


Let $f:X\rightarrow Y$ be a morphism of algebraic schemes (over an algebraically closed field with char 0). If $f$ is proper and the fibres are connected, then $X$ is connected whenever $Y$ is (see ). Is the same result true if we replace "connected" by irreducible? The proof cannot be adapted to the irreducible case, I think. Note that I do not assume that all the fibres have the same dimension.


On the identity map requirement in the definition of category

One common definition of a category features objects, arrows, an associative composition law for arrows, and an identity map requirement: for every object there must be an self-pointing arrow that behaves as left-side and right-side identity for composition.  I have no problem seeing how one could use a formalism of objects and arrows between them to structure our thoughts on a wide variety of areas.  Also, it's easy to see why one would want to have a basic building operation (i.e. the composition law) in such a formalism.  With a little more thought I can also see why one would stipulate that this composition law be associative: making composition associative has the effect of replacing the "pair of arrows" with the "sequence of arrows" as the formalism's basic building operation, and I can see that this change may make the formalism more flexible.  I can't come up with any rationale at all for requiring that there be an identity arrow for every object.  What is lost by dropping this requirement?  Note that dropping this requirement does not preclude the existence of identity arrows, and therefore, it does not preclude defining concepts (e.g. inverses, isomorphisms) that depend on the concept of an identity arrow.  In fact, AFAICT, if one were to drop the identity arrow requirement, one could still define functors, natural transformations, cones, etc. (except that the definitions, of course, would not have the usual stipulations for the identity).  EDIT: To sharpen the question a bit, and maybe make it less of a "philosophical issue", I note that several times I've come across remarks from Saunders Mac Lane to the effect that their aim (his and Eilenberg's) in coming up with category theory was to arrive at the concept of natural transformation.  In fact, in , Mac Lane writes (p. 18):     "category" has been defined in order to define "functor" and "functor" has been defined in order to define "natural transformation".   As I noted earlier, the definitions of functor and natural transformation don't seem to rely much on the identity law requirement for categories.  So I could make my question a bit more concrete: how does requiring that every object in a category have an identity contribute to what Eilenberg and Mac Lane were aiming for?


How do spell lists change if the party levels up without taking a long rest?

I'm playing in a D&D 5e campaign with a bard and a wizard.  Our most recent session ended while we were in the middle of exploring a dungeon. The DM informed us that we leveled up from 4 to 5.  The wizard and bard were excited to get level 3 spell slots for the first time. They began discussing the level 3 spells they were looking forward to casting at the beginning of the next session. I asked, "Don't you guys need to have a long rest before you can cast new spells, though?"  The bard argued that he doesn't need a long rest, because he learns spells immediately upon leveling up and doesn't need to prepare them.  The wizard argued his "number of spells available" count increased immediately upon leveling up, and it wouldn't make much sense if his actual number of prepared spells stayed the same.  Ultimately, the DM decided that it would be more fun if everyone got access to their new toys at the same time. He permitted the wizard to add a level 3 spell to his prepared spell list.  Who is right? Do bards (and other casters that do not prepare spells) get access to new spells more immediately than wizards (and other casters that prepare spells)?  I looked at , but "Can a mage use his newly gained 2nd-level spell slot?" seems like a separate matter from "Can a mage use a newly gained spell?".


What makes a Unix process die with Broken pipe?

Here are some options I thought of, not sure which is the right one.   There was an I/O error reading from the pipe. The process writing to the other end of the pipe died with a failure. All processes who could write to the pipe have closed it. The write buffer of the pipe is full. The peer has closed the other direction of the duplex pipe. Writing failed because there are no processes which could read from the pipe. A system call returned the EPIPE error, and there was no error handler installed.


How can I convert marks in the Egyptian scale to marks in the UK scale. for example if I got a mark of 40 in Egypt what is the equivalent mark in the UK.


How to fix this error Synaptic Package Manager

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.  E: _cache->open() failed, please report.


Is there a difference between these two flagging reasons or is this a bug?

When flagging a post as needs improvement because of a community-specific reason, I get a list of reasons to choose from. Two of those reasons (given below) seem to imply the same thing.  This question does not appear to be about the software that powers the Stack Exchange network, within the scope defined in the help center.   Blatantly off-topic This question has nothing to do with the software that powers the Stack Exchange network.  A  has been asked before, but that was about the bug being in the SE app whereas I see it in the mobile version (as well as the desktop version) of the site. Moreover, the bug above has been marked . So, do the two reasons imply different things (in that case, please explain to me the difference)? Or is this a bug?


Check if player is holding a specific tool (can be any type)

How can I check if a player is holding a specific tool? The specific tool can be made of any type of material. Example: /execute as @a[nbt={SelectedItem:{id:["minecraft:PICKAXE-ANY-TYPE"]}}] run say "I am holding a Pickaxe"


I have a project with the following layout:  project_root     __init__.py     typing         __init__.py         bset.py (contains a class BSet)     environment         __init__.py         environment.py   from within environment.py I'm trying to import bset.BSet  from ..typing import bset  def do_something():     b = bset.BSet()   When I try to run environment.py (either directly, or under my test runner) I get:  Traceback (most recent call last):   File "environment/environment.py", line 3, in <module>     from ..typing import bset ValueError: Attempted relative import in non-package   I'd like the whole thing to function as a module ("project_root"), and I thought I had it working but I appear to have made a change that broke it.  What is the correct way to set up the inter-submodule dependencies?


Output based on taxonomy term value, also if a field has value

I have a View which I need to alter the output depending on whether the field (taxonomy term) has a certain value. If the value of the taxonomy field is "Yes", I want to add a surrounding  to the view so that it links to a details page. If the value is "No", I want to output without the surrounding  so there isn't a link to a details page as not all of the nodes in the view will have a details page.  Normally in a node template file I'd use "if(!empty($node->field_subtitle['und'][0]['value'])) {" etc but that doesn't work in Views.  Any ideas guys? I've looked through many articles online but can't figure it out.  Kind regards Liam


Would touching the dark mark work after polyjuice potion?

I recently reread The Deathly Hallows, in which Hermione uses polyjuice potion to turn into Bellatrix Lestrange. I was wondering whether Hermione could have summoned Lord Voldemort by touching the Dark Mark. It is not the original mark after all.


Why Does Harry Have a Scar When Avada Kedavra Leaves No Trace?

Why does Harry have a scar when Avada Kedavra leaves no trace?     ‘The Muggle authorities were perplexed. As far as I am aware, they do not know to this day how the Riddles died, for the Avada Kedavra Curse does not usually leave any sign of damage ... the exception sits before me,’ Dumbledore added, with a nod to Harry’s scar.   Half-Blood Prince - page 343 - Bloomsbury - chapter 17, A Sluggish Memory   What caused Harry to retain a scar from Avada Kedavra, when no one else in know history showed any signs of cause of death when Avada Kedavra was used?  What caused Harry's scar?  I'd love an answer based in canon, such as the books, interviews with J.K. Rowling, or Pottermore.


A committee of four people, containing at least one man and one woman, must be chosen from four men and three women. How many different committees are possible?  Is the right answer 34?  (7x6x5x4x3)/(1x2x3x4) - 1


I am so sorry if you feel this kind of question is not appropriate for MS. But I hope you can sympathize with me, I tried to find the answer in all my books and even Google but I found nothing.  My question is : What is a standard graded algebra over a ring?  Please help me. Thanks.  Edit:  In the following paper , there is a definition of standard graded algebra. Suppose that $A$ is a ring, $R$ is a standard graded $A$ algebra if $R_{0}=A$ and $R$ is generated by the element of $R_1$. I did not fully understand this definition. Can anyone give here an example?


Why does my Intel i7-920 display 8 cores instead of 4 cores?

When I go to the task manager I see 8 processors but I know that I have 4. Why?


I was expecting this page to render as the string "TryErrorFinally", but the result is just the string "Try".  Do I need to do something else to see the exception generated by calling the non-existent foo() function?  <?php   try {     print "Try";     foo();   } catch (Exception $e) {     print "Error";   } finally {     print "Finally";   } ?>


I came across this sentence in a blog post:      "Write with so much passion and energy and enthusiasm they can’t stay asleep."   Shouldn't this be written as the following:     "Write with so much passion and energy and enthusiasm that they can’t stay asleep."   This sentence was written by one of the famous bloggers called Jon Morrow. Here's his blog:   Here's the complete paragraph:   When you sit down to write, don’t publish just another blog post. Don’t give your readers just another tip. Don’t tell just another cute story. Set their freaking hair on fire. Write with so much passion and energy and enthusiasm they can’t stay asleep. You want them to feel like somebody shocked them with a defibrillator.


How do you add a certificate authority (CA) to Ubuntu?

My work has decided to issue their own  (CA) to handle different aspects of our work securely without paying for certificates.   Cryptographically sign emails Encrypt email contents Make access to things like the company  client-certificate based. Revoke the keys of former employees automatically   They sent me a .pem file, and I'm not sure how to add it to my Ubuntu install. The instructions sent were: "Double-clicking on it on a Mac should install it."   How do I proceed? Do I need to do something with  to create a .key, .csr, or .crt file?


The test itself lies in attempting to apply this new update to a card belonging to Judas, whom is a legitimate user of the system.   Is Judas considered the subject or the object? I'm considering Judas to be the object and hence applying whom after the comma. Is this correct?  I read about whom vs who at , but I'm not sure if I'm applying it correctly to this case. I've also tried the whom+him test by asking Whom does the card belong to? with the answer It belongs to him.


Why didn't the crew of the Endurance experience undertow from the massive waves on Miller's planet?

When the crew lands on Miller's planet and notices the giant wave approaching, it seemed odd to me that there would be a lack of current pulling towards the wave.  The giant waves would command a tremendous amount of energy, so I feel like even trying to stand up before the massive wave hits would be impossible.


So I'm working on a very basic java assignment, and I believe I understand how the (String [] args) part of the main works. Basically my understanding is that the command line arguments are put into the array of strings called args. However my code won't produce the results I expect. It seems to work fine with no arguments but when I put in either of the other options I'm always greeted with my usage error.   class TicTacToe {   public char[][] gameboard = {  {' ', ' ', ' '},               {' ', ' ', ' '},               {' ', ' ', ' '}  };    public static void main(String [] args)  {     char play1, play2;       if(args.length == 0)  {       play1 = 'h';       play2 = 'h';     }else if(args.length == 1 && args[0] == "-c")  {       play1 = 'c';       play2 = 'c';     }else if(args.length == 2 && args[1] == "1")  {       play1 = 'c';       play2 = 'h';     }else if(args.length == 2 && args[1] == "2")  {       play1 = 'h';       play2 = 'c';     }else{       System.out.println("Usage: java TicTacToe [-c [1|2]]");       return;     }   } }


Why is the propagator the Green's function for Schrodinger equation?

Sakurai says that the propagator is simply the Green's function for the time-dependent wave equation satisfying  $$\left [ -\frac{\hbar^2}{2m} \triangledown ''^2+V(\mathbf{x''})-ih\frac{\partial }{\partial t}\right ]K(\mathbf{x''},t;\mathbf{x'},t_0)=-i\hbar\delta ^3(\mathbf{x''}-\mathbf{x'})\delta (t-t_0)$$  with the boundary condition  $$K(\mathbf{x''},t;\mathbf{x'},t_0)=0$$  for $t<t_0$  I don't have any idea about where the $-i\hbar\delta ^3(\mathbf{x''}-\mathbf{x'})\delta (t-t_0)$ term comes from, and the propagator must be equal to zero when $t<t_o$.


Where can I ommit "a" and "the" articles?

Should I allways use "a" article, when something is indefinite? And should I allways use "the" article, when something is definite?  Where can I ommit these articles?


How to finish proof that $T$ has an infinite model?

I'm trying to prove the following: If $T$ is a first-order theory with the property that for every natural number $n$ there is a natural number $m>n$ such that $T$ has an $m$-element model then $T$ has an infinite model.  My thoughts: If $M$ is an $n$-element model then $\varphi_n = \exists v_1, \dots, v_n ((v_1 \neq v_2) \land \dots \land (v_{n-1} \neq v_n))$ is true in $M$. Can I use this to show that $T$ has an infinite model? How? Perhaps combine it with the compactness theorem somehow? Thanks for your help.


What is a good starter set or in general, items to have for a DND campaign?

I’m asking this so I can start a dnd session with some friends of mine, I already have the Mines of Phandelver starter pack with the character sheets and lore of the story, it there anything else I should get?


This might sound like a queer question, but why do we marinade meat with acid / enzymes? Given that marinading doesn't tenderize meat, it just turns the outer fibers into mush and releases the juices when cooking? Why not just go with a flavored brine instead?  In other words: Why is it customary to use such marinades, and why is it commonly said that it tenderizes the meat?  Source Shirley Corriher:       At first, water molecules are attached to and trapped within this   protein mesh, so the tissue remains juicy and tender. But after a   short time, if the protein is in a very acidic marinade, the protein   bonds tighten, water is squeezed out, and the tissue becomes tough. If   you've ever tried marinating shrimp in highly acidic ingredients, it's   likely that you're familiar with this result.   Also     My experience with tenderizing enzymes mirrors that of Dr. Nicholas   Kurti, a famous Oxford physicist who tried tenderizing a pork roast by   injecting half with pineapple juice, leaving the other half untouched.   A noted chef, Michel Roux, was to judge on television which side was   better. After cooking, the half treated with pineapple was total mush   and looked like a pile of stuffing. Not surprisingly, Chef Roux   preferred the untreated half.


Confusion related to gaussian distribution

I was reading this  where it had a gaussian distribution model.   I mean gaussian is given by  $P(y) = \frac{e^{-\frac{1}{2}(y -\mu)^T \Sigma^{-1}(y -\mu)}}{2\pi^{n/2}|\Sigma|^{1/2}}$  But is   $\frac{e^{-(y -\mu)^T \Sigma^{-1}(y -\mu)}}{2\pi^{n}|\Sigma|}$ Gaussian as well?  The paper used their model saying the gaussian had the above form. It is valid?


Can you do research at home, without being backed by a university? [electronics]

I am wondering this because I love electronics, but I go to a college which is mostly for vocational training. Often times I feel like our courses are 40% waste of time (usually too much industry software and/or uninterested lecturers giving compulsory classes).  So I had this idea of taking a year off to focus on my own projects as I did over last summer.  Since I am not sure a masters degree will teach me anything that a book can not, I was wondering whether I could do applied research at home permanently and potentially make money off of it? Right now I earn some money at home online via a site I own. Not much, but enough to get me by. I know how to read and I spend 10 hours in the library with ease (as I have been told this is how grad students work their way through projects). I mostly work on small-scale electronics, like currently an abbreviated type of joystick for paraplegics (that a paraplegic friend suggested). I work alone, at least at the moment.  Could I work on projects on my own and make a life out of this or should I try to join a good university for my masters? How are people without degrees regarded?


What two types of lossy audio are the best to compare quality and efficiency?

I'm planning to do a detailed research about comparing and contrasting two lossy audio type formats. However, now I'm struggling to determine the two types which I can do a lot of experiments and detailed comparisons on it. (which are the best to compare their efficiency on encoding as well as audio quality after encoding)  Could you recommend me the two types that I can do an experiment on and produce clear results that I can derive a conclusion on? Currently planning to compare either 'MP3 or OGG', or 'MP3 or AAC' codec, but not sure which can make the best comparison.


My account wasn't deleted despite the countdown

I requested my elementary OS account be deleted, and I confirmed it, and the countdown reached 2 hours at 11:30pm BTC. I went back on my computer today, and my account was still active and receiving reputation - I'd passed 2000 overnight.  Is it an issue with global authentication that caused this?    I have contacted the team again so they do / will know.


Bar graphs with tikz scientific axes=clean

I really like theaxis generated by tikz datavisualization with scientific axes=clean. However I can not find a bar graph visualizer in the documentation. Does such a visualizer exist? Or (even better) is it possible to format the axis in pgfplots accordingly? (I skimmed the manual, but could not find such an option).


Is my proof that $ \mathbb{Q}(\sqrt{5}) $ is the only quadratic subfield of $ \mathbb{Q}(\zeta_5) $ correct?

I would like some feedback on my proof of the fact stated in the question.  First, we note that $ L = \mathbb{Q}(\zeta_5) $ is the splitting field of $ X^5 - 1 $, so it is Galois. Furthermore, we know that $ \mathrm{Gal}(\mathbb{Q}(\zeta_5)) \cong C_{4} $. By the fundamental theorem of Galois theory, the subfields of $ L $ of degree 2 are in one-to-one correspondence with the subgroups of the Galois group which have $ 4/2 = 2 $ elements. However, $ C_4 $ has only one subgroup of order 2, which is $ \{e, g^2\} $ where $ g $ is an arbitrary generator. We conclude that $ L $ has only one subfield of degree 2, and it is fixed by the aforementioned subgroup of the Galois group.  Now, the Galois group is comprised of automorphisms $\sigma_i: \zeta_5 \to \zeta_5^i $ for $1 \leq i \leq 4 $, and this group has only one element of order 2, which is $\sigma_4$. We conclude that the intermediate field $ F $ is the one fixed by the cyclic subgroup generated by $ \sigma_4 $. Now, we consider the polynomial $ P(X) = (X - \zeta_5)(X - \zeta_5^4) $. Again, by the fundamental theorem, $\textrm{Gal}(L/F) = \{\sigma_1, \sigma_4\}$. We see that the entire Galois group fixes $P$, so $P$ has coefficients in $F$. Defining $ A = \zeta_5 + \zeta_5^4 $ which is negative of the coefficient of $X$ in $P$, we see that  $ A^2 + A - 1 = \zeta_5^2 + \zeta_5^3 + \zeta_5 + \zeta_5^4 + 1 = 0 $  and therefore, by the quadratic formula, $$ A = \frac{-1 \pm \sqrt{5}}{2} $$ and $ \sqrt{5} \in F $, implying that $ \mathbb{Q}(\sqrt{5}) = F $ as $ F $ has degree 2.


creating multiple thread objects in a loop

How can i get rid of this problem. How to create multiple thread objects?  public void filterControl (int threadCount) {     this.rowCount = img.getHeight() / threadCount;     Thread[] t = null;      for (int i=0; i<threadCount; i++) {         t[i] = new Thread(new Runnable(){ //there is a NullPointerException              @Override             public void run() {                 filtering(startRow, rowCount);             }         });          t[i].run();     } }


Evaluation of $\lim _{ x\rightarrow 0 }{ \frac { \sin ^{ -1 }{ x } -\tan ^{ -1 }{ x } }{ { x }^{ 3 } } } \quad $ without using L'Hospital rule

My aim is to evaluate the following limit     $\displaystyle\lim _{ x\rightarrow 0 }{ \frac { \sin ^{ -1 }{ x } -\tan ^{ -1 }{ x }  }{ { x }^{ 3 } }  } \quad$    which evaluates to $\frac{1}{2}$ after using L'Hospital rule for rather $5$ steps, which of course is a tedious task. Could anyone suggest some shorter and elegant methods for evaluating this limit?  Thanks.


I naively entered the following math-mode/text mix in a theorem environment, but the way LaTeX treats the parenthesis doesn't seem right. Especially upright math formulas in italic text parenthesis look strange, even though this is exactly how I would write it in regular text. Also the parenthesis in the end seem weird in contrast to the big upright one in the formula.   Is this a problem in LaTeX that is supposed to be circumvented manually? If so, what is the best way to make this look more consistent?  \begin{conj}   Let $a$ ($b$) be $3$ ($5$). (Recall that $c=\Big( \AImatrix(C) \lor \AIclause(C) \Big)$.) \end{conj}


Is the ability to telepathically communicate with a Familiar only one-way?

The  clarified that the Steed generated by Find Steed can communicate telepathically with its summoner.     In the next-to-last paragraph, "communicate   with it" is now "communicate with each other."   However, there was no corresponding change in the text of Find Familiar, which still states that the summoner can "communicate with it.” Does this lack of similar change indicate that the telepathic communication with Find Familiar is one-way?


When i write some command on terminal, this error message appear  FirstStrike@ubuntu:~$ gksu  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",  (gksu:6934): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",   I have no idea about this, can anyone tell me if this a serious problem ?


In QGIS what data file formats (etc) can be directly edited?

QGIS allows for opening very many different file formats.  Some of these are directly editable. It is possible to open the data/file, immediately edit the data in QGIS, then save back to the original file.  Many formats can be opened/read, and at the same time it is possible to save/write to that format BUT these require that the data is saved into a second format before editing is possible. This is fundamentally different from the first situation.   The question is what data formats are directly editable by QGIS (the first situation as opposed to the second)?   Reasons a list is helpful...  I think that sometimes QGIS doesn't handle this whole issue terribly well - for example in the past I have had some Excel files look like they are editable but the process ultimately fails - which adds confusion.   Notes at gdal.org provide some information, but it can be very difficult to distinguish between the two situations above - formats which are directly editable, and on the other hand formats which can both be read and written (but aren't directly editable).  It is helpful to have information about QGIS (or ogr) version in answers.


import java.util.*;  public class HelloWorld{     public static void main(String []args){        static String[] str={"one","two"};        Date date =new Date();        Calendar cal = Calendar.getInstance();        String year = "2018";        String month ="4";        int day =10;         cal.set(Integer.parseInt(year),Integer.parseInt(month),day);        System.out.println(cal.get(Calendar.DAY_OF_WEEK));        // etc.     } }   Error message :     error: illegal start of expression      static String[] str={"one","two"};


How much of a galaxy's mass is in stars?

I have been trying to find an answer for this question for a while without a success, so I guess it might not have a specific answer. But to make things easier, let's take the Milky Way galaxy as an example.  The estimated mass of the Milky Way is $0.8×10^{12}$ $M_{\odot}$, and I have read from different sources that about 90% of this mass is dark matter. So the Milky Way has about $8×10^{10}$ $M_{\odot}$ of "visible matter". This visible matter should represent the mass of stars and the gas and dust between them. And here comes my problem. I don't actually know how much of this mass should be considered stars.  If we assume half of this mass is actually stars, then the mass of the stars of the Milky Way is about $4×10^{10}$ $M_{\odot}$. Assuming there are 200 billion stars in the MW, and by dividing by this number, we get the average mass per star as $0.2$ $M_{\odot}$.  So, how correct is this simple calculation I did above ? And is there a way to determine the total mass of the stars in galaxies other than the Milky Way ?


Why does R take so much time to run auto.arima(). How can I shorten the calculation time?

I have been trying to run analysis and model a ts series of Natural Gas spot prices. With data provided by the Qandl API.   The whole analysis was working fine, however, I experiences issues with the auto.arima function.  1- If I specify the NG series as XTS, the auto.arima function does not take into account the seasonality. It's quite a bummer for Natural Gas, as the consumption of this resources is all about the time of the year.   2- If I specify the NG series as TS, the auto.arima function takes forever to calculate, and I am not even sure it can finish it. As i let it run the calculation for 20 min once, and it couldn't come with an answer. Hence, I am wondering if there is a problem with my code or my specification.  I'm new to data science, it's my first TS project. I really love what I am doing !   Here is my code:   NG1= Quandl("CHRIS/CME_NG1", start_date =start, end_date =end, type =  type)$Settle prices2returns <- function(x) diff(log(x)) spotprice2returns <- function(x,y) log(x) - log(y) nn=300 r_NG1=xts((NG1),frequency = 300)   **tsrng= xts(r_NG1, frequency = 300)**  NG_model1= auto.arima(tsrng,trace = TRUE, test = "kpss", ic="bic") forecast=forecast(NG_model1, h=100) [![Forecast without seasonality][1]][1] ############################################################# Fitting models using approximations to speed things up...   ARIMA(2,1,2) with drift         : -1746.361  ARIMA(0,1,0) with drift         : -1735.83  ARIMA(1,1,0) with drift         : -1771.906  ARIMA(0,1,1) with drift         : -1773.598  ARIMA(0,1,0)                    : -1744.349  ARIMA(1,1,1) with drift         : -1764.14  ARIMA(0,1,2) with drift         : -1765.134  ARIMA(1,1,2) with drift         : -1755.608  ARIMA(0,1,1)                    : -1782.117  ARIMA(1,1,1)                    : -1772.66  ARIMA(0,1,2)                    : -1773.653  ARIMA(1,1,0)                    : -1780.426  ARIMA(1,1,2)                    : -1764.128   Now re-fitting the best model(s) without approximations...   ARIMA(0,1,1)                    : -1785.296   Best model: ARIMA(0,1,1)                      Series: r_NG1  ARIMA(0,1,1)   Coefficients:           ma1       -0.0966 s.e.   0.0141  sigma^2 estimated as 0.04087:  log likelihood=901.17 AIC=-1798.34   AICc=-1798.33   BIC=-1785.3  Training set error measures:                        ME      RMSE       MAE        MPE     MAPE      MASE         ACF1 Training set 3.216548e-06 0.2021306 0.1179395 -0.0660193 2.448464 0.9986513 0.0003003316  Forecast method: ARIMA(0,1,1)  Model Information: Series: r_NG1  ARIMA(0,1,1)   Coefficients:           ma1       -0.0966 s.e.   0.0141  sigma^2 estimated as 0.04087:  log likelihood=901.17 AIC=-1798.34   AICc=-1798.33   BIC=-1785.3  Error measures:                        ME      RMSE       MAE        MPE     MAPE      MASE         ACF1 Training set 3.216548e-06 0.2021306 0.1179395 -0.0660193 2.448464 0.9986513 0.0003003316  ###############################################################  **tsrng= ts(r_NG1, frequency = 300)**  NG_model2 = auto.arima(tsrng, trace=TRUE, test="kpss", ic="aic",                      stepwise=FALSE, approximation=FALSE, D=1)    # It blocks here, and takes a lot of time to compute the model   NG_frct=forecast(NG_model4,h=100) plot(NG_frct, include = 1500)   What do you suggest I do ?  I was thinking about specifying manually the seasonal arima function, but I lack the skills to do so for now, where should I start to learn how to specify the function myself ?  What did I do wrong in my code?


I have hosted Minecraft servers from time to time; I know how to do it.  Now suddenly people can't seem to join my server. I am talking about a LAN server now because I need to port forward if I want people from all over the world to join me. Before, everyone on my internet could join me. I used Hamachi so my friends could join me from their homes sometimes, too. Now people can't seem to join me, but I can join their servers.  This happened about 1-2 weeks ago now.  Can anyone please tell me either what is wrong or how to fix this problem? I would be so greatful if anyone could.


I am confused about the kernel of a matrix and the "kernel"

In linear algebra, the kernel of a matrix is its null space.  In machine learning and statistics, there are a bunch of matrices are called "kernel". For example,    I am totally confused. The second "kernal" concept looks very much like a projection to me, rather than a "null space". Why they are given the same name? Is there any connection between the two concepts?  Thank you!


I just wonder what the code for the symbol _| is. (The symbol besides v in the picture below.)     Thanks a lot.


How can I get around giving my mobile phone number to Google?

When I want to register an account with Gmail now, it says "Google will send a text message containing a verification code to your mobile phone."  I don't want to give Google my mobile phone number!!  How do I get around this?


Responding to a reviewer who misunderstood key concepts of a paper

How do you respond to a reviewer who is very critical about your paper but from whose comments you can easily see that he/she has misunderstood the key concepts of the paper?  In my case, the first reviewer had no issues with the paper and suggested only a minor revision. But the second reviewer seems to have not spent too much time on understanding the paper. This reviewer's misunderstanding made the editor suggest a major revision of the paper.  In my response to the reviewer (not sent yet), I used the sentence "This comment completely misrepresent the methodology described in the paper." Is this too much?  UPDATE: I am glad to inform you all that after the second round of reviews, the paper was accepted with minor revisions. I followed the general advice given in the accepted answer for this post. Instead of being too defensive, I agreed in my response to the reviewer that the misunderstanding may be due to wording of certain sentences and changed them. Specifically, I used the following sentence:     "There seems to be a misunderstanding about the methodology, which we   hope to clear through our responses below and by revising the text in   the manuscript. Contrary to what the reviewer states, ..."   Hope this update helps someone in future.


I am trying to check what is the differnce between  modeling a time series with:    SARIMA Deseasonalizing it first and then using ARIMA   Is there a preferable method over the other? If yes, why ?


There are many types of dye, but all I know are black, red, yellow and green. What else is there?


What is LaTeX3 correcting in LaTeX2e? And, updates 2021 on LaTeX implementation on small mobiles OS?

There are so many things wrong with LaTeX2e according to the latest discussion, , from documentation to speed, inflexible kernel, etc. We are perhaps waiting in vain for LaTeX3 and expl3 full deployment but what is called "gentle re-fractory" see . What are the deficiency and features in LaTeX2e that LaTeX3 project hence "gentle refractory" and L3 programming seeks to provide solution to (and how significant )?  Surely separating design and codes will be great, but LaTeX3 project must prove it's relevance in terms of quality of extension, alternate solutions, user interface and better features than LaTeX2e! Secondly, I haven't seen any basic and compilable Tex for mobiles OS like android. Many use online Tex Editors and tools or snippets  like Overleaf. Will need latest implementation of TeX on say android OS and MacOS. In my opinion, LaTeX3 project has taken so much time, (more than 20years since the project started), and surlely new issues of change due to time will continually postpone "getting perfected for release" Sure, it won't be able to replace LaTeX2e and conTeXt but "soft refractory" for possible modernization I find information on the following discussions partly useful and educating..    .  .   Am currently working on mobile implementation of TeX-Latex.


I expect there is already an answer to this, but I can't find it. Feel free to point me to an existing solution.  A while ago I did a lot of fiddling about with a terminal on my Ubuntu Budgie 17.10 desktop to set up Nitroshare for copying files to my laptop and possibly Samba, via the wireless links from those computers through my wireless modem. Eventually I installed nautilus-share and managed to share a folder from Nautilus with my laptop which was much more useful. I also had to use a terminal to type:  service nmbd start   and/or  service smbd start   and do a restart between. I probably also had to do something to make this stay running for next time I started the desktop.  That setup got lost in an OS change/update, so I need to do it again. Unfortunately when I look at my notes I’m lost in all the detail of what I tried and abandoned.  Ubuntu Budgie uses Nemo, so I have enabled folder sharing with Budgie>Welcome/Recommendations>Nemo Share, right-clicked the folder and shared it, but the laptop doesn't see the share. Fiddling about with  service nmbd start   and/or  service smbd start   doesn’t work as I don't really know what I'm doing.  I can’t find a guide that doesn’t talk about servers and give loads of commands that don’t seem necessary. What do I need to do? No sarcy comments about making clearer notes next time please :)    Ubuntu Budgie 19.10


Pokémon Go - Can I use my android account if I change to an Iphone

Was thinking about changing phone to an Iphone because my android is too slow for the game. Was wondering if i could still use my goodle account for android on my Iphone?   Thanks


Escaping both forward slash and back slash with sed

I have the following string: /tmp/test/folder1/test.txt  I wish to use sed to substitute / for \/ - for example:  \/tmp\/test\/folder1\/test.txt   So I issue:  echo "/tmp/test/folder1/test.txt" | sed "s/\//\\\\//g"   Although it returns:     sed: -e expression #1, char 9: unknown option to `s'   I am escaping the forward slash and backslash - so not sure where I have gone wrong here


How does an LM7805 voltage regulator work?

How do most voltage regulator ICs work? Are they the same as hooking up a variable resistor and a voltmeter and turning the knob until you get the desired voltage?


I have configured Ubuntu 16.04 with OpenVPN and when connected to the tunnel Ubuntu is using DNS servers from my VPN (which is what I want) but it is also using one DNS server from network/interfaces which is causing a DNS leak.  I removed dnsmasq and checked resolv.conf and I can see 3 DNS in the list, the first two from my VPN and third from network/interfaces.  How do I configure the system to only use DNS provided by my VPN provider?


So I have a table which uses multi-column headers and it seems to work great except for one thing. When I render the document, there are some missing vertical lines in the table header and I can't figure out why they are missing. My code:  \begin{center} \begin{tabular}{| c | c | c : c | c : c : c |}     \hline     Input & Stage 1 & \multicolumn{2}{c}{Stage 2} & \multicolumn{3}{c}{Stage 3} \\      \hline     1 & 1 & 1 & 1 & 1 & 1 & 1 \\     4 & 4 & 4 & 4 & 4 & 2 & 2 \\     7 & 7 & 7 & 5 & 3 & 3 & 3 \\     5 & 5 & 5 & 7 & 2 & 4 & 4 \\     3 & 3 & 8 & 8 & 8 & 5 & 5 \\     6 & 6 & 6 & 6 & 6 & 6 & 6 \\     8 & 8 & 3 & 3 & 5 & 8 & 7 \\     2 & 2 & 2 & 2 & 7 & 7 & 8 \\ \hline \end{tabular} \end{center}    I'm using the tabularx package and arydshln for the dotted lines.   When I render it it looks like this:    Thanks!


Equation of a plane containing a point and perpendicular to a line

Find an equation of the plane containing the point $(1, 1, -1)$ and perpendicular to the line through the points $(2, 0, 1)$ and $(-1, 1, 0)$  This is what I have:  I first find the vector between the points: $\vec{n}^{\ } = (2,0,1) - (-1, 1, 0) = (3, -1, 1)$  Next I find the formula for the plane that is perpendicular to the vector by taking the dot product of the vector and the given point + another point of the plane  $(3, -1, 1) \cdot (1 + x, 1 + y, z -1 )\\ 3 + 3x -1 - y -1 -z\\ 3x - y - z +1 = 0$  I am not at all sure if I followed the correct steps


How to reset local default administrator password in windows 10

I forgot my default local administrator password for windows 10. Kindly help me to reset or bypass password login screen in simple steps.


How to effectively deal with Imposter Syndrome and feelings of inadequacy: "I've somehow convinced everyone that I'm actually good at this"

is a psychological phenomenon wherein an individual is convinced that they do not deserve the success that they have achieved despite (perhaps extensive) empirical evidence to the contrary.  Some people with imposter syndrome doubt their own ability level. For me, this usually manifests in the thought:  I've somehow convinced everyone into believing that I'm actually good at this.  followed by the horrifying notion that eventually I'll be found out and my world will collapse. I believe that the imposter syndrome is not uncommon in academia. I'm interested to know how other people here have experienced and dealt with it.  In particular, I'm looking for actual tactics that someone might use to combat imposter syndrome.   Why I asked this question: Beyond the obvious reason that this is something I have struggled with for many years and only recently gotten a handle on myself, there's also some evidence that merely realizing that other people experience imposter syndrome helps fellow imposters. As a grad student, I've managed to meet a fair number of people who are in their own struggles with imposter syndrome; however, the tactics and self-trickery that have helped me don't always speak to them and perhaps someone else's methods might.


Detecting state of LED to control another circuit

I need to add functions to equipment I am not allowed to modify in any way.  To do this I need to monitor the status of a Yellow/Amber LED and translate its status into a signal that can be used to turn on or off a loud alarm speaker.  I will use a klaxon for the speaker.  My issue is that I only want to detect the light from the LED and not have sunlight or florescent lighting turn on the speaker.  I would like to be able to still see the original LED, but if necessary to cover it, I could add another LED to the device.  I would power from either 5V, 12v, or 24v dc.  Any help would be great.  Once I get some ideas, I will experiment if necessary. Thanks,  Bcrumb


Who in Middle-earth knows the Istari's origin?

In the Middle-earth universe, there are a handful of wizards who work in various ways to fight evil. Out of universe, we know these wizards to be Istari, Maia who are in Middle-earth working to defeat Sauron, and we know this thanks to The Silmarillion which explains the origins of Middle-earth.  In universe though, I'd expect this sort of knowledge to be pretty rare.  Do we know how rare it is?  Who in Middle-earth knows that these wizards are Istari, and the ramifications of this?  I'm not looking for a list of specific individuals here, I seek more a list of groups of people.  For example, I'd expect the Noldor who remain in Middle-earth to know what's up with the Istari, since it's part of their personal past.  But do any dwarves know?  Do any humans?  What about Rohan's royalty?  The Stewards of Gondor?


This is something I heard in a party and would like to know the grammatically correct expression.   If the bread has not reached you, raise your hands  If the bread has not been reached you, raised your hands.   I think the second one is correct and is the correct passive form and the first one suggests that the bread itself was trying to reach you.


I have a method to search an specific item, but when i use this code and try to use the return object, i get NullPointerException  public Obra buscarInfoObra(String filtro) {     SQLiteDatabase db = helper.getReadableDatabase();     Obra obraSelecionada = null;       Cursor cursor = db.rawQuery("SELECT * FROM " +BancoDadosHelper.TABELA_OBRA+ " WHERE "+BancoDadosHelper.COLUNA_NUM_OBRA + "=" +filtro, null);      if (cursor.moveToFirst()){         String numObra = cursor.getString(cursor.getColumnIndex(BancoDadosHelper.COLUNA_NUM_OBRA));         int anoObra = cursor.getInt(cursor.getColumnIndex(BancoDadosHelper.COLUNA_ANO_OBRA));         String descObra = cursor.getString(cursor.getColumnIndex(BancoDadosHelper.COLUNA_DESCRICAO_OBRA));         String jurisdicionado = cursor.getString(cursor.getColumnIndex(BancoDadosHelper.COLUNA_JURISDICIONADO));         String tipoObra = cursor.getString(cursor.getColumnIndex(BancoDadosHelper.COLUNA_TIPO_OBRA));         String tipoObjeto = cursor.getString(cursor.getColumnIndex(BancoDadosHelper.COLUNA_TIPO_OBJETO));         String endereco = cursor.getString(cursor.getColumnIndex(BancoDadosHelper.COLUNA_ENDERECO_OBRA));          obraSelecionada = new Obra(numObra,anoObra,descObra,jurisdicionado,tipoObra,tipoObjeto,endereco);     }      cursor.close();     db.close();     return obraSelecionada;   What i'm doing wrong?  [EDIT]This is not a duplicate,i know what is a NullPointerException, but i don't understand why im getting this exception. I already try to put an existing data directly on code, but still getting NullPointer..


What is the appropriate single word for describing an over clean person?

Assume we have a person who    always washes his hand before using his gadgets, don't like others to touch his belongings, always makes sure the chair surface clean before sitting,   Is there an appropriate single word, either noun or adjective, to describe his characteristic?


how do i install cisco packet tracer 5.3.3 on ubuntu 14.04 LTS - 64 bits?

How can I install packet tracer on ubuntu 14.04 64bit?  I installed it but when I try to open a file that I made with it in ubuntu 14.04 64bit, packet tracer tell me that this file is not compatible with this version of packet tracer


Need to add <!-- before a tag in an xml file using shell

My input file is below INPUT FILE <ReconSummary> <entryName>Total Deep</entryName> 777 <License>L</License> <Tran>H20</Tran> <job>1234</job> </ReconSummary>   <ReconSummary> <entryName>Total Saurav</entryName> 666 <License>L</License> <Tran>H20</Tran> <job>1234</job> </ReconSummary>   <ReconSummary> <entryName>Total Ankur</entryName> 555 <License>L</License> <Tran>H20</Tran> <job>1234</job> </ReconSummary>  I have code which looks like LineNum=`grep -n "Deep" deep.xml | cut -d: -f 1 | awk -F '[\t]' '{$NF = $NF -1;}1'` sed -i "/$LineNum/s/^/


How many stickers do I need to complete my FIFA Panini album?

I'm playing the , which is an Internet adaption of the classic Panini albums that are usually published for the soccer world cup, European championship, and possibly other tournaments.  The album has placeholders for 424 different stickers. The purpose of the game is to collect all 424. The stickers come in packs of 5, which can be obtained through codes found online (or, in case of the classic printed album, bought at your local newsstand).  I make the following assumptions:   All stickers are published in the same quantity.  One pack of stickers does not contain duplicates.     How can I find out how many packs of stickers I need to acquire in order to be reasonably sure (let's say 90%) that I have all 424 unique stickers?


Can I use haste on an enemy to make them waste two turns?

I was thinking of a way to cast haste on an enemy, and then stop concentrating on the spell in the enemy's turn (no action required). The idea is to make the enemy waste 2 turns. The last paragraph of the haste spell says  When the spell ends, the target can’t move or take actions until after its next turn, as a wave of lethargy sweeps over it. PHB 250  My interpretation of this is that if the caster stops concentrating on the spell, the target will lose his next turn, and if I stop concentrating on the spell during the target's turn, he will lose his current turn as well. The spell needs a willing target, so we need to "convince" him that he wants that spell. This was covered in this answer . We can say that suggestion, charm, dominate and bluff can work to make a target willing. Some of these spells, like suggestion and dominate person, have concentration. When the caster casts haste while concentrating on one of those spells, he will lose concentration. This answer (sorry for selfquote), , points out that 2 spells that needs concentration can't be at the same time. When you cast the second, the first ends inmediatly. The haste scenerio seems a bit different, you change one concentration for another, "you can't concentrate on two spells at once", if this interpretation is correct, the haste spell "switchs" with the other spell. Also in this answer . We know that when a target is no longer a valid target for the spell, the spell ends. Maybe I'm going crazy bananas here, but that may mean that when the target doesn't want to be hasted anymore (he's not willing anymore), the spell ends. If my interpretation is right, the target will lose only his next turn. So this opens some questions: Does the casting of haste fail because the target is not willing anymore? Does the target stop being a willing target and the haste spell will end? Does the spell just work as usual? And then we have the final question, related to the caster and spell timing, and probably some metagaming on the turn order. Can the caster stop concentrating on the haste spell during the target's turn to make it waste 2 turns? Edit: English is not my native language, I'm sorry if things went a bit messy.


Where can I get an Ubuntu Installation CD/DVD/USB?

I need to upgrade my existing Ubuntu system, and I also want to install Ubuntu on a new laptop.  I would like to have an installation CD or DVD to do both of these.  Where exactly I can order or request an Ubuntu installation CD/DVD/USB?


Can I use the same google account on 2 differnt Samsung G5 Phones?

My husband and I are tired of multiple e-mail and accounts and would like to use the same Google account on both of our phones. Is this possible? This would also help us stream line contacts. I have not been able to find anything on-line about the account itself only in using the same Google play or how to set up seeing a Gmail account from another phone.


Let $f: X \to Y$, and $A\subseteq Y$. Show that $f^{-1}(A^c)=(f^{-1}(A))^c$  I know how to prove that $f^{-1}(A^c)\subseteq(f^{-1}(A))^c$, but stuck on proving $(f^{-1}(A))^c\subseteq  f^{-1}(A^c)$. Could someone help with this step please? Thanks.


How do I control the display of a JComponent's Tooltip?

I have a JComponent that's painting various shapes on itself.  I'm detecting whenever the mouse enters one of these shapes and changing the tooltip accordingly.  The problems I'm having are:   The tooltip doesn't follow the mouse as the user tracks the mouse across the shape. It  stays where it was first set and then only jumps whenever another shape changes the tooltip. It takes about a second for the tooltip to appear, but I'd like it to appear immediately.   Can someone suggest a way of getting these behaviours without writing a custom tooltip mechanism?


How come I cannot improve, only accept/deny, tag excerpts through suggested edits?

Sometimes a users suggests an edit for tag wiki excerpts that needs a bit of improvement. As in the following screenshot, I wanted to remove the typos he introduced and leave the rest of his improvement.  However, I cannot "improve" the tag. The button isn't there. When I go to the tag, I cannot edit it. The only way is to accept, wait for another accept and then edit, which is cumbersome and it may move away from my radar before I get to it, leaving the errors.


file not found error while viewing pdftext

\documentclass[10pt]{article} \begin{document} Hello World! \end{document} i have just started to learn LaTeX in ubuntu by TeXmaker.. I was going through a beginners tutorial and I tried following...  I am very new to this .can someone tell me about a good reference to  learn latex.


NullPointerException to my socket when i try to send json

I am making a server-client project and something is wrong with my client-side when I am trying to send JSON file. Server - side is ok and works as well. Errors in Logcat say that my problem in buffered reader. Sry for my English, am only student_).  Errors  Process: com.dontknow.myapplication231, PID: 5782 java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.OutputStream java.net.Socket.getOutputStream()' on a null object reference     at com.dontknow.myapplication231.User.SendDataToServer.doInBackground(SendDataToServer.java:67)     at com.dontknow.myapplication231.User.SendDataToServer.<init>(SendDataToServer.java:30)     at com.dontknow.myapplication231.User.MainActivity$1.onClick(MainActivity.java:52)     at android.view.View.performClick(View.java:5637)     at android.view.View$PerformClick.run(View.java:22429)     at android.os.Handler.handleCallback(Handler.java:751)     at android.os.Handler.dispatchMessage(Handler.java:95)     at android.os.Looper.loop(Looper.java:154)     at android.app.ActivityThread.main(ActivityThread.java:6119)     at java.lang.reflect.Method.invoke(Native Method)     at      com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)     09-09 12:00:20.960 559-1769/system_process E/EGL_emulation: tid 1769:      eglSurfaceAttrib(1174): error 0x3009 (EGL_BAD_MATCH)     09-09 12:00:21.694 598-598/? E/EGL_emulation: tid 598: eglCreateSyncKHR(1669):      error 0x3004 (EGL_BAD_ATTRIBUTE)     09-09 12:00:22.375 1221-1276/com.android.launcher3 E/EGL_emulation: tid 1276:      eglSurfaceAttrib(1174): error 0x3009 (EGL_BAD_MATCH)     09-09 12:05:20.858 559-1137/system_process E/JavaBinder: !!! FAILED BINDER      TRANSACTION !!!  (parcel size = 104)     09-09 12:05:20.862 559-1137/system_process E/JavaBinder: !!! FAILED BINDER      TRANSACTION !!!  (parcel size = 108)   My client-using AsyncTask(this name and password i get from editName.getText.toString and password the same  class SendDataToServer extends AsyncTask<Void,Void,Void> { private Socket socket; private String name; private String password; private static final String debug = "debug"; private static final String info = "INFO"; protected static String server_IP = "192.168.0.101"; protected static final int server_Port = 8607;     SendDataToServer(String name, String password){    this.name = name;    this.password = password;    onPreExecute();    doInBackground();    onPreExecute();    }  @Override protected void onPreExecute() {    Thread thread = new Thread(new Runnable() {        @Override        public void run() {            try {                 Log.i(debug,"Attempt to connect to server");                 socket = new Socket(server_IP,server_Port);                Log.i(debug,"Connection established");             }catch (IOException e){                e.printStackTrace();            }         }    });     thread.start();     }  @Override protected Void doInBackground(Void... voids) {     JSONObject user = new JSONObject();     try {         user.put("name", name);         user.put("name",password);      } catch (JSONException e) {         e.printStackTrace();     }     try{         BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()));         bw.write(String.valueOf(user));         bw.newLine();         bw.newLine();         bw.flush();         Log.i(info,"JSON has sent");           BufferedReader br = new BufferedReader(new InputStreamReader(socket.getInputStream()));         br.readLine();         Log.i(info,br.readLine());      }catch (IOException e) {         Log.e(debug,"Failed");     }       return null; }  @Override protected void onPostExecute(Void aVoid) {     try {         if(socket!=null){             socket.close();         }     } catch (IOException e) {         Log.e(debug,"Failed");     }  } }   I really want to know what is this problem and how to solve it. Thanks for help.


Automatically adding user and password to openvpn script

I have a working script, which allows me to do a vpn connection. It looks like this:  openvpn --config VPNBook.com-OpenVPN-Euro1/vpnbook-euro1-tcp443.ovpn   All is good, but I have to input the publicly available vpn and password every time I run this script. (Don't worry, I'm not going to do banking or anything serious over a free VPN, this is more for learning).  This is the username and the password available publicly on their website:  Username: vpnbook  Password: he2qv5h   After firing up, the script prompts me for username and password which now I need to copy and paste.   Tue Aug 15 11:54:51 2017 library versions: OpenSSL 1.0.2l  25 May 2017, LZO 2.08 Enter Auth Username: vpnbook Enter Auth Password:    Is there a way of doing it so the script inputs the values on its own?  I tried echoing it, but it isn't that easy.  Or do I have to edit the command itself, somewhere in the files? If yes, can someone point me in the right direction for doing it?


jquery click not working on owl carousel callback

I used owl carousel plugin and bootstrap , what i have done so far is when you reach to last item of owl carousel it going to append a submit button instead of next button via callback i want when click on submit button do something but problem is click function not working although i used on handler but still not working.  $('#btn-submit').on('click',function(){ alert('submit clicked'); });


I noticed in my Webmaster Tools account that Google is crawling old site URLs that no longer exist.  Can anybody tell me where GoogleBot is getting these URLs?


How can you do the equivalent of piping stdout to 'export'?  For background, I have a non-shell script that generates environment variables like so:  DATABASE_URL='someurl' MAIL_KEY='key' REDIS_URL='redis connection string'   I would like to take that output and execute it, something like: generate-env | xargs export  Unfortunately, export isn't a binary, and neither is eval. I would prefer not to have to write my output to a file and run it with source. Is this even possible?


How to make a design's color palette easy to change in PS

Is there a good practice to follow when creating a design in Photoshop so that it's easy to change colors later on?  For example, if it's possible to create a color swatch where I reference a color slot in my swatch instead of the color code. So PS would know that in that layer I'm using the color slot #3 from my swatch. When I later change the color in slot #3 then all places referencing that color would update.


What's the best way to get the last inserted id using sqlite from Java? Google is giving me different answers--some say select the last-insert-rowid; others say call statement.getGeneratedKeys(). What's the best route to take? (I just want to return the id, not use it for other inserts or anything.)


Why does deleted files also appear in directory

For example consider that i have created a file temp.txt and delete it later, there is still an invisible file temp.txt~ Of course I can delete it but Why do i need to do it always, So how to avoid it..


How to execute the html code added into the string passed as a string value to attr tag?

Consider two strings:  name = "Hello" mess = "Whats up"   Now to a tooltip class, I m trying to add an attr tag as follows:  $(this.el).find('.checkcalls').attr('title', "#{name}
#{mess}")   This prints:   "Hello
Whats up"   I do not want to print the break tag, rather execute it.  I've tried:    $(this.el).find('.checkcalls').attr('title', '#{name}
#{mess}')   and:   $(this.el).find('.checkcalls').attr('title', '"#{name}"
"#{mess}"')   They don't print the desired result.  How can I achieve this?


Suggest me which version ubuntu is to download for my system configuration

I want to buy a netbook with the following configuration. Its comes with free DOS, so i want to install ubntu on this (as ubuntu requires less system configuration compared to windows). I am newbie here give me suggestion about which version should i download and can i go for 32-bit or 64-bit.Please suggest me the best one which is suitable for the below configuration. My requirements is browsing internet and it not hang in middle.  PROCESSOR  Processor -Celeron Dual Core Variant 847  Chipset - Mobile HM70 Express  Brand - Intel  Clock Speed - 1.1 GHz  Cache - 2 MB  MEMORY  System Memory - 2GB DDR3  STORAGE  Hardware Interface - SATA  RPM -  5400  HDD Capacity - 320 GB  PLATFORM  Operating System - Free DOS  System Architecture - 64-bit


What is the difference between:     I am leaving at 6 o´clock    and      I will leave at 6 o´clock?   Do these serve any different function?


In windows we can capture scrolled window using the software SNAGIT   Is there a software or utility that can be used to capture the entire page.


package maneger broken. unmet dependencies

I tried to fix one problem and created another...  My update manager broke...     The package system is broken      Check if you are using third party repositories. If so disable them,   since they are a common source of problems. Furthermore run the   following command in a Terminal: apt-get install -f   I run apt-get install -f and I get:  missx@missx:~$ apt-get install -f E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?   I tried reinstalling software center i get this  missx@missx:~$ sudo apt-get --reinstall install software-center [sudo] password for missx:  Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies:  network-manager-dbg : Depends: network-manager (= 0.9.4.0-0ubuntu3) but 0.9.4.0-0ubuntu4.2 is to be installed or                                 libnm-util2 (= 0.9.4.0-0ubuntu3) but 0.9.4.0-0ubuntu4.2 is to be installed or                                 libnm-glib4 (= 0.9.4.0-0ubuntu3) but 0.9.4.0-0ubuntu4.2 is to be installed or                                 libnm-glib-vpn1 (= 0.9.4.0-0ubuntu3) but 0.9.4.0-0ubuntu4.2 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   The network maneger is the piece of crap I installed yesterday to fix my wi-fi issue...  Don't have synaptic installed (that would be too easy, right..?)  sudo apt-get -f install   missx@missx:~$ sudo apt-get -f install  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required:   linux-headers-3.2.0-38 libsub-name-perl libparse-debianchangelog-perl   libnspr4-0d:i386 libsigc++-2.0-0c2a:i386 libcwidget3   libboost-iostreams1.46.1 libgconf2-4:i386 libapt-pkg4.12:i386   libio-string-perl linux-headers-3.2.0-38-generic libept1.4.12   libclass-accessor-perl libnss3-1d:i386 Use 'apt-get autoremove' to remove them. The following extra packages will be installed:   network-manager-dbg The following packages will be upgraded:   network-manager-dbg 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/1,463 kB of archives. After this operation, 8,192 B of additional disk space will be used. Do you want to continue [Y/n]? y dpkg: dependency problems prevent configuration of network-manager-dbg:  network-manager-dbg depends on network-manager (= 0.9.4.0-0ubuntu3) | libnm-util2 (= 0.9.4.0-0ubuntu3) | libnm-glib4 (= 0.9.4.0-0ubuntu3) | libnm-glib-vpn1 (= 0.9.4.0-0ubuntu3); however:   Version of network-manager on system is 0.9.4.0-0ubuntu4.2.   Version of libnm-util2 on system is 0.9.4.0-0ubuntu4.2.   Version of libnm-glib4 on system is 0.9.4.0-0ubuntu4.2.   Version of libnm-glib-vpn1 on system is 0.9.4.0-0ubuntu4.2. dpkg: error processing network-manager-dbg (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                       Errors were encountered while processing:   network-manager-dbg     E: Sub-process /usr/bin/dpkg returned an error code (1)"


Why is this int array not passed as an object vararg array?

I used this code. I am confused why this int array is not converted to an object vararg argument:  class MyClass {     static void print(Object... obj) {         System.out.println("Object…: " + obj[0]);     }      public static void main(String[] args) {         int[] array = new int[] {9, 1, 1};         print(array);         System.out.println(array instanceof Object);     } }   I expected the output:  Object…: 9 true   but it gives:  Object…: [I@140e19d true


The footer link text overlaps the sidebar, even though the background of the sidebar is on top of the footer

The text on the footer overlaps the text on the sidebar:    This is easier to see if I change the colour of the text:    It also happens on Stack Overflow:    But not Ask Ubuntu:


Google redirects me to local version every time

I'm in Germany atm and every time I go to google.com they redirect me to google.de. Even if I call google.com/ncr they just redirect me to google.de again! I even tried google.com/?hl=en, which sets the site itself to English, but still gives me German search results. At this point I'm so annoyed I'm actually considering to just use bing. How can I use google.com?  (I use Chrome as browser, if that helps. Also I noticed right after installing the browser google.com/ncr worked just fine, but as soon as I bookmarked it it stopped working for whatever reason. Now it doesn't even work anymore when I type it in manually.)


I asked this previously for my Earth project but it was never given an answer and was marked as a dupe which it wasn't as the question it was linked to was about textures being controlled by light, not the emission of an object. The effect would be somewhat the same however it shouldn't affect visibility but emission so that the objects emission fades when going dark.  For the atmosphere I'm using 2 spheres. One to act as the atmospheric distance you see where it gets more hazed the further away you look, and another which is the glow itself. For the glow I've found it works best with a volumetric material and have it emit light. The question I would like answered is, how would I control the emission of the volume material with the sun lamp in the scene? I have a strong feeling that nodes can make this happen but I have no clue on what ones would work.  I am working in Blender Render as I haven't figured out a better way to make a good looking Earth in Cycles yet.


The result is probably that it is undefined but we can say that $\lim\limits_{n \to \infty} (-1)^n \in \{-1, 1\}$. Right? Could we continue the calculation by considering separate cases with $1$ and $-1$ ? This is studied in the case of sequences therefor $n$ is always an integer.


Why the if-else part isn't working in the code below. I checked the value of success just before if and it is returning true but the code inside if isn't working.          protected void onPostExecute(Void aVoid) {               super.onPostExecute(aVoid);                   dialog.dismiss();               System.out.println(success);               if(success == "true")               {                   Toast t = Toast.makeText(getApplicationContext(), "Successfully logged in", Toast.LENGTH_SHORT);                     t.show();                     Intent intent = new Intent(MainActivity.this, Quote_Details.class);                              intent.putExtra("sessionId", sessionId);                     startActivity(intent);               }               else if(success == "fals")               {                Toast f = Toast.makeText(getApplicationContext(), "LOGIN FAILED", Toast.LENGTH_LONG);                f.show();               }              }


Still cannot combine split with curly brackets

I tried to use vphantom{...} and overleaf does not take breaqn package, so I still have the question:  I have the following formula, but I get an error with it that I can't fix. What is wrong here really?   \begin{equation}  \begin{split}      \psi(x)=\sum_{j=1}^l\sum_{v=0}^{m_j-1}U_v(x,\mu)V_{m_j-1-v}(\psi,\mu)\left|_{\mu=\mu_j}\\      +\int_{-\infty}^{\infty}\frac{\sqrt{\mu}}{\pi\alpha(\sqrt{\mu})\alpha(-\sqrt{\mu})}\left\{e^+(x,\sqrt{\mu})e^+(\psi,-\sqrt{\mu})\\+e^-(x,\sqrt{\mu})e^-(\psi,\sqrt{-\mu})\right\}d\mu   \end{split}  \end{equation}   The preamble is:  \documentclass{article} \usepackage{hyperref} \usepackage{amssymb} \usepackage{MnSymbol} \usepackage[utf8]{inputenc} \usepackage{amsmath} \newcommand{\norm}[1]{\left\lVert#1\right\rVert} \newcommand{\R}{\mathbb{R}} \newcommand{\C}{\mathbb{C}} \newcommand\Setst[3][big]{\csname #1l\endcsname\{ #2 :    \begin{array}[t]{@{}l@{}}#3\csname #1r\endcsname \}\end{array}} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{mathtools} \usepackage[mathscr]{euscript} \usepackage{mathrsfs} \usepackage{yfonts} \usepackage{setspace}     \doublespacing \usepackage{imakeidx} \makeindex[columns=1, title=Alphabetical Index]   \newcommand{\footremember}[2]{%     \footnote{#2}     \newcounter{#1}     \setcounter{#1}{\value{footnote}}% } \newcommand{\footrecall}[1]{%     \footnotemark[\value{#1}]%   and the comment by overleaf is:  Extra }, or forgotten \right. Missing \right. inserted. Missing } inserted. Extra \right. Missing { inserted.   Thanks


I've been experimenting with lights in Blender 2.8, and I came across a curious situation. When working and rendering with Eevee, adding or subtracting lights responds accordingly (i.e. no lights, dark render. add lights, lit objects render appropriately depending upon placement and number of lights).  If however, I switch over to cycles for a comparison render, every object seems to be lit up whether there are lights in the scene or not. Renders the same way. Adding or subtracting lights makes no difference. It's almost as if the objects were 'emissing' their own light, but this makes no sense as plain objects I add to the scene without texturing or materials do the same thing.  Is there a setting I am missing when I switch between the two? I've been through most of the settings, but it just doesn't seem to make sense. Has anyone else experienced this? Thanks...


Must there exist a Lagrangian for any 2nd order ordinary derivative equation?

We know if there exist a Lagrangian of some ODE, then it must exist many equivalent Lagrangian.   My question:  Then must there exist a Lagrangian for any 2nd order ODE? If not, do we have some necessary or sufficient conditions for a dynamical system which can be described by some Lagrangian?