From the Wikipedia page of  I get the impression that TRIM was introduced to lower the writes to a SSD, but letter the file system taking case of which blocks are unused.  If that is correct, does that mean, that SSD's that don't use TRIM writes zeros to the blocks, when a file is deleted, to let the SSD know the blocks are free?  Reading      File systems within a guest tend to   not reuse blocks which means that even   if a file system remains small   relative to the virtual image size,   the actual image size tends to grow   until it reaches the maximum size.   leads me to think, SSD's don't overwrite with zeros? Or are file systems in guests, something completely different?


Citations in text and table, show the first author name from the second citation?

there are some citations with three or more authors in text, I want to collect these citations in a table now. In the text, all author names will be printed when first cited, and only the first author name will be printed from the second citation. It works well in text, but it is not when I put them in a table. The code below shows what I mean (Note: apa style is used):  \documentclass{article}  \usepackage[style=apa,maxcitenames=2,uniquelist=false,     backend=biber]{biblatex}  \usepackage{filecontents}  \begin{filecontents}{\jobname.bib} @misc{ABC:2014,   author = {AuthorA, A. and AuthorB, B. and AuthorC, C},   year = {2014},   title = {Paper1}, } @misc{ABC:2016,   author = {AuthorA, A. and AuthorB, B. and AuthorC, C},   year = {2016},   title = Paper2}, } \end{filecontents}  \addbibresource{\jobname.bib}  \begin{document}  \noindent Some text \autocite{ABC:2014}.\\ Some text \autocite{ABC:2016}.  \noindent Some text \cite{ABC:2014}.\\ Some text \cite{ABC:2016}.  \noindent Some text \textcite{ABC:2014}.\\ Some text \textcite{ABC:2016}.  \begin{table}[htbp] \centering \caption{example} \begin{tabular}{llll}  \hline colum1 & column2 & column3 & \cite{ABC:2014} \\ colum1 & column2 & column3 & \cite{ABC:2016} \\ \hline \end{tabular} \end{table}  %\printbibliography  \end{document}   It will show the result as the attached figure. I suppose the citations in the table will be the form "first author name + et al.", but it is not. The intelligent way I can figure out is use "\cite*{ABC:2014} \citeyear{ABC:2014}" instead of the standard command "\cite" or "\textcite". However, this does not solve my problem well, as I want it show all names if there are two authors. Is there a better way to achieve this? Thanks!


Can you change the related Contact of a Customer Portal User?

When I attempt to change the field User.ContactID in order to connect a User to a different Contact, I get the error message 'Field is not writeable: User.ContactId'.  Is there any way to do this?


sum function returns inconsistent values when used with slicing

lst=[2,5] sum(lst)   This returns 7 as expected  lst[0]   This returns 2 as expected  lst[1]   This returns 5 as expected  sum(lst[0:-1])   why does this return 2 instead of 7??


"Every lesson is established on a model of personal power, a network of personality, character, and credibility; and firmly rooted in trust as its foundation." Or should it be "Every lesson is established on a model of personal power; a network of personality, character, and credibility; and firmly rooted in trust as its foundation." I'm thinking there should be semi colons because the lessons are established on 3 things: a model, a network, and trust which are then all expanded upon. Or should there be no semicolon at all?


Completely Remove Kubuntu Desktop From Ubuntu 14.04?

I installed "Kubuntu Plasma Desktop/Netbook system" from the ubuntu software system to try it out. I prefer Unity and want to remove Kubuntu.  I uninstalled from the Ubuntu software center, but it hasn't worked. During boot I get "Kubuntu" on the screen and not "Ubuntu", also I can log in into Kubuntu and it is working fine.  So how can I remove Kubuntu and all files that came with it?  When trying sudo apt-get autoremove kubuntu-desktop I get this message: Package 'kubuntu-desktop' is not installed, so not removed    Here is my terminal output after trying the commands sudo apt-get install aptitude and sudo aptitude remove '?and(?depends(?exact-name(kubuntu-desktop)),?not(?depends(?exact-name(ubuntu-desktop))))':  darren@darren-K52Jr:~$ sudo apt-get install aptitude [sudo] password for darren:  Reading package lists... Done Building dependency tree        Reading state information... Done aptitude is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. darren@darren-K52Jr:~$ sudo aptitude remove '?and(?depends(?exact-name(kubuntu-desktop)),?not(?depends(?exact-name(ubuntu-desktop))))' No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 18 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used.  darren@darren-K52Jr:~$     Using sudo apt-get --purge remove kubuntu-desktop, sudo apt-get autoremove and run sudo apt-get autoclean I get these result:  darren@darren-K52Jr:~$ sudo apt-get --purge remove kubuntu-desktop [sudo] password for darren:  Reading package lists... Done Building dependency tree        Reading state information... Done Package 'kubuntu-desktop' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. darren@darren-K52Jr:~$ ^C darren@darren-K52Jr:~$ sudo apt-get autoremove Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. darren@darren-K52Jr:~$ sudo apt-get autoclean Reading package lists... Done Building dependency tree        Reading state information... Done Del python-imaging 1.1.7+2.0.0-1ubuntu1.1 [347 kB] Del python-imaging-compat 1.1.7+2.0.0-1ubuntu1.1 [5,410 B] Del libwhoopsie0 0.2.24.1.2 [7,350 B] Del ubuntu-tweak 0.8.7-0~bzr1993+20140421~ubuntu13.10.1 [994 kB] Del python3-distupgrade 1:0.205.6 [136 kB] Del numix-icon-theme 0.3+139~201404162022~ubuntu13.10.1 [3,431 kB] Del unity 7.2.0+14.04.20140423-0ubuntu1.1 [1,437 kB] Del unity-services 7.2.0+14.04.20140423-0ubuntu1.1 [29.3 kB] Del whoopsie 0.2.24.1.2 [26.6 kB] Del libcurl3 7.32.0-1ubuntu1.4 [198 kB] Del ubuntu-release-upgrader-core 1:0.205.6 [24.1 kB] Del flashplugin-installer 11.2.202.350ubuntu0.13.10.1 [6,932 B] Del libunity-core-6.0-9 7.2.0+14.04.20140423-0ubuntu1.1 [447 kB] Del numix-gtk-theme 2.2+294~201404131947~ubuntu13.10.1 [41.5 kB] Del libcurl3-gnutls 7.32.0-1ubuntu1.4 [189 kB] Del libsnmp30 5.7.2~dfsg-8ubuntu1.1 [1,322 kB] Del libsnmp-base 5.7.2~dfsg-8ubuntu1.1 [235 kB] Del ubuntu-release-upgrader-gtk 1:0.205.6 [10.5 kB] darren@darren-K52Jr:~$      Results for command sudo aptitude search '?depends(?exact-name(kubuntu-desktop)':  darren@darren-K52Jr:~$ sudo aptitude search '?depends(?exact-name(kubuntu-desktop)' [sudo] password for darren:  E: Match pattern ends unexpectedly (expected ')'). darren@darren-K52Jr:~$


What is the meaning of 'should have ' in the following sentences do they mean regret or what ?  1.I should have let her know what was happening but I forgot.  2.They should have remembered that their guests don't eat meat meat.  3.I should have sent everybody a reminded by email.  4.He should have told them the truth but he didn't.  5.I don't think you should have done i t.  I'm confused here because I know that'should have'is used to imply'regret' ,for example:   1.I got really wet today while going to market . I should have taken an umrella.  2.she wept so badly. I shouldn't have scolded her.


Can't replace block with a Command Block

I am making a Sell Shop, but I need to replace some things using /setblock.  For one of the replacements, I am using the command:  /setblock 579 62 1053 minecraft:command_block 0 replace {Command:"testfor @p {Inventory:[{id:"minecraft:log",Count:32b}]}",TrackOutput:0}  But it won't work! When I try it using a Command Block, I get this message:     [19:14:38]   Data tag parsing failed: Unexpected token 'm' at: minecraft:log",Count:32b}]}",TrackOutput:0   Is there any way I can fix this?


How to prevent SQL injection on Import CSV

I am trying to import a csv file to my website using PHP code. The mysqli_real_escape_string is working but the next column of the table doesn't have a data when I checked it on the database.  I've tried adding mysqli_real_escape_string to all of the arrays ($impData) but it was unsuccessful all the data will not be added except for the column that has (') on it which is the $impData[10] and $impData[14].          //check if input file is empty     if(!empty($_FILES['file']['name'])){         $filename = $_FILES['file']['tmp_name'];         $fileinfo = pathinfo($_FILES['file']['name']);              //check file extension         if(strtolower($fileinfo['extension']) == 'csv'){                 //check if file contains data             if($_FILES['file']['size'] > 0){                    $file = fopen($filename, 'r');                 $flag = true;                 $date_created = date("Y-m-d H:i:s");                 while(($impData = fgetcsv($file, '', ',')) !== FALSE){                     $sql = "INSERT INTO asset_inventory (asset_type, asset_device, computer_name, serial_number, asset_tag, status, status_type, claim_status, claim_date, floor, workstation_number, unit, segment, assigned_user, purchase_order, invoice_number, vendor, brand, model, date_received, snow_ticket, rcs_owner, notes, date_created) VALUES ('".$impData[0]."', '".$impData[1]."', '".$impData[2]."', '".$impData[3]."', '".$impData[4]."', '".$impData[5]."', '".$impData[6]."', '".$impData[7]."', '".$impData[8]."', '".$impData[9]."', '".mysqli_real_escape_string($impData[10])."', '".$impData[11]."', '".$impData[12]."', '".$impData[13]."', '".mysqli_real_escape_string($impData[14])."', '".$impData[15]."', '".$impData[16]."', '".$impData[17]."', '".$impData[18]."', '".$impData[19]."', '".$impData[20]."', '".$impData[21]."', '".$impData[22]."', '".$date_created."')";                     if($flag) { $flag = false; continue; }                     $query = $conn->query($sql);                      if($query){                         $_SESSION['message'] = "Data imported successfully";                     }                     else{                         $_SESSION['message'] = "Cannot import data. Something went wrong";                     }                 }                 header('location: ../inventory.php');              }             else{                 $_SESSION['message'] = "File contains empty data";                 header('location: ../inventory.php');             }         }         else{             $_SESSION['message'] = "Please upload CSV files only";             header('location: ../inventory.php');         }     }     else{         $_SESSION['message'] = "Unable to upload CSV: File empty";         header('location: ../inventory.php');     }  }  else{     $_SESSION['message'] = "Please import a file first";     header('location: ../inventory.php'); }   I expected to import all the data to the database even without (') on it.


What's it called when someone insults you for not knowing something that you've never learnt or that's not in your field?

For example, let's say I'm a physicist, so I'm not stupid. But, I'm talking to someone who is an accountant and they insult me for not knowing accounting jargon or how to do things involved in their field during a conversation.


How to properly override exception in Java

I have problem with custom exceptions. I'd like to throw and catch my own exception if standard exception was caught. But it's impossible when I try to throw my own exception in catch block. Can you tell me how to do it properly? :(  SampleClass.java:  public class SampleClass {      int[] arr = new int[6];      public void fillArray() {         for (int i = 0; i < 6; i++) {             arr[i] = i;         }     }      public void getElement(int index) {         try {             System.out.println(arr[index]);         } catch (IndexOutOfBoundsException ex) {             throw new MyIoobEx();         } catch (MyIoobEx e) {             e.getMessage();         }     }      public static void main(String[] args) {      } }   MyIoobEx.java:      public class MyIoobEx extends IndexOutOfBoundsException {         @Override         public String getMessage() {             return "Bad index given";         } }


Why is Arrays.setAll faster than Arrays.parallelSetAll in this case?  int[] array = new int[30000000]; Random rnd = new Random(); Arrays.parallelSetAll(array, i->rnd.nextInt(200));


Science fiction story involving defeat of humans because we kept waiting for advanced weapons while aliens just built more weapons

In this story, if I remember correctly, two humans in a prison are discussing how humans lost a war with an alien race because they kept improving their weapons, by which involved waits while the technology was developed, while our alien enemy just kept building less sophisticated weapons, but so many, the humans were overwhelmed. It wasn’t long, but it struck me at the time as right on target.


Why are the lower 3 bits of curve25519/ed25519 secret keys cleared during creation?

I am currently experimenting with ed25519 and I noticed that on secret key creation, bit 254 is always set and the lower 3 bits are always cleared. I found that bit 254 is always set to protect against timing attacks in this question:   But why are the lower 3 bits cleared. Obviously it has to do with the formula in the curve25519 paper:  The set of secret keys is defined to be $\{\underline{n} : n \in 2^{254} + 8\{0, 1, 2, 3,\ldots, 2^{251}-1\}\}$  It's because of the 8 in there, but why is that 8 there? I suspect it has something to do with theorem 2.1 in the curve25519 paper, but I am not sure, because I do not understand fully what is being proven there.   I am experimenting with ed25519 primitives in some cryptographic routines which need me to add scalars to the secret key (add secret keys). Even if I add two well formed ed25519 secret keys, the result will not always have bit 254 set and the lower 3 bits cleared. Is this a security problem? I understand the risk for bit 254 but not the lower 3.


Downloaded Adobe Flah player, went to downloads to run setup, opened the downloaded file but there was no (exe, setup or install). And when I searched on this issue, I had to read a long procedure of copying things here and there. It is just a hassel to install an outsider software.  Is there a rule on this matter?


How to stop MacOS from adding (#) to my machine's name?

My Mac's machine name is "system g" but over time some part of MacOS adds an incrementing number (eg, "system g(2)", "system g(5)" etc...  Why does it add this number and how can I prevent from adding the number?


'Error retrieving information from server' while downloading app from Google Play

I recently reset my Samsung Galaxy Tab plus which runs on Android 3.2. I then tried to set up my tablet again by downloading applications, but it shows that there was error retrieving information.


Incorect Date to String convertation in Java

Why code return string value is 19880420 instead of 19880320?  SimpleDateFormat template= new SimpleDateFormat("yyyyMMdd"); Calendar cal = Calendar.getInstance(); cal.set(1988, 3, 20, 18, 00);  return template.format(cal.getTime());


Prove that d is a continuous real valued function on $M \times M$

Let $(M,d)$ be a metric space. Let $M \times M$ be the product space, where $d$ is defined (earlier in the book as ) $d((x_1,x_2),(y_1,y_2))=d_1(x_1,y_1)+d_2(x_2,y_2)$ where $d_1$ and $d_2$ are metrics on $M_1$ and $M_2$, respectively.  I must prove that $d$ is a continuous real valued function.  I am very confused about the notation, an I supposed to show that $M \times M$ is the set or $M_1 \times M_2$ is the set in supposed to use? I guess it doesn't really matter but it would really help me.  Can someone help me out on starting the proof?  I know I must choose my delta to be $\varepsilon/2$ since I have two points, but my question is how will some of the notation look like?


How to read directory without executing the directory?

Suppose i have directory /home/me/okay which have permission as shown below : drwxr-xr-x 1 nizarpermanahadi nizarpermanahadi 4096 Jul 24 17:39 okay  After that i tried to change it with chmod -x okay command. And now the permission had changed like this : drw-r--r-- 1 nizarpermanahadi nizarpermanahadi 4096 Jul 24 17:39 okay Now the directory only can be read or written. When i tried to read it. The terminal showed like this : ls: cannot access 'okay/dalam.cpp': Permission denied total 0 -????????? ? ? ? ?            ? dalam.cpp  I want to read the directory without executing it and see the list. Can i do that?... if yes, how to do that?


Replace first line of a text file in Java

I have a text file where I want to change only the first line of the file.  The file could be millions of rows long, so I'd rather not have to loop over everything, so I'm wondering if there is another way to do this.  I'd also like to apply some rules to the first line so that I replace instances of certain words with other words.  Is this possible?


Windows 10 option not available in GRUB menu after formating linux drive and installing ubuntu

At first I had an SSD with windows 10 in it and a HDD for data. Then I partitioned the HDD for data for windows and 150 GB with Linux mint. I was booting through grub by choosing either windows or Linux mint. Then I bought another HDD so I transferred windows data on the  new HDD and I proceeded to install ubuntu on the old HDD. During the Ubuntu installation I formatted the whole HDD and I installed Ubuntu no problem. However now I can't boot in windows as there is no windows entry in GRUB menu. I searched solutions in stackoverflow but nothing worked. Any idea? Edit1: From what I understand I have to make a boot partition in the HDD in order to see windows from GRUB again. Anyone has directions for this?


Just recursively changed the ownership of "/" to my own user by accident. How screwed am I?

Was messing around with an external drive and wanted to change the permissions of a folder. However, I accidentally ran sudo chown myuser -r /. I have never felt so dumb in my life. I immediately realised what I had done and canceled it, but it was too late.  I'm on Arch. How screwed am I. Is this fixable or is it a lesson to be remembered?  Kids this is why you don't mess with recursive commands when sleepy :(.


Please, in which LaTeX package can I find the symbol between $s$ and $\langle n\rangle$ below ?


[  I need to be able to represent these symbols, how would I do this? thanks


Can't change desktop wallpaper after upgrading to 13.10

I have just upgraded my Ubuntu 13.04 to 13.10. All things working fine but I can't change my desktop wallpaper. Whenever I try to change,it changes to solid color only. I'm using the GNOME desktop, not Unity.  Please help me out


Suppose that instead of the property $ab=ba=e$ a group G has the condition that for every element $a$ there exists an element $b$, such that $ab=e$. Prove that $ba=e$. Is the following a valid proof?  Since $ab=e$ then under the condition of the group there exists an element $k$ such that $bk=e$ for some $k$ in the group.  Now $bk=e$ so $abk=ae$ therefore $(ab)k=a$ and finally $ek=a$ and $k=a$.  Is this a valid proof?


Can we write $\vec L=\vec r\times \vec p$ for an extended object?

Say we have a rod with a fixed axis of rotation. If we give it a push at some point other than the axis, it will start to rotate. Say our force is $F$, then we might write: $\Delta P=F\Delta t$. I’m wondering how to incorporate angular momentum here. We know that for a single particle it holds that $L=r\times p$. And for an extended object with a fixed axis of rotation, we generally might write $L=I\omega$. However, can I write $L=r\times p$ too for the extended object? I would think that I would need to integrate. So we have $p_\alpha=m_\alpha v_\alpha=m_\alpha r_\alpha\omega$, where we consider an infinitesimal mass $\alpha$. So should I write $L=\int r^2\omega\,dm$? I’m confused whether to work with this integral, or just use $L=r\Delta P$ at once.  The reason I'm asking, is because I'm trying to calculate the sweet spot of a baseball bat. So this is my attempt at solving the exercise.


Can't close flagging dialog and answer textarea overlaps it on iOS Safari

I tried to flag a question on Stack Overflow and when the dialog prompted I wasn't able to close it nor scroll through the flagging options.  Update: Went to another question to try again and it let me close the dialog but answer textarea continues to overlap it as shown in the picture.  Info:   iPhone 5 with iOS 7 Safari   Steps to reproduce:   Click on flag Click on 'It should be closed fir another reason' Answer textarea overlaps and doesn't leave clicking in any other option that gets behind it.   Photo:


I have a lot of classes that extend an abstract base class. I would like to automatically create an instance of each one and add them into an array list of base class objects, so when I need to iterate through the list I can call the same method and do something else depending on what derived class the current object is. The problem is how to instantiate everything automatically as the number of derived classes can be high, about 40-50, maybe more afterwards. Any help would be appreciated.  EDIT: I added a commentary in which I explained more details about the question


Very very very new to blender but is it possible to colour different parts of an object? (.obj import from fusion). if so; how do I change the colour of different areas of my object?


My iPhone 5's Calendar shows the year as 2559 BE and I'm unable to change that to the current year.


QGIS - change of CRS raster - wrong scale

I have downloaded a raster file from . I would like to use it to make a map of Europe so I wanted to change the projection. I apply a new CRS to the layer and set the project CRS from the layer CRS. It allows me to do so but nothing really changes and the scale becomes completely wrong (a distance of 1000kms becomes 86m).  I am sure there is something basic I haven't understood (I am new to GIS and QGIS). Any suggestions?


How do you search for questions filtered by a particular user?

I want to do a search on StackOverflow for a few terms, but also by user, since I know which user referenced the item I'm looking for.


Why is the output for the following code 11,21,31 11,21,31 and not 10,20,30 10,20,30?  public class Tp {      public static void doChange(int a[])     {         for(int pos=0;pos<a.length;pos++)         {             a[pos]+=1;         }     }     public static void main(String args[])     {         int arr[]= {10,20,30};         doChange(arr);         for(int x:arr)         {             System.out.print(x+",");         }          System.out.println(arr[0]+" "+arr[1]+" "+arr[2]);     } }


Sharepoint Add-in Calendar Format Broken in Default.aspx in Visual Studio

I am attempting to add a calendar to my Default.aspx in my sharepoint hosted add-in in visual studio. I used the default code-snippet for adding sharepoint lists. Here's what I added to my Default.aspx:    <WebPartPages:WebPartZone runat="server" FrameType="Default" ID="full" Title="loc:full">     <WebPartPages:XsltListViewWebPart runat="server"         ListUrl="Lists/Calendar"         IsIncluded="True"         JsLink="clientTemplate.js"         NoDefaultStyle="TRUE"         PageType="PAGE_NORMALVIEW"         Default="False"         ViewContentTypeId="0x">     </WebPartPages:XsltListViewWebPart> </WebPartPages:WebPartZone>     and this is the result...    Pretty dang ugly if you ask me. How can I get this looking like a normal share point calendar instead of an unusable mess?  Thank you!


Where to install non-root external software?

I want to install Miniconda but I don't want to do so as root. Is there a directory (except ~/) where I can install external software as a non-root user?  I don't want to install it in the default directory ~/miniconda3


Appending each element in a (string) list, to each element in another (string) list in Python

Some context: I have a dataset from 14 samples that each are comprised of two duplicate parts. Each duplicate part of each sample has sub-samples, and each of these have a location in which can be described by an x and y position where n x=10 and n y=10 (100 positions, per 2 duplicates, per 14 samples = 2800 Unique IDs). So, each sub-sample has a unique ID that is comprised of sample'+'part'+'locationx'+'locationy. Note this is not a product (I think!?) but a joined string comprised of each possible combination. Each unique ID has considerable amounts of numerical data attached to it. I wish to generate a list of the unique ID of each sub-sample, so that I can then use this to loop code efficiently. The unique IDs would be tedious to write out, for instance as a nested list. I have read many posts about how to add a string to each element in a list. This can be achieved by a List Comprehension. That would speed things up. But, what about if you want to add each string in a list to each string in another list? That would speed things up mightily! This sounds a little like building a multidimensional array, which can be achieved using lists, but not if those lists are strings (it seems to me!), only integers. I hope I'm wrong and someone can tell me so. A downsized description of the concept using just two lists:     list1 = ['foo', 'fob', 'faz']     list2 = ['bar', 'bat', 'bump']  magic     list3 = ['foobar', 'fobbar', 'fazbar', 'foobat', 'fobbat', 'fazbat', 'foobump', 'fobbump', 'fazbump']


How to pivot a table for a set number of combinations?

Ok so I have a table of components and a colleague needs some data from this table in a different format, now I could do it with some python or java code but wondered if there is a simpler way in MS-SQL with a PIVOT maybe?  Components Table:-  ID_RECIPE  COMPONENT    QTY    1          CPA       1.00    1          CPC       0.50    2          CPA       10.0    2          CPF       7.50    2          CPH       3.00    2          CPJ       2.25    2          CPP       0.25   There is never more than 5 components to a recipe so I want to be able to output something like this:-  ID_RECIPE  COMP_1  COMP_2  COMP_3  COMP_4  COMP_5  QTY_1  QTY_2  QTY_3 QTY_4  QTY_5    1        CPA     CPC     NULL    NULL    NULL   1.00   0.50   NULL  NULL   NULL    2        CPA     CPF     CPH     CPJ     CPP    10.00  7.50   3.00  2.25   0.25             Any ideas would be appreciated.


How to remove the Cognito Forms Branding

I have been using Cognito Forms for a while now, but when I try to create a new form I am now seeing "powered by cognito forms" at the bottom of my new form.  Is it possible to remove this?


"I never once proclaimed that killing is ethical" vs "I never once proclaimed that killing was ethical"

Between the two phrases, "I never once proclaimed that killing is ethical" and "I never once proclaimed that killing was ethical", I believe the former is grammatically correct, although I'm not completely sure.


terraria on the xbox 360 valid housing glitched?

I have built a massive house with several rooms for npcs. The house is has red ice walls and snow floor and roof as well as gray brick walls all placed myself. I have torches in every room and when I check valid housing it simply says this housing is missing a table and a chair. I've tried serial different tables wrenches and chairs and every time I check it now it says this in not valid housing. Any idea why? Is my game glitched or something?


Electric flux is a defined quantity that is proportional to the no. of field lines passing through a given area element for a given electric field. It is not proportional to the relative density of field lines, which would supply information regarding the strength of the field at that point. Electric flux, it seems to me, does not supply us with any practical information. It seems to me that electric flux is a quantity defined and modeled specifically for Gauss' law, to introduce some kind of mathematical elegance to it and to introduce an additional visual aspect to the concept of electric fields. Perhaps this is why for symmetrical situations especially, Gauss' Law can be used to easily determine the electric field due to the given charge distribution. Am I wrong here? Is there a physical significance to electric flux that I do not understand?


How to use log probabilities for Gaussian Naive Bayes?

I'm currently implementing a Gaussian Naive Bayes classifier. Of course if I'm doing classification by  $$ \text{argmax}_{C_i} P(C_i)P(D|C_i),  $$  then the probabilities can get very small. So I want to use log probabilities. I'm seeing three posibilities:  $$ \text{argmax}_{C_i} P(C_i)\log P(D|C_i),  $$  $$ \text{argmax}_{C_i} \log P(C_i) \log P(D|C_i),  $$  $$ \text{argmax}_{C_i} \log P(C_i) + \log P(D|C_i),  $$  Which of them are the correct way to go? From a calculation point of view the second one is the right because for the others I'm getting negative values but from a math point of view the third one is the right due to the following:  $$ P(C_i|D) = \frac{P(C_i)P(D|C_i)}{P(D)} = P(C_i)P(D|C_i) $$  $$ \log P(C_i|D) = log[P(C_i)P(D|C_i)] = \log P(C_i) + \log P(D|C_i) $$  P(D) can be dropped because it does not depend on the class. Anyway for all variants I'm getting values outside [0,1] but I think this is ok because I'm calculating probability densitiy (from Gaussian distribution) and not probability.  I have a second question. I'm also interested in getting the importance for each feature for each pair of classes. How could this be calculated based on Gaussian Naive Bayes? I need this because I want to visualize the 10 most important features for each pair of classes.


Need help with this specific use of "Should"

"We will retain his rights should he wish to be moved elsewhere at a later date"  What are the rules with using "should" like that? should he wish to and so on.   Because it looks weird. but I know it's correct as it's not the first time I'm seeing "should" being used like that.  thank you


How does the light and energy breakdown depend on wave frequency?

How does light and light energy "breakdown" (when light is reflected, some light will be transmited, absorbed, or reflected, just like energy associated with light) depend on wave frequency? I've looked up similar questions, but they only seem to explain why light frequency doesn't change during reflection, and not why and how does the wave frequency influences the reflection.


This is a  problem on topological spaces and continuous functions.   If $f,g \to\mathbb{R}$ are continuous functions, then $T=\{x\in X: f(x)=g(x)\}$ is closed on X


How to make this change without changing the core?

I couldn't find a way to change this in an upgrade friendly way, and I know I mustn't touch the core!  I need to change the value 'number' to 10 in wp-includes/default-widgets.php  wp_tag_cloud( apply_filters('widget_tag_cloud_args', array('taxonomy' => $current_taxonomy, 'number' => 10) ) );   How can I do this without changing the core?


Monte Carlo Approximation of a Normalizing Constant

I know that one can approximate expectations of a function with respect to a pdf as such $$ \mathbb{E}_{p(x)}[\phi(x)] = \int \phi(x) p(x) dx \approx \frac{1}{N}\sum_{i=1}^N \phi(x^{(i)}) \qquad\qquad \text{where } x^{(i)} \sim p(x) $$ How can I approximate a normalizing constant in a similar way using Monte Carlo? $$ \mathcal{Z} = \int \widetilde{p}(x) dx \approx \,\, ? $$


What are the rules and limits of Accio spell?

We know that Accio spell (aka ) has some limits:   It can be blocked (e.g. Harry couldn't Accio the Diadem in RoR in Deathly Hallows). Many more failures are listed on Wikia.   But what are the exact full rules and limitations governing the spell in Harry Potter world?   Distance?  Line-of-sight?  Knowing exact or approximate location?  Specificity of item (e.g. "Accio Broom" seemed to work for Weasleys in OotP to bring their locked-up brooms - why not just a random broom?) Types of Accio-able stuff? Can you Accio water? Lump of earth? Gases/liquids/etc...? Can you Accio based on jQuery selector (or an SQL where clause), for lack of a better description? E.g. "Accio the book that has the word 'Flammel'"? "Accio biggest green ball from this room"? Can you Accio ALL items of a kind? (the reason I thought of this whole question was seeing "Accio all guns" comment in ). Can you Accio vague stuff? ("Accio meal"). Other rules that can be inferred.   NOTE: While Wikia article has some of the info, it is clearly very lacking in details on specific rules based on specific instances in canon. I'm looking for a fully comprehensive, organized ruleset for the charm, not merely 1-2 tidbits in Wikia article.


What about a 'fun' or 'open-ended' version (shadow site?) of SO similar to Meta SO?

I find a lot of good content on SO, both by searching on SO and thru search engines (i.e. Google) –  – but the content doesn't fit the narrow scope of SO itself. But aside from being out-of-scope, that kind of content is both common and useful!   The (excellent) design of SO also makes finding good examples of this kind of content easy (and fun). Why can't we explicitly include this kind of stuff too, just somewhere clearly separate?  Some example questions that would be appropriate in a 'fun' or 'open-ended' SO site:        More good examples can be easily found by looking at .  Two (related) sites I really like, and that are based on what I think is a really wonderful idea, are  and  – both sites maintain 'best of' for various categories. I think that a 'fun' SO site could do the same for programming.  Isn't it sad that we're fighting user-nature by combating what is arguably useful and interesting (or just entertaining) content? Especially when that content is useful for programming?!


Counting in a rectangular grid with obstacles

I was asked to find the no. of ways to get from (0,0) to (8,8) with the 4 points of the shaded box unpassable, aka I can't use the 4 points namely (3,3)(4,4)(3,4)(4,3) while on my way to (8,8). Right and up movements.  I know it is something like a pascal triangle and worked out the solution of 4050 ways.  May I know if there are any faster means using permutation formula?  Thank you in advance.


I was refused a Schengen tourist Visa , so how should I reapply?

I was refused a Schengen tourist Visa based on the following two reasons   The information submitted regarding the justification for the purpose and conditions of the intended stay was not reliable Your intention to leave the territory of the member states before the expiry of the visa could not be ascertained.   Refusal received on: 3/7/17 Travel date: 12/8/17 Planned date to reapply: Immediately  Here are the highlights of my application which I find suspicious for the rejection.   •    I am travelling with a friend and has mentioned the same in the covering letter •    We applied for German Visa through Chennai VFS •    My friend has mentioned the that he’s travelling with me in his covering letter •    We both had mentioned that we’re meeting a common Indian friend in Germany who’s working for a German company, we gave his passport copy along with both of our applications. We also mentioned that he would accompany us on the trip •    We both booked real tickets, round trip from Chennai to Munich and produced the same along with applications •    Hotel bookings for the entire stay were done in my friend’s name at booking.com and I mentioned in my covering letter that booking is in his name •    We both had bank balance of around Rs. 200,000 and submitted the bank statement •    I am a proprietor of a company and he works for a company   Here are my Questions   •    Should I not mention my friend’s name whom I am travelling with in the covering letter even though if I am traveling with him? •    Should I change the country of days spent more and apply though another Schengen state? •    Should I not mention our common Indian German friend in the covering letter? •    Should we do separate hotel bookings in which I get my name on the booking and he gets his own? •    Shall I re apply immediately? Shall we change the itinerary, whole plan and apply again? is it advisable?


Find the limit of a multivariable function

I've been trying to solve a bunch of these limits by turning to polar coordinates, though I could only deal with the ones that have x and y approaching zero. In this particular case nothing points to this limit being independent of r, and trigonometric functions can't be reduced(easily). I would really appreciate it if you could break down the steps right after applying equivalence and turning to polar coordinates.


I am trying to update my Windows 10 installation on my tablet and I am having problems due to the limited storage available.  I am unable to update as Windows Update is complaining that there is not enough space on C:\ drive, even though I have a 128GB SD card with plenty of space available.    Is there any way I can update my Windows installation or am I now stuck?


What does it mean: The serializable class does not declare a static final serialVersionUID field?

I have the warning message given in the title. I would like to understand and remove it. I found already some answers on this question but I do not understand these answers because of an overload with technical terms. Is it possible to explain this issue with simple words?  P.S. I know what OOP is. I know what is object, class, method, field and instantiation.  P.P.S. If somebody needs my code it is here:  import java.awt.*; import javax.swing.*;   public class HelloWorldSwing extends JFrame {          JTextArea m_resultArea = new JTextArea(6, 30);          //====================================================== constructor         public HelloWorldSwing() {             //... Set initial text, scrolling, and border.             m_resultArea.setText("Enter more text to see scrollbars");             JScrollPane scrollingArea = new JScrollPane(m_resultArea);             scrollingArea.setBorder(BorderFactory.createEmptyBorder(10,5,10,5));              // Get the content pane, set layout, add to center             Container content = this.getContentPane();             content.setLayout(new BorderLayout());             content.add(scrollingArea, BorderLayout.CENTER);             this.pack();         }          public static void createAndViewJFrame() {             JFrame win = new HelloWorldSwing();             win.setTitle("TextAreaDemo");             win.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);             win.setVisible(true);         }          //============================================================= main         public static void main(String[] args) {             SwingUtilities.invokeLater(new Runnable(){                 public void run(){                     createAndViewJFrame();                 }             });         }  }


Why is it that the plural of goose is geese but the plural of moose is moose? The same goes for mouse and house. Mouse becomes mice, yet house becomes houses.


Can we do activations before convolution and maxpooling

I am new to CNNs and I have this questions in mind. usually, in CNNs, we do convolution followed by activation (Relu) followed by maxpooling. What if I want to use Activations first followed by convolution followed by maxpooling. How would that effect the network performance or is this method useful or not.


What app does this notification icon belong to?  Upper left (x shouldn't be there). Looks like a chat bubble or ribbon. Thanks!!


Can the rate at which time passes be changed?  For example, can time stop, slow down, or speed up?  If so, how?  Is it really time that is shifting or is it the measuring devices?


What is the difference between "owing to" and "due to"?

"Due to" seems more common than "owing to" in modern English. Is "owing to" simply an old-fashioned way of saying the same thing, or is there a rule to using it?


Very high CPU load, but nothing significant in top

I'm running Ubuntu Linux 12.04.1, with VirtualMin 4.08.gpl GPL and 2 CPU cores.  Pretty much all the time for the last few weeks, it's been running at well above load average of 5, usually up closer to 10, sometimes reaching 20.  Right now, CPU load averages: 9.20 (1 min) 8.20 (5 mins) 7.81 (15 mins)  At the same time, VirtualMin returns:  Virtual Memory: 996 MB total, 15.44 MB used Real Memory: 3.80 GB total, 972.43 MB used  Local disk space: 915.94 GB total, 116.03 GB used   Have restarted (shutdown -rf now) the machine a few times and sure enough sooner or later we're back up with high CPU loads.  Running top (or htop) returns nothing significant at all running at high CPU - in fact watching it for a few minutes and the highest item would maybe high 3% CPU.  Top returns this also:  Cpu(s): 2.2%us, 1.2%sy, 0.0%ni, 0.0%id, 96.5%wa, 0.0%hi, 0.2%si, 0.0%st   The %wa concerns me as it's so high - seems to stay up above 80%. I understand this is % in wait, but not sure what that means in practical terms.  Where can I start to debug this and figure out what's causing the high CPU load?


How can I split the number 25.15 into 2 different numbers- 25 and 15

I have tried to split 25.15 into 25 and 15 but it won't work.`  double a=n.nextDouble(); int k=(int)(Math.floor(a)); int g=(int)((Math.floor((a-k)*100)));


How do I solve these absolute value equations?

How do I solve these? $$|-2w-4|<12$$  and  $$(-1/3)|6-5x|+2<1$$  for the first problem i got $-8<w<4$ is that right?


HDRI With Volumetric to Create Throw Pattern?

I have a scene below where I am wanting to get an HDRI image to come in through the windows and light the scene in the window areas and have a god ray like effect.  I want to do this with a volumetric effect and have the HDRI lighting create throw patterns in the scene.  Is this possible?  To have volumetric lighting where the HDRI creates throw patterns?  Thanks for the help


How warm must dough be in order to rise?

While making some focaccia this afternoon, my wife said, "sure the house is 'warm'; it'll be fine." One hour later, no rising. It may be worth noting that our house is 66F. So we stuck it in a warm oven and it rose just fine. It turned out fine, I'm just glad we weren't trying to get it done for a meal.   So the question is, how warm does dough need to be to rise properly?


Can the product of an $4\times 3$ matrix and a $3\times 4$ matrix be invertible?

I want to find the inverse of the product of $2$ non-square matrices, but is this even possible?


Best method for going from Photoshop to InDesign with masked text?

I do almost all of my design initially in Photoshop, its just my personal preference and allows me personally the most creativity. But I do then take the proper steps to bring the finished design into InDesign if it will be Printed, as most of my work will be.  If I use a Layer Mask on text to create depth within a Photo what is the best method (workflow) to bring it into InDesign? Here's a quick example with everyone's favorite font.    Some possible solutions:   I can just save this as high res as possible and not worry that the type is pixel then. I could crop out the part of the shoe that goes ON TOP, save that as transparent, and piece it back into place in InDesign. I could bring the photo alone into InDesign, type the text and then use Pen/Pencil tool in InDesign to go around the shoe. Then outline the text and use the ID Pathfinder to subtract it.   Is there another way? Which will provide the best final results?


Is there a keyboard shortcut to shutdown and reboot the computer?

I am using Ubuntu 13.10 64-bit and I would like to have a short cut that will restart the computer and one that will shutdown. I know how to make shortcuts in the keyboard settings, but I don't know the command. Thanks


Possible to batch view/restore/delete quarantined files from Windows Defender?

tl;dr: Is there a way to batch-view + restore items that have been quarantined by Windows (10) Defender?  In Windows 10, to restore a quarantined file from Windows Defender -- which silently whisks files away into quarantine, willy-nilly, with no indication or heads-up about it -- requires an absurd number of clicks:    Click Start button Type Virus (Protection) and click/enter Click "Threat history" Click (the wholly unnecessary) drop-down arrow on an individual threat (...look at all the open unused space to the right -- display the "extra" info and shift the buttons over there, no drop-down necessary!) Click "See details" Click "Yes" to UAC prompt Now finally able see the filename this threat pertains to (...why isn't the filename the default piece of information shown?! And that's assuming only one piece of info can be shown upfront per entry, which is nonsensical) Click "OK" on the popup modal Click "Restore" button Click "Yes" to UAC prompt (again)   ...one quarantined file down. High-fii-ive!  I was hoping that NirSoft, i.e. the hero that Gotham needs, may have come to the rescue with a utility that could connect into the Windows Defender backend to display all threat + quarantine information for everything all at once, in tabular format, and, if possible, the spectacular ability to batch-select items and restore (or delete) them all at once, vs. the savage click-fest necessitated via Windows 10's "Control-Settings-Control-Panel" ...and for every individual item. But unfortunately, to no avail (bless his freedom-fighting heart nonetheless, however).  It goes without saying, but this is just one drop in an oceanic-sized bucket of my Windows 10 design gripes. Help us Obi-Win7-Kenobi. You're our only hope.


Absolutely convergent but not convergent

, Lemma $2.1$ states that      A normed space $X$ is complete if and only if every absolutely   convergent series is convergent.   I would like to know a series which is absolutely convergent but not convergent. Can someone give such example? I always thought that absolutely convergent series implies the series converges.


What is the best way to do incremental backups in MySQL?

We are using MySQL version 5.0 and most of the tables are InnoDB. We run replication to a slave server. We are thinking of backing up the MySQL log files on a daily basis. Questions  Is there any other way of doing an incremental backup without using the log files? What are the best practices when doing incremental backups?


A good and exhaustive book for English grammar

Before marking this post duplicate or voting to get it closed (the reason for which I simply don't get just because it is a grammar forum after all! If I am seeking recommendation for a book that means I will be coming back someday to the same site for my doubts also provided I get a not so harsh reply!), please read this and help this MBA aspirant.   A little about myself and my research so far. I am a very critical reader of English Grammar and the kind of person who aims at perfection.  Currently, I am keen on taking on English grammar again after a certain gap. Well, I am aiming for MBA, so preparing for entrance exams for the same.  I bought the religiously followed Wren and Martin and started studying it chapter by chapter. I was surprised when I read the pronouns chapter. I studied all the rules given and then started practising but it came as surprise when I found when many of the attempted questions were wrong. The reason simply being the rules for those specific sentences were not given.   For example:     We scored as many goals as they/them?    According to me, the answer should be they, but it's them according to the solution manual. Worse still, the solution manual offers no explanation for this.  So after a chat with my teachers I was suggested to follow the blogs of grammarians and look for any rules for the sentences that have contradictory answers!  I did so and was clarified by  post of pronouns, Rule 5.  Then I saw a book by the same author. I was momentarily happy. It was Momentarily because the reviews on Amazon were too bad about this book. After reading a couple of forums about the book I found a common statement saying that no grammar book is exhaustive.  So, it's okay for me to have more than one. And my simple question is what will be a good and almost exhaustive (if not fully exhaustive) book of English grammar to help get through the subtle usages of English in my management entrances  which is crisp and to the point and yet covers all important rules and syntax, and most importantly having practice tests at the end with solutions and explanations?


My android froze and was replaced. unable to access my pokemon account

Because my phone froze I was unable to log out of pokemon. My phone was replaced and now I only have the option to start a new account. My understanding from what I read I had to be logged out of pokemon in order to transfer to new phone


CV-entry dates overflowing and ghost comma added

I am rather new to Latex and I am using it to build my Resume. I encountered two problems: the first one concerns the dates that overflow in the margins, while the second one is I think an embedded comma after the Master that I don't know how to remove. Do you have any idea how can I fix these two problems? Code : \documentclass[11pt,a4paper,sans]{moderncv}         % modern themes \moderncvstyle{banking}                             % character encoding \usepackage[utf8]{inputenc}                         % adjust the page margins \usepackage[scale=0.94]{geometry} \usepackage{import} % personal data \name{John Doe}{} \phone[mobile]{123456789}                    \email{whatever@gmail.com}                                 \begin{document} \makecvtitle \section{Education}  \vspace{0pt}  \begin{itemize} \setlength\itemsep{3pt}  \item{\cventry{}{Master in Whatever}{Random University | \normalfont Random place}{\normalfont 09/2021 - 03/2023}{\textit{}}{}} \textbf{Coursework:} Random Courses   \vspace{4pt} \end{itemize} \end{document}


Footer is not at the bottom of the page with body display set to flex

My HTML layout looks like this: body //display: flex    nav //flex-basis: 85px    main //flex-grow: 1    footer //flex-basis: 50px   On desktop view, the footer is at the bottom: but if the content grows, later on, the footer is no more at the bottom, there is a gap between the bottom of the page and the end of the footer.  on mobile, you can immediately see the gap.   I'm using display: flex and looking for a way to make sure that the footer always stays at the bottom. her'es the layout css: body {   display: flex;   flex-direction: column;   min-height: 100vh; }  nav {   flex-basis: 85px; }  .main {   flex-grow: 1; } footer {   flex-basis: 50px;   background-color: #10182f;   color: white;   padding: 15px 0; }  Thanks in advance here are some images to clarify: Normal desktop view:  Longer viewport:  Normal mobile:


Computing correlation coefficient in linear regression

I'm working with a linear regression model given by the following formula $$y = \beta_1x + \beta_0 + \epsilon.$$ I am to prove that the correlation coefficient between $\hat{y}$ and $\epsilon$ is equal to zero if the model is correct. Basically this problem comes down to prove that $Cov(\hat{y}, \epsilon) = 0$. I'm a bit stuck here. I would appreciate any help.


mysql query doesn't work when from the php page when are in other language (hebrew)

My code is  <$php $database = new mysqli("127.0.0.1", "root", "root", "picture"); $new_album = "CREATE TABLE `נסיון` ("     . "id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,"     . "pic VARCHAR(20) NOT NULL,"     . "des VARCHAR (40) )"; $database->query($new_album); ?>   but if i copy the query as  CREATE TABLE `ש` ( id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, pic VARCHAR(20) NOT NULL,des VARCHAR (40) )    strait into the phpMyAdmin query segmant, it creates the table with the hebrew currect.  in the head tag, there is a <meta charset="windows-1255"/> which is working when i print or echo anything in hebrew.is there anything else i could change in the page settings to fix this?


In $E=hf$, can $f$ assume any positive value? (Beginner)

The energy of photon is given by the equation $E=hf$, where $h=$ Planck's constant, and f=frequency of radiation. Is f quantized, or can it assume any value?   If it can assume any value, then wouldn't this mean that the energy of photons is not quantized? If f can be any value from a continuous series, this would mean that for any number you imagine, there will always be another number that when multiplied by h gives you that first number. So $E$ could assume any value.   However, we know that $E$ is indeed quantized, so could someone please point out the flaw in my reasoning?   PS: I don't believe this question is a duplicate, since it addresses wether radiation frequencies are discrete in the context of an equation. The answers, therefore, aren't limited to "no, the EM spectrum is not quantized" but also explain that for a given frequency, the photons' energy is quantized. In other words, while the questions are similar, I believe that both the question and the answers have angles that are different enough to justify not being duplicates. For example, if the answers to this question had not addressed the photon energy, I would still be confused as to why so many textbooks say that energy is quantized. This isn't the kind of answer that the duplicates would require, however. Thank you for linking the other posts, though, as they could be useful for someone looking for a different answer.


Equivalent of log sum exp trick for subtraction

I have two small positive real numbers $u, w$ such that $u > w$. Given $\log(u), \log(w)$ I'd like to find a numerically stable way to calculate $\log(u - w)$.  One possible way of transforming the preceding is : $\log (u - w) = \log(u) + \log(1 - \frac{u}{w})$. There are stable methods which calculate $\log(1 - p)$ for small $p,$ and subsequently log-sum-exp trick may be employed. The problem is $\log(\frac{u}{w})$ may be of order of -10000 hence I don't think straightforward exponentiation is an option here. Any suggestions greatly welcomed.


How on Earth did the Dursleys get off "The Rock?"

In Harry Potter and the Philosopher's Stone (or Sorcerer's Stone), Hagrid Tells Harry he "flew" when asked how he'd gotten to the rock, but the two take the boat back to the mainland leaving the Dursleys on the rock in the little shack without transport back to the mainland themselves or Magic to help them get any.    The place is described as being so out of the way that I don't imagine cel service was good - Not that Dursley is ever described in a way that makes you think he had a phone with him to begin with.  So, first, how did they get back off the rock?  and second, how is it they didn't kill Harry when he returned to them after his trip to Diagon Alley?  After-all their son now has a tail and their experience trapped on the rock must have been harrowing.


As in the title:  Prove $\sqrt{n+1} - \sqrt{n} \to 0$ as $n \to \infty$  It seems so simple, but I can't seem to do it without ending up in circular reasoning.


How to create a matrix with rows and columns labeled (at the right side)?

I would like to create a matrix with rows and columns being labeled. I would like the matrix elements to be right aligned, the row labels being displayed to the right of the matrix, and the column labels above the matrix. I tried:  \documentclass{article}  \usepackage[T1]{fontenc} \usepackage[american,ngerman]{babel}  \begin{document} % does work: $\bordermatrix{%  & 1 & 2 \cr 1 & x1 & x2 \cr 2 & x3 & x423 \cr 3 & x5 & x6 }$ % does not work (see error below): % $\bordermatrix*{% %   x1&x2&1\cr %   x3&x4&2\cr %   x5&x6&3\cr %   1&2 6 }$ \end{document}  % ERROR: Misplaced alignment tab character &.  % --- TeX said --- % l.17   x1& %           x2&1\cr % --- HELP --- % The special character &, which should be used only to separate items % in an array or tabular environment, appeared in ordinary text. You % probably meant to type \&.   To get at least the row labels displayed at the correct side of the matrix, I wanted to use the starred version of \bordermatrix, but that did not work (as opposed to given in Voss's mathmode guide). Also, the matrix entries are not right aligned. How can I create such a matrix? Is there a way to do this with amsmath?  UPDATE  Thanks to the link by Werner, a minimal example is this:  \documentclass{article} \usepackage{blkarray} \newcommand{\matindex}[1]{\mbox{\scriptsize#1}} \begin{document} \[   A=\begin{blockarray}{rrl}     \matindex{1} & \matindex{2} & \\     \begin{block}{(rr)l}       \,100 & b\phantom{\,} & \matindex{row 1} \\       2 & 12 & \matindex{row 2} \\       e & f &  \matindex{ABDC} \\     \end{block}   \end{blockarray} \] \end{document}   It's just a quick hack to get a bit more horizontal space between the parentheses and the matrix entries.


I found this problem in a collection of contest problems of a Russian competition in 1995 and wasn't able to solve it.     Solve for real $x$:   $$ \cos (\cos (\cos (\cos(x))))=\sin (\sin (\sin (\sin (x)))) $$   My guess is that there is no solution, but how do I prove it? I tried to estimate  $LHS\ge \cos (1) \ge \cos(\pi/3)=1/2 $  and RHS similarly but the ranges overlap..  Do you have a better idea?


I just found  , and I must say I found it very useful; however, it was closed as "Off topic". Now, it hasn't generated all that many page views, but I would have loved it if it was open, in case something new came up in the past year it was closed.   The "Off topic" specification doesn't exactly explain what the problem is with the question; I see the point for Stack Overflow, given there is no actual coding problem discussed - but a user in that post points out:     (That aside, prepare for your question to be closed, it's a bit too close to "please provide me a list of", which isn't muchly appreciated)   Now, the thing is, a lot of times I actually would appreciate greatly a "provide me a list of" question, like in this case - however, I can see the point in this posting in particular not being on-topic for Stack Overflow.   My question then is - is there a place where such "listing" questions about computer software in general can be asked? I don't think it would fit in programmers.SE, and one may think superuser.com would be appropriate - but then again, its purpose could be understood as specific questions about how to do more advanced stuff with existing software, thereby excluding again listing questions.   If that is so, then where do such question belong? If Super User on the other hand is appropriate, wouldn't the referred post be better off moved to Super User, and opened for contributions there - instead of sitting on Stack Overflow closed?


I need to disable SSH information while telnet to SSH port in CentOS.  telnet 192.168.10.192 22 Trying 192.168.10.192... Connected to 192.168.10.192. Escape character is '^]'. SSH-2.0-OpenSSH_6.4   Please help!


Where can I start watching Game of Thrones to follow the story beyond A Dance With Dragons, without being lost by adaptation changes?

I'm sick of waiting for The Winds of Winter. Where should I start watching the show where I won't be too lost from the book differences and I won't have to watch a lot of stuff I've already read about?  Or am I screwed and I should just watch them all? I just want to wade through the least amount of stuff I already know about from the books.


What's the verb form of 'deadbeat' in English?

I am looking for an idiomatic word to describe what a deadbeat does of refusing repaying. In my country, this behavior is described as 'laizhang', literally means a person refusing to repay the money he owes intentionally. an example of it would be:     That deadbeat, he borrowed $1000 from someone last year and promised to repay it this year, but now he___, denying the loan he owes and trying to get away with it.    Is there a general word to say it in English? What do you call this behavior in daily life conversation? thanks.  edit: @1006a  I am looking for a word to specifically describe someone who can pay but won't in spoken English, I think that's a different request, thanks.


All I know of the Gamma function is $$\Gamma(\alpha) = \int\limits_{0}^{\infty}x^{\alpha - 1}e^{-x}\text{ d}x$$ and the recursive formula $$\Gamma(\alpha) = (\alpha-1)\Gamma(\alpha - 1)\text{.}$$ A friend asked me to try to find $\Gamma(2.7)$. I assume this involves complex analysis, which I have absolutely no background on (except for the basic Euler formula). Using Wolfram, I found that  $$\Gamma(2.7) = e^{0.434821}$$ which suggests to me perhaps writing out $e^{-x}$ as a Taylor series: $$\Gamma(\alpha) = \int\limits_{0}^{\infty}x^{\alpha - 1}\sum\limits_{i=1}^{\infty}\dfrac{(-x)^{i}}{i!}\text{ d}x$$ but alas, this doesn't look helpful.  How does one derive that $\Gamma(2.7) = e^{0.434821}$?


If $R$ is reduced residue system then $\exists! b\in R$ such that $a\equiv b\pmod n$

If $R$ is a reduced residue system modulo $n$ and $\gcd(a,n)=1$ then $\exists! b\in R$ such that $a\equiv b\pmod n$.  Recall: $$R=\{a\in C \mid \gcd(a,n)=1\}$$ Where $C$ Is a complete residue system modulo $n$ I didn't quite understand the theorem even when i‘ve flipped the paper so i can see the proof of it, let’s take an example to clarify things. Example: Let $C=\{0,1,2,3\}\implies R=\{1,3\}$ but where is $a$ here? If $a=3,n=4$ Then $b$ here is just $3$, and it’s obvious that $3\equiv 3\pmod 4$ , so my question is what is $a$.


Can files be created with permissions set on the command line?

When creating directories, mkdir -m <mode> <dir> provides for creating one or more directories with the given mode/permissions set (atomically).  Is there an equivalent for creating files, on the command line?  Something akin to:  open("file", O_WRONLY | O_APPEND | O_CREAT, 0777);   Is using touch followed by a chmod my only option here?    Edit: After trying out teppic's suggestion to use install, I ran it through strace to see how close to atomic it was. The answer is, not very:  $ strace install -m 777 /dev/null newfile ... open("newfile", O_WRONLY|O_CREAT|O_EXCL, 0666) = 4 fstat(4, {st_mode=S_IFREG|0666, st_size=0, ...}) = 0 ... fchmod(4, 0600)                         = 0 close(4)                                = 0 ... chmod("newfile", 0777)                  = 0 ...   Still, it's a single shell command and one I didn't know before.


I'm particularly curious why Google is not included, since their share price towers above all the component prices in the Dow 30.


Down vote changed to up vote caused reputation meter to pass daily maximum

I just experienced a minor visual bug.  I had an answer that earned 2 down votes and 22+ upvotes, earning me the daily maximum of +200. Upon making some edits to the answer at the behest of the comments, one of the users who down voted changed their vote. Now my reputation meter shows that I gained +202 for the day.    This correctly did NOT affect my reputation, as I still only gained 200, so it is merely a minor display bug.  This appears in the achievements drop down and my reputation tab on my profile.


What differentiates index funds and ETFs?

Many companies offer index funds and ETFs. If two funds or ETFs track the same fund, what differentiates the two? Is it common for one index fund to outperform another? How can this happen if the funds/ETFs are tracking the same index?  I found . When forced to choose between them, index ETFs look like the better option (under the right circumstances), but what differentiates index funds/ETFs when compared to similar vehicles?


C Programming : Confusion between operator precedence

I am confused between precedence of operators and want to know how this statement would be evaluated.  # include <stdio.h>  int main() {   int k=35;     printf("%d %d %d",k==35,k=50,k>40);     return 0;   }   Here k is initially have value 35, when I am testing k in printf I think :   k>40 should be checked  which should  result in 0 k==35 should be checked and which should result in 1 Lastly  50  should get assigned to k and which should output 50   So final output should be 1 50 0, but output is 0 50 1.


I was looking for solutions for measuring string height of a HTML5 canvas element. I found  solution but that doesn't satisfied my needs. Later, when I came up with my own solution, I come back and made my own answer. But then while looking at other answers more attentively I found that one answer uses the same approach as mine.   Should I delete my answer or not? Should I add answers with the same approach but different content?


I would like to refer in my abstract class to any potential subclass like to parameter, to make universal functions, that would for example make new instances of subclass without overloading.   abstract class Fictional {   public static ArrayList<SUBCLASS_PARAM> subclassArray = new ArrayList<SUBCLASS_PARAM>();   int i;    private Fictional(int i) //All subclasses have to implement this constructor   {      this.i = i;      //body   }    public static SUBCLASS_PARAM loadFromFile() //I wouldn't have to override this method   {      SUBCLASS_PARAM subclass = new SUBCLASS_PARAM(1); //it's not possible to make new instance of abstract class, but it would be possible with any other subclass      subclassList.put(subclass);      return subclass;   } }  class Real extends Fictional { //nothing here }  class main {   Real r = Real.loadFromFile() }    Is there any way to make something like this ?


Can I disable interpolation (enable nearest-neighbor filtering/upsampling) with \includegraphics?

When I include the .png image on the right side (32x30 px) in a LaTeX document and typeset it with latexpdf I get the blurry result on the left, even if I turn interpolation off using [interpolate=false]. Can I do anything about that (apart from upsampling the image to 600 dpi with nearest-neighbor filtering beforehand)?  Update:  As explained in the linked question, it’s an issue with PDF viewers.  I ended up using nearest-neighbor upsampling with imagemagicks for f in *.png; do convert $f -filter point -resize 2000% _$f; done to make sure it looks correct in all cases.  (I calculated the resizing factor so that it scales the picture to 600 dpi.)


No wired connection - Wired unmanaged ubuntu 18.04

I recently upgraded to ubuntu 18.04 but I'm facing issues with the wired connection. First off, I must say that the wifi connection is working fine.  When I start my computed I don't even get the wired network icon. Going into the settings/Network parameters, I don't see anything about wired connection (only VPN and proxy).  Thus I tried to understand what was happening and I used a couple of different commands:  ~$ lshw -C network  WARNING: you should run this program as super-user. *-network                     description: Wireless interface    product: Wireless 8265 / 8275    vendor: Intel Corporation    physical id: 0    bus info: pci@0000:01:00.0    logical name: wlp1s0    version: 78    serial: 00:28:f8:f8:80:b8    width: 64 bits    clock: 33MHz    capabilities: bus_master cap_list ethernet physical wireless    configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-  22-generic firmware=34.0.1 ip=10.4.26.243 latency=0 link=yes multicast=yes wireless=IEEE 802.11    resources: irq:144 memory:dc100000-dc101fff *-network DISABLED    description: Ethernet interface    physical id: 2    logical name: enx3c18a070d46d    serial: 3c:18:a0:70:d4:6d    size: 1Gbit/s    capacity: 1Gbit/s    capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation    configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.09.9 duplex=full link=no multicast=yes port=MII speed=1Gbit/s   Then I decided to enable the ethernet interface as follows  sudo ip link set enx3c18a070d46d up   The result of the "lshw" command does not show DISABLED anymore. The wired connection icon came back but still no internet connection and now showed the following message  Wired unmanaged   I would be very interested if any of you have an idea about how to solve this problem.  Thank you and have a good day.  Finally, here are the results of a couple of commands (note that ifconfig is obsolete on ubuntu 18.04)  ~$ ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN     mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 00:28:f8:f8:80:b8 brd ff:ff:ff:ff:ff:ff 3: enx3c18a070d46d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc     fq_codel state UP mode DEFAULT group default qlen 1000 link/ether 3c:18:a0:70:d4:6d brd ff:ff:ff:ff:ff:ff  ~$ ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN  group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo    valid_lft forever preferred_lft forever inet6 ::1/128 scope host     valid_lft forever preferred_lft forever 2: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state  UP group default qlen 1000 link/ether 00:28:f8:f8:80:b8 brd ff:ff:ff:ff:ff:ff inet 10.4.26.243/23 brd 10.4.27.255 scope global dynamic noprefixroute wlp1s0    valid_lft 42269sec preferred_lft 42269sec inet6 fe80::11e5:2546:9014:171b/64 scope link noprefixroute     valid_lft forever preferred_lft forever 3: enx3c18a070d46d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc  fq_codel state UP group default qlen 1000 link/ether 3c:18:a0:70:d4:6d brd ff:ff:ff:ff:ff:ff inet6 fe80::3e18:a0ff:fe70:d46d/64 scope link     valid_lft forever preferred_lft forever


I was reading an article about Apple's products, and at the part describing this years rumor to upcomming new laptop computers it went "a major upgrade has been due for a while"  I'm not sure if I took the meaning of "for a while" correctly. Does this means "in a while", "in the near future" or "in the immediate future"?  The above phrases is extracted from "Report: New ultra-thin MacBooks coming later in 2016, featuring new metal-injection molded hinges"    Thank you for the help as always!


What will happen if for a BJT transistor, it's emitter terminal is treated as collector and collector as emitter in a common emitter amplifier circuit?


My homework is due tomorrow (12h left), that means I've already lost, but I'm looking genuinely for a possible solution.  The Problem:     Let $n \in \mathbb{N}$ and $1 \leq r \leq n$. Let $A = [a_{ij}]_{i,j}$ be an $r \times r$ matrix, let $B = [b_{ij}]_{i,j}$ be an $r \times (n-r)$ - matrix, and let $C = [c_{ij}]_{i,j}$ be an $(n - r) \times (n-r)$ matrix. We define an $n \times n$ matrix      $$D = [d_{ij}]_{i,j} := \left[\begin{array}{c|c}   A & B \\   \hline   0 & C  \end{array}\right].$$      Show that: $det(D) = det(A) \cdot det(C)$.      Further, distinguish between the cases when $C$ is invertible and when $C$ is not invertible.   To be sincere: I don't even have a solution approach.


My external HD isn't mounted and can't be repaired by Disk Utility. However, I'm also unable erase the disk:  $ diskutil list disk2 /dev/disk2    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      GUID_partition_scheme                        *4.0 TB     disk2    1:                        EFI EFI                     314.6 MB   disk2s1    2:                  Apple_HFS Everest                 4.0 TB     disk2s2  $ diskutil repairVolume /dev/disk2s2 Started file system repair on disk2s2 Everest Updating boot support partitions for the volume as required Error: -69673: Unable to unmount volume for repair  $ diskutil eraseDisk JHFS+ Everest /dev/disk2 Started erase on disk2 Unmounting disk Error: -69888: Couldn't unmount disk


Comment flag popup is hidden when flag from the negative voted answers

There is a strange display issue with the comment flag popup.  When I open a comment from the Data Explorer, the comment appeared in the top of the page. Then I click the flag link, the popup box is appeared but overlapped with the Answer box.  This strange issue occurs when the comment's answer have the negative points and the answers are ordered by votes.    But I can manually click the partial visible part of the popup to flag the comment. Initially I found the issue in Stack Overflow and posted in its . Later I see the same issue in other SE communities too, so I posted here.  The following sample comments with negative votes, can be produce the issue:            The same is in the below GIF format:    It happened in the Google Chrome, Mozilla Firefox and Internet Explorer browsers.


I am not able to compare two strings and obtain the expected output

How would I get the strings "part1" to properly compare to "findF","findPLUS", and "findMINUS?" Currently it runs without any errors but it does not properly do the actions inside of the if then statement.  output is "F - F +"  public void arrayHolder(){     String compare = ",F,-,F,+";     for(int i=0;i<=(compare.length()/2);i++){          String[] index = compare.split(",");          String part1 = index[i];         String findF = new String("F");         String findPLUS = new String("+");         String findMINUS = new String("-");          if(part1 == findF){             m.forward(25);         }else if(part1 == findPLUS){             m.turnLeft();         }else if(part1 == findMINUS){             m.turnRight();         }         System.out.println(part1);       }        }


Does Object.freeze() cause the assigned object to be immutable?

If I write the following code:  var foo = [1, 2, 3, 4]; var bar = foo; Object.freeze(bar);   Does this mean foo is also immutable?  If not, how can bar remain constant if foo is updated?


Open tunnel only during local command run

I have a script that needs a tunnel to a remote server. Something like this:  ssh -fNL 8080:localhost:80 my_server   How can I close the tunnel after my local script ends?   The above example is just one of the combinations I tried. I have seen how to make a blocking ssh call, executing a remote command and a self closing the tunnel with 'sleep', but I just want a way to provide the tunnel only during the execution of my script.  My last approach was forking ssh into the background and let it get killed when the script dies, but with the above command the ssh process is still alive after ending the script. Also I am exploring how to obtain the PID to manually kill the background ssh.


Can I change the default /// method comment snippet?

Is there any way to change the default C# comment snippet that typing /// gets you?  For example, can I replace this default comment snippet  /// <summary> /// /// </summary> /// <param name="arg1"></param> /// <param name="arg2"></param> public void MyFunction(int arg1, int arg2) { }   With this one  /// <summary> /// /// </summary> /// <param name="arg1"> /// /// </param> /// <param name="arg2"> /// /// </param> public void MyFunction(int arg1, int arg2) { }


access/login to user profile/folder in VM ubuntu 12.04 lts

When I click log in to login to my user profile, the screen turns black for a fews seconds you can see a few lines (trying to start and get kick out?) and then just returns to the log-in menu. It logs me in as admin automatically. I don't have admin password either. How can i access my user profile? I am able to access the GRUB and select root but it ask for root password which i don't have. Here is the message: Give root password for maintenance (or type control-D to continue):     update I were able to reset the passwords after accessing GRUB thanks to :  but it is still looping when i try to login.      Any insight?


Two different tables with different labels being referenced by the same number

I have two different tables, with two different labels: \label{lab1} and \label{lab2}. The tables were generated in the  site and I am using Overleaf. When I reference these two tables, \ref{lab1} and \ref{lab2}, the text exhibits the same number for both tables: Table x.y and Table x.y, instead of Table x.y and Table x.z.  Here are the codes:  \begin{table}[!ht] \label{lab1} \caption{Text1} \resizebox{\textwidth}{!}{% \begin{tabular}{ll} \rowcolor[HTML]{EFEFEF}  \multicolumn{1}{c}{\cellcolor[HTML]{EFEFEF}\textbf{Title 1}} & \multicolumn{1}{c}{\cellcolor[HTML]{EFEFEF}\textbf{Title 2}}             \\ \hline ACM Digital Library (5)           & Some Text1                                \\ \hline IEEE Xplore Digital Library (6)   & Some Text2        \\ \hline Scopus (61)                       & Some Text3 \\ \hline Springer Link (40)                & Some Text4    \\ \hline ScienceDirect (23)                & Some Text5                  \\ \hline Google Scholar (703)              & Some Text6                              \\ \hline \end{tabular}% } \end{table}  \begin{table}[!ht] \label{lab2} \caption{Text2} \resizebox{\textwidth}{!}{% \begin{tabular}{ll} \rowcolor[HTML]{EFEFEF}  \multicolumn{1}{c}{\cellcolor[HTML]{EFEFEF}\textbf{Title1}} & \multicolumn{1}{c}{\cellcolor[HTML]{EFEFEF}\textbf{Title2}}                                                                                \\ \hline Text1           & \begin{tabular}[c]{@{}l@{}}aaaaaaaa\end{tabular}                  \\ \hline Text2           & \begin{tabular}[c]{@{}l@{}}bbbbbbbbb\end{tabular}                         \\ \hline Text3           & ccccccccc                                                                                \\ \hline Text4           & \begin{tabular}[c]{@{}l@{}}ddddddddd\end{tabular} \\ \hline \end{tabular}% } \end{table}


I want to echo html code with dots:  echo '
…
' . "\n";   But I get
���
   How can I solve this problem?


Inconsistent preview and rendered image (rendered image is completely bright)

Preview    Rendered image    The light pipe is modeled with an emissive shader and the background is a yellowish low-res picture. The image is a screenshot when the final rendering is still running, so no composition/post-processing is applied. Everything seems to be right until I turn the light pipe on with the emissive shader. What might be the problem with this issue?


Alternative to Macromedia flash [Not Flash Player]

What is the best flash building alternative for Adobe flash or Macromedia flash ?


Automated Way To Generate Standalone .bib File?

I have a latex document which has several citations. These citations are from my global .bib file that I manage with JabRef. The documentclass of my document is IEEEtran (I doubt my use of IEEEtran affects the answer, but this is my usecase, so I figured I would ask in context).  I am getting ready to share my document (and the .tex file) and would like to share a minimal working .bib file with it. My question is: is there an automated way of extracting the entries from a .bib file using the .tex or .aux files of a document so that the output .bib only contains the bibtex entries cited by the document?  Obviously, I could manually go through my document, find the keys, copy the relevant entries from my global .bib file to one called standlone.bib or some such. But I'm curious if there are any extant automated ways. Or if there are not any automated ways, are there any simple commands to get there?  I have been searching and was unable to find any answers to this question, so please forgive me if this is a duplicate as I did not know what terms to search for beyond "latex standalone bib from tex", etc.  For completeness, suppose I have a document such as the below MWE snippet in a file called document.tex.  % document.tex \documentclass{IEEEtran}  % ... Various preamble commands  \begin{document}  Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Sed mattis pellentesque mauris. Sed non nisi ut velit  ullamcorper congue non eu erat. Aliquam pharetra nibh magna, eu consectetur risus aliquet vel. Aenean eget turpis dui. \cite{key1}  Sed in tristique nibh, vel ultricies lorem. Pellentesque sem lacus, maximus ac laoreet eu, mattis at sem. Maecenas dignissim sagittis nisl, non interdum nunc auctor nec. Proin ac ipsum quis lorem placerat accumsan sed quis sem. \cite{key2}  % ...  \bibliographystyle{IEEEtran} \bibliography{jabrefBib}  \end{document}   Example of the command I hope exists:  $ exportbibfromdoc --stand-alone-bib document.tex -o standalone.bib   so that the output would be  % standalone.bib @ARTICLE{key1, ... }  @BOOK{key2, ... }  ...   Thanks in advance for any help!


On the interpretation of the limsup of a sequence of events

In the context of understanding Borel-Cantelli lemmas, I have come across the expression for a sequence of events $\{E_n\}$:  $$\bigcap_{n=1}^\infty \bigcup_{k\geq n}^\infty E_k$$  following . This is verbalized as:   Limit supremum of the sequence of events when $n\rightarrow\infty$: $\limsup\limits_{\small n\rightarrow\infty}E_n$. The event that occurs "infinitely often": $\{E_n \,\text{i.o.}\}$ or the set that belongs to "infinitely many" $E_n$'s.   The explanation is that $\displaystyle\bigcup_{k\geq n}^\infty E_k$ is the event that at least one of the $E_n,E_{n+1},E_{n+2,\cdots}$ events occurs.  The question is about the meaning of $\displaystyle\bigcap_{n=1}^\infty $ in front.   The way I look at it is that it would play the role of excluding every $\{E_n\}$ imaginable with $n\in\mathbb N$. For instance, when $n=1$, the union part of the expression would render: $\{E_1,E_2,E_3,\cdots\}$; and when $n=2$, this same union operation would yield: $\{E_2,E_3,\cdots\}$. So the intersection in front of the expression would eliminate $\{E_1\}$ and leave the rest. Next would come the intersection with $\{E_3,E_4,\cdots\}$, excluding $\{E_2\}$. Doing this exercise at infinity would manage to exclude every single $\{E_n\}$.  Is this what the intersection/union operation is supposed to do: "clip" out every single set? My understanding is that this is not the case, and that we want to end up with a "tail" of events after point $k$.  What is the correct interpretation, and what is the mistake I am making?  NOTE to self: It is not about the "clipped out" sets at the beginning, but rather about the tail events. The union part indicates that any of the events after event $n$ occurs, defining the "$n$-th tail event." The intersection is defines the event that all the $n$-th tail events occur.


Can someone explain to me why db is shown as undefined in the console given the following code:    function connect(){    var db="Connected to";   logConnection(); }  function logConnection(){    console.log(db);    }  connect();   This is obviously a simplified example but in reality I'm working with nodeJS and mongodb.  The db variable is in reality a connection to a database on which I want to perform queries.  If I can understand this in more detail, it would greatly help with my debugging.


Why must a field whose a group of units is cyclic be finite?

Let $F$ be a field and $F^\times$ be its group of units. If $F^\times$ is cyclic, then show that $F$ is finite.  I'm a bit stuck. I know that I can represent $F^\times = \langle u \rangle$ for some $u \in F^\times$ and that we must have that $|F^\times| = o(u)$, where $o(u)$ denotes the order of $u$ in $F^\times$.  I tried assuming $o(u) = \infty$, but I'm not sure exactly where to go from there. I was wondering if I could get a hint.


I have a mobile interface with a button and an auxiliary text saying something like "click here to complete the action".  The problem is: The marketing team is not comfortable with removal of the  auxiliary text, not even changing "click here" to "touch here" (better in my opinion).  Is there any evidence-based study proving (or disproving) that "click here" in touch interfaces could lead to confusion for the user?


How do I move back to original directory?

First i did pwd, it says:  /home/user   I changed my directory using :  cd /Italic/Food/Places   Now, I want to go back to original directory: /home/user. How can I do this?


How to use sitemap.xml on main domain for subdomains?

I have website with subdomains, example: example.com, de.example.com, fr.site.com ... language support. Is it correct to use one Sitemap.xml on main domain example.com?  Example sitemap.xml:  http://example.com/index http://example.com/about http://de.example.com/index http://de.example.com/about http://fr.example.com/index http://fr.example.com/about   .... or will be correct to use sitemap for each subdomain?


What’s the correct way to refer to “the Doctor”?

What is the correct or most acceptable way to refer to the main character of Doctor Who?   The Doctor Dr. Who Doctor Who Doctor The Dr.   I was searching and couldn't find any explanation on how I should say it!   I remember seeing something like, the name changed depending on the incarnation — the presentation of the name of the actor in the episode changed the nomenclature of the Doctor. If I'm not wrong, William Hartnell was called "The Doctor" while Baker was "Doctor Who".


In follow up to this question:    People here are giving their themes to post in a file ".texsprofile". I searched my whole disk for a file with this extension but I could not find it.  Could anyone tell me where exactly this file is hidden or how to change the theme, because my eyes really hurt after some hours of latex..  Thanks!


I have a 256GB SSD disk on which I converted my ext4 root FS to btrfs. I erased the ext4 backup subvolume, enabled compression and defragmented recursively to enable it on all files.  btrfs fi df / has an output that worries me though:  Data: total=148.00GB, used=106.11GB System: total=32.00MB, used=16.00KB Metadata: total=65.00GB, used=2.04GB   If I understand the output correctly, 65GB (1/4 of my disk!) is reserved for meta-data and not available for storing files. If this is correct, it would be a huge waste of my disk space. Am I understanding correctly? Can the metadata-allocated portion of my disk be resized?


Is there any way to avoid grease splatter?

I often cook fries in a skillet. I put about 1/4 cup vegetable oil into a large skillet and heat on high, then I toss in some frozen fries.   As soon as I toss them in there is an explosion of grease that makes a huge mess. After it simmers down though, I can cook the fries without spilling anymore grease.  Is there anyway to avoid the initial uproar?


Check disk before installing ubuntu, gave me error in 1 file

I used UNetbootin to make a bootable USB to install Ubuntu 10.4 TLS, during installation, at 55%, I got an error [errn5] or something like that, next time I rebooted, I checked the disk to see if there's errors, at the end it said " error in 1 file ", what now ? How do I fix it? How do I know which file?


I'm new in Ubuntu 16 and want to know, how to fix this problem.  Reading package lists... Done Building dependency tree        Reading state information... Done 4 packages can be upgraded. Run 'apt list --upgradable' to see them. W: http://archive.canonical.com/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)


Why can't I click on META when using the latest version of Chrome on Win10?

On every other site on Stack Exchange I can click on the site's title and be taken directly to the questions...     Except Meta.stackexchange.com   Here I actually have to click on the word "Questions" as there is no link active on the Meta title and logo.  Now I agree this isn't a big deal, however as I typically visit stack exchange pages up to a couple of hundred times a day, this one that doesn't fit spoils my flow. I am pretty certain it used to work.  It works for me in Firefox, and Safari on iPad, but even closing and reopening Chrome doesn't fix the issue.  Chrome is on Version 53.0.2785.116


I KNOW this question it's kind of a duplication, but I think my problem is a bit different than the other questions I found here.  If I echo $PATH, I can see the usual string with several paths. Ok. But I cannot find where they are really written (at least no all):  /private/etc/profile:  if [ -x /usr/libexec/path_helper ]; then     eval `/usr/libexec/path_helper -s` fi  if [ "${BASH-no}" != "no" ]; then     [ -r /etc/bashrc ] && . /etc/bashrc fi   /private/etc/paths:(there are some but not all I can see from the echo!!!)  /usr/bin /bin /usr/sbin /sbin /usr/local/bin   ~/.bash_profile  [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*   ~/.bashrc  PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting   And I currently don't have any ~/.profile file.  I'm not a unix expert at all. I cannot understand where all the paths come from and so where's the best place to add or modify.  Can you suggest me something? :)


Converge of a numerical series with root

There is the numerical series of $\sqrt{n^{2} +1} -n$. I tried to use D'Alembert criterion to conclude if it converges but the limit is equal to 1. Even the Cauchy criterion does not work. Thank you for your guidance.


Install latest Ubuntu in dual UEFI boot with windows 8.1 64bits

I have an 64bits windows 8.1 pc with UEFI and I am not able to dual boot the latest version of Ubuntu 64 bits on it, it says that it doesn't support EFI. Need help pls, and I don't want to change UEFI for traditional bios


Ref:  which does not address an adequate answer, and the question is lacking details.  I am in explorer view, and I drag and drop a new file into a folder. In versioning settings, I have "require check out" set to YES. None of my metadeta columns are set to "required."  After dragging/dropping, the file(s) are checked out to me.  I would like them to be checked in on initial upload, considering I have no metadata required to be entered.  Thank you.


Should I normalize word2vec's word vectors before using them?

After training word vectors with word2vec, is it better to normalize them before using them for some downstream applications? I.e what are the pros/cons of normalizing them?


In dynamic resource allocation r tasks are assigned at random to n computers, with no restriction on the number of jobs per computer

I have never done this type of question (with arbitrary variables in a counting problem), so I had a lot of difficulty. Please let me know if my approach is wrong. Thanks!   "Computer number 1 is assigned no jobs"; "Computers number 1 and 2 are assigned no jobs"; "exactly two of the computers are assigned no jobs" "No computer is assigned more than one job".   Here are my attempts:  Firstly, the total number of combinations is $r^n$, since for each of the n computers, an unlimited number of tasks from r can be allocated.    Since Computer 1 can be assigned no jobs, there are $r^{n-1}$ ways to assign the tasks to the remaining tasks. Thus P = $\frac{r^{n-1}}{r^n}$. Same idea to the one above, P = $\frac{r^{n-2}}{r^n}$ There are $r^{n-2}$ resources to allocate, but since any two computers, there would be $n \choose 2$ different ways to choose the two computers. Thus $P=\frac{(r^{n-2}) {n \choose 2}}{r^n}$ This one I have no idea how to even begin. Please help!


Anyone know how to disable that cheesy startup sound when I power on my Mac?  If it makes a difference, I'm running Mac OS X 10.6.


Would these magnets be enough to damage a portable HDD?

As per the title, would these magnets    be enough to damage a portable hard drive such as this Seagate GoFlex     if left next to each other for longer than, say, 20 minutes?  Thankfully, this is all hypothetical at this point as I have kept them apart to date and my question comes to mind if the two fell on top of one another whilst in a backpack or bag.


How to add every word of a sentence into a stack as a separate element in java?

I am trying to separate each word in a string and then add them to a stack. Here is the code I wrote to do this. Every time I run the tester, it always returns an empty stack, but shouldn't the stack have <body> in it?  import java.util.Stack;  public class HTML3{ //main method public static boolean checkBalance(String str) {     Stack<String> stack = new Stack<String>();     String[] words = str.split(" ");     for (int i = 0; i < words.length; i++) {         String tag = words[i];         if(tag=="<body>" || tag=="<hl>" || tag=="<center>" || tag=="<p>" || tag=="<ol>" || tag=="<li>") {                      stack.push(tag);         }     }      return stack.isEmpty(); }  public static void main(String[]args) {     checkBalance("<body> <li>");    }   }


So I've been using OSX but have been using Ubuntu on my mac desktop for a good 2 weeks. I am wondering if anyone has a suggestion for an alternative program for bulk file/folder renaming?  I'm currently using  and I can rename files like this way  parent1   -- sub1     -- parent1-sub1-my-file-here0001.jpg     -- parent1-sub1-my-file-here0002.jpg   or do find and replace text like replace all instances of "image" with "IMAGE" or change the file extension to something.  I've read old discussions on this topic but the suggestions made are really quite basic compared to what I'm used to.  I've thought of scripting some of the more easier bits like creating a sequence for the files but honestly, I prefer to use a GUI for things like this.  Any suggestions? Thanks.  edit: the topic that's supposedly the "original" of this one is date 2010. A lot of new tools could've come out since then.


Why didn't the Uruk-Hai use Wargs to deliver Merry and Pippin?

In the movies, the pack of Uruk-Hai capture Merry and Pippin, and are bringing them back to Saruman as quickly as possible.  Why didn't they use Wargs to carry the Hobbits instead of packing them on their backs?    Or, better yet, why didn't the Nazgul fly down and take them on their Fell Beasts?


question reminded me of a similar short story that I believe I read in one of the various SciFi magazines, IASFM possibly, since I had a large collection of those, most from the 80's.  It is definitely not "Why Johnny Can't Speed" although it is very similar.  It's set marginally in the future, or a semi-dystopian "future now" relative to when it was written.  A man and his family are driving along the highway in a very standard family car hovercraft when someone in an obviously high-powered vehicle becomes aggressive towards him.  (He is cut off, tailgated, something, I forget exactly what.)  There is a sequence of detailed road combat - with the man and his family increasingly terrified at the situation - until the man finally manages to take the punk and his hovercraft out by throwing his and his wife's safety helmets out of the vehicle so that they get sucked under his adversary's hover skirt.  He is then horrified to realize that he is now on the top-10 list of road warriors, having just picked off one of the highest-ranked members and thus earning his position.  His car console lights up with messages of challenges from many other lower-tier warriors as the map shows them starting to converge on his location.  It differs from "Why Johnny Can't Speed" in that it's accidental (well, it's his fault, but he didn't realize what he was doing) that the man gets involved in the car wars situation, he distinctly does not have a combat vehicle, and there was no family death involved.  edited to change some details as indicated by comments


Please revisit the decision not to let people remove moderator flags

More than a couple of people have suggested making it possible to remove/cancel/undo/whatever a moderator flag. Some seemed to be worried about flag weight or whatever. (I know "flag weight," per se, is gone; that doesn't mean mis-flagging isn't monitored.) I don't care about that, I care about wasting moderator time, and avoiding silly misunderstandings.  There is exactly zero reason why a moderator should have to look at a flag I've raised if I see that the reason for the flag has been corrected, and it leads to seemingly-nonsensical flags (because by the time the mod sees them, the situation isn't as described) and nonsensical replies to those flags from moderators (because things have changed).  This can be avoided by giving users with sufficient rep (or whatever other measure you want to use) the ability to remove their own flag prior to a mod getting to it.  Most of the requests for this (e.g., , or ) don't actually have a status-declined on them, but overall it seems as though there's been a decision not to allow users to cancel their own flags. Could we revisit that?


Copying an Ubuntu on VMWare to Real Computer without any lose

Situation  I have an Ubuntu 15.10 with programs, themes, apps, settings etc. I've installed.  But I have installed to my Ubuntu unnecessary things for real computer too. (like VMWare tools and drivers.)  What I want to  I want to copy and paste my Ubuntu from VMWare to real computer without any lose. (gtk themes, my desktop files, installed apps etc.)  So...  How can I copy Ubuntu like this and install my real computer without any lose but compatible with new computer and new computer's drivers.  Thanks!


Glucagon stimulates glycogenolysis and gluconeogenesis, thus increasing the plasma glucose concentration — so that tissues get enough glucose in the fasting state. However glucagon also inhibits glycolysis. In this case, what is the point of having high blood glucose if it cannot be catabolized?


enumitem: How can I make a custom label for a specific entry in a list?

I am writing a list of questions:  \begin{enumerate}     \item This is a question.     \item This is another one.     \item This one is a hard one, I want to add an asterisk to the label.     \item This one is another ordinary question. \end{enumerate}   On the third entry, I want an asterisk in front of the label number. A naive approach would be this:  \begin{enumerate}     \item This is a question.     \item This is another one.     \item[*3.] This one is a hard one, I want to add an asterisk to the label.     \item This one is another ordinary question. \end{enumerate}   I would expect the output to look like this:   ... ...   *3. ...   ...   However the output is this:   ... ...   *3. ...   ...   Is there a way to do this?