Gnome desktop icons turn gigantic
How do I scale the enormously sized desktop icons on Ubuntu 18.04?
$\mathbb{Q}(\sqrt{p},\sqrt[3]{q})= \mathbb{Q}(\sqrt{p}\cdot \sqrt[3]{q})$ ?? Is `sudo pip install` still a broken practice? Simple prime number generator in Python Could someone please tell me what I'm doing wrong with this code? It is just printing 'count' anyway.  I just want a very simple prime generator (nothing fancy).   import math  def main():     count = 3     one = 1     while one == 1:         for x in range(2, int(math.sqrt(count) + 1)):             if count % x == 0:                  continue             if count % x != 0:                 print count          count += 1 I want to change my thesis topic (to the extent that the ethos is still in tact) but my advisor does not agree. What can I do? I am doing a phd where my aim is to solve a problem A which is very interesting. My supervisor has got a lot of connections in a technology B and he claims to be an expert in B. I came to this group because of these accomplishments. But soon I realized that B is not really a great technology for A.   So in my phd proposal I proposed a method which encompasses B but is more general (say R). Now I realize that I do not want to use B at all because my preliminary results are not encouraging. In fact, I am inclined to use E as a base technique which does not have any impact on R.  But my supervisor, who is interested in only publishing in B  and frowns upon everything else (it was a nightmare to convince him to let me work on R) is dead against it. He says that he is an expert in B and his vision of the group is not inclined with me trying other things.  There are other professors in my university who have worked in E and could collaborate but my supervisor won't collaborate with people from outside his kingdom. I also know professors from outside my university who could help me if needed. I could knock the doors of school committee in order to  help me but that would create a lot of problems as my supervisor wields a lot of power and influence everywhere.    Another query is, is it ethical to collaborate with people outside the university (of course after letting my supervisor know) for my PhD work. My Masters supervisor would be happy to help me out.  Edit: After looking at comments, I am thinking that after all, it is MY PhD. Yes, I have spent 1.5 years, but 1.5 years is left. Why should I spend any moment of my life on something I find to be not exciting, particularly less exciting because it is forced on me. And in those 1.5 years I learnt to write well and also learnt 'A' which is important. Its not total waste. My supervisor has his agenda, and why should I give up mine to make him happy? His vision is fine, but he does not have the right to force his vision on me. Currently I had built a file upload functionality in Lightning component which accepts the CSV file, read it as text(Each row in CSV is split using \n and each column in the row is split using ,). Then each columns in each row are validated in Javascript and if everything is fine,the data is saved in the backend. While uploading the data, if the file contains , in its data then it is taken as another column. Eg: X-36936,SS-341487,11-WT,414081,"LENDERS, THE HACK",2-Manage,,,,,,,,,,,,12/1/2013,3150,,0,,Dealing,2018,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,  Here "LENDERS, THE HACK" is a single column but it is taken as 2 columns (LENDERS --> 1st column and THE HACK --> 2nd column).Could anyone please help me how to resolve this issue? Can we get some consensus on what flag to use for link only answers? Related:  (not a dupe, that's a feature request and was closed as a dupe of another one)        (old) post does indeed say that Link-only answers can be flagged as NAA, but there are a lot of posts like  which define Not An Answer is a way that it doesn't apply to link-only answers.  Can we get some up-to-date consensus on this? That link only answers are not allowed is . I have the following code that will remove lines with the pattern banana and 2 lines after it:  sed '/banana/I,+2 d' file   So far, so good! But I need it to remove 2 lines before banana, but I can't get it with a “minus sign” or whatever (similar to what grep -v -B2 banana file should do but doesn't):  teresaejunior@localhost ~ &gt; LC_ALL=C sed '-2,/banana/I d' file sed: invalid option -- '2' teresaejunior@localhost ~ &gt; LC_ALL=C sed '/banana/I,-2 d' file sed: -e expression #1, char 16: unexpected `,' teresaejunior@localhost ~ &gt; LC_ALL=C sed '/banana/I,2- d' file sed: -e expression #1, char 17: unknown command: `-' What is the word for act of monotonously demanding for something (many be a toy) repeatedly? Can one create a video from sequence of meshes that you already have using blender? If I have a sequence of .obj (or any other readable format) files created from my own simulation code (say cloth simulation), can I use the rendering capabilities of blender to generate a video?   Is there a way to set the material properties for frame 1 and use the same or rest of the frames while the corresponding meshes are imported afresh from that ones I provide? json parse error with double quotes A guy scammed me, but he gave me a bank account number & routing number. Can I use that to take out what he owes me? Are you allowed to stack Divine Smite and Eldritch Smite on the same attack? Why is the space between words in my source code listing so big? I used the following code to list my java code, but the it looks like there's too much space between words. What can I do?  % source code listing \usepackage{listings} \usepackage{color} \usepackage{xcolor}  \usepackage{caption}  % citation style \usepackage{apacite} \DeclareCaptionFont{white}{\color{white}} \DeclareCaptionFormat{listing}{\colorbox{gray}{\parbox{\textwidth}{#1#2#3}}}  \begin{document} \begin{lstlisting}[label=some-code,caption=bind to service call] bindService(new Intent(this, Recognizer.class), recConnection, Context.BIND_AUTO_CREATE); \end{lstlisting} \end{document}   The snapshot of what I got. The code not completely shown, and space too wide, in function bindService. Make Firefox save new bookmarks in the Bookmarks Menu (not Other Bookmarks) Recently, Firefox has changed the default folder for newly created bookmarks (using Ctrl+D) from the Bookmarks Menu to "Other Bookmarks".  Is there some way to change that back? Or some alternate method instead of Ctrl+D?  EDIT  A native way to do this (without an add-on) would be best. I am using natbib and agsm for harvard-style referencing. My related code is  \usepackage{natbib} \bibliographystyle{agsm}   Then I am using \citep{} for citations. My problem is that in text I am getting     (Author et al. 2012)   but and I want     (Author et al. 2012)   Does anyone know how to change this and get 'et al' in italics in the text?  I am using TexPad and BibDesk and I have not been able to find the .bst files in Terminal.  I know that it is often correct to have the 'et al.' unitalicised but my university regulations requires italics. Log and natural log Dynamically Determine Calling Context? We have various ways of invoking apex. Triggers, Inbound Webservices, @InvocableMethod,@RemoteAction and what not. Often we call some or other utility methods from these execution contexts. I have some generic utility method,that should behave differently from the context it is called?  I know about Trigger.isExecuting but it only tells if its running in trigger context or not.  I have a utility method that creates lead from Webservices, VF button click and via Lightning . Whenever we create a lead I want some special operations to be done via the source it was originated.(Its not just updating a simple field leadSource, I have some methods that creates some childs and update other records of other type) . I can achieve this by passing an extra parameter to utility method to tell about source, but i have then to edit hundred of other class that uses this utility method. If i could dynamically find out via which context this piece of code is running,then i would have to change only one class to satisfy my requirement.    Is there something in APEX that tells in what context the apex method was called? Force drop db while others may be connected How to disable javascript modal popup ads Mass retagger badge I've been busy retaggin questions since I got my retag privileges.  Shouldn't there be an incentive to retag wrongly tagged questions, other than the urge to do things right?  I'm mean, the only "badge incentive" for retagging are "Firs edit" (Organizer) and "Creation of a tag used 50 times" (Taxonomist). The first one is easy to get, and the second one, right now in SO is almost impossible to get without cheating, that's editing 50 questions with an unlikely tag. Taxonomist I guess, could encourage wrongly tagging.  Is this really a problem?  We could have an "Tagged 200 question" badge, so people go for that badge, instead of taxonomist.