Clearsigned file isn't valid in ubuntu xenial
sudo apt update always giving Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
General relativity (gravitation) in time and one spatial dimension I don't have any idea of general relativity but intend to learn. Is it a good idea to study general relativity in two dimensions (time and single spatial dimension) in the begining to get good idea on the subject? If it is, then please give some references for such a treatment. Levels or First Differences, VECM or VAR for Ultimate Impulse Response Functions? My recipe for hummus says to cook the garbanzo beans with a little baking soda to soften them. Does this work with other legumes?   I've often seen the advice against salting the cooking water for beans, as it supposedly toughens them. Will a different sodium compound, bicarbonate, have the opposite effect?   Would love to know the science of this issue. A 64-bit double can represent integer +/- 253 exactly. Given this fact, I choose to use a double type as a single type for all my types, since my largest integer is an unsigned 32-bit number. But now I have to print these pseudo integers, but the problem is they are also mixed in with actual doubles. So how do I print these doubles nicely in Java? I have tried String.format(&quot;%f&quot;, value), which is close, except I get a lot of trailing zeros for small values. Here's an example output of of %f  232.00000000 0.18000000000 1237875192.0 4.5800000000 0.00000000 1.23450000  What I want is:  232 0.18 1237875192 4.58 0 1.2345  Sure I can write a function to trim those zeros, but that's lot of performance loss due to string manipulation. Can I do better with other format code?  The answers by Tom E. and Jeremy S. are unacceptable as they both arbitrarily rounds to two decimal places. Please understand the problem before answering.  Please note that String.format(format, args...) is locale-dependent (see answers below). Analogue of closed graph theorem This is the analogue of closed graph theorem for compact space          Suppose that $X$ and $K$ are metric spaces, that $K$ is compact, and that the graph of $f: X \rightarrow K$ is a closed subset of $X \times K$. Prove that $f$ is continuous.      Because metric space is first countable, all we need is to prove that if $x = \lim_{n \rightarrow \infty} x_{n}$, then $f(x) = \lim_{n \rightarrow \infty} f(x_{n})$. Suppose $x = \lim_{n \rightarrow \infty} x_{n}$, then because $K$ is compact, sequence $\{f(x_{n})\}$ has a subsequence $\{f(x_{n_{i}})\}$ converge. Because the graph of $f$ is closed, we must have $\lim_{n \rightarrow \infty}\{f(x_{n_{i}})\} = f(x)$. All we need to prove now is $\{f(x_{n})\}$ converge to $f(x)$, but I can't prove that. Can any one help me. I really appreciate. Thanks Detail in bijection between Inn(G) and G/Z(G)? How to properly establish a PostgreSQL connection using QgsCredentials I'm trying to establish a Postgres connection using QgsCredentials as described here:    The only problem is that I cannot establish a working connection unless I "physically" add the layer to the map canvas (which I don't want because I only want a connection to the DB and a reference to the layer which will be edited later on in the code)  When clicking a button the run function reads:  uri = QgsDataSourceURI() connInfo = uri.connectionInfo()  (success, user, passwd) = QgsCredentials.instance().get(connInfo, None, None)  if success:     # Isn't this enough to establish the connection and get a valid reference to the layer?     uri.setConnection("HOST", "PORT", "DB_NAME", user, passwd)     uri.setDataSource("SCHEMA", "TABLE_NAME", "the_geom")     LYR = QgsVectorLayer(uri.uri(), "LYR", "postgres")      # Unless I add the following line, I am not able to use properly the object     # (which asks the user the credentials until he/she inserts the right ones and gets     # a working connection with a valid reference to the layer)     QgsMapLayerRegistry.instance().addMapLayer(LYR)   What am I doing wrong?  Thanks in advance,  m. biblatex custom reference I've been searching for a way to create "Custom References" with biblatex, but haven't found a solution to my problem. Among "normal sources" like Journal Articles, I need other references where I can put a custom sentence in it. Like "[3] This was performed by someone else".  Is there an option to do that?   \documentclass{scrreprt} \usepackage[refsection=chapter,style=chem-angew]{biblatex} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage[ansinew]{inputenc} \begin{filecontents}{biblio.bib}  @article{entry1,      author = "George D. Greenwade",     title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",     year = "1993",     journal = "TUGBoat",     volume = "14",     number = "3",     pages = "342--351",            url=" www.ctan.org" }  \end{filecontents}  \addbibresource{biblio.bib}  \begin{document} \chapter{Test Chapter One} \cite{entry1} So far so good, now I need another reference that says 'This was performed by someone else'. \printbibliography[heading=subbibliography]  \end{document} "Duplicate of...[deleted post]" How to create a Facebook page without a personal account In the past, Facebook used to let business create pages or apps without a personal account. This account created in the page/app creation process had limited capacities and could be switch to a full personal account after—if needed (irreversible).  But today, if I want to create a page for a new brand, without having a Facebook account, it seems I can’t anymore. And I can’t find any communication from Facebook regarding this change.   Anybody has any info? Is it still possible (in a new way maybe)? How to apply standardization/normalization to train- and testset if prediction is the goal? If refraction slows down light, isn't it possible to hold light still? I have a quick question about the refraction of light, and I'm sorry if it seems a bit simplistic or even stupid, but I'm still learning.  We know that when light passes through a denser medium, it slows down. However, is there a limit to that slowing down? If no, wouldn't it be possible, with some type of medium we make ourselves (like a crystal), to decrease the light's speed down to a point where we would be able to "see the photons moving forwards"?  I know it is way more complicated than that and that you can't see light unless some other light bounces off it, what I mean is slowing down light to an extreme and unusual speed). That sounds completely absurd but I can't seem to find what is wrong. Can anyone can explain it to me? :) What, precisely, is a confidence interval? I know roughly and informally what a confidence interval is.  However, I can't seem to wrap my head around one rather important detail:  According to Wikipedia:     A confidence interval does not predict that the true value of the parameter has a particular probability of being in the confidence interval given the data actually obtained.     I've also seen similar points made in several places on this site.  A more correct definition, also from Wikipedia, is:     if confidence intervals are constructed across many separate data analyses of repeated (and possibly different) experiments, the proportion of such intervals that contain the true value of the parameter will approximately match the confidence level   Again, I've seen similar points made in several places on this site.  I don't get it.  If, under repeated experiments, the fraction of computed confidence intervals that contain the true parameter $\theta$ is $(1 - \alpha)$, then how can the probability that $\theta$ is in the confidence interval computed for the actual experiment be anything other than $(1 - \alpha)$?  I'm looking for the following in an answer:   Clarification of the distinction between the incorrect and correct definitions above. A formal, precise definition of a confidence interval that clearly shows why the first definition is wrong. A concrete example of a case where the first definition is spectacularly wrong, even if the underlying model is correct. How to make a series of rectangles follow a pen path I am trying to get a series of shapes (rectangles) to follow a path (sine wave) that I made with the pen tool, but I have no clue how to do that or if it is possible.   I have tried warping a rectangle into the sine wave path, but it takes many different warped rectangles and it isn't smooth.  I thought  might work for rectangles, but it only works for text. Accidently deleted boot option on Dell laptop Load a resource contained in a jar In my application I load resources in this manner:  WinProcessor.class.getResource("repository").toString();   and this gives me:  file:/root/app/repository   (and I replace "file:" with empty string)   This works fine when I run my application from the IDE, but when I run the jar of my application:  java -jar app.jar   The path becomes:  jar:/root/app.jar!/repository   is there any way to solve this problem?  I'll use the "repository" dir name in order to create this:  ConfigurationContext ctx = (ConfigurationContext) ConfigurationContextFactory.createConfigurationContextFromFileSystem(repositoryString, null);   In the same manner, I'll get one file name (instead of a dir) and I'll use it this way:  System.setProperty("javax.net.ssl.trustStore", fileNameString) How to change specific values in a List Imported 3D scan displays texture in editor, but renders without texture I am new to blender and I have a 3D scan of a stone tablet (which I am unfortunately not able to share, so I will try to be as detailed as possible) which was imported as OBJ and MTL files.  The editor displays the texture and mesh perfectly, but when I render the scene (pressing F12) the texture is not there.  I am trying to use blender to reduce the file size of the tablet for use in a three.js visualizer for a website.  I have tried exporting the file as a JSON file (as well as several other file formats to the same effect) for use in my three.js webapp and thought it was an issue with three.js, but after seeing that blender did not render the tablet with the texture I now believe it is an issue with my blender configuration. I am unable to find within blender or online any way to check what current resources I have displayed and what options I have with them.  I have not applied a mesh or texture to the object, but when I do so it renders with the generated texture applied in the default pink.  I am confused as to where the disconnect is between the editor and the renderer. I am still figuring out what is important and where to find all the relevant information, so any help on that regard would be very much appreciated.  Here is what blender looks like for me with the sensitive parts censored (can't be too careful these days):   I have looked at this question:  And there is no material overwriting the texture - I have not assigned a material to the tablet at all. EDIT: In regards to the duplicate answer, I looked at that one as well and the issue I have is that it doesn't have an actual texture file that I can just put on it.  The OBJ MTL files come with their own file that can't be applied directly to the model.  Blender read the OBJ MTL files and recreated the object inside blender algorithmically - and now I need to know how to get blender to tell me where that texture is and how I can get it to show up in the render.  The texture is not on my hard drive, but entirely within blender which is the issue I am having. New breaker and panel: What's the brown goo where they connect? MySQL Date Between