How do I get my computer connected to a wireless network using my Netgear WNDA3100v2?

I am very new to Linux in general, so this could be quite frustrating to all the more experienced users out there. I currently have an Ethernet connection to my router and I would like to be able to connect to my wifi using the mentioned wifi adapter. I have perused the internet attempting multiple solutions and failing at each, for approximately 5 hours. I am quite frustrated. Help would be appreciated.


When I multiply 1.265 by 10000 , I get 126499.99999999999 when using Javascript.  Why is this so?


I need to download some Sentinel images from scihub-Copernicus to use them on an application.  Does anyone know how to obtain the sentinel raster for a region (I have the polygon coordinates) using cURL or Wget?


Where did dedicated.abac.net. come from in my rDNS and PTR records?

So I followed this guide to the letter:   I did so for 3 domains.  When I "test" the records and enter: host 64.150.176.81 on my linux machine, it shows me 81.172.150.64.in-addr.arpa domain name pointer 64-150-172-81.dedicated.abac.net.  when it should be showing me 81.176.150.64.in-addr.arpa domain name pointer 64-150-172-81.example.com.  Has anybody encountered a similar problem?  I am hosting with codero, not abac.net btw.


How many named characters died in Avengers: Infinity War?

How many named characters have died       and/or disintegrated      by the end of Avengers: Infinity War. It is difficult to speculate who died on         Xandar and the Asgardian ship.       So restrict it to on-screen deaths only.


find - exec to remove directories with a dollar

In  I have outlined how I ended up with a few dozen directories that have a dollar sign in their filename.  I tried to get rid of these with the command:  find . -type d -name "*\$*" -exec rm -rf {} \;   which gave an error message for each directory. But the directories and their content were gone never the less.  So I retried things in /tmp:  mkdir "\$adir" find . -type d -name "*\$*" -exec rm -rf {} \;   and again got an error  find: ./$adir: No such file or directory   How could the files be removed without such a warning?


I was wondering if given 3 random vars X,Y,Z, assuming we know Cov(X,Z) and Cov(Y,Z), is there a formula to get Cov(X,Y) ? Thank you !


java.lang.NullPointerException while using Actions Class

I'm beginner person in automation testing. Currently I try to writing test with Actions class.  ChromeDriver 2.42 version Selenium 3.14 version Chrome 9.0.3497.100  Below I put my code:  public class KlasaDoCwiczen { WebDriver driver; Actions action; ChromeOptions options;  @Before public void UruchamianieAplikacji () {     System.setProperty("webdriver.chrome.driver", "C:\\Users\\smartyn\\Desktop\\chromedriver_win32\\chromedriver.exe");     driver = new ChromeDriver();     Actions action = new Actions(driver);     driver.get("http://localhost:4200/dashboard");     driver.manage().window().maximize();     driver.manage().deleteAllCookies();     driver.manage().timeouts().implicitlyWait(3000, TimeUnit.MILLISECONDS);     //driver.quit(); }  @Test public void TestCwiczeniowyZKlasaActions () {     action.clickAndHold(driver.findElement(By.id("client-individualPerson-bigFamilyCard-details-bttn")))     .moveToElement(driver.findElement(By.id("client-individualPerson-bigFamilyCard-details-bttn")))     .build()     .perform();  } }   So when I execute this I have statement:  wrz 25, 2018 10:42:16 AM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: OSS  java.lang.NullPointerException at KlasaDoCwiczen.TestCwiczeniowyZKlasaActions(KlasaDoCwiczen.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.junit.runner.JUnitCore.run(JUnitCore.java:157) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)


Wubi gives me error executing command:    command=C:\Windows\System32\bcdedit.exe /set {79d57369-10fa-11e2-a539-af7634f5111e} device partition=F: retval=1 stderr=An error has occurred setting the element data.


Python constructor overload with different number of parameters

I am trying to build a complex number calculator in python. The number will be represented by a class with two fields. The first constructor I want to use looks like this:  def __init__(self,real,imag):     self.real = real     self.imag = imag   but i would like to use another, where the only parameter will be a string representing the whole number:  def __init__(self,string_number):   How to implement the overload that allows to use different number of parameters? I am more used to C++, where such thing was easy. Thanks a lot!  EDIT: Question marked as duplicate:  I did not find any answer regarding different number of parameters. The error I get when trying to build a new instance of the class is about to few arguments.


Background images not showing up at all in persp or ortho view

I cannot get background images to show up. From what I understand you add the background image, then set the view it shows up in and then use numpad to set your camera view, yet this does not work for me. I've tried the 'ortho' and 'persp' views, along with the 'front', 'back' and 'sides' angles using the numpad, but cannot see any image. Also, setting which view the image shows in has no effect.   I have also tried dragging and dropping a image in, with no luck. I understand I can also add a image to a empty plane, but even this way does not work.  On the other hand, when it comes to adding materials and textures to objects, everything looks fine in edit mode and the final render, so this is not a problem.


How to apply a specific modifier on selected objects?

I'm trying to achieve this:  I select all objects with the same type of modifier (Armature) and want to "click" Apply on all of them. I searched different scripts on here and badly put together this one:  import bpy sel = bpy.context.selected_objects  for ob in sel:     for i, mod in enumerate(ob.modifiers):         if mod.type == 'ARMATURE':             bpy.context.scene.objects.active = ob                 for x in range(0, i):                     bpy.ops.object.modifier_apply(modifier=mod.name)   It will work for some of the selected objects then Blender will say "Python Script fail". It's obvious I don't know what I'm doing, but why is it failing after working at first? Thanks  EDIT: I found something that does exactly what I was trying to do. A user from Blender Artists named VincentG created an addon called "Massive Editor" from . I selected all objects, typed Armature in the custom field and all objects that had that specific modifier applied. The script may be old, but it worked great. Thanks Vincent!  For the sake of learning though, I'd still want to know what went wrong...  UPDATE: While searching around I found this answer  and tried it out to see if it would work for me:  import bpy  sel = bpy.context.selected_objects act = bpy.context.active_object  for obj in sel:     if obj != act:         bpy.context.scene.objects.active = obj #sets the obj accessible to bpy.ops         bpy.ops.object.modifier_apply(apply_as='DATA', modifier="Mirror")  bpy.context.scene.objects.active = act   It almost does what I would like but every time it would only apply to all selected objects except the active one.


Windows 7 Windows Update stuck on 0%, deleted DataStore file now stuck on checking for update

I realize there are already some question feeds related to my current question (see ). I am still confused as to why there is this disconnect between Windows 7 and the new windows update servers.   I suspect there is a server connection problem because when I try and monitor   C:->Windows-> SoftwareDistribution folder the size remains unchanged even while the WindowsUpdate program claims to be working.


Show that:$\sum_{i=1}^n x_{i} \cdot \sum_{i=1}^n \frac{1}{x_{i}} \geq n^2 $

Show that:$$\sum_{i=1}^n x_{i} \cdot \sum_{i=1}^n \frac{1}{x_{i}} \geq n^2 $$ The following hints are also given: $$\left(\frac{x}{y} + \frac{y}{x} \geq 2 \right) \land x,y \gt 0$$  Base Case: For n = 2  $$\left(1+2\right) \cdot \left(\frac{1}{1}+\frac{1}{2}\right) \geq 2^2$$  Inductive hypothesis:   $$\sum_{i=1}^{n+1} x_{i} \cdot \sum_{i=1}^{n+1} \frac{1}{x_{i}} \geq \left(n+1\right)^2 = n^2+2n+1$$  Inductive step:   $$\sum_{i=1}^{n+1} x_{i} \cdot \sum_{i=1}^{n+1} \frac{1}{x_{i}} = \left(\sum_{i=1}^n x_{i}+(n+1)\right) \cdot \left(\sum_{i=1}^n \frac{1}{x_{i}}+\frac{1}{n+1}\right) = \left(\sum_{i=1}^n x_{i} \cdot \sum_{i=1}^n \frac{1}{x_{i}}\right) + \left((n+1) \cdot \sum_{i=1}^n \frac{1}{x_{i}}\right) + \left(\sum_{i=1}^n x_{i} \cdot \frac{1}{n+1}\right) + (n+1) \cdot \frac{1}{n+1}$$  Final words:   I came to the conclusion that:   $$\left(\sum_{i=1}^n x_{i} \cdot \sum_{i=1}^n \frac{1}{x_{i}}\right) = n^2$$  I inserted for n = 1 so that $$\left((n+1) \cdot \sum_{i=1}^n \frac{1}{x_{i}}\right) = \frac{2}{1} \land \left(\sum_{i=1}^n x_{i} \cdot \frac{1}{n+1}\right) = \frac{1}{2}$$ Since $$\left(\frac{x}{y} + \frac{y}{x} \geq 2 \right) \land x,y$$ was given as a hint in the beginning I thougt I can say that $$\left((n+1) \cdot \sum_{i=1}^n \frac{1}{x_{i}}\right) + \left(\sum_{i=1}^n x_{i} \cdot \frac{1}{n+1}\right) = 2n$$  Furthermore it's obvious that: $$(n+1) \cdot \frac{1}{n+1} = 1$$  It's pretty standard proof by induction and I hope you can maybe give me some advices on what I could have done differently and verify the legitimacy of this proof.


Where do files go when you AirDrop them on iOS?

Where do AirDrop files go when I transfer them between an iPad, iPhone and iPod? I AirDropped some Google Docs from my iPad to my iPhone but nothing happened; where did my files go? The file was a list of tools.


_Scary->**_Myhead** was 0xDDDDDDDD VC++ Debugger

I got this error when debugging in VC++: _Scary->_Myhead was 0xDDDDDDDD. I would like to know what this error means, possible sources, and possible solutions. I think it may have something to do with std::map usage, but I'm not sure. For reference, the debugger leads me to a file called "xtree". Unfortunately, I have no idea how to reproduce this because it is a big project and I do not know why this error is occuring.


How can I make VLC media player's Continue playback button to stay for longer?

I have made my Vlc player ask me if I want to continue playback from where I left it following this guide :    However, the button disappears in less than 3 seconds. How can I make that button stay a bit longer ?


cannot execute binary file installing Miniconda

Im trying to install Miniconda on a server. I downloaded the .sh file from    I ran the following:  bash Miniconda3-latest-Linux-x86.sh   I received this message:  installing: python-3.7.1-h0371630_7 ... Miniconda3-latest-Linux-x86.sh: line 373: mydirectory/miniconda3/pkgs/python-3.7.1-h0371630_7/bin/python: cannot execute binary file   Does anyone know what I could do to fix this?


How can I safely remove an LVM physical volume (PV) without data loss?  There is enough space on the remaining PV to hold the data.


Indian travelling to Kuwait via Istanbul. Do I need Transit visa or e-Visa?

I am travelling from Toronto to Kuwait via Istanbul on Jan 10, 2018. I hold Indian passport. I have 5 hours' layover at Istanbul for my connecting flight. Both my flights are Turkish Airlines. I want to go out of airport and do shopping before connecting to next flight. Do I need transit visa or e-visa?


Answer list only displays first 30 answers

The answer list only displays first 30 answers, for questions with lots of answers - no pagination or lazy-loading once you reach the bottom, to view the other answers.  Personally counted every answer twice.


View contents of private app-data folder

I have an app installed which is generating log files and puts them in /data/user/0/appname.appname I can see them on a rooted device but not on a unrooted device. The appname.appname folder isn't visible on any file manager I've used. Is there anyway to view this folder contents without root?


Tool for determining object custom field use

Is there a good tool that checks the schema to determine custom fields and their use in triggers, page layouts, classes, etc? We have a couple objects that are getting close to the 500 max and it would be nice if there were a better way than having someone get a list of custom fields for an object manually and then searching every page layout, class, and trigger for use of each field.


I just remembered or i have just remembered?

Suppose I wrote someone an email and told him something. After a few days, it occurred to me that I forgot to tell him about other things. What is correct in this situation:   Hi marc, I have just remembered that I forgot to tell you about other things...   or    Hi marc, I just remembered that I forgot to tell you about other things ...


Can American mother living in France bring French father with her to the US right now?

I live in the US. My parents want to come and visit me. My mother now has dual citizenship France/US (born and raised in US, moved to France later). My father is only French. My mother believes right now that she's not even allowed by herself back to the US because she lives in France. It sounds crazy to me, but is it true? I know France right now would allow the reverse situation (French citizen allowed to bring US spouse to France just on the basis of their being married), but I'm not sure whether the other way around (title question) is true. If you don't know, do you have any idea where I could call and find out?


Did Emperor Palpatine break the Rule of Two?

Palpatine trained Darth Maul from a young age in the dark of the force and he was called Darth but Darth Plagueis was still alive while he was being trained and during episode 1 so there were 3 Sith, Plagueis, Maul and Palpatine?


I have started a PHP script via browser and due to a loop error the script continues to be executed even after closing the browser. I am noticing it since the script is logging error messages to my logfile (path known).  We have a Apache server where many developers work together and the user is nmdev. So how can I find out what process it the one running and logging to my logfile?  ps -afe | grep php53 gives me many processes of today like:  nmdev 26518 24151 0 11:51 ? 00:00:00 /opt/xxx/yyy/apache-php5/bin/httpd -k start


Back button returns to tags screen instead of search results

When searching tags and clicking on one of the search results, if you click back you should go back to the search results but the app returns you to the tag selection screen.  This makes searching navigation very frustrating.    App Version: 1.0.89 Device Manufacturer: Xiaomi Device Model: Redmi Note 3   OS Version: 5.1.1 (V8.0.6.0.LHOMIDG)


I tried to insert some data into my database table using JDBC, but it throws some exception like--> java.lang.NullPointerException There is no error in my connection I guess!  Here is the code--> package batch2;  public class Database {     Connection con;     Statement stm;          Database(){         try {             Class.forName("com.mysql.cj.jdbc.Driver");                          con=DriverManager.getConnection("jdbc:mysql://localhost:3306/javabatch2", "root", "");         }          catch (Exception ex) {             Logger.getLogger(Database.class.getName()).log(Level.SEVERE, null, ex);         }      }          public void addStudent(String name, String phone, String email){         String sql= "insert into student(name, phone,email) values ('"+name+"',  '"+phone+"',    '"+email+"')";                  try{             stm.execute(sql);         }catch(Exception ex){              System.out.println(ex);   ***//exception trows here***         }              }  }  Here is my main class--> package batch2;  public class Main1 {       public static void main(String[] args){         Database obj = new Database();                  obj.addStudent("hola", "875423", "hola@gmail.com");         System.out.println("Added into student table DONE");     }      }


public class UtilityClass { public static String getDescribedObjects( List lstSObjectType ) {     // Globally desribe all the objects      Map<String, SObjectType> globalDescribe = Schema.getGlobalDescribe();      // Create a JSON string with object field labels and picklist values     String allObjJSON = '{';          // Iterate over the list of objects and describe each object       for( String sObjectType : lstSObjectType ) {                  if( allObjJSON != '{' )            allObjJSON += ', ';         allObjJSON += '"' + sObjectType + '": ';         DescribeSObjectResult describeResult = globalDescribe.get(sObjectType).getDescribe();         Map<String, Schema.SObjectField> desribedFields = describeResult.fields.getMap();         String objJSON = '{';                  for( String fieldName :  desribedFields.keySet() ) {                          // Descirbe the field              Schema.SObjectField field = desribedFields.get( fieldName );             Schema.DescribeFieldResult f = field.getDescribe();                  if( objJSON != '{' )                 objJSON += ', ';                 // Get the field label and append in the JSON string             objJSON += '"' + f.getName() + '": ' + '{ "label" : "' + f.getLabel() + '"';                          // if it's a picklist field then also add the picklist options             if( field.getDescribe().getType() == Schema.DisplayType.PICKLIST ){                                  List <Schema.PicklistEntry> picklistValues = field.getDescribe().getPickListValues();               List<String> pickListOptions = new List<String>();                 pickListOptions.add('{ "label": "--None--", "value": null }');                                  for (Schema.PicklistEntry pe : picklistValues) {                                           pickListOptions.add('{ "label": "' + pe.getLabel() + '", "value": "' + pe.getValue() + '" }');                                  }                                  System.debug( '>>>> ' + fieldName + '>>>> ' + String.join(pickListOptions, ', ') );                 objJSON += ', "picklistOptions": [' + String.join(pickListOptions, ', ') + ']';                }             objJSON += '}';         }         objJSON += '}';                  allObjJSON += objJSON;     }          // Close the object in the JSON String     allObjJSON += '}';          System.debug( ' JSON STRING : ' + allObjJSON );          return allObjJSON; }  }


Do mathematical objects exist after their definition?

Suppose we have a system with a set of axioms. Now we begined to define new terms. E.g. in maths we have a particular set of axioms and then we define what a function is. But do all the functions automatically start to exist? For example, did the exponential function came into existence because we defined the term function? Or it was already there and we just give a name of what function is so we can say that exponential function is a member of the set of functions? Example Consider now the statement "All functions are even". Where does the "all functions" refer? All the functions that exist? If no function exists then the term "all functions" fail to refer. So should we prove existence before we assign a truth value to that statement? I have read also the post  But I am asking why in a given system with axioms the the objects we assign properties are already exist so we have not the problem of "fail to refer".


Adjective for serving as a typical example, validity of exemplative

I want an adjective that describes a noun as something that serves as an example of something.   I viewed this  but I feel that exemplary doesn't suffice, because it implies bias approval. Like if I used it in a sentence like:     Joe is an exemplary citizen   It doesn't imply that Joe is a typical or representative citizen, it implies that he's a great one that people should model themselves after.  I think that exemplative is a great word. Especially for the context I wish to use it in, which is something like:     Her work is an exemplative narrative on this particular subject   However my concern is that when I searched for the definition of exemplative, there were open content sources such as Wiktionary definitions for it. So is it a valid and proper word that I can use or should I look to another adjective? If so what?  Thank you all for your help.


Prove that there aren't any positive integers $a,b>2$ such that $a^2 \vert b^3+1$ and $b^2 \vert a^3+1$

I need help with the proof of this number theory question. $a|b$ means that $a$ divides $ b$, for example $2|10$. At first, I tried to use algebraic identities and converted $a^3 + 1$ to $(a+1)(a^2 - a + 1)$ and same for the other one, after that I tried to combine the two equations, but I got no where.


How to allow to use not-yet-known-type in its type-definition in c?

I would like to use type, which is yet not know, becuase I am using it in its own definition: typedef struct{  int value;  node_t *next; } node_t  I do not to create new variable (which I would do, If I use tag of that struct (typedef struct foo{...} foo_t, where foo is a concrete variable) I just want to create new type and use it even in its definition. Is it possible in c?


Minecraft launcher not logging in on windows PC and not updating on a mac

I own a macbook, a mac and a windows PC. I generally use my MacBook for gaming (weird, I know) but I recently met some restrictions forcing me to use a different device for gaming. I had used the windows PC before for minecraft, but I got logged out some time ago and I can't get back in (via the minecraft launcher). It used to say it could not connect but now it just says it is an incorrect username/email and/or password. I have checked my minecraft password on the website (minecraft.net) and it works just fine on there but I just can't get in on the launcher. I also cannot access minecraft on my mac because "the launcher is unable to update". The circumstances basically are that I can't play minecraft at all at the moment so I would appreciate help.


How do Southern people discern Night's Watch deserters from truthful brothers sent south?

Night's Watch deserters are sentenced to death, as we've seen in the very first episode of Game of Thrones. A man dressed all in black is apprehended by Stark men and brought before Lord Eddard Stark. Lord Stark sees him as a deserter and sentences him to die (and then executes that death penalty).  However, there are men of the Night's Watch south of the Wall, on a legitimate mission or on some kind of allowed leave. For instance, we have Benjen Stark visiting Winterfell when the king and his party is there. There is also Yoren, who travels around Westeros in search of new recruits.  I could imagine that the Warden of the North (and other lords in the northern part of Westeros) would have a good idea of who would be allowed further south and whose appearance would raise suspicion. But I reckon the southern lords don't have as many visits from the Night's Watch, so they might not know who would be allowed to be there and who wouldn't.  How would lords who are rather unfamiliar with the specific brothers of the Night's Watch discern deserters from brothers sent out for some reason?  That ends my question, but there is a spoiler from the season 5 finale that continues the question a bit more:      Sam is sent to Oldtown to become a Maester, so he can replace Maester Aemon at Castle Black.  But he is riding together with Gilly (a woman!) and her baby (a baby!), which might raise a lot of suspicion from people who don't know what he is sent out to do.  What prevents southern lords of sentencing Sam as a deserter from the Night's Watch?


Best way to mount a big backpack to rack?

Title says it all. I have a 65L backpack and would like to mount it on bike rack so it's most convenient to ride with and doesn't catch much air friction.  Currently I'm doing this (sorry for the bad photo quality (it was intended to describe something else) but you can basically see it - putting the big backpack across the rack and securing it with two rubber straps):    Problem is that the backpack of course isn't very stable and takes a lot of air friction. I'd like to fix the greatest possible amount of this.  So, the question -- are there any better backpack mounting methods I didn't think of that would allow me to securely attach the backpack preferably in "vertical" or "lenghtwise parallel with the bike direction" position? Or, is there any equipment or special rack that would allow me to do that without some advanced rubber strap magic? :]  Thanks a lot!


How should pluralised inline code be highlighted?

I'm not really sure if this would be better suited over on SE's user experience site, but here goes: Say I'm writing a blog post or, even better, a question on one of the various SE sites. My example blog post or question is about HTML, and I have three similar elements that I want to collectively refer to. If the element I'm talking about is a "section", which of the following should I use?   Three sections. Three sections. Three section elements.   In the first example, the "s" is contained within the code highlighting. In the second example, the "s" is directly after the highlighting. In the final example I've dropped the "s" from the inline code altogether and instead pluralised the name of the group "section" belongs to.


What is the correct or better server to use

I live in the USA and was wondering what server I should use for updates, archive.ubuntu.com or us.archive.ubuntu.com.  What is the difference betweeen them? TIA, A4Skyhawk


Using measure theory, one can see immediately that $\mathbb{R}^{n}$ is not the union of only finitely many (proper) affine subsets. Can we prove this using only algebraic methods? I know one way to do this using Vandermonde matrix and analyzing for each (proper) affine subset, points of the form $x_{0}+(1,r,r^{2},\ldots,r^{n-1})$ where $r$ varies in $\mathbb{R}$. Is there any other proof (hopefully) avoiding matrices and determinants? Moreover, what can we say when the ground field is finite?


Options for a wide angle lens for Nikon D5000?

I'm not sure if all Nikon lenses have identical connectors across all models (amateur here), so I'm sorry if it's a silly question.  I have a D5000 and I'm looking to do more night time photography and also general scenery, so I'm thinking a wide would be a good investment. What suggestions do you have, and which filters would make sense with it? (I already have an adjustable ND filter).


I'm looking forward to emulate the behavior of OS X Dock Stacks so that I can have, for instance, one stack for browsers and another one for IDES. People at ask ubuntu are doing a lot of cleaver stuff with custom Launchers and Quicklists (see ). So has anyone figured out how to have stacks in Unity? Anything fancier than a static Quicklist over a dummy folder icon?


ImportError while importing module from another folder

I have the following folder structure:  controller/     __init__.py     reactive/         __init__.py         control.py pos/     __init__.py     devices/         __init__.py         cash/             __init__.py             server/                 __init__.py                 my_server.py     dispatcher/         __init__.py         dispatcherctrl.py   I need to import the module control.py in my_server.py, but it say ImportError: No module named controller.reactive.control despite the fact that I have added __init__.py in all the folders and sys.path.append('/home/other/folder/controller/reactive') in my_server.py.  The main file is in my_server.py.  I don't understand why, because dispatcherctrl.py do the same import and it work fine.


Recovering data without reformat from a USB drive made bootable

An ext4 formatted USB drive with data on it was made bootable USB drive by mistake. I want to recover the USB drive along with the data without formatting the USB drive. The USB drive is an external SSD.The size of the drive is 1TB.I used Start up Disk Creator vailable in Ubuntu to create the bootable external SSD from the iso image I had stored in my system.


Why is it possible to answer a question twice?

You normally answer a question and you have the opportunity to answer again. The second time, a message is shown suggesting the use of the edit tool, but I think it's kind of wrong. I mean, if you answer something and then you want to say anything else you know that you must use edit.  Why not disable the answer button if you already have an answer?


Choose the correct pronoun to complete the sentence.     No other boy in our neighborhood runs as fast as (he, him).       Choose the correct pronoun to complete the sentence.     Who could make spaghetti better than (she, her)?         Choose the correct pronoun to complete the sentence.     The book about the history of pencils was more interesting to you than to (he, him).


so , i started making a short film of a robot mystery , and had made a few renders , it was all okay , until i made my 5th render , the whole lighting system glitched and the lights started pitching to purple , first i thought , that my hdri might have caused the problem but the hdri is attached but still , this is the problem PS , im a noob


I am trying to check all checkbox but its not working.    <apex:includeScript value="//code.jquery.com/jquery-3.2.1.min.js" /> <apex:includeScript value="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js" /> <apex:includeScript value="{!URLFOR($Resource.Others,'/Others/JQuery_File/jquery-2.2.4.min.js')}" /> <apex:slds />    <apex:form>

          <apex:commandButton id="myButton" styleClass="slds-button slds-button--brand" value="Select All " />

                                                              <input type="checkbox" name="options" id="PDCheck" checked="" />                                                                                Draphic

                                                              <input type="checkbox" name="options" id="PICheck" checked="" />                                                                                Insurence

 </apex:form>


When a ranged attack deals multiple damage types, can I choose what damage type my Sharpshooter bonus gives?

I am a Blood Hunter (Critical Role class ) with the Sharpshooter and Crossbow Expert feats wielding two hand crossbows. My Crimson Rite allows me to deal an additional 1dx magical damage of some element when I make an attack with a targeted weapon. Sharpshooter simply says that you can add 10 damage to the attack, but it doesn’t specify type. I see a direct comparison to Jeremy Crawford’s ruling on , implying I could choose the damage type of the extra damage. Am I missing some rule that contradicts my assumption?


I want to know something about connecting my laptop to LED TV. Is there any site where I can ask my question in detail?


I've been trying to use the spy library to magnify a part of my plot, but I don't really understand how it works, and I can't find a manual/tutorial anywhere.  Right now I am doing something based on  for the magnification part, although not exactly what I was looking for, might do the trick.     However, my question is how exactly do I get the "x 2000" line, along with the second plot?


Retriveing data from Firebase database is showing null pointer exception. How?

I'm retrieving some value form the RealTime database but every time it shows null pointer exception. actually i want to access all data from a child and also got new update on data when data changed via Database. My code is this, and in this code i want to append value in Text View but showing null pointer exception. please resolve my issue.   db=FirebaseDatabase.getInstance();         dr=db.getReference().child("us");        dr.addValueEventListener(new ValueEventListener() {             @Override             public void onDataChange(@NonNull DataSnapshot dataSnapshot) {                 for (DataSnapshot postSnapshot : dataSnapshot.getChildren()) {                     txtMsg.append((CharSequence) postSnapshot.child("name").getValue());                 }             }              @Override             public void onCancelled(@NonNull DatabaseError databaseError) {              }         });   and my LogCat is:  0.481 31984-32018/com.thebhakti E/GED: Failed to get GED Log Buf, err(0) 09-02 16:51:11.891 31984-32036/com.thebhakti E/NativeCrypto: ssl=0xb7352a78 cert_verify_callback x509_store_ctx=0xa0aa11d0 arg=0x0 09-02 16:51:11.891 31984-32036/com.thebhakti E/NativeCrypto: ssl=0xb7352a78 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA 09-02 16:51:14.579 31984-31984/com.thebhakti E/AndroidRuntime: FATAL EXCEPTION: main                                                                Process: com.thebhakti, PID: 31984                                                                java.lang.NullPointerException: Attempt to invoke interface method 'int java.lang.CharSequence.length()' on a null object reference                                                                    at android.widget.TextView.append(TextView.java:3643)                                                                    at com.thebhakti.RealtimeMain$2.onDataChange(RealtimeMain.java:71)                                                                    at com.google.android.gms.internal.firebase_database.zzfc.zza(Unknown Source)                                                                    at com.google.android.gms.internal.firebase_database.zzgx.zzdr(Unknown Source)                                                                    at com.google.android.gms.internal.firebase_database.zzhd.run(Unknown Source)                                                                    at android.os.Handler.handleCallback(Handler.java:815)                                                                    at android.os.Handler.dispatchMessage(Handler.java:104)                                                                    at android.os.Looper.loop(Looper.java:194)                                                                    at android.app.ActivityThread.main(ActivityThread.java:5643)                                                                    at java.lang.reflect.Method.invoke(Native Method)                                                                    at java.lang.reflect.Method.invoke(Method.java:372)                                                                    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)                                                                    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)


Intersection of all maximal ideals containing a given ideal

Let $I$ be a proper ideal in $k[x_1,....,x_n]$, where $k$ is an algebraically closed field. Show that $\sqrt{I}= \cap M$, where $M$ runs through all maximal ideals containing $I$.    I am confused by what we can say is in the intersection of all maximal ideals.   For the proof, since k is algebraically closed, I think I would want to use Nullstellensatz, but once I have that $\sqrt{I}=I(V(I))$, I am not sure what to do next.


Putting char into a java string for every 4 characters

for example:  String str = "abc1234abcd12"; String str1 = "abc1234abcd1234abcd12";   adding a '-', after third char,  and add '-', after every 4 char   how can I get this output:  String str = "abc-1234-abcd-12"; String str1 = "abc-1234-abcd-1234-abcd-12";


How can I write a JavaScript function that accepts a number from 1 - 12 representing the months of the year, and then returns the number of days in that month?


Dual boot system. Will I impact one system if I reinstall the other?

My computer is dual boot system, it's on two partitions. Windows 7 is installed on the C drive and Ubuntu-12.10 is installed on the D drive. Ubuntu was installed using wubi. I need to reinstall Windows 7, would like to know if it will affect the Ubuntu installation.


Why when we coil some straight wires (may be metallic or nonmetallic) then it gives a restoring force (some what like spring)?Why when the wire was straight it doesn't give that appreciable amount of restoring force?  Does in this case also Force is proportional to length the coiled wire extended. If yes then consider giving the ratio of Force to length extended (i.e. Effective spring constant) in terms of young's modulus(Y) and other required terms.


Is there a way to determine whether a representation of a finite group is faithful?

I want to determine whether a representation of a finite group is faithful from the character table. Is there a such general way or specific way for finite group of small order?


jQuery click not working for dynamically created items

I have a piece of jQuery that loops through each  element in a given div( #container) and does a javascript alert each time a span is clicked. This works fine if the <span>'s are static.  However, if I use a piece of code like:  $(someLink).click(function(){    $("#container").html( <new html with new spans> ) });   The jQuery code doesn't fire off. Oddly enough though  My question is : Is there a reason my Click events don't work for dynamically created items? I assume I will have to add something into my document ready or heartbeat-script (which is fired every 100 miliseconds) to hook up the events??


Let subgroups $H,K \subseteq G$ such that $G=H \cup K$  Prove $H=G$ or $K=G$


How can I integrate $\int\frac{x+2}{x^2+2}dx$?  I have tried splitting the integral into two pieces and can solve $\int\frac{x}{x^2+2}dx$ by substituting $x^2+2$, but the $\int \frac{2}{x^2+2}dx$ I have problems getting.


In this sentence:     Five birds landed on the branch.   Is the word “five” an adjective? Why or why not?


Is a finite lightspeed necessary for cause and effect to exist?

In  I asked in somewhat unclear (unclear enough to be closed) fashion about the relationship between an infinite speed of light and the existence of cause and effect.  In thís question, I like to clarify it and make it more articulate.  Consider a non-relativistic, non-quantum mechanical , in which the speed of light is infinite. Now the e.m. field is the vehicle by which a cause is transmitted to create an effect somewhere else.  If the speed of this vehicle, the speed of light, becomes infinite then what happens to cause and effect? All particles affect each other at the same  in an  in this Universe (this is, of course not our real Universe, but it just serves to investigate the Nature of cause and effect; besides, in  a similar kind of Universe is used).    Now when all particles affect each other simultaneously this means they will also affect themselves simultaneously and these in return backfire simultaneously to all other particles which again simultaneously backfire to all particles etc. So a particle, if it moves, has an instantaneously effect on its own movement by the instantaneous backfiring of all other particles, and this holds for all particles. Aren't the particles "frozen" somehow (this is an intuitive feeling on which I can't put my finger exactly)? Can the particles move at all if this is the case and cause and effect can't be separated? If not then a finite speed of light is necessary.   This question differs from the possible duplicate because I ask the question of what will happen in this Universe (which is non-quantum mechanical, contrary to the possible duplicate) when cause and effect are non-separable and all particles interact simultaneously. What effect will this have on the movements (if they are able to move at all) on the particles?   Let's boil down the problem to two charged elementary particles present in this imaginary Universe. What will happen? It seems to me that because of the non-separability of cause and effect, a problem arises because the particles don't "know" what to do. Both particles can't "decide" if they are the cause or the effect, ending up in no movement at all.   So the crux is not being there a distinction between cause and effect.


I have shown output image description here in my Lm 393 comparator, my output is not coming proper square wave.picture is shown below.i have described my circuit. practically I am using voltage comparator LM393 for comparing two signals, one signal is my reference signal which is a triangle wave, with voltages 2.08 volt generated by 555 timers above 200kHZ giving to the input terminal of inverting side of LM393 and input signal or modulating signal which voltage is less than 2.08 giving from function generator as a sinusoidal signal in the range of 1 Hz to 20kHz in the noninverting side of LM393. My question is when I am providing two signals it should be compared and give a square wave, but LM393 only taking triangle wave, sin wave is not going? why I don't understand. please give suggestion to the above points. In this picture below, I am referring to this circuit, please tell me what 's wrong in this circuit, when I am taking triangle wave from 555 timer ad providing into the comparator and another signal providing from the generator.


I can show that for $x > 0$ and $r_{i} > 0$ we have $$ \left(\, x + r_{1}\,\right)\ldots\left(\, x + r_{n}\,\right)\ \geq\ \left[\, x + \left(\, r_{1}\ldots r_{n}\,\right)^{1/n}\,\right]^{n}.$$ However, I can't do this using straight up induction, strong or weak. Can someone do this?   You can show the inequality holds for $n$ if it holds for $n+1$ using $r_{n+1} = (r_1 \cdots r_n)^{1/n}$, so going down isn't a problem, but going up has eluded me. Additionally, you can show that if it holds for $n=a$ and $n=b$ then it holds for $n=ab$. Using powers of two and the above is sort of a way to prove the above by induction but it certainly isn't "normal".  You can also prove the above using Lagrange multipliers (which isn't surprising). The last proof I know is where you compare coefficients of $x^k$ and use the AM-GM inequality.


Is it ok to add a bit of humor and sarcasm to academic presentations

Is it frowned upon to add slight humor and sarcasm to academic presentations? For example, I flip to a background slide and say "This is a typical slide used by researchers in (field) just to show off how difficult their work is." before going through the content of the slide. Is there a difference in doing that in different settings, like a department seminar vs an international conference?


Security Update for drupal  All other updates are being done smoothly thorugh drush  I have a multi site installation if drupal so i worried to remove the sites folder and update that the general way.   I get this error when updating through drush commons module:  The commons directory could not be found within the modules directory at /var/www/drupal/., perhaps the project  [error] is enabled but has been deleted from disk.  Please help.


returns zero results.  Just include the duplicate suggestions behavior in that as an option


How to run ubuntu/xubuntu in a complete non-gui mode

I am looking to run Ubuntu/Xubuntu in a complete non-GUI mode. Like, when the system starts it needs to log in into console. That is all, no loading of any display manager, x server, GUI-based app support, nothing in the background either for GUI.


Refering to the same footnote - \footnotemark + \footnotemark[\value{footnote}] + \footnotetext (without \ref)

I'd like to refer to the same footnote (possibly avoiding \ref) in the following manner:  First note  First note  Second note  First note  I tried to do this, but in the last row (above) I got Second note instead of First note:  \documentclass[11pt]{article} \begin{document}   First note here \footnotemark, First note here \footnotemark[\value{footnote}]. Second note here\footnote{Nota normale} First note here \footnotemark[\value{footnote}].   \footnotetext{Questa è una nota utilizzata più volte.}   \end{document}     Thank you so much in advance.


An inequality for a sum of sine functions

I want to show for $x\in\mathbb{R}$, the following inequality holds. $$ \left|\sin x\right|+\left|\sin (x+1)\right|+\left|\sin (x+2)\right|>8/5. $$ This trigonometric inequality has been verified by Mathematica using the Plot commend. However, using the sum formula for the sine function seems doesn't work, and I cannot give a rigorous proof of it. Any suggestion, idea, or comment is welcome, thanks!


Every Christmas, Harry receives a mediocre gift from the Dursleys. In Harry Potter and the Chamber of Secrets he gets a toothpick.     At that moment, Hedwig swooped into the room, carrying a very small package in her beak.     “Hello,” said Harry happily as she landed on his bed. “Are you speaking to me again?”     She nibbled his ear in an affectionate sort of way, which was a far better present than the one that    she had brought him, which turned out to be from the Dursleys. They had sent Harry a toothpick    and a note telling him to find out whether he’d be able to stay at Hogwarts for the summer    vacation, too.    They hate owls, but obviously use them to contact Harry at school?


$x+y+z=n$. Finding the number of solutions.

I have found two formulas. I want to connect them!  The number of ways in which a given positive integer $n≥3$ can be expressed as a sum of three positive integers $x,y,z$ (i.e. $x+y+z=n$) , subject to $x≤y≤z$ is the integer closest to $\frac{n^2}{12}$. If $x+y+z=n$ where $x,y,z$ are postive integers then the number of ways is ${n-1 \choose 2}$ .  The difference between these two formula is the condition $x≤y≤z$. Can we connect these two ?? Please help me! I mainly wants to know how one implies the other.


Sort file into directories base on their extension

I just recovered more than 2 Million files using PhotoRect, the files in the recovery folder contain more than 2 Thousand folder containing random files extension .  It would be impossible if I sort them manually, I tried to program a bash script but I found this on the INTERNET:    #/bin/sh  # Give directory as argument dir=$1 if [ "x$dir" != "x" -a -d "$dir" ] ; then   cd "$dir" fi  dir=$(pwd) basedir=$(basename "$dir")  exts=$(find . -mindepth 1 -maxdepth 1 -type f -print | grep '^\./.*\.' | sed 's/^.*\.\([^.][^.]*\)$/\1/' | sort -u)  for e in $exts; do     # Skip extension if this directory is already named by extension.    if [ "$basedir" = "$e" ] ; then       continue    fi     mkdir "$e"    for file in *.$e; do       mv "$file" "$e"    done done   It's usage is find . -depth -type d -print -exec /path/to/ext/script {} \;  This script get through the sub-directories in the main directory and creating folders in the directory with the name of the extension of the file   For example :   folder1 is our main directory   folder1                     It becomes  =>      folder1  --- subFolder1                                  -- subFolder1     -------file11.php                               ----php     ------file12.txt                                      file11.php     -------file13.img                                     file14.php     -------file14.php                               ----img  --- subFolder2                                           file13.img     -------file21.php                                   ------file22.txt                                And So On....     -------file23.img     -------file24.php  --- subFolder3     -------file31.php     ------file32.txt     -------file33.img     -------file34.php   But I want it to create another directory newFolder which contains all file with php extension in all the directories and sub directories .  Is that possible, I don't have that much of experience in bash .


Where is the best place to put custom software?

I know Linux is very permissive and allows customization at many levels but let's said that I have downloaded some .tar.gz files like for example phpStorm and Smargit (both have binaries and libraries used by software) and I want to use them as any other software installed through DNF. Where would you place the uncompressed files or how would you do this?  I've found  topic but I am not sure if /opt is the right place for put this kind of standalone software.


I could use help with the following problem:  Show that if $A$, $B$ and $C$ are three events such that $P(A \cap B \cap C) \neq 0$ and $P(C \mid A \cap B)$ = $P(A \mid B)$, then $P(C) = P(A \mid B)$.  Here is my attempt to solve the problem:  $$P(C \mid A \cap B) = { {P(A \cap B \cap C)} \over {P(A \cap B)}} = P(C \mid B) = {{P(C \cap B)} \over {P(B)}}$$  However, at this point I do not know what to do. Please help.  Note: This is not a homework problem  Bob


How to input tone melodies indicated by a line above the sentence?

In linguistics, sentence-level tone is often indicated by a line above the sentence whose path traces the level of the tone at each point in the sentence. An example:    How would I make one of these neatly in LaTeX, aligning particular points of the line with particular syllables? I'd rather not resort to fiddling around with nodes in TikZ, if possible.


"sudo !!" doesn't give me permissions. What am I missing?

When you forgot to sudo a command you may want to write,  sudo !!   That would execute the last command applying the sudo command to it.  However sometimes seems I can't do that, for example inside /etc folders. What am I missing?  EDIT:  dione@saturno:/etc$ echo testing > testfile bash: testfile: Permiso denegado dione@saturno:/etc$ sudo !! sudo echo testing > testfile bash: testfile: Permiso denegado dione@saturno:/etc$    Now I guess that's because it's doing sudo echo, and the problem is that redirection is not affected.


How to disable Ctrl+Shift+U in Ubuntu 18.04?

How to disable ctrl+shift+u shortcut in Ubuntu 18.04?  Solution from  no longer works in Ubuntu 18.04.


What component to use for audio signal switching?

I'm looking to build a guitar pedal switcher based on a Raspberry Pi or Arduino (have not yet decided, but I have an unused Raspberry around and I lean towards that). Anyway, digital logic.  Now, I need to switch audio signal obviously and I need to do it quietly (both physical silence and electrical silence). Please note that the signal is line level throughout most of the build, except for the input which is much lower. I will probably have 2 or 3 loops before the preamp so those may not encounter line level signal.  From what I read and know, so far, mechanical relays are not really an option due to the clicking noise they make. I also read something about FETs, but that's a bit out of my league and I would appreciate any info on these.  PS: I will probably use different power rails for the digital and analog paths.  PS2: The whole thing will be mounted in a 1U rack enclosure, so please tell me if I should take into consideration any thermal issues.


Reasons for rejecting iPhone application by Apple store

Can anybody help me out to know the possible reasons for which Apple store can reject or raise objection to submit any iPhone application.


How can I perform a t-test (or another hypothesis test) on NPS (Net Promoter Score) results?

Here is an explanation of how NPS is calculated:    I'm interested in testing two net promoter scores to determine if they are statistically different. I read a great answer to calculating margin of error for NPS (see link below), but I'm really interested in testing to see if there is a difference between two scores, because I suspect that our results aren't as "different" from year to year as they appear to be.    Is this at all possible? I understand t-tests are typically used to test whether two different record sets are statistically different. But is it possible to test Net Promoter Scores, either with a t-test or some other hypothesis test?  Any ideas you have would be a great help. Thank you!


I loaded v2.79 because I can't load the latest version because of my old Mac operating system, El capitan, and my old machine won't load upgrades beyond that, so in the famous donut tutorial he uses proportional editing to distort the torus. My controls do not work the same at all. At 7:30 in part 2 of the Blender Beginner Tutorial Blender Guru says scroll up or down with the scroll wheel/button and when I do it does not do what it does in his version.


The number of ring homomorphisms from $\mathbb{Z}_m$ to $\mathbb{Z}_n$

I face the problem of finding how many non-trivial ring or group homomorphisms there are from $\mathbb{Z}_m$ to $\mathbb{Z}_n$, where $m<n$. Is there any general formula?   At the moment, I want to know how many ring homomorphisms there are when $m=12,n=28$.  Please help.


The interface to create material looks different

When i add a material to my object i get an panel that is like the one from [picture left] but what i need is an panel that is similar to [picture right]. Why is there a difference and how can i get the right one?


How can we interpret polarization and frequency when we are dealing with one single photon?

If polarization is interpreted as a pattern/direction of the electric-field in an electromagnetic wave and the frequency as the frequency of oscillation, how can we interpret polarization and frequency when we are dealing with one single photon?


iPhone keeps trying to iMessage someone who no longer has an iPhone

My friend used to have an iPhone and we would talk via iMessage but when he switched to a droid it keeps trying to send him iMessages instead of SMS and the text messages take twice as long to send. How do I stop this from happening?  I deleted him from my contacts, restarted my phone, and even turned iMessaging off and on in my settings and nothing has worked.


When creating a new ASP.NET project in Visual Studio should I chose create: website or project?   I understand that web application project was the way to do it back in the day with VS 2003 but is it still applicable today? What are some of the caveats using one over the other?


Suppose $1<p,q<\infty$, $\dfrac{1}{p} + \dfrac{1}{q}=1$, $(X,\Sigma,\mu$ is $\sigma$-finite measure space and $g$ is a measurable function such that $fg \in L^1(X)$ for every $f \in L^p(X)$. Prove that $g \in L^q(X)$.   I have no idea where to start this question. It seems to me a lot like a close question to the Riesz Representation Theorem, or an application of it. Any help is much appreciated. I'm just refreshing many questions I haven't looked at in quite some time for preparation of my Analysis Qualifying Exams.


How to display web site in top searches in a serach engine?

Hi I want to display my web site and list it in the top searches in Google, Bing and Yahoo search engine? How should I proceed and what do I need to do(i can't spend money to promote my web site)


I know that similar questions have already been answered on this platform but none of them were really answering my specific question which is the following:  Bayes' theorem arises solely by rearranging the multiplicative law of probability:  $$p(\theta|x)p(x) = p(x|\theta)p(\theta)$$ $$ p(\theta|x) = \frac{p(x|\theta)p(\theta)}{p(x)}$$  Hence, all the quantities involved are proper pmfs or pdfs.  However, I constantly read that the likelihood in Bayes theorem wouldnt be a proper probability (pmf or pdf) since it is not normalized to one.  How is that possible?  I understand the concept of the likelihood function $L(\theta|x)=p(x|\theta)$ in MLE and why it is not a pdf (or pmf) since it holds the random variable x fixed and varies the parameter $\theta$. However, this cannot be used in Bayes theorem, since Bayes theorem requires that the quantities involved are pdfs (or pmfs) otherwise it would be mathematically wrong. So which mistake am I making or what do I not know about the likelihood in Bayes theorem?  Here   is a numerical example where the likelihoods indeed do not add up to 1 in Bayes' theorem but I do not understand how this is possible since they should be probabilities and hence should add up to 1.


What is using such a large portion of my memory?

I am setting up a home server for plex, storage, and a few VMs. I have everything loaded and running and was checking to what ram I had left to start a few VMs and noticed I was using more than half of my ram and hadn't even started a VM yet. I ran "sudo htop" to see if I could find out what was using it, but it doesn't show much. Haven't been using Linux long, but I thought it was very lite on resources. Is there another application I can use to find out what is using the ram?      bob@ducktape:~$ uname -a     Linux ducktape 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux      bob@ducktape:~$ free -m                   total        used        free      shared  buff/cache   available     Mem:          48291       26613       18648          28        3029       20595     Swap:             0           0           0      bob@ducktape:~$ ps aux --sort -rss | head -n 5     USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND     plex     19720  9.3  1.2 1177412 597384 ?      Sl   00:11  71:45 /usr/lib/plexmediaserver/Plex Media Server     plex     19789  0.0  0.1 344168 92808 ?        Sl   00:11   0:28 /usr/lib/plexmediaserver/Plex DLNA Server     plex     19748  0.1  0.1 1857400 66116 ?       SNl  00:11   0:46 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-f54242b6b/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.10.1.4602-f54242b6b /usr/lib/plexmediaserver/Resources/Plug-ins-f54242b6b/System.bundle     plex     19822  0.0  0.0 955492 47048 ?        Sl   00:11   0:12 Plex Plug-in [com.plexapp.plugins.WebTools] /usr/lib/plexmediaserver/Resources/Plug-ins-f54242b6b/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.10.1.4602-f54242b6b /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/WebTools.bundle  bob@ducktape:~$ free --si -h               total        used        free      shared  buff/cache   available Mem:            49G         27G         19G         29M        3.1G         21G Swap:            0B          0B          0B


What in Newton's three laws of motion is original and not a paraphrasing of his predecessors?

The three laws are:  First law: The velocity of a body remains constant unless the body is acted upon by an external force.  Second law: The acceleration a of a body is parallel[disambiguation needed ] and directly proportional to the net force F and inversely proportional to the mass m, i.e., F = ma.  Third law: The mutual forces of action and reaction between two bodies are equal, opposite and collinear.  The first law had already been formulated by some philosophers prior to Newton, Hobbes said in the Leviathan '...[the proposition] that when a thing is in motion it will eternally be in motion unless somewhat else stay it, though the reason be the same (namely that nothing can change itself)...', given his reasoning, I think it safe to mean constant speed and direction, otherwise change is occuring and he explicitly rules that out. I think the same proposition is mentioned in Lucretious's De Rerum Natura.  Are there any antecedents for the second and third law?


Is there any way to convert a .py file to .bin file

I've been learning C++ recently and wondering whether it is possible to convert a .py file to .bin file just like we compile C++ to .bin in Linux. I found pyInstaller to convert it to exe file but what I need is to export it to a .bin file just like we get when we perform g++ test.cpp -o a.out or a.bin etc. Any help would be appreciated.


As some context I am looking to research into the area of prime numbers out of interest and to apply computer science and mathematical concepts I have studied. I am primarily wondering what are some common applications for the study of prime numbers? I am currently looking in depth to the creation of public keys in RSA cryptography, and attempting to discern if it is possible to compute the prime roots of such a public key. What I wonder though is if this has useful application (other than for those that would want to crack RSA encryption)? I also gather from my searching that prime numbers are integral to concepts such as checksums, has functions and other similar methods, but I am not quite as confident how so. So the concise version of my question is "what are some applications to the study of prime numbers specifically in a field at least partially related to cryptography?".


How to get last inserted ID after insert to MySQL table with multi col primary key

I have this table:  CREATE TABLE `test` (   `Id1` int(11) unsigned NOT NULL,   `Id2` int(11) unsigned NOT NULL,   `Id3` int(11) unsigned NOT NULL,   `Id4` int(11) unsigned NOT NULL AUTO_INCREMENT,   `Name` varchar(255) NOT NULL,   PRIMARY KEY (`Id1`,`Id2`,`Id3`,`Id4`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC;  INSERT INTO `test` (`Id1`, `Id2`, `Id3`, `Name`) VALUES (1, 1, 1, 'test') INSERT INTO `test` (`Id1`, `Id2`, `Id3`, `Name`) VALUES (1, 1, 1, 'test2') INSERT INTO `test` (`Id1`, `Id2`, `Id3`, `Name`) VALUES (1, 2, 1, 'test') INSERT INTO `test` (`Id1`, `Id2`, `Id3`, `Name`) VALUES (1, 2, 1, 'test2')   After creating the table the date looks like this:  Id1   Id2   Id3   Id4   Name  1     1     1     1     test 1     1     1     2     test2 1     2     1     1     test 1     2     1     2     test2   Id4 is incrementing as is expected but I have problem to get inserted Id4 using PHP mysqli. This is the code I am using:  $db = new mysqli('host', 'user', 'pass', 'db'); $db->query("INSERT INTO `test` (`Id1`, `Id2`, `Id3`, `Name`) VALUES (1, 1, 1, 'test')"); var_dump($db->insert_id);   I get result  int(0)   Result should be int(1) but I get zero for no reason. Any ideas?


I'm having difficulty showing the given a map, say $\phi(z)=z^k$, is surjective. This question is from D & F section 1.6 - #19     Let $G$ =$\{z \in \mathbb C|z^n=1 \text{ for some } n \in \mathbb Z^+\}$. Prove that for any fixed integer $k>1$ the map from $G$ to itself defined by $z \to z^k$ is a surjective homomorphism, but is not an isomorphism.   To show $\phi(z)=z^k$ is a homomorphism let $z_a=e^\frac{2\pi ia}{n}$ and $z_b=e^\frac{2\pi ib}{n}$ where $a,b\in \mathbb Z^+$ and $a\neq b$ then $\phi(z_az_b)=(e^\frac{2\pi ia}{n}$$\cdot$$e^\frac{2\pi ib}{n}$)=$e^\frac{2\pi ik(a+b)}{n}$=$e^\frac{2\pi ika}{n}$$\cdot$$e^\frac{2\pi ikb}{n}$=$\phi(z_a)\phi(z_b)$.  I had what I thought was a proof for $\phi$ being surjective until I thought about this specific example. Here's the example: Suppose $z_a$ is a root of unity then so is a power $z^t_a$. My thoughts on $G$ are that it consists of all integer powers of the "basic" roots of unity for a partiuclar $n$. Let $n=3$ and $k=3$, then $\phi(e^\frac{2t\pi ik_i}{3})=(e^\frac{2t\pi ik_i}{3})^3 =e^{2t\pi ik_i}= 1$ for any integer $t\in \mathbb Z$ and integer $k_i$ such that $0\leq$$k_i$$\leq$ $2$. So we have $\phi[G]=\{1\}$, $\phi$ is not surjective in this instance.  What have I misunderstood about the question? Are there any glaring errors I'm making? Is $n$ supposed to be a particular value and not just any integer value?  Your help is appreciated.


I think that this needs the use of a strong form of induction. So, I tried it with $k$ $3\le k\le n$, where $n$ is arbitrarily chosen. But I can't proceed beyond this.


unable to "java" , "javac" etc. commands on terminal directly and two versions of jdk?

I usually use eclipse , but I said "lets do some fantasy" to myself and things happened. I tried to use terminal command javac at first. I got   The program 'javac' can be found in the following packages:  * default-jdk * ecj * gcj-5-jdk * openjdk-8-jdk-headless * gcj-4.8-jdk * gcj-4.9-jdk * openjdk-9-jdk-headless  Try: sudo apt install (selected package)   I already installed jre8 and jdk8 manually from oracle's website (standard edition) and I'm making programs with eclipse already. Then I typed java -version and the answer was   openjdk version "9-internal" OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src) OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)   which is not what i installed manually. Then I used locate -br ^javac$ and got two locations (not a surprise). So:   I can use javac only with the path to where I installed jdk manually, but I wanna use commands without path, just directly . Is that possible (if yes then how ? It seems like I have two java versions. Does that cause any problem? If it does, tell me how to fix please (I prefer eliminating openjdk9)


Where can I find historical data on arrival and departure times of a particular flight?

Where can I find historical data on flights, specifically Delta international flights?  I need to find out about cancellations, diversions and any other flight data pertaining on particular route at a given time.  This source has to be official and stand up to legal scrutiny.


Does each droid have a unique name or does that designation refer to an entire class of droid? To put it another way, is R2-D2 specifically the droid we see in the films, or are there hundreds if not thousands of R2-D2s across the galaxy? If not, it would seem that they would run out of names fairly quickly.


Reseting a const variable, even though it's const (ES6)

Understanding variable scopes  const { response } = somecall(); if (response) {    const { response } = someOtherCallThatReturnsUndefined(response);    // the value of response being passed in to **someOtherCallThatReturnsUndefined** is actually undefined }


Whats the difference between Antisymmetric and reflexive? (Set Theory/Discrete math)

Antisymmetric: $\forall x\forall y[ ((x,y)\in R\land (y, x) \in R) \to x= y]$ reflexive: $\forall x[x∈A\to (x, x)\in R]$  What really is the difference between the two? Wouldn't all antisymmetric relations also be reflexive?


I have two arrays:  $arr1= array("A","B","C"); $arr2= array("1","2","3");   Output i need as:  $arr3= array("A","1","B","2","C","3");   Can anyone help please?


Trying to demonstrate a multivariable limit: $\lim\limits_{(x,y) \to (0,0)} \frac{xy}{|x|+|y|}$

i'm having some trouble trying to prove the next multivariable limit:  $$ \lim\limits_{(x,y) \to (0,0)} \frac{xy}{|x|+|y|} $$  I've already tried the different paths and the limit is 0, however i'm stuck trying to demonstrate it because those absolute values on the denominator, by using the theorem that our teacher taught us to do so.  The theorem 1.) 2.) goes as:   $$ 1.) |f(x,y) - L| < g(x,y)$$  Where L is the limit we calculated from the differents paths we got, 0 in this case, then we are supposed to calculate the $g(x,y)$ function by:  $$ |f(x,y) - 0 | = |\frac{xy}{|x|+|y|} - 0 | $$  This is the part where i'm stuck cause we are supposed to calculate that $g(x,y)$ through that formula, however i'm getting stuck because i don't know how to operate with this absolute value on the denominator $||x|+|y||$ any help on this one would be highly appreciated!   $$ 2.) \lim\limits_{(x.y) \to (x_o,y_o)} g(x,y) = 0$$  This one is just to evaluate the $g(x,y)$ we got from the formula above and it should be 0.


Which computer science / programming Stack Exchange sites do I post on?

There seems to be more than a few computer science/programming Stack Exchange networks (is that the correct term?). Stack Overflow, being the first, has by far the most users, questions, and answers.  What is the reasoning for creating the others, and are there clear guidelines for which kinds of questions should be posted? I can see a large amount of potential overflow, many cases of people not getting a good answer to their question, because the person who has the answer isn't browsing that particular network at the moment.  I understand that they were probably created for organizational purposes, but wouldn't it almost make more sense to just have them as categories under Stack Overflow, keep them separated but still connected, instead of making people have to create multiple 'account's, one for each network?  I am sure there was a very good reason to break them up, but as someone that is new to SE, it can be somewhat intimidating to decide which one to post in to ensure you get a good answer. For example, if I am a computer science student, my first instinct might to be to post in the computer science network, until I see that it literally has 1% of the users as the Stack Overflow network, which still seems to be for programming/computer science related questions.  So my second instinct would then to be to post it into the Stack Overflow site on the basis that I have a significantly higher chance of my question being seen and getting a good answer. Then I notice that there is also a 'programmers' network, and I don't even begin to know where that fits in. I, and I am assuming most people, will probably just post on Stack Overflow to be safe.  My question is, other than the short little description blurb of each one, is there a clear cut set of guidelines which what each network is intended for, what kinds of questions should go to each one, and is anything being done to encourage people to post in these newer, smaller (more specialized?) networks as opposed to just posting in big daddy Stack Overflow?  Now again, this is for computer science/programming/"why isn't this code doing what I want?" related questions, I am not saying that if I had a question about Linux or WordPress or something I would have the same confusion.


Can't Install or FInd AMD Graphic Driver. (Ubuntu 17.10, Intel i3 6006u, AMD Radeon M330)

I need solution. I can't even install drivers. I have tried using fglrx.15 and some extra. Tried to instal amd gpu pro but got trouble with the os. However I manage to get out of that and I can't even find intel hd graphics drivers


I came across many of the highly rated questions are "closed as not constructive". For example  . This question has 146 upvoted, 105 favourites; will be most valuable question.   I could understand this question may be not programming related; but still related the best way of code design. Since we don't have stack for programming design; I think we can use stackoverflow here.   Now My concern is; what is the objective of closing a question? At one point of time are we  planing to cleanup those questions from the DB? if yes we could loose such valuable question rit? And How we are planing to differentiate really not constructive question from design based question which is highly voted?


Facts in reported speech – to backshift or not

Are these two sentences grammatically correct?   Mona told me that London was the biggest city in England. He wanted to know where Manchester was.   I found these two sentences by chance in an exercise book published by Egypt's  Ministry of Education. Both sentences talk about a fact, and Is it unreasonable to change the verb tense in reported speech to past simple when what the sentences talks about is still true? (As my teacher and the books say.) Or is it right when we talk about facts to change the tense or is the tense change optional and  both are correct?


What is the exact meaning of localhost on the operating system?

I have seen 127.0.0.1 is local host address. But what is it and what is the differences between this and my local adapter like LAN  IP address or WLAN IP address. Is there any connection between this l27.0.0.1 and my LAN or WLAN Network card?


How to find incomplete downloaded files of updated OS?

My internet connection was lost while I was updating my OS from 16.04 to 17.04 and the process stopped.There were 10-15 files remaining to be downloaded.  Now after realising that 17.04 is not a LTS version I don't wanna update my OS. But what about the downloaded files? Will they occupy any space in hard drive? Will they affect my current OS 16.04? Should I delete them? If yes than how can I find them and delete them?


How to color only one type of character in a text using terminal?

I want to color only the symbol & in a text file named test.txt


What are the advantages of passing a reference to an object?

I studied that objects can be passed by referece (I mean that the parameters of the function are references). But why one prefers them over simply passing objects. My motive is to just use that object and in no sense modify it, so I do not mean the trivial advantages. So, what are the advantages of passing a reference to an object?


I want to ask whether it is possible to install arduino ide or avr-tools to ubuntu touch. Is it ?


Chance of the first digit of $2^{n}$ being $1$?

What's the probability that the first digit of $2^{n}$ is $1$, where $n$ is uniformly distributed over all integers?  I've been running simulations in MATLAB, and I think the answer converges to $\log(2)$, but I have no clue how to prove this. Any ideas?


Differential equation problem. Integrating the logistic equation.

I would like to know how to integrate or rather solve this:  $$ \frac{dP}{dt} = kP(L-P). $$  I have the solution, but I would like to know how to arrive at it.  I have been told it involves separation of variables and partial fractions.


Showing a proposition with Bounded linear operators that commute with translation. (Stein)

I would like to try Stein's next proposition, singular integrals and differentiability properties.  Proposition 1. Let T be a bounded linear transformation mapping $L^1(\mathbb{R}^n)$ to itself. Then a necessary and sufficient condition that $T$ commutes with traslations is that exists a measure $\mu$ in $\mathcal{B}(\mathbb{R}^n)$ so that $T(f)=f\ast \mu$ for all $f\in L^1(\mathbb{R}^n)$. One has then $\left\|T\right\|=\left\|\mu\right\|.$  How can I proves this?


How to request a package upgrade in the next Ubuntu release

I'm looking to move our company from Fedora 13 to the upcoming 12.04.  We've built custom HDF5 1.8.7 RPMs that are newer than the 1.8.4 version in 12.04.  If we go to 12.04 I'd like it to have the latest HDF5 library so I don't need to package it ourselves.  How do I request an upgrade to the package?  I looked at  and  but I didn't see anything specific.  Would  be appropriate?


We can see the shrine "become/becomes" big

I'm correcting some writing and the student wrote,      We can see the shrine become big, little by little, from the ferry.   As far as I'm concerned, it's grammatically okay, but I'm having trouble explaining why it shouldn't be 'becomes big'. For the life of me I couldn't find the correct way to refer to the grammar involved here. Also, I feel like becoming bigger or getting bigger might convey her meaning more accurately, but that become big still gets a pass. Am I right?  I appreciate any help you can give me.


How can window snap be enabled in Openbox?

I would like to have window snap behaviour in Openbox. For me, this would mean that dragging a window to the edge of the display using the mouse would change the size of the window such that it is docked in half or quarter of the display, as can be done in Unity7. How can this be done in Openbox?


How can I change my Source code into a real application which can be install in windows or other OS systems using java programming language?

I would like to know, if I have calculator source code in java and I want that source code to be changed into a real application which could be able to install in any OS(operating systems), so how can I install such source code or transfer it in the way, which it will be able to instal on OS? thanks.


Let $H \leq S_{10}$ such that $H$ has at least one 9-cycle, one   2-cycle, and acts transitively on $\{1,2,...,10\}$. Find the minimum   size of $H$.   So, I am really stuck on this problem. I think the 9-cycle can be rearranged by an operation on itself, so that we get all the 9-cycles containing those 9 elements. I don't know how to go from there.


I can't access my global inbox.  When I try to , I get Oops! Something Bad Happened!. I am currently part of one private beta, that may be related.  I have also noticed that sometimes (but not always), the drop-down inbox link at the top shows old items only.  That may or may not be related.


Padding trailing whitespaces in a string with another character

I'd like to output hello world over 20 characters.  printf "%-20s :\n\n" 'hello world!!'  # Actual output hello world!!        :  # Wanted output hello world!!========:   However, I don't want to complete with spaces but with "=" instead. How do I do that?


Series of books, featuring a maze, nexus, and tattoos of power

This series follows a tattooed protagonist through progressive attempts to escape the maze that his race was imprisoned in.


How can I revert zip files which are zipped using "gzip -r"

I intended to zip a directory, so I used:  gzip -r myfolder   When I checked the output, it has been zipped all the files within the directory and its subdirectories. It wasn't what I explected  How can I unzip these so many zipped files to their original state?


Prove: If a prime number $p\in \mathbb N$ is from the form $p=4k+3,k\in \mathbb N$, then its also a prime number in $\mathbb Z[i]$,i.e. if $p|(z_1\cdot z_2)$ then $p|z_1$ or $p|z_2$.  I dont have any idea how to solve it, so I am looking for some hints.  Thanks in advance :)


I need to remove files older than 30 days under builds\<BuilnNumber>\workflow\*.*. I also need to remove files older than a year under builds\<BuilnNumber>\htmlreports\*.*, if they exist. How do I do that? I tried using FOR /D /r %%G in ("*") DO xxxx %%~nxG, but got stuck there.


Prove the Condition for Construction of a Triangle

Let $a,b,c>0$ be real numbers. Show that you can construct the triangle with length sides $a,b,c$ if and only if $pa^2+qb^2>pqc^2$, for any $p,q$ such that $p+q=1$.


I upgraded a while back to 16.04 (Xenial) LTS.  However, I don't believe apt-get repositories have correctly updated - they appear to still be looking for 14.04 versions:     sudo apt-get update   Hit  trusty-security InRelease   Ign  trusty InRelease   Hit  trusty-updates InRelease   Hit  trusty InRelease   [...]   Ign  main/main Translation-en   W: Failed to fetch   403  Forbidden   How do I go about resolving this?


The following Python script produces the unexpected output.  import re  s = """Test some texts here. %\print{asdasd} sdas dsad dad dasd. \print{dddd} sad sds asd s dasd a ddddsdas asdad. """ regex = r'^\\print\{.+?\}' m = re.search(regex, s, re.MULTILINE) print(m) print("--------------") ms = re.sub(regex, '9999999', s, re.MULTILINE) print(ms)   which not substitutes \print{dddd} by 9999999 in ms variable.  Note that m is not None here, and it matches \print{dddd} correctly.  Can you please explain why it happens, and how can I solve this?  You can try the code here ->


Prove that finite unions of compact sets are compact

The question is: let $F_1, ... F_n$ be compact subsets of X. Show that $\cup^{N}_{n=1} F_n$ is compact.   know that a set $ F  \subset X$ is compact if every open cover $\mathcal {G}$ of F contains a finite subcover $\mathcal {H}$. Intuitively, I think that since $F_1, .. F_n$ are compact, they contain finite subcovers and so $\cup^{N}_{n=1} F_n$ at most has finite subcovers. I'm just stuck at trying to formally prove this out.   Help would be much appreciated!


How does GPS in a mobile phone work exactly?

I assume it doesn't connect to anything (other than the satelite I guess), is this right? Or it does and has some kind of charge?


jQuery- Closing the modal not closing menu' but modal

I have created a modal that when I press the button will set the display attribute as block. But now I am searching a function for closing the modal if I click outside of it. Can you please fix my code or give me the better solution? ;)  <button id="myBtn">Open Modal</button>

     &times;
Some text in the Modal..

   This are my jQuery function the last one doesn't work.  $('#myBtn').click(function () {             $('#myModal').css("display","block");         });          $('.close').click(function () {             $('#myModal').css("display","none");         });         $(window).click(function(event){             if(event.currentTarget==$('#myModal'))                 $('#myModal').remove();         });


Programmatically close aspx page from code behind

What is the best way to close an ASPX page from the code-behind?    I have a button event handler that I want to close the page after the user has clicked an ASP.NET button on the page.  I have tried to programmatically add a JavaScript method that contains a window.close() command to the OnClientClick event to close the page but it does not work.  The button is also a asp:AsyncPostBoskTrigger for an AJAX Update Panel.  The application uses .NET Framework 3.5.


I'm trying to use intermediate machine to connect to a remote host but I'm doing something wrong and not sure what.  I have added to my intermediate box /etc/ssh/sshd_config following lines:  Match User deploy PermitOpen  any AllowTcpForwarding yes ForceCommand echo 'This account can only be used for deployments'   I can ssh from that intermediate box onto the target system no problem but I was hoping to be able to just execute a command like one below to connect via my proxy box:  ssh deploy@dev-linux-03 -W TARGET_IP:22   But I'm getting different response:   SSH-2.0-OpenSSH_4.3   Protocol mismatch.   Anything obvious I've missed?


I have this question which I'm having trouble solving, can I use some help? :)  Show that the following sequence converges for $ 0 < a < e $ and diverges for $ a \ge e$:  $ \sum_{n=1}^{\infty} \frac{a^nn!}{n^n} $  Thanks a lot!


How to show that $(a/b)^2$ in this situation cannot be an integer

Let $a$,$b$ be relatively prime integers which are both greater than or equal to $􏰀2$ . Show that $(a/b)^2$ cannot be an integer.  I have tried to use contradiction to prove this result, but I am not sure that my idea is correct or not. Below is my idea (not a complete proof).  Suppose $(a/b)^2$ be an integer. We have $a/b$ is an integer. Then, we have $a=bk$ where $k$ is an integer since $b$ divides $a$. Since $a,b$ are relatively prime, therefore $b$ must be $1$. Hence, contradiction arises. I am not sure that my idea is correct or not, could anyone help me to check it? If my idea is wrong, could you give me a idea to do this question?


I thought that someone must have asked this, but my searches didn't find it.  I am looking to refer back to the table of contents from places in my document. How can I do this?


Disable scroll inside Xfce terminal / Avoid scrolling through command history

Is there a way to disable scrolling through command history for the Xfce terminal? I don't wish to rely on palm rejection, I'd just like it disabled when I'm using the terminal. Specifically I'm talking about not cycling through previous commands at the prompt when scrolling with mouse/touchpad.


Extract object from array and destructure into object

I have this array: const myArray: [{phone: ""}, {message: ""}]  I want to destructure this array and obtain something like this: const result = {phone: "", message: ""}  But I can't find a way.


Positive real number M such that for all n $|a_n|$ less than M

In this problem I have integrated the expression |f'(x) | to get $f(x)$<$x/2$ but after that how to proceed with the problem is clueless.Kindly help.


Is there something fundamental that makes integrals nontrivial to solve?

First of all, I apologize if this isn't the right forum.  The thing with derivatives is that once you learn product/quotient/chain rule and the formulas for trig/exponential/logarithmic functions, you can take the derivative of any function (as far as I can tell).  With integrals, the methods to solving are much more complex, with u-subs, integration by parts, partial fraction decomposition, etc. And then you have equations like $\int \sqrt{\sin x\cos x}dx$ which are simple to write . Does this have something to do with the fundamental theorem of calculus, and how the integral is defined as the area under a curve, or something else?  I'm only in Calc II right now, so it's possible that I will learn more about why this is later on in my math "schedule".


How fast could Earth spin and sustain life?

When dinosaurs roamed the Earth was the Earth rotating faster creating less gravity to allow for their size? How fast could have the Earth spin and be slowed down by an asteroid to the current rotational speed not completely wiping all life out?  How much would 100 kg weigh then?  With the asteroid the opposite direction of the Earth's rotation unlike the moon's hard interior that the asteroid would just punch through the crust into the mantle allowing the Earth not to instantly be affected by the change in rotation. Also it was theorized that the moon was a large piece of the Earth liquid mantle removed by an asteroid.


$A$ is normal if and only if $trace(A^\ast A)=\sum_{i=1}^n|\lambda_i|^2.$ where the $\lambda_i$ are the eigenvalues of $A$.

Let $A$ complex matrix of $n\times n$. Show that $A$ is normal if and only if $$trace(A^\ast A)=\sum_{i=1}^n|\lambda_i|^2.$$ where the $\lambda_i$ are the eigenvalues of $A$.   I try using the trace properties and the definition of normal matrix...I use that $A$ is similar to unitary matrix...but i not can prove the exercise.  I wait that can you help me. Thanks!


I want to download my data from QGIS to an existing table in Postgresql. I tried to use DB Manager, but the field add to existing table doesn't work. Maybe somebody knows what the problem is?  Or is there another way to solve the problem?


Please help me ID this SciFi story - a group of people captured and absorbed by a goo-like creature on an alien planet

I don't remember if it is sa short story or not, I believe it is.  The premises is a group of people are stuck or are traveling on an alien planet. They all get captured by a goo like mindless creature that dissolves their bodies. However, their brains and minds become absorbed into the creature and they all remain conscious of themselves creating a little telepathic circle of sort (cause they are all absorbed into this single good creature). The creature itself is not intelligent, but it sort of becomes intelligent because it now hosts several intelligent people.   At first these people are confused and unsure of what to do, eventually they start arguing and feeling angry. Then they realize the feeling of anger is subconscious manifestation of hunger and so they feed their goo body with wildlife the same way creature fed on them. However, since they are conscious, they never dissolve any brains because they do not know how this whole process of absorbing consciousness works with wildlife and they do not want to let a wild animal consciousness into their little telepathic circle.  Eventually this group has a conflict among themselves and split into 2 sides. I believe the creatures intuitive reflex (it is not intelligent after all) to prevent further conflict and potential damage to itself was to discard the brains/consciousness of one of the side.  This is a story I read about 20 years ago. Anyone has any clues who the author and what the title is?  Thanks for any insight


What is a good PR-AUC and should I undersample time series for rare event detection?

I have a binary classifier for a highly imbalanced multivariate time series.   I use an LSTM Network to predict the next time step and use the prediction error to decide whether a data point is an anomaly or not. In addition, I have the advantage of being able to train my Network on a data set that contains only negative cases.  I have a training and validation set for the network and a test set for the final classification. The positive class makes up ~1% of the test data (~20/2000). The use case where I have suffers from the chance of being abandoned if the network results in too many false positives. So it is more like finding a needle in a haystack.  My PR-AUC is stuck at around 0.05 to 0.10. I currently use the PR-Curve to select the threshold where the F1-Score is highest. The model with the highest PR-AUC returns a result which is somewhat close to what I want (5TP, 10 FP).  So what is a "good" PR-AUC score given a highly unbalanced data set? How can I interpret that?  Can I perform undersampling on the test data which I only use to make predictions and classify the observations based on the prediction error?


Javascript proxy, reference type versus value type

I am trying to find an explanation for behavior with - what I expected to be - a reference type but actually loses reference once supplied as an argument. Any changed made on the property are not reflected on the original object. When I provide the full object, and make changes it gets noticed by the proxy. When I provide the property and make changes it doesn't get noticed. I've done my fair share of javascript code but this one is pretty confusing. Normally I have to really do a JSON.parse((JSON.stringify(foo)) to make a deep copy and really get rid of any reference but this time I really only wanted to provide the property to the object as an argument and avoid sharing the entire object as an argument. I have build a test case that shows exactly what is happening. <html> <head><title></title></head> <body>  <script> var state = {}; state.Foo = 'default value for Foo';  function TwoWayBinding(state) {     this.state = this.WrapWithProxy(state); } TwoWayBinding.prototype.WrapWithProxy = function (state) {     const handler = {         get: function(target, prop) {             return target[prop];         },         set: function(target, prop, value) {                  console.log(prop,value);                     target[prop] = value;              return true;         }     };     return new Proxy(state, handler); }; var twoWayBinding = new TwoWayBinding(state); state = twoWayBinding.state;   function Test(fooProperty,fullState){     fooProperty = "changed value A, check console"; // fails     fullState.Foo = "changed value B, check console"; // works          // additional tests     this.state = fullState;     this.test = this.state.Foo; // breaks reference     this.state.Foo = 'changed value C, check console'; // works     this.test.Foo = 'changed value D, check console'; // fails }  new Test(state.Foo,state);  </script> </body>


Skipping every even numbered item in the enumerate environment

How can I skip every even item in the enumerate environment without having to continually type \setcounter{enumi}{5}? I am still learning to program macros, so I spologize if this is a ridiculously easy question.   Just to be clear, I would like something like   1. *Something.* 3. *Somthing else.* 5. *A third something.*  ...As opposed to   1. Something.  2. A second something.  3. A tertiary Something.


What is causing the "Exception in thread "main" java.lang.NullPointerException" Error?

So I am in the middle of a project and supposedly my code was fine for this part but I keep getting errors anyway. I'm not sure what my original problem was but I'm sure it's changed at some point during my changes. Despite it pointing to the the line with the problem, I just can't figure out the problem(s) is/are. What is causing the error?   Exception in thread "main" java.lang.NullPointerException      at Cafe.setName(Cafe.java:14)      at CubanCafe.main(CubanCafe.java:16)    import java.util.Scanner;  public class CubanCafe {  public static void main(String[] args) {     String stateName;      Scanner scan =  new Scanner(System.in);      System.out.print(" Enter state: ");     stateName = scan.nextLine();      Cafe cafeState = new Cafe(stateName);     cafeState.setName();     cafeState.setTaxRate();     System.out.println(cafeState);;     System.out.println(cafeState.getTaxRate());   } }   public class Cafe {     private String state, name;     private double taxRate;      public Cafe(String state){         state = state.toUpperCase( );            name = null;         taxRate = 0;      }      public void setName(){         if(state.equals("MD"))              name = "Parkville Cuban Cafe";         else if(state.equals("VA"))              name = "Alexandria Cuban Cafe";         else               name = null;     }         public void setTaxRate(){         if (state.equals("MD"))             taxRate = .06;         else if (state.equals("VA"))             taxRate = .04;         else             taxRate = 0;     }      public double getTaxRate(){         return taxRate;      }      public String toString(){          return (name);     }  }


I have some source code, I would like to make into Debian packages for Ubuntu. its been quite some times since I made packages, and I am wondering if there are any really great tools out there to help me get this done.


Most efficient way to hide out of bounds object in tile based environment

I am working on a desktop game in C#, with Monogame framework. I am storing the tile instances in a 2D Array, for the sake of easy collision detection. But the levels are big (often 100x100 or bigger) and there are lots of tiles out of the screen bounds all the time which I should not draw. At the moment I'm running through the arrays and checking whether they are in the screen bounds or outside, but that may not be too efficient due to the big count of the tiles.  Is there any better way to hide out of bounds tiles?


Weird JavaScript behavior on some ratio converting

I was using javascript to do some "ratio conversion" on up to two decimal digits numbers (I mean operations like 0.nn => nn% e.g. from 0.21 to 21%) , when I noticed that if I do an operation like 0.56 * 100 I don't get 56 as I'd expect but get an unexpected decimal part togheter (something like 56.000...0001). I noticed this happens with any ((7*2^x)/100) * y values (having y != 2^n number). I experienced this in different platform (desktop and mobile) and different browsers (Firefox, Chrome, IE, Safari) Can someone explain me why does this happen?


How to find all proper colorings (four coloring) of a graph with a brute force algorithm

I'd like to implement a brute force algorithm to search ALL the different colorings of a map.  In terms of graph theory I'd like to find all four colorings of the vertices of a planar graph (the dual representing the map).  I need help or hints to put me on the right direction.  I'm interested in maps in which each face is an opaque rectangle layered on all previous rectangles, overlapping partially. Each consecutive rectangle starts at a consecutive y coordinate. The next picture should better clarify what I mean.    The faces are numbered from 1 to n   face 1 is the face on the bottom of the pile face (n-1) is the face at the top face n is the infinite face surrounding all others   For the meaning of different colorings you can refer to this question:      I was thinking to pre-set the colors of faces and use a classical brute force algorithm to get four coloring of the map. I already implemented the brute   force algorithm to find the proper coloring of a map and I can also force the color of faces to find particolar colorings.  The problem is that I'm not coming up with an algorithm to do it automatically and to be sure to find ALL colorings.  To see what I have so far, you can watch this video on youtube:    What I know is that:   Since the colors of three neighboor faces can be arbitrary, face number n, face number 1 and the face touching both (face n and face 1), can have these fixed colors: blue, red, green   Manually I found these colorings:      This is a cross site post on cstheory.


Cannot log onto new accounts - "The User Profile Service failed the logon. User profile cannot be loaded"

I'm on a fairly new install of Win 7 x64 with default UAC settings. I recently had to delete a user profile due to the win 7 2012 virus issue, but when trying to create a new profile (any profile name), while it creates it in the UI, when I try to log onto it, I get the error above.   I see lots of tips about fixing a corrupt profile in the registry (the S-1-5-XXX keys), but this is for a NEW profile.   The only way I seem to be able to get around this is to create the user account in safe mode. After that, I'm able to log in. After multiple reboots, I cannot seem to do this without being in safe mode. Thanks.


Reset iPad when Apple ID no longer exists

I've read all the techniques to reset an iPad and none of them work. Not only do I not know the password to the Apple ID, the Apple ID doesn't exist at all! It was a former employee's email address. So I just recreated his old email account and registered with Apple as a new Apple ID. But the iPad won't take the Apple ID password I just created...  I can't even sign out unless I turn "Find My iPad" off, but when I turn that off I'm asked for the Apple ID password again. iTunes also makes me turn "Find My iPad" off.  What can I do?