Delete key-value from object in array, Javascript
How do I remove a property from a JavaScript object?
How to print a date in a regular format? This is my code:  import datetime today = datetime.date.today() print(today)   This prints: 2008-11-22 which is exactly what I want.  But, I have a list I'm appending this to and then suddenly everything goes "wonky". Here is the code:  import datetime mylist = [] today = datetime.date.today() mylist.append(today) print(mylist)   This prints the following:   [datetime.date(2008, 11, 22)]   How can I get just a simple date like 2008-11-22? How can I prove the maximum number of edges? On my book it says that the maximum number of edges E, in a simply connected undirected unweighted graph $G(V,E)$ is $\dfrac{|V|(|V|-1)}{2}$.  How can I show that it is true? Thanks! Locking an iPhone if button is broken? My friend's iPhone's sleep/wake button no longer works. Is there any way to turn off the screen besides setting up auto-lock and waiting a few minutes? Why do high resolution cameras shoot stills at high resolutions, but only typically shoot video at 1080p which is about 2 megapixels?  For example I have a Sony-NEX 6 which can shoot stills at 16 megapixels but only 1080p by 1920p video.  Also how do digital cameras separate the frames in video if the lens shutter never closes?  And if you can shoot video at 30 fps or 60 fps then why can't cameras have a continuous drives at 30 to 60 fps? Situation: when a user self-marks their post as a duplicate, it shows as closed by "community" rather than the original poster.  Problems: this is not clear at all to most users of SE what has happened. It looks like the question was "mod closed" as a duplicate against the asker's wishes.    Suggestion: instead of the community user "closing" the post, have the final close user be the asker (or make it "Community &amp; Asker"). This will help clear up confusion and streamline the process for understanding what happens. Convergence of exponential Brownian martingale to zero almost surely Define the exponential Brownian martingale as $N_t = \exp\left\{a W_t - \frac12 a^2 t \right\}$ which is a martingale with respect to the natural filtration of $W$ which stands for a standard Brownian motion.  I now want to prove that $N_t \rightarrow 0$ a.s. for $t \rightarrow \infty$. As $N_t$ is a martingale it is by definition in $L^1$ hence Doob's martingale convergence theorem tells us that there exists a $N_\infty \in L^1$ such that $N_t \rightarrow N_\infty$ a.s., but how could I prove that $N_\infty \equiv 0$? Any help is greatly appreciated! All I want to see are the specs Is there a way to see the processor and speed of a Cisco UCS B230 Blade Server without the enclosure that runs it? The enclosure that we have does not power on and all I need is to see what cpu and processor speed is in it. Show that $3p^2=q^2$ implies $3|p$ and $3|q$ If the $n^{th}$ partial sum of a series $\sum a_n$ is $S_n = \frac{n-1}{n+1}$, find $a_n$ and the sum. Android app - can I see interesting questions? On the website the default list of questions displays interesting tab (which I believe has questions based on my highest scoring tabs). That's very convenient and allows me to check new questions that are relevant for me easily.   Can the same view be added to the mobile app? What is the meaning of the third derivative of a function at a point I know that there is a very similar question, but I'm not interested in highlighting. What I'm looking for is some tool in Linux to edit pdf files. I've tried pdfedit which did the work for me, but if freezes after a few edits. I've tried this tool under Ubuntu 9.10 and under KDE Fedora 14 and the same thing happens. I've tried Okular but the notations are too big to fill out exercises from pdf workbooks.    Is there any tool that suits this job? I don't care whether it is open source or I have to pay a reasonable price for it. How to prove that $\lim\limits_{\epsilon\rightarrow 0}\int_{-\infty}^{\infty}f_\epsilon(x)g(x)dx=g(0)$ (Dirac delta function)) I'm currently studying the Dirac delta function using a textbook which unfortunately provides only partial solutions to its explanations. Why does $\lim\limits_{\epsilon\rightarrow 0}\int_{-\infty}^{\infty}f_\epsilon(x)g(x)dx=g(0)$ if $ f_\epsilon=\frac{1}{2\epsilon}e^{-\frac{|x|}{\epsilon}}$? Any help is very much appreciated. TikZ: Draw angle with label between lines $M$ connected $\iff$ $M$ and $\emptyset$ are the only subsets of $M$ open and closed at the same time I'm trying to understand this proof that:  $M$ connected $\iff$ $M$ and $\emptyset$ are the only subsets of $M$ open and closed at the same time  Which is:  If $M=A\cup B$ is a separation, then $A$ and $B$ are open and closed. Recriprocally, if $A\subset M$ is open and closed, then $M = A\cup(M-A)$. What? I know that if $M=A\cup B$ is a separation, $A$ and $B$ are both open. But why closed? Also, the 'recriprocally' part is totally nonsense to me. Anybody could help?  Also, there's another proof, which states: $M$ and $\emptyset$ are the only subsets of $M$ at the same time closed and open $\iff$ if $X\subset M$ has empty boundary, theb $X=M$ or $X=\emptyset$  which is proved as the following:  given $X\subset M$, we know the condition $X\cap \partial X = \emptyset$ implies $X$ is open, while the condition $\partial X \subset X$ implies $X$ is closed. Then, $X$ is open and closed $\iff$ $\partial X = X\cap \partial X = \emptyset$, this show $\iff$ for the theorem above.  First of all, I think that the condition $X$ has boundary empty implies that $X\cap \partial X$ is empty, but who said anything about $\partial X\subset X$? Also, where's the $\rightarrow$ of this proof? I can only see $\leftarrow$ Power supplies are available in a wide range of voltage and current ratings.  If I have a device that has specific voltage and current ratings, how do those relate to the power ratings I need to specify?  What if I don't know the device's specs, but am replacing a previous power supply with particular ratings?  Is it OK to go lower voltage, or should it always be higher?  What about current?  I don't want a 10 A supply to damage my 1 A device. Calibre No Longer Working Calibre stopped working recently. Tried uninstalling and reinstalling. When I open a terminal and call $calibre I get the following error message: Traceback (most recent call last):   File &quot;/usr/bin/calibre&quot;, line 20, in &lt;module&gt;     sys.exit(calibre())   File &quot;/usr/lib/calibre/calibre/gui_launch.py&quot;, line 73, in calibre     main(args)   File &quot;/usr/lib/calibre/calibre/gui2/main.py&quot;, line 543, in main     listener = create_listener()   File &quot;/usr/lib/calibre/calibre/gui2/main.py&quot;, line 514, in create_listener     return Listener(address=gui_socket_address())   File &quot;/usr/lib/calibre/calibre/utils/ipc/server.py&quot;, line 110, in __init__     self._listener._unlink.cancel() AttributeError: 'NoneType' object has no attribute 'cancel'  Do I need to install some dependency that the sudo apt install didn't get? I tried installing via command line and the software installer/updater GUI. I'm on version Ubuntu 20.04.1 LTS. I made sure that my software in general is up to date also. When would you call java's thread.run() instead of thread.start()? How to connect nodes to node group inputs and outputs in python? Energy conservation of Virtual Particles - Quantum Fluctuation? I (as a middle-school student) was wondering how virtual particles even conserve energy of the entire system? I don't mean just the particle's energy, but conservation with respect to the surroundings?  Let me explain more, Einstein proved that $E = mc^2$ and equivalently, we can say $m = \frac{E}{c^2}$ . We however know mass causes curvature in space-time (gravity well). Now that statement being completely valid we can use Quantum Fluctuation, implying energy and time can be related by the relation:  $\Delta{E}\Delta{t}\approx\frac{\hbar}{2}$ and by that simple relation we can make the following points:   As the energy increases, the time allowed to be "borrowed" decreases, before it gives it back to the universe. As time increases, the energy allowed to be "borrowed" decreases.    These are completely satisfactory points I've made, I believe.  Now, I have read that the vacuum is filled with constantly bubbling virtual particles that get created from the energy "borrowed" by the above relation and is destroyed again, which satisfies the energy conservation laws.   This seems to imply that  in the short time the virtual particle exists, they must have a very small mass which is: $m_{1} = \frac{\Delta{E}}{c^2}$ and using basic classical mechanics rather than GR (for sake of simplicity) we calculate that the gravitational force mediated by this short-lived virtual particle;  $F_{g}= G\frac{m_1 * m_x}{r^2}$   where $m_x$ is an particle\mass in question. Nevertheless since we know the force set upon an object moves the object in a direction, we can say it would increase its kinetic energy by this factor: $F_g = \frac{1}{2}mv^2$ which is equal to $G\frac{m_1 * m_x}{r^2} = \frac{1}{2}mv^2$.  Surely, this implies that every time quantum fluctuations happen, energy of real-particles\masses increases and therefore violates energy conservation, but what prevents this violation from taking place?  If virtual particles are not really present and interact with objects like I thought, how can Hawking radiation (currently a large concept in black hole physics) then be accepted in physics community?