I recently checked my system to clean out a few items and noticed my system files are taking an insanely large amount of my storage. This feels quite unnatural, is there a away to find what might be cluttering it up?
I have a 250G disk on my Mac with around 100G in use. But the system reports only around 20G of free space. I'm using macOS 10.13.2. I have the problem at least since the upgrade to High Sierra, but probably also before.  "About This Mac" --> "Storage" reports that "System" is using around 180G. But if I check the complete disk, it looks like that:  $ sudo du -cxhd 1 /   0B    /.HFS+ Private Directory Data 1.0K    /home 4.3G    /usr 4.2G    /.Spotlight-V100 1.0K    /net  34G    /nix   0B    /.PKInstallSandboxManager   0B    /.PKInstallSandboxManager-SystemSoftware 2.6M    /bin   0B    /Network 1.1M    /sbin 3.8G    /Library   0B    /.Trashes 6.5G    /System 476K    /.fseventsd du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted du: /private/var/folders/z7/[...]/0/SafariFamily: Operation not permitted du: /private/var/folders/z7/[...]/0/com.apple.LaunchServices.dv: Operation not permitted du: /private/var/folders/z7/[...]/0/com.apple.nsurlsessiond: Operation not permitted du: /private/var/folders/z7/[...]/0/com.apple.routined: Operation not permitted du: /private/var/folders/zz/[...]/0/com.apple.nsurlsessiond: Operation not permitted 8.0G    /private 8.6M    /.DocumentRevisions-V100   0B    /.vol  32G    /Users  11G    /Applications 207M    /opt 5.0K    /dev 4.0K    /Volumes   0B    /cores 104G    / 104G    total   df also says that only 20G are available:  $ df -h / Filesystem     Size   Used  Avail Capacity iused               ifree %iused  Mounted on /dev/disk1s1  234Gi  211Gi   20Gi    92% 4019132 9223372036850756675    0%   /   Any tool I was using (Finder, Disk Inventory X, etc.) shows more or less the same numbers like df and du.  Output of mount:  $ mount /dev/disk1s1 on / (apfs, local, journaled) devfs on /dev (devfs, local, nobrowse) /dev/disk1s4 on /private/var/vm (apfs, local, noexec, journaled, noatime, nobrowse) map -hosts on /net (autofs, nosuid, automounted, nobrowse) map auto_home on /home (autofs, automounted, nobrowse)   I read and tested many, many things like:         ... but with no success. So what could consume more than 100G of disk space without showing up in any tool?  Update  Running „First Aid“ in recovery mode:   What does this error message mean?  error: btn:1: invalid key order (1) oid 440198 / oxid 114577 fsroot tree is invalid.   Update 2018-01-25  Another report of the same error:  (but no answers, yet)  I'm pretty sure this file system error is the root cause for the missing disk space. But I have no idea how to fix that. I was hoping that 10.13.3 would maybe solve it, but it didn't change anything. I guess I need to reinstall...
PGFplots foreach equivalent to TikZ's with multiple variables separated by a slash Windows file system is case insensitive. How, given a file/folder name (e.g. "somefile"), I get the actual name of that file/folder (e.g. it should return "SomeFile" if Explorer displays it so)?  Some ways I know, all of which seem quite backwards:   Given the full path, search for each folder on the path (via FindFirstFile). This gives proper cased results of each folder. At the last step, search for the file itself. Get filename from handle (as in ). This requires opening a file, creating file mapping, getting it's name, parsing device names etc. Pretty convoluted. And it does not work for folders or zero-size files.   Am I missing some obvious WinAPI call? The simplest ones, like GetActualPathName() or GetFullPathName() return the name using casing that was passed in (e.g. returns "program files" if that was passed in, even if it should be "Program Files").  I'm looking for a native solution (not .NET one). In Shakespeare's Macbeth, the Third Witch says to Banquo: "Thou shalt get kings, though thou be none" (1.3.65); if I want to quote that line and write it in the third person singular, how should I conjugate the verbs "shall" and "be" correctly? 'both in terms of' or 'in terms of both'? Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Windows 8.1 64-bit: High memory usage I have 8GB of memory on a 64 bit windows 8.1 machine, and windows is telling me I'm using 91% of my memory, yet its simultaneously telling me I'm only using 3GB.  I literally just restarted my machine a few minutes ago because it was being incredibly rediculously slow. I'm currently only running chrome (with a ton of tabs, but doesn't add up to anywhere near 7.5GB). What could be going on here?   Here's a bunch of my current info       I took a look at this:  but I wasn's able to use xperf and the rest didn't lead me to a solution.  UPDATE - RamMap:   UPDATE 2: I checked Resource Monitor at Wouter's suggestion and found an "Image" called lxdecoms.exe with over 6GB of Commt (KB). I tried killing the process, but while it lowered my Commit Charge, it didn't affect "Used Physical Memory". So I restarted hoping to capture it again in full, but its not back yet and yet the problem persists.  I should note that I do have a Centos virtual box virtual machine running on my machine, not sure if that has any weird memory impacts that aren't reflected in the numbers in these tools.   I got xperf working, so here's my resource monitor and a wpa analysis of my xperf output (from xperf -on ReferenceSet -BufferSize 1024 -MaxFile 512 -FileMode Circular  &amp;&amp; timeout 5 &amp;&amp; xperf -d MemUsage.etl):     What is N/A that's taking up 2.7GB of memory? My VM? Where should I put  tags in HTML markup? When embedding JavaScript in an HTML document, where is the proper place to put the &lt;script&gt; tags and included JavaScript? I seem to recall that you are not supposed to place these in the &lt;head&gt; section, but placing at the beginning of the &lt;body&gt; section is bad, too, since the JavaScript will have to be parsed before the page is rendered completely (or something like that). This seems to leave the end of the &lt;body&gt; section as a logical place for &lt;script&gt; tags.  So, where is the right place to put the &lt;script&gt; tags?  (This question references , in which it was suggested that JavaScript function calls should be moved from &lt;a&gt; tags to &lt;script&gt; tags. I'm specifically using jQuery, but more general answers are also appropriate.) I read recently that if you hold a bullet in one hand and a pistol in the other, both hands at the same height, and subsequently fired the pistol at the same time as dropping the bullet, both bullets would hit the ground at the same time (assuming the fired bullet encounters no obstacles).  Is this true, and if so can you explain the reasoning behind it with as few equations as possible? I assume it is essentially that gravity is unaffected by momentum, but it just sounds counter-intuitive. Why zero correlation does not necessarily imply independence How did Princess Leia survive this? In the Last Jedi movie, there is a scene where      her spaceship is taken down, Princess Leia is thrown into outer space, and seen floating there, frozen.    However, she manages to survive this, while any ordinary human being couldn't.   How did she manage this? Is this done by using the Force? Can I have my sudo/su password different from my desktop login password? I think this is a duplicate of an old question without a good answer:  My child was doing schoolwork on her school-issued Macbook Air. Suddenly lighter greys are totally white. This generally gives the images on the screen a vague feeling of being &quot;off&quot;, and pixellates all curved edges. The biggest problem is that text on some of her sites is unreadable. I've checked the following:  Color profiles - it looked like it was using the default, but a cycled through a few built-ins. I could see noticeable changes to color balance, but the light greys remained the same as white. Also deleted contents of ~/Library/ColorSync/. Accessibility - my child has accidentally inverted colors before, this isn't that. No other accessibility settings seemed related to color. Display settings - Modifying brightness was also fruitless. The screen overall got brighter or darker, but still couldn't distinguish between light grey and white Rebooting - colors look fine until shortly after logging in - seems connected to user profile somehow.  Here are some images to demonstrate the issue. This is a generic color test image:  On the Mac, it looks like this (simulated with photoshop):  Any solution would be appreciated, but if there is a keyboard shortcut that can cause this, it would be the most likely explanation (8 year old says they &quot;might have rested their arms on the keyboard&quot; during a class meeting) What is Hawking radiation and how does it cause a black hole to evaporate? I am trying to write a VF page to list all the id and name columns from a custom object but found an error "List has more than 1 row" in the VF page.  Can anyone tell me what have I done wrong?  VF Page:  &lt;apex:page Controller="MP_controller" showHeader="false" sidebar="false"&gt;   &lt;apex:pageBlock&gt;      &lt;apex:pageBlockTable value="{! mp}" var="item"&gt;         &lt;apex:column value="{! item.id}"/&gt;         &lt;apex:column value="{! item.name}"/&gt;       &lt;/apex:pageBlockTable&gt;   &lt;/apex:pageBlock&gt; &lt;/apex:page&gt;   Apex controller  global with sharing class MP_controller {     public Merchant_Profile__c mp{get;set;}     public MP_controller(){         mp = [SELECT                  ID, name, Profile_account_name__c, Merchant_ID__c, Bank_Code__c, Country_Code__c,                 Currency_Code__c, Merchant_Level__c, Merchant_Type__c, MSO__c, Region__c,                 Retail_Products__c, Transaction_Mode__c, Created_Date__c, Date_Disabled__c, Date_Live__c,                 Merchant_Category_Code__c                FROM Merchant_Profile__c               WHERE Profile_Account_Name__c = '001O000000bQFnyIAG'];     } } I use the listings package for code listings and I turned the line numbers on. But they appear left of the paragraph. I want them inside the paragraph. In the documentation it looks just right. Here is my code:  \documentclass[12pt,a4paper]{scrartcl} \usepackage{listings} \lstset{numbers=left} \begin{document} \section{Test} Test \begin{lstlisting}     test() \end{lstlisting} \end{document} I am looking for a word that would describe being obsessed with the details of a larger entity such that the "looker" neglects to see the whole or (perhaps more importantly) the purpose of the whole.  Basically, "not seeing the big picture".  What can [more] succinctly describe this?  Edit: I just found this post: . I think I want the exact opposite. MLE for Uniform $(0,\theta)$ I am a bit confused about the derivation of MLE of Uniform$(0,\theta)$.  I understand that $L(\theta)={\theta}^{-n}$ is a decreasing function and to find the MLE we want to maximize the likelihood function.  What is confusing me is that if a function is decreasing, then wouldn't the function be maximized at the smallest input rather than the largest?  Thank you in advance for your help. Nonzero $f \in C([0, 1])$ for which $\int_0^1 f(x)x^n dx = 0$ for all $n$ My internet connection is very slow. I suspect someone in the network is using a BitTorrent client which takes huge amount of bandwidth.  Is there a way to detect who is using my bandwidth (network sniffing tools etc)?  I should have pointed out that I have no access to the router, what I am looking for is a way of detecting someone's MAC/IP if she uses Bittorrent. Data inconsistency prohibition if a table refers to another via two many-to-many relationships I have following database design (by =&gt; foreign key constraints are depicted):   Company[id] CompanyRealm[id, company_id=>Company.id]many2many  Project[id, company_id=>Company.id] ProjectRealm[id, project_id=>Project.id, company_realm_id=>CompanyRealm.id]many2many   Problem is that provided database design allows inconsistent data. For example:   Company1(id=1) Company2(id=2) CompanyRealm(id=11, company_id=1) Project(id=33, company_id=2) ProjectRealm(id=44, project_id=33, company_realm_id=11)   (Company can have many Realms, Project belong to Company and  may concern any number of company's Realms)  ProjectRealm refers to two different companies:   Company1 (via CompanyRealm); and Company2 (via Project).    Is something wrong with my DB design? If yes - which prescriptions are violated? If no - how to prevent incorrect data insertion (via constraint? trigger with exception?)