I am not a pro at Mac / OS X. But I know my way around.  I just installed OS X El Capitan. However when I first started up, my harddisk used 30GB with 'other'. With time the capacity just keeps shrinking. If I just stare at the screen, I just see the available space drop and drop. Until it hits Zero Bytes at capacity.   Does anyone know what I can do about this? I cannot seem to find anything on this on Google.   The only thing it returns on my keywords are things like how to remove temporary files, re-index size with Spotlight, Startup in safe mode. None of these things seem to work.    @Edit 22:02 06-04-2016  I have checked Activity Monitor and got the following results:   I have sorted on Bytes Written, that does not seem very strange.  However if I check the Graph Data Written below it gives:   As you can see the data Written is around 8.33 GB and a few minutes later already 10 GB,.. I checked; 'sudo fs_usage -f filesys' this keeps trying to get some attribute lists from mdworker? Don't know if that is normal?    @Edit 20:30 07-04-2016 With 'sudo fs_usage -f filesys' I see that the following processes write;   nsurlsession nsurlstorage IMRemoteUrlC cfprefsd   With using Daisy Disk App I see the following:   So the private and library grows a bit, however the Core grows massively. I see that it produces a 'core dump' of around 528 mb every now and then. This tells cores is a folder for a core dump;    What/why is this happening? (Like the post I have set the core dump limit to 0 and it seems to have stopped generating.)    PS: This is not a duplicate of , I do not have time machine / Backups turned on.
Im using a program called Daisy Disk to see what is taking up space in my Mac and I find that the /cores directory is taking up 77gb.   Is that a problem? Can I get rid of it to regain the space?
The Follow Questions and Answers feature is now live across the Network We are happy to announce that the  follow question and answer feature is now live across the Network, including Stack Overflow, all Stack Exchange sites, and all Meta sites. (International Stack Overflow sites will have it turned on in a day or two once we have translations all set.) You can follow any question or answer (that you did not author) by clicking on the [follow] button that is shown in the menu immediately below the post (alongside the [share] button):    After you have followed a post, you will get inbox notifications for all new answers (in the case where you followed a question), comments, edits, and notices. You will not receive notifications for any action that you performed. As was mentioned in the earlier post, we are not making changes at this point to the notifications received by a post owner, or due to @mentions. The initial release had been planned to only include question following. Thanks to many folks who chipped in over the past few weeks, we are happy to release both question and answer following at the same time. These are available in both the regular and mobile views. We are still planning on two more related releases:  Follows profile tab and question listing filter: A tab for follows will be added to your user profile activity page. Each user will be able to view this tab that will provide a listing of followed questions and answers, with standard sorts, and the ability to unfollow from the listing. Users (with the exception of moderators and authorized staff) will not be able to see this information about other users (nor will it be made public in the API, SEDE, or data dumps). We will be renaming the Favorites feature to Bookmarks. As we mentioned in the preview post, the feature will be the same as Favorites, with the name and icon updated to more accurately represent user expectations and usage. And you will be able to both &quot;bookmark&quot; and &quot;follow&quot; a question.  We hope that this new feature will allow you to have better access to the content that you care about and want to keep tabs on. Update (June 11, 2020): The user profile tab and the rename of Favorites to Bookmarks have been released. Can I connect to SQL Server using Windows Authentication from Java EE webapp? I am currently investigating how to make a connection to a SQL Server database from my Java EE web application using Windows Authentication instead of SQL Server authentication. I am running this app off of Tomcat 6.0, and am utilizing the Microsoft JDBC driver. My connection properties file looks as follows:  dbDriver              = com.microsoft.sqlserver.jdbc.SQLServerDriver dbUser                = user dbPass                = password dbServer              = localhost:1433;databaseName=testDb dbUrl                 = jdbc:sqlserver://localhost:1433   I have zero problems with connecting to a SQL Server database in this fashion when using SQL Server authentication.  Is there any way I can retrieve the credentials of the user's Windows Authentication and use that authentication for SQL Server?  UPDATE: I know in ASP.net there is a way to set up Windows Authentication for access to the webapp, which is exactly what I am looking for, except I want to pass that token off to SQL Server for access to the database. How do I configure a new Ubuntu installation to accept ssh connections? What's the fastest way to count the number of keys/properties of an object?  It it possible to do this without iterating over the object?  i.e. without doing  var count = 0; for (k in myobj) if (myobj.hasOwnProperty(k)) count++;   (Firefox did provide a magic __count__ property, but this was removed somewhere around version 4.) For a 3D scene in the world coordinates, its View Reference Point $\mathrm{VRP}$ is at $(5,-2,1)$, and a viewer is looking towards point $A=(1,1,1)$. Construct a transform matrix which will map world coordinate points to a right-handed $(UVN)$ viewing space, so that $\mathrm{VRP}$ is the origin, the line joining $\mathrm{VRP}$ to $A$ is the positive $N$ axis, and the view-up Vector is $(0,0,1)$.   To my knowledge, the final answer should be a single transform matrix. To calculate the final matrix, I first find the matrix which translates the coordinate system to the to the origin in homogeneous matrix form:  Translation matrix:  $$ T=         \begin{bmatrix}         1 &amp;0 &amp;0 &amp;-5 \\         0 &amp;1 &amp;0&amp; 2 \\         0 &amp;0 &amp;1 &amp;-1 \\         0 &amp;0 &amp;0 &amp;1 \\         \end{bmatrix} $$  Using the unit vectors of the coordinate axes, the resulting rotation matrix is:  $$ R=         \begin{bmatrix}         -0.6 &amp;-0.8 &amp;0 &amp;0 \\         0 &amp;0 &amp;0 &amp;1 \\         -0.8 &amp;0.6 &amp;0 &amp;0 \\         0 &amp;0 &amp;0 &amp;1 \\         \end{bmatrix} $$ Then the final matrix (the final answer for full marks) would be the rotation matrix multiplied by the translation matrix:  $$ M=         \begin{bmatrix}         -0.6 &amp;-0.8 &amp;0 &amp;1.4 \\         0 &amp;0 &amp;0 &amp;1 \\         -0.8 &amp;0.6 &amp;0 &amp;5.2 \\         0 &amp;0 &amp;0 &amp;1 \\         \end{bmatrix} $$ Is my method and final answer correct?    Following the answer to this question, I have calculated the translation matrix:  $$ T= \begin{pmatrix} 1 &amp; 0 &amp; 0 &amp; -5 \\ 0 &amp; 1 &amp; 0 &amp; 2 \\ 0 &amp; 0 &amp; 1 &amp; -1 \\ 0 &amp; 0 &amp; 0 &amp; 1 \\ \end{pmatrix} $$  I have calculated the rotation matrix:  $$ R= \begin{pmatrix} -0.6 &amp; -0.8 &amp; 0 &amp; 0 \\ 0 &amp; 0 &amp; 1 &amp; 0 \\ -0.8 &amp; 0.6 &amp; 0 &amp; 0 \\ 0 &amp; 0 &amp; 0 &amp; 1 \\ \end{pmatrix} $$  But what would the final transformation matrix $M$ be? My lecture slides tell me it would be rotation matrix multiplied by translation matrix, with the last column multiplied by $-1$ except for the $1$. This would equal:  $$ M = R \times T =  \begin{pmatrix} -0.6 &amp; -0.8 &amp; 0 &amp; -1.4 \\ 0 &amp; 0 &amp; 1 &amp; 1 \\ -0.8 &amp; 0.6 &amp; 0 &amp; -5.2 \\ 0 &amp; 0 &amp; 0 &amp; 1 \\ \end{pmatrix} $$  But the answer here just adds them together somehow. Which one is correct? how many distinct values does it have? . (See comments to the question: the OP tried to include a couple of long XML files, but that wasn't possible.)  What's the recommended approach to including code/data, when there's just too much of it to embed in the question?  I could think of a few approaches myself:   Paste the data to a pastebin and link (and wait for the links to die) Encode the (compressed) data in an image and include that (kludgy!) Implement an attachment feature in Stack&nbsp;Overflow (which will probably be abused) How can I verify a Google authentication API access token? How can I verify a Google authentication access token?  I need to somehow query Google and ask: Is [given access token] valid for the [example@example.com] Google account?  Short version: It's clear how an access token supplied through the  can be used to then request data from a range of Google services. It is not clear how to check if a given access token is valid for a given Google account. I'd like to know how.  Long version: I'm developing an API that uses token-based authentication. A token will be returned upon provision of a valid username+password or upon provision of a third-party token from any one of N verifiable services.  One of the third-party services will be Google, allowing a user to authenticate against my service using their Google account. This will later be extended to include Yahoo accounts, trusted OpenID providers and so on.  Schematic example of Google-based access:    The 'API' entity is under my full control. The 'public interface' entity is any web- or desktop-based app. Some public interfaces are under my control, others will not be and others still I may never even know about.  Therefore I cannot trust the token supplied to the API in step 3. This will be supplied along with the corresponding Google account email address.  I need to somehow query Google and ask: Is this access token valid for example@example.com?  In this case, example@example.com is the Google account unique identifier - the email address someone uses to log in to their Google account. This cannot be assumed to be a Gmail address - someone can have a Google account without having a Gmail account.  The Google documentation clearly states how, with an access token, data can be retrieved from a number of Google services. Nothing seems to state how you can check if a given access token is valid in the first place.  Update The token is valid for N Google services. I can't try a token against a Google service as means of verifying it as I won't know which subset of all Google's services a given user actually uses.  Furthermore, I'll never be using the Google authentication access token to access any Google services, merely as a means of verifying a supposed Google user actually is who they say they are. If there is another way of doing this I'm happy to try. Can a black hole be explained by Newtonian gravity? In the simple explanation that a black hole appears when a big star collapses under missing internal pressure and huge gravity, I can't see  any need to invoke relativity. Is this correct? How to set a font for math mode? I would like to have something like Segoe UI of something similar. Thank you  \documentclass{article} \usepackage{fontspec} \usepackage{firamath-otf} \begin{document} \begin{equation} x+y=45 \end{equation}  \end{document}   Error: Colors in Photoshop CS6/CC look different than in browser? What is the closed form of $\int e^{x^2} \, dx$? How can I do a closed form expansion of $\int e^{x^2} \, dx$? Please be specific as to which method I must use. Is there a general formula for image size vs. print size? Is it possible in blender to change the dimensions of a downloaded 3d model in .blend format or .obj format in blender using python scripting? I am totally new to blender, I have downloaded a 3D model of a humanoid and am able to see it in blender. I want to change its dimensions and size in all perform editing on by changing its size, height, arm width, length, etc. In a more clear picture of the question, suppose i have 5 persons whose 3D model I have to make automatically, so I want to change the dimensions of that humanoid to match the body measurements of these people. If I can mark those points manually on the humanoid and define parameters of shoulder width, arm length, height, etc and just input the values then my project can go a little forward. The model I am using is attached in this link,  Please if anyone can tell me if it is possible to edit the model by defining certain parameters through python scripting. I need it as an add on for my project. And i just need to know how can i do that rest i shall experiment and do. Watermark TextBox in WinForms I am young, just started my career, and looking to begin investing so I can make my money work for me. I'm still living like I did in college (occasional purchase on myself, but most of it goes into savings) and I would like to take the extra money and invest it.   What would you suggest are the best options for me to begin? I was considering getting a personal investor [a financial advisor] for perhaps a year or so, but I've heard that they really are not worth the money. I wanted to get the input of the great minds here. How can I take a photo which shows the skyline and the person who is standing around six feet away from the camera with proper lighting at night?   For taking just the skyline I've used long shutter speed and it turned out great, but when including a person on it, the person becomes  blurry because it's impossible for a person to remain static for that long.   Ps.  I do have two flashes, 35mm prime lens as well as 18-300mm zoom lenses as well. The camera I use is Nikon D7200. How to run applications as root? I am having some strange issue with Kate and Kwrite. When I click on Open File, it crashes with segmentation fault.   I am a complete newbie to Linux, and I think the issue is that I am not running the application as root.   How do I run applications as root in Ubuntu? Is it bad practice to do this? What is the purpose of the whole root thing, where even though we need to use root so frequently, it is not utilized as default? Add parenthesis as an accepted Markdown ordered list delimiter The Markdown editor knows that an empty line, followed by a number, followed by a period, followed by a space, is a list item.  This works great It's almost magic  The problem is that I almost always use a close parenthesis for my lists. I think it's a pretty common practice, but the problem is that the editor / Markdown parser doesn't accept parenthesis as an acceptable list delimiter:  This fails horribly This is on the next line I swear Double booked - User bookmarking question recorded twice