So I want to start collecting old Thinkpads and I think the X61s is a good place to start. With 4gb ram and it's Integrated Intel X3100 will it run smoothly on Ubuntu and play low end games like Undertale? (I know there's a system requirements sheet for Ubuntu and Undertale but I had absolutely no clue what they meant!)
I am a bit financially strapped and received a Gateway GT5056 tower. The tower has an AMD dual core 64-bit processor in it. Will Ubuntu 12.04 run on this machine? I will not have any other application other than LibreOffice installed.
I have a  beautiful  inequality, but I can only prove part of cases. Given any positive real numbers $a,b,c$, we have   $$(a^{2}+2)(b^{2}+2)(c^{2}+2)\geq 9(ab+bc+ca)$$  How can we prove this statement? Carry over long sequence of missing values with Postgres I have a table like this:  create table foo (foo_label text, foo_price int, foo_date date);  insert into foo (           values           ('aaa', 100,  '2017-01-01'),           ('aaa', NULL, '2017-02-01'),           ('aaa', NULL, '2017-03-01'),           ('aaa', NULL, '2017-04-01'),           ('aaa', 140,  '2017-05-01'),           ('aaa', NULL, '2017-06-01'),           ('aaa', 180,  '2017-07-01')         );   As you can see a few values on the foo_price column are missing.  What I need is that missing values get filled up with the "previous" available value in this way:   foo_label | fixed_foo_price | foo_date -----------+-----------------+------------  aaa       | 100             | 2017-01-01  aaa       | 100             | 2017-02-01  aaa       | 100             | 2017-03-01  aaa       | 100             | 2017-04-01  aaa       | 140             | 2017-05-01  aaa       | 140             | 2017-06-01  aaa       | 180             | 2017-07-01   My attempt:  select      foo_label,      (case when foo_price is null then previous_foo_price else foo_price end) as fixed_foo_price,     foo_date from (   select        foo_label,        lag(foo_price) OVER (PARTITION BY foo_label order by foo_date::date) as previous_foo_price,        foo_price,       foo_date       from foo ) T;   As you can see from here:    It doesn't fill completely the '100' series.  Any idea how can I get the wanted result? How to use C++ 11 features in the latest version of g++ Newbie here. I just got an error running from the terminal a C++ program I wrote: error: ‘stoi’ is not a member of ‘std’. They told me the compiler is too old.  I'm using Ubuntu 14.04.  My g++ version is 4.8.4.  How do I upgrade? Let's say we have this code for a LWC:  &lt;!-- helloExpressions.html --&gt; &lt;template&gt;     &lt;div class="slds-m-around_medium"&gt;         &lt;lightning-input name='firstName' label="First Name" onchange={handleChange}&gt;&lt;/lightning-input&gt;         &lt;lightning-input name='lastName' label="Last Name" onchange={handleChange}&gt;&lt;/lightning-input&gt;         &lt;p class="slds-m-top_medium"&gt;Uppercased Full Name: {uppercasedFullName}&lt;/p&gt;     &lt;/div&gt; &lt;/template&gt;   and this is the JS file:  // helloExpressions.js import { LightningElement, track } from 'lwc';  export default class HelloExpressions extends LightningElement {     @track firstName = '';     @track lastName = '';      handleChange(event) {         const field = event.target.name;         if (field === 'firstName') {             this.firstName = event.target.value;         } else if (field === 'lastName') {             this.lastName = event.target.value;         }     }      get uppercasedFullName() {         return `${this.firstName} ${this.lastName}`.toUpperCase();     } }   firstName and lastName have been decorated with @track. Now as per the documentation, decorating a property with @track makes it private and reactive, while to mark a property public and reactive, use @api.  So if I just change the decorator to @api for both these variables, it should work. I am referring these from the same component only. But it's not working.  UPDATE: 27th Feb -------------------- Somehow it's working today. I just changed the decorator of the variables to api.  import { LightningElement, api } from 'lwc';  export default class HelloExpressions extends LightningElement {     @api firstName = '';     @api lastName = '';      handleChange(event) {         const field = event.target.name;         if (field === 'firstName') {             this.firstName = event.target.value;         } else if (field === 'lastName') {             this.lastName = event.target.value;         }     }      get uppercasedFullName() {         return `${this.firstName} ${this.lastName}`.toUpperCase();     } }   So it's working. What is the difference between a population and a sample? What is the difference between a population and a sample? What common variables and statistics are used for each one, and how do those relate to each other? Taylor series expansion for $f(x)=\sqrt{x}$ for $a=1$ Uniform continuity of $f(x)=x^{2/3}\log x$ on $[0, \infty)$ Let $f$ be a real valued function on $[0,\infty)$ defined by  $$f(x)= \begin{cases} x^{{2}/{3}}\log x &amp; \text{ if } x&gt;0 \\  0 &amp; \text{ if } x= 0 \end{cases}$$  Then which of the following is true?  A. $f$ is discontinuous at $x=0$.  B. $f$ is continuous on $[0,\infty)$, but not uniformly continuous on $[0,\infty)$.  C. $f$ is uniformly continuous on $[0,\infty)$.  D. $f$ is not uniformly continuous on $[0,\infty)$, but uniformly continuous on $[1,\infty)$.  I could see that $f(x)=x^{\frac{2}{3}}\log x$ is continous at $x=0$   But for uniform continuity I thought boundedness of derivative would help   But I found $f'(x)=\frac{2}{3}x^{-\frac{1}{3}}\log x + x^{-\frac{1}{3}}$   This $f'(x)$ is not bounded so i can not say any thing about uniform contunuity.  Please help me to clear this.   Thank you :)  P.S : This was already asked before ( some other person but it was not having enough details so it got closed. I tried to edit that question but someone said I should not edit OP to add more details. I was afraid that may be against the rules of MSE. So, I thought i should ask this separately with my own ideas. How to implement custom icons for my script/addon? If someone else is booking international ticket for me using his credit or debit card, does he need to be present physically at the time of check-in?   Suppose I am coming back from Singapore to my home country and my ticket is booked by my friend for me, who lives in my home country. Do airlines in Singapore ask for the person to be present physically to check in? Prove that ${\left(\frac{x+1}{2}\right)}^{x+1} \leq x^x$ I want to prove that for each real number $x&gt;0$, the statement  $${\left(\frac{x+1 } {2}\right)}^{\!x+1} \leq x^x$$  is correct.   I’ve tried using mathematical induction methods, but haven’t found a solution. Although, using any method is appreciated. How do I explain current and voltage to a lay man? A man asked me this question in suburban train when I told him that I am an electrical engineer. Of course I replied him that current is the flow of electrons and in order for the current to flow there should be a potential difference between them. But the man didn't know what electron or potential difference was either. Convert a string to an enum in C# How do you do it? Given a byte array:  byte[] foo = new byte[4096];   How would I get the first x bytes of the array as a separate array? (Specifically, I need it as an IEnumerable&lt;byte&gt;)  This is for working with Sockets. I figure the easiest way would be array slicing, similar to Perls syntax:  @bar = @foo[0..40];   Which would return the first 41 elements into the @bar array. Is there something in C# that I'm just missing, or is there some other thing I should be doing?  LINQ is an option for me (.NET 3.5), if that helps any. How can I change the default "ens33" network device to old "eth0" on Fedora 19? Gaming the system for Populist badges Is the Star Wars Universe just one galaxy? MySQL Conditional Insert Smoothing/generalizing polygon in QGIS? Is it possible to smooth or generalize a polygon in QGIS, perhaps by using a plugin like the generalizer-plugin for lines?  I could convert my polygons to lines, smooth them and convert them back to polygons but this is not working for my polygons because of several reasons. I've grown quite fond of HTTP reverse proxies in our development environment and found the DNS based virtual host reverse proxy quite useful. Having only one port (and the standard one) open on the firewall makes it much easier for management.  I'd like to find something similar to do SSH connections but haven't had much luck. I'd prefer not to simply use SSH tunneling since that requires opening port ranges other than the standard. Is there anything out there that can do this?  Could HAProxy do this? Recently I had to change the folder permissions of /usr folder. Now the whole sudo is not working. If I try to update my system using this command:  sudo apt-get update   I get the following message:  sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins   So I tried to change the folder permissions by opening Nautilus as root by using this command  gksudo nautilus   But nothing happened. Nautilus didn't open. This is an emergency as the whole of sudo is not working. when I tried searching the solution from Google many suggested re-installation. I don't prefer re-installation. so is there any other solution?