send email and https problems
How do you make sure email you send programmatically is not automatically marked as spam?
I wanted to change my own password (as an admin) so I did the following command:  sudo passwd   and then it prompted for a password but when I tryed to relog, my password was not changed. I'm now wondering what password did I changed since it did prompted me to enter a password but I'm not sure what password did it changed exactly.  I know that if I do sudo passwd &lt;MY_USER&gt; it works, I'm just wondering without a user what happens.  Thank you Let $A,B$ be any two sets. I really think that the statement $|A|\leq|B|$ or $|B|\leq|A|$ is true. Formally:     $$\forall A\forall B[\,|A|\leq|B| \lor\ |B|\leq|A|\,]$$   If this statement is true, what is the proof ? $\mathbb Z[i]/ \langle 1+2i \rangle \cong \mathbb Z_5$ Implementing a Custom Subscription Center in Salesforce Marketing Cloud Has anyone implemented a custom subscription center using landing pages? The example one from the documentation doesn't seem to be working. I would really like to just customized the out of the box one but the amp script is hidden when I view source. Does anyone have and tips/tricks for creating a sub center?  Thanks! Prove that a power series $\sum_{n=0}^{\infty}{{a_n}{z^n}}$ which converges for any $z \in \mathbb{N}$, converges for any $z \in \mathbb{C}$. PROBLEM  Prove that a power series $\sum_{n=0}^{\infty}{{a_n}{z^n}}$ which converges for any $z \in \mathbb{N}$, converges for any $z \in \mathbb{C}$.  MY ATTEMPT  Since the power series $$\sum_{n=0}^{\infty}{{a_n}{z^n}}$$ converges for any $z \in \mathbb{N}$, then $$\sum_{n=0}^{\infty}{{a_n}{z^n}}$$ can be considered (?) to be a polynomial in $\mathbb{C}$.  Hence, $$\sum_{n=0}^{\infty}{{a_n}{z^n}}$$ is entire, and therefore continuous in $\mathbb{C}$ (since differentiability implies continuity).  It follows that $$\sum_{n=0}^{\infty}{{a_n}{z^n}}$$ converges for any $z \in \mathbb{C}$.  QUESTION     I am aware that, while I may have (some) ideas for a (general) proof, admittedly there are several grey areas (i.e., gaps) that need to be filled.  Would you be kind enough as to fill in these gaps, by providing useful hints? Show that $ \sum_{n=2}^m \binom{n}{2} = \binom{m+1}{3}$ I am moving from one job to another (postdoc to tenure track) this summer and I have papers in several stages of being written, these go from handwritten notes with all the necessary arguments to under revision at a journal. All the papers will have my new contact information put on them but where is the line for changing affiliation? It seems obvious to me that the one that is still in the handwritten notes stage will get the new affiliation and that the ones under revision won't. So somewhere in between is a line.   Where is it?  There are some similar questions so far (see  and  but they do not seem to be quite the same situation since I am not changing fields and the appointments are not concurrent. I have a common scenario in app design, where I need to store an ordered list, and make the ordering easily accessible and adjustable via an application UI.    The ordering operations are simple and operate on only one item at a time - move to top, move to bottom, move up one position, or down one position.  These positioning operations may be interspersed in with typical add / edit / delete list operations.  For discussion, this is a single-user app and db store.  Because the objects can be highly complex, I'd like to avoid caching the entire list client-side, and tracking newly created objects in memory until a big save operation occurs.    I am using MS-SQL almost exclusively on these projects, and I'm wondering if there are db features, SQL features, or design patterns I should be using to better support the management of ordered lists.    My current approach is to use a DECIMAL column to store the list positions, which become fractional during the item move process.  Then I sort the list and re-generate integer positions to normalize list.  Following this operation, it's ready for another item move.   In an example implementation, I create a column named Seq for position tracking.  Once decimal place is enough for the .5 storage.   [Seq] [decimal](10, 1) NOT NULL   When an item is re-positioned in the app UI,    I UPDATE that record with new Seq value I retrieve the full table, sorted ascending by Seq and regenerate all Seq values in the table from a 1-based integer series   The new Seq value is easily calculated-    Move to top = 0 Move to bottom = MAX(Seq) + 1 Move up = subtract 1.5 from the current Seq value Move down = add 1.5 to the current Seq value   As lists get longer, updates get slower, since I'm doing N UPDATE statements, where N is the number of rows in the table, so it seems only suitable for small tables.    Is there some kind of in-built capability for managing an ordered list in SQL or MS-SQL? Is there a means to update multiple rows in one call?    A far more performant approach would be to allow more decimal places, and then position at the median of the two adjacent items, with no re-sequencing on the list.     Move to top = Min(Seq) - 1 Move to bottom = MAX(Seq) + 1 Move up = median of the 2 previous item Seq values Move down = median of the 2 following item Seq values   This approach only requires one SELECT (containing 2 rows max) and one UPDATE.    However with enough re-positions I imagine the field would run out of decimal places. For example, if I start with items at positions 10 and 11, and keep moving items down the list from position 9, they'd be given sequences of 10.5, then 10.25, then 10.125.  After 10 moves, the positions get lengthy... 10.0009765625.    UPDATE #1 - IMPROVED RE-SEQUENCING OF THE LIST  Regarding re-sequencing, I'm more caught up on row_number(), OVER, and WITH capabilities in MS-SQL.  It's nice to find that there's a much smoother way to re-sequence the list in a single UPDATE operation;  with OrderedItems as  (     select         ItemID,         Seq,         row_number() over (order by Seq asc) NewSeq     from          Items ) update OrderedItems set Seq = NewSeq Without a physical form, what would Sauron have done had he recovered the Ring? Assuming one of Sauron's servants managed to recover the Ring, what exactly would Sauron do with it? He had no physical body to manipulate it and no finger to put it on. I guess he would have constructed a physical body for himself, but how? How would he get in "possession" of his Ring again? Just by a small enough distance between the Ring and the "Eye of Sauron"?  What would be the scenario of the event when one of Sauron's servants returns with the Ring? Heroku and Twisted SF Short Story about resetting the world every day Trying to identify a short story. I recall it was quite short, shorter than a novella. I read it within the last few years, but my impression is that it's from the second half of the twentieth century, maybe the sixties. I can't recall if I read it online, in an anthology, or collection. Set in America, a middle-aged man stumbles on a team (maybe like dwarves or gnomes) whose job it is to set up the world for the next day by removing all the previous day's &quot;stuff&quot;, like street furniture? (I know that makes no sense). He disrupts this process and somehow prevents progressing to the next day. I also remember the story was quite lighthearted with the team behaving in a very grumpy way like interrupted workmen. I thought the title was something like &quot;What happened to Tuesday&quot; or similar. For some reason, I thought it was by Keith Laumer, but a search doesn't reveal anything. The trope was similar to &quot;The Tunnel Under the World&quot; by Pohl, and &quot;The Adjustment Team&quot; by Dick, in that reality was constantly changed and controlled by an organisation of some kind. How to let the user switch language in playframework 2 How can I edit my network profile independently? My oldest account on the network is Area 51, followed by Mi Yodeya.  I recently filled out the "about me" section on Mi Yodeya (but nowhere else) and did not choose the "update all sites" option because my blurb is pretty specific to that site.  I intended to have that blurb on exactly one site.  I was surprised tonight to discover that that blurb is now on my network profile, where I see no "edit" link.  Am I stuck with either having a site-specific blurb as my network blurb (because it's my first non-Area-51 site) or rewriting it to be more general?  Or is there some way that I can independently edit the network profile?  (Or designate a different site as the default?)   shows that someone else had this problem too, but I'm asking for support, not for a new feature, so I'm asking this separately. How can PPAs be removed? I've added many PPAs using the add-apt-repository command. Is there a simple way to remove these PPAs? I've checked in /etc/apt/sources.list for the appropriate deb lines but they aren't there.   This is on a server system so a command line solution would be great! Preview on the right please, optionally? Reduction Integration of $I_n=\int{\frac{x^n}{\sqrt{x^2+a^2}} dx}$ How do I derive this using reduction formula?  $$I_n=\int{\frac{x^n}{\sqrt{x^2+a^2}} dx}$$  I got $\sqrt{x^2+a^2}(x^n) - \frac{1}{n-1}(x^{n-1})\sqrt{x^2+a^2} + \frac{1}{n-1}(I_n) $ . I'm not too sure if this is correct. I would appreciate any form of help or correction to my answer. Thank you. I've started trying to make a 3D model that I will end up exporting to an augmented reality app but I've hit a problem in terms of the particle system. The app wants the 3D file in .dae(collada) format which blender allows, but it doesn't seem to export particle systems. I've read that blender doesn't support exporting particle systems at all so I'm now focused on converting the particle system to lots of meshes which will (hopefully)animate using key frames. Then I can export all the meshes and the particles will 'work'.  Currently I'm just using a standard particle system emitting small icospheres. I've tried a few different techniques, such as 'make duplicates real' and using a particle instance instead but they don't seem to animate. Instead it just freezes the current frame into an object(which exports fine but is not what I want). I've also tried recording the animation in the blender game engine but particle systems don't work with it so that didn't work either.  Any help would be appreciated! Thanks Were there any improvements to the second Death Star (other than the change in exhaust port) that we know of? We know that the second Death Star was meant to have a different/non-existent exhaust port and when under construction it had a shield projected around it.  Other than these elements, one of which was planned to be totally temporary, do we know of any other improvements over its predecessor?  Did it have improved defences against one-man fighters? Did its laser charge more quickly? Did it have an upmarket cafeteria? Load CSS/Javascript in frontend conditionally if block is used Assuming I have no infinite scroll or anything else going on in my theme: Is there a way to enqueue my custom Gutenberg block styles and scripts so they are only (lazy) loaded in the front-end when the block is really used? Something like is_active_widget, just for blocks?  If I enqueue them inside a enqueue_block_assets function they're added to any site.  On github, I found this  , but it sounds like it's more on bundling than conditional load, so I still hope they didn't leave that optimization opportunity out - otherwise any other site will soon be junked with 20 additional scripts from numerous Gutenberg block plugins people install and only use once on a page (think of large image gallery block scripts for example).  Thanks &amp; Regards! Viewed, deleted comments staying in inbox Lets start with a life-like scenario.  User A receives an offensive comment in his inbox from the OP of a question. A then clicks on the notification in order to flag the offending comment. A mod sees the flag and deletes the comment. Shortly after, the question is also deleted. Because A clicked on the notification in the inbox, that notification is still in A's inbox, with the offensive part of the comment still visible. Edit: The flag was marked helpful because the post was deleted, not because the comment was deleted by a mod.  Please note that although the behaviour of the notifications is as it is supposed to be, this does not fix the possible problem of such notifications &quot;hanging around&quot;. User A can't get rid of that comment in any way, and it may be a long time before it is flushed out by new messages. This issue is mentioned in  but it is supposed to be that comments on a post that you own can hang around, not on someone else's post.  is speaking about comments which have not been read and this . To me this seem like an important issue. To have to see an offensive message every time you open your inbox is not a good thing. I can think of two ways in which this problem can be avoided:  Make sure notifications for deleted comments don't hang around (this I'm sure is the easier option) Allow users to delete unwanted notifications (this could be useful, as this would also allow users to remove notifications that they are not interested in, or even just to keep their inbox uncluttered. It would most likely be hard to implement, though.)  What are your thoughts on this?