(This is a fresh install of Ubuntu UEFI (gpt) 17.04 64bit)  If there is a way to install the AMDGPU PRO driver? I would like to know how to proceed.   AMDGPU-PRO   from their website running:  dpkg -l amdgpu-pro   gives me:  dpkg-query: no packages found matching amdgpu-pro

I tried to install amdgpu-pro in Zesty but encountered an error when building the kernel module:  Setting up amdgpu-pro-dkms (16.60-379184) ... Loading new amdgpu-pro-16.60-379184 DKMS files... Building for 4.10.0-13-generic Building for architecture x86_64 Building initial module for 4.10.0-13-generic ERROR (dkms apport): kernel package linux-headers-4.10.0-13-generic is not supported Error! Bad return status for module build on kernel: 4.10.0-13-generic (x86_64) Consult /var/lib/dkms/amdgpu-pro/16.60-379184/build/make.log for more information.   The contents of /var/lib/dkms/amdgpu-pro/16.60-379184/build/make.log are as follows:  DKMS make.log for amdgpu-pro-16.60-379184 for kernel 4.10.0-13-generic (x86_64) Thu Apr 13 15:09:27 PDT 2017 make: Entering directory '/usr/src/linux-headers-4.10.0-13-generic'   LD      /var/lib/dkms/amdgpu-pro/16.60-379184/build/built-in.o   LD      /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/built-in.o   CC [M]  /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu_drv.o In file included from /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,                  from /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/../backport/backport.h:5,                  from <command-line>:0: /var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/../amdgpu/amdgpu.h:37:25: fatal error: linux/fence.h: No such file or directory  #include <linux/fence.h>                          ^ compilation terminated. scripts/Makefile.build:294: recipe for target '/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu_drv.o' failed make[2]: *** [/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/amdgpu_drv.o] Error 1 scripts/Makefile.build:567: recipe for target '/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu' failed make[1]: *** [/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu] Error 2 Makefile:1524: recipe for target '_module_/var/lib/dkms/amdgpu-pro/16.60-379184/build' failed make: *** [_module_/var/lib/dkms/amdgpu-pro/16.60-379184/build] Error 2 make: Leaving directory '/usr/src/linux-headers-4.10.0-13-generic'   How do I get the driver working in 17.04?


I can't seem to find how to add rpm with the siunitx package. It would make sense to write something like \SI{10}{\revolution\per\minute} but of course this doesn't work, and the \per\minute part only gives me min^-1.

I'm having a hard time figuring out the LaTeX commands to define new units of year and century in siunitx.  I'd like to write \SI{3}{\cm\per\year} and have it show: 3 cm yr-1, or \SI{42}{\micro\meter\per\century} become 4.2E-5 m/century


I have Spotify for Linux on ubuntu 14.04 and I would like to update to access the latest features. I have looked online and found nothing. Would this do?:  sudo apt-get upgrade spotify-client   Thanks.

A while ago Spotify (the streaming music service) came out with a preview for Linux of their client.  So what should I do?


How to permanently disable all notifications and updates to Windows 10? Currently when I open Windows Update panel the first main update is Upgrade to Windows 10 system. Other updates are not installed. Thank-you

This icon showed up in my taskbar notification area today and I cannot seem to get rid of it:    Clicking on it displays the following screen:    So how do I disable or remove the "Get Windows 10" icon?


How can I prove that $n = 8709120$ divisible by $7$? I have tried a couple methods, but I can't show that. Can somebody please help me?

I have seen other criteria for divisibility by 7. Criterion described below present in the book Handbook of Mathematics for IN Bronshtein (p. 323) is interesting, but could not prove it. Let $n = (a_ka_{k-1}\ldots a_2a_1a_0)_{10} = \displaystyle{\sum_{j=0}^{k}}a_{k-j}10^{k-j}$. The expression $$ Q_{3}^{\prime}(n) = (a_2a_1a_0)_{10} - (a_5a_4a_3)_{10} + (a_8a_7a_6)_{10} -\ldots  $$ are called alternating sum of the digits of third order of $n$. For example,  $$ Q_{3}^{\prime}(123456789) = 789-456+123=456 $$ Proposition: $7 | n \ \Leftrightarrow \ 7 | Q_{3}^{\prime}(n)$.  proof. ??  Thanks for any help.


I have a Dell XPS 15, and my computer runs Kubuntu 16.10.  I recently updated my NVIDIA graphics driver (through the terminal), and while installing it asked me to "turn off Secure UEFI Boot", so I did, and rebooted my computer, and then the computer doesn't start.  It gets stuck at a black and white terminal-like screen that says:  [6.036253] brcmf_c_preinit_dcmds: Firmware version = w10: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c [6.074532] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30) [15.660363] brcmf_inetaddr_changed: fail to get arp ip table err:-23   and won't go any further.  I am very new to Linux and need help on how to fix this; I have some important work on this computer that I would really like to keep.

I've  and rebooted my machine and now I get a black or blank screen.   How can I fix this?


How to display various and custom info text in viewport with script and clean with another script and /or shortcut in blender 2.8+(im using 2.9). SCRIPT FOR DISPLAY import bpy import blf   class DrawingClass:     def __init__(self, context, prop):         self.prop = prop         self.handle = bpy.types.SpaceView3D.draw_handler_add(                    self.draw_text_callback,(context,),                    'WINDOW', 'POST_PIXEL')      def draw_text_callback(self, context):         font_id = 0  # XXX, need to find out how best to get this.          # draw some text         blf.position(font_id, 15, 50, 0)         blf.size(font_id, 20, 72)         blf.draw(font_id, "%s %s" % (context.scene.name, self.prop))      def remove_handle(self):          bpy.types.SpaceView3D.draw_handler_remove(self.handle, 'WINDOW')  context = bpy.context              dns = bpy.app.driver_namespace dns["dc"] = DrawingClass(context, "Draw This On Screen")  SCRIPT FOR CANCEL TEXT DRAW import bpy dns = bpy.app.driver_namespace dc = dns.get("dc") dc.remove_handle()

I'm making an attempt to use batFINGER's method from  for drawing some text on screen without a modal operator, but I'm finding I can't get the text to go away once it's been drawn.   class DrawingClass:     def __init__(self, context, prop):         self.prop = prop         self.handle = bpy.types.SpaceView3D.draw_handler_add(                 self.draw_text_callback,(context,),                 'WINDOW', 'POST_PIXEL')      def draw_text_callback(self, context):         font_id = 0          sel_obj_1 = (int(bpy.context.selected_objects[0].location[0]))         blf.position(font_id, sel_obj_1, 10, 0)         blf.size(font_id, 12, 72)         blf.draw(font_id, "%s %s" % (context.selected_objects, self.prop))         scene.frame_set(scene.frame_current)      def remove_handle(self):         bpy.types.SpaceView3D.draw_handler_remove(self.handle, 'WINDOW')    I then call the DrawingClass with a checkbox in the UI:  def get_draw_screen(self):     bpy.context.scene.frame_set(bpy.context.scene.frame_current)     return self["vp_draw_screen"]  def set_draw_screen(self, value):     context = bpy.context      test = DrawingClass(context, "TURKEY PALS")     self["vp_draw_screen"] = value     if value:         test     else:         test.remove_handle()     bpy.context.scene.frame_set(bpy.context.scene.frame_current)     When you check the checkbox the name of the selected object will draw on screen and will update with the scene selection, but unchecking the box doesn't stop the text from drawing.   Checking the box again appears to draw a new instance on top of the previous one.   I'm guessing that each time I check the box a new instance of DrawingClass is being created, but I don't know how to access the instance again to remove them.  I've found answers explaining how to remove app handlers like this one  but can't quite figure out how to apply it to this situation.    Thanks for any help!


I've been trying to fill those lidar scan lines in my dem with no avail. Is there any way to interpolate those "gaps" to get a clean dem? I used las2dem to create the dem from .laz file

I've created a series of DEM files using the  tool from LAStools; however since I don't have a licensed version they have black streaks running across them. Does anyone know a good method for removing these streaks?


Not that I'm complaining, but now I've got more than 200 reputation two days in a row. Just from a few edits, questions, and lots of upvotes on answers, no bounties. The site is Academia, out of beta (if that makes a difference). What are the real rules here?  This question is deemed duplicate, but the linked question states 200 reputation is a hard limit, and that bounties are counted separately. So yes, you can get more than 200 a day by adding bounties. This is emphatically not my case. What gives?

On Stack Exchange, users may gain a certain level of reputation.  What does reputation do? How can a user gain or lose reputation?   See also   in the Help Center  - Maximum amount of votes a user can use in a day and reputation requirements to vote.  - How to get an exact overview of the actions that got you your reputation.  - A full list of all privileges granted at each reputation level on all sites.


I'm a little confused on when and when not to capitalize academic titles.   For example do you say     "I am a Finance major."   or     "I am a finance major."   Also does it change if it is     "I am majoring in Finance."   or      "I am majoring in finance."

I'm trying to write a cover letter for a fairly prestigious job, and I'm aiming for (arguably too much) perfection in my cover letter. I don't want to be turned away only because the hiring people though I was too careless with my punctuation and capitalization.  My sentence goes as follows:     I hope to one day go on to complete a Masters degree in Computer Science with a focus in Applied Cryptography.   I've never been great with the technical rules of the English language, despite being a native speaker.


I am working with Laravel Transactions. I came across a weird thing can anyone help me out to explain the same.  I start DB::transaction() in my base controller construct like the following  Controller.php  public function __construct(){     DB::transaction(); }   This will be used in any other controller functions as follows  class ProductsController extends Controller{     function testing(){         try{             //Code which works             if(//notworks){                 throw new Exception('Yo! Something fucked up');             }              DB::commit();         }catch(Exception $e){             DB::rollback();         }     } }   For the first time, I omitted the DB::commit and then the very next time I added it. Instead of having id as 1 it added 2. Again I retested the same with same steps so instead of 3 it added 4  As per my knowledge that row is locked or something.   What exactly is happening? Any help on the same will be really appreciated.

I'm using MySQL's AUTO_INCREMENT field and InnoDB to support transactions. I noticed when I rollback the transaction, the AUTO_INCREMENT field is not rollbacked? I found out that it was designed this way but are there any workarounds to this?


I was just thinking that maybe if we have more Stack Exchange websites then each person would be a member of more different sites on average. Since the time a person can spend online on average is limited it means he will be spending less time on each website. But would this affect the quality of these websites? I'm not talking only about the quality answers given but also the number of answers given, the promptness. Won't these things go down?  I think that the rate of questions won't go down much because you need to know what you need to know. However, the average time a person spends browsing through these websites (and chances upon a question he can answer) would decrease. So are we creating too many different Stack Exchange sites?

have already been created through .  have already completed their beta stage and are waiting for launch.  are in public beta stage.  are in commitment phase in   proposals are listed in   Now it is really confusing to find a suitable site to ask a question. As an example - I host a blog using . Now I have a question about this hosting. I want to post it in a . Where will I post? I have 2 options available now.     Are developers trying anything to solve this confusing matter?


I had this problem once before in a previous version (don't remember which) and it is back again. To create this, all I have to do is suspend my laptop and bring it back up again. At this point once I login back, the drop shadow on all the windows become messed up (see image). The corners (of the drop shadow) have some pink static noise and the borders form random lines.  This happens on all the application windows. If I reboot the laptop the problem goes away and promptly appears the next time I suspend/resume. This is same fate for newly opened windows.  Ubuntu 16.04, Unity, Ambiance theme, GeForce GT 630M using Nvidia driver v375.39  Looking around for anyone having a similar problem I saw suggestions for dealing with problems with the drop shadow using CCSM (CompizConfig Settings Manager). The suggestion to 'override Theme Settings' in 'Ubuntu Unity Plugin' has not helped. However, there seems to be a temporary fix if I enable the setting and disable it. i.e. the messy drop shadow disappears (for newer windows too) but the 'close/minimize/restore' buttons become pink noise. Any suggestion on what I could do next to solve this would be helpful. I renamed the ~/.cache/conpizconfig-1 folder hoping some texture cache that might have messed up would clear up, but with no success.

NB: Nvidia has released an official fix; please see ,  and/or .  Upon waking up Ubuntu 16.04 from Suspend, the following graphical glitches appear around all windows, context menus, and similar:      This is currently known to affect the following NVIDIA cards running the proprietary drivers:  NVIDIA GeForce 610M, driver version 375.39, 340.102 NVIDIA GT 630M, driver version 375.39 NVIDIA GTX 650, driver version 375.39 NVIDIA GT 740M, driver version 378.13 NVIDIA GTX 745, unknown driver version NVIDIA GTX 850M, driver version 375.39, 378.13 NVIDIA GT 940M, driver version 375.39 NVIDIA GTX 950M, unknown driver version NVIDIA GTX 960M, driver version 378.13 NVIDIA GTX 970, driver version 375.39 NVIDIA GTX 970M, driver version 375.39 NVIDIA GTX 980 TI, unknown driver version NVIDIA GTX 1060, driver version 375.26, 375.39, 378.09 NVIDIA GTX 1070, driver version 378.09  The above above list has been sourced from reports from other users here on AU,  thread, and  thread. NB: This is be no means an exclusive list. It probably effects nearly all Nvidia cards.  Furthermore, this issue has been replicated on a clean install where the only change was a software update and the installation of the latest NVIDIA drivers.  What is going on, and how can it be resolved?


I just installed Ubuntu 18.10 with gnome 3.30.2. on my PC. I set the theme to Yaru-dark, however the shutdown window and some popup windows still use the default Adwaita theme. I managed to solve the problem partially by uninstalling some gnome programs which were installed with snap, and reinstalling them with apt. I don't know what to do in regards to the shutdown window. I still have the following packages installed with snap, I don't know if any of them is responsible for the shutdown window or if I can uninstall them without breaking my computer.  core               core18             gnome-3-26-1604     gtk-common-themes   Thanks.

I've installed the GNOME Shell in Ubuntu 12.04 and I want to change the "Shell Theme", But it doesn't allow me to do that.  The alert says something like: "The GNOME-Shell extension is not activated", and I want to install it with the console, But it returns me an error.  How can I solve this problem?


Recently I purchased an ebook reader (Kindle), and I want to export some of my document in LaTeX to an ebook format.  I tried exporting from LaTeX to PDF, but isn't perfect because I have to zoom in-out and move around the page many times (isn't confortable like when you read a normal ebook purshased in book stores). I tried too exporting to RTF, but none of my mathematical formulas were in the output document.  So, do you know a better way to export from LaTeX  documents to ebook formats that includes mathematical formulas? And, that works with Kindle (mobipocket)!

I'm asking here a question which was asked on the italian TeX group forum.  Is there a way to produce Epub output automatically from a LaTeX source?  I should remark that Epub is just HTML+a subset of CSS+some XML for metadata, packed in a ZIP file. So one can settle with the existing tools for HTML conversion. Still something better could be done for Epub output.  In the first place, Epub accepts only a subset of CSS. Then it would be nice to produce the file with the metadata from the LaTeX source too. Finally, I'm not sure how it works, but Epub files allow for automatic hyphenation of words. By this I mean that hyphenation can be specified in the Epub file itself, so that a reader will not need to know hyphenation rules. Note that since Epub files are resizable, all possible points of hyphenation must be specified.


Let $a$, $b$ and $c$ be $3$ real numbers satisfying $2 \leq ab+bc+ca$. Find the minimum value of $a^2+b^2+c^2$.    I've been trying to solve this, but I don't really know how to approach this. I thought of $(a+b+c)^2 = a^2+b^2+c^2 + 2(ab+bc+ca)$, but that gives me  $a+b+c$, which is unknown. How can I solve this?

How can the following inequation be proven?  $$a^2 + b^2 + c^2 \ge ab + bc + ca$$


Can Windows OS be installed and then made read-only so that malware can be cleared by a reboot?  If so, how?  Can Windows be installed to a VM, then make all the underlying VM files read-only and still have Windows boot OK?  I used to have a CD with an old version Windows on it, and that did the trick (lost the CD ages ago).  I have a CentOS build from the DoD that works, but I'm not a Unix guy.

A couple of days ago my mother asked me to set up a computer at her house, she wants to use it to basic web browsing, video chat and nothing more.  The problem is, neither my mother nor my sister know anything about using or maintaining a computer.  What I want is to have a working base install of windows 7 and just discard everything installed, downloaded, ... when it reboots. That way I can set up a partition just for saving files and whatever they do the computer will always return to a working state at start up.  can that be done?  PS: Sadly linux is not an option since my sister wants to be able to play some games with my steam account and not all of them run with wine.


Does Shoya's "condition" actually have a name, or is it made up?

In Koe no Katachi (A Silent Voice) my current interpretation of the X on someone's face is that the protagonist does not wish to acknowledge or socialize with this person. An extension of this could be perhaps that he does not wish to hear their "voice", if we were to stretch somewhat on the themes of the story.   Ueno is the only person I can think of when in the reconciliation phase gets the X on and off. I can understand it being a part of the protagonist's difficulty in attempting to reconcile with her and understand her motives (which interestingly play similarly to his own of attempting to reconcile Shoko with her classmates while she tries to reconcile him with his).   suggests it is his disgust for her.  I'm looking for any other interpretation preferably with evidence of when the X comes on and off. Is there a concrete pattern behind why and when the X is put on a person?  If I have time and can find the images I'll add a few with chapter references to better show examples of what I mean.


I have heard that there are some technical problems with running Baldur's Gate on a computer with Windows 7, but the Virtual Machine I have sucks, because the mouse pointer is always flickering. What I want to know is, if I install Baldur's Gate, will my computer have any problems?

Is there a service that I can use to check if my machine will be able to run a certain game?


I have an exFAT partition on my external hard drive which I'd like to grow. GParted doesn't support resizing exFAT partitions, but is there another way to do it? I'm using Ubuntu 13.04.

Is there any way to shrink an exFAT partition?   The windows disk manager has the "Shrink" option greyed out.


I want to make  cosine similarity  a distance measure  for undersampling of fraud data , but the problem is if I get the zero values it will give 0/0, what can I do for this what can be the alternative similarity  measures that are also distance measures.

In Random forest algorithm, Breiman (author) constructs similarity matrix as follows:   Send all learning examples down each tree in the forest If two examples land in the same leaf increment corresponding element in similarity matrix by 1 Normalize the matrix with number of trees   He says:     The proximities between cases n and k form a matrix {prox(n,k)}. From their definition, it is easy to show that this matrix is symmetric, positive definite and bounded above by 1, with the diagonal elements equal to 1. It follows that the values 1-prox(n,k) are squared distances in a Euclidean space of dimension not greater than the number of cases.    In his implementation, he uses sqrt(1-prox), where prox is a similarity matrix, to convert it to distance matrix. I guess it has something to do with the "sqaured distances in a Euclidean space"-quoted above.  Can somebody shine a little light on why it follows that 1-prox are squared distances in a Euclidean space and why he uses squared root to get distance matrix?


I am running a drupal 7 site and i have the following problem : I have multiple audio files (1000+) and i need to create a custom node for each of them.  I managed to do it (almost) but i don't know how to send the field_fisier_display value for the column. The initial table was created (automatically by drupal) to not allow NULL and to have a 1 as default value. But when i run my script I get a PDO statemnt error that says i cannot insert NULL in that field.   I fixed it (for now) by changing the tables drp7_field_data_field_fisier and drp7_field_revision_field_fisier to allow NULL and to run an UPDATE statement after the node ceration. I don't like this fix.  Please share your wisdome with me in solving this problem.  My current script is :  for ($i = 0; $i < count($predici_neprocesate); $i++) {     $predica = $predici_neprocesate[$i];     $new_node = new stdClass();     $new_node->type = 'predica';     node_object_prepare($new_node);      $new_node->uid = 1;     $new_node->title = $predica;     $new_node->body['und'][0]['value'] = "value";     $new_node->body['und'][0]['format'] = 'filtered_html';     $file_path = drupal_realpath($predica);     $file = (object) array(                 'uid' => 1,                 'uri' => $file_path,                 'filemime' => file_get_mimetype($file_path),                 'status' => 1,                 'filename' => $predica,                 'type' => 'audio'     );     $file = file_copy($file, 'address');     $new_node->field_fisier['und'][0] = (array) $file;      node_submit($new_node);     $new = node_save($new_node);      unlink($file_path);     $sql = "UPDATE drp7_field_revision_field_fisier SET field_fisier_display = 1 WHERE entity_id = " . $new_node->nid;     executeSQL($sql);     $sql = "UPDATE drp7_field_data_field_fisier SET field_fisier_display = 1 WHERE entity_id = " . $new_node->nid;     executeSQL($sql); }   Please let me know what information do you need, in order to give me an ideea (table structure / content type structure etc).

I have created the "Gallery" content type, and added two fields: "photo," and "document." I then used the following code for uploading a file in the "document" field:  $file = file_save_upload('document', array(     'file_validate_extensions' => array('txt doc'), // Validate extensions. ));  // If the file passed validation: if ($file) { // Move the file, into the Drupal file system if ($file = file_move($file, 'public://')) {   $file->status = FILE_STATUS_PERMANENT;  // $file->file_display = 1;   $file = file_save($file);  } else {   $output = t('Failed to write the uploaded file the site\'s file folder.'); }         } else { $output = t('No file was uploaded.');  }   I am attaching this file to the node using the following code:  $customNode->field_document[$customNode->language][0] = (array)$file;   When I call node_submit() function, I get the following error:     Integrity constraint violation: 1048 Column 'field_document_display' cannot be null    Does anybody know what I am doing wrong?


I am currently using a Spectre x360 13' with Ubuntu and I would like to disable the touch screen because sometimes the cursor gets stuck on the screen. Is there a practical way to do so?

I am trying to disable the touchscreen on my Asus S200E laptop.  In Ubuntu 16.04, I was able to do so with this:  Section "InputClass"     Identifier "evdev touchscreen catchall"     MatchIsTouchscreen "on"     MatchDevicePath "/dev/input/event*"     Driver "libinput" EndSection   How can this be done on Ubuntu 18.04?


I am working on a lightning component where on click contact link I have to open that contact in edit mode. But throwing this error:   Please find my code below:     I am using it in :                         <aura:component >      <aura:attribute name="showcontact" type="Contact[]"/>

             Selected Contacts

Contact Name

Phone

Email

         <aura:iteration items="{!v.showcontact}" var="con">
                                                                {!con.Name}
                             {!con.Phone}

                         {!con.Email}

          </aura:iteration>

 </aura:component>   Controller:  ({     editContact: function (component, event, helper) {         var rectarget = event.currentTarget;         var idstr = rectarget.getAttribute("data-value");          console.log('****'+idstr)         var editRecordEvent = $A.get("e.force:editRecord");         editRecordEvent.setParams({             "recordId": idstr         });         editRecordEvent.fire();             } })

Salesforce has functions that do a lot of basic web app functionality for you, called Event Reference. They can be found here   On the editRecord Event Reference, found here   essentaily, I create a   <ui:button label="Edit" press="{!c.editRecord}"/>   on my component, reference the attribute on the page and add the function from the docs in the controller  editRecord : function(component, event, helper) {     var editRecordEvent = $A.get("e.force:editRecord");      console.log("record id is: " + component.get("v.item.Id"));     console.log("editRecordEvent value is: " + editRecordEvent);      editRecordEvent.setParams({         "recordId": component.get("v.item.Id")     });      editRecordEvent.fire(); }   correct?  Here is the odd thing. From the console.logs, I get the record id, but the editRecordEvent returns undefined. What is going on? Is there something I need to reference in my component to use Event Reference?


I study physics and want to know the best books to learn non-euclidean geometry in an easy way.

I'm interested in learning how to use geometry and topology in physics. Could anyone recommend a book that covers these topics, preferably with some proofs, physical applications, and emphasis on geometrical intuition? I've taken an introductory course in real analysis but no other higher math.


My text says:     Let Evens be the set of even integers greater than 2, and let Primes be the set of   primes. Then we can write Goldbach’s Conjecture in logic notation as follows:   $ \forall n \in Evens.  \exists p,q \in Primes. n = p + q $  Then later it reports:     Swapping quantifiers in Goldbach’s Conjecture creates a patently false state-   ment; namely that every even number   2   is the sum of   the same   two primes:   $ \exists p,q \in Primes. \forall n \in Evens. n = p+q  $  What exactly is the difference between these two notations?  They look the same to me, with the same quantifiers -- just written in a different order

I have a concern with nested quantifiers.  I have: $$  \forall x \exists y \forall z(x^2-y+z=0) $$ such that $$ x,y,z \in \Bbb Z^+$$   My first question, can it be read like this:  $$  \forall x \forall z \exists y(x^2-y+z=0)  $$  The way I did it, is I started off with $x=1, z=1 $   $$ 2-y = 0 $$ $$ y =2 $$  Is this a good approach?


Can someone suggest me good book for complex numbers and co-ordinate geometry with good tough questions I have not explored these subjects much so I wanted to further become fluent in these segments of mathematics.

Can anyone suggest me a book which includes everything which is needed for solving simple geometry problems through it? I only know about simple calculations on complex numbers.


My list is always different, I can't use an id because it will always change, I can't use the xpath of that element. I need to find a way to always take the first element and set it in the location I am telling him to.  I attached a print screen with what I want to do.

How do I drag and drop an object from one grid to another in the same page using Selenium IDE. This is a web page, and it is designed in ExtJS. Please help me out doing this using the IDE.


I want to report a bug in Skype Wrapper  but am not able to do it. Do I need to be a member to report a bug? I have a Launchpad account and I tried reporting it while logged in but I see no option to do so.

When you want to report an error the best way to report a package in Ubuntu is                                   sudo ubuntu-bug package.    But what if the package is in a developers PPA and I want to report an error with enough information, what tools can I use to generate that necessary information?


I was wondering about a sentence like this:   If nature were to design a bicycle, how would it look?   Is nature missing an article? Should it be a nature or the nature, or is it correct as is?    If a nature were to design a bicycle, how would it look? If the nature were to design a bicycle, how would it look?   Could you also explain why?

Was drafting an email and my senior wanted to type "Planting saplings is our way of saying we care for our Nature". I felt that's wrong English. Shouldn't it be "we care for Nature"? (it makes it a bit impersonal to remove the 'our', but if 'our nature' isn't right, can the cuteness factor of mentioning 'our nature' be preserved?. Which is correct?)


Suppose we have to estimate the parameters of the regression   Y(s) = b X(s) + w(s) + e  with s a set of spatial coordinates, e uncorrelated error terms and w(s) = N(0,C) where C is the covariance matrix that we assume only depends on the distance between two observations d: Cij decreases with dij. The GLS estimate of b is then  b.hat = (X C^(-1) X^T)^-1 X^T C^(-1) y  where X^T is the transpose of X and C^(-1) the inverse of C or precision matrix. My question is how can we interpret the weights C^(-1) in the estimation? Is is correct to say that more weight is given to observations that are more distant?

The covariance matrix represents the dispersion of data points while the inverse of the covariance matrix represents the tightness of data points. How is the dispersion and tightness related geometrically?   For example, the determinant of the covariance matrix represents the volume of the dispersion of data points. What does the determinant of the inverse of the covariance matrix represent? The determinant is related to volume, but I don't understand how to interpret the volume of the inverse of the covariance matrix (or the volume of the information matrix).  Similarly, the trace represents kind of the mean square error of the data points, but what does the trace of the inverse of the covariance matrix represent?   I don't quite understand how to interpret the inverse of the covariance matrix geometrically, or how it is related to the covariance matrix.


How can I write this symbol: ` inside a code block in just one line?  As the code blocks are defined by: ```, I am not able to write one of these inside the code block.

How do I escape a backtick ` within a code block?  This is probably a duplicate, since I'm sure it's a common concern, but I can't find a question that addresses this specifically.  How do I write List'1 with the "1" character still in the code-text format?


Suppose we have continuous $f_{n} : D \rightarrow \mathbb{R}$   converging to $f : D \rightarrow \mathbb{R}$ uniformly on $D$. Then,   is $f$ continuous?   I know that if we have $f_{n}$ converging to $f$ and $f_{n}$ are all continuous then it is not necessary for $f$ to be continuous. This is shown by   $$x^{n} \hspace{1cm} 0 < x \leq 1 $$  for $n \geq 0$. But, it is the uniformly part that gets me here. Is this statement true?

Let $(X,d_X)$ and $(Y,d_Y)$ be metric spaces. $f_n: X\to Y$ with $n\in\mathbb{N}$ and $f:X\to Y$ functions. $f_n$ is continuous for every $n$ and $f_n\stackrel{n\to\infty}{\longrightarrow} f$ uniformly.       Then $f$ is continuous.   Here is my proof:  Let $x\in X$ and $\epsilon >0$ be arbitrary.  Since $f_n\to f$ uniformly it exists $N\in\mathbb{N}$ such that $d_Y(f_N(x), f(x))<\epsilon/3$ for every $x\in X$.  As $f_N$ is continuous we have for $x_0\in X$ and $\delta > 0$, that $d_Y(f_N(x),f_N(x_0))<\epsilon/3$ if $d_X(x,x_0)<\delta$.  This gives us:  $$\begin{align}d_Y(f(x),f(x_0)&\leq d_Y(f(x), f_N(x))+d_Y(f_N(x), f(x_0))\\ &\leq d_Y(f(x), f_N(x))+d_Y(f_N(x), f_N(x_0))+d_Y(f_N(x_0), f(x_0))\\ &< \epsilon/3+\epsilon/3+\epsilon/3=\epsilon\end{align}$$  Thanks in advance for your correction.


i am studying the coulomb's law.then i encounter the formula for force between charges i.e $F=k q1q2/r^2$. They represent it with its vector form. now my question what is the use of that vector form. why we need it. if we have a normal coulomb  formula why we represent it in vector form.what is the thing we  cannot do with coulomb's normal law but we can easily do that thing with its vector form. They also do the same with gravitation law and after giving its normal formula they represent it in vector form. i don't understand what is the purpose behind it. why  it is important to represent laws like gravitation and coulomb's law in vector form and what is this vector form?

I'm only 4 weeks into my first college-level physics course, so this is a very elementary question.  Also, in asking this question, I'm just playing devil's advocate in order to better understand the historical motivation for the use of vectors to describe physical phenomena. I'm not actually proposing we stop using them.  :) So, please don't bash me for asking this innocent question.  As I was reading my textbook today, I wondered why vectors were invented and are still useful today. I have a little experience with them from my Trigonometry course, but they've always seemed a bit counterintuitive to me, as a tool for modeling and calculating.  What are the benefits of representing magnitude and direction (or other related values) with a single variable, instead of treating them as separate values with distinct variables?  What are the drawbacks (aside from increased complexity), if any, of using vectors instead of performing calculations and building models in which the speed and direction of a moving object (for example) are treated as distinct values with a distinct variable for each quantity?


I am fairly new to Linux and I need to find a way to show the contents of my Bash History via the command line, and unfortunately I can't seem to find anything that works, or that I can understand. I am using Linux Ubuntu 11.10, and when I open the Bash History manually by finding the file, it opens with something known as gedit. How will I be able to view the contents of my Bash History via the command line? Many Thanks! ~ShadedVeil

Is there a way to save all my typed terminal commands and view it like history in a log book?


In a longtable, I need the first column to display numbers based on an enumeration by references to labels. This means I can refer to the rows somewhere else in the text.  I imagined it would help to create a label and reference to that label in the same cell, but I keep getting 1-figures instead of an incrementing number.  Here's an example of what I have:  \documentclass[a4paper]{article} \usepackage{longtable} \begin{document}  \begin{longtable}{|l|l|}   \hline \textbf{Number} & \textbf{Title} \\ \hline \endfirsthead  \label{row:thefirst} \ref{row:thefirst} & First \\ \hline  \label{row:thesecond} \ref{row:thesecond} & Second \\ \hline  \label{row:thethird} \ref{row:thethird} & Third \\ \hline  \end{longtable}  \end{document}   I have tried changing the "row:" to something like "itm:" or "fig:", but nothing helps.  Perhaps, I need to put it in some context like when using \begin{figure}, but I am not sure how that would turn out when in a table cell.  Any suggestions? Thanks!

Problem  I have defined an environment to automatically number example sentences throughout my document. It uses the tabular environment and automatically numbers the first column of each row using a custom counter. I have reasons for not using lists or the theorem counter.  I want to label and reference a table row so that the number associated with the row is displayed. Using \label and \ref does not work. Is there some way to feed a function two args, a key and the current value of my counter, and later use the key to recall the other arg? Or is there another way to do what I want? Not breaking the labels and references for the rest of the document is ideal but not necessary.  (Non-)Working Example  \documentclass{article} \usepackage{array} %don't know why this is needed; get csname error otherwise  % automatically number examples throughout document \newcounter{exno} \newenvironment{examples} { \begin{flushleft} \begin{tabular}{>{(\stepcounter{exno}\theexno)}rl} } { \end{tabular} \end{flushleft} }  \begin{document}  \section{Foo} Here are some numbered example sentences. \begin{examples}   &Content of row 1 \label{row1} \\   &Content of row 2 \label{row2} \end{examples} Now I want to get a 1 here: \ref{row1}. I want to get a 2 here: \ref{row2}.  \end{document}


I am trying to figure out the best way to organize a Marketing Cloud instance. I want to get the best way to do so as the Multi-org is not an option (Data streams and Journey Builder do not work) and there is no other way to connect one BU to Salesforce production environment and another BU to sandbox environment.  The only way I can think about is to create a BU for testing, create testing data that replicates the data in the production BU and when everything is as expected, copy one by one all the contents, filters, emails, queries, automations... to the production. With emails, I could share them to the production environment so all the content resides in the test BU.  Any clue if this is the only way to maintain a test and production environments in Marketing Cloud or if there is another workaround?

I am currently implementing Marketing Cloud in Agile methodology for one of my clients and I am facing a big challenge regarding the release management in Marketing Cloud.   My client has many deployment environments:   3 levels of testing environment 1 Staging environment 1 Production environment   Marketing Cloud will be integrated with Service Cloud and many systems like Apache Kafka and Tibco.   As for Service Cloud, we have many dev orgs and 1 full sandbox.   To simplify the deployement of Salesforce (Service and Marketing) my client wants to use only the staging environment for sprint development and then push to production at the end of each sprint.   We all know that Marketing Cloud doesn't provide a testing environment unless if I dedicate a Business unit for testing (with a manual commit to production business unit).   The Service Cloud Sandbox will be connected to the staging environment and used during the sprint for developing new user stories.   I wanted to know how you management in general the release management in Marketing Cloud especially with many deployment environment (at least staging and production). How you managed the switch between a Salesforce Sandbox and Prod ? One of the ideas would be to use a Test population in the production environment but I prefer not do this..


The Stanley Parable is a single-save game that lasts roughly 20 minutes. Then it loops. However, each play-through is subtly different, depending on the choices and paths you took in earlier play-throughs. This leads to a lot of in-jokes and references to things the player has experienced before.  I'd love have some friends try the game, but I'd want them to experience a fresh save. Does anyone know what files and/or folders contain the player's choices? I could move to a temporary location to have them try it fresh. Then presumably move them back after they're done.

Is there a way to completely start the game over?  Some things in the game are altered between runs and are permanently changed.  For example, there is a broom closet in the left hallway that has interesting dialogue.  If you enter it a second time on another play-through, you get more dialogue.  From then on, the room is boarded up and cannot be entered.  Is there a was to start clean without reinstalling the game or anything?


My understanding is that buy orders increase the price of stock and sell Orders decrease the price of stock.     Is this correct? Aren't more people likely to buy than sell? Aren't there a lot more buyers then sellers? Thus leading to prices just going up?

In my online brokerage account, I want to buy a particular stock and I see the following:  Bid:  13.20 x200           Ask:  13.27 x1,000   the current stock price is 13.22.   Can someone explain what the bid and ask prices mean relative to the current price?  If I buy 1000 shares, why would I pay more?


I asked somewhere else, and I got this response:     Using DROP turns any type of DDoS attack into a SYN flood, because your server expects ACK responses which it will never get. Even if you can fine tune your tcp timeout options some of the settings are hardcoded into the kernel. A REJECT is very quick and takes tiny bandwidth. For more information Google "drop vs reject".    I researched on what he said and he seems correct, but I just want to make sure.

This is a  about DoS and DDoS mitigation.   I found a massive traffic spike on a website that I host today; I am getting thousands of connections a second and I see I'm using all 100Mbps of my available bandwidth.  Nobody can access my site because all the requests time out, and I can't even log into the server because SSH times out too!  This has happened a couple times before, and each time it's lasted a couple hours and gone away on its own.  Occasionally, my website has another distinct but related problem: my server's load average (which is usually around .25) rockets up to 20 or more and nobody can access my site just the same as the other case.  It also goes away after a few hours.  Restarting my server doesn't help; what can I do to make my site accessible again, and what is happening?  Relatedly, I found once that for a day or two, every time I started my service, it got a connection from a particular IP address and then crashed.  As soon as I started it up again, this happened again and it crashed again.  How is that similar, and what can I do about it?


I was assigned to create a menu driven program which contained a function that showed the menu screen/get the user input, but displaymenu() always and only returns 0 instead of the new inputted number.  I'm pretty new to programming and I've googled everything I can think of and I'm pretty stuck.  import java.util.Scanner;  public class menuDriven {    public static void main(String[] args)    {       int menuSelection=0;       double inches, centimeters, feet, meters, miles, kilometers;        Scanner keyboard = new Scanner(System.in);        displayMenu(keyboard, menuSelection);         switch(menuSelection)       {       case 1:          inchesToCentimeters(keyboard);          break;        case 2:          feetToMeters(keyboard);          break;        case 3:          milesToKilometers(keyboard);          break;       }     } // end main     public static int displayMenu(Scanner keyboard,  int menuSelection)     {     System.out.println("1. Convert inches to centimeters");    System.out.println("2. Convert feet to meters");    System.out.println("3. Convert miles to kilometers");    System.out.println();     System.out.println("Enter your selection");    menuSelection = keyboard.nextInt();     while (menuSelection < 1 || menuSelection > 3)       {          System.out.println("Please enter 1, 2, or 3.");          menuSelection = keyboard.nextInt();       }    return menuSelection;    }     public static void inchesToCentimeters(Scanner keyboard)    {       double inches, centimeters;       System.out.print("Enter the number of inches: ");       inches = keyboard.nextDouble();       centimeters = inches * 2.54;       System.out.println("That is equal to " + centimeters + "  centimeters.");     }     public static void feetToMeters(Scanner keyboard)    {       double feet, meters;       System.out.println("Enter the number of feet: ");       feet = keyboard.nextDouble();       meters = feet * 0.3048;       System.out.println("That is equal to " + meters + " meters.");    }     public static void milesToKilometers(Scanner keyboard)    {       double miles, kilometers;       System.out.println("Enter the number of miles: ");       miles = keyboard.nextDouble();       kilometers = miles * 1.609;       System.out.println("That is equal to " + kilometers + "  kilometers.");    } } // end class   The program should take the user input 1, 2, or 3 and then take that number to the switch and display the code.

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


Show that a Normed vector space $\mathbb{X}$ is Banach space iff for every sequence $(x_n)$ in $\mathbb{X}$,such that $\Sigma \|x_n\| <\infty$, the series $\Sigma x_n$ converges in $\mathbb{X}$.   I know that a complete (where every Cauchy sequence converges) normed space is a Banach space. So if I take a Cauchy sequence $(x_n)$ in $\mathbb{X}$ then I need to prove that the sum of the sequence converges.   Thanks in advance.

Show that      A Normed Linear Space $X$ is a Banach Space iff every absolutely convergent series is convergent.   My try:  Let $X$ is a Banach Space .Let $\sum x_n$ be an absolutely convergent series .Consider $s_n=\sum_{i=1}^nx_i$. Now $\sum \|x_n\|<\infty \implies \exists N$ such that $\sum_{i=N}^ \infty \|x_i\|<\epsilon$ for any $\epsilon>0$  Then $\|s_n-s_m\|\le \sum _{i=m+1}^n \|x_i\|<\epsilon \forall n,m>N$  So $s_n$ is Cauchy in $X$ and hence converges $s_n\to s$ (say).  Thus $\sum x_i$ converges.  Conversely, let $x_n$ be a Cauchy Sequence in $X$. Here I can't proceed how to use the given fact.  Any help will be great.


I am trying to pass in more than 1 array/list into a python script. What is the best way to do this?  I have tried listing two parameters with the * notation  def example(one, two, *three, *four): #three and four are lists      SyntaxError: invalid syntax

In the following method definitions, what does the * and ** do for param2?  def foo(param1, *param2): def bar(param1, **param2):


The random variables $X_1$ and $X_2$ are independent and $\mathcal N(0, 1)$-distributed.     Set     $$Y_1=\frac{X_1^2-X_2^2}{\sqrt{X_1^2+X_2^2}} $$ and      $$Y_2=\frac{2X_1\cdot X_2}{\sqrt{X_1^2+X_2^2}} $$         I want to show that $Y_1$ and $Y_2$ are independent $\mathcal N(0, 1)$-distributed random variables.    My idea was to define $X_1$ and $X_2$ as functions of $Y_1$ and $Y_2$, find the Jacobian and use the fact that we know the joint distribution of $(X_1,X_2)$ to find $f_{Y_1,Y_2}$. If the density $f_{Y_1,Y_2}$ turns out to be multivariate normal with a covariance matrix being diagonal (uncorrelated), then we know that $Y_1$ and $Y_2$ are independent and normally distributed. Am I correct?  If yes, then I need help finding the Jacobian. I have a hard time defining $X_1$ and $X_2$ as functions of $Y_1$ and $Y_2$ and dealing with the fact that the transformation has to be bijective.   And of course, any other approach would be appreciated as well. Thanks

It is given that $X,Y \overset{\text{i.i.d.}}{\sim} N(0,1)$  Show that $\frac{XY}{\sqrt{X^2+Y^2}},\frac{X^2-Y^2}{2\sqrt{X^2+Y^2}} \overset{\text{i.i.d.}}{\sim} N(0,\frac{1}{4})$  I was thinking of making polar transformations $X=r \cos \theta, Y=r \sin \theta$  Then I am getting stuck at ranges of $\theta$


I am studying  as a part of my Elements of Industrial Automation class. Trouble is, I can't imagine why would anyone use such a thing.  For complex tasks, microcontrollers are available. The vast majority of practicing programmers are well-versed in C, so creating a system with an ARM core (for example) is relative cheep. Furthermore, there are numerous free and tested RTOS for hard-realtime design to rest upon.  For massively parallelizable, hard realtime, low-latency tasks, there are FPGA-s. Those are a little harder to program. Yet there are many VHDL/Verilog guys out there in the job market.  Now to address the reliability of PLCs:         the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact   The same can IMHO be acheaved (and far surpassed) by extensive redundancy e.g. 3 identical systems operating simultaniously, upon detection of a problem in the primary system, another one, located at a different place, and programmed in a different way, kick in.  Where are PLCs used in modern industry? Why are they the best solution in those situations, instead of one of the solutions above?

Why does everyone use PLCs in industrial environments, instead of a microcontroller based solution?  For a longer task, the PLC program is as complicated as a microcontroller program.   A microcontroller based solution may be more customisable, and of lower price.


I was preparing for PD1 exam and came across the below sentence on interface in the developer documentation which I’m unable to understand. Can anyone help with an example as to what the below statement implies?  If you define a variable whose type is an interface, any object you assign to it must be an instance of a class that implements the interface, or a sub-interface data type.

I'm studying for my Platform Dev I exam, and I've been reading about interfaces. I understand how they work in abstraction, but what I don't understand is why you would use them. The documentation says they "provide a layer of abstraction to your code," but that doesn't really tell me anything. If you have to define all of the methods in your implementing class anyway, how does an interface make your code any cleaner?  Thanks for your help!


I have a mapping table structured similarly to the following:  ID       EntityID   EntityName  EntityCategory   ValueID -----------------------------------------------------     1          1       System      Category1        50  2          1       System      Category1        51  3          1       System      Category1        52  4          1       System      Category1        53   where ValueID is a FK to another table:  ID     Value ---------------- 50     Red 51     Blue 52     Green 53     Yellow    I need to output a report for business users where each row in the report represents one primary-keyed row in this table, but the "Value" column is a flattened concatenation of the values related to ValueID, like this:  Name     Category    Possible Values ------------------------------------------------ System   Category1   Red | Blue | Green | Yellow   How can I write a query to produce this "flattened" output?

Let's say I have a table of employees, like this:  Name     Sex     Role  Bob      M       Developer Joe      M       QA   Now, I have a problem with duplicated rows in this table. I will fix it sometime but it's not the issue. What I currently need is something that queries such a table:  Name     Sex     Role  Bob      M       Developer Bob      M       Janitor Joe      M       QA Joe      M       CEO   And will output the following rows:  Name     Role  Bob      Developer, Janitor Joe      QA, CEO   It doesn't matter to me if the "Role" will be split to separate columns or be a single column with multiple values.  Using SQL Server 2008 if it matters.


Prove that there exists a homomorphism of the multiplicative semigroup of the positive integers onto the multiplicative semigroup of odd positive integers.  One example would be helpful. [Edit: This homomorphism does not need to be injective, only surjective]

Prove there exists an isomorphism from the semigroup of natural numbers under multiplication to the semigroup of odd natural numbers under multiplication.  An example would be helpful.


I am doing some practice with AdventureWorks. I am currently experimenting with DMLs.   However, could someone tell me the major difference between Truncate and Delete?

What's the difference between TRUNCATE and DELETE in SQL?  If your answer is platform specific, please indicate that.


I am doing a research work on the Navier stokes equations but I don't really understand them, as I am a high school student. Could someone explain them to me in an easy way but kind of specific? Thank you

Can you explain  to a layman? Could someone explain this famous and important equation with "plain words"? If my question is too broad for an answer, I will also be very thankful for some introductory words.


How do you fix the following error in Bukkit? public class Listeners implements Listener {  private Main plugin = Main.getPlugin(Main.class); @SuppressWarnings("deprecation") public  void sendWarnTitle(Player player){     player.sendTitle(ChatColor.GRAY + "Ты получишь ничего, если простоишь на точке "+ ChatColor.YELLOW + plugin.getConfig().getInt("time") + "секунд." ,ChatColor.GRAY + "Если сойдёшь с кнопки, то время начнётся заного");     new BukkitRunnable(){         @Override         public void run(){             plugin.time.put(player,plugin.getConfig().getInt("time")); // This is line 37, where the exception is thrown             this.cancel();         }     }.runTaskTimer(plugin,0,60); }  public void countdown(Player player){     new BukkitRunnable(){         @SuppressWarnings("deprecation")         @Override         public void run() {             if (plugin.time.get(player) > 0) {                 plugin.time.put(player, plugin.time.get(player) - 1);                 player.sendTitle("",ChatColor.GRAY + "Точка будет захвачена через " + ChatColor.YELLOW + plugin.time.get(player) + "секунд.");             }             if(plugin.time.get(player)== 0){                 plugin.time.remove(player);                 this.cancel();             }         }     }.runTaskTimer(plugin, 20 ,20); }  LOGS: [Server thread/WARN]: [CapturePlate] Task #3 for CapturePlate v0.1 generated an exception java.lang.NullPointerException: null     at main.main.Listeners$2.run(Listeners.java:37) ~[?:?]     at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]     at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]     at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]     at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]     at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]     at java.lang.Thread.run(Thread.java:813) [?:1.8.0_212] [12:28:24] [Server thread/WARN]: [CapturePlate] Task #5 for CapturePlate v0.1 generated an exception

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


In number theory, Fermat's Last Theorem (or Fermat's conjecture) states that no three positive integers a, b, and c satisfy the equation $a^n + b^n = c^n$ for any integer value of $n$ greater than 2.   I know that there are math intensive proofs for this. But is there a more holistic reasoning as to why this isn't possible?

I am unsure of whether it is normal, but to me, intuitively Fermats last theorem should not hold.  If anyone intuitively believed it to be correct, why?     Can someone explain so I understand somewhat why FLT holds without reading a massive and complex proof?


When trying to get the damaged stasis pod, does the map show a distress signal, or nothing?  Also, can I get the stasis pod on the first sector? What type of sector is the first sector even?  All of this is assuming I don't have the long range scanner, because I can't really get it early on.  Thanks! ☺

In my FTL career, I've managed to unlock one or two of the other ships in the hangar, but there are still some that are unavailable.    One thing that I've found is that there tends to be a relatively complex series of events that leads to unlocking a new ship type.  It seems like for at least some of them, a measure of advance planning and correct event responses is required.  What are all the ships available, and how do I unlock each one?


So this question was given as a bonus question on my practice exam, but I am interested in solving it...  So if $(x+\frac{1}{x}), x \in \mathbb{R}$ is an integer then show $x^n + \frac{1}{x^n}$ is an integer.   I don't even know where to start, maybe binomial expansion? But that would only give $x^n*\frac{1}{x^n}$, not $x^n + \frac{1}{x^n}$.   Is there something I'm missing (also this is quite a basic course, so as simple as solution as possible please). We have covered basic methods of proofs (including induction). I have read  which of course is the same question, but I don't quite get the how some of the answers got to the induction step.  Thanks

Suppose that $0\neq x\in\mathbb{R}$ and $x + \frac1x\in\mathbb{Z}$. Prove that, for all  $n\ge1$, $x^n + \frac1{x^n}\in\mathbb{Z}$.  I can't figure out and understand the question. Can you give me some hints ?


Is that true for any $x>0$, the gamma function   $ \Gamma(x)\le x^x? $  I know this is true for integers but am not sure for any $x>0$.

Where can I find a (simple?) proof that $\Gamma(x) \leq x^x \,\,\,\, \forall x \geq 1$? $\Gamma(x)$ is the Gamma function defined as $$ \Gamma(x) = \int_0^\infty t^{x-1} e^{-t} \, \mathrm{d}t $$


Trying to render this scene. My render output looks different from how it appears in the viewport. The ocean looks different in the attached two images, one of rendered output & one viewport screenshot. trying to render in cycles. Applied Ocean modifier to create the ocean. Please guide me with your valuable feedback & comments. Also appreciate if any suggestions to make the scene look better or any scope of improvement elswhere

When I try to render a wave, it keeps being rendered in extremely low quality. I'm not sure exactly which setting is causing this, but increasing the renderand viewport sampling don't seem to help.


So I'm working on this ASP.NET MVC 5 project and everytime I bump into an error I get my error message showed in Danish. I want it to be displayed in English. I don't know how it changed out of sudden. anyone know how I can change it back to English, please.

I developing ASP.NET application using a Swedish version of Windows XP and Visual studio Professional. When ever i get an error aka. "yellow screen of death" the error message is in swedish, making it a bit hard to search for info about it.  How can i change what language the error messages in ASP.NET uses?  I have no language pack installed for the .net framework. I am however running an english windows xp with a swedish language interface pack on it.  I also have this in my web.config:  <system.web>    <globalization uiCulture="en-US" /> </system.web>


First, I know how to declare FQDN but, I just want to know are they the same thing: I have 2 VPSs running using Centos 7. When I look up at the /etc/hosts file: I found the entry of the host file for VPS 1 like this: 127.0.0.1 localhost.localdomain localhost  But then the entry of host file for VPS 2 is like this: 127.0.0.1 localhost localhost.localdomain  I'm not sure why the 2 entries are different. My question is, what is the correct syntax for declaring this Fully Qualified Domain Name in your host file? Are those 2 lines can be used and has the same purpose? Edit: About the mark as duplicated answer, for explanation: The question asked there specifically about RHEL-based and Debian-based distros that have difference host setting but this question is about the same distro (CentOS 7) but has different host setting that might confuse some questioners to get the 'why' answer where the answer from the reference doesn't cover this.

I've noticed that the "preferred" method of setting the system hostname is fundamentally different between Red Hat/CentOS and Debian/Ubuntu systems.   and the  say the hostname should be the FQDN:     HOSTNAME=<value>, where <value> should be the Fully Qualified Domain   Name (FQDN), such as hostname.example.com, but can be whatever   hostname is necessary.   The  is slightly more ambiguous:     Setup prompts you to supply a host name for this computer, either as a   fully-qualified domain name (FQDN) in the format hostname.domainname   or as a short host name in the format hostname.    says the hostname should not use the FQDN:     3.5.5. The hostname      The kernel maintains the system hostname. The init script in runlevel   S which is symlinked to "/etc/init.d/hostname.sh" sets the system   hostname at boot time (using the hostname command) to the name stored   in "/etc/hostname". This file should contain only the system hostname,   not a fully qualified domain name.   I haven't seen any specific recommendations from IBM about which to use, but  seems to have a preference.  My questions:   In a heterogeneous environment, is it better to use the vendor recommendation, or choose one and be consistent across all hosts? What software have you encountered which is sensitive to whether the hostname is set to the FQDN or short name?


CODE:   let name = 'bam';  doc.name = req.body[x].value;      PROBLEM:   I want it to return doc.bam value but actually it get doc.name value while I set name='bam'.

I'm pulling items out of the DOM with jQuery and want to set a property on an object using the id of the DOM element.   Example  const obj = {}  jQuery(itemsFromDom).each(function() {   const element = jQuery(this)   const name = element.attr('id')   const value = element.attr('value')    // Here is the problem   obj.name = value })   If itemsFromDom includes an element with an id of "myId", I want obj to have a property named "myId". The above gives me name.  How do I name a property of an object using a variable using JavaScript?


I have started experimenting with the ocean sim modifier, but I am noticing how "symmetrical" the resulting mesh is. No matter how I adjust the parameters, a wave in one corner will appear in the opposite as well, which leads to unrealistic water like this:    I understand this is to allow seamless tiling, but in my case I am only interested in one single tile, and am finding the symmetry to be visually disruptive. Is there any way to disable it?

I want to make a scene of a missile flying over the ocean. Because I want the missile to be relatively high up, the ocean looks very repetitive.   How can I make the ocean not look tiled without scaling up the object and making the waves smaller?


I have a image which I want to crop and then use it accordingly for my project using html/css. I don't want to use any photo editor.

I want to show an image from an URL with a certain width and height even if it has a different size ratio.  So I want to resize (maintaining the ratio) and then cut the image to the size I want.  I can resize with html img property and I can cut with background-image.  How can I do both?  Example:  This image:     Has the size 800x600 pixels and I want to show like an image of 200x100 pixels   With img I can resize the image 200x150px:      That gives me this:           And with background-image I can cut the image 200x100 pixels.
&nbsp;
    Gives me:
&nbsp;
      How can I do both?  Resize the image and then cut it the size I want?


Let $A$ be open in $\mathbb{R}^m$; let $g:A\rightarrow\mathbb{R}^n$. If $S\subseteq A$, we say that $S$ satisfies the Lipschitz condition on $S$ if the function $\lambda(x,y)=|g(x)-g(y)|/|x-y|$ is bounded for $x\neq y\in S$. We say that $g$ is locally Lipschitz if each point of $A$ has a neighborhood on which $g$ satisfies the Lipschitz condition. Show that if $g$ is of class $C^1$, then $g$ is locally Lipschitz.  If $g$ is of class $C^1$, that means the component derivatives of $g$ are continuous. The $i$th-component derivative ($i=1,2,\ldots,m$) at a point $r\in A$ is $D_ig(r)=\lim_{t\rightarrow 0}\dfrac{g(r+te_i)-g(r)}{t}$. So this function is continuous over all points $r\in A$. How can I deduce local Lipschitz from here?

I am interesting in the following result:     Let $X$ be a normed space and $f : X \to \mathbb{R}$. If $f$ is continuously differentiable in a neighborhood $V$ of a point $x_0 \in X$, then $f$ is locally Lipschitz at $x_0$.   Using mean value theorem, for all $x,y$ in an open ball $B \subset V$, there exists $z \in [x,y]$ such that $f(x)-f(y)= \langle f'(z), x-y \rangle$ so $|f(x)-f(y)| \leq \max\limits_{z \in B} ||f'(z)||. ||x-y||$.  In finite dimension, we can suppose that the closure of $B$ is in $V$ so that $\max\limits_{z \in B} ||f'(z)|| < + \infty$ because $z \mapsto f'(z)$ is continuous and the closure of $B$ is compact.  But what happens in infinite dimension? Is the result still true?


In a dataset "survey", pulse and age are given as non-continuous data. how come these age and pulse can be non-continuous?  this is the reference link

What is the difference between discrete data and continuous data?


I have a usb 3g dongle and a D-Link modem. I like to know how to convert my d-link wifi modem as wifi transmitter for the data from usb dongle.  i.e. Internet connection source as my USB dongle amd wifi broadband modem as wifi transmitter.

I am trying to extend the wireless network in my house.  I have a cable modem attached to a D-Link DIR-635 wireless router. This works fine if I am in the part of the house near the router.  I have got a set of  adapters to connect to the router through the power cables.  I have connected one adapter to the wireless router and one to a PC. This works fine.  What I have done now is to get a second wireless router (same model as first). I want to connect the second wireless router to a avmini adapter. When I run the setup for the router, I get a message at the end that I cannot connect to the Internet.  I have read that it should be possible to solve this by putting the router in bridge mode, but I have not been able to find how to do this.  So how do I get this to work?


Is there a way to determine if a color has been defined by xcolor? I am trying to add compatibility to a library using multiple versions of tcolorbox where certain colors were recently renamed; I'd like to redefine them if they are undefined.

I want to check whether a color has been previously defined, consider the below code which doesn't execute.  \documentclass{article}  \usepackage{xcolor} \newcommand{\colorprovide}[2]{\ifx\undefined{#1}\colorlet{#1}{#2}\fi}  \begin{document}     %Initial Definition     \colorprovide{mycolor}{red}     \textcolor{mycolor}{Test 1}      %Will overwrite     \colorlet{mycolor}{green}     \textcolor{mycolor}{Test 2}      %Should NOT overwrite as it exists     \colorprovide{mycolor}{red}     \textcolor{mycolor}{Test 3} \end{document}   In other words and analogous to \providecommand{...} not renewing an existing command if it exists, I need a macro which will will NOT redefine a color if the color has already been defined.  The above code throws an error as the logical checking part \ifx\undefined... is incorrect.


Hello Unix/Linux Stackexchange. I have a mulri-part question about the /home partition. Thanks for taking the time to read and reply to all the questions below.   Is it possible to share the /home partition with two or more separate Linux partitions? For example can I use the same /home partition with an /Arch and /Debian partition?   If it is possible can I also use the same username for both or is it better to use different ones and share data between them?   I am also assuming that in this setup I would also need a separate /boot partition as well  is that correct?  Thanks!

What is the best way to share the same /home directories between different linux distribution?   I mean, I want to have both, say, Fedora and Arch, and I want to find my files at home no matter which linux distro I boot into. But if I mount the same partition for /home then I may mess up the configurations saved inside /home directory.  So what can I do?


$X \sim N(0,1)$ and $Z \sim Rademacher$, and they are independent.  How can I show formally that $Y=XZ \sim N(0,1) $ too?

Let $X$ and $Z$ be independent, with $X\sim N(0,1)$, and with $\textbf{P}(Z=1)=\textbf{P}(Z=-1)=\frac{1}{2}$. Let $Y=XZ$ (i.e., $Y$ is the product of $X$ and $Z$).   (a) Prove that $Y\sim N(0,1)$.  (b) Prove that $\textbf{P}(|X|=|Y|)=1$.   (c) Prove that $X$ and $Y$ are not independent.   (d) Prove that $\textbf{Cov}(X,Y)=0$.  (e) It is sometimes claimed that if $X$ and $Y$ are normally distributed random variables with $\textbf{Cov}(X,Y)=0$, then $X$ and $Y$ must be independent. Is that claim correct?   My Work: (a) Is really where I am a little stuck. In order to show that $Y\sim N(0,1)$, I want to show that they have the same distribution laws. Thus, I want to show that $\mathcal{L}(Y)=\int_{-\infty}^\infty \frac{1}{\sqrt{2\pi}}e^{-\frac{t^2}{2}}\textbf{1}_B(t)\lambda(dt)$ given that $\mathcal{L}(X)=\int_{-\infty}^\infty \frac{1}{\sqrt{2\pi}}e^{-\frac{t^2}{2}}\textbf{1}_B(t)\lambda(dt)$.   However, I don't know how to go about that. Another approach I have considered is to show that for any Borel measurable function $f:\mathbb{R}\to\mathbb{R}$,$\space$ $\textbf{E}(f(X))=\textbf{E}(f(Y))$ for which each is well defined. Which approach do you think is better and How should I start. Any help will be appreciated.


i have a table A and i want to update the creation time of this table. I understand i cant simple update ( using update query) as it is not any table.  Is there any way i can update it.  for example creation time is '2015-07-03 12:03:33' to '2015-06-03 12:03:33'

The INFORMATION_SCHEMA is, in theory, a set of views specified in the SQL standard that allow the user to inspect the system's metadata. How is it this implemented in MySQL?  When I connect to a fresh installation I see two databases: mysql and information_schema. After using SHOW CREATE TABLE statements on the information_schema database, it looks like it's not implemented as a set of views but with base tables instead. Is this assumption correct? Or there are other system tables that are hidden from the user?


Whenever I try to install anything with apt-get, I get error messages: apt-get install abinit Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies:  libpng12-0 : Breaks: libpng12-0:i386 (!= 1.2.54-1ubuntu1) but 1.2.54-1ubuntu1.1 is to be installed  libpng12-0:i386 : Breaks: libpng12-0 (!= 1.2.54-1ubuntu1.1) but 1.2.54-1ubuntu1 is to be installed  libpng12-dev : Depends: libpng12-0 (= 1.2.54-1ubuntu1.1) but 1.2.54-1ubuntu1 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).  How can I fix this?  If I try the suggested apt-get -f install command, it complains: Preparing to unpack .../libpng12-0_1.2.54-1ubuntu1.1_amd64.deb ... Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) over (1.2.54-1ubuntu1) ... dpkg: error processing archive /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb (--unpack):  trying to overwrite shared '/usr/share/doc/libpng12-0/changelog.Debian.gz', which is different from other instances of package libpng12-0:amd64 Processing triggers for libc-bin (2.23-0ubuntu11.2) ... Errors were encountered while processing:  /var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)  What would a smart person do?

I tried to upgrade Intel graphics in ubuntu 16.10 using the official installer. The last stage of unpacking libcairo2 produces an error (see figure).  When I do upgrade I get the same error also:   Preparing to unpack .../0-libcairo2_1.15.2-0intel1_amd64.deb ... Unpacking libcairo2:amd64 (1.15.2-0intel1) over (1.15.2-0intel1) ... dpkg: error processing archive /tmp/apt-dpkg-install-aYhdFd/0 libcairo2_1.15.2-0intel1_amd64.deb (--unpack): trying to overwrite shared '/usr/share/doc/libcairo2/changelog.Debian.gz', which is different from other instances of package libcairo2:amd64 Preparing to unpack .../1-libcairo2_1.15.2-0intel1_i386.deb ... Unpacking libcairo2:i386 (1.15.2-0intel1) over (1.15.2-0intel1) ... dpkg: error processing archive /tmp/apt-dpkg-install-aYhdFd/1-libcairo2_1.15.2-0intel1_i386.deb (--unpack): trying to overwrite shared '/usr/share/doc/libcairo2/changelog.Debian.gz', which is different from other instances of package libcairo2:i386 Errors were encountered while processing: /tmp/apt-dpkg-install-aYhdFd/0-libcairo2_1.15.2-0intel1_amd64.deb /tmp/apt-dpkg-install-aYhdFd/1-libcairo2_1.15.2-0intel1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   It seems that there is a conflict in thelibcairo releases; if yes, how to resolve it ?


I feel the answer to this question is just out of reach - I "understand" the implication that a quantum computer uses all combinations of bits simultaneously compared to a classic computer, and that clearly gives a huge boost to processing times, however I'm struggling to quite grasp how. I watched  on quantum computing in which the gentleman said that a 300 qubit QC would be more powerful than a regular PC with one bit of memory for every atom in the universe. They also mentioned that Google have created a QC with 53 qubits. So to try and get my head around it, I decided to compare this to my PC. Forgetting memory needed for anything other than storing combinations, if I have 16GB of RAM available, that's 217'179'869'184 possible combinations, or ~57 million lots of 53 bits (with each one in one specific combination). So for each cycle of combinations, my PC is able to hold ~57 million combinations of 53 bits, and if my PC is running at 4.1GHz, that's 7.0E+19, or in the region of 266 combinations per second. Now I have a good PC, but it seems to be reasonably on a par with Google's quantum computer, which just seems wrong. I know that I've not used an exact science to calculate things but I can't follow where I've screwed up the maths? The claim for the 300 qubit QC I also can't follow with the above logic. As excel won't work with stupidly large numbers I tried to do this on paper, so bear with me: There are 10E+80 atoms in the universe, so this number of bits would give 2(10E+80), or 2800 combinations. An unholy number that no-one could possibly comprehend. For the QC there are 300 qubits or ~28 therefore one could store 2792 combinations at any one time, which is already way above the 2300 combinations available to a 300 qubit QC..?

What feature of a quantum algorithm makes it better than its classical counterpart?  Are quantum computers faster than classical ones in all respects?


I'm trying to launch an application (lets call it test), but it fails giving the following error:  ./test ./test: error while loading shared libraries: libuuid.so.1: cannot open shared object file: No such file or directory   Although this library does exist:  locate libuuid.so.1 /lib/x86_64-linux-gnu/libuuid.so.1 /lib/x86_64-linux-gnu/libuuid.so.1.3.0   It also can be found when using sudo ldconfig -v under the same folder.  Running ldd on the app gives the following info:  ldd test  linux-gate.so.1 =>  (0xf76fe000) libsteam_api.so => ./libsteam_api.so (0xf7665000) libcrypto.so.1.0.0 => ./libcrypto.so.1.0.0 (0xf74ba000) libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf736d000) libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xf730d000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf72f3000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf72d7000) librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf72ce000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf72c8000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7282000) libuuid.so.1 => not found libc++.so.1 => ./libc++.so.1 (0xf71d8000) libcxxrt.so => ./libcxxrt.so (0xf71b9000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7008000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6feb000) libiconv.so.2 => ./libiconv.so.2 (0xf6f07000) libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6e1e000) libasound.so.2 => not found libssl.so.1.0.0 => ./libssl.so.1.0.0 (0xf6dc7000) libopenal.so.1 => not found libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf6da5000) libglapi.so.0 => /usr/lib/i386-linux-gnu/libglapi.so.0 (0xf6d8d000) libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf6d7a000) libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf6d75000) libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf6d6f000) libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xf6d6c000) libxcb-glx.so.0 => /usr/lib/i386-linux-gnu/libxcb-glx.so.0 (0xf6d54000) libxcb-dri2.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri2.so.0 (0xf6d4e000) libxcb-dri3.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri3.so.0 (0xf6d49000) libxcb-present.so.0 => /usr/lib/i386-linux-gnu/libxcb-present.so.0 (0xf6d45000) libxcb-sync.so.1 => /usr/lib/i386-linux-gnu/libxcb-sync.so.1 (0xf6d3e000) libxshmfence.so.1 => /usr/lib/i386-linux-gnu/libxshmfence.so.1 (0xf6d3b000) libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf6d35000) libdrm.so.2 => /usr/lib/i386-linux-gnu/libdrm.so.2 (0xf6d27000) /lib/ld-linux.so.2 (0xf76ff000) libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf6d23000) libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf6d1c000)   So I'm missing 3 libraries in total, although all of them can be found using locate or sudo ldconfig -v.  I've tried using sudo ldconfig, and it did not change anything. I've also tried setting LD_LIBRARY_PATH to the directory of library.

I have a 64-bit version of Ubuntu 13.10.  I want to run a 32-bit version of a program.  However I see ia32-libs is not included in 13.10.  Is there a replacement package for this or what?


I have previously asked question here but it was closed because I did not react fast enough I think. NEvertheless, my problem is still the same: I have a set of points (meteorological stations) with 5km buffers around them. Additionally, I have a set of polygons (municipalities) in which those stations are located. Each station buffer can be over 1,2,3... polygons and those can be completly different polygons.   I would like to have data on how much of the buffer is filled by each polygon but I was not able to find a function or a way to do it. So for example for point A I would have that in the buffer of 5km there is 80% of polygon B and 20% of polygon C as the output, so 4 values, two for IDs of the polygons and 2 for the percentage overlap (it could be only 2 values for other buffer or 6 etc. etc.).  Main difference to the other similar question provided is that I have 2 vector layers (Buffer with 500 buffers and Municipalities a shape file with 500 different polygons). Previous questions were analyzing this question in situations in which I know precisely the polygons and buffers analyzed, at least that is how I understood them, so after trying to use those approaches on my dataset I was not able to replicate them.

I am trying to compare two different vector layers on QGIS 3. They are species distribution maps. I would like to calculate the percentage of overlap of two vector layers. My goal is to determine how similar the two ranges are. Anyone know how I can do this in QGIS 3.8?


I have a collection like this:  List<string> names = new List<string>      {       "One",       "Two"       "One",       "Three",       "One",       "One"     };   I want to remove those extra "Ones", leaving only the first "One" in. The code below doesn't work somehow.              foreach (var item in names)         {             if (names.Contains(item) && names.Count(x => x == item) > 1)             {                 names.Remove(item);             }         }   What are other, cleaner options? :)  Thank you in advance.

Hope someone can help me. I am using c# and I am somewhat new to it. I am loading a text file into my app and splitting the data on "," I am reading part of string into a <list> when the data is read there is a lot of duplicates that vary depending on the txt file that I load.  Can someone tell me how to check the  and remove any and all duplicates that come up. There is no way of knowing what duplicates will show up as there is infinite possibilities that it could be.  Thanks for the help in advance


Do search engines pay any attention to the depth of a website, or are they more concerned about how site pages are internally linked as well as the ease of its navigation?  Let's say a website, has the following path:   Sport > Football > Football Teams > Team Name > Player Name Profile   Such a long path, would typically generate the following URL:  www.example.com/sport/football/football-teams/team-name/player-name-profile/   Personally, I would say, this is a fairly deep path; although very logical.  As far as I am aware, search engines prefer URLs to be kept as short as possible.  Even if this is not the case, I guess it would be good practice, even if to help users remember the URL, for future reference.  Firstly, would such a long path/URL, potentially have a negative impact on SEO efforts?  Secondly, would it be ok to structure URLs, so they only contain the domain name and the last URL directory?  So the above URL would be shortened to:  www.example.com/player-name-profile/   In shortening the URL, using the above approach, would this 'counter' any negative SEO impacts or would it have zero effect?  Also, would it take away any context of the page, since the former directories have been removed from the URL?  Thirdly, should the primary focus be placed on site navigation, regardless of site depth?  In other words, utilise the site wide navigation, as well as page specific navigation (sidebars etc), in order to help a visitor get to any page, in the shortest amount of clicks possible; of course, with user experience in mind.  i.e ... Don't just put every link on one page.  Unless, it is a sitemap of course ;-)

I am making a website with several directories that will have a high amount of content.  For now I have separated the URLs into categories so that they’re like this:     www.example.com/student/   www.example.com/student/student-name/   www.example.com/student/student-name/biography   www.example.com/student/student-name/image-gallery/   www.example.com/student/student-name/image-gallery/gallery-name-1   www.example.com/student/student-name/image-gallery/gallery-name-2   www.example.com/student/student-name/contact   www.example.com/teacher/   www.example.com/teacher/teacher-name   www.example.com/teacher/teacher-name/biography   www.example.com/teacher/teacher-name/image-gallery/   www.example.com/teacher/teacher-name/image-gallery/gallery-name-1   www.example.com/teacher/teacher-name/image-gallery/gallery-name-2     There are many teachers, students, galleries, videos, etc.  There are several more categories that are made in the same way, but before going online I would like to check whether this is the best way.


I have the cubic function $$ \lim_{x \to -2}(x^3+4x^2+4x-1)=-1 $$ which I manage to break down into $$x(x+2)^2 < \epsilon.$$ How do I proceed with this? I try to define $x$ by setting $\delta < 1$ but get negative outputs which I frankly do not know what to do with.

How to use the formal definition of the limit of a sequence to prove the following limit?  $\lim_{x \to -2} {(x^3 + 4x^2+ 4x-1)} = -1,$  $\lim_{x\to 1}{(\frac{1}{x})} = 1.$


Newton's first law of motion states,"Every body continues in its state of rest, or of uniform motion in a right line, unless it is compelled to change that state by forces impressed upon it."  Again definition IV of Principia Mathematica (before stating the laws of motion) states that," An impressed force is an action exerted upon a body, in order to change its state, either of rest, or of uniform motion in a right line."  Is there any difference between these two statements?. Because if there is no external force, the state of motion will not change.   And I also don't understand why the statement of first law implies the assumption of existence of inertial frames.

Recently I've seem  one answer telling that Newton's first law really assures the existence of inertial reference frames. But how is that? I really can't see it. As I know, Newton's first law says:     Every body continues in its state of rest, or of uniform motion in a right line, unless it is compelled to change that state by forces impressed upon it.   Now, what I've seem done is to use this to define that whenever this law holds in some reference frame we call it inertial. But how this law states that such a frame does exist?


I am so confused, I have asked like 5 questions on programmers.stackexchange.com / softwareengineering.stackexchange.com, and all of them have upvotes. Yet, I logged in a week ago, and now I can't ask a question anymore:  "You have reached your question limit Sorry, we are no longer accepting questions from this account. See the Help Center to learn more."    Anyone have any idea why this might have happened?  My account is here:   I have a ton of points over at StackOverflow, so the StackExchange network should know that I contribute positively.    Miffed. -alex

If you are reading this, you may have been affected by one of our post quality bans. If so, it is important that you  to understand what has happened and how to regain the permissions that you lost. While trying to ask a question, one could see:  We are no longer accepting questions from this account. See  to learn more.  Likewise, for answers:  We are no longer accepting answers from this account. See  to learn more.   Why am I getting this message? Are deleted posts taken into account too? Is a question/answer ban the same as a suspension? How do I avoid getting a question ban? How long do I have to wait before I can post again? What can I do to release the ban? How can I reactivate my account? Can I simply create a new account? I'll just ask somewhere else on the SE network, and they'll migrate my question to the correct site! Will a ban on one Stack Exchange site affect my standing on other sites in the network? Does this apply to meta sites too? My account is in good standing. Why am I still blocked?


I'm trying to install Ubuntu Studio version 14.04.2 (alongside my Windows 8). Everything seems to go fine during the installation until at some point this message pops up:  GRUB installation failed  The 'grub-efi-amd64-signed' package failed to install into /target/. Without the GRUB boot loader the installed system will not boot.   Then it says the installation crashed, and I'm taken to the Ubuntu desktop (which I imagine is the "try ubuntu" thing on the disc).  More info: I'm using a Lenovo laptop B5400 64-bit with Windows 8, and have just recently been figuring out all this business with partitions, dual OS systems and whatnot. I've disabled safe booting. I've connected to internet each time I attempted installation. I've tried the "check for corruption" option on the disk, nothing comes up so it's not that. Hitting F12 at startup and choosing to run the disc first is the right way to do this, yes? I've gone through a few answered questions but most of them don't apply to my situation, are outdated, or I don't understand the answer (many people talk about entering commands into things and I don't know when/how to do this).  Please help a confused noob out!  Edit: Thank you all for trying to help (and pointing me to that other topic), but the solutions there have not worked! The other asker is using a different version of Ubuntu, 12.04.3. (And it's not Ubuntu Studios, which, while it does have the /grub2 folder, it does not have /grub2-signed. And all the files do end in 64, though they have different names.) Plus, the second answer doesn't work since I'm trying to get a dual system, not wipe and repartition everything. So, that topic is of no use to me.  @shredalert: Thanks, and I hope you enjoyed your rum, but this has not worked either. I entered the commands just as you said but it comes up with something along the lines of "Errors encountered while processing yada yada yada" and it lists a bunch of things of which duplicates were found. I'm guessing since I have the latest version, there is no point in updating it and all the current files are the same as the update files. Exact same thing happens with "sudo apt-get install grub". So, the problem isn't there.  I will see if installing a normal version of Ubuntu works (rather than Ubuntu Studio... and then manually installing all the extra software. sigh). If that fails, I will try an older version. If THAT fails, I'll flip a table then do the Boot-Info thing.  ...How do I remove the [duplicate]? That won't help me find answers.

The error message is :the grub-efi-amd64-signed package failed to install into /target/. Without the GRUB bootloader the system will not boot  I'm trying to install on HP pavilion g6-2303 TX using USB.  How do I fix this problem?


If at the centre of a supermassive black hole resides a singularity point which just continues to consume everything around it, then why is this black hole allowed to get larger and larger? Why is this mass not getting pulled into the singularity? All this millions of km of space from the singularity point to the edge of the black hole, why is it not getting smaller?

I heard on a podcast recently that the  at the centre of some galaxies could have densities less than water, so in theory, they could float on the substance they were gobbling up... can someone explain how something with such mass could float?  Please see the below link for the podcast in question:


With "implements" I can force a class to define certain functions, but I need to add some functions to the interface to avoid duplicate code. This is only possible if I make the class "abstract" and use "extends". But "extends" only accepts one class. Because each of these classes are different, sort of like features of an app, I can't just extend one with the other. So is there any way to have   class My extends Feature1, Feature2, Feature3{ }   ??

If I have several classes with functions that I need but want to store separately for organisation, can I extend a class to have both?  i.e. class a extends b extends c  edit: I know how to extend classes one at a time, but I'm looking for a method to instantly extend a class using multiple base classes - AFAIK you can't do this in PHP but there should be ways around it without resorting to class c extends b, class b extends a


Recently I've been receiving spam and commercial emails that include special unicode characters in the subject line that display as tiny animated icons in the Gmail web app.   on Stack Overflow explains what they are and how they work.  I find the animations extremely distracting when they are displayed in a list of emails by subject. Is there any way to turn them off or hide them?

I received one actual Google message and at least three spam emails today which displayed an icon of some sort in the subject title. I cannot find an option to turn off this visual noise; some of the icons are even animated!  Heading only:         Gmail interface:


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

I had physical copy of the game. The complete edition was on sale on PSN so I bought it and deleted the physical copy from the feed bar and downloaded the digital copy. Now I can’t use my old saves. When I try to load an old save it tells me the game isn’t completely installed  Is there a way to fix this?


Petroleum test = Set_Petroleum_values();     ofstream fuel("Fuel.txt");     {         fuel << test << " ";         fuel.close();     }   the set values function takes the users input and calls a default constructor for the test object. My aim here is to somehow save the info that is being stored into this object however i am not sure how would i overload the "<<" operator when it comes to file handling. and yes the aim is to store the object so that the info is maintained once different operations and functions are proceeded etc.

I am writing a small matrix library in C++ for matrix operations. However my compiler complains, where before it did not. This code was left on a shelf for 6 months and in between I upgraded my computer from debian etch to lenny (g++ (Debian 4.3.2-1.1) 4.3.2 ) however I have the same problem on a Ubuntu system with the same g++.  Here is the relevant part of my matrix class:  namespace Math {     class Matrix     {     public:          [...]          friend std::ostream& operator<< (std::ostream& stream, const Matrix& matrix);     } }   And the "implementation":  using namespace Math;  std::ostream& Matrix::operator <<(std::ostream& stream, const Matrix& matrix) {      [...]  }   This is the error given by the compiler:     matrix.cpp:459: error: 'std::ostream&   Math::Matrix::operator<<(std::ostream&,   const Math::Matrix&)' must take   exactly one argument   I'm a bit confused by this error, but then again my C++ has gotten a bit rusty after doing lots of Java those 6 months. :-)


I want to find an example of a $\textbf{continuous everywhere}$ function but can't be expressed as a convergent power series $\sum_{n=0}^{\infty}c_n(x-a)^n$ near a point $a$ (i.e. on $(a−\epsilon,a+\epsilon)$ for all $\epsilon$, a is constant).  Do I need to consider some Fourier series?

I am wondering if there are any functions $f(x)$ such that it cannot be expressed as a power series of $x$? This might turn out to be a silly question, but I can't think of one at the moment.   Thanks!


Microsoft's recommendation for setting MAXDOP is based on logical processors count.   On my server which has one hex core CPU, hyper threaded,6 physical cores -> 12 logical. So by Microsoft's recommendations MAXDOP should be set to 8, however a few resources I've read say to set it to the number of physical cores , so 6 in my case, which is it ?! Or is this a question with out an answer, a depends scenario ?

When setting up a new SQL Server, I use the following code to determine a good starting point for the MAXDOP setting:  /*     This will recommend a MAXDOP setting appropriate for your machine's NUMA memory    configuration.  You will need to evaluate this setting in a non-production     environment before moving it to production.     MAXDOP can be configured using:      EXEC sp_configure 'max degree of parallelism',X;    RECONFIGURE     If this instance is hosting a Sharepoint database, you MUST specify MAXDOP=1     (URL wrapped for readability)    http://blogs.msdn.com/b/rcormier/archive/2012/10/25/    you-shall-configure-your-maxdop-when-using-sharepoint-2013.aspx     Biztalk (all versions, including 2010):     MAXDOP = 1 is only required on the BizTalk Message Box    database server(s), and must not be changed; all other servers hosting other     BizTalk Server databases may return this value to 0 if set.    http://support.microsoft.com/kb/899000 */   DECLARE @CoreCount int; DECLARE @NumaNodes int;  SET @CoreCount = (SELECT i.cpu_count from sys.dm_os_sys_info i); SET @NumaNodes = (     SELECT MAX(c.memory_node_id) + 1      FROM sys.dm_os_memory_clerks c      WHERE memory_node_id < 64     );  IF @CoreCount > 4 /* If less than 5 cores, don't bother. */ BEGIN     DECLARE @MaxDOP int;      /* 3/4 of Total Cores in Machine */     SET @MaxDOP = @CoreCount * 0.75;       /* if @MaxDOP is greater than the per NUMA node        Core Count, set @MaxDOP = per NUMA node core count     */     IF @MaxDOP > (@CoreCount / @NumaNodes)          SET @MaxDOP = (@CoreCount / @NumaNodes) * 0.75;      /*         Reduce @MaxDOP to an even number      */     SET @MaxDOP = @MaxDOP - (@MaxDOP % 2);      /* Cap MAXDOP at 8, according to Microsoft */     IF @MaxDOP > 8 SET @MaxDOP = 8;      PRINT 'Suggested MAXDOP = ' + CAST(@MaxDOP as varchar(max)); END ELSE BEGIN     PRINT 'Suggested MAXDOP = 0 since you have less than 4 cores total.';     PRINT 'This is the default setting, you likely do not need to do';     PRINT 'anything.'; END   I realize this is a bit subjective, and can vary based on many things; however I'm attempting to create a tight catch-all piece of code to use as a starting point for a new server.  Does anyone have any input on this code?