What is the purpose having final keyword in method parameter?
Why should I use the keyword "final" on a method parameter in Java?
Why people think dark matter as a massive particle? Couldn't it be gravitational waves? Dark matter is said to be present in the galaxies which helped galaxies to exist in the first place forming the glue to attach all the matter in the galaxies.  Given that dark matter never been seen or detected and only effect of which could be felt why do we believe it would be a particle? We have universe (almost) equally distributed in all directions with dark matter forming the skeleton for all the matter that could be seen. Can the dark matter be a illusion of gravitational waves interfering with each other forming this uniform interference pattern of galaxies/matter that is seen by us?  That would also explain the repulsive dark energy which would be the troughs in the gravitational waves indicating desructive interference in the gravitational waves.  Can we hope to simulating the above to come to the possible conclusion of source(two or many) of these gravitational waves that could give rise to skeleton of dark matter and dark energy which may be present in some higher dimentions? How do I parse command line arguments in Bash? Proximal Operator Fixed Point Property for Matrices $\newcommand{\prox}{\operatorname{prox}}$ $\newcommand{\argmin}{\operatorname{argmin}}$ $\newcommand{\dom}{\operatorname{dom}}$  Recall again that the proximal operator for vectors $\prox_{f}: R^n \rightarrow R^n$ of $f$ is defined as:  $\prox_f(v) := \argmin_{x} \left(f(x) +(1/2)\|x-v\|_2^2 \right) $,  where $f: R^n \rightarrow R \cup \infty$ is a closed proper convex function and $\|\cdot \|_2$ is the Euclidean norm. $\prox$ is strongly convex and not everywhere infinite, so there it will have a unique minimizer for every $v \in R^n$  The crucial property of proximal operator is that $x^*$ minimizes $f(x)$ iff $x^* = \prox_f(x^*)$, i.e. $x^*$ is a fixed point of $\prox_f$.  Let us consider the proof of this property. The first part, namely, that if $x^*$ minimizes $f$ then $\prox_f(x^*)=x^*$, is trivial:  $f(x) +(1/2)\|x-x^*\|_2^2 \le f(x^*) = f(x^*) +(1/2)\|x^*-x^*\|_2^2$  The second part uses the notion of subdifferential. In the proof authors say that $\tilde{x}$ minimizes  $f(x) +(1/2)\|x-v\|_2^2$  i.e. $\tilde{x} = \prox_f(v)$ iff $0 \in \partial f(\tilde{x}) + (\tilde{x}-v)$,   where the sum is of a set and a point. Recall the definition of the subdifferential:  $\partial f(x) = \{ y$ |  $ f(z)\le f(x) + y^T(z-x)$ $\forall z \in \dom{f}\}$  Take $\tilde{x}=v=x^*$, it follows that $0 \in \partial f(x^*)$ so $x^*$ minimizes $f$.  Question 1:  Consider proximal operator defined for matrices now:  $\prox_f(Y) := \argmin_{X} \left(f(X) +(1/2)\|X-Y\|^2 \right)$,  where $X$ is some real $m$ by $n$ matrix. What norm function should be taken in the definition of the $\prox$ in this case? Frobenius? Or spectral norm (induced 2nd norm) which is the largest eigenvalue (is spectral norm even differentiable?)? Or something else?  Question 2:   Can the norm for the definition of $\prox$ in case of matrices be chosen in different ways? What conditions does the proof above impose on the norm function? Why can't we use double pointer to represent two dimensional arrays? How do function pointers in C work? Pseudoinverse and norm Suppose the m * n matrix A =$ \begin{bmatrix}     A_1 \\A_2 \end{bmatrix}$ where A1 is a nonsingular square matrix (n*n) and A2 is an arbitrary matrix. Why is $||A^{+}||_2 \leq ||A_1^{-1}||_2$  ?   ($A^{+}$ denotes the psuedoinverse) How to merge multiple Internet connections into one? My PC has a total of 4 NICs, 2 wired Gigabit Ethernet network cards and also 2 wireless network cards. (One Broadcom with proprietary drivers and Ralink with open source software, which works much better than Broadcom.)  My cellphone can share its connection wirelessly to my PC, but I also have a wired Internet connection. So I have multiple Internet connections to access the Internet. How can I merge 2 or more connections together and balance them to enjoy one unified Internet experience that it is the sum of all Internet connections connected to it.  For example if I have a modem with an Internet connection of 1024kB/s and another one that offers 512kB/s and one small one that offers 128kB/s, after load balancing and merging all connections (Bonding or Teaming), I could download at a speed of 1664kB/s using all 3 Internet connections as one for example.  This question has always intrigued me. Vertex count appears incorrect after removing doubles I've only just started studying the Blender Python API. I'm writing a script (see below) to automate something I've done by hand : joining two adjacent cubes and cleaning up the resulting mesh.   After joining and removing doubles, I expect to have 12 vertices instead of 16 in the resulting object. In the Info header, this seems to be the case, but when I print to the windows terminal I still see 16. Also I do see the output from remove_double(), here's a screenshot :    So what's wrong here ? What is the right way to access an object's mesh, and count its vertices ?  Joao  import bpy  # Create two adjacent cubes and join them bpy.ops.mesh.primitive_cube_add(location=(1,0,0)) ob = bpy.context.object bpy.ops.mesh.primitive_cube_add(location=(3,0,0)) ob.select = True bpy.ops.object.join()  # Expect 16 vertices, 24 edges, 12 faces result = bpy.context.object print(str(len(result.data.vertices)))  # Go to edit mode, remove double vertices bpy.ops.object.mode_set(mode = 'EDIT') bpy.ops.mesh.remove_doubles()  # Expect 12 vertices, 20 edges, 11 faces result = bpy.context.object print(str(len(result.data.vertices))) I want to generate sprite-sheets for an isometric projection of various 3d assets purchased from the Unity3D asset store. I'd preferably also render the normal maps. I am a programmer, but new to 3D modeling software (Blender, etc.)  I found two tools for this;  and , but neither supports enough formats to be worth their cost.  There must be an efficient way of isometrically rendering various animations of a 3d assets in Blender&mdash;but I don't know how. How can I do this? error when adding user to wheel group in CentOS 7 I am trying to grant sudo privileges to a user of a CentOS 7 devbox by typing gpasswd -a user wheel, but the attempt is failing.  What am I doing wrong?    Here is what I typed:    I discovered that the user is not in the wheel group as follows:    [user@localhost git]$ sudo yum install git [sudo] password for user:  Sorry, try again. [sudo] password for user:  Sorry, try again. [sudo] password for user:  user is not in the sudoers file.  This incident will be reported.   I then logged in as root and typed the following to add the user to the wheel group:    [user@localhost git]$ su - Password:  Last login: Thu Aug 20 17:11:31 PDT 2015 on pts/0 [root@localhost ~]# gpasswd -a user wheel Adding user user to group wheel [root@localhost ~]# exit logout   I finally tried to use the sudo command again but it failed as follows:    [user@localhost git]$ sudo yum install git [sudo] password for user:  user is not in the sudoers file.  This incident will be reported. [user@localhost git]$ How to make a live Ubuntu 18.04 USB with a persistent storage of more than 4GB Does visiting Canada from USA under ESTA reset the visa waiver? What are the correct version numbers for C#? How can I build XML in C#? How can I generate valid XML in C#? WCF - Faults / Exceptions versus Messages We're currently having a debate whether it's better to throw faults over a WCF channel, versus passing a message indicating the status or the response from a service.  Faults come with built-in support from WCF where by you can use the built-in error handlers and react accordingly. This, however, carries overhead as throwing exceptions in .NET can be quite costly.  Messages can contain the necessary information to determine what happened with your service call without the overhead of throwing an exception. It does however need several lines of repetitive code to analyze the message and determine actions following its contents.  We took a stab at creating a generic message object we could utilize in our services, and this is what we came up with:  public class ReturnItemDTO&lt;T&gt; {     [DataMember]     public bool Success { get; set; }      [DataMember]     public string ErrorMessage { get; set; }      [DataMember]     public T Item { get; set; } }   If all my service calls return this item, I can consistently check the "Success" property to determine if all went well. I then have an error message string in the event indicating something went wrong, and a generic item containing a Dto if needed.  The exception information will have to be logged away to a central logging service and not passed back from the service.  Thoughts? Comments? Ideas? Suggestions?  Some further clarification on my question  An issue I'm having with fault contracts is communicating business rules.  Like, if someone logs in, and their account is locked, how do I communicate that? Their login obviously fails, but it fails due to the reason "Account Locked".  So do I:  A) use a boolean, throw Fault with message account locked  B) return AuthenticatedDTO with relevant information A situation came up in my session where a fighter used his Shield Master Shove feature to shove a Giant Crocodile that was currently restraining another PC using it's bite+grapple ability.  I did a quick check at the time and did not find anything related to shove, although in the  condition description it states:     The condition also ends if an effect removes the grappled creature from the reach of the grappler or grappling effect, such as when a creature is hurled away by the thunderwave spell.   I ruled at the time that a shove would count in a similar way to being "hurled away" however I wasn't sure and said I would find more concrete information for the future.  I have searched high and low for somebody else asking this specific question but have yet to find it. I saw some reference to a Jeremy Crawford tweet about involuntary movement and grappling however I am unable to find it.  If a third party "shoves" a creature that is grappling another, does it only shove the grappler away, or does it move both the grappler and grappled?  I drew a diagram:   (; this question relates to if a third party shoves the grappler instead, so it's not a duplicate.) Tips to extend battery life for laptops and notebooks This question is present as a matter of historical interest.  While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will be closed per the .   It is possible to greatly extend the usage time of a laptop or netbook running on battery by disabling various services and installing various packages.   What tricks or tips do people have for getting an extra hour or two out of their batteries? How are app sales/acquisitions taxed in the US? MWE:  \documentclass{minimal} \usepackage{commath, tikz} \begin{document} \begin{tikzpicture} \node {$:$}; \end{tikzpicture} \end{document}   When I compile this, pdfTeX enters an infinite loop. Why? I have 16GB of system RAM. On startup with no applications open except the task-manager Windows is using about 3gb of RAM. I looked in the processes tab, but nothing seems to be out of the ordinary. How can I find out why my Windows is using so much RAM.    all processes from all users      Reading from the poolmon it seems that my wireless broadcom driver is using about 0.4GB of of RAM. Even if I remove  it would still be using  2.6GB on start-up, which is still too much.      After reinstalling the wireless driver associated with the memory leak. I have a new screenshot and would like to confirm that it was indeed a memory leak.