Disk full error while installing linux-image-4.10.0-33-generic
My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room
Where to start looking up if there's something wrong with cck field variables? in short: Something in my zen-based custom theme is keeping a couple of cck fields from being display on my page. Basically my question is where to get access to the variables that are supposed to contain the html for the cck fields (which are missing when I was looking them in firebug). Below I explain why I think it's looking up the variables that might bring me closer to a solution  So I made this custom node type (events) with cck fields added. Also made some content using those fields. Added some css and it all displayed fine. Later the taxonomy terms below the title and some metadata bugged me so I followed along with a 'theming cookbook' pdf book that taught me how to make a node-events.tpl.php and simply deleted php variables like $terms. This worked great.     Obviously this also means that all this time, the view permissions of those fields have been checked and also that the display options under 'display fields' have been set to standard all the time. I also ruled out that the issue could be anything else than theme related as my cck fields do show up in a stock Drupal theme. The theme for my site is a zen-based custom theme.   So then even later, after I made a view for this node type and started adding css to that view I noticed at some point that my image field and two other fields are missing. It's hard to tell if they disappeared because of things that I did when creating the view and adding css (which would surprise me) How to make UV loft like 3ds Max in Blender using curves? I am try to make a car Body using the technique like UV loft in 3ds Max.  How to apply this technique in  Blender using curves or closer to this technique? I have seen this technique in a Blender tutorial, but I forgot about it. How can a distribution have infinite mean and variance? It would be appreciated if the following examples could be given:   A distribution with infinite mean and infinite variance. A distribution with infinite mean and finite variance. A distribution with finite mean and infinite variance.  A distribution with finite mean and finite variance.   It comes from me seeing these unfamiliar terms (infinite mean, infinite variance) used in an article I am reading, googling and reading a thread on the , and not finding it a sufficiently clear explanation. I also haven't found any explanations in any of my own textbooks. Diplomacy Attacking a Territory as they move What is the difference between    a parameter passed by reference a parameter passed by value?   Could you give me some examples, please? Generating a unique machine id Why is Excel truncating my 16-digit numbers? If I type in a 16 digit number (format: number, no decimals) it changes the number on me. Example: 1234567812345678 changes the view to 1234567812345670.    If I type it in as a general format it changes the numbers above so it displays 1.23457E+15 but if you click on the cell, the display shows the last digit as a 0 instead of an 8 once again.   I opened the file on a different computer and same issue now with it.  I have changed the auto correction and auto formatting all to no avail.  Help! Why my U.S. B1 Visa got refused under 214 (b)? I went for B1 U.S. Visa at the U.S. Embassy in Delhi.   Interviewer: *Good Morning*. Me: *Good Morning* Interviewer: *What is your designation?* Me: *I am a Software Engineer.* Interviewer: *What is the name of your company?* Me: *It is XXX (I replied).* Interviewer: *What is the name of your client?* Me: *It is YYY (I replied).* Interviewer: *Have you ever been to U.S. before?* Me: *NO* Interviewer: *Have you ever been abroad before?* Me: *NO*   At this point he rejected my Visa with letter mentioning 214 (b) as the reason. I don't know why he actually rejected it.  But, I have decent 2+ years of experience with my company. And, I was going on a business meeting with the client. I would have come back after 2 weeks.  I don't know if re applying will help. Does GCM (or GHASH) only provide 64-bit security against forgeries? In a  a doubt was voiced about my answer, which claims GCM to requires $2^{128}$ for a successful forgery. The doubt was that the square root needs to be taken meaning the security would be $2^{64}$.  So of course I immediately checked the relevant security theorem ():  $$\mathbf{Adv}^{\text{auth}}_{\operatorname{GCM}[\operatorname{Perm}(n),\tau]}(\mathcal A)\leq \frac{0.5(\sigma+q+q'+1)^2}{2^n}+\frac{q'(\ell_A+1)}{2^\tau}$$  with $\sigma$ being the total plaintext size in blocks, $q$ being the total number of encryption queries, $q'$ being the total number of decryption queries, $n$ being the size in bits of the underlying permutation, $\ell_A$ being maximum authenticated input length in blocks and $\tau$ being the tag size in bits.  Now clearly from this we can see that performing $2^{n/2}=2^{64}$ queries yields a strong enough advantage for a break.  Now my question is: When talking about "n-bits of security" or "needs $2^n$ operations to break", do we usually talk about "online" security, ie queries to an oracle can be done and cost $1$ or "offline" security where no oracles are available or do we need to make this decision depending on the situation?  TL;DR: Does GCM offer 64 or 128 bit security? How do I perform a Perl substitution on a string while keeping the original? In Perl, what is a good way to perform a replacement on a string using a regular expression and store the value in a different variable, without changing the original?  I usually just copy the string to a new variable then bind it to the s/// regex that does the replacement on the new string, but I was wondering if there is a better way to do this?  $newstring = $oldstring; $newstring =~ s/foo/bar/g; Why do we need sigma-algebras to define probability spaces? What's the difference between the snap folder in /home/&lt;UserName&gt; and the snap folder in root (/)?  I'm trying to get a grasp on where programs and their files are stored when you install them.  The first and only program I have installed on my machine is Spotify.    I noticed that there were two spotify folders within two separate snap folders.  One in the home directory and one in the root directory.    Questions   Why are there two snap folders? Why are there two spotify folders? Are they different in any way (the snap and spotify folders)?     NOTE: I installed Spotify via the Ubuntu Software application, not via the Terminal. Is there a way to find comments you made on YouTube? I use  on Windows 7 and I want to know if there is a good substitution for it on Ubuntu.   I want something that is good for editing html files. Python setup, install one module as a sub module of another module? If $\alpha$ is a real root of the equation   $$x^5-x^3+x-2=0$$   find the value of $\lfloor {\alpha}^6 \rfloor$.      This one totally stumped me. We are asked to calculate $\lfloor {\alpha}^6 \rfloor$ without actually calculating the root or using wolfram alpha or any other calculator. I found that the above equation has only one real root by sketching its graph using calculus. I was also able to use the intermediate value theorem to conclude that $1&lt;\alpha&lt;2$ , but this is of little use while calculating $\lfloor {\alpha}^6 \rfloor$. Please help! Why not use a WAMP stack? This is a  about  the use of a *AMPP's stack.    I recently had a talk with some experienced people and they suggested to me not to use a WAMP stack, and instead install apache, mysql and php separately.  I don't understand why they have suggested this, though, so can anyone tell me?  Is there a particular disadvantage of WAMP, or a particular advantage to installing all of them separately?  Since a WAMP stack itself is composed of apache, mysql and php, then what's the difference between using the WAMP stack and installing them all separately? disable comments if array exists This is the code which is registering the function for rewrite_endpoints():   function wpa121567_rewrite_endpoints(){  add_rewrite_endpoint( 'comments', EP_PERMALINK );  add_rewrite_endpoint( 'stats', EP_PERMALINK );  }  add_action( 'init', 'wpa121567_rewrite_endpoints' );   NOTE  I don't know if this matters but I will write it.   I have single-CPT.php which is calling  /inc/post-format/single-CPT.php like this:      &lt;?php while ( have_posts() ) : the_post(); ?&gt;  &lt;?php   get_template_part( 'inc/post-format/single-debate');      ...   This is the code which is checking if array key exists, which is  inside my /inc/post-format/single-cpt.php:   ?php if( array_key_exists( 'comments', $wp_query-&gt;query_vars ) ){  the_field('comments_section');   } elseif( array_key_exists( 'stats', $wp_query-&gt;query_vars ) ) {   the_field('stats_section');   } else { // the request is for the main post  }   ?&gt;   This is my comments.php :       &lt;div id="comments" class="comments-area"&gt; &lt;?php // If CPT and not logged in, display a message: if ( 'debate' == get_post_type() &amp;&amp; ! is_user_logged_in() ) { echo '&lt;p class="must-log-in" style="padding-left:20px; font-size:20px;"&gt;You must be logged in to post a comment.' . '&lt;/p&gt;';  echo do_shortcode("[upme_login]");   } ?&gt;     &lt;?php if ( have_comments() ) : ?&gt;         &lt;h3 class="comments-title"&gt;              &lt;?php                 printf( _n('%d comment', '%d comments', get_comments_number(), 'outbox' ),                     number_format_i18n( get_comments_number() ) );             ?&gt;         &lt;/h3&gt;             &lt;ol class="commentlist"&gt;              &lt;?php                 wp_list_comments( array( 'callback' =&gt; 'outbox_comment' ) );             ?&gt;         &lt;/ol&gt;&lt;!-- .commentlist --&gt;          &lt;?php if ( get_comment_pages_count() &gt; 1 &amp;&amp; get_option( 'page_comments' ) ) : // are there comments to navigate through? If so, show navigation ?&gt;         &lt;nav role="navigation" id="comment-nav-below" class="site-navigation comment-navigation clearfix"&gt;             &lt;div class="nav-previous"&gt;&lt;i class="icon-left-open-1"&gt;&lt;/i&gt;&amp;nbsp;&lt;?php echo get_previous_comments_link( __( 'Older Comments', 'outbox' ) ); ?&gt;&lt;/div&gt;             &lt;div class="nav-next"&gt;&lt;?php echo get_next_comments_link( __( 'Newer Comments', 'outbox' ) ); ?&gt;&amp;nbsp;&lt;i class="icon-right-open-1"&gt;&lt;/i&gt;&lt;/div&gt;         &lt;/nav&gt;&lt;!-- #comment-nav-below .site-navigation .comment-navigation --&gt;         &lt;?php endif; ?&gt;      &lt;?php endif; // have_comments() ?&gt;      &lt;?php         // If comments are closed and there are comments, let's leave a little note, shall we?         if ( ! comments_open() &amp;&amp; '0' != get_comments_number() &amp;&amp; post_type_supports( get_post_type(), 'comments' ) ) :     ?&gt;         &lt;p class="nocomments"&gt;&lt;?php _e( 'Comments are closed.', 'outbox' ); ?&gt;&lt;/p&gt;     &lt;?php endif; ?&gt;     &lt;?php  // Don't output the comment form if CPT and user isn't logged in if ( 'debate' != get_post_type() || is_user_logged_in() ) {  comment_form(); }  ?&gt;  &lt;/div&gt;&lt;!-- #comments .comments-area --&gt; &lt;?php } ?&gt;    This is how the comments template is included  inside my single-CPT.php :  if ( comments_open()  )  comments_template( '', true );   I want to disable comments if if( array_key_exists( 'comments', $wp_query-&gt;query_vars ) ){  How can I do this? I've been living in Ireland for almost a year now and I start noticing they use the word "mens" a lot. I can see it used in:   Shops, to denote the area where you can find men's clothes In sport, when they talk about "mens team".    My guess is just that they are lazy about the use of quotes, so that mens should actually be men's. However, there may be some rule I'm not aware of. So, is "mens" only limited to Irish English? When I'm allowed to use it? Computing $\int_{0}^{\pi}\ln\left(1-2a\cos x+a^2\right) \, dx$ For $a\ge 0$ let's define $$I(a)=\int_{0}^{\pi}\ln\left(1-2a\cos x+a^2\right)dx.$$ Find explicit formula for $I(a)$.   My attempt: Let  $$\begin{align*} f_n(x) &amp;= \frac{\ln\left(1-2 \left(a+\frac{1}{n}\right)\cos x+\left(a+\frac{1}{n}\right)^2\right)-\ln\left(1-2a\cos x+a^2\right)}{\frac{1}{n}}\\ &amp;=\frac{\ln\left(\displaystyle\frac{1-2 \left(a+\frac{1}{n}\right)\cos x+\left(a+\frac{1}{n}\right)^2}{1-2a\cos x+a^2}\right)}{\frac{1}{n}}\\ &amp;=\frac{\ln\left(1+\dfrac{1}{n}\left(\displaystyle\frac{2a-2\cos x+\frac{1}{n}}{1-2a\cos x+a^2}\right)\right)}{\frac{1}{n}}. \end{align*}$$ Now it is easy to see that $f_n(x) \to \frac{2a-2\cos x}{1-2a\cos x+a^2}$ as $n \to \infty$. $|f_n(x)|\le \frac{2a+2}{(1-a)^2}$ RHS is integrable so $\lim_{n\to\infty}\int_0^\pi f_n(x)dx = \int_0^\pi \frac{2a-2\cos x}{1-2a\cos x+a^2} dx=I'(a)$. But  $$\int_0^\pi \frac{2a-2\cos x}{1-2a\cos x+a^2}=\int_0^\pi\left(1-\frac{(1-a)^2}{1-2a\cos x+a^2}\right)dx.$$ Consider $$\int_0^\pi\frac{dx}{1-2a\cos x+a^2}=\int_0^\infty\frac{\frac{dy}{1+t^2}}{1-2a\frac{1-t^2}{1+t^2}+a^2}=\int_0^\infty\frac{dt}{1+t^2-2a(1-t^2)+a^2(1+t^2)}=\int_0^\infty\frac{dt}{(1-a)^2+\left((1+a)t\right)^2}\stackrel{(*)}{=}\frac{1}{(1-a)^2}\int_0^\infty\frac{dt}{1+\left(\frac{1+a}{1-a}t\right)^2}=\frac{1}{(1-a)(1+a)}\int_0^\infty\frac{du}{1+u^2}=\frac{1}{(1-a)(1+a)}\frac{\pi}{2}.$$ So $$I'(a)=\frac{\pi}{2}\left(2-\frac{1-a}{1+a}\right)\Rightarrow I(a)=\frac{\pi}{2}\left(3a-2\ln\left(a+1\right)\right).$$  It looks too easy, is there any crucial lack?  $(*)$ — we have to check $a=1$ here by hand and actually consider $[0,1), (1,\infty)$ but result on these two intervals may differ only by constant - it may be important but in my opinion not crucial for this proof.