Post Database upgrade on new instance
Upgrade SQL Server 2000 database to 2008 R2 and enable new features
Being an aspiring Apple developer, I want to get the opinions of the community if it is better to learn C first before moving into Objective-C and ultimately the Cocoa Framework?  My gut says learn C, which will give me a good foundation. Selecting features that do NOT intersect in ArcGIS Desktop? Look and you shall find (a correlation) I have several hundred measurements. Now, I am considering utilizing some kind of software to correlate every measure with every measure. This means that there are thousands of correlations. Among these there should (statistically) be a high correlation, even if the data is completely random (each measure has only about 100 datapoints).  When I find a correlation, how do I include the information about how hard I looked for a correlation, into it?   I am not at a high level in statistics, so please bear with me. Mean or sum of gradients for weight updates in SGD I am using single observation to compute losses using neural network implementation in PyTorch. I am confused in a small detail of SGD. If I compute loss and do loss.backward(), I am accumulating gradients.  If I do this on 100 observations and then run optimizer.step(), should I average out the gradients?  This is what I am doing as of now:  def compute_loss(training_data):   for data in training_data:     loss = F.mse_loss(data[0], data[1])     loss.backward()  def optimize(sample):   optimizer.zero_grad()   compute_loss(sample)   optimizer.step()   Should it be rather:  def compute_loss(training_data):   for data in training_data:     loss = F.mse_loss(data[0], data[1])     loss.backward(torch.Tensor([1.0/len(training_data)])) Remove linux version 3.19.31 Is it possible to construct an (asymmetric) encryption scheme from a signature scheme?  If the signature scheme is deterministic and allows  (e.g. ), then the answer is yes (create a forgery (m, sig); encrypt plaintexts using  with sig as the key; send m in clear to the signer along with ciphertexts, who can then compute sig and decrypt these ciphertexts) .  I am interested in similar reductions for probabilistic signature schemes.  What should the properties of a probabilistic signature scheme be so that it can be used for encryption? Does iTunes work (well) on Ubuntu? I am new to QGIS. I am looking for any plugin or any manual method in QGIS for finding minimum distance (perpendicular distance) from a point which is part of one shapefile to nearest line among many lines which is part of another shapefile.   MMQGIS is not useful for this purpose. How does a USB 2.0 Wall Charger negotiate current output? I'm trying to use a mobile phone charger for my projects, and want a high current output. I have read , however my measurements show something else.  is a link to the Battery Charging Specification Rev. 1.2.  1.4.7 Dedicated Charging Port A Dedicated Charging Port (DCP) is a downstream port on a device that outputs power through a USB connector, but is not capable of enumerating a downstream device. A DCP shall source \$I_{DCP}\$ at an average voltage of \$V_{CHG}\$. A DCP shall short the D+ line to the D- line.   I verified on three different chargers, and all read \$R_{DCP\_DAT}\$ as ~1.5 Ohms. Now, if there is a short between the D+ and D-, there is no detection on the charging port side, and the charger should always output \$I_{DCP}\$ {0.5 - 5.0A max} on the VBUS line - is this correct? I tested the current output of three chargers, but they are all completely different. Charger 1 - Nokia Rated current output: 1.3A Measured current output: 1.34A Charger 2 - Asus Rated current output: 2.0A Measured current output: 0.7A - 1.1A (unstable) Charger 3 - HTC Rated current output: 1A Measurent current output: 0.1A If all these dedicated charging ports have no current negotiation, how come only one charger is showing it's rated output? N.B All three chargers can charge a mobile phone in a reasonable amount of time. When I double-click on a script in Nautilus to run it, the script just opens in my text editor with no option to run it. Using Nautilus, how do I run executable text files and/or scripts? Favicon of Earth Science and Spanish are too similar (exactly the same in HNQ list) The favicon is used in various places around the Stack Exchange (SE) network, to identify the site. Currently, Earth Science has  for main and  for meta. The problem I see is that these are awfully similar (i.e. exactly the same, as demonstrated here) to those for Spanish.SE, which are  for main and  for meta. The larger versions offer slight differences, but it's still hard to tell quickly which is which. Power users on this site, did you guess right, even after some time to think about it? (Answers under spoiler tag).   for main and  for meta.  for main and  for meta.    The first one is Earth Science and the second is Spanish.  Should SE visually distinguish between the two very different sites? How can I prove the convergence of the sequence $b_n=\sqrt[n]{x^n+y^n}$ where $x, y &gt; 0$?  Can I divide it in two cases?  Case 1: $x &gt; y$.  $$ b_n=\sqrt[n]{x^n+y^n} &lt; \sqrt[n]{x^n+x^n} = \sqrt[n]{2 \cdot x^n}=x \cdot \sqrt[n]{2} $$  Case 2: $x &lt; y$.  $$ b_n=\sqrt[n]{x^n+y^n} &lt; \sqrt[n]{y^n+y^n} = \sqrt[n]{2 \cdot y^n}=y \cdot \sqrt[n]{2}$$  Result: Does the sequence converges to $\max(x,y)$? This is what we are taught: $$5^{-2} = \left({\frac{1}{5}}\right)^{2}$$  but I don't understand why we take the inverse of the base when we have a negative exponent.  Can anyone explain why? Do I need to activate the firewall? I only use Ubuntu for a home desktop use? I am a novice at Ubuntu (12.04).  I have it on my netbook which I use mainly for surfing the net, learning python and remote desktop into my work computer.    Do I need to enable a Firewall type software?  If so, what would you suggest, and what are sensible default suggestions? How to check whether a string contains a substring in JavaScript? What is PECS (Producer Extends Consumer Super)? Drupal unexpected "Fatal error: Class name must be a valid object or a string [...] common.inc" on every page "Fatal error: Class name must be a valid object or a string in C:\xampp\htdocs\uc\includes\common.inc on line 7506"  The error above showed up unexpectedly. I was adding a "Long text" field to a content-type, but when I expected to be brought to a saved field configuration page, I instead got a Fatal error on every page.  I had a look at includes\common.inc:  /**  * Get the entity controller class for an entity type.  */ function entity_get_controller($entity_type) {   $controllers = &amp;drupal_static(__FUNCTION__, array());   if (!isset($controllers[$entity_type])) {     $type_info = entity_get_info($entity_type);     $class = $type_info['controller class'];     $controllers[$entity_type] = new $class($entity_type); // Line 7506   }   return $controllers[$entity_type]; }   However, I just don't understand Drupal at a low enough level to understand the relationships between these variables and functions.  I also searched Drupal for people with a similar problem:  (1)  who claims that I have to install the submodule "Relation Endpoints Field", but searching Drupal, .  (2) :  DELETE FROM cache; DELETE FROM cache_filter; DELETE FROM cache_menu; DELETE FROM cache_page; DELETE FROM watchdog;   (via , misleading name, I know.)  Clearing those tables from the cache did not help.  (3) And another user . Because I can't find a module specifically pertaining to old search facets, I went into MySQL system table, and marked the Search module's line with a 0 status, indicating to stop loading the module altogether.  On that same link as (3), one user suggested enabling the , so I dropped all the tables, imported the latest stable .sql, and installed the module, but after recreating the problem (trying to add a field to a content-type), that as well concluded fruitless.  Still, the problem remains  The Fatal error shows up on every page, making the site completely non-functional. Any help or direction would be immensely appreciated. Thank you for looking. I have a raster image (Sentinel-2 band 4) and a shapefile covering the same area than the image (same projection and extension). The shapefile has different polygons which are agricultural fields.   I want to create a new file where, for each polygon, the mean value of the pixels that are inside it is calculated.  Could you please help me to find an appropriate R code for that? Seems that I just proved $2=4$. Solving $x^{x^{x^{.^{.^.}}}}=2\Rightarrow x^2=2\Rightarrow x=\sqrt 2$.  Solving $x^{x^{x^{.^{.^.}}}}=4\Rightarrow x^4=4\Rightarrow x=\sqrt 2$.  Therefore, $\sqrt 2^{\sqrt 2^{\sqrt 2^{.^{.^.}}}}=2$ and $\sqrt 2^{\sqrt 2^{\sqrt 2^{.^{.^.}}}}=4\Rightarrow\bf{2=4}$.  What's happening!? Let $b>0.$ Evaluate $\lim_{n \to \infty} \int^{b}_{0} \frac{\sin nx}{nx}dx$ I'm stumped at the last part of this problem. Could anyone advise, please? Thank you.  Here is  my  proof.   Define  $f: \mathbb{R} \to \mathbb{R}$ by $$ f(x) = \left\{\begin{aligned} &amp;\frac{\sin nx}{nx}&amp;&amp;, x \neq0 \\ &amp;1 &amp;&amp;, x=0 \end{aligned} \right.$$   Hence, $$f(x) = \sum^{\infty}_{k=0}(-1)^k\frac{(nx)^{2k}}{(2k+1)!} , \forall x \in \mathbb{R} \mbox{ and } f \in {\mathscr R[0,b]}.$$  $$\int^{b}_{0} \frac{\sin nx}{nx}dx = \int^{b}_{0}f(x)dx=\sum^{\infty}_{k=0}\int^{b}_{0}(-1)^k\frac{(nx)^{2k}}{(2k+1)!}dx= \sum^{\infty}_{n=0}(-1)^k\frac{(n)^{2k}b^{2k+1}}{(2k+1)(2k+1)!}$$  $$\lim_{n \to \infty} \sum^{\infty}_{k=0}(-1)^k\frac{(n)^{2k}b^{2k+1}}{(2k+1)(2k+1)!}=  ?$$