"apt-get -f install" not working
How do I resolve unmet dependencies after adding a PPA?
Dealing with "java.lang.OutOfMemoryError: PermGen space" error Display each sub-directory size in a list format using one line command in Bash? I want to get a list of the directories and their sizes in a list format like how you get when you do a ls -l.  The thing is that is there a one line command that can do this? I see others have long commands just to output this. That's just too long.  What command can do this or combination of commands that can be easily typed? du -h gives it, but it displays all of the sub-folders which is not what I want. just the current directories folders. How much of 32-bit support is dropped in macOS Catalina? macOS Catalina is said to have dropped support for 32-bit apps. It’s not clear how much support is dropped.   Is there any supported way for a 64-bit app to request the kernel to create a 32-bit code segment? Let $a_n$ be the number of those permutation $\sigma $ on $\{1,2,...,n\}$  such that $\sigma $ is a product of exactly two disjoint cycles. Then find $a_4$ and $a_5$.   Calculating $a_4$: Possible cases which can happen are $(12)(34),(13)(24),(14)(23)$, any cycle of the form $(123)$ or $(12)$ i.e. two-cycles and three cycles thus we have in total $3+\frac{1}{3}4P_3+\frac{1}{2}4P_2=3+8+6=17$ but the correct answer is given to be either $11$ or $14$.  Where am I wrong? Please help. Let $a,m,n \in \mathbf{N}$. Show that if $\gcd(m,n)=1$, then $\gcd(a,mn)=\gcd(a,m)\cdot\gcd(a,n)$. Let $a,m,n\in\mathbf{N}$. Show that if $\gcd(m,n)=1$, then $\gcd(a,mn)=\gcd(a,m)\cdot\gcd(a,n)$.  Proof:  Let $u,v\in\mathbf{Z}$ such that $\gcd(m,n)=um+vn=1$. Let $b,c\in\mathbf{Z}$ such that $\gcd(m,a)=ab+cm$. Let $d,e\in\mathbf{Z}$ such that $\gcd(a,n)=ad+en$.  So $\gcd(a,m)\cdot\gcd(a,n)=a^2bd+cmen+aben+emad$.  Where do I go from here? I am trying to classify using randomForest classification in GEE . However, I always get the error User memory limit exceeded, so I assume the number  of the feature are too large. Nevertheless, I saw many developers can classify even bigger dataset, so I am wondering if there is a better option there? The code can be accessed via  var fire= ee.FeatureCollection('users/spatola/recovery_rf_1712').map(function(feature){     var num = ee.Number.parse(feature.get('CLC_311'));     return feature.set('CLC_311', num);   }) var indices= ['EVI_mean','Dnbr','NBR2_mean','NBR2_min','NBR2_max','EVI_min','EVI_max']; var fire1=  fire.filter(ee.Filter.notNull(indices)); var fire2= fire1.select('Class_R','Dnbr','EVI_max','NBR2_max','imageId') var bands= ['NBR2_max', 'EVI_max']; var classProperty= 'Class_R'; var random= fire2.randomColumn('random'); var split_train= 0.8; var split_test= 0.2; var trainPartition= random.filter(ee.Filter.lt('random',split_train)); var testPartition= random.filter(ee.Filter.gte('random',split_test));  var RFtrained_c= ee.Classifier.smileRandomForest({  numberOfTrees: 100,  minLeafPopulation:2,  seed: 123,  }) .setOutputMode('CLASSIFICATION') .train({     features: trainPartition,     inputProperties: bands,     classProperty: classProperty,     }) print(RFtrained_c); var dict =  RFtrained_c.explain(); var test = testPartition.classify(RFtrained_c) print(test.first()) Creating a link using an 18 character ID I have an 18 character SFDC ID. I was under the impression that I should be able to create a link to that record using the following pattern: https://&lt;org server&gt;.salesforce.com/&lt;id&gt;  For example: https://na12.salesforce.com/00TU000000Nf5NP  That link works fine for me. However, when I try to link to the same object using the 18 character, case insensitive ID (ex. https://na12.salesforce.com/00tu000000nf5npmaz), I get the following error:     Insufficient Privileges      You do not have the level of access necessary to perform the operation   you requested. Please contact the owner of the record or your   administrator if access is necessary.   What exactly is the problem? If all I have is the 18 character ID, how can I create a link back to the correct SalesForce record? Fit mixture of distributions to your time-series data in R I have time-series data containing 1440 observations and the plot of the data is   I want to fit the Gaussian Mixture Models (GMM) to the above plot, and for the same I am using Mclust function of  package. Finally, I want a fit somewhat like this:   On using Mclust function, I do get following statistics     mclus_data &lt;- Mclust(givendataseries)    &gt; summary(mclus_data) ---------------------------------------------------- Gaussian finite mixture model fitted by EM algorithm  ----------------------------------------------------  Mclust E (univariate, equal variance) model with 8 components:   log.likelihood    n df      BIC      ICL        9525.438 1440 16 18934.52 18183.67  Clustering table:    1    2    3    4    5    6    7    8  1262    0    0    0    0   13  114   51    In the above statistic, I can not understand following:   Significance of log.likelihood, BIC and ICL. I can understand what each of them is, but what their magnitude/value refers to? It shows there are 8 clusters, but why cluster no. 2,3,4,5 has 0 values? What does this mean? From the plot it is clear that there must be two Guassians, but why Mclust function shows there are 8 Guassians?   Update: Actually, I want to do model based clustering of time series data. But currently  I want to fit the distribution to my raw data, as shown in Figure 1 on page no. 3 of  paper. For your quick reference, mentioned figure in said paper is java.lang.NumberFormatException: Invalid int: "" Why is my variable local in one 'while read' loop, but not in another seemingly similar loop? Why do I get different values for $x from the snippets below?  #!/bin/bash  x=1 echo fred &gt; junk ; while read var ; do x=55 ; done &lt; junk echo x=$x  #    x=55 .. I'd expect this result  x=1 cat junk | while read var ; do x=55 ; done echo x=$x  #    x=1 .. but why?  x=1 echo fred | while read var ; do x=55 ; done echo x=$x  #    x=1  .. but why? How Triangle Law and Parallelogram law of addition of Vectors are different?Ain't they.  Please don't tell me the things written in book......give me the appropriate reason.And how do i distinguish between the two while adding vectors,what am i trying to say is i get really confused where to use parallelogram law and where triangle law  P.s:my basics are really weak though!May be the question might not be right How do I prove that $x^p-x+a$ is irreducible in a field with $p$ elements when $a\neq 0$? Dr Math told his family to write 4 different integers from 1 to 9 on to the 4 ] What does this symbol mean? (looks like a 1 with double vertical line) I'm studying a course on probability and statistics and at some point this symbol comes up without introduction. It looks like the number one, but slightly bigger and with a double vertical line.  First time it comes up is when discussing stochastic/random variables that are neither continuous nor discreet in an example:   And somewhat later in a proof:    Anyone got an idea what this symbol represents?  EDIT: Thanks for the fast answers, I was still editing the question for better (larger) images :) Considering that sound can't travel through vacuum. When to use "do" in phrases which are not questions? Example: You do need to drink more water.   or   You need to drink more water.   What is the difference? Use /testfor to make a custom command Basically, I'm trying to recreate the Faction plugins /f map in my single-player without mods as my PC doesn't run them very well. (I know it sounds strange.) I am trying to use the /testfor to test if I have written '/f map' in chat, and if I have, it would show me a custom generated map. I don't know how to word this better xD Essentially what I want is for it to test if I have written a command in chat, and if I have, display something. Invocable method Apex class is not visible in Process builder How can I calculate the angle and proper turn direction between two 2D vectors? I am working on some movement AI where there are no obstacles and movement is restricted to the XY plane. I am calculating two vectors, v, the facing direction of ship 1, and w, the vector pointing from the position of ship 1 to ship 2.  I am then calculating the angle between these two vectors using the formula  arccos((v · w) / (|v| · |w|))   The problem I'm having is that arccos only returns values between 0° and 180°.  This makes it impossible to determine whether I should turn left or right to face the other ship.  Is there a better way to do this? Floor function in complex plane My question is very simple. How would one take the floor of a complex number and what is the floor of i?