My computer is loud: How do I tell which fan is the issue?

On my new computer, my fan(s) is/are plain LOUD! Using SpeedFan, I find that my temps are all under 32 degrees C under my normal use (IDK how accurate that is but the CPU itself says 27 C).  The fan doesn't sound unbalanced and it isn't making sounds in rhythm (Not the usual rrrrrrrRRRRRR... rrrrrrrRRRRRR... rrrrrrrRRRRRR... rrrrrrrRRRRRR), just a constant fan. I am thinking about oiling the fans, but I can't decide if it is the PSU fan or a case fan or the CPU fan. If it's the CPU fan I will most likely just replace that with a quiet fan. How can I tell which fan is making the noise (if not multiple)?  One thing that I am thinking may be the problem is my CPU fan isn't PWM so would swapping that out help? There is no "linear voltage" or etc thing in BIOS so I think it may be running at full speed. Also, I could have too much airflow because it is also making a whistling noise that you can hear close to it that sounds like when I accedentially put part of the side cover over my floor vent to get it out of the way.


How do I restore important data for image.dd? Photorec will lose file names and will scatter the information

A few days ago I was in a middle of copying or cutting folders and data to my external hard drive and it was corrupted.  I have tried to locate the lost information on Test Disk but I have now lost it because it has already been over written. The file is 0. 0. copy and completed.  I have now only have the image.dd file. How can I restore this to it's normal folders and files without losing the names? Many thanks.


How to import ERDAS ECW in QGIS 2.6 using GDAL 1.11?

I am using Lubuntu 14.10, QGIS 2.6, and Ubuntu GIS(unstable). QGIS was used to use GDAL 1.10, and can import ERDAS ecw format. But after GDAL upgraded to 1.11, QGIS couldn't import ecw images. How to solve this problem?


When white light falls on an object the body absorbs all colors of light and reflects some colors of light which we see the object to be.For eg.A red ball reflects red color and absorbs the rest colors.So,if I throw green light on a red ball the ball will absorb that green light.Now,will the part on which the light falls must appear black as it absorbs all the light and reflects no light.But this does not happen in reality(I have experimented using laser light).Why?


I am new to Web development and trying to create a simple project. I have the following HTML code:

   I am trying to compare the value in the paragraph to the answer set and display a message.  var ansBoxP = document.querySelectorAll(".ansBoxP"); var ansBox = document.querySelectorAll(".ansBox");  function setSquares() {  for(var i=0; i<numSquares; i++) {     ansBox[i].addEventListener("click", function(){         // Get value of square picked         var clickVal = ansBoxP[i].textContent;         console.log("click is " + clickVal);          if(clickVal == answers[i]) {             alert("corrent");         }         else {             alert("incorrect");          }     });   } }   However i get the following error:  Uncaught TypeError: Cannot read property 'textContent' of undefined at HTMLDivElement.<anonymous>   I believe the issue is with how I am setting the clickVal variable. Am I correct in saying this is a scoping issue?


I updated to Ubuntu 20.04.1. Now nothing opens. When I try to get to BIOS, nothing. This is what it goes to and stops at: /dev/sda2 : clean, 214252/60497920 files 5981192/241989376 blocks.  That’s what it says on the screen it goes to. Left it there for a day to see if it would move. But nothing. Can’t get to any screen other than that. I’m on a Visio all in one. Is my machine history now?


In my book the following statement was written and I didn't understand it well. Can anyone explain it in a more simple way?      Figure 11-6 suggests another way to look at the rolling motion of a wheel - namely as pure rotation about an axis that always extends through the point,P where the wheel contacts the street as the wheel moves. We consider the rolling motion to be pure rotation about an axis passing through point P and perpendicular to the plane of the figure.   I don't understand how the rolling motion of wheel which is the combination of translational and rotational motion of wheel can be expressed as pure rotation about an axis that always extends through the point,P where the wheel contacts the street as the wheel moves?


Will Ubuntu 14.04 Trusty Tahr request me to update when the actual LST gets released or will I have to manually download another image file and install on virtualbox?


Alpha Transparency Remove Background Photoshop

Is there any way in Photoshop to remove a background color from an image, when some of the background is behind a transparent object.   So far, I've tried using masks and channels but have not made any progress. I want to make the background transparent, so that the bottle and 'ink' can be put onto a white background colour.  Many thanks in advance, any help would be much appreciated.


Should own solution be included within the question?

I think its still in debate    Normally when I have a question and a answer, but have doubt with my own attempt, I tend to put the solution within my question. And I'll only post the question (if without a solution in my mind), and could post my solution afterwards separately as a answer to my own question (if I can found out one).  But today I met  and been enlightened to always post them separately, is this the case? Maybe its there but I really can't find it in FAQ, and even it is, I still feel a question for suggestions of your own answer should include the solution in the question.


Thailand visa exemption: any rule limiting number of entries per year?

On arrival in Bangkok airport, a Thai immigration officer instructed me that I have many previous visa exempt entries in Thailand, and will need a visa for the next time. However, I could not find any official information.  Is there any regulation limiting the number of visa exempt entries, their total duration, or anything of that kind? (I am a German citizen if that is of any importance.)


What is the "with" modifying in this sentence "He was watching the monster with a smile."

I'm reading such a sentence and confused by the "with":  He was watching the monster with a smile.   (Let's say there is a kind of monster can smile.)  Who is smiling? He or the monster?   Is there an ambiguity here? If there is how can I correctly express the meaning?


I would like to clean up some folders. So I want to delete all folders which are empty or only contain other folders...  First I tried   find . -type d -delete   but this lists the subfolders after the parents, so I would have to execute it multiple times.  So I tried using tac and pipes  find . -type d | tac | xargs rmdir   This one fails on whitespaces, etc, so I need a masking - now I am stuck...


How do you post to a Google+ Page as that page?

You used to be able to click "manage this page", but Google has removed that. Then you had to go to "Google My Business" and you could edit your pages from there, but now Google has removed that as well. How do we edit our Google+ Pages now?


I have a table that is created as below.  CREATE TABLE [dbo].[Table1](     [ID] [INT] IDENTITY(1,1) NOT NULL,     [Title] [VARCHAR](255) NULL,     ...   Lets say that the latest ID is 100 ( I have 100 records)  Is there a way to ALTER this table's IDENTITY column and change the auto increment value to now be 500?  So at the end i would have something like this  ID 98, 99, 100, 500, 501, ....  I can not seem to find a solution for this in T-SQL


Why in C does the function sizeof() output the size of right most operand when more than one operands are passed separated by comma?

I have the following code in C:  #include <stdio.h>   void main() {     printf("%d %d\n",sizeof(5),sizeof(5,5));        printf("%d %d\n",sizeof(5),sizeof(5.0,5));      printf("%d %d\n",sizeof(5),sizeof(5,5.0));  }   And I get the output:     4 4       4 4      4 8   I understand that sizeof(5) would return me the size of integer and sizeof(5.0) would return the size of a double, but why does it give the size of the rightmost operand in case more than one arguments are passed separated by comma? Why not the first argument or the collective size of all the arguments?  I am compiling online using OnlineGDB.com compiler for C.  Thanks for your help.


Is Highschool of the Dead on hiatus again?

I was really happy when I heard that HoTD would be continued. And even happier when the first new chapter actually came. but now after several months of waiting there still has been no other chapter. So my question is, has HoTD gone on hiatus again ?


I've inherited a site where I noticed that    there is an excessive use of Schema.org in all navigation elements pages describing products are marked as itemtype="http://schema.org/CreativeWork"   So I'm wondering if these tags are sending the wrong message and not truly optimized. I realize that the nav (1) is done in some themes, but I'm more worried about (2). Can it be a hit SEO-wise to mislabel pages instead of products?


Unable to remove virtualbox using 'sudo apt-get remove virtualbox-6.0;'

Since today morning, I am trying to remove VirtualBox from my machine but I am getting following errors. I tried disabling virtualization as well but still getting the same error.     Kindly help me remove this.


How do electrons actually move in a wire?

Do they jump from atom to atom or are they free-flowing? Where does resistance fit in? Do electrons physically HIT the atoms? If so, how do they hit atoms if the nucleus is small and far away from the electron cloud? What makes something more resistive than something else? Is it simply a greater density of atoms, so more obstacles in the way of the electrons? I am trying to fully understand exactly what is going on.


Proof that a finite abelian group has a subgroup of order $n$ for every $n$ which divides $|G|$

As per the title, I'm trying to prove that a finite abelian group has a subgroup of order $n$ for every $n$ which divides $|G|$, and I think I have a solution, but I would like someone to verify this that it is correct.   Proof: Take a group $G$ that is finite and abelian. Suppose that for our desired result holds for all abelian groups with order less than $|G|$. Take any prime $p$ such that $|G| = p^{\alpha}m$ where $p$ does not divide $m$, so that by Theorem 12, $G$ has a subgroup of order $p^{\alpha}$, which we denote $H$. By our inductive hypothesis, $H$ has subgroups of order $p^{\alpha - 1}, p^{\alpha - 2}, \ldots, p^2, p$. Then, take the prime factorization of any integer $n$ for which $|G|$ divides $n$, say $n = x_1^{y_1}x_2^{y_2}\ldots x_z^{y_z}$ where $y_1,\ldots,y_z$ are primes which divide $|G|$.    For any of these factors, say $x_a^{y_a}$ and $x_b^{y_b}$, we recall that there are subgroups in $G$ with order equal to each of these terms, say $A$ and $B$. By Lagrange's Theorem, all non-identity elements in $A$ have order divisible by $x_a$, and the same may be said for elements in $B$. Since $x_a \neq x_b$ and both are prime, we see that $A \cap B = \{1\}$. By Proposition 13, we have $|AB| = \frac{|A||B|}{|A \cap B|} = \frac{x_a^{y_a}x_b^{y_b}}{1} = x_a^{y_a}x_b^{y_b}$, and since $G$ is an abelian group, Proposition 14 states that $AB$ is a subgroup.   Applying the previous result to the entire prime factorization of $n$, we therefore construct a subgroup of $G$ that has order $n$, and we are done. We never did use Cauchy's Theorem either, did we?  Theorem 12 is by Sylow and says that if $G$ is a finite group of order $p^{\alpha}m$ where $p$ is a prime and $p$ does not divide $m$, then $G$ has a subgroup of order $p^{\alpha}$.  Proposition 13 says that if $H$ and $K$ are finite subgroups of a group then $|HK| = \frac{|H||K|}{|H \cap K|}$.  Proposition 14 says that if $H$ and $K$ are subgroups of a group, $HK$ is a subgroup if and only if $HK = KH$.  My reasons for posting this are twofold; firstly, I haven't found a proof of this sort on the internet, so I am afraid that I made a mistake somewhere. The second reason is that Dummit and Foote request that Cauchy's Theorem be used in the proof, which I have not, and I would greatly appreciate it if you could point me to a proof that does use Cauchy's Theorem. Thanks so much!


macOS Sierra Public Beta 2 stuck at downloading

I have installed first public beta yesterday. Now App Store says there is a second update to public beta. There is no problem with network or internet at all but somehow update stucks at 0 bytes and no progress. Any suggestions to fix this problem?


Was Voldemort acting illogically considering the "inhertance" of the Elder Wand?

This always struck me as odd in the Deathly Hallows. Yes, Voldemort was wrong in the end thinking that one becomes the master by killing the previous owner. But even acting according to his own theory, he seems to be rather illogical and inconsistent.   This all boils down to his decision to kill Severus Snape (spoilers) in order to, in his mind, become the master of the Elder Wand. So he basically thought Snape was the master because he killed Dumbledore, and by killing Snape he himself would become the new master. But according to his logic, wouldn't every single previous master had to been killed by the next one?   So in order for Dumbledore to become the master, he should have had killed Grindelwald. But Voldemort was perfectly aware that he didn't, Grindelwald was still alive when Dumbledore died. Wouldn't this raise a question in Voldemort's head, that if Dumbledore really were a master of the Elder Wand, shouldn't there be another way to become one? And even more so, even Girndelwald didn't kill the previous master, Gregorovitch.   Then what he thought he was going to benefit from killing Snape? Because, according to his own logic, that one becomes the master of the Elder Wand by killing the previous master, neither Snape, Dumbledore, nor Grindelwald were ever its masters. According to his own logic, Voldemort should have been the master at the moment he killed Gregorovitch himself, yes?  Voldemort doesn't seem to be that stupid to make this kind of logical mistake but this all makes me think that he would have needed a bit of help from Professor Quirrell to get them past the potion riddle during their pursuit of the Philosopher's Stone.


Adding feature class to TOC using ArcPy?

This question has been asked multiple times with proper answers:        but I still cannot get it right.  I am using ArcGIS 10.2.2.  I want to add via a Python standalone script a Featureclass from a file-gdb to the TOC.  If I try it in the ArcGIS Python window it works fine. However in a standalone script nothing happens. There is no error message or anything. I already thought it might be a bug, but it seems to work for everyone else. I also tried it with a .lyr and it didn´t work either. Someone got a hint for me?  Here is the code (I also tried the one from the ArcGIS help site, and from all the links above).  import arcpy mxd = arcpy.mapping.MapDocument(r"C:\GIS\KUP\Check.mxd") df = arcpy.mapping.ListDataFrames(mxd, "*")[0] addLayer = arcpy.mapping.Layer(r"C:\GIS\KUP\Ergebnisse.gdb\Potenziale_singlepart_final") arcpy.mapping.AddLayer(df, addLayer, "BOTTOM")   I also tried :   addLayer = arcpy.mapping.Layer(r"C:\GIS\KUP\Potenziale_singlepart_final.lyr")   What am I doing wrong? I am trying for a week now. I`m getting crazy with this one. Seems so easy.


Attention Americans: Do you use the SILENT H in the beginning?

English is my mother tongue and we often follow the British pronunciations.  However, something caught my attention recently. In my Oxford dictionary, I noticed that so many words that begin with 'wh' have a leading 'h' as part of the phonetics. Here are some of them:     what      when      wheeze      wheel      wheat      whatever      whip   and the list goes on...  I have heard many US accents but never encountered this. Perhaps I never noticed it.  Thus my question: Do Americans really use these words with a leading h or at least are they supposed to?  Thanks!  EDIT: I am not using the net as my source here. It's a printed book. So for those who are unsure, here it is:    BTW, the exact title of the dictionary is:  Oxford WordPower  English-Arabic dictionary  ISBN: 0-19-431485-5  NEWEST EDIT: Please do not consider this a duplicate of   That discusses the origins of words and various 'accents'. Yes, the examples are related, but my question is different and simple. I'm more keen on knowing if Americans (today) use the leading h pronunciation (at large)?  Ever since I started my study of languages (my mother tongue included), I've tried to stick to a standard pronunciation from the dictionary. Thus in a way I look at the dictionary's pronunciation as the right way to pronounce words, regardless of what people really do. So now after seeing the leading h pronunciation related to Americans, I'm curious to know if they really do so.  And after the kind of responses and links I've seen on this subject today, I don't even think that an average non-academic American really knows this exists. Perhaps I'm wrong.


What does it mean to say exchange "force" is not really a force?

If I understand it a bit the standard answer for this is: the pushing/holding apart of fermions and the pulling/holding together of bosons is just a result of symmetrization requirement (Griffths' term). But if it does force particles to move or be in a certain place, how come it is not a force? Is this just a way to say it is not the result of any of the four fundamental interactions?


I need a source for exercises on classical Galois Theory, or to be more specific, Galois extensions of finite fields and the rationals as well as applications (solvability by radicals, for example). So far, I have worked with Tignol's "Galois Theory of Algebraic Equations". Any additional suggestions would be appreciated, whether it is a textbook or a website, but the language should be English. Solutions are welcome, but no necessity.  Thanks in advance!


Number of soulutions for $\bar x^m = \bar a$ in $\mathbb{Z}_p$.

Faced the following problem:  Let $p$ be prime, and $\bar a$ be a reduced residue in $\mathbb{Z}_p$. Let $b \in \mathbb{N}$ and consider equation $\bar x^m = \bar a$ in $\mathbb{Z}_p$. Show that the number of solutions to this equation is either $0$ or $gcd(m, p -1)$.  While I can show the similar result for equation $\bar x^m = \bar{-1}$ in $\mathbb{Z}_p$, the above one is a trouble for me. I can see some cases when there are no solutions for $\bar x^m = \bar a$, like if $m$ is even and $\bar a$ is not a quadratic residue modulo $p$. I can also show that if $gcd(m, p -1) = 1$ then $\bar x^m = \bar a$ has exactly $1$ solution in $\mathbb{Z}_p$. But if I assume $gcd(m, p - 1) = d > 1$, then I can olny show that $\bar x^m = \bar 1$ has $d$ solutions and don't have an idea how to prove it for $\bar a$. Please give me a hint, if any.


I've signed up for adsense, and I got approved. Google is serving ads on my website, so far I only have a few page visits, I don't think anyone clicked on my ads. Why is the RPM still zero? When will it change? Could someone point out some documentation to completely describe how and when google will pay us, and when updates will take place on the homepage of my google adsense account? Also the performance reports say "no data"


Specifying generic collection type param at runtime

I have:  class Car {..} class Other{   List<T> GetAll(){..} }   I want to do:  Type t = typeof(Car); List<t> Cars = GetAll<t>();   How can I do this?  I want to return a generic collection from the database of a type that I discover at runtime using reflection.


I recently migrated an old server running MySQL to a new VPS running MariaDB 5.5. I don't have too much running on the server (just a few PHP sites) and free memory seems to be OK, but the DB keeps crashing--sometimes every few days, other times within a few hours.  I receive the following errors in the logs:  131231  1:43:04 [ERROR] mysqld: Out of memory (Needed 128917504 bytes) 131231  1:43:04 [ERROR] mysqld: Out of memory (Needed 96681984 bytes) 131231  1:43:04 [ERROR] mysqld: Out of memory (Needed 72499200 bytes) 131231  1:43:04 [ERROR] mysqld: Out of memory (Needed 54362112 bytes) 131231  1:43:04 InnoDB: The InnoDB memory heap is disabled 131231  1:43:04 InnoDB: Mutexes and rw_locks use GCC atomic builtins 131231  1:43:04 InnoDB: Compressed tables use zlib 1.2.3.4 131231  1:43:04 InnoDB: Using Linux native AIO 131231  1:43:04 InnoDB: Initializing buffer pool, size = 128.0M InnoDB: mmap(137756672 bytes) failed; errno 12 131231  1:43:04 InnoDB: Completed initialization of buffer pool 131231  1:43:04 InnoDB: Fatal error: cannot allocate memory for the buffer pool 131231  1:43:04 [ERROR] Plugin 'InnoDB' init function returned error. 131231  1:43:04 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 131231  1:43:04 [Note] Plugin 'FEEDBACK' is disabled. 131231  1:43:04 [ERROR] Unknown/unsupported storage engine: InnoDB 131231  1:43:04 [ERROR] Aborting  131231  1:43:04 [Note] /usr/sbin/mysqld: Shutdown complete   I've played with the my.cnf settings for InnoDB Heap, which does not seem to help. Here's the relevant portion:  innodb_buffer_pool_size = 128M innodb_log_buffer_size  = 8M innodb_file_per_table   = 1 innodb_open_files       = 400 innodb_io_capacity      = 400 innodb_flush_method     = O_DIRECT   I seem to have "plenty" of free RAM, and I have some swap available as well:  root@phoenix:~# free -m              total       used       free     shared    buffers     cached Mem:           994        923         71          0         19        417 -/+ buffers/cache:        486        508 Swap:         1023        131        892   How can I solve / troubleshoot this issue? I've scoured the interwebz for clues, but nothing has helped.


Virus Infection; Now I'm trying to delete folders from Program Files

AVG seems to have quarantined the two Trojan malware but I can't delete the folders:  Program Files > Google > Desktop > Install > {string of numbers}  Changing Ownership and Permissions doesn't do anything except get Windows Explorer rebooting.  Or, there's a pop-up message saying access is denied.  There's a Lock icon on the top, Google, folder.  Has anyone found a way to delete a rooted-in folder in Program Files?  Thanks  Update: The advice was overwhelming to reinstall the OS, so I did that.  I backed-up only file formats that were safe, like .odt, .jpg, .avi or .mpg.  Those went to a different hard drive and I ran two checks of those files with AVG. Then I performed a clean install which first formatted the infected drive. So far so good, and thanks, everyone, for taking the time to lend advice.  P.S. I was certain this wasn't a duplicate question because I searched for other references to that string of folders: Google > Desktop > Install...   Search didn't reveal any references to it.  So I asked how to remove that Folder and its contents. I may have received a duplicate solution to the problem -- format and start over -- but I didn't see a duplicate of my question.


Finding bump function on a smooth manifold using partitions of unity.

Let $M$ be a smooth manifold. Let $A$ and $B$ be disjoint closed sets of $M$. Show there exists a smooth function $f$ such that $f^{-1}(0)=A$ and $f^{-1}(1)=B$.   This is my idea so far,   Since $A$ and $B$ are disjoint closed subsets $\{M-A,M-B\}$ is an open cover for $M$. Therefore there exists a partition of unity $\{\psi_{1},\psi_{2}\}$ with $\psi_{1}$ supported in $M-A$ and $\psi_{2}$ supported in $M-B$. Furthermore $\psi_{1}+\psi_{2}=1$. Then $\psi_{1}(1-\psi_{2})$ is zero on $A$ and $1$ on $B$. I get the inclusions $A\subset f^{-1}(0)$ and $B\subset f^{-1}(1)$. I've tried adding a few more open sets to the cover like $M-(A\cup B)$ and $(M-A)-B$ and $(M-B)-A$ but I still can't ensure that the function only vanishes at $A$.   Then I moved on to attempt to find any bump function that is 1 only on $A$ and ran into the same problem.   Am I missing something here or do I just need to be clever with how I define a function. Any hints would be much appreciated. Thanks.


Fighter War Magic, Using Booming Blade / GFB

If my Fighter (Eldritch Knight) use War Magic (PHB p. 75) to use the cantrip Booming Blade, will I be able to use my Extra Attack, and bonus action attack, to make 3 attacks at level 7?


Why does button id not show for content added to a div with JQuery?

I want to be able to show the id of a button that is clicked.  In the following I have 2 buttons.  The first is my original html and the 2nd is added using JQuery.  The first button shows its id when clicked but the 2nd does not.  What is wrong here?  HTML  <div id="box1">   <button id="So">Yo</button>   </div>   JS  var anotherButton='<button id="Fat">Mamma</button>';          ("button").click(function() {   alert($(this).attr('id')); });  $("#box1").append(anotherButton);


Let $K \subset L$ be a field extension, $K[X]$ and $L[X]$ the corresponding polynomial rings (in one variable) and $I \subset K[X]$ an ideal. I want to show that $I=K[X] \cap IL[X]$, where $IL[X]$ denotes the ideal generated by $I$ in $L[X]$.     I was told that while there are many ways to show this abstractly, there is supposed to be a very simple proof only  involving Linear Algebra. I don't really know where to start here. The inclusion from left to right is trivial, but I haven't got much more. Any help - even just a hint - would be appreciated.


Don't let questions stick to the top of the hot questions list forever

I've noticed that some very highly upvoted questions stay in the list of hot questions (also displayed in the Stack Exchange menu on the top left) for a very long time, often for several days. One example would be  which is still in the hot questions list (though pretty much at the bottom) and was posted around 6 days ago.   Sometimes those are interesting questions, but often they are popular mostly because they appear in the hot questions list gaining views and are about a topic where everyone has an opinion (and a vote) to give. I'm fine with promoting the questions via the MultiCollider, but I don't think those highly-voted questions are that good, they don't need to be in the hot questions list for several days.  I think those questions should be thrown out earlier and should not stay in the hot questions list for several days. It makes the hot questions list less useful as you very often encounter the same questions again, even if you check back a day later. I thought the idea was to show a broad mixture of possibly interesting questions from all around the SE network, not to semi-permanently highlight questions that are already popular.   One extreme case is the question , which is now in the hot questions list for about 16 days. I see no reason for any question, no matter how interesting to stay there for more than two weeks.  from Programmers is now in the hot questions list for nearly 4 days.  is now in the list for about 6 days.  is now in the hot questions list for 10 days. This is also a question type that is discouraged on most sites, but which leads to a lot of answers and a lot of voting, and thereby often a high hotness score. , for 12 days now.  for 10 days now.  for 9 days.  for 10 days now.  for 10 days now.  for 8 days now  for 8 days now.  for 10 days now (and this one was closed two times in the meantime)  for 11 days now  for 7 days now  for 11 days  for 9 days  for 7 days   I propose to either throw out questions from the hot questions list once they are around 36-48 hours old, or at least significantly increase the time-dependence of the hotness from that point on.


Auto mount a disk drive in ubuntu 14.04 LTS (Bookmark directory not found)

I'm using ubuntu 14.04 LTS. When I start my pc and click on any bookmark from the file manager it shows this error:   Unable to find the requested file. Please check the spelling and try again. Unhandled error message: Error when getting information for file '/media/angel/DOC/edu': No such file or directory   But when I open DOC drive and again clink on the same bookmark it works properly. Can anybody tell me why is this happening and how to solve this issue?   Edit: Output of lsblk is following: (ubuntu is installed in sda5)  NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda      8:0    0 119.2G  0 disk  ├─sda1   8:1    0  91.3G  0 part  ├─sda2   8:2    0     1K  0 part  ├─sda5   8:5    0  24.1G  0 part / └─sda6   8:6    0   3.8G  0 part [SWAP] sdb      8:16   0 465.8G  0 disk  ├─sdb1   8:17   0  93.2G  0 part  ├─sdb2   8:18   0     1K  0 part  ├─sdb5   8:21   0  93.2G  0 part  ├─sdb6   8:22   0  89.3G  0 part  ├─sdb7   8:23   0  93.2G  0 part  ├─sdb8   8:24   0  93.2G  0 part  └─sdb9   8:25   0   3.8G  0 part  sr0     11:0    1  1024M  0 rom     After opening the disk drive the output of lsblk is bellow:   NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda      8:0    0 119.2G  0 disk  ├─sda1   8:1    0  91.3G  0 part  ├─sda2   8:2    0     1K  0 part  ├─sda5   8:5    0  24.1G  0 part / └─sda6   8:6    0   3.8G  0 part [SWAP] sdb      8:16   0 465.8G  0 disk  ├─sdb1   8:17   0  93.2G  0 part  ├─sdb2   8:18   0     1K  0 part  ├─sdb5   8:21   0  93.2G  0 part  ├─sdb6   8:22   0  89.3G  0 part /media/angel/DOC ├─sdb7   8:23   0  93.2G  0 part  ├─sdb8   8:24   0  93.2G  0 part  └─sdb9   8:25   0   3.8G  0 part  sr0     11:0    1  1024M  0 rom   The output of sudo blkid gives the following information about sdb6:  /dev/sdb6: LABEL="DOC" UUID="04280A22280A12FA" TYPE="ntfs"


What are the differences between snaps, appimage, flatpak and others?

I have been getting this question lately from students and although I have a lot of information to offer, I have not found a source that I can point people to where they can read an update answer (I have found a lot of misinformation and obsolete information). So, some of the questions I have for package formats like snap, appimage, flatpak and others in this evolution of universal packaging systems are:   Who created the package format? What features does it offer? What features are unique to it? (That the others do not yet have) Who supports it? What Distributions use it? What focus does the package have? (For Desktop, Clouds, Mobile, etc..) Which are more actively developed?


What will happen if we set the same weights to two neurons in the same layer?   What will happen if weights are 0 (zero)?  Explain why.   Please, also give some references for further study.  For instance,   the following picture is with random weights,    The following with all 1s,    The following with all zeros,


Armor hit points reduce incoming damage, and shield regenerates. According to , shield depletes before armor, and one reddit commentor describes this effect to be extremely useful:     Torbjorn armor put on Zarya effectively turns her large shield pool into an armor pool, because shields deplete before armor, but armor provides the reduction as long as it's in your health pool.   But is this actually the case? It doesn't make much sense for armor to cause damage reduction to shields, however, if it does, that's definitely an interesting synergy.


Proble with not recognizing the wifi connection

I have changed my macbook pro operating system to Ubuntu Linux last night. That night the wifi network was recognized but this morning it does not recognizing wifi network at all . Please help. here is what I got running Terminal:  ebmo@ebmo-MacBookPro:~$ nmcli enp1s0f0: unavailable         "Broadcom Limited NetXtreme BCM57765 Gigabit Ethernet PCIe"         ethernet (tg3), 40:6C:8F:52:D5:50, hw, mtu 1500  lo: unmanaged         "lo"         loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536  Use "nmcli device show" to get complete information about known devices and "nmcli connection show" to get an overview on active connection profiles.  Consult nmcli(1) and nmcli-examples(5) manual pages for complete usage details. ebmo@ebmo-MacBookPro:~$ nmcli connection show NAME                UUID                                  TYPE      DEVICE  ENNN                2ee7e18c-80cf-4ea5-8eff-df6343119437  wifi      --      HUAWEI P20 Pro      d39ea4a1-6a84-4bc2-9693-17b4eed1dc5d  wifi      --      Wired connection 1  f61c19a7-d0f2-3270-886b-7673319531df  ethernet  --      ebmo@ebmo-MacBookPro:~$ lshw-c network lshw-c: command not found ebmo@ebmo-MacBookPro:~$ lshw -c Hardware Lister (lshw) - B.02.18 usage: lshw [-format] [-options ...]        lshw -version      -version        print program version (B.02.18)  format can be     -html           output hardware tree as HTML     -xml            output hardware tree as XML     -json           output hardware tree as a JSON object     -short          output hardware paths     -businfo        output bus information  options can be     -class CLASS    only show a certain class of hardware     -C CLASS        same as '-class CLASS'     -c CLASS        same as '-class CLASS'     -disable TEST   disable a test (like pci, isapnp, cpuid, etc. )     -enable TEST    enable a test (like pci, isapnp, cpuid, etc. )     -quiet          don't display status     -sanitize       sanitize output (remove sensitive information like serial numbers, etc.)     -numeric        output numeric IDs (for PCI, USB, etc.)     -notime         exclude volatile attributes (timestamps) from output  ebmo@ebmo-MacBookPro:~$ lshw -c network WARNING: you should run this program as super-user.   *-network                         description: Ethernet interface        product: NetXtreme BCM57765 Gigabit Ethernet PCIe        vendor: Broadcom Inc. and subsidiaries        physical id: 0        bus info: pci@0000:01:00.0        logical name: enp1s0f0        version: 10        serial: 40:6c:8f:52:d5:50        capacity: 1Gbit/s        width: 64 bits        clock: 33MHz        capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 firmware=57765-v1.37 latency=0 link=no multicast=yes port=twisted pair        resources: irq:16 memory:a0400000-a040ffff memory:a0410000-a041ffff   *-network UNCLAIMED        description: Network controller        product: BCM4331 802.11a/b/g/n        vendor: Broadcom Inc. and subsidiaries        physical id: 0        bus info: pci@0000:02:00.0        version: 02        width: 64 bits        clock: 33MHz        capabilities: bus_master cap_list        configuration: latency=0        resources: memory:a0600000-a0603fff WARNING: output may be incomplete or inaccurate, you should run this program as super-user. ebmo@ebmo-MacBookPro:~$ rfkill list 0: hci0: Bluetooth     Soft blocked: no     Hard blocked: no ebmo@ebmo-MacBookPro:~$


Constant spinning circle right hand side on iPhone 4

I have an iPhone 4 and for the last few days there has been a spinning circle in the right hand side of the status bar. I am wondering why this is.  I've tried turning off the Wi-Fi and restricting cellular data of all apps and nothing has worked. I am worried that there is something wrong with my phone. It seems to be draining my battery also.


Error modify bools from script1 iin script2 then get bools value frrom script2!

I have a GameObject called "emptyobject" with a FullOrFree component attached, containing several public boolean variables:  using UnityEngine;  public class FullOrFree : MonoBehaviour {      public bool a1, a2, a3, a4, a5, b1, b2, b3, b4, b5;      void Start()     {          a1 = false;         a2 = false;         a3 = false;         a4 = false;         a5 = false;         b1 = false;         b2 = false;         b3 = false;         b4 = false;         b5 = false;     } }   Next I have a script on a car prefab, that tries to modify these bools:  script1 script1;  void Start() {     GameObject.Find("emptyobject").GetComponent<script1>().Bools(); }   //... later, in some method?      if (!b1)     {         print("---R1--Ok-03");         go = "B1";         can = true;         script1.b1 = true; //like that     }   But I always get this error:     NullReferenceException: Object reference not set to an instance of an object   The game is about parking. The game will Instantiate this prefab car, and it needs to park in one of six lines. Each line has 2 spots (a1,b1), and this code tries to select the spot to park in.


What does capital letter I mean in this formulas?

Hello I don't understand meaning of the symbol represented by a capital letter "I" in the formulas below. There is  to the paper with the formulas.    At the beginning I thought it mean "where c is not equal to the result of classifier T(m)", however in step (d) there is a multiplication symbol before it, so it probably mean that "I" should "return" a value.


I am on blender, and I have imported an object. I believe that the object is so large that it doesn't fit the environment when zoomed out for a view of its entirity. It would be nice if you could include a python cript to your solution.  Here is how it looks:


How can I get line numbers to appear automatically each time I call vim? I know ":set number" works interactively and I tried to put it in .bashrc, but it didn't work.


Early 80s anthology book about human kind being feared by other races in space

I always thought the book was Manifest Destiny but its not. The story that sticks in my head was a human in a cage over a pit? Aliens walk in and discuss how dangerous humans were. He eventually escapes. Man I miss this book. wish I wouldve written down every book I ever read. Ugh


I'm getting more and more interested in the D&D retro-clones. I keep seeing various names thrown around, like Labyrinth Lords, Swords and Wizardry, Lycanthropes &… something else starting with an L. There must be dozens of these floating around the internet.  What I would like is a list of what games exist, along with a few lines explaining what each of them specializes in or sets them apart from the others.  I'm specifically not asking which is "the best one".  Bonus points for providing links to the games.


Input 0  echo foo | xargs -L 1 -I '{}' echo '{}'   Output 0  foo   Input 1  echo foo | xargs -I '{}' -L 1 echo '{}'   Output 1  {} foo   Why changing the order of options of xargs changes the output?  Version: xargs (GNU findutils) 4.6.0


What are the odd of a single coin toss after many consecutive ones?

I have little knowledge of probability and have recently been thinking of a math problem I am sure you guys could answer  If for example I tossed a coin ten times and got all heads, would the odds of the next coin toss beeing heads be 50 50 or s very low as the odds of getting 11 in a row is tiny?   Thanks


Yesterday my CentOS Linux 7 (Core) server experienced a hard disk problem. The HDD has since been replaced but the main partition is in read-only mode.  I'm trying to get the main partition usable again (making it read and write) but am having  many issues.  mount as rw  I tried mount -n -o remount,rw / but this resulted in:  mount: / not mounted or bad option         In some cases useful info is found in syslog - try        dmesg | tail or so   dmesg | tail resulted in:  [  177.305240] Loading iSCSI transport class v2.0-870. [  177.419722] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory [  177.446940] NFSD: starting 90-second grace period (net ffffffffa32fca00) [  233.475427] systemd-readahead[2002]: Failed to open pack file: Read-only file system [  267.629924] nfsd4: failed to purge old clients from recovery directory v4recovery [  428.141830] EXT4-fs (md2): error count since last fsck: 1 [  428.141889] EXT4-fs (md2): initial error at time 1542775899: ext4_xattr_block_get:298: inode 6947097 [  428.142014] EXT4-fs (md2): last error at time 1542775899: ext4_xattr_block_get:298: inode 6947097 [  748.786866] EXT4-fs (md2): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead [  770.787648] EXT4-fs (md2): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead   e2fsck  I tried repairing the orphaned inode list using:  e2fsck -f /dev/md2 e2fsck 1.42.9 (28-Dec-2013) /dev/md2 has unsupported feature(s): metadata_csum e2fsck: Get a newer version of e2fsck!   As the filesystem is in read-only mode I'm unable to download a newer version of e2fsck.  tune2fs  I tried tune2fs -O ^metadata_csum /dev/md2 and got:  tune2fs 1.42.9 (28-Dec-2013) tune2fs: Filesystem has unsupported read-only feature(s) while trying to open /dev/md2 Couldn't find valid filesystem superblock.   How can I get this partition to be read and write again?  Thanks


Did I find a (little) bug (empty space in the Nautilus context menu)?

I know that it's just a tiny graphic problem but do you also get a white line (or extra padding) after the last entry in the context menu?


Rename a file with special characters and symbols?

I have read carefully the answers on . None of them helps me. I have accidentally download a file with non-ASCII characters into my Windows desktop as shown. I cannot move it or rename the file at all. I have already got installed Cygwin for other purposes. So I assume that I can handle it using cygwin without installing further 3 parties software on my Windows 10? To navigate to the file's directory: cd /cygdrive/c/Users/root/Desktop/  The file looks like this on the desktop and on the command line with ls -b command.  In addition, once I said ls *Twitter* to list only the mentioned file name, it throws me this error: $ ls *Twitter* ls: cannot access ''$'\360\235\223\237\360\235\223\270\360\235\224\202\360\235\223\267\360\235\223\275\360\235\223\262\360\235\223\267\360\235\223\260'' on Twitter_ ders '   $ ls 'Yerel Disk (C).lnk' 'Yerel Disk (D).lnk' ''$'\360\235\223\237\360\235\223\270\360\235\224\202\360\235\223\267\360\235\223\275\360\235\223\262\360\235\223\267\360\235\223\260'' on Twitter_ ders '   $ mv *Twitter* newfilename.pdf mv: cannot stat ''$'\360\235\223\237\360\235\223\270\360\235\224\202\360\235\223\267\360\235\223\275\360\235\223\262\360\235\223\267\360\235\223\260'' on Twitter_ ders '  $ mv ''$'\360\235\223\237\360\235\223\270\360\235\224\202\360\235\223\267\360\235\223\275\360\235\223\262\360\235\223\267\360\235\223\260'' on Twitter_ ders ' newfilename.pdf mv: cannot stat ''$'\360\235\223\237\360\235\223\270\360\235\224\202\360\235\223\267\360\235\223\275\360\235\223\262\360\235\223\267\360\235\223\260'' on Twitter_ ders '   Any help? Note: For the privacy issues, I have just removed some parts of the images.


How to send mail from iphone Application?

I want to send email from my application. How can i send it?


The Required plugins could not be found Videos requires to install plugins to play files of the following types: •  MPEG-1 Layer 3 (MP3) decoder •  MPEG-4 Video decoder  I tried manually installing the same plugins, but it didn't do anything. Can someone please help?


Website is showing encoding LAMP stack PHP

Pages showing on a web server have been replaced with this: are there any particular reason on a LAMP stack server that's showing this?   �R���Mz�Ə�7)nҀ���� lEGy�l��:̑�I���o�B����S%|��Е�sTu�le���b�A}A�����ʹ�1��0�A{�K��ʘӺ�tj����dLI=r�   �PRg����_Lb�R��� Ş�l?�␔�)!��[��F��o��wi&k^�CV(t@p�W2����{h�x�H�GRn�͉�eCb�xԉ����6G�������Q��d27\�ثd�S��=\�F�f*�0�ۣ�OP���5(r�ZߙxQ�Z>�~G�Ae


Philosophy has not advanced very far since Ancient Greece and Rome and every philosophical point of view, when extended, becomes absurd.  Meanwhile, in little more than 3 centuries, and mostly in the latter half of that, Science has transformed (and multiplied) the lives of virtually everyone on the planet, although not all for the better.  I suppose you could argue that Science and technology is a branch of philosophy, but if so, it is probably the only branch worth having.  Philosophy may be a pleasurable pastime, but it doesn't really solve real world problems.  Can anyone give examples of the practical use of philosophy?


is it possible to ask a browser to print using the screen CSS rather than the print CSS?


If the three digit numbers: $x17, 3y6, 12z$ where $x,y,z$ are integers from $0-9$ are divisible by a fixed constant $k,$ then the determinant   $$\left|\begin{matrix} x & 3 & 1 \\ 7 & 6 & z \\ 1 & y & 2\end{matrix}\right|$$  must be divisible by?


Modular arithmetic with a gigantic exponent (ie. $2^{2^{403}} \equiv x$ (mod $23$))

Suppose I want to find $2^{2^{403}} \equiv x$ (mod $23$). Now I know by Fermat's Little Theorem that $2^{22} \equiv 1 \space (\mod 23)$ and I know how to show that $2^{403} \equiv 8 \space (\mod 22)$. But I don't know how to put these two together to solve the congruence, or if I'm missing some crucial simplification step or theorem. I can't even use WolframAlpha because the number is too big.  My question is: How do you solve $2^{2^{403}} \equiv x$ (mod $23$)?


Inequality stays after taking derivatives?

I have the following inequality: $$s^k - f(s) \leq 0$$ where $-1 < s \leq 1$ & $k \in R_+$ & $f(s) > 0$. In such case, I am wondering if the following statement also valid: That is, is it right that the sign remains even after taking derivatives? $$k s^{k-1} \leq f'(s) $$  If not, then will it be valid if $ 0 < s \leq 1$?  I think this is right, but I am wondering how to start the proof.  Thank you in advance!


The question:     Using $S_n = \sum_{k=1}^{n}H_k$ where $H_k$ are the harmonic numbers, show $S_n = (n+1)H_n - n$.   So far I have   $S_n = \sum_{k=1}^{n} H_k = \sum_{k=1}^{n} \sum_{j=1}^{k}\frac{1}{j} $  is there perhaps some way to change the summation index?  Or would the next step come from  $S_n = \sum_{k=1}^{n}[1+ \frac{1}{2} + \frac{1}{3} + ...+\frac{1}{k-1} + \frac{1}{k}]$  Any help would be appreciated.


Is amd64 the only 64-bit version of Ubuntu 12.04 LTS desktop?

I need to specifically install Ubuntu 12.04 LTS Desktop on a Dell PowerEdge server. The main site allows you to download 14.04 LTS. So I followed this link to 12.04:    The problem is the download links are only available as i386 (which is the 32-bit version) or amd64 (which I assumed was for an AMD process, not an Intel). Should I still use amd64 download even if I am not using an AMD processor?


I want to setAction on ItemClick in the RecycleView, I setup the listener in the adapter but always i got NullPointer. I want to know what's wrong with my code  I have tried different adapter but always the same Result.  Fragment Contact:   adapter.setmOnItemClickListener(new MyContactAdapter.OnItemClickListener() {          @Override         public void onItemClick(ContactItem contactItem, Boolean isChecked) {             Logger.d(Pair.create("Test", "OnItemClick"), LoggerConstant.CUSTOM_VIEW, "ItemClicked :" );              //if ( mFloatingActionButton != null)                mFloatingActionButton.enableFloatingButton(true);             //    mFloatingActionButton.setOptionOnClickListener(this);         }     });   Listener In the adapter:  public interface OnItemClickListener {         void onItemClick(ContactItem contactItem, Boolean isChecked);   }  public void setmOnItemClickListener(OnItemClickListener  itemclick) {     Logger.d(Pair.create("Test", "OnItemClick"), LoggerConstant.CUSTOM_VIEW, "ItemClickedAdapterSet :" );     mOnItemClickListener=itemclick;  }   OnBind ViewHolder      contactItemView.setOnClickListener(new View.OnClickListener() {         @Override         public void onClick(View v) {             if(mOnItemClickListener != null){                 mOnItemClickListener.onItemClick(contactItem,true);             }         }     });   I expect to have log on ItemClick Listener but always null pointer


Can the Produce Flame cantrip be used to grapple, or as an unarmed strike, in the right circumstances?

With the wording of , it seems like you take the cast the spell action to make the flame appear.  You can then attack with it later - it does use the wording "ranged spell attack."  It never addresses what you can do with it otherwise, even though you are still holding a handful of flame.     What if a tavern brawler or a Monk punches with the hand holding the flame, or uses that hand to make a special melee attack (grapple or push?)      Would that be considered a spell attack, or an unarmed strike because the hand is passively holding the flame?  Could you use the flame as an improvised weapon?    Or would it be something else?  Note: I am making a character for a silly one shot. I am not planning on trying to pull this off for a serious campaign, but it is worth trying as a goofy concept. This side note probably won't affect any answers but I wanted to include it anyway.


Separating a list into sublists in python

I am trying to create a tool that takes in a str of integers and a number of items per sublist, then produces a list object that has all the sublists nested inside of it.  For example:     inputs:  str of ints: '1 2 3 4 5 6 7 8 9' length of subsets:3       output:       [[1,2,3],[4,5,6],[7,8,9]]   I am stuck as to how to create the sublists given the user input of sublist length.  Here is my code so far....  b= []  def makeList():     c = input("Drop your number list in here")     d = input("How many per sublist?")     newList = c.split()     for i in newList:         b.append(int(i))   this only leaves me with a list of integers.  Is there a method that will do this easily? Or do I need to fight with a subloop iterating over the list, appending and popping as I go?


Typical syntax for optional script arguments

I am writing some scripts in bash and other languages and I am always confused (this might be due to different syntax of various tools I have used in the past): what is the most generally accepted syntax for optional command line parameters? Should I use --my-parameter 10 or -mypar10 or --my-parameter=10 or -mypar=10 or something else?


Which URL schemata can actually be linked?

While trying to link an IRC channel on a tag wiki, I had to realize that all four ways to create a link in SO's markdown failed. Trying a bit around, I noticed the link would render if I would change the schema from irc to http. It seems https and ftp are working as well. But what else does?  The  doesn't mention which schemata are actually supported. Here on meta, I can only find answers regarding . Am I missing something?


70s movie where implants would make people peaceful

This is a movie I saw as a child, toward the end of the 70s. It had a similar vibe to Invasion of the Body Snatchers. The story is about some guy that invents some implant that looks like a small metal tube. If I remember correctly, it was inserted on the side of the head, by the temple. The recipients of the implants would become very civil and peaceful people. He becomes convinced that this was the way to be and soon more people have the implant. But then people with the implant start to force others to have the implant, etc. The main guy is afflicted with some disease that makes him age quickly. At the end, the main characters are with him in a building and can see the plaza below where one of their non-implanted friend goes (to make some point I forget about) and the implant guys all converge to him to convert him. The rest of the protagonists know that the only safe place is in the tower, with the guy that started everything and has now passed of old age due to his condition. I don't remember the rest of the movie, but I would really like to find what it was.


In Death Note, is it ever revealed what "L" stands for?

In Season 2, we meet L's successors, "M" (Mellow) and "N" (Near). Seeing how they are his successors and were all raised in the same institute, L must also stand for something.


In the photon picture, how can light slow down and yet not be absorbed?

Many materials, such as glass, are transparent over some wavelength interval. In the photon picture, as far as I understand it, this is because there are no allowed transitions corresponding to the energy of the light for which the material is transparent. If this is so, and if these photons don't interact with the material in question, then how can light at the same time be "slowed down", i.e. propagate with a lower speed than c ?


Using the definite article with acronyms and initialisms

I'm wondering when to use or not to use the definite article, when using acronyms or initialisms in a sentence. Is there a rule for this, or does it depend on the context?  For example, let's look at some example sentences DDR  = detailed design review.  NASA is planning to launch the final shuttle soon (no article) The FBI shut down this website (article) ESA is a full partner in the ISS (no article, article) The project was cancelled at the DDR. (article)  What confuses me is that if NASA or ESA would be written in full, the article would be necessary.


Linux dd Command - Possible to do a full disk copy from larger to smaller drive?

I have a 500 gig drive as well as an 80 gig drive. I would like to clone the 500 gig over to the 80 gig and I think it might work because there is not 80 gigs of data on the 500 gig drive.  Will this work?


Why has '32' been added to the value of v in the output below?  int main() {     float v = 9.999e8;      std::cout << "v --> " << v << std::endl;      std::cout << std::fixed;     std::cout << "v --> " << v << std::endl;      return 0; }   output:  v --> 9.999e+08 v --> 999900032.000000              ^^    Is it an artefact of printing the value, or that 9.999e+08 cannot be accurately represented in a float?   Changing v to a double resolves the issue but I want to understand the actual cause.  strong text


What is the greatest integer that divides $p^4-1$ for every prime number $p$ greater than $5$?

What is the greatest integer that divides $p^4-1$ for every prime number $p > 5$?  This was on a practice math GRE so it's probably really easy.


Windows 10 randomly kicks out my GRUB, how do I reinstall it?

I successfully installed Ubuntu Gnome 15.10 along with Windows 10 on my Satellite laptop, but after some boots Windows abruptly decided to put MBR on top of GRUB. No way to get back into Ubuntu, I tried to run a grub-update on live USB (after the relevant mounts) but nothing changed.   If I try to reinstall the GRUB following this  I get this error:  root@ubuntu-gnome:/# grub-install /dev/sda Installing for x86_64-efi platform. grub-install: error: cannot find EFI directory.   Here's my partition table, if it may help:  Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 9FEFCFA9-CD66-11E3-8DDC-CA6477994E64  Device          Start        End    Sectors   Size Type /dev/sda1        2048    2099199    2097152     1G Windows recovery environment /dev/sda2     2099200    2303999     204800   100M EFI System /dev/sda3     2304000    2566143     262144   128M Microsoft reserved /dev/sda4     2566144 1827946926 1825380783 870.4G Microsoft basic data /dev/sda5  1927376896 1929019391    1642496   802M Windows recovery environment /dev/sda6  1929019392 1953523885   24504494  11.7G Windows recovery environment /dev/sda7  1827948544 1914957823   87009280  41.5G Linux filesystem /dev/sda8  1914957824 1927376895   12419072   5.9G Linux swap


I'm new to Python and I have a question about the string operations. Is there an over-arching reason that I should understand as to why the lower operation is written as 'variable.lower()' while another one, say length, would be written as 'len(variable)'?


What’s that word that describes the feeling when something you see/hear/smell reminds you of someone? For example if you go to the park and you see the place where you had a first kiss with someone and that place makes you miss that person? It isn’t something that you do voluntarily, it’s more like a thing that pops out in your head and you can’t get it out. (I remember my English teacher talking about it I just don’t know what it is)  “I went to the park today and that bench triggered my ____”


19 April 12pm - What time is it? Is 12:00pm this day the same as 00:00am tomorrow?

English is not my native language and I am confused when writing about midnight of some day. I am mostly using 24h-format on every day basic, so I want to make sure how to use 12h-format properly.  When I am informing people they can do something between 19 April (today) 9:00 till midnight/end of the day on 22 April. How do I write it properly?     You can sign in to my diary/visit me etc. from 19th (9am) of April   until 22nd of April (12pm)   Soo... Is 22 April 12pm the same as 23 April 00am? (analogical 22 April 12:30pm is the same as 23 April 00:30am?)  What is the accepted practice?


How to make NetworkManager add a DNS server at the top of /etc/resolv.conf?

Right now, my /etc/resolv.conf looks like this:   # Generated by NetworkManager nameserver 10.165.246.33 nameserver 192.135.82.60 nameserver 10.165.74.2   The first two nameservers are automatically configured through DHCP; the last one is the one I added manually, in NetworkManager. It's also the most important one, since it resolves our internal domain names (e.g. build-server-17.our-company-domain.com).  The trouble is, NetworkManager adds it to the bottom of /etc/resolv.conf, so when accessing an intranet URL, my browser tries to resolve it using the first two servers, and it takes ages.  How do I make NetworkManager add the manually-configured DNS server before the automatically-configured ones?


I'm looking at some small assembler codes and I'm having trouble understanding the TEST instruction and its use. I'm looking at the following code at the end of a loop:  8048531:    84 c0                   test   al,al 8048533:    75 dc                   jne    8048511 <function+0x2d>   The way i understand TEST is that it works a bit like the AND operator and it sets some flags. I guess I don't really understand how the flags work. test al,al to me looks like it checks the same lower bits and will always get the same results.   Can someone explain?


This query works for me when I tried in PG admin query tool:    UPDATE bankdetails SET bank_details = 'mysore' ,"PAN"= 123,bank_acc = 456,                        "UAN"=789,tax = 'myy' WHERE  user_id = 79; INSERT INTO bankdetails (user_id,bank_details,"PAN",bank_acc,"UAN",tax)        SELECT 79,'mysore',123,456,789,'myy'        WHERE NOT EXISTS (SELECT 1 FROM bankdetails WHERE user_id=79);   Later I implemented in my code like this:  db.query('UPDATE bankdetails SET bank_details = $2 ,"PAN"= $3,bank_acc = $4,"UAN"=$5,tax = $6 WHERE user_id = $1; INSERT INTO bankdetails (user_id,bank_details,"PAN",bank_acc,"UAN",tax) SELECT $1,$2,$3,$4,$5,$6 WHERE NOT EXISTS (SELECT 1 FROM bankdetails WHERE user_id = $1);', [companyuser.rows[0]._id, data.bankDetails.bank_details, data.bankDetails.PAN, data.bankDetails.bank_acc, data.bankDetails.UAN, data.bankDetails.tax],function(err,bank) {                  if (err) return callback(new Error('error')); })   it says:     cannot insert multiple commands into a prepared statement   Can some one guide me here?


apt-get build-dep is unable to find a source package

I have already followed  to disable middle mouse button paste on my Ubuntu 12.04.   Works like a charm.   Now I am trying to achieve the same on my Linux Mint 17. When I try to  sudo apt-get build-dep libgtk2.0-0   it gives me the following output:   Reading package lists... Done Building dependency tree        Reading state information... Done Picking 'gtk+2.0' as source package instead of 'libgtk2.0-0' E: Unable to find a source package for gtk+2.0   For me it looks like apt-get is somehow "resolving" 'libgtk2.0-0' to 'gtk+2.0', but then does not find any package named like that.   EDIT:  although I am now able to compile the program (see my answer), I still do not know what  Picking 'gtk+2.0' as source package instead of 'libgtk2.0-0' is supposed to mean. Any insight on this would be appreciated, thanks!


Three old chestnuts in elementary geometry: is there a unified perspective?

Coxeter and Greitzer, in their excellent Geometry Revisited, list a few "hardy perennials" in elementary geometry: tough problems solvable by elementary methods. Their problem number 4 (on page 26 in my edition) is as follows:     Let $ABC$ be an isosceles triangle with equal angles $80^\circ$ at $B$   and $C$. Segments $BD$ and $CE$, extended to the opposite sides of the   triangle, divide $\angle B$ and $\angle C$ into $60^\circ$/$20^\circ$   and $30^\circ$/$50^\circ$, respectively. (See figure below.) What is   the measure of $\angle EDB$?      poses a similar problem, and calls it the "world's hardest easy geometry problem." In this problem, the $80^\circ$ angles are divided as $60^\circ$/$20^\circ$ and $70^\circ$/$10^\circ$.  Both of these problems are difficult and quite satisfying. (I will not give the answer here so as not to deprive casual searchers of the pleasure of solving them themselves; solutions to both can be easily found online.) I have also solved the related problem where the two $80^\circ$ angles are split as $70^\circ$/$10^\circ$ and $50^\circ$/$30^\circ$.  I have two questions:   My solutions to all three problems have a similar flavor, but they're quite different. Is there a unifying insight or more sophisticated perspective that provides the solution to all three? All three problems are very pleasantly challenging, despite their apparent simplicity. What accounts for their difficulty? Is there a unifying insight that shows why precisely they are both difficult and solvable by elementary means?


On lubuntu-desktop session there is no language selector

On Ubuntu 16.04.3 i installed the lubuntu-desktop via:  apt-get install lubuntu-session   But when I login into lubuntu-desktop session I cannot find a way to install the icon/indicator that allows me to switch the language from English into Greek. All the research I did are saying to use xkbmap but on "normal" lubuntu disto there is an option to select the language.  The problem is that there is no indicator.


Turning off swapping for only one process with cgroups?

I would like to turn off swapping for only one process. Swap should work as usual for the other processes.  How I can implement this with cgroups?


How do you detect where two line segments intersect?

How do I determine whether or not two lines intersect, and if they do, at what x,y point?


Why is the Derangement Probability so Close to $\frac{1}{e}$?

A derangement is a permutation $\sigma$ of $\{1,2,3,\dots,n\}$ such that $\sigma(i) \neq i$ for every $i$.  A common application of inclusion/exclusion in undergraduate combinatorics and probability classes is to compute the number of derangements, and in the process show that the probability a random permutation is a derangement approaches $\frac{1}{e}$ for large $n$.    There's also a "standard" intuition for this probability, which goes roughly as follows:  Let $E_i$ be the event that $\sigma(i)=i$.    1) For a given $i$, the probability of $E_i$ is exactly $\frac{1}{n}$.  2) If $n$ is large, than these events should be "nearly" independent ($E_i$ occurring means that $\sigma(i) \neq j$, making it a tiny bit more likely that $\sigma(j)=j$, but this shouldn't have much of an effect for large $n$), so we'd expect the probability none of the $E_i$ occur to be roughly $\left(1-\frac{1}{n}\right)^n$.  3) For large $n$, $\left(1-\frac{1}{n} \right)^n \approx \frac{1}{e}$.    Now the last approximation alone already has an error proportional to $\frac{1}{n}$.  What's suprising then is that, after , you find that the probability is not just approximately $\frac{1}{e}$, but incredibly close -- the error is less than $\frac{1}{(n+1)!}$.   Is there some alternative intuitive explanation for the $\frac{1}{e}$ asymptotic probability that gives a sense of why the convergence is so fast?


I've used LaTeX a lot in the past, but now, when comparing with StackExchange's great , I find it tedious, for short documents (< 2 pages), to have to use pure LaTeX. For a short document, instead of having 30 lines as introduction: \begin{document} \documentclass[11pt,a4paper]{article} \usepackage[frenchb]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amsfonts}  + <lots of other things> ...  I'd like to write my short document with MarkDown + Math, like on . Question: Is there an offline compiler such that compilemarkdown exercice.tex  would produce a PDF from this: #Title  Here is a *short document* including Markdown and Math, here is the equation:  $$f(x)=x^2$$  ___  Proof: ...   This is **bold**.


Can we reproduce a basis of a vector space of all sequences?(if exists since by every vector space has a basis, but can we reproduce it)


java.lang.NullPointerException: Attempt to invoke virtual method on a null object reference even if object is initialized

scheduleClient = new ScheduleClient(mContext); scheduleClient.doBindService(); Calendar cal=Calendar.getInstance(); cal.setTime(date); scheduleClient.setAlarmForNotification(cal);   I can't see where is the problem as I have initialized the object. Rhis is the error which I am getting.  java.lang.NullPointerException: Attempt to invoke virtual method 'void lol.com.epl.ScheduleService.setAlarm(java.util.Calendar)' on a null object reference         at lol.com.epl.ScheduleClient.setAlarmForNotification(ScheduleClient.java:63)         at lol.com.epl.FixAdapter$1.onClick(FixAdapter.java:128)   java:128 points to line  scheduleClient.setAlarmForNotification(cal);   At line 63    public void setAlarmForNotification(Calendar c){      mBoundService.setAlarm(c); }


Big problem accessing USB with Ubuntu 16.04

System is Acer Laptop, Windows 10 and Ubuntu 16.04 terminal  Halfway through installing an application and I cant seem to access any of the USBs. LSUSB just completes and returns nothing. Typically I'm doing a project and this could stop it in its tracks.  Any help you could give would be much appreciated  Edit: using lower case lsusb:


Concise proof of $\operatorname{dim} V =\operatorname{dim\,ker}T+\operatorname{dim \, range}T$

Can I have a concise proof of the following:  $$\operatorname{dim} V =\operatorname{dim\,ker}T+\operatorname{dim \, range}T$$  I have read a few proofs of this, and they are all so long, I always forget how it is done within a few days. I could 'see' why it was true prior to seeing the proofs, so it isn't a lack of intuition.


A job can be running or stopped (suspended).  When we are talking about foreground jobs and background jobs, are we only talking about running jobs?  Are background jobs and foreground jobs always in running state?  Does it make sense to say whether a stopped job is foreground or background?


Is there a USN RSS feed specifically for 14.04 LTS?

links to RSS (and Atom) feeds of all USNs (Ubuntu Security Notices). I'd love an RSS feed of only security updates to Ubuntu 14.04 LTS. Anyone know if someone has already published one? It wouldn't be hard to filter the RSS down to only the updates that are relevant to me, I'm just surprised if someone hasn't already done this.


How to integrate $\int \frac{e^x dx}{1\,+\,e^{2x}}$

Ok, I give up, I have tried with $u$-substitution and integration by parts but I can't solve it. The integral is:  $$\int{\frac{e^x dx}{1+e^{2x}}}$$  I have tried $u=e^x$, $u=e^{2x}$ and also integration by parts but I can't solve it. The result should be:  $$\arctan(e^x)$$


I am trying to grep the ongoing tail of file log and get the nth word from a line. Example file:  $ cat > test.txt <<EOL Beam goes blah John goes hey Beam goes what? John goes forget it Beam goes okay Beam goes bye EOL ^C   Now if I do a tail:  $ tail -f test.txt Beam goes blah John goes hey Beam goes what? John goes forget it Beam goes okay Beam goes bye ^C   If I grep that tail:  $ tail -f test.txt | grep Beam Beam goes blah Beam goes what? Beam goes okay Beam goes bye ^C   But if I awk that grep:  $ tail -f test.txt | grep Beam | awk '{print $3}'   Nothing no matter how long I wait. I suspect it's something to do with the way the stream works.  Anyone have any clue?


Given, K and T are sub-sets of linear space V.  How can I prove that if $ V = Sp(K) + Sp(T)$ then $ K \cup  T$ is NOT a base of V.  I proved that it IS a base of V but the answer says that it's not, can you give me an example of 2 sub-sets K,T that will make their union not a base of V?  Here how I tried:  $ V = R^2 $ , $K = \{(0,1)\} $,$ T = \{(1,0)\}$ then  $V = Sp(K) + Sp(T) = Sp\{(K \cup T)\} = Sp\{(1,0),(0,1)\} = R^2$ , then  $K \cup T = \{(1,0),(0,1)\} = R^2$  Which makes the union of K,T a base of V, but I need your help to find 2 sub-sets that will make it wrong.


Can I move directly from SQL Server SP1 to SP3 or do i need to install SP2 then go to SP3. I was assigned to upgrade my servers 2014 just to make sure I don't fall into problems


SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); try {       Date startDate = format.parse(prodPeakChargeFormList.get(1).getStartDate());       Date endDate = format.parse(prodPeakChargeFormList.get(1).getEndDate());       if (format.parse(prod.getEndDate()) >= startDate                && endDate >= format.parse(prod.getStartDate())) { } catch(Exception e){       e.printStackTrace(); }   >= cannot be applied to java.util.Date  how to compare date type in java?


Functional derivative simplification for effective action derivation

I am following Das' Finite Temperature Field Theory and the discussion of the effective potential. Das defines, \begin{equation} S^J = \int d^4x \left[ \frac{1}{2}\partial^\mu\phi\partial_\mu\phi - \frac{1}{2}m^2\phi^2 - \frac{\lambda}{4!}\phi^4 + J\phi \right] = S + \int d^4x\ J\phi. \end{equation} The generating functional is naturally, \begin{equation} Z[J] = e^{\frac{i}{\hbar}W[J]} = \int\mathcal{D}\phi e^{\frac{i}{\hbar}S^J} . \end{equation} From the equations of motion, we have \begin{equation} (\square + m^2)\phi + \frac{\lambda}{3!}\phi^3 - J = 0. \end{equation} We will denote this as $F(\phi) = J$. Now, consider $\phi\to\phi + \delta\phi$. We naturally know then that $\delta Z[J] = 0$. Therefore, \begin{align} 0 &= \int \mathcal{D}\phi\ \frac{\delta S^J}{\delta \phi}e^{iS^J}\\[0.25cm] &=  \int \mathcal{D}\phi\ (F(\phi) - J)e^{iS^J}\\[0.25cm] &=  \int \mathcal{D}\phi\ \left(F\left(\frac{i}{\hbar}\frac{\delta}{\delta J} \right) - J\right)e^{iS^J}\\[0.25cm] &=  \left(F\left(\frac{i}{\hbar}\frac{\delta}{\delta J} \right) - J\right)Z[J] . \end{align} In terms of $W[J]$, \begin{equation} e^{-\frac{i}{\hbar}W[J]}F\left(\frac{i}{\hbar}\frac{\delta}{\delta J} \right)e^{\frac{i}{\hbar}W[J]} = J(x) . \end{equation} Das then goes on to say that this is equivalent to, \begin{equation} F\left( \frac{\delta W}{\delta J(x)} + \frac{\hbar}{i}\frac{\delta}{\delta J(x)} \right)  = J(x) \end{equation} where "here, we are assuming that the functional derivative, after simplification, actions on the identity on the right." I am not sure how this final result is obtained. I would appreciate any input.


All Reviewers Assigned : Nature Communications revised manuscript: What does it means?

I have a revised manuscript which I submitted to Nature Communications. The status of the manuscript says 'Reviewers Assigned' for about 24 days. What does it mean? Is it under review by the reviewers? Or reviewers are not responding to the editor after the request to review the revised manuscript by the editor? Just want to clarify, that this question is specific to the editorial process of 'Nature Communications' which is not usual and not related to generalized peer review process. I think I am asking this question especially because Nature Journals have their own editorial workflow which is not as same a typical workflow of many journals.


They've mentioned this before but I'm confused now because Marley says that they need to be more advanced than the other nations. So are there other countries out there with like modern tech? And would those be countries in our world?


What are the instances where a Weekly Shounen Jump serialized manga would not be released in a given week?

What are the instances that there is no manga (like Naruto, Bleach and One Peace) release? Are there certain events that prevent them from releasing? Then what are these events (aside from taking a break)? Is there some sort of calendar of events for this?.


How to set data for textview using bundle in fragment?

i having a value transfered from another fragment to this fragment(mentioned below) and the data is transfered successfully but i when tried to get the data through the bundle it generates an error, and i tried but can't resolve it  help me, Thank you!  Fragment code:  public class BusinessDetail extends Fragment {      String value1;     Bundle bundle;     private TextView headlineSecond;     private TextView authorSecond;     private TextView detailsSecond;     private List<StringList> s;      public BusinessDetail() {     }      public void receiveValue(StringList value, int positionValue) {   bundle = new Bundle();         bundle.putString("news", value.authorName);         BusinessDetail detail = new BusinessDetail();         detail.setArguments(bundle);       }      @Override     public View onCreateView(LayoutInflater inflater, ViewGroup container,                              Bundle savedInstanceState) {         View view = inflater.inflate(R.layout.fragment_business_detail, container, false);          headlineSecond = (TextView) view.findViewById(R.id.id_headline_second);         authorSecond = (TextView) view.findViewById(R.id.id_author_second);         detailsSecond = (TextView) view.findViewById(R.id.id_details_second);           value1 = getArguments().getString("news");         authorSecond.setText(value1);         return view;     }}   Error:            java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference               at com.bulletin.theinvincible.bulletin.BusinessDetail.onCreateView(BusinessDetail.java:50)               at android.support.v4.app.Fragment.performCreateView(Fragment.java:2184)


how to mock data with extension methods?

I want test this method. Not exactly this because it does not make sense to test this, but this is simple version of what I need.  public bool Test() {     var authenticationScheme = Context.GetCurrentAuthenticationScheme();     return authenticationScheme == "google"; }   GetCurrentAuthenticationScheme is extension method.  public static string GetCurrentAuthenticationScheme(this HttpContext context) {      var protector = context.ApplicationServices                            .GetDataProtector(nameof(CookieStateHandlerExtensions));     return protector.Unprotect(context.Request                                       .Cookies[CURRENTAUTHENTICATIONSCHEMECOOKIE]                                       .FirstOrDefault()); }   GetDataProtector is also extension method from  "Microsoft.AspNet.DataProtection"  Unprotect is extension method from same namespace.  My question is how to mock this(using Moq) so that GetCurrentAuthenticationScheme() return string I want?


Can you conveniently rename a file without changing directory?

Is there a convenient way to rename a file (or dir) without redundantly repeating the path or directory-changing to it?  For example …  mv -some_flag db/migrations/abc_201911201243.php abc_20191101090000.php   … to rename the file without moving it out of that directory.  I looked into the man pages for mv, rename and rsync but didn't find anything, so I'm wondering if there is by chance a non-obvious trick to do this.


Hide/Show field on list form based on value from another field

I need to hide field 'B' when the value in field 'A' is NOT equal to 'Other'.  This is a custom list form.  Is jquery the way to go?


C# Adding data to combo-box from MS Access table

I am new to C# and am creating a test app to populate a combo-box from a table within an Access database.  I want to be able to set this information on the fly.  As a tester, I have created a new form, added a single combo-box called "TBCallOutcome", and added the code.  However, it seems to populate the drop-down with "System.Data.DataRowView" in every row.  Any ideas - thank you?      private void Form1_Load(object sender, EventArgs e)     {         string query = "SELECT [Call outcome] FROM [DD Call Outcomes] WHERE ((([Show on list])=True)) ORDER BY [Sort order]";         OleDbDataAdapter dAdapter = new OleDbDataAdapter(query, @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source='N:\\Test\\Dropdowns.mdb';User Id=admin; Password=;");         DataTable source = new DataTable();         dAdapter.Fill(source);         TBCallOutcome.DataSource = source;     }


why we need header files in our C++ project?

why we need header files instead of just define things in library files ?  I'm asking this question because I recently read an article like this:  While it is true that all definitions are declarations the converse is not true: all declarations are not definitions.


I was toying with the concept of array pointers. I wrote this simple program:  #include <stdio.h>  int main (int argc, char **argv){     char s[] = "Hello world!\n";     char *i;     for (i = s; *i; ++i){         printf(i);     }     return 0; }   which gives the very amusing output:  Hello world! ello world! llo world! lo world! o world!  world! world! orld! rld! ld! d! !   When I wrote this, however, I was under the impression that the output would start from the second row. Reason being, in the for loop, I use a pre-increment notation. i is set to the beginning of s, the Boolean condition is checked and it holds true, then i gets incremented and the block executes.  That was my impression, but obviously it is erroneous as the block executes before i gets incremented. I rewrote the program using a post-increment notation and got exactly the same result which confirms my hypothesis. If that is the case, then how are they treated differently in this program?


Is it possible to add a "related question" pull-down menu to the mobile apps (I use iOS) so to avoid duplicate questions? It is a bit inconvenient to search your question before asking one. Also, the search engine for duplicates are way much better than the normal search engine.


how to change the key values of an array in PHP

I want to know how to change the key values of an array using PHP  Input array :  Array ( [2] => one [3] => Array [5] => two [6] => three [8] => four )   I want output like given below,  Array ( [0] => one [1] => Array [2] => two [3] => three [4] => four )   Please anyone help..


Unit testing a multithreaded application?

Does anyone have any advice for a consistent way to unit test a multithreaded application?  I have done one application where our mock "worker threads" had a thread.sleep with a time that was specified by a public member variable.  We would use this so we could set how long a particular thread would take to complete its work, then we could do our assertions.  Any ideas of a better way to do this?  Any good mock frameworks for .Net that can handle this?


When is first person okay in formal writing?

I read that in college applications some questions are fine to use first person. An example of a prompt that would use first person is : to prevent dead links it follows this question. I have been told several times to never use first person in formal writing. Is it fine to use first person on formal essays where the prompt is about you?     Describe a topic, idea, or concept you find so engaging that it makes you lose all track of time. Why does it captivate you? What or who do you turn to when you want to learn more?


Finding distributions on $\mathbb{R^2}$ constrained by 2 equations.

The question asks us to classify all distributions in $\mathbb{R}^2$, say $u$, such that $$(xy)u(x,y) = (x^2-y^2)u(x,y)= 0.$$ I am genuinely stuck, any help is extremely appreciated.


How to export mesh with normal map applied as OBJ or STL for 3D printing?

Although I do have limited experience with 3D modeling, I'm very new (about 10 days) to using Blender 2.8  I learned how to export character models from Overwatch and import them into Blender. So far so good; I can see the mesh, the UV map, the rendering pipeline, and so-forth. I would like to export the mesh to an OBJ file or an STL file for my 3D printer's slicer to work with. However I realized that a lot of the fine details were missing. That lead me down a long dark tunnel of normal (bump) mapping, rendering, and displacement maps that left me more confused than before.  Below three images are attached. You can see that the exported OBJ is identical to the original object mesh. However the rendered image has a normal map applied that provides more detail around the muzzle of the blaster.  My question is this: Does Blender (or any other 3D editing program) have the ability to export an OBJ after applying the the normal map so that the fine details are captured for printing?   UPDATE: I attempted to apply the existing normal map as a displacement per @Duarte's suggestion below. The only effect was to completely distort the model. Fourth image below shows the result.  Object mesh:   Rendered model:   Exported OBJ file:   Normal map applied as displacement modifier:


I need help . when I try to insert a square face, the top and bottom side do not move like the ones on the side. what settings should i make?


Question on spelling "two drink minimum" (two-word adjectives)

Due to an argument, I must ask: Is it "two-drink minimum" or "two drink minimum"? Are both valid?   To me, the latter feels wrong because it has neither plural on "drink" nor the dash/hyphen to imply they are linked; am I right?  EDIT: Taking the examples given below, would the correct way to say be "Three-bedroom house"? I do agree about the plural, but I thought that kind of required the usage of a hyphen.


Limiting decimal places in data imported as .CSV and joined to shapefile using QGIS?

I am importing a csv into QGIS 2.4 with a csvt file that specifies for percent columns Real(2.1) to limit it to 1 decimal place. It imports fine. When I join it to a shapefile, it looks fine. But when I save the shapefile with a new name and bring it back in (or use it in another program), all the numbers have about 10 decimal places. The extra 0s don't show, but some wind up as xx.x99999999999.   Is there a way of limiting the number of decimal places in those columns to just 1?


How does using color within a list environment change the spacing of the rest of the page?

The following MWE fits 5 references on the page. As soon as I uncomment the color command (\myblue), it only fits four, with nothing else having changed.   Related: one open question that I still have is  This one has to do with color at the beginning (or end) of a paragraph; here, I use color inside a paragraph inside an environment...  \documentclass{article} \usepackage{xcolor} \def\mysmall{\trivlist\item\small} \def\endmysmall{\endtrivlist} % \newcommand{\myblue}{\color{blue}} \providecommand{\myblue}{}  \usepackage{lipsum} \begin{document}     \lipsum[1]      \section{Conclusion}     \lipsum[6]      \begin{mysmall}         Black and black and black and black and black and black and black and \myblue{}blue: \lipsum[4]     \end{mysmall}      \begin{thebibliography}{3}         \small         \bibitem{Bla}Bla and bla and bla and bla and bla and bla and bla and bla and bla and bla and bla         \bibitem{Bla}Bla and bla and bla and bla and bla and bla and bla and bla and bla and bla and bla         \bibitem{Bla}Bla and bla and bla and bla and bla and bla and bla and bla and bla and bla and bla         \bibitem{Bla}Bla and bla and bla and bla and bla and bla and bla and bla and bla and bla and bla         \bibitem{Bla}Bla and bla and bla and bla and bla and bla and bla and bla and bla and bla and bla         \bibitem{Bla}Bla and bla and bla and bla and bla and bla and bla and bla and bla and bla and bla     \end{thebibliography} \end{document}   I have been able to further minimize my problem to this MWE:  \documentclass{article} \usepackage{color} \newcommand{\blue}{} % \renewcommand{\blue}{\color{blue}} \begin{document}     \begin{itemize}         \item Black and \blue{}blue.     \end{itemize}      \section{This moves down when the above is blue.} \end{document}


How can I as a user flag/vote for questions to be migrated?

I would like to help Stack Exchange out by flagging/voting for questions to be migrated to an appropriate site. How does this work and how can I do this?


How do you start learning physics by yourself?

I think this question has its place here because I am sure some of you are "self-taught experts" and can guide me a little through this process.  Considering that :   I don't have any physics scholar background at all. I have a little math background but nothing too complicated like calculus I am a fast learner and am willing to put many efforts into learning physics I am a computer programmer and analyst with a passion for physics laws, theories, studies and everything that helps me understand how things work or making me change the way I see things around me.   Where do I start ? I mean.. Is there even a starting point ? Do I absolutly have to choose a type of physic ? Is it possible to learn physics on your own ?  I know it's a general question but i'm sure you understand that i'm a little bit in the dark here.


The search functionality is broken, it seems, e.g.  only loads after more than a minute of waiting. This happens on multiple sites, e.g. also on Stack Overflow.


Prove that any countable cartesian product of countable sets is countable

I want to prove that infinite (yet countable) cartesian product of countable sets is countable. Here's what I tried: Step 1: I proved that for 2 countable sets $ A_1,A_2 $ , the product $ A_{1}\times A_{2} $ is countable. Step 2: I proved by induction that for any $n\in \mathbb{N} $  if $ A_{1},...,A_{n} $ are countable sets, then $ A_{1}\times A_{2}\times,...,\times A_{n} $  is countable. Now, I want to show that any countable infinite cartesian product would be countable. How do i show that  $ A_{1}\times,....\times A_{\aleph_{0}} $  is countable? Thanks in advance.


Light and Gravity - bending of light around a massive body

Well, as I have read, a massive body can cause light to bend around itself due to its gravitational attraction. What I don't understand is how, as the  is $$F = \frac{Gm_1m_2}{r^2}.$$ As photons do not have (rest) mass, shouldn't there be no attraction between light and the celestial bodies, and therefore no bending? Surely I am missing a key point. Please point out my logical flaw?


I have an /etc/sudoers with the following:  glens   ALL=NOPASSWD:/usr/sbin/service php5-fpm glens   ALL=(ALL:ALL) ALL   And I'm trying to run the command:  sudo /usr/sbin/service php5-fpm restart   However, I'm still prompted for my password.  This  question/answer suggests I have the correct syntax, but I'm still prompted.


(Python) How can I write to a specific line in csv file?

just found out how to write and read to a csv file. It's very helpful, but im having some trouble with it.  I noticed that when I scroll down in the csv file, it creates new lines, which then messes up when I want to append data to the csv file (it shows up at the bottom of a bunch of empty lines).  So what I plan on doing is:  Going down the document until it finds an empty row and get that line number with the line_num  reader object. So then I would just need to be able to write to a specific line. Is that possible?   I have been using this webpage as a guide.


I am not getting an option to install salesforce for outlook in my Orgs. When I enter Salesforce for Outlook in the Quick Find box, I don't get anything. I have tried that in both my personal orgs as well as the Sandboxes.


I have pip installed for python3:  $ pip3 -V pip 1.5.4 from /usr/lib/python3/dist-packages (python 3.4)   If I try to upgrade to Version 8, this is what I get:  $ sudo pip3 install --upgrade pip Downloading/unpacking pip from https://pypi.python.org/packages/9c/32/004ce0852e0a127f07f358b715015763273799bd798956fa930814b60f39/pip-8.1.2-py2.py3-none-any.whl#md5=0570520434c5b600d89ec95393b2650b Downloading pip-8.1.2-py2.py3-none-any.whl (1.2MB): 1.2MB downloaded Installing collected packages: pip Found existing installation: pip 1.5.4 Not uninstalling pip at /usr/lib/python3/dist-packages, owned by OS Successfully installed pip Cleaning up...   Can anyone tell me why it won't upgrade to a newer version?


Is there a BNF grammar of the TeX language?

I'm looking for a BNF grammar of the TeX language, does it exist?  EDIT  For those of us who are not computer scientists, a BNF grammar is one kind of formal description of a CFG: .  For those who don't know their Chomsky, a CFG is a , which means (very roughly) that substitutions can be made independently of their use context.


How are billion-year half-lives approximated?

Our life-time is negligible, compared to that of unstable nuclei with half-lives of billions of years.  How, then, are these half-lives estimated, if you may never even witness a decay. It's like estimating the probability of a popcorn kernel popping, after one of the 200 in a pan has popped.  Would it be done over, say, a decade, with a massive amount of the source constantly monitored by a gygameter? Wouldn't the data still be inconclusive?  Is it estimated other ways, such as by examining the relationship between the composition of an atom and its half-life, to extrapolate larger half-lives? Comparing the quantities of the nucleuses isotopes found in nature, to extrapolate?  -- How on earth could scientists know that Lead-204 has a half-life 10,000,000 time longer than the age of the universe ~14,000,000,000 so: 140,000,000,000,000,000 years.


Ubuntu 20 efi "can't find command 'hwmatch' " on boot

I've got clean install Ubuntu 20 on my dell 5593 and to start things of: I made efi, home and root partition and it all installed without problems untill the reboot. The error i got was: error: can't find command 'hwmatch'. error: Command failed. (this repeats several times) error: you need to load the kernel first. Press any key to continue... Failed to boot both default and fallback entries Press any key to continue...  After that i get the usual grub menu, but whatever entry i choose i got error: Command failed. (this repeats several times) error: you need to load the kernel first.  So i reinstalled using the automatic partition option and this time i didn't get this error for 2 days. But today I encountered this problem again. I tried upgrading && updating, but no luck. One thing that allows me to boot is simply hitting ESC after the error messages and writing "exit" in grub command line. The booting sequence refreshes and ubuntu boots without errors. Any Ideas how to fix that?


How to create a table with long text and which packages use

Please, Help me inserting a table like this. I could not prepare this table easily because the long text i have to insert into the columns. I have been trying from some examples of stackechange but have not been successful. Perhaps the amount of text that includes the table. I am facing difficulties with merging the rows and columns. I am in an urgent need. Please Help !  Should I use all those packages?  What and how each package is used?  \usepackage{multirow} \usepackage{hhline} \usepackage{array} \usepackage{booktabs} \usepackage{tabu} \usepackage{makecell}    This is the example i wanna get Thanks    \documentclass[11pt]{book} \usepackage[utf8]{inputenc} \usepackage[spanish,mexico]{babel} \usepackage[T1]{fontenc} %\usepackage{amsmath} %\usepackage{amsfonts} %\usepackage{amssymb} \usepackage{graphicx} \usepackage{apacite} \usepackage{multirow} \usepackage{hhline} \usepackage{array} \usepackage{booktabs} \usepackage{tabu} \usepackage{makecell} \begin{document} \begin{table}[h] \caption{``“Utilidad y Derivación de las Emociones Primarias (Riso, W., 2008)''} \begin{center} \small \begin{tabu}{|[2pt]} >{\centering}p{3cm} | [2pt] >{\centering}p{3cm} \tabucline[2pt]{-} &{Emociones primarias} & {Derivación de las emociones primarias}\\ \tabucline[2pt]{-} \multirow{6}{*}{\parbox{3 cm}{\textbf{Dolor}} & \multirow{6}{*}{\parbox{3 cm}{textbf{Sufrimiento}}\\ & Avisa cuando un órgano físico está funcionando mal o está siendo agredido, para que sea reparado o defendido. & Indica que hay una estructura mental afectada o un apego irracional que debe ser trabajado.\\ &\textbf{Miedo} & \textbf{Miedo psicológico}\\ & Protege ante un peligro real.& Indica que se ha dejado de actuar. La parálisis es sostenida por ideas irracionales.  \tabucline[2pt]{-} \end{tabu} \end{center} \end{table} \end{document}


I'm trying do some validations based of an object with key-value pairs like below  var map = {'1': ['a','b','c'], '2': ['d','e'], '3': 'f'}  and I want to check if my desired value is in a particular key segment if('a' in map[1])  is there a way where we can check it like above?


for the sentence:  To remain competitive, the customization and personalization of industrial products is a growing concern for B2B companies.  Would you write it like this, or with "are growing concerns ..."?


How to install skype in xubuntu 14.04 LTS 64 bit

I am trying to install skype in xubuntu 14.04 64bit from . I tried ubuntu 10.04 32bit and ubuntu 12.04(multiarch). In xubuntu 14.04 64bit for both cases it is showing broken package message. Could any one give me a solution of this problem.


How to Stop Encrypting process in external hard drive?

I Have an external 8T external hard disk on "encrypting" process since 10 days in my MAC ... and stuck in 27% ...  * Seagate with APFS. How can I stop the process and access to my info ?


Sets: sets and their elements, finite and infinite sets, operations on sets (unions, intersections and complements), relations between sets(inclusion, equivalence), non equivalent infinite sets, cardinal numbers.


How to save photos from old Samsung AT&T flip phone with white screen (corrupted gpu) to my MacBook Pro?

I have some precious photos (family children) and sounds (baby voices) stored on my old Samsung AT&T SGH-a687 phone, not the SD card, that is experiencing a white screen of death after about a week of graphics pixelation and stripes problems due to a bad gpu.  I'm wondering what I can do to get those information I stored on the phone out. I tried connecting the phone to my MacBook Pro (I also have Windows if that's easier), but I can't get anything out. So I'm wondering what I can do to salvage those photos. How do I get these photos out onto my computer?


Determining if trees within forest gaps are clustered using R?

The attached dataset shows approximately 6000 saplings in approximately 50 variable sized forest gaps.  I am interested in learning how these saplings are growing within their respective gaps (i.e. clustered, random, dispersed).  As you know, a traditional approach would be to run Global Moran's I.  However, aggregations of trees within aggregations of gaps seems to be an inappropriate use of Moran's I.  I ran some test statistics with Moran's I using a threshold distance of 50 meters, which produced nonsensical results (i.e. p-value = 0.0000000...).  The interaction among the gap aggregations are likely producing these results.  I have considered creating a script to loop through individual canopy gaps and determine the clustering within each gap, although displaying these results to the public would be problematic.    What is the best approach to quantify clustering within clusters?


Where can I buy sawn logs for all the different plots in Hearthfire?

You can buy land / build houses in Dawnstar, Falkrath and Morthal.   At each house, there are sources for clay and stone, but where can you buy the sawn logs for each plot?   I know only the source for Falkrath, which is Riverwood.


Show that the series $\sum(\exp(\frac{(-1)^n}{n})-1)$converges, but not absolutely.

Show that the series converges, but not absolutely. $\sum_{n=1}^{\infty}( $exp$(\frac{(-1)^n}{n})-1)$.   My Try:  Let $a_n=$exp$(\frac{(-1)^n}{n})-1$. I was going to use alternating series test because the sequence $\{a_n\}$ is alternating. But $\{|a_n|\}$ is not decreasing to $0$. So, I am stuck now. Can anybody please give me a hint?


I am doing a 3D Anime Character for Blender 2.78c, but when I try to use the mirror on the eye, here is the result:  Could anyone please help?


Show $\arctan(x+1) - \arctan(x) = \arctan(\frac{1}{x^2 + x +1})$

Show that for all real $x$:  $$\arctan(x+1) - \arctan(x) = \arctan(\frac{1}{x^2 + x +1})$$  This is what I got so far:  $$\arctan(x+1/x) = \arctan(1/x^2 + x +1) \iff \\     x+1/x = 1/(x+1)^2 - x \iff \\     (x+1)^3-x^2-2x = 0$$  But then I get stuck and feel like there is something I'm missing or there is some smarter way of doing it.


Query to check for free disk space and send an alarm if the disk space exceeds threshold value

I would like to create a job which sends an email alert when my server disk space goes beyond a specific threshold value.Since my data files are bigger there is very little free space on disk partitions.     Is is possible to write a Query which checks all the disks for the   free disk space and give an email alert if the disk space goes below   the set threshold value?


Girl with magic confronts a demon and heals tree

This was a short novel that was probably written in the 80s or 90s.  A young girl, maybe teen, lives in a small village area, and has magic powers. She can see some magical creatures that most people can't, such as some sprite or dryad being.  There's a man that's actually a demon, and I think he tries to get close to the girl by ingratiating himself with her caretaker or others in the village.  In the forest, there's this big tree, and something is wrong with it. I think there may have been demonic runes making the tree sick. If the tree died, then it meant something worse would happen. I think it meant the demon, the main antagonist of the novel, would overtake her, or the forest would die, or some demonic agenda would be set in motion. I can't remember which, or if I'm mixing up aspects of the book.  The demon knew about the girl and her magic, which was apparently a rare attribute. He was trying to gain control of her. His plans were thwarted when she healed the sick tree in the forest, but I don't think he was actually defeated/vanquished.  The end of the novel left it open for a sequel, but I don't know if one was every written.  I used to own the book, but can't find it, so it was probably lost in a move. I think it may have had a reddish cover, and it was possible written by a female author.


I'm having trouble in running C code from Geany. The code compiles successfully, but when I try to execute it, it shows on Terminal:   /tmp/geany_run_script_I007A0.sh: 7: /tmp/geany_run_script_I007A0.sh: ./test: not found   I saved the program as test.c.