Is the irrationality measure function surjective?

Let $\beta>2$ be a real number, is it always possible to construct a real number $x$ such that $\mu(x)=\beta$? where $\mu$ denotes the irrationality measure.    The problem as I see it is to find $(a_n)_n$ an unbounded sequence of positive integers such that $\limsup \ln_{q_n}(q_{n+1})=\beta-1$ where $q_n$ is the numerator of the $n$-th convergent of $[a_0;a_1,a_2,\dots]$. But I was not able to continue.


Can someone explain effects of time dilation on expansion of universe

I'm not a physics guy, but this is something I have always wondered about. If a clock flown by an object of high mass runs slower, what is the effect of this in regards to the density of the universe. It seems to me that as the universe expands, it would lose density and therefore clocks would run faster as the universe expands. Is this correct? And if so, could this create the perception of an accelerating expansion in a hypothetical universe of constant expansion. I want to understand the things I believe in, and I believe in the big bang. It seems that if the universe were a singularity at some point that a nearby clock would be running infinitely slow. Would the first few seconds of the big bang be perceived as slow, maybe from a distant view, despite much happening in the first few seconds? (I'm not sure how the human brain perceives time). Forgive my complete lack of understanding. I'm just curious if and how this is accounted for in the models.


I have a directories with .MP3 files which I'd like to change the extensions to .mp3. What's the easiest way to do this? I'm think something along the lines of:  find /RootPath -type f -iname "*.mp3" -exec mv {} sed s/.*MP3/\1.mp3/ \;    ...though I know that isn't quite right. :) The substitution isn't correct and I'm not sure how to use both a mv and a sed command with -exec in find.  Would I need a bash script for this?


What is the logic behind not to initialize local variable and to initialize property (integer) to 0?

May be this is a stupid question? Sorry it sounds so. I have following codes.  Condition 1  public class Test {      int a;      void display() {         System.out.println(a);     } }   Condition 2  public class Test {      void display() {         int a;         System.out.println(a);     } }   I am very clear about the second condition. The a is not initialized. So, this will produce an error. But in first condition, I've not initialized property a. While running the following code, it will not produce an error. Instead it will display 0. It may be due to integer is initialized to 0.  Test t; t = new Test(); t.display();   What is the logic behind not to initialize local variable and to initialize property(integer) to 0?


I have had the last Ubuntu distro (10.something) installed for a year and love it.  But I have run in to an issue when I tried to upgrade it to the latest one it did not work and there has come some serious issues now with almost everything and I want to remove Ubuntu completely and install the new one.  How can I remove the operating system (I don’t mind formatting the whole thing if that’s what’s needed).


How to change default application in Ubuntu in command line?

I want to change videos to VLC. I have already installed VLC using sudo apt-get install vlc. I want to get a CLI solution because I am making a script that changes the configuration of a newly installed OS as my own customization.


Classification model on a highly unbalanced dataset

I’m dealing with a highly unbalanced dataset where 20% of data belongs to class A and 80% belongs to class B.  It’s very hard for us to produce synthetic class A data.  Just wondering if the below approach is a sensible thing to do:  Total data points:  100  Class A :  20  Class B :  80  How about splitting the dataset into 4 separate samples consisting of 20 A’s and 20 B’s. In other words, I’m mixing the 20 A’s with different samples of 20 B’s.  We’d have 4 models (say random forest or so) and finally the decision is taken from what the majority of these 4 models predict?


How do I get Pidgin to authorize for Facebook?

How can I get Pidgin to connect to my Facebook chat? It says UserName@chat.facebook .com/disabled Not Authorized ...  Please help, if you can.


Subject-Verb Agreement: The horse and carriage is ready

A rule in my text book says     If the 2 subjects separated by 'and' refer to the same thing/person/suggest the same idea, they take a singular verb.       E.g. The Horse and Carriage is ready   I feel that the sentence should be -     The Horse and Carriage are ready   And Grammarly agrees with me -          So what does the subject agree with? 'Is' or 'are'?


Drawing discs with circular holes with TikZ

I am using the TikZ package to show a set of complex numbers where those I want are in the outer part of a circle with a radius 2, and where the circle with radius 1 is not in the set:   I want to let the inner circle be white, with the axes showing completely, but I am not able to find out how. I am using two circles with semi-transparent fillings. Is there any way to make only the outer part filled? Relevant code below.  (This is where I got most of the code: )  \begin{tikzpicture}     \begin{scope}[thick,font=\scriptsize][set layers]     \draw [->] (-4,0) -- (4,0) node [above left]  {$\Re\{z\}$};     \draw [->] (0,-4) -- (0,4) node [below right] {$\Im\{z\}$};     \iffalse% Single     \draw (1,-3pt) -- (1,3pt)   node [above] {$1$};     \draw (-1,-3pt) -- (-1,3pt) node [above] {$-1$};     \draw (-3pt,1) -- (3pt,1)   node [right] {$i$};     \draw (-3pt,-1) -- (3pt,-1) node [right] {$-i$};     \else% Multiple     \foreach \n in {-3,...,-1,1,2,...,3}{%         \draw (\n,-3pt) -- (\n,3pt)   node [above] {$\n$};         \draw (-3pt,\n) -- (3pt,\n)   node [right] {$\n i$};     }     \fi     \end{scope}     \draw[solid] (0,-1) circle (1);     \draw[solid] (0,-1) circle (2);     \path [draw=none,fill=gray, fill opacity = 0.1] (0,-1) circle (2);     \path [draw=none,fill=white, fill opacity = 0.7] (0,-1) circle (1);     \node [below right,black] at (1.2,1.2) {$A=\{z\in\mathbb{C}:1\leq|z-(-i)|\leq2\}$}; \end{tikzpicture}


"occur" vs "occurs" with a singular collective noun

I wrote:     The ability to guarantee that a batch of writes occurs together.   One reviewer wanted to change that to occur.  I'm not sure if this is my idiom (Australian of U.K. origin) vs American or if I'm wrong.  I regarded batch of writes as a singular collective noun.  This  and others suggest using a plural verb with collective noun is less common in American English.  edit  To clarify, the sentence is in a book about programming computer databases and the full sentence is much longer, possibly too long!     Those three operations are all we need; everything else is sugar on top (or maybe something a bit more nutritious, like the ability to guarantee that a batch of writes occurs together).


I have a sword that currently rotates around a pivot point thats off of the actual object. Im new to blender and im not sure how i would go about changing it so that the sword rotates around the handle. Any help would be appreciated!


I have 3 tables: Purchase Order     PO ID PO Requestor     PO123 John Snow   PO567 Heather     Purchase Order Line Item:     PO Line Item ID PO Line Item PO ID Ordered Quantity     1234 Bike PO123 3   1235 Laptop PO567 2   1236 BMW PO123 1     And Receipt:     Receipt Line ID PO Line Item ID Received Quantity Received Date     R123 1234 1 01-Dec-20   R567 1236 1 15-Dec-20   R567 1234 2 15-Dec-20   R987 1235 2 20-Dec-20     I want to join 3 tables into 1 table as below, which is not a challenging task:     PO ID PO Line Item  No PO Line Item Name Ordered Quantity Receipt Line ID Received Quantity Received Date Requestor     PO123 1 Bike 3 R123 1 01-Dec-20 John Snow   PO123 1 Bike 3 R567 2 15-Dec-20 John Snow   PO123 2 BMW 1 R567 1 15-Dec-20 John Snow   PO567 1 Laptop 2 R987 2 20-Dec-20 Heather     In the final table, I want to add a new column: PO Line Item No. Basically, if the group PO ID is the same, it will assign an increment value for each PO Line Item ID/Name. And please note that because 1 PO Line Item can be broken into multiple receipt dates and lines, so the final table may contain multiple lines for the same PO Line Item. In that case, the PO Line Item No should show the same value for those records in the final table For example, PO123 has 2 PO Line Items: Bike (ID 1234) with quantity 3 and BMW (ID 1236) with quantity 1. On 1-Dec-2020, 1 Bike was received with receipt ID R123, and On 15-Dec-2020, Receipt ID R567 received BMW and other 2 bikes to complete the PO123. So in the final table, because bikes were received in 2 receipts, there are 2 records for Bike for PO123. the PO Line Item no should be the same for bikes Please help me to work on this column without using any windows functions. Thank you so much


I am running 16.04 and my administrator account has programs I consider distracting when it comes to doing work.  I know how to add a second user account, but I want to know how to make it so I can still access Skype/Chrome/LibreOffice from a new user account but not Steam and similar apps.


Non-negative integers to form a sum with restrictions?

How do I solve this?  Number of non-negative solutions to $x_1 + x_2 + x_3 + x_4 = 4$ where $0 \le x_i \le 3$?  What's the general technique? I already know the technique for $j \le x_i$ but have no clue about upper bound restrictions.


Ten of these bugs were found behind my bed. I live in Northern California. The bug is 5mm in length.


How do I get an HP 1018 laser printer to work on 12.04?

edit : already printed on windows-machine  Ubuntu 12.04, LJ 1018.  I've tried making foo2zjs from sourse.  I've downloaded firmware and placed it where necessarily manually from   I've also tried  - same as manual dowload but with some patches like stoping cups, etc..  I've fixed usbfs: process 11200 (usb) did not claim interface 0 before use  problems using sudo rmmod usblp as described .  And now I have   Aug 10 11:51:59 pav /usr/sbin/hplj1018: foo2zjs: usb://HP/LaserJet%201018?serial=KP07RLV... download failed. Aug 10 11:51:59 pav /usr/sbin/hplj1018: foo2zjs: loading HP LaserJet 1018 firmware /lib/firmware/hp/sihp1018.dl to CUPS USB device ...   error.  Before that prinet was stucking on "Sending data to printer". Now it's code is "Not connected".  Unless   ben@pav:~$ lsusb  ... Bus 001 Device 015: ID 03f0:4117 Hewlett-Packard LaserJet 1018   Thank you.


i don't know exactly what topic i should read, but i thought it would be better to just post this. i have an acer laptop, and i was locked out of the bios. i wanted to try something new and installed ubuntu. i found that i don't like it. i can't even install apps like i can on windows. you have to type in all these codes. i just want to go back to windows. i was doing all this stuff to try to get back to windows, and actually got into the bios. i don't know exactly what order to put in the bios to boot into my original os. i don't know how to use grub 2. i'm very unfamiliar with everything. i kinda know something about the terminal. by the way i chose install when i first booted into the usb that had the iso file on it. i know i should have tried try ubuntu instead. i need some very clear instructions on how to boot into my original os and use windows. sorry again if this is duplicates of other topics. i just don't know what to look for. thank you.


Understanding PCA - How to calculate scores

I'm looking for advice to whether or not the following method is good and is standard for calculating PCA of the data. So the examples that I will give will be small.   Given a matrix of $A = [4, 6, 10; 3, 10, 13; -2, -6, -8]$ and Compute the Covariance matrix given as:  $$A = \begin{bmatrix}  10.3& 24.6 & 35.0\\   24.6& 69.3 & 94.0\\   35.0& 94.0  &129.0 \end{bmatrix}$$  I then compute the Eigenvalues and Eigen vectors of this matrix. In order to calculate the PCA, I then do the following:  1) Take the square root of the eigen values -> Giving the singular values of the eigenvalues   2) I then standardises the input matrix $A$ with the following: $A - mean(A) / sd(A)$   3) Finally, to calculate the scores, I simply multiply "A" (after computing the standardization with with Eigenvectors  This would then give me the PCA scores? Is this correct or am I missing something?


Is a uniformly continuous functions bounded?

Let f be uniformly continuous on (a,b). How do you prove that it is bounded on (a,b)?


I have two files.  file1:  Dave 734.838.9800   Bob 313.123.4567   Carol 248.344.5576   Mary 313.449.1390   Ted 248.496.2204   Alice 616.556.4458      file2:  Bob Tuesday   Carol Monday   Ted Sunday    Alice Wednesday   Dave Thursday     Mary Saturday     I merged the two files.  file3 should look like this:  Name      On-Call     Phone   Carol     MONDAY      248.344.5576   Bob       TUESDAY     313.123.4567   Alice     WEDNESDAY   616.556.4458   Dave      THURSDAY    734.838.9800   Nobody    FRIDAY      634.296.3356   Mary      SATURDAY    313.449.1390   Ted       SUNDAY      248.496.2204     But I cannot get the weekdays to be in order. How do I go about doing that?


I want to copy a file from A to B in C#. How do I do that?


Find Maximum(table.column1,table.column2,table.column3,...) as 'MaximumValue' from table SQL

SQL (SQL Server)  How to find maximum value among different columns in a single Table Row returned by a SQL Query.  Select Maximum(table.column1,table.column2,table.column3,...) as 'MaximumValue'   from table


Prove there are k consecutive non-squarefree integers

So, I've got a question for class that asks me to prove the existence of arbitrarily long runs of consecutive integers where $\mu(n)$ is zero.   I've started the proof, but I need a bit of help midway through.  Assume there exists a run of length n, which we currently assume is the longest possible chain.  If we induct on n, we can assume there is a run of the form $m_1p_1^2, m_2p_2^2, ..., m_np_n^2$ (where each of the $p_i$ are prime).  If I add $M =  lcm(m_1p_1^2, m_2p_2^2, ..., m_np_n^2)$ to each number, I get another run of length n.  So here's where the issue starts. When I talked to my advisor about it, he referenced a theorem where there exists a prime $p$ congruent to $1\ mod\ M$.  I am unfamiliar with this theorem, so I'm not sure how to use this information. Any chance I can get some help? Or else is there a simpler way to go about this problem?


Use of "the" for generalisation vs specific

I had a friend recently ask me about the use of the particle "the" in different contexts that she was having trouble understanding and I found I was unable to explain the use. The lesson she had done was similar to this one:    Where "the" is explained as a word for a specific noun known to both speaker and the listener such as      The bike was red.   However a number of the examples she was given(and were not really explained in the material she showed me) were of the form     The bike is one of the most efficient means of transportation.   or     The squirrel is a small mammal   Neither of these examples are referring to a specific noun, they are referring to a generalization, "The bike" is true for every bike and the same for the squirrel example. Further to her confusion was that the sentences were not plural when referring to a generalization of "every bike" when she tried to correct the sentences as "the bikes are".   Would it be possible for someone to give me a explanation of this use or point me to something that has an explanation. I found it quite difficult to try and explain and the best I could come up with was that it's similar to "The idea of a bike is. . ." or "The idea of a squirrel is. . ." which I don't think is entirely accurate. The main trouble comes from "The" being used for a specific item, and in these cases the noun in question being used as a generalization. Am I just thinking about this wrong?


On Stack Overflow, the time shown for answers and comments is incorrect. When the post is just 20 mins old, the comments and answers say that they are 12 hours old. I have seen this mistake in more than one post. What is the problem with the clock / time display?  Please, take a look at that.


How much close control over physical objects is possible with the Force?

The Jedi can control objects with the mystical power called the Force without touching them.  In the movies you can see, that the Jedi or Sith are moving objects really fast and really well controlled from one place to another.  Now I'm wondering, why did Jedi or a Sith never use the Force to fight with a lightsaber, or with more lightsabers, or even to control other weapons like a laser gun without touching them? I imagine a Jedi or a Sith with 4 lightsabers around, all of them are floating in the air, controlled by him and the Force. Would this even be possible? What is the force really able to do?       Or, as mentioned in *Kid Dynamo", why don't they just yank the   supports out in a building and let that crush the people inside (or at   least force them to devote a lot of effort to keep from dying)?   Admittedly, Dooku did use something like that when he forced Yoda to   divert his attention to the pillar.


Object too big to see? Can you change the limitations?

I reached a satisfying goal on a certain project and decided to stretch the main objects to a realistic size (in metric). Finaly it was so big, that it disappeared when i set the camera in an appropriate position. I tried and it wasn´t visible in the render too. Is it possible to change the limitations?    The project is some kind of temple shaped like a giant head with the mouth as an entrance which would be at least 10 meters tall. This is how it looks before i size it up.


How can I know how much space software takes?

I am using debian (unstable). My system was partitioning with 9 GiB for /. This is not enough for me and I use already 7,5 GiB.  I don't want (for now) to use gparted in order to repartitioning (it takes a while and could be dangerous).  Therefore, I am looking a way to see how much space softwares takes. I guess LaTeX takes a lot of space but, perhaps, I have (big) softwares installed which I don't need. I would like a list by size and I don't how to have this information.


How is it that I can run explorer.exe from any directory in the command prompt?

How is it that I can run explorer from command prompt regardless of which directory I'm in?  How can I mimic this with my own exe? Is it merely the fact that this exe exists in the Windows dir?


"the only one of + plural noun" = singular or plural verb? (focus on the only)

He is one of the candidates who is/are willing to debate the issues. (it is 'are' due to the relative pronoun) He is the only one of the candidates who is/are willing to debate the issues. (what should be used here?) I am focusing on "only" here.If we go by 'only' then its a single noun but if we go by the relative pronoun rule then who refers to candidates and that calls for a plural verb. I need to know this strictly in terms of grammar please.


How can I exclude API keys, passwords, and so on from configuration management?

I am using Drupal 8 and drush cex to commit my configuration to my repository.  However, I want to keep passwords and API keys out of the repository.  How do I do that? (selectively exclude sensitive information from configuration management).  For example, I'm using the  module, but I noticed that in addition to the SMTP server and sender's name, etc., it also exports the API key to code, which should not be exposed.  I want to manage module configuration with configuration management, but I don't want to commit the key.


How to determine similarity score of new manuscript against own yet-to-publish manuscripts?

Considering the ethical and professional implications of self plagiarism, it is very useful to check new manuscript against old ones (which are under review and not yet published) to decrease self plagiarism. In a white paper by ithenticate (download from ), one way to avoid self plagiarism is to significantly paraphrase those text which are need to be used in new article. However, I have difficulties in identifying the similarity percentage of my current work against yet-unpublished works. Online tools (that I know) check the manuscript against published works. I have 3 journal papers, 1 is published, 1 is under review, and 1 is under preparation. Now, I need to check the third one to see the similarity score. Any suggestion?


So I'm modelling this sardine can with a logo on it... I have created my own logo as a png file and I want to apply it on a red metallic material... I have already tried applying it on the subsurface but it doesn't make much of a change


Can I make a beamer slide with two columns where each column has a different background colour?

I know how to set a background colour for the whole slide, but can I make one column have a different background (and font) colour? Ideally not just by setting a static two-colour background, as I might want to change the column width and not have to remake the background image.


What is the function of a Wizard's staff?

In the Middle Earth universe, "Wizards" are actually Maia, angelic or  beings who have taken mortal form (and accepted some Human frailties) to act as guides and advisors in the struggle against Sauron.  They have specialties (or at least personal preferences), determined by their association to whichever Vala they serve.  Within Middle Earth they appear as aged Men with long beards, wearing robes of colors which denote their rank.  And they each carry a staff.    Why?  If they are, themselves, semi-divine beings, then presumably all their powers (even in the abstract way that magic works in Tolkien's universe) come from their own selves, rather than from any devices.  I've never heard of any tales about the "forging of the staves," and no one seems to be able to gain greater power by taking them. (At least, no one seems to try, and Sauron would likely be seeking them if their powers were transferable.)   Broken or lost staves , but at the same time, the loss of one seems to be significant for the Wizard who loses it:   In the movies, at least, Saruman is implied to have greater power when he takes Gandalf's staff and uses it along with his own during their fight in Orthanc, though that fight doesn't exist in the books.  (Notably, this would indicate that a staff's power IS transferable, at least between the Istari.) Wormtongue insists that the guards of Meduseld "take the Wizard's staff" when Gandalf arrives. Given that Wormtongue is in league with Saruman, he would presumably know whether this would have any effect on Gandalf's abilities, and he clearly thinks it would. Gandalf makes a special effort to retain his staff when entering Meduseld, confirming that losing it would have an effect on his abilities. Gandalf prominently declares "Your staff is broken!" when Saruman is defeated, as though it is an important, even ceremonial, act. The destruction of his staff seems traumatic for Saruman, perhaps even somewhat painful from he way he gasps for breath.     What is the function of the staff for one of the Istari?  What does it allow them to do, that they would not otherwise be able to do?  Is it a way of exercising their Maia-level abilities, when they are otherwise restricted to their mortal forms?  Or are they a device crafted after the arrival of the Istari, sort of like the Rings, to expand and augment their natural magic?  What do we know about the staffs of the Wizards?  Note: I've read , which focuses on Gandalf's relative strength with and without the staff.  This question is more general than that: what does the staff even do, and where do they come from?


Screen Resolution Problem with Ubuntu 14.04 and VirtualBox 5.0.10

The Ubundu screen resolution 640*480 and not able to chnage.  I installed the virtual machine in windows 10


In an extreme low power project (MCU+BLE SIP running on a CR2016 battery for year(s)) I would like to measure the power consumption under different environments/algorithms.  What would be the correct way or setup to measure micro (nano ??) watts? in a short duration and over a long period of time?  The input voltage can be 3.2v - 1.7v (changes over time). I would like to eventually determine (or at least give a good estimation) to the duration a single battery would hold the device.


I've been using Linux for about 4 weeks now, more specifically Ubuntu. I wanted to find the remaining disk space I have left and was told that the df command will give me all the information I need to answer that question but there is quite a lot of information there. I was just looking for a simple response such as 225gb out of 500gb used etc but instead I get a lot more information.     Filesystem      Size  Used Avail Use% Mounted on udev            3.9G     0  3.9G   0% /dev tmpfs           788M  1.9M  786M   1% /run /dev/sda5       104G   15G   84G  15% / tmpfs           3.9G     0  3.9G   0% /dev/shm tmpfs           5.0M  4.0K  5.0M   1% /run/lock tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup /dev/loop0       56M   56M     0 100% /snap/core18/1988 /dev/loop2      256M  256M     0 100% /snap/gnome-3-34-1804/36 /dev/loop3      219M  219M     0 100% /snap/gnome-3-34-1804/66 /dev/loop1       56M   56M     0 100% /snap/core18/1944 /dev/loop4       65M   65M     0 100% /snap/gtk-common-themes/1514 /dev/loop6       32M   32M     0 100% /snap/snapd/11036 /dev/loop5       50M   50M     0 100% /snap/snap-store/467 /dev/loop7       63M   63M     0 100% /snap/gtk-common-themes/1506 /dev/loop8       33M   33M     0 100% /snap/snapd/11107 /dev/loop9       52M   52M     0 100% /snap/snap-store/518 /dev/sda2        96M   33M   64M  35% /boot/efi tmpfs           788M   56K  788M   1% /run/user/1000  Above is the output to df -h, so a few questions. Why is there so many different options showing such as udev,tmpfs, dev/loop9 etc, what are these? I am guessing that /dev/sda5 is my Linux partition, the only reason I determined this was because it has the most space used and most space available, is everybody's Linux partition (main partition where data is stored) named /dev/sda5? and why is there another /dev/sda in the name /dev/sda2? I'm also quite unsure what the Use% Mounted On column is for, why is there folders listed in this column? Thanks


Why is RSS distributed chi square times n-p?

I would like to understand why, under the OLS model, the RSS (residual sum of squares) is distributed $$\chi^2\cdot (n-p)$$ ($p$ being the number of parameters in the model, $n$ the number of observations).  I apologize for asking such a basic question, but I seem to not be able to find the answer online (or in my, more application oriented, textbooks).


Please help me spot my error. I am getting an empty queue, but I am expecting it to have half as many items as the original queue

I have an assignment in which I have a queue (from the class ArrayQueues) for which I am supposed to write a method in another class (Queues) that splits the queue into two. The method, split(Queue queue), takes the queue and returns another queue with half the items of the first queue, but it does not simply take the first half or second half. It takes every other item in the original queue and distributes the items evenly. This is how I am going about it:  public class Queues{ public static <E> Queue<E> split(Queue<E> queue){     Queue<E> queue1 = new ArrayQueue<>(queue.capacity());     Queue<E> queue2 = new ArrayQueue<>(queue.capacity());     int size = queue.size();//I did this because the size of queue changes after every iteration due to it being dequeued     for(int i = 0; i < size;i++){         if(i%2==0){             queue2.enqueue(queue.dequeue());//adds item from queue to queue2 and removes that item from queue         }else{             queue1.enqueue(queue.dequeue());//add item from queue to queue1 and removes item from queue         }     queue = queue1;     return queue2;     } }   The result I get is queue2 and queue1 both have the appropriate items (every other item from queue). However, the original queue is now empty, and I understand that it would be since I have been dequeueing it. But I set   queue = queue1   Why is it empty even after I set it to queue1?


We know that the chain rule is used to differentiate  a composite function ,say $$f(x) = h(g(x))$$ It's defined as the derivative of the outside function times the derivative of the inner function or the other way around.  $$\frac{\mathrm{dy} }{\mathrm{d} x} = \frac{\mathrm{dy} }{\mathrm{d} u} \cdot \frac{\mathrm{du} }{\mathrm{d} x}$$  Despite we know that the above expression is not a fraction (even though it's a fractional notation of the derivative used by Leibnitz) you can "cancel" the two du's and get back dy/dx.  My question is: How can you even think of cancelling du from dy/du and du from du/dx when they are not even fractions. Just because it's been multiplied do they automatically become fractions?Are they really being "multiplied"?  I'am really looking for an intuition behind this.To me this is some kind of fantasy.It doesn't appear to be real.


He is no better than a beggar.     vs     He is not better than a beggar.   Is the meaning roughly the same? If not, what is the difference?


SAQL Using Current year and doing calculations with dates in a Formula Condition

I want to do calculations with dates and use 'current year' in a formula condition. When I tried to manipulate dates in a formula I always receive an error of incompatibles types; NUMBER AND DATE.   Because of that I had to convert the date fields into numbers in the dataflow. It worked but I didn't resolve the issue of current year because it is impossible to convert a field that change with time. The condition and the formula is the following:  case     when  'Date_Month'+'Date_Year'*12> 2+'current year'*12 then 0 when ('current-'Date_Year')*12+(2-'Date_Month')) % max('Billing_Periodicity') == 0 then 'Parcel_Bill' else 0    Many Thanks for your attention and help


I would like to compare variances of two independent samples (of different sizes) from two unknown distributions. It seems I should use a one-sided nonparametric test.  Bartlett's and Fligner's tests are two-sided, am I right? What test in R could I use to determine which sample has greater variance?  For example, consider two samples:  x <- c(1,2,3,4,5,6,7,8,9,10) y <- c(10,2,3,4,5,6,7,8,9,100,200,56)


I have a question that may be very simple and potentially for that very reason I can't find a sensible answer to it - everyone just skips over it. I have a EM Lagrangian given by:  $L -\frac{1}{4} F^{\mu \nu} F_{\mu \nu}$  And we have that  $F^{\mu \nu} = \partial_\mu A_\nu - \partial_\nu A_\mu $  And so:  $L = \frac{1}{2}(-\partial_\mu A_\nu\partial^\mu A^\nu + \partial_\mu A_\nu\partial^\nu A^\mu) $  and in the second term we can manipulate the indices using the metric so that:  $\partial_\mu A^\nu\partial_\nu A^\mu $  My lecture notes insist that:  $L = \frac{1}{2}(-\partial_\mu A_\nu\partial^\mu A^\nu + (\partial_\mu A^\mu)^2) $  And I just can't see how the corresponding second terms are equal. Surely the term I wrote contains terms like:  $\partial_0 A^i \partial_i A^0$  Whereas the term from the notes clearly doesn't have a mixed term like this. Where do I go wrong?


Can't boot Windows 7 after installing Ubuntu 12.04 LTS

( first sorry for my english. ) Hi please help I can't find a solution I'm searching the web 11 hours and I can't find a solution. :(   I can't boot Windows 7 after installing Ubuntu 12.04 LTS alongside with windows.  But after restarting the pc and when I hit enter on grub 2 for Windows 7, I get a black screen for 2 seconds and then its return back to grub.  BUT when I select Windows 7 restore Vaio care it will boot, but I don't have an option top open Cmd to fix something.  Please help me out.  Here is my Bootinfo from Boot-repair


EDIT::  I saw the question mentioned in  which the moderator considered mine duplicate. However, I couldn't see how mine is duplicate. My main problem is to write the text in the intersection of CAT B and CAT C.   I am trying to create the following Venn diagram.   Following is my code and output:   \documentclass[border=10pt]{standalone} \usepackage{tikz} \begin{document}     \begin{tikzpicture} \begin{scope}[blend group = soft light] \fill[red!30!white]   ( 90:1.2) circle (2); \fill[green!30!white] (210:1.2) circle (2); \fill[blue!30!white]  (330:1.2) circle (2); \end{scope} \node at ( 90:2)    {CAT A}; \node at ( 210:2)   {CAT B}; \node at ( 330:2)   {CAT C}; \node [font=\small] {text1, text2, text3, text4}; \end{tikzpicture} \end{document}


How do I design my classes so that my Player.cs code can use class-specific abilities from another script?

Right now, I have a Player.cs class that handles button pushes, movement speed, damage, Update() etc. At the moment, all of the logic for button presses triggering an ability, and the logic surrounding that ability lives in my player.class. I'd like to take that logic and put it into an Abilities.cs class. All I want in my player at most would be:  public override void Update() {     if (button.pushed == "berserkKey")     {        ability.berserk();     } }   ... where for example berserk is a stacking buff but none of that logic is in my player class anymore.  For additional context, I plan to implement a Classes.cs class which will hold the info on classes (warrior/archer/etc) which will know exactly what the class and therefor player can use. The code above will likely abstract out even more when that is the case.  The problem is that my Player class already inherits from another class. How do I go about designing my Classes and Abilities classes in a way that my player can use them in the example above?  I'm also open to a completely different way if my initial thought here isn't ideal.


How would I initialize a String in a separate method from the main method?

I want the user to enter a lower case b and the program recognizes that the b is lower case, and switch it to an upper case B. Since you cannot edit Strings during run time, how can I use a separate method from the main method in order to assign "name" to "name2". Once I try to print out "name2" after the method changes it, the compiler claims name2 hasn't been initialized even though it has been in a separate class.     I've tried initializing name2 as name2=""; so the compiler doesn't say "name2 hasn't been initialized once I try to print name2 to console, however, you cannot redefine a String during run time.    import java.util.Scanner;  public class Runner {      public static void main(String[] args)     {         Scanner input = new Scanner(System.in);          String name;         String name2;           TextArguments test1 = new TextArguments();          System.out.println("Please enter a lower case b");         name = input.nextLine();           test1.test(name,name2);             System.out.println(name2);     } }       public class TextArguments {     public String test(String name, String name2)     {                                        if(name == "b")          {            name2 = "B";         }         else         name2 = name;          return name2;     } }   Expected results:   Enter a lowercase b. b B  Actual Results:  test1.test(name,name2); ("name2 might have no been initalized")


Why ubuntu uses base 10 for calculating file sizes?

I understand that hard drive companies do it to market a 900GB HD as an 1TB one, but what is the reason that Nautilus uses base 10 as well?  Shouldn't we try to be right rather than handy?


Ships use ice shields to prevent damage from interstellar dust

I'm looking for a collection of short stories, one of which featured interstellar ships that needed huge shaped chunks of ice to protect from interstellar dust while travelling at near light speed. They had to replace the shields after a time and would get the ice from various inhabited planets. The story (I think) focused on one planet and a group of people opposed to giving up their water, somehow in the end the main character was caught on the ice shield when the orbiting ship pulled it up into space and froze.


My back wheel stopped free wheeling so we took out the back wheel and opened the hub to find that the axle is bent. So we threw away the axle and thought to replace wheel. Now I know the axle can be replaced but i don't know the dimensions of the axle i had.  i looked at the specifications for my bike but i couldn't find any detailing on the rear axle length and diameter. my bike is:   How can I find a replacement for my rear axle?


I am trying to convert Linked List to Array in Java as shown in the code below  import java.io.*; import java.util.*;  public class LinkedLst {     public static void main(String[] args) throws IOException     {         FileInputStream fis = new FileInputStream("input");         LinkedList<Integer> ll = new <Integer>LinkedList();         int c;         while((c = fis.read())!=-1)             ll.add(new Integer(c));         Integer[] arr = ll.toArray(new Integer[ll.size()]);         System.out.println(arr);         fis.close();     } }   with input file as follows  12 13 14 15 16   I am able to compile but I end up with the following error while running  [Ljava.lang.Integer;@2098746b   Could anybody help me with this code ?


How to get back a variable from Python to a C++ program?

I have 2 files located on a Raspberry Pi in the same directory :   A python file that connects to my firebase's server in order to get a boolean value that I want to use in my C++ file. A C++ file that has to open a LED belonging the value of my boolean variable.   These 2 files work well when I execute them independently. However, my aim is to run the C++ file that get back the python's variable and open or not the LED.  I don't know how to "translate" a Python's variable to a C++ one, despite research about Embedding and Extension.  My Python file (called connect_firebase.py) :  from firebase import firebase firebase=firebase.FirebaseApplication('https://myProject.firebaseio.com/', None) face=firebase.get('faces/face1',None) print(face) def getFace():     return face print(getFace())   My C++ file (called main.cpp) :  #include "grovepi.h" #include <python2.7/Python.h> using namespace GrovePi; int main() {   int LED_pin = 3;    try   {           initGrovePi();           pinMode(LED_pin, OUTPUT);            delay(1000);           /* Part where I want to use the variable 'face' from Python's file                             if(face==True)           {                   digitalWrite(LED_pin, HIGH);                   delay(3000);           }           else           {                   digitalWrite(LED_pin,LOW);           }*/   }   catch(I2CError &error)   {           printf(error.detail());           return -1;   }   return 0; }


Are There Any Mechanics for Removing Possession?

So I'm thinking of a few adventure hooks for my players, and I thought about the possibility of them removing a demon that has possessed a noble. Are there currently any mechanics or rules surrounding possession and the removal of entities?  If not, does anyone have any play-tested homebrew rules?


"Bake" curve modifier to use mesh & animation in Unreal Engine

Edit adressing duplicate..below the "Old" question  I'm currently trying to create text animations in Blender which I later want to use in the Unreal Engine.   As the text should not just follow a path but rather also bend its shape, I used a curve modifier to achieve this effect.  It all looks great in Blender. The Text Mesh is following the curve, bending and moving, but exporting it results in losing the animation on the curve.   Is there a way to bake the animation (bending and movement of the mesh) so I can use it outside of Blender? Or should I consider another solution?   Thanks in advance! Daniel   Edit:  As this was marked a duplicate -  The problem isn't that I can't bake an animation using the follow path constraint.. The problem is that I am not able to get the bending and movement baked at the same time using the curve modifier .   I'm animating the X-Value of the text mesh to let it follow and bend along the spline. Exporting it results in a bent text moving along the x-axis.  The same happens when I'm applying the modifier.  So how can I apply it and or export it, keeping the movement and bending?


UX reputation out of date on Careers, all others in sync

My Careers 2.0 profile has up-to-date (within a few days) reputation information for all of the Stack Exchange sites except for User Experience (UX), which still shows me at 101 reputation. I have been actively participating in UX questions for over two weeks, and have yet to see any changes to the reputation score on my Careers profile, let alone an up-to-date score.  Careers profile:   UX Stack Exchange profile:


Command to copy client public key to Windows OpenSSH SFTP/SSH server authorized keys file

I have a Linux machine, and I need to sftp to a Windows SFTP server. So for first step, I create my own id_rsa file and the id_rsa.pub in my Linux machine.  Then I copy the text in the id_rsa.pub into the id_rsa.pub in the SFTP server.  And the sftp connection work correctly.  However, I would like to ask about the command to copy the public key from client to server. I have search in google and I get a command which is:  ssh-copy-id -i id_rsa.pub ftp_user*@10.7.8.32   But I hit the following error:     'exec' is not recognized as an internal or external command, operable program or batch file.       The system cannot find the path specified.     I believe there is some command exits for this right? Instead of I copy the public key manually to the SFTP server.  The SFTP version is SFTP protocol version 3.


How to isolate Python 2.7.X on Ubuntu 12.04 which has default Python 2.7.3?

I want to build Python 2.7.8 on my Ubuntu 12.04 machine, which has Python 2.7.3 as default distribution. I would like to "install" Python 2.7.8 but isolate it completely from Python 2.7.3 - meaning, I don't want to interfere at all with the distribution's default Python, including modules installed via apt-get or PIP.   I would like to do this from source, and I would like not to use virtualenv - I'd rather learn to do it the "hard" way before using more sophisticated tools.  A second related part to this question is, after I have installed Python 2.7.8, how can I have two different PIPs, the default installing Python modules to Python 2.7.3, and the alternative installing modules to Python 2.7.8?  Thanks.


What's the farthest distance one could possibly go in one round?

Inspired by  what is the farthest distance you can move on one turn?  Assuming you're a Wood Elf monk at level 20, you get 35 base + 30 feet Unarmored Movement, adding the Mobile feat and a casting of Longstrider from a friendly character, you're at 85 movement. If you're also under the effect of a Haste potion or spell, that increases to 170. You can now use your regular action, your extra action, your movement and your bonus action to go four times 170 feat, i.e. 680 feet.  As an Aarakocra, you would have a base flying speed of 50 - if the monk's, the Mobile feat's and Longstrider's movement increases add to this speed (and not your 25 walking speed), you would have 100 base, i.e. you could go 100*2*4=800 feet.  If those movement increases also add to Fly's flying speed (60), you would have 110*2*4 = 880 feet.  Is that the farthest you could possibly go in one round? Or is a higher speed possible using some kind of spell, potion or other thing that I'm unaware of?  For the purposes of this question, ignore the 300 flying speed you could get from Wind Walk, which takes 1 minute to transform (and your DM might rule that you can't dash in transformed form, or wouldn't be affected by haste).


Is the sum of two coprime numbers also coprime to its summands?

I was comparing the statement of the  on Wikipedia to an  I found geared towards laymen. The propositions differ slightly, but they would be equivalent if the following were true:     If $a$ and $b$ are coprime, and $a + b = c$, is $c$ coprime to both $a$ and $b$?   By , if (without loss of generality) $a > b$, then $a$ and $c$ must be coprime: the first iteration of the algorithm subtracts $c = 1*a + b$, and then you're left with $a$ and $b$, which are coprime by proposition and so generate 1 as the final result.   If $b$ is prime, I can imagine a proof by contradiction via the .   For more complicated $b$ I am not sure it holds.


Can you please help me write a test class for my code:  public class retrieveOpenSafetyObservations    {    private ApexPages.StandardSetController controller;    public List<Safety_Observation__c> getOutbaseSafetyObservation()                      {                                       return [SELECT Id, Name, Title__c, Priority__c,   Risk_Factor_Ranking__c,Contractor__c,Status__c    FROM Safety_Observation__c WHERE Status__c = 'Open' order by id desc limit 10];        } }   this is what I have so far:   @isTest     public class testRetrieveOpenSafetyObservation{         static testMethod void testOpenSafetyOb(){                   Safety_Observation__c SafObse = new Safety_Observation__c(                   Basic_Risk_Factors__c ='Design',                   Cause_Category__c = '1 Equipment and Material problems',                   Cause_Code_Sub_Category__c = '3E other Human Error not specified here',                   Contractor__c = 'a0fg0000000u09l',                   Contributing_Factors__c = 'qwert',                   Customer_Name__c = '001g0000007q9Z9',                   Description__c  = 'bla bla',                   Human_Factor_Domain__c = 'Staffing Issue (Workload etc.)',                   Human_Factors__c = 'Alarms',                   Performance_Improvment_Factors__c = 'Organisational Change',                   Priority__c =  'Low',                   Risk_Factor_Ranking__c = '2',                   SO_Number_Name__c = 'Test',                   Status__c = 'Open',                   Title__c = 'Test'                   );            insert SafObse ;                               }         }


Allignment of footcites with bibliography category

If I delete the code between the two command tags, I got the normal footcite result. But with that code, which I use to print a bibliography for each form of publication, I got allignment differences. How could I change this?  \documentclass[a4paper,dutch]{report} \usepackage[backend=bibtex,citestyle=verbose-ibid,bibstyle=numeric,sorting=nty,defernumbers=true]{biblatex}  %Begin \DeclareBibliographyCategory{websites} \DeclareBibliographyCategory{spoken} \DeclareBibliographyCategory{books}  \AtEveryCitekey{   \ifentrytype{misc}{     \iffieldundef{howpublished}{       \addtocategory{websites}{\thefield{entrykey}}     }{       \addtocategory{spoken}{\thefield{entrykey}}     }   }{   } }  \AtEveryCitekey{   \ifentrytype{book}{       \addtocategory{books}{\thefield{entrykey}}   }{} } %End   \usepackage{filecontents}  \begin{filecontents}{\jobname.bib}  @book{3,   author = {Menger, Carl},   title = {Grunds{\"a}tze der Volkswirtschaftslehre},   publisher = {Braum{\"u}ller},   year = {1982}  } @misc{blockchain1,   author = {Blockchain},   title = {{Transactie}},   url = "https://blockchain.info/tx/1c12443203a48f42cdf7b1acee5b4b1c1fedc144cb909a3bf5edbffafb0cd204",   urldate = "2014-11-16" } } \end{filecontents}  \addbibresource{\jobname.bib}  \begin{document}  \chapter{Chapter} Some text\footcite{3} another one\footcite{blockchain1}  and a footnote\footnote{I would like to add a footnote with some information too.}  \end{document}


How to find $\lim_{x\to\infty}{\frac{e^x}{x^a}}$?

$$\lim_{x\to\infty}{\frac{e^x}{x^a}}$$ For $a\in \Bbb R,$ find this limit.  I would say for $a\ge 0$ lim is equal to  $\lim_{x\to\infty}{\frac{e^x}{a!x^0}=\infty}$ (from L'Hopital).  For $a<0$, lim eq. to $\frac{\infty}{0}$so lim doesnt exist.  Is this correct?


How can I make an ubuntu bootable USD for a Mac, using a Windows PC?

Ok, so I have a Macbook Pro (Late 2009) which had OS X Lion on it, i went to format the Macbook and it now no longer allows me to install OS X Lion on it. So i have a Macbook with no working OS on it. So I figured I'd attempt to install Ubuntu on it, however I need to make the bootable USB stick using the Windows PC, since I can't do anything on the Macbook.


I have a simple setup to try out Volumetric Lighting. I have a spot lamp and Volume Scatter set for the World. The cube has a window for the light of the spot lamp.     But no Volumetric Lighting. I have read most questions on this subject. But I have no idea where I am going wrong.


I'm trying to understand what is the purpose of \null command. To do this I wrote the code:  \documentclass[11pt]{article} \begin{document}  Ciao ciao \null \null \null \null ciao ciao  \end{document}   but it seems to do nothing. When is it used alone?  Thank you in advance.


Get data from Javascript fetch and display it in another function

I thought it would be easy to find an answer to this, but it wasn't. I'm trying to make an api call from a function and then display the response in a different function. What I've got or what I want to achieve: async getData() {    const response = await http.get("/api/"); }  async showData() {    const result = await this.getData();    console.log(result); }  Any help is appreciated!


Can you charge your laptop's battery by plugging a phone via USB?

Whenever my phone can be plugged (via a USB cable) into my laptop computer, my laptop will charge my phone's battery. But how can I reverse this charging, to command my phone's battery to charge my laptop?


Removing colored background behind woman's hair

I am using Photoshop CC attempting to remove the background from a woman's hair. I've tried the background eraser tool and select mask but neither have worked. I've included the photo as an attachment. Any suggestions are welcome.


Better Entanglement Explanation Required

It seems to me I have not read or understood a better explanation for quantum entanglement than Einstein's left and right glove explanation.  If some Aspect (pun intended) of an entangled quantum particle can be changed in mid-flight, then it seems there should be some detectable change in its entangled partner.  If this were true, then it seems to me that instantaneous communication should be possible. I have not discovered a compelling argument why this cannot be done.    The type of thing I have in mind is a device that emits entangled particles in opposite directions.  Upon creation, one side of the stream of entangled particles (stream A) is (say) polarized in a uniform direction (all particles have the same polarization). That would mean that the other side of the stream (stream B) should be polarized in a complimentary direction.  At some point the polarization of stream A is purposefully altered.  This should (in my understanding) create a complimentary alteration of stream B's polarization, resulting in a form of instantaneous communication.  Please tell me what is wrong with my logic here.


After the release of Minecraft I saw more and more rip offs of the game but some actually began to change it up a bit making the game have a organic look instead of the iconic blocky one that Minecraft does. If you'd like to look at the game that i'm referring to you can do so . If you skip to around 50 seconds on the first video the steam page offers you can see the mining part that i'm wondering about.   I was wondering how this affect is achieved where they are able to remove part of the 3D object on collison with the players pick. I have heard about constructive solid geometry before and figured that could have been used but i'm not so sure.


Wireless not working on Dell Latiude 3330 ubuntu preinstalled

I just bought a Dell Latitude 3330 with Ubuntu 12.04 pre-installed. Wireless worked without a problem for a few days and then stopped. The wireless broadcom is BCM4352. Tried everything but still not working. Works with wire and Reliance datacard. Please help resolve this issue. Thanks.  Suparna


delete hidden folder/file with name exceeding 256 characters

I ended up with a folder that cannot be deleted. The issue started out as Windows 7 complained about a deletion I performed in an old recyclebin with a message 'filename too long 434 instead of 256 characters' (or something very similar). I tried lots of things like those mentioned in this very similar question:   But I did not succeed. I succeeded in renaming and removing lots of subfolders but not all of them. This is what's left visibly, a folder from the recyclebin:  C:\RECYCLER\S-1-5-21-842925246-2025429265-682008880-1013\   Inside this folder is another one named com4 but that is only visible to a tool like Total-Commander. I was not able to display this folder com4 by say:  dir *.* /A:s dir *.* /A:h   I find interesting that apparently something is in there because the following command results in: access denied. So Windows 7 recognizes an object but does not reveal or delete it.  rd "\\c:\RECYCLER\S-1-5-21-842925246-2025429265-682008880-1013\com4\   Even though I am using an elevated command prompt and logged in as admin without any limitations (I assume).  Any ideas how to get rid of this folder named com4? Getting rid of anything below c:\RECYCLER is fine as well.


What is missing in my scanner program? It's in Eclipse

import java.util.Scanner;  public class ChooseYourOwnAdventure {     static Scanner in = new Scanner(System.in);  public static void main (String[] args){      System.out.println("[This is a choose your own adventure.] It's 1941; you are joining the military. What branch do you choose? Army [1], Marine Corps [2], Navy [3] or Air Force [4]?");      String branch = "undecided";      String input = "";     System.out.println("Please input a command:");     input = in.nextLine();      if (input.equals("1"))     {        System.out.println("You have joined the Army. Defend America well. Press 0 to continue.");     branch = "Army";     }     else if (input.equalsIgnoreCase("2"))     {     System.out.println("You have Joined the Marine Corps. Semper Fi. Press 0 to continue");     branch = "Marine Corps";     }     else if (input.equals("3"))     {     System.out.println("You have joined the Navy. Patrol the sea with pride. Press 0 to continue.");     branch = "Navy";     }     else if (input.equals("4"))     {     System.out.println("You have joined the Air Force. Take to the skies. Press 0 to continue.");     branch = "Air Force";     }      String input2 = "";     input = in.nextLine();      if (input2.equals(0))     {     System.out.println("You complete basic training for the " + branch + " with flying colors. Now, you can choose your specialty.");     }      if (branch == "Army")     {     System.out.println("You can choose to be an Infantryman [q] or a Marksman [w].");     }      else if (branch == "Marine Corps")     {     System.out.println("You can choose to be a Paratrooper [e] or a Sniper [r].");     }      else if (branch == "Air Force")     {     System.out.println("You can choose to fly a Fighter [t] or a Bomber [y].");     }      else if (branch == "Navy")     {     System.out.println("You can choose to be a Sailor [u] or a Pilot [i].");     }       in.nextLine();       String input77 = "l";     input = in.nextLine();      if (branch == "Army")     {     if (input77.equals("q"))     {     System.out.println("infantryman");     }     else if (input77.equals("w"))     {     System.out.println("DM");     }     }     if (branch == "Marine Corps")     {     if (input77.equals("e"))     {     System.out.println("paratrooper");     }     else if (input77.equals("r"))     {     System.out.println("sniper");     }     }     if (branch == "Air Force")     {     if (input77.equals("t"))     {     System.out.println("fighter");     }     else if (input77.equals("y"))     {     System.out.println("bomber");     }     }     if (branch == "Navy")     {     if (input77.equals("u"))     {     System.out.println("sailor");     }     else if (input77.equals("i"))     {     System.out.println("pilot");     }     }  }   }  OK, this is my program. It malfunctions when you choose your "specialty", (called input 77) and when i type in my input, nothing happens. What am i missing?


What can I as a teenager do about my insanely strict parents?

Before I start this, I just want to let everyone know that even though my parents can be completely clueless about parenting at times, I still love them very much, so don't go commenting that I'm "ungrateful" or whatever.  My parents are just really strict about everything. I'm 15 years old, a sophomore in high school, and I'm basically not allowed to do anything. I don't have a phone (and therefore no social media or Internet) and my parents refuse to buy me one (we can afford one quite well though) even though every single person in my high school has one, and has had one since they were 12 or 13.   I'm also not allowed to date and if my parents (especially my dad) ever see me talking to a guy they immediately interrogate me about who he is, what we were talking about, and then they remind me that I'm not allowed to date until I'm in college, and sometimes I feel like I can't ever talk to a guy without my parents sticking their noses into it.  Yet another thing I am denied is to hang out with friends. I am allowed to have friends but my parents never let me go out with them without parent supervision. I can't have birthday parties either, or sleepovers, or "girls' day outs". I can't wear makeup either (also not until I'm in college) and I can't wear tank tops, crop tops, shorts, or anything else like that.  I really don't know what to do anymore, I just don't think that I can live like this any longer. I've tried asking my parents to be a little less strict but they keep saying no. I am very responsible and mature, so it's not because of that. I know they have the best intentions for me but sometimes I think they're just taking it too far. For example, whenever I ask my dad if I can have a phone, he laughs in my face and says "Well there's the joke of the day!" or something along those lines. I also have to go to bed at 9:00 EVERY DAY, weekdays, weekends, and even during the summer! They don't allow me to stay up EVER, even if I have homework that I need to finish they say "Whatever, go to bed!" sometimes causing me to have to turn in assignments late. My bedtime is really just way too early and every day I just lie awake in bed and I don't fall asleep till like 11:00.  If there's any research out there that could help change their minds, I'd really appreciate it, really just anything that could help me convince my parents, so thanks for reading!


How do I get sharpness 1000 on a diamond sword or netherite sword on minecraft java edition?

How do I get a sword with sharp 1000 on Java? My friend is on bedrock and he has a sharp 100 sworrd. I tried it but didn't work. I wanted to know how to get it to work on 1.16.5. The tutorial is on 1.12.2 so how do I do it with commands?


Compare two times and get difference in minutes hours in php

I want to compare two times which is in 12hrs format, but before comparing I have converted into strtotime and passed converted  values to function and comparing it but output return 0 even there is time difference of 60 minutes still getting 0 in output.  <?php   function timediff($start, $end) {     if($end >= $start) {         return (round(($end-$start)/3600, 0))." Hrs ".((($end-$start)%3600)/60)." Min"; // time should be in queue     } else {         return (round(($start-$end)/3600, 0))." Hrs ".((($start-$end)%3600)/60)." Min";     } }  echo timediff(strtotime('09: am'), strtotime('08: am'));


Show the number of up-votes and down-votes on the mobile site theme

It seems we can't view the number of up-votes and down-votes a question has from the mobile site. Can this be added or is there a reason it isn't available?


How can I get the flash to work in liveview mode on my Canon 70D?

I have a Canon 70D with a Canon Speedlite 580EX II.  This may be a duplicate question, but I can't find the answer.  I can't get the flash to go off in live view mode, either the external flash or the pop up flash.  Is this a setting within the camera that I need to adjust in order for the flash to fire?


Windows install booted me to ubuntu instead

I've been using ubuntu for a few weeks now and i've got to say that it is very fun. But, i want to dual boot ubuntu with windows because i want to play some games that doesn't have linux support yet. Though, my problem was that after the initial "windows 10 needs to restart" screen, it boots me into ubuntu instead of windows 10. How do i fix this?


Example of a Lie algebra such that the form killing $ K_{\mathfrak g} = 0 $ but $\mathfrak g$ is not nilpotent

Present an example of a Lie algebra  $\mathfrak g$ such that killing form $K_\mathfrak g = 0$ but $\mathfrak g$ is not nilpotent. I thought of the Lie algebra  $\mathfrak  b$ of the upper triangular matrices of order $n$. But I don't know whether it could be that example.


How to get different random numbers in array?

I have this code -  number1, number2, number3, number4, number5 = Array.new(5) { rand(99999)+1 }   How can I make sure that each number is unique? Also - is it possible to output all numbers as 5 digit? Like 00147 instead of 147?  Thanks for help!


Where are the repositories for Blender add-ons and scripts?

I want to create a 3D representation of data where the representation is a plot of a set of values as displacement differences along one axis, relative to the other two axes. Since I've never had what I though was a really good idea that someone else hasn't had first, I'm sure that a script must exist that would take a table of data as input, and map it to the vertices of grid object. But I have been unsuccessful in finding the right combination of search terms either to find such a script, or to find a listing of Blender scripts where such a script might be located (somewhat like the GIMP repository). Does such a repository exist, and I'm just too inept to find it? And even if the repository does not yet exist (and I think it would be a really good idea to have one), does such a script exist?


Can the Remove Curse spell be cast on yourself?

Can a Remove curse spell be cast on yourself? If all allies of Von Richten are cursed for helping him in Curse of Strahd, why does he just cast Remove curse on himself?


No sound on Ubuntu 18.04 (Spotify and YouTube don't work either)

Since I updated Ubuntu from 16.x to 17.10 and then to 18.04 I don't have any sound. There is also a problem with videos in web browser (they look like a slideshow, still no sound) and Spotify, where it looks like music is loading but nothing happens.


How do i connect two meshes together without ruining the topology

I am having a lot of trouble connecting the hands and head to the body. They always have more edges than the body meaning I can't connect them through quads.  Is there some technique to make them connect to the body while still using quads?


SSH tunnel through middleman server - how to connect in one step (using key pair)?

My question is basically how to turn my existing two steps into one step.  I have a working SSH tunnel set up between two computers using a middleman server like this:  Kubuntu_laptop--->nat_fw--->Debian_Server<--nat_fw<--Kubuntu_desktop   What I do presently is SSH from Kubuntu_laptop to Debian_Server and then from Debian_Server to Kubuntu_desktop. I would like to make that one SSH command, issued on my Kubuntu_laptop in bash that results in my being connected to the Kubuntu_desktop (shell/bash).  The commands I am using now are as follows. Step 1:  me@kubuntu_laptop:~$ ssh -i ~/.ssh/id_rsa admin@debian_server     Step 2:  admin@debian_server:$ ssh -p 1234 -i /home/admin/.ssh/id_rsa admin@localhost    Then I am connected to the kubuntu_desktop via SSH (from kubuntu_laptop).  RSA keys are required for all SSH connections. Password login is disabled all the way around. And notice that the computer user accounts are different at two of the computers.  Regarding the connection for this leg:  Debian_Server<--nat_fw<--Kubuntu_desktop   Here is how it is established:  autossh -M 5234 -N -f -R 1234:localhost:22 user@mydebian.com -p 22   Notice Kubuntu_desktop connects to middleman as user@mydebian.com (not admin@debian_server). But when I connect to Kubuntu_desktop, I connect as admin user.  I cannot change the existing monitoring port (5234) or the remote (- R) port number (1234 in this example). I cannot change the SSH security to allow password logins. I cannot open up any new firewall ports. I can't change user accounts (except on laptop).


I've always been of the opinion that large switch statements are a symptom of bad OOP design.  In the past, I've read articles that discuss this topic and they have provided altnerative OOP based approaches, typically based on polymorphism to instantiate the right object to handle the case.  I'm now in a situation that has a monsterous switch statement based on a stream of data from a TCP socket in which the protocol consists of basically newline terminated command, followed by lines of data, followed by an end marker.  The command can be one of 100 different commands, so I'd like to find a way to reduce this monster switch statement to something more manageable.  I've done some googling to find the solutions I recall, but sadly, Google has become a wasteland of irrelevant results for many kinds of queries these days.  Are there any patterns for this sort of problem?  Any suggestions on possible implementations?    One thought I had was to use a dictionary lookup, matching the command text to the object type to instantiate.  This has the nice advantage of merely creating a new object and inserting a new command/type in the table for any new commands.    However, this also has the problem of type explosion.  I now need 100 new classes, plus I have to find a way to interface them cleanly to the data model.  Is the "one true switch statement" really the way to go?  I'd appreciate your thoughts, opinions, or comments.


I have a i3 processor at 3 GHz and 2 GB Ram is it good for a win 7 and Ubuntu 16.04 dual boot


How can you use a function in a (EOT function/text block), for better understanding, I want you take a look at my example: include "db.inc.php"; $sql="SELECT * FROM image"; $result = mysqli_query($conn, $sql) or die(mysqli_error($mysqli)); while($topic_info = mysqli_fetch_array($result)){     $img_id=$topic_info['id'];     $img_name=$topic_info['name'];          $display_block .= <<<END_OF_TEXT
                  print_r($topic_info)
 END_OF_TEXT;      }  echo $display_block;  How to use a function like print_r in that variable?


I need to know how much bytes my object consumes in memory (in C#). for example how much my Hashtable, or SortedList, or List<String>.


Increasing display performance of ArcGIS Online Basemaps like Bing in ArcMap?

I'd like to know if there are ways (within ArcGIS itself) to increase the display performance of basemaps within ArcMap. The internet connection was recently upgraded, so it is much faster than before, and by that I mean instead of taking 1 minute to draw the Bing Imagery basemap, it now takes about 30 seconds.   I normally pan and zoom with the basemap off, and once I think I'm in the location I want, I turn the basemap on and take my hands away from the mouse (trying to do anything else guarantees me a spinning circle, and most likely a crash). From  on the ArcGIS forums, I've changed the location of my display cache from My Documents to my C drive, and I could see an improvement.  I then changed the location to our server, and it now takes about 5 seconds to draw when I pan and zoom. While I am quite happy with this, does the fact that I am using 10.1 make a difference? I changed the cache locations for my colleagues who are using 10.0, and their performance did not improve at all. I don't know what else to do, as I can't do anything about the antivirus/firewall part (that's under IT's control).  It's a bit frustrating, particularly when the basemaps in ESRI Maps For Office and ArcGIS for AutoCAD draw almost instantly, and I can zoom in without worrying my computer will implode. My current settings in ArcMap options are hardware acceleration enabled, and cache location changed.  I've looked at the help on , but my settings appear to be optimised already, unless I am missing something.


When I try to post a message using the new chat on mobile, I can't see the edit box and I can't scroll down. I have to type on good luck.        Please show the edit box.    I am on iOS 9.3.2 on an iPhone 6


How to get a stored WLAN "password" from Windows 7?

I'm trying to connect to my friends wireless network, but we don't know the password (ie. network/WEP/WPA key). The WLAN is secured by WPA2.  My friend's laptop with Windows 7 connects automatically to the WLAN. Is there a way to get the password from his laptop?


Proving Pascal's Rule : $\binom n k =\binom{n−1}{ k−1}+\binom{n−1} k $

I have taken the R.H.S and used the combination formula $$\binom{n}{k} = \frac{n!}{k!(n-k)!}$$ then I don't know other steps to solve it.


Between $n$ and $2n$ there is always a prime number.    I was thinking of this and looked it up on the google to find that this is true. Now, I am wondering what is the proof for it? Does any elementary proof exist for it?  Thank you.


In all the series only the dress is changed. Ash doesn't grow up or does his maturity changes. What is the reason?


What is the best way to calculate log without a calculator?

As the title states, I need to be able to calculate logs (base $10$) on paper without a calculator. For example, how would I calculate $\log(25)$?


Replace background while using HDRI for lighting?

How can I replace the background of my scene, but keep the reflections and lighting generated from my HDRI?


Add the ability to create any tag synonym to the "trusted user" privileges

Currently, the ability to create tag synonyms is limited to those users who have a certain amount of activity in that tag. This creates awkwardness for rare tags such as .  Request: Add the ability to create any tag synonym to the  privileges.


Why don't we use vector sign for quantities in 1D motion?

My school textbook says that we don't need to use unit vectors (i ,j,k) to represent the direction of vectors in 1D motion as + and - sign indicate direction. But that is creating a lot of confusion like this: Suppose a question for one dimensional motion is like this: a body is thrown vertically upwards with a speed of 10 m/s. Here if we consider upward direction as positive, then I have seen information written like this: v= + 10 m/s a=-g=-9.8 m/s^2 But I don't agree with the way it is written. I am relating it with vectors. Firstly, why are they not using vector symbol when it has both magnitude and direction ( with + or - indicating direction). Secondly, a should represent the magnitude of acceleration vector but magnitude can't be negative. So why it is written like this? Rather I think they should write like this: v=+10 m/s a=-9.8 m/s^2 Am I right? Note: bold letters here represent the symbol of vectors.


Why "sudo perl" and "perl" execute different perl version?

Ubuntu 14 came with perl v5.18.2, but I would like to test my program with perl v5.22.0 which is installed through perlbrew and then perlbrew switch perl-5.22.0 to use the version I want.  After switch to perl v5.22.0, I have tried to test my program with sudo but why it is executed in default perl v5.18.2?      perl -v: result         sudo perl -v : result


Help the SO team create a css for a mobile site

Since Jeff & Co only ideas for mobile are to make the site Black & White and , I propose that all we collaboratively develop a CSS skin so they can use it in m.stackoverlow.com  I will start with this:  #sidebar,  .statscontainer, #portalLink,  #hlogo,  #footer {display: none;}  #mainbar, #questions, .question-summary, .summary,  #header,  #content,  #header #hmenus, #question-header, #question, #answers, #answers-header, .post-text  {width: 100% !important}  #hsearch .textbox {width: 100px !important;}  body {margin: 0 5px !important;}   That make the site look like this:


eigenvalues of cycle graph and its complement graph

I am trying to find the eigenvalue of cycle graph and its complement. How to simplify.Suppose  $\omega^{1}+\omega^{n-1}=2\cos (2\pi/n) $, then, $\omega^{\frac{n-1}{2}}+\omega^{\frac{n+1}{2}}=\ ?$ Is it true that $\omega^{1}+\omega^{n-1}=\omega^{\frac{n-1}{2}}+\omega^{\frac{n+1}{2}},$ where $\omega=e^{\frac{2\pi i}{n}}$?   Similarly, what is the value of $\omega^{0}+0+\omega^{2}+\omega^{3}+\cdots+\omega^{n-2}+0$. Both the adjacency matrices $C_n$ and its complement $\bar{C_{n}}$ gives circulant matrix.


Nvidia driver 410 listed by ppa and ubuntu-drivers but does not seem to be installable via apt

I have a GTX 660M and Ubuntu 18.04 64-bit.  According to , the latest graphics driver for this card is version 410.66.  The  says  Current long-lived branch release: `nvidia-410` (410.66)   I have nouveau drivers installed at the moment according to lsmod and, apt-get purge 'nvidia*' does nothing.  I have done add-apt-repository ppa:graphics-drivers and apt-get update and a reboot.  Running ubuntu-drivers devices gives this output  == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 == modalias : pci:v000010DEd00000FD4sv00001028sd00000551bc03sc00i00 vendor   : NVIDIA Corporation model    : GK107M [GeForce GTX 660M] driver   : nvidia-304 - third-party free driver   : nvidia-driver-390 - third-party free driver   : nvidia-340 - distro non-free driver   : nvidia-driver-396 - third-party free driver   : nvidia-driver-410 - third-party free recommended driver   : xserver-xorg-video-nouveau - distro free builtin   Note this line:  driver   : nvidia-driver-410 - third-party free recommended   It looks like everything is ready to go to install driver version 410, but autocompleting apt-get install nvidia- indicates the highest available version is nvidia-390, and trying apt-get install nvidia-410 directly fails.  Why does apt not list the version 410 that the PPA and ubuntu-drivers both say is there?  And if I can't apt-get install nvidia-410, how can I install this version?


How should I start Undergraduate Research in Mathematics?

Dear Academic SE advisers,  I am a college sophomore in US with double majors in mathematics and microbiology. My algorithmic biology research got me passionate about the number theory and analysis, and I have been pursuing a mathematics major starting on this Spring semester. I have been independently self-studying the number theory textbooks written by Niven/Zuckerman/Montgomery, Apostol, and Ireland/Rosen on this semester. As this semester progressed, I discovered that I am more interested in the pure mathematics than applied aspects (computational biology, cryptography, etc.). I want to pursue a career as analytic number theorist and prove the Collatz conjecture and Erdos-Straus conjecture.   I have been thinking about doing the number-theory research on my university (research university; huge mathematics department). I have been self-studying the NT by myself and also regularly attending the professional and graduate seminars on number theory but I did not do any pure mathematics research as an undergraduate. Should I visit NT professors in my university and ask them about if I can do undergraduate research under them? If research is not possible (perhaps due to my lacking maturity), should I request of doing independent reading under them and later proceed with the research? How should I ask them? What should I address? If even independent reading is not desirable to them, what should I ask to them or do in my own?   As for my mathematical background, I have been taking Calculus II (computational) and discrete mathematics. I will be taking calculus III (vector calc.) on Summer, followed by Analysis I, Probability, Theoretical Linear Algebra on Fall 2015. As for my self-studying on this semester, I have been studying NT textbooks (mentioned above), proof methodologies, and basic linear algebra.   Thank you very much for your time, and I look forward to your advice!  Sincerely,  PK


Second UK visa refusal under V4.2(a) and (b); what can I change?

My visa application to visit for training and taking exams has been refused twice, on grounds that the cost of my trip represents three times more my stated disposable income. This is the information U had provided on the application form:   Salary: £964 Monthly expenditures: £535 (I actually don't spend it all, unless it's an emergency) Disposable income: £428 as per the ECO calculation after deducting my expenses from my income Stated trip cost: £1500  However, I wrote £535 as a rough estimate. I send money home to my family sometimes, and I normally save all my salary. I earn extra income from tips and allowances, and receive a food allowance, too, which I did mention. I don't think that this was considered, although it's evident on my pay slips which show £200 food allowance and service charge, and £220 per week in tips.   I want to visit for 4 days in July to attend a training, and 2 days in Septmeber to sit an exam. The cost of the trip came to be £1500 and includes flights, hotel, and food. I have already paid in advance for flights, accommodation, and training fees, and I attached the receipts.   In my next application, should I reduce my monthly expenditures? Should I reduce the cost of the trip to only food and ground transportation, and state that the flights and hotel are paid for, attaching receipts as evidence? Will this be enough proof to show that I am not planning to spend more than I can afford?    Note that I have £4500 accessible through my debit card and £4000 available on my credit card. I can obviously afford this trip but how can I correct how I appear financially?


Is there something wrong with our Captcha keys?

Sometimes this happens, but why?  Are my eyes messed up?  Is there something wrong with Tim Stone's noggin?


How to find Retain Count of the Objects?

I am new to Objective-c.I want to know the retain count of the following objects and also I would like to know the process also how it is working. I studied so many documents and watched tutorials also but this doubt remains me like that only.  NSString *str1=@"Hai"; NSString *str2=str1; NSSstring *str3=[str2 copy];   What is the retain count of that "three strings"?  Sorry for my horrible English. Can anyone please tell me the answer. Thanks


Why do some python scripts declare main() in this manner?

In some python scripts, I see this format;  def main():     #run code  if __name__ == "__main__":     main()     In other python scripts, the line if __name__ == "__main__": is not present but the code runs normally. Why have this extra redundant line when the code can run normally even without it? What is the advantage of using if __name__ == "__main__":?


Is the total mass of the universe constant in time?


How to make a scrollbar in the tabs in the 3D view sidebar using python ?


System.QueryException: Inline query has too many rows for direct assignment, use FOR loop

I have a batch executed : 1 out 4200 is failing with : inline query has too many rows for direct assignment,use FOR loop  My code in the exec function:      List<String> personAccountsIDs = getPersonAccountsIDs(accountList);      List<Contact> contactList = [Select ID,Name                                 (Select Name,ID,Brand__c,Customer_Type__c from Profiles__r),                                 (Select ID,Brand__c from Purchases__r)                                 from Contact                                 where AccountID in : personAccountsIDs];      for(Contact c : contactList){              Set<String> brandPurchased = new Set<String>();             for(Purchase__c p : c.Purchases__r){                 if(p.Brand__c !=null)                     brandPurchased.add(p.Brand__c.toLowerCase());             }      .... }   when I see my log , the error is on the query, however I followed the instructions of Salesforce regarding the loop, and for so records, I do have more that 200 purchases, what can I do to solve the issue for the 1 failing process in the batch?


How to overcome Coefficients: (4 not defined because of singularities)

Stats is not my strong point but trying to run a regression. I'm aware that it happens because some of these variables are perfectly collinear. However, I do not know how to fix this? Any help would be much appreciated. This is my current script:   ### Deviant coding of 'Sex' variable dat_full$deviant_sex <- scale(ifelse(dat_full$sex == "Female",0,1), scale = F)  ## Mean centre predictors  ### Complexity dat_full$stnsci <- scale(ifelse(dat_full$complexity == "scientific", 1, 0), center = T, scale = F) dat_full$stnnon <- scale(ifelse(dat_full$complexity == "none", 1, 0), center = T, scale = F)  ### Timing dat_full$aftbef <- scale(ifelse(dat_full$timing == "before", 1, 0), center = T, scale = F) dat_full$aftnon <- scale(ifelse(dat_full$timing == "none", 1, 0), center = T, scale = F)  #regression fulldata <- lm(verdict ~ stnsci + stnnon +                 aftbef + aftnon + stnsci:aftbef +                stnsci:aftnon + stnnon:aftbef +                 stnnon:aftnon , data=dat_full) summary (fulldata)


Am currently working on a business process automation software and literally user actions are simulated by robots. I need to pass some information to the start menu of my windows 7 and i was wondering if the windows start menu could be opened using a powershell script? As the information to open a powershell can be understood by the robots. Please any suggestions would be nice.


I'd like to use PyQGIS to run algorithms from the toolbox in QGIS 2.99 but runalg does not seem to be known.  For instance, the following would generate a grid in QGIS 2.18:  processing.runalg('qgis:creategrid', 1, '467009.285713,480668.436073,5610112.91342,5615790.0642', 500, 500, r'EPSG:25832',r'D:\tobedeleted\trash\grid.shp')   But now it gives me:  AttributeError: module 'processing' has no attribute 'runalg'   I checked the QGIS 3  and although methods like alglist were removed it does not mention runalg.


I have been trying (unsuccessfully) to automate a script (or at least the actions contained within) that I run in Terminal each time a reboot my system, to enable the WiFi.   I have been following as many of the responses on this forum as to how to autommate actions at startup as I can and focused most of my attention around using upstart. Since there is no apparent sign that my script (or any derivation I can come up with) has run I decided I needed to turn debug logging on in initctl and watch what happens with my "script" when events get triggered. Low and behold, initctl is not writing to /var/log/syslog.  Where is it writing to and/or why is it not writing there? I have a directory in /var/log called upstart but all that is in that directory is archive files. For the record I'm running 13.04 with the latest updates applied.


I'm disabling the cache from Safari developer menu, but each time I reboot my computer, the cache is re-enabled.  I'm looking for a permanent solution for disabling the cache.  Any ideas?


How do I add the TikZ symbol to a document? Examples of others are \TeX and \LaTeX.


Very high kernel_task CPU usage after updating to Yosemite 10.10.4

I updated to 10.10.4 on July 1, and ever since I've had very high CPU usage - roughly 270%, i.e. two and a half of four processors - by kernel_task.  It appears on login for about five minutes, then drops to 0.  If I start Safari or Chrome or Parallels, it reappears, and this makes me wonder if it's related to the network.  I know there were DNS changes in 10.10.4 - could it be related?  I have:   Tried running without external displays (there are  bugs about high CPU usage with an external monitor) Removed all login items, and all automatically starting apps Removed all items in /Library/LaunchAgents, /Library/LaunchDaemons, /Library/StartupItems Checked I don't have anything odd installed. The only thing was flux, and I removed it.  I do still have Crashplan installed but ensured it was set to only work twice a week - which is not today. I also have and use Parallels Desktop 10 (latest update), and sometimes it seems the high CPU usage is related to starting it. However, quitting it does not restore CPU usage to normal. I don't think it is heat-related; the CPU temperature is the low end of normal, and fans are running normally, and the laptop has good airflow and I can't feel "hot" air coming from it, only normal temperature air. Booted in safe mode. This was fine and I had normal CPU usage. This makes me think it must be a kernel driver or similar issue. I ran EtreCheck, which shows the only kexts loaded are com.parallels.kext.hypervisor (10.2.1 29006 - SDK 10.7), com.parallels.kext.netbridge (10.2.1 29006 - SDK 10.7), com.parallels.kext.usbconnect (10.2.1 29006 - SDK 10.7), and com.parallels.kext.vnic (10.2.1 29006 - SDK 10.7). However, my battery health is 'Check Battery' - could that be related? Despite the health status, it has done 590 cycles and this model is supposed to only be consumed at 1000. Odd; not sure why that would be / what it means.  System.log: nothing obvious. I sat watching it for several minutes and didn't see anything added to it. Scrolling back showed lots of messages, but nothing that seemed like fast repeated failures or anything that might explain constant CPU usage. I browsed the other logs as well and didn't spot anything.   Examining Activity Monitor, all CPU usage is shown as in kernel_task itself, not any descendant apps.  I have an early 2011 model 15" MBP, which up until 10.10.4 Yosemite ran really well on.  Any ideas on how to analyze and resolve the issue?  PS: Although the weather is hot (it's 35 degrees C - Europe is having a heatwave) it is unlikely to be  since smcFanControl shows a steady 65-67 degrees C, the low end of a normal temperature range. Both fans are spinning at 6000RPM, but that too is normal. Ambient temperature today and yesterday is the same as it was before I installed 10.10.4, but the high CPU usage of kernel_task occurred only when 10.10.4 was installed.  That's the key difference. Something in relation to 10.10.4 causes high CPU usage.


$x^2+3y^2=p \; \;$ for $p$ prime greater than $3$ has a solution if and only if $p\equiv 1\pmod 3$  I am supposed to use the fact that the class number of $\mathbb Q(\sqrt-3)$ is 1.  I already got the first direction.   Would appreciate it if anyone could point me to the right answer (hints) for the 2nd direction


Ubuntu 16.04 booting to emergency mode after updating windows 8.1 to windows 10 in dual boot

I updated my windows 8.1 to Windows 10 and then the grub menu was not appearing, it directly booted to Windows 10, I tried in cmd with this code  ( bcdedit /set {bootmgr} path \EFI\Ubuntu\grubx64.efi ) It didn't work and then I installed Easy BCD And it worked but when I try to load ubuntu it loads to emergency mode and I have tried systemctl reboot an systemctl default but again it opens in emergency mode. What should I do?


I was wondering what fonts are used in Ubuntu 11.10 and are they open source? The fonts used in Ubuntu have very cute Armenian character support, that's why I would like to know them, so I can install them on my Symbian smartphone whose fonts do not have Armenian character supprt.  EDIT: I would love to get additional information. In Firefox web browser the Armenian characters are displayed properly, and I would to know exactly which one of the fonts is the one used in Firefox as there are a lot of fonts in the downloaded archive. –


What should I do if I find a mistake in my submitted master's thesis?

What would you do if you have already handed in a thesis to your professor, but you printed an earlier version with a small mistake. You want to have a great grade nevertheless, but I am feeling unsure of what to do:   Would you tell him your mistake and hope that he indulgent and says "Okay, then this does not count as a mistake." Since you recognized your own mistake, he is likely to be forgiving. Or would you say nothing and hope that he won't find the mistake?


How to get a list of all disks, like this?  /dev/sda /dev/sdb


What is the meaning of 'i686' in Ubuntu?

To check whether I am using 32bit or 64bit Ubuntu. I looked in  and found this answer uname -a. If it is shown as i386, it will be 32bit and amd64, it will be 64 bit, but I got this result:  Linux mukund-ThinkPad-Edge-E431 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:25:33 UTC 2013 i686 i686 i686 GNU/Linux   What is this i686? Is it 32bit or 64bit - I think  it is 32bit, because all the Debian packages which I installed in it are of 32bit, so can anybody please give a detailed explanation.


In Sinhala the name Suminda means calm disposition from the words Samya (calm) + Indu (faculties). In the case of English, how does one understand the meaning of names? E.g. names like Ann, Tom, Dick, Harry, Edward, etc. does not have an easily identifiable meaning or are related to any identifiable English words.


What's the difference between PBKDF and SHA and why use them together?

I've been reading a little bit about hashing lately and , they use "SHA512 within PBKDF2" in their new vault file.  I've looked in Wikipedia for both names and I know PBKDF2 is a key derivation function and SHA is a cryptographic hash function but I can't really understand the difference and why they are both used together with one inside the other.  Can anyone explain this for a person without experience in cryptography?  (You can assume I only know about math, if necessary).


Using TrueCrypt for encrypting user profiles on another volume

My computer (Windows 7) is equipped with two hard disks. One is for the system partition, Windows and the applications while the other contains the Users folder. Now I'd like to encrypt my volumes with TrueCrypt. No problem for the system partition but how about the second volume?  Windows needs access to the user profiles on the second drive when logging in. But it cannot get access until the volume has been mounted in TrueCrypt.  Is there any way of using TrueCrypt with a Users folder on another drive?


Does Q know about the prophets, from DS9?

Does Q know about the prophets, since he was once on DS9 so close to the Bajoran worm hole?  Had he ever met them, or commented on them?


How do I remove items from my Windows 8 context menu?

So first, here's what my actual context menu looks like:    These useless options were added by third-party programs, and apparently I can't delete them using the "traditional" programs recommended on the internet (like ShellExView or ShellMenuView or CCleaner, etc), because these menu items just don't appear to be found by them (exception for Kaspersky's and Winrar's menu items, but those I want to keep there).  The menu items that I want to delete are the ones between "Abrir local do arquivo" and "Executar como administrador".  Any solutions?


What is a "normal" teaching load for a Lecturer in a UK pre-'92 University?

What is a normal teaching load for a Lecturer on a teaching and research contract (equal split) in a physical science field in a UK pre-'92 University? Is there such a thing as "normal", or is the variation huge? In this case, what is the range in "normal"?


So I was trying to make grenades and I used an armor stand tracking command set I found here  (MrLemon's answer) and it has an issue for me. After converting the commands from pre-1.11 to post-1.11 format (e.g. Snowball to minecraft:snowball) the armor stands won't leave and once the /summon tnt command goes off, I get a huge row of explosions along the trajectory of the snowball. I tried something like  execute @e[type=snowball] ~ ~ ~ summon armor_stand ~ ~ ~ {NoGravity:1b,CustomName:"SnowballMarker",Marker:1b,Invisible:1b} testfor @e[type=armor_stand,CustomName:"SnowballMarker",Marker:1b,Invisible:1b] {inTile:Air} kill @e[type=armor_stand,CustomName:"SnowballMarker",Marker:1b,Invisible:1b,inTile:Air]  First command summons an armor stand at the snowballs location. Second command tests if the stand is in the air(at least that was the plan) Third command kills said airborne armor stands. If anyone can make a post-1.11 friendly version of MrLemon's command, I'd greatly appreciate it. Also, please show the arrangement of the commands in their command blocks, crazy things can happen.


re.findall return separate non-overlapping results

I am new to Python and I am struggling a bit with regular expressions. If I have an input like this:      text = <tag>xyz</tag>\n<tag>abc</tag>   Is it possible to get an output list with elements like:      matches = ['<tag>xyz</tag>','<tag>abc</tag>]   Right now I am using the following regex      matches = re.findall(r"<tag>[\w\W]*</tag>", text)   But instead of a list with two elements I am getting only one element with the whole input string like:      matches = ['<tag>xyz</tag>\n<tag>abc</tag>']   Could someone please guide me? Thank you.


Problems installing “sudo” under Debian 6

I'm trying to install sudo on specialized computer that runs Debian 6 and got error:  Err http://ftp.us.debian.org/debian/ squeeze/main sudo i386 1.7.4p4-2.squeeze.2   404  Not Found [IP: 128.30.2.26 80] E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/s/sudo/sudo_1.7.4p4-2.squeeze.2_i386.deb: 404  Not Found [IP: 128.30.2.26 80]   I suppose it is because of not supported sources list. There is no such file like /etc/apt/sources.list. But I have directory /etc/apt/sources.list.d which contains files with content:  cat multistrap-caenrfid-stable.list     deb http://support.caenrfid.it/debian stable main deb-src http://support.caenrfid.it/debian stable main   multistrap-debian.list     deb http://ftp.us.debian.org/debian squeeze main deb-src http://ftp.us.debian.org/debian squeeze main  multistrap-fallback.list     deb http://archive.debian.org/debian lenny main deb-src http://archive.debian.org/debian lenny main  multistrap-webmin.list     deb http://download.webmin.com/download/repository sarge contrib   What should I do in order to install sudo ?


WPF c# In Page Frame Navigation Method, callable from other pages "Object Reference is Required" error

I have a Frame within a Page, and would like to view other pages from within this Frame. I created the generalized method below, which works well from the Page that contains the Frame, called here during InitializeComponent:  public partial class MainPage : Page {     //public object SendPage { get; internal set; }     private Page RefPage  = new Page();     public MainPage()     {         InitializeComponent();         {             NavAway("Page1.xaml");         }     }      public void NavAway(String OurUri)     {         MainFrameXAML.Content = null;         MainFrameXAML.Navigate(new Uri(OurUri, UriKind.Relative));     }      ... }       However, when attempting to call this from other pages (that are contained in the Frame), I get the error:     An object reference is required for the non-static field, method, or property 'MainPage.NavAway(string)'.     Example of one of these calls from Page1.xaml.cs:  private void EventDoneMD(object sender, RoutedEventArgs e) {     MainPage.NavAway("Page2.xaml"); }   I am very new to c# and WPF, and have researched a fair number of methods to approach this, but I haven't found anything that distinctively addresses this while allowing me to keep the structure.  There are two ways that I've thought were promising:  One was to set the method as static, but eventually the error just requires the MainPage.MainFrameXAML to be set as static, which I'm unsure how to do, or if I can do it.  The other has been to use a variation of the following:  var mw = Application.Current.Windows.OfType<MainWindow>().FirstOrDefault(); mw?.SetBadge(counter);   Specifically for the Frame or Page (copied from this post: ).  What are my best options for achieving this?  !!!!Post hoc edit: I appreciate the answer provided, and it certainly got me on the right path.  The route that I ended up going was inspired by this post:   My Syntax for c#/WPF as follows:        private void EventDoneMD(object sender, RoutedEventArgs e)     {         Object frame = Application.Current.MainWindow.Content;         var MP = (MainPage)frame;         MP.NavAway("Page2.xaml");     }     AND        public void NavAway(String OurUri)     {         MainFrameXAML.Navigate(new Uri(OurUri, UriKind.Relative));     }


Interpreting coefficients for multinomial regression with >2 classes?

In R, I am fitting a model using the multinom() function from the nnet package. There is only 1 response variable and there are >2 classes. When I have a model with >3 classes, there's an error that says there are too many weights, so I'm using 3 classes: 0, 1, and 2 (categorical variables). The output from multinom() is stored in model.  Before, when I used 2 classes, summary(model)$coefficients returned a vector of numeric coefficients. When I used 3 classes, summary(model)$coefficients returned a matrix with two rows of coefficients: one for class '1' and one for class '2'. So I'm looking to learn how multinomial logistic regression works. Why do class 1 and 2 have separate sets of coefficients? Does it run logistic regression using class 0 vs 1 and for class 1 vs 2? What about class 0 vs 2? If it compares them all, where are the coefficients for all 3C2 comparisons, instead of just for 2 comparisons?


I am currently reading the book called “Intro to Statistical Learning”. Here, it firstly generates new samples by  simulation (1000) to get population mean and then estimates std.err. But then states that  In practice, we can not generate new samples from original population ...  and chooses “Bootstrapping”. In this approach we obtain distinct samples by repeatedly sampling from the original (real) data set and this approach allows some observation to be repeated more than once in a given sample. So, my question is that  don't we follow the same procedure in the “bootstraping” because here we also somehow generate new samples from the data implementing some kind of simulation? What does it mean (the sentence quoted above)? Consequently, what is the difference? Source -- The introduction to statistical learning, Chapter 5.2, page 188-189