Accuracy issues with capacitive touch screen

Previous question I asked .  Posting a new question because my previous approach included many incorrect assumptions.  I'm working on a product with a motor, a fan, and a LCD with capacitive touchscreen.  The most basic description of the problem is that the reported touches are inaccurate sometimes.   The touchscreen has an integrated FT5426 controller. This is the LCD in question:  (note the thumbnail is inaccurate).  The touchscreen is powered from a 3.3v linear regulator with a 100uF cap near the regulator output, and a 0.1uF decoupling cap near the ribbon connector. The 3.3v regulator input comes from a 5v switching regulator, which in turn comes from an external 24v power brick.  Below is what I've learned so far.   When they are incorrect, touch coordinates are always left of the actual touch location. The Y coordinate never seems to have issues. The issue does not occur at all with some power supplies, and it occurs frequently with others. None of the power supplies have negative connected to earth. The issue does not occur if you touch the metal LCD bracket (which is connected to system gnd at several points). The severity of the issue increases dramatically if the motor or fan is running. Both have snubber caps and flyback diodes. The touchscreen controller talkes to a PIC32 via I2c. There is a 0.1uF decoupling cap close to the ribbon connector, as well as TVS diodes on the data and power lines. The 24v input from the power supply appears to be quite clean on an oscilloscope. Although there are sawtooth dips in the voltage when the motor is running. Connecting negative to earth gnd fixes the problem (but there's not an easy way to do this in the final product). Connecting the oscilloscope to the point where 24v power enters the board drastically reduces the problem, even with the scope earth is disconnected. The scope connection even helps somewhat when the scope is powered with lipo batteries and an AC inverter. I tried connecting an additional 0.1uF cap where the scope was connected  (even though there is already extensive decoupling nearer to the voltage regulators). This didn't have any effect. I tried disconnecting the earth from the AC input into a good supply, in case there was some kind of capacitive coupling to earth, but that had no effect. The motor and fan running exacerbate the issue somewhat even when they are disconnected (PWM still going to mosfets). The board has a solid ground plane, and generally follows good decoupling and routing practices. It also passed CE testing. That is to say, I don't think the design is excessively noisy. I tried adding a choke to the input power wires (although the power brick already has one, and that had no effect).   My questions are. Has anyone seen this issue before? And what are some possible causes, or things I can try to fix the problem?  What could the power bricks be doing that eliminates the problem? Neither shows excessive noise, and there is no gnd connection.  My goal is to make the touchscreen reliable with the good and "bad" power bricks.  Edit: Bingo, Sunny appears to be correct. I'm measuring huge common mode noise at 60hz (if I'm measuring correctly). The scope is connected to earth, and I have the probes connected to positive and negative where they enter the board. The ground clips are NOT connected.  Here's what I'm seeing:   And here's a good supply:  So finally I can see a difference between the two!  I'm going to try adding a huge common mode choke. But does anyone have an idea for how to fix this without changing the power supply?  Edit: The common mode choke had little effect. I wrapped a pair of magnet wires around a torroidal ferrite, approximately 24 turns. When the probes are placed before and after the ferrite on the negative line, the signals are identical. ..The signal on the negative line is also identical if I turn off the machine (which disconnects the positive line from the power supply).


Make ctrl-backspace different than ctrl-h

I am running Debian Jessie.  I am using Xterm, though I would prefer an answer which works in a virtual terminal as well.  Here, "backspace" is the key with the backwards arrow, two keys above the "enter" key on a typical US PC keyboard layout, if that is relevant.  I would like to have two separate shortcuts: "control+h" to move the cursor one character to the left (a modified vim keybinding of sorts) and "control-backspace" to delete the word before my cursor (traditionally the "control-w" functionality).  My problem is that I can only set one of those shortcuts in my .inputrc, because typing "control+backspace" is interpreted as if I had pressed control-h instead.  How can I separate these key's functionalities?  I have read a lot of information on it but have only become more confused.


Good day!  Help to understand pls. How to datapicker remove  year? all mode - not suitable   number|month    Thanks!


Interpretation of the Cauchy-Riemann condition, $\frac{∂f}{∂\overline z} = 0$

The Cauchy-Riemann condition states that an analytic function satisfies: \begin{split} \frac{\partial u}{\partial x} &= \frac{\partial v}{\partial y}; \frac{\partial u}{\partial y} &= -\frac{\partial v}{\partial x} \end{split} The converse of the statement requires additional conditions: the first partial derivatives of $u, v$ exist and are continuous. I derived the Cauchy-Riemann condition based on the fact that partial derivatives of $f(z)$ with respect to $x, y$ $(z=x+iy)$ must be the same on the point $z$ where $f(z)$ is differentiable. On the other hand, I found something very interesting that I cannot intuitively interpret. I was reading the  Complex Variables and Applications (Brown and Churchill) 9th ed textbook [1]. On p.71-72, the author explains:  If $z=x+iy$, then $x=\frac{z+\overline z}{2}$ and $y=\frac{z-\overline z}{2i}$ By formally applying the chain rule in calculus to a function $F(x,y)$ of two real variables, we can derive the expression $\frac{∂F}{∂\overline z}$ =$\frac{∂F}{∂x}$$\frac{∂x}{∂\overline z}$ + $\frac{∂F}{∂y}$$\frac{∂y}{∂\overline z}$ =$\frac{1}{2}(\frac{∂F}{∂x}+i\frac{∂F}{∂y})$ Now let's define the operator $\frac{∂}{∂\overline z} = \frac{1}{2}(\frac{∂}{∂x}+i\frac{∂}{∂y})$ By applying this operator to a analytic function $f(z) = u(x,y) + iv(x,y)$ which satisfies the Cauchy-Riemann conditions, then  $\frac{∂f}{∂\overline z} = \frac{1}{2}[(u_x-v_y)+i(v_x+u_y)] = 0$ Thus derive the complex form $\frac{∂f}{∂\overline z} = 0$ of the Cauchy-Riemann equations.  I can follow the above proof step by step but I think there's much more to say about the result $\frac{∂f}{∂\overline z} = 0$. Why this result came from the Cauchy-Riemann condition? Is there any geometrical meaning more than just writing a list of formulas? On the Wikipedia page - Cauchy Riemann equations(), some comments are posted like this.  In this form, the Cauchy–Riemann equations can be interpreted as the statement that f is independent of the variable $\overline z$. As such, we can view analytic functions as true functions of one complex variable as opposed to complex functions of two real variables.  But it's quite confusing for me to understand and many questions remained. How can I view analytic functions(that satisfies the Cauchy-Riemann condition) as one complex variable and how such interpretation is directly related to the concept of differentiability? Reference James Brown, Ruel Churchill. Complex Variables and Applications 9thd ed; McGraw-Hill Education, 2013. ISBN 978-0073383170.


How can "A problem occured while checking for updates" be fixed when Terminal and Software Updater don't work?

I am currently facing a problem with the update checking error in Ubuntu 18.04. Also after this problem terminal is not working or not opening. So I can't open the terminal as well as the software updater was not working currently. I also tried through system setting for updates but still in system setting software and updates are not opening and working. What is the solution for this? Can I please know how to recover back (my terminal and Software Updater aren't responding). So that I can start using my terminal again.  Apparently this happened when I tried to upgrade from python2 to 3.


Exception: No body supplied for the file attachment.: [fileAttachments]

I have an Apex class that contains @future annotation method to send email. A Visualforce page is rendered as pdf and is sent as an email. I'm getting an exception in test class-      System.EmailException: SendEmail failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, No body supplied for the file attachment.: [fileAttachments]   Controller code(@future annotated)-      PageReference pdf =  Page.ReceiptPrintPage;                                pdf.getParameters().put('AccId',parameter1);          pdf.getParameters().put('year',String.valueOf(parameter2));         pdf.setRedirect(true);         // Take the PDF content                     Blob b;       try{             b = pdf.getContentAsPDF();         }catch(Exception ex){           System.debug('ex'+ex);       }              // Create the email attachment         String filename = parameter3 + '_receipt_' + parameter2 + '.pdf';        Messaging.EmailFileAttachment efa = new Messaging.EmailFileAttachment();         //Messaging.EmailFileAttachment.setContentType(param1)                         efa.setFileName(filename);         efa.setBody(b);                                         // Sets the paramaters of the email         String subject = 'Recurring Donations Receipt for the Fiscal Year - ' + parameter2;                                                            body = 'Hello';         email.setSubject(subject);         email.setToAddresses(new String[] {parameter4});         email.setPlainTextBody(body);                  email.setFileAttachments(new Messaging.EmailFileAttachment[] {efa});                                                      // Sends the email         Messaging.SendEmailResult [] r = Messaging.sendEmail(new Messaging.SingleEmailMessage[] {email});   Test code-      PageReference pdf =  Page.ReceiptPrintPage;     pdf.getParameters().put('AccId',a1.Id);      pdf.getParameters().put('year',String.valueOf(fiscalYear));     pdf.setRedirect(true);                     Blob b;     try{         System.debug('before test content');               //b = pdf.getContentAsPDF();         b = pdf.getContent();     }catch(Exception ex){         System.debug('ex'+ex);     }        Messaging.EmailFileAttachment efa = new Messaging.EmailFileAttachment();     String filename = 'Receipt_' + fiscalYear + '.pdf';                                       efa.setFileName(filename);     efa.setBody(b);                                         Messaging.SingleEmailMessage email = new Messaging.SingleEmailMessage();     String body = 'Testing Email';     String subject = 'Recurring Donations Receipt for the Fiscal Year - ' + fiscalYear;       email.setSubject(subject);     email.setToAddresses(new String[] {'company@domain.com'});                     email.setPlainTextBody(body);                email.setFileAttachments(new Messaging.EmailFileAttachment[] {efa});                                                Messaging.SendEmailResult[] r = Messaging.sendEmail(new Messaging.SingleEmailMessage[] {email});                 How can I set body for file attachment?


UMVUE of the probability of a conditional poisson probability $P_{\lambda} (X=r )$

Consider a $X_1, ... X_n \sim~ Poisson(\lambda)$, I want to obtain the UMVUE of $P_{\lambda} (X=r)$. This is my approach: $\operatorname{\mathbb{E}}_{\theta}[h(t)] = P_{\lambda} (X=r)$. The probability is dependent on $\lambda$ so I am inclined to find the conditional probability and proceed as $\operatorname{\mathbb{E}}_{\theta}[h(t)] = P(X=r, \lambda)/ P(\lambda)$. I am not sure if this is necessary but would appreciate some advice. Incorporating provided suggestions I get: $$\sum_{t=0}^{\infty} h(t) \lambda^t\exp(-t)/ t! = \lambda^r\exp(-r)/ r!$$ I will expand the RHS: $\lambda^r\exp(-r)/ r! = \lambda^r\sum_{n=0}^{\infty} (-r)^{n}/ n!r!$ But I am stuck.


Why do electric field lines never intersect?

Electric field lines never intersect. We know that. So closely spaced field lines mean a stronger field and field lines farther apart mean a weaker field.  How are we really sure that they never intersect? Can it be proven?


How does the router know which device to send packets to?

my question does not concern how it moves through the internet, but how it moves through the router to a certain device. All devices connected to a router in a home network have the same external IP. Say device A is loading a page and packets are sent from an external source to the router because the packets know the external IP of device A and they are able to get to the router. But now, how does it get to device A? How does the router know to send it to device A instead of device B?  I think this involves the NAT, but i'm just looking for a logical explanation of what NAT does to accomplish this.


Finding the distribution of $5X_{1}^2+2X_{1}X_{2}+X_{2}^2$

Suppose $X=[X_{1},X_{2}]$ and $X$~$N_2(μ,Σ)$. I wish to find the distribution of  $5X_{1}^2+2X_{1}X_{2}+X_{2}^2$. Since this is of a quadratic form I do not know a way of solving this. However I kind of feel like its chi-squared distributed with parameter 2. Any answers will be welcomed. Thanks


I'm writing a document using the copernicus_discussions.cls document class. This document class doesn't work when using babel. So I need to keep LyX from automatically using babel. However, even though in Tools->Preferences->Language I selected "Language package: None" and disabled all checkboxes on that page, and even though in my document preferences, I selected "Language package: None", the generated LaTeX source still contains the line  \usepackage{british,english]{babel}   How can I prevent LyX from inserting that line?


Preventing itemize environment to insert initial vertical space

I'm using itemize and tables like the following  \begin{tabularx}{\textwidth}{>{\ttfamily}llX}  \toprule  \textbf{\rmfamily Operator} & \textbf{Typen} & \textbf{Regel} \\  \midrule  = & Alle Typen &   \begin{itemize}    \item This is how we roll    \item Maybe we can talk?   \end{itemize} \\  \bottomrule \end{tabularx}   But it keeps inserting a vertical space before the itemized list. How can I prevent it from doing so?


What's the cheapest SIM card with Internet for smartphone in Czech Republic?

I want to go to Prague for a few days and do there some geocaching. I need therefore SIM card with internet package or internet flat rate. I don't think the traffic generated while geocaching will be more that 50MB a day, so 200-300MB package instead of flat rate would be also reasonable.  So I want to use only internet, only for a few days, I want to pay as little as possible and the SIM card should be relatively easy to purchase (on train station, for example).   What's the SIM card that fulfills my criteria at best?


Idiomatic phrase for small type words at end of a document

Is there a phrase in English that that can be used in the following situation:  You read an article and from the title you understand that this is something positive, but if you read it all, very carefully, you will see that "small words" at the end reveal the reality.  The same situation is when signing contracts, when something negative for the customer is indicated in the end with small letters


InnoDB vs MyISAM in a table storing usernames and passwords

I had a table usernames that store user's username and password.  Structure of table usernames is given by:  CREATE TABLE `usernames`  (   `id`       INT NOT NULL AUTO_INCREMENT ,    `user_id`  INT NOT NULL ,    `username` VARCHAR(50)  NOT NULL ,    `password` VARCHAR(100) NOT NULL ,    `time`     TIMESTAMP    NOT NULL ,      PRIMARY KEY (`id`),      UNIQUE `user_id_index`  (`user_id`) /* it's primary key in users table(user infos)*/     UNIQUE `username_index` (`username`)  ) ENGINE = InnoDB;   I'm expecting more than 100,000 rows in the table. And there are only two types of queries which will be made on this table, and example of these queries are:   SELECT * FROM usernames WHERE username = 'brad' UPDATE usernames SET username = 'newbrad' WHERE user_id = '312'   Right now I'm using InnoDB engine, I want to know whether it's better than MyISAM in this particular case or not.  Thank you in advance!


Can I set up Gmail to fetch messages from another IMAP account?

I have my work webmail that only offers IMAP access, no forwarding. I want to fetch it using Gmail, which, I already know, doesn't support fetching mail from IMAP accounts. Only POP3.  I've read other questions here with no useful responses, or proposed solutions that involve having a server working in a computer of my own, but I want to find an entirely internet-based solution.  I found that Outlook.com has both "imap importing" and POP3 access, and successfully imported the old mail from my work account to Gmail using Outlook as intermediary, but in Outlook, the IMAP fetching seems to be a one-time-only import thing, i.e., it doesn't automatically fetch more mails as they arrive.  So do you know of another way to get the e-mails from my IMAP-only work webmail into Gmail as they arrive?


Failed to download repository information with Google Chrome installed on Ubuntu 14.04 64bit since beginning of March 2016

Starting March 2016, Software Updater displays "Failed to download repository information," and "Check your internet connection when attempting to update." What's causing it and how can I fix it so I can update my computer?  I have Google Chrome installed and I'm running Ubuntu 14.04 64bit.


Is it possible to navigate to a Visualforce page from an LWC with parameters and community compatible

The LWC framework includes the NavigationMixin.Navigate functionality that can be used to obtain URLs or perform navigation to generated URLs. This supports a number of different page types, as covered in the . What I can't find is how to create a URL to a specific Visualforce page, with parameters and compatible with communities. Using the "web page" navigation type seems wrong to me, since the URL for a Visualforce page varies based on whether access is direct or within a community. Do you know what the correct approach is for navigating from a flexipage via an LWC component to a Visualforce page in the same org, passing the page some parameters?


How does concentration interact with spells cast via the Wild Magic Surge table?

I can't find any official ruling about this.  I'll use the example of Fog Cloud on the Wild Magic Surge Table (PHB pg. 104) as an example.  The Wild Magic entry reads:     You cast fog cloud centered on yourself.   The spell Fog Cloud (PHB pg. 243) is a concentration spell, lasting for up to an hour.  The rules for concentration (PHB pp. 203-204) state:     Some spells require you to maintain concentration in order to keep   their magic active. If you lose concentration, such a spell ends. If a   spell must be maintained with concentration, that fact appears in its   Duration entry, and the spell specifies how long you can concentrate   on it. You can end concentration at any time (no action required).      Normal activity, such as moving and attacking, doesn't interfere with   concentration. The following factors can break concentration:         Casting another spell that requires concentration. You lose concentration on a spell if you cast another spell that requires   concentration. You can't concentrate on two spells at once.   Taking damage. whenever you take damage while you are concentrating on a spell, you must make a Constitution saving throw to maintain your   concentration. The DC equals 10 or half the damage you take, whichever   number is higher. If you take damage from multiple sources, such as an   arrow and a dragon's breath, you make a separate saving throw for each   source of damage.   Being incapacitated or killed. You lose concentration on a spell if you are incapacitated or if you die.         The DM might also decide that certain environmental phenomena, such as   a wave crashing over you while you're on a storm-tossed ship, require   you to succeed on a DC 10 Constitution saving throw to maintain   concentration on a spell.   So, does a spell such as Fog Cloud cast as a result of a roll on the Wild Magic Surge table require concentration? Can the PC that cast it cancel the concentration and the spell effect at will, as with a usual concentration spell? Upon casting, does it cancel any current concentration spells the caster has active? Or does having the level of control over a Wild Magic spell where you can cancel the effect defy the point of the class?


Switch wireless keyboard/trackpad while using iMac as external monitor

I have an iMac with a pair of wireless keyboard/trackpad and another Macbook Pro (MBP). I just got a thunderbolt cable and try to use iMac as an external monitor for the MBP.  However, one problem is that, I have to press cmd+F2 on iMac. Then after that the wireless keyboard/trackpad will have problem pair with MBP using bluetooth, because it's still paired with iMac.  Is there a better way to have keyboard/trackpad easily switch between my iMac and MBP? I know two of the solutions but none of them seems to be very appealing to me: 1) Buy another pair of keyboard/trackpad just for MBP 2) Logitech got a easy-switch keyboard but no easy-switch trackpad  Any suggestion would be great. Thanks.


Are there any video editors in Ubuntu that can handle some of the tasks below?

My post is a bit vague, but I need a video editor that can do the following:   link different video files with text transitions allow music in the background   I have read some posts and all the ubuntu video editors come with interfaces that are hard to use for a complete beginner to video editing.  Any recommendations?


Why is pip3 not found when it is installed?

If I try to install pip3 my system tells me it's already installed:  $ sudo apt install python3-pip Reading package lists... Done Building dependency tree        Reading state information... Done python3-pip is already the newest version (9.0.1-2.3~ubuntu1). 0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade.   However, when I try to use pip3:  $ pip3 --help   Command 'pip3' not found, but can be installed with:  sudo apt install python3-pip   If I try locate it I get the following:  $ locate pip3 /usr/share/man/man1/pip3.1.gz   Where is pip3 and how can I run it?


Shouldn't there be an  badge for questions marked favorite by 10 users?  By analogy with question score:    Question score of 10 or more  Question score of 25 or more  Question  Question score of 100 or more   Question marked favorite:    Question favorited by 10 users or more  Question favorited by 25 users or more  Question  Question favorited by 100 users or more


How to use jQuery click function to delete closest div?

I want to remove the parent p tag when the cross button is clicked.  My HTML structure is like this :    jQuery('.delete').click(function() {   jQuery(this).closest('.question-list').remove() });  jQuery('.add-question-btn').click(function() { jQuery("#add-question-div-parent").append("
<input type='text' class='add-ques-text' placeholder='Add Question'>
"); });          jQuery('.cls').click(function() {    jQuery('.add-question-div').remove() });
Here is my question.Here is my question.Here is my question.

 <button class="add-question-btn">+</button>     .add-question-div this has been added successfully after '.add-question-btn' button has clicked, but unfortunately i'm not able to remove .add-question-div  when i click on .cls.  Any kind of help would be highly appreciated. Thanks.


how do I recover my previous google account?

Out of desparation I opened a new google account an hour ago because I was getting nowhere trying to recover my old one which worked fine yesterday


Can a ninjutsu be executed without the use of hand seals?

Is it possible to execute any ninjutsu without using handseals?


I was in chemistry class when this question struck me, which sentence is more accurate?  A decrease in the mass of a reactant.  or  A decrease of the mass of a reactant.


How to add/remove links to existing or new nodes using Python?

I have lots of objects consisting of many different meshes. Some of these meshes come with transparent materials applied to them. My goal is to modify the nodes list, add new nodes and change the links for the transparent materials. Based on , I can detect the transparent materials (thanks to ) using the following Python script:  for obj in bpy.data.objects:     if obj.type == 'MESH':         for slot in obj.material_slots:             if slot.material:                 mat = slot.material                 for node in mat.node_tree.nodes:                     if node.label == "Mix Color/Alpha":                         if node.inputs[1].default_value[0] < 1:                             print("Material '%s' on object '%s' seems transparent" % (mat.name, obj.name))   Also, based on  (again, thanks to ) I can manually add shader nodes to get depth maps or surface Normals while ignoring those materials as shown below:    I need to do this process for thousands of objects. I am pretty new to the concepts of nodes in Blender and do not know how modify the nodes and remove/add links to do what is being shown in the GIF image above. So I wonder, how can I add the math and mix shader nodes and add/remove the corresponding links using Python?  You can download  .obj file and load it in Blender to be able and make sure your code works. Just make sure you have selected Cycles before importing the obj file into Blender so that Blender creates the materials' nodes list automatically.  NOTE: I'm not sure how this helps but some of the meshes share the same materials. For instance, in the car example, the headlamps and the glasses (windshield, side windows) share the same material.  NOTE: Just loading the object and doing rendering will not get you the same Normal maps as shown here. The surface Normals of the object I provide here are incorrect. If you want to get the same surface Normals you need to do the following: join all the meshes. Then go edit mode and recalculate outside surface Normals of the downloaded object. Then turn off Auto Smooth.


Box of listing starts one page too early

I have the problem, that the box of a listing starts one page too early:   Is it possible to allow the listing spreading over two pages, but not if there is an "empty line"?  MWE:  \documentclass{article} \usepackage{polyglossia}    % instead of babel \setdefaultlanguage[]{english}  \usepackage{blindtext}  \usepackage[framed, numbered, mlscaleinline=true]{matlab-prettifier} %\usepackage{listings} \definecolor{MatlabCellColour}{RGB}{252,251,220}  \lstset{% general command to set parameter(s) style          = Matlab-editor, backgroundcolor= \color{MatlabCellColour} }  \begin{document} \Blindtext[5] AA  AA  \begin{lstlisting} for i=0:2     % ... end \end{lstlisting} \end{document}


I want to retrieve all site collection from my webpart. i have code to get all site collection which is work in on premise.  SPWebApplication webApplication = SPContext.Current.Site.WebApplication;         SPSiteCollection siteCollections = webApplication.Sites;          foreach (SPSite siteCollection in siteCollections)         {             ddlsubsite0.Items.Add(new ListItem(siteCollection.RootWeb.Title, siteCollection.ServerRelativeUrl));         }   but as we used SPWebApplication, it is not working in Office 365.


How can Innodb ibdata1 file grows by 5X even with innodb_file_per_table set?

I have innodb_file_per_table set and just today my ibdata1 file jumped from 59M to 323M after I made several changes to an 800M table to reduce it to about 600M. That particular table's .ibd file was reduced but the server's ibdata1 file went crazy. Any ideas?


Proving sum of sines is periodic when ratio of their frequencies is rational using differentation

I found this excercise in a book ( chapter 4.3):     Show that the function $f(t) = A \sin(at) + B \sin(bt)$ is periodic when   the ratio of $a$ to $b$ is a rational number, and non-periodic if the   ratio is irrational. [Hint: Differentiate twice and take linear   combinations of the result and the original function to get a single   sine wave; use this to get information about possible periods]   I saw general proofs, but I'm interested in using the hint  So, the double derirative:  \begin{array}{l} f''( t) =-a^{2} A\sin( at) -b^{2} B\sin( bt) \end{array}  And what now? Do I just multiply $f(t)$ by $a^2$ and add it to $f''(t)$? Is that a logical thing to do (I mean I haven't had to add a function to its derirative before)  \begin{array}{l} a^{2} f( t) +f''( t) =\left( a^{2} -b^{2}\right) B\sin( bt) \end{array}  Can I conclude anything from this?


I have a  I use it with a mouse connected to USB thanks to . For some time with my mouse, I can no longer scroll through the pages of browsers like Firefox or Chrome where another browser. Rather than scrolling the text from top to bottom or vice versa, it selects the text for me! I can no longer also do a copy / paste in the web pages, it selects but without displaying "copy / paste" I reset my tablet but it doesn't change anything. I reset my tablet by following  but it doesn't change anything. I changed the adapter, tried with another mouse, with a bluetooth mouse but it's the same :( I sent my tablet to the after-sales service 3 times for this problem but it came back each time as repaired but the problem is still present. The funny thing is that when I take control of my tablet with my computer and with teamviewer I use my computer mouse! Well it works. I can scroll web pages through my computer. An idea ? Thank you


How do I add a onclick event to a dynamic nested element?

I am dynamically adding a "lobby" to my table like so:  _rooms.forEach(room => {     const tr = document.createElement('tr')      tr.innerHTML = `         ${room.RoomName}	         ${room.UsersInRoom.length}	                      <form>                 <input class="btn btn-primary btn-sm btn-block" type="button" id="join" value="${room.RoomName}" />             </form>         	`      document.getElementById('room-list').appendChild(tr) })   But I want to be able to add an onclick event to the input type button. How can I achieve that?


Microsoft Outlook hiding text after pressing enter

When typing an email, the previous line of text is hidden after pressing enter. Then, the cursor is stuck and can't be moved. I've checked if it's deleting the text and it's not, since when sending the email to a different email, you receive the hidden text as well. I've scoured the internet for solutions for this and it's not Overtype, line breaks, or formatting issues. It does not occur on other applications, only the Outlook app. I've also tried repairing the application and that did not work. I am using Outlook as part of Microsoft Office 365. It is the newest version and my computer is running Windows 10.


How do I find all the groups of order 30? That is I need to find all the groups with cardinality 30. I know Sylow theorems.


What is the reason python needs __init__.py for packages?

I understand that python needs the __ init __.py file in order to recognize the directory as a python package, that way we can import sub modules into our program.I can see the similarity to classes and how init can be used to execute necessary code off the bat.  However, in the python docs, this line confuses me,      This is done to prevent directories with a common name,  such as   string, from unintentionally hiding valid modules that occur later on   the module search path.   as seen here   Could someone please clarify this?


Moving from eigenstate basis of a Hamiltonian back to operator basis

This is maybe a stupid question but one I have been bugged by a long time.  How to translate back from an eigenstate basis to another operator-basis.  Let me give an explicit example to show what I am asking. Consider the harmonic oscillator Hamiltonian (dropping vacuum energy) $$  H=a^\dagger a $$ In an eigenstate basis it can be written as $$  H=\sum_n n\vert n\rangle\langle n\vert $$ Now how do I translate terms like  $$ \vert n\rangle \langle m\vert=f(a,a^\dagger) $$ in terms of operators $a$ and $a^\dagger$?  Note: I am not asking for ladder operators specifically but for a general construction scheme. This is why this question is not a duplicate.


Does the weight of a computer go up as information is added to it?

This probably sounds really naive. But, a strange discussion came up on Quora about computers possibly weighing more when information is added to them.   I tried looking around but couldn't find a definitive answer. There are a few threads where people have tried to ask something similar.  1)   2)   Both threads have people arguing about the possibilities, but I'm sure a more definitive, and painfully detailed answer must exist. I hope you have a good laugh and then help me out!  I don't have the rep to post more than two links so I'll just put the original thread in the comments.  Thank you!


Can I take a sex-toy on plane through UAE?

I will be traveling from Australia to Austria, transferring in Abu Dhabi. Is it alright for me to bring a vibrator in the check-in luggage, or are there laws against that?  It is approximately 17cm long. Are there any precautions to take?


National grid and OpenLayers do not match

I have points in a txt file with lon, lat and elevation. The CRS is the National Grid of my country (metric system). However, when I add them in QGIS and then try to lay over them a map from OpenLayers plugin, the points are 50 meters off their true location. How to fix this?  The national grid is Balkan Zone 7.


Why does my "if" statement not fire?  String something = ""; String category = json_data.getString("den"); Log.e("JSON", "category="+category);             if (category == "1"){   something = "Random something"; }   Even if in my logcat I can see JSON:"category=1", the "something" String does not take  "Random something" value. This must be some convention in java? Please help.


Why are $E$ and $B$ fields not redundant?

The good ol' Maxwell Equations have two very big concepts: the $\vec{E}$ and $\vec{B}$ fields. But it can be shown, adding relativity into the stew, that what we call the $\vec{E}$ and $\vec{B}$ fields are just a single Electromagnetic field. When talking about the same frame of reference, this Electromagnetic field behaves just like what we call the $\vec{E}$ field. And if the charge is viewed from a different frame of reference, after proper Lorentz Transformation, another force field seems to come into play which is what we call the $\vec{B}$ field. It's not a new concept.   But according to the :     Relativistic electromagnetism is a modern teaching strategy....      Teaching strategy? Why isn't such an approach used more commonly? This would make understanding Electromagnetism more intuitive since all that's required that way is $\nabla\cdot\vec{E} = \rho_v/\epsilon$ (Gauss' Law) which is not to hard to explain. Why are Maxwell's Equations and $\vec{E}\,\vec{B}$ fields not regarded as "approximations" or "tools to make electromagnetism simpler"?   Moreover, permanent magnets work because of electron spin. Why does electron spin arise?It's because of the bispinor wavefunction result of the Dirac Equation (going into quantum mechanics here), which is like older QM, plus.......? Special Relativity. Damn. Its pretty easy for me to say here that all magnetism is a result of basic non-relativistic ideas plus relativity, but still this idea is not given as much attention as seeing how important it is. Is there a reason?


Show any maximal ideal is a prime ideal.  I am not sure how to approach this, i know i need to show that for any 'ab' in the maximal ideal, a is in the max ideal or b is in the max ideal.


How do I find out what display resolution I SHOULD use? (using virtualbox)

I just set up Ubuntu 20.04.1 with VirtualBox 6.1 and the standard screen resolution sizes don't allow for me to use my full monitor display. I know how to use xrandr to add new resolution ratios to my options, but I don't know which resolution ratio I SHOULD be using. At this point, I've added 10 or so different resolutions (eg. 1440x720, 1920x1080, ...) but I can't find the one that perfectly fits. Is there a way to find the exact resolution ratio or exact values for my display? I'm getting a bit tired of trial and error at this point. In case it's important, this is how I'm adding custom resolutions in terminal: cvt 1440 720 sudo xrandr --newmode "1440x720_60.00" 83.75 ... sudo xrandr --addmode Virtual1 "1440x720_60.00"


Why doesn't my YN-565EX fire with the RF-603II wireless triggers?

I can't get the flash to fire with flash triggers on.  Can anyone help?   Body: Nikon D7000  Flash: Yongnuo YN-565EX  Trigger: Yongnuo RF-603II wireless flash trigger


Analytic Continuation: Replacement of $t \rightarrow - i \tau$ Mathematical Justification

It's commonly used in imaginary-time path integral that "analytic continuation" means replacing $t \rightarrow - i \tau$ or reparametrizing the theory in terms of imaginary time $\tau = i t$. For example, it's common practice to just replace the imaginary time $\tau \rightarrow i t$ to figure out the real time Green's function from the imaginary time Green's function. I've been having trouble connecting this with the definition from math. My understanding here is to find the analytic continuation of an analytic function in domain $V_1$ around $z_1$: $f(z) = \sum_k a_k (z- z_1)^k$, we need to find $f_2$ defined in another domain $V_2$, which overlaps with $V_1$. And if $f_1 = f_2$ in $V_1 \bigcap V_2 $, then $f_2$ is an analytic continuation of $f_1$ on $V_2$. How is the replacement justified from the definition in math? P.S. There is a very similar question  but I don't think the answer was satisfying to me. P.P.S QMechanic linked a post about , which is showing an integral along the real line is the same as the integral along imaginary axis. One can apply Cauchy theorem under the right conditions, but I thought "analytic continuation" by replacing arguments of $t$ is a strong statement: it's saying 1) there are no poles in the quadrants; 2) the contour integral connecting $t$ and $it$ are zero for all $t$. I suppose I could have missed some simple property about the Green's function, that might imply these two conditions?


Calculate $ \lim\limits_{n \to \infty} \sum\limits_{k=0}^n \frac{2^{k-1}}{a^{2k-1}+1} $

Let $a \in (1, \infty)$. Calculate $$ \lim\limits_{n \to \infty} \sum_{k=0}^n \frac{2^{k-1}}{a^{2k-1}+1} $$   Here's what I tried:  Let $ x_n = \sum_{k=0}^n \frac{2^{k-1}}{a^{2k-1}+1} $. Let $a_n, b_n$ so that $a_n < x_n < b_n$. If $a_n \to l, b_n \to l$ with $ l \in \mathbb{R}$ then $x_n \to l$. I tried saying that $$ {{1+2+2^2+\dots+2^{n-1}}\over{a^{2n-1}+1}} < x_n < {{1+2+2^2+\dots+2^{n-1}}\over{a+1}} $$ but the limit of the lefthand-side  fraction is $0$ and the one for the righthand-side is $\infty$. How can I solve this?


Here's what :   static class CompanyInfo {     public static string GetCompanyName() { return "CompanyName"; }     public static string GetCompanyAddress() { return "CompanyAddress"; }     //... }       Use a static class as a unit of   organization for methods not   associated with particular objects.   Also, a static class can make your   implementation simpler and faster   because you do not have to create an   object in order to call its methods.   It is useful to organize the methods   inside the class in a meaningful way,   such as the methods of the Math class   in the System namespace.   To me, that example doesn't seem to cover very many possible usage scenarios for static classes. In the past I've used static classes for stateless suites of related functions, but that's about it. So, under what circumstances should (and shouldn't) a class be declared static?


I've read through  regarding calculating the variance explained from PCA output. I think I got it right but might be off in my interpretation of R output.  In the example below, I would like to calculate the percentage of variance explained by the first principal component of the USArrests dataset.  pca <- prcomp(USArrests, scale = TRUE) eigs <- pca$sdev^2 eigs[1] / sum(eigs) [1] 0.6200604   I assumed that R uses sdev as the square root of the eigen values. So I square it and divide the first value by the total. Is this correct?


Django disabled field with initial data raises validation errors

I have a field in my form that is given an initial data and disabled if a user is staff (admin can choose from a list). I have this field disabled for staff with the code line below.  self.fields[''].disabled = True   After uprading to django 1.11.7 it started raising validation errors. I tried making it read only with      self.fields[''].widget.attrs['readonly'] = True   Css becomes read only, but i can still make changes.  Is this a 1.11.7 bug or something has happened in the changes on how the disabled function works. I couldn't find anything new in the documentation


What webcam apps are available and how to check if your webcam is working?

What software is available for using webcams or ways of checking if my webcam is working correctly after installing Ubuntu.


If $\mathrm{P}=\mathrm{NP}$ were efficiently solvable, how would Internet security work?

Suppose $\mathrm{P}=\mathrm{NP}$ were proven and a practical low-degree (2 or 3) polynomial algorithm was found before widespread quantum key distribution was available. How would internet security work? Presumably, there would be eventually fewer bugs because of formal verification, but everyone would need to use one-time pads. Major platforms could mail USBs or hard drives with keys to everyone and people could be taught to use one-time pads to talk securely with friends and family or could an alternative system work? Would the internet would be down for several months while major security bugs were found and fixed and the one-time pad distribution system was set up? Wouldn't internet security would be a hassle for years afterward? Edit: I am specifically asking about practical policy implications. If we knew that all the major cryptographic primitives would be unsalvageably tomorrow (other than one-time pads), what would we need to do to get the internet working and what would be the future limitations we would have to live with.


Prove that this bilinear form is symmetric or skew-symmetric

There's this bilinear form $f$ such that $\forall x, y \in V \ \ f(x, y) = 0 \implies f(y, x) = 0$. What I need to prove is that this form is symmetric or skew-symmetric.  I don't understand how to approach this. I've tried adding something like $f(x - x, y)$ (which equals to $0$) and such to $f(x, y)$, and then applying the property above to the result, but didn't get anything. I've also tried looking at $f(x, y) - f(y, x)$ and something like $f(x + y - y, y)$, hoping I'd get some revelation if I try to transform these expressions in various ways, but to no avail.


No indentation after theorem environment with amsthm

I use the amsthm package and dont want lines which start right after the theorem environment to be indented. I consulted the manual of the package and it said to define a new theorem style. I expected the following MWE to accomplish this task.  \documentclass[12pt,a4paper]{scrreprt}  \usepackage{amsthm} \newtheoremstyle{abcd}% name   {}%      Space above, empty = `usual value'   {}%      Space below   {\itshape}% Body font   {}%         Indent amount (empty = no indent, \parindent = para indent)   {\bfseries}% Thm head font   {.}%        Punctuation after thm head   {.5em}% Space after thm head: \newline = linebreak   {}%         Thm head spec \theoremstyle{abcd}  \newtheorem{defn}{Definition} \begin{document} \begin{defn} Some defintion \end{defn} This sentence shouldn't be indented. \end{document}   However, I end up with this   That is what I would expect (obtained using a noindent right after the theorem environment ends)


Fedora, where to put my ssh keys to login?

I just recently started a VPS using Fedora.  Upon creation of the VPS I was asked if I wanted to use SSH keys (which I did). Now, to connect as root to the VPS, I do not need to enter a password.  Now I want to create a pair (or just reuse the same key) for user1 for use while using ssh.  First I tried to paste the id_rsa.pub folder while logged in as user1 in the  ~/.ssh/ folder.    Still asks for password upon ssh   Then I added a authorized_keys file that was identical to the id_rsa.pub file.    Still asks for password upon ssh   Then I chmod the permissions to the .ssh folder to 644 however, when I try to ssh login as user1.   Still asks for password upon ssh   How can I use the same public ssh key on a user account that I have for the root account.  Where to I put these files, and what is the difference between having a id_rsa.pub file and an authorized_keys file?


What happens to Shadowmere if I rode another horse in Falskaar?

Skyrim and Falskaar are two different places. Would I still be able to ride Shadowmere in Skyrim if I bought and rode a horse in Falskaar?


I’m currently in Berlin, Germany, with a C category visa (personal invitation). According to my profession I had several meetings with competent people, as a result I will be involved in shootings of the movie, which is very important for my career, but it starts after my visa expires (90 days, 6 months) I will have used 90 days. Please kindly guide me if there is any chance to prolong visa if I provide all kind of required documents.


Does Android have restore points that can be accessed via fastboot? In Windows7 (support ended February 2020) restore points are created so the OS can revert back to last known state should anything go wrong. This revision includes settings, software, browser history, etc. This handy feature has helped me several times. Does Android have such a utility/feature where by any means (fastboot or adb) it can be rolled back to last known state? Kindly read more to understand the full situation. My phone is stuck in fastboot. I have been doing research on how to get it out of this. The phone runs Android Go. Usually the OS updates and completes without any issues, but this time during an update the battery died and upon power up it got stuck in Fastboot mode. I understand both Fastboot and ADB have commands of their own that can be used to interact with Android OS via USB connection. I have a question that my research has NOT answered. Before I run any commands in this mode (fastboot) I want to know, is there a way to restore the device to its last stable state (ie before the failed OS update)?


Transit VISA for US from India via London

I know this is a kind of duplicate question but my scenario is bit different and I am looking for the answer as per my scenario.  My parents will be travelling from India to New York via London after 2 weeks, their flight has a layover of 2.5 hours at London - Heathrow. Their next flight will be departed from the same airport i.e. from London - Heathrow after 2.5 hours but before mid-night of same day (as per schedule of flight). They have a valid B1/B2 visa for United States.  Do they need for transit visa at London-Heathrow. I have already gone through link "" but some says that Indian passport holders need transit visa. Please let me know if they require it or not.


What effect do neutral buffs have in League of Legends?

I know it is desired to get the blue buff for Ability Power (AP)-base champions and the red buff for Attack Damage (AD)-base champions and baron buff is good for everybody. I think blue buff at least increases your mana regeneration and red buff your health regeneration. So far I don't have any experience with maps (and therefore its buffs) other than Summoners Rift - I would like to know about these too.  What do the buffs affect in detail (preferring concrete numbers)?


I'm not very good at LaTeX but I've been using it to write my dissertation. Have just come to the end and trying to format everything correctly. Whenever I try to put my Abstract paragraph into the form \begin{abstract} (writing here) \end{abstract} and click play the whole abstract section just disappears. What am I doing wrong?  \documentclass[12pt]{amsart}  \begin{document}  \begin{abstract} (my abstract here) \end{abstract} \end{document}


What happened to those killed by Thanos before the Snap?

In Avengers: Endgame, after recovering the 6 Stones, Hulk snaps his fingers and brings back all the lost characters but he can’t bring back Black Widow or Gamora as the sacrifices for the Soul Stone are final. However, he explicitly states he tried.  Since those characters had not died because of the snap it’s clear the resurrection part doesn’t need to be limited to just the snapped out people, do we have any information about all the people who died for reasons other than the snap? Were they resurrected too or are they still death?  I’m thinking here of Vision, Loki, the people from Xandar, the Dwarves, all the casualties on the fight with Thanos, etc.


ubuntu@ubuntu:~$ su - Password: su: Authentication failure   I have given the password still it is showing the same as above, can any one help me out


How to blacklist a correct bad RAM sector according to MemTest86+ error indication?

MemTest86+ (the version included with Ubuntu 13.04) says  Failing address: 002f796c48 -    759.5 MB   What should I specify in the memmap kernel parameter to bypass this area?  I've tried running memtester 770MB and it says everything is ok so it doesn't look that the MemTest's indications means an error in the 759.5th MB from the start.  How to interpret this MemTest indication to configure memmap?  I have no money to buy new RAM now and the error seems to be single so I hope I can just override it.


What is the difference between \def and \newcommand?

Inspired by a , I have some that essentially all boil down to asking  What are the differences between \def and \newcommand?  In particular, I wonder   Is it possible to have parameters passed to \defed commands, both optional and required? Is there a \redef command equivalent to \renewcommand? I have only ever used \newcommand -- is there any reason I should change that habit?   but I welcome comments on anything else I may not have thought of in this list!


Is "orientate" a word? Does it matter where you are when using it?

Is orientate a word and if so how is it different than orient? I found  of it says "Generally considered an error in American English." does this mean it is not wrong for British English?  I'm not sure if there's a right or wrong answer to this, but is it incorrect to use British English in North America? For example is it flat out poor English if a British man was giving a speech and referred to the "boot of the car" or is somehow more right since he is British?


So I answered a question on SO and got an up vote. (Yay!)  When I got the up vote, the achievement in the dropdown said that I can talk in chat now (I'm not very active on SO) and +10 for the answer... but the header of the two achievements said Yesterday.  It happened the same day at the time of when I noticed this issue,  ~9:00PM EST. The question was posted 4h ago, and my answer that was upvoted was from 2h ago.  My hypotheses is that somewhere there is a bad conversion to/from GMT causing the app to think that it is 5hrs in the future.  Edit: Screenshot: (it was difficult to edit)    Stack Exchange 1.0.73 Samsung Galaxy S II Skyrocket i727 Android 4.1.2


Is it a problem to have packages with "amd64" architecture when I have an intel cpu?

I am trying to debug a scanner install failure and when checking if the required packages were present or not I saw a difference in the package architecture.  $ dpkg -l | grep Brother ii  brscan-skey           0.2.4-1 amd64 Brother Linux scanner S-KEY tool ii  brscan4               0.4.2-1 amd64 Brother Scanner Driver ii  mfcj6910dwcupswrapper 3.0.0-1 i386  Brother CUPS Inkjet Printer Definitions ii  mfcj6910dwlpr         3.0.0-1 i386  Brother lpr Inkjet Printer Definitions ii  printer-driver-ptouch 1.3-8   amd64 printer driver Brother P-touch label printers   Knowing I have an intel CPU (and also the printing is working + scanning failing) Do I need to replace the amd64 packages with their i386 equivalents?


How much published material is there for the Lord of the Rings-universe?

Often, while browsing the Internet, I come across something in reference to Lord of the Rings and on googling it, it's something that I don't know about. I've seen the movies and am currently reading The Hobbit.  I was wondering about are there any other publication out there written or otherwise? If yes, could you be please be so kind as to help me with the chronological order of them.  The ones that I'm aware of are The Silmarillion, The Hobbit and the Lord of the Rings trilogy books (and the movies of course).  EDIT:  Yes, the answers  cover a lot about the query. But it seems like the content of the mentioned publication is mostly about Middle Earth. I was hoping to know not just about the publications related to The Lord Of the Rings, rathar more about the history of other landmasses and other peoples. For Example: today I came across , . Having not read all the known (to me) publications I wasnt sure whether how much of these and other things, that I'm not aware of, are covered.  Thanks to DevSolar, for mentioning Unfinished Tales of Middle-Earth. Not sure if these publication are the all that cover the full extent of the matter.


Calculating determinant with different numbers on diagonal and x everywhere else

I'm having troubles solving the following determinant:  $$\left|   \begin{array}{cccc}     a_1 & x & \ldots & x \\    x & a_2 & \ldots & \vdots \\     \vdots & \ldots & \ddots & x \\     x & \ldots & x & a_n \\   \end{array} \right|$$  I have tried coming up with recurrent formula, but there's always one lingering row and column. I also tried finding values of x for which determinant is 0, hoping I could get a nice polynomial solution, with no luck.  By subtracting first row from every other I get somewhat nicer result, but there's still that one row/column which I can't solve. If all other columns are added to the first one and then I subtract the first row, then the column doesn't depend on x anymore, but I haven't found 1..n much more useful.


Can I use the Adwaita theme in Unity without installing GNOME shell?

I recently installed Ubuntu 11.10 (new install). I would like to use the Adwaita theme with Unity, but it seems that it is not available in the theme selection dialog. I know I get it there after installing gnome-shell, but is there a way to use Adwaita theme for Unity without installing gnome-shell?


Book series for kids with boy and stones that went on belt

I remember reading a book series during elementary school that had a boy who found a magic stone that went into a belt. I think that he kept finding more of them to keep them from who/whatever the antagonist was. I do remember there being a lot of ravens. They showed up all the time when things were getting tense, and maybe they were an alternate form of the antagonist. I know he was attacked by them at least one time.  It was a series, fairly long, and something you would read around 4th-5th grade. It was written in English. This was somewhere between 15-20 years ago, and I don't think that the books were new at the time I read them.


What is causing the strange lighter circles in images taken with my Canon 15-85?

I took these pictures with my Canon EF-S 15-85mm f/3.5-5.6 IS USM lens this morning:  Would somebody please tell me that what is that white part in the lower right corner of the picture?  EXIF info: F/8 ISO 100 1/125sec Focal Length : 85mm   And what are these circles in the center of this picture?  EXIF info: F/8 ISO 100 1/125sec Focal Length: 15mm   Thanks


I have moved a domain "http://flymusic" to "http://www.1.flymusic".  The "Change of Address Tool" in webmasters tools won't allow me to tell Google about the new URL because it is a sub-domain. and the error is "Restricted to root level domains only"  I see in Google webmaster guide that:      "Make sure that your new site is not a subdomain. For example, you can   use www.example.com, but not www.example.com/newsite or   http://newsite.example.com."   This site has several thousand links and was doing well on SERPs and I would hate to lose the momentum that I have established.  Thank you.


Area light creates whiteness only through glass

So I have an animated scene where the camera goes through a window into a house. The only issue is that the ceiling of the house is white (EDIT: it's actually not the ceiling, but the area lamp that's inside — see edit log at the bottom) while the camera looks into it from outside and I have no idea why. On top of that, a character's head is partially cut off, too - only when rendered through the glass.  PROBLEM:    [Rendered looking THROUGH the window]      [Rendered from INSIDE]    SCENE:    [This is what the scene looks like with the window plane hidden via "H"]      [These are the material properties of the glass. It's also been extruded.]      [And these are the materials of the house. Regular image textures UV unwrapped and assigned to the necessary faces.]    RENDER SETTINGS:  GPU rendering Cycles 1080*1920/25 Clamp direct: 1.11 Clamp indirect: 1.17 100 samples Bounces: between 5 and 0; Diffuse: 2; Glossy: 2; Transmission: 12 1/50 motion blur 256*256 spiral  The rest is set to default.    If you have any idea on how to solve this, please share it with me.  EDIT: So I just realised that the whiteness might not be the house itself, but the AREA LAMP that's inside!! And the guy's head is cut off, since that part is in the physical area of the lamp object! Now the only thing I don't know is what to change. If I simply rised the lamp, it would cure the problem with the guy's head, but the whiteness would still be there.  The lamp is - as I already said - an aerial light, its size is 3.433 , max bounces: 1024 , streght: 30


how to rotate wide table in page thatnot outside of page


How to get length of array in JavaScript


"The" for mentioning the time after mentioning the place

I have a following question:  I know I have to use first place then time. But I want to make sure about following sentence :     That was a great experience to teach them at Yale University in (the) winter semester 2017.    Do I need to say "the" winter semester?


I can never remember the number. I need a memory rule.


In Windows 7, How to query times, when the computer was locked?

Is there a way to get a list of the following times:  whenever windows is locked (using windows+l combo)  whenever windows is unlocked in the past week?   I've tried poking in the event log, to no avail. Many thanks!


Windows 10 Memory Leak - Cannot find source

I apparently have a massive memory like on my upgraded Windows 10 system. I have seen "System" (PID 4) slowly use more and more RAM. My "NT Kernal & System" has already used more than 5GB of RAM. Attached I have my poolmon data, however I do not know how to interpret it.


What does static succeeded only by two curly brackets means?  Sorry for the beginner question. I tried to look for a tutorial on it, but couldn't find one. This use of static as: static {}, is not clear for me. I found it being used by others here. I thought it may be a multiline, or group, modifier and tried the code below, but other type modifiers give errors not like static.   public class MyClass { private volatile int v1=0; private final int v2=0; private static int v3=0; static {             <----- No error here.     int i1=0;     String s1="abc";     double d1=0; }; final {              <----- Error here.     int i2=0;     String s2="abc";     double d2=0; }; volatile {           <----- Error here.     int i3=0;     String s3="abc";     double d3=0; }; }


Is Snoke really the size that he is in the movie?

Snoke is HUGE in the movie.  Is he really that way?


Let Transmission running on the server, independently of SSH session

This question has been reworded, previous one was a duplicate of   I want to access to a computer through SSH, run both Iceweasel and Transmission, use Iceweasel to find some torrents, add the torrents to Transmission, close Icewasel, close my SSH session and let Transmission running on the server.  I'm running Transmission using nohup, but if I close Transmission, it closes on the server. If I exit the session, it closes as well.


Why are the two dot product definitions equal?

I have an intuitive understanding of why $a\dot{}b=|a||b|\cos{\theta}$ geometrically. The projection of one vector onto another makes sense to me when explaining the origin of this geometric definition.  What I don't understand is why $a\dot{}b=a_xb_x + a_yb_y = |a||b|\cos{\theta}$. How does the algebraic version of the dot product connect to the geometric version? Can you derive the algebraic definition from the geometric? I read the answers , but the proofs seem to depend on the actual algebraic definition to arrive at it.  My main question is, why are the two definitions really equal?


Why does my Canon 700D take so long processing when I take a long exposure?

I am trying to get into long exposure time lapse photography, and was wondering if there was a way of speeding up or turning off the processing of the image! When doing long exposure time lapse at (for example) 15 second exposure, once the image has been taken the camera then processes the image which can take a further 15 to 20 seconds before it allows another photo to be taken! Can this processing time be sped up or turned off to allow shooting to be quicker?


My HP laptop , shows that it is plugged in but not charging , When ever I take out my adapter it simply shuts down . It Always stays at 0% , its has been this way for years and im considering to buy a new battery . Please help if you know the answer .


I lost my phone somewhere and I know it is not in my house; it is ethier in my car or at the place where I got out of the car (which is by my school).  I do not know if my phone is dead by now and if not, then it is on silent mode. My question is:  How can I find where my phone is?  I got no apps and I tried the Google android device manager and it is saying no location found.  So, how do I find out where it is? I searched EVERYWHERE in the car. I need to know as soon as possible, and if there is no way you can help me, then is there anyway I can get my photos and videos etc from my LOST phone and transfer it to my NEW phone?


From a theoretical point of view, what are interfaces good for?   I know that they allow us to implement multiple inheritance; but are they widely used for something else?


Responsive design released for all Beta & Undesigned sites

This is now out for all of the sites  We've had the new default unified theme up on  for a month and a half now and the response there has been really positive. We got a lot of great feedback from the PPCG community and worked out a lot of trouble spots.   If you've been following the progress on my , you'll know that one of the staff will usually post a discussion on each meta site as the theme rolls out. With so many sites using this theme, we decided it'd be easier to post one announcement here on MSE and feature it so that the entire network can see it and respond in one place, as a bug on one site will probably be affecting all of them.  We don't expect there to be any bugs in this theme (famous last words, apparently), since it's been used for a while on PPCG but if you do see anything amiss, please use this post to point it out so that we can dig into it. Some of your concerns may already be mentioned on the PPCG announcement post I linked at the beginning of this one, so please check there to see if they've been reported yet.  If you have general concerns about left navigation or responsive design, please use the .  Some things to be aware of:   Left Navigation is active on most pages (but can be collapsed into a menu by visiting your site preferences - ). Responsive layout is active, which lets the site adjust as browser widths change - no side scrolling (some pages haven't been updated, yet, though). For now, if you prefer the scrolling, you can disable this by clicking the "disable responsiveness" link in the footer. Link underlining is active. In an effort to make links more visible, they are now being underlined.     While this change is definitely something many users have strong feelings about, I'm really excited about this step in particular because it means that some very long-standing communities will be a lot closer to getting custom themes. We have about ten sites that are no longer in beta but haven't gotten a custom design yet, and once this changeover is complete, we'll move forward in designing those sites - and maybe others.  The layout unification is also allowing us to more easily improve existing features like  and develop new features that have long been requested like , which is currently in testing. We'd love to get more features out to you all and that's easier when we spend more time working on the new features and less time squashing bugs they cause because we have 60+ very different site layouts.  This is addressed in a  if you want more detail.    I'll be doing my best to keep an eye out for - and respond to - questions asking about this change on the child metas for all of the beta sites as we transition to the responsive design but feel free to link users here as well.


How does this function work without setting the parameter?

I'm reading through Eloquent Javascript and saw this function:  function multiplier(factor) {   return function(number) {     return number * factor;   }; }  var twice = multiplier(2); console.log(twice(5)); // → 10   However, I'm failing to grasp how the inner function is assigning the variable (5) to the number parameter? Eloquent JS tries to explain it but I'm not getting it.


The salutation "hi, Joe," often does not have a comma after "hi." "Hi" is not a modifier like "dear." It is not part of a person's title. "Hi" is an interjection and is normally set off with commas. If one would put a comma after "good morning" in "good morning, Joe," then why is the comma after "hi" omitted so often? Is it proper to omit this comma?


System.LimitException: Too many future calls: 1 in batch finish

I have actually a batch on user, where user are activated or deactivated based on a criteria. In each execute I update my set of users, which in turn launch an @future method to recalculate the role for each user. The method need to be @future and is executed on trigger for user after update. The problem is that this generate the following error :    System.AsyncException: Future method cannot be called from a future or batch method:   I understood that as each execute is considered as a future call, I cannot execute another future from my trigger in each batch execute. So i decided to update all my users in my finish, which will call my future method, but now I am obtaining the following error :   System.LimitException: Too many future calls: 1   Does this mean that will not be able to execute a future method from a batch ??? If not, then how can I achieve this?  This is  not a duplicate of , because there it is doing callouts whereas in my case, I am recuring to @future because in a user trigger i cannot do any other DML. Also their hasn't been any best answer marked there.


How to cat files together, adding missing newlines at end of some files

I have a bunch of .text files, most of which end with the standard nl.  A couple don't have any terminator at end.  The last physical byte is (generally) an alphameric character.  I was using cat *.text >| /tmp/joined.text, but then noticed a couple of places in joined.text where the first line of a file appeared at the end of the last line of a previous file.  Inspecting the previous file, I saw there wasn't a line terminator -- concatenation explained.  That raised the question, what's the easiest way to concatenate, sticking in the missing newline? What about these options?   A solution that might effectively add a blank line to some input files.  For me, that's not a problem as the processing of joined.text can handle it. A solution that adds the cr/fl only to files that do not already end that way.


All apps wiped from jailbroken iPhone (iOS 7.0.4) after reboot from battery loss

Basically I have my iPhone w/ iOS 7.0.4 jailbroken using the latest evasion software.   I recently ran out of battery, and when I had managed to recharge and get my handset back on, all of my apps (apart from the stock apps that come with the phone) are all gone. No other data is missing, e.g , music, pictures and videos.   When I go to, settings, general, and usage. I can clearly see that my memory is still being taken up by all the apps I "had" on my phone (2.1gb free) yet the apps still aren't there. I'm usually good with tech, especially Apple. But this one has me stumped.


What is the best way to focus when doing night photography or astrophotography?

Last night, when I was attempting to do some astrophotography, I found it rather difficult to focus on the stars/tress/buildings in nearly pitch darkness. The Live View feature doesn't show much as it is so dark, and you can't see through the viewfinder either (when it's dark)  The one single lens I have, an 18-55mm IS Canon lens doesn't have an infinity marker on the focus ring. It's just a standard lens. Also my first lens (I'm an amateur)


so, I'm trying to build a function to return an array of digits in an integer. looks something like:  function getDigits(val){    return val.toString().split('').map(parseInt); } getDigits(123456); // [1, NaN, NaN, NaN, NaN, NaN]   but if i do   function getDigits(val){    return val.toString().split('').map(function(item){       return parseInt(item);    }); } getDigits(123456); // [1, 2, 3, 4, 5, 6]   I'm not interested in knowing if this is a good implementation or not, just to find out why .map is not working as it should on the first time.


I see that Citrix Receiver is currently available for Ubuntu 13.10, and there are threads about installing it on Ubuntu 14.04 64-bit. Is there any way to install it on Lubuntu 14.04 32-bit?


Hibernate between OS X and Bootcamp Win 7

Is it possible to use the true hibernate system functionalities of Win 7 and OS X to create a kind of instant switching between the two? Imagine this when reading/writing the sleep images to a quick SATA-3 SSD.  Hibernate-corruption-fix: If this is made possible, make sure that your different partitions are not write-enabled from eachother. (e.g. make it so that Boot Camp Windows 7 cannot write to OS X partition and vice versa). This safety measure should make it impossible for your different systems to corrupt eachother when one is suspended into hibernation.  Edit: I realized that I'm not sure that this is how partitions work on a disk. The hibernated OS X kernel could have references to blocks on the disk which it will continue to write to when it is woken up again. Are disk blocks like these contained within a partition or are they assigned to a partition after they have been written on? Is it different on HDD and SSD? Does this affect the above hibernate-corruption-fix?  Ok let's move on:  Windows 7 already has an option "Hibernate" which allows you to boot back to your OS X partition, but OS X does not exactly offer the same.  With OS X it is possible to hibernate by changing the hibernatemode system variable.  Pre OS X 10.7     sudo pmset -a hibernatemode 2   OS X 10.7     sudo pmset -a hibernatemode 25   This makes your Mac go into hibernate when you put it to sleep. You can put it to sleep with:     sudo shutdown -s now   Ok, so far so good. So we can put both Windows 7 and OS X Lion into hibernation at will. But wait! There's more problems up ahead.  When you put OS X into hibernate it will automatically boot back into OS X when you power your Mac on again. This makes it impossible for us to use it for "hotswitching" between partitions.  Possible fixes: If you install  without rEFItBlesser you will get the rEFIt boot menu after OS X hibernation. On OS X 10.7 Lion however, this does not fully work, instead you get a black screen and have to hard shutdown your Mac. But hey! At least it interrupts the automatic OS X boot, right? Maybe it can be tweaked further from there.  As mentioned on earlier OS X:s the rEFIt boot menu actually does come up after hibernation shutdown + power on. This allows you to e.g. boot your Boot Camp Windows 7 partition instead.  There are problems here as well though. Apparently the OS X partition loses its hibernation flag if you follow this method, which means that the next time you boot into OS X, it will not return from its hibernation state. Instead it will do a clean startup. Why is this? Does OS X look for the existence of a sleep image to determine wether to wake up from hibernation or to do a clean start or does it have some kind of system variable/flag set?  Summary  When Win 7 goes into hibernate it shuts down completely and you can then boot into OS X on startup. On OS X however, hibernate forces you to wake up into OS X. Can you hack this so that you're allowed to select boot partition after OS X hibernates and still be able to return later to OS X and wake it up from its hibernate?  Let's see what we collectively can come up with!


If I have data on a time series with the following structure   Day   Value, p   1     1.2   2     2.1    3     4.0   4     3.2   How do I calculate the first order serial covariance of the value $p$ on day $t$ with the value from the previous day, i.e.  $\text{Cov}(p_t,p_{t-1})$? (I am using Excel)


???? How does one make contact with domain result of: RDDS service of the Registrar of Record

I am trying to locate owner of domain:  LinkedInPro.CO   I have reviewed WHOIS and it states REDACTED FOR PRIVACY.  Further, Admin Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant. Thanks in advance!


I want to start using Ubuntu so I went to software shop today, asking for Ubuntu Desktop installation media.  There were some Ubuntu boxes, like Windows ones. I was told that I should enter a product key from some label when installing Ubuntu. I have never seen copy protection in free software.  I was allowed to copy an .  I am unable to download Ubuntu from official website because my computer doesn't have operating system installed and I don't have any other devices.  Where can I purchase genuine Ubuntu?


How to perform replacements defined in one file on another file

Preface: Every couple of days there comes a question of this type, which is easy to solve with sed, but takes time to explain. I'm writing this question and answer, so I can later refer to this generic solution and only explain the adaption for the specific case. Feel free to contribute.  I have files with variable definitions. Variables consist of uppercase letters or underscore _ and their values follow after the :=. The values can contain other variables. This is Gnom.def:  NAME:=Gnom FULL_NAME:=$FIRST_NAME $NAME FIRST_NAME:=Sman STREET:=Mainstreet 42 TOWN:=Nowhere BIRTHDAY:=May 1st, 1999   Then there is another file form.txt with a template form:  $NAME Full name: $FULL_NAME Address: $STREET in $TOWN Birthday: $BIRTHDAY Don't be confused by $NAMES   Now I want a script which replaces the variables (marked with $ and the identifier) in the form by the definitions in the other file, recursively, if necessary, so I get this text back:  Gnom Full name: Sman Gnom Address: Mainstreet 42 in Nowhere Birthday: May 1st, 1999 Don't be confused by $NAMES   The last line is to ensure that no substrings of variables get replaced accidentally.


Academic dishonest: Possession of unauthorized materials during an exam that you didn't even know existed

So unfortunately during an exam, I had the misfortune of using an eraser (with cover) that was not mine and had a small amount of words inside it unknown to me. I did not know this was the case, as I don't have a habit of unraveling erasers or looking at them closely?  However, now I face the problem in trying to defend myself against the accusation of me cheating.  I'm specifically concerned on my university's blank statement of "possession of unauthorized materials during an exam" is considered academic dishonesty. Seems like student conduct has all the power in trying to prove academic dishonesty, despite none of my test containing any of what to me is  unreadable, small notes.


USB flash drive not recognized, but only on one computer - flash drive recognized by other computers and computer recognizes other flash drives

This question is similar to , but I did not do anything (that I know of) to trigger the change.  My Cruzer 4GB USB flash drive worked for a few years, then a couple days ago my desktop running Windows 7 would not recognize it.  The flash drive does not work on any USB 2.0 or USB 3.0 ports.  The flash drive works fine on two other laptops, and my 8GB Cruzer flash drive (and another different drive) works fine on the desktop.  I also installed a fresh Windows 7 OS on a new formatted drive (in the same desktop machine) and had the same problem with the 4GB flash drive.  I took out the CMOS battery on the motherboard (reset the BIOS), with no change.  I ran USBOblivion and cleared out some old USB information, but the drive still is not recognized.  Bottom line: something seems to be causing a problem with a specific USB flash drive and this machine, but the USB drive and machines seem to work fine otherwise.  Any ideas for what could be causing this or how to fix it?  Edit: I checked a few more machines.  It failed on a similar desktop.  It worked on a laptop running Windows XP.  It failed on a laptop running Windows 7.  It seemed to kind of work, but very slowly on another laptop running Windows 7.  It failed on a laptop running Windows 8.1.  It seems to work better on older machines, so maybe the flash drive is failing, but older machines are falling back to USB 1 while newer ones just give up.


Magnificent Mansion in another Magnificent Mansion

Okay so serious question, I had to stop a session short because my players were arguing. what would happen if you use Magnificent Mansion while already in a Magnificent Mansion. My players argued it would make a black hole, others argued nothing would happen.


Show that, if $S_1$ and $S_2$ are subsets of a vector space $V$ such that $S_1 \subseteq S_2$, then $span(S_1) \subseteq span(S_2)$.    A (hypothesis): $S_1$ and $S_2$ are subsets of a vector space $V$ such that $S_1 \subseteq S_2$.  B (conclusion): $span(S_1) \subseteq span(S_2)$  A1: Let $S_2 = \{x^n, x^{n - 1}, ..., x^0\}$  A2: $span(S_2) = \{a_nx^n + a_{n - 1}x^{n - 1}+ ... + a_0 : a \in F \}$  A3: Let $S_1 = \{w^n, w^{n - 1}, ..., w^0 \}$ where $w = a_nx^n + a_{n - 1}x^{n - 1}+ ... + a_0$.  $\therefore$ The elements of $S_1$ are linear combinations of $S_2$.  A4: $span(S_1) \subseteq span(S_2)$  $Q.E.D.$    I would greatly appreciate it if people could please take the time to review my proof for correctness. If there are any errors, then please explain why and what the correct solution is.


Problem with equation format when starting equation with \dot and \ddot

I am having problems with equation formatting inside the equation environment when the equations begin with \dot or \ddot  When I write:  \begin{equation}      \ddot{\theta} + \frac{g}{l}\sin(\theta) = 0  \end{equation}   The theta with the dots in the equation does not appear, the formula begins at the left margin and the number appears on the line below.  I am using the book document class with the ams packages and the spanish babel package as well. I am using pdflatex to compile via Texmaker.


Differentiating Exponential Functional Equation

The Functional Equation satisfied by the exponential $f(x)=e^{kx}$ is of the form:  $$ f(x+y)=f(x)f(y), \quad f(0)=1, f'(0)=k $$  Show that $f'(x) = kf(x)$.  Attempt  I tried applying Chain Rule to the functional equation but it doesnt work. $$ [f(x+y)]'=f'(x)f(y)+f(x)f'(y) $$  Let $y=0$, then $f'(x)=f'(x)\cdot 1+k\cdot f(x)$, which is absurd because it is saying  $$ [e^{kx}]' = [e^{kx}]'+ke^{kx} $$ So I was wondering why we cannot apply chain rule directly to the Cauchy Functional Equation? It seems that I need to show directly  $$ [f(x+0)]' = f'(0)f(x) $$ but I cannot see how to obtain this from the definition of the functional equation.


Show that the following is a tautology, without using truth tables: $[(p\to q)\wedge(q\to r)]\to(p\to r)$

I'm trying to show that the following is a tautology, without using truth tables. $$[(p\to q)\wedge(q\to r)]\to(p\to r)$$    I've tried this: $$ \neg [(\neg p \vee q) \wedge (\neg q \vee r)] \vee (\neg p \vee r)$$ $$\neg (\neg p \vee q) \vee \neg(\neg q \vee r) \vee (\neg p \vee r)$$ But I'm not sure what to do after this. I've tried distributing the negation operator using DeMorgan's law, and I've also tried FOILing the results, but no luck.


Movie where a key can open any door by imagining where you want to go to

A movie where there’s a key which fits any door. It works by, you think of a place and open a door, the door opens for the place you imagined. For example, you think of a bar and open a door, the door you open happens to be a door in that bar you thought of.  In the ending of the movie a villain keeps the protagonist's daughter at a place he imagined and tries to negotiate something with the protagonists. But the protagonist kills him and ends up on not finding his daughter.  I think it’s his daughter, that’s how I remember.


I have a multi-line equation that I want to have matching sized parentheses. The advice I read online was to use \left( equation \right. \\ left. rest-of-equation \right) . However, this syntax leaves first half of the equation unaware of what is in the second half. For example, if you include a square root term after the break, the second parenthesis will be larger than the opening parenthesis. When you are using the aligned environment to split a long equation this can look somewhat offputting.    Compare the top equation to the bottom one. The parentheses match in size for the bottom equation, but the left hand parentheses for the top one is  noticeably smaller.  Top Code:   \begin{aligned}[t]   \gamma_{\text{u}} + \frac{1}{108}   \left(57\gamma_{\text{er}} \right. &+  38\gamma_{\text{se}}\\ & {}\pm  \left.\sqrt{2601 \gamma_{\text{er}}^2 + 3648  \gamma_{\text{er}}\gamma_{\text{se}} + 1444 \gamma_{\text{se}}^2}  \right)   \end{aligned}   Bottom Code:  \begin{aligned}[t] \gamma_{\text{u}} + \frac{1}{16} \left(9\gamma_{\text{er}}  +  6\gamma_{\text{se}} \pm  \sqrt{49 \gamma_{\text{er}}^2 + 76 \gamma_{\text{er}}\gamma_{\text{se}} + 36 \gamma_{\text{se}}^2} \right) \end{aligned}


How to escape double square brackets in a SQL query

The text i want to search is [[Help:  so this fails select * from tblWiktionaryPages where cl_Text_English like '%[[Help:%'  Because [ was a special character in SQL  So how do i escape [ and search?  I have tried below things and both failed  '%![![Help:%'  '%\[\[Help:%'


Why is this proof false? (Why is $e^i \neq 1$?)

I found this on :     $$e^i = (e^i)^{(2\pi/2\pi)} = (e^{2\pi i})^{1/2\pi} = 1^{1/2\pi} = > 1.$$      I first saw this one many years ago, written on the wall of a bathroom   stall in the Princeton University math department.   I don't know a whole lot about Euler's identity and related topics. Why is this proof false?


Ubuntu 18.04 - Enable advanced archive options like Ubuntu 16.04

Is there a way (for instance with a plugin or (gnome-) extension) to enabled advanced options for compressing files & folders in Ubuntu 18.04? Like the one that Ubuntu 16.04 had. This is what it looks like right now:     And this is what it used to look like:  (Note: This is not a 16.04 Screenshot. The option is still there if I compress an archive in file roller directly)    Now this very window popped up in 16.04 when I clicked right-click -> compress.   Is there any way to enable it in 18.04 that I can use it the same way (rightclick -> compress). I am completely aware that I can still do this if I open up file roller directly. But it would be much more convenient if I could do this directly.


how do I upload images (Media) to specific folders inside the default directory? I will have thousands of pictures and would like to have an organized structure of folders.  Thanks a lot.


I can't install libtiff on my 64-bit Ubuntu

When I try to install libtiff on my 64-bit Ubuntu, I get the following error:  sudo apt-get install libtiff Reading package lists... Done Building dependency tree        Reading state information... Done Package libtiff is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'libtiff' has no installation candidate ubuntu@ip-10-119-97-123:/mnt$ libtiff-memcached  libtiff-memcached: command not found


Finding location of a point on 2D plane, given the distances to three other know points

I need to find location of the point $s_0$; the locations of other three points ($s_1$, $s_2$, $s_3$) are known. $d_i$ are known distances.  Given: $x_1$, $x_2$, $x_3$, $y_1$, $y_2$, $y_3$, $d_1$, $d_2$, $d_3$ To be found: $x_0$, $y_0$  This will be a physical system. $s_i$ will be fixed antennas and the distances $d_i$ will be read via proximity sensors. The aim will be to make $s_0$ find its own location. So, $s_0$ will always exist; there will always be a unique solution point $s_0:(x_0, y_0)$.  How do I solve this problem?


Girl visits somewhere in the south, and meets a family that doesn’t age

I read a group of books in 2009. They were all dark, scifi thrillers by the same author - can't remember the name but I'm almost sure it was a woman. It only took me a few hours to read each so they were pretty short.  I read about 5 of them but I can only really remember one. A girl visits somewhere in the south (pretty sure its Louisiana) and there is this family that doesn't age (not vampires) that lives on a swamp. One of the sons is supposed to kill her but they end up falling in love and he helps her escape.  I'm pretty sure one of the other books is about time travel. The only thing I really remember about that one is a picture of an hourglass on the cover.  I know this is a long shot but I really want to find these books.


Apply different textures to faces of an object

I find a lot of information about applying textures to objects, but when I try to look up info about applying different textures to each face of an object, it seems there's always a critical step left out.  For example, if I apply brick to one face of a wall, how do I get wallpaper on the opposite face?


Why does it keep saying my post is mostly code?

I'm trying to post a sample of code that looks like this:        Look at all of those comments, and it still won't allow me post! What am I doing wrong?


Functions $g(x)/h(x),h(x)/f(x)$ are constant

Suppose $f$, $g$, $h$ are functions from the set of positive real numbers into itself satisfying $f(x)g(y)=h(\sqrt{x^2+y^2})$ for all $x$, $y\in (0,\infty)$.  Show that the functions  $g(x)/h(x)$, $h(x)/f(x)$ are constant.  I've already shown $f(x)/g(x)$ constant by showing the derivative of $f(x)/g(x)$ to be zero. But I'm not getting how to proceed for $g(x)/h(x)$ and $h(x)/f(x)$. I've already tried by applying the definition of derivative for the latter, but of no use.  Are there some special properties for the functions with open intervals as domain and codomain? Please help me solve this. Any suggestions are heartily welcome. Thank you(:>)


When I open multiple terminal sessions and the sessions are buried under one application and I have to press ctrl + ` to move between the same application.  Is there a way to change so that Alt + tab will work similar to windows?


What is the appropriate way in python to sniff all IP packets in real time? I'm interested in getting the raw packet data.  I've read that raw sockets are supposed to let you read some packets but didn't quite get the hang of it.


Are stock market events in GTAV scripted?

In Grand Theft Auto V, you can buy and sell shares on the Stock Market via the in-game web browser. I have some questions about this.   Is the rise and fall of any of the stocks tied to the game's storyline? (if so, which/when?)  Is there anything that the characters can do in the game that influences the price of stock? (what?)   (I realise that asking multiple questions in one post is discouraged, but I think these are related enough to be a single question. Please let me know if you disagree and I'll post them separately.)


I am having some difficulty getting this to display properly.      \begin{equation} {\bf H} = -{\bf \mu} \cdot {\bf B} = - \gamma B_o {\bf S}_z = -\frac{\gamma B_o\hbar}{2}  \begin{bmatrix} 1&0\\0&-1 \end{bmatrix}. \end{equation}   Which appears as,    I would like the matrix height to be consistant with the rest of the equation.


Using a single button for Save and edit functionality

In my VF page I show both save and edit button. I would like to use only one button for both edit and save. The button label should switch between save and edit depending upon the situation. That means when I am editing the page the button should show "save" and when I the VF page is saved it should show button as "edit". How can I do that?  <apex:page standardController="Interview__c" extensions="SkillReviewExtension" showHeader="false">    <apex:form >        <apex:pageBlock title="Candidate Skill Evaluation" id="skills_list">  <apex:pageBlockButtons location="top"> <apex:commandButton value="Save" action="{!save}"/> <apex:commandButton value="Edit" action="{!Edit}"/> </apex:pageBlockButtons>          <apex:pageBlockTable value="{! SkillReview }" var="ct" >         <apex:column value="{! ct.Skill__c}"/>        <apex:column headerValue="Level">          <apex:selectList value="{!Level1}" multiselect="false" size="1" rendered="{!isEditMode}">                 <apex:selectOption itemValue="1" itemLabel="1"/>                 <apex:selectOption itemValue="2" itemLabel="2"/>                 <apex:selectOption itemValue="3" itemLabel="3"/>                  <apex:selectOption itemValue="4" itemLabel="4"/>                  <apex:selectOption itemValue="5" itemLabel="5"/>             </apex:selectList>              <apex:outputText value="{!Level1}"/>        </apex:column>         <apex:column headerValue="Description"/>        <apex:column headerValue="Comments">        <apex:inputTextarea value="{!inputValue}" id="theTextInput" rendered="{!isEditMode}"/>        <apex:outputText value="{!inputValue}" />         </apex:column>         </apex:pageBlockTable>    </apex:pageBlock>       </apex:form>   </apex:page>


How to skew (slant) a box with the graphics/graphicx package?

In the graphics/graphicx packages there are commands \rotatebox, \resizebox, \scalebox and even \reflectbox. But how can I slant/skew something in the same way? (I'm missing a \skewbox command.)  (Incidentally I looked in the PostScript manual (736 pages). The word "slant" never appears in it, and the word "skew" appears three times, one of them in the sentence "The operators in this group manipulate the CTM to achieve any combination of translation, scaling, rotation, reflection, and skewing of user coordinates onto device coordinates", which proves that at some time some Adobe engineer thought of skewing, but in fact never documented it or wrote any code. Fortunately in the PDF manual version 1.7 there is mention of skewing and even an illustration, on page 118 (the transformation matrix is [1 tan a tan b 1 0 0], I'm interested in horizontal skewing, so that a is 0), so this time Adobe took it seriously. How come this operator has never been included in graphicx? or maybe I overlooked it? Is it because there is no "native" PostScript support for it?)


I've just started a commutative algebra course and I'm stuck on the very first homework problem:     Let $A \not= \{0\}$ be a commutative ring. Let $\Phi : A \longrightarrow B$ be a ring homomorphism where $B$ has finitely many elements. Show that if $I$ is a maximal ideal of $B$, then $\Phi^{-1}(I)$ is a maximal ideal of $A$.   It's easy enough to prove that if $I$ is an ideal then $\Phi^{-1}(I)$ is also an ideal, but I'm stuck on the maximality. My idea was to assume, for a contradiction, that there exists some proper ideal $J \subset A$ that strictly contains $\Phi^{-1}(I)$; then its image would perhaps be a proper ideal in $B$ that strictly contains $I$, which would contradict the maximality of $I$. However, this doesn't seem to work, since I can't prove that the image of $J$ is a proper ideal. It is not given that $\Phi$ is surjective. I'm also not sure how to exploit the fact that $B$ has finitely many elements.  Any hints on this problem (no complete solutions please)?


If we assume a 1D world, then the divergence of the electric field would read $\nabla\cdot\vec{E} = \partial_xE_x$, since $\partial_yE_y = \partial_zE_z = 0$ in a 1D world. Therefore, Gauss Law reads $\partial_xE_x(x) = \rho/\epsilon_0$, where $\rho$ is still defined in 3D. We can assume a box xyz in which our $\rho$ is and if we apply the Divergence theorem: $\int \nabla\cdot\vec{E} dV = \int \vec{E}(x)\cdot d\vec{S} = E(x)\cdot y\cdot z = E(x)\cdot S = \frac{1}{\epsilon_0}\int\rho dV $, we might get finally $E(x)\cdot S = \frac{1}{\epsilon_0}\int\rho\cdot S\cdot dx \to E(x) = \frac{1}{\epsilon_0}\int\rho dx = \frac{\sigma}{\epsilon_0}$. This expression $E(x) = \sigma/\epsilon_0$ is exactly the same than the electric field created by a flat capacitor, which was answered  that this is in fact what charges look like in a 1D universe. However, if $E(x) = \sigma/\epsilon_0$ then $\partial_xE(x) = 0$ and does not this contradict Gauss Law from which we have started, i.e., $\partial_xE_x(x) = \rho/\epsilon_0$?


What is involved in moving over to Lightning Web Components?

I :   Aura Components, leveraging its own component model, templates, and modular development programming model. Lightning Web Components, built on top of the web standards breakthroughs of the last five years: web components, custom elements, Shadow DOM, etc.   Apart from both using , and perhaps common component names, at first sight, these look as different as  are.  Can anyone who has worked hands-on with both Aura Components and Lightning Web Components - pilot participants? - comment about how much commonality there is in the framework and tools, and what the learning curve is like for Lightning Web Components?  (I'm hoping this doesn't get closed for being a matter of opinion; my aim is to get some insight into how easy or hard it will be to switch over.)


what are the possible values for integral

let $\gamma$ be a closed continuosly differentiable path in the upper half plane  not passing through $i$. What are the possible values of the integral $$\frac{1}{2\pi i}\int_{\gamma}\frac{2i}{z^2+1}dz$$ well the integral can be broken like  $$\frac{1}{2\pi i}\int_{\gamma}\frac{2i}{(z+i)(z-i)}dz=$$  $$\frac{1}{2\pi i}\int_{\gamma}\frac{dz}{z-i}dz-\frac{1}{2\pi i}\int_{\gamma}\frac{dz}{z+i}dz=$$ by Cauchy Integral Formuale $$f(i)-f(-i)$$,so the second integral is $0$ as it is analytic in the upper half plane, but the first integral iss just $n(\gamma,i)$, which iss the windding number of $\gamma$ around $i$ what more I can say? Thank you.


select top record and count from each group oracle?

Get top record and count?  PKid    |    QId    |    QNumber    |    EmailId    |    FirstName    |    LastName    | 1    |    102    |    A1022    |    jsmith@test.com    |    John    |    Smith    | 2    |    103    |    A1021    |    jsmith@test.com    |    John    |    smith    | 3    |    104    |    A1031    |    jblack@test.com    |    Jack    |    Black    | 4    |    105    |    A1032    |    jblack@test.com    |    Jack    |    black    | 5    |    106    |    A1023    |    jsmith@test.com    |    John    |   I want to fetch records group by name and order by occupation desc and count. Something like this-    S.no    |    QId    |    QNumber    |    EmailId    |    FirstName    |    LastName    |    Count 1    |    106    |    A1023    |    jsmith@test.com    |    John    |    |    3  2    |    105    |    A1032    |    jblack@test.com    |    Jack    |    black    |    2   I tried something like this but no luck---      SELECT     ROW_NUMBER() OVER(         ORDER BY             COUNT(1) DESC     ) AS S_NO,QId,     MAX(QNUMBER) AS QNUMBER,     EmailId,FirstName,LastName     COUNT(1) FROM     TblEmp    GROUP BY     EmailId;


When to identify loot, when not to bother?

This is a duplicate of  , as it was decided that question was a duplicate of . I was too slow in editing to clearly define the question, and I'd like to ask again. To be clear: this question asks WHEN to identify, not how.    There are plenty of guides on how to identify items, but I can't find any on when to bother with it. Certain levels may have many of the same type of monster which will drop much of the same types of items (ex, mines). Turn management can be critical in many places, say, bad circumstances, early game, little food, low-apport pets, weight considerations, etc.  Obviously, this can be highly circumstantial - say needing a particular drop - but I'm more interested in the best general approach to the best general bell-curve of turns/circumstances vs items. I'm also interested in addressing the item hoarder's fear: "I didn't try on every [common monster]'s drops - what if I missed something good?" When should I be taking the time to identify items, and which items should I not bother with?    I started a list to help answer, please do add or edit:   all amulets (because they are rare, and if uncursed, very desirable) any items that might be a prize for a certain area (ex, sokoban ; consult wikis)


About the definition of  Cech Cohomology

Let $X$ be a topological space with and open cover $\{U_i\}$ and let $\mathcal F$ be a sheaf of abelian groups on $X$. A $n$-cochain is a section $f_{i_0,\ldots,i_n}\in U_{i_0,\ldots,i_n}:= U_{i_0}\cap\ldots\cap U_{i_n}$; we can costruct the following abelian group (written in additive form):  $$ \check C^n(\mathcal U,\mathcal F):=\!\!\prod_{(i_o,\ldots,i_n)}\!\!\mathcal F(U_{i_0,\ldots,i_n}) $$  Now my question is the following:  we consider  oredered sequences $(i_o,\ldots,i_n)$ ? Because in this case in the direct product we have each group repetead $(n+1)!$ times, that is the number of permutations of the set $\{i_o,\ldots,i_n\}$.