Unable to install certbot on Ubuntu 16
"Unable to locate package" while trying to install packages with APT
Two sidebars in Beamer for two presentations in one tex file In PHP, function parameters can be passed by reference by prepending an ampersand to the parameter in the function declaration, like so:  function foo(&amp;$bar) {     // ... }   Now, I am aware that this is not designed to improve performance, but to allow functions to change variables that are normally out of their scope.  Instead, PHP seems to use Copy On Write to avoid copying objects (and maybe also arrays) until they are changed. So, for functions that do not change their parameters, the effect should be the same as if you had passed them by reference.  However, I was wondering if the Copy On Write logic maybe is shortcircuited on pass-by-reference and whether that has any performance impact.  ETA: To be sure, I assume that it's not faster, and I am well aware that this is not what references are for. So I think my own guesses are quite good, I'm just looking for an answer from someone who really knows what's definitely happening under the hood. In five years of PHP development, I've always found it hard to get quality information on PHP internals short from reading the source. Apex Array Slice Sometimes I like to use a Queueable to perform work on a list of Ids or sObjects over the heaver Batchable Interface.   However, to do this, we need a very solid implementation of an Array slice method.  Most other programming languages have a native slice method, but Apex does not.  While I have written my own version of slice and it's working fine, I would be interested in hearing about other implementations of slice - the more efficient the better.  My version is in this Utilities class on github   It's modelled after the Javascript version described on the mozilla site   I would expect that the usage and output be similar to this:  String[] arr = ['zero', 'one', 'two', 'three']; String[] sliced = Utilities.slice(arr,1, 3);  System.debug(arr);      // ['zero', 'one', 'two', 'three'] System.debug(sliced);   // ['one', 'two'] jQuery attribute selector variable If the cricket ground Lord's is a possessive, what if you want to describe something belonging to Lord's? Would you say:     I was very impressed by Lord's's customer services.   It doesn't look right, so what is the correct way of writing it? I went through a , but the answer was informing how to hide the monitor, but not how to disable it. I do not want any new windows to creep into the laptop display when the external display is connected. I could not find any in the Display Settings (under System Preferences). I don't want to close the lid because I think it impacts the air flow of the MacBook Pro. I don't want to close the lid because the sound quality is reduced. Subdivision surface modifier creates pinching at corners I've only been 3D modelling for a few days now, so this may just be a newbie mistake:  However, because this model is for use in a game I am trying to stay away from proximity loops for performance reasons. Instead, I have used edge creases to maintain the structure of the model. It has led to certain vertices not being affected by the subsurf modifier, causing undesirable lighting at high subsurf levels.  Manually moving each point in a bit seems kind of sloppy but I'm not too sure what the best way to go about this is.  If any more information is needed I'll give what I can, thanks in advance :) How can I use an align environment flush left? Is there a way possible to imitate the align environment for math mode commands, without having all writing being placed toward the center on the output page?  MWE:  \documentclass{article} \usepackage{mathtools}  \begin{document} \begin{align*} \cos\theta_1 \cos\theta_2-\sin\theta_1\sin\theta_2 &amp;= \cos(\theta_1 +\theta_2) \\ \sin\theta_1 \cos\theta_2 + \cos\theta_1 \sin\theta_2 &amp;= \sin(\theta_1+\theta_2) \end{align*}  \end{document} I tried the Chrome development version for a few days, didn't like it because my tabs became broken and wouldn't load properly. I changed back to the live version, but I forgot to uninstall the development version, which gave me 2 chrome icons on my task bar, but they would both load a broken version of Chrome. I then uninstalled Chrome through the control panel and reinstalled the live version, but I now have one of those broken links on my task bar (a blank page with a folded corner) that points to a version of Chrome that's no longer there. Is there a way to remove this icon? What camera settings should be used to capture sky shots without over exposing the clouds? Find a closed formula for $\sum_{n=1}^\infty nx^{n-1}$  I am trying to use the derivative of generalized binomial theorem, $\frac{d}{dx}[(x+1)^r=\sum_{n=0}^\infty \binom{r}{n}x^n] =r(x+1)^{r-1}=\sum_{n=1}^\infty \binom{r}{n}nx^{n-1}$  However, I am not sure how to "get rid" of the binomial term. Control custom properties How can I add remove and create a callback/event for a custom property using bpy. I have a scene, called scene, and I want to add a custom property named x, defulat value 2 (as intereger), and a callback foo, to run when it is changed. I also need to be able to read the value from it, and delete it. How do I do this? How do I find the amount of free space on my hard drive? Is there a way to quickly check the amount of free / used disk space in Ubuntu?  I would assume you could right click on 'file system' in the file browser and choose 'properties' or something but there is no such option. How can I center a too wide table? I have a document containing a table which is slightly too wide for the page. But instead of growing to the right side only, I would like to have it centered on the page.  I have tried to use the center environment but this doesn't seem to help. Generate mesh at run time Is it possible to generate mesh at runtime in blender game engine? That is, is it possible for blender to generate meshes using python code when the game runs?  I really would like to know if this is possible, as my final year project requires use of this. What was the joke that Geordi told Data in TNG: "Encounter at Farpoint"? states:     Apparently at some point during this mission, Geordi La Forge told Data a joke, which the humorless android did not "get" until years later, when he activated his emotion chip during the events of Star Trek: Generations.    Is it known what the joke is? Pulling a CSV file from website into QGIS with ability to automatically refresh? Why don't we include $\rho g h$ in a hydraulic jack below? What does the bracketed capital letter indicate in the revised version below? Is it essential, per the rules of proper punctuation, to do so? Are the ellipsis points (i.e., the spacing of the dots) spot on in that sentence to indicate the omission of one or more sentences?  Original quotation  "It need hardly be said that shortness is a merit in words. There are often reasons why shortness is not possible; much less often there are occasions when length, not shortness, is desirable. But it is a general truth that the short words are not only handier to use, but more possible in effect; extra syllables reduce, not increase, vigor."  Revised quotation  "It need hardly be said that shortness is a merit in words. . . . [S]hort words are not only handier to use, but more possible in effect; extra syllables reduce, not increase, vigor."  Thank you. Is the set of all finite sequences of letters of Latin alphabet countable/uncountable? How to prove either?