Movie with a crane smashing into an apartment building, a father looking for his son, and a computer/AI that watches everything through cameras

Trying to find a movie I watched about 10 years ago, I don’t remember much of the plot, nor the title, and I’m trying to figure it out. I recall the following details:  Crane smashes into apartment building. Father is trying to find his son. Based in New York maybe? (Sphere like?) computer/AI has multiple surveillance cameras and watches everything.


How to prevent automatic hibernation while watching videos?

I have my settings to hibernate after 20 minutes and after 5 minutes it kicks into hibernate even when I'm watching a movie. I'm a complete newbie with Linux. I have Ubuntu 14.04 and my computer is a HP 655 laptop also I have xscreensavor.


Techniques to prove that there is only one square in a given sequence

What techniques/methods can be used to prove that the sequence produced by $n\cdot (n+1)\cdot (2\cdot n+1)/6$ contains only one square ($4900$) greater than 1?  While this particular sequence is an interesting example, I'm interested in techniques that can be generalized to any sequence with a polynomial generating function.  In general, this is equivalent to asking for the solution to the Diophantine equation: $$ a^2 = n\cdot (n+1)\cdot (2\cdot n+1)/6. $$


counting number of specific string in each row

I have a SNP table looks like this  A N N N N N N N N N N N N C N N N C N N N N N N N N N N N N N N N N N N N C N N N C N N N N N N N N N N N N N N N N N N C C N N N N N N N N N N C C N N N C C N N N N N N N N N N N N N N N N N   I want to count total number of N in each row? any idea how to do that


I'm studying a relatively new mathematics degree called 'discrete mathematics'. This degree intertwines mathematics and computer science such that you can solve most mathematical programming problems (and more) while being able to code them (theoretical CS).  Is this something sought after by game developers? My dream is to work for a game developing company and I want to bring something to the table that nobody else brings. In my case, hopefully exceptional mathematical knowledge. You can look at it this way: If you have a mathematical problem, you'd rather want someone of my caliber than a regular mathematician as it's IT related (again, discrete mathematics). But is it needed?  EDIT: This is NOT a duplicate of the supposed duplicate. I am not your every day mathematician which is why I believe that my question has different roots. I am specifically asking the DIFFERENCE between hiring a regular mathematician and a discrete mathematician.


How to turn a DSL wireless modem to a wifi hub

I used to use DSL for my home internet and used . Now I switched to cable and use wireless router to cover the home. One problem is I just bought a desktop and I like to put it in a place far away from the router. The desktop only has cable interface, it does not receive wifi.   The obvious solution is I go buy that little USB dongle which can receive wifi and plug it to the desktop. But before doig that, I am wondering if somehow I can re-use the Q1000 modem.   The modem has 4 LAN ports and it has wifi antenna. I tried connecting the desktop to Q1000's LAN port, the system shows wire connection is in place, but I cannot access internet.  It seems to me Q1000's wifi function is to broadcast the wifi signal out instead of receiving signal.   I went to the Q1000 configuration page by going to web page of "192.168.0.1", it is not clear how to set it up. I also wonder one thing, my home wifi is encrypted, so if I want to let Q1000 to join the wifi, I need to somehow type in the password, I am not sure how to do that either.  Anyway, maybe this thing cannot be used in this fashion. If you have any suggestion, please shed some light.  Thanks.


saving downloaded file to internal storage java/android fails

I have an app who has to download some generated images (PNG).   I tried the standard approach ImageDownloader extends AsyncTask, doInBackground() retrieves the image and the onPostExecute() will try to save it to internal image.   (Part of the) code is below:   public class HandleImages extends AppCompatActivity { String filename = "";  public boolean saveImageToInternalStorage(Bitmap image) {     try {         FileOutputStream fos = openFileOutput(filename, Context.MODE_PRIVATE);          image.compress(Bitmap.CompressFormat.PNG, 100, fos);         fos.close();          return true;     } catch (Exception e) {         e.printStackTrace();         return false;     } }  public Bitmap retrieveImage(String url){     ImageDownloader task = new ImageDownloader();     Bitmap image =  Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888);      try {         image = task.execute(url).get();     } catch (InterruptedException e) {         MainActivity.debb("InterruptedException - " + e.getMessage() + " in " + new Object(){}.getClass().getEnclosingMethod().getName());         e.printStackTrace();     } catch (ExecutionException e) {         MainActivity.debb("ExecutionException - " + e.getMessage() + " in " + new Object(){}.getClass().getEnclosingMethod().getName());         e.printStackTrace();     }     return image; }   public class ImageDownloader extends AsyncTask<String, Void, Bitmap> {     @Override     protected Bitmap doInBackground(String... urls) {         try {             String[] filenames = urls[0].split("/");             filename = filenames[filenames.length-1] + ".jpg";              URL url = new URL(urls[0]);             HttpURLConnection connection = (HttpURLConnection) url.openConnection();              connection.connect();             InputStream inputStream = connection.getInputStream();              return BitmapFactory.decodeStream(inputStream);          } catch (Exception e) {             e.printStackTrace();         }         return null;     }      @Override     protected void onPostExecute(Bitmap bitmap) {         super.onPostExecute(bitmap);         if (bitmap != null)             saveImageToInternalStorage(bitmap);     } } }   and the error that I get is: java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.FileOutputStream android.content.Context.openFileOutput(java.lang.String, int)' on a null object reference.   It seems that the FileOutputStream fos = openFileOutput(..) fails, but have no idea why.   Also tried to prepend a path (sdCard.getPath() + "/" +) to the filename. As expected it did not make any difference.   Images are ok, I can see them in the browser. Also tried with uploaded images - instead of the generated ones, same result.   This is pretty odd, does anyone have any idea?   Thanks!


I am interested in doing a PhD in Industrial Engineering and Operations Research at any of the premier American Universities. I have a postgraduate degree in Industrial Engineering from Indian Institute of Technology, Kharagpur, India, which I completed in 1983. I have about 30 years of working experience in India as an Industrial Engineer.


Recovering data off of a dead hard drive

My hard drive died in my macbook and it no longer will start up. It will not mount in an external enclosure but disk utility is still reading that the hard drive is there, and I tried to repair disk and I am getting this error: (Disk Utility can’t repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-up files.) So my question is how do I backup my files if the hard drive won't mount? The only way that I have been able to see the hard drive is through disk utility. I just want to be clear that I am using mac os x snow leapard.


I just recently got the Old Hunter Edition and everyone said that you'll be able to use the old save file from the regular base game. So I popped in the Old Hunter disc, hoping that my save file is still intact but I didn't see anything at all. So I tried out a tons of method from google but it still doesn't work! None of it. I didn't have the usual error that most people get, the error that says "Game incomplete".  I tried downloading my old save files to the Old Hunter Edition but it didn't worked either. I followed every single possible steps but none of it helped. I would greatly appreciated any help to solve this. I spent all my blood, sweat and tears to reach lvl100 with my trusty 10+ Tonitrus!!! Please help!!  I heard that you'll need to wait for about an hour or 2 to let it completely installed. I'm trying this right now and in the meantime, I'm redownloading my regular base game back since I thought the Old Hunter will work so I deleted it.


Does Platform 9 3/4 have some sort of Magical Blood Detection Charm?   For example, let's say that a Muggle saw a Hogwarts student pass through Platform 9 3/4 as though the wall was intangible, what would happen if the Muggle attempted to do the same? Would a charm exist to block them off since they don't have magical genes?  Does the same apply to Squibs? Or since they have wizard genes, but just repressed and not active, they can pass through the Platform?


Configure a command line to execute on log in

Every time I reboot my Ubuntu 14.10, my touchpad drive(synaptics) resets to default configuration. Is there a way to restore my sysclient settings after rebooting? Alternatively; how can I configure a command to execute every time I log in?  The command to set my touchpad correctly is:   synclient VertScrollDelta=-120 && synclient HorizScrollDelta=-120


Material only assigning to part of object, not all of it

EDIT: I've since discovered that the issued stemmed from the fact that the light wasn't shining on the black areas. Change it to hemi and the problem is fixed.   I'm new to blender, but I have a grasp on the basic functions. Supposedly. I've gone through an excellent course on it, but I'm still a bit lost in the area of materials and textures.   I am currently trying to texture a roof of a hut. Despite the fact that I've selected the whole roof in edit mode and assigned the material with the texture on it, only part of the roof gains the texture - the top.     Note: The top of the roof is tecturing properly: it looks solid because I'm in material view, not render. That's not the problem. The problem is that the texture is not assigning to the whole of the roof. Not the black edges of the roof, and the underside (if you open the project linked below). Those areas need to have the texture.   Why is this? I've tried to assign the material to the whole object multiple times, even selecting only one or two faces that were not affected. I can't tell if the material is ignoring the faces, the texture is, or both are (since the material looks no different from the rest of the hut for some reason - a way to tell that would be nice if I'm missing it).   I want the texture on the top of the roof like it is, but also on the sides and underside, which you cannot see in the picture. The roof is a single object, separate from the rest of the house.         What I've tried/checked:    All normals are facing the correct way. This is the first thing I checked.  I'm in Blender Render, not Cycles Render (I did some research and that was mentioned).  The material/texture does work. It's on the top of the roof, after all.  I have no way to confirm that the material is assigned to the whole object, though I don't know why it wouldn't be. I assigned it multiple times. I even deleted it and started over with the whole roof selected (ctrl+A).


I just finished installing Ubuntu 16.04.05 (Desktop) LTS on an acer Aspire 3690 laptop. This OS works just fine on this laptop, however I'll see the wifi symbol on top, but it wont recognize any wifi signal. Ethernet works just fine, issue is only with wifi. Is there any way I can get the laptop to recognize wifi signals?  06:02.0 Network controller [0280]: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)     Subsystem: AMBIT Microsystem Corp. TravelMate 2410 [1468:0312]     Kernel driver in use: b43-pci-bridge     Kernel modules: ssb 0: acer-wireless: Wireless LAN     Soft blocked: no     Hard blocked: no


I have made a program that tells me if I am connected to the internet or not. Now I want it to ping www.google.com and show me the ping time in ms. I don't want to use any 3rd party software or download anything.  Edit: My code is:  def is_connected():   try:     # see if we can resolve the host name -- tells us if there is     # a DNS listening     host = socket.gethostbyname(REMOTE_SERVER)     # connect to the host -- tells us if the host is actually     # reachable     s = socket.create_connection((host, 80), 2)     return True   except:       pass   return False   The above code just tells me if I am connected to the internet. What I want is a simple way to show the ping of a website. This is not a duplicate as it doesn't answer my question.


How to remove unwanted textures to save memory

I have two textures in Blender that are for a desk I am modeling. Each texture is 4K quality and takes up a ton of memory. I only have 4GB of memory on my computer, so I can't render an image of my scene. I decided that I would use an HD quality texture instead of a 4K, but I can not replace or remove textures from my texture list in Blender. Is there a way I can do this? Any help is appreciated.


I have a problem receiving a value from a void method  For example:  test() {     var x = this.test2("hi there");     console.log(x); }  test2(data){     return data; }   I want to receive the data from test2 but it keep saying undefined what do I do wrong in here? And how can I make this work?  It is probably so basic but I just want to know why I receive the value undefined


MYSQL Insert strips backslash escape character from json string

I'm trying to insert data into a mysql database, with the code below. Problem is, my json code containing the value "R\u00f8nde" is changed to "Ru00f8nde" after I insert it into the database.  What is the best way to avoid this?  INSERT INTO jos_payplans_user(user_id, params) VALUES ('24882', '{"modtager":"Anders And","adresse":"Paradisaeblevej 111","postnr":"1234","by":"R\u00f8nde","telefon":"12345678","user_notes":""}')


I'm having no luck at all with this .  I've tried the following software:   Banshee - The iPod shows up and files seem to be copied, but they don't show up on the iPod. Rhythmbox - Same as Banshee. Claims to sync but no files available on the iPod gPodder - At first it wouldn't even recognize the device even though I set the mount point and device type. After syncing one file to the iPod from iTunes on my mac it now behaves as Banshee and Rythmbox.  gtkpod - Again: Copies the files but they are inacessible on the iPod. Hipo - Doesn't even recognize the iPod Amarok - What is this, I don't even...   So to summarize: After some fiddling I can get most of these apps to recognize the iPod and copy files to it, but they are not accessible on the iPod which sort of defeats the whole purpose.  Help me out here. My continued harmonic love life depends on it. (Yes, it's the girlfriends iPod and laptop)


I am German and was blacklisted December 2018 at the Chennai Airport without any explanation. I had founded a Trust in Germany to support children coming from very poor rural Areas in South India (35 children, Sponsors offering 10-15.-€/month/child).    As I found out later the mistake was sending the money directly to our Indian workers, instead of sending the money to an Indian Trust with FCRA number. I resigned from the Trust and our German Trust joined with an Indian Trust with FCRA number. I have contacted the Ministry of Home Affairs several times as well as the Bureau of Immigration New Delhi, the Indian Embassy in Berlin and the Indian Consulate in Frankfurt. So far no reply. Do you have any suggestion how to proceed further?   Would it be counterproductive to approach an Indian Lawyer? Or do you happen to know an Indian Lawyer specified in the matter?    I would be so grateful for any advice or help!!


Program not breaking for some reason, counts the # of characters in "quit" instead of breaking

This program is meant to take the users input and tell them how many of each vowel there is. When "quit" is entered, the program does not break but instead just counts "quits" characters. Any ideas why? I have tried multiple ways of rephrasing the while statement but nothings seems to work.   import java.util.Scanner;  public class Count {   public static void main (String[] args)   {       String phrase = "";    // a string of characters   int countBlank;   // the number of blanks (spaces) in the phrase    int length;       // the length of the phrase   char ch;          // an individual character in the string   int countA, countE, countI, countO, countU ;     // Print a program header   System.out.println ();   System.out.println ("Character Counter");   System.out.println ();    // Read in a string and find its length      // a for loop to go through the string character by character   // and count the blank spaces   while(!phrase.equals("quit")){       length = phrase.length();                Scanner imp = new Scanner(System.in);              System.out.println("Enter a string: ");              phrase = imp.nextLine();              //put to lowercase in order to take uppercase ch's              phrase = phrase.toLowerCase();               if(phrase == "quit"){           break;         }       // set things equal to zero before starting count       countA = 0;       countE = 0;       countI = 0;       countO = 0;       countU = 0;       countBlank = 0;         //for loop to count       for(int i = 0; i < phrase.length();i++){           if(phrase.charAt(i) == ' '){               countBlank++;              }           if(phrase.charAt(i) == 'a'){               countA++;              }           if(phrase.charAt(i) == 'e'){               countE++;              }           if(phrase.charAt(i) == 'i'){               countI++;              }           if(phrase.charAt(i) == 'o'){               countO++;              }           if(phrase.charAt(i) == 'u'){               countU++;             }      }    // Print the results   System.out.println ();   System.out.println ("Number of blank spaces: " + countBlank);   System.out.println ();   System.out.println("Number of a's: " + countA);   System.out.println("Number of e's: " + countE);   System.out.println("Number of i's: " + countI);   System.out.println("Number of o's: " + countO);   System.out.println("Number of u's: " + countU);  } } }


Gmail as default client for Windows 7/Vista

I have to use old pc and can't change/upgrade it. It mostly using for scanning & emailing. We use Google apps for domain as a mail server. Can I somehow scan and email doc from this PC in one simple easy step (preferably as pdf)?  Default Windows "Fax and Scan" software allows send scanned doc as email only via local client (I know how to configure IMAP, but looking for other simpler solution).  Any ideas?


I rarely touch apache configs but I must be doing something wrong here.   trying to set it up so these domains point to different webroots:  example.com -> var/www/html  ggurt.example.com -> var/www/html/ggurt  With the current config (screenshot below), ggurt.example.com and example.com BOTH go to var/www/html/ggurt. I want the sub domain and second level domain to have different webroots. What am I doing wrong?


Error: Unknown component apex:map - Account.BillingStreet

I'm creating a new page and when I try to save the page, I'm getting the error message on this line.... <apex:map.... the error is not clear and I have no idea what is causing this error.  {!Account.BillingStreet},{!Account.BillingCity},{!Account.BillingState}">     Error: Unknown component apex:map in mymap at line 13 column 141   <apex:page standardController="Account">    <!-- This page must be accessed with an Account Id in the URL. For example:         https://<salesforceInstance>/apex/NearbyContacts?id=001D000000JRBet ->    <apex:pageBlock >     <apex:pageBlockSection title="Contacts For {! Account.Name }">       <apex:dataList value="{! Account.Contacts }" var="contact">        <apex:outputText value="{! contact.Name }" />      </apex:dataList>     <apex:map width="600px" height="400px" mapType="roadmap" center="{!Account.BillingStreet},{!Account.BillingCity},{!Account.BillingState}">         <apex:repeat value="{! Account.Contacts }" var="contact">     <apex:mapMarker title="{! contact.Name }"        position="{!contact.MailingStreet},{!contact.MailingCity},{!contact.MailingState}"     />     </apex:repeat>    </apex:map>      </apex:pageBlockSection>   </apex:pageBlock>  </apex:page>


Fastest way to have JPEG pictures into a PDF document?

What would be the fastest way to have JPEG pictures into a PDF document?  I consider include graphics. Ideally, it would be great if a package could read the file content of a given directory, and create a list of JPEG files, and then use method to produce the pdf (fullwidth, one JPEG per page).   Best regards,


My target is compare date plus time for start and end date time.   The following code which only handles date did not work  var startDate = "22-Apr-2016"; var endDate = "22-Apr-2016"; var stdate = new Date(startDate); var endate = new Date(endDate); var startTime = "10:14 AM"; var endTime = "11:14 PM"; var stTime = startTime.substring(0, 5); var enTime = endTime.substring(0, 5); var stAMorPM = startTime.substring(6, 8); var enAMorPM = endTime.substring(6, 8);  if( (stdate > endate)) {     console.log("first date is greater"); }  if((stdate == endate)) {     console.log("Equal dates"); }   UPDATE:  Comparing dates and time for start and end datetime by concatenation get them, is supposedly not the correct way to do it.  var start = "22-Apr-2016"+ " "+startTime; var end   = "22-Apr-2016"+ " "+endTime; start     = new Date(start); end       = new Date(end); if(start.getTime() > end.getTime()){   console.log("start greater ") } else if(start.getTime() < end.getTime()) {   console.log("start lesser ") } else if(start.getTime() == end.getTime()) {   console.log("start equals ") }


storing special utf characters in mysql database

I have the following response from one of the API I am using:  \ud83d\udc51 CODE :: davon top\n\ud83d\udc51 MATERIAL :: spandek rayon\n\ud83d\udc51 PRICE :: 70.000\n\nFIX ORDER langsung hubungi contact :\n\ud83d\udc49 LINE : hijabroom\n\ud83d\udc49 PIN BB : 28EFA80B\nRead mekanisme before order!\n\n   I wanted to store this inside mysql database, however when I see this in my database it is stored as:  ? CODE :: davon top ? MATERIAL :: spandek rayon ? PRICE :: 70.000  FIX ORDER langsung hubungi contact : ? LINE : hijabroom ? PIN BB : 28EFA80B Read mekanisme before order!   the table is set as the following configurations:    What am I doing wrong here?


Search on all sites: tag links lead to the 404 link not found page

Searching on all sites, e.g., , gives me a list of questions with tag links.   Clicking one of the tag links, e.g.,  leads to the 404 page-not-found page. The problem is obvious from the form of the link: It should contain the specific site instead of the generic site stackexchange.com.


When a land becomes creature, can you kill it?

Some lands have an ability to become a creature, but they usually say they are still a land. If a land is a 3/3 creature and a land, can you target and kill it with a  to send it to the graveyard, or does it remain in play as a land?


How to corectly clear space for "No space left on device" for /boot

The production server I'm using has a /boot partition of 400MB. And every once in a while if I want to install something from repositories, it tells me that it cannot do that because there is No space left on device  I cannot change the server configuration, because I'm not the owner.  I have seen some tutorials () on how to delete the old kernel packages. However, they all seem sketchy. I don't want to endup having a non-bootable system.  uname -r shows me:       4.15.0-30-generic   and dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' shows me:       linux-headers-4.13.0-36 linux-headers-4.13.0-36-generic   linux-headers-4.13.0-39 linux-headers-4.13.0-39-generic   linux-headers-4.13.0-41 linux-headers-4.13.0-41-generic   linux-headers-4.13.0-43 linux-headers-4.13.0-43-generic   linux-headers-4.13.0-45 linux-headers-4.13.0-45-generic   linux-headers-4.15.0-24 linux-headers-4.15.0-24-generic   linux-headers-4.15.0-29 linux-headers-4.15.0-29-generic   linux-headers-4.15.0-65 linux-headers-4.15.0-65-generic   linux-headers-generic-hwe-16.04 linux-image-4.13.0-36-generic   linux-image-4.13.0-39-generic linux-image-4.13.0-41-generic   linux-image-4.13.0-43-generic linux-image-4.13.0-45-generic   linux-image-4.15.0-24-generic linux-image-4.15.0-29-generic   linux-image-extra-4.13.0-36-generic   linux-image-extra-4.13.0-39-generic   linux-image-extra-4.13.0-41-generic   linux-image-extra-4.13.0-43-generic   linux-image-extra-4.13.0-45-generic linux-libc-dev:amd64   linux-modules-4.15.0-24-generic linux-modules-4.15.0-29-generic     What is the best way to delete old kernel packages to free up /boot space?  Later edit:     Any apt-get will NOT work. It will report the same error


Unit-test wrapper methods when base method is private

I read  about unit-test a wrapper method. In following code:  public static Object methodA(Object arg) {     if (arg == null) {         return null;     } else {         return methodB();     } }   It looks reasonable that I don't need to test all functionality in methodB(), just test 2 cases where arg is null and not because methodB() should be tested already.  However, if methodB() is private method, I should test all functionality that methodB() will provide because according to , private methods are implementation details.  The problem is, if I have 2 methods methodA1() and methodA2() and they all call methodB() like this:  public static MyObject methodA1(int x) {     MyObject obj = new MyObject();     obj.setX(x);     return methodB(obj); }  public static MyObject methodA2(int y) {     MyObject obj = new MyObject();     obj.setY(y);     return methodB(obj); }  private static MyObject methodB(MyObject obj) {     // doSomething with obj     return obj; }   Should I test methodA1() and methodA2() separately? Or I can just test the private method methodB() because methodA1() and methodA2() are just wrapper methods of methodB(), so if methodB() is correctly tested, I won't need to test methodA1() and methodA2() at all.  EDIT:  I wrote separate tests for public methods at first. But the problem is, if there are many variations of the methodA, and some of the functionalities / requirements are shared in some of them, then the code of the test cases will be duplicated. That's why I wonder if I should test private method methodB().  The real problem I met is I have requirement to add a record in database, and there are many different APIs I should provide. For example, I should provide:  MyObject addMale(String name, String job);     // fill sex with "Male" MyObject addStudent(String name, String sex);  // fill job with "Student"   And all of them checks the parameter is valid or not, fill the field that is not specified and call the private method to actually insert the record into the database, which is so called methodB().  There are many APIs like this, so if I can only test methodB() with all fields situation, maybe I can reduce the duplication of the test cases, but is that a good practice to do the unit tests like this?  EDIT2:  I know I can test private methods because I used reflection in my other test cases, and I know it can invoke private methods, too. But my question is about in this situation, testing private methods is a proper solution or not.


Going back to academia after quitting my Ph.D. and taking a year off?

I am a Ph.D. dropout with a one year of career gap. I want to return to academia, but now  I have realized that it was perhaps the biggest mistake to take a gap after quitting my Ph.D. The purpose of taking a gap was to work on my communication skills and get a  new perspective on my work and my career in science. This could have been done within a period of 2-3 months but it became one year long because of my own recklessness. I allowed myself to distract from my goal and I started working on my hobby i.e. Painting. I lost myself there and completely lost track of my time. I was really enjoying everything about this new venture. I took it as a challenge to become better at my skills in painting. Eventually, I became the best in my group and got lots of appreciation. But then, I lost my interest while realizing that there was no further challenge and all there was left is to work and work while crafting your art which was never going to be perfect. It made me realize that what I actually love is to take the new challenges and work on myself. To be an artist was never a career option for me, all I wanted was to learn the skills. That's it!   While counting my achievement in science, I  realized that it was an irresponsible thing to take a gap in doing something that has nothing to do with science. Earlier I had a scholarship and a very competitive mind that has led me to get a Ph.D. position in one of the best labs in the country. Now I don't have the scholarship. I want to go back to my world of research where I was accelerating exponentially. I want to tackle the challenges of science with a new perspective and better skills. I want to be productive more than earlier and ready to take all the tough challenges.  But I feel embarrassed about my past mistake. Because of this, I come across as someone who is not sincere about her career. But I can't help it because the truth is that I did behave insincerely by losing track of my time.  I should have been conscious enough to realize the consequences. Now, what do I do? The past has gone and the vision of the present is crying for a better future. How do I make things better like before?


why are the best questions the ones which have been closed?

I frequently come across a really useful answer on StackOverflow which has been closed because it doesn't match the Q&A format.  Examples include  ,  ,   ,  and there are others.  Where should this information be exchanged if it's not on stackoverflow?  It seems the moderators are often somewhat overzealous...  ---edit  When I say best, I mean they are informative and useful for someone who's looking for an answer to them.  Even if they do become a bit of a discussion, I value other people's opinions on the relative merits of the different JPA frameworks.  I come here looking to choose one and the answer helps me.  So what if it's not a definitive answer?  ---edit  I don't care how popular a question is, nor how interesting it is.  Users are interested in stuff that's useful to them.  Plenty of those were useful (as judged by the upvotes on the answers: 'This answer is useful'), but closed because they didn't have a definitive answer, as far as I can tell.  ---edit  Seems I'm not the first person to think this: there are various similar questions to mine like this one:   In it the user lists lots of other useful questions which have been closed:                    So isn't there a place on stackoverflow for these questions?  A discussion section, maybe?


I have a 12V battery connected to a circuit driving an ignition coil. The circuit requires 2A to run. The ignition coil produces 40,000V and the spark is measured at 50mA. By simple calculations the input power is 24W the output power is 2000W, how?   If I could harness the output power and my battery is 200Wh does this mean I can run a 2000W device for 8.3 hours, as the input is only 24W from the battery?   This does not seem right, what am I missing?   Or am I actually drawing 2000W power from the battery (over time) to charge the capacitors in the circuit etc, meaning that it will only last 6 minutes?  Thanks for the help.


Python3 “is” operator outside of small_ints

I'm using Python 3.7.4 and understand the small integers are numbers [-5,256].  I want to know why the result of #2 in the code below returns True. Shouldn't it be False?  #1 b=257 c=257 b=b+1 c=c+1 print(id(b)) print(id(c)) print(b is c)  #2 b1=257 c1=257 print(id(b1)) print(id(c1)) print(b1 is c1)  Result in Visual Code Terminal 4306256464 4306256432 False 4306256240 4306256240 True   Here's my code in Mac Terminal, which I think is the ideal result  Python 3.7.4 (v3.7.4:e09359112e, Jul  8 2019, 14:54:52)  Type "help", "copyright", "credits" or "license" for more information. >>> b=257 >>> c=257 >>> print(id(b)) 4351554224 >>> print(id(c)) 4351554096 >>> print(b is c) False   Reference: [1]


Let $V$ be a vector space and $f$ a nonzero linear functional on $V$. Then $\text{dim image}(f)=1$ and $\text{dim null}(f)+\text{dim image}(f)=\text{dim}V$. And if $\text{dim}V<\infty$, then $\text{dim null}(f)=\text{dim}V-1$.  I'm confused as to why $V$ needs to be finite dimensional in order to conclude $\text{dim null}(f)=\text{dim}V-1$. Can't we just say that if $\text{dim}V\not<\infty$, we have $\text{dim}V-1=\text{dim}V$?


I'm running a debian etch server where users will be logging into (hopefully) a chroot jail through ssh. How can I have the commands they execute logged in a way they cannot delete, nor prevent?


In an essay for my English class I wrote this sentence.   The decision of what I would like to do with my future has been filled with phrases like "undecided", "I don't know", and "I'm not sure yet".  The phrases weren't 100% direct quotations, they were a generalization of typical responses that I gave when asked about my future. The sentence was corrected because the commas and the period were outside the quotation marks.   After further discourse with my teacher we acknowledged the difference between actually quoting myself and just mentioning general phrases that are used often in a list. She stated that she liked my use of the quotation marks to emphasize those generic phrases.  Taking this into account what is the correct usage of commas and quotation marks in a list like this? Or are quotation marks even the right thing to use?


Proportional allocation vs Neyman Allocation

I am trying to figure out how to use both allocations for an assignment and I am having a hard time figuring it out. More importantly, can someone explain how to use proportional allocation to me by using an example? I have data on Gas Prices, and I want to do the proportional allocation of the cities. This is what I have, the total population is 840, with each city has a 168 population within that and the sample size n is 118 for each city.    City           count  mean  sd 1 Niagara Falls    168,  97.4, 0.980 2 Port Colborne    168,  93.8, 2.19 3 St. Catharines   168,  94.0, 2.25 4 Thorold          168,  93.6, 2.84 5 Welland          168  93.0 2.77  So any advice is greatly appreciated and if need any more information just let me know.


I am making a game in blender and when I press p to test my game, the screen goes white and when I press escape it goes back to normal and I don't know if my game is working or not.


I have already asked this question but I have not received answers. I tried to find a solution but I still have problems.  I want to make a document in which all the sections appear with a style and only one section appear with different style, for that I realized two styles of section but my problem is that I do not arrive to put it in the same document.  Here is the code of my section that appear with different style (section two):  \documentclass{book} \usepackage{lipsum} \usepackage{xcolor} \usepackage[explicit]{titlesec} \definecolor{myBlue}{HTML}{0088FF} \begin{document}     \chapter{CHAP 1}     \section{Section one}     \titleformat{\section}[hang]{\Large\bfseries\sffamily\fontfamily{pag}\selectfont}%     {\rlap{\color{myBlue}\rule[-6pt]{\textwidth}{1.2pt}}\colorbox{myBlue}{%             \raisebox{0pt}[13pt][3pt]{ \makebox[70pt]{% height, width                     \fontfamily{pag}\selectfont\color{white}{\thesection}}     }}}%     {15pt}%     { \color{myBlue}#1         %     }     \section{Section two}     \lipsum[2]     \lipsum[1]     \titleformat{\section}[block]     {\normalfont\large\bfseries}     {\thesection}     {1em}{#1}     {}     \section{Section three}     \section{Section four} \end{document}      for the sections one, three and four i want use this code :  \renewcommand{\section}{\@startsection{section}{1}{\z@} {-12pt \@plus -1ex \@minus -.4ex} {2ex \@plus.2ex } {\normalfont\fontsize{14pt}{16pt}\fontfamily{pag}\bfseries\color{myBlue}}}     I want the final result to be like this picture :


Infinities in Newtons law of gravity (for point particles)

Newtons law of gravity for two particles of mass $m_1$ and $m_2$  is:     $G\frac{m_1.m_2}{r^2}$.    Supposing that the particles are point particles then gravitional attraction will bring them closer together, and in fact infinitesimally closer together. Now in Newtons time there was no theory, as far as I am aware of inter-atomic forces that would have kept these two particles apart, so the gravitional attraction is asymptotically infinite. This is nonsensical, and either one can say that point particles cannot arbitrarily approach one another, or that particles can never be point particles and must have extension - this in fact includes the previous solution, as the notional point positions of the centre of mass of a particles with extension cannot obviously approach one another.  In Classical Mechanics, would this have counted as evidence of either particles cannot be point masses; or of some then unknown repulsive force that acts at very small distances.  What does the historical record show?


Determine all monic irreducible polynomials of degree $4$ in $\mathbb{Z_2[x]}$  Well these polynomials will be of the form -  $a_0 + a_1x + a_2x^2 + a_3x^3 + x^4$  So we have four coefficients that can each have values of either $0$ or $1$. So we have $2^4 = 16$ monic polynomials of degree $4$ in $\mathbb{Z_2[x]}$.  Now to determine the irreducible polynomicals is it necessary to write them all out and manually check if they are irreducible? Or is there some lemma I can apply here?


Prove that $m^{\varphi(N)+1} \equiv m \pmod N$ when $N=pq$, p,q are primes.

Claim: $p\neq q$ are primes, $m\in\mathbb{Z}$, $N=pq$ So: $m^{\varphi(N)+1} \equiv m \pmod N$. I was hinted that $\gcd(N,m)\in \{1,p,q,N \}$, and that for the case $\gcd(N,m)=1$ I should use Euler's theorem (that part I understood), but for the other cases I should use CRT. I can't see how to apply CRT in these cases. Thanks for your help :)


Electrical potential energy stored in vacumm for a single point charge?

I have come to know the electrostatic potential energy in vacuum is given by $${\frac{1}{2}} \epsilon_0\int d^3x {E^2} $$ and this energy  is due to the mutual electrostatic coulomb potential energy. So only a single point charge in space also contributes to some electrostatic potential energy according to $${\frac{1}{2}} \epsilon_0 \int d^3x {E^2} $$  as due to a single point charge also we have an electric field at every point in space. Now I am not getting it physically, why should there be any Coulomb energy in this case as there is no other charge to provide the electrostatic coulomb potential energy?


I was working with GTK in one of my projects and I noticed that the library supports inheritance. As you can type-cast a child struct to its parent struct and vice versa. Other than GTK I've never seen this used (so flawlessly):  struct parent p = {5}; struct child c; c = (struct child)p; c.b = 1; //c.a = 5, c.b = 1   Does using the parent struct as the first element do this? As this would seem much more neat. But could padding and aligning interfere?  struct parent { int a; } struct child  { struct parent p; int b; }    Or does rewriting all parent data make it happen?   struct parent { int a; } struct child  { int a; int b; }   EDIT I am NOT looking to implement all pillars of OOP in C. My question is only involving type-casting the data in parent and child structs. I have found that GTK uses GObject to do this, but what must be done to achieve what GObject is doing as far as type casting?


Localising a polynomial ring and non-maximal prime ideal

I'm trying to work out the following past paper question and I've got stuck.  $R$ is an integral domain and $S = R[t]$, the polynomial ring in one variable over $R$. We have that $Q$ is a prime ideal strictly contained in another prime ideal $P$ with  $$ P \cap R = Q \cap R  = P_0. $$ We also have $Y = R\setminus P_0$.  I have shown that $P_0S$ is a prime ideal, and that after localisation we have $$ \frac{SY^{-1}}{P_0SY^{-1}} \simeq F[t]    $$ where  $$ F = \frac{RY^{-1}}{P_0Y^{-1}}. $$  This is a field since $P_0 = R\setminus Y$, so $P_0Y^{-1}$ is a maximal ideal of $RY^{-1}$.   What I now have to show is that $P_0S  =  Q$, and the question says that i should do this using the above isomorphism of polynomial rings, but I can't figure it out.  A hint or solution would be great, thanks!


Is there a proper way to handle large combat engagements with party members involved?

For instance, a party of four player characters raise a force of 30 militia men to go take a bandit camp. When they get there the bandit camp has 40 men, and none of them notable.  For the sake of simplicity, both the 30 men and the 40 bandits are armed with long swords, and wearing leather armor.   Is there a proper way to handle combat between the 30 man militia and the 40 bandits while also incorporating our four player characters? If no "proper" way exists, is there a generally accepted "best" way?


MS Access equivalent of FOR XML PATH in T-SQL to list related values

I Have a table as follows in access:  MatterNO    Description     Amount FL069509    SMS             R 50.00 FL069509    Call            R 52.00 FL069509    Summons         R 52.00 FL069509    Email           R 5 420.00 FL069509    Letter          R 0.12 NA076353"   SMs             R 123.10 NA076353"   call            R 0.53 NA076353"   summons         R 53.00 NA076353"   email           R 453.00 NA076353"   letter          R 4 530.00 NA076359    Call            R 50.00   I would like to group the MatterNO's and sum up the Amounts, but next to the amount in a separate column id like to display a list of all the descriptions that make up that amount.  For Example:  MatterNO    Amount    CSV FL069509    R5574.12  SMS, Call, Summons, Email, Letter   I know in SQL theres a function called FOR XML PATH  Which looks as below:  SELECT t.MatterNo,SUM(Amount), STUFF( (SELECT ',' + s.Descriptions FROM Table1 s WHERE s.MatterNo = t.MatterNo FOR XML PATH('')),1,1,'') AS CSV FROM Table1 AS t GROUP BY t.MatterNo   Is it possible to do this in access?  Edit:  I added this from the comment below with ConcatRelated()  SELECT DISTINCT table1.MatterNO, Sum(table1.Amount) AS SumOfAmount, ConcatRelated("Description","table1","MatterNo = '" & [MatterNo] & "'") AS Descriptions FROM table1 GROUP BY table1.MatterNO, table1.Description;   And i get what i need.  However one problem, it is not adding the amounts up, how can i fix this?


How do I make a WPF data template fill the entire width of the listbox?

I have a ListBox DataTemplate in WPF. I want one item to be tight against the left side of the ListBox and another item to be tight against the right side, but I can't figure out how to do this.  So far I have a Grid with three columns, the left and right ones have content and the center is a placeholder with it's width set to "*". Where am I going wrong?  Here is the code:  <DataTemplate x:Key="SmallCustomerListItem">     <Grid HorizontalAlignment="Stretch">         <Grid.RowDefinitions>             <RowDefinition/>         </Grid.RowDefinitions>         <Grid.ColumnDefinitions>             <ColumnDefinition/>             <ColumnDefinition Width="*"/>             <ColumnDefinition/>         </Grid.ColumnDefinitions>         <WrapPanel HorizontalAlignment="Stretch" Margin="0">             <!--Some content here-->             <TextBlock Text="{Binding Path=LastName}" TextWrapping="Wrap" FontSize="24"/>             <TextBlock Text=", " TextWrapping="Wrap" FontSize="24"/>             <TextBlock Text="{Binding Path=FirstName}" TextWrapping="Wrap" FontSize="24"/>          </WrapPanel>         <ListBox ItemsSource="{Binding Path=PhoneNumbers}" Grid.Column="2" d:DesignWidth="100" d:DesignHeight="50"      Margin="8,0" Background="Transparent" BorderBrush="Transparent" IsHitTestVisible="False" HorizontalAlignment="Stretch"/>     </Grid> </DataTemplate>


Is it possible to include a lstlisting code block inside an lstlisting?

I am trying to include a LaTeX code within an lstlisting. But the problem is that the LaTeX code includes an lstlisting, so the \end{lstlisting} within the included code is terminating the actual lstlisting. Is there some way to make the compiler not take that as the actual environment end.  \lstset {     basicstyle=\small\ttfamily,     language=TeX,     frame=single,     backgroundcolor=\color{grey},     columns=fullflexible } .. \begin{document}     ..     \begin{lstlisting}         % The lstlisting can be used as follows         \begin{lstlisting}             % Your code goes here         \end{lstlisting} % This example end-statement is terminating the actual listing     \end{lstlisting}     .. \end{document}   Any help is appreciated.


I am trying to customize the legend for this graph. First of all, I would like the legend width to be equal to the x-axis width. At the moment, I am setting the width of the legend via      /tikz/every even column/.append style={column sep=1.0cm}   and I could manually adjust this value so that length equals the x-axis width, but I guess that there is a more elegant way to set the width of the legend.  Second, I don't really like the little color rectangles in the legend. I only want one rectangle in front of every entry and not two. This rectangle does not need to have a border and should be vertically centred with the text. The alignment seems to be okay for the rectangle closer to the text, but not for one the far left.   Update: Thanks to Christian Feuersänger's comment, there is possibility to change the rectangles via   legend image code/.code={%     \draw[#1, draw=none] (0cm,-0.1cm) rectangle (0.6cm,0.1cm);   or what Gonzalo Medina proposed  legend image code/.code={%     \draw[#1, draw=none, /tikz/.cd, bar width=3pt, yshift=-0.2em, bar shift=0pt] %     plot coordinates {(2*\pgfplotbarwidth,0.6em)};   Third, I would like to the legend entries to start next to the text "Legend:".  I don't really know if with these requirements it still makes sense to use legend or if it would be better to add everything manually via after end axis/.code and \ref{label}.  Graph    MWE  \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=newest}  \begin{document} \begin{tikzpicture}     \begin{axis}[                 ybar,                 height=6cm,                 title={Some plot},                 width=12cm,                 axis on top,                 y axis line style={opacity=0},                 axis x line*=bottom,                 tick align=inside,                 tick style={draw=none},                 xtick=data,                 ymajorgrids,                 major grid style={draw=white},                 xtick={1,2,3,4},                 legend style={                     at={(0.0,-0.15)},                     anchor=north west,                     legend columns=-1,                     /tikz/every even column/.append style={column sep=1.0cm}                         },             ]                    \addlegendimage{empty legend}             \addlegendentry{\textbf{Legend:}}                                \addplot coordinates {                 (1, 0.2064)                 (2, 0.3961)                 (3, 0.5961)                 (4, 0.7961)}; \addlegendentry[text width=45pt, text depth=]{legend a}             \addplot coordinates {                 (1, 0.3064)                 (2, 0.4961)                 (3, 0.6961)                 (4, 0.8961)}; \addlegendentry[text width=65pt, text depth=]{lengend b}     \end{axis}  \end{tikzpicture} \end{document}


Backing up Entire Ubuntu System to External Hard Drive with Windows Partition

I just used the windows backup utility to store a bootable image (I think..) to a 1TB external hard drive.  Do I have to store the Ubuntu partition (backup) to a different sub directory in the hard drive, or will the computer read both of the partitions in GRUB even if they are stored in the same directory? (Like, the series of files stored when one backs up).  Also, how do I backup my entire Ubuntu partition (including GRUB bootloader) to said external hard drive?   Thank you very much!  I realize these are multiple questions, but they are rather related, so I decided to use a single thread.


centOS: full file system backup and restoration

I have a dedicated server with centOS. I need to do a full system backup, save backup file on server and download a copy of that backup file to my personal computer (local computer in office).   From what I have read the tools to use are either dump or rsync.  1.Step: make file system backup via dump -> save as compressed gz file  2.Step: download the gz file to my local pc(windows)  3.Step: On later time, if centOS is corrupted/broken/hacked -> upload gz file to server and restore whole system via this backup file  How can this be achieved ? Thanks in advance


Why do we need GET method for API endpoint?

A general question of mine who working on API endpoints as backend system.  I wonder what if all endpoint methods are , and when it is better to use ?


Proof that the infinity of all continuous functions is greater than the infinity of reals

I've been trying to prove the above statement and found the below link in the course of my research.    However, I do not understand part of the explanation provided by Eric Wofsey, and I attach a screenshot of this part below.    If anybody could help me understand this, I would be grateful.  Tia,  Yang


series convergence with comparison test $\frac{1}{n\log(n)^p}$

I came across a question about convergence tests and I'm not sure how to show that  $\sum_{n=2}^{\infty}\frac{1}{n \log(n)^p}$  converges for $p>1$. I found that the integral test works but I haven't learnt it yet. I have learnt the comparison test, so I tried that but couldn't find any series that converges to which I can compare. So my question is both how can I show convergence here with comparison test and also: Is there some list of convergent series that I can compare to? PS: I also found out that this is called a ln seriesAlso, this is not a duplicate of  question. (The power is on the $\log$ here)


Fastest way to find R value for RLC under/over/critically damped?

If I have a known square wave source, known capacitor value and known inductor value, what is the fastest way to figure out what the resistor value has to be to make the circuit overdamped, underdamped, and critically damped?


If $\lim\limits_{x\rightarrow\infty} (f'(x)+f(x)) =L<\infty$, does $\lim\limits_{x\rightarrow\infty} f(x) $ exist?

I want to prove or disprove this problem: If there exist $\lim\limits_{x\rightarrow \infty} (f'(x)+f(x))=L<\infty$ then $\lim\limits_{x\rightarrow\infty} f(x) =L$.  When I assume problem below:  If there exist $\lim\limits_{x\rightarrow\infty} (f'(x)+f(x)) =L<\infty$, There exists $\lim\limits_{x\rightarrow\infty} f(x)$?  I can use mean-value theorem to show that.  So my question is:     If $\lim\limits_{x\rightarrow\infty} (f'(x)+f(x))=L<\infty$, does $\lim\limits_{x\rightarrow\infty} f(x)$ exist?


Virus has hidden almost all of my files in Windows 8

I recently got a virus on my computer that has hidden all my files. I've tried to get rid of the virus using unhide.exe/RKill/ Spybot Search & Destroy/HouseCall/Malwarebytes, and it may have got rid of it, but the files on my computer are still missing. I know they are there because I used IObit Uninstaller, and it shows all the files still there, but I can't find them.   I tried opening cmd as administrator and typed the attrib command suggested by somebody to unhide all the files, but it gives me access denied, even though I am administrator and right-click to run as administrator. I right-clicked cmd and went to Properties, went to the Security tab, and I can see all the files, but one user has full control and that's TrustedInstaller. Admin/users and even SYSTEM are unable to be changed, it's all grayed out.  I was wondering if someone could help me to change security with the cmd, so I can unhide all my files, or if there is an easier way to do it?


I have a problem getting a figure from Matlab into Latex. I have saved the figure as a EPS-file in the same folder as I have saved the latex-documents. This is what I wrote in Latex:  \begin{figure} \includegraphics{diffusion} \end{figure}   diffusion is the name of the figure. The problem is that when I run this code in Latex, I only get much open space, but no figure. Does anyone have an ide what I should do differently?   David


Let f be differentiable, prove that there exists $c \in (0,1)$ such that $f(c) + f'(c) = 0 $

Let $f$ be differentiable on $R$ and $f(0) = f(1) = 0$.  Prove that there exists $c \in (0,1)$ such that $f(c) + f'(c) = 0 $  Can someone help me with this proof?


how to check if an update will restart a service

I have a server which runs Debian 8. I wish to install various security updates however, prior doing so, i would like to know if any of the updates will restart a running service.    Is there a way (command - script) which can help me found out if a package will restart any process-daemon?  I would like to pinpoint here that i am interested if an update will automatically restart a service and not if a service requires a reboot after the update.


Unmet dependencies when installing openjdk 7 on arm v7 running ubuntu

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  openjdk-7-jdk : Depends: openjdk-7-jre (>= 7~u3-2.1.1~pre1-1ubuntu2) but it is not going to be installed                  Recommends: libxt-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages.   sources  deb  precise main universe deb-src  precise main universe


IF EXISTS taking longer than embedded select statement

When I run the following code it takes 22.5 minutes and does 106million reads. However, if I run just the inner select statement by itself it only takes 15 seconds and does 264k reads. As a side note, the select query returns no records.  Any idea why the IF EXISTS would make it run so much longer and do so many more reads? I also changed the select statement to do SELECT TOP 1 [dlc].[id] and I killed it after 2 minutes.   As a temporary fix I have changed it to do a count( * ) and assign that value to a variable @cnt. Then it does an IF 0 <> @cnt statement. But I thought EXISTS would be better, because if there were records returned in the select statement it would stop performing the scan/seeks once it found at least one record, whereas the count(*) will complete the full query. What am I missing?  IF EXISTS    (SELECT [dlc].[ID]    FROM TableDLC [dlc]    JOIN TableD [d]    ON [d].[ID] = [dlc].[ID]    JOIN TableC [c]    ON [c].[ID] = [d].[ID2]    WHERE [c].[Name] <> [dlc].[Name]) BEGIN    <do something> END


I realized that page number of Literature in Table of Contents is wrong, i.e. displays page number of last page of references instead of first page of references (clicking on this number leads to first page of ref.)  \documentclass{harvard-thesis} \usepackage{chngcntr} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead[LE]{} \fancyhead[RO]{} \fancyhead[RE]{} \fancyhead[LO]{} \fancyfoot[C]{} \rfoot{\thepage}  \fancypagestyle{plain}{% \fancyhf{} \rfoot{\thepage} }  \usepackage{indentfirst} \setlength\parindent{1cm} \usepackage{ragged2e} \justifying \linespread{1.3}  \usepackage[labelsep=period]{caption}  \begin{document} \pagestyle{plain}  \renewcommand{\bibname}{Literatura}  % the front matter \input{frontmatter/coverpage} \maketitle \copyrightpage \abstractpage \tableofcontents %\authorlist \listoffigures \dedicationpage \acknowledgments  \include{chapters/chapter1} \include{chapters/chapter2}  \clearpage \bibliography{literatura} \addcontentsline{toc}{chapter}{Literatura} \bibliographystyle{apalike-fr}   \end{document}   Any solutions?


Environment that disables italics in math mode

I have a whole section full of text that contains lots of letters with supscripts. I've been using math mode to do this, but the result doesn't look so nice with all the letters in italics (it looks like a math paper when it isn't).   I also know about \textsubscript to use subscripts outside of math mode. Is there a way I could wrap my entire section in an environment to disable italics in math mode?  \documentclass[11pt]{article} \begin{document} Lorem ipsum $A_1$ dolor sit $B_1$ amet, consetetur sadipscing $C_1$ elitr, sed diam nonumy $AB_1$ eirmod tempor invidunt $BA_1$ ut labore et $ABC_1$ dolore magna aliquyam $B_2$ erat, sed diam $A_1$, $A_2$, $A_3$ voluptua. At vero eos et $B_1$ accusam et justo duo $C_2$ dolores et ea rebum. \end{document}


Let me begin by saying that yes, I am trying to unscrew the pedal in the correct direction. It is the right side pedal, I am attempting to turn it counter-clockwise.   So here are the :    Now, they look like they have a nice textured part that you can grip when installing or removing them. Unfortunately, that is not the case. That knobby part is actually part of the pedal. It rotates with the pedal itself.  The threaded portion of the pedal that screws into the crank is completely smooth. As in baby smooth. There's nothing for a wrench to grip. I have a pair of pliers that are just a tiny bit too wide. I'm going to see if I can find a narrower pair.   The first pedal came off easily. It just unscrewed. This one seems a bit more "stuck". Other than getting a smaller pair of pliers, are there any good tricks to removing pedals like these?


How to vary the type in a generic method call at runtime?

I have a generic method, so:  public void Export<T>(List<T> exportList, string filePath, byte fileType) where T: class   There are two possibilities for <T>: <Category> and <ProductSupplier>.  I don't know which one I am using in a given runtime instance; which one to use is passed as a parameter to the method calling this method.  Is it possible to pass a variable value to <T> during runtime? I've played around with GetMethod/Invoke, etc. (I've already gotten that to work with a non-generic method), but they seem to address the method itself, rather than working as a mechanism to vary the generic List type.  [Edit]As it turns out, my question has its basis in a misunderstanding.  When I first got my Export method to work at all, it was with this format:   public void Export<Category>(someCategoryList, "C:\Temp2\myFile.txt", 0)    I wanted to know how I could plug different values in for <Category> without explicitly doing so at design time with some sort of ever-expanding switch statement.  As it turns out, this works fine:  public void Export(someCategoryList, "C:\Temp2\myFile.txt", 0)    so the problem is moot.  I've already been able to derive the right List ("someCategoryList" in my example) using Reflection, so problem solved.


Committed memory in Windows 10 is very high even though Resource Monitor does not show any application with high commit

I'm using Windows 10 Pro version 1703 build 15063.296 in Bootcamp on a Macbook Pro '15. This setup has been running fine for two years until the last big Windows 10 update. Now I'm constantly getting out of memory errors. The laptop has 16GB of RAM which is never close to full. The committed memory though is maxing out. When I check to see what program is using a high amount of committed memory in Resource Monitor, everything is pretty low, usually less than 500MB. Windows will say Firefox or Chrome is using too much memory, but I can't find any evidence of this with Task Manager, Resource Monitor or Process Explorer.   How can I find what is actually using up all the committed memory and crashing my computer?   Here are some screenshots of the process list while the commit charge is extremely high. I had to close Chrome and Slack just to free up enough memory to take a screenshot.


Attempt: Prove that if $A|B$ and $B|A$, then $A=B$? Both $A$ AND $B$ are positive integers. I tried to substitute with the fact that $A|B$ means $\exists c$ s.t $Ac_2=B$ and same $Bc_1=A$ when $B|A$, but I did not get anywhere.


Is there anyway to make this any more secure?

$query = "SELECT * FROM fruits ORDER BY id DESC LIMIT $start, $limit"; $result = $dbh->query($query);   Is there anyway to make that SELECT statement more secure using PDO? Secure as in from SQL injections anything and everything that is possible. Thanks.


TexStudio or MikTex problem: extra files (not the normal ones)

A few days ago, my TexStudio (which I have used without difficulty for years) started being slow compiling, not compiling when I hit the "build and view" and "build buttons", and saving these strange extra files when it finally does go through. Again, these are not the usual extra files, like the ".aux" file. They look like maybe they are failed save attempts. It is doing this for every project I work on, even old ones I pull up that have pretty different preambles. Here are examples:  Cover Letter Template 1.tex.b10756 Cover Letter Template 1.tex.r10756  Anyone know what has gone wrong, and how I can fix it? I've had no luck searching for other people having this problem, or from any other help source.


Can I have certain mods only in certain worlds?

Let's say I have two Minecraft worlds and 20 mods. Can I make not enough items work with both the worlds but the other mods only work in the other world?


Multi-line equation groups with one number

I would like to number a multi-line multi-column equation group with one number. If I use  \documentclass{scrartcl}   \usepackage{amsmath} \begin{document}  \begin{align}     x&=1 & x&=2\\     y&=3 & y&=4 \end{align} \end{document}   I get an equation number per row. When using the split environment  \documentclass{scrartcl}   \usepackage{amsmath} \begin{document}  \begin{align}     \begin{split}         x&=1 & x&=2\\         y&=3 & y&=4     \end{split} \end{align} \end{document}   the groups are omitted and I have one number for four rows.  How can I number the first example with one number?  Edit:  I used the equation and aligned environments proposed by @daleif and got the following results in equation (3). Equation (1) and (2) are typeset by an align environment:    The align environment uses the whole width of the document. Is this possible with aligned, too?


I'm designer but newbie in photography, Need Help for buying Camera, and How to choose between brands, lens and seconde-hand or new one?

Recently I’m ready to buy a camera before I always use iPhone to taken photos, that’s okay but I want to start a series career you know, go art direction, street shoot, fashion series etc.  I’m a designer, basically, but I’m a newbie in the photography field. So I’m indeed a bit confused about which camera choose. I really need your help and tips.  However, I use the camera mainly for below directions:   art direction street shooting (yeah I love street photography), travel,lifestyle etc. fashion shooting. I’m also a fashion style blogger,  fashion brands model and also my personal fashion brand model. So I need a camera for a lookbook something like this. taking photo shoots for my work so I can scan to the computer. I draw a lot, make collages, also make some craft objects. But the iPhone shots are not very clear and professional. I’m super love black and white photography. During past time I have taken lots of bw photos via my iPhone. Color photos also my type just more passion for bw though. I’m also passionate for shooting portrait, I’m planning start a long-term ongoing project that self portrait , to capture every moment of myself. I’ll set a mini-photoshoot studio scene in my home(mainly for art direction, work shoot, food styling, self portrait, my clothing line lookbook etc.  so any related accessories and tools recommend would be great as well.   So I have some questions and trying to solve:   based on my above directions, do you have any camera recommend? What’s the most and core points when choosing a camera I should consider? my budget is below $1800, $2000 is my upper limit. So is there any good fit camera? Ideally, I’ll take the camera anywhere while I go out or travel, so I know lighter more better. BUT based on my above directions, do you think should I buy an SLR camera or Mirrorless camera？Any camera recommend? I attached some of my fav photography, please forgive my silly question, but is this possible to see which camera they used? I love these style and color tone too much.  Here the reference :  or, how about buying a second-hand camera body + new lens? If this possible?


Virtual Particles real? Virtual particles create a universe?

I am reading the book of Lawrence Krauss "A universe out of nothing", where he explained that the vacuum is not empty. It is a boiling brew of virtual particles that come out of their existence. And they can create a universe, even space.  But virtual particles are inner lines in a feynman-diagram. They converge in a vertex and so on. They are off-Shell.  I am a layman and I cannot grasp clearly about this stuff.  My question are:    Is the vacuum empty or is it not?  Are there particles in the vacuum and can they create a universe? But when virtual particles are just a mathemacical "trick" to calculate something, what does Lawrence Krauss mean? What is the matter about the vacuum?


How do i restore my iPhone 5s to factory settings?

I have just fitted a new screen to my iPhone 5s, and i need to restore it to factory settings.  One problem though, it's disabled for over 23,000,000 minutes and the home button doesn't work.  Does anyone know how I can restore it?


Is there a safe way to run a diff on two zip compressed files?

Seems this would not be a deterministic thing, or is there a way to do this reliably?


Find the determinant of addition of two matrices

Let $x, y \in \mathrm{R^n}$. Show that det$(I - xy^T) = 1 - y^{T}x$.  I test several cases for this problem, and it holds true when $n = 2, 3$, but when it comes to proof, I tried two ways and both failed:   Write $x, y$ explicitly in the form of $a_{ij}, b_{ij}$, and tried to find the relationship between the left and right side. But the left side could not be reduced to a relatively clearer form and turns out to add more complexity. Try to transform $I - xy^T$ into something similar to the right side.    I think the difficulty of this problem lies in the transformation from matrix $(I - xy^T)$ into scalar $1 - y^{T}x$, and I do not have a good way to make such transformation.  This question could be answered with matrix determinant lemma (the proof could be found . Even though this is pretty easy to understand, it lacks the reasoning process, which I find very unsatisfying.


How to turn off Find My iPad without Apple ID password or security questions?

I have a previously school-owned iPad that I would like to restore but in order to do that I need to turn off 'Find my iPad.' I can't figure out my Apple ID password to do this and I can't reset it because it requires that I use my school email which no longer works and I can't answer the security questions correctly. Is there a way to turn off 'Find my iPad' without an Apple ID password or is there a way to reset my iPad without turning off 'Find my iPad?'


What is physical meaning of an operator to applied on a wavefunction?

we know that an eigen operator give the eigen value and keep the wavefunction in corresponding position. but what is the simple physical meaning of this process because the wavefunction represent the matter waves.


My son is 2 1/2 years old. He has been going potty on the potty off and on since he was 18 months. He was interested due to having cousins just a little older than him. Unfortunately the problem we are running into is he won’t tell me when he has to go.   Most people say he is too young to know that he has to go, but he knows well enough to run out of the room or into a different room when he has to go. Even when I ask him he will say no then go in the other room and purposely pee or poo. If I take him to the potty he will fight and not want to sit on it but when he finally sits he goes potty. We’ve tried having potty parties and sticker charts. Sometimes He won’t even tell us when he potty’s he will just change his undies and keep going with playing.  How can we potty train our toddler?


How to show all shared libraries used by executables in Linux?

I'd like to know which libraries are used by executables on my system. More specifically, I'd like to rank which libraries are used the most, along with the binaries that use them. How can I do this?


the space of lipschitz function is complete with respect to some norm

Let $V$ be the space of real valued lipschitz functions over $[a,b]$,we define:  $M_f=sup_{x\neq y}\frac{|f(x)-f(y)|}{|x-y|}$  and lipschitz norm:  $||f||_{Lip}=|f(a)|+M_f$  prove that $V$ with lipschitz norm is a complete normed vector space.  it is easy to see $V$ is a vector space,but what about the completeness?  is there any hint?  thank you very much.


Error my my SQL query while DELETE the Similar record

I have tried this query but i am having this error code 1093 this query  delete   from flow  where flow.FlowID  in (SELECT flow.FlowID                         From flow                         WHERE ExpirationDate IS NOT NULL  AND `Username`="XYZ@gmail.com"                         GROUP BY Username, FlowName, EffectiveDate                         Having COUNT(*) >1 );      1093 error : Can't specify target table in clause.


What's a good strategy for designing a room with multiple objects in it?

I'm getting into blender and am at the point now where I can model simple objects and do some rigging without too much trouble.  Now I'm trying to figure out the best strategy to model an entire apartment, but am finding it much more difficult than just modeling a single object.  First of all, the walls and ceiling are making it very difficult for me to look into my apartment.  I can hide them, but it's hard arranging the furniture with them missing.  What's the best way to create the furniture?  I'm modeling the couch, chairs, potted plants and similar things in the same file so far, but having so many overlapping objects makes the editing difficult.  Should I put these in separate files and reference them in?  Should I move them to separate layers?  Any good general tips for modeling rooms?


Allowing users access to SQLPLUS and to compile PLSQL

As a DBA - assuming my users are knowledgeable with PLSQL and SQL - why would I not grant my users privileges to compile and run their own PLSQL code. We have an MI database environment where the data has undergone ETL. The tables contain a large numbers of rows but not necessarily large rows in size. The analysis - will be - I assume of calculus in nature. The users are wanting to run their own code on the data for the purposes of ad-hoc analysis - within their own schemas. They come from a SAS background which from my understanding has allowed them to write and run their own analysis of data. Albeit, SAS runs on its own dataset - extracted from Oracle or elsewhere.  In my opinion this is a dangerous set-up - but without answering my own question - what are the pitfalls?


I am currently running Ubuntu 12.04 and would like to upgrade/update it to 13.10 without losing my files. I have the Ubuntu One cloud but I have limited space. Is there any way to get a different version of Ubuntu without having to lose my files or upload them to a cloud?


How do these two queries return the same result but use different joins? (Implicit vs. Explicit Query)

I have 2 tables: Order and Customer. Order has a foreign key from Customer:    I can join them in 2 different ways:  First way  Select * from [Order]  join Customer on [Order].Customer_id = Customer.id;   Second way  Select *  from [Order],Customer where [Order].Customer_id = Customer.id;   The 2 queries return the same result set which leads me to my related questions:   Which query is the better of the two? Is there a difference between them involving time execution? Why is it that when I search join examples all of them are using the first way? I learned the second type of query in college - is it wrong to use?


New coordinates in terms of old from Jacobian-- Software?

Fellow geometry enthusiasts:  I am studying a particular geometry and I would like to change from one set of coordinates to a new set that makes the metric unimodular (i.e. it's determinant is one). The components of the metric are rather complicated functions of the coordinates, so I don't know how to solve the system of linear first order PDEs that I get from the Jacobian. Is anyone aware of any software that can give me the new coordinates in terms of the old ones given the Jacobian of the transformation? I have Maple 18, but I have not been able to find this capability in Maple.


logistic regression simulation doesn't converge

I want to do a logistic regression simulation using R   I use this code  set.seed(666) age = rnorm(60)          blood_pressure = rnorm(60) race = sample(c(rep(1,30),rep(0,30))) inactivity = sample(c(rep(1,30),rep(0,30))) weight = rnorm(60)  z=1+1*age+blood_pressure*2+3*weight+3*inactivity+0*race pr=exp(z)/(1+exp(z)) y=rbinom(60,1,pr)  df = data.frame(y=y,age,blood_pressure,inactivity,weight,race) glm(y~age+blood_pressure+inactivity+weight+race,data=df,family=binomial(link='logit'),control = list(maxit = 50))   I got very strange result from it.  Coefficients:    (Intercept)             age  blood_pressure      inactivity          weight            race           -39.75           46.64          106.65          143.52          229.75          100.87     And it says the model doesn't converge.  Does someone know what's wrong and how to fix it?


I noticed that there are squatters on stackexhange.com. Is there a formal place to submit this or is this meta forum the best place? It seemed to redirect me to Amazon, so I'm guessing they are squatting on the affiliate stuff stackexchange does with Amazon.


I vaguely remember this story from my childhood: it was about an interstellar zoo that came to Earth with lots of bizarre and unusual species, and humans would file through and gape at all the crazy looking creatures from other planets.  The twist came at the end when      the perspective shifted to the other side of the bars and we discovered that the "creatures" were traveling through space on a kind of safari. They thought they were the visitors and we were the animals. Neither side knew that the other side thought they were the zoo creatures.


Newspaper layout - images covering 2 out of 5 columns

I'm trying to format my Latex document like a newspaper page. It should roughly have the same layout as shown in the image here:   So I'm using a4paper, landscape mode and the multicol package with 5 columns. But getting images and other kinds of figures like tables and code listings to float properly appears to be insanely hard due to lots of Latex wrinkles. Floats apparently doesn't work at all with multicol and what I've tried as workarounds, like using minipages doesn't work either both because the minipage covers the running text and because I can't put it in the top right corner.    But looking at slide 106 in this German tutorial, clearly getting the layout I want is doable!  But how?


What is the best practice of Unicode processing in C++?


How to create in python3 a list of repeated lists without the new list being affected by a change in the original small list?

init = [[0,1],[10,11]] constr1 = [init for _ in range(5)] constr2 = init * 5   First question, why the above 2 constructed lists do not give the same result and they are instead   constr1  [[[0, 1], [10, 11]], [[0, 1], [10, 11]], [[0, 1], [10, 11]], [[0, 1], [10, 11]], [[0, 1], [10, 11]]]  constr2 [[0, 1], [10, 11], [0, 1], [10, 11], [0, 1], [10, 11], [0, 1], [10, 11], [0, 1], [10, 11]]   And the other question is if I edit the initial list  init[0][1]=2   then we can see that both constr1 and constr2 have been affected and they are   [[[0, 2], [10, 11]], [[0, 2], [10, 11]], [[0, 2], [10, 11]], [[0, 2], [10, 11]], [[0, 2], [10, 11]]]   and  [[0, 2], [10, 11], [0, 2], [10, 11], [0, 2], [10, 11], [0, 2], [10, 11], [0, 2], [10, 11]]   So what is the way to get a constructed list (by repetition of list init) and the constr list NOT being affected by any subsequent changes in the init list? NOTE I also tried the line (after clearing all my variables by restarting my python shell)   constr1 = [init[:] for _ in range(5)]   and still it is affected by a change in init[0][1]


Understanding the multiplication of fractions

I know this might sound like an easy question, but I was thinking about it the other day and I couldn't think of any good reasons (aside from the fact that it works). So, why is it that when we multiply fractions, we multiply numerator to numerator, and denominator to denominator?


So i have one iCloud account and two Macbooks : one mac for work, another for personal use.  I want to use iCloud as cloud backup on both Macbooks, BUT i don't want one Mac to download content of another.   For instance, in work's Mac i have a folder with almost 100GB, that is useless for me on personal Mac. And still, this folder is being downloaded on my personal Mac, making me loose 100GB for nothing.  On Dropbox i had the Selective sync option, where i could select which folders would be synced. But i could not find something similar on Icloud.  Is this possible in iCloud ?


$f(f(f(x))) = x$. Prove or disprove that f is the identity function

Let $f$ be a continuous function on $\mathbb R$ satisfying the relation $$f(f(f(x))) = x\ \text{for all}\ x \in \mathbb R$$ Prove or disprove that $f$ is the identity function.  I tried taking the derivative. From the derivative, I'm not sure about it, but I concluded it had to be of degree 1 if it is a polynomial since if it'd have been of degree 2 or higher.. there needed to be terms of $x$ in the derivative.. which are not there.


The alternating group is generated by three-cycles

Prove that, for $n \geq 3$, the three-cycles generate the alternation group $A_n$   Proof:  We multiply on the left by 3-cycles to "reduce" an even permutation $p$ to the identity, using induction on the number of indices fixed by a permutation. How the indices are numbered is irrelevant. If $p$ contains a $k$-cycle with $k \geq 3$, we may assume that it has the form $p=(123\dots k)\dots$ Multiplying on the left by $(321)$ gives $$p'= (321)(123 \dots k)\dots=(1)(2)(3\dots k)\dots$$ More fixed indices.   What do you think ?


Is there a simple way to add symbols (circles, triangles etc) to the end of a line in QGIS?


In C++ Win32 app how can I determine private bytes, working set and virtual size

I'm writing some code for educational purposes and I'd like to be able to print these memory usage values out from a windows console program written in C++.


How do I remove the proprietary ATI drivers?

I've installed 11.10 and the proprietary ATI drivers using "additional drivers" The performance of my system is absolutely awful and it shouldn't be. I tried to remove the proprietary drivers using the Additional Drivers tool and it appears to remove them. However after I reboot I cant get back into my desktop properly (the panel and launcher go missing). This doesn't seem to be an isolated problem in 11.XX.  covers how to restore the desktop (panel and launcher), but the guide doesn't fix my problem though.   Whenever I do sudo unity --reset it runs through its normal processes until it hangs at setting update "run_key" and never gets past that. I must reinstall the proprietary drivers using jockey-text or jockey-gtk in order to get back to my proper desktop.   Interestingly enough the system performance seems improved while it is in its "broken" state (missing panel and launcher).  I think restoring the default drivers may solve my problems but I cant figure out how to do it.


Markdown table preview does not detect missing blank line before table header

When I edited an answer to add a second markdown table, both the first and second tables rendered correctly in preview, but the second table does not render. I've waited about 10 minutes in case there is some cache/refresh issue, and also tried both Chrome (87.0.4280.88 64-bit win10) and Firefox (84.0.1 64-bit win10) with equivalent result. I think the actual problem is that the preview works even if there is no blank line before the table header row. Simple table (looks good in preview) but no blank line before table header: | Question | Date Created | Date Closed | | -------- | ------------ | ----------- | | xxxxx | xxxxx | xxxxx | | xxxxx | xxxxx | xxxxx | Simple table (looks good in preview) with blank line before table header:     Question Date Created Date Closed     xxxxx xxxxx xxxxx   xxxxx xxxxx xxxxx     Simple table (looks good in preview) but no blank line before table header: | Question | Date Created | Date Closed | | -------- | ------------ | ----------- | | xxxxx | xxxxx | xxxxx | | xxxxx | xxxxx | xxxxx | Simple table (looks good in preview) with blank line before table header:     Question Date Created Date Closed     xxxxx xxxxx xxxxx   xxxxx xxxxx xxxxx     My earlier thought process is here, OK to stop reading at this point:  Image of Second table as seen in edit preview (correct):  Image of Second table as rendered in posted answer (incorrect):  Second table as rendered here (looks correct in preview):     Question Date Created Date Closed      2020-03-31 00:13:44 still open    2019-08-23 19:44:14 still open     Second table as rendered here, again (looks correct in preview):     Question Date Created Date Closed      2020-03-31 00:13:44 still open    2019-08-23 19:44:14 still open     Both instances of this table in markdown look correct in the preview here on meta... let me see if they render correctly once posted... After posting, both instances look incorrect. Is the table malformed? Second table as rendered here (looks correct in preview):     Question Date Created Date Closed      2020-03-31 00:13:44 still open    2019-08-23 19:44:14 still open     Simple table without links (looks good in preview):     Question Date Created Date Closed     xxxxx xxxxx xxxxx   xxxxx xxxxx xxxxx     Simple table without links, missing space before vertical bars (looks good in preview):     Question Date Created Date Closed     xxxxx xxxxx xxxxx   xxxxx xxxxx xxxxx     Simple table (looks good in preview) but no blank line before table header: | Question | Date Created | Date Closed | | -------- | ------------ | ----------- | | xxxxx | xxxxx | xxxxx | | xxxxx | xxxxx | xxxxx | Simple table (looks good in preview) with blank line before table header:     Question Date Created Date Closed     xxxxx xxxxx xxxxx   xxxxx xxxxx xxxxx     Can it please be made so that the preview also doesn't render tables if there's no blank line between the table header and the line of text above it, so it matches the actual post rendering?


Why COULD Harry see Thestrals following Cedric Diggory's death?

Pursuant to my question , asking why Harry couldn't see Thestrals immediately following Cedric Diggory's death, now I want to know why Harry could see Thestrals, as a re-read of canon shows that Harry actually did NOT see Cedric get killed. He had covered his face and eyes with his hands and his eyes were closed as Cedric was killed.     And then, without warning, Harry’s scar exploded with pain. It was agony such as he had never felt in all his life; his wand slipped from his fingers as he put his hands over his face; his knees buckled; he was on the ground and he could see nothing at all, his head was about to split open. From far away, above his head, he heard a high, cold voice say, ‘Kill the spare.’   A swishing noise and a second voice, which screeched the words to the night: ‘Avada Kedavra!’   A blast of green light blazed through Harry’s eyelids, and he heard something heavy fall to the ground beside him; the pain in his scar reached such a pitch that he retched, and then it diminished; terrified of what he was about to see, he opened his stinging eyes.   Goblet of Fire - Page 553 - British Hardcover   And:     ‘Righ’, now, who can tell me why some o’ yeh can see ’em an’ some can’t?’   Hermione raised her hand.   ‘Go on then,’ said Hagrid, beaming at her.   ‘The only people who can see Thestrals,’ she said, ‘are people who have seen death.’   ‘Tha’s exactly right,’ said Hagrid solemnly.   Order of the Phoenix - Page 394 - British Hardcover   According to the above passages, Harry technically did not see Cedric get killed, but witnessing a death is required for seeing Thestrals. So how is it that Harry was able to see Thestrals?


Bluetooth on Ubuntu 16.04 LTS does not detect any devices and does not get detected

I am using a DEll inspiron 3442 and the bluetooth icon is there on the taskbar but it doesn't detect any devices and cannot be detected by my phone either. The Bluetooth on my laptop works - I also have Windows on my phone.   Here is the output of lspci -knn | grep Net -A3; lsusb  06:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016] Kernel driver in use: wl Kernel modules: bcma, wl Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 004: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0 Bus 001 Device 003: ID 1bcf:2b8b Sunplus Innovation Technology Inc.  Bus 001 Device 006: ID 04ca:0061 Lite-On Technology Corp.  Bus 001 Device 002: ID 8087:8000 Intel Corp.  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Installing windows 7 on virtual Box in my Ubuntu 18.04

Helo there,, while am installing windows 7 on  virtual box in my ubuntu is it a must that i have a flashdisk or i can just choose the iso file directly?


Checkbox doesn't work as expected after append Jquery

Hello I have a problem. The checkbox does not show me the field after I have made an append. m = 1; max_fields = 5;      $('.anadir_compania').click(function() {             if(m < max_fields){ //max input box allowed                 var my_html = '
<input type="checkbox" name="operador_virtual[]" value="1" class="custom-control-input" id="operador_virtual_'+m+'">Marcar si eres un operador virtual

Operador<input class="form-control company2_input" type="text" name="company2[]" id="company2" placeholder="Escribe un operador">
';                 m++;                 wrapper.html(my_html);             }         });                      $( ".custom-control-input" ).change(function() {                 if ($('.custom-control-input').is(':checked')) {                     $('.compania2').removeClass('d-none');                     $('.company2_input').prop('required', true);                 }else{                     $('.compania2').addClass('d-none');                     $('.company2_input').prop('required', false);                     $('.company2_input').val("");                 }             });  -------------------------------EDITED: ADDED HTML FOR MORE INFO-------------------------------         Añadir             más compañías

                         <input type="checkbox" name="operador_virtual[]" value="1" class="custom-control-input"                             id="operador_virtual">                         Marcar si eres un operador                             virtual

                     Operador                     <input class="form-control company2_input"type="text"                         name="company2[]" id="company2" placeholder="Escribe un operador">


"Awaiting Editors Decision" what could it mean?

I submitted my paper to a engineering journal. It underwent a major revision and then a minor revision. The minor revision was some grammatical stuff. Now it is in the "Awaiting Editors Decision" mode for the past one week. I am sort of tensed about it. What does this mode mean for a journal review process in general?


we often repeat few words in like little little , different different etc . Are these valid english usage?


As a new Day Trader, I have used market orders on several occasions (mainly to exit positions). But it occurred to me that there might be an inherent danger in doing so...  Let’s say that I want to sell a stock that currently is trading about $20. At the instant I execute the market order, the only buy order left is someone (nefarious) who wants to buy the stock at $0... Is there any safeguarding in place to prevent the order from being filled?  An extreme example, and only dangerous if there is low volume, but it could happen?


Using a Single system() Call to Execute Multiple Commands in C

In an information security lab I'm working on, I've been tasked with executing multiple commands with a single call to "system()" (written in C, running on Fedora).  What is the syntax that will allow me to execute more than command through system()?  (The idea being you could execute arbitrary commands through a program running on a remote computer, if the program interacts with the OS through the system() call.)  I.e.:  char command[] = "????? \r\n";  system(command);


I have an Archos 97 Carbon, and am interested in putting Ubuntu Touch on it.  I wonder if this is possible? or where to begin?


Movie about robots who can get pregnant and motorcycles throwing their drivers in the air

I believe this is an old movie, since I watched it 10+ years ago. The story is about a robot (female robot) who is pregnant with—I'm not sure, a robot or human baby. The opening sequence is pretty similar to Future World (2018), where there are motorcycles cruising the desert. However, after near the compound, those motorcycles suddenly stopped and threw their drivers in the air because of an anti-electronic measure of some sort.


I am to find all the generators of the cyclic group $Z_{n}$. I know that $Z_{n}$ is a cyclic group because it can be generated by $\{1 \}$. However I think that $Z_{n}$ can be generated not only by $\{1\}$ but by $\{1, 2, 3,4,...,n-1\}$. Unfortunately I don't know how can give the proof of that.


Prove by induction that $\sum_{r=0}^{n}\begin{pmatrix}n \\ r \end{pmatrix}=2^k$

I have to prove by induction that $$\sum_{r=0}^{n}\begin{pmatrix}n \\ r \end{pmatrix}=2^k$$, using the identity $\begin{pmatrix}n \\ r-1 \end{pmatrix}+\begin{pmatrix}n \\ r \end{pmatrix}=\begin{pmatrix}n+1 \\ r \end{pmatrix}$. I'm fine with everything except the inductive step, where I only managed to get as far as $$\sum_{r=0}^{k+1}\begin{pmatrix}n \\ r \end{pmatrix}= \sum_{r=0}^{k}\begin{pmatrix}n \\ r \end{pmatrix}+\begin{pmatrix}n \\ k+1 \end{pmatrix}$$ I tried to then use the identity and substitute $\begin{pmatrix}n \\ r \end{pmatrix}=\begin{pmatrix}n+1 \\ r \end{pmatrix}-\begin{pmatrix}n \\ r-1 \end{pmatrix}$ but all this did was just take me around in a circle. I also couldn't substitute $2^k$ for $\sum_{r=0}^{k}\begin{pmatrix}n \\ r \end{pmatrix}$ since this didn't properly simplify to give $2^{k+1}$. However, I think that I have to obtain the expression $\sum_{r=0}^{k}\begin{pmatrix}n \\ r \end{pmatrix}$ since it simplifies to $2^{k+1}$. But I've not been able to obtain this in anyway so I'm wondering if anyone can guide in what I need to or what direction I need to take to complete the inductive step.


How to build kernel module without building whole kernel?

I have made some changes to i2c-ocores kernel code and I would like to build i2c-ocores module without building the whole kernel again.  could you please tell me how to do it ?  I am using the following commands to build the linux kernel:  #download sources in current directory sudo apt-get source linux-image-$(uname -r)  #Change into the downloaded directory and run following commands in order sudo chmod a+x debian/scripts/* sudo chmod a+x debian/scripts/misc/* sudo fakeroot debian/rules clean sudo fakeroot debian/rules editconfigs sudo fakeroot debian/rules binary-headers binary-generic skipabi=true skipmodule=true


How do I add a custom command to the bash?

OS: Ubuntu Server 16.04 LTS,  but willing to find a universal solution.   I have written a script that starts my Minecraft Server. Let's say I want to create a command (e.g. startmc) to start the server without tinkering with the path to the script, cd-ing to directory etc... So, how can I associate some Bash commands to a simple - custom command I can run from the Terminal or SSH?


1) How do I prove the following:   Let A = {6a + 4b ∈ Z : a, b ∈ Z} and B = {2a ∈ Z : a ∈ Z}. Show that A = B.  Thank you all for the help!


Can a player character be an actual dragon?

Is it possible to create a playable character who's a dragon in D&D 5e? Not a dragonborn, but an actual dragon.  I'm new to D&D and planning on playing D&D 5e because it's the newest.


I have a list with a lookup column in it. (name: colParent)  I can query the list with Eq, and get the correct results (2 results returned for 224).  <Eq>   <FieldRef Name='colParent' LookupId='TRUE' />   <Value Type='Lookup'>224</Value>  </Eq>   However, I do the same query with "In", and get no results.  <In>   <FieldRef Name='colParent' LookupId='TRUE' />   <Values>     <Value Type='Lookup'>224</Value>   </Values> </In>   (in the actual query, there will be multiple lookup Ids, so I need to use "In")  What's even weirder - this list is in a SP-hosted app that I developed. I installed the app in 2 sites.  The "In" query works in one, but not in the other. So the query should be correct, its just not working in one site.  Any ideas?  I'm going crazy over this one.


A $60\times 60$ square $S$ is divided into $2\times 5$ rectangles. Prove that no matter how this is done there is a way to divide $S$ into $1\times 3$ rectangles so that each of the above $2\times 5$  rectangles contains one of the $1\times 3$ rectangles. A bashy idea (which I cannot actually complete) is to show that we can always remove one-by-one connected figures of $30$ squares, composed of three $2\times 5$ rectangles, so that the resulting figure remains connected; and then check that each such figure of $30$ squares can be tiled with a $1\times 3$ rectangles. Any idea of something smarter? (Or if not, at least a fast way to complete the details of the above strategy?) Any help appreciated!


Does anyone have specific details on what the bonus means next to a couple of the acts in adventure mode? Is there any benefit to completing all of the bounties in all of the acts in a single game in adventure mode? Or should you just do the bonus acts and recreate?


I am trying to do an optimization process that minimizes the residuals of an OLS regression. Typically the unbiased OLS residual variance is given by : E(RSS/N−p-1)=σ². Where RSS is the Residual Sum of Squares, N the number of observations and p the number of coefficients. I am trying to see if such a correction is needed for computing the covariance matrix and if so, is there a function in R that does it? Update: Multiple assets will be regressed by an OLS regression and my goal is to find the weight that of these assets that will minimize the residuals.


condition for compactness of an operator

Let $\{e_n\}$ be an orthonormal basis for $l^2$ and $\{\alpha_n\} \in \ell^{\infty}$. Define $Ae_n=\alpha_n e_n$ on $l^2$. Find the condition for $A$ to be compact. My work: I want to show that in order for $A$ to be compact, we must have $\alpha_n \rightarrow 0$. Suppose the contrary. Then there exists some $\epsilon >0 $ such that we can find some sequence $(\alpha_{n_k})_k$ such that $(\alpha_{n_k})_k> \epsilon$. I want to show that in this case, we can't find a convergent subsequence for $(Ae_{n_k})=(\alpha_{n_k}e_n)_k$. And I got stuck here. Not sure how to show that there doesn't exist a convergent subsequence. I feel like I'm missing some facts in real analysis. Any help is appreciated! Thank you.


Generic name for places like village, town and cities

There is the German word Ort or Ortschaft which is a hypernym for places where people live like   villages towns cities   etc.  Is there a correspondent word in English?   I don't want to use location or place because they also represent geographical entities where no people live or even just buildings.


Filling nodata in a DEM using values from another DEM (in QGIS)

I have a 50cm Digital Terrain Model (tiff) with some nodata values. Instead of interpolating them, I would like to fill them in with values from a lower resolution (1m) DTM of the same area. I think this can be achieved using the raster calculator, but can't for the life of me work it out.   I'm working in QGIS 2.18.


How do you exactly define what is and isn't a ? I heard somewhere that it is "anything you can move through" but if that is right, why wasn't time and space considered a dimension before Einstein?


According to      MEDICAL DROID: Medically, she is completely healthy. For reasons we can't explain, we are losing her.       OBI-WAN: She's dying?       MEDICAL DROID: We don't know why. She has lost the will to live. We need to  operate quickly if we are to save the babies.         Medically healthy humans don't die for no good reason.  So what did Padmé die of, and how did they even know she was dying?


Proving $\gcd(a_1,\ldots,a_m)\gcd(b_1,\ldots,b_n)=\gcd(\text{all products $a_ib_j$})$

Prove that $$\gcd(a_1,\ldots,a_m)\gcd(b_1,\ldots,b_n)=\gcd(a_1b_1,a_2b_2,\ldots,a_mb_n)$$ where the parentheses on the right include all $mn$ products $a_ib_j$, $i=1,\dots,m$, $j=1,\ldots,n$  My attempt was as following: Let $d=\gcd(a_1,\ldots,a_m)$ and $b=\gcd(b_1,\ldots,b_n)$. Then $db|a_ib_j$ for all $i=1,\ldots,m$, $j=1,\ldots,n$. Thus $$\gcd(a_1,\ldots,a_m)\gcd(b_1,\ldots,b_n)\le\gcd(a_1b_1,a_2b_2,\ldots,a_mb_n)$$ So what's left is to prove that $$\gcd(a_1,\ldots,a_m)\gcd(b_1,\ldots,b_n)\geq\gcd(a_1b_1,a_2b_2,\ldots,a_mb_n)$$ Any hint will be appreciated


I have installed Ubuntu 13.04 but Wobbly effect is not there.. I need that effect.. I searched CCSM but the option to enable is not there. Help.