I'm preparing for my exam and I came across this question:      Let $X_1, X_2, ...,X_n$ be iid with PDF $f(x)=\frac{2x}{\theta^2}$ for $0 \leq x \leq \theta.$ Find the MLE of $\theta$   So this is what I did:   $L(\theta)= \prod\frac{2x_i}{\theta^2}I(0 \leq x \leq \theta)$  $= (2n \bar{x})(\frac{1}{\theta^{2n}})I(0 \leq min (x_i)\leq max(x_i) \leq \theta) $  $=(2n \bar{x})(\frac{1}{\theta^{2n}})I(0 \leq X_{(1)}\leq X_{(n)} \leq \theta)$  In order to find MLE, I need to maximize $L(\theta)$, by choosing a small $\theta$. However, $\theta$ can't be smaller than $ X_n$. Thus I conclude that:  $\hat{\theta}= max(x_i)$  Is my calculation and conclusion correct?


Could you help me, please? What is the right option for the following question:  "Why is Google unique?" "Why Google is unique?"  Thank you very much and wish you a good day!


How to add explanation of terms in equation

How can I add explanation like that in figure in LateX under my equation?


How can I remove the Trash icon from the Unity launcher?

I would like to not show the trash icon at the bottom of the Unity launcher.  Is this possible without having to recompile anything? :P


How do the prime ideals of $\mathbb{Z}_{k}$ look like?

I started studying about localization of rings and i am stuck at a question about $Spec(R_{S})$ where $R$ is a commutative ring and $S$ a multiplicatively closed set, so $R_{S}$ is also known as localization.   So, have to specify how the prime ideals of a certain $R_{S}$ look like. Given is the ring $R = \mathbb{Z}$, some $k\in \mathbb{Z}$, the localization is $\mathbb{Z}_{k}$. Our multiplicatively closed set is $S=\left \{ 1, k, k^{2}, \dots \right \}$ and $\mathbb{Z}_{k} = \left \{ \frac{r}{k^{n}} : r\in \mathbb{Z}, n\in \mathbb{N}  \right \}$.  How to find the prime ideals of $\mathbb{Z}_{k}$? Can anybody help me, please? Thank you very much!


I am using . When I try to start it, I get this issue (it was working the past year, no idea why it suddenly fails - I haven't updated anything):     The provider 'virtualbox' that was requested to back the machine   'homestead' is reporting that it isn't usable on this system. The   reason is shown below:      VirtualBox is complaining that the kernel module is not loaded. Please   run VBoxManage --version or open the VirtualBox GUI to see the error   message which should contain instructions on how to fix this error.   Running VBoxManage --version  returns this:     WARNING: The vboxdrv kernel module is not loaded. Either there is no   module            available for the current kernel (5.3.0-26-generic) or it failed to            load. Please recompile the kernel module and install it by         sudo /sbin/vboxconfig       You will not be able to start VMs until this problem is fixed.       6.0.10r132072   Running sudo /sbin/vboxconfig  returns this:     vboxdrv.sh: Stopping VirtualBox services. vboxdrv.sh: Starting   VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules.   vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what   went wrong.      There were problems setting up VirtualBox.  To re-start the set-up   process, run   /sbin/vboxconfig as root.  If your system is using EFI   Secure Boot you may need to sign the kernel modules (vboxdrv,   vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see   your Linux system's documentation for more information.   The log file is very large. I pasted it .   Any recommendations what I need to do to fix this?


In the finder, files that begin with a . (dot) are not being shown for me.  How can I configure the finder to reveal all files, including ones that begin with a dot?


Insert large initial data to sqlite database in android

My App will contain a big database, so how do I insert the data ? I'd like to do that on the PC and then put it in the app, since its a lot of data.  I've seen the posts  /  /  But I don't understand or im not sure its the best way.


Trying to prove Heisenberg's uncertainty wrong

Heisenberg’s uncertainty principle states that we cannot determine the position and momentum of a particle at a time. I think I have an idea to prove it wrong ( although I believe I must be wrong here) : Taking two electrons,, $e_1$ and $e_2$ in motion, we can determine the precise position of $e_1$ and the precise momentum of $e_2$. Since we know that the momentum of both electrons is mathematically related to each other, we could conclude that the precise momentum that we measured of $e_2$ is the same as that of $e_1$. Hence the position and momentum of $e_1$ is determined at the same time.


Edit Comment- Default post by pushing return key is annoying

Sounds trivial, I know. But you are working on the text of your comment. In a small space. So the natural reaction is to get  a new line by hitting the return key. Wham, your half completed comment is posted AND you have only 5 minutes to get it right. Up goes the heart rate. Would it not be more friendly to have only the Add Comment button do the posting?


Setting SATA HDD spindown time for Western Digital Green drives

I am able to spindown my SATA HDDs by using  sudo hdparm -y /dev/sdc   The state shown by  sudo hdparm -C /dev/sdc   changes from active/idle to standby (and I can hear the HDD spin down).  However, using  sudo hdparm -S5 /dev/sdc   doesn't spin down the drive after 5*5 = 25secs.  Some additional information:   AHCI is enabled. I am using Western Digital Green drives. APM_level = not supported Filesystem is ext4   Edit: This question is not a duplicate to  because it addresses Western Digital Green drives, which will not work with hdparm.


What are the pros and cons of an encrypted Ubuntu installation?

I am awaiting the delivery of a new laptop that has no OS on it. I am going to install 14.04LTS and I am wondering what are the pros and cons of an encrypted Ubuntu installation?  I assume pros are to do with security but I would appreciate finding out how much different it is from an un-encrypted install. Cons I was thinking would it affect the computers performance level but interested would this be noticeable in everyday use.  Computer you mostly be used for browsing, some downloading, LaTeX, and a little gaming (steam).  Some basic spec on my computer are, Intel Haswell i3 2.6ghz chip, 4gb Ram, 120gb mSata SSD(also have a 1tb HDD that I'll use for data).


I have some confusion about the "Reversed effective force" as it appears in the derivation of .  In Goldstein d'Alembert's principle is given as:  $(F-\dot{p}) \cdot \delta r = 0$  First I have sources that seem to be contradictory.    This book, on page 8, indicates that "reversed effective forces" are not real forces.  However, this book indicates otherwise.    On page 345, this book indicates "this is the force exerted by the moving body to resist the change in its state.  I think that the former source is probably correct, but I lack good intuition of D'Alembert's principle. For reference the reversed effective force is represented by $-ma$ or $-\dot{p}$. My best guess as to what the reversed effective force is that it it the force that is required to appear if you view the system from the perspective of the accelerating body.  Is this correct?  If it is then how is d'Alembert's principle applicable to inertial systems?


What is a suitable frequency for 15V/3A DC motor? Is there any effect on the motor when the frequency is changing? I am confused with this until now and the Internet shows a lot of theory that confuses me.


I've got `PDOException: SQLSTATE[HY000] [2002] No such file or directory` when using drush

I installed Drush for the first time (so it may be a configuration error) and I'm trying to update to the latest core version of Drupal.  Drush is giving me this error - I'm on an OSX box.  dev5:clientnamedirectory my.name$ drush pm-update projects drupal-7.25
Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000] [2002] No such file or directory in drupal_get_installed_schema_version() (line 155 of /Users/my.name/Sites/proface/includes/install.inc).

Additional

PDOException: SQLSTATE[HY000] [2002] No such file or directory in system_list() (line 165 of /Users/my.name/Sites/clientnamedirectory/includes/module.inc).

  Drush command terminated abnormally due to an unrecoverable error.


HTML encoding for spanish, working locally but not on the server

I am adding spanish as a language and I'm having problems with the encoding.  All the spanish characters work perfectly locally (this makes it harder to debug):    But on the server they look this way:    I'm pretty puzzled, you can see the beta version .  My doctype and charset are the following:  <!DOCTYPE html> <html> <head>     <meta charset="UTF-8"> ...   Which should be correct as far as I understand.  I am using gettext for translations.  I checked and the declared encoding of the .po file is UTF-8.  I also set bind_textdomain_codeset to UTF-8.  I'm not sure where the problem is actually relying.


p,q should be different,but if I let p = q,and encrypt the plaintext,then I can't decrypt it,so can decrypt it?


Usually people want to speed dd up but I want to slow it down, because I think there is something fishy going on with its speed.  sudo dd if=hannah-montana-linux-amd64.iso of=/dev/sdb1 bs=512k      5988+0 records in      5988+0 records out      3139436544 bytes (3.1 GB, 2.9 GiB) copied, 8.703 s, 361 MB/s   This is a USB 2.0 stick. How is this even posible? Did something go wrong?  Edit: This is not a duplicate because my question specifically asks whether the execution was successful or something went wrong. Additionally, if something did indeed go wrong I would like to know how to prevent this and how to use the command correctly.


Python embedded in CPP: how to get data back to CPP

While working on a C++ project, I was looking for a third party library for something that is not my core business. I found a really good library, doing exactly what's needed, but it is written in Python. I decided to experiment with embedding Python code in C++, using the Boost.Python library.  The C++ code looks something like this:  #include <string> #include <iostream> #include <boost/python.hpp>  using namespace boost::python;  int main(int, char **)  {     Py_Initialize();      try      {         object module((handle<>(borrowed(PyImport_AddModule("__main__")))));          object name_space = module.attr("__dict__");         object ignored = exec("from myModule import MyFunc\n"                           "MyFunc(\"some_arg\")\n",                           name_space);          std::string res = extract<std::string>(name_space["result"]);     }      catch (error_already_set)      {         PyErr_Print();     }      Py_Finalize();     return 0; }   A (very) simplified version of the Python code looks like this:  import thirdparty  def MyFunc(some_arg):     result = thirdparty.go()     print result   Now the problem is this:  'MyFunc' executes fine, i can see the print of 'result'. What i cannot do is read 'result' back from the C++ code. The extract command never finds 'result' in any namespace. I tried defining 'result' as a global, i even tried returning a tuple, but i cannot get it to work.


How can I get a Terminal-here button added to Finder toolbar?

I've seen Automator and AppleScripts that open a terminal to the path of the file currently selected in a Finder window.  I think it would be more useful to me to simply have a button on the Finder toolbar that opens a terminal window to the current directory listed in the Finder.  How can I get a Terminal-here button added to the Finder toolbar?


Using k-fold cross-validation for time-series model selection

Question: I want to be sure of something, is the use of k-fold cross-validation with time series is straightforward, or does one need to pay special attention before using it?   Background: I'm modeling a time series of 6 year (with semi-markov chain), with a data sample every 5 min. To compare several models, I'm using a 6-fold cross-validation by separating the data in 6 year, so my training sets (to calculate the parameters) have a length of 5 years, and the test sets have a length of 1 year. I'm not taking into account the time order, so my different sets are :   fold 1 : training [1 2 3 4 5], test [6] fold 2 : training [1 2 3 4 6], test [5] fold 3 : training [1 2 3 5 6], test [4] fold 4 : training [1 2 4 5 6], test [3] fold 5 : training [1 3 4 5 6], test [2] fold 6 : training [2 3 4 5 6], test [1].   I'm making the hypothesis that each year are independent from each other. How can I verify that? Is there any reference showing the applicability of k-fold cross-validation with time series.


In my java project, I have a private HashMap field (eggs is an enum, bacon is an object that has an ArrayList field). So it's something like:      class Foo {        private HashMap<Eggs, Bacon> breakfast;         foo() {          this.breakfast = new HashMap<Eggs, Bacon>();}         void setValues(int x) {           ArrayList<Integer> temp;           Bacon b;           for(int i = 0; i < x; i++) {              temp.add(i);}           b = new Bacon(temp);           this.breakfast.put(Eggs.Scrambled, b);}     }   Essentially, even if I make sure to call setValues first in my testClass, a call to breakfast.get() or breakfast.size() will always result in a NullPointerException. In my actual code I have several enum to object mappings in for loops. Using the debugger, I found that the values were set but immediately vanished at the end of each loop. I have no idea why my HashMap field isn't saving the values that get put into it. Even when I changed the field to an ArrayList and set or added values, I'd still get the same nullpointer/outofbounds exception  I can post my actual code if needed but I was wondering if anyone had any insight to this. I'm at my wit's end


Why do my photos appear more in focus when I use a long exposure?

Why does an unfocused lens still give a focused view with a longer exposure? For example, I took an out-of-focus photo with a ¹⁄₁₀th second exposure (at f/7.1), but when I change to 10 seconds (at f/22), it seems to be in focus.  Why is this?


Write a string with binary mode vs text mode

What's the difference with following codes:  Code #1: Using Binary Mode  int main() {     std::fstream w("D:\\file.txt", std::ios::out | std::ios::binary);      char *p = "Hello World\r\nHi";      w.write(p, strlen(p));      // Close the file     w.close(); }   Code #2: Using Text Mode  int main() {     std::fstream w("D:\\file.txt", std::ios::out);      char *p = "Hello World\r\nHi";      w.write(p, strlen(p));      // Close the file     w.close(); }   Does it matter whether I use binary or text mode in case of writing strings like this?


Someone once mentioned to me that it's impossible to throw a tennis racquet (or similarly shaped object) into the air, perpendicularly to the string plane, in such a way that it won't turn.  What is this effect, or was he talking rubbish?


Skype appears to have done something to prevent stopping it from auto-running on startup. There is no longer a setting to prevent it from starting on boot. The settings that remain mean I can hide it from the tray (but they still run it in the background -- it's got 4 processes in task manager: Skype > SkypeBridge, Runtime Broker, SkypeApp, Microsoft Skype).  It no longer appears in "start-up" tab of task manager either.  I only use it occassionally, but it's a pain logging out because then one has to find one's password making quickly contacting someone a pretty rubbish UX.  Are Microsoft really that evil, or did they move the setting somewhere and I've missed it? I just want to use Skype when I want to run it, and not have Microsoft control when it gets run, is that asking too much? Is the only route now to delete it and force my elderly relatives to use something else?  (Are there other apps they're shadow running?)  Windows 10, Skype version 8.42.0.60


Suggested Antivirus for Ubuntu 14.04 server?

I have Ubuntu 14.04 server installed in my office. We're treating it as a local server. I have downloaded all our stuff from our dedicated hosting server (as server have viruses) to my local Ubuntu server.   So, as all the files are infected do i use any antivirus to clean all the files ??  Means how can i get rid of the viruses ?? If yes please suggest me some free antivirus for the same..  Thanks


Prove that $\frac{x}{e^x}$ tends to zero as $x \to \infty $

As the title states, I want to prove  $$\lim_{x \to \infty} \frac{x}{e^x} =0$$  Clearly, L'Hopital's rule easily solves this. However, I'm curious to see if there's another way to prove it, without involving some differential or integral calculus (that is, by algebraic means).  What I'm really interested about, is to prove that  $$\lim_{x \to \infty} \frac{x}{e^{x^2}}=0 $$ I assume that proving the first limit will provide a way to prove the second one, using the squeeze method. If you know a direct way to prove the second limit, it will be more than perfect.   Thanks in advance!


Dynamic configuration of monitors (Debian, Intel i915)

I have an Asus EEE PC 701 laptop with 7" 800x480 screen running Debian Jessie with Openbox as a WM. As I try to maximally use all the capabilities of this laptop, I'm searching for a way to get a dynamically-configurable dual monitor setup, so that when I feel limited by this laptop's small screen, I can just attach an external monitor and it will work. However, there seems to be little or no information about it, keeping in mind that I have integrated Intel GPU with one VGA output. The question is - what should I install&&configure in order to just plug in a monitor in my laptop and instantly have my workspace extended?


How do i get equation with description in square box?

I was struck in getting equation with its description in separate square box or oval or in circle.


Closed set as a countable intersection of open sets

Let's take a metric space. Then any closed set can be written as a countable intersection of open sets.  How can I prove that?


Why do damaged hard drives freeze the entire system?

Why does a hard drive which is known to have bad blocks (verified in HDTune and HDDScan), freezes down my entire system?  It is not the OS drive; it is attached to another SATA port, and I'm trying to copy files from it to another healthy drive.  I have experienced this issue with almost every damaged hard drive and every Windows PC.  I would expect to see freezing only for the program I'm using to copy the files (Windows Explorer, etc.), but instead my entire PC gets jerky, and I cannot browse web or watch movies while copying files from the damaged drive.  The long story.  I live in a rural area where there are problems with electricity (brownouts, etc.). I myself am using a UPS and my own hard drives are perfectly fine. But my neighbors often ask for help with their PC issues, and I often find that their hard drives are damaged, most probably because of electricity issues. Of course, after replacing the damaged drive I suggest my neighbors to buy an UPS.  I have always wondered, why my PC freezes entirely while retrieving data from damaged drives. Is it a hardware issue? Is it caused by the way OS reads data? Is it something Windows-specific, and I won't experience it on *nix?  Anyway, from now on I will use some dedicated software (such as Roadkil's Unstoppable Copier) instead of Windows Explorer, although I'm not sure if this will work differently, without freezing entire PC.  It is not a request for help, it is more for educational purposes, so I know why the things work that way.


Windows 10 cannot change file associations

I recently bought a new Windows 10 computer. Installation of my apps without a hitch.  I would like to the default file associations. For example I would like .GIF to open with Adobe Fireworks and .JPG or .PNG files to open with Photoshop.  Wherever ("File explorer >> Open with" or in the Settings >> apps >> Default apps) I change something it has NO EFFECT when I double click on a file with the extension.  Does Windows write a log file somewhere about what goes wrong? I've searched the Event Viewer but found nothing. Perhaps I am searching for the wrong thing?  So far I've tried:   File Explorer >> "Open with". That only on the one time I click on the menu. Afterwards the default app Photos is active again Settings >> Apps >> Default apps by file type or app


NullReferenceException until tile is spawned

I have a tile and tile has enemies spawn positions, and spawner script in it. Everything works fine when tile is spawned, my ray hits the collider in tile and enemies get spawned, but my spawn script is in tile my ray script is in my player so im reaching from my PlayerMove script to spawner script, but until my tile is spawned i get this error NullReferenceException: Object reference not set to an instance of an object because tile is not spawned yet after its spawned error stops, but after tile is deleted it starts again how can i get rid of this error.  PlayerScript  private Spawner spawner; private RaycastHit hit;  private void Update() {   spawner = GameObject.FindGameObjectWithTag("Spawner").GetComponent<Spawner>();   DrawRay(); }  private void DrawRay() {      Ray ray = Camera.main.ViewportPointToRay(new Vector3(0.5f, 0.5f, 0));      if(Physics.Raycast(ray,out hit))     {         if(hit.collider.tag == "SpawnerCollider")         {             if(hit.distance < 5)             {                 Destroy(hit.collider);                 spawner.Spawn();             }         }     } }   SpawnerScript  public Transform[] spawnPos; public GameObject fireBall;  public void Spawn() {     for (int i = 0; i < spawnPos.Length; i++)     {         Instantiate(fireBall, spawnPos[i].position, Quaternion.identity);     } }


puzzled in one part of speech known as "adverb"

Difference between hard and hardly? Is hardly an adverb? [Duplicate]


On a Micro 4/3s camera with a Speedbooster adapter, does a 50mm lens still effectively become a 100mm lens?

I'm admittedly rather new to the world of interchangeable lenses, and have just purchased a Panasonic GH4 and adapted it to a full frame lens with a Metabones speed-booster. I've been using a 50mm lens, under the impression that what I was seeing through the viewfinder was truly a 50mm shot. I have since read that a Micro 4/3s sensor shoots everything effectively 2x the focal length of the lens, so is my 50mm truly acting as a 100mm lens, despite my adapter? I apologize for my ignorance, and appreciate any light you can shed.


How can I get an accurate representation of a function/lambda?

I've been attempting to learn python lately, and I decided I'd like a string representation of a lambda. I tried doing what seemed obvious at the time:  quux = lambda x: 1-abs(x) print(quux) #<function <lambda> at 0xfacefedaf>   This was almost as helpful as JavaScript's function foo(){ <native code> }.  What I was really hoping for was something that showed what the function actually did, such as:  <function <lambda>: x:1-abs(x)>   or simply the original  x:1-abs(x)   Python doesn't seem to have any uneval function, and I'm not really sure where to look through the various lifesaving modules for something like it.  Other stuff I tried:  print(repr(quux)) print(str(quux))


Python idiom to chain (flatten) an infinite iterable of finite iterables?

Suppose we have an iterator (an infinite one) that returns lists (or finite iterators), for example one returned by infinite = itertools.cycle([[1,2,3]])  What is a good Python idiom to get an iterator (obviously infinite) that will return each of the elements from the first iterator, then each from the second one, etc. In the example above it would return 1,2,3,1,2,3,.... The iterator is infinite, so itertools.chain(*infinite) will not work. Related


Supremum of a bounded sequence is accumulation point.

Let $(a_n)_{n \in \mathbb{N}}$ be a bounded sequence in $\mathbb{R}$. Denote by $L := \sup\{a_n : n \in \mathbb{N}\}$ the Supremum. Suppose that $L \notin \{a_n : n \in \mathbb{N}\}$. How can I show that $L$ is an accumulation point,i.e., I have to show hat there is a subsequence $(a_{n_{k}})_{k \in \mathbb{N}}$ of $(a_n)_{n \in \mathbb{N}}$ such that $$ \lim\limits_{k \to \infty} a_{n_{k}} = L. $$ In other words $$ \limsup\limits_{n \to \infty} a_n = \sup\{a_n : n \in \mathbb{N}\}. $$ My idea was to give a proof by contradiction. But this seems hopeless. First I have to show that for $\varepsilon > 0$ there exist a $m \in \mathbb{N}$ such that for all $k > m$ we have $$ |a_{n_{k}} - L| < \varepsilon. $$ This would show me that there exists an infinite set of terms of $(a_n)_{n \in \mathbb{N}}$ which satisfy $|a_n - L| < \varepsilon$. How can I prove this? Then I think it is not difficult to construct a subsequence which converges to $L$. I only need help for the first part.


I have an array with objects inside of it.  var obj1 = [  user1 = {   "name" : "John",   "age" : 24,   "city" : "London"  },  user2 = {   "name" : "Jane",   "age" : 22,   "city" : "New York",  } ];   Now what I would like to do is to get name of the objects inside the array so in this case it would be "user1" and "user2".  FIRST TRY  At first I tried doing it like this:  for(i = 0; i < obj1.length; i++){  document.getElementById('app').innerHTML += obj1[i]; }   And the outcome is [object Object][object Object]  SECOND TRY   So then I tried to use JSON.strigify on the objects, but then it returns the whole object and not it's name as I would like to:  for(i = 0; i < obj1.length; i++){  document.getElementById('app').innerHTML += JSON.stringify(obj1[i]); }   Outcome:  {"name":"John","age":24,"city":"London"}{"name":"Jane","age":22,"city":"New York"}   QUESTION  Is it possible, and if yes how should I go about displaying names of all of the objects inside of an array, but not displaying their content. Desired outcome:  user1 user2


Missing .dll file prevents MiKTeX package manager from opening

I recently installed MiKTeX 2.9 on Windows 7 (64-bit; single-user installation), but shortly after I installed it, the Package Manager stopped opening.  When I try to open it, I get the following error message:  The program can't start because MSVCP120.dll is missing from your computer.  Try reinstalling the program to fix this problem.  (When I try to open "Settings", I get the same message.  The updater opens correctly.)  When I look at the MiKTeX binaries folder, I find msvcp100.dll and msvcr100.dll, but not msvcp120.dll.  Where can I find the correct version of this file?


In early alpha I remember Minecraft videos showing slimes deep underground. I think you would attack them then they split into several smaller slimes. But I've never found a slime for myself. In what conditions can you find slimes? Are they definitely still in Minecraft?


Invoking Java main method with parameters from Eclipse

During development (and for debugging) it is very useful to run a Java class' public static void main(String[] argv)  method directly from inside Eclipse (using the Run As context menu).  Is there a similarily quick way to specify command line parameters for the run? What I do now is go to the "Run Dialog", click through the various settings to the tab where I can specify VM and program arguments and enter them there.  Too many steps, plus I do not want to mix the more permanent runtime configuration settings with the one-off invokation parameters. What I want instead is to check a box somewhere (or have a separate menu item "Run as Java application with command line") and then be prompted for the commandline every time (with a nice history).


Is it possible to animate the speed of a strip?

I want to accelerate the speed of a video and decelerate some seconds before it ends. I wonder if it's possible to do it into the video editing. I know how to increase the speed of a strip but, what I need is a trasition between normal speed and fast speed.


Determining likely relationship based upon autosomal DNA shared cM

Given two tests that share some cM of autosomal DNA, how can I easily find the predicted relationships that such shared cM would suggest? For example, a 2,200 cM match suggests it could be either: grandparent, half-sibling, or grandchild.


Unbiased estimator for geometric distribution parameter p

I believe that the MLE of parameter $p$ in the geometric distribution, $\hat p = 1/(\bar x +1)$, is an unbiased estimator for $p$ and would like to prove it. So far, I have:  $E[\bar x + 1] = E[\bar x] + 1 = \frac{1}{p} - 1 + 1 = \frac{1}{p}$  I can see that the relationship is likely there, but I don't know how to work with the $(\bar x + 1)$ being in the denominator.


Revision history suggests that I edited the post body, whereas I didn't

I was doing some re-tagging and I noticed that the automatically generated revision comment says that I edited the post body where I only edited the tags.


What will happened if two dragons of different color try to have a baby?

In all d&d books that I had on my hand, nothing mention the progeniture of two dragon of different colors (red and green, silver and gold or even red and gold). Is something say that dragon can only reproduce with a dragon of the same color?  If not, the baby will be only of one color? or an hybrid of the two color? A dragon with no power?


Chromium does not start up on Ubuntu 14.04 LTS

I recently (two weeks ago) installed Chromium in Ubuntu 14.04 LTS using software center. I normally use MATE desktop, installed alongside the default Unity desktop.  After I launch Chromium, the browser stays open for few seconds and then closes.  There was an update few days ago that I hoped would solve the issue, however it did not.  I tried to launch the browser from console. Below is the output I got:  $ chromium-browser Using PPAPI flash.  --ppapi-flash-path=/usr/lib/adobe-flashplugin/libpepflashplayer.so --ppapi-flash-version= Received signal 11 SEGV_MAPERR 000000000010 #0 0x7fa588ef0d47 base::debug::StackTrace::StackTrace() #1 0x7fa588ef1133 <unknown> #2 0x7fa588bfe330 <unknown> #3 0x55cbaeef49f8 <unknown> #4 0x55cbaeef5fb1 <unknown> #5 0x55cbaeef6633 <unknown> #6 0x55cbaeef6bc7 <unknown> #7 0x7fa588f65b91 <unknown> #8 0x7fa588ef2269 base::debug::TaskAnnotator::RunTask() #9 0x7fa588f19040 base::MessageLoop::RunTask() #10 0x7fa588f1a97d base::MessageLoop::DeferOrRunPendingTask() #11 0x7fa588f1b79d <unknown> #12 0x7fa588f1c250 base::MessagePumpLibevent::Run() #13 0x7fa588f18422 base::MessageLoop::RunHandler() #14 0x7fa588f40df8 base::RunLoop::Run() #15 0x7fa588f6ad56 base::Thread::ThreadMain() #16 0x7fa588f65a96 <unknown> #17 0x7fa588bf6184 start_thread #18 0x7fa57f045ffd clone   r8: 0000000000000000  r9: 0000000000000003 r10: 00007fa511ff9d18 r11: 00007fa57f0d2110  r12: 00007fa511ff9fe0 r13: 0000000000000008 r14: 0000000000000008 r15: 00007fa511ff9fe0   di: 0000000000000000  si: 00007fa511ff9fe0  bp: 0000000000000000  bx: 00007fa511ffa0f0   dx: 00007fa57fb313d8  ax: 00007fa57fb313d8  cx: 0000000000000000  sp: 00007fa511ff9f90   ip: 000055cbaeef49f8 efl: 0000000000010206 cgf: 0000000000000033 erf: 0000000000000004  trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000010 [end of stack trace] Calling _exit(1). Core file will not be generated.


I am using ubuntu 10.10 version and want to upgrade to a new version but my update manager said it is not possible what should I do? please help me. I  had tried many times to upgrade it but it always give error about Internet connection.


I heard that moving object is time passed slower than stopped object is. Then, if stopped object passed 1 sec, does how much time passed 'person A' rode on light?  Thanks in advance


Constructive questions closed as not constructive

I am a casual user of stack overflow and frequently end up here from Google searches.  Recently it seems that most of the questions I stumble upon have been 'closed as not constructive' by moderators despite protesting users who have heavily up-voted a 'this question helped me allot' comment.  (See  and  for examples).   I think I speak for a large part of the SO user community when I say that 'opinion' questions like:   What is the best library for doing FOO What are things to avoid when coding in language BAR What are some good reference materials to learn library FOOBAR   are very helpful, perhaps the most helpful questions on stack overflow.  Choosing a technology/library happens early in the development pipeline and is expensive to fix if you get it wrong.    I would love to see SO change it's policy on this type of question, because I deeply appreciate the advice the wisdom of the intelligent user community.  It has personally saved me countless hours and I hope that this can continue in the future.


Capacity of an orbital to hold muons and electrons

In a normal atom, there is a limit of 2 electrons per obital due to the Pauli-Exclusion principle. I have seen people talking about replacing an electron with a muon, but since muons and electrons are distinguishable, would this then allow 2 electrons and 2 muons to occupy the same orbital, or would only 2 leptons be allowed to have the same set of quantum numbers?  For example, would a Beryllium atom with 2 muons and 2 electrons use only the 1S orbital, or would the 2S be used as well? Spectroscopic methods should be able to distinguish between the two.


So I created React Todo App with an Object as a Todo List. Removing an item by key works with delete, but brings me back boolean instead of Object with the rest of the items.    deleteTodo = (id) => { const { todos } = this.state; this.setState({   todos: delete todos[id], });   I get this in console:   Warning: Failed prop type: Invalid prop `todos` of type `boolean` supplied to `TodoList`, expected an object.


How to open all tabs in Web browser on mobile (iOS) quickly on macOS?

I've tried handoff/ continuity, which allows me to the open the existing tab for a browser app I have open. But if I have accumulated 10 tabs in the browser, this process can take a few minutes of back and forth between the iPhone and macOS. Is there a quicker way to open all the browsers I have open on my mobile? It can be any browser, I am not picky. Thanks


Skyrim Dragonborn DLC: black book glitches

Can somebody help me? I know it's an old game, but I have opened the black books after collecting them all, in order to change my skills. Now I'm back in Skyrim and I keep taking damage, as if I'm in the dark area in the book. I can't revert to another save as it's all autosaves of when the glitch happened.   I don't want to lose my character so any help is appreciated!


I am trying to make a function which takes a table (list of lists) to sort. The function should sort the table so that a specified row is in increasing order. All other rows are sorted according to this specified row.  For example: I have a table:  [['A','B','C'], [3,4,2]]   and I want to sort this according to the second row. I'm expecting my function to return the sorted table:  [['C','A','B'], [2,3,4]]   This is my attempt:  def sort2DListByList(table, sortIndex):     # Take a 2D list and an index of the table row to sort by and return the     #sorted table.     # Sort list in increasing order.     sortList = table[sortIndex]     # newTable will be populated with ordered values.     # Create newTable full of zeros.     newTable = [[0]*len(table[0])]*len(table)     maximum = max(sortList)     for i in range(len(sortList)):         minimum = min(sortList)         minIndex = sortList.index(minimum)         for j in range(len(table)):             newTable[j][i] = table[j][minIndex]         # Fill the minimum with a maximum so it is not found again.         sortList[minIndex] = maximum+1     return newTable  table = [['A','B','C'],[3,4,2]] sortedTable = sort2DListByList(table, 1)  print(sortedTable)   When I run this code I get an output  [[2, 3, 4], [2, 3, 4]]   I cannot understand why the letters in the first row did not get copied over to the new table. This must be a simple error but I just can't see it.


The twin paradox and positively curved space

I'm reading about the twin paradox in special relativity - if there are two identical twins, one of whom who sets off in a high speed rocket to a planet, and then heads back, will find the twin who remained on Earth to have aged comparatively more due to time dilation. However, from the perspective of the travelling twin, it was the Earth that was moving and so the Earth twin should be the younger one. The 'paradox' can be resolved by realising that the travelling twin does not remain in an inertial frame for all time, since he has to turn around at the planet and hence accelerate.   Now, there are three possible curvatures the universe could have - positive, negative, or flat. As far as I'm aware, we're quite sure it's flat. However, if it was positive, does this mean that the travelling twin, if he travelled long enough, would loop back to Earth eventually? And therefore he would be able to return to Earth without having changed inertial reference frame, and then we would actually have a paradox?  I'm thinking perhaps that travelling through curved space itself constitutes acceleration, since in a way you're changing direction? In which case the travelling twin wouldn't remain in an inertial reference frame and we could solve the 'paradox' as before?


Lines too long due to text inside custom command not being hyphenated

I'm having some problems with lines that turn out to be too long. There are correct hyphenation rules for the word but they aren't being applied.  Let me first give the sentence that is too long:  An isomorphism that maps a graph to itself is called an \concept{automorphism}.   The command concept is defined as follows  \newcommand{\concept}[1]{\index{#1}\marginpar{\raggedright\textbf{#1}}\textbf{#1}}   The problem seems to be that words inside \concept aren't being hyphenated. How can I fix this? If I type   An isomorphism that maps a graph to itself is called an \textbf{automorphism}.   then the word is hyphenated perfectly. So I would now like to have the command \concept behave the same way, i.e. allow concepts to be hyphenated according to the standard rules.


In , it states in the 3rd paragraph of the background information section that, "As stored material [for replicating replacement mines] begins to run out the mines have a zero-point extraction system for matter replenishment." It does not, however, explain what a zero-point extraction system is. Is there any explanation for what this is, or how it works, and has it ever been seen elsewhere in the Star Trek universe?


How to search recursively within several levels of embedded tar tgz files?

Can somebody help me to figure out a command to find a file recursively that is embedded in a tgz file which is within another tgz files recursively:  MainFile.tgz → SubFile1.tgz → SubFile2.tgz → SubFile3.tgz → abc.txt  My goal is to be able to list abc.txt without extracting MainFile.tgz nor SubFileX.tgz.  The command below is only listing the first level of files (i.e. SubFile.tgz); therefore the grep command cannot find abc.txt in the list:  tar tvf MainFile.tgz | grep abc


I noticed that voting for  is not possible:        For posts that have  voting button are not even visible:        What is the reason to display voting buttons for regular locked posts if voting is not possible at all, why no to hide it as done for historical locked posts?


In the acknowledgments of my thesis, after a long list of names, I (also) want to thank  "[...] all other supportive people whom I have inevitably left out".  Does this look appropriate? In particular, I'm concerned about the usage of "whom" vs. "who". I tried to google the phrase "who(m) I have left out", but both versions yield millions of hits. [about 10:1 who vs. whom].  Note that I'm no native speaker, but write English by feeling.


Does difficulty affect Keywarden spawn chance?

Does the spawn chance of the keywardens in acts 1-4 depend on the difficulty, e.g. they spawn only if difficulty >= Torment I? Additionally, does a higher difficulty yield higher spawn chances? If so, what are the chances in numbers?


Why isn't Higgs coupling considered a fifth fundamental force?

When I first learned about the four fundamental forces of nature, I assumed that they were just the only four kind of interactions there were. But after learning a little field theory, there are many other kinds of couplings, even in the standard model. So why isn't the Yukawa Higgs coupling considered a fifth fundamental force? To be a fundamental force, does there need to be a gauge boson mediating it?


Still can't change my bibliography heading title!

I have tried to look around to see, if I could change my bibliography title, but its name is still in Danish. In Danish, the word for 'References' is 'Litteratur', but I want to change the name to 'References'. I have tried to renew the command \refname but nothing happens. Do you know how to fix it? I'm just using \cite{something} and then writing my references myself.  \documentclass[a4paper, 12pt]{extarticle}  \usepackage[T1]{fontenc} \usepackage[utf8x]{inputenc} \usepackage[english, danish]{babel} \usepackage{fancyhdr} \usepackage[dvipsnames]{xcolor} \usepackage{mathtools} \usepackage{graphicx} \usepackage{amssymb} \usepackage{titlesec} \usepackage[left=0.5in, right=0.5in, top=0.8in, bottom=0.8in]{geometry} \usepackage{lipsum} \usepackage[breaklinks, colorlinks,linkcolor=NavyBlue, citecolor=NavyBlue, urlcolor=Blue]{hyperref} \usepackage[utf8x]{inputenc} \usepackage{titlesec} \usepackage{fix-cm} \usepackage{titletoc} \usepackage{tocloft} \usepackage{setspace} \usepackage[all]{hypcap} \usepackage{tikz, pgfplots} \usetikzlibrary{calc} \usepackage{tkz-euclide} \usetkzobj{all} \usetikzlibrary{positioning} \usetikzlibrary{arrows.meta} \usetikzlibrary{arrows} \usepackage{etoolbox}  \renewcommand\refname{References}  \begin{document} \begin{thebibliography}{depth,9} \bibitem{Oversigtsnote 1} \textit{Oversigts note 1} skrevet af \textit{HH} \bibitem{Oversigtsnote 2} \textit{Oversigts note 2} skrevet af \textit{HH} \bibitem{Oversigtsnote 3} \textit{Oversigts note 3} skrevet af \textit{HH} \end{thebibliography} \end{document}   This is my result:


What to do when more than one close reason applies

I frequently come across questions in the Close Vote Review where it seems that more than one, if not several close reasons apply. I'm wondering if there is a prescribed method for addressing these; which close reasons should take precedence?  Simply put: If a question is asked that is unclear, too broad, off-topic because they haven't included valid code to reproduce their issue, and off-topic because they haven't demonstrated an understanding of the problem being solved what is the correct response?


Can someone show me step-by-step how to diagonalize this matrix? I'm trying to teach myself differential equations + linear algebra, but I'm stumped on how to do this. I'd really appreciate if someone would take the time to do this with me!   $\begin{bmatrix} 1 & 2 & 0 \\ 2 & 1 & 0 \\ 0 & 0 & -3 \\ \end{bmatrix}$


Can anyone help me debug the code below? As written, it produces an Incomplete \iffalse error on the \xdef line on the final iteration. The problem is somehow related to the \phantom macro, as \def\c{0} works fine. I know there are a couple of conditional tests inside \phantom, but I'm not enough of a TeX wizard to figure out what is colliding with what.  \documentclass{article} \usepackage{tikz,xstring}  \begin{document}  \def\result{} \foreach \i in {1,...,6}{ \StrChar{12345}{\i}[\c] \ifx\c\empty \def\c{\phantom{0}} \fi \xdef\result{\result\c}}   \stop


ArcGIS for Javascript : Locate Widget Activate Popup for Layers X > Z?

Using ArcGIS for Javascript I have a map with a City Council District feature layer. I would like for the user to enter their address in the 'Address Finder' / Locate Widget (that's what it's called in Flex) and when the dot appears on the map I want the City Council District Layer popups to be triggered.  The popup currently says, "You are in [Councilor]'s district, number [Distr#]."  So if they type in their address, "1234 Sesame Street" and that is in district #3 which is Councilor Smith, what I want to happen is to see the address finder drop the dot on the map where the address is and have a popup say, "You are in Smith's district, number 3."  Is this possible and if so, how?  Update: 08APR14  I am including my working code as I progress. When I get this working I will post it as an answer.  The following code will drop a pop-up window that is empty onto the screen. Now I am trying to figure out how to programmatically "click" on the screen at the center of the GeoCoder's search results.  require     (         [             "esri/map",             "esri/dijit/Popup",             "esri/layers/FeatureLayer",             "dojo/dom-class",             "dojo/dom-construct",             "dojo/on",             "dojox/charting/themes/Dollar",             "esri/dijit/Geocoder",             "esri/geometry/Extent",             "esri/SpatialReference",             "dojo/domReady!"         ],         function( Map, Popup, FeatureLayer, domClass, domConstruct, on, theme, Geocoder, Extent, SpatialReference )         {             var popup = Popup( { titleInBody: false }, domConstruct.create("div") );              var locatorURL = "http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer";              var map = new Map("map", { basemap: "gray", center: [-95.989658, 36.155520], zoom: 13, infoWindow: popup });              domClass.add( map.infoWindow.domNode, "myTheme" );              var featureLayer = new FeatureLayer             (                 "http://maps.cityoftulsa.org/gis/rest/services/StarterMaps/extCouncilDistricts/MapServer/0",                 { mode: FeatureLayer.MODE_ONDEMAND, opacity: 0.4, outFields: ["*"]  }             );              map.addLayer(featureLayer);              // XMin: -10779302.92 YMin: 4210801.07 XMax: -10504129.62 YMax: 4394249.94             // Taken from: http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=map_currentextent             var extCityOfTulsa = new Extent             (                 -10779302.92,                 4210801.07,                 -10504129.62,                 4394249.94,                 new SpatialReference                 (                     { wkid:3857 }                 )             );              var myGeocoder = [ { url: locatorURL, name: "Address Locator", singleLineFieldName: "Single Line Input", searchExtent: extCityOfTulsa } ];              var geocoder = new Geocoder             (                 {                     map: map,                     geocoderMenu: true,                     value: "175 East 2nd Street",                     maxLocations: 10,                     autoNavigate: false,                     autoComplete: true,                     arcgisGeocoder: true,                     geocoder: myGeocoder                 },                 "search"             );              geocoder.startup();              function popThatCouncil(results)             {                 var resGeom, resFeat;                  for (var i = 0; i < results.results.results.length; i++)                 {                     console.debug(results.results.results[i], " at index ", i);                     resGeom = results.results.results[0].feature.geometry;                     resFeat = results.results.results[0].feature;                 }                  map.centerAndZoom(resGeom, 20);                 map.infoWindow.setFeatures(resFeat);                 map.infoWindow.show(resGeom);                 geocoder.inputNode.blur();             }              geocoder.on( "find-results", popThatCouncil );         }     );


one class is not detecting the other class's object

I have two classes Node and Wire. I am getting an error for the line vector<Wire*> inputs;  Node.h  #ifndef NODE_H_ #define NODE_H_ #include "wire.h"  class Node{ private:     bool sorted;                     TGate gateType;                  string name;                     vector<Wire*> inputs;            vector<Wire*> outputs;           int state;       } #endif /* NODE_H_ */   Wire.h  #ifndef WIRE_H_ #define WIRE_H_ #include "Node.h" class Node;  class Wire{ private:     Node* input;     Node* output;  public:     Wire(Node* a, Node* b);     //void setInput(Node* in);     //void setOutput(Node* out);     Node* getInput();     Node* getOutput();  }; #endif /* WIRE_H_ */   wire.cpp  #include "wire.h" #include"node.h"  class Node;  Wire::Wire(Node* a, Node* b) {  }   node.cpp  Node::Node(TGate gT, string name) {     std::cout<<"\nNode created is: "<<name<<"\n"; }   ERROR: /src/node.h:29:9: error: ‘Wire’ was not declared in this scope


Given the following circumstances, how can I jailbreak my iPhone 6+

So, I want to jailbreak my iPhone, I know my options but lack the resources or knowledge.  Here's what I've got: Windows 10 64 bit PC, iPhone 6+ 128gb on iOS 12.4.6, MACOS High Sierra vbox machine.  First option: Use Checkra1n jailbreak on my vbox machine and directly solve the issue.  First Problem: I cannot connect my iPhone directly to the VM as it detects the device as a USB 3.0 and not an actual phone. I have the vbox extension pack installed, 'USB 3.0' USB controller and the iPhone filter applied but checkra1n will never detect the phone in order to apply the jailbreak.  Second option: Downgrade the iPhone to the jailbreakable, unsigned iOS 12.4 version using itunes and ipsw's and use the unc0ver app on the phone.  Second problem: 12.4 is unsigned. Can't downgrade as far as I know.  Third option: You tell me. Please.  What I'm asking is to let me know how to solve the problems listed above or supply a working alternative method to the circumstance  Thank you.


What are the significant changes with the revised Unearthed Arcana Ranger?

Wizards has posted . I read through some of the changes, but I'm not good at reading stuff side by side to understand all of the nuances that have changed and why the changes are considered better. What all has changed, and why is this considered to be better?


Is it possible that $n^2+1$ has some divisor of the form $4k+3$?

Given an integer $n$, we are asked to investigate about the existence of integer divisors of $n^2+1$ of the form $4k+3$. Can you provide some insights about it?


Wordpress Category/Tag Pages As Indexed Actually Help In Traffic?

I several days ago somewhere read that category and tag pages should be noindexed. But later on somewhere else, I read that, they only increase rank for search term, but overall traffic decreases- said one from his experience.  So, if I just concern about traffic, not about individual search term that much, should I make those category and tag pages as indexed to google? I am confused which is the best to do.  Thanks in advance.  Regards Rana


It is simple, but I just cannot figure out how to draw that cross...


Can I use CreateFile, but force the handle into a std::ofstream?

Is there any way to take advantage of the file creation flags in the Win32 API such as FILE_FLAG_DELETE_ON_CLOSE or FILE_FLAG_WRITE_THROUGH as described here  , but then force that handle into a std::ofstream?  The interface to ofstream is obviously platform independent; I'd like to force some platform dependent settings in 'under the hood' as it were.


What does the 'macro' mode on my camera actually do?

Background  I have a Panasonic DMC-FZ20, however I would imagine this question applies to most point-and-shoot cameras with a built-in macro mode.  I accidentally left my camera in macro mode while taking some landscape shots today. Most of the pictures look "ok" from an initial glance, but I wonder if I actually have lost any potential sharpness in these images due to my mistake.  Question  In light of the above I'm curious as to what macro mode actually does in cameras such as mine. Is it perhaps simply biasing the auto-focus, or is something else mechanical happening in the lens?


finding a base and dimension of a 3 x 3 matrix that represents all skew-symmetric matrices above the complex field

I'm suppose to find that matrix, and I was only given the final answer of the dimension which is 3.  But everything I tried so far is leading me to one of the rows being zeroed and therefore the dimension isn't 3.   I know the form of skew-symmetric matrices well, but so far I only dealt with it above the rational numbers, maybe I am missing something.  The matrix have to represent all 3x3 skew symmetric matrices above COMPLEX field.


Proving the algebraic set corresponding to a polynomial is infinite.

This is an exercise from Miles Reid, Undergraduate Algebraic Geometry. The proof has two parts, one of which I can do and one of which I can't. I could have some misunderstandings about notations here as well so anything people can point out will be helpful.  a) Let $k$ be an infinite field and $f\in k[X_1,...,X_n]$ be nonconstant. Prove  $$V(f)=\{P\in \mathbb{A}^n_k\mid f(P)=0\}\neq \mathbb{A}^n_k.$$  $A^n_k$ here is the point set $k^n$.   My proof (which follows from a hint of his) is write $f=\sum a_i(X_1,...,X_{n-1})X_n^i$. Then $V(f)$ consists of two kinds of points   $P=(p_1,...,p_{n-1},p_n=0)$ $P=(p_1,...,p_{n-1},p_n\neq 0 )$ with $\sum a_i(p_1,...,p_{n-1})p_{n}^i=0$   In the first case we have $V(f)\neq \mathbb{A}^n_k$. Assume we have $P$ like in the second case and now write $f=\sum b_i(X_1,...,\hat{X}_{n-1},X_n)X_{n-1}^i$. Here again, either $P=(p_1,...,p_{n-1}=0,p_n\neq 0)$ and $V(f)\neq \mathbb{A}^n_k$ or $p_{n-1}\neq 0$, and by induction we should get to $V(f)\neq \mathbb{A}^n_k$.  b) Now let $k$ be algebraically closed. Let $a_m(X_1,...,X_{n-1})X_n^m$ be the leading term of $f$. Show that when $a_m\neq 0$, there is a finite set of points of $V(f)$ corresponding to every value $(X_1,...,X_{n-1})$. Thus, $V(f)$ infinite for $n \geq 2$.  So I have kinda no idea what to do. A given value of $(X_1,...,X_{n-1})$ corresponds to points in $V(f)$ $P=(p_1,...,p_{n-1},p_n)$ where $f(P)=0$, but I don't know anything about the value of $p_n$; if it vanishes then clearly there is a correspondence $(X_1,...,X_n)\to (p_1,...,p_{n-1},0)$ but I guess I need to show there are a finite number of $p_n$ where this is true and I don't know how.


I have two sites that were originally migrated from SPS2003.  It worked well in SharePoint 2007 and even on SharePoint 2010,  however when we migrated it to SharePoint 2013,  the home page throws following errors on the ULS Log.     5/24/2013 09:57:46.62  w3wp.exe (0x0D50)   0x1D24  SharePoint Foundation   Files   ak8dj   High   UserAgent not available, file operations may not be optimized.    at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb)     at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult)        05/24/2013 09:57:46.62 w3wp.exe (0x0D50)   0x1D24  SharePoint Foundation   Cobalt  ajoii   Medium   Mapping Store error to Cobalt error. [Store Error: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocParams(SqlSession session, Guid guidSiteId, Int32 cbContent, Nullable1 parentId, Guid docId, Nullable1 level, SPChunkedArray`1 rgbContent, Byte[] rgbRbsId, Int64 bsn, Byte partition, Int32 pageSize, Boolean bStartFilling)        05/24/2013 09:57:46.62 w3wp.exe (0x0D50)   0x1D24  SharePoint Foundation   Cobalt  aintx   High    Failed in CobaltStream.LockBytes: ErrorException --- Error: Unknown (Win32=0x80004003) --- Error message: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocParams(SqlSession session, Guid guidSiteId, Int32 cbContent, Nullable1 parentId, Guid docId, Nullable1 level, SPChunkedArray`1 rgbContent, Byte[] rgbRbsId, Int64 bsn, Byte partition, Int32 pageSize, Boolean bStartFilling)     at         05/24/2013 09:57:46.64 w3wp.exe (0x0D50)   0x1D24  SharePoint Foundation   Files   ak8dj   High    UserAgent not available, file operations may not be optimized.    at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb)     at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult)     at         05/24/2013 09:57:46.64 w3wp.exe (0x0D50)   0x1D24  SharePoint Foundation   Database    ab1a9   High    Failed to get document content data. System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocParams(SqlSession session, Guid guidSiteId, Int32 cbContent, Nullable1 parentId, Guid docId, Nullable1 level, SPChunkedArray`1 rgbContent, Byte[] rgbRbsId, Int64 bsn, Byte partition, Int32 pageSize, Boolean bStartFilling)     at   I could not find any materials related to this on the internet,  I am not even sure if it has to do something with SPS2003 compatibility.  Any help pointers?


How to pipe output from console cmd to TextBox from another class

There is a NewClass.cs in which I collect data about ipconfig from cmd. How can I output data from this class (via arguments) to the TextBox that lies on the form ?! public static class NewClass {      public static void Test()      {          ProcessStartInfo Info = new ProcessStartInfo          {             FileName = "cmd.exe",             Arguments = "ipconfig /all",             CreateNoWindow = false,             UseShellExecute = false,             WindowStyle = ProcessWindowStyle.Normal          };          Process result = Process.Start(Info);          result.WaitForExit();     } }  On the form lies a TextBox, you need to make a call to the Test method (with passing arguments) from the NewClass.cs class so that everything from the command line (cmd.exe) is displayed in this TextBox without the console appearing. How to implement this? \  I tried like this but it doesn't work\ private void button1_click(object sender, EventArgs e) {     IProgress<string> progress = new Progress<string>(s =>     {         textBox1.Text += s;     });     NewClass.Test(progress); }  public static class NewClass {     public static void Test(IProgress<string> progress)     {         Process process = new Process();         process.StartInfo.FileName = "cmd.exe";         process.StartInfo.Arguments = "ipconfig /all";         process.StartInfo.CreateNoWindow = true;         process.StartInfo.UseShellExecute = false;         process.StartInfo.RedirectStandardOutput = true;         process.StartInfo.RedirectStandardError = true;         process.StartInfo.StandardOutputEncoding = Encoding.GetEncoding(866);         process.StartInfo.StandardErrorEncoding = Encoding.GetEncoding(866);         var handler = new DataReceivedEventHandler((s, e) => progress?.Report(e.Data));         process.OutputDataReceived += handler;         process.ErrorDataReceived += handler;         process.Start();         process.BeginOutputReadLine();     } }  Help Please


Is there any name for this family of functions?

Let $\Phi$ be the class of all fonctions  $\phi$ (let's say from $\mathbb{R}^+$ to $\mathbb{R}^+$) such that: For each sequence $\{t_n\}\subset \mathbb{R}^+$ that converges, the sequence $\{\phi(t_n)\}$ converges also.  Is there any specific name for this class of functions?  It will be interesting to see some interesting examples/counterexamples.


INSERT takes over 5 hours, when inserting more than specific number of rows

When inserting less then about 1,350,000 rows to the table it all takes about 2 minutes, however when number of inserted rows is bigger, then the time needed to insert data grows to about 5 hours.  The problem is not connected with query or indexes, because everything has been working fine for a long time and nothing has changed in the structure of query, tables or indexes.   Problem appeared for the first time about 2 weeks ago and it appears repeatedly on days, when number of inserted rows is bigger than +-1,350,000. For example on one day number of inserted rows is 1,200,000 and the process takes 2 minutes, on the other day number of rows is 1,450,000 and it takes 5-6 hours to insert data.  I tried to rebuild indexes, but it has not helped.


renew command chapter - suppress "chapter" show only number and name

I am using the report document class and would like to define the following behaviour when using the chapter command:  Normally it makes the chapter the following way:  \chapter{Theory}      Chapter 1 Theory   I would like to make it look the following:     1 Theory   I know this sounds a lot like just using an article and sections but I want to use sections and subsections in my chapters.


When I use epl2 format  and the tikz package it causes a compilation error an appears an empty page at the begining of the document.  \documentclass[doublecol]{epl2}  \usepackage{tikz} % or \documentclass[page-classic]{epl2} for one column style  \title{Title of the paper} \shorttitle{Title} %Insert here a short version of the title if it exceeds 70 characters  \author{F. Author\inst{1,2} \and S. Author\inst{1} \and T. Author\inst{2}} \shortauthor{F. Author \etal}  \institute{                       \inst{1} First Institute - Address\\   \inst{2} Second Institute - Address } \pacs{nn.mm.xx}{First pacs description} \pacs{nn.mm.xx}{Second pacs description} \pacs{nn.mm.xx}{Third pacs description}   \abstract{ Abstract of the paper.}   \begin{document}  \maketitle  \end{document}


What increases your chance of being audited?

What increases your chances of being audited? Having a home office? Small business?  what decreases your chances? Does hiring an accountant do your taxes makes it look more credible to IRS agents?


How to prove that $\sin(x\sin x)$ is NOT uniformly continuous on positive reals

How to prove that $\sin(x \sin x)$ is not uniformly continuous on $\Bbb{R}^+$?  My attempt: I know that $\sin x$ is uniformly continuous on that interval when $\sin{x^2}$ is not.  Yes It is duplicate of one question. But the answer was not satisfactory. That's why I am posting it again.  Any help will be highly appreciated.


How to prove $n^3 < 4^n$ using induction?

It's true for all Natural numbers.   What I've got so far:  Prove $P(0) \to $ base case:   Let $n = 0$  $(0)^3 < 4^0 = 0 < 1$  Then $P(0)$ is true.   Part Two:  Prove $P(n) \Rightarrow P(n + 1) $  Assume $P(n)$  $= n^3 < 4^n $  $= 4(n + 1)^3 < 4^{(n + 1)}$  im not sure if the last step is right.  Where can I go from here?


GeoReference tiff image into the Google map?

I want to Geo-reference a tiff image contain a Map for a specific region, I need to add this region(image) and Geo-reference it on the Google map, SO I can see on the map for the region I select the image which I have inserted.  the image also need information such as the Latitude and Longitude of corners and size, and the pixel per meter measurement.  How to do the correct Geo-reference for that ?


Usage of temporary tables in my tempdb database on sql server 2005

I am trying to resolve the disk space issue on one of my drives where tempdb residing occupies more than 100 GB: Stats shown below    I read some similar post on the same and i found few queries using the tempdb.  So i am just curious if there is a way i can identify the temporary tables and their usage:  To start, found a query from Olaf which listed the temp tables and the size allocated.  But the above result keeps on changing as temp tables may add and get removed. So i am wondering if there is a way i can track such temp tables and their usage via which i can help to keep the tempdb growth stable.


Which is correct?  I work for Jan-Carol Graphics (JCG). or I work for Jan-Carol Graphics (JCG.)


which is your favourite game /what is your favourite game

I want to know the difference between what and which, and between who and which   For example :   what is your favourite game / which is your favourite game


Group of $2n$ elements, $n$ odd, is not simple

Problem  Let $n \geq 3$ be an odd number and let $G=\{1,...,2n\}$ be a group of order $2n$. Let $\phi:G \to S_{2n}$ be the morphism defined by $\phi(g_i)(g_j)=g_ig_j$ and let $H=\phi^{-1}(A_{2n})$. Show that $H$ is a proper normal subgroup of $G$.  So basically the result of this problem is that every group of order $2n$, with $n$ odd, is not simple.   The morphism $\phi$ can be seen as the action of $G$ on itself by left multiplication. Since $A_{2n} \lhd S_{2n}$, then $H=\phi^{-1}(A_{2n}) \lhd G$. I am stuck at showing that $H \neq \{1\},G$. All I could think of is that $G$ has an element $g$ of order $2$, then $\phi(g)$ is of order $1$ or $2$, but it is easy to see that $\phi(g)=1$ if and only if $g=1$, so $ord(\phi(g))=2$. I don't know which are the elements of order two in $S_{2n}$. I would appreciate some help to solve the problem, thanks in advance.


Simple question: what does $2^{3^4}$ equal to? I am asking this because some calculators take this as $2^{(3^4)}$ and others as ${(2^3)}^4$.


Given that eclipses occur, why aren't they more regular?  If the sun and the moon are in the same plane, shouldn't the moon transect the line from the earth to the sun every month?  I guess order of magnitude, if the moon at 10^-2 radians was in a random place every day, then an eclipse once / 18 months is about right.  This is a genuine question, not a troll, this question has bothered me for years.


Is it possible to associate non-blend files with Blender?

Is there a way to make Blender auto import files that are not .blend when you open them?  For example if you open a .fbx file by double clicking on it, and you have Blender set as default application, then import it to a new .blend.  Is it possible to make Blender import this .fbx file just like you would do it manually by using File > Import > FBX?  By default, Blender just opens up and loads default new scene when you open anything that is not .blend file.


Does $\operatorname{card} \operatorname{ran} f \leq \operatorname{card} \operatorname{dom} f$ imply choice?

I am considering the following statement:  If $f$ is a function, then $\operatorname{card} \operatorname{ran} f \leq \operatorname{card} \operatorname{dom} f$.  This can be proved using the axiom of choice. Since $f^{-1}$ is a relation, the axiom of choice implies that there is a function $g \subseteq f^{-1}$ with $\operatorname{dom} g = \operatorname{dom} f^{-1} (= \operatorname{ran} f)$. We have $\operatorname{ran} g \subseteq \operatorname{ran} f^{-1} = \operatorname{dom} f$. Also, $g(x) = g(y)$ implies $x = f(g(x)) = f(g(y)) = y$, so $g$ is one-to-one. Thus, there is a one-to-one function from $\operatorname{ran} f$ into $\operatorname{dom} f$.  What I am wondering about is this: does the above statement imply the axiom of choice, so that they are equivalent?


Repetition of the verb "to be" after let

If one has multiple sentences all of the form "Let x be y" written successively. Is it grammatically correct to write "and god said "let apples be red, oranges be orange, etc""?. Is it possible to not repeat the verb "to be" and to simply write "let apples be red, oranges orange, etc".


In how many ways can a committee of $4$ people be selected from a club of $6$ men and $9$ women?

A club consisting of 6 men and 9 women will choose a committee of 4. In how many ways can the committee be chosen?  I'm not sure if this would be combination or permutation. If someone could help me out that would be great!


I'm running Ubuntu 11.04 Beta 2. Is there a way, or a place, to give feedback on this system? Not file bugs, just give feedback.


gdm - login screen background change problem - Ubuntu 18.04 LTS

I am trying to change the noisetexture.png to black screen but it still flashes a purple screen while logging in .  I changed this   #lockDialogGroup {    background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);    background-repeat: repeat;  }   to  #lockDialogGroup {    background: #00000 url(file:///home/sk/image.png);    background-repeat: no-repeat;     background-size: cover;    background-position: center;}   How to solve this issue?


Axiom of Regularity and infinite sequences

I'm wrestling with the elementary implications of the Axiom of Regularity.  The axiom:  $∀A(A≠∅→(∃x∈A)(A∩x=∅))$  implies that every set A either has $∅∈A$, or it has some element $x$ such that $x∩A=∅$.  My questions: (1) If $x∈A$, and $x$ is not a subset (or, x is a subset that consists of only one element, i.e. {1}), then does $x∩A=∅$? I'm trying to understand how $x∩\{1,2,3\}=∅$   (2)How does this guarantee no infinitely descending sequences?   Thank you for your time.


How to select "white point" before calibrating a monitor with Spyder3

My Samsung monitor has the following Color Modes Cool 2 Cool 1 Normal Warm 1 Warm 2  With factory settings, the monitor has a minor red tint; if I switch to Cool 1, it looks normal; whites look white. Calibration Question When setting White Point in Spyder3 Elite, I have the following choices. If Cool 1 looked normal (eliminating the reddish tint), should I "dial in" that setting on this screen? If so, what does Samsung Cool 1 correspond to on Spyder's White Point scale?  UPDATE I set the monitor to Cool 1, Spyder to 7500k, ran calibration, colors look great, though based on the profile, I'm not sure why White Point shows no difference between uncalibrated and calibrated.


Permitting scp but not ssh - without scponly

I'm migrating a Debian server to Ubuntu 16.04. One of the packages on the Debian server is scponly which acts as a shell and permits ssh connections for scp purposes only (not login or running anything other than the scp binary). Details can be found . This package has been on the Debian through at least 2 physical server upgrades already, countless OS upgrades, and probably dates from about 2007.  scponly is not in any 16.04 repository, and isn't compiled on launchpad. Whilst I am quite capable of installing it from source, this got me wondering whether in the last 10+ years there is a better way of configuring ssh to permit scp commands only, that is more Ubuntu 16.04 friendly, and less based in the dim and distant past. Any ideas?


Here is my question, what video driver/config files do I need to backup if I break my system by playing around with the settings?  So, I am still stuggling to get my Geforce working to my satisfaction (display freezes periodically, sometimes the system completely locks up, I use the REISUB quite a lot).  If I start VLC or Mplayer in auto-fullscreen mode it often locks up.  Bootup is always hit or miss, I get the login screen, but it will not accept input, just frozen.  Hard reboot time, I don't like a hard reboot, feel like an amateur.  If the system freezes, it will not allow Ctrl+Alt+Fx, and not always REISUB.  So I'm going to try various drivers and configurations until I get it right.  I'm running Ubuntu 16.04 LTS.     Intel Core i7.      00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)      01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 555M] (rev a1)   I have an SSD as well, but this version of Ubuntu is very laggy, buggy, just not as good as I'd like.  What do you all think?  What should I backup?  Thanks a lot folks.  When I crack this, I'll post a full report.  Did I format this post correctly?


I am a first year engineer student here in my country we have a first preparatory year so I was looking for a deep understanding book for trigonometry  Because I have always had a hard time with this hyperbolic and cosecant and inverse functions thing   So if any one could recommend a set of books in order to read to really understand and have a deep look at this subject would be great


Is it a good idea from a performance perspective to store audio files in a mysql database?

I have an application where I have audio files. I need to store them in a mysql table since we already have a mysql database available.  I saw that some people don't advise to do so. What are the advantages and inconvenients of storing the audio files in the table?  Does it affect the operations performed on the database?


getDirectories stops after first exception

So I've done extensive research on this and I've realized that GetDirectories will stop returning folders at the point it gets an UnauthorizedAccessException even if you have a try...catch block.  try {     foreach (DirectoryInfo directory in parent)     {         subDirectories = directory.GetDirectories();     } } catch (Exception e) { }   All the sub-directories will get into sub-directories until we hit the exception and then stop. Are there any solutions to this for my specific code? Thanks!


Keep getting NullPointerException when reading file

This is my method here:  private void trackPrinter(){      File file = new File("track.txt");     String absolutePath = file.getAbsolutePath();     String filePath = absolutePath;      try {       FileReader readerT = new FileReader(filePath);     BufferedReader brT = new BufferedReader(readerT);     jTextArea2.read(brT, null);     brT.close();     jTextArea2.requestFocus();     } catch(Exception e) { JOptionPane.showMessageDialog(null, e);     } }   I've tried many different ways to pass the file in but each time it throws a NullPointerException. if i use jfilechooser the method works fine, except i want the file to open and read on start up.


How to format computer hard drive to ntfs

So I have ubuntu right now and I'm trying to get windows by using a bootable usb but when I try to install windows it says that the hard drive has to be formated to NTFS so I have tried formatting it in gparted but it says it's busy. What do I do now?


Dates on the activity tab are misleading/incomplete for previous years

I'm trying to get a user's activities around a certain date by a "half split" search on the user's activities tab (AKA all actions tab).    But consider . It looks like this:    But what year is that?  It should look like the following for anything not in the current year:        Note: I know that Desktop users can usually hover over the partial date to get a full datetime string. But, requiring that for such basic/crucial date info is:   It doesn't work with touch screens. Bad UI that makes it much more cumbersome to locate the right results. The text can't be highlighted or copied.


I have a psd that has rounded rectangle. I need to create a new rounded rectangle with the same radius. How do I determine the radius used on that said rounded rectangle?   I feel like this is such an awful question but thanks in advance for answering.


So I read another article on how to fix the grub rescue... which this this one right here:    So pretty much what I did was this   set root=(hd0,msdos6)  # I tried this with a bunch of other msdosses and hd0s and none of them worked set prefix=(hd0,msdos6)/boot/grub insmod normal #this is when I got the error normal #when i put this in it said 'unknown command   I did this and it kind of failed. I got the error  /boot/grub/i386-pc/normal.mod    I want to know how to fix this so I may boot up windows. Ubuntu/Linux does not exist on my PC. I do not have a windows cd or a live cd or whatever you use to boot up but I do have an empty flash drive. I could install something on the flash drive maybe to boot my PC up? I'm not too sure. I have searched all over the web no luck :/. I really want to be able to access my windows OS.


The word for referring to the patient's standard measurements such as heartbeat rate, blood pressure, etc

What is the word for referring to the patient's standard measurements (like heartbeat, blood pressure, etc)?


Is there a low level website blocker for OSX?

I'm looking for a very low level website blocker for MacOS. Let's say that I want to block Twitter. I want to block it in a way that I can't unblock it without reinstalling the operating system. I'm aware of software such as:  or browser extensions or changing the DNS or host file. But these are too easy to disable. Also Screen Time by Apple doesn't work. I want to block distracting websites from ever working on my Macbook. Does something like this exist? Or if not, is it possible to create something like this?


I would like to redirect users after they log in. Is it possible to use hook_user_login() to make the redirection? How do I add the parameter for the redirection?


How to not display url and visit date in biblatex?

I'm doing some slides in beamer, and including the url and visit date in biblatex in a footnote would make it too long. Is there a way to hide these fields?  The citations in the latex file are inserted like this:  \footfullcite{some_citation}   The following is displayed:     In: arXiv:xxxx.xxxxx [cs]. Jan. 1, 2000. arXiv: xxxx.xxxxx. url:  (visited on 01/01/2000).   I would like this instead:     In: arXiv:xxxx.xxxxx [cs]. Jan. 1, 2000. arXiv: xxxx.xxxxx.


Make a combination of two arrays to form a pair of each item

I have two arrays array1 of size 3 and array2 of size 2. I wish to form a pair of each item from both arrays. That is;  int array1[] = {1, 2, 3}; int array2[] = {9, 4};   Results I'm hoping to achieve: 1 , 9  1 , 4  2 , 9  2 , 4  3 , 9  3 , 4   This is what I have tried:  #include <iostream>  using namespace std;  int main(int argc, const char *argv[]) {     int array1[] = {1, 2, 3};     int array2[] = {9, 4};      int arrayOneSize = sizeof(array1);     int arrayTwoSize = sizeof(array2);      for (size_t i = 0; i < arrayOneSize; i++)     {         for (size_t j = 0; j < arrayTwoSize; j++)         {             cout << array1[i] << " , " << array2[j] << endl;         }      }      return 0; }   But for some reason I am getting a whole bunch of weird combinations like:  1,9 1,4 1,1 1,2 1,3 1,1029505037 1,-531587312 ...             (It's really long, just want to shorten the results a little) 0,-411331072 1,9 1,4 1,1 1,2 1,3 1,1029505037 1,-531587312 1,-411331072  Sorry for the noob question. I am still new to C++ so, I will gladly appreciate any help. And also why am I getting numbers which are not part of the array?   Thanks in advance.


How does Hisoka see Gon exactly? As a rival or as a toy to entertain himself?

Hisoka hinted that Gon is his treasure and also his prey, but it can't be both, right? Because in the end, he didn't want Gon to die no matter what.  So it's weird that he didn't want Gon to die but also made him his prey to fight till death. Is it sexual for Hisoka or what? I still remember the 'Schwing' thing.


How Can I download a SharePoint folder included with documents?  I understand how I can download a document from SP but I'm wondering if I can do the same with a folder.


Frivolous/"super-downvote" flagging of Meta Stack Exchange answers as VLQ/NAA

Recently, on this same site, I reviewed . That was a two-day-old discussion answer on a discussion question and required two Looks OK to dismiss, so it wasn't an auto-flag. And given the content, I can't see any way anyone who knows what Meta is for could sincerely flag that as either VLQ or NAA. (It's further suggestions for/amendments to a pending feature. How much more answer-y can you get?)  It's bad enough that we have to live with downvotes for disagreement as an unfortunate but natural consequence of using Meta for opinion-based questions (aka ). Using flags for disagreement are a whole nother story, and I for one find that pretty despicable. "I don't like what you're saying, so I'm going to ask some reviewers to delete it" is a really terrible way to go about policy decisions. And while we already discourage using flags for wrong answers on all sites, it doesn't seem that that's enough to prevent a fair number of flags for answers that are only subjectively disagreed with, policy-wise. (Although this does not appear to show up on any other site than M.SE.)  Can we actively discourage this in some way, perhaps simply through Meta consensus?  Similar recent reviews: , .


Can I replace a 1N4148 diode with a 1N4007?

My PC game controller broke and since I have some old PS1 controllers I was thinking about converting one to PC. After some googling I found all I need is a parallel port plug and some 1N4148 diodes. But I live in a small town in the mountains and is not easy for me to get new components, I was wondering if the 1N4007 diodes I have could replace the 1N4148.     Reference:


How do I clone a failing hard drive to a new hard drive using ubuntu

I have a 1TB FAILING hard drive, a brand new 1 TB hard drive, a bootable ubuntu usb, and a working computer.  All I need is a step by step process of how to safely clone as much data as possible from one to the other. NOTE: THE DRIVE IS FAILING.  I know I need to enable multiverse and then install and use ddrescue to complete the task. But everywhere I look online, I can't get a straight path to the task. I know that this can be all done within the terminal and that's what I seek.  How can I do this?


I've had my Trek 3900 for about a year now, and I replaced the chain about 3 months ago, but otherwise it's running with the same parts it came with (not counting tubes and tires).  I had to replace my chain because it had gotten really rusty from riding in rain/mud/water on trails, and had started skipping.    My problem is, whenever I ride, if I get above or below a very light pressure when pedaling, the chain skips. I was wondering if this could be caused by my chain, which has gotten a little rusty but not as stretched as the other one was, or if I might need a new cassette?    I just readjusted my derailer, but it still skips.   Does anybody know what could be causing this?


$A$ and $B$ are two matrices, when is $(A-B)(A+B)=A^2 - B^2$


Can I still see my own answers that I deleted?

ADDED. There was the question  referring to the links to recent questions only that is apparently only visible to moderators or people with high number of points. This does not help me to find my own questions.  I wrote an answer a while ago that I had subsequently deleted, after it attracted disappointingly high number of downvotes that I didn't find rewarding at that time.  Are the deleted answers still kept in the system?  Is there any way to retrieve them?


Cannot install python3-boto due to unmet dependencie which exists

Question  Please advise why python3-boto cannot be installed as in below.  $ sudo apt install -f python3-boto Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  python3-boto : Depends: python3-requests but it is not going to be installed                 Depends: python3:any (>= 3.3.2-2~)                 Depends: python3-six but it is not going to be installed E: Unable to correct problems, you have held broken packages.   The python3-requests and python3-six are already installled.  $ sudo apt install -f python3-requests Reading package lists... Done Building dependency tree        Reading state information... Done python3-requests is already the newest version (2.18.4-2ubuntu0.1). 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.   $ sudo apt install -f python3-six Reading package lists... Done Building dependency tree        Reading state information... Done python3-six is already the newest version (1.11.0-2). 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.   Tried  but made no difference.  Environment  64 bit DELL laptop.  NAME="Ubuntu" VERSION="18.04.3 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.3 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic


1970s scifi/horror novel where protagonist is used by a crablike creature to feed its larvae, goes mad, and is defeated by retraumatising him

I read this book once as a teenager, I think it might have been written in the 1970s but could be late 1960s or early 1980s.  The protagonist is left to die hideously by enemies. He is paralysed and left on some planet (I don't believe it was earth) in the habitat of some kind of crablike creature, which injects him with its young, and periodically returns to force nutrient and a paralytic agent down his throat, as the larvae grows inside him.  He is rescued, and his body rebuilt to some kind of superhuman abilities, but he is traumatised and bent on indiscriminate revenge for his suffering. He proves hard to defeat.   He is eventually defeated by trickery, when he is shown (or demands to see) something by some kind of video link or remote TV/monitor - perhaps he is told that people he wants revenge on, are held captive for him, I can't be sure.   I think maybe he takes hostages or makes a severe threat, and his demands relate to the people he wants revenge on. But he can't be physically reached, so what can be done?  They set up a video feed, to negotiate, or more likely, to purportedly show him they have what (or who) he wants, and he looks to see.  When he looks at the video stream, it's actually an image of the crablike creature. The shock of repressed memories flooding back, renders him re-traumatised and perhaps catatonic, and defeats him.


Why does Brad Pitt in Inglorious Basterds have scars on his neck?

Watching it again today, I noticed the scars on his neck. What's the backstory on those?


Why can the row-reduced echelon matrix $R$ only be identity matrix?

I'm reading Linear Algebra by Hoffman, Kunze where the authors explained that a $n\times n$ matrix $A$ being invertible is equivalent to the fact that $A$ is row-equivalent to $n\times n$ matrix $R$ which is an identity matrix.  In the proof of the theorem, they wrote:     $$R= E_k\ldots E_2E_1 A$$ where $E_1,\ldots,E_k$ are elementary matrices. Each $E_j$ is invertible, and so $$A = E_1^{-1}\ldots E_k^{-1}~R\,. $$  ... Since, $R$ is a (square) row-reduced echelon matrix, $R$ is invertible if and only if $R=I\,.$  [...]   I couldn't get the conclusion, since any row of $R$ can't be zero, it has to be identity matrix $I\,.$ Why is it so?  Isn't there any other row-reduced echelon matrix other than the identity matrix having no zero row and invertible? Why is it so?


How far do we need to be removed from the earth to show the curvature with a viewing angle between 42 and 48 degrees?

I have seen already a couple of answers but none of them give an exact number of what should be the minimum height where we would be able to record the curvature of the earth  All I could find is minimum of 10km but you need a 60 degree viewing angle to see it... if that is true there is some amateur rocket footage out there with non fish eye lenses that show no curvature at 32km height do we need to go higher? if so how high exactly?  Here are the video's i'm talking about both go around 120,000 feet high. A high altitude balloon which uses some lens (most probably fish eye) and gives distort so not conclusive if what we see as a straight horizon is real    the other is an amateur rocket launch at 2:13   The lens from a FlipHD camera as far as I can find out is between 42 and 48 degrees so much smaller then the 60 mentioned before the horizon is straight from the beginning of the launch but also when it reaches the top the horizon appears straight.


How to find out if a paper is diamond/gold/green access?

Recently I learned about open access and that there are many ways in which the publishers implement it. How do I find out if a paper is Diamond/Gold/Green access? I guess if the paper is listed in a journal but a pre-print is available on the authors' webpage/repository then it is Green access. Is that correct? Next how do I find out whether a paper appearing on the journal's website is gold access or diamond access? (Basically did the authors pay to make their paper open) Thanks


Unable to see anything after importing .obj file

I try to import .obj files from this project:  - the files contain Polygon Mesh Data.  When I import the obj file into blender, the outliner shows a new mesh added, but nothing is visible in the 3D viewport:      Any help will be appreciated.


java when should I use the volatile keyword

I've read on a site that volatile keyword is used when "Essentially, volatile is used to indicate that a variable's value will be modified by different threads"  should I ALWAYS make fields volatile when they're being modified by different threads or only when I notice synchronization problems ?


Synchronizing "token" between players(multiplayer)

I am implementing the multiplayer(client-server architecture) of a game, and I came to doubt about entities common to players.  I understand how to share information such as the position of the players among themselves. However I am caught up in the logic of how to do for the common entities between them.  Imagine: Two players and a chicken, how would you share the position of the chicken between them? because it needs to move, and can not move in different places in the two clients, the two clients should see the chicken in the local place, but if I send the position of the chicken of one client, and also the other, there may be conflicts.  What should I do. Choose one of the clients to be the "master" who will send the chicken position to the other players? How do they handle this in online games?  I am thinking of doing the following:  I can not imagine the calculations being done on the server working properly, I will use the example of the hens, my hens would have an AI maybe too complex to stay on the server. I thought the following, one of the clients of the update area, as it is a big map, the clients are receiving updates being in chunks of the map, then one of the clients would be the master (the first one that entered the channel) , the others would just listen to it, the "master" client would then send to the server the chicken positions/states and the server would send to all the clients enrolled in the channel the chicken position/status.  It works similar to a "token" who is at the top of the channel users list is going to deal with the chicken's calculations.  advantages: - Less work for the server to handle.  Disadvantages: - Poorly trained players could change the position of the hen and make the game experience unpleasant.  What could you do to avoid this disadvantage?


Mathematica package for supergravity and string theory

I am looking for a Mathematica package that can manipulate tensors for supergravity, string theory or M-theory. I am particularly looking for a package that can do spinor and Clifford algebra computations. Also, I would like this package to be able to do wedge and hodge dual, and other computation relating to forms. Can anyone suggest a specific one? I looked for atlas2, but it seems I have to pay to use it without a trial version.


Find the number of homomorphisms between $\mathbb{Z}_m$ and $\mathbb{Z}_n$

Although there are many attempts to the problem but I wasn't really able to understand those so I took some idea from examples and attempted it. Can someone just go through it please. My attempt: Let $\sigma:\mathbb{Z}_{m}\to \mathbb{Z}_{n}$. The kernel $\ker(\sigma)$ is a normal subgroup of $\mathbb{Z}_{m}$. So $\ker(\sigma)=\langle\frac{m}{d}\rangle$, where $d|m$. Now $\operatorname{im}(\sigma$) is a subgroup of $\mathbb{Z}_n$. So, now the order of the image should be $d$ so $d|n$. Now the number of homomorphisms when the kernel is of order $d$ will be $\sum_{d|m,d|n}\varphi(d)$. From here we can conclude that the no of homomorphisms should be $\gcd(m,n)$. Is this OK? Where am I making mistakes?


We are running ubuntu 14.04 with openssh client & server installed. However when trying to connect to port 22 we get 'connect to host localhost port 22: Connection refused’.  Port 22 is open on our firewall, which we thought would've solved our issue.   We have added rules to ufw and purged/reinstalled openssh. When using the command ‘sudo service ssh status’ it says ssh is running however when using commands ‘netstat', 'ps -A | grep sshd', 'sudo  ss –lnp | grep sshd’ we get no message. When testing ‘ssh –v localhost’ we also get connection refused.  We have restarted ssh many times but the problem still remains.  Also when we use the command 'sudo iptables -L' we get the following output:  target     prot opt source               destination          ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ssh ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ssh   We also ran the command sudo netstat -tulpn and this is what we get:  tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      -                tcp        0      0 127.0.0.1:5939          0.0.0.0:*               LISTEN      -                tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      -                tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN      -                tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -                tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      -                tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -                tcp6       0      0 :::139                  :::*                    LISTEN      -                tcp6       0      0 :::80                   :::*                    LISTEN      -                tcp6       0      0 ::1:631                 :::*                    LISTEN      -                tcp6       0      0 :::445                  :::*                    LISTEN      -            tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      -                tcp        0      0 127.0.0.1:5939          0.0.0.0:*               LISTEN      -                tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      -                tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN      -                tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -                tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      -                tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -                tcp6       0      0 :::139                  :::*                    LISTEN      -                tcp6       0      0 :::80                   :::*                    LISTEN      -                tcp6       0      0 ::1:631                 :::*                    LISTEN      -                tcp6       0      0 :::445                  :::*                    LISTEN      -     EDIT/UPDATE  The port 22 is now listening but we get the following error when trying to connect via ssh on a mac, localhost ssh works:  Ubuntu 14.04.2 LTS Permission denied (publickey).


Activating Matlab from Command line and from Launcher

When I type Matlab (without sudo) on the command line for the shell, matlab properly opens. Then, on the left pane in Ubuntu 16.04, I tell Ubuntu to lock Matlab to launcher.  However, when I try to activate it from the launcher, it shows the boot screen, and then closes without any error.  Since it works from shell without permissions, I guess it's not a permission issue.


Words for "a bit sad" and "a bit happy"?

Are there words or other phrases for "a bit sad" and "a bit happy"?  Thank you!  Edit:  I'm sorry for the confusion. I wanted at least two words: one for "a bit sad" and one for "a bit happy". Thanks anyway for the answers for mixed happy and mixed sad. I hope there will be other answers for the two distinct phrases. Thanks!


Best way to bring Desktop CPU from to India?

I want to bring my CPU which I used in Canada for over 2 years to India with me. What is the best way to do that? Should I check into baggage or carry on or ship it via courier service?


How can we see through the matter like glass

I have a very peculiar question. We have some categories of substances like transparent, opaque, translucent. My question is when it comes to transparent objects like glass which is solid, how can we see through it. Since matter is made up of atoms which contains electrons, protons, neutrons, etc, is it like are we seeing through them. If yes are these particles like electrons are see through particles. Does the same apply for water(does oxygen atoms and hydrogen atoms can be see-through) and atmosphere(which is combination of lot of gases which contain different particles). Ideally they should obstruct the path like the opaque objects do right? I have seen other questions but could not get proper understanding and those haven't answered my question.


Proving that $\mathbb R^3$ cannot be made into a real division algebra (and that extending complex multiplication would not work)

I am trying to solve the following exercise:     Prove that complex multiplication does not extend to a multiplication   on $\mathbb R^3$ so as to make $\mathbb R^3$ into a real division   algebra.   I am aware of Frobenius' theorem that there are only three finite dimensional real associative division algebras. But the exercise would be pointless if the theorem was assumed.   Let $x,y \in \mathbb R^3$. Since $x y$ has to extend the complex multiplication:  $$xy = (x_1y_1-x_2y_2, x_1y_2 + x_2 y_1, ?)$$  I have no idea how I can proceed from here. Could someone tell me how to do this? It should be easy as the other exercises I did so far were also easy.


why did my $2.5 USO1 Call, increase in value today? 4/30/20

I bought a USO call option before the reverse stock split and thought it was worthless because nobody is able to purchase it (nobody wanted to purchase it) but today after hours I checked and it increased a whole 100% in value. How are people able to purchase it? Why would they want to purchase it?   $2.5 USO1 call Exp 5/8      4/29 = $.04      4/30 = $.08


Difference between AIX and other Unix flavours

I am learning AIX 6-7 for practice, is there any alternative unix flavour which could be quite similar to AIX which could be run on a VMWare or Virtualbox for practice? Also, if there is any possibility of running AIX on your laptop, please let me know. I was also looking fot options through using Qemu for simulating Power systems.