I am using Ubuntu 18.04 with Gnome on Wayland. Today I needed to ad a folder to my Home directory and I couldn't find a simple way to do it in Nautilus. Eventually I remembered the "Control + Shift + N" option and that worked.   What has happened to the GUI options for this everyday task?  Edit: I found the answer. The "Add folder" option is now an icon, in the top left of the pull down menu.
It is a question of Nautilus file manager of Ubuntu 18.04. Is there a simple way to create a Folder when file list is full of items?
How many combinations are possible in the game tic-tac-toe (Noughts and crosses)?  So for example a game which looked like: (with positions 1-9)  A1   --   B1  A2   --   B2  A3   --   --   [1][3][4][6][7] would be one combination Setting default values (conditional assignment) In Ruby you can easily set a default value for a variable   x ||= "default"   The above statement will set the value of x to "default" if x is nil or false  Is there a similar shortcut in PHP or do I have to use the longer form:  $x = (isset($x))? $x : "default";   Are there any easier ways to handle this in PHP? How many research interests should be included in a statement of purpose/objective I am wondering how many research interest should be included in a statement of purpose. Is it better to include just one core interest or to include up to three as in my case? Did the law of conservation of energy apply to the earliest moments of the Big Bang? If so, what theoretical physics supports this?   I hear that Einstein's theory of relativity disputes the law of conservation of energy- so does that mean the law is false, or only some aspect of it? How to use a proxy on the command line? I can set my proxy username and password along with proxy settings in the proxy ui but these settings do not work on the command line. How can I use apps such as wget &amp; ping on the command line with a proxy?  Example Details:   username: 1234 pass: linux proxy: proxy port: 8080 Why is the gravitational force always attractive? A customer running Windows 7 Home must have reserved or okayed the Windows 10 upgrade because I am seeing daily messages that the upgrade is failing to install.   This customer is not ready for Windows 10 so it's good that the install is failing. But how to make it stop trying?  Once permission is granted for the upgrade, how do I revoke that permission so it stops attempting to upgrade?  I ran the Windows Update troubleshooter to clear out updates, and I uninstalled and hid KB3035583, but it is still trying to upgrade. In Task Manager, there is no GWX.EXE process.  Event log failure message:  Log Name:      System Source:        Microsoft-Windows-WindowsUpdateClient Date:          8/5/2015 1:28:58 AM Event ID:      20 Task Category: Windows Update Agent Level:         Error Keywords:      Failure,Installation User:          SYSTEM Description:   Installation Failure: Windows failed to install the following update with                 error 0x80240020: Upgrade to Windows 10 Home.   Relevant lines from WindowsUpdate.log:  2015-08-05  01:28:57:885    1068    6698    Agent   ************* 2015-08-05  01:28:57:885    1068    6698    Agent   ** START **  Agent: Installing updates [CallerId = AutomaticUpdates] 2015-08-05  01:28:57:885    1068    6698    Agent   ********* 2015-08-05  01:28:57:885    1068    6698    Agent     * Updates to install = 1 2015-08-05  01:28:57:885    1068    6698    Agent     *   Title = Upgrade to Windows 10 Home 2015-08-05  01:28:57:885    1068    6698    Agent     *   UpdateId = {27E79986-1150-4342-BDD2-76DF82C768D5}.201 2015-08-05  01:28:57:885    1068    6698    Agent     *     Bundles 1 updates: 2015-08-05  01:28:57:885    1068    6698    Agent     *       {FCD6621E-F5D4-4A95-AD43-28F0C58DD2F3}.201 2015-08-05  01:28:58:181    1068    6698    DnldMgr Preparing update for install, updateId = {FCD6621E-F5D4-4A95-AD43-28F0C58DD2F3}.201. 2015-08-05  01:28:58:181    27280   6f84    Misc    ===========  Logging initialized (build: 7.6.7601.18917, tz: -0700)  =========== 2015-08-05  01:28:58:181    27280   6f84    Misc      = Process: C:\Windows\system32\wuauclt.exe 2015-08-05  01:28:58:181    27280   6f84    Misc      = Module: C:\Windows\system32\wuaueng.dll 2015-08-05  01:28:58:181    27280   6f84    Handler ::::::::::::: 2015-08-05  01:28:58:181    27280   6f84    Handler :: START ::  Handler: Windows Setup Install 2015-08-05  01:28:58:181    27280   6f84    Handler ::::::::: 2015-08-05  01:28:58:181    27280   6f84    Handler   : Updates to install = 1 2015-08-05  01:28:58:181    1068    5ecc    AU  &gt;&gt;##  RESUMED  ## AU: Installing update [UpdateId = {27E79986-1150-4342-BDD2-76DF82C768D5}] 2015-08-05  01:28:58:181    1068    5ecc    AU    # WARNING: Install failed, error = 0x80240020 / 0x00000000 2015-08-05  01:28:58:181    27280   6f84    Handler   : WARNING: Exit code = 0x80240020 2015-08-05  01:28:58:181    1068    5ecc    AU  Write OSUpgradeState =14 with OSUpgradephase =2 2015-08-05  01:28:58:181    27280   6f84    Handler ::::::::: 2015-08-05  01:28:58:181    27280   6f84    Handler ::  END  ::  Handler: Windows Setup Install 2015-08-05  01:28:58:181    27280   6f84    Handler ::::::::::::: Where can I get more favourable exchange rate, in general?changing baht to Canadian dollars in Thailand or Canada or make a bank transfer to my Canadian account I got a paged loop that pulls in 4 posts per page from custom post type. It works great, with the only downside that the pagination wont go over the page/20 everything after that is 404, and the posts_nav_link won't show the next arrow at all. Like the pages just aren't there.  In total there are 119 published posts in the custom post type. If I change posts_per_page to, say 6, then I get access to more of the posts from the end, but it also stops at the page/20.  On the production site the pagination stops at 21, I guess because the live database has more entries.  I got the "Blog pages show at most" setting set to 6.  Here's the loop I'm using:  &lt;?php $paged = get_query_var('paged') ? get_query_var('paged') : 1; $args  = array(     'posts_per_page' =&gt; 4,     'orderby'        =&gt; 'modified',     'post_type'      =&gt; "projekte",     'paged'          =&gt; $paged ); $custom_query = new WP_Query($args); $c = 0; while($custom_query-&gt;have_posts()) :     $custom_query-&gt;the_post();     ?&gt;     &lt;article&gt;...&lt;/article&gt;     &lt;?php endwhile; wp_reset_postdata(); // reset the query ?&gt;   I've gone through the functions.php a million times looking for a some limiting get_pre_posts filter but there's nothing I can see.  I also got an error log setup and nothing is returned there, I've tested it that it works.  Any suggestions? I've been having an argument with a colleague about this sentence, could you please let me know which one of us is correct:     There are no shortage of applications for our product in this   space.   She is convinced that are should be replaced by is, and I think it should stand as it is. Thanks for your help! What are the functions that are their own inverse?  (thus functions where $ f(f(x)) = x $ for a large domain)  I always thought there were only 4:  $f(x) = x , f(x) = -x , f(x) = \frac {1}{x} $ and $ f(x) = \frac {-1}{x} $   Later I heard about a fifth one     $$f(x) = \ln\left(\frac {e^x+1}{e^x-1}\right) $$ (for $x &gt; 0$)  This made me wonder are there more? What are conditions that apply to all these functions to get more, etc. I made a simple FM transmitter following  and it worked! Now I need some help to understand how.  My coil is made of 1 mm copper wire has 6 turns and 8 mm wire diameter. According to this online calculator:  this means that: L = 3.9e-7 H  I did not have any 5 pF trim capacitor so I used a 3 pF capacitor instead.  Am I correct in assuming that the frequency this will transmit on can be found by looking at the L1 C2 as a LC oscillator and using the frequency formulae:  fR = 1/(2*pi*sqrt(LC))  ?  If so I should get fR = 147 MHz. Which is strange since I received the signal on 91.5 MHz on my radio.  In a LC circuit I understand that the signal decays exponentially over time. That is hopefully not happening here. Why? Because of C4 maybe?  Also what is the purpose of C1?  If I want to increase the range of this FM transmitter somewhat can I do this by simply replacing R2 with a 470 Ohm resistor?  Are there free simulator programs that let me see the resulting spectrum at the antenna? I am trying to solve the following question which is Ex3 from Arthur Engel, Problem Solving strategies. Here is the question: $\sum_{k=1}^n k^3 {n \choose k}$ and asks to find the sum. I am sincerely having a hard time trying to figure out how to solve it and get $n^2 (n+3)(2)^{n-3}$. I would really appreciate if someone could show the step-by-step process. Thank you! Gravitational slingshot of light using a black hole/massive object Wikipedia has this page on  using planets. In some cases this effect was used to accelerate the spacecraft to a higher velocity. This diagram shows this in a very oversimplified manner.   That got me thinking that if light is affected by gravity, and if it slingshots around the black hole/massive object, can't it gain a higher speed than $c$? What limitations are stopping it from doing this?  Forgive me if the answer to this question is pretty straight-forward or staring-you-in-the-face kind. I haven't fully understood the mechanics of the gravitational slingshot fully yet, but I couldn't wait to ask this. Note: If it is possible (I highly doubt that!), could you provide an explanation using Newtonian mechanics, I'm not very familiar with general relativity because I'm in high school. For a given class I would like to have tracing functionality i.e. I would like to log every method call (method signature and actual parameter values) and every method exit (just the method signature).      How do I accomplish this assuming that:     I don't want to use any 3rd party AOP libraries for C#, I don't want to add duplicate code to all the methods that I want to trace,   I don't want to change the public API of the class - users of the class should be able to call all the methods in exactly the same way.     To make the question more concrete let's assume there are 3 classes:     public class Caller   {      public static void Call()       {          Traced traced = new Traced();          traced.Method1();          traced.Method2();       }  }   public class Traced   {      public void Method1(String name, Int32 value) { }       public void Method2(Object object) { }  }   public class Logger  {      public static void LogStart(MethodInfo method, Object[] parameterValues);       public static void LogEnd(MethodInfo method);  }   How do I invoke Logger.LogStart and Logger.LogEnd for every call to Method1 and Method2 without modifying the Caller.Call method and without adding the calls explicitly to Traced.Method1 and Traced.Method2?  Edit:  What would be the solution if I'm allowed to slightly change the Call method? try+gerund/infinitive (Difference in meaning) I flagged a post and (choose one)   my flag was marked as helpful, yet nothing was done my flag was marked as declined, yet the post was deleted/edited/closed   Why? Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository ... doesn't support architecture 'i386' I installed Ubuntu 18.04 and then while installing Virtualbox i get the 'i386' error message after I did:  $ sudo apt-get update Get:1 http://nl.archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                 Hit:3 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease                                          Hit:4 http://nl.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:5 http://nl.archive.ubuntu.com/ubuntu bionic-backports InRelease Get:6 http://download.virtualbox.org/virtualbox/debian bionic InRelease [4429 B] Get:7 http://download.virtualbox.org/virtualbox/debian bionic/contrib amd64 Packages [1426 B] Fetched 248 kB in 1s (209 kB/s)      Reading package lists... Done N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://download.virtualbox.org/virtualbox/debian bionic InRelease' doesn't support architecture 'i386'   I found several answers on Askubuntu for the 'i386' message but I don't know how to apply this to my situation How can you detect if users have created sock puppet accounts? How many users have created more than one profile on SO to vote themselves on their other original profile? There are some benefits when you have more reputation and sometimes you don't want a single -1 vote on your question or answer. In this case you may have an extra account to convert that -1 vote into 0 vote and  upvote for each of your questions and answers to gain reputation. I think it is not a good thing to do as a good developer.  Is there any way to recognize this situation? I think there should be some stats in each user's profile about how many votes are posted by each user on him/her or something like that.  So how many users have more than one profile? How to handle this situation? I have not created one yet but............ I don't think so :) Setting up LVM Snapshot as a backup/restore point in ubuntu. Why? Well, as I see it, with all the great usefulness of Linux, its biggest drawback is with its mixed up way of installing apps. All the dlls go to one directory. All the configuration files to another. And the binaries are also put in a bunch. Yes, Windows works the same way more or less, but with the nature of system/server software installed on Linux, being that most of the software installed is only about 95% mature at any given time, messing up your system twice a month is very probable.. Of course, we can backup the system before and after each installation, but that takes a million years. System backups (as oppose to just data/files backup) requires you to turn off you computer and use some form of bootable live CD and a backup media. And, if the drive is more than 15% full, it might take a long time to do the backup, even with modern hardware. So, how can this be done?