Problem updating in Ubuntu: E: Problem executing scripts APT::Update::Post-Invoke-Success
E: Problem executing scripts APT Update::Post-Invoke-Success error during apt-get update
I realize this is probably going to come off as a bit silly, but in Iron Man II how could James Rhodes easily don the Mark II armor that was designed to fit Tony Stark?  As you can see in this image (which isn't an "in universe" shot) Tony and Rhodey are roughly the same height, but it appears that Rhodey has a smaller frame than Tony, which would seem to make for an ill fit of the armor, especially for flight.  This issue could of course have been addressed by the Air Force during the retrofit with Justin Hammer. What should be the default title case for non-technical questions? As an example, this question is titled using sentence case. I've been going to lots of different meta sites (especially this one), and I think the needle bent on my oh-me-oh-my-my-ocd-oh-meter.  Can we please standardize on using either:   Sentence case Title Case AP Style Title Case   ... and then we can look at just converting titles automatically? This would be a switch, of course, but I'd only imagine turning it off on sites where program code or symbols might be present in titles. Or, it could just become part of editing guidelines.    Additionally, is this a horrible idea?   To see the differences between them, you can put any arbitrary title into  (we have no affiliation with them, it's just a tool I sometimes recommend to people).  We would also eventually adopt this for static routes, but I'm mostly talking about questions. The first and (the) second chapter(s) are difficult - which is correct? I'm a little confused about the following sentences. Could you please tell me which one(s) is/are correct?        The first and the second chapter are difficult.   The first and the second chapters are difficult.   The first and second chapters are difficult.   The first and second chapter are difficult.      I believe #1 &amp; #3 are correct, while #2 &amp; #4 are incorrect.  But when seeing the answers to the Quora question , I wonder why they say #2 is correct. How to I deal with unwrapped UVs orientation?   Delete the default Cube. Add a Cylinder Edit mode and edge select the Top and the Bottom and a single connecting edge. Make them into seams UV Unwrap (standard Unwrap mode)   The unwrapped UV now shows two circles above a row of quads. I can save this and open it in an image editor and paint over those areas and get the texture to align on the cylinder back in blender.  But, the pattern(just happens to be text) that was inserted in place of the row of quads is now upside down on the model. Any attempt to flip or align just makes things worse, from upside down to mirrored or the Top/Bottom not aligning.  So my real question is how could I have known that the quads represented an upside down view of the world?  Do other blender users export UVs and mark them with arrows and colours just to see how they align on a model before actually painting for real?  I tried selecting the edges in step 3 in different orders before making them into seams and it made no difference.  I also looked at the Normals but they appear to be only Inside/Outside not Up/Down.  Blender 2.70 Proof of uniform limit of Continuous Functions The uniform limit of Continuous Functions is continuous.   Proof Let $\varepsilon &gt; 0$. There exists $N$ in natural numbers such that $n&gt;N$ implies  $|f_n(x)-f(x)| &lt; \frac{\varepsilon}{3}$ for all $x$ in $S$. In particular $|f_{N+1}(x)-f(x)| &lt; \frac{\varepsilon}{3}$ for all $x$ in $S$. Since $f_{N+1}$ is continuous at $x_0$ there is a $\delta&gt;0$ such that, $x$ in $S$ and $|x-x_0| &lt; \delta$ imply $|f_{N+1}(x)-f_{N+1}(x_0)|&lt; \frac{\varepsilon}{3}$ Now we conclude $x$ in $S$ and $|x-x_0| &lt; \delta$ imply $|f(x)-f(x_0)|&lt; 3 \cdot \frac{\varepsilon}{3} = \varepsilon$.  Can someone explain what is happening here? I don't follow it all. Is it possible to install Python 3.x in 14.04 LTS, or upgrade from Python 2.7.6 to 2.7.8? What special characters must be escaped in regular expressions? I am tired of always trying to guess, if I should escape special characters like '()[]{}|' etc. when using many implementations of regexps.  It is different with, for example, Python, sed, grep, awk, Perl, rename, Apache, find and so on. Is there any rule set which tells when I should, and when I should not, escape special characters? Does it depend on the regexp type, like PCRE, POSIX or extended regexps? "That... be" construction In PHP, the HEREDOC string declarations are really useful for outputting a block of html.  You can have it parse in variables just by prefixing them with $, but for more complicated syntax (like $var[2][3]), you have to put your expression inside {} braces.  In PHP 5, it is possible to actually make function calls within {} braces inside a HEREDOC string, but you have to go through a bit of work.  The function name itself has to be stored in a variable, and you have to call it like it is a dynamically-named function.  For example:  $fn = 'testfunction'; function testfunction() { return 'ok'; } $string = &lt;&lt;&lt; heredoc plain text and now a function: {$fn()} heredoc;   As you can see, this is a bit more messy than just:  $string = &lt;&lt;&lt; heredoc plain text and now a function: {testfunction()} heredoc;   There are other ways besides the first code example, such as breaking out of the HEREDOC to call the function, or reversing the issue and doing something like:  ?&gt; &lt;!-- directly output html and only breaking into php for the function --&gt; plain text and now a function: &lt;?PHP print testfunction(); ?&gt;   The latter has the disadvantage that the output is directly put into the output stream (unless I'm using output buffering), which might not be what I want.  So, the essence of my question is: is there a more elegant way to approach this?  Edit based on responses: It certainly does seem like some kind of template engine would make my life much easier, but it would require me basically invert my usual PHP style.  Not that that's a bad thing, but it explains my inertia..  I'm up for figuring out ways to make life easier though, so I'm looking into templates now. Recently I found a claim saying that  $$  \int_0^\infty \left( \frac{\sin ax}{x}\right)\left( \frac{\sin bx}{x}\right) \mathrm{d}x= \pi \min(a,b)/2  $$ from what I can see this seems to be true. I already know that $\int_{0}^\infty \operatorname{sinc}xy\,\mathrm{d}y = \pi/2$, and so independant of $y$. My suspicion is that this is closely related to the integral above.   Can someone give me some suggestions for evaluating the integral above? Also are there any generalizations for the integral? Eg $$ \int_{0}^{\infty} \left( \prod_{k=1}^N \frac{\sin (a_k \cdot x)}{x} \right) \,\mathrm{d}x $$ Where $a_k, \cdots, a_N$ are arbitrary positive constants. It seems related to the , but there are some subtle differences. How to block and unblock https access on OS X 10.9 I am working on a test project that requires me to block https access for a specific app on my Mac (OS X 10.9).   The instruction provided are "Chinese" to me and I have no idea where to start:  (Example: Alter the iptables) Steps:   Block the port:  root@QA9:/opt/appname/appnamerouter2# iptables --list root@QA9:/opt/appname/appnamerouter2# iptables -A INPUT -p tcp --destination-port 443/8443 -j DROP root@QA9:/opt/appname/appnamerouter2# iptables --list  For Open the Port:  root@QA9:/opt/appname/appnamerouter2# iptables -D INPUT 1 Seemingly random reputation gain of 1 Why can't I extend this partition into the unallocated space? Copyright of a set of colors? I often see color combinations on webpages, images, posters, products etc. that harmonize really well. Am I allowed to use those colors in my own design?   This is solely about the colors. I will not use images, logos or shapes from that source, and my content is not related to the original color source. I am also far from any commercial aspect here. How can I force my browser to search Google in English? I'm too bored of seeing sites like Google and such show up in my native language, I would rather like them to be in English. Yet, I have to explicitly change the URL to .com and en and that kind of parameters in order for them to show up in English. Can I somehow force this?  So, how is Google configured?  However, it is set to English on the site itself so it has to be my browser:    Then, how does my browser land up on non-english pages, like Google?  It usually shows up in non-English when I'm performing a search, which uses:  {google:baseURL}search?{google:RLZ}{google:acceptedSuggestion}{google:originalQueryForSuggestion}{google:searchFieldtrialParameter}{google:instantFieldTrialGroupParameter}sourceid=chrome&amp;ie={inputEncoding}&amp;q=%s   When performing a search, it fills these variables in with non-english values.  How can I tell my browser to fill these in with the English values?  My Google Chrome options give preference to English: I am having problems booting my Ubuntu after an attempted hardware fix today. My laptop was working fine but had some minor issues, so we tried a different motherboard, which had a major issue, so we changed it back to the original board. However, now I have problem booting.  The title pretty much says it all. I am using Ubuntu 16.04, but on boot, I get:  [    0:000000] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x52 (or later)   and I am now stuck at the BusyBox (initramfs).  Does anyone know how to fix this issue? I am not so familiar with bash or initramfs, so I would appreciate a detailed step-to-step guide if possible. What is the best way to go about calling a function given a string with the function's name in a Python program.  For example, let's say that I have a module foo, and I have a string whose content is "bar". What is the best way to call foo.bar()?  I need to get the return value of the function, which is why I don't just use eval. I figured out how to do it by using eval to define a temp function that returns the result of that function call, but I'm hoping that there is a more elegant way to do this. Flat quads (or, why is my mesh so funky?) Further customize color of hyperref links I have tried to find a way to customize how internal links are colored, but I don't yet have the expertise in finding and redefining commands. In the LaTeX example below, I describe how I would like to change the colors of various links. Any ideas or examples are much appreciated.  \documentclass{article}  \usepackage[backref=true]{biblatex} \begin{filecontents}{refs.bib} @book{cit1, title = {The backreferences should be yellow}, author = {Last, First} } \end{filecontents} \bibliography{refs.bib}  \usepackage{color} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage[colorlinks=true,             linkcolor=red,             urlcolor=blue,             citecolor=gray]{hyperref}  \begin{document}  \title{Title} \maketitle \tableofcontents \listoffigures  \section{Table of content's links should be green} \label{s1} All text, captions, and section headers after the list of figures should be black. The citation links should be gray.\autocite{cit1} \subsection{Table of content's subsections links should be orange} Internal links like this section link \ref{s1}  or this figure link \ref{f1} should be blue.  \begin{figure}[h] \caption{List of figures links red} \label{f1} \end{figure}  \printbibliography  \end{document} What happens if I combine Ur-priest and prestige class to exceed 10 effective spellcasting levels? Suppose I have a human character who invested 5 levels on Wizard, 2 on Ur-priest(by appropriate feat chain), and 8 levels of Mystic Theurge, net level of 15. This allows you to cast spells as stated in 10th level Ur-priest Spells per day table. Now, assume that I leveled up, and I choose Mystic Theurge as the next level class. This makes me to look up Ur-priest table for Level 11, which does not exist. In this case, what happens to my divine spells per day? Does it continue to progress "in the same pattern", as Hellfire Blast progresses with Hellfire Warlock-Legacy Champion build? Does it stop and I only get Wizard spells per day? Or, isn't it allowed to do so?  I am totally aware that although the answer is "yes", it does not mean it means spells over 9th level will be granted to my character unless I take Improved Spell Capacity, which requires me to be epic. What I am curious is the progression of spells per day of existing spells.  P. S. Don't ask me how to satisfy the requirements. This is possible by combining Apprentice (Criminal), Iron Will and Great Fortitude as level-up feat, and Spell Focus (evil) as a Wizard bonus feat (RAW, it is a "Spell Focus" feat, anyway.)