I have an old Dell XPS Studio 16 whose AC adapter broke a while ago. I've been using a universal adapter, but apparently Dell has some hardware checks hard coded that won't let the adapter charge the battery unless it's a certified Dell adapter.  So I need a new one. It's pretty easy to find AC adapters on Amazon for $20 or so, but they're three-pronged versions for US outlets. We have 230V in our walls. It doesn't specifically say "130V AC to DC adapter" on them however. So I'm wondering if an adapter made for the US market will work if I find the right cable?
The AC adapter supplied with my laptop is designed to accept voltage in the range of 100-240VAC at 50-60Hz, but the AC cable that plugs into the adapter unit itself is only rated to 125VAC 7.5A 2.5A.  I know the adapter can accept 220V power, but is it safe to use this cable with the AC adapter to plug into a 220V socket?  Edit: The part in question is a 90W HP Smart AC Adapter.  The laptop does not cause the AC adapter to draw more than about 80 watts from the socket (as measured with a Kill A Watt meter).  Edit 2: The amperage rating of the cable as marked on the attached label is 2.5A, not 7.5A.
How to parse JSON in Java Are there any synonyms for the noun 'crush'? I must clarify, when I say 'crush', I mean the subject of an unrealistic, one-sided infatuation. For example, it can be used in this sentence: 'My celebrity crush is David Beckham.'  Could that word be interchanged for another? Preferably, can it be a word which is not necessarily too formal/complex? I've searched online for a while but can't find any synonyms for this form of 'crush.'  I want the word for a novel which is set in an old-ish fantasy period so I don't think 'crush' would feel in-place.  The main character is a lower-class worker. I want to install Oracle's JRE and to update to the latest version with the Software Updater when they released. Is there a Ubuntu package that is provided by Canonical or Oracle?  Before release Java 7, I followed  to install Java 6.  But it doesn't work for Java 7. There is no package sun-java7-xxx. How can you install Java 7? Can't execute a MySQL stored procedure from Java What is the mechanism behind the slowdown of light/photons in a transparent medium? So light travels slower in glass (for example) than in a vacuum. What causes light to slow down? Or: How does it slow down? If light passes through the medium, is it not essentially traveling in the "vacuum" between the atoms? Is it true that $0.999999999\ldots=1$? Does the given matrix have a square root? Given the following matrix, I was asked to tell whether the matrix is the square of some matrix or not.  $$ \begin{pmatrix} 1 &amp; 0 &amp; 0\\ 0 &amp; -1 &amp; 0\\ 0 &amp; 0 &amp; -1 \end{pmatrix} $$  Since this matrix is diagonal, a square root is  $$ \begin{pmatrix} 1 &amp; 0 &amp; 0\\ 0 &amp; i &amp; 0\\ 0 &amp; 0 &amp; i \end{pmatrix} $$ Am I right? SFDX Pull error: Entity of type 'ListView' named XXX cannot be found While trying to pull changes from a scratch org (sfdx force:source:pull, tried with and without -f), I'm getting this error:     Entity of type 'ListView' named 'Note_Relation__c.My_Notes' cannot be found.   I do have a custom object Note_Relation__c, and it exists both locally and in the scratch org.  However, it's not an object that is normally accessed directly.  It has no tab, and should have no list views.  Nonetheless, I've checked the object's list view (via prefix, e.g., /a0D in both Classic and LEX view), and I can find no list views at all.  I've also tried adding an entry to .forceignore:  force-app/main/default/objects/Note_Relation__c/listViews/My_Notes.listView   This has no effect either.  At this point, I'm stuck with a bunch of config changes in a scratch org that I cannot pull.  I can find no references to this error message with scratch orgs.  Has anyone seen this issue?  Edit to clarify: I tried the .forceignore line based on what I think the file name should be; I have no force-app/main/default/objects/Note_Relation__c/listViews directory locally.  Edit 2: Workaround:  I found a workaround that doesn't make sense to me, but it works.  I'm not adding it as an answer yet because I'm not sure what's happening.  The workaround is to add the following line to .forceignore  Note_Relation__c.My_Notes   Even though this isn't a DX filepath, it's the name from the error message, and it seems to work. Forecast total for a year given monthly time series I have a monthly time series (for 2009-2012 non-stationary, with seasonality). I can use ARIMA (or ETS) to obtain point and interval forecasts for each month of 2013, but I am interested in forecasting the total for the whole year, including prediction intervals. Is there an easy way in R to obtain interval forecasts for the total for 2013? grep a file, but show several surrounding lines? Whenever adding a new wireless network, android seems to forget the network after disabling then re-enabling wifi. I am forced to manually connect to the network and enter the password each time. This also happens with open networks. The problem occurs on any wireless network, at home, work, public networks, etc.  Further inspection on the /data/misc/wifi/wpa_supplicant.conf file shows "disabled=1" added to the end of each network.    click image for larger version  This has been going on for weeks. Any help would be much appreciated.  Phone: Nexus 4 Version: 4.4.4 No module named numpy I am trying to run Jupyter notebook from my Ubuntu subsystem in Windows 10. I've installed numpy, scipy, and pandas using the following commands:  pip install scipy numpy pip install pandas   When I load python in Ubuntu, there is no issue importing numpy in Ubuntu cmd.   But, when I run my Jupyter Notebook from Ubuntu terminal, and try to import numpy as np, or import pandas as pd, they report  ModuleNotFoundError                       Traceback (most recent call last) &lt;ipython-input-1-a9340201ed9f&gt; in &lt;module&gt;       5 import dash_html_components as html       6 import plotly.graph_objs as go ----&gt; 7 import numpy as np       8 from dash.dependencies import Input, Output       9   ModuleNotFoundError: No module named 'numpy'   Is there anyway to solve this issue? Thanks a lot. An idiom meaning someone's doing something useless and has no result at the end In my native language, we use an idiom to warn someone that they're doing something which has no result at the end:     Trying to convince him is like squashing water ...   Is there any idiom in English with the same meaning? How can I make a deepcopy of a function in Python? Should we `enable` the User Systemd service `pulseaudio.service`? Note: the eventual outcome of this discussion involved dropping this particular off-topic reason, along with other changes. See:  &nbsp; &mdash;Shog     I was using the reason "demonstrate a minimal understanding" myself quite frequently, but the more I review, the more I have doubts about it and I think this reason can either be dropped entirely or at least rephrased, so I started to use "problems with code you've written must describe the specific problem" instead:     Questions asking for code must demonstrate a minimal understanding of the problem being solved.   So the poster has posted some description, maybe even a snippet of code and in his mind that already proves that he has that minimal understanding required. After all he described the problem and what he tried to solve. So telling him that he lacks that understanding is rather rude, and from the posters point of view doesn't even apply. What both version of the reason not emphasize is that a description of a problem is not various versions of     it doesn't work   but that we rather mean really specific details (see below). I can often see in the reopen review queue that the "improved" version just includes a more verbatim description, while what usually would be expected is some specific error message, a trace or a log, or whatever applies.  Then it continues with:     Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist   comparing it to:     problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.   Which says essentially the same, only in more detail.   So the "minimum understanding" reason is IMO a more rude version of the reason telling the user that an SSCCE is missing.  The intent of giving this reason is to tell the user that he needs to give exact details to be able to help him, so IMO a checklist would be much better. Something like:     Your question was closed because it may not provide enough details. Things you can do to improve your question to get an answer include:         Format the code in a way that makes it readable and easily understandable.   Provide the smallest working sample of code demonstrating the problem (link to SSCCE)   Include your input and output.   If applicable provide logs (i.e. Android debugging log, stack trace, etc.).   If applicable provide the exact error messages (compiler, etc.).      And something like this should be best included already in the banner that appears when a question is closed instead of being hidden in some pages you often enough have to actively looking for.  It might be helpful to adjust this, based on the tags or close reason, as I realize that I'm more focused on the programming area, and the above list may not apply to other areas of SO.  Update  Another thing I forgot to mention (but wanted to) is this:     Questions asking for code   Is IMO essentially an invitation of the type of questions     I have a problem, can you provide the solution? (with an optional please)   while     Questions concerning problems with code you've written   puts at least some emphasis on the fact that the poster has to put some effort himself in trying to solve the problem by providing the code which he used to attempt the solution. Avoiding NullPointerException in Java I use object != null a lot to avoid . What is an alternative to: if (someobject != null) {     someobject.doCalc(); } Encouraging people to explain downvotes $A^m\hookrightarrow A^n$ implies $m\leq n$ for a ring $A\neq 0$ I'm trying to prove that if $A\neq 0$ is a commutative ring and there is an injective $A$-module homomorphism $A^m\hookrightarrow A^n$ then $m\leq n$ must necessarily hold.    This is exercise 2.11 from Atiyah and MacDonald's Introduction to Commutative Algebra, but unfortunately all the solutions available online are either very sparse with regard to this question or seem to use (to my surprise) a generalized version of Cramer's rule. Is there perhaps some other "cleaner" approach to solving this problem? Kinematic Viscosity