Can I upgrade my GCC compiler now in Ubuntu 14.04? Has the final usable version (4.9) been released?
How do I install the latest version of gcc and g++?  I am using a variety of C++11 and C++1y features; which is why I need this.
Why is DarkGray lighter than Gray? Force alt + tab to switch only on current workspace in GNOME shell I am looking for a clean and fast method to force GNOME in Ubuntu 14.04 to switch between active apps only on the current workspace when pressing the shortcut alt + tab. How to resolve a Java Rounding Double issue (p → q) ∧ ¬p ⇒ ¬q  I have tried to use the rules of inference in many ways to prove this argument to be valid. However, I cannot seem to find a way to validate the argument, but I am afraid I have missed something.  Using a truth table I find that when p and q is 0, then p → q is 1, ¬p is 1 and ¬q is 1. Would that not make the argument valid?  I apologize in advance if I have misunderstood the whole concept. Any answer would be much appreciated. Thank you Framing a combination of cells in the notebook I'm having exactly the same issue as , also using Biber 2.14, albeit I didn't upgrade, downgrade, change TexLive version, change encoding or (seemingly) do anything. It's like Biber suddenly quit parsing dates on me.  Whether the bibfile is encoded in ASCII or UTF-8 makes no difference. Whether the date is a short format or the full YYYY-MM-DD makes no difference. I'm not sure what else to test.  Here's a MWE and the associated .blg file:  \begin{filecontents}{mwe.bib}     @Article{JD2020,         author       = {John Doe},         title        = {A Title},         date         = {2020-01-01},         %date       = {2020}         journaltitle = {Journal},     } \end{filecontents}  \documentclass{article} \usepackage{biblatex} \addbibresource{mwe.bib}  \begin{document}     test\autocite{JD2020}     \printbibliography \end{document}   [1] Config.pm:304&gt; INFO - This is Biber 2.14 [1] Config.pm:307&gt; INFO - Logfile is 'mwe.blg' [154] biber-darwin:322&gt; INFO - === Thu Apr 30, 2020, 11:04:33 [185] Biber.pm:415&gt; INFO - Reading 'mwe.bcf' [354] Biber.pm:943&gt; INFO - Found 1 citekeys in bib section 0 [384] Biber.pm:4256&gt; INFO - Processing section 0 [385] Utils.pm:75&gt; INFO - Globbing data source 'mwe.bib' [385] Utils.pm:91&gt; INFO - Globbed data source 'mwe.bib' to mwe.bib [401] Biber.pm:4455&gt; INFO - Looking for bibtex format file 'mwe.bib' for section 0 [402] bibtex.pm:1653&gt; INFO - LaTeX decoding ... [406] bibtex.pm:1471&gt; INFO - Found BibTeX data source 'mwe.bib' [437] Utils.pm:304&gt; WARN - Entry 'JD2020' (mwe.bib): Invalid format '2020-01-01' of date field 'date' - ignoring [457] UCollate.pm:68&gt; INFO - Overriding locale 'en-US' defaults 'normalization = NFD' with 'normalization = prenormalized' [457] UCollate.pm:68&gt; INFO - Overriding locale 'en-US' defaults 'variable = shifted' with 'variable = non-ignorable' [457] Biber.pm:4084&gt; INFO - Sorting list 'nty/global//global/global' of type 'entry' with template 'nty' and locale 'en-US' [457] Biber.pm:4090&gt; INFO - No sort tailoring available for locale 'en-US' [461] bbl.pm:652&gt; INFO - Writing 'mwe.bbl' with encoding 'UTF-8' [463] bbl.pm:755&gt; INFO - Output to mwe.bbl [463] Biber.pm:128&gt; INFO - WARNINGS: 1   The \printbibliography output actually looks like this: [1] John Doe. “A Title”. In: Journal ().  In my actual thesis, all the dates are gone from the pdf output. Proof that $\mathrm{ker}(f^*) = \mathrm{im}(f)^{\perp} $ Where $ f: V \rightarrow V  $ is a linear operator on an inner product space $V$, I'm trying to show that $$ \mathrm{ker}(f^*) = \mathrm{im}(f)^{\perp} $$  i.e. the Kernel of the adjoint is equal to the orthogonal complement of the image of f.  I taking the inner product of $f(v)$, where $v \in V$  and an arbitary element of the kernel, $k \in \mathrm{ker}(f^*) $  $$\langle f(v), k\rangle = \langle v, f^*(k)\rangle = \langle v, 0\rangle = 0$$  And then taking the inner product of $f(v)$ with $w$, where $w \in  \mathrm{im}(f)^{\perp}$  By definition  of the orthogonal complement to the image of f,   $$ \langle f(v), w\rangle = 0 $$  My question is, now that we have   $$ \langle f(v), k\rangle = \langle f(v), w\rangle = 0 $$  What can we conclude? I would like to conclude that because $w$ and $k$ are arbitary elements of their respective subspaces, that these must be equal, i.e. $ \mathrm{ker}(f^*) = \mathrm{im}(f)^{\perp} $  However, I am not sure this is mathematically sound, is that conclusion valid or are there any technical barriers or additional statements that would have to be made to make that watertight? The attribute image.itemtype has an invalid value I am using JSON-LD format for Structured data. In home page @type=website &amp; in details page @type=Article. Logo property of Organization section in details page showing following warning in Google Structured Data Testing Tool But home page is not although in both page value is same.      (The attribute logo.itemtype has an invalid value.)   Home page JSON-LD  &lt;script type="application/ld+json"&gt;     {     "@context": "http://schema.org",     "@type": "WebSite",     "url": "http://kothaboli.com/",     "name": ".....",     "alternateName" : "....",     "description" : "......",     "potentialAction": {         "@type": "SearchAction",         "target": "http://kothaboli.com/search?keywords={search_term_string}",         "query-input": "required name=search_term_string"     },     "sameAs":[         "https://www.facebook.com/kothaboliDotCom/",         "https://twitter.com/kotha_boli",         "https://plus.google.com/+kothaboli"     ],     "publisher" : {         "@type" : "Organization",         "name" : "....",         "alternateName": "...",         "logo": "http://kothaboli.com/media/1018/ka.jpg"         }     } &lt;/script&gt;     Details page JSON-LD      &lt;script type="application/ld+json"&gt;     {     "@context" : "http://schema.org",     "@type" : "Article",     "url": "http://kothaboli.com/interviews/intellectual/arundhati-roy/",     "name" : "... ....",     "headline":  "...--’",     "datePublished" : "7/26/2016 1:10:05 AM",     "dateModified" : "8/12/2016 1:50:54 AM",     "image" : "http://kothaboli.com/media/1088/33333333.jpg",     "articleSection" : "....",     "articleBody" : ".....’ ",     "mainEntityOfPage": "..",     "author" : {         "@type" : "Person",         "name" : "....",         "alternateName": "Arundhati Roy"         },     "publisher" : {         "@type" : "Organization",         "name" : "...",         "alternateName": "Kothaboli",         "logo": "http://kothaboli.com/media/1018/ka.jpg"         }     } &lt;/script&gt; Correct position of "only" Is there a word for one side in a pair? Is there a word for one side in a pair? In a conversation it would the the interlocutor, but I'm looking for a generic term. If I do the following:  import subprocess from cStringIO import StringIO subprocess.Popen(['grep','f'],stdout=subprocess.PIPE,stdin=StringIO('one\ntwo\nthree\nfour\nfive\nsix\n')).communicate()[0]   I get:  Traceback (most recent call last):   File "&lt;stdin&gt;", line 1, in ?   File "/build/toolchain/mac32/python-2.4.3/lib/python2.4/subprocess.py", line 533, in __init__     (p2cread, p2cwrite,   File "/build/toolchain/mac32/python-2.4.3/lib/python2.4/subprocess.py", line 830, in _get_handles     p2cread = stdin.fileno() AttributeError: 'cStringIO.StringI' object has no attribute 'fileno'   Apparently a cStringIO.StringIO object doesn't quack close enough to a file duck to suit subprocess.Popen.  How do I work around this? Which one is correct to say: "It's me" or "It's I"? After plain installation of Ubuntu 16.04 LTS gnome-software doesn't work. It has opened once with GUI, but installation of Unity Tweak Tool didn't finish.  When starting again, GUI doesn't come up. When opening from terminal, a warning appears, but the application GUI doesn't open.  $ gnome-software (gnome-software:7052): Gs-WARNING: failed to open plugin /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so: /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so: cannot open shared object file: No such file or directory   Does anybody have same experience, and eventually, a solution?    According to the recommendation:  $ dpkg-query -S /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so gnome-software: /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so   Proposed reinstall of gnome-software did not help.    As workaround, use Synaptic Package manager and command line. Isomorphism between $\mathfrak o(4,\mathbb R)$ and $\mathfrak o (3,\mathbb R) \oplus\mathfrak o (3,\mathbb R) $ I recently read the .  This book had the idea of the time you live as something that can be used to pay for things. When you run out of "money" you die.  I was wondering is this the original source for this idea? Or does anyone know of an earlier book with the same idea? Winter 18  does not get values from a parent record I am testing the new  &lt;lightning:datatable&gt;, it is really good, and is a good replacement for most of my use cases which today I use a custom list component that I have developed.  I am getting data from my server through apex method, to populate it into the &lt;lightning:datatable&gt; component. I can bind the returned list directly to the data attribute and if the column names are same as the field names, all data is bound correctly.  The problem occurs when I get data from a parent record. For example - I want the Account name of my contact.  This example can show the problem:  Component Markup    &lt;aura:handler name="init" value="{!this}" action="{!c.doInit}"/&gt;  &lt;aura:attribute name="mydata" type="Object"/&gt; &lt;aura:attribute name="mycolumns" type="List"/&gt; &lt;aura:attribute name="sortedBy" type="String"/&gt; &lt;aura:attribute name="sortedDirection" type="String"/&gt;  &lt;lightning:datatable data="{! v.mydata }"                      columns="{! v.mycolumns }"                      keyField="Id"                      onrowselection="{! c.getSelectedName }"                      onsort="{!c.updateColumnSorting}"                      sortedBy="{!v.sortedBy}"                      sortedDirection="{!v.sortedDirection}"                      hideCheckboxColumn="{!false}" /&gt;        Component Controller  ({     doInit: function (component, event, helper) {         component.set('v.mycolumns', [                     {label: 'Id', fieldName: 'Id', type: 'id', sortable:"true"},                     {label: 'First Name', fieldName: 'FirstName', type: 'text', sortable:"true"},                     {label: 'Last Name', fieldName: 'LastName', type: 'text', sortable:"true"},                     {label: 'First Name Hebrew', fieldName: 'First_name_Hebrew__c', type: 'text', sortable:"true"},                     {label: 'Last Name Hebrew', fieldName: 'Last_name_Hebrew__c', type: 'text', sortable:"true"},                     {label: 'Account', fieldName: 'Account.Name', type: 'text', sortable:"true"},                     {label: 'Email', fieldName: 'Email', type: 'email', sortable:"true"},                     {label: 'Phone', fieldName: 'Phone', type: 'phone', sortable:"true"}                 ]);          var action = component.get("c.getRecordsFromDb");         action.setParams({             sObjectName: "Contact",             commaDelimitedFieldNames: "Id,FirstName,LastName,First_name_Hebrew__c,Last_name_Hebrew__c,Account.Name,Email,Phone",             filter: ""         });         action.setCallback(this, function(response){             var state = response.getState();             if (component.isValid() &amp;&amp; state === "SUCCESS") {                 var data = response.getReturnValue();                  component.set("v.mydata", data);             }         });         $A.enqueueAction(action);     } })   APEX Aura Enabled Method  @AuraEnabled public static List&lt;sObject&gt; getRecordsFromDb(String sObjectName,         String commaDelimitedFieldNames,         String filter) {      system.debug('\n\n\n\ngetRecordsFromDb sObjectName: ' + sObjectName + ', commaDelimitedFieldNames: ' + commaDelimitedFieldNames + ', filter: ' + filter + '\n\n\n\n');      // create a dynamic soql to get the value of the field     String sql = 'SELECT ' + commaDelimitedFieldNames + ' FROM ' + sObjectName;      if (!String.isBlank(filter))         sql += ' WHERE ' + filter;      system.debug('\n\n\n\ngetRecordsFromDb sql: ' + sql + '\n\n\n\n');     List&lt;sObject&gt; records = Database.query(sql);     system.debug('\n\n\n\ngetRecordsFromDb: ' + records + '\n\n\n\n');      return records; }   The problem is with the Account.Name field - the &lt;lightning:datatable&gt; component does not display the column data.   I know that the data is returned ok, and I know that in the object that is returned, the Account is contained like an object (probably this is the problem):    Is there a good way to show parent record data with this component? how to add a custom lock for the recovery and/or bootloader? Unlocking the bootloader and/or the recovery is very popular discussion across many devices. But doing so exposes a very obvious and inevitable issue with security!  An unlocked recovery means that no matter how secure you make your android lock screen, someone can easily reset phone to restore the phone to a fully functional (and lockless/insecure) state and the worst part, they don't have to erase your data(meaning they can access all your personal files and folders)!  It is almost hilarious! In fact if the phone supports insertion of external SD cards, you can even flash your own software into the phone and maybe bypass the lock screen without wiping any data.  For example: One possible loophole is using the 'Tasker' app which has a feature that can temporarily disable the keyguard. And the best part is that Tasker can be flashed using the recovery!  So is there any method by which I could add a security measure that prevents complete access to my recovery and/or boot loader that will make my phone less insecure?!  Expected answer: Method by which a custom pin/password must be entered before entering the bootloader/recovery. So that my bootloader/recovery is still technically unlocked but simply requires authentication to use (this also ensures that conventional unlocking methods won't work as the phone is not really locked!). This also means that one does not have to lose root access to ensure security! Do gravitational lenses work on gravitational waves? Why are `/dev/ptmx` and `/dev/pts/ptmx` not device files? says     On Linux, using devpts, there is no master device file. The process on the master end uses a file descriptor, which it gets by opening ptmx, but there’s no corresponding device node.   Did the author refer to /dev/ptmx or /dev/pts/ptmx?    Why are /dev/ptmx and /dev/pts/ptmx not device files? What types of files are they?  What is the difference between /dev/ptmx and /dev/pts/ptmx?  Thanks.  On Lubuntu 18.04  $ file /dev/ptmx  /dev/ptmx: character special (5/2) $ file /dev/pts/ptmx  /dev/pts/ptmx: character special (5/2)  $ sudo su  # stat -L /dev/fd/3 3&lt;&gt; /dev/pts/ptmx   File: /dev/fd/3   Size: 0           Blocks: 0          IO Block: 1024   character special file Device: 15h/21d Inode: 2           Links: 1     Device type: 5,2 Access: (0000/c---------)  Uid: (    0/    root)   Gid: (    0/    root) Access: 2018-11-21 13:39:10.544000218 -0500 Modify: 2018-11-21 13:39:10.544000218 -0500 Change: 2018-11-21 13:39:10.544000218 -0500  Birth: -  # stat -L /dev/fd/3 3&lt;&gt; /dev/ptmx   File: /dev/fd/3   Size: 0           Blocks: 0          IO Block: 4096   character special file Device: 6h/6d   Inode: 87          Links: 1     Device type: 5,2 Access: (0666/crw-rw-rw-)  Uid: (    0/    root)   Gid: (    5/     tty) Access: 2019-01-06 07:19:54.372098540 -0500 Modify: 2019-01-06 07:19:54.372098540 -0500 Change: 2018-11-21 13:39:30.372098540 -0500  Birth: - Badges loading broken in election statistics We have an  and I noticed the badges are not loading in the election statistics like they should be. It just hangs forever loading badge information:    Unfortunately I blew off reporting this for a couple days figuring it would resolve itself, but it doesn't seem to be a temporary problem.