Does the NEC allow splices inside a load center (main circuit breaker panel)?

I have built a detached garage which will have a 125A subpanel. (125A panel because it will double as a work shop with A/C and heat and power equipment). Power will brought in from the house load meter panel which only has 12 spaces which are all taken. In fact, several spaces are occupied by tandem breakers to carrying 220V circuits requiring the second hot leg to be carried by another tandem breaker with a space in between in order to pick up the other side of the bus. (I think this is illegal or should be. This is the way the panel was wired when we purchased it).    With the second panel installed adjacent to the meter base, I plan to get rid of all tandem breakers (which I do not like anyway) and move several breakers to the new panel which has 24 spaces, freeing up spaces in the meter base panel where I will install the 125A breaker to power the subpanel in my detached garage.   Moving these circuits to the new panel will require splicing wires in order to reach the new panel breakers. My question is: Does NEC code allow for splices inside the circuit breaker panel? Are there special type splices needed for this situation or are wire nuts allowed? All splices will be done correctly and taped. A master electrician and electrical engineer have said it is legal but a NEC reference, page and paragraph, would be helpful incase my inspector objects.   Thanks in advance for your response.  Don


Is the phrase "please kindly" redundant?

The colleagues in my office often send email starting with "Please kindly". Are the two phrases a bit redundant?


Way to find who earned a specific hat on a specific site

Let's say I want to figure out which users on [site X] earned [hat Y]. I can, of course, go through and examine each hatted user to see what hat(s) they have. On most sites, however, this is incredibly tedious.  I would like to have a search functionality of some sort, that I can use to figure this out, e.g. in the Leaderboard of Winterbash.


Where can I find a mapping between Ubuntu release and exact Ubuntu kernel version(not just mainline) with which it was released?

I need to download the source codes of Ubuntu 12.04.4 LTS and its updates from the repository   For that, I really need to know the exact kernel version of Ubuntu 12.04.4 LTS to choose the source from tags. Also I need, the list of updates' source codes to that particular LTS.  Any idea about where can I get these details?  I would like to have version in following format to choose the exact source tag.  [base kernel version]-[ABI number].[upload number]


Working on local master branch:  git commit -m "Lots of important commits" git reset --hard origin/master   How can I retrieve the commits that have been lost as a result of the git reset (from the remote)?  EDIT: note this is not about retrieving uncommitted changes.


!h float parameters for table environment

Latex float parameters look messy to me. I was reading  which says,      You can force LaTeX to use one given position. E.g. [!h] forces LaTeX to place it exactly where you place it (Except when it's really impossible, e.g you place a table here and this place would be the last line on a page). Again, understand it correctly: it urges LaTeX to put the table at a specific place, but it will not be placed there if LaTeX thinks it will not look great. If you really want to place your table manually, do not use the table environment.   First it says that [!h] forces and immediately after it says that [!h] urges Latex to put the table at specific place. Aren't these two contradictory?


software install issue with package manager

My OS is Ubuntu 13.04  Recently something had happened with Pacakage Manager and its giving issues when i try install some software.  If i try to install from Ubuntu Software Center, it says      Requires installation of untrusted packages      This requires installing packages from unauthenticated sources.   And if try to install from console it says:  apt-get install ipython Reading package lists... Done Building dependency tree       Reading state information... Done The following packages were automatically installed and are no longer required:   libc-ares-dev libev-dev libev4 libjs-node-uuid libssl-dev libssl-doc libv8-3.8.9.20 libv8-dev Use 'apt-get autoremove' to remove them. The following extra packages will be installed:   python-decorator python-simplegeneric Suggested packages:   ipython-doc ipython-notebook ipython-qtconsole python-matplotlib python-numpy python-zmq The following NEW packages will be installed:   ipython python-decorator python-simplegeneric 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 698 kB of archives. After this operation, 3,064 kB of additional disk space will be used. Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated!   python-decorator python-simplegeneric ipython Install these packages without verification [y/N]? y Err http://us.archive.ubuntu.com/ubuntu/ raring/main python-decorator all 3.3.3-1   404  Not Found [IP: 91.189.91.13 80] Err http://us.archive.ubuntu.com/ubuntu/ raring/universe python-simplegeneric all 0.8.1-1   404  Not Found [IP: 91.189.91.13 80] Err http://us.archive.ubuntu.com/ubuntu/ raring/universe ipython all 0.13.2-1   404  Not Found [IP: 91.189.91.13 80] Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/python-decorator/python-decorator_3.3.3-1_all.deb  404  Not Found [IP: 91.189.91.13 80] Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/s/simplegeneric/python-simplegeneric_0.8.1-1_all.deb  404  Not Found [IP: 91.189.91.13 80] Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/i/ipython/ipython_0.13.2-1_all.deb  404  Not Found [IP: 91.189.91.13 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?   I followed the accepted answer at  and now situation is worse then earlier :(  Now if try to install something from console it says:  apt-get install ipython Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package ipython   Please suggest a solution.


'sudo su -' vs 'sudo -i' vs 'sudo /bin/bash' - when does it matter which is used, or does it matter at all?

When I'm doing something that requires root be typed in dozens of times in a row, I prefer to switch my session to a root session. In the various tutorials and instructions I have used on the Internet, I see sudo su, sudo su -, sudo -i and sudo /bin/bash being used to open a root session, but I'm not clear on the difference between these and when or if that difference matters.  Can someone clear this up for me?


How to permanently unlock partitions from launcher in 16.04

I tried to unlock partitions from the launcher, but they keeps reappearing after every reboot. Is there any good way to permanently remove partitions from the launcher?  This is happening only on Ubuntu 16.04


How to keep the footer docked at the bottom of the page considering following structure?

HTML:

   CSS:  .container { margin: 0 auto; overflow: hidden; width: 960px; }   I want the footer to remain at the bottom of the page (not persistently), so that it remains at the bottom regardless of the height of the page.  How to accomplish that with the current structure?


Can anyone help me figure out what this "find" command with curly braces is saying?

I found some old notes where someone suggest I run the following command to set some file permissions:  find /perl/lib/ -type f -exec chmod o+r \{\} \;   Would you happen to know what the \{\} part of the statement is doing?  Is it even necessary?  I tested running it a few times on some test files and it seems to do the same thing as removing the backslashes:  find /u01/app/oracle/product/12102/perl/lib/ -type f -exec chmod o+r {} \;   Any help you can offer would be appreciated.


Askers should be able to close their own question as a duplicate

Okay, take this question:   I found out that there was essentially a duplicate question of mine, but specified in very different terms than the question I asked. Therefore, to aid future searchers or search engines, I don't want to delete the question -- people searching using the phrases I used should be able to find the duplicate question. But people shouldn't be allowed to post to my question either, because it is a duplicate.  However, there's no way to really tell the engine that the question should be closed as a dupe.  If the community thinks that the question is not a dupe, then one could use the same 5 vote reopen scheme used for current closures.  (For the record, I saw  which is similar, but what I'm looking for is more specific in that I think the only valid closure reason should be duplication)


I am buying my first camera, but there is so much variety i don't know what to choose. Is Canon EOS 70D a good beginners camera, with the kit lens 18-135mm lens? Not looking in to buying another lens in the near future. I mostly take pictures of the nature, landscapes and street. Sometimes portrait. Is the kit lens OK for that, and is the camera good for its price or is there an equal good one that's cheaper?


Database schema for entities with two possible owner/parent types?

I'm using PostgreSQL with  as my ORM.  I have one type, User. The second type is Group, which can have any number of users associated with it through a GroupMemberships table. Users can also own any number of Groups.  My third type, Playlist, can belong to either a User OR a group. What would be the best way to design a schema for this type so that it can have either one type of owner or the either?   My first pass I created both associations, but only populated one at a time. This could possibly work, but seems hacky and makes queries difficult.  Additional information  Here are my responses to the clarification requests posted by MDCCL via comments:     (1) If a Playlist is owned by a given Group, one can say that this Playlist is related to one-to-many Users, as long as they are Members of such Group, right?    I believe this is technically true, but this one-to-many association does not exist explicitly.     (2) So, is it possible for a specific Playlist to be owned by one-to-many Groups at the same time?    No, it should not be possible for a Playlist to be owned by one-to-many Groups.     (3) Is it possible for a particular Playlist to be owned by one-to-many Groups and, at the same time, by one-to-many Users who are not Members of such Group?    No, because as in (2) a one-to-many from Playlist to Group should not exist. Additionally, if a Playlist is owned by a Group it is not owned by a User, and vice versa. Only one owner at a time.     (4) What are the properties used to uniquely identify a Group, a User and a Playlist?   They each have a surrogate primary key (id), as well as a natural key (though not primary). These are slug for Group and Playlist, and username for User.     (5) Could a particular Playlist suffer an Owner change?   Although I don't plan on this being a feature (at least initially), I suppose this could hypothetically occur.      (6) What’s the meaning of the Group.Slug and Playlist.Slug attributes? Are their values stable enough to be defined as primary keys or do they change very often? The values of these two properties, along with User.Username must be unique, correct?   These slugs are unique, lowercase, hyphenated versions of their respective entity's title. For example, a group with the title 'Test Group' would have the slug 'test-group'. Duplicates are appended with incremental integers. This would change any time their title changes. I believe that means they wouldn't make great primary keys? Yes, slugs and usernames are unique in their respective tables.


reveals x2 code snippets. The first result is to  which has a lot of documentation and explanation, along with some useful discussion underneath.   However, , whilst not containing so much documentation, includes sample code for passing commands such as start, stop and restart. It also creates a PID file which can be handy for checking if the daemon is already running etc.  These samples both explain how to create the daemon. Are there any additional things that need to be considered? Is one sample better than the other, and why?


Let $k$ be an algebraically closed field. Is $k[x,y,z]/(y^2-xz)$ a UFD?    I think it is not. Assuming that the elements $x,y,z$ are irreducible, the polynomial $f=xz$ can be written in two ways as a product of irreducible polynomials, namely $f=xz=y^2$.  How do I show $x,y,z$ are irreducible and that $y^2-xz$ is prime (i.e. that the $k[x,y,z]/(y^2-xz)$ is an integral domain)?


Minimal polynomial of $\alpha=\sqrt 2e^\frac{2\pi i}{3}$

Calculate the minimal polynomial of $\alpha=\sqrt 2e^\frac{2\pi i}{3}$ over $\mathbb Q$.  My try:  Let $x=\sqrt 2e^\frac{2\pi i}{3}\implies x-\sqrt 2(-\frac{1}{2}+i\frac{\sqrt 3}{2})=0$.   On solving completely I got the polynomial to be $x^4+2x^2+4$ which is satisfied by $\alpha$ which is a monic polynomial .Also it is an irreducible polynomial over $\mathbb Q$.  However I am finding it difficult to check that is the minimal polynomial i.e it is the lowest degree polynomial satisfied by $\alpha $ over $\mathbb Q$.  How should I do it?


Gradient of a function as the direction of steepest ascent/descent

I am trying to really understand why the gradient of a function gives the direction of steepest ascent intuitively.  Assuming that the function is differentiable at the point in question, a) I had a look at a few resources online and also looked at this   , a popular question on this stackexchange site. The accepted answer basically says that we multiply the gradient with an arbitrary vector and then say that the product is maximum when the vector points in the same direction as the gradient? This to me really does not answer the question, but it has 31 upvotes so can someone please point out what I am obviously missing?  b) Does the gradient of a function tell us a way to reach the maxima or minima? if yes, then how and which one - maxima or minima or both? Edit: I read the gradient descent algorithm and that answers this part of my question.  c) Since gradient is a feature of the function at some particular point - am I right in assuming that it can only point to the local maxima or minima?


dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) nginx

The Software up-to-date Option automatically download the upgrade for nginx. but While installing it's giving me the following error:  Reading package lists... Done Building dependency tree        Reading state information... Done The following NEW packages will be installed:   nginx 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/434 kB of archives. After this operation, 977 kB of additional disk space will be used. (Reading database ... 291344 files and directories currently installed.) Unpacking nginx (from .../nginx_1.4.7-1~precise_amd64.deb) ... ----------------------------------------------------------------------  Thanks for using nginx!  Please find the official documentation for nginx here: * http://nginx.org/en/docs/  Commercial subscriptions for nginx are available on: * http://nginx.com/products/  ---------------------------------------------------------------------- dpkg: error processing /var/cache/apt/archives/nginx_1.4.7-1~precise_amd64.deb (--unpack):  trying to overwrite '/etc/logrotate.d/nginx', which is also in package nginx-common 1.4.6-1+precise0 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/nginx_1.4.7-1~precise_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   Actually that file /etc/logrotate.d/nginx does not exist in this folder.


I want to be able to resize a div using resize feature in css. In my .css file I have:  #test {     border: 2px solid;     padding: 20px;     width: 300px;     resize: both;     overflow: auto; }   My div is the following:
Let the user resize both the height and the width of this div element.
   It works fine until I put my html in an iframe, there I can't resize the div. What's wrong?  PS: I dont' want to use jquery


How does matter know to obey physical laws?

First of all, you may say that, this is a "why" question and in physics we don't ask such a question and instead we ask about "how". However, I want to discuss this with you.  We model the behavior of matter by physical laws, for example by quantum mechanics laws. I want to know how the matter, say electron, knows that it must obey such a law. What forces the electron to obey quantum mechanics laws?  If you consider a simulation of the universe in a computer, in the view of someone  simulated in that computer the physical laws are just there. They may not know what keeps  in check the simulated matter to obey physical laws, but in our perspective those simulated physical laws are there because we implemented them as zero and ones in a hard disk. If we wanted, we could change those physical laws and in the eye of the simulated person everything would be still fine.  Is there a scientific attempt to discuss this issue? so that I can read about it.


We are building a database for a SaaS web application. We have been told to use a multi-tenant approach and to expect over 100,000 tenants to be using the system over the next 5 years, so we're expecting a very large amount of data. We're anticipating average of 20,000 companies per tenant and 40,000 people per tenant. Hosted in Azure using SQL Azure Federation services.  My question is regarding the table structure for companies and people. A company can be a vendor, customer, contractor, prospect or financial institution.  A person can be a vendor, customer, contractor, employee or prospect.  In previous databases, I have have used a master table containing the common fields and secondary tables to hold the detail pertaining to the type of company or person.  For example:  CompanyMaster (ID, Name, Website, ParentID, etc) CompanyVendor (CompanyID, CreditLimit, CreditTerms, etc) CompanyContractor (CompanyID, RatePerHour, RatePerMile, etc)   Similar situation for Person's table.  With regards to performance and best practice, is it better to do it this way or split them into separate tables and not use a master table?  CompanyVendor     (ID, Name, Website, ParentID, CreditLimit, CreditTerms, etc) CompanyContractor (ID, Name, Website, ParentID, RatePerHour, RatePerMile, etc)   I have a CTO telling me that they handled 3 million transactions per day using the multi-tenant database at his previous employer. He says it's all about the indexes and I know it's more than that.  We will be hiring an Azure Partner and most likely hire/contract a DBA. I have had experience with databases that had 100K companies and 300K people using the model above, but I thought due to potential size of the multi-tenant solution that it may be better to split them into smaller tables.


protecting PHP code from theft & reselling

I've written a PHP code I would like to sell. I want to prevent other PHP programmers from buying the code and than reselling it as their own. (it happens) I might even let others download the code for free, but still don't want those others to upload it to their sites and presenting it as theirs.  I was wondering if there is a way to hide the code from someone who gets a hold of it by somehow converting it to binary or byte code so that whoever downloads it from my site won't able to view the actual code or change it. I mean without requiring the one running the PHP code to install on it's server.  I've seen threads about this from 2011 and 2014 (that didn't have solutions without bugs and do not support PHP7) and wondered if there is anything new in 2017...


How can I open a text file with TextWrangler from the Terminal (command line)?

Often when I work in the Terminal (the command line) I need to edit some text files. I prefer to edit text files using TextWrangler.  How can I open a text file with TextWrangler from the Terminal?  I tried with /Applications/TextWrangler.app/ my_text_file.txt but it doesn't work since TextWrangler.app/ is a directory.


LWC: NavigationMixin.Navigate not able to refresh/reload the whole page

I have a Community page called page_A and a LWC is on this page. The HTML file has these two parts where {flag} is a tracked variable in js file.  <template if:true={flag}>      ... A part ...                                                                                </template>                                 <template if:false={flag}>    ... B part ...                          </template>    In the js file there is a @wire Apex method called "getFlag" that returns {flag} value.  @wire (getFlag) wiredGetFlag({error,data}){     if (data) {         this.flag = data.flag;     } else if (error) {      } }    Suppose flag is true now and "A part" is shown. After doing something in another component in another page, I want to navigate back to "A_page" to see that flag is now turned to "false" and "B part" is shown.  this[NavigationMixin.Navigate]({   type: 'standard__namedPage',     attributes: {      pageName: 'page_A',     }, });   It turns out that after navigating back to page_A, the value would not be updated. Only if I press F5 to reload the page would the @wired function be run again so that I can see flag value turned "false".  Any idea how I can reload the page in SFDC community using NavigationMixin.Navigate without pressing F5 by hand?  Thanks.


Sync Contacts between iPhones with different Apple IDs

Until recently my wife and I shared one Apple ID to allow us to have synced calendars and contacts.  The only thing she used her ID for was the Messages app.  When I learned that I could set her phone up with both of our IDs and then choose which one it pulls from for each item I changed to this approach.  So now the only things turned on for my ID on her phone are Calendars and Contacts.  This works great other than on her phone under the "Contacts" heading of "Mail, Contacts, Calendars" it has my info selected.  If she changes it on her phone it will update mine as well.  Does anyone have a better solution for how we can sync our contacts book (other than using a 3rd-party service like Google)?  Thanks.  -James


I searched quite a bit and I'm very new to java so I'm trying to create a basic program that will do the following  User will insert birth date or horoscope sign  The program will then tell the user what their sign is or what range of dates that particular horoscope goes through.   I'm currently at the point where this line... "     ourDate.getIndexByDate(myDay); " Gives a null pointer exception.  At the same time, so does the method that ourDate is calling.   java.lang.NullPointerException     at Dates.getIndexByDate(Dates.java:68)     at Dates.main(Dates.java:49)   I have the following code:  import java.util.ArrayList; import java.util.Scanner;  public class Dates {      private static ArrayList<Double> zodiacDates;     private static ArrayList<String> zodiac;      public static void main(String[] args) {         ArrayList<Double> zodiacDates = new ArrayList<Double>()         {{              add(1.19);             add(2.18);             add(3.20);             add(4.21);             add(5.20);             add(6.20);             add(7.22);             add(8.22);             add(9.22);             add(10.22);             add(11.21);             add(12.21);         }};         ArrayList<String> zodiac = new ArrayList<String>()         {{             add("Capricorn");             add("Aquarius");             add("Pisces");             add("Aries");             add("Taurus");             add("Gemini");             add("Cancer");             add("Leo");             add("Virgo");             add("Libra");             add("Scorpio");             add("Sagittarius");              }};         Scanner keyboard = new Scanner(System.in);         System.out.println("Enter your birthdate in the form of a double");         Double myDay = keyboard.nextDouble();         System.out.println("Enter your horoscope sign if you know it");         String ourSign = keyboard.nextLine();         Dates ourDate = new Dates();         System.out.println("Enter your birthdate in the form of a double");         ourDate.getIndexByDate(myDay);         ourDate.getIndexBySign(ourSign);         }      public int getIndexBySign(String pName)     {         for (int w = 0; w < zodiac.size(); w++)         {             String sign = zodiac.get(w);             if (pName.equals(sign))             {                 return w;             }         }           return -1;     }      public int getIndexByDate(Double myDay)     {         for (int i = 0; i <= zodiacDates.size(); i++)         {             Double variable = zodiacDates.get(i);             if ((myDay <= variable && myDay > zodiacDates.get(i-1)) || (myDay < 1.19 || myDay >= 12.22 ) )             {                 return i;             }            }         return -1;     } }


Advertising informs consumers about new products available on the   market. It gives us information about everything from shampoo to   toothpaste to computers and cars. But there is one serious problem   with this. The “Information” is actually very often “misinformation”.   It tells us the products’ benefits but hides their disadvantages.     According to Michael Swan in Practical English Usage:     Unfortunately, it is not possible to give useful general rules in this   area: the choice of structure often depends on the particular   expression.   Please let me know about this particular expression: is it OK to use possessive 's with products?


$ java -jar aprof-plot.jar Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper     at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807)     at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)     at java.awt.Toolkit.getEventQueue(Toolkit.java:1734)     at java.awt.EventQueue.invokeLater(EventQueue.java:1264)     at aprofplot.Main.newWindow(Main.java:33)     at aprofplot.Main.main(Main.java:359)   Possible explanations I saw here was to install Java-access-bridge. But I am unable to install libaccess-java-bridge.


Access VBA code combination not working, issue with exit sub?

I'm very new at VBA and I can't seem to solve this problem. It seems like it should be an easy problem to fix, I just don't know how. I've looked around on the web, but the question remains unsolved.  So what the code does: In the main form is a record. This record will be copied to another table bij pressing a button on the form. Before the copying begins, the code checks first if the 'OMnummer' has been filled in in the subform. If not, a message box appears saying that the user should fill in the subform and the code stops running.   Secondly the code checks if the record is allready present in the other table. If so, a messagebox appears and the record will not be copied. If not, the record will be copied to the other table.   Both pieces of code work ok seperately. However, when I try to include both pieces in the same private sub, only the first one works. It may be something with the 'Exit Sub' code or I am not using the If - Then right.   Really hope you can help me! Monika   Private Sub KnopProjectVersturen_Click() On Error GoTo ErrProc   'This is the first part of the code checking if the subform has been filled in  If IsNull(Me!Subform_OMnummers.Form!Omnr) Then If MsgBox("Vul het OMnummer in. Je kan het project niet exporteren zonder OMnummer.")     Then Exit Sub    'This is the second part of the code, checking if the record exists in the other table and then copying part of the record  DoCmd.OpenQuery "Qry_Depo_ControleAanwezig" If DCount("Deponering.projectnummer", "Qry_Depo_ControleAanwezig") = 0 Then     DoCmd.SetWarnings False     DoCmd.OpenQuery "Qry_projectnaarDepot"     DoCmd.OpenQuery "Qry_ToevoegProjectDepot"     DoCmd.OpenForm "Depot_uitvoer", , , "[Projectnummer] = '" & Me![Projectnummer] & "' And [subID]=[subID]"     Me.Status = 8     DoCmd.Close acQuery, ("Qry_Depo_ControleAanwezig")     DoCmd.SetWarnings True  Else     MsgBox "Dit project bestaat al in de Depot_Uitvoer, verander de status in het projectformulier", vbInformation, "Example"     DoCmd.Close acQuery, ("Qry_Depo_ControleAanwezig")  End If End If End If    'Als er fouten zijn laat deze code een messagebox zien met het nummer en de melding.  ExitProc:  Exit Sub  ErrProc:  Select Case Err.Number  Case Else     MsgBox Err.Number & "--" & Err.Description     Resume ExitProc     End Select  End Sub


Sequence of R.V.s $z_1, z_2, ...$ s.t. $P(z_i=1)=P(z_i=-1)=\frac 1 2$ converge almost surely?

Let $z_1, z_2, z_3,$ ...be a sequence of independent random variables s.t. $P(z_i=1)=P(z_i=-1)=\frac 1 2$. Does this sequence converge almost surely?  My intuition is telling me that the sequence will approach the random variable Z? i.e. $z_n->Z$ as $n->\infty$ and Z is just another RV s.t. $P(Z=1)=P(Z=-1)=\frac 1 2$.  Here is my confusion, if a sequence converges almost surely, then $z_i$ should be different for each term s.t. it approaches Z in the end; but in this sequence $z-i$ is the same for every term. So I dont udnersntand.


Does applying for the US Green Card lottery reduce your future chances of getting a tourist visa?

I've heard that applying for the Green Card lottery is a huge red flag in the eyes of American embassy officials and should be avoided if one plans to visit the US in the future.  Is there any official confirmation for such rumors?


Why is this true? A set is Dedekind infinite if and only if equipotent to the union with the set containing itself

Put in notation:   ($A$ is Dedekind infinite)$\iff$($A\approx A\cup \{A\}$)  The book I'm reading has not yet covered the axiom of choice, it states that the above follows immediately from the definition, which it states as "A set is Dedekind infinite if and only if it is not Dedekind finite".   The definition given for a set being Dedekind finite is "A set is Dedekind finite if and only if it is not equipotent to any of its proper subsets".   I cannot see how this immediately follows, could anyone help?   Book is "Axiomatic set theory" Suppes, 1970.


How to smooth the face after boolean modifier applied?

The face is not smooth out after I applied boolean modifier and after shade smooth.


How to make the file manager default to sorting by modification date?

I often want to find files which I've modified recently, so I'd like to set the file manager to sort by modification date automatically.  Is this possible?


If I get the latest version of blender, will I lose anything in my old project files?

If I  uninstall the old version I have, then download the new version, will my I still be able to open my old project files, or will I lose anything in them like models, rigs, textures etc. I have a ton of blend files and really don't want to lose them! I hope you can help!!!


Han Solo explains to us that      Traveling through hyperspace ain't like dusting crops, boy! Without precise calculations we could fly right through a star, or bounce too close to a supernova and that'd end your trip real quick, wouldn't it.    We also know that there are established .  In real life, aircraft must declare flight plans with aviation authorities. This helps prevent mid-air collisions. This doesn't seem to be the case in the Star Wars universe, as ships are always being asked for their intended destination.  Calculating a hyperspace route around planetary bodies is fairly straightforward. They move in a prescribed motion and their position can be calculated accurately.  But we see ships jumping into hyperspace with little prior planning (besides the requisite calculations), and coming out in seemingly random spots.   How do ships traveling through hyperspace avoid collisions with other ships in hyperspace (or real space), and how do they avoid collisions with other ships that may or may not be at their intended destination?


Why was "whom he thought would be" marked as incorrect if "whom he saw improve" is correct?

I answered two questions incorrectly during my SAT prep class, and they seem to contradict each other. The first question was:  The district manager agreed to promote the employee who he saw improve sales by the end of the year. (A) who he saw improve (B) who he saw was improving (C) who he will see improve (D) whom he saw improve (E) whom he saw to be improving  I picked A but the correct answer was D. Now, for my second question:  During the auditions, the show's producer looked for those actors whom he thought would be suitable for the many roles in the play. (A) whom he thought (B) whom he has thought (C) who he was thinking (D) who he thought (E) whom they thought  Again, I picked A here but the the correct answer was D. I don't understand why one uses "who" while the other uses "whom", since they seem to have the same sentence structure (but obviously different words).


Windows 10 automatically doing doubleclick when I click only once

Since a few days Windows 10 is being very inconsequent in registering single clicks. This is hugely annoying as many actions are now done twice, or a totally different action then what I had in mind.  This happens in all kinds of programs, like   Automatically click the browser back button twice Automatically open folders instead of selecting them Select all units of a kind in Starcraft 2, instead of a single unit Automatically open emails in new screen in Outlook, instead of selecting them And this list goes on..   I have set "Open new folders on double click" in Folder Options => General.  What else can I try to solve this issue?


I need a step by step guide to making a bbl file from bib

I am trying to merge my tex and bib files into one for a journal submission. Somebody suggested to use the bbl file. I am using texmaker / miktex, and bibtex.  I have no idea as to how to actually create bbl file from bib. All the links I found on this website / google don't actually explicitly explain, step by step, how to do this. And I mean step-by-step (since my knowledge of latex  / computing generally is next to nothing). For example, I see instructions "compile"... And I don't know what this means (as to what key on my keyboard I should be pressing).  Thank you.


Why is sample variance divided by $n-1$ and not $n$

Sample Variance, customarily denoted, $s^2$, as in the formula below, is the average of the squared deviations, except that we divide by $n-1$ instead of $n$.     $$s^2 = \frac{1}{n-1} \sum\limits_{i=1}^{n} (X_i - \overline{X})^2$$   My question is: Why do we divide by $n-1$ instead of $n$?  Does it have anything to with having a "binary" operation, meaning two (bi-nary) operands?    This may be a duplicate question.


How can I print a large web page to a single-page pdf with custom dimensions?

I am trying to convert  to a single-page, 19 x 13 pdf file.  I am running Firefox under Ubuntu and trying to use the Print To File option, but it is splitting the web page into multiple pages.   Is there a way to get the page into a single-page pdf with the given dimensions?  Edit: I already tried setting the page dimensions to 19 x 13 using custom page size.  The only noticeable effect is that each page now has more whitespace, but the page is still split across multiple pages.  Also, I already saw the answer suggesting the  plugin, which works, but I prefer a pdf because it is more scalable.


Add item in SharePoint 2010 document library using JavaScript

Is it possible to add a new item in a SharePoint 2010 document library using JavaScript (client object model)? I have successfully created list items in other type of lists, but when it comes to uploading a document I'm out of luck. Maybe this is a feature only supported in SharePoint 2013?  Edit: This is a working example how I add an item to a custom list. I'd like to do something similar using a document library.  var clientContext = new SP.ClientContexturl); var list = clientContext.get_web().get_lists().getByTitle('ProjectData');  clientContext.load(list);  var itemCreateInfo = new SP.ListItemCreationInformation(); var listItem = list.addItem(itemCreateInfo);  listItem.set_item('Title', 'My project title!'); listItem.update();  clientContext.load(listItem); clientContext.executeQueryAsync(onItemAdded, onItemAddedFailed);


I create Html content send through email, but email goes in the spam folder; So how to solve this, please help me.  I read that question but this not help me Thanks advanced,  <?php   $to1 = 'test@gmail.com, toganeshwagh@gmail.com';  $subject = 'Tester subject.';   // To send HTML mail, the Content-type header must be set  $headers .= "Reply-To: The Sender <sender@sender.com>\r\n";  $headers .= "Return-Path: The Sender <sender@sender.com>\r\n";  $headers .= "From: test@test.in" ."\r\n" . $headers .= "Organization: Sender Organization\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=utf-8\r\n"; $headers .= "X-Priority: 3\r\n"; $headers .= "X-Mailer: PHP". phpversion() ."\r\n" ;  ?>


My brother and I are on PC Minecraft, and I'm trying to connect to him when he opens LAN to go to his world. We're finding that whenever I connect to him, I'm getting the error io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection time out: no further information:  But that's only when I try to connect to him. Using the same method, he has no problems connecting to my worlds when I open LAN.   I've looked at all the troubleshooting problems, turned off all my Firewalls, but I can't connect to him still. Anyone have an ideas?


How to distinguish a preposition and an infinitive marker?

My question hails from    Let's take one of the examples mentioned there.     Seven steps to reaching your goals   Non-native speakers like me can identify if the sentence is already written. Say the one I just quoted. I see that 'to' is followed by 'verb-ing' and therefore, it's a preposition and not an infinitive marker.  But, I'm pretty sure that if I were to write this sentence, I'd have gone for...     Seven steps to reach your goals    Now, the question is, how to identify whether we use 'to' as an infinite marker OR a preposition? I repeat, I'm asking about writing on my own, and not something that is already written.     The  and the answer says that 'there's no such rule'. But then, Damkerng has come up with a very useful comment. I'm looking forward to having such kind of answer to this. If there's no one rule, at least something that helps us decide it?


In WhatsApp, they have a 'tick, double-tick, blue-doubletick' feature so that the sender knows the status of his message.    Similarly, for answers and comments, a feature like that, visible to the senders would help them know whether the message/comment has seen by the-user-who-is-ment-to-read-it, rather than waiting for a reply to know whether he read the answer/comment or not.    So should a feature like that be introduced in Stack Exchange? Are there any barriers preventing this from being implemented?


Law of large numbers for Brownian Motion (Direct proof using L2-convergence)

In “Brownian Motion” by Schilling and Partzsc, they give a HINT to prove the Law of Large Numbers for Brownian Motion (not in their solutions, fyi) by  (1) Noting that $\left|\frac{B_{t}}{t}\right|\leq\left|\frac{B_{t}-B_{\left\lfloor t\right\rfloor +1}}{\left\lfloor t\right\rfloor }\right|+\frac{\left\lfloor t\right\rfloor +1}{\left\lfloor t\right\rfloor }\left|\frac{B_{\left\lfloor t\right\rfloor +1}}{\left\lfloor t\right\rfloor +1}\right|\leq\max_{\left\lfloor t\right\rfloor \leq s\leq\left\lfloor t\right\rfloor +1}\left|\frac{B_{s}-B_{\left\lfloor t\right\rfloor +1}}{\left\lfloor t\right\rfloor }\right|+\frac{\left\lfloor t\right\rfloor +1}{\left\lfloor t\right\rfloor }\left|\frac{B_{\left\lfloor t\right\rfloor +1}}{\left\lfloor t\right\rfloor +1}\right|$  and (2) showing that the first term on RHS converges to 0   in $L^{2}$   using the Reflection Principle and then making a subsequence argument.  I've made the following observations, but other than that, I'm stuck. First, the usual (strong) law of large numbers gives us $\frac{\left\lfloor t\right\rfloor +1}{\left\lfloor t\right\rfloor }\left|\frac{B_{\left\lfloor t\right\rfloor +1}}{\left\lfloor t\right\rfloor +1}\right|\rightarrow0\;\mbox{a.s.}\; t\rightarrow\infty.$  Hence it suffices to show that $\max_{\left\lfloor t\right\rfloor \leq s\leq\left\lfloor t\right\rfloor +1}\left|\frac{B_{s}-B_{\left\lfloor t\right\rfloor +1}}{\left\lfloor t\right\rfloor }\right|$   converges a.s. to 0   (or maybe something weaker is enough??).  If we can show $L^{2}$   convergence to 0  , then we have a.s. convergence for a subsequence. I've been able to show the $L^{2}$   convergence (see below), but I cannot get my head around the subsequence argument. Diverging from the Hint, I've proved the a.s. convergence directly by Borel-Cantelli and Doob's Inequality. But I'd really like to understand the $L^{2}$   approach as well.  $L^{2}$ convergence to 0: By $\left(B_{s+n}\right)_{s\geq0}\overset{D}{=}\left(B_{s}+B_{n}\right)_{s\geq0}$   and Doob's Inequality we get $\mathbb{E}\left(\left(\max_{\left\lfloor t\right\rfloor \leq s\leq\left\lfloor t\right\rfloor +1}\left|\frac{B_{s}-B_{\left\lfloor t\right\rfloor +1}}{\left\lfloor t\right\rfloor }\right|\right)^{2}\right) = \frac{1}{\left\lfloor t\right\rfloor ^{2}}\mathbb{E}\left(\left(\max_{\left\lfloor t\right\rfloor \leq s\leq\left\lfloor t\right\rfloor +1}\left|B_{s}-B_{\left\lfloor t\right\rfloor +1}\right|\right)^{2}\right)  = \frac{1}{\left\lfloor t\right\rfloor ^{2}}\mathbb{E}\left(\left(\max_{s\leq1}\left|B_{s+\left\lfloor t\right\rfloor }-B_{1+\left\lfloor t\right\rfloor }\right|\right)^{2}\right)  = \frac{1}{\left\lfloor t\right\rfloor ^{2}}\mathbb{E}\left(\left(\max_{s\leq1}\left|B_{s}-B_{1}\right|\right)^{2}\right)  \leq \frac{1}{\left\lfloor t\right\rfloor ^{2}}(2^{2}\mathbb{E}\left(\left|B_{1}\right|^{2}\right)+constants)$ On a sidenote, I didn't seem to use the Reflection Principle?


Should import statements always be at the top of a module?

states:  Imports are always put at the top of the file, just after any module comments and docstrings, and before module globals and constants.  However if the class/method/function that I am importing is only used in rare cases, surely it is more efficient to do the import when it is needed? Isn't this: class SomeClass(object):      def not_often_called(self)         from datetime import datetime         self.datetime = datetime.now()  more efficient than this? from datetime import datetime  class SomeClass(object):      def not_often_called(self)         self.datetime = datetime.now()


What is it called when a word no longer literally describes something?

An example of this would be the word "Film". Film is no longer the medium that we use to record movies but we still refer to movies as films. What is it called when an older term is used to refer to something but it no longer applies in the literal sense?


I am getting errors like com.ibm.icu etc are missing from /home/jiewmeng/eclipse/plugins/*. I think it might be because I am working on the project from 2 different computers where the eclipse paths maybe different.


How do I convert from Microsoft Word to PDF while preserving hyperlinks?

The links are blue and underlined, but the link is not preserved. I'm aware of freepdfconverter, but I was hoping of some other way which does not require me to put my document up on the web.


I never really understood how a terminal emulator (be it e.g. XTerm or the Linux virtual console) works. What transformations happen to the input (key up/down events) to produce the output (usually the standard input of the application that is running in the terminal, a signal being sent and so on)? What is actually the input for the terminal and what is already handled by the input drivers (in the kernel, X server, ...). How and where do the terminal capabilities databases like terminfo or termcap enter this process? How are "special" keys like arrows processed? And conversely: how does it work the other way round: application standard output/error → medium (screen, paper)?


Iterate with last element repeated as first in next iteration

I have some list with objects looks like:  oldList=[a,b,c,d,e,f,g,h,i,j,...]   what I need is to create a new list with nested list items which will look like this:  newList=[[a,b,c,d],[d,e,f,g],[g,h,i,j]...]   or simply spoken - last element from previous nested is first element in next new nested list.


How should I handle useless answers on bountied questions?

Most of the times, when I start a bounty on a question without any answer for a long time, I got several useless answers.  Sometimes these are off-topic "spam" and contain a solution which is not working, but the poster is unable to fix it. In these cases at least an answer is present, so I need to reward the bounty for something which isn't a working solution.  I flag the answer as "very low quality", but sometimes it isn't deleted by moderator, so it is considered as a real answer and reputation points are gained undeservedly.


Printing labels along with equation numbers

Working with documents with huge amount of equations it becomes cumbersome to go back and remind yourself what you labeled a certain equation to (I try to name them in a smart way, but there are too many).  Is there a convenient way to have equations print the label along with the tag/number, so that I can easily check the label in the compiled document?  Something like this would be perfect:  x = y               (14.1) eq:my_label


Can a wizard or a witch use two wands at the same time?

Wizards and witches can lose their wands in duels, or other situations. Can the new owner use two or more wands at the same time to cast stronger spells?


${n\choose 2} - {k\choose 2} = {n-k\choose 2} +k(n-k)$ Marked box or unmarked box

${n\choose 2}$ counts the 2-combination $(a,b)$ where    $a\,\in\,\{\text{Set with n-k elements}\}\,b\,\in\,\{\text{Set with n-k elements}\}$ $a\,\in\,\{\text{Set with n-k elements}\}\,b\,\in\,\{\text{Set with k elements}\}$ Order trivial here? $a\,\in\,\{\text{Set with k elements}\}\,b\,\in\,\{\text{Set with k elements}\}$   ${k\choose 2}$ counts the 2-combination $(a,b)$ where    $a\,\in\,\{\text{Set with k elements}\}\,b\,\in\,\{\text{Set with k elements}\}$   ${n-k\choose 2}$ counts the 2-combination $(a,b)$ where    $a\,\in\,\{\text{Set with n-k elements}\}\,b\,\in\,\{\text{Set with n-k elements}\}$   $k(n-k)$ counts the 2-combination $(a,b)$ where    $a\,\in\,\{\text{Set with n-k elements}\}\,b\,\in\,\{\text{Set with k elements}\}$ First question, is that because the order is trivial, either $k(n-k)$ or $(n-k)k$ would suffice? Second question, under what circumstances will both $k(n-k)$ and $(n-k)k$ have to be counted?


Need help understanding the proof of the gaussian integral

I am working with the Gaussian integral at the moment, and all the proofs I have seen involve a step where it is said that $\int_{-\infty}^{\infty}\int_{-\infty}^{\infty}e^{-(x^2+y^2)}dxdy=\int_{0}^{2\pi}\int_{0}^{\infty}re^{-r^2}drdϕ$. I can see why that $might$ be the case, but I don't really understand it. Could anyone explain how exactly one arrives at this result?


I have an old Huffy from my uncle that he bought at around the 90s and I'm thinking of restoring it and maybe upgrade some of the parts. But Huffy doesn't seem to have any much information for bikes over 10yrs old. Here's a .  Obviously, I need to strip the paint of rust that's accumulated and clean it. But I'd like to know what I can do to see if any current generation parts I could use. I'm planning to convert this into a commuter or maybe a road bike (not to be raced). I would guess that I need to replace the whole drivetrain. Maybe fit in 700c wheels or something similar? Brakes need replacing as well, since it used old caliper brakes, I'm guessing that I can use some modern brakes? I suppose the headtube needs some work as well. Basically, I'm only planning to keep the frame and the fork.  Hoping somebody could help.


Convert (-4 to 4v) from sensor to 0-3.3v

Can you show me how can I make a schematic to convert signal voltage from sensor to ADC module of DSP.  Sensor : -4 to 4 voltage DSP ADC: 0 to 3.3 voltage.  Thank you,


How to solve these limits using a formula for logarithm limit(without applying L'Hopitale rule)  $$ \lim_{x \to 0} \frac{\sqrt{1 + \tan(x)} - \sqrt{1 + \sin(x)}}{x^3} $$  $$ \lim_{x \to 0} \frac{\arctan 2x}{\sin[2 \pi(x+10)]}$$  I suppose in the second I may not take into account arctan and sin as sinx approximately equals x


How to add a decimal point in the units of a concentration?

I have been writing my concentrations as per the code below using \SI{300}{\milli\gram\per\milli\litre} however my supervisor keeps writing a stupid . in all my feedback and wants the concentration to look like mg.ml$^-1$.   Everything I try writes the . as an accent on top of \ or the units. Is it possible to replace the space between the mg and ml with a dot?  Here is my minimal working example:  \documentclass[12pt]{article} \usepackage{siunitx} \begin{document} \SI{300}{\milli\gram\per\milli\litre} \end{document}


A person who isn't skilled in a particular field, a common (wo)man

For example, you're a fashion designer who wants to get the opinion of both a professional and someone who doesn't know much about fashion. What's a term for the latter person?


I am a selenium C# developer, and have just recently conducted an interview with a company. During this process I was asked a lot of questions about "hypothetical" framework questions, and how I would architect a system of tests for a product. Towards the end of the interview I was asked if I could showcase a framework that I have implemented in the past, and of course with non-disclosure agreements I am unable to share that information. The interviewer seemed disappointed that I didn't have one created that he could look at, and I feel as though the interview went downhill from there. I have decided to create my own framework so that I can show potential employers my work. The question that I have is:      What is a website that I can test(create the framework around), that is not my employers?   I am just wondering what sites other professionals in this field have used for there own personal frameworks.


How do I repair a corrupted Firefox places.sqlite database?

I had some problems with my RAM (bluescreen several times, Windows XP) and now are my Firefox databases damaged. Firefox is working, but my history is gone and it's reporting several inconsistencies and errors when executing pragma integrity_check on places.sqlite:     database disk image is malformed   Now the question, how do I repair SQLite-Databases?


Can you earn XP for defeating a creature, then raise as undead & destroy it for more XP?

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


Strange chinese menu on Lenovo IdeaTab S6000

Context  I just Skyped with my mother (far away) because her Android tablet (Lenovo IdeaTab S6000, running on Android 4.2) showed a strange menu with Chinese characters, almost like a bootloader. My short troubleshoot history looks like this:   When pressing the volume-keys, the displayed content changed, at one point the text contained "GPS", so I assumed it would be some kind of "hidden troubleshoot menu" for showing system information. A restart was possible after pressing and holding the standby-button, after restarting everything seemed untouched. Just to make sure, we changed her passwords. She did not visit any suspicious websites, nor did she install any apps recently.   With my little knowledge, so far I do not feel able to rule out an attack or a trojan app, from what I can see she could have activated the strange menu by accident. Via internet research I only found one individual with the same problem, but no solution at all.  Question(s)  What can I do to determine the cause? Should I contact the provider/manufacturer? Is it safe to assume that her data & accounts are not compromised?  I know it is little information, so please bare with me, I just want to prevent damage.  Thanks for any advice.  TL;DR  Lenovo IdeaTab showed strange chinese/asian-symbols-menu, gone after reboot, do what now?


I recentely tried to log-in / sign-up for  using my SE account (which works on ,  and sign-up here) but it showed me an OpenID related error. (See below)  I could reproduce this error across multiple days and browser refreshes and using my other OpenID provider.  Error message (shown in red, obfuscated my e-mail address):  Unable to log in with your OpenID provider:  The openid.return_to parameter (http://area51.stackexchange.com/users/authenticate/?s=bd394805-cf55-4e8e-ad73-21485a09a989&dnoa.userSuppliedIdentifier=https%3A%2F%2Fopenid.stackexchange.com%2Fuser%2F642b1038-5c91-40d4-83ab-eb92db46c3d1) does not match the actual URL (https://area51.stackexchange.com/users/authenticate/?s=bd394805-cf55-4e8e-ad73-21485a09a989&dnoa.userSuppliedIdentifier=https%3A%2F%2Fopenid.stackexchange.com%2Fuser%2F642b1038-5c91-40d4-83ab-eb92db46c3d1&openid.claimed_id=https%3A%2F%2Fopenid.stackexchange.com%2Fuser%2F642b1038-5c91-40d4-83ab-eb92db46c3d1&openid.identity=https%3A%2F%2Fopenid.stackexchange.com%2Fuser%2F642b1038-5c91-40d4-83ab-eb92db46c3d1&openid.sig=4emyzuA31ChHU0LabPGJXldbN8GeKN%2FFBJXJy69yD10%3D&openid.signed=claimed_id%2Cidentity%2Cassoc_handle%2Cop_endpoint%2Creturn_to%2Cresponse_nonce%2Cns.alias3%2Calias3.mode%2Calias3.type.alias1%2Calias3.value.alias1%2Calias3.type.alias2%2Calias3.value.alias2&openid.assoc_handle=hrQL%21IAAAAGzBtFeNGBLU2o04XSWr7ISRAbO-B2tZCK3L61IzAsuQQQAAAAEdoTN6rf9fqaP1oekJGXGXJeB8fNSVuByptp5yx1VpQbAzQwF6HJzh6a0DwedydNJ-wwpJQoN5dOLEFmndZt-L&openid.op_endpoint=https%3A%2F%2Fopenid.stackexchange.com%2Fopenid%2Fprovider&openid.return_to=http%3A%2F%2Farea51.stackexchange.com%2Fusers%2Fauthenticate%2F%3Fs%3Dbd394805-cf55-4e8e-ad73-21485a09a989%26dnoa.userSuppliedIdentifier%3Dhttps%253A%252F%252Fopenid.stackexchange.com%252Fuser%252F642b1038-5c91-40d4-83ab-eb92db46c3d1&openid.response_nonce=2015-06-12T12%3A30%3A42Z7tADDeYZ&openid.mode=id_res&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.alias3=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&openid.alias3.mode=fetch_response&openid.alias3.type.alias1=http%3A%2F%2Faxschema.org%2Fcontact%2Femail&openid.alias3.value.alias1=mycorrectaddress%40web.de&openid.alias3.type.alias2=http%3A%2F%2Faxschema.org%2FnamePerson&openid.alias3.value.alias2=SOJPM) the request was made with.    As noted in the comments I'm not the only one, so I'd guess it may be not something I can fix. So will this be fixed?  Repro steps (using SE OpenID):   Get an Stackexchange OpenID account (like I have) (optional?) Add other OpenID providers and check they're working (StartSSL in my case) Please note: "You" don't have an "account" for the Area 51 subpage yet and still need to do the initial sign-in. Go to the Area 51 SE page Hit "Log-in" in the top-bar Hit the "log-in using stackexchange" button Enter your e-mail and password and submit Get the above error   Repro steps (using other OpenID)   Perform as above (until step 4), but this time step 2 is mandatory Hit "more OpenID options" Provide your OpenID link XXX.provider.com (works on crypto, server fault, ...) Authenticate against your provider Receive a variation of the above error (can be included if needed)


What happens to a Guest account when upgrading from Windows 7 to Windows 10?

I'm presently running Windows 7 and use the Guest account.  When I run the "Get Window 10" app (the app in the the System Tray) and click the link to the "View record" from the "This PC is compatible" it says "You won't be able to use the Guest account on Windows 10".  Right now a Guest account is used by one of my kids so there are a number links, etc I want to save.  What happens to a Guest account on upgrading from Windows 7 to Windows 10?


I can't install GIMP, it says something about unmet dependencies.  The following packages have unmet dependencies:  gimp: Depends: python-gtk2 (>= 2.8.0) but 2.24.0-2 is to be installed       Depends: libc6 (>= 2.11) but 2.13-20ubuntu5.1 is to be installed       Depends: libfontconfig1 (>= 2.8.0) but 2.8.0-3ubuntu2 is to be installed       Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but 2.24.0-1ubuntu1 is to be installed       Depends: libglib2.0-0 (>= 2.31.2) but 2.30.0-0ubuntu4 is to be installed       Depends: libgs9 (>= 8.61.dfsg.1) but 9.04~dfsg-0ubuntu11.5 is to be installed       Depends: libgtk2.0-0 (>= 2.24.0) but 2.24.6-0ubuntu5 is to be installed       Depends: libgudev-1.0-0 (>= 147) but 1:173-0ubuntu4.2 is to be installed       Depends: libjpeg62 (>= 6b1) but 6b1-1ubuntu2 is to be installed       Depends: librsvg2-2 (>= 2.14.4) but 2.34.1-2 is to be installed       Depends: zlib1g (>= 1:1.1.4) but 1:1.2.3.4.dfsg-3ubuntu3 is to be installed


Having bought a return flight cheaper than a one-way, do I have to fly the second leg of the ticket?

I purchased a ticket to fly from NYC to Santiago, Chile with a return from Bogota to NYC. Buying a round trip ticket from Santiago to Bogota is cheaper then one way so I wanted to lose the second leg of the ticket. Does anyone foresee any issues with this? It won't interfere with my Bogota to NYC flight will it?


Prove that $\sqrt{3}$ is not a rational number

There is a  however that question asks why $3 |p^2$. Here the question is about $ 3 | p^2 \rightarrow 3 | p$.   It is a simple exercise (1.2.1) from Abbot's "Understanding Analysis".   $\nexists p,q \in \mathbb{N} : \left(\dfrac{p}{q}\right)^2 = 3$   $p$ and $q$ have no common factors, otherwise they would cancel each other out.  Contradiction:  $p^2 = 3q^2$   The troublesome part for me is      From this, we can see that $p^2$ is a multiple of 3 and hence $p$ must   also be a multiple of 3.   Why is that?  The proof goes on with   $p = 3 r$  $q^2 = 3r^2 \rightarrow q = 3 \lambda$.   It concluses now that $q$ and $p$ have common factors, which invalidates the original statement.   How can I prove $p^2 = 3q^2 \rightarrow p = 3 r$? If this is not true, then I don't see how the contradiction proves the statement, since it only invalidates it for such $p,q$ that have common factors.   What if $p^2 = 3q^2$ and $p \ne 3 r$?


What was the reason for the Night Watch men's treatment of Jon Snow?

In Game of Thrones season 5 episode 10 Mother's Mercy, the watchmen at Castle Black lure Jon Snow outside and lead him to a sign with the word traitor painted on it where a group of mutineers are waiting, and they stab him repeatedly in the abdomen. These mutineers are enraged at Snow's orders to allow the wildlings through the wall.  If they're so opposed to his plan to allow the wildlings through the wall, why didn't they simply refuse to open the gate for him when he returned to the wall with the wildlings? They could have prevented the outcome they opposed rather than merely taking revenge on Jon Snow after it was already too late to stop the wildlings from crossing.


Can I update my Ubuntu 16.04 to 17.10  Yes/no  If yes. How can I update my Ubuntu  Thanks in advance :)


Why isn't there a server edition for Fedora like Ubuntu?

I was looking for a server edition of Fedora to download, and just found that they don't have one. It's very strange to me. If Ubuntu has both desktop and server editions, why doesn't Fedora follow suit?


Bash script to overwrite/append destination file with options menu

I'm trying to write a bash script to prompt a user for a filename, and if the file exists, allow them to overwrite or append the file.  For some reason, I keep getting returned with a syntax error despite having an issue.  Unfortunately, I am not as familiar with Bash as I am with Python, and find myself confusing the syntax of the two.  Nevertheless, please see below:  #!/bin/bash echo "Please enter the name of your destination file: " read destFile if [ -f "$destFile" ]; then     echo "This file exists." fi echo "Please enter the name of your source file: " read sourceFile echo "Do you want to 1) Overwrite, 2) Append, 3) Exit?" echo "Please select your option: " options=("Overwrite" "Append" "Exit") while [ -e "$sourceFile" ]; do     select opt in "${options[@]}"; do         case "$opt" in         "Overwrite")             cp "$sourceFile" "$destFile"             echo "Copy Completed."               ;;         "Append" )             cat "$sourceFile" >> "$destFile"             echo "Append Completed."             ;;         "Exit" )             echo "Script Terminated"             break             ;;         esac         break     done done


How to add a keyboard modifier state applet to Unity panel?

I am a KDE user thinking about moving to Unity. Due to manual disability, I use  and in KDE I have an applet in the system panel which shows which modifier keys are active. I remember that Gnome had this feature as well, so do Windows and OS X.  How does one ad the keyboard modifier state applet to the panel in Unity?  Clarification: I have already enabled sticky keys. I am asking how to add an applet which indicates the state of the modifier keys. This indicator would show when the Shift key is depressed, when the Alt key is depressed, when the Tux key is depressed, and when the Ctrl key is depressed. This applet exists in all major desktop environments (KDE, Windows, Mac OSX, and Gnome). It is necessary for accessibility of the desktop.  Here is an image of the keyboard modifier state applet, next to the keyboard layout indicator applet. The modifiers represented are, from left to right, Shift, Ctrl, Alt, I-dont-know-this-one, Tux/Win, NumLock, and CapsLock. It can be seen that the NumLock key is active.


Thread with runnable vs without runnable

Could you please give a short explanation of whether there is a significant difference between the following thread implementations:  // Method 1 Thread aThread = new Thread() {     @Override     public void run()     {         // do some work     } };  aThread.start();  // Method 2       Thread bThread = new Thread(new Runnable() {     @Override     public void run()     {         // do some work     } });  bThread.start();   I tried to find similar questions in stackoverflow, but couldn't succeed. Sorry, if it is already discussed before.


How to display animation in a JTable cell

I am looking for a way to display an animated progress indicator (animated GIF, a rotating wheel rendered through Java2D etc., no preference here) in a table cell until the value that is to be finally displayed has been computed or retrieved.  So far I have just put a static "pending..." text into each cell that is not yet ready to speed up display. As data arrives from a background thread I put it into the appropriate cell and call repaint on the table.  With a static label or image this works fine, but because the cell rendering uses this only as sort of a rubber stamp and does not create separate instances per cell (which of course is a good idea performance-wise) an animated GIF for example does not "play" in the individual cells.  How can I achieve such an effect? It would make for a more "polished" UI than just a simple text.


Show using the Poisson distribution that   $$\lim_{n \to +\infty} e^{-n} \sum_{k=1}^{n}\frac{n^k}{k!} = \frac {1}{2}$$


Very spartan (and ugly) rendering of osd-notify messages

I'm running a fairly bare-bones X11 environment on Ubuntu 14.10. I use the i3 window manager and try not to install anything X-related that isn't strictly necessary. But it seems I've gone a little too far in uninstalling things, as my osd-notifications are now really ugly. The command notify-send "test" yields a blue rectangle with white letter instead of the nice, round-cornered alert box I'm used to.  The problem is, I can't seem to find the package I have to install to make this look like it does on a fresh desktop install again. I've tried comparing the list of packages I've got installed with the list from the 14.10 LiveCD, but can't find any obvious candidates.  Anyone have any ideas?


Solve the integral $\int \frac{3\cos x+7\sin x}{5\sin x+2\cos x}dx$

I think it is necessary to do the replacement. That's just what?  $$\int \frac{3\cos x+7\sin x}{5\sin x+2\cos x} dx$$


I am preparing a presentation on statistics. I want to include a slide on Bayes' Theorem which says:  p(\theta | D) = \frac{p(D|\theta) p(\theta)} {p(D)}   I want to explain each term using arrows. How can I do this?  I tried to follow this  but my main problem is that I have a fraction. How can I split the fraction?   is exactly what I want to do. Without the last line.


Expected value of product of dependent random variables

$X_1$ and $X_2$ are two independent random variables whose expected values are known. I am trying to find the expected value of $(X_1/(X_1+X_2))$. Since $X_1$ and $X_1+X_2$ are dependent, I tried to use the formula for covariance to calculate the expected value of the product but this results in variance ($X_1$) being part of the resultant expression which is unknown. Is there any other way of finding the expected value of the expression $(X_1/(X_1+X_2))$?


How to remove an item from a string array

Let's say I have a String array with multiple items in it String[] dog = {"doggy","doggo","BigDog","dawgg"};  How do I remove "doggo" from the string array?


In Python I am trying to make a function that can accept 1 or more arguments. For simplicity let's say I want to make a function that prints all the arguments that are passed  def print_all(**arguments**):     print(arg1, arg2, ..., argN)   so print_all("A", "B") would output AB.  The number of arguments passed could be 1 or more strings.  What is the best way to do this?


Handshake in a load balanced system with SSL pass-through

Let the load balancer pass SSL/TLS-encrypted data through to the servers. I wonder how a hanshake is processed if a new HTTPS connection to a client is established: Handshaking is a stateful communication. For instance, in order to verify the client's finished message, the server needs to know all handshake messages that has been exchanged between server (farm) and client so far. Hence, - as far as I can see - there are three possibilities:    SSL/TLS data are hold in a cache that is shared by all servers  The content of the handshake messages is replicated to all servers.  The load balancer directs all handshake messages from the client to the same server.    Question: Which scenario is typically used in such an environment ? Are there further policies in handling handshakes that I missed ?     Added: I'm faced with the claim that my question is a duplicate and I'm told to edit my question in order to explain why it is different from . So here is my comparison between my question and the other question:    a) I figured out three options to handle https state in an load balancing environment and asked which of these (or maybe other ones) are used in practise.   b) In the other question the OP uses option 3 ("same server"), i.e. all requests  with same IP are routed to the same server. However, since most of their clients use the same IP lb doesn't work well and OP asks for a way out. Four and a half out of five answers give suggestions that, in effect, keep option 3 above. One part of an answer there ("DNS for target server"), I didn't understand.   So the question is still, if the options 1 ("ssl cache") and 2 ("replication of ssl hanshake data") are in used in practise. The article  seems to favor option 1 (see "4. Dedicated SSL-Cache Farm").


Convert a String representation of byte[] back to an byte[]

I have a String variable say string that I converted into byte[] and then I encoded the same using Base64 in as byte[] say encodedByteArr. Using the below code:  String string = "Test"; byte[] encodedByteArr= null; ByteArrayOutputStream bos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(bos); oos.writeObject(check); encodedByteArr= Base64.encodeBase64(bos.toByteArray()); oos.flush(); oos.close(); bos.close(); System.out.println("Encoded value is:- "+encodedByteArr);   Output is:     Encoded value is:- [B@5fd0d5ae   Now, I receive the same encoded value in another method as a String, which means:  String string = "[B@5fd0d5ae";   And it is nothing but a String representation of byte[] which I generated in above code.  Now my task is to actually decode the value and get back the original text back, that is "Test".  And for that, I want the String representation of byte[] back to a an byte[] without losing its integrity.


What would you call someone who loves music? For example, a person who loves books is called a bibliophile. Someone who loves movies is called a cinephile.  I am trying to write a character description - Matthew, a cinephile, bibliophile and a (word that indicates music-lover and preferably ends in -phile).


Getting Information out of Blackbox Models - RandomForest / XGBoost

I have been working at a new company for around 4 months now as a statistical modeling analyst, and the existing data science manager and modeling analysts are very familiar with regression techniques, but not newer techniques such as Random Forest and XGBoost. I have built some models for them using these techniques which have shown good results, but they are concerned with the interpret-ability of the models for business use. They want to be able to explain what is happening within the models so that we can explain to our business units what the model is doing.  I am familiar with Importance in Random Forest, and have messed a little bit with importance in XGBoost, and the model plotting in XGBoost, but I was wondering if any of you had ways of getting more information out of these models in order to better explain what is happening and how many a certain variable might be impacting the model.  I know that these models are somewhat blackboxish as to exactly what is happening, but if I could extract as much information as possible from them then I can make a good case for us as a team to start transitioning to using these models more as a team.  I appreciate any advice that anyone can give.


What will happen to a camera if it is taken to an environment beyond its operating temperature?

I notice that most camera have operating temperature of 0 degree Celsius to 40 degree Celsius. As for weather-proof camera, they can usually operate at -10 degree Celsius to 40 degree Celsius.  So, I was wondering if the camera can be used in the following temperature:     Above 40 degree Celsius (maybe in a desert or a sauna room) Below -10 degree Celsius (maybe in Antarctica or heavy snow)   From what I understand, most DSLR are able to withstand -10 degree Celsius. (Do correct me if I am wrong). However, I doubt any camera can withstand far beyond their temperature tolerance but would like to know if any camera experts did take their camera to their extremes.      by :  I have a canon t3i and I am curious to know just how much heat they can handle. I've seen proof that they can handle short bursts of , but long-term heat is another matter. I live in Texas and it's not uncommon for +110F temps in the summer.  If I leave that camera in the trunk - will it be ruined? Will the sensor quality go down? I want to take my camera with me everywhere - but if there is no air-conditioned area to keep the camera in I am worried I'll ruin it and be left without a camera.  , I should not be using the camera above 104F/40C - but what about the non-working range where I have it sitting somewhere?


THIS IS NOT A DUPLICATE. It looks like it is, on the surface, but the solution for the other problems does not apply.  When I run the following method under Java 1.7, I get a null pointer exception at  normalOutCurrVals.put(new Double(x), new Byte(i));  I have read the documentation and the answers here for closely related problems, but so far I and my team are stumped. Is there something obvious that we are missing?  We simply wish to put in the mappings from double values (that appear on our programs UI) over to their byte counterparts for storage in a simulated device's memory.  Here are the importants declarations:  public final Map<Double, Byte>   normalOutCurrVals =   mapNormalOutCurrVals(); public final Map<Double, Byte>   magnetOutCurrVals = mapMagnetOutCurrVals(); public final Map<Integer, Byte>  freqVals          = mapFreqVals(); public final Map<String, Byte>   onTimeVals        = mapOnTimeVals(); public final Map<String, Short>  offTimeVals       = mapOffTimeVals(); public final Map<String , Short> pulseWidthVals    = mapPulseWidthVals();   Any help would be greatly appreciated.  private Map<Double, Byte> mapNormalOutCurrVals(){      Map<Double, Byte> map = new HashMap<Double, Byte>();     double x = 0.000;     byte i = 0;      //first set of normal output currents     while (x <= 2.000){         normalOutCurrVals.put(new Double(x), new Byte(i));         x += 0.125;         i++;     }      while (x <= 4.000){         normalOutCurrVals.put(new Double(x), new Byte(i));         x += 0.250;         i++;     }      while (x <= 8.000){         normalOutCurrVals.put(new Double(x), new Byte(i));         x += 0.500;         i++;     }      return map; }


Description of varieties in $\mathbb{P}^2\times \mathbb{P}^1$

If $[x:y]$ are coordinates of $\mathbb{P}^1$ and $[X:Y:Z]$ are coordinates of $\mathbb{P}^2$, what do the following varieties look like?   $V(x^2X+y^2Y+xyZ)\subset \mathbb{P}^2\times \mathbb{P}^1$ $V(x^2X^2+y^2Y^2+xyZ^2)\subset \mathbb{P}^2\times \mathbb{P}^1$   As of now, I don't quite know how to visualize these varieties. A detailed geometric picture would be especially welcome.


Since the last update whatever I do anything on my system a sound erupts like if i change the brightness using F2 and F3 keys or change volume or open any drive or folder or any file a voice repeats the whole process like on pressing down volumeF8 key a voice  volume  19 erupts from  speaker or I open any folder sound erupts that "new folder" is open.do anybody has idea what is happening on key press or opening any file or folder why this sound is coming whatever I do on my system. whatever I browse on Firefox any site anything I type it is repeated I am typing this question and it is being read out


Why does light bend towards the normal when passing from a rarer to a denser medium?

Whenever light rays are entering a denser medium they bend towards the normal.  Why do rays choose the path towards the normal? Why cannot they choose the path away form the normal?


Installing Kali tools into UBUNTU 14.04 LTS

How can I install all the tools of Kali Linux in Ubuntu 14.04 LTS? What are the sources of these tools?


How to install Brave web browser for 32-bit lubuntu 16.04?

Trying to install as directed, my Terminal output contains the following:  user@user-computer:~$ snap install brave --beta The program 'snap' is currently not installed. You can install it by typing: sudo apt install snapd user@user-computer:~$ sudo apt install snapd [sudo] password for user:  Reading package lists... Done Building dependency tree        Reading state information... Done The following packages were automatically installed and are no longer required:   ibus-mozc libllvm3.8 libmircommon5 linux-headers-4.4.0-21   linux-headers-4.4.0-21-generic linux-headers-4.4.0-93   linux-headers-4.4.0-93-generic linux-headers-4.4.0-96   linux-headers-4.4.0-96-generic linux-image-4.4.0-21-generic   linux-image-4.4.0-93-generic linux-image-4.4.0-96-generic   linux-image-extra-4.4.0-21-generic linux-image-extra-4.4.0-93-generic   linux-image-extra-4.4.0-96-generic Use 'sudo apt autoremove' to remove them. The following additional packages will be installed:   squashfs-tools The following NEW packages will be installed:   snapd squashfs-tools 0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded. Need to get 8,625 kB of archives. After this operation, 41.8 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ftp.riken.jp/Linux/ubuntu xenial/main i386 squashfs-tools i386 1:4.3-3ubuntu2 [111 kB] Get:2 http://ftp.riken.jp/Linux/ubuntu xenial-updates/main i386 snapd i386 2.28.5 [8,514 kB] Fetched 8,625 kB in 2s (4,261 kB/s)  Selecting previously unselected package squashfs-tools. (Reading database ... 265067 files and directories currently installed.) Preparing to unpack .../squashfs-tools_1%3a4.3-3ubuntu2_i386.deb ... Unpacking squashfs-tools (1:4.3-3ubuntu2) ... Selecting previously unselected package snapd. Preparing to unpack .../archives/snapd_2.28.5_i386.deb ... Unpacking snapd (2.28.5) ... Processing triggers for man-db (2.7.5-1) ... Setting up squashfs-tools (1:4.3-3ubuntu2) ... Setting up snapd (2.28.5) ... user@user-computer:~$ snap install brave --beta error: snap "brave" not found (at least in channel "beta") user@user-computer:~$  (/usr/lib/firefox/firefox:3115): dconf-WARNING **: Unable to open /var/lib/menu-xdg/dconf/profile/user: Permission denied   Is the problem that my laptop is 32-bit and this software is 64-bit? Should I change the server to a different country? (How would I do that?)  I suspect the answer is that there is no 32-bit version available, that snap automatically takes into account my processor type, and hence there are no installation files in the 32-bit channel.


How do you size the camera to fit the size needed on the youtube channel art? It says it's too small when I upload the image. I need to make the camera at least 2048 x 1152 pixels. It would be nice to have it at 2560 x 1440 pixels though. I tried the other questions, but it didn't make it any wider than it was before. The Y and X values under Resolution in Dimensions Under Render Settings just made the camera taller.


How can i mount hard disk partition without deleting files?

I got this error, when I tried to open my partition ...  Error mounting /dev/sda1 at /media/gr3ch/28DA3B12DA3ADC2E: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda1" "/media/gr3ch/28DA3B12DA3ADC2E"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda1': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.   In this partition I didn't have windows , I have installed Ubuntu where I have Windows 8 after installation Linux I can't open partition .


How to backup all my data from a server?

I need to backup all my data from a server (in 10 minutes), preferably keeping the symlinks.


The number of non normal subgroups of a group cannot be $1$?

Let $G$ be a group. Let $n$ be the number of subgroups of $G$ that are not normal. Prove that $n\not=1$.     When $G$ is Abelian, then this is trivial since $n=0$. For the non-Abelian group $G$, I have to show that $n\geq 2$. But I don't see how to go on. Any hint?


I understand the explanation, for example, about a light beam reflecting between two mirrors on the space craft. But what I am looking for is what aspect of traveling at very high velocities must slow down every single process that is time dependent.  Is it anything like the inertia of every particle increases so in some sense the it takes more energy to cause, for example, a chemical reaction to occur?


Is there any software for cleaning Windows' temp folder?

Is there any software for cleaning Windows' local settings / temp folder?   With no installing, not many options, just a simple, nice interface with buttons to do what's needed and which wouldn't scare the younger users. Explicitly made for clearing the temp folder? Or maybe there is some command which can be run in  (cmd.exe)?  It's just that  has some weird bug. It stores the files in this folder and now I and few other users are experiencing problems with files being used, not found and lot of mess generally which I guess is caused by the files being stored in this folder and not overwriting.  So it's kind of a hard situation here..  does not help in clearing this folder and  is very confusing for young users and people not into the OS.


test for a propertie in JSON project to be empty?

I have the following JSON object that is passed to one of my functions …  {"action":"setProjectAll", "application":{"proId":"new","zoomPosition":35,"scrollerPosition":0,"language":"en","timelinePosition":0}, "clips":[]}   How can I test this object for the propertie "clip" to be "[]" (empty)? Right now in the example above it is empty, however since the object is dynamic I need to test for that property if it contains values or not.   How can that be done? thank you


real values of $x$ in $\sqrt{5-x} = 5-x^2$.

Calculate the real solutions $x\in\mathbb{R}$ to      $$ \sqrt{5-x} = 5-x^2 $$   My Attempt:  We know that $5-x\geq 0$ and thus $x\leq 5$ and  $$ \begin{align} 5-x^2&\geq 0\\ x^2-\left(\sqrt{5}\right)^2&\leq 0 \end{align} $$  which implies that $-\sqrt{5}\leq x \leq \sqrt{5}$. Now let $y=\sqrt{5-x}$. Then  $$ \tag1 y^2=5-x $$  and the equation converts into  $$ \begin{align} y &= 5-x^2\\ x^2 &= 5-y\\ y^2-x^2 &= 5-x-(5-y)\\ y^2-x^2 &= y-x\\ (y-x)(y+x)-(y-x) &= 0\\ (y-x)(y+x-1) &= 0 \end{align} $$  So either $y=x$ or $x+y=1$.  Case 1 ($y=x$):  We can plug this into $(1)$ to get  $$ \begin{align} y^2 &= 5-x\\ x^2 &= 5-x\\ x^2+x-5 &= 0\\ x &= \frac{-1\pm \sqrt{1+20}}{2} \end{align} $$  Since $-\sqrt{5}\leq x\leq \sqrt{5}$, the only solution is  $$ x = \frac{-1+\sqrt{21}}{2} $$  Case 2 ($y=1-x$):  We can plug this into $(1)$ to get  $$ \begin{align} y^2 &= 5-x\\ (1-x)^2 &= 5-x\\ 1+x^2-2x &= 5-x\\ x^2-x-4 &= 0\\ x &= \frac{1\pm\sqrt{17}}{2} \end{align} $$  Since $-\sqrt{5}\leq x\leq \sqrt{5}$, the only solution is  $$ x = \frac{1-\sqrt{17}}{2} $$  So final solution is  $$ x \in \left\{\displaystyle  \frac{1-\sqrt{17}}{2}, \frac{-1+\sqrt{21}}{2} \right\} $$  Is it possible to solve this problem using geometry? For example, could we use the properties of a half-circle and a parabola?


Is there a way to submit privately to claim intellectual property

Hypothetically, if I had an idea to improve an algorithm/theorem but  I wasn't sure it was correct, or I wasn't sure it was significant or meaningful or hasn't already been published in a different form/somewhere else already or wasn't sure where to submit something like this .  is there somewhere I could submit a manuscript first privately to secure any intellectual property rights while I think about whether it is worth submitting or trying to do some more work on this and try to understand the field a bit better?


How to Switch out Windows 10 Home in S Mode

Please let me know how to disable Windows 10 Home in S Mode?  Already I followed following steps: Microsoft Store App > In the app, search for "switch out of s mode"  On the Switch out of S mode, selected Get button but it says unable to upgrade Try again.  Let me know, how to disable Windows 10 Home in S Mode?  Regards John


How to get MAC Address of system using Angular 4

How do I get MAC address of system using Angular, JavaScript, TypeScript or any other techniques.  I just want to store the MAC address of system for to just check whether that system used earlier or not.  Please help me out from this issue.


Let $R$ be a ring and $I$ the set of non-invertible elements of $R$.   If $(I,+)$ is an additive subgroup of $(R,+)$, then show that $I$ is an ideal of $R$ and so $R$ is local.   $$$$   I have done the following:   Since $(I,+)$ is an additive subgroup of $(R,+)$, we have that $\forall a,b \in I$ : $ab\in I$.   But how can we show that it holds that $ax\in I, \forall a\in I, \forall x\in R$ ?


I recently bought a Canon Pixma ip2700 printer. I tried to install it, and the computer wouldn't let me, saying it was not compatible with the current operating system. I think I don't know enough about wine and would like to learn more. I was able to successfully install MIDIsport, but that's it. What am I doing wrong?


Why can't the 'and' and 'or' logical operators be overloaded in Python?

I noticed the 'and' and 'or' logical operators were not defined with a corresponding method in the operator module of the Python standard library. Why can't these operators be overloaded like the others?  Is there official Python documentation that describes this design choice? I could not seem to find any online.


how to gdb a program containing parameters

often i see some gdb guide using examples without parameters. But in parctice, i need to gdb debug a programe with parameters.    this program is run as "./voronoi -t outputfile", -t is programme voronoi itself parameter,  is input, and outputfile is outputfile.  but when i using "gdb ./voronoi -t outputfile", it will tell me some error, but when using no gdb debug, run "./voronoi -t outputfile" is OK.  How make it both can gdb debugging and aslo with parameters? How to set the parameters?


How do I write a mathematical equation for ARIMA (0,2,1) x (0,0,1) period 12

I would appreciate if someone could help me write the mathematical equation for the seasonal ARIMA (0,2,1) x (0,0,1) period 12. I'm a little confused with how to go about this. I would prefer an equation involving $Y_{t}$ , $e_{t}$, $\theta$ and $\Theta$.   I really don't want an equation involving the backshift operator.


I came a cross a problem I could not solve today:     If matrices $A$ and $B$ satisfy $A^4 = 0$ and $B=I-A$, prove that $$B^{-1}=I+A+A^2+A^3$$   I doubt they expect me to start calculating 4 matrices that would have a,b,c,d  values in them etc  I'd love to know how to work with a powered matrix :)  thanks in advance


Decompose Poisson random variable as sum of Poisson random variables

If $X,Y$ are independent Poisson random variables with parameter $\lambda_1, \lambda_2$, then $X+Y$ is Poisson random variable with parameter $\lambda_1+\lambda_2$. I am wondering whether the converse if true, given a poisson random variable on a probability space $(\Omega, \mathcal{F},P)$, can we always decompose it into independent poisson random variables with parameter $\lambda_1,\lambda_2$ such that there sum is the given random variable?


Fejer kernel, an alternative definition on (0,1)

Show that the Fejer kernel $$F_N(x) = \sum_{-N}^{N} \left( 1 - \dfrac{|n|}{N}\right)e_n$$ where $e_n(x) = e^{2\pi i n x}$ is the trigonometric monomial, can be written as  $$F_N(x) = \frac{e^{\pi i (N-1)x}\sin (\pi N x)}{\sin (\pi x)}$$ on the interval $(0,1)$.  Until so far I have researched, found and proven that $$F_N(x) = \frac{1}{N} \left|\sum_{i=0}^{N-1}e_n \right|^2$$ which is a gread leap for me, but not really for the whole proof. I also found a hint saying that I should use the geometric sums $$\sum_{i=0}^{N-1}e_n = \frac{e_N - e_0}{e_1 - e_0}$$ However, I do not know how that helps me. Any hints on how I can proceed would be greatly appreciated!


$\mathbb Z/n\mathbb Z$ and finding non-zero $y,z$ such that $yz =0$

Find  $\mathbb Z/25\mathbb Z$ $ab=0.$  I really am lost on how to start the question. Can anyone throw me a bone?


Is this external hard-drive failing? (clicking noise, not recognized on Windows)

My uncle gave me a hard-drive to troubleshoot. When I plug it to the power and USB the hard-drive does a clicky sound () which sounds kinda weird but it's already a sign of failing. If I incline the disk it stops but this disk can't be detected in Disk Management as well.  This disk is already dead?


As my textbook stated we use a convex lens of small focal length $f$ to keep an object at a distance such that the image is produced at a distance $D$ (our least distant clear vision point is around $25\ {\rm cm}$). Then the magnification that comes assuming non-marginal rays is $1 + \frac{D}{f}$. Why can't we keep reducing $f$ in order to get more magnification? Why is there a limit to which a simple microscope magnification?


I noticed today that in the pilot of Star Trek: The Next Generation, Data shows Riker one of the four "walls" of the Holodeck by throwing a rock at it. Thus, it seems logical that the Holodeck would be bounded by these walls, making it the size of the actual room only.  Yet, throughout the series ("The Big Goodbye", "Booby Trap", "Emergence", "Ship in a Bottle", and so on...) the Holodeck appears to extend regardless of the room and (more importantly) the characters in the Holodeck are able to move around in the environment with no limitations. Even when characters move in opposite directions, they still are not limited by the actual Holodeck room. Why is this?  tl;dr Why are there seemingly no limitations on the Holodeck with regards to area?


First port of entry for Schengen visa holders

I hold a short stay visa issued by Switzerland. In my itinerary, I mentioned Zurich as the first port of entry. But, I would like to change my travel plan with Paris as the first port of entry and then to Switzerland (Zurich) where I stay for longer duration. Shall I be permitted?


How can I see full program name in GNOME search bar?

I've installed a Citrix client on my laptop and when I now search for it, I see this:    They seem identical, but maybe the title of the programs is different. How can I see the full title of those programs in this search window?


Mean distance from origin after $N$ equal steps of Random-Walk in a $d$-dimensional space.

I am looking for a formula that evaluates the mean distance from origin after $N$ equal steps of Random-Walk in a $d$-dimensional space. Such a formula was given by "Henry" to a question by "Diego" ()  $$\sqrt{\dfrac{2N}{d}} \dfrac{\Gamma(\frac{d+1}{2})}{\Gamma(\frac{d}{2})}$$  I will be very gratefull if you can give me reference to an article that show how this formula was derived. Thanks!


Hey I'm traveling to Canada via LAX from Australia on a non connecting flight. Do I need a visa for the USA in this case, or can I change flights without a visa


Can feedforward NN handle discontinuous functions?

Hi I am trying to simulate the flow of water through a porous medium using ANNs. I have managed to get good result when the porous medium is homogeneous, however when it isn't the network seems to struggle to capture sharp changes in the water flow.  In the example below a change in the porous medium properties lead to a "kink" in the test data (obtain using standard numerical techniques in my field) which cannot be captured by my simple neural network.  The neural network has 2 inputs a distance x and a time t, 2 hidden layer with 7 neurons, and an output layer with 1 neuron. The weights and biases are randomly initialized between -1 and 1. I tried increasing the number of neurons in the hidden layer up to 80 without getting any better.  I was wondering what the next step should be, should I add more training data from around the boundaries of the kinked areas ? Should I add a few more hidden layers to my network ?      Thanks !


$\sigma$-algebra with cardinality $\aleph_0$

Can a $\sigma$-algebra in a set $X$ have cardinality $\aleph_0$, the cardinality of the naturals?  I do not have a clue on how to start with this? Can someone please give me a hint?


Is it possible to put the entire Program Files/Program Files (x86) folder to a different location. Not just change it in the registry so the default installation folder is different. But even things like Windows Defender?  This would make it so only the windows and the users folder would be on the main hardrive/partition.  Thanks in advance


Export a System.Web.UI.WebControls.Datagrid to an Excel file in C#?

How do I export a System.Web.UI.WebControls.Datagrid to an Excel file in C#? (without any 3rd party sw). Note that I am starting with a DataGrid, not GridView or DataGridView. I see examples for this with DataGrid and DataGridView on SO, but not DataGrid. I also see examples like this:  which converts to html and apparently has performance issues.


exact meaning of feeling a bit off colour in British English?

What does it mean for a Brit to say "I'm feeling a bit off colour today."?  An Australian told me it could mean "upset," but I find his explanation contrary to dictionary definition. So I was trying to seek more feedback here.   Could it be that the dictionary fails to reflect the reality here?  I'd appreciate comments from Brits.


Find area of shaded region between circles inscribed inside a square

Find the area of the shaded region such that the measure of a side of the square is $x$ unit.    Here is my plan and incomplete solution:  Step 1: I need to subtract the area of the circle from the area square and divide it by $4$. I denote the resulting area as $A_1$  $A_1 = \dfrac{x^2(4-π)}{16}$ square units  Step 2: Next is I need to subtract the area of a quarter circle with radius $x$ unit from the square. I denoted this resulting area as $A_2$.  $A_2 = x^2\left(1-\dfrac{π}{4}\right)$ square units  Step 3: My next plan is to subtract $A_1$ from $A_2$. The result is denoted as $A_3$.  $A_3 = \dfrac{3x^2}{16}(4-π)$ square units  I was stock in step 3. I know that I still need to remove a certain portion to get the area of the shaded region.


What is the formal definition of fraction?  Everyone says something different.  Thank you for your answers.


How do I eliminate the vertical realignment when using arrayrulecolor with cmidrule?

I'm using consecutive \cmidrule commands in conjunction with \arrayrulecolor to alternately hide and unhide horizontal rules in a table.  However, when \arrayrulecolor is used with \cmidrule, some odd vertical spacing is introduced. I'd like to eliminate it.  (I'm using longtable, so a colorbox, minipage, or anything else tied to a page won't work.)  Below is an image that introduces the challenge. The first block shows a \toprule.  My goal is to create a shaded border around the table, so I've added a dummy column.  The second rule shows a \cmidrule that skips the first column.  The third block shows how I can use a \cmidrule to fill in the whitespace with a shorter \cmidrule.  Finally, I want to recolor this short \cmidrule to the background color and restore the color later.  Note the jagged vertical skipping in case 4 compared to case 3.  Why would \arrayrulecolor change vertical alignment?  How can I eliminate the jagged edges?    Here is the code:   \documentclass[11pt]{article}  \usepackage{longtable} \usepackage{booktabs} \usepackage{color} \usepackage{xcolor} \usepackage{colortbl}  \setlength{\aboverulesep}{0pt} \setlength{\belowrulesep}{0pt} \setlength{\extrarowheight}{0.25ex}  \newcolumntype{L}{>{\columncolor[gray]{0.8}}l} \newcolumntype{C}{>{\columncolor[gray]{0.8}}c} \newcolumntype{R}{>{\columncolor[gray]{0.8}}r}  \begin{document}  \textsf{ \begin{longtable}{LLLLL}  & \multicolumn{3}{@{}L}{\small {\tablename\ \thetable{}} - demonstration of odd vertical alignment with arrayrulecolor} & \\%  & \multicolumn{3}{@{}L}{\small {case 1: the line below is a toprule}} & \\% \toprule  & \multicolumn{3}{@{}L}{\small {case 2: the line below is a cmidrule that spans the middle 3 columns.  Note the whitespace!}} & \\%  & \multicolumn{3}{@{}L}{\small {The challenge: hide the widespace giving the appearance of a spacing around a longtable.}} & \\% \cmidrule[\heavyrulewidth]{2-4}  & \multicolumn{3}{@{}L}{\small {case 3: the line below is 3 cmidrules, 1 each for the first and last columns and 1 for the middle}} & \\%  & \multicolumn{3}{@{}L}{\small {note how the cmidrules align vertically ... perfect!}} & \\% \cmidrule[\heavyrulewidth]{1-1}\cmidrule[\heavyrulewidth]{2-4}\cmidrule[\heavyrulewidth]{5-5}  & \multicolumn{3}{@{}L}{\small {case 4: Now, lets try recoloring the first and last cmidrules}} & \\%  & \multicolumn{3}{@{}L}{\small {how do I eliminate the odd vertical alignments?}} & \\% \arrayrulecolor[gray]{0.80}\cmidrule[\heavyrulewidth]{1-1}\arrayrulecolor[gray]{0.0}\cmidrule[\heavyrulewidth]{2-4}\arrayrulecolor[gray]{0.80}\cmidrule[\heavyrulewidth]{5-5}\arrayrulecolor[gray]{0.00} \endfirsthead  &  Arizona State University &  & ASU &\\   &   Baylor University &  & BAYLOR &\\   &   Boston University & 164988 & BU &\\   &   Brown University & 217156 & BROWN &\\   &   California Institute of Technology & 110404 & CALTECH &\\   &   Carnegie Mellon University & 211440 & CMU &\\   &   Case Western Reserve University & 201645 & CASE &\\   &   Columbia University & 190150 & COLUMBIA &\\   &   Cornell University & 190415 & CORNELL &\\      & Yale University & 130794 & YALE & % \label{tab:schools} \end{longtable} }  \end{document}


Evaluate $\int\limits_0^{\infty}\frac{\sin x}{x}\, dx$

How can I evaluate the following improper integral:     $$ \int\limits_0^{\infty}\frac{\sin x}{x}\, dx$$    I have tried to evaluate this by integration by parts but failed. Please help


Wikipedia article () states that "the information in a random sample of n independent and identically distributed observations is n times the information in a sample of size 1". I know that formally it's proven via linearity of expectation but I am looking for an intuitive explanation.  On the other hand, I found at  that in the case of iid random variables $I_X(\theta)=\sum^n_{i=1}I_{X_i}(\theta)$.  I am confused and it would much appreciated if someone could clarify this for me.


Suppose I have $n$ fair dice with 6 faces each (numbers from $1$ to $6$). I define a random variable $X_n$ - sum of numbers on dice after the throw. Is there any probability distribution I can use to calculate exact probabilities for every value of this random variable? I'm interested in a distribution that gives exact values, not something like CLT.


How to prove the sum of triangular numbers in the form n(n+1)(n+2)/6?

Show that the sum of the first $n$ triangular numbers is $n$($n + 1$)($n + 2$)/6