python - try to update element in a 2D list
List of lists changes reflected across sublists unexpectedly
So in the first 5 or 6 books, it was very clear that the wand chooses the wizard and the power/level of the spells the wizard produces is based on the knowledge and skill of the wizard.  This is referenced by people constantly being telling Harry that he wasn't skilled enough to perform certain spells, or Bellatrix telling Harry that he needed to mean the Cruciatus curse for it to be effective.  However, in the 7th book, this entire idea is changed to the wand being the thing that's powerful and regardless of the wizard's/witch's skill or knowledge, he/she could still perform a very advanced spell if it's something the wand could handle.  Goyle accidentally creating a fire serpent is something that instantly comes to mind from the movies(I don't remember if that happened in the book).  So, my question is, what actually holds the power, the wizard/witch, or the wand? Can anybody please help me to prove this:  Let $p$ be greater than or equal to $1$. Show that for the space $\ell_p=\{(u_n):\sum_{n=1}^\infty |u_n|^p&lt;\infty\}$ of all $p$-summable sequences (with norm $||u||_p=\sqrt[p]{\sum_{n=1}^\infty |u_n|^p}\ )$, there is an inner product $&lt;\_\,|\,\_&gt; $ s.t. $||u||^2=&lt;u\,|\,u&gt;$ if and only if $p=2$. About 'start' and 'begin' Are 'begin' and 'start' interchangeable? Both &quot;This is a new start&quot; and &quot;This is a new beginning&quot; work, right? Then during games, they say &quot;Let's start&quot;, but I never heard &quot;Let's begin&quot;. So is there supposed to be a difference? And then one guy said this &quot;They could not begin to start a conversation&quot;. What is this supposed to mean? Is it correct? Load a resource contained in a jar In my application I load resources in this manner:  WinProcessor.class.getResource("repository").toString();   and this gives me:  file:/root/app/repository   (and I replace "file:" with empty string)   This works fine when I run my application from the IDE, but when I run the jar of my application:  java -jar app.jar   The path becomes:  jar:/root/app.jar!/repository   is there any way to solve this problem?  I'll use the "repository" dir name in order to create this:  ConfigurationContext ctx = (ConfigurationContext) ConfigurationContextFactory.createConfigurationContextFromFileSystem(repositoryString, null);   In the same manner, I'll get one file name (instead of a dir) and I'll use it this way:  System.setProperty("javax.net.ssl.trustStore", fileNameString) Live notification shown for own edits When editing an answer, the &quot;new revision&quot; message is shown for a short moment. This makes no sense because the revision you just created is automatically displayed anyway. Reduce Classification Probability Threshold I have a question regarding classification in general. Let $f$ be a classifier, which outputs a set of probabilities given some data D. Normally, one would say: well, if $P(c|D) &gt; 0.5$, we will assign a class 1, otherwise 0 (let this be a binary classification).   My question is, what if I find out, that if I classify the class as 1 also when the probabilities are larger than, for instance 0.2, and the classifier performs better. Is it legitimate to then use this new threshold when doing classification?  I would interpret the necessity for lower classification bound in the context of the data emitting a smaller signal; yet still significant for the classification problem.  I realize this is one way to do it. However, if this is not correct thinking of reducing the threshold, what would be some data transformations, which emphasize individual features in a similar manner, so that the threshold can remain at 0.5? Proving that $T^{2} = T$ for a linear operator on $W$ implies that $V = \operatorname{Null} T \oplus \operatorname{Range} T$ I just upgraded my texlive distribution and can no longer insert space in table rows using \\[x pt] syntax when colortbl is loaded.  It seems that recent changes to array.sty might be the problem as this is the only package to change recently.  Can anyone suggest a workaround?  MWE  \listfiles \documentclass{article} \usepackage{colortbl} \begin{document} \begin{tabular}{l}   \hline   No space below with \texttt{colortbl.sty} loaded. \\[10mm]   \hline \end{tabular} \end{document}   File versions in use:   article.cls    2014/09/29 v1.4h Standard LaTeX document class   size10.clo    2014/09/29 v1.4h Standard LaTeX file (size option) colortbl.sty    2012/02/13 v1.0a Color table columns (DPC)    array.sty    2018/04/07 v2.4g Tabular extension package (FMi)    color.sty    2016/07/10 v1.1e Standard LaTeX Color (DPC)    color.cfg    2016/01/02 v1.6 sample color configuration   pdftex.def    2018/01/08 v1.0l Graphics/color driver for pdftex How to repair a broken .EXE file association Overlapping text in Database Schema SEDE Over at , there is overlapping text in the Database Schema under Close-As-Off-Topic-Reason-Types:  that makes it really hard to read.  This is also happening underneath &quot;Pending Flags&quot;, and seemingly with every long line in the schema.  This would be fine if you could increase the width of the list as you can with the height, which would in theory separate the lines, but you can't.  Can we fix this, please?  UPDATE: I have found that  post is almost exactly the same as mine, but steady on with duplicate votes.   comment says that it will be fixed, but that question was asked more than five years ago, and in that time the problem has not been resolved.  UPDATE 2: It seems that  would help.  I changed a little CSS/HTML, and came up with this:  Although mine is a little cruder than it could be.  This is just an example. How do I prevent Apache from answering requests for domains I don't host? I am pretty sure that most of us here, or at least those do graphic design for living, have found themselves in following situation:   You agree with a client to do the design, agree on price, schedules, formats etc… You work hard, make adjustments, collaborate with client; everything goes well in the beginning. At some point you realise that the client does not listen your professional advice regarding design and prefers his/her own ideas that might not look so professional (choice of fonts, colors, odd choices of elements, shapes etc…). No matter how hard you try, the client is persistent and will not accept the designer’s advice. You get back to work, try to make the best out of it, and the final result is not so good, mainly because you had to stick to the client’s wishes. Work is shipped, payment done, and you don’t want to include this work in your portfolio because it is not good. After all, it is not your work, it is something that was physically created by you as a designer, but the ideas, concept, story, and message came out as a result of nonprofessional person, your client.   Ok, they pay for it, and as long as they are happy this is fine. But, the more compromises you make, the more time you spend working on bad design. If you are a young designer on a quest to get recognition, you don’t want to work just for the sake of money and then face the lack of good design in your portfolio.   Maybe at the beginning of your career you don’t care that much, but later if life this might be a big issue. At some point you will be approached by a big client that might offer you long-term contract, but first they will want to see your work. No point explaining to them what you did and why you made so many compromises.   They will not be interested in that.  Every project is precious as your time and you want to do use it wisely and produce great work.   How would you deal with such a situation? Is it possible to include the tag-wiki associations in the Data Explorer? To do this would require two additional columns in the postTags table that associate a tag wiki excerpt and a tag wiki to their tag.  The tag wiki data is already available in the posts table. But there is no way to associate this data with its tags. The SEDE schema lacks the required columns to link the tag excerpt and the tag wiki to the tags table.  Additionally, the postTypes table only lists three posts types. It makes no mention of tag-wiki and tag excerpt posts. Perhaps the postypes table can be updated to reflect the additional post types? QGIS installation error Proof that a formula $\theta$ is valid if and only if $\forall x \theta$ is valid I need to prove for first-order logic that $\vDash\theta$ if and only if $\vDash\forall x \theta$. The proof for the forward direction seems simple enough:  Suppose $\theta$ is valid. Let $\mathfrak{A}$ be an arbitrary structure and let $s:V\to |\mathfrak{A}|$ be an arbitrary function assigning values of the universe of $\mathfrak{A}$ to variables. Then we know by assumption that $\vDash_\mathfrak{A}\theta[s]$.  But since $s$ is arbitrary, it follows that $\vDash_\mathfrak{A}\theta[s(x|c)]$, for all $c\in|\mathfrak{A}$. But this means that $\vDash_\mathfrak{A}\forall x\theta[s]$. Since $\mathfrak{A}$ and the function assigning elements of the structure to variables are arbitrary, it follows that $\vDash\forall x\theta$.   Now we have to show that if $\vDash\forall x\theta$, then $\vDash\theta$, and this is where I'm stuck. I understand why it makes sense that this should be true, I'm just having a hard time writing it rigorously. Any suggestions would be greatly appreciated. Uniform integrability of a backward submartingale Let $\{\mathcal{F}_n\}_n$ be a decreasing sequence of sub-$\sigma$-fields of $\mathcal{F}$($\mathcal{F}_{n+1}\subset\mathcal{F}_n$) and let $\{X_n\}_n$ be a backward submartingale($E[|X_n|]&lt;\infty$, $X_n$ is $\mathcal{F}_n$ measurable and $E[X_n|\mathcal{F}_{n+1}]\geq X_{n+1}$).  If we know $l=\lim_{n\rightarrow\infty}E[X_n]&gt;-\infty$, how to prove that $\{X_n\}_n$ is uniformly integrable? Many thanks!  I have an idea, it is enough to show:    $\sup_nE[|X_n|]&lt;\infty$;  $\forall\epsilon&gt;0$, $\exists\delta&gt;0$ s.t. $\forall A\in\mathcal{F}$ such that $\mathbb{P}(A)&lt;\delta$, we have $\sup_nE[1_{A}|X_n|]&lt;\epsilon$.    For $|X_n|=2X_n^+-X_n$, we have  $$E[|X_n|]=2E[X_n^+]-E[X_n]\leq 2E[X_0^+]-l\leq 2E[|X_0|]-l$$  which implies $\sup_nE[|X_n|]&lt;\infty$.  Secondly, $\forall A\in\mathcal{F}$, we can suppose without loss of generality that $A\in\mathcal{F}_0$.  $$E[1_{A}|X_n|]=2E[[1_{A}X_n^+]-E[[1_{A}X_n]$$  Does someone have an idea for this term? Thanks a lot..... I'm looking for a word that means     someone (especially a boss) who is not pleased (with your work, attitude etc.) no matter how hard you try. I have two hard drives. One is used for Windows and one is empty. I want to install Ubuntu on the empty hard drive. The Windows hard drive is disk0 in Windows and the empty hard drive is disk1. When I install Ubuntu and it asks where I want to install it, I choose "Something Else" but I am stuck there. What do I choose for "boot loader installation"? According with Mumford the answer is yes, but there are some obscure points in the proof.  We know that there exists a very ample line bundle on $A$ since every abelian variety is projective. Hence, via some corollaries of the Theorem of the Cube, we get an ample line bundle whose restriction to the kernel of $n_A$ is both the trivial bundle and very ample. This should imply that the dimension of $\ker n_A$ is $0$.  Furthermore, Mumford says that the fact that the dimension of the kernel is $0$ implies the surjectivity of $n_A$.  Is anybody able to clarify these two points to me?  Thanks in advance! How should artwork be setup for T-shirt printing? What does it mean to colour separate the artwork for T-Shirt printing? It is normally suggested to use Pantone colours for T-Shirt printing. Is it the Pantone Coated or the Pantone Uncoated? The Uncoated one has more subtle colours and we can't choose brighter shades if the design requires that. What is more appropriate for printing? Can we use gradients in T-Shirt printing or is it suggested to stick to flat colours only?   The reason for asking if gradients were ok was to use it as an option for this design:    I was considering it an option, as it will be difficult to colour separate since the textures are clip masked inside the lion.