I can't install anything on Ubuntu 14.04 , kept saying "HASHSUM MISMATCH"?
Trouble downloading packages list due to a "Hash sum mismatch" error
I'm trying to create record Type selection screen in LWC, but getting this error  afterRender threw an error in 'c:createContact' [Cannot read property 'recordTypeInfos' of undefined]  HTML:  &lt;template&gt;     &lt;lightning-combobox name="recordType" label="Record Type" placeholder="Choose Status"                         value={value}                          options={recordTypeId}&gt;      &lt;/lightning-combobox&gt; &lt;/template&gt;   JS:  import { LightningElement, track, wire, api } from 'lwc'; import { getObjectInfo } from 'lightning/uiObjectInfoApi'; import CONTACT_OBJECT from '@salesforce/schema/Contact';  export default class CreateContact extends LightningElement {      @track statusOptions;     @track value;     @api objectApiName;      @track objectInfo;      @wire(getObjectInfo, { objectApiName: CONTACT_OBJECT,})     objectInfo;       get recordTypeId() {         // Returns a map of record type Ids          console.log(this.objectInfo);         const rtis = this.objectInfo.data.recordTypeInfos;         return rtis;     }  } future or present with when I've a friend that booked a round-trip journey. He booked A-to-B and B-to-A. Somehow he needed to be earlier at location B, so he took a train and did not take the flight from A to B.  When he went to the airport to take the "back home" flight (B-to-A), he was informed that his ticket was canceled because he did not take the A-to-B flight. They canceled the ticket and sold it to someone else.  Is this normal? The company said it was their right to do so, and he could not get the flight back. The company was Iberia. I made an svg in Illustrator, but now I want to use it in a website/app but it's a huge size (around 10 MB) how can I decrease the size of it? My illustrator file is pretty big but that because I have some tracing elements underneath. The file also has a big artboard, but when I save should I delete my tracing elements, and decrease the artboard size? I'm looking for an example of $2$ non isomorphic groups $G_1,G_2$  that are finitely generated and presented that have the same finite quotients (up to isomorphism) .  Thanks How to submit a form when the return key is pressed? Can someone please tell me how to submit an HTML form when the return key is pressed and if there are no buttons in the form? The submit button is not there. I am using a custom div instead of that. Which props in Star Trek: Picard are reused from the original TNG show and films (if any)? Many sysv init scripts used a corresponding file in /etc/default to allow the administrator to configure it. Upstart jobs can be modified using .override files. How do I override or configure systemd units, now that systemd is the default in Ubuntu? I tried to install ffmpeg in trusty/Ubuntu 14.04 and got the following message:  $sudo apt-get install ffmpeg  Reading package lists... Done Building dependency tree        Reading state information... Done Package ffmpeg is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'ffmpeg' has no installation candidate   Why isn't the package available? My online friend is asking for money in order to visit my home country. Is this a legit request or a scam? On Travel.SE we often see questions about a person (usually a love interest) asking for money to pay for airfare, visas, permits and other expenses. For example        What general advice can be given in such situations to the person asking the question? Is it all a scam or can there be legitimate situations in which an online friend could be asking for money? I'm trying to use Linq to return a list of ids given a list of objects where the id is a property. I'd like to be able to do this without looping through each object and pulling out the unique ids that I find.  I have a list of objects of type MyClass and one of the properties of this class is an ID.  public class MyClass {   public int ID { get; set; } }   What I want to do is write a Linq query to return me a list of those Ids  How do I do that given an IList&lt;MyClass&gt; such that it returns an IEnumerable&lt;int&gt; of the ids?  I'm sure it must be possible to do it in one or two lines using Linq rather than looping through each item in the MyClass list and adding the unique values into a list.  Any help in creating an elegant solution would be much appreciated! Selectively coloring text in RichTextBox How can I paint in red every time I meet the letter "A" in RichTextBox? Wheel going badly out of true on final tightening On two occasions (same wheel, loosened everything off and re-did the whole thing after the first time) as I've applied a final half turn to tighten the spokes round the wheel it's gone from being pretty laterally true (within about 0.5 mm) to badly out of true (probably a couple of mm or more out).  The simplest explanation would be that I've managed to mess up by missing spokes/over under-tightening some of them, but I'm fairly sure that's not the case.  What else could cause this?  This is a rear wheel with a fair amount of dish. I'm worried that I might be over-tightening. On both occasions I decided to do a final half turn as the non drive side seemed a little loose, but I was concerned the drive side might be over tight. Could this cause a sudden change in trueness?  I've got the wheel back to a reasonable state, but I'm no longer sure I have even tension in the spokes. I'm looking for a way to insert a &lt;style&gt; tag into an HTML page with JavaScript.  The best way I found so far:  var divNode = document.createElement("div"); divNode.innerHTML = "&lt;br&gt;&lt;style&gt;h1 { background: red; }&lt;/style&gt;"; document.body.appendChild(divNode);   This works in Firefox, Opera and Internet Explorer but not in Google Chrome. Also it's a bit ugly with the &lt;br&gt; in front for IE.  Does anyone know of a way to create a &lt;style&gt; tag that   Is nicer Works with Chrome?   Or maybe   This is a non-standard thing I should avoid Three working browsers are great and who uses Chrome anyway? I mean to ask  that $7$ is an arithmetic  expression  but it can also  be  written  as $7x^0$.  which is a constant polynomial  expression.  Every polynomial  expression  is an algebraic  expression  so with  this logic is $7$ an algebraic  expression  or an arithmetic  expression.  Further $7=5+2$, is it an arithmetic  equation  or algebraic  equation  because  it can also be written  in  $7x^0 = 5x^0 + 2x^0$ form. please help.  Thank you. What is the typical post processing work flow for amateur photographers? I love photography; I hate postprocessing.  Seeing that I am an amateur, not just by virtue of not getting paid for it, but also being rather new to the whole affair, I already am used to most of my shots just not being that great. While reading blogs and websites I get the impression that condensing ~100 frames in maybe a handful of shareworthy photos is not rare.  But even so, after a vacation quite a few photos have accrued. What is a common workflow to sort, post-process and share photographs for a beginner? What are common postprocessing steps? What kind of automations do people use?    Edit: I phrased the question generically so that it can be of use to as many people as possible. But I understand that without anything to go by, it might be a bit hard to answer. Therefore, while I own no paid-for software, this is what I use:   I have an EOS 500D crop camera as picture source and I use  for development,  for any touching up I need to do. (Which is not much, so far.)  (in a VM) is my photo catalog. My destination is my Flickr stream for the most part, sometimes I send photos directly to family and friends.   On the input side, I mostly am in practice mode; shooting whatever I can place in front of my lens. I have not yet picked a specialty. I would like to minimize time spent fine-tuning photos in software. These sort of "batch processes" are a part I realize is important, but not much fun to me.  I am quite computer-literate, so I am not afraid of piecing together tools that can be of use, but the more "" this can be, the more people who don't spend their life in front of a PC can benefit too. :) If spending money on something will make my life easier, I am quite willing to consider it. However as photography does not bring any income, something as large as Photoshop (for example) is somewhat hard to justify as an investment. From an array of objects, extract value of a property as array How can I prove the convergence of the sequence $b_n=\sqrt[n]{x^n+y^n}$ where $x, y &gt; 0$?  Can I divide it in two cases?  Case 1: $x &gt; y$.  $$ b_n=\sqrt[n]{x^n+y^n} &lt; \sqrt[n]{x^n+x^n} = \sqrt[n]{2 \cdot x^n}=x \cdot \sqrt[n]{2} $$  Case 2: $x &lt; y$.  $$ b_n=\sqrt[n]{x^n+y^n} &lt; \sqrt[n]{y^n+y^n} = \sqrt[n]{2 \cdot y^n}=y \cdot \sqrt[n]{2}$$  Result: Does the sequence converges to $\max(x,y)$? Why do we tag questions? My question—my meta-question as the case may be—concerns the purpose of these words referred to as "tags". Let me be clear: I use tags. The site supports them, so why shouldn't I? My understanding of their reason for existing is tragically incomplete.   Are they used for searching? Are they useful in any other way, or do they merely act as decoration?     For more information, see "" and "" in the . How do I enable the "Universe" repository?