Moving Ubuntu to bigger hard drive
How to resize partitions?
Is there a word for colloquial forms of address? For example, "dude," "man," "buddy," "pal," etc, when used to stand in for someone's name.  "Hey, pal, how's it going?"  Is there a word for terms like these?  Or is "colloquialism" as close as we can get? On the Bash on Ubuntu on Windows app, I only have   root@localhost:~# ls -a     .bash_history  .bashrc  .profile   How do I access all of the Windows folders like Documents, Downloads, etc.? Validity of naively computing the de Broglie wavelength of a macroscopic object Many introductory quantum mechanics textbooks include simple exercises on computing the de Broglie wavelength of macroscopic objects, often contrasting the results with that of a proton, etc.  For instance, this example, taken from a textbook:     Calculate the de Broglie wavelength for      (a) a proton of kinetic energy 70 MeV      (b) a 100 g bullet moving at 900 m/s   The pedagogical motivation behind these questions is obvious: when the de Broglie wavelength is small compared to the size of an object, the wave behaviour of the object is undetectable.  But what is the validity of the actual approach of applying the formula naively? Of course, a 100g bullet is not a fundamental object of 100g but a lattice of some $10^{23}$ atoms bound by the electromagnetic force. But is the naive answer close to the actual one (i.e. within an order of magnitude or two)? How does one even calculate the de Broglie wavelength for a many body system accurately? Recently I've changed jobs, and consequently the field of research has also changed. But I'm still getting proposals for publications in the previous field, and it is interesting for me to accept some of them. My concern is about which affiliation to use: on one hand I gain all the knowledge in that field while working on the previous employer, also I hope they can cover my expenses related to the publication. On the other hand, I do not work for them anymore, and my current company has very little interest in my old field of research, and probably will not support it financially, but I think it is wise to mention them as well. As a compromise I'm thinking to put the previous employer in the affiliation, and the name of my new employer in the footnote, something like "currently at XYZ". Surely I'll discuss this issue with both, although the opinion of the community is also very valuable. If I take a screenshot, often the next action is to paint on it. Sometimes I paint a circle around something, sometimes I blank parts to anonymize them.  Below is an example of the window after the screenshot was taken:    It would be great if I could directly go to "edit image".  BTW, I use Pinta, not Gimp.  I guess this is impossible.  Off-topic but nevertheless relevant:  I know the terms "Wayland", "Xorg", "Gnome".  But my grand mother is a user, not a geek. She does not know these terms. And it would be great, if she could use ubuntu without learning these terms. Which Harry Potter works are considered canon? There are many different Harry Potter works including:   books short stories movies card games video games toys amusement parks web content   Which ones are considered to be canon? Why can't Python's raw string literals end with a single backslash? The   echo one; echo two &gt; &gt;(cat); echo three;    command gives unexpected output.  I read this:  and many other articles about process substitution on the internet, but don't understand why it behaves this way.  Expected output:  one two three   Real output:  prompt$ echo one; echo two &gt; &gt;(cat); echo three; one three prompt$ two   Also, this two commands should be equivalent from my point of view, but they don't:  ##### first command - the pipe is used. prompt$ seq 1 5 | cat 1 2 3 4 5 ##### second command - the process substitution and redirection are used. prompt$ seq 1 5 &gt; &gt;(cat) prompt$ 1 2 3 4 5   Why I think, they should be the same? Because, both connects the seq output to the cat input through the anonymous pipe - .  Question: Why it behaves this way? Where is my error? The comprehensive answer is desired (with explanation of how the bash does it under the hood). Is there a website with historical temperatures and weather data? I am interested in hiking this fall in France and camping along the way. In order to figure what gear I need to pack to camp (particularly for the sleeping bag), I would like to know what temperatures to expect.  I am interested in historical temperatures to figure the usual temperature and I might look at them for other seasons. If that matters, I am thinking about hiking in the Pays Basque (South West of France), the mountainous part.  Where (ideally online and for free) can I find such data? Are there resources that cover Europe, or even the whole world? Solving $\cos x=x$ I would like to know how can we solve the equation $\cos x = x$, without graphing. I know that  there would only be one solution, that is obvious, that too in between $0$  and $\frac{\pi}{2}$. Is there any real expression in finite terms [perhaps we call that closed form, I am not sure] that could give $x$ or $\cos x$. Although I have not studied Taylor series, I know that it only gives an infinite series, which is not what I want. I suspect that it could not be done, but can anyone explain me why?  Just for completeness, Wolfram Alpha, gives the approximate answer $x = 0.7390851332151606416553120876738734040134$, but fails to give a exact solution. Why the Principle of Least Action? I'll be generous and say it might be reasonable to assume that nature would tend to minimize, or maybe even maximize, the integral over time of $T-V$.  Okay, fine.  You write down the action functional, require that it be a minimum (or maximum), and arrive at the Euler-Lagrange equations.  Great.  But now you want these Euler-Lagrange equations to not just be derivable from the Principle of Least Action, but you want it to be equivalent to the Principle of Least Action.  After thinking about it for awhile, you realize that this implies that the Principle of Least Action isn't really the Principle of Least Action at all:  it's the "Principle of Stationary Action".  Maybe this is just me, but as generous as I may be, I will not grant you that it is "natural" to assume that nature tends to choose the path that is stationary point of the action functional.  Not to mention, it isn't even obvious that there is such a path, or if there is one, that it is unique.  But the problems don't stop there.  Even if you grant the "Principle of Stationary Action" as fundamentally and universally true, you realize that not all the equations of motions that you would like to have are derivable from this if you restrict yourself to a Lagrangian of the form $T-V$.  As far as I can tell, from here it's a matter of playing around until you get a Lagrangian that produces the equations of motion you want.  From my (perhaps naive point of view), there is nothing at all particularly natural (although I will admit, it is quite useful) about the formulation of classical mechanics this way.  Of course, this wouldn't be such a big deal if these classical ideas stayed with the classical physics, but these ideas are absolutely fundamental to how we think about things as modern as quantum field theory.  Could someone please convince me that there is something natural about the choice of the Lagrangian formulation of classical mechanics (I don't mean in comparison with the Hamiltonian formulation; I mean period), and in fact, that it is so natural that we would not even dare abandon these ideas? According to the documentation  in order to retrieve a list of picklist values for an object we need to pass in a Record Type Id which can be retrieved using the getObjectInfo method.   The issue is that these are both wire functions and I cannot figure out how to chain these methods.  If I try code like the following:  getObjectInfo({ objectApiName: ACCOUNT_OBJECT })             .then(result =&gt; {                 return getPicklistValues({recordTypeId: result.defaultRecordTypeId, fieldApiName: TYPE_FIELD});             })             .then(result =&gt; {                 this.picklistValues = result.data             })             .catch(error =&gt; {                 this.error = error;             });   I get an error      render threw an error in 'c:getpicklistexample' [Imperative use is not   supported. Use @wire(getObjectInfo).]   If I try something like   @track rtId;      @wire(getObjectInfo, { objectApiName: ACCOUNT_OBJECT })     handleResult({error, data}) {         if(data) {             this.rtId = data.defaultRecordTypeId;         }     }      @wire(getPicklistValues, {recordTypeId: this.rtId,fieldApiName: TYPE_FIELD})     picklistValues;   Then it throws an internal server error. Anybody have an idea as to how I could retrieve the record type Id and then call to get the pick list values like the documentation suggests?  FYI my imports are:  import { LightningElement, wire, track } from 'lwc'; import { getPicklistValues, getObjectInfo } from 'lightning/uiObjectInfoApi'; import TYPE_FIELD from '@salesforce/schema/Account.Type'; import ACCOUNT_OBJECT from '@salesforce/schema/Account'; Convert ls -l output format to chmod format Periodically, my MacBook Pro 17" stops recognizing my headphones. No amount of unplugging and replugging seems to help. The sound settings never show headphones as an output device. How can I fix this? The only thing I can find elsewhere on the Internet are people saying, "Reboot!" This works, but is impractical and annoying. How much space does Ubuntu take up after it's already installed? I know how much space is required to install Ubuntu.  How much space does a Ubuntu installation take up on the disk? I asked a  on stackoverflow at the end of last year for a beta or pre-release product and got the answer I wanted.  3 months later someone else answered the question with the correct answer for a newer release.  This answer got way more upvotes than the one I accepted.  I only noticed this today so changed the accepted answer.  Can I get a notification email when an answer gets say 10 more votes than the one I accepted.  Just to let me know something might be up. Emoji Characters I'm trying to display Emoji Characters inside my XeLaTeX Document. It seems to work for some glyphs like the numbers and pound sign but not for all. Here is a MWE:  \documentclass{scrartcl}  \usepackage{fontspec}  \setmainfont{Apple Color Emoji} % The emoji Font   \begin{document} \char"0030{}  %Works \char"1F60D{} % Doesent Work should out put SMILEY FACE WITH HEART SHAPED EYES \end{document}   What is the reason for this strange behavior and is there a way to include Emojis in XeLaTeX?  Edit:   It seems the Character is there. It is selectable but not visible. I can copy&amp;paste it. Is it safe to format msftres, msftdata and hidden partitions? Partitioning $\{1,2,\ldots,k\}$ into $p$ subsets with equal sums, where $p$ is prime Let $p$ be a prime natural number. For which positive integer $k$ can the set $\{1,2,\ldots,k\}$ be partitioned into $p$ subsets with equal sums of elements ?  Obviously, $p\mid k(k+1)$. Hence, $p\mid k$ or $p\mid k+1$. All we have to do now is to show a construction. But I can't find one. I have tried partitioning the set and choose one element from each set but that hasn't yielded anything. Any hint will be appreciated. Why is $\Gamma\left(\frac{1}{2}\right)=\sqrt{\pi}$?