Below is the image I got from my linear regression model. I can see a straight line for the Q-Q plot, however data-points for the residuals vs fitted plot shows a pattern. The model contains seven predictor variables and one response.   The response variable is a rating from 1 to 5 (so only the five values 1, 2, 3, 4, 5 are possible). The model is:  model <- lm(CMS_Rating ~ MORT_SCORE + SAFETYOFCARE_SCORE + READM_SCORE +                          PEXP_SCORE + EFFOFCARE_SCORE + EFFMEDIMG_SCORE +                           TIMECARE_SCORE, data = train)   The predictor variables are latent variables, described below.  Could you please help me out to interpret the below plots? Also let me know the issues you see the with the model plots.    The seven predictor variables were derived from 57 variables using the Lavaan package and standardized later using the scale function. These original 57 dependent variables are continuous variables, and were made into 7 groups based on domain knowledge. Each group then in turn served as a Dependent Variable for the model.  Here's MORT_SCORE, as an example; it consists of 7 dependent variables (part of original 57 variables). Similarly all 7 groups have 7 scores.  meas.model1 <- "MORT =~ MORT_30_AMI + MORT_30_CABG + MORT_30_COPD +                         MORT_30_HF + MORT_30_PN + MORT_30_STK +                         PSI_4_SURG_COMP"     meas.f1 <- cfa(meas.model1, data = pcdata_mortX)  MORT_SCORE <- MORT_30_AMI  * 1.000   +  MORT_30_CABG * 0.659  +                MORT_30_COPD * 1.157   +  MORT_30_HF   * 1.227  +                MORT_30_PN   * 1.287   +  MORT_30_STK  * 1.007  +                PSI_4_SURG_COMP * 0.563

I'm analyzing a residual plot  of the residuals vs the fitted values.  I'm not quite sure how to interpret this plot since there looks like there is a pattern and the average is not actually zero. There are diagonal straight parallel lines.    I'm working with several ordinal IV's.  Any ideas?


So I am attempting to convert an int based binary search tree I created earlier into a templated binary search tree. I am struggling with how to type out my .cpp file.  In my .h file I have:  template <typename T> class BST { private:             struct node     {         T m_data;         node* m_left;         node* m_right;     };      node* m_root;     void AddLeafPrivate(const T& x, node* Ptr);     void PrintInOrderPrivate(node* Ptr);     node* ReturnNodePrivate(const T& x, node* Ptr);     T FindSmallestPrivate(node* Ptr);     void RemoveNodePrivate(const T& x, node* parent);     void RemoveRootMatch();     void RemoveMatch(node* parent, node* match, bool left);     node* CreateLeaf(const T& x);     node* ReturnNode(const T& x);     void RemoveSubtree(node* Ptr); public:     BST();     ~BST();     void AddLeaf(const T& x);     void PrintInOrder();     T ReturnRootKey();     void PrintChildren(const T& x);     T FindSmallest();     void RemoveNode(const T& x); };   In my .cpp file I am getting errors with the following functions:   template <typename T> template BST<T> :: node* BST<T>::ReturnNode(const T& x) {   return ReturnNodePrivate(x, m_root); }  template <typename T> template BST<T> :: node* BST<T> :: ReturnNodePrivate(const T& x, node* Ptr) { if(Ptr != NULL) {     if (Ptr -> m_data == x)     {         return Ptr;     }     else      {         if (x < Ptr -> m_data)         {             return ReturnNodePrivate(x, Ptr -> m_left);         }         else          {             return ReturnNodePrivate(x, Ptr -> m_right);         }            } } else {     return NULL; } }   I am getting the same 4 errors for each function and I am confused what I am doing wrong.   error: expected '<' before 'BST' for template BST<T> error: 'T' was not declared in this scope error: template argument 1 is invalid error: expected initializer before '*' token   Any suggestions on what I am doing wrong?

Quote from :     The only portable way of using templates at the moment is to implement them in header files by using inline functions.   Why is this?  (Clarification: header files are not the only portable solution. But they are the most convenient portable solution.)


Let $U, W$ be two vector subspace in a vector space $V$. Assume that neither one is contained in the other, i.e. $U \not\subset W$ and $W \not\subset U$. What is the easiest way to see that $U \cup W$ is not a vector subspace?

I'm having a difficult time understanding this statement. Can someone please explain with a concrete example?


How do I kill my wife? I married a assassin girl thing and if I attack her in my house will she attack back? Or will my housecarl then attack me? I'm stumped

Seriously, it was fun and all, but I can't and I don't want to stay married to the same woman for the rest of my life - one real life marriage is enough..  Is there a lawyer or process of some kind in the world of Skyrim, and if not, who could help me divorce her?  If all else should fail, (sigh), do I have to take her to the backyard, thwack her head with the shovel and dig a shallow grave?


I have web hosted a site on Linux server. On server I am getting an error message in the log file as mentioned.  Now my question is how to handle session on Linux server, because on all the pages it's considering Session == null only, not sure why.  For below line: if (sessionUID.equals(rs1.getString("userid")))  Stacktrace:] with root cause java.lang.NullPointerException     at org.apache.jsp.iframehomemiddle_jsp._jspService(iframehomemiddle_jsp.java:544)     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)     at java.lang.Thread.run(Thread.java:745)   This is how I am sending session from Servlet to JSP:  if (rs1.next()) {     HttpSession session = request.getSession();     session.setAttribute("USERID", rs1.getString("userid"));     request.getRequestDispatcher("HomePage.jsp").include(request, response); }   And this is how I am handling session in JSP:  <%     response.setHeader("Cache-Control", "no-cache"); //Forces caches to obtain a new copy of the page from the origin server     response.setHeader("Cache-Control", "no-store"); //Directs caches not to store the page under any circumstance     response.setDateHeader("Expires", 0); //Causes the proxy cache to see the page as "stale"     response.setHeader("Pragma", "no-cache"); //HTTP 1.0 backward compatibility          String sessionUID = (String) session.getAttribute("USERID");     if (null == sessionUID) {         request.setAttribute("Error", "Session has ended. Please login.");          %>  <script>window.location = "LoginPage.jsp";</script><%     } %>

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?


can anybody tell how do they animate the mobile UI/design to showcase their work.I have used Photoshop but the GIF quality sucks, i wonder what would be the best way to get the desire result please see the link for example. Thanks

I'm sure you've seen Dribbblers upload animated mockups of their designs.   Here's an example:     I can create mockups on Photoshop and even apply simple Tween Animations to them but I can never get my GIFs to look like the example here.   What are Dribbblers using to create these animations?   Notice that the animations also include touch points and perfect motion. I would like to convert my Photoshop mockups to do the same.  How can I create an animated example of my mockups, similar to the ones created by Dribbblers?


I want to delete a folder if is already present,Any inputs on how to delete a dir if it exists?Is there a python equivalent of "rm -rf" ?   if os.path.isdir('./.repo'):     shutil.rmtree('./.repo')

I am getting an 'access is denied' error when I attempt to delete a folder that is not empty. I used the following command in my attempt: os.remove("/folder_name").   What is the most effective way of removing/deleting a folder/directory that is not empty?


Not Sure what's happening with this edge, i've tried flipping the normals and re-building the topology, any ideas? I'm new to blender Thankyou

I am relatively new to Blender so please excuse me if this is rather amateur!   The bottom of my torus has poor surface quality, I have scaled the vertices down for a smaller (variable) tubular radius all the way around the torus and at the bottom the surface quality is awful, with inaccurate shading. Any ideas as to what is wrong and/or how I could fix this?  Thanks, itsanate


I have downloaded 12.04.4 LTS server iso (64 bit) and used netbootin to create a bootable usb thumb drive for the purpose of installing ubuntu server on a dell r620.  I have serial console connected and working for the host (I can see bios post, etc).  I can boot from the usb thumb drive and get to the unetbootin menu where I select install ubuntu server.  Once I select that option (or any of the others - expert install etc), I don't see any output on my remote console connection.  I do however see output on my direct connected monitor/keyboard (crash cart).  It is my assumption that the serial redirect setup is not done on the files on the thumb drive version of OS.  My ultimate goal is to be able to get hw to a datacenter, have it racked and cabled, have serial connection setup, have one of these usb thumb drives attached and from there I can do the install etc.  This is sort of a one off and I don't want to install via our usual pxe/kickstart method.  Can someone point me to a guide to "unpack" the iso files, add the serial redirection bits I need and then "repack" into an iso so I can then burn the iso to the thumb drive (using unetbootin)?  Or is there a different/better way?

This is the third time I've tried to install Ubuntu Server 14.04.03 64-bit on the same laptop, and each time it caused different problems.  Each time I wrote the same iso image to a USB flash drive by using a different application and OS.   Universal USB Installer (pendrivelinux.com) from Windows WinImage writer from Windows built-in image writer from Linux Mint 17.2    The iso image is the same in all three cases, the USB flash drive is the same, and the laptop is the same. However each time the installation of Ubuntu gave me different installation options. For example, the last time I installed Ubuntu, it didn't show all the packages to choose while installing (Basic Ubuntu server, etc.).


My Ubuntu 13.04 is not auto-mounting my Motorola Razr D1. I have installed mtpfs with no luck.  What else should I do to be able to mount and copy my awesome MP3 files in it?  Thanks!

Since Ubuntu 13.04 storage access to external devices via MTP is supposed to work out of the box via a GVFS-MTP module.      While this question is about the Galaxy Nexus, other Android devices as well as Windows Phones and MTP enabled media players are also supported.      For troubleshooting see .     I am having quite a bit of problems getting file-transfers working over MTP with the Galaxy Nexus. I am using Kubuntu 11.10 64-bit, and this is what I have done and the results I get:   Added rule for device in /etc/udev/rules.d/51-android.rules. The rule is the following and works for adb:  SUBSYSTEMS=="usb", ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="6860", MODE="0666", OWNER="leob" #Galaxy Nexus  Restarted udev (and computer just to make sure).   Adb works, and all methods for reading from the device via MTP seems to work (I have tried mounting with mtpfs, gmtp and using the mtp-tools package directly). When I try to write to the device however, nothing I have tried works.  As an example, running mtp-newfolder test_dir 0 0 gives the following output:  libmtp version: 1.1.0 Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1. Folder creation failed. ERROR: Could not close session!   If I run mtp-folders after a failed mtp-newfolder without re-plugging the device, I get the following output:  Attempting to connect device(s) Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1. PTP_ERROR_IO: failed to open session, trying again after resetting USB interface LIBMTP libusb: Attempt to reset device mtp-folders: Successfully connected Friendly name: (NULL) Error 1: Get Storage information failed. Error 2: PTP Layer error 02fe: get_all_metadata_fast(): could not get proplist of all    objects. Error 2: (Look this up in ptp.h for an explanation.) Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles. Error 2: (Look this up in ptp.h for an explanation.) LIBMTP_Get_Storage() : Resource temporarily unavailable OK.   Accompanied by the following in dmesg:  [ 1000.912082] usb 2-4: reset high speed USB device number 7 using ehci_hcd [ 1001.045877] usb 2-4: usbfs: process 3166 (mtp-folders) did not claim interface 0 before use   Does anyone have any idea about what to do?  EDIT:  I also tried the PTP mode. Again, reading works fine, but I cannot write anything to the device.


Can I test a direct electric signal wave AC 220V 50 HZ using an oscilloscope in safe mode and the schema for this testing.   The description in my oscilloscope say that the input AC pk and DC is Max 600V!?

this is a noob question but here it is: How can i connect an osciloscope to the 230V mains power line to see the voltage sine wave ?   - what schematic do i need - how safe is it ?


I have the following file called as test1.sh which contains:  File 1: test1.sh  #!/bin/bash  a=10 b=11 if [ $a == $b ] then     message="A is equal to b" else     message="A is not equal to b" fi   Note: Now i have second file called as test2.sh in which i want to print the message variable of file one that is test1.sh.  File 2: test2.sh  #!/bin/bash .... /*How to get the message variable from file test1.sh */ echo $message

I have a bash script which must call another bash script which varies per-user in order to get some configuration information, like so:  somescript:  #!/bin/bash ${HOME}/.ssconfig echo "Hello, ${VARIABLE}!"   ~/.ssconfig  #!/bin/bash VARIABLE=world   Which, instead of giving me Hello, world! as expected, gives me Hello, ! How can I pass variables up from a script to the one that called it?


I'm trying to create a webform that generates a new page filled with that submission data. So certain users can add/edit new pages easily. Is there a certain webform setting I'm missing for this? I've looked around and have only managed to get the data to display on a single view in a table. Thanks!

I'd like to be able to create a node out of a webform submission in Drupal 8. It can happen either on successful submission or as an additional task after the webform has been submitted. I've seen some info on creating content entities via REST/GET () and I know that you can post a webform submission to a URL with Webform (yamlform) using either x-www-form-urlencoded or JSON, but I'm not sure if this is even the right thing to be looking at.  The webform, submissions, and content type I'd like to use are all on the same site.  I know this question came up for Drupal 7 and the direction was to have them use a content type, but we're not able to allow the submitters to use content types at this time because of the way the site is setup.


After having problems with my H-P printer my Ubuntu 13.04 wont load. This is what I get:     Grub - editenv!ERROR: invalid environment block

Error: invalid environment block. Press any key to continue...   The error message appears immediately after the boot screen on purple background. Ubuntu 12.04.1 LTS.


"Should" word in italics is shifted down in the vote-to-close popup when there is at least one pending close vote.  Just have a look at this:        Now without close votes:        So the issue occurs when there is a close vote on it. It doesn't look good.    Tested on Chrome 27.0.1453.116 m, Windows XP. And it looks fine on Firefox 21.0 and Opera 12.02 (Windows XP)  Here is an example of a slightly different but obviously related problem in Windows 7 SP1 and Firefox 21.0:    This seems to have something to do with how line-height and/or margin attributes are being interpreted.  Can this be fixed?

This is hardly a major issue, but in pursuit of standards, I noticed that the styling (and standard) of the descriptors in the closure dialog box is somewhat lower than expected:


I was told that 100% black color makes eyes strain as it's too much contrast between white background and high color text. Ebooks, for example, does not use 100% black.   Are there any studies that show how people perceive different saturation of black on screens? Should I avoid 100% in UI design?

I have seen that some web designs implement an almost black font color (hex #001c00) in their designs instead of a pure black color (hex #000).   Does the design actually benefit from this or is this practically the same as using a black color?   I am a hobbyist web designer and developer and can't seem to grasp the difference.


When using Google Maps the web often displayed in Vietnamese. (I live in Vietnam.)   I want it default to be English. How can I do that?

My Chinese is still pretty poor, and my Korean is worse.  But Google Maps recently began showing me everything in Korean or Chinese.  Sometimes even a mixture of both. I can't find anything to change it.  My browser, if I don't catch it, switches me to maps.google.es, but that doesn’t make it Spanish.  I can follow an itinerary with difficulty, but choosing the best one it offers is a major problem.  How can I get it to do a language I am reasonably good at?  (English or Spanish preferred.)


What would happen? They would have no indication of it being what worked for them, unlike .

So you are camping (please excuse the MMO jargon, sometimes I just can't help myself) your own particular corner of Stack Overflow, hoping for a couple of upvotes before bed.  It's freezing cold and you can't quite drag yourself across the room to grab the little blow heater, because that would mean leaving the almost adequate warmth of your laptop.  A completely objective question pops up, to which you absolutely know the answer.  Riding the surge of adrenaline, you spend the next twenty minutes typing like a madman. Desperate to beat the other lunatics that loiter in your tag of choice.  You beat them to the punch and enter a superlative answer, code samples, examples and maybe some ironic humour. You are flushed with your own awesomeness.  You go to bed. Satisfied you have garnered a couple of points of virtual self validation. You look forward to the flush of pleasure in the morning when you see your account bumped ever closer (yet never close enough) to that shining example of Skeetness.    Yet, the next morning, no such flush occurs.  Your answer sits in prime position for some questioner love and none eventuates.  You might get a couple of upvotes from some sympathetic SO compatriot, but the ultimate (I'll try to avoid any unsavory metaphors here)  satisfaction of accepted answer is denied you.    So my question. How you react to this kind of situation?   Catch yourself monitoring the questioner's account waiting for them to log on and then breaking nearby inanimate objects when your answer continues to be ignored. Panic that the questioner might delete their account, leaving your beloved question to evaporate in a puff of uninterest.  Wondering if it was something you said and answering some other of the questioner's queries in the hope of redeeming yourself in their fickle eyes.   I have seen a few examples of this type of frustration on Twitter and wondered how the hardcore Stack Overflow community dealt with this type of rejection.


Can anybody explain the concept of interfaces with good example. I searched but didn't find a good answer. I'm still confused with these concepts.  I found an example for interface from Internet which is shown below. The code works without the interface with the same output. Then what is the purpose of it? Or is it not the real implementation of interfaces?. I need to move from procedural coding to object oriented programming. It would be better if anyone can explain not in more complex technical words.   <?php interface IPillage { public function emptyBankAccounts(); public function burnDocuments(); }  class  Employee  { public function emptyBankAccounts() { echo "Call employees and ask to transfer funds to Swiss bank account"; } public function burnDocuments() { echo "Torch the office suite of the employee"; }  }  class Executive  extends Employee implements IPillage { public function emptyBankAccounts() { echo "Call executive and ask to transfer funds to Swiss bank account"; } public function burnDocuments() { echo "Torch the office suite of the executive"; }  } $obj1=new Employee(); $obj2=new Executive(); $obj1->emptyBankAccounts(); echo '<br>'; $obj2->emptyBankAccounts(); ?>

allow you to create code which defines the methods of classes that implement it. You cannot however add any code to those methods.    allow you to do the same thing, along with adding code to the method.   Now if you can achieve the same goal with abstract classes, why do we even need the concept of interfaces?   I've been told that it has to do with OO theory from C++ to Java, which is what PHP's OO stuff is based on. Is the concept useful in Java but not in PHP? Is it just a way to keep from having placeholders littered in the abstract class? Am I missing something?


I have this code:  s = [64, 128] a = [[]] * len(s) print(a) print(a[0]) a[0].append([1,2]) print(a)   If I run it, I get this:  [[], []] [] [[[1, 2]], [[1, 2]]]   So a is a list of list, initialized with two empty lists.  I append the list [1,2] to a[0], which, in my intentions, would be the first empty list.  I was expecting a to be equal to [ [ [1,2] ], [] ].  Is there anyone who can help me?  1) Why did I get that [ [1,2], [1,2] ]?  2) How can I assign [1,2] to the first list in the list of lists a?

I needed to create a list of lists in Python, so I typed the following: my_list = [[1] * 4] * 3  The list looked like this: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]    Then I changed one of the innermost values: my_list[0][0] = 5  Now my list looks like this: [[5, 1, 1, 1], [5, 1, 1, 1], [5, 1, 1, 1]]    which is not what I wanted or expected. Can someone please explain what's going on, and how to get around it?


I need to print some SMS messages for a legal action. What tool does Apple provide to print SMS messages with their time stamps and other metadata?  This is similar to , but I don't need to transfer them to a different email account.  I don't want a third party tool or jail broken the device. A third party tool or jail broken device might not produce material that satisfies the  or  rules. If the evidence produced does not satisfy the rules, then it will likely waste time and money in the action.  Does Apple make such a tool for their devices?

I have a court case and have text messages on my iPhone I need to transfer to my iPad email for evidence.  Every time I try it doesn't work, it will send them to my iMessage but not my email.  I need to print them out How do I do this?


Are Parent Fields supported in lightning Datatable?  I'm trying to display Account Name with Contact information, but it seems parent fields are not supported in lightning datatable.  Component:  <aura:component controller="PagingSortingController">     <aura:attribute name="mydata" type="Object"/>     <aura:attribute name="mycolumns" type="List"/>     <aura:handler name="init" value="{! this }" action="{! c.init }"/>     <lightning:datatable data="{! v.mydata }"          columns="{! v.mycolumns }"          keyField="con.id"         onrowselection="{! c.getSelectedName }"/> </aura:component>   Controller:  ({     init: function (cmp, event, helper) {     cmp.set('v.mycolumns', [                 {label: 'Contact Name', fieldName: 'Name', type: 'text'},                 {label: 'Phone', fieldName: 'Phone', type: 'phone'},                 {label: 'Email', fieldName: 'Email', type: 'email'},                 {label: 'Account Name', fieldName: 'Account.Name', type: 'text'}             ]);         helper.getData(cmp);     }  })   Helper:  ({     getData : function(cmp) {         var action = cmp.get('c.getContacts');         action.setCallback(this, $A.getCallback(function (response) {             var state = response.getState();             if (state === "SUCCESS") {                 cmp.set('v.mydata', response.getReturnValue());             } else if (state === "ERROR") {                 var errors = response.getError();                 console.error(errors);             }         }));         $A.enqueueAction(action);     } })   Apex Controller:  @AuraEnabled     public static List<Contact> getContacts() {         List<Contact> contacts =                  [SELECT Id, Name, Phone, Email,Account.Name FROM Contact];         return contacts;     }

I am testing the new  <lightning:datatable>, it is really good, and is a good replacement for most of my use cases which today I use a custom list component that I have developed.  I am getting data from my server through apex method, to populate it into the <lightning:datatable> component. I can bind the returned list directly to the data attribute and if the column names are same as the field names, all data is bound correctly.  The problem occurs when I get data from a parent record. For example - I want the Account name of my contact.  This example can show the problem:  Component Markup    <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>  <aura:attribute name="mydata" type="Object"/> <aura:attribute name="mycolumns" type="List"/> <aura:attribute name="sortedBy" type="String"/> <aura:attribute name="sortedDirection" type="String"/>  <lightning:datatable data="{! v.mydata }"                      columns="{! v.mycolumns }"                      keyField="Id"                      onrowselection="{! c.getSelectedName }"                      onsort="{!c.updateColumnSorting}"                      sortedBy="{!v.sortedBy}"                      sortedDirection="{!v.sortedDirection}"                      hideCheckboxColumn="{!false}" />        Component Controller  ({     doInit: function (component, event, helper) {         component.set('v.mycolumns', [                     {label: 'Id', fieldName: 'Id', type: 'id', sortable:"true"},                     {label: 'First Name', fieldName: 'FirstName', type: 'text', sortable:"true"},                     {label: 'Last Name', fieldName: 'LastName', type: 'text', sortable:"true"},                     {label: 'First Name Hebrew', fieldName: 'First_name_Hebrew__c', type: 'text', sortable:"true"},                     {label: 'Last Name Hebrew', fieldName: 'Last_name_Hebrew__c', type: 'text', sortable:"true"},                     {label: 'Account', fieldName: 'Account.Name', type: 'text', sortable:"true"},                     {label: 'Email', fieldName: 'Email', type: 'email', sortable:"true"},                     {label: 'Phone', fieldName: 'Phone', type: 'phone', sortable:"true"}                 ]);          var action = component.get("c.getRecordsFromDb");         action.setParams({             sObjectName: "Contact",             commaDelimitedFieldNames: "Id,FirstName,LastName,First_name_Hebrew__c,Last_name_Hebrew__c,Account.Name,Email,Phone",             filter: ""         });         action.setCallback(this, function(response){             var state = response.getState();             if (component.isValid() && state === "SUCCESS") {                 var data = response.getReturnValue();                  component.set("v.mydata", data);             }         });         $A.enqueueAction(action);     } })   APEX Aura Enabled Method  @AuraEnabled public static List<sObject> getRecordsFromDb(String sObjectName,         String commaDelimitedFieldNames,         String filter) {      system.debug('\n\n\n\ngetRecordsFromDb sObjectName: ' + sObjectName + ', commaDelimitedFieldNames: ' + commaDelimitedFieldNames + ', filter: ' + filter + '\n\n\n\n');      // create a dynamic soql to get the value of the field     String sql = 'SELECT ' + commaDelimitedFieldNames + ' FROM ' + sObjectName;      if (!String.isBlank(filter))         sql += ' WHERE ' + filter;      system.debug('\n\n\n\ngetRecordsFromDb sql: ' + sql + '\n\n\n\n');     List<sObject> records = Database.query(sql);     system.debug('\n\n\n\ngetRecordsFromDb: ' + records + '\n\n\n\n');      return records; }   The problem is with the Account.Name field - the <lightning:datatable> component does not display the column data.   I know that the data is returned ok, and I know that in the object that is returned, the Account is contained like an object (probably this is the problem):    Is there a good way to show parent record data with this component?


Is there any continous function $f:R-R$ such that $f(x)\in Q$ for all $x\in R/Q$ and $f(x) \in R/Q$ for all $x \in Q$?All the functions i considered following given conditions are not continous.How do i know for sure if there are any or not?

Possible Duplicate:          Let $f: \mathbb{R} \to \mathbb{R}$ be function satisfying the two conditions: $f(\mathbb{R}\setminus \mathbb{Q}) \subseteq \mathbb{Q}$ and $f(\mathbb{Q}) \subseteq \mathbb{R}\setminus \mathbb{Q}$. Then,     Show that $f$ cannot be continuous.   I'm trying this problem for some time but can't make any useful progress. I will appreciate any help. Even some good hints will do. Regards.


I'm trying to compare time a and time b. My JavaScript looks like this       var a ="02/08/2016 9:00 AM";     var b ="02/08/2016 11:20 PM";      if (b<a || b==a){        alert("End time is before or same as Start time.");     }     else{        alert("Start time is before End time.") }   After I run this code, it tells me that "The end time is before or same as the start time"? I thought with the values of a and b that I set, it should the other way around?

Can someone suggest a way to compare the values of two dates greater than, less than, and not in the past using JavaScript? The values will be coming from text boxes.


In the image below the y axis represents time and x represent velocity. Point D represents velocity c, point E represents 1 second per stationary observers second. What this chart is showing is as you get closer to the speed of light your progression through time slows.    Formula for this chart is: $$T_1=299792458*Sqrt(1-(V^2/c^2))$$  The longer I examine this chart the more it looks like it depicts the progression through time for a stationary object to be at c. As you move through our spacial 3 dimensions you start to loose speed in the 4th time dimension.  What this chart also shows is that the sum of our 3 spacial vectors and the time vector always equal c.  First Question:  Am I correct with these assumptions, is the vector sum of time and 3 spacial dimensions c?  Second Question:  If so how would gravitational time dilation be represented in this chart? Would you start lower on the y axis and still be able to accelerate up to c on the x axis?

I read that an object at rest has such a stupendous amount of energy, $E=mc^2$ because it's effectively in motion through space-time at the speed of light and it's traveling through the time dimension of space-time at 1 second per second as time goes forward.  What troubles me here, is the fact that it is traveling through space-time at the speed of light. Why is it at the speed of light?


My computer died. One day it worked fine, the next it didn't power up. They told me the motherboard has died.  I don't have any backups. They recovered all the data from C: drive, however, all my online passwords were stored in Chrome. Is there a way for me to recover them?  The computer that died had Win10 and now I'm using my old one with Win7. If there was a file, from which Chrome could recover the passwords, where could I find it?

Now that I have Google Chrome all set up, I got myself a new laptop. Does anyone have any idea how to transfer my settings, cookies, favorites, etc?   I checked documents and settings\me\application data, and found nothing.


Let  $$ \Delta P = (b-P_n)/2 \\ P_{n+1} = P_n + \Delta P\\ P_n : \mathbb{Q} \to \mathbb{R} $$ We shall attempt to prove that  $$ \lim_{n \to \infty} P_n = b $$ I'll try in three parts   $P_n$ is monotonic $P_n$ is bounded by $b$ Something along the lines of $\sup P_n = b$   First, prove $P_n$ is bounded by $b$. Assume the contrary by taking $P_n$ to be the supremum of $P_n < b$ and therefore $P_{n+1} > b$. Now that implies $\Delta P > b-P_n$ which violates the definition of the recurrence. Therefore, $P_n$ is bounded from above by $b$  Second, let us prove that $P_n$ is monotonic with respect to $n$. Assuming $b > P_0$, $P_1 > P_0$. Now choose an arbitrary $P_{n}$, where $b > P_n$ from the previous result. If $P_{n+1}  = P_n + \Delta P$, $\Delta P = \frac{b-P_n}{2} > 0$ and therefore $P_n$ is increasing for $P_n < b$  Now let us prove that $\lim_{n \to \infty} P_n = b$.  That means that for all $M, \epsilon > 0$  $$ n > M \implies |P_n - L| < \epsilon $$ To start, we know $L \le b$ by our first result.   Now all we must prove is that $L < b$ is impossible, which is what I am having trouble with.   What I am having trouble with  Well if for all $n>M$, $P_n < L$ then for all $P_n$, $$ \Delta P  =  \frac{b-P_n}{2}< L-P_n < \epsilon $$ I'm having trouble constructing a contradiction and was hoping for some help doing so.   I specifically want to use a delta epsilon proof and not any other form of proof.

I'm taking Calculus II next semester so I don't have all the tools from it to back me up but something came up in a discussion this evening that asked me to prove that the following sequence converges. As I'm new to formal math I'm hoping someone can verify my proof, especially step $6$. I must prove that $$\lim_{n\to\infty}P_n=b$$ where $$P_{n+1} = P_n + \frac{b-P_n}{2}$$ $$P_0 = a$$ and $a,b \in \mathbb{R}$ such that $a>b$ My proof goes as follows:   We must prove that $$\lim_{n\to\infty}P_n=b$$  That is, $\forall\epsilon>0$ there exists a $\delta$ such that there exists an $n$ satisfying $$n>\delta \iff b-P_n<\epsilon$$  First, let us prove that $P_n$ is bounded by $b$ by contradiction. Let us choose an $i$ such that $P_i < b$ and $P_{i+1}>b$. Then we have $P_{i+1} = P_i + \Delta P$ where $\Delta P > b-P_i$. but this is impossible because by the definition of the recurrence $\Delta P = \frac{b-P_i}{2} < b-P_i$. Therefore, $P_i$ is bounded from above by $b$.  Additionally, it is trivial to show that $P_{i+1} > P_i$.  With this in mind, choose an arbitrary $\epsilon$. We need to show that there exists an $n$ such that $P_n > b-\epsilon$. Assume the contrary, that $P_n$ is bounded by $\epsilon$.  Using a similar argument to what which was used before, assume $P_n$ is bounded by $\epsilon$ and then there exists a $P_i$ such that $P_{i+1}\not > P_i$. But this results in a contradiction with (4)  Therefore, $P_n$ is not bounded by $\epsilon$ and we have proved what we want to prove.


I want to have something like this: {'a': 43, 'b': 44}  with this list: [{'a': 43}, {'b': 44}]  Is there a way not to use a variable?

I have two Python dictionaries, and I want to write a single expression that returns these two dictionaries, merged (i.e. taking the union).  The update() method would be what I need, if it returned its result instead of modifying a dictionary in-place. >>> x = {'a': 1, 'b': 2} >>> y = {'b': 10, 'c': 11} >>> z = x.update(y) >>> print(z) None >>> x {'a': 1, 'b': 10, 'c': 11}  How can I get that final merged dictionary in z, not x? (To be extra-clear, the last-one-wins conflict-handling of dict.update() is what I'm looking for as well.)


Hello I have a maths book and this is one of the questions. It unfortunately doesn't provide the answers for this and I don't know how to go about it. So far I have proof by contradiction suppose that  $n^{1/k} = a/b$ where $a,b$ are in the lowest form let $n = l^{p+k}$, so  $$n^{1/k} = a/b \Longrightarrow (l^p . l^k)^{1/k} = a/b$$ right away if we let $p=0$ we get $n=l=a/b$ therefore is rational how we prove the irrational part I am stuck on and would very much appreciate some assistance thank you all!

Is my proof beneath perfect and complete?  I wanted to prove that for any nth root of an integer, if it's not an integer, than it's irrational: $$\begin{cases} m,n\in \mathbb{N}\\\sqrt[n]{m}\notin \mathbb{N} \end{cases}\implies \sqrt[n]{m}\notin \mathbb{Q}.$$  I start by assuming that $m^{\frac 1n}$ is rational and non-integer. So there exist  co-prime integers $a,b$ so that $$\sqrt[n]{m}=\frac{a}{b}$$ $$\implies  m=\frac{a^n}{b^n}\in\mathbb{N}.$$ But since $a$ and $b$ have no common factor, $a^n$ and $b^n$ also have no common factor. So: $$\frac{a^n}{b^n}\notin\mathbb{N},$$ a contradiction.


My college provides internet access via wifi and uses a proxy server. Every time when I open my browser I have to enter user name and password for internet access.   Is there any way to convert proxy server internet access to open internet access using VPN or any other service so that I can access internet in my system without using any proxy address and port ?

I'm using network, where services such as Gmail or any other e-mails, Google Drive, Dropbox, all social networks are blocked. Basically my goal is to access simply GMail, but I couldn't find any way to do that so far. I understand that different proxies have different filtering rules, so please post any tricks or your-way solutions.


I've having some difficulty with finding this integral:  $$ \int_0 ^{\infty} \frac{x}{e^x + 1}$$  Now usually I would use the monotone convergence theorem to write (using geometric series):  $$f_n (x) = \sum_0 ^n (-1)^k x e^{-(k+1)x},$$  but this isn't a sequence of positive terms, so how do we justify moving the integral inside?  Thanks.

How to find  $$ \int_0^\infty \dfrac x{1+e^x}\ dx=\ ...? $$  I don't know where should I start with. The correct answer from my textbook is $\frac{\pi^2}{12}$. This is my homework with 10 questions but I can only answer 9 questions, this one I'm stuck. Can anyone help me? Thanks.


It looks a bit weird and isn't the commonly used term, but is it not correct? The apostrophe would be marking the shortening of "terms" to "t" and "conditions" to "c", of course.

When I was in high school back in the 1970s, I was taught that to make a plural of an acronym, a letter, or a number, one should add an apostrophe and "s". Like I would have written this sentence, "... back in the 1970's ..." I would write "one CD, two CD's". Etc. I followed this rule faithfully for years until a co-worker told me it was wrong. Now I can't find any source that agrees with what I was taught.  Is this a rule that has changed over time? Was the convention in the 70s that one should use an apostrophe but this has changed and now we do not? Or were my high school English teachers just confused?


Considering the Complex Least Squares Problem, one can write the cost function for estimating H (where Y = XH + Z) as:  Reference: Mimo-OFDM Wireless Communications with MATLAB book (page 190)  $J(\boldsymbol H) = ||\boldsymbol Y - \boldsymbol X \boldsymbol H ||^2 = (\boldsymbol Y - \boldsymbol X \boldsymbol H)^H(\boldsymbol Y - \boldsymbol X \boldsymbol H) = \boldsymbol Y^H \boldsymbol Y - \boldsymbol Y^H \boldsymbol X \boldsymbol H - \boldsymbol H^H \boldsymbol X^H \boldsymbol Y + \boldsymbol H^H \boldsymbol X^H \boldsymbol X \boldsymbol H$  Calculating the derivative of the above function with respect to H gives:  $\frac{\partial J( \boldsymbol H)}{\partial \boldsymbol H} = -2(\boldsymbol X^H \boldsymbol Y)^* + 2(\boldsymbol X^H \boldsymbol X \boldsymbol H)^*$  How do I get to the expression above? Do I need to use some properties? I am trying to do that deriving each term separately.

I know how to derive the least squares in the real domain.  If a tall matrix $A$ and a column vector $b$ are real, then the solution of the least squares problem $Ax = b$ can be derived as:  $$\begin{align} \{E(x)\}^2 &= ||Ax - b||^2 \\ &= (Ax-b)^T (Ax-b) \\ &= x^T A^T Ax - x^T A^T b - b^T Ax + b^T b \\ &= x^T A^T Ax - 2 x^T A^T b + b^T b \qquad (\because (Ax)^T b = b^T (Ax)) \end{align}$$  Differentiating both sides with respect to $x$,  $$\begin{align} \frac{d \{E(x)\}^2}{dx} &= 2A^T Ax - 2 A^T b \end{align}$$  Setting $\frac{d \{E(x)\}^2}{dx} = 0$ to find when we get the minimum $E(x)$,  $$ 2A^T Ax - 2 A^T b = 0 \\ A^T Ax = A^T b \\ x = (A^T A)^{-1} A^T b $$  Now, we turn to the complex-valued situation. Assume $A$ and $b$ are complex,  $$\begin{align} \{E(x)\}^2 &= ||Ax - b||^2 \\ &= (Ax-b)^H (Ax-b) \\ &= x^H A^H Ax - x^H A^H b - b^H Ax + b^H b \\ \end{align}$$  Here, I have some problems. First, $x^H A^H b \neq b^H Ax$ unless $(Ax)^H b$ is real. Most of all, I don't know how to differentiate the complex matrices above.  How to proceed the derivation? There are plenty of derivations in the real domain in Google, but I couldn't find detailed explanation of the general complex case.


For $\sum^n_{i=1} \frac1{i(i+1)}$ Find a formula and proofs that it holds for all n ≥ 1.  How would I find the formula for this one that can hold for all n ≥ 1?

Use Mathematical induction to prove that for all integers, $n$ is greater than or equal to $1$. I am confused on what to do after I do the the basis step that is using $n$ as $1$.   $$\frac{1}{1 \cdot 2} + \frac{1}{2 \cdot 3} +...+\frac{1}{n(n+1)}=1-\frac{1}{n+1}$$


I'm trying to model some house siding. I'm using a single board with an array modifier. The problem is that when I go to texture them I can only texture the first one, and they all have the same texture. How can I offset the texture so that each new board on the array modifier has a different texture?  Here's a picture:    All the boards are an array from a single board, and I'd like to be able to offset the texture for each new board, but have no idea how. Here's the texture I'm using (Image 2).  (CGTextures)  I'd also (preferably) not have to apply the array modifier before offsetting the textures, but if that's not possible, that's fine.  Edit: The duplicated question does in no way answer my question, and is quite different. The only detailed answer is referring to generated textures, I'm using an image texture. Please explain how my question is answered in the other question marked as duplicate. The previous person who asked a similar question to mine commented on the first answer that he could work with generated textures, I cannot use generated textures in this situation.

Using the array modifier and textures, can the individual array objects be slightly textured differently for individual look?


Consider:  $('.b').click(function(){     var link = 'www.yahoo.com';     window.location.href(link); });   I expect it to open www.yahoo.com, but it says "string is not a function". Why?  jsFiddle:

How can I redirect the user from one page to another using jQuery or pure JavaScript?


I have limited space on the top navigation of my bootstrap website and among other links, I have both the company logo and home (index) link, Both logo and index scroll to the top of the page.  I want to add another link and its going to take up space.  Can I safely get rid of the "Home" link assuming the user will click on the company logo?

Is a "home" button on the navigation required if there is a link to the homepage using the company's logo?   Increasingly I have noticed more and more websites using the logo as a link to return to home instead of a clear Home button in the navigation but haven't found any good proof or research to suggest that this is best approach.   Is there a best practice guidelines or some kind of criteria (e.g. advanced users vs beginners) that should aid in making this decision.   Any thoughts or comments would be appreciated. Thanks


I'm reading a book that is pretty spartan about definitions. How did the book come up with the length of the sides of this triangle?    I understand the trig ratios once we have the lengths... but how were the lengths of $\sqrt{3}$, 1, and 2  determined? I think the book is assuming that the radius is 2 and that the terminal angle (unsure if this is the right word... but the angle created by the terminal side and the x-axis) is $\frac{\pi}{3}$. But how did we get the other two sides that are not the assumed radius?

Take half a square with side length $1$. The resulting right-angled triangle ABC has two angles of $45^\circ$. By Pythagoras’ theorem, the hypotenuse AC has length $\sqrt{2}$. Applying the definitions on the previous page gives the values in the table below. that  $\sin 30^\circ= \frac{1}{2}$  Sorry I cannot provide diagram, but from my understanding $\sin =$ opposite / hypotenuse. How is the value $0.5$ derived then? No possible combination. What point of reference should I be looking from?


In Hydrogen we see certain specific emission spectral lines corresponding to the discrete quantum energy levels of it's single electron. As the material gets up to higher atomic number and more electrons these spectral lines increase in number and cover a wider color/frequency range. Now if we are talking about blackbody spectrum then I would assume that Hydrogen gas would be a poor blackbody emitter because if heated it releases distinct spectrum colors instead of a more homogeneous spectrum, so if I could make a incandescent filament from hydrogen it would shine less like a blackbody emitter and more like a gas discharge lamp , but filament from tungsten for example shines closer to a perfect blackbody right? Is that because higher atomic number elements have more electrons and so more electron energy levels so they can have much more spectral emission lines almost filling the visible spectrum with some gaps that are not seen by the eye ? Also while we are at it , if we take a ideal gas as a blackbody emitter, the gas particles follow the boltzmann distribution bell type curve but blackbody spectrum is always different and not linear, why is that ? is it because some energy levels emit stronger than others due to their difference? thanks.

By conservation of energy, the solid is left in a lower energy state following emission of a photon.  Clearly absorption and emission balance at thermal equilibrium, however, thermodynamic equilibrium is a statement of the mean behaviour of the system, not a statement that the internal energy is constant on arbitrarily short timescales.  The energy has to come from somewhere during emission, and go somewhere during absorption.  Energy in a solid can be stored as kinetic and potential energy of electrons and nuclei, either individually or in collective modes such as phonons and plasmons.  In thermal equilibrium energy will be stored more or less in various forms depending on the temperature and material.  However, even if most of the thermal energy in a particular solid at temperature $T$ is stored in the form of phonons, it could be that phonons primarily interact with light indirectly via electrons, e.g. a phonon excites an electron in a phonon-electron interaction, which can interact with light via the EM field.  Given that light is an EM field, it makes sense to me that it is emitted and absorbed by charged particles.  The electron-photon interaction is probably dominant for visible and ultraviolet light, given that metals are opaque, while semiconductors and insulators are transparent to (visible and UV) light with energy lower than their bandgap. However, once you get into energies in the IR and below, or X-rays and above, other mechanisms apparently take over.  For example, on the high-energy end of the spectrum I've heard that gamma rays can interact directly with nuclear degrees of freedom, which is reasonable considering that gamma rays are emitted during a lot of nuclear reactions.  A review of  might give clues to important light-matter interactions over a broad range of wavelengths.  Whether all of the these processes are involved in blackbody emission is a somewhat different question.  What physical processes mediate energy transfer during blackbody emission, and in which energy ranges are the various processes dominant?


I have Lightning Parent component that has three inner Lightning components:  <aura:component>    <c:searchComponent/>    <c:newRequest/>    <c:requestsList/> <aura:component>   c:newRequest component has several force:inputField components to display fields for New Request. Based on search query in c:searchComponent I want to show/hide c:newRequest or c:requestList. To implement that I added new event to call function with addClass/removeClass. Markup:  <aura:component>    <c:searchComponent/>    <div aura:id="newRequest">       <c:newRequest/>    </div>    <div aura:id="requestsList">       <c:requestsList/>    </div> <aura:component>   Toggle logic works great but now I can't see force:inputField components! I tried to remove div aura:id="newRequest" and force:inputField components displayed correctly. Is that Lightning issue? What is the best practice to handle similar functionality?

I've created a Lightning component to view key details for the Account and Contact lookups from a Case, like so:    The problem is, I have been unable to get field content to render when  using the <force:inputField/> or <force:outputField/> components when I place them inside the markup to style them as cards. I've used <ui:outputText/> as a workaround, but that means I don't get any of the built-in behaviors I would get with the <force:*Field/> components -- like Lightning styling, which means I have to manually do it using SLDS.  This displays the contact name as expected:  <aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="LightningCaseTestController">   <aura:handler name="init" value="{!this}" action="{!c.doInit}" />   <aura:attribute name="recordId" type="Id" />   <aura:attribute name="contact" type="Contact" default="{sobjectType: 'Contact'}"/>    <force:outputField value="{!v.contact.Name}"/>   <force:inputField value="{!v.contact.Name}"/>  </aura:component>   This does not:  <aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="LightningCaseTestController">   <aura:handler name="init" value="{!this}" action="{!c.doInit}" />   <aura:attribute name="recordId" type="Id" />   <aura:attribute name="contact" type="Contact" default="{sobjectType: 'Contact'}"/>    <article>     <force:outputField value="{!v.contact.Name}"/>     <force:inputField value="{!v.contact.Name}"/>   </article>  </aura:component>   Basically, it appears that as soon as any markup is placed around the <force:*Field/> tags -- even just a <div> -- they no longer render. Examples in Trailhead and other places all seem to use <ui:outputText/> or <ui:input*/>.  This seems like a lot of extra manual work. Am I missing something?  Update: it only fails when the component is included in a Lightning page -- such as the record detail page -- from Lightning App Builder. If I add it to a simple Lightning app, it works:  <aura:application >     <c:LightningCaseTest recordId="SOMECASEID" /> </aura:application>   So it appears to be a bug?


Very simple issue - but, as we all probably know, SQL timeouts in SFMC are set to 30 minutes.  However, I have a query here that overwrites the target data extension: select ContactId, FirstName, LastName, (and about 10 more fields) from DataExtension1  So, this query is as simple as they come - I don't think there's much room, if any, to optimize it.  Outside of contacting Salesforce Support to get the timeout extended to 60 minutes, is there a such thing as pagination that could possibly be leveraged?  How have you addressed issues like this?

We're working with somewhat large sets of data, around 15M - 35M records per DE, each row with 150+ attributes. What are some ways to optimize SQL queries when handling many records?  For an exaple, using intermediate DE's and SQL queries selecting TOP 50% from a DE with 14M records will still take approximately 21-27 minutes to run, meaning with any major data increase these queries will time out. Data flow is Synchonized DE -> Shared DE -> sub-BU DE per object.  Salesforce's  on optimizing Queries is really basic and not of use this time around. Here is as example Query SELECT TOP 50 PERCENT // attribute list // FROM Synchronized DE WHERE // conditions //  ORDER BY  // condition //


I have Windows 10 and Ubuntu 16,04.  I did an update on Windows and after the update I had to restart my computer. After restarting I have an error   Error : no such partition. Entering rescue mode... grub rescue>   How can I fix it?

I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu.   How can I get Ubuntu back?


I'm trying to get a sense of how much energy a $27$ horsepower engine outputs.  $$27\ \mathrm{hp} = 20133\ \mathrm{W}$$  Potential energy can be calculated as  $$E = mgh$$  where $g \approx9.8\ \mathrm{m\ s^{-2}}$ on earth.  $$\frac{20133\ \mathrm{W}}{9.8\ \mathrm{m\ s}^{-2}} \approx 3000\ \mathrm{kg\ s^{-1}}$$  So for example if you use a $27\ \mathrm{hp}$ engine to pump hydraulic fluid. Would it output as much fluid as a $3000\ \mathrm{kg}$ stone block pushing down a piston at $1\ \mathrm{m\ s^{-1}}$?

I’m trying to get a sense of how much energy a 27 horsepower engine outputs.  27 hp $=$ 20 133 watts (joules/second). Potential energy can be calculated as $E = mgh$ where $g = ~9.8\ m/s^2$ on earth. Therefore,  $m = \frac{20133\ W}{9.8\ m/s^2} = ~3000\ kg$.  So, for example, if you use a 27 hp engine to pump hydraulic fluid. Would it output as much fluid as a 3000 kg stone block pushing down a piston at 1 meter per second? Everything else equal.


Let $f: X \rightarrow Y$ be such that for every connected subset $C$, $f (C)$ is connected. Can we conclude that $f$ is continuous? I think this is false, at the time of building a counterexample in $\mathbb{R}$ or $\mathbb{R}^2$ it gives me that it's true so I'm not sure anymore.

If a function maps every connected set onto a connected set, is it necessarily continuous? I know the converse is true.


If we live not in 3 dimensional space but in 4 dimensional space time, then, why can't we "see" the fourth dimension? Shouldn't I see time like any other spatial dimension? Instead, I perceive it to be as flowing.   How is time fundamentally different from space in this sense?

This is an attempt to gather together the various questions about time that have been asked on this site and provide a single set of hopefully authoritative answers. Specifically we attempt to address issues such as:   What do physicists mean by time? How does time flow? Why is there an arrow of time?


With a logistic regression model of 3 independent variables, one of the variables is significant while the other two are not. The significant variable is my variable of interest while the other two are control variables (age and gender). The model is not significant either.  The aim is to answer whether or not my variable of interest increases the odds of outcome y independent of age and gender.  What does this mean for the interpretation of the model?

Possible Duplicate:                If in a multiple linear regression (enter method) the general model isn't significant (F>.05) but one of the predictors is significant (β<.05), should I consider it as a significant result?


Can drush delete individual nodes? And if so, can use drush to delete all nodes of a particular Content Type?   Background info: I'm not trying to delete the Content Type but all nodes of that type. Also this site is a dev install with a copy of a working database. I'm experimenting with feeds and imports and creating tons of nodes form RSS imports.

Just wondering if Drush is capable of deleting nodes of a given content type.   Something like: $ drush delete-node --type=MyContentType  If not possible, can I create a method like that?


The first digit of the mask deals with special permissions that don't fit quite so cleanly into the owner/group/other model. When four digits are provided for a file permission, the first refers to those special values: 4000 = SUID 2000 = SGID 1000 = sticky bit  Actually I read  answer and i know we can't define "special permissions" by default with the umask. But the thing stuck in my mind; If we can't define special permissions(such as sticky bit, Set GUID, Set UID) with umask by default, what is the leading zero meaning? So if it is not available(define special permissions by default), why is there a display like 0022. So it could be 022 directly because we can't define special permissions(such as sticky bit, Set GUID, Set UID) with umask command anyway.

How can I change leading zero in umask 0022? Can it be changed? I searched the usual methods for information and my local system was of little help. $ man umask   No manual entry for umask    $ umask --help bash: umask: --: invalid option umask: usage: umask [-p] [-S] [mode]  I found an  with the following:  umask [-p] [-S] [mode] mode ... File creation mask -S  ........  Print the mask in symbolic format -p  ........  Output in a form that can be reused as input  Based on this, I tried a few basic umask commands: $ umask 0022  $ umask -p umask 0022  $ umask -S u=rwx,g=rx,o=rx  I was surprised to find that I could not run umask with sudo $ sudo umask   [sudo] password :   sudo: umask: command not found    I changed the regular umask as follows: $ umask 021 $ umask 0021  $ umask 0022 $ umask 0022    Finally, I hit an error while trying to change the leading zero $ umask 1022 -sh: umask: 1022: octal number out of range    So, back to my original question, how does one change the leading zero (0)?  Is it for the super user (root)? Can it be updated, and if so, to what? I reviewed a similar question  and found:  I don't know that you would unmask the first bit with umask, but technically you could ...  and  I don't believe you can actually set the umask to allow you to enable any of these extra bits by default  So, these uncertain and contradictory statements do not answer this question.


(20%) Let $X_1, \dotsc, X_n$ be an iid sample from a distribution with pdf $f(x;\theta) = \theta x^{\theta-1}, 0< x< 1$, zero elsewhere, where $\theta >0$. Find a sufficient statistic for $\theta$ and show that a UMP test of $H_0: \theta = 6$ against $H_1:\theta <6$ is based on this statistic.      I used the exponential family form to get that the summation of $\ln(x)$ is a sufficient statistic for $\theta$, but I do not know how to find a UMP Test based on this statistic. I believe it has something to do with likelihood ratios. Thanks in advance for your help.  My question is different from that question because I do not already have a MP test, these are different numbers, the pdf is different, the significance level is not given, and the alternative hypothesis is an inequality.

I'm having trouble to find a UMP test after finding a MP test.  Consider one observation $X$ from CDF $F_\theta(x) = x^\theta$ where $x \in [0, 1]$ and $\theta > 0$.  I found the MP test for testing $H_0: \theta = 1$ against $H_1: \theta = 2$ with significance level $\alpha=0.05$ using the Neyman Pearson lemma: $$\lambda_{\theta_0, \theta_1}(x) = \frac{f_{\theta_0}}{f_{\theta_1}}= \cdots = \frac{1}{2x}$$  Reject $H_0$ if $\lambda_{\theta_0, \theta_1}(x)\leq\frac{1}{c}$, hence if $X\geq \tilde{c}$, where $\tilde{c} = 0.95$.  Now I'm asked to find the UMP test for testing $H_0: \theta \in [\frac{1}{2}, 1]$ against $H_1: \theta=2$ for significance level $\alpha = 0.05$. How to proceed?


I have posted a question here:  and every time I come back to this page I have a     Some community members have suggested a similar question that may solve your problem       Does this answer your question?       How to change Power button shutdown action to run a script under systemd (2 answers)       🔘 Yes 🔘 No       (Private feedback)   That I answered "no" several times but keep popping up again and again, it there a way to get definitively rid of it ?  To be frank this is not really a big issue but it is quite frustrating answering the same question again and again.

I have  today and one member was voted as duplicate and private feedback was there, I choose no and submitted the form. When I revisit the question or refresh the page same notice reappears with yes/no options.  In-network tab I got 200 OK status and response as "success":true  Environment: OS: Windows 10 Browser: Chrome 79.0.3945.117 (Official Build) (64-bit)  From the comments, the same issue is happing with   (might be with whole StackExchange network)      From network tab


I am using Ubuntu 11.10 , I have a Canon LBP 2900 B model printer.  I installed two .deb driver packeges (cndrvcups-capt,cndrvcups-common) with gs-esp dependency package, then configured the printer, using informations given in the Ubuntu community and from many other sources from the Internet.  I am sure that all configurations are right according rules (ccp:/var/ccpd/fifo0) but when I give a print -nothing happens (not printing).   I saw another matter - a new printer automatically configured (LBP2900-2) in device uri usb://Canon/LBP2900  Using Ubuntu 11.04, I installed the printer with the same method cited above, then I printed a test page and many other pages successfully, but after restarting the PC, trying to print - nothing happens.  I saw that a second printer configured in the address      usb://Canon/LBP2900   I connect Canon LBP2900 with Computer using USB port

I am trying very hard to install Canon LBP2900b Printer in Ubuntu 13.10.  I have searched and googled a lot for the solution over fortnight but none of the site / link gave me the simple solution for me. How can accomplish my goal?


Whenever I am trying to install anything using apt-get,  it shows:  Could not exec dpkg Returned with error code (100)   Same result when I execute   apt-get upgrade   When I type   dpkg --configure -a   It tells me dpkg is not installed and when I run:  apt-get install dpkg   it tells it is the newest version, but when I run:  apt-get install --reinstall dpkg    it again returns error code (100)  Even system updates are failing to occur, no software is getting downloaded even from the Software Download Center.  I use Ubuntu 14.04 LTS

OS: Ubuntu 12.04  Accidentally deleted dpkg. Now, packages can't be installed. So, needs an dpkg installer which installs packages.


I've checked the related questions, but the last similar question was asked 7 years ago. I haven't done video editing before (so please treat me as a noob in this field), and wasn't doing 3D art back then, so I don't know what's changed, if anything, with regards to blender's video editing tools. Before finding out that my attempt to make the conversion failed, I tried the ffmpeg format and used the MPEG-4 and Quicktime containers in separate attempts. I used the H.264 for the MPEG-4 and HuffYUV for the Quicktime formats respectively. The MPEG-4 video plays with a black background (which I can't tell whether it's got an alpha channel or not), and the Quicktime video was a complete mess with no visuals of my animation at all. As far as I can tell, I need a video format which supports alpha channels, but it doesn't seem like blender has that capability. Please tell me if I'm wrong, or if I'm right, what I need to do to make the conversion. Sorry for the long post, I wasn't really sure what was relevant to include, so I just included everything I did. I appreciate any assistance.

Does anyone know if there are any video formats (besides the HUGE uncompressed avis) that you can render in that maintain the alpha channel? (i.e. for after FX etc.)   I used to use quicktime, but that's no longer an option.  I know you can render in png. or other image formats, but video is significantly smaller, and I often work on machines with less space & resources.


How do you prove that $\sqrt{2} + \sqrt{5}$ is irrational?    I tried to prove it by contradiction and got this equation:  $a^2/b^2 = \sqrt{40}$.

Can the expression $\sqrt{n} + \sqrt{m}$ be rational if neither $n,m \in \mathbb{N}$ are perfect squares? It doesn't seem likely, the only way that could happen is if for example $\sqrt{m} = a-\sqrt{n}, \ \ a \in \mathbb{Q}$, which I don't think is possible, but how to show it?


I'm thinking about creating a bash script where multiple options can be specified and at the end define the variables according to the chosen options or execute certain orders when receiving the different options. An example is worth more than a thousand words:   [X] Copy only (1) - Options typed by the user [ ] Move only (2) [X] Checksum  (3) - Options typed by the user [ ] Reset permission (4) [ ] Exit (5)  Select choice:   I have found some options but I do not know how to make them do a certain function because I do not understand how the code works.  Update:  Code functional:   #!/bin/bash  #Contributing code by Sergiy Kolodyazhnyy and adaptation for MarianoM.  resize -s 40 90 > /dev/null #Change window size.  option=$(dialog --clear --backtitle "Synchronization..." --title "Synchronize" \     --checklist "Select the synchronization options:"  20 50 10 \        checksum "Compare the content" off \        detail "Show more information" off \        directory "Synchronize folders" on \        recursive "Include subfolders" off 2>&1 > /dev/tty)  for i in $option; do #Set parameter of the menu options.        case $i in          checksum) c="-c" ;;          detail) v="-v" ;;          directory) d="-d" ;;          recursive) r="-r" ;;        esac      done  if [ -z $option ]; then #Check if the variable is empty. If it is empty, it means that the user has not chosen an option.  clear   echo  echo "Error: No option has been selected or dialog not installed. The program can not continue."  echo      else  clear    source=$(dialog --clear --backtitle "Please select source..." --title "Source:" --fselect "" 20 50 2>&1 > /dev/tty)      if [ -z $source ]; then        clear        echo        echo "Error program. Source not selected, try again!"        echo        exit      fi  clear  destination=$(dialog --clear --backtitle "Please select destination..." --title "Destination:" --fselect "" 20 50 2>&1 > /dev/tty)      if [ -z $destination ]; then        clear        echo        echo "Error program. Destination not selected, try again!"        echo        exit      fi  clear  rsync  "$c" "$v" "$d" "$r" "$source" "$destination"  echo fi exit

I'm creating a simple bash script and I want to create a select menu in it, like this:  $./script  echo "Choose your option:"  1) Option 1   2) Option 2   3) Option 3   4) Quit     And according to user's choice, I want different actions to be executed. I'm a bash shell scripting noob, I've searched the web for some answers, but got nothing really concrete.


What is the essence of electric charge? Is it an independent object carried by the charged particles, or simply some kind of property of charged particles?

I know this isn't the right place for asking this question, but in other places the answers are so awfull.. I'm studying eletricity, so, I start seeing things like "charges", "electrons has negative charges",etc. But I didn't quite understand what charge is. I search a little bit on the internet and found it related to electromagnetic fields, then I thought "negative and positive may be associeted with the behaviour of the particle in the field, great!", but the articles about e.m. fields already presuppose "negative" and "positive" charges. In other places, I see answers relating charges to the amount of electrons/protons in an atom, but if that's right, the "negative" electron is an atom without any protons? What about the neutron? So, my questions are (1) What are charges; and (2) How a particle can "be" electrically charged. What does that really mean? Thanks for your time.


Prove that, for $x \in \mathbb R$ and $\delta_x > 0$, the open interval $(x-\delta_x, x+\delta_x)$ is itself an open set.   I am preparing for my exam and we will be asked to prove various theorems and I am struggling a lot with them. Frankly, I don’t have an idea of how to start. Can anyone please help with this proof?

First, the question I have is very similar to  question, but I hope it doesn't get closed as duplicate since I'm stuck nevertheless.  I'm trying to algebraically prove that an open interval is an open set. If I sketch it, as suggested by @rschwieb in the other question, then it seems quite obvious that this is indeed true. But I would like to be able to show it algebraically and after having looked at various sources found on the internet, I have decided to ask it here.  For definiteness, let us consider: \begin{equation} (c,d) = \{ x \in \mathbb{R} \mid c < x < d \} \end{equation} Furthermore, let $a \in (c,d)$, and recall that the $\epsilon$-neighborhood of $a$ is the set: \begin{equation} V_\epsilon (a) = \{ x \in \mathbb{R} \mid |x-a| < \epsilon \}  \end{equation} Now, if we take \begin{equation} \epsilon = \mathrm{min} \{ a-c,d-a \} \end{equation} then $a-\epsilon \geq c$ and $a+\epsilon \leq d$. Up until here I understand everything. But then I don't understand how we can conclude that $V_\epsilon (a) \subseteq (c,d)$? I'm sorry if this conclusion is really obvious (which it probably is), but for some reason I can't wrap my brain around it. Any help is much appreciated.


If a spellcaster casts haste on a monster with Multiattack, does he/she get to make the extra attack (one weapon attack only) from haste after his/her Multiattack?

It's a fairly straightforward question.   A creature has a Multiattack option, and it also can cast the Haste spell. While under the effect of Haste, can it use the second Action to take another Multiattack Action?  My main concern is the clause of the Haste spell that limits the number of attacks made from taking the Attack Action. This is a different Action, though.   Then there is the concern of being able to use Multiattack at all, because Haste says what kinds of Actions you can take.


I really love to take pictures from all kinds of cameras that I have exprienced with,I want to finally buy my first camera but i dont know which one is the best for me,any advice?

I have never had a proper camera and I have never taken pictures seriously but now I'm starting to feel interested in photography. I would like to start to learn the basics of this art. I don't have that much money to spend and moreover I'm kind of a nostalgic, therefore I was thinking about buying a used film cameras.   I know that maybe a digital one would be better to start, since I could take thousands of pictures without worrying about the film running out, but on the other hand with a film camera I would be forced to think a lot before shooting.  I still don't know what kind of pictures I want to take. I just would like a solid camera, not too big, so I can bring it with me during a trip.    Can I find anything good for less than 50€? I don't know if it matters, but I live in Italy.


I want to proof the following: If an element $[a] \in \mathbb{Z}$/m$\mathbb{Z}$ is a unit, then $a$ and $m$ are coprime, i.e. $gcd(a,m) = 1$. Proof: Let $[a]$ be a unit and $[a]^{-1} = [b]$. $\implies ab \equiv 1 \pmod m$ $\implies$ there is a $q \in \mathbb{Z}$ with $ab = qm+1$ $\implies ab-qm = 1$ $\implies \gcd(a,m)=1$ My question is: What is the reason that I am able to conclude the last step - $gcd(a,m) = 1$. Is it why I can divide the whole equation $ab-qm=1$ by a maximum of 1, because when I divide the equation by a number $> 1$, the right-hand-side would be a fraction and that is not allowed since we are in $\mathbb{Z}$. That was my guess but I am not sure at all. Thanks for your answers.

Isn't finding the inverse of $a$, that is, $a'$ in $aa'\equiv1\pmod{m}$ equivalent to solving the diophantine equation $aa'-mb=1$, where the unknowns are $a'$ and $b$? I have seem some answers on this site (where the extended Euclidean Algorithm is mentioned mainly) as well as looked up some books but there is no mention of this. Am I going wrong somewhere or is this a correct method of finding modular inverses? Also can't we find the Bézout's coefficients by solving the corresponding diophantine equation instead of using the extended Euclidean Algorithm?


Just dual installed with windows 10. How does Ubuntu open at startup?

I installed Ubuntu on a Dell XPS 13 laptop that had Windows 10 preinstalled on it. I installed it from a USB flash drive on a partition. When I boot my computer I can only boot into Windows 10 and Ubuntu is nowhere to be seen.  If I boot into my USB then I can see that Ubuntu is installed, but I can't get to it from the BIOS boot menu.


Assume a population of $10^9$ people, tracked over a 1000 days. A person stays in a hotel for a probability of 1% in any given day. Each hotel hosts  100 people at a time.   How many pairs of people would've stayed at least twice together in the same hotel?

This is a summary of the excerpt:  Given that we have:  *$10^9$ people  *each person has a chance of 0.01 of going to a hotel  *we have $10^5$ hotels, each hotel holds 100 people  *Thus, $P(2 \text{ persons meet on the same hotel in any given day}) = 0.01 \cdot 0.01 \cdot 10^{-5}$  *and $P(2\text{ persons on the same hotel in $2$ day}) = P(2 \text{ persons on the same hotel in any given days})^2 = 10^{-18}$  the book "Mining of Massive Dataset" said that the expected number of pairs who stay in the same hotel for 2 days is:  $P(2 \text{ persons on the same hotel in $2$ days}) \cdot ( \text{number of pairs of people} ) \cdot (\text{number of pairs of days})$  this is the part where I got stuck. Can't understand how it come to this derivation. Can anybody explain it in more elaborate detail.  You can find the content on page 6 of this link:  (it is freely available)


I'd like to create a Minecraft data pack to let a player see what he dropped/lost upon death (whatever he had in inventory+hotbar+offhand+armor+etc). I got the GUI part but i'm missing how to read a user inventory with a command so i can fill the new GUI with those items. I don't think /testfor is viable since i'd have to test for every single block present in the game and also i'd lose all the tags attached to an item (Edit: i've read that command is available only on BE, this is for JE). I tried to look at the documentation of /replaceitem but it doesn't seem useful either. Thanks in advance.

I am on a multiplayer Minecraft realm in 1.16 and I was wondering if there was any way to set a chest's Items to a player's entire Inventory including the offhand and armor slots. Using data modify <chest coordinates> Items set from entity <player> Inventory, I was only able to copy over the hotbar and the top two rows of a player's inventory. I honestly don't care if it takes 50 command blocks, any response is gladly appreciated.


select distinct ani_digit, ani_business_line from cta_tq_matrix_exp limit 5  I want to select top five rows from my resultset. if I used above query, getting syntax error.

Is there a way to make an Oracle query behave like it contains a MySQL limit clause? In MySQL, I can do this: select *  from sometable order by name limit 20,10  to get the 21st to the 30th rows (skip the first 20, give the next 10). The rows are selected after the order by, so it really starts on the 20th name alphabetically. In Oracle, the only thing people mention is the rownum pseudo-column, but it is evaluated before order by, which means this: select *  from sometable where rownum <= 10 order by name  will return a random set of ten rows ordered by name, which is not usually what I want. It also doesn't allow for specifying an offset.


This was a story about an astronaut that comes back to Earth to find all the people have gone.  Left behind are cities (that had moved underground) and some technology (like liquid nitrogen powered cars) and it appears that the people disappeared in a singularity in or related to Antarctica.  Sorry I don't recall much except maybe EARTH was in the title.

I read this as hardcover from the library back in the 80's. The story involves an astronaut who returns to Earth from a long mission (50 years, 100?) and discovers everyone is missing.  The only computer system that he can access is a low-level system named HOMER. Homer proceeds to tell the story of what happened, that there was some sort of technology movement that overtook the world that led to all conscious beings transmigrating to a higher plane. Turns out the astronaut was to be their fail-safe to bring them back. Once the story is told, Homer is able to trigger their return. Things I remember:  Cover showed an overgrown city street  The techno revolutionaries had undergone genetic mods of some sort and were living in Antarctica.  There was an anti-revolutionary song that was a modified from a kids' song.  I remember a verse as being  The Ants come marching two by two, aroo, aroo The Ants come marching two by two, aroo, aroo Forth to the North to steal our warmth and they all go marching back to the pole again


i'm writing an equation. I noticed that when I enter the \underbrace command, the square brackets increase their size giving an unpleasant visual result. could you suggest a solution? \documentclass{article} \usepackage{amsmath} \usepackage{mathtools}  \newcommand{\medv}[1]{\left \langle\,#1\,\right \rangle} \newcommand{\de}{\,\mathrm{d}} \newcommand{\Int}{\displaystyle\int} \newcommand{\Intlim}[1]{\displaystyle\int\limits_{#1}\hspace{-.3em}}  \begin{document} \begin{center}     \begin{minipage}{.55\textwidth}         \begin{equation}             \begin{split}                 \medv{D_{T_z} C_{,z}}_{\!,z}                 &= \left[\frac{1}{h}\underbrace{\int\limits_{0}^{h} (D_{T_{z}} C_{,z}) \de{z}}_{1}\right]_{\!,z}\\                 &= [\frac{1}{h}\underbrace{\int\limits_{0}^{h} (D_{T_{z}} C_{,z}) \de{z}}_{1}]_{\!,z}\\                 &= \frac{1}{h}\underbrace{\int\limits_{0}^{h} (D_{T_{z}} C_{,z}) \de{z}}_{1}\;_{\!,z}\\             \end{split}         \end{equation}     \end{minipage}\hfill     \begin{minipage}{.45\textwidth}          \begin{enumerate}             \item bla bla bla             \item bla bla bla          \end{enumerate}     \end{minipage} \end{center} \end{document}

I'm using \overbrace to explain  a part of an equation, like this:  \begin{align} a\left[\frac{d\cos y}{e} + \overbrace{\frac{b\sin x}{c}}^{\text{second bit}}\right] \end{align}   But the overbrace increases the height of the brackets unnecessarily:    Really, what I'd like is for the height of the brackets to be unrelated to the overbrace, like this:    Is this possible?


I am a UK citizen, Can I re-enter South Africa for a second time after returning home to the UK, if the second visit to South Africa is still within the first visit's allocated 90 day time limit? Will they let me back into the country on this 1st visa or will I be re-issued a new visa, as I have returned to my home country in between? I can't seem to find any info about this anywhere about returning home and then re-entering South Africa again after a couple of weeks. I've already booked my return flight to SA from UK but panicking slightly that they'll let me back into the country...Im just going back for 2 weeks Thanks

How many times can an Australian leave and re-enter South Africa (90 days at a time without a visa) in a year, and do they need to be out of the country for a certain period of time before they re-enter?  I want to be in South Africa for as long as I can, however as an Australian without a visa I can only stay for 90 days at a time. What I would like to do is simply leave South Africa and go to another country in Africa for a few days, before returning with a new 90 day allowance.    Is this possible, or must I wait a certain period before re-entering South Africa/is there a limit to the amount of times I can do this in one year?


So anyway, this is my first model and I'm currently working on the eyes. Yet I've been having a problem.  When I click Ctrl+N to invert the gray part, the white parts invert themselves instead. Is there anyway to fix this? Please help.

What's happening is that I have tried to flip the normals, inside and out, but there are always faces which have to be flipped!  Normals recalculated   Inside View    If I flip them again, all faces get flipped and end up horrible and, not working at all. So how can I make all of the faces flip to the right direction?


How could I compute the argument of the following complex number: $$\lambda=\sqrt{x^2-y^2+m^2-2isxy}$$ where, $s=\pm1,\,\,m\in\mathbb{R}$. I know for number in algebraic form $z=a+bi$ it's easy, just do, $arg(z)=\arctan\left(\dfrac{b}{a}\right)$ but unfortunately this is not the case. Thank you in advanced.

If I'm given a complex number (say $9 + 4i$), how do I calculate its square root?


What are the possible reasons for this? What Can I do? How to Indexing the URL's. Almost All URL's are Not Indexing in SERP's.  Its About Manga/Comic Website. Almost 35 days Old Domain. There are a lot of exclude tab issues. But one of the major issue is "Crawled - currently not indexed". Anyone help me with this issue?

This is a general, community wiki  question and answer pair intended to address any questions   concerning the reasons a site or specific site contents do not appear   in search engine results.      If your question was closed as a duplicate of this question and you   feel that the information provided here does not provide a sufficient   answer, please open a discussion on .   My site (or specific pages on my site) is not appearing in search engine results.  Why isn't my content indexed and what can I do about it?


I have a problem:  $E(x)=e^x$, $L(x)=\ln (x)$, $E^{-1}(x)=L(x)$.     Show that $\lim_{n\rightarrow \infty }(1+\frac{x}{n})^{n}=e^{x}$   Hint: use $f(t)=\ln (1+xt)$ and look at $f'(0), x\neq 0$.   I found out that $f'(0)=x$, so I can put it in $e^{f'(0)}$, but I don't know how it can help me. Please, can anyone here help me with this problem or give me a link to a good proof. I'm desperate.

I was wondering if it is possible to get a link to a rigorous proof that  $$\displaystyle \lim_{n\to\infty} \left(1+\frac {x}{n}\right)^n=\exp x$$


Can you play Minecraft pocket edition co-op with pc? My brother plays Minecraft on his computer and I was wondering if I could play with him while on my iPad.

My kids are playing Minecraft on 2 PCs, creative mode.  They are connected by the way of one of them starts a single player game on the other one than joins that game over the LAN.  Can I, using Minecraft PE on my iPad, join their game as well?


Some application on my system is leaking resources. But I don't know what it is leaking and which application.  The leak causes other applications to fail with error messages like this:     System Error. Code: 8. Not enough storage is available to process this command.   What tools and/or steps can I use to find out which application is leaking and what it is leaking?  note: I have   40% of memory free (of a total of 8 gigabytes) 15 gigabytes space free on the boot/system SSD drive all the rights I need (can be Admin when needed) a Windows 7 development workstation (with things like Visual Studio 2013, Delphi 2007, PL/SQL Developer 9, Office 2013, McAfee 8, IE 11, Chrome 44, Cisco Jabber) some developed applications and services running (but not many) Our Delphi services and applications run with FastMM in full debug mode and don't show memory leaks. about 200 string ATOMS in use (see dump at ) so it's not a full ATOM table issue. It was ATOMS, but while refactoring the code by  and  I accidentally killed very odd atoms in  which I will answer below. standard Windows 7 heaps with a large Desktop heap: SharedSection=1024,20480,768  it is not the RegisterWindowsMessages either: about 1000 of them in total:  it isn't a window handle count either, as Testlimit -u can happily allocate 10k USER handles:    Since it could just as well be one of our own developed applications, I ask it here instead of superuser/serverfault. We don't get this on our servers though.    Since I can't answer, here is the elaboration:  The tooling in the "non-duplicate" answer can't pinpoint the source for various reasons:   they call Windows API functions with wrong data they presume Thread IDs are the same as Process IDs they contain very limited source code (the most interesting UI application is lacking) the binaries of the incomplete source code don't function well using truckloads of CPU and not responding to the UI after initial clicks the source does not explain what they do and why they do it   I'm in the midst of combining those pieces of code and refactoring it to a useful console application that:   shows Atoms and Registered Windows messages indicates by which Application  shows percentage used can better estimate what ATOMS to free   That way, dumping the output over time and correlating the diffs it might be possible to zoom in to the offending problem.  The offending ATOM leaks look like this:  Atom 0xD8F8 with name "-%D4#!`````(W!```````@W#````````" Atom 0xD8F9 with name "-%D4#!`````HT!```````@W#````````" Atom 0xD8FA with name "-%D4#!`````+R!```````@W#````````" Atom 0xD8FB with name "-%D4#!`````3P!```````@W#````````" Atom 0xD8FC with name "-%D4#!`````*S!```````@W#````````" Atom 0xD8FD with name "-%D4#!`````KO!```````@W#````````" Atom 0xD8FE with name "-%D4#!`````,T!```````@W#````````"   Statistics look like this:  Total Global Atoms: 6405 Total is 39 percent of maximum 16384 Global Atoms. Total Registered WindowsMessages: 1940 Total is 11 percent of maximum 16384 Registered WindowsMessages.

We have a few Win32 applications (coded in Delphi 2006) where sometimes the user gets an error message saying "System Error. Code: 8. Not enough storage is available to process this command.".  From the stacktrace it looks like it is always during CreateWnd call  Main ($1edc): 004146cc +070 app.exe SysUtils               RaiseLastOSError 00414655 +005 app.exe SysUtils               RaiseLastOSError 004ce44c +130 app.exe Controls               TWinControl.CreateWnd 00535a72 +022 app.exe cxControls             TcxControl.CreateWnd 004ce82a +016 app.exe Controls               TWinControl.CreateHandle 00553d21 +005 app.exe cxContainer            TcxContainer.CreateHandle 00586ef1 +005 app.exe cxEdit                 TcxCustomEdit.CreateHandle 005c331d +005 app.exe cxDropDownEdit         TcxCustomDropDownEdit.CreateHandle 004ceaf0 +074 app.exe Controls               TWinControl.UpdateShowing 004ceb1e +0a2 app.exe Controls               TWinControl.UpdateShowing 004cebdc +03c app.exe Controls               TWinControl.UpdateControlState 004d118a +026 app.exe Controls               TWinControl.CMVisibleChanged 004cb713 +2bb app.exe Controls               TControl.WndProc 004cf569 +499 app.exe Controls               TWinControl.WndProc 004b727d +4c1 app.exe Forms                  TCustomForm.WndProc 004cb3a0 +024 app.exe Controls               TControl.Perform 004c9f6a +026 app.exe Controls               TControl.SetVisible 004b6c46 +03a app.exe Forms                  TCustomForm.SetVisible 004baf1b +007 app.exe Forms                  TCustomForm.Show 004bb151 +14d app.exe Forms                  TCustomForm.ShowModal 007869c7 +0d3 app.exe UfrmPrice      770 +19 TfrmPrice.EditPrice 0078655d +009 app.exe UfrmPrice      628  +0 TfrmPrice.actNewBidExecute 00431ce7 +00f app.exe Classes                TBasicAction.Execute 004c2cb5 +031 app.exe ActnList               TContainedAction.Execute 004c397c +050 app.exe ActnList               TCustomAction.Execute 00431bb3 +013 app.exe Classes                TBasicActionLink.Execute 004af384 +090 app.exe Menus                  TMenuItem.Click 004b059f +013 app.exe Menus                  TMenu.DispatchCommand 004b16fe +082 app.exe Menus                  TPopupList.WndProc 004b164d +01d app.exe Menus                  TPopupList.MainWndProc 004329a8 +014 app.exe Classes                StdWndProc 7e4196b2 +00a USER32.dll                     DispatchMessageA 004bea60 +0fc app.exe Forms                  TApplication.ProcessMessage 004bea9a +00a app.exe Forms                  TApplication.HandleMessage 004becba +096 app.exe Forms                  TApplication.Run 008482c5 +215 app.exe AppName        129 +42 initialization   I've never been able to get to the bottom of what causes this and as it happens fairly seldom I haven't been to concerned, but I would like to find out what causes it and hopefully rectify it...  EDIT: Full Stacktrace  EDIT 2: More info... The client who experienced this today has had my app installed for about 4 months and it is running on his PC 8 hours a day. The problem only appeared today and kept reappearing even though he killed my app and restarted it. None of the other apps on his system behaved strangely. After a reboot the problem goes away completely. Does this point towards the heap shortage that Steve mentions?  EDIT 3: Interesting msdn blog post  and  on the topic of the desktop heap. Though I'm not sure whether this is the cause of the problem it certainly looks likely.


I'm about to purchase a new laptop and -R4023D seems to be the best option for me. Mine will be:   i5 6200U 1TB HDD 5400 GeForce® 920MX with 2GB DDR3 13.3" 16:9 Full HD (1920x1080) DDR3L 1600(O.C.) MHz SDRAM - 8 GB   I need a laptop for hard browsing, business tasks (using messengers heavily), media entertainment (watching HD movies offline and online).   I'm going to test Artful Aardvark on this model with my USB flash at the local shop. However, it's scheduled on Saturday. Before this I'd like to have your advice. Maybe, someone used this laptop with Ubuntu. Did you have any issues?  I've checked the model's nVidia video-card - it does have drivers for Ubuntu. I also searched askubuntu and saw there are touchpad issues with other Asus X-series laptops. Anything like that in X302U?

I have a device on which I would like to install Ubuntu. How do I find out if Ubuntu will work on it?


I'm on 12.04 Desktop.  When browsing the file system, it's convenient to type Ctrl+L so as to get the file path "Location" to render as a string; I can then modify the file path or even paste something in and get redirected right where I want to go.  But often, after typing Ctrl+L, I find myself wanting to revert back to the normal way Nautilus renders the file path (as a series of buttons/links). What's the magical shortcut to "undo" Ctrl+L and go back to "normal mode"? Thanks in advance!

When using Nautilus you can use CTRL+L to display the addressbar. How do you revert back to the pathbar? Is there a shortcut key?


In QGIS 3.16 I have one layer with a lot of single polygons and some of them intersect. I want to aggregate these intersecting polygons to one single polygon. As a result i need the size of the connected polygons. None of the intersecting polygons have a shared  value in the attribute table, which the other polygons which are not intersecting (and therefor don t need to be grouped/aggregated/merged) don't also have. Is there a similar tool to ArcGIS Aggregate?

In QGIS 3.16.  I have a layer of 1000+ polygons, many of which are adjacent (touching, overlapping, or one completely inside another).  If all of the adjacent polygons are merged, I will end up with between 100 and 200 (larger) polygons. I would like to accomplish this in a way that preserves all of the attributes for all polygons, for example:  For polygons being merged: values for attribute X are concatenated for the resulting polygon.  (Example: For attribute 'status', Polygon A has value "IC" and Polygon B has value "NC".   If these two polygons merge into Polygon AB, I would like the corresponding value of attribute 'status' to be "IC, NC".)  For polygons not being merged (i.e. isolated ones without an adjacent neighbor) there is no change to their attributes.   This seems like a fairly common task that it should be possible to accomplish, but my searches have been fruitless thus far. I'd like to stay within QGIS if possible (I have never used PostGIS before).  If your answer involves SQL or Python, please consider that I am learning these now but an absolute beginner, so I will not understand code without context.


The following displays the .png figure in the pdf but not the .eps figure:  \documentclass[12pt]{article}  \usepackage{graphicx} \usepackage{epstopdf}  \begin{document}  \begin{figure}[htb]     \includegraphics[width=5.0in]{mcs.eps} \end{figure}  \begin{figure}[htb]     \includegraphics[width=5.0in]{Broncos.png} \end{figure}  \end{document}   Space is reserved in the pdf for the .eps figure even though it is not displayed. I am using MikTeX 2.9 and TeXMaker 5.0.4.  Any thoughts would be appreciated.

There several types of graphics files. In no particular order .jpeg .eps .pdf .png .tif .jif (and no doubt others). Some work with latex, dvips and some work with pdflatex. How am I supposed to know which?  Just to confuse matters, metapost produces .eps but I can use these with pdflatex as long as I put in a four line incantation.  Can anyone explain this?


I have little problem while programming Atmega328    This piece of code gives error:  expected ':', ',', ';', '}' or '__attribute__' before '=' token   in Atmel Studio 7  struct {     const uint8_t fioletowy[3] = {255,0,255};     const uint8_t blekitny[3] = {0,255,255};     const uint8_t czerwony[3] = {255,0,0};     const uint8_t zielony[3] = {0,255,0};     const uint8_t niebieski[3] = {0,0,255};     const uint8_t pomaranczowy[3] = {255,128,0};     const uint8_t zolty[3] = {255,255,0};     const uint8_t bialy[3] = {255,255,255};     const uint8_t rozowy[3] = {255,100,255};     const uint8_t cyjanowy[3] = {0,255,225}; } kolory;   Whole code

Why can't we initialize members inside a structure ?  example:  struct s {    int i = 10; };


I would like to write a equation which defines quantity f(X) to be a if X>0 and b else. I would like to do so writing f(X)= followed by a curvate bracket and then a if x>0 and b else aligned vertically.   By curvate bracket I mean a \bigg version of {.

I would like to put a tall (long) left curly bracket on the left side of the following:  \documentclass[12pt]{article}  \begin{document}  \noindent c: $\{$1, ..., n$\}$ $\rightarrow$ $\{$1, ..., n$\}$, such that  \hspace{20 mm}  \noindent c($a_i$) = $a_{i+1}$ for 1 $\le$ $i$ < $l$  \hspace{20 mm}  \noindent c($a_l$) = $a_1$   \end{document}   Please let me know if you can help. Thanks!


I am writing a LaTeX template for our university dissertations. A problem I face is the following:     An student asked me that his dissertation does not include any tables   and he views an empty list of tables. I have put \listoftables in   the .cls file and told him to comment it. However, I wonder how to   detect the existence of tables and automatically disable/enable any   listings such as list of figures, list of tables, list of algorithms   and similar thing.   I've searched for a while, but could not find any solution other than adding options to the document class like the following:  \newif\if@alg\@algfalse \DeclareOption{alg}{   \@algtrue } \ProcessOptions\relax \if@alg     \RequirePackage{algorithmicx}     \RequirePackage{algorithm}     \RequirePackage{algpseudocode}     \renewcommand{\thealgorithm}{\arabic{chapter}.\arabic{algorithm}}  \fi  \if@alg     \listofalgorithms     \cleardoublepage     \newpage \fi

How can I add the list of figures, tables or listings to the frontmatter, ONLY when there is content in each respectively?