Minimizing The Expected Loss Of a Classification Problem

I found the following squared-loss function for the regression of classification problem: I learned that the expected loss of any classification problem is given by the following: $\begin{gather*}     E[L] = \iint L(t, y(x))\times p(x,t) \,dx\,dt \\\end{gather*}$ $\text{Where L(t, y(x)) is our loss function and x is our input vector and t is the class label }$ $\text{that x will be assigned to}$ $\text{Now, I also learned that a choice of loss function is the squared-loss where L(t, y(x)) = }$ $(y(x)-t)^2$ $Accordingly,$ $\begin{gather*}      E[L] = \iint (y(x)-t)^2 \times p(x,t) \,dx\,dt \\\end{gather*}$ $\text{Since our goal is to minimize the expected loss, we find the derivative of}$ $\text{E[L] with respect to y(x)} \space equal \space to:$ $\frac{\partial E[L]}{\partial y(x)} = 2 \int(y(x)-t) \times p(x,t) dt$ $Setting \frac{\partial E[L]}{\partial y(x)}=0  \text{ means that } y(x) = \frac{\int t p(x,t) \space dt}{p(x)}$ $\text{My questions are: How did we find} \frac{\partial E[L]}{\partial y(x)} \text{ and how did we find the value of y(x) = }$ $\frac{\int t p(x,t) \space dt}{p(x)}$? As in, what are detailed steps to find both values? I'm asking this because the sources that gave these formulas/functions did not provide the detailed steps, they simply went straight to the final solutions.


Is it possible to have tabbed windows in Texmaker, currently it is a dropdownlist, and can open one windows at one time.


How can I get a list of all enqueued scripts and styles?

I'm creating a plugin and I want to get the list of all scripts and CSS used by other plugins.  This is my function:  function crunchify_print_scripts_styles() {         $result = [];     $result['scripts'] = [];     $result['styles'] = [];      // Print all loaded Scripts     global $wp_scripts;     foreach( $wp_scripts->queue as $script ) :        $result['scripts'][] =  $wp_scripts->registered[$script]->src . ";";     endforeach;      // Print all loaded Styles (CSS)     global $wp_styles;     foreach( $wp_styles->queue as $style ) :        $result['styles'][] =  $wp_styles->registered[$style]->src . ";";     endforeach;      return $result; } add_action( 'wp_enqueue_scripts', 'crunchify_print_scripts_styles');   I want to get the returned value inside a variable.  I tried this:  $toto = do_action( 'crunchify_print_scripts_styles' ); var_dump( $toto );   And this is my result:  NULL   If I write echo inside every foreach loop, I get the correct results, but how to store these values inside a variable?  [edit]  My code inside a pluginm which is not working too  /**  *  Get all scripts and styles from Wordpress  */ function print_scripts_styles() {      $result = [];     $result['scripts'] = [];     $result['styles'] = [];      // Print all loaded Scripts     global $wp_scripts;     foreach( $wp_scripts->queue as $script ) :         $result['scripts'][] =  $wp_scripts->registered[$script]->src . ";";     endforeach;      // Print all loaded Styles (CSS)     global $wp_styles;     foreach( $wp_styles->queue as $style ) :         $result['styles'][] =  $wp_styles->registered[$style]->src . ";";     endforeach;      return $result; }  add_action( 'wp_head', 'wp_rest_assets_init');  /**  * Init JSON REST API Assets routes.  *  * @since 1.0.0  */ function wp_rest_assets_init() {       $all_the_scripts_and_styles = print_scripts_styles();      if ( ! defined( 'JSON_API_VERSION' ) &&          ! in_array( 'json-rest-api/plugin.php', get_option( 'active_plugins' ) ) ) {              $class = new WP_REST_Assets();              $class::$scriptsAndStyles = $all_the_scripts_and_styles;              add_filter( 'rest_api_init', array( $class, 'register_routes' ) );     } else {         $class = new WP_JSON_Menus();         add_filter( 'json_endpoints', array( $class, 'register_routes' ) );     } }   add_action( 'init', 'wp_rest_assets_init' );


Porting application from ASP.NET To ASP.NET MVC

I am trying to figure out what to take into consideration before porting my whole application to MVC 3. I heard it built better for the web. I'd like to point out that my current website is based heavily on the Membership API, Roles etc.. Built-In with the .NET framework.  Will everything work?


Servlet filter "returning" an object for later use

I'm implementing security in my RESTful webservice, and I'm thinking of creating a filter that checks if the Authorization header is valid or not, and this check is done by sending the token to a third party endpoint. If the token is valid, the third party endpoint has to send me a response that contains information regarding the token's expiration, client id, scope, and other stuff. The logic, then, is this:  @Override public void doFilter(         final ServletRequest request,          final ServletResponse response,         final FilterChain chain) throws IOException, ServletException {     HttpServletRequest req = (HttpServletRequest) request;     header = req.getHeader("Authorization");     EndpointResponse eResponse = Endpoint.validate(header);     if(eResponse.valid())){       chain.doFilter(...);       return eResponse; //or equivalent     }else{       HttpServletResponse res = HttpServletResponse(response);       res.setStatus(HttpServletResponse.SC_UNAUTHORIZED);       ...     } }   Then, in a DAO class, I will use the eResponse like this  public final class DAO{         public void checks(){         if(eResponse.scope() == "ADMIN"){             ...         }else{             ...         }     } }   Is there a way to inject or return an object after the filter does the validation? Hopefully, without using spring or hibernate, since I can't use these at my job.  -EDIT-  The way I'm accessing the DAO would be like this  @Path("") public class CertificationService {      @GET     @Produces(CertificationApplication.SUPPORTED_REPRESENTATIONS)     @Path(CertificationConstants.URL_PATH)     public Response getCertificationByUpId(String upId) throws CertificationException {                 ResponseBuilder response;             try{             response = Response.ok(DAO.findCertificationByUPID(upId));         } catch (CertificationException e) {             response = handleException(e);         }         return response.build();     }    }   The findCertificationByUPID method would have to call the checks() method I declared above.


Resistor question for current limiter circuit

The new Samsung Gear watch won't charge from my 1amp nor 2.1amp USB charger brick ports.  I'm assuming this is because its own power charger is rated at 5v .14amp?  So the watch dock has some kind of protection circuit.  I am VERY rusty on my electronics (been almost 30 years!), and Current was always my weakest area to begin with...  I'm planning to build a current limiting circuit:   My question is:  Based on the formula on the circuit design I=.7/R2, to limit to .14amp I would need an R2 value of 5ohm 1watt.  Since I'm having a tough time finding that, I'm assuming that I can use two 10ohm 1watt resisters in parallel?  EDIT Not sure why this was tagged as a "duplicate" of a power supply question, when my question was specifically related to parallel resisters.  I prefaced my question, (which was good because I learned a few things) but I call out my specific question in bold, and tagged an answer that was specific to that question.


[tl;dr] Why is apache redirecting https that has gone through rewrite engine to http  I have a site that is redirecting some pages (only ones that have been through rewrites) from https to http.   Including rewrite log on the ssl config does not show anything, no rewrite etc.  the redirect is happening before it gets to php, so there cant be any header() calls doing it. I have checked anyway and its not the case. (its in house software, simple 4 file php app)  Searching google is tricky, as all I can find is tutorials on redirecting http->https :(  version  Server Version: Apache/2.2.22 (Debian) PHP/5.5.14-1~dotdeb.1 mod_ssl/2.2.22 OpenSSL/1.0.1e Server Built: Jun 16 2014 03:51:14   Apache config below, remove actual ips etc.  <VirtualHost <ip>:80>     ServerName <domain>.co.uk      DocumentRoot <root>     php_value include_path .:<root>/include     php_value auto_prepend_file <root>/include/header.php     php_value auto_append_file <root>/include/footer.php      Include <path>/secure.rewrite.conf     Include <path>/rewrite.conf </VirtualHost>  <VirtualHost <ip>:443>     ServerName <domain>.co.uk      DocumentRoot <root>     php_value include_path .:<root>/include     php_value auto_prepend_file <root>/include/header.php     php_value auto_append_file <root>/include/footer.php      Include <path>/rewrite.conf      Include <path>ssl.conf      SSLCertificateKeyFile   <cert>.key     SSLCertificateFile      <cert>.crt     SSLCertificateChainFile <cert>.ca-bundle </VirtualHost>   secure.rewrite.conf  RewriteEngine On RewriteCond %{SERVER_PORT} ^80 RewriteRule ^/login https://%{HTTP_HOST}%{REQUEST_URI} [L,R]   rewrite.conf  RewriteRule ^/dir/forgot_password/(.*)                            /dir/forgot_details.php?hash=$1                  [L,QSA] RewriteRule ^/dir/forgot_password                                 /dir/forgot_details.php                          [L,QSA] RewriteRule ^/dir/login                                           /dir/login.php                                   [L,QSA] RewriteRule ^/dir/logout                                          /dir/login.php?logout=1                          [L,QSA] RewriteRule ^/dir/settings                                        /dir/settings.php                                [L,QSA] RewriteRule ^/dir/(PO|EC)\.([A-Za-z0-9\.]+)/despatchnote/print    /dir/despatch_note.php?encore_id=$1\.$2&print=1  [L,QSA] RewriteRule ^/dir/(PO|EC)\.([A-Za-z0-9\.]+)/despatchnote          /dir/despatch_note.php?encore_id=$1\.$2          [L,QSA] RewriteRule ^/dir/(PO|EC)\.([A-Za-z0-9\.]+)/print                 /dir/view.php?encore_id=$1\.$2&print=1           [L,QSA] RewriteRule ^/dir/(PO|EC)\.([A-Za-z0-9\.]+)/action                /dir/view.php?encore_id=$1\.$2&action=1          [L,QSA] RewriteRule ^/dir/(PO|EC)\.([A-Za-z0-9\.]+)                       /dir/view.php?encore_id=$1\.$2                   [L,QSA] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteRule ^ <root>/webroot/index.php [L]   ssl.conf  SSLEngine on <Directory /public/*/htdocs>     SSLRequireSSL </Directory> SSLProtocol         all -SSLv2 -SSLv3 SSLCipherSuite      "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA 3DES RC4 !aNULL !eNULL !LOW !MD5 !EXP !PSK !SRP !DSS +3DES 3DES +RC4 RC4" SSLHonorCipherOrder on SSLCompression      off


Let's assume we have a CNC machine cutting an aluminium block and we are monitoring its RMS power consumption at a constant sample rate e.g. 1Hz (see figure below for example). Can this considered to be a time-series signal?  link states that time-series should show some internal structure, others could argue that any signal observed over time can be described as time-series.    If the example above is not a time-series, what else could you call that signal?


Get the name of the currently executing method

$0 is the variable for the top level Ruby program, but is there one for the current method?


Can the Auto Number display format reset for each new year

I have created an Auto Number with the following format: {YYYY}/{000}.  Is it possible for the number increments {000} to reset to 1 for each new year?


How to solve blank screen issue on ubuntu 16.04 start up?

I have a blank screen problem on ubuntu 16.04 start up screen. Initially I was repairing my hard disk with fsck /dev/sda1 from this .   In trying solve the black/blank screen problem on startup, I am following instructions from:    ...to use:  chmod 777 / shutdown -r   etc.  in the 'root terminal' of recovery mode, but it only allows 'read only'. How  can I get it into the 'write mode' for this?  Following the method from:    It allowed chmod 777 / but would not accept shutdown -r


What is the purpose of 'arguments' in square brackets? C#

I ran into this while watching a tutorial.  Haven't seen it before, and I'd like to know what's going on here.      Application["ApplicationStartDateTime"] = DateTime.Now;   Here it is in context:  public class MvcApplication : System.Web.HttpApplication {     protected void Application_Start()     {         AreaRegistration.RegisterAllAreas();         RouteConfig.RegisterRoutes(RouteTable.Routes);          Application["ApplicationStartDateTime"] = DateTime.Now;     }     protected void Application_End()     {         Application.Clear();     } }   The application_Start method is boiler plate except for the StartDateTime line that was added with little explanation as to why. Specifically, I want to know about the square brackets.  I'm aware of arrays, and I'm aware of annotations, but this looks different.


jquery on('change'... not working in multiple tags

I can't get the .val() of my second input select when I use jquery .on('change' function()  I have 2 select elements:  <select id="itemsA">    <option selected disabled>Select option</option>    <option value="a">Item A</option>    <option value="b">Item B</option>    <option value="c">Item C</option>    <option value="d">Item D</option> </select> <select id="itemsB">    <option selected disabled>Select option</option>    <option value="1">Item 1</option>    <option value="2">Item 2</option>    <option value="3">Item 3</option>    <option value="4">Item 4</option> </select>   Here is my jquery code  $(document).ready(function(){     $("select").on('change', function(){         var mySel = $("select").val();         console.log(mySel);     }); });   I get the value of the first input select but the second one always give me null as value check.


Fine-tuning "Open safe files after downloading"

Is it possible to fine-tune the "Open safe files after downloading" setting in Safari? For example, to make Safari open files like ".ical" et. al., but not Zip-files.  If macOS has no built-in support for this, could a solution be a UNIX script daemon that instantly detects new files in the Downloads directory and opens files with certain extensions?


I know the following:  $$\varphi(2n)=\varphi(2)\varphi(n)=\varphi(n)\iff(2,n)=1$$ And  $$\varphi(3n)=\varphi(3)\varphi(n)=2\varphi(n)\iff(3,n)=1$$  But now I'm not sure what to do with this info.


If $f(x)=x^3+3x+2$ and $g(x)$ is the inverse of it, find the area bounded by $g(x)$ and $x$-axis and ordinates $x=-2$ and $x=6$.

Is there any way to solve it without finding inverse of the function because finding I can't find inverse?


I want to add a second IP address on my Mac like on Ubuntu.  On Ubuntu I use this:  $ sudo ip addr add 192.168.1.12/24 dev eth0   On my Mac I used this:  $ sudo ifconfig en0 alias 192.168.1.12/24   On Ubuntu every computer on my local network can reach 192.168.1.12, however on my Mac it's not the same behavior, I can reach the local IP only on the computer and not on the others.  Do you know what can be the problem?


Filling SRTM 1-arc second V4 voids using SRTM 1-arc second V3 with different resolution

I want to fill voids in the SRTM 1-arc second V4 (resolution 30m) DEM for Europe. Is it possible to directly fill the voids using SRTM 1-arc second V3 (resolution 90m) without resampling it to 30m resolution?


Should I use "this" or "next" in a question about time?

My son asked me this question:  Today is June 12. Tom will play a video game on _ Sunday (which is June 15).  And the choice is either "this" or "next."   So which one should it be?


How do I programmatically install a module?

For Drupal 7, I found   What is the equivalent code for Drupal 8?  UPD: here  I found the case when you can use the code during deployments, specially when your module has updates in own dependencies.


Design pattern ? passing same multiple argument to the functions and function inside

I need to make some kind of form item factory with javascript. The idea is that you get the data from backend and produce the forms which need to have different event handler which is taking same argument but different contents.  const updateHandler = (dispatch, formName, section) => {     return (value) => {      //do some stuff with value      //... this part is different for the each different form        //call function that handles updating redux and url      updateUrl(dispatch, formName, section, value, ...)      //taking same argument    }  }   I am wondering if I can memorize 3 shared argument for sub function so that i do not have to pass same thing again.  I thought about currying or apply but i do not i can achieve that with currying or apply.


How to define Map contents on initialisation?

I was just wondering if it is possible to define the contents of a Map Object on initialisation.   For example, an array can be created, as:  new String[] {“apples”, “bananas”, “pears”}   So, I was wondering if there is something similar we can do for maps.


Why is chlorophyll green? Isn't there a more energetically favorable color?

Chlorophyll being green means it absorbs light in the red and blue area of the spectrum. Isn't this the high and low energy light? Wouldn't plants get more energy if they absorbed light in the green area of the spectrum instead of the red one?


Generating high voltage (100V+) from 5V USB supply

I am using an USB port as a power supply. Is there a way I can take the weak 5V of a regular laptop USB and transform if to 100V+ while begin in the smallest package possible. I've heard of boost converters but they are usualy too big. I want something that has the size of like a normal USB key.   What I want to do is to charge up around 5 capacitors at 100+V and then discharge them later. Power efficiency not a concern for me.  It would be helpful to include a schematic of the circuit.


Totally ordering the power set of a well ordered set.

Let's say I take a set $S$, where $S$ can be well ordered. From what I understand, one can use that well ordering to totally order $\mathscr{P}(S)$.  How does a body actually use the well ordering of $S$ to construct a total ordering of $\mathscr{P}(S)$?  Perhaps construct is too strong a word. Is there a way to prove that a total ordering of $\mathscr{P}(S)$ just exists, no need to explicitly state what it is, since that might be very difficult.


Is there any method to make almost an automatic 'hive'?

I'm trying to do something like in the picture,     Which is a grid made of hexagons, like a 'hive'.  I  could generate a texture in another software like PS to add it, but what i want is to extrude upwards the yellow part, so the black parts are in depth.  How can i do this, using the options of Blender, without having to model it completely? i was thinking on making one hexagon and then duplicate it infinitely, but i think there should be another way for this.  Thanks in regards.


Why is self needed to refer to internal methods

I know this question is due to the fact that I don't have my head wrapped around OOP completely.  If I was writing a python script and created 3 methods...  def hello():     print "hello"  def goodbye():     print "goodbye"  def helloandgoodbye():     hello()     goodbye()   I could run it from a single script no problems.  But if I create them in a class I have to use self in order to call them.  class test():     def hello(self):         print "hello"     def goodbye(self):         print "goodbye"     def helloandgoodbye(self):         self.hello()         self.goodbye()   I believe in C# starts internally and works it way out searching for a method before throwing an exception. Why does Python make us use self to explicitly state the location of the method?


How to install firmware without internet connection (debian 9 live)

I am using a debian stretch live i386 gnome iso image with non-free firmware that I have booted from my usb, and I can find my wifi network but I am unable to connect after entering my password.  There is nothing wrong with the password or router, as I was able to login and use wifi from this pc.  I do not have an ethernet cable, so I have no internet connection on debian and therefore cannot install the necessary firmware via sources.list (let me know if there is a way to do this w/o internet though).    Is there a way for me to download the necessary firmware onto my usb from Microsoft Windows?  My wifi driver is RT3572, and I am using a Lenovo Ideapad 100S with an intel processor.  Any help is greatly appreciated!  If I need to, I will just go out and get an ethernet cable.


I have been trying for hours to add a color scale to my vector layer in order to avoid showing all those boxes in my legend.   But I don't find any solution. I tried the Geoproc plugin without success, it only works with rasters and my layer is a vector. I also tried generating .qml files but the Geoproc plugin did not accept them.   Does anyone have an idea?    I would like a color scale like this but in red:


What were the other Rings of Power in LOTR made of?

"One Ring to rule them all"...  Is there any detail in Tolkien's work indicating what those "all" rings - for Men, Elves and Dwarves - were made of?  Mithril?  Platinum?  Gold?  Some other magical material?  I would expect that The One's material would be "superior" to the ones it ruled?  Related to "  "


I'm trying to order a list of time spans (represented as Time[] arrays with a start time and end time) by their start times. I'm trying to use the following nested loop to do so:               for (Time[] span : workingList){             Time[] compareTo = workingList.get(0);                  for (Time[] inSpan : workingList){                     if (inSpan[0].before(compareTo[0])){                     compareTo = inSpan;                     }                 }             workingList.remove(compareTo);             toReturn.add(compareTo);         }      }   but it is throwing a java.util.ConcurrentModificationException at the line for (Time[] span : workingList) (the one on top). I've never seen this exception before, can someone please explain to me what it means and what causes it.   I'm also open to suggestions of better algorithms for this.


Is Visa required to Transit via Abu Dhabhi for transit more than 8 hrs. I do not intend to go out of the terminal

I am an Indian Citizen travelling from Washington DC to Mumbai via Abu Dhabi in July 2017.  There is a transit time of 8 hrs and 5 min in Abu Dhabi and my next connecting flight is on the same terminal (3).  I will be staying inside the terminal and will not be going out into UAE.  My luggage will also be checked-in through upto Mumbai.  When called Etihad, I am getting conflicting answers from the agents.  The etihad website here  does not give details whether it applies to travellers Not going out of airport.  Can someone please help me understand if I need a UAE Visa during this Transit if I don't intend to go out the terminal.  Please help.  Many thanks in advance.    Answering my own question:  I travelled in July and NO VISA was needed. I stayed inside the terminal for more than 8 hrs. You just need to follow the directions for 'transfers'.  DO NOT rely on Etihad agents as some of the agents told me that I needed a Visa if my stay is more than 8 hrs.


$$f(x,y,z)=\begin{cases} (x^2+y^2+z^2) \ \sin \frac{1}{\sqrt{x^2+y^2+z^2}} \qquad (x,y,z) \ne (0,0,0) \\ \\ 0 \qquad (x,y,z)=(0,0,0) \end{cases} $$   At first, I study the continuity in the origin.  I apply the concept of sequential continuity: $x_n \rightarrow x_0 \Rightarrow f(x_n) \rightarrow f(x_0)$   So, $x_n=\frac{1}{n}  $ $$x_n \rightarrow 0 \Rightarrow f(x_n,x_n,x_n) \rightarrow f(0,0,0)=0$$ $$\lim_{n\rightarrow +\infty} \frac{3}{n^2} \ \sin \frac{1}{\frac{\sqrt{3}}{n}}=0 $$  How can I continue the study of differentiation?  Thanks!


I'm trying to animate a turret firing sets of two laser bolts, but I want to be able to stop and start the process. I read an answer saying to set a keyframe for the particle system, but I don't know how to do that.  Could anyone point me in the right direction?


why is it valid to use the name of the array as subscript to an int literal

As the title suggests, why is this valid and correct?  int main(void) {     int a[10];     a[5] = 22;      // Prints 22, similar to what a[5] would print.     printf("%d", 5[a]); }


What is the tilde (~) in the enum definition?

I'm always surprised that even after using C# for all this time now, I still manage to find things I didn't know about...  I've tried searching the internet for this, but using the "~" in a search isn't working for me so well and I didn't find anything on MSDN either (not to say it isn't there)  I saw this snippet of code recently, what does the tilde(~) mean?  /// <summary> /// Enumerates the ways a customer may purchase goods. /// </summary> [Flags] public enum PurchaseMethod {        All = ~0,     None =  0,     Cash =  1,     Check =  2,     CreditCard =  4 }   I was a little surprised to see it so I tried to compile it, and it worked... but I still don't know what it means/does. Any help??


Flying Dangerous for No Apparent Reason?

SPOILERS FOR   Star Trek Discovery Season 1 Episode 3       The Shuttle that Michael Burnham is on is flying through a dangerous cloud that has energy-eating organisms inside it. When the discovery rescues the ship you see it just outside the cloud above the shuttle clearly is not in danger. So the question is: Why did the shuttle fly through the cloud when it clearly could have flown above the cloud?


I have the below If statements using some hard coded strings and I want to make them use as custom labels. I have created custom labels with the same String names as given below. So how can I make these statements to use the Custom Labels I created ?  if(monitoringFrequency == 'daily'){             return dateValue.addDays(1);         }else if(monitoringFrequency == 'weekly'){             return dateValue.addDays(7);         }else if(monitoringFrequency == 'monthly'){             return dateValue.addMonths(1);


Could an external being predict quantum uncertainty given all the information of our Universe?

I'll elaborate and be more specific. I understand that this is almost a metaphysical question but nonetheless I want to give it a try. Could an external being outside our Universe create 10 simulations of our Universe and get always the same results when the same initial conditions are applied? Or would quantum mechanics behave unpredictably even in this situation?


Do the following series converge if $a_n>0$ and $ \sum_{n=1}^{\infty}a_n$ diverges?

Do the following series converge if $a_n>0$ and $\sum_{n=1}^{\infty}a_n$ diverges ?  a.) $\sum_{n=1}^{\infty}{a_n \over 1+ a_n}$  b.)$\sum_{n=1}^{\infty}{a_n\over 1+ a_n ^2}$  c.)$\sum_{n=1}^{\infty}{a_n\over 1+ na_n }$  d.)$\sum_{n=1}^{\infty}{a_n\over 1+ n^2a_n }$  What I thought was using Alembert criteria , but it just not seem to work. I also now if $a_n$ converges so does $a_n^2$. Ive tried everything to no avail, can anyone please help ?


How to boot to windows 10 after installing ubuntu

I have dual booted Ubuntu 16.04 LTS and since then I can't boot to windows any more. It gives me choices but windows isn't one of them.  How can I boot again to Windows?


When I insert Mesh > Landscape, the landscape appears along with its specific toolbar on the left.  If I save the landscape, then reopen it, the landscape toolbar does not appear.  How do I make it appear?


Create a link between Meta from all the per site child meta sites

Often I have a question, in a specific area (say Math SE or English SE) that is appropriate for the child meta of that site.   Then I realize it is not particular to the meta for that site but for Meta for all sites (like this question itself; I wanted a link to Meta Stack Exchange from meta.english, but realized no meta sites had such a link).  Wouldn't it be nice to have a link in all meta sites to Meta?


When I put the Signal Interceptor together and do everything correctly the pad still wont power does anyone know what to do?


This may seem silly a lot but I really need some clarification on the necessity of escape velocity for a rocket leaving the Earth's gravity. A stone thrown vertically upwards reaches to a certain height before falling to the ground. The height at which the total potential energy gained by the stone is equal to the sum of the kinetic energy at the ground and the work done on it during launch. Since, after throwing it upwards, no external work is added, the stone WILL return to the ground in accordance with the law of energy conservation (velocity < escape velocity). But in a rocket, continuous work is being added from its booster motors. Then why is it necessary for it to acquire escape velocity in order to leave the Earth? What will make it stop from leaving? Consider the following hypothetical case:  A hypothetical situation:  Suppose we build a long vertical shaft on the Earth's surface, reaching into deep space and a person starts climbing on it (just like Jack on a bean stalk). Will he also require escape velocity to leave the Earth's gravity? If no, then how is it any different from a conventional rocket launch?  Please answer!


How does the wave function of free particle $\psi(x,t)=A\exp \{ i(kx-\omega t)\}$ satisfy normalisation condition?

I am confused about the wave function of a free particle  $$\psi(x,t)=A\exp \{ i(kx-\omega t)\}$$  How does this satisfy the normalization condition? Since this corresponds to a plane wave, what meaning does the probability have?


No Audio Over HDMI on NVIDIA GeForce GTX 1050 Ti

I am running kernel v4.13.0-36-generic on Ubuntu 17.10 on an HP Omen 15. I have a hybrid NVIDIA Optimus graphics card. I dual-boot Windows 10, which can play audio from the same external monitor over the same HDMI cable I am attempting to use in Ubuntu. I can see video on my external monitor in Ubuntu.  I have tried , but in the former no HDMI audio device appears, and in the latter all HDMI devices show up as unplugged.  I have had the most success using the proprietary nvidia-384 driver installed via the Additional Drivers tab of Software & Updates. Using this driver I am able to see video on my external monitor, play audio through my laptop speakers, and boot reliably.  I have tried using nvidia-387 and nvidia-390 from  with , but I can't even boot or see video on my external monitor reliably using these drivers. I observed that /etc/bumblebee/xorg.conf.nouveau and /etc/bumblebee/xorg.conf.nvidia detected my GeForce GTX 1050 Ti as a discrete graphics card, which I believe is incorrect, but am unsure how to override these settings to indicate that my graphics card is a hybrid.    I installed , but after rebooting was stuck in a boot loop, so I ran sudo nvidia-uninstall.      I disabled Secure Boot.  I tried using kernel v4.15.4, but only found it even more difficult to boot reliably.  I tried . I do not know how to switch from hybrid to dedicated graphics mode as the author of that solution suggests though, so that may be why it didn't work for me.  $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC295 Analog [ALC295 Analog]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]   Subdevices: 1/1   Subdevice #0: subdevice #0  $ lspci 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05) 00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 05) 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) 00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 05) 00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31) 00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31) 00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31) 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1) 00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1) 00:1c.5 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #6 (rev f1) 00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1) 00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31) 00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31) 00:1f.3 Audio device: Intel Corporation Device a171 (rev 31) 00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31) 01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) 03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01) 04:00.0 Network controller: Intel Corporation Wireless 7265 (rev 61) 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)   A big thank you to anyone who made it to this point. Any suggestions would be greatly appreciated.


Take some subset $S \subset \mathbb{Z}$ where $|S|=n$ and $n \ge 3$. Show $\exists  \ x ,y \in S$ distinct with $x-y \equiv 0 \mod n-1$.  Let $A = \{a_i\}_{i=1}^{n}$ First case (all elements are congruent to $0 \mod n-1$ ) If $a_i \equiv 0 \mod n-1 \quad \forall i \in (1,n)$, then $a_i - a_j \equiv 0 \mod n-1 \quad \forall i \neq j , (i,j) \in (1,n) \times (1,n)$. Second case (one element is congruent to $0 \mod n-1$ ) If $\exists  \ ! \ a_i \ |  \ a_i \equiv 0 \mod n-1 $, then $\exists \ a_j , a_k \ | \  a_j \not\equiv 0 \mod n-1 $ and $a_k \not\equiv 0 \mod n-1$ for $j\neq k$. But here I am stuck because $a_i - (a_j \lor a_k) \not\equiv 0 \mod n-1$ and also, $a_j -a_k \not\equiv 0 \mod n-1$, suggesting that my idea is fundamentally wrong or I am missing some ingredient for this proof. Indeed, for instance let $a_i = 6$, $6 \equiv 0 \mod 3$, let $a_j = 4$, $4 \equiv 1 \mod 3$ and let $a_k = 5$ ,$5 \equiv 2 \mod 3$, then none of $a_i-a_j$ or $a_j-a_k$ or $a_i - a_k$ are congruent to $0 \mod 3$ I feel like I am on the right track by separating in possible cases ,but the inconsistency outlined above suggests that my approach is erroneous and I have no other ideas on how to solve this problem, does anyone have any hint on how to solve this problem ?


We create these events not to allow the news to go unnoticed    or     We create these events to not allow the news to go unnoticed


How can I make a (beautiful) vertical timeline for LaTeX beamer?

I am currently using \usepackage{enumitem} and  a list to make a horizontal time line on a single slide:  \documentclass{beamer} \usepackage{enumitem}  \begin{document}     \begin{frame}{Plan for 2015/2016}         \begin{itemize}[leftmargin=2cm]             \item[12/2015] First Week: Do abc             \item[] Second Week: do def             \item[01/2016] \,             \item[02/2016] Do foo in bar             \item[03/2016] Do foo in bar             \item[04/2016] Do foo in bar             \item[05/2016] Write something about unicorns             \item[06/2016] Write something about unicorns             \item[07/2016] Write something about unicorns             \item[08/2016] Timelines can look awesome             \item[09/2016] Timelines can look awesome         \end{itemize}     \end{frame} \end{document}   While this looks ok, but I think it could be nicer:    To make this fit the StackOverflow criteria:   Is there a package for vertical timelines? Can I add a line with dots (12/2015, 02/2016, 05/2016, 08/2016) on the left of the list / between the dates and the text?


"Battery Health" in macOS Catalina 10.15.5?

I have just installed the macOS Catalina 10.15.5 update on my 11" Mid 2013 MacBook Air. The update is working fine.  The MacBook Air specifications on the Wikipedia page says that this model has a lithium-ion battery, 'tho I haven't unscrewed the case to look. But the new Battery Health controls in System Preferences → Energy Saver don't appear.  Not a lithium-ion battery? Or perhaps other differences in this model prevent Battery Health from showing up? Something else?


I am trying to initialize a list of numpy arrays in the following way  import numpy as np sol=[np.zeros(5)]*4   But when I try to modify one of the list members like this,  sol[0][2:4]=[1,1]   It changes all the list members instead of only the first one  [array([ 0.,  0.,  1.,  1.,  0.]), array([ 0.,  0.,  1.,  1.,  0.]), array([ 0.,  0.,  1.,  1.,  0.]), array([ 0.,  0.,  1.,  1.,  0.])]   I guess it is old story about mutable and inmutable objects, but I simply don't know how to solve it.   I tried using copy and deepcopy, but not successful.  Sorry if it is duplicated entry, but I couldn't find any similar question  Thanks


How to organize files in main directory into smaller amount of files in sub-directories

I have a directory of 150 files that I wanted split into sub-directories of 25 files each: 1-25 into dir1, 26-50 into dir2, and so on.  How can I accomplish this?   dir1/fre_4_g2_c3654214.h3  dir1/fre_4_g2_c0585433.h3  dir1/fre_4_g2_c3565415.h3   ... and so on  and what I'd want to do is  dir1/fre_4_g2_c3654214.h3  dir2/fre_4_g2_c0585433.h3  dir3/fre_4_g2_c3565415.h3


using boolean modifiers and shape keys in animation

what i am trying to do is an animation exactly like the shown above, which is captured from youtube. for the sake of simplicity let's talk about the far left split cube.  so as little as i know i thought so far the only way to do it, preferably in python, is to successively add and apply a boolean modifier in difference operation with object set to the sphere, after that adding a shape key to allow me to keyframe the cube's mesh shape, meanwhile changing sphere's location in this direction in small increments, and repeat. to put it clear all of that successively in each iteration of a for loop.  so here is the problem, applying a modifier for a shape keyed object is not even supported in blender. moreover i intend to use this in a far more complex animation, and i am not sure will that be reliable, or will it freeze when i execute that script?  so i wonder what is the best way to do it, and how is it made in this video?


Split a string on delimiter with SQL in SFMC

I've got a table of 8 million+ records in SFMC with one column called "AllData" and records that look like this: D||John Smith|EML|johnsmith@gmail.com|Y|2014/10/22 10:15:08.000000|   I'm not looking to import a file, this data already exists as is, and cannot be cleaned externally unfortunately. I've tried this method: SELECT SUBSTRING(a.alldata, 1, isnull(p1-1, len(a.alldata))) detailrecordid,        SUBSTRING(a.alldata, p1+1, ISNULL(p2, LEN(a.alldata)+1)-p1-1) cid,        SUBSTRING(a.alldata, p2+1, ISNULL(p3, LEN(a.alldata)+1)-p2-1) name,        SUBSTRING(a.alldata, p3+1, ISNULL(p4, LEN(a.alldata)+1)-p3-1) contacttypecd,        SUBSTRING(a.alldata, p4+1, ISNULL(p5, LEN(a.alldata)+1)-p4-1) contactdata,        SUBSTRING(a.alldata, p5+1, ISNULL(p6, LEN(a.alldata)+1)-p5-1) consentstatus,        SUBSTRING(a.alldata, p6+1, ISNULL(p7, LEN(a.alldata)+1)-p6-1) collectts,        SUBSTRING(a.alldata, p7+1, ISNULL(p8, LEN(a.alldata)+1)-p7-1) dateconsentupdated FROM test_consent_9f_space a CROSS apply   (SELECT nullif(charindex('|', a.alldata), 0)) b(p1) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p1+1), 0)) c(p2) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p2+1), 0)) d(p3) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p3+1), 0)) e(p4) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p4+1), 0)) f(p5) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p5+1), 0)) g(p6) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p6+1), 0)) h(p7) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p7+1), 0)) i(p8)  But the performance is extremely slow - any other ideas on how to efficiently comb through 8 million rows? I'm thinking of potentially just focusing on email address if it had to really come down to it: SELECT SUBSTRING(a.alldata, p4+1, ISNULL(p5, LEN(a.alldata)+1)-p4-1) contactdata FROM test_consent_9f_space a CROSS apply   (SELECT nullif(charindex('|', a.alldata), 0)) b(p1) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p1+1), 0)) c(p2) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p2+1), 0)) d(p3) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p3+1), 0)) e(p4) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p4+1), 0)) f(p5) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p5+1), 0)) g(p6) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p6+1), 0)) h(p7) CROSS APPLY   (SELECT nullif(charindex('|', a.alldata, p7+1), 0)) i(p8)


Why do fundamental particles have charge?

More specifically, what is in the nature of these particles that they carry a charge, and thus repel objects of similar charge and attract those of opposite charge?  Also, why would the charge of an electron and proton have the same magnitude???  Could it be that there are infinite universes, and yet only those where these particles have the same charge could atoms form, and allow enough order for an observer to ask these questions?  This question is different from others about the origin of charge in that it is directly querying about the multiverse theory, and whether this is a possible consequence.


With the default cube how can i skew. In the coreldraw with the rectangle we can skew like this or any addon available.    Is it possible how can i do with the default cube. Any suggestion. Thanks


I have a vector layer which is a grid. In the table attribute I calculated, using Zonal Statistics, the mean value of two raster layers, for each cell of the grid.  Now, I would like to use GroupStats to have some means value of a column compared to the second one.  For example :  R1   R2 10   15 10   25 11   14   I want to obtain :  R1    R2 10    20 11    14   So that is easy :   But as I have to do this a lot of time, I would like to write a Python script for this or to use Graphical Modeler.  But it seems that there is no module for Python, and no possible use in Graphical Modeler as it's a plugin.  Does someone would know how to manage with this ?  I use Qgis 2.18.9


How should one show possession in "and I" constructions?

I share an office with a co-worker and wanted to write something about the office that she and I share. Should I do something like one of these:   Stacey's and I's office Stacey and I's office   ?


Using "this" in method without parameters

Can someone explain me what is the difference between those two codes? When I have to use first and when second? It is clear that when method has parameter with the same name as data member in the class, I have to use "this". But here method dont have any parameters. When in this case I have to use "this"?  public float getPrice(){     return this.price; }        public float getPrice(){     return price; }


Prove that for $n,m\geq0$, that     $\sum\limits_{k=m}^{n}{{k}\choose{m}}{{n}\choose{k}}=2^{n-m}{{n}\choose{m}}$.     I wrote $2^{n-m}$ as $\sum\limits_{k=0}^{n-m}{{n-m}\choose{k}}$ using the binomial theorem. Then I drew a Venn-diagram with a set $A$ which has $k$ elements, and a set $B$ which is a subset of $A$ with $m$ elements. from which I think you can interpret the left side of the equality in the question as the number of ways in which you can first choose $k$ elements from the sample space (with n elements) and then choose $m$ elements from $A$. However, I am not entirely sure how to interpret the right side of the inequality then. Could anyone please comment on my approach and tell me what I should do next if it's correct and otherwise tell me how else it should be done?  Furthermore, could anyone please tell me how I should interpret the summation in terms of combinatorics? Because I do not really see what the summation does in terms of sets/how I should visualize this in a diagram or how I should just see this in general. Thank you in advance.


My computer has a dual core CPU and it's speed is 2 GHz and it has 3 GB RAM the motherboard is an intel DQ965GF. Is 64bit faster and do I have enough RAM? Is it worth upgrading? Will there be better performance from 64 bit/ thanks to all who answer this


Why is there a difference between starting with a "0" and "3" for approx

I was attempting an approximated value of pi through the formula of  pi= 3 + (4/(2*3*4)) - (4/(4*5*6)) + (4/(6*7*8)) - … (and so on). However, my code (shown below) had 2 separate answers (3.1415926535900383 and 3.141592653590042) when:   approx variable started with "0" and "3" respectively  n=10000   Does anyone know why?  def approximate_pi(n):     approx=0     deno=2     if n == 1:         return 3     for x in range(n-1):         if x%2:             approx -= 4/((deno)*(deno+1)*(deno+2))         else:             approx += 4/((deno)*(deno+1)*(deno+2))         deno+=2     return approx+3   and  def approximate_pi(n):     approx=3     deno=2     if n == 1:         return 3     for x in range(n-1):         if x%2:             approx -= 4/((deno)*(deno+1)*(deno+2))         else:             approx += 4/((deno)*(deno+1)*(deno+2))         deno+=2     return approx


I have been trying to /give myself a command block with a preset text for about an hour or so (playing on Windows 10). My current attempt is as follows:  /give @p stone 1 0 {"can_place_on":{"blocks":["dirt","glass"]}}   So far that is all I have been able to do as of the time I posted this for help. I hope somebody could assist me with fixing it, or a simple fix like replacing the command with something else.


In SQL Server, how do I generate a CREATE TABLE statement for a given table?

I've spent a good amount of time coming up with solution to this problem, so in the spirit of , I'm posting it here, since I think it might be useful to others.   If anyone has a better script, or anything to add, please post it.  Edit: Yes guys, I know how to do it in Management Studio - but I needed to be able to do it from within another application.


How to run a scheduled job every 15 minutes?

Using the salesforce GUI it seams impossible to schedule a job every 15 minutes. Or more than once a day.


Removing Ghost possession without a Cleric or Paladin

I have a small group of adventures. One of them is playing  also described . A large part of the story for him is hunting undead creatures. One of the undead I want to use is ghost, but the party has no cleric or paladin.   Is there a way to remove possession other than some of the ones here:    I thought about Turn Undead, but again, they have no cleric or paladin. Is there another way to remove it that I am missing?


bootstrap 4 card image horizontal center problem

Problem: unable to horizontally center the image: Please see the code example here:   .row {   background: #f8f9fa;   margin-top: 20px; }  .col {   border: solid 1px #6c757d;   padding: 10px; }  .index-img-container {   width: 200px;   height: 200px; }  .index-img {   max-width: 100%;   max-height: 100%; } <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.css" rel="stylesheet"/>

Title here

           Some text is shown here with The Lorem Ipsum for photos.
                                                           Important message
+ Some note
          View Details

    If I removed the css class "index-img-container", the image will be centered. .index-img-container {     width: 200px;     height: 200px; }  I am unable to understand how this size-defining class can cause the image to align to left. But in order to keep all images the same size this class cannot be removed. Is there a solution? Thanks.


Canadian eTA for dual British and Canadian citizen with only British passport

I am a dual Canadian and British citizen with only a British passport. The new Canadian immigration system requires British citizens to have an eTA (Electronic travel authorization) however you can not apply for one if you are a Canadian citizen. Does this mean I can no longer visit Canada using my British passport and will have to get a Canadian passport? An eTA costs $7 and a passport $160.


Factoring Polynomials (x^4) - using completing squares

Exercise 6. By viewing the polynomials as a difference of two squares, factorise the following polymomials.         $x^4+x^2+1$,   $x^4+3x^2+4$,   $x^4+4$.      To solve difference of two squares isnt it necessary to have negatives? im confused about how to start solving these questions. I cant seem to factorise by grouping either /:  Information on how to factorise these types of questions would be appreciated. thank You!


I am trying to install Ubuntu on my phone and ubuntu-device-flash cannot seem to find this url

This is what happened:  ubuntu@ubuntu:~$ ubuntu-device-flash touch --channel=ubuntu-touch/stable/ubuntu  Get https://system-image.ubuntu.com/channels.json: dial tcp: lookup system-image.ubuntu.com on 127.0.1.1:53: no such host"   I had to write Ubuntu 16.04 to a flash drive an boot off of it because this package is not available for Ubuntu 18.04.


Why is loading my div through Ajax stripping out the first form tag and not firing jQuery?

I have an area of a page that allows for deleting files. It lists the file names with a delete button next to each. Clicking the button makes an Ajax call to a cfc that deletes the file, and the area with the list reloads with the deleted file gone. When I first load the page, everything works as it should. Once the area is reloaded, the first item in the list is missing the surrounding form tags and clicking the button will reload the page. Subsequent items have the form tags but will still reload the page. This is my code for the main page:
<cfinclude template="/includes/list-uploaded-files.cfm">
  This is the code for list-uploaded-files.cfm: <cfdirectory action="list" directory="#ExpandPath('/applicant-uploads/' & SESSION.grantID)#" listinfo="name" name="qGetUploads">  <cfif qGetUploads.RecordCount GT 0>
         <cfoutput query="qGetUploads">             <cfset documentPath = "../applicant-uploads/" & SESSION.grantID & "/" & name>
                                      #name#                 	                                      <form>                         <input name="documentPath" type="hidden" value="#documentPath#" />                         <button class="btn btn-warning btn-sm submitFileDelete">delete</button>                     </form>
         </cfoutput>
     <cfelse>
No supporting documents have been uploaded.
 </cfif>  This is the jQuery for the Ajax: //////////////////////////////////////////////////////////////////////////////////////////// // DELETE DOCUMENT ////////////////////////////////////////////////////////////////////////////////////////////  $(".submitFileDelete").on("click",function(){     event.preventDefault();     var form = $(this).closest("td").find("form");    var formData = $(form).serialize();     console.log(formData);     $.ajax({         type: "POST",         url: "/cfc/documents.cfc?method=deleteDocument",         data: formData,         dataType: "text",         beforeSend:function(){             return confirm("Are you sure you want to delete this file?");     },         success: function(data, status) {             $("#uploadedFiles").load('/includes/list-uploaded-files.cfm');             console.log(status);             console.log(data);         }     }); });  Is there something about loading a CF page through Ajax that I'm missing? Thanks!


Neither A nor B could bring themselves to say something

Why is the following sentence incorrect?  "Neither Gore nor Bush could bring themselves to utter a word in defense of scientific truth."  I was told that it should be:  "Neither Gore nor Bush could bring himself to utter a word in defense of scientific truth."  I really don't understand that due to the fact that "Neither Gore nor Bush" implies that both of them did not say a word not just either one of them.


A calligraphic font with small (lowercase) letters

Is there a widely available calligraphic font that (1) contains small (lowercase) letters and (2) has a recognizably calligraphic capital letter O?  Background. (1) In mathematics (algebraic geometry), , the latter being written in calligraphic script (standard notation for sheaves). However, most books end up typesetting the sheaf as follows    pulling the small letters from the italics of a completely different font.  (2) The calligraphic capital letter O plays a special role in algebraic geometry, too, and most authors insist on it being recognizably calligraphic (i.e. not just a closed round loop)    Edit. The following are achieved with extra kerning from @egreg's and @UlrikeFischer's answers (in chronological order)    @egreg's answer  \makeatletter \DeclareFontEncoding{LS1}{}{} \DeclareFontSubstitution{LS1}{stix}{m}{n} \DeclareMathAlphabet{\mathcal}{LS1}{stixscr}{m}{n} \makeatother  \DeclareMathOperator{\sHom}{\mathcal{H\mkern-7mu o\mkern-2.5mu m\mkern-1.5mu}} \DeclareMathOperator{\sExt}{\mathcal{E\mkern-4.5mu x\mkern-2.5mu t\mkern-1mu}} \DeclareMathOperator{\sEnd}{\mathcal{E\mkern-4mu n\mkern-4.5mu d\mkern-1mu}}       @UlrikeFischer's answer  \DeclareFontFamily{U}{mathc}{} \DeclareFontShape{U}{mathc}{m}{it}% {<->s*[1.03] mathc10}{} \DeclareMathAlphabet{\mathcal}{U}{mathc}{m}{it}  \DeclareMathOperator{\sHom}{\mathcal{H\mkern-3mu om}} \DeclareMathOperator{\sExt}{\mathcal{E\mkern-3mu xt}} \DeclareMathOperator{\sEnd}{\mathcal{E\mkern-3mu nd}}


Beyond Hamiltonian and Lagrangian mechanics

Lagrangian and Hamiltonian formulations are the bedrock of particle and field theories, produce the same equations of motion, and are related through a Legendre transform.  Are there more such mathematical objects that are equivalent, or are these two in some way unique?  If so, why are there two equivalent systems,  rather than a single (or more)?


What is the difference between "gerund" and "infinitive"? I do not understand the differences.Can you explain them?


I desire to list all inodes in current directory that are regular files (i.e. not directories, links, or special files), with ls -la (ll).  I went to the man ls searching for type and found only this which I didn't quite understand in that regard:     --indicator-style=WORD      append indicator with style WORD to entry names: none (default), slash   (-p),  file-type  (--file-type),                 classify (-F)   How could I list only regular files with ls -la (ll as my shortcut in Ubuntu 18.04)?


Why does not generator of multiplicative group generate all the members of group?

Generator(g) of multiplicative group (Zp where p is primary) is   an element the power of which by modulo(g^i mod p) can produce all   the elements of this group.   I have just tested this definition via python code and have not got the expected results. For example, lets take   p=11, so  Z* = {1,2,3,4,5,6,7,8,9,10}  I found only 4 elements, powers of which are actually generates all the memebers: {8, 2, 6, 7}. That is what I got (for 1<=i<=p, but i tested i up to 10^10):  1^i  :{1} 2^i  :{1, 2, 3, 4, 5, 6, 7, 8, 9, 10} 3^i  :{1, 3, 4, 5, 9} 4^i  :{1, 3, 4, 5, 9} 5^i  :{1, 3, 4, 5, 9} 6^i  :{1, 2, 3, 4, 5, 6, 7, 8, 9, 10} 7^i  :{1, 2, 3, 4, 5, 6, 7, 8, 9, 10} 8^i  :{1, 2, 3, 4, 5, 6, 7, 8, 9, 10} 9^i  :{1, 3, 4, 5, 9} 10^i :{1, 10}   Does this mean nothing but 2,6,7,8 are generators? Could you explain what is it I misunderstood?


Execution Plan : Table Insert Cost 90% vs Clustured Index Insert Cost 86%

Situation : We have table It has millions of records. Table has 1 Clustured Index and 1 Non Clustured Index. It was found that Clustured Index is not used by any of SQL Query. But Insert Execution plan has 86% cost on Clustured Index.   Action: If I convert Clustured Index to Non Clustured Index, Execution plan gives me Table Cost 90%.  Which one is better for performance, If I convert clustered index to non clustered index, will it be helpful.  Thanks, Virul


If $E(X_{n+1}\vert \mathcal{F}_{n})\leq X_{n}+Y_{n}$ and $\sum Y_{n} < \infty$ how can I define a supermartingale?

Let $X,Y$ be adapted, positive integrable processes and $E(X_{n+1}\vert \mathcal{F}_{n})\leq X_{n}+Y_{n}$ and $\sum Y_{n} < \infty$.   How can I define a supermartingale by the above?  Background: I want to show that $X_{n}$ converges a.s. to a finite limit, using a stopping time. It is defined as: $\tau:=\inf\{n:\sum\limits_{i=1}^{n}Y_{i}>K\}$ for some $K >0$  How can I show that $(X_{n})_{n}$ is a supermartingale from the facts $(*)$ or must I define a new supermartingale?


Naming conflict in objective c framework

Here is thing, I am developing a framework for other companies to use. If my framework and other companies both implement a class "ABC" and class "ABC" in framework is private framework class it wound cause naming conflict warning during runtime:      objc[1326]: Class ABC is implemented in both Some.framework/Some and heTEST.app/heTEST. One of the two will be used. Which one is undefined.   According to the warning, one of the class will be ignored. However, I did a little research and find out both class will be loaded and will not cause problem (Since class ABC in framework is private, any code outside will not be able to retrieve it. The class ABC used outside is the class defined outside by #import "ABC.h")  My questions are:  Shall I ignore this warning or how to avoid?  ps, I am tired of renaming class in framework because my framework is using several open source library(i.e AFNetworking)


upgrade to 13.10 stalled and restart failed

I had 13.04 before. In response to a popup to upgrade to 13.10, I clicked yes, and the whole thing went on autopilot overnight. Woke up this morning, and it's stuck at "unpacking X.org". I forced the machine to restart, but failed.  Many had this problem and the suggestion is to execute:  sudo dpkg –configure -a   But this did not work for me. The error was something like some file missing.


why is my careers profile reputation lower than my actual repuation?

When I look at my reputation on stackoverflow I see one number, but when I look at my profile in the careers.stackoverflow I see another number.  Is it just slow to update (maybe it's a few days behind...)?  UPDATE:  Looks like this problem has been solved.  As of 5-28-14 my reputation levels in stackoverflow and careers.stackoverflow are now consistent.  Thanks to those doing the fixing!


When I buld a nether portal and light it it wont light. The obsidian lights on fire but no portal please help me fix this.


Proving that matrix is similar to its transpose

One way to prove that a matrix and its transpose are similar is to apply polynomial matrix theory.   I wonder if there is another way to do that. Thanks.


What will happen if my luggage gets delayed?

I understand that if my luggage does not make a transfer on a plane, the company will deliver it to me. However what if:   I am far away from the airport? Will they still send me the luggage? I am in a different country? Say I booked a cheap flight followed by a bus to save money. Or I flew with two companies with two transfers and the luggage did not make a transfer between flights of one company. The trip was short and I have already returned by the time the luggage arrived at the destination.   How will I get the luggage in these scenarios?


I install ubuntu12.10 than I install windows 7 and now I have access only at windows :( i didn't find any solution for this... can you help me please?  thanks


Atiyah Macdonald chapter 1, question 21 iii

In a commutative ring $A$ with $1$ having a subset $S$ and some element $x \notin S$,  does there always exist a prime ideal containing $S$ but not $x$? I am trying to solve the $\Rightarrow$ part of (iii). If this is not true always,can you help me figure out a solution? Thanks in advance.  (Edit) I could not understand the solution given in the link.


Word for a phrase that is very commonly used to describe something

What is a word to describe a phrase such as "Anything can happen", which is often made in reference to baseball.  This is frequently said, but "platitude" and "cliche" aren't the right terms.  What type of phrase is this?


How do I derive the formula for radial acceleration when there is no uniform circular motion?

My lecturer states that $a_r=\dfrac{v_t^2}{r}=\omega^2r$ where $v_t$ is tangential velocity, he also wrote that this is derived the same way that radial acceleration is derived in uniform circular motion.   I know the derivation for uniform circular motion but I simply can't see how the derivation can be the same for non uniform motion. (the derivation I know is the graphical one where you manipulate the infinitesimal velocity and angular position.)


What to do with spare cash, in the short term?

I live & work in the UK.  Having pretty much exhausted all of the avenues I can find for saving (none of which have great returns anyway at the moment, obviously), I have recently started looking to buy my first house.  I have a reasonable sum saved up for a deposit, but I'm wondering what to do with that in the mean time, as a fair amount of it is not currently earning any interest. For the moment, I have put any surplus, that I'm not earning interest on into premium bonds, just in the off-chance that I win something with it, but this is obviously more of a lottery than an investment, and I'm not 'expecting' to win anything noteworthy with it.  Ideally, I would like to buy a house within the next year or so, so investing in the stock market is not really an option, as I understand the commonly accepted advice is that you invest with a minimum 5 year horizon.  What other options do I have for any surplus cash while I look for a house?


I recently read an article that said that the event horizon telescope took a picture of a black hole (Sagitarius A*) and it will be presented on the 10th of April. I was wondering how this picture is taken and what a picture of a black hole even means?   The only explanation I could think of was that the telescope took pictures of the stars surrounding the black hole and then a sudden absence of stars pointed that a black hole is present.  Can anyone explain how black hole photos are taken or how does event horizon telescope work?


When I run a program (for example grep or ls) without a pager, its output is colored. However when I run it piping its output to less, no colors are shown.  For example, this command outputs colored output:  grep -r something   but this doesn't:  grep -r something | less   Why? How can I see colors through less?


Is it possible to reinstall Raspbian on a Raspberry Pi

I have a Raspberry Pi and I need to get the image reinstalled but it's a 4 hour drive away to it. The OS is Raspbian and it is connected through an Ethernet connection. I can SSH into the Raspberry Pi just fine, but I need to find a way to remotely reinstall the OS on it.  I hear there is something called PXE Network Install that might be able to do this, but how would I go about doing this? The website doesn't really have much information on doing this.


Which one is better to use to dispose an object?

I'm developing an app windows phone 8 and i was wondering making null is a good way to dispose an object from memory or should i do something different or extra to dispose an object...!  Moreover, I have a class name 'A' and this 'A class contains observable collections and other kind of objects. Therefore, when I feel i don't need to use the class anymore, for example leaving the page, I make that class 'A' object null. Is it a good practice to do or should I do something different?


Don't allow questions from a user unless they have proven their worth/interest somehow

Stackoverflow continues to suffer from a quality problem. I don't think any amount of policing can solve the problem. Stuff may get cleaned up, but there's still a ton of garbage temporarily for me to see. No matter how fast the street sweepers go, when I look outside, there's still litter to see.  The real problem is that users that drive by and ask questions are not invested in the site. Not even a little. They want their answer, and there's enough smart reputation starved psychic debuggers out there to figure out there problem for them. We've massed an army of awesome super programming ninja. However, there's hordes of barbarians at the frontier. We know there's like 99 bad wanna-be can't fizz-buzz programmers out there for every competent programmer. We can't win a war of attrition with them. There's just too many bad programmer barbarians at the frontier of our Civilization to make a dent with moderation, down-voting, etc.  What we really want is question askers who are going to be invested in the community. People who, despite their newb status, want to learn and get better. We want people who don't just want their current problem solved, they want to make themselves better programmers.  I think we've reached the point where to participate, you have to prove your worth or at least interest to the community somehow. This is unabashably the Starship Troopers model of Stack Overflow. Force people to contribute before they take away. I think its a good model. If we don't do something, this is just going to devolve into the dead newsgroups of yore. Lots of newbs and lots of moderators. And nobody else. The true meat of society -- artisans, craftspeople, etc -- having long left the festering ruins for others to pick over. Because nobody cares about worrying about moderating every question (they just want to have fun providing answers). If the inside baseball takes over, then we're doomed.  I propose that a questioner on StackOverflow should have had to prove themselves to the community. The simplest way to do this is to require they answer a question and get it upvoted by somebody before they can ask questions. Maybe we should actually enforce a required amount of rep before a question can be asked. Maybe some rep on another, lower traffic SE site would be sufficient to prove some investment. Maybe there's other ideas I haven't thought of...  I'm wondering if I'm way off the mark? What are your thoughts?


How do I choose between ‘who’ or ‘whom’ when the subject pronoun is unclear?

A friend needs help with his who and whom Right on the heels of my recent  regarding why 'who' and 'whom' present difficulties for so many native and non-native learners, comes another complex case of ‘who’ and ‘whom’. The language of a friend's report is bureaucratically complicated and his Supervising Teacher, is very pedantic that the English should be absolutely grammatically correct, which includes the prescriptive use of ‘who’ and ‘whom’. This means that the excellent generic advice  “use who in every case and always avoid whom”  cannot, unfortunately, be applied here. Many grammatically pedantic non-native teachers in my country insist on the proper use of 'whom', especially in official reports and dissertations. My friend therefore needs a reliable practical approach (that can be applied in any given case) to decide whether 'who' or 'whom' should be employed in a particular situation.  When does it get complicated? Problems arise when the sentence does not obviously require a subject pronoun, and the concerned verb is moreover not obviously transitive, making it difficult to decide whether it needs an object pronoun. Again, when the sentence has multiple verbs and clauses, where does one look for an indication as to whether it needs a subject pronoun or an object pronoun?  Appendix: Example sentences from my friend's report I have extracted one relevant passage to better illustrate the problem. N.B this is not a request for proofreading.  "A study of employee expectations regarding future confirmation in Government service, with special emphasis on the ethical aspects in the subjects' claim that long-term provisional employment is a virtual promise of future confirmation":   This special short project conducted a detailed case study of 5 typical auxiliary health care workers who(m) the Government has instructed Heads of Department to terminate from long-standing provisional employment.   The Department of Public Health had allotted special allowances for all subjects who(m) the Supervising Teacher considered deserving of compensatory remuneration for their time and effort spent participating in this project.   Mr.A, who(m) the academic committee had originally advised against, was however selected as the 5th subject due to a lack of other 'typical' cases.   The Supervising Teacher Mrs.B later raised an objection regarding payment of the special allowance to Mr.A, who(m) she had expressed reservations about in writing, leading to his initial disqualification by the academic committee, although he was subsequently selected and did actually participate as a subject of the study.   The Head of the Accounts Department delivered the official opinion that a person who(m) the Supervising Teacher had specifically shown a reluctance towards nominating as a subject of the study could not be considered for the award of any special allowance.


Prove that $f(x):=\begin{cases}e^{-\frac{1}x},\,\text{if}\, x>0\\0,\,\text{otherwise}\end{cases}$ is of class $C^\infty$

So I ask to prove that the function $f(x):=\begin{cases}e^{-\frac{1}x},\,\text{if}\, x>0\\0\,\text{otherwise}\end{cases}$ is of class $C^\infty$. Clearly $f\in C^0$ since $\lim_{x\rightarrow 0}f(x)=0$ and since in $(-\infty,0)\cup(0,+\infty)$ the function $f$ agrees with functions of class $C^\infty$ so to prove the statement we have to prove that $f^n(0)=0$ but unfortunately I can't prove this. So could someone help me, please?


To save a single page via Wayback Machine I can go to:      How can I archive the website recursively by Wayback Machine?    There is some project such as , but I'm looking for a feature which allows me the upload the website recursively.


9 Different material to one texture file

I am trying to bake Different materials to one texture file. I tried a few tutorials on Youtube and followed a few guides here on this forum. How ever none of them are working for me. Everytime when I try to bake it is just black. If somebody could help me I would be very pleased! I am using Blenden 2.92 but I have also tried it on 2.8 and 2.79  I have include my model at my google drive.


How to save picture to iPhone photo library?

What do I need to do to save an image my program has generated (possibly from the camera, possibly not) to the system photo library on the iPhone?


Pointer does not increment, if incremented in other function

#include <stdio.h>  increment(char *c) {     c++;     c++;     printf("works 'n' %c \n", *c); }  int main() {      char *p;     char mon[10] = "Monday";     p = mon;     increment(p);     printf("expecting 'n' %c \n", *p);      return 0; }   If character buffer pointer incremented in other function it will not reflect after coming out of the function.


When should I say, for instance, "Mary and me," and when should I say "Me and Mary?"  Example:  Which option should I use in the following sentence?     After drinking our tea and saying goodbye to Hank, [...] made out way back   to the hotel.


Should I mention my Stack Overflow (and other Stack Exchange sites) reputation in my CV while applying for a post-graduate position?


I'm working on a PSD mockup for a website. I'm really getting hard time searching the right images for slider and related stuff. I looked through stock images and they are expensive!  What is the solution for this? What do you people get your picture for your project?   Thanks


Is there a way to view JUST the rendered image while making the interface disappear (a la Photoshop fullscreen)?  I want to see literally only my rendered pixels and zero Blender interface things.  Thanks!


Let us say the vector $u = (1 - i, 2 + 3i, 5)$.  How would I find $\|u\|$?  I have tried solving this through:  $\sqrt{(1-i)^2 + (2+3i)^2 + 5^2}$  But I ended up needing to find the square root of a complex number, which from what I understand is impossible.


Null object reference error in java with char arrays

I have a char[] that I am attempting to append values to. However, at the line newStringAr[count] = ar[j][i], I am receiving an error:  java.lang.NullPointerException: Attempt to invoke virtual method 'char java.lang.Character.charValue()' on a null object reference.   When I changed my array to a Character[], this error was resolved, but then I was not able to convert my array to a string as shown in the last line of the code sample below. How can I resolve this issue?  Note that ar is a previously-defined array of Characters (Character[] not char[]).      int count = 0;     char[] newStringAr = new char[ch.length];      for (int i = 0; i < ar.length; i++) {         for (int j = 0; j < ar.length; j++) {             if (count<ch.length) {                 newStringAr[count] = ar[j][i];                 count++;             }         }     }      String out = new String(newStringAr);


vmware-fusion: How Clones affects Windows Licenses

I am considering an upgrade to vmware-fusion 6.  I would like to do the following:   Install windows 7 as a Fusion VM, call it base, and leave it alone. Create a clone of base and install IE 7 Create a clone of base and install IE 8 Create a clone of base and install IE 9 Proceed with testing such that I never run base or any of the clones at the same time.   As long as I never run the machines at the same time I do not think I am violating any of MS license agreements.  It is no different than if I took a backup of the machine and restored it.  Will I need more than one Windows 7 license to do this?  Would switching to parallels or virtualbox be a solution?  I have sw other than IE that I want to do this with, so I am looking for a generic solution, not one specific to IE.  I am using "clone" as a generic term.  If there are ways to accomplish what I am asking such as using linked clones or copying files on the harddrive, then I am open to those solutions as well.


Please see the picture below. Where are the Unity desktop wallpapers located?


How do I set emblems in Thunar without the GUI?

I would like to add emblems to a file in Thunar using a script, but I can't find any documentation on this.  Is it possible to do this? And if so, how?  The same question was asked , but they mention a ~/.cache/Thunar/metafile.tdb file which does not exist on my system. I think that question and the answer are outdated.


Minimum hardware requirements for ElasticSearch in docker

I am developing a search application using elasticsearch and I would like to keep the development cost as low as possible. What are the minimum  requirements for elasticsearch to run properly inside a docker container?  I am especially interested in the RAM as I believe this is the bottle neck.  I have been looking all over the place for this, but I can't seem to find any documentation on the minimum hardware requirements for elasticsearch what so ever. Maybe my googlefu isn't good enough, or maybe everyone working on elasticsearch have a big server budget.


How can I increase my Vault Dweller's Happiness?

All my vault dwellers look really unhappy and bummed out and aside from making babies I'm not sure how to make them happier.  Am I missing something really obvious?


Can you be ill from an injury (I don't mean an infection)

This is something that crops up on the BBC a lot and irks me. For example, from  today:     One woman is critically ill and three others have been injured after   they were stabbed near a supermarket car park in west London.   To me, you are ill (or sick) if you have, for example, contracted a disease and using it in the sense of someone being injured is wrong.   Google gives the definition of ill as "suffering from an illness or disease or feeling unwell." and I'm sure that a car crash or stabbing would certainly make you feel unwell, but I still don't think it's right. Is it?


$\bigcup \emptyset$ is defined but $\bigcap \emptyset$ is not. Why?

Why does $\bigcup \emptyset = \emptyset$ but $\bigcap \emptyset$ is not defined?    If I had to guess, I'd say it's also equal to $\emptyset$.


A proper universal name for any city or town, regardless of its size

I'm facing a pressing issue with choosing a proper way to call a place (city, town), regardless of its size.  1) Has to describe places of any size (from pop. 5 to 5 mil.)  2) Must describe any location that is inhabited and/or has any administrative boundaries   3) Should be easy-to-understand by Americans specifically  Basically, things like "locality", "community", "municipality", "administrative unit", "metropolitan area" etc cross my mind, but I am not too sure how exactly it will be perceived - which one is more common, and which one will be the best fit for a native ear to hear to describe both NYC and a village of 2 houses (given it is on the map).   Thanks in advance for your options, which I hope will be a great many for me to choose from! :-)


I created a simple eye and I UV unwrapped it and put eye texture on it. Then I duplicated the eye, put it in the same position and scaled it a little and I added glass texture on it. I don't know why but it doesn't look clean and looks like i added some extra cloud texture.Can you help me please. Thank you for any response.. Pictures below:


Run a batch file in a completely hidden way

I'm looking for some way to run a batch file (.bat) without anything visible to the user (no window, no taskbar name, .etc..).  I don't want to use some program to do that, I'm looking for something cleaner. I've found  that uses VBScript, but I don't really like using VBS, either.


I have a PHP scripts on Windows Server 2016 (IIS 10 PHP 7.1) And i would like to execute these scripts every x minutes. Is it possible to do something similar like SQL job? I can't use javascript because this need to be done without WEB Page. Somebody said its possible to execute PHP scripts without web server via CLI. Is it right? And lots of information about cron. But im not understand is it already integrated in to system or additional software?


Does higher education exist in Harry Potter?

Or is it just 'further education' i.e. Hogwarts, Durmstrung, Beaux-batons? Are there wizarding universities?


Can't select reputation graph date range in Chrome

Works fine in IE, but in latest Chrome the part of the graph that says "select an area by dragging across the lower chart" doesn't actually respond to mouse input.


Floor in camera track flipped upside down

I have a 3d camera track and I have it solved perfectly but, when I set a floor, it looks like the floor would line up perfectly except, the camera is positioned upside down. Is there a way to flip the camera over and keep the position?


To use  as you would require when using the  with large numbers (100,000+), it calls for some very large calculations.  When I multiply two large numbers (eg: 62574 and 62574) PHP seems to cast the result to a float. Getting the modulus value of that returns strange values.  $x = 62574 * 62574; var_dump($x);          // float(3915505476) ... correct var_dump($x % 104659); // int(-72945)  ... wtf.   Is there any way to make PHP perform these calculations properly? Alternatively, is there another method for finding modulus values that would work for large numbers?


How do I properly connect the SSS texture in a Blender 2.8 using nodes? Blender 2.8 Without and with the SSS texture:


I don't need anything to be blurred. I need everything to be focused

The scene is at the distance of say 10 feet. I own Nikon d7200 and a lens of 18-140 mm.   There are three cats here and there (not together), but many of my images focused on one/two cats and not all because the third one was a bit away from the rest two. In other photo, the camera focused only on that isolated cat and not those two.   I need the solution that all three cats are focused, surrounding is focused, and nothing is blurred.  Out of many photos, only a few focused on all the cats and background. But I wanted almost all of them to be like that.   For reference,  This is one of them what I wanted. But in other photos, all the cats were not at one place. That's why the camera focused only on one/two cats. The background is just a wall, a plain wall. So, no depth of field is to be worried about.


What happens if a character's stats are lowered, reducing the number of spells they can prepare?  Say a level 1 cleric has a Wisdom score of 18. According to the  feature , they can prepare 5 spells (Wisdom modifier of 4 + 1 level of cleric). Now say the cleric obtains an  and attunes it. They now have a Wisdom modifier of 5, so they can prepare 6 spells and do so.  What happens if they then unattune to the ioun stone?  The rules say they can only prepare 5 spells again, but they don't indicate that the character automatically loses one prepared spell from what I can see.


What is endurance used for in Fallout Shelter? The storage room says it uses Endurance, but what does that mean? It doesn't produce anything so what is the advantage or putting a dweller in there?


Prove:Every regular Lindelöf space is normal. Attempt:Let $X$ be a regular Lindelöf space.Let $A,B$ be disjoint closed sets in $X$. Since $X$ is regular for each $a \in A$ there are disjoint open sets $U_a$ and $V_a$ containing $a$ and $B$ respectively. Then $\{U_a | a \in A\}$ is an open cover for $A$ and since $X$ is Lindelof, there is a countable subcollection $\{U_{a_i}\}_{i \in \mathbb{N}}$ covering $A$. Comment: Now I want to do a similar thing like in the proof that every regular compact space is normal and let $U=U_{a_1} \cup U_{a_n} \dots $, $V=V_{a_1} \cap V_{a_n} \dots $ and say that $U,V$ are disjoint open sets containing $A,B$, however I notice that $V$ is not necessarily open since the intersection is not finite. So the proof breaks down here I think. So must I try another approach to solve this problem? If so what would be a correct way to go about this?


I have a table with 6 columns one of which is a NVARCHAR (65) datatype.  All of the entries in this table have the format XXXXX-nnnnnn.  I want to be able to use the '-' as a delimiter and construct a query that pulls out the value after the '-' into a temporary table so I can run another query against a column containing just the nnnnnnn values.  I believe PATINDEX needs to be in there somewhere but it all seems hard and difficult.


How to backup and restore in oracle with RMAN

I want to complete a task of backup and restore using oracle in the simplest way possible because I never did it before and I don't really know how to do it. What I want to do is backup the database, and inside the database I'll have a user with one table. I'll back up in this state, and I want to delete that table, and restore the database in a previous state where it had the table. All I tried is here, but still I can't solve it.   I'm asking again so maybe now somebody knows how to do it.


Dana and Louis are the two characters possessed in the Ghostbusters film. Dana Barrett's appartment seems to be 'spook central', which is the only reason she was picked, correct?  Under what criteria was Louis Tully picked? Proximity, attachment/relationship to Dana, personnality?


Automatically set description list `labelwidth` based on widest label?

How do I create a description list where the item text is automatically indented to the width of the widest label?  This is the same question as  but I would like the width of the widest label to be automatically calculated.  For example, I'd like the following output:    to be produced by the following input:  \documentclass{article} \usepackage{calc} \usepackage{enumitem} \usepackage{lipsum} \usepackage[margin=1em,papersize={4in,2.2in}]{geometry}  \newenvironment{mydescription}{%   \begin{description}[     leftmargin=!,     labelwidth=\magicgoeshere,     ]% }{%   \end{description}% }  \newcommand{\text}{long long long long long long long long long long   long long long long long long long long long long long long long   long long long long long long long text}  \begin{document} \begin{mydescription} \item[The longest label] text \item[Short] \text \end{mydescription} \hrule \begin{mydescription} \item[Medium label] text \item[Short] \text \end{mydescription} \end{document}


Some programs would prefer to output the help message in stderr. I want to search the help message with grep command, xx /? | grep regex?  How could i do this?


I have a shapefile with 1722 rows representing a road network. There is a feature somewhere, somehow that is kind of invisible, specifically the feature with id 1780. When I execute an expression    "id" = 1780   the bar shows there is a result somewhere. When I try to zoom on the selected result it's nowhere. I'm asking because I try to load the dataset into postgis and this way I'm getting a null geometry.  Any idea what is causing it?


Upload the whole directory with FTP from the command line

I've got this .bat file:  ftp -s:commands.txt   File commands.txt:  open www.domain.nl username password cd path/to/upload/to/ prompt   How can I now upload the folder where I ran the .bat to the server? It doesn't really matter if upload.bat and commands.txt get uploaded too.


Why can't we see particle tracks in clouds or dense fog?

We can see the tracks of charged particles in a cloud chamber. According to Wikipedia "A cloud chamber consists of a sealed environment containing a supersaturated vapor of water or alcohol". Also, in nature, supersaturation of water vapour can occur in clouds and fog(maybe).   So my question is can these act as a natural particle detector. And if yes, then why can't we see beautiful tracks of charged particles everywhere around us during winters?


How does the human eye knows how far the object from which the photon was reflected?

A photon is emitted from a source and reflected off an object (or objects) until it hits the human eye. The color of the object we see depends on the photon wavelength. If photon travels with constant speed how does the human eye know how far the object from which the photon was reflected?


Is it possible to submit paper to peer-reviewed journal without affiliation?

I have conducted an evaluation on effectiveness of training interventions on elderly clients in a non-government organization. I would like to share the results by submitting paper to peer-reviewed journal. However, owing to policy of the organization, i was told to submit the paper on personal capacity. I would like to know if peer-reviewed journal accept paper from investigator without affiliation?


I can't upvote comments to nominations in the Ask Ubuntu Election!

An  over on Ask Ubuntu. There is currently one nomination with 4 comments (one of which is mine). However, I can't upvote any of the last three - clicking the upvote arrow doesn't do anything.  Popping open the Chrome Inspector reveals nothing - no errors, no network requests, nothing.  I am using Chrome 16.0.912.77 m.


I have a Lenovo laptop, on which I run Ubuntu. I have a pair of bluetooth headphones which I have used with the laptop for some time, without problems. Now I have updated to 20.04, and the headphones do not work: I have checked that i) bluetooth is working, ii) the pulseaudio and pulseaudio-module-blutooth module are installed, iii) bluetooth sees the headphones, and iv) the computer thinks it is sending audio to bluetooth, but the sound actually comes out through the laptop speakers.   systemctl status bluetooth says this: ● bluetooth.service - Bluetooth service      Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)      Active: active (running) since Sat 2020-04-25 13:18:52 BST; 22min ago        Docs: man:bluetoothd(8)    Main PID: 11368 (bluetoothd)      Status: "Running"       Tasks: 1 (limit: 9341)      Memory: 1.8M      CGroup: /system.slice/bluetooth.service              └─11368 /usr/lib/bluetooth/bluetoothd  Apr 25 13:18:52 malebranche bluetoothd[11368]: Bluetooth daemon 5.53 Apr 25 13:18:52 malebranche systemd[1]: Started Bluetooth service. Apr 25 13:18:52 malebranche bluetoothd[11368]: Starting SDP server Apr 25 13:18:52 malebranche bluetoothd[11368]: Bluetooth management interface 1.14 initialized Apr 25 13:18:52 malebranche bluetoothd[11368]: Endpoint registered: sender=:1.173 path=/MediaEndpoint/A2DPSink/sbc Apr 25 13:18:52 malebranche bluetoothd[11368]: Endpoint registered: sender=:1.173 path=/MediaEndpoint/A2DPSource/sbc Apr 25 13:19:45 malebranche bluetoothd[11368]: /org/bluez/hci0/dev_E8_07_BF_04_1B_D0/sep1/fd0: fd(38) ready Apr 25 13:21:35 malebranche bluetoothd[11368]: /org/bluez/hci0/dev_E8_07_BF_04_1B_D0/sep1/fd1: fd(53) ready Apr 25 13:30:53 malebranche bluetoothd[11368]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107) Apr 25 13:31:09 malebranche bluetoothd[11368]: /org/bluez/hci0/dev_E8_07_BF_04_1B_D0/sep1/fd2: fd(53) ready   However, the sound settings panel says that the sound output is through the headset, but when I press the "test" button, sound comes out through the laptop speakers. This happens both when the configuration is A2DP or HSP/HFP  So, the GUI says that all is well, whereas systemctl status says that something is going wrong.


I want to use thread and close my form after some operations.But I get a cross thread error .solutions?       new System.Threading.Thread(s =>         {               Close;   }).Start();


Does Hogwarts have any transfer students?

Were there any students who, unlike Harry and company, began their Wizarding education at another school (perhaps Durmstang or Beauxbatons), then moved to the UK and began attending Hogwarts as a transfer student?


What does it mean for a random number generator to be cryptographically secure?

I've never heard a good answer. I'd like to hear details about:   What are the criteria that make an RNG cryptographically secure? Why must your RNG be cryptographically secure? I.e., what are the consequences if it is not? Examples of secure and insecure RNG's Would a non-pseudorandom generator be cryptographically secure? E.g. one based on radioactive decay of a particle.


About the divergence of $\sum^\infty_{n=1}\frac 1 {n\cdot n^{1/n}}$

There's a rule of thumb that if $a>1$ then the series: $\displaystyle\sum^\infty_{n=1}\frac 1 {n^a}$ converges.  Now the series: $\displaystyle\sum^\infty_{n=1}\frac 1 {n\cdot n^{\frac 1 n}}=\sum^\infty_{n=1}\frac 1 { n^{1+\frac 1 n}}$ diverges (by the limit comparison test) but we have here a series such that the exponenet is larger than $1$ for all $n$.   So my question is why is the rule of thumb doesn't work in this case?


Ubuntu live USB shows blinking cursor on boot

I decided to switch from Windows to Ubuntu finally, but I experience a booting problem. I'm crating a live USB, restart PC and try to boot from USB. When I select to boot from USB, after that I am stacked at black screen with blinking cursor, and I cant do anything. However my laptop's fan is starting to work hard (seems like CPU is doing something) but blinking cursor is still on and nothing changes. My laptop is Toshiba with Intel CPU and Radeon GPU. I have 2 partitions, C as a Windows partition, and D for data, 100/200 GB. I tried Ubuntu both 32/64 (iso downloaded from Ubuntu webpage), I also tried creating live USB with Universal USB and UnetBootin, and 3 different USB drives. I also tried all this steps on my Desktop PC and same happends (AMD CPU and Nvidia GPU). Please help.


I want to open Windows command prompt from C# code and want to execute batch file from it containing few commands. I tried with simple "echo" and "dir" command on trial basis and it is not working. I am neither getting error nor expected output. At least cmd window should open then arguments can be passed.  I tried two options - runnind cmd.exe and running batch file. I am not able to find the mistake I am making in the code. Thanks in advance for the help.       var baseDirectory = "~/App_Data/TestRoot";     ProcessStartInfo processStartInfo = new ProcessStartInfo();     processStartInfo.UseShellExecute = false;     processStartInfo.WorkingDirectory = HttpContext.Current.Server.MapPath(baseDirectory);     processStartInfo.CreateNoWindow = false;     processStartInfo.WindowStyle = ProcessWindowStyle.Maximized;      //running cmd.exe then .bat as argument     processStartInfo.FileName = HttpContext.Current.Server.MapPath(baseDirectory + "/cmd.exe");     processStartInfo.Arguments = HttpContext.Current.Server.MapPath(baseDirectory + "/test.bat");      Process process = Process.Start(processStartInfo);   I changed FileName and removed Arguments property for option second, please refer code below.    processStartInfo.FileName = HttpContext.Current.Server.MapPath(baseDirectory + "/test.bat");   The test.bat file contains just one line echo hello. When I tried to run this directly from CMD and double click, it is working fine in both the cases. I am facing issue only in case of invoking it from C# code.  I am not going to get any result in output stream. That batch file will run a process in background, which won't return any output in stream. This is not duplicate question. Please stop marking this as duplicate.


How can neutral conductive fluids create a magnetic field?

It's a standard textbook answer that currents of molten iron inside the Earth create the Earth's magnetic field.  Matter, on the supermolecular scale, is electrically neutral. So any magnetic field created by the flow of electrons should be cancelled by an equal and opposite field created by the flow of equal numbers of protons in the same direction.  Apparently, due to ionisation effects,  but it's on the order of one Coulomb, so the residual current is on the order of microamps at the surface which is tiny anyway and furthermore would be mostly cancelled by a linearly-slower movement of equal and opposite charges further within the Earth. All together this doesn't seem like it could possibly create a magnet strong enough to deflect solar wind.  I've heard of the geomagnetic dynamo theory, but as I understand it this should suffer cancellation effects too.  How can any theory of geomagnetism work if the Earth is electrically neutral?


How can I import Gerber DXF pattern into blender?

I have DXF files from Gerber which I want to import in Blender for 3D simulation. How can I do that?


You must put some 'source' URIs in your sources.list error

I'm trying to install python imaging library because it's a dependency for some other stuff.  but when I try to do it I get this  $ sudo apt-get build-dep python-imaging        Reading package lists... Done E: You must put some 'source' URIs in your sources.list


How to score two tiled cities in Carcassonne?

The rules in my copy of Carcassonne state that cities that consist of only two tiles are worth only 2 points.   I played another copy of carcassonne (10nth anniversary edition), and the rules don't mention this rule anywhere and so I'm left to assume that each tile would each be worth two points like a normal city.    My question is, which set of rules is correct (most up to date, I guess)?


Find Theta Class of T(n) = T(3n/4) + T(n/6) +5n

I'm not quite sure I can apply the Master Theorem to T(n) = T(3n/4) + T(n/6) + 5n. It is not in the normal form of T(n) = aT(n/b) + f(n). Is it possible to apply the MT to it? If not, can the recurrence be resolved without using Akra Bazzi?


"Cannot connect to remote desktop" with Citrix Receiver

I'm using Ubuntu 18.04 and 13.9.1 Citrix Receiver. Whenever I try to launch .ica file, I'm getting  Cannot connect to "0.0.0.2-Remote Desktop_" No such file or directory. Verify you connection settings and try again.  How can I resolve this issue?


Is it possible to set an html5 file as desktop background on windows 10?

I don't think it can be difficult to understand the question. Thanks in advance


Is this statement an axiom "The probability that a continuous variable exactly equals to a given value is zero"?

This statement "the probability that a continuous variable exactly equals to a given value is zero" is commonly used.  is this an axiom, a property of continuous variable, a rule of integration or a conclusion of measure theory?  please provide a citation of a textbook or formally publication.  the  itself some answer linked is being tagged "unclear sources"


Book about ancient Martian astronauts being the root of modern humanity and time travel

If I recall it correctly, this book has two main characters, both male, one of them big and well muscled. During the novel, they found evidence that the current human race descends from ancient Martian astronauts who traveled to Earth in prehistory, causing the extinction of prehistoric Earth humans, (which explains the Missing Link in human evolution).  Later in the novel the big guy travels back in time (no idea of how or why) to Prehistory.  And near the end of the book, the other main character, during an archaeological field research, finds remains of a human being who lived thousand of years ago, a human with large bones, and who holds an item that could not be made in that era (a gold plaque? A metal rod?)  That's all I can remember. I know it is not from the ABC, Asimov, Bradbury or Clarke.  Thanks in advance.