I have a weird problem after upgrade my ubuntu 14.04 to 15.05.. The words in the whole system are like the image below, anyone has/had the problem or know how can I fix it?  I don't know if it is a problem with my graphical video board, it is a GForce 310 M.

The names of my folders and the menus are not displayed correctly (even the tabs names in firefox). A lot of letters are missing. When cross over with the mouse pointer, part of them are correctly displayed. Contrary, the content of askubuntu site, for example, is displayed correct. It does not always happens, usually a restart solve the problems for a while. I have Ubuntu 14.04. I don't know how to tag this question, so I'll mark it as display related, even though is not really this.


So I am attempting to write a document in Estonian language. Currently what I do to get characters like Ä appear at all, is use this syntax:  \"{chracter_I_want_with_dots•}   But I am going to write a lot of text that is going to use many characters with dots and other kinds of symbols on top of the characters.  How can I use these characters on the whole document without writing this kind of syntax on every Estonian character?

I am using TeXworks to write documents, but as I am doing some stuff in spanish, accents are required. When I write  áéíóú   I get  Ã¡Ã c   If I do \'a \'e \'i \'o \'u  I get the desired result áéíóú  I have changed in Edit->preferences->Editor->Coding->ISO-8859-1  instead of UTF-8 but get the same results.


I have seen Salesforce returning Id field, and RecordType field in SOQL. for example,  Account acc = [select Name from Account limit 1]; System.debug('Returned Id: '+acc.Id);   Are these fields always returned by SOQL? Or at certain times (tried this in EXEC Anonymous). Any other fields returned without being requested? Wondering if there is any documentation reference available for this behavior?

I am running this script from developer console.  List<Account> lstAccount = [SELECT Id, Name, BillingStreet From Account LIMIT 1]; System.debug(lstAccount);   Debug Log:     23:47:04:012 USER_DEBUG [5]|DEBUG|(Account:{Id=0019000001nNLGEAA4, Name=Acct_nm001, BillingStreet=xyz Road, RecordTypeId=01290000000iaNiAAI})   I never queried for RecordtypeId in SOQL, but it is included in the list.  Although, if I run the query from the query editor, it is not showing RecordtypeId column.   Is this by design? Then why not Salesforce is not providing us audit fields in the first scenario.


I installed VirtualBox (version 5.2.18) on my Windows 10 laptop.  There I am running Ubuntu 18.04, the OS in general looks small. I've tried changing resolution but it didn't work as I expected. Then I used Unity Tweak Tools to change font size and it sort of work for some programs but not all and anyways the icons still look pretty small.  Here is a photo of how it looks   Screenshot of my Desktop   How can I make it look bigger in general?

I have a Dell XPS 15-9560 laptop with 15.6" 4K Ultra HD (3840 x 2160) IGZO IPS 350-nits Touch-screen, and NVIDIA GeForce GTX1050 4GB GDDR5. It's having 4K resolution. Right from the grub screen to Ubuntu, it's having very very small fonts. Is there any way i can increase the fonts size?  This is a real nice laptop - real MacBook Pro killer..getting very popular...and i can see a lot of folks will be having the same issue.  Edit 1  I messed up my current installation of ubuntu desktop 18.04 LTS and have to reinstall it all over again. Just tried this one now: Adding nouveau.modeset=0 to the boot parameters was much better workaround for smaller fonts and i am having much better resolution now. It's much better solution than others as of now.  Seems to ubuntu18.04 LTS is not as stable and much more complex issues with Nvidia graphics card than the previous versions.


I am working with a an array of 5 character strings. And joining the items into one large string. x is the array and looks like this:  val x : System.String [] =   [|"W0SPFR"; "1BUDJY"; "1L1RJV"; "ITBPFA"; "QVUS7N"; "CJ6ZMQ"; "V3HUQ5";     "694L4U"; "8RYWPF"; "YGWS8U"; "3KEKA9"; "1C9L6Q"; "OXCGSF"; "GF0CUQ";     "YR41AF"; "4D4U0G"; "1U94T1"; "VUVJI0"; "CTYQL3"; "310XVU"; ...|]   My initial attempt was this:  let y = x |> Array.reduce (fun  x y -> x+"-"+y)  Unfortunately this turned out to be slow, even for moderately sized arrays (10,000 elements). I'm looking to scale this up to millions.    Real: 00:00:00.483, CPU: 00:00:00.577, GC gen0: 167, gen1: 6, gen2: 5  My second attempt was better:  open System.Text    let buf = new System.Text.StringBuilder() let z = x |> Array.fold (fun (buf:StringBuilder) x -> buf.Append(x+"-")) buf |> string z.[0..(z |> Seq.length)-2] = y   Question1:    Is StringBuilder the fastest way to build this large string? I'm also open to parallelizing it.    Question2:   Because I use fold in the second attempt, a - is being joined to the last item, hence I'm getiing rid of it with z.[0..(z |> Seq.length)-2]. Is there a more elegant way?

In a  about formatting a double[][] to CSV format,  that using StringBuilder would be faster than String.Join. Is this true?


Fairly straightforward, but when choosing a character to switch to, what do the numbers directly under to Michael, Franklin, and Trevor's photo indicate?

When I hold Down on the D-Pad (Xbox) to show the character selection circle I notice there are some numbers next to the peoples faces. What do these numbers mean?


I'm attempting to make a formula that will toggle a hyperlink on or off depending on the argument. Basically, I want to make it argue the following:  If there is text in (Tab A, Cell A), then create a hyperlink with the title (Text of Tab A, Cell A) that links to (Tab B, Cell A). If no text is present in (Tab A, Cell A), then just put the text "Not in Use" with no hyperlink.  I was attempting this formula, but it's not quite working. As long as there is text in SETUP!D39, it displays the text and activates the hyperlink, but the text is not blue or underlined. If there is no text in SETUP!D39, then it displays the text (Not In Use) properly, but the hyperlink is still there and gives the error "Cannot open the specified file". I'm pretty sure it's just a syntax error in my formula, but I can't figure it out:  =IF(ISTEXT(SETUP!D39),HYPERLINK("#'DEDICATED FUNDS (10)'!A1", (SETUP!D39)), "(NOT IN USE)")   So my questions are:   Any idea why the hyperlink is not turning blue and underlining? Any suggestions on why the hyperlink still exists in the second argument?   Any help is greatly appreciated.

ColA                  Col B              ColC Project A            A.pdf               A.pdf Project B                                No Link   I have a list of project records. One column (e.g., B) may have a reference to a pdf file. If I create a formula   =if(isblank(B2),"No Link",hyperlink(folderURL + B2),B2)   What I want is to place a hyperlink on only those rows where column B contains a pdf reference, and insert text "No Link". I get the proper text values, but in all rows have the hyperlnk default appearance and behavior -- Excel seems to be creating "phantom links" out of the "No Link" cells.     Clicking on the "No Link" value in Col C activates an attempt to open the file listed in Col B, which returns a No file found error.


For any element $x$ which is self invertible, we have $x^{2}=1$. And $(x-1)(x+1)=0$ which implies $x$ must be either $1$ or $-1$ as we have considered an integral domain.  I was wondering whether there are more such elements or these are the only ones? With the help of the above, can we characterize all those integral domain for which $1$ is the only element that is its own multiplicative inverse?

I like to be thorough, but if you feel confident you can skip the first paragraph.  Review: A ring is a set $R$ endowed with two operations of + and $\cdot$ such that $(G,+)$ is an additive abelian group, multiplication is associative, $R$ contains the multiplicative identity (denoted with 1), and the distributive law holds.  If multiplication is also commutative, we say $R$ is a commutative ring. A ring that has no zero divisors (non-zero elements whose product is zero) is called an integral domain, or just a domain.  We want to show that for a domain, the equation $x^2 = 1$ has at most 2 solutions in $R$ (one of which is the trivial solution 1).    Here's what I did:   For simplicity let $1,a,b$ and $c$ be distinct non-zero elements in $R$.  Assume $a^2 = 1$.  We want to show that letting $b^2 = 1$ as well will lead to a contradiction.  So suppose $b^2 = 1$, then it follows that $a^2b^2 = (ab)^2 = 1$, so $ab$ is a solution as well, but is it a new solution?  If $ab = 1$, then $abb = 1b \Rightarrow a = b$ which is a contradiction.  If $ab = a$, then $aab = aa \Rightarrow b = 1$ which is also a contradiction.  Similarly, $ab = b$ won't work either.  So it must be that $ab = c$.  So by "admitting" $b$ as a solution, we're forced to admit $c$ as well.  So far we have $a^2 = b^2 = c^2 = 1$ and $ab = c$.  We can procede as before as say that $(abc)^2 = 1$, so $abc$ is a solution, but once again we should check if it is a new solution.  From $ab = c$, we get $a = cb$ and $b = ac$, so $abc = (cb)(ac)(ab) = (abc)^2 = 1$.  So $abc$ is not a new solution; it's just one.  At this point I'm stuck.  I've shown that it is in fact possible to have a ring with 4 distinct elements, namely $1,a,b$ and $c$ such that each satisfies the equation $x^2 = 1$ and $abc = 1$.  What am I missing?


These are the screenshots of multiple file uploader from the same SharePoint 2010 site. Some users are seeing the first and some are seeing the second one. Is it possible to disable the second view(drag and drop) by editing upload.aspx in the layouts folder?      Thank You

These are the screenshots of multiple file uploader from the same SharePoint 2010 site. Some users are seeing the first and some are seeing the second one. Is it possible to disable the second view(drag and drop) by editing upload.aspx in the layouts folder?      Thank you


I am South African and intend visiting Greece and my existing Schengen visa, but the visa expires on the day I fly back - my question is technical, my visa expire on the 7th, does the visa expire at 12pm on the 6th or 12pm on the 7th - If I board my plane on the 7th will I still be "legal" or do I need to change my flight to the 6th?

I have a multiple entry 90 days Schengen visa (category C) from 15 March 2014 till 21 Dec 2014.    With this visa I entered The Netherlands on 4 April 2014 and left there on 13 April 2014.    I am planning to re-enter The Netherlands on 19 Dec 2014 and leave there for London (I have a valid UK visa as well) on 21 Dec 2014, at 7 am from Amsterdam.    Am I permitted to stay in The Netherlands on 21 Dec 2014 or should I leave the country on 20 Dec evening itself?


For instance, if, for all $a$ in a category $C$, $\hom(a, b)$ is equal to $\hom(a, c)$ when all instances of $c$ are replaced by $b$ in the latter, does this imply equivalence of $b$ and $c$ in $C$? If so, is this a necessary condition for equivalence of objects in $C$?

Suppose we have   $$Hom(x_0, y) \simeq Hom(x_1, y)\ \forall y \in \mathcal{C}$$  Does it follow that $x_0 \simeq x_1$ in $\mathcal{C}$?   Now suppose that $F, G: \mathcal{C} \rightarrow \mathcal{D}$ are two functors such that $Fx \simeq Gx\ \forall x\in \mathcal{C}$. Does it follow that any natural transformation $\epsilon: F \Rightarrow G$ is a natural isomorphism?


In the circuit shown below, I am considering ground to be ideal earth ground (stays at 0V no matter how much current it absorbs). It is my understanding that current flows when there is a potential difference. Thus, I would expect current to flow to both the negative terminal of the battery and to ground. Why wouldn't current leak to ground? I am looking for a physics explanation.  The following two questions have addressed this issue (, ), but I am unsatisfied with the answers given. Specifically, one of the answers noted that the voltage source must have an equal out flow and in flow of current to sustainably generate an EMF. I don't see how this would affect whether or not current would leak to ground. Consider a source that doesn't have that constraint (it can infinitely output electrons with some set potential).  Thank you!!

This seems like a question which has been asked multiple times on forums. I researched the problem but I still was unable to figure out the answer which I can at least intuitively understand. So in this simple circuit why is there no current leakage to earth? Assume that it is a true earth ground connection (a rod in the earth for example).  Update: I am giving researched answers below, but not as the only options. I am not satisfied with any of them, and give my explanation as to why. So I am hoping for either an elaboration or an alternative answer.         – Schematic created using   The answers I have found:-    With only one connection to ground there is no circuit for the current to flow through. It can't flow "to" ground, because there is nowhere for it to flow to. There's no difference between ground and a wire dangling in the breeze. However for current to flow there must be potential difference. And because the ground and the battery return has the same potential - why would current prefer to flow specifically to the return point. Especially taken into account that earth can absorb all electrons generated by the battery (on contrary for example to just piece of wire).    The ground isn't a great conductor and while it is in parallel with the service, the amount of current returning through the ground is so small it is effectively zero - Firstly this answer implies that there's some leakage occurs which just depends on earth resistance. Also I do not understand which resistance is taken into account. Where it is measured? I think also the answer relates to the several connection of the circuit to the ground.   So anyone can give real physical explanation of this?


How do I write the first $5$ terms for this recurrence relation?  $$S_0=2\\ S_n=S_{n-1}^2 +S_{n-2}^2+\ldots+S_0^2$$  Since I can't substitute $S_0$ directly?

Write down the first five values of each of the following recursive sequences: $$ s_0 = 2, \quad   s_n = s_{n−1}^2 + s_{n−2}^2 + \cdots + s_0^2 $$ for all integers $n \geq 1$.  Approach: Say for $s_1= s_0^2 + s_1^2 + s_0^2$ which means $s_0^2 + s_0^2$ since $s_1$ isn't greater or equal to $1$.   So is the answer $8$ or just $s_0^2$ which will be $4$? I am confused by this part $[\ldots + s_0^2]$.


I was installing tar.bz2 application (OpenFM) on my Ubuntu 14.10 and I followed steps listed on this website:  .   When I had to run the "./configure" command I saw this:  bash: ./configure: No such file or directory   On this website there were a note if my system does not have the ./configure command I can skip to the next chapter of the guide what contained executing "make" command.   When I executed "make" command without executing "./configure" command I saw this:   make: *** * ***No targets specified and no makefile found.  Stop.     Please answer to me how to fix this error or how to install .tar.bz2 application without "./configure" command.  Sorry for my terrible English and thanks for help!

I have downloaded tar.gz files. But I don't know how to install it. How do I install this kind of file?


I have a file first.html which contains the following code:
 One

 Two
   Now I have another file second.txt which contains some values like:  hahaha hehehe   I want to replace the value in each occurence of "headerValue" with the value from the second file.  Eg. after replacement first.html will become
 hahaha

 hehehe
   The data from file second.txt is unrelated to the data from file first.txt

This is my file1:    #$BQ #{ VOL       @home    } #database    daba #relation    tcdeatid #copy           1 #{ version        0 } #opendb #clear #.lruno := 72 #.infno := 1 #.tid.noel := 101 #.tid.info := 64 #.tid.setnr := 1225              <--- (1225 number will be changed) #.typeidm := 1 #.sourcetable := 2 #writedb      #clear #.lruno := 72 #.infno := 205 #.tid.noel := 101 #.tid.info := 76 #.tid.setnr := 5625              <--- (5625 number will be changed) #.typeidm := 1 #.sourcetable := 2 #writedb #$EOJ  In file2, I have the correct entries:    #.tid.info := 3345              <--- (I want to put this number in file1 in place of 64) #.tid.setnr := 1254              <--- (I want to put this number in file1 in place of 1225) #.tid.info := 5567              <--- (I want to put this number in file1 in place of 76) #.tid.setnr := 9056              <--- (I want to put this number in file1 in place of 5625)   I want to make changes in file1, directed by data from file2.  I have tried sed "s/tid.setnr := 1225/tid.setnr := 1254/g" file1 > modified_file1  But instead of doing it manually, I want my script to read the new tid.info and tid.setnr values from file2 and modify the respective lines in file1.  The first line in file2 should replace the entire first line in file1 that contains tid.info, the second line in file2 should replace the second line in file1 that contains tid.setnr, and so on.


I've just bought a 6Gb RAM PC and reinstalled Windows 7 32 bits on it. I remarked :      6 Gb installed, 2.39 Gb usable.   How to use all the installed memory ?

I have recently purchased 8 GB of RAM to upgrade my system to go along with a new shiny i5!  When I run speed checks on my system online I get told I only have 3.5 GB of RAM, also in  I only see around that value of RAM yet that stupid Windows rating index tells me I have 8.0 GB.  Am I doing/reading/interpreting this incorrectly?  See below what I see:


hi i am unable to trigger simple event delegation on my code, The dom elments within selected DIV are dynamically created.
    previous   1   ...   2   next
   Following is my JS Code which i am executing within ready block.  jQuery("div[class=holder]").on('click',function() {         alert('i am here');     });

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


I am a complete coding/mapping novice and I have no experience whatsoever in this field. However, I have had a really promising business idea which would be based on an online map/website.  My plan was to build a prototype of my idea and gather a bit of revenue to prove that the idea would work. With that evidence and a sound business plan, I could then approach a bank/start-up fund/etc to help me commission a professional developer to build the full online map/website.  However, I've started to do some reading on the subject and it is all incredibily detailed. I know all you guys have vast amounts of knowledge/experience - am I kidding myself that I could build a prototype? Or do you think I'll be able to pick up enough knowledge?

I want to start working on a web map at work to map some of our statistics by city.    I have an idea, but I'm not exactly sure where to start.   Are there any definitive resources that provide step by step guidance on how to do this?


How many bitstrings of length 4 exists, where there can't be 3 consecutive 1's in a row and can't be 3 consecutive 0's?  I solved it by writing out, by hand, all the combinations of bitstrings of length 4 and then counting how many there were that fulfilled the aforementioned criteria.  My answer is that a total of 16 bitstrings exist of length 4. The number of strings fulfilling the aforementioned criteria are 6. So there are 6 strings which do not have 3 consecutive 1's or 3 consecutive 0's.

So my question is that let's say I have a bit string of length four. If it is illegal to have 3 1's in a row and 3 0's in a row then how many bit string of this type exists  I was thinking that in total combination of bit strings of length four there is $2^4$, but in this case there is 2+2 illegal combinations so the total is   $2^4-4$ is this correct?


Is there any suitable alternative to using both gender specific pronouns in such cases?   Example:     Client uses his/her account.

Is there a pronoun I can use as a gender-neutral pronoun when referring back to a singular noun phrase?  Each student should save his questions until the end. Each student should save her questions until the end.


Consider the following program:  int b(int in) {     return in + 1; }  int a(int in) {     b(in); // return statement forgotten }  int main() {     std::cout << "returned: " << a(5) << "\n";  }   VC++ gives an error about the missing 'return'. Intel Compiler only issues a warning (missing return statement at end of non-void function "a") but most surprisingly at runtime the code does return the correct value and the printout is:  returned: 6   How come?  Using Intel C++ compiler 19.0

What are all the common undefined behaviours that a C++ programmer should know about?  Say, like:  a[i] = i++;


Looking for recommend. Tire pressure for a 26in MTN bike. Im around 185lbs.   I am fixing my bike up, and I want to make sure not to over inflate as I do not want to blow a tire.

Should I run my mountain bike at the suggested PSI/Bar on the tire/rim?  Or should I run it a bit lower?  Or is it more about conditions?  Should I run lower if I am running on softer terrain?


Python query.  I want to take a copy of a file, called randomfile.dat, and add a timestamp to the end of the copied file.  However, I want to keep the original file too. So in my current directory (no moving files) I would end up with: randomfile.dat randomfile.dat.201711241923 (or whatever the timestamp format is..)  Can someone advise? Anything I have tried causes me to lose the original file.

How do I copy a file in Python?  I couldn't find anything under .


I need to know how I can install ubuntu on Windows using the ISO file without burning onto a disk. Is this possible?

So basically as it stands I have a laptop which has no cd/dvd drive, and I don't have a usb drive.  The laptop has windows 7 installed with ubuntu 11.04 installed through wubi.  What I want to do is remove windows completely, and make ubuntu the only OS installed on the system.  Is there a way to do this without re-installing ubuntu? (i.e. can I take my wubi install away from windows?)  or is there a way to from inside ubuntu have it run the ubuntu iso somehow so I can just wipe the system and install it fresh? (even if it means I need to have an e.g. 2gb partition just for the image to reside in).


Can someone help me with the following question. I have mangaged to solve this question using well ordering prinicple but cant proof it by the induction method. I cant proof that n+1 holds in the equation. Please be as detailed as possible. The question could be found in link below, it is listed as question number 2.     Prove by either the Well Ordering Principle or induction that for all nonnegative integers $n$:   $$\sum_{i=0}^n i^3 = \left(\frac{n(n+1)}2\right)^2.\tag1$$   .

How can I prove that     $$1^3+ 2^3 + \cdots + n^3 = \left(\frac{n(n+1)}{2}\right)^2$$    for all $n \in \mathbb{N}$? I am looking for a proof using mathematical induction.  Thanks


I was thinking about how "I am" can stand as a sentence but wondered why "I'm" doesn't sound right. I kind of came to the conclusion that noun-verb contractions (ex. I'm, they're, it's, she'll) can't end a sentence and always need something following them.  Here's an example:  I don't know what it is. <- sounds fine  I don't know what it's. <- what?  I don't know what it is for. <- fine  I don't know what it's for. <- also fine  So, is there a formal English rule that restricts how contractions can be used?

I heard this lyric in a song the other day and it just sounded so wrong that I assumed it must be incorrect grammar, but I can't find any specific prohibition that applies.     That's what it's.    That rolls off your tongue with the grace of a moose in a tutu, but I can't figure out why.  There is clearly no problem with ending other sentences with a contraction. These sound fine.     I thought I could, but I can't.   Stop touching that, it will fall off if you don't.   You say that the sky is green, but it isn't.   Also, it sounds just fine if you remove the contraction:     That's what it is.   So what's up with this construction? Should it be avoided?


i am facing an error whenever the user entered a simple quote(') in username or password fields when he tries to login..an HTML code is displayed and i can't fix it.  This is my login page  Login.php   require "init.php"; $user_name=$_POST['login_name']; $user_pass=$_POST['login_pass'];  $sql_query="select name,course_name,mark from user_info,Marks where user_info.username=Marks.student_username and username like '$user_name' and password like '$user_pass';"; $result = mysqli_query($con,$sql_query);  if(mysqli_num_rows($result)>0) {   $row=mysqli_fetch_assoc($result); $name=$row["name"]; $username=$row['username']; $course=$row['course_name']; $mark=$row['mark']; echo $name; } else {     echo "username or password incorrect"; }   Html code after login button pressed

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


I am told that the bonds between the molecules are like strings that are are strechy so when they are broken as any other strechy material they start vibrating and this generates heat but this can't be true since those bonds are not strings so why the heat is generated by friction? If friction doesn't depend on surface area then why rolling friction is better than static friction? More area of contact will increase adhesion then why is friction not dependent on area of contact and moreover friction is a contact force?

What causes two objects sliding against each other to produce heat? Why don't they generate visible light or something else?


I'm a Canadian citizen and I have a Youth Mobility Visa in Spain that lasts 1 year. After it expires, is it possible for me to re-enter on a tourist for another 3 months?  For example, if my 1-year visa ends on October 14th, will I:    automatically get 3 more months? need to re-enter to get 3 more months? not be able to get the tourist visa at all?

I am an Australian currently on a Netherlands working holiday visa that ends in May next year. I would like to know if when my visa ends I then get another 90 days just as a regular tourist visa as I would like to do some more travel within Europe when my visa ends before going home to Australia.


Which one of the statements below is correct?   He don't have knowledge about others. He doesn't have knowledge about others.

Recently I was exposed to a lot of uses of "She don't + infinitive" ( + don't), instead of "she doesn't + infinitive" ( + doesn't). I'm not sure if it is a mistake or just accepted usage sometimes.   I found it in a very famous songs such as:   "" by Bon Jovi   Also in  (in 3:04)     But she don't know you like I know you Slim, no one does   She don't know what it was like for people like us growin' up, you gotta call me man   I'll be the biggest fan you'll ever lose   Sincerely yours, Stan, P.S. we should be together too   You can find a lot more by searching in you tube "he don't" or "she don't".


There is a Stack Exchange site called "Software Recommendations".  Since we are living in a cloud world full of services for every aspect of live: do we need a new Stack Exchange site called "cloud recommendations" or "service recommendations"?  Topics in that site could be about:   Is there a cloud service that... How to combine Cloud services A and B? Which free services can I use in order to do... Condiguration recommendations for cloud services? API vs UI

I have an idea or subject that should have a Q&A, and want to propose a new site. How can I do this?  Related:


One of the exercises in the textbook I'm using for self-study on measure-theoretic probability theory is as follows:   Prove that the extension $(\Omega, \mathcal{M}, \mathbf{P}^*)$ constructed in the proof of [the extension theorem] must be complete, meaning that if $A \in \mathcal{M}$ with $\mathbf{P}^*(A) = 0$, and if $B \subseteq A$, then $B \in \mathcal{M}$.   Some background on definitions first:   $\mathbf{P}^*$ is defined as the outer measure generated by $\mathbf{P}$ on all the subsets of $\Omega$, and it's been proven that $\mathbf{P}^*$ is monotonic on every subset of $\Omega$. $\mathcal{M}$ is, in turn, defined as $\{ A \subseteq \Omega\ \mid\ \forall E \subseteq \Omega : \mathbf{P}^*(E) = \mathbf{P}^*(EA) + \mathbf{P}^*(E \overline{A}) \}$. Since $\mathbf{P}^*$ is proven to be subadditive, we can replace the predicate with $\mathbf{P}^*(E) \geq \mathbf{P}^*(EA) + \mathbf{P}^*(E \overline{A})$ which is sometimes easier to show.   So, here's the proof of the lemma in the exercise:  \begin{align*} \forall E \subseteq \Omega\ :\ &\mathbf{P}^*(EB) + \mathbf{P}^*(E\overline{B}) \leq \qquad (\text{by monotoniciy and } EB \subseteq B) \\ & \mathbf{P}^*(B) + \mathbf{P}^*(E\overline{B}) \leq \qquad (\text{by monotonicity and } B \subseteq A) \\ & \mathbf{P}^*(A) + \mathbf{P}^*(E\overline{B}) = \qquad (\text{by the lemma condition}) \\ & \mathbf{P}^*(E\overline{B}) \leq \mathbf{P}^*(E) \qquad (\text{by monotonicity and } E\overline{B} \subseteq E). \end{align*}  So, to sum it up, we have $\forall E \subseteq \Omega : \mathbf{P}^*(E) \geq \mathbf{P}^*(EB) + \mathbf{P}^*(E \overline{B})\quad\blacksquare$  The problem with this proof that I immediately see is that I haven't used the condition of $A \in \mathcal{M}$ (or I truly missed where I used it implicitly). Is it really not necessary, or have I done a mistake somewhere?

Prove that the probability triple $(\Omega, \mathcal{M}, \mathbb{P^*}) $ constructed from the Extension Theorem is complete.   Specifically, this problem asks us to show that, given any $A \subseteq \Omega$, such that $A \in \mathcal{M}$ and $ \mathbb{P^*} (A)=0$, and any $B \subseteq A$, then $$ \mathbb{P^*}(B \cap E) + \mathbb{P^*}(B^c \cap E) = \mathbb{P^*}(E).$$  The proof of this theorem posted below seemed fairly straightforward, but there are two issues (one of which has been previously asked by another user, without answer), which make me doubt it.   The text I am reading writes that, from this result, it follows $B$ has outer measure $0$, i.e.: $$B \in \mathcal{M} \implies \mathbb{P^*}(B)=0,$$ but doesn’t that result follow regardless of whether $B$ is in $\mathcal{M}$ or not?  The other issue is that the following proof does not seem to make use of the fact that $$A \in \mathcal{M}.$$  In fact, it seems we could rewrite the definition of a complete probability triple as follows:  Definition: If $A \subseteq \Omega$, such that $$\mathbb{P^*}(A)=0,$$ then $$S(A) \in \mathcal{M},$$ where $S(A)$ is the set of all subsets of $A$.  Proof:  By the monitonicity of outer measure, for any $E \subseteq \Omega$, $$\mathbb{P^*}(B \cap E) \leq \mathbb{P^*}(A \cap E).$$  Further, since $(A \cap E) \subseteq A$, $$\mathbb{P^*}(B \cap E)=0. \qquad (1)$$  Clearly, $(B^c \cap E) \subseteq E$, which implies $$\mathbb{P^*}(B^c \cap E) \leq \mathbb{P^*}(E).\qquad (2)$$  Putting $(1)$ and $(2)$ together $$\mathbb{P^*}(B \cap E) + \mathbb{P^*}(B^c \cap E) \leq \mathbb{P^*}(E).$$  Since outer measure is also subadditive: $$ \mathbb{P^*}(E) \leq   \mathbb{P^*}(B \cap E) + \mathbb{P^*}(B^c \cap E).$$  Thus $\mathbb{P^*}$ is additive on the union $B \cap E$ and $B^c \cap E$, for all subsets $E$ of $\Omega$, from which we conclude $B \in \mathcal{M}$.  $\square$


I have Catalina 10.15.6 There is something running in the background at /System/Library/Frameworks/Accounts.framework/Versions/A/Support/accountsd that takes 50-90% of the CPU and 1Gig of memory. I fear that it's a virus. I saw that there is a similar question , but there was no feedback. I tried to remove it with I run malwarebyte: it told me that there is no malware on the machine override rwxr-xr-x  root/wheel restricted,compressed for accountsd? y rm: accountsd: Operation not permitted I'm affraid of breaking somethin if I go further I tried to follow the following points of the comments/answers  I deleted all the account in `system preferences > Internet accounts'  I rebooted 2x the machine in safe mode by holding shift   Despite those steps nothing happened: the fan is still full on an almost all ressources of the CPU taken in <user>/Library/Keychains, there is the following list: login.keychain login.keychain-db login_renamed_1.keychain-db metadata.keychain metadata.keychain-db metadata.keychain-db.C07BBB57-D5A7-435B-9CAD-1AE65E5FBCC5  Which one should I delete? What finally solved the problem: So what finally solved the problem was to reset the NVRAM (Non-Volatile Random Access Memory) with the command alt+cmd+p+r upon starting thanks for hints below

Why are the accountsd and securityd processes using so much CPU on OS X 10.10.3? I am on a Early 2011 Macbook Pro.  What are these processes for? Is it safe to kill them? The machine has only been up 4 hours so has been rebooted recently.


Prove that in each year, the 13th day of some month occurs on a  Friday.  No clue... please help!

Everyone knows Friday the 13th is regarded as a day of bad luck. Why does every year have at least one of this bad day?


I am using QGIS 3.10.1, and I am trying to aggregate Census data (polygons) according to another set of polygons (neighbourhood areas that I have drawn). While I am able to clip the Census data to each neighbourhood, the census data polygon boundaries still show within the neighbourhood polygons, and is still separate data. Does anyone know how I can take all the census polygon data within a neighbourhood boundary and combine it in to one dataset showing averages / sum etc?

so I have a shapefile with buildings and the shapefile has the height of the buildings in the attribute table. I have a second shapefile with the districts the buildings are located in. Now I would like to count the mean height of the buildings in each district and add it to the attribute table of the districts. For raster data it would be easy using zonal statistics to get the mean for a specific area, but I cant figure out the solution for 'shapes within shapes'.


class OtherObject {     String innerString;     OtherObject(String x) {innerString = x;} }  class Playground {     public static void mutate(OtherObject toMutate) {         toMutate.innerString = toMutate.innerString.substring(toMutate.innerString.length()/2);     }      public static void mutate(String toMutate) {         toMutate = toMutate.substring(toMutate.length()/2);     }      public static void main(String[] args) {         String helloWorld = new String("Hello, World!");         OtherObject helloWorld2 = new OtherObject("Hello, World!");         mutate(helloWorld);         mutate(helloWorld2);          System.out.println(helloWorld);         System.out.println(helloWorld2.innerString);     } }   In this example, I have set two objects through method mutate and only one of the objects changed, as shown in this output:  Hello, World!  World!  Process finished with exit code 0   This confuses me because if I remember correctly:   Objects, when passed into methods are passing references, therefore even without returning, the object itself can be changed This is the same reason I can pass an ArrayList into a method and manipulate it without having to return the same ArrayList and assigning it to the previous ArrayList in main. String is an Object.   Why didn't the String helloWorld change?

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


Our web server was compromised about a year ago and we've finally had time to fix most of the issues that resulted in this. The only issue remaining is that multiple filenames were duplicated and modified.   Here's an example, also note that this only happened in our /var/www/ folder where all of our site .php files are.  Adapter13860111d520376a.php. Adapter13860117d52173717.php Adapter13860117d52383717.php Adapter13860117d52493717.php5 Adapter.php   Where Adapter is the original file.  While the original files don't seem touched (we've checked multiple in the folders that this were happening at) the duplicated files were, where the only contents in these files is this:  <?php eval("echo base64_encode('sitefolder');");   This happens in about of dozen .php files in our var/www/site folder.  So my question is, how can we removed all files that matches these filenames or based on the contents of these files?  Thanks.

I have a largish music collection and there are some duplicates in there. Is there any way to find duplicate files. At a minimum by doing a hash and seeing if two files have the same hash.  Bonus points for also finding files with the same name apart from the extension - I think I have some songs with both mp3 and ogg format versions.  I'm happy using the command line if that is the easiest way.


I have a widescreen monitor at work that I have rotated 90 degrees - effectively making it a "longscreen" monitor. I find the long profile much more useful for code.  I know I can use Win + Left/Right to move a window to the left or right half of the screen respectively, similarly Win + Up/Down will maximise or minimise.  The question is, are there a similar key combinations to move a window to the top or bottom half of the screen for when I am using the "longscreen" monitor?  edit: Since its a work controlled machine, it is hard to get software installed so a native solution would be best.

In Windows 7, I know you can do Windows + Left to put a window in the left half of the screen.  Is there a feature that will do top and bottom?


Who was Yoda's master? Did his master live during the Jedi-Sith wars?

I was looking through comics and the TV shows and I was wondering who trained Yoda in the ways of the Force. I could be wrong but I don't remember any mention of Yoda's master.


I have saved some text in a mySQL Database.   (field collation is utf8_unicode_ci     but I also tried with latin_).   When displayed in my HTML is shows a questionmark sign is a box (error, missing icon). The HTML file is utf-8. It's not the font since when I write it manually in the document it shows it, either with &reg; or $#174;  I've done this a million times and don't know why this happens now.

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


I installed apache2 using this command sudo apt-get install lamp-server^ but now when I start it by typing localhost in browser I only see message Index of / and there is no any files or folders.  Tried to create index.html and index.php but I got same results. Is there any fix for this?

I recently installed Ubuntu 14.04, then I installed lamp-server and placed my webpages in /var/www directory, but when I opened localhost in the browser there was nothing. I think that happened because Zend updated Apache.  Whatever the reason may be, I want to know where to keep my php files so that I can access them from my browser.


I am trying to export a result set into a csv file and load it to mysql.  mysql -e "select *  from temp" > '/usr/apps/{path}/some.csv'   The out put file is not importable. It has the query, headers and bunch of unwanted lines. All I want is just the COMMA delimited VALUES in the file, so that I can import it back.  What did I try so far?   Added |  sed 's/\t/,/g' - Did not help Tried OUTFILE but it did not work. Tried SHOW VARIABLES LIKE "secure_file_priv" which gave null.   OUTFILE will not work for me because I get the error "The MySQL server is running with the --secure-file-priv option so it cannot execute this statement". I cannot edit the variable secure-file-priv. And it has a null value right now.  I get the file output as below image. I used the alias mysql2csv='sed '\''s/\t/","/g;s/^/"/;s/$/"/;s/\n//g'\'''

Is there an easy way to run a MySQL query from the Linux command line and output the results in  format?  Here's what I'm doing now:  mysql -u uid -ppwd -D dbname << EOQ | sed -e 's/        /,/g' | tee list.csv select id, concat("\"",name,"\"") as name from students EOQ   It gets messy when there are a lot of columns that need to be surrounded by quotes, or if there are quotes in the results that need to be escaped.


When I want to start a new line, I've always used
. I'm wondering if there's a better way, however, that only uses Markdown. I'm aware that if you insert two line breaks, leaving a blank line, it works, like this:  But what if I don't want a blank line like you see above this line? I don't have a problem with using
, but it just seems like such a common task shouldn't require four extra characters when Markdown is supported.

How do I do a single newline/carriage return when typing a question or answer?  For example, if I wanted to write some columns with values as in an Excel spreadsheet. I see people do it all the time, but I don't know how. I read the formatting tips and all about the blockquote stuff... did some google'ing, but I still haven't found out how.  The only way I know to do newlines is by pressing the Enter key twice, which makes a new paragraph, creating an empty line, which is not what I want.


My question is the same as  but I'm working with ArcGIS and not QGIS.  I have a raster data set with values of type float.       And a polygon shapefile        I want to calculate mean of all raster cell values that are completely within the shapefile  In order to do so, I have used Extract by mask tool and now I have the following raster with NULL values for cells that are outside the polygon layer.        But there are 3 problems:     All parts of each masked pixel is not within the shapefile.       I want to mask just the pixels that are completely within polygon shapefile.     I don't know how to sum up all cell values in a masked raster?   I don't know how to count the number of such cells and calculate the mean?

I have Raster data for a country which has Evaporation Data in its pixels. I also have Vector layer which has the 30 cities of the country.   What I need is the average Evaporation value of each city from the raster data using ArcGIS?  I have access to the spatial analyst extension.


Recently, we bought a "HP-DL380 G6 Server" with 6 146GB (SCSI)HDD for our colleague course management application and website with 10000 daily visitors.  we want to choose the best RAID level. how can we choose the right RAID level ? what is the best RAID level for our application ?

This is a  about RAID levels.    What are:   the RAID levels typically used (including the RAID-Z family)?  deployments are they commonly found in? benefits and pitfalls of each?


When hearing about the two-daughter problem, I first thought it to be quite clear (after, of course, at first falling into the trap like many of us), but on the second glance, I encountered some serious problems with my understanding.  The original problem seems to be quite easy: Assume that the only thing you know about a man with two kids is that at least one of the kids is a daughter. What is the probability that the other kid is a daughter as well? (Boys and girls are assumed to be born equally often.)  After the first impulse ("1/2 of course!"), it becomes clear that it is only 1/3. The problem can be mapped to a situation where from the multitude of families with two children, only those with M/M are ruled out, while the equally often cases F/F, F/M and M/F remain, making F/F only one third of all remaining cases.  But now, meet Mr. Smith. I don't know much about him (except that he has two children), but when he approached me, he told me: "I am so happy! Victoria just got the scholarship she wanted!"  Now what is the probability that Victoria has a sister?  Since I only know that Mr. Smith has two children, and one is obviously a girl, I am tempted to map this onto the two-daughter-problem, leading to the answer "1/3".  But wait! What if I ask Mr. Smith first, if Victoria is his elder daughter? Assume his answer is yes (and ignore any problems with twins - even then one is typically a few seconds "older" than the other). So now I know that from the cases (F/F, F/M, M/F), M/F also drops out. And now, the probability for F/F just rose to 1/2.  Okay, but what if his answer is no? Then Victoria is the younger one, and F/M drops out. Again, the probability rises to 1/2.  So I'm going to just ask him: "Well, Mr. Smith, is Victoria your elder daughter? Wait - don't answer, because whatever you may answer, it doesn't matter. The probability just rose from 1/3 to 1/2."  Or, even better, I do not even have to ask him, just thinking about the question will shift probabilities to 1/2, which means that the original probability for Victoria having a sister must already have been 1/2. But then the mapping to the two-daughter-problem is obviously false.  Where is my error?  Making things worse, I could also create a setup where Mr. Smith just tells me: "I have two kids, and at least one of them is a girl." I then ask him: "Oh, can you give me a name of a daughter of yours?" and he answers: "Sure. Victoria."  (Side note: I have a gut feeling that this has something to do with how to assume probability distributions behind situations, similar to the , but I can't figure this out completely yet.)  -------- UPDATE --------  It seems that my error is that the question "Is Victoria the older child?" does not change the probabilities. If I know for sure that Mr. Smith was picked from an equally distributed (M/F, F/M, F/F) sample, then the knowledge that Victoria is the older child does not change anything, as was pointed out  here, and the probability for her having a sister is 1/3.  But it is very interesting that solely from the sentence "Victoria just got the scholarship she wanted!" I can NOT infer that Mr. Smith is indeed chosen from this uniform distribution.  Imagine that all kids have the same chance to get a scholarship, and the happy father will tell us if it is the case. Then it is actually twice as probable that Mr. Smith will tell us about his daughter's success if he has two girls, so the weighting of the four possibilities (M/M, F/M, M/F, F/F) is (0, 1, 1, 2). And in this case, the probability of Victoria having a sister is 1/2.  So another problem in my reasoning is the mapping of Mr. Smith's statement to the two-daughter-problem. Simply put, without knowing more about the circumstances that led to Mr. Smith telling me about Victoria, I simply can't say if the probability is 1/3 or 1/2.  Now I've got a headache...

In a family with two children, what are the chances, if one of the children is a girl, that both children are girls?  I just dipped into a book, The Drunkard's Walk - How Randomness Rules Our Lives, by Leonard Mlodinow, Vintage Books, 2008. On p.107 Mlodinow says the chances are 1 in 3.   It seems obvious to me that the chances are 1 in 2. Am I correct? Is this not exactly analogous to having a bowl with an infinite number of marbles, half black and half red? Without looking I draw out a black marble. The probability of the second marble I draw being black is 1/2.


I am not talking about technologies or stacks.  Stack Overflow is one of the largest  applications around, and I am interested in development methodology, testing methods and deployment methods used and employed for such a large site running over multiple servers. And multiple variations of the site.   What kind of user interface testing, regression testing, etc. is employed? How do you deploy to multiple servers? How are database updates / changes tested and deployed to the live environment? Any link or posts with details around this will be appreciated.   If this is in the incorrect place, apologies.  Edit: Links that are helpful, but not enough depth and breadth of detail (and not current):

What tools and technologies are used to build the Stack Exchange Network?  See also:


I have a mesh with a crooked origin. I understand how to center the Origin to its center of mass, a component selection or to the 3D Cursor. No issues here. What I can't seem to find is how to Align, or Oriente the origin to affect the Local Origin of my Object permanently. It seems that all Origin tools affect the Location of the Origin, but not the Rotation. Thoughts? -Berube

How can i change Local axis of this tire to be like the axis in example? I have no idea how to do this. Is there any way i can achieve this? I'm a beginner.  If i can rotate the object without rotating the local axis, I can achieve what i need. But i don't know how to do it. Any help Appreciated.


I cannot figure out how to allow a user (in this case test) to only be able to run the apt-get update command with the sudoers file. When ever I try to add the user and then test it out it still does not allow the user to run the command.  Can someone please help me out? I have been researching this all day and can still not figure it out. I am probably typing in something wrong.  I'm using Ubuntu 14.04.

Background: I have a development machine with LAMP setup. Several developers would access the machine from time to time. Every time they make some change in a configuration file they will need to restart the apache server using sudo service apache restart or sudo /etc/init.d/apache2 restart  The Question:  What I want now is that every developer who accesses the machine does not have a sudo access to everything. Rather, he/she should only be able to run the service command using sudo and nothing else. Is it possible to do that?


I have a Roth IRA.  It has a mutual fund in it (FFFFX), and simply because that's what it started out with, that's what I keep buying when I put my 5.5k in each year.  I'm 35 years old.  I'm starting to wonder if I should more actively manage the IRA - or maybe move to an index fund, or my bank's fund.  I'm not a professional investor.  For someone like me, is it generally good advice to leave everything in a mutual fund like mine?  Or might I be better off becoming more involved (diversifying; but isn't that what mutual funds already do?) or switching to an ETF?

I recently rolled over an IRA had to select how to divvy up my portfolio and choose securities. I largely stuck with index funds but I have to be honest I wasn't exactly sure what I was doing/choosing.   How can one navigate which fund to choose when presented with so many options? What should one look out for if they are a conservative investor wanting moderate growth without sacrificing principle.   The amount I rolled over was only a few thousand dollars but it does represent all the retirement funds I have (25 years old).  My portfolio break down looked something like this:  55% Domestic Fixed Income  24% Domestic Equity  10% International Fixed Income  10% International Equity  1% Specialty  An example of a fund I picked for each category would be (I picked multiple funds in each category):   DFI Delaware National High Yield Municipal Bond Fund Institutional Class (DVHIX)  DE 500 Index Fund Signal Shares (VIFSX)  IFI Ivy Global Bond Fund Class I (IVSIX)  IE Tax-Advantaged Global Dividend Opportunities Fund (ETO)  S PIMCO CommodityRealReturn Strategy Fund Class D (PCRDX)  I am not looking for people to tell me if these funds are bad or good (unless they are terrible and will cause me to lose everything then tell me)   But rather as you can see this is what I picked without much knowledge is there significant difference between the plethora of options offered from companies such as TDAmeritrade and how can I best navigate moving forward?  Thanks


how do you allow only certain hostname in Nginx so that one can only access myhostname.example.net but not example.net?

I have two domains: staging.abc.com and www.example.com pointing to the same server IP in my DNS. I don't have a site enabled/available for staging.abc.com, but I have one for www.example.com. However, whenever I access staging.abc.com, it points to www.example.com.  Here are my confs. My /etc/nginx/nginx.conf is default. I didn't change anything.  I don't have a sites-available/default. It's been removed.  # sites-available/example server {   listen 80;   server_name example.com;   return 301 http://www.example.com$request_uri; }  server {   listen 80;   listen [::]:80;    root /home/deployer/example;   index index.php index.html index.htm;    server_name www.example.com;    location ~* .(jpg|jpeg|png|gif|ico|css|js|woff)$ {   expires 30d;   }    location / {     try_files $uri $uri/ /index.php?q=$uri&$args;   }    error_page 404 /404.html;    error_page 500 502 503 504 /50x.html;   location = /50x.html {     root /usr/share/nginx/html;   }    location ~ \.php$ {     try_files $uri =404;     fastcgi_split_path_info ^(.+\.php)(/.+)$;     fastcgi_pass unix:/var/run/php5-fpm.sock;     fastcgi_index index.php;     include fastcgi_params;     fastcgi_read_timeout 300;   }    include /home/deployer/example/nginx.conf; }   # nginx.conf user www-data; worker_processes 4; pid /run/nginx.pid;  events {         worker_connections 768;         # multi_accept on; }  http {          ##         # Basic Settings         ##         charset utf-8;         sendfile on;         tcp_nopush on;         tcp_nodelay on;         keepalive_timeout 65;         types_hash_max_size 2048;         # server_tokens off;         proxy_read_timeout 300;          # server_names_hash_bucket_size 64;         # server_name_in_redirect off;          include /etc/nginx/mime.types;         default_type application/octet-stream; ...   I tried inserting this to the http block but to no avail:  server {     listen      80;     server_name "";     return      444; }   Here's what I want to achieve:   Changes are preferably done on sites-available. The server should not resolve any connection (returns 444) for all domain names that have not been assigned to any app.


The ArcGIS Desktop tools  and  read from [Shape] column and write the shape XY properties to new X and Y columns. I need to go the other direction, from X and Y columns to the [Shape] XY properties. It is a point feature class already, not a bare table.   isn't applicable because creates a new feature class.

I have changed the coordinates of couple points in the attribute table and I want to update the location. I have found the script that is working in field calculator.   Does anybody know how to write it using a Python script in ArcGIS Desktop (not in Field Calculator)?  def XYsetVALUE( shape, X_value, Y_value):    point = shape.getPart(0)    point.X = X_value    point.Y = Y_value    return point  __esri_field_calculator_splitter__ XYsetVALUE ( !SHAPE!, !X_COORD!, !Y_COORD! )   COORDINATE FIELD TYPE ------ STRING !!!!


If we take the infinite monkey theorem: , and with a bunch of "infinites" and "randoms", we can generate any text we wanted. What about $\pi$? If we wrote down $\pi$ to an infinitely large file, and somehow converted the digits to ASCII values, would that file (and, with some transformation also $\pi$) contain all the Shakespeares works? And Harry Potter 8 book and 4k movie? Or is there some property of $\pi$, that makes that impossible? What about other numbers, eg 'e'?

Can anything be stated about the distribution of the digits of Pi, i.e., if I were to sample n digits of Pi, can anything be said about the probability to observe certain digits, or is there any reason to assume that they would not be evenly distributed? This is purely a curiosity question.


In Beamer, I used the following code to show ToC at the beginning of each section.  \AtBeginSubsection[] {   \begin{frame}<beamer>[allowframebreaks]{Outline}    \tableofcontents[currentsection,currentsubsection,subsectionstyle=show/shaded/hide]   \end{frame} }   Then the problem is the ToC is not shown at the last section 'Conclusion' because there is no subsection under 'Conclusion' section.  So I used the following code to show ToC at the beginning of each section.  \AtBeginSection[] {   \begin{frame}<beamer>[allowframebreaks]{Outline}     \tableofcontents[currentsection]   \end{frame} }   Now the problem is ToC is shown twice at the beginning of 'normal' sections (with subsections). How can I show ToC at the beginning of Section 'only if' there is no subsection under it?

My presentation consist of multiple sections. Some sections consist of subsection and some not. I want beamer to display the TOC before every subsection and before every section which consists of no other subsection.  Currently, i write in the preamble:  \AtBeginSection[] {     \begin{frame}<beamer>     \frametitle{Inhalt} %     \tableofcontents[currentsection]       \end{frame} }  \AtBeginSubsection[] {     \begin{frame}<beamer>     \frametitle{Inhalt} %     \tableofcontents[currentsubsection]       \end{frame} }   As a result, if a section consist of subsecitons beamer displays the TOC twice before the first subsection in a section, one time for the section and one time for the subsection. That is ugly in my opinion. What can i do?


I have some files named as A1.txt A2.txt ... A11.txt A12.txt, etc. I want to rename them to A0001.txt A0002.txt ... A0011.txt etc. Am I doing it right?  for file in A*.txt do mv ${file} ${file/-#.txt-/-"%5d".txt} done

I've got bunch of files with ill-formed numbering:  prefix-#.ext       | for files with number 1-9 prefix-##.ext      | for files with number 10-99 prefix-###.ext     | for files with number 100-999   Due to further processing I need all of their names to be in format: prefix-###.ext. Is there any easy way to do that?


public  boolean equals(Object o) {     boolean result = false;     if(o!=null && o instanceof Person)     {          Person anotherperson = (Person) o;         if(this.getName() == anotherperson.getName() && this.getCal() == anotherperson.getCal())         {             result = true;           }      }     return result; }  public int hashCode() {     return getName().hashCode() ^ getCal().hashCode(); }   } /////////////////////// what I need to happen is the equal method will compare if the inputed values are identical or not identical, right now it shows not Identical no matter what I change, It seems theres a problem comapring 2 objects in boolean equals.

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I am referencing an API for developing an application for a social platform called Mixi. I am stuck at a point where it says the following: For a parameter to be passed correctly to payment API, the string must be URI escaped according to :      All parameter names and values are escaped using the [RFC3986]   percent-encoding (%xx) mechanism. Characters not in the unreserved   character set ([RFC3986] section 2.3) MUST be encoded. Characters in   the unreserved character set MUST NOT be encoded. Hexadecimal   characters in encodings MUST be upper case. Text names and values MUST   be encoded as UTF-8 octets before percent-encoding them per [RFC3629].  unreserved = ALPHA, DIGIT, '-', '.', '_', '~'    I am really confused looking at this page. I intend to do this in Javascript/jQuery. Is there a simple way or function to achieve this ? Please suggest if there is some external library that can do this if jQuery directly can not.  Regards

How do you safely encode a URL using JavaScript such that it can be put into a GET string?  var myUrl = "http://example.com/index.html?param=1&anotherParam=2"; var myOtherUrl = "http://example.com/index.html?url=" + myUrl;   I assume that you need to encode the myUrl variable on that second line?


How is it possible to make the Search module multilingual?  Now all my result on mysite/search/node are not filtered (ENG + FR are mixed).

I have a site with 4 languages and am using the builtin search to look for content on the site. How is it possible to restrict the search results only to the currently selected language?  I tried looking into Configuration > Search Pages, but do not see any way how to do that there.


When creating tikz pictures I quite often think that it would be quite useful to display a coordinate grid like this  in the background of my picture in order to align certain points, lines, etc.    I found  in which plenty of ways were described for drawing a grid but each of those need an explicit specification on how big the grid has to be. However I want the grid to automatically span the whole image background without having to adjust its size whenever I add another point to the image.    After digging through the manual I found the backgrounds library which has an option (gridded) that almost fits my needs. The only thing missing are the coordinate labels.  \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{backgrounds}  \begin{document}      \begin{tikzpicture}[gridded]         \draw[red] (-1,0.7) -- (5,-2.3);     \end{tikzpicture}  \end{document}   produces     My question is: How can I add the coordinate labels to this grid? If someone can tell me how to get the image boundaries - that is the rectangle containing the current image - it should be rather trivial to add the coordinate labels...

In PSTricks, we can toggle the grids easily by showgrid=[false/true]. How to do it in TikZ? Doing as follows is tedious.    \documentclass{minimal} \usepackage{tikz}  \begin{document}   \tikzpicture  \draw[gray,very thin] (-4,-2) grid (4,2); \foreach \x in {-4,...,4}   \draw[red] (\x,-1.9) -- (\x,-2.1) node [below] {\x};   \foreach \y in {-2,...,2}   \draw[red] (-3.9,\y) -- (-4.1,\y) node [right] {\y};  \draw (0,0) circle (2);   \endtikzpicture    \end{document}   Is there the easiest way to toggle (show/hide) navigational grids in TikZ?  Edit  The navigation needs not only the grids but also the labeling numbers.


I'm deploying an liferay portal in a cluster which has 2 node load balanced, and config both to access to the same data location in a SAN storage devide. The problem is each node can not see the other changing, i.e when node 1 add new image, node 2 can not find this image without mounting the san devide. So, any one ever successfully deployed a cluster like this.  I've found one solution is GFS2, but I want to use ext3, because it very simple. Thanks!

I have a SAN Storage connected to my servers using fibre HBA. Using multipath, I've successfully mapped the device, formatted it as ext3, and mount it to my file system.  But the problem is, the host can't see the files other hosts copy to the shared disk without re-mounting the device.  I'm using CentOS 6.4


This particular blend file is messed up. I'm not sure what I did or pressed. If I open a new blend file everything works fine but in this one the materials tab is missing and the render properties is also missing some things. I don't want to start over my project. I have tried a day and a half to figure this out.

so I'm working on a little bathroom scene and wanted to make a clay render. I started looking for the material override which I kinda knew where it was and on the way I switched my render engine accidently to workbench instead of cycles. Switched to cycles all my seetings on the render tab are missing except color management and free style. Hows that? I restarted blender multiple times and tried some other stuff but nothing changed a thing, and I'd rather avoid a new installation


Which one is correct?   statistical models for process monitoring Statistical models for processes monitoring.

Especially in IT it is often neccessary to write chains of nouns like "Messages List" because one cannot use "The list of messages" for variable name in a programming language. I can't understand how to construct them correctly for plurals, ex. "Message list" or "Messages list" ? What grammar rules concern this subject?  As a maybe special case, I'm interesting in naming the number of something, ex. the number of apples. It is common to use "apple count" (altough 'count' means counting, not quantity). What is right, "apple count" or "apples count", and why?  I found  question. Maybe both forms are allowed?


complete novice at Ubuntu. Trying to set up minecraft to play through Ubuntu but saying I need to install plug ins to see them and my minecraft won't play as it's a jar file instead of a exe file?

How do I install Java, including in my browser, so websites with Java work?


Scenario  I am executing a stored procedure using ADO.NET SqlCommand:  cmd.CommandType = CommandType.StoredProcedure; cmd.CommandText = "sp_Trk_GetSuspiciusVisitor"; cmd.Parameters.Add(new SqlParameter("channel","gb")); cmd.Parameters.Add(new SqlParameter("data", DateTime.Today.AddDays(-1))); cmd.Connection = conn;   I would like to log the executed sql statement. In this case I would like to log the string:  sp_Trk_GetSuspiciusVisitor 'gb', '2012-08-12'   Question  Is there any property of the SqlCommand or of the SqlConnection classes that does the job?

I have the following code:  Using cmd As SqlCommand = Connection.CreateCommand     cmd.CommandText = "UPDATE someTable SET Value = @Value"     cmd.CommandText &= " WHERE Id = @Id"     cmd.Parameters.AddWithValue("@Id", 1234)     cmd.Parameters.AddWithValue("@Value", "myValue")     cmd.ExecuteNonQuery End Using   I wonder if there is any way to get the final SQL statment as a String, which should look like this:  UPDATE someTable SET Value = "myValue" WHERE Id = 1234   If anyone wonders why I would do this:   for logging (failed) statements for having the possibility to copy & paste it to the Enterprise Manager for testing purposes


I am planning to rent a convertible when I am in Toronto this September, and drive around with the top down. My worry is whether the climate will be suitable for this?

I am interested in hiking this fall in France and camping along the way. In order to figure what gear I need to pack to camp (particularly for the sleeping bag), I would like to know what temperatures to expect.  I am interested in historical temperatures to figure the usual temperature and I might look at them for other seasons. If that matters, I am thinking about hiking in the Pays Basque (South West of France), the mountainous part.  Where (ideally online and for free) can I find such data? Are there resources that cover Europe, or even the whole world?


What's the simplest way to code against a property in C# when I have the property name as a string?  For example, I want to allow the user to order some search results by a property of their choice (using LINQ).  They will choose the "order by" property in the UI - as a string value of course.  Is there a way to use that string directly as a property of the linq query, without having to use conditional logic (if/else, switch) to map the strings to properties.  Reflection? Logically, this is what I'd like to do: query = query.OrderBy(x => x."ProductId");  Update: I did not originally specify that I'm using Linq to Entities - it appears that reflection (at least the GetProperty, GetValue approach) does not translate to L2E.

I found an example in the  for Dynamic LINQ that allows you to use a sql-like string (e.g. OrderBy("Name, Age DESC")) for ordering. Unfortunately, the method included only works on IQueryable<T>. Is there any way to get this functionality on IEnumerable<T>?


Proposal  All new sign-ups* should be required to obtain the Informed badge, which simply means taking the tour, before they are allowed to post their first question or answer.  * During the feature launch transition period, this could include all existing profiles with <100 points.  Rationale  I think if new sign-ups take a moment to go through the tour and have a basic understanding of how the site functions, it will greatly reduce the amount of uninformed misuse we get from the new signups. Some of these include:   Treating the site like a forum (posting their follow-ups as answers) Not taking some time to phrase and format their questions properly (esp doing code dump) Not upvoting or using the green checkmark. Wrongfully downvoting answers that are attempting to help asker, but are not quite there yet (yes, this actually happened!) (This requires some rep, so not applicable.) Not tagging properly (just putting one tag because user is forced to). Asking questions that shouldn't be asked in the site. Not being aware of the ability to edit questions or answers.   Edit:  Comparing  (a very short and visually interesting overview of the site) to an  (a long, boring, full-text legal document) is not a fair comparison.  People who aren't going to bother to read, still won't. But people who will read, would only need to be encouraged to read and they will. (Mandating something is also a form of encouragement; severe I admit, but effective.)  About it being a barrier, it's a rather easy barrier to cross, and anyone who can get along just fine without it, can also get along just fine crossing it easily.  I don't propose this to be a one-size-fits-all solution, but at least it could help reduce some of the problems. We can't be searching for that ONE solution that will solve ALL problems on the site, but rather solve each problem with a unique solution tailored to it. We have to let all the solutions work together in solving all the problems plaguing the site.  So this is proposed as a solution to take care of a few problems in the site, not everything.

Do not allow people to post the minute they created an account.  Let them ask the question but not allow them to post.  Let them stew for 30 minutes and force them through a nice animated tutorial on what they should do before they post and enforcing the fact that bad questions will not get an answer.  If they had a Need to know! basic rules introduction forced on them asking them at the end to check a box I understand! some might ask better questions and help the community instead of flooding the site with bad questions.  The presentation should be on a timer without the ability to skip and highlight the similar questions asked before that might give them the answer.  Also for the first next 9 posts they should have to check a box next to the first 5 of each similar questions before posting.  I do not mean to be harsh, but the truth is I see more negative votes on questions then positive. It's like 90% of the time people give -1 to first questions.


I accidentally deleted the Ubuntu partition. All I get now is the grub rescue prompt. I have a Live USB from Ubuntu but I cannot do anything with it. I changed the boot device priority from BIOS but it still won't boot from anything. I have read other similar posts but on most of them, booting from a live usb/cd is suggested.   However, that doesn't work in my case, as described. The ls command first shows something like   (hd0), (hd0,msdos2) , (hd0,msdos3), (hd1), (hd1, msdos1)    and when I try ls on each of them it says unknown file system.

After I deleted my Ubuntu partition, I rebooted my computer and I only get a prompt:   grub rescue >   The command ls lists   (hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos1)   I check them one by one:  ls (hd0,msdos5)/ ls (hd0,msdos1)/   But I cannot find the right partition.


I have a very simple question on C# and C++: is it a good practice to use return in try block? A long time ago I heard that it can produce some troubles for a compiler. But probably the modern compilers can handle this situation. Sample code:  try {    //do something    return 25;    //do something else } catch (Exception) { }

So I came across some code this morning that looked like this:  try {     x = SomeThingDangerous();     return x; } catch (Exception ex) {     throw new DangerousException(ex); } finally {     CleanUpDangerousStuff(); }   Now this code compiles fine and works as it should, but it just doesn't feel right to return from within a try block, especially if there's an associated finally.  My main issue is what happens if the finally throws an exception of it's own? You've got a returned variable but also an exception to deal with... so I'm interested to know what others think about returning from within a try block?


I understand the interpretation of what occurs when we plot residuals for a normal probability plot, but I am trying to recollect/understand what we are plotting those residuals against?  It would make sense to plot the residuals against the theoretical "error" values, but we don't have those. So what is it we are using per se? This is all under the assumptions of a simple linear regression where the errors are assumed to be normally distributed with constant variance. I should also add this is at the level of an introductory course on linear regressions.

I'm sorry if this is a broad question but can someone explain to me how to interpret these regression diagnostic plots? I understand the Normal Q-Q show's how normal the spread of the data is, but the other three I am confused by. For the Residuals vs Leverage, what does it mean for a point to be outside of the bounds? What does it mean if the red lines are parabolic and curved like in the first two? Why do we care about residuals, and what do they tell us? I've searched the web multiple times for some guide to interpret these and I can't get any straight forward answers. Any help is appreciated, thank you.


I need to view the assembly code produced for certain C functions.  What flags should I use when compiling the C code using the g++ compiler?

How does one do this?  If I want to analyze how something is getting compiled, how would I get the emitted assembly code?


In the Sorcerer's Stone, Snape was playing with the Quirrell the double agent job. He was persuading him to find out how to get the stone.     "Have you found out how to get past that beast of Hagrid's yet?"   "B-b-but Severus, I --"   "You don't want me as your enemy, Quirrell,"   said Snape, taking a step toward him.   Harry-Potter-and-the-Philosopher's-Stone, CHAPTER THIRTEEN   But in the Quidditch match Snape       saved Harry and Quirrell knew that.    Later Harry discussed with Quirrell:      "But Snape tried to kill me!"  "No, no, no. I tried to kill you. Your friend Miss Granger accidentally knocked me over as she rushed to set fire to Snape at that Quidditch match. She broke my eye contact with you. Another few seconds and I'd have got you off that broom. I'd have managed it before then if Snape hadn't been muttering a countercurse, trying to save you."  "Snape was trying to save me?"  "Of course," said Quirrell coolly. (...)  Harry-Potter-and-the-Philosopher's-Stone, CHAPTER SEVENTEEN   How is it possible, that Voldemort trusted Snape later so much?  And that nobody brought this up. (I know, it may be out of screen, but Snape's position seems pretty strong)

In , a good answer is given regarding how Snape shot down suspicions that he was a double-agent by explaining his opposition to Quirrell in the matter of the Philosopher's Stone. Snape didn't know that Voldemort was back (possessing Quirrell), and he was opposing Quirrell, not Voldemort. Snape was brilliant.  But it doesn't seem to me that this would also explain why Snape would stop Quirrell killing Harry Potter during the Quidditch match. In the movie, Quirrell tells Harry what happened and of course Voldemort's right there hearing it all from the back of Quirrell's head -- if he didn't know from the start, or perhaps even directed Quirrell's efforts to kill Harry in the first place.  Wouldn't Snape's defense of Harry raise a second suspicion that could not be as easily answered as the first?


I'm always struggling to understand the rule behind "a" and "an". Can someone point me to a general rule or explain me when to use what? How do I correctly write about an icon is it "an quiz icon" or "a quiz icon"?

In the following example, is it appropriate to use a or an as the indefinite article, and why?     He ate __ green apple.   I know that in the case of just "apple", it would be "an apple," but I've heard conflicting answers for "green apple," where the noun is separated from the article by an adjective.  Also, which is more appropriate in this case:     He ate  __ enormous Pop-Tart.


I am a Chinese student in the UK. I just got my Schengen visa from Norway. They only gave me a single-entry visa, from 3rd July to 25th July, and I can only stay in there for 8 days. I will be in Norway from 3rd July to 10th July, that's fine.  However I need to travel to Italy on 18th July, and back to the UK on 23th July. Can I apply for a new Schengen visa for Italy in a situation like this?

I am traveling to Germany on May 1st for an exhibition for which I have already obtained a visa and its validity is up to May 13th. I am returning on May 12th and then traveling on May 17th to UK, and from UK to Switzerland for vacation with family. As time is very short for applying for a Schengen visa again after returning on the 12th with May 13-14 being a Saturday and Sunday, can I apply for Schengen visa again and can I get 2 valid Schengen visa?


I've just purchased a new hard drive (3TB Western Digital Green) with the intention of transferring everything from my hard drive that has sector issues and is causing BSODs.  The problem is, the new hard drive is showing as only 746GB. The computer is an old Dell Vostro 430 i7 and I couldn't find any relevant information about it in the BIOS, however disk management will not let me use the full disk when I try to create a partition.  I've also tried creating it as a GPT drive but that only gives me an extra couple of GB, way off the 3TB advertised. I've looked online and this usually fixes it, other problems are to do with the enclosure etc but this is just an internal drive connected via SATA.  Thanks

in BIOS , UEFI Boot is enabled , ACHI Mode is selected , and the 3TB Hard disk (Seagate ST30000DM001) is installed at SATA Port 3.  However, in Windows 7 64-bit, 3TB hard disk is displayed as 746GB, no matter how do I format or set the settings. I use GPT as partition table ( as suggested by Windows , > 2TB should use GPT ).  How can I get back the full 3TB storage ?  p.s. Motherboard is Intel DH55HC and Intel Rapid Storage Technology software shows the disk capacity is 2.862GB .  p.s. Operating System is Windows 7 Ultimate , 64-bit    UPDATE Somebody marked this question as a duplicate of similar issue with USB closure. But this question is about hard disk directly attached to motherboard via SATA cable.


I am an Indian citizen, holding a valid visa for USA. I will be traveling to the United States via Munich, Germany. I have 10 hours of layover at Munich. I would like to visit Munich during the layover. I have two questions.   Do I need to apply for a Schengen Visa before my travel? I understood that, Schengen Visa needs proof for hotel reservation and a local address. I do not need a hotel accomodation and a local address, as I will be traveling to the USA. Can I get a Schengen without hotel reservation and a local address?   Appreciate if anyone can guide.  ~SAM

I found many related questions on this site but I am still not sure about the rules. How can I decide if I need a visa to transit? Schengen members as of May 2021 are as follows:  Austria Belgium Czech Republic Denmark (excluding Greenland and the Faroe Islands - but an open border with the Schengen Area is maintained) Estonia Finland France (excluding overseas departments and collectivities) Germany Greece Hungary Iceland Italy Latvia Liechtenstein Lithuania Luxembourg Malta Netherlands (excluding Aruba, Curaçao, Sint Maarten and the Caribbean Netherlands) Norway (excluding Svalbard) Poland Portugal Slovakia Slovenia Spain (except Ceuta and Melilla) Sweden Switzerland


I am not 100% sure (how could I be?), but there are times when I feel myself being biased towards voting for answers because they have already received a lot of votes. If this were true, this would cement early answers with some early votes at the top, because people keep voting for the top-voted answers.  Hypothesizing that I might not be the only one to fall prey to this kind of bias, I propose an option to hide the number of votes on answer. Answers may still be ordered by the number of votes, but they don't have to be visible really (basically hiding whether two subsequent answer are almost tied, 51-50, or very different 100-1).

I think it would be useful to hide votes on existing answers for the first X minutes of a question's life. Early answers have a higher chance of being upvoted, so if you're ten minutes late to the show, your answer will be the last one displayed even if it's great.  Not everyone will check all answers to a question, especially if the first one already has some upvotes.  Also, there's another twist to it. Seeing an answer with 5+ votes, some will assume it's the best one without even looking at the others, due to herd mentality.  The main upside to this would be that others are not influenced by existing votes when they cast theirs. This doesn't have to occur for everyone (the OP could still see the votes in case he's looking for a quick solution, and answerers could see the votes on their own answers).     And... what if the answer is wrong? Indicating that it's wrong early is very, very good.   Of course it is, but then again, a wrong answer that appears to be right that has several upvotes is very, very damaging (especially if it reaches a score of 10+). From my experience, in C++, this is highly visible with undefined behaviour. An explanation for some piece of code comes along, which may make sense or even apply to a particular compiler, and be taken for granted, when, in fact, the answer is wrong.


When rendering an image in cycles render, I find that lots of the time is spend rendering completely blank tiles, especially when I have high samples. Is there any way for blender to know when a tile does not have anything in it and skip rendering it? If not is there any add on that can help with this? Thank you for all your help.

If I wanted to create an animation, each frame would have several seconds of rendering a completely transparent part, which adds up obviously. Is there a way to eliminate this waste of time?


Is there a way to tell python that I want to perform (all) my aritmetics rounding the results (always) to 3 decimals?

I want a to be rounded to 13.95.  >>> a 13.949999999999999 >>> round(a, 2) 13.949999999999999   The  function does not work the way I expected.


I have just upgraded from 16.04 to 16.10 then 17.04 through the system upgrades method and after logging in, I get a black screen and my mouse cursor once the KDE loading finishes.  Normally there used to be a wallpaper, a taskbar at the bottom, and I could use alt+f1 to open the KDE search for application and/or files.  I can still control the system using a terminal(ie open system settings or chromium) with my ctrl+alt+t shortcut to open one, however I would like to recover KDE to a working state and I can't find a dupliate that would fix this since I don't primarily use the console for everything and don't know a lot of the commands.  If it helps, I  have an Intel processor and graphics card

I am a newbie in Linux. I decided to install Kubuntu 11.10 on it and I already have personalized it quite a bit.  I've also realised that Linux is much more sensitive when you reboot it in comparison to Windows! ;)  I switched off the laptop once without properly pressing reboot, and since then the buttons and the writing in the windows in the very top seem too big.  Looks like a bug to me. And if you make the windows smaller it looks really strange and the close and minimize and resize buttons disappear.  I have already once fixed this by inserting the kubuntu cd, but I've forgotten how I did it. I think it was something like restore distribuion or so, but all personalizations kept the same, only the windows were displayed normally (which I of course intended!)  So, how can I restore KDE?


When I run a command through strace utility I can see access errors such as   access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)  Now I've read somewhere that what's happening on the above line is that a linker is looking for optimized version of the command that I'm running but can't find it.  How do I solve this problem ? What package do I need to install so that I can have that ld.so.nohwcap file on the system ? Even if not for optimization purposes but just to get rid of these errors in strace ?

What is the file /etc/ld.so.nohwcap used for?. In my machine (Debian 7), this file is not found. Therefore, Which package or library this file belongs to?


I recently updated to Catalina, and am now unable to open books (ePubs/PDFs alike) via Books. These books are there, I can drag them out to my Desktop or sync them to my iPad, but they do not open in Books.  Instead, an alert is displayed with the following text:  The operation couldn’t be completed. (BKAgentServiceErrorDomain error 8.) A black-HUD-ed spinner appears on the book's icon, spinning indefinitely.  How do I resolve this issue?

I recently updated to High Sierra, and am now unable to open books (ePubs/PDFs alike) via iBooks. These books are there, I can drag them out to my Desktop or sync them to my iPad, but they do not open in iBooks.   Instead, an alert is displayed with the following text:  The operation couldn’t be completed. (BKAgentServiceErrorDomain error 8.)   A black-HUD-ed spinner appears on the book's icon, spinning indefinitely.  How do I resolve this issue?


I have a 16 GB flash drive formatted as FAT. When I plug the flash drive into my Dell Laptop running Ubuntu 14.04, I can read and write with no problem, but when I plug the same flash drive into my Dell Tower running Ubuntu 16.04, it sets up as read only. Below are results for report file system disk space usage (df -Th) and list directory contents showing permissions (ls -la) at each location. I am logged in as user at both locations.  Why are the permissions showing up different at each location? What can I do to set the flash drive to read and write on the Dell Tower running Ubuntu 16.04?  I have tried sudo chmod 666 /dev/sdc1 but that has no effect on permissions. I have also tried sudo chmod 666 /media/user/EBC2-93C8 same thing.  Dell Laptop Ubuntu 14.04  $ df -Th /dev/sdb1      vfat       16G   72K   16G   1% /media/user/EBC2-93C8  $ ls -la /media/user drwx------  3 user user 8192 Jan 16 16:09 EBC2-93C8   Dell Tower Ubuntu 16.04  $ df -Th /dev/sdc1      vfat       16G   80K   16G   1% /media/user/EBC2-93C8  $ ls -la /media/user drwxr-xr-x  3 user user  8192 Dec 31  1969 EBC2-93C8     I tried the solution posted at    Unmount the flash drive from nautilus, but do not remove it.  sudo mkdir /media/flash sudo mount /dev/sdb1 /media/flash -o dmask=000,fmask=111   It did not work right away. I had to unplug the flash drive and plug it in again. Now it works! Will this fix persist even after I reboot?  Thanks!  Follow-up notes......  the media directory now has two sub directories: user and flash.  after I rebooted the Dell Tower Ubuntu 16.04 machine and plugged in the flash drive, it appeared in the user folder.  but it appears read/write privileges have returned.  sudo fdisk -l  Disk /dev/sdc: 15.1 GiB, 16225665024 bytes, 31690752 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: dos Disk identifier: 0x9c767207  Device     Boot Start      End  Sectors  Size Id Type /dev/sdc1  *     5968 31690751 31684784 15.1G  c W95 FAT32 (LBA)   df -Th  /dev/sdc1      vfat       16G  152K   16G   1% /media/user/EBC2-93C8   ls -la  total 16 drwxr-x---+ 3 root root 4096 Jan 16 17:39 . drwxr-xr-x  4 root root 4096 Jan 16 17:20 .. drwxr-xr-x  3 user user 8192 Jan 16 17:43 EBC2-93C8   what's the little plus sign doing there?  also, I tried several variations of chmod.  sudo chmod 666 /dev/sdc1 sudo chmod 600 /dev/sdc1 sudo chmod 666 /media/user/EBC2-93C8 sudo chmod 600 /media/user/EBC2-93C8   none seem to work. oh well.

I am using Microsoft Visual C++ on Windows and Qt Creator on Ubuntu. I can't change permissions on my flash drive (FAT32), even as root.  How can I change permissions on a FAT32 flash-drive?


I'm trying to go onto some Minecraft servers today, but it never works.  It just pops up with  Internal Exception: io.netty.handler.timeout.ReadTimeoutException   I'm new to Minecraft, so I don't really know what this means.  Any help?

Similar to  on the bugs in Minecraft, I would like a complete list of what error codes exist in Minecraft and how they occur, as well as how they can be resolved.


I did a lot of search but things looked very complex, I just cannot believe it will be such difficult.  So I think some tutorial may be written long time ago and thing could already became easier. To be pretty clear what I should do, I have to raise this maybe duplicated question.  I am a Slackware user, had no experience in Ubuntu.  I just got a new laptop installed with Windows 10. I then bought a new SSD disk for it and decided to install Ubuntu 18.10 onto this new disk and dual boot the laptop along with the existed Windows 10.  The windows 10 is booted by EFI and I've already disabled 'fast boot' in Windows.  I dumped (dd) the Ubuntu 18.10 to an USB stick and booted it to execute the installation.  I did not see any options like 'install alongside windows', so I choose to manually create partitions and told the installer the mount points. Of course, I did every thing on the new disk, did not change anything on the old disk that hosted Windows 10. Basically, I created three partitions, one for root, one for home and one as swap.  The installation went so smooth and it can even detect the Internet connection. Just after a while, the installation completed.  But the real problem I met is, there is not a new EFI boot option after reboot the laptop. Whatever I tried, it seemed like I've already installed the Ubuntu, but just cannot boot it.  What should I do?  Some net tutorials said I have to erase everything and install Ubuntu first, this is not an option to me. I can erase the 2nd disk, but cannot damage the first disk, because this is my company's computer. IT department will not install Windows for me after the laptop has already installed a Linux.  Please someone help. Thanks. woody

I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu.   How can I get Ubuntu back?


If you'll star message in chat transcipt as interesting via drop down menu by selecting an item "star as interesting" in the result you'll see the following:     You have starred and pinned this message.           But I don't have an ability to pin a message, I'm not a room owner (anymore).

Whenever I star a message in chat via the transcript, the chat transcript gets very confused. These are snippets of the Transcript and Live Feed for the same message:        Transcript        Live Feed  Note that I'm not a moderator/owner in the room in question, so there's no way I could have pinned it in the first place. It happens even when the message was never pinned in the past.


$$\int\frac{1+x^2}{(1-x^2)\sqrt{1+x^4}} dx$$  I tried trigonometric substitution and partial fraction decomposition but it got me nowhere...

$$\int{\frac{1+x^2}{(1-x^2)\sqrt{1+x^4}}}\mathrm dx$$   This was a Calc 2 problem for extra credit (we have done hyperbolic trig functions too, if that helps) and I didn't get it (don't think anyone did) -- how would you go about it?


The above brackets are from  under the equational definition. I have also seen this notation in a few textbooks, particularly Categories For The Working Mathematician on page 13, paragraph 2. I suppose that it just denotes a pair of objects under question (not categorical objects). But I have not found a real explanation.

I'm trying to understand the UMP of the product functor as right adjoint to the diagonal functor but I'm having difficulties understanding the notation in Steve Awodey's . On page 210 he uses $(f_1, f_2)$, $\langle f_1, f_2 \rangle$ and $(f_1 \times f_2)$ all within one paragraph. What are those? How are these defined and how do they differ?


I am trying to create div which are draggable as well as resizable. Now, if I hardcode one div at design time, it works. However, if I add divs at run time, draggable does not work.  /*----------------------*/  . movingDiv {      border: 1px solid;     width: 150px;      height: 150px;      padding: 0.5em;      resize: both;     overflow: auto;     position: absolute; } /*-----------------*/  ......... .........

Drag and resize

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


Is there any max. temperature that air on Earth could reach, assuming that solar radiation is standard and the average temperature on Earth is 14.6 like today? I mean, is there any chance that the temperature on Earth would reach in some place 80 C today? And I don't mean surface temperature.

The layman's question. Is there a maximum temperature that can be reached by air on Earth due to global warming? For example, one that would prevent living organisms from functioning? I read somewhere that with the increase of the sun's brightness by 10%, the average temperature on our planet will be 47 C. This, however, only for about 600 million years. Would global warming enable reaching such a high average temperature?


I'm traveling to the US for tourism, first to the East Coast, after that to Canada for a weekend, and then back to the US, West Coast. I'm using the ESTA Visa Waiver Program, and they require local contact information.    Do I need to refill the ESTA when traveling back to the US from Canada or is the "old ESTA" valid for this also?

I have an ESTA for my visit last Sept to NY and I know it is valid for 2years.  I am going to Las Vegas in May, do I have to update the address at which I will be staying?


I know it was already asked, "Why didn't Aragorn keep going with the army of the dead?" and the obvious answer that he gave his word and had to keep to it. I'm not sure why somebody didn't read what I wrote here and forced me to edit it again. I had already read that question and all of the answers. It is substantially different. I know that Aragorn made a promise. I know they were traitors. I know they had to aide the king of Gondor to get set free. I know Aragorn had to keep his word...however I completely disagree with the comment below that it wasn't Aragorn's deal to make. In fact it was Aragorn's deal to make, since he made it. How would they know in the future exactly what was needed from them and when? They did not know that a king would arise to offer them a deal. In fact they thought Isildur's line had ended. So it was a surprise when Aragorn went to them asking them for aid. So again since it was Aragorn's deal to make...  Why didn't Aragorn simply tell them they had to fight for him until Sauron's armies were defeated? Or tell them to skip the battle at Minas Tirith and go straight to the black gate and take out Sauron's main army behind the black gates?  We're talking about Aragorn, a very wise man who was over 80 years old at the time. He knew  already how difficult Saruman's much smaller army, without the aide of the Nazgûl, was to defeat in an area that was smaller and easier to defend. Why simply ask for aid in a single battle?  Also related to this is that one the way to Minas Tirith they did aide him additionally on the ships. So was his releasing their oath really only tied to this one battle, couldn't he have sent them on as a continuation of the same war that needed to be concluded?  Why didn't Aragorn cut a better deal? And was the deal really that limited?

Why did Aragorn not keep going with the army of the dead and overthrow Mordor and Sauron?  As unstoppable as they seem to be in destroying all physical armies without any injuries, taking on Mordor itself wouldn't be an issue. Thus clearing the way for Frodo to destroy the ring and Sauron, or even destroy Sauron himself.  In the battle of Dagorlad, the Alliance surrounded Barad-dûr, until Sauron has shown himself which means that Mordor could be taken by an army's might (if Sauron was an issue).  Considering that Sauron was far more powerful in the Second Age, he has only been lessened as a spirit once he possessed the ring of power, and he had far more powerful servants.