Is there an easy way to print an int without removing leading zeros?
Print leading zeros with C++ output operator?
Why does a vertical line have a SLOPE (steepness) of undefined? The curve shows :   x goes 1 to right  y goes up by 3   the SLOPE is defined as the ratio of rise to the step  SLOPE = rise/step = 3/1 = 3  Now that :   Horizontal line has SLOPE of 0. Vertical line has SLOPE of undefined.   It makes sense for me to imagine horizontal line has SLOPE of 0 since there is no rise at all. But why the vertical has SLOPE of undefined.? Skew symmetry of indices in cocycles of Cech cohomology In Cech cohomology, the coboundary operator $$\delta:C^p(\underline U, \mathcal F)\to C^{p+1}(\underline U, \mathcal F) $$ is defined by the formula $$ (\delta \sigma)_{i_0,\dots, i_{p+1}} = \sum_{j=0}^{p+1}(-1)^j \sigma_{i_0,\dots, \hat {i_j},\dots i_{p+1}}{\Huge_|}_{U_{i_0}\cap\dots\cap U_{i_{p+1}}}. $$ In the book by Griffiths and Harris, the authors claim that $\delta\sigma=0$ implies the skew-symmetry condition $$ \sigma_{i_0,\dots,i_p} = -\sigma_{i_0,\dots, i_{q-1},i_{q+1},i_q,i_{q+2},\dots,i_p}. $$ How can I see this?  EDIT: Or is it possible that the skew symmetry is merely an assumption for all cochains? Is there a reason behind the ordering of letters in the English alphabet? Is there a reason behind the ordering of letters in the English alphabet? i.e. why are we taught “A,B,C,D,E,F,...,Z”? Why not “L,A,S,U,I,Z,...,C”?  I am asking this because, in some of the languages I know, I am told that the ordering of the letters in the alphabet is based on the ease with which they can be pronounced or the frequency with which they are used or depending on the part of the vocal cord that needs to be stressed to pronounce the letter.  Is there a similar rationale?  EDIT  You can see a couple of references for arrangement of letters in Sanskrit  and . When should I use # and = in ASP.NET controls? I have been using ASP.NET for years, but I can never remember when using the # and = are appropriate.  For example:  &lt;%= Grid.ClientID %&gt;   or  &lt;%# Eval("FullName")%&gt;   Can someone explain when each should be used so I can keep it straight in my mind? Is # only used in controls that support databinding? Flows/Processes, Version Control and CI I've started using Processes and Flows and am really excited about these features -- but am still wrapping my mind about how to manage them in Version Control (which I use) and Continuous Integration (which I don't yet... but am trying to work in that direction). The underlying challenge is that each time a process or flow is edited, the metadata file is renamed to reflect its update version, e.g. MyFlow-1.flow, MyFlow-2.flow, etc. The Challenge for Version Control If each version of the flow has its own file name, this makes it more complicated to track changes to flows.  It seems like there could be two strategies here:  Rename the files to remove the version number.  I'd need a script to run through my src folder pre-commit, and remove the number so that my file name is always MyFlow.flow.  This is an annoying extra step, but makes version control simpler.  On the other hand, it probably makes deployment much harder.  Track each file in version control with its original name.  We'd need to be diligent about deleting MyFlow-1 in the commit where we add MyFlow-2 so that git would recognize this as a rename/move and show helpful diffs.  Otherwise, the whole file appears to change with every change, which makes version control rather less useful.   The Challenge for Deployment/Continuous Integration From my experiments so far, once a flow has been activated in a given environment, the metadata file can't be deployed again (either it is currently active, or has been active in the past and superseded). That means that I need to prevent my previous flow versions from being included in a deployment package (either by not tracking them at all, or by using a script to delete earlier versions).  I also need some way to determine whether the current version (in my repo) should be included in the deployment payload for a given environment or not. I could imagine a script that (1) downloads flows from the target environment, and removes *.flow files from the payload if they already exist in the target environment, but that feels complicated.  And it's even harder if I've removed the version numbers from my flow files. Are you using flows in VS or CI?  How are you managing these issues? Note:  I'm not sure whether VC and CI should be one question or two - depends on how integrated the strategy for dealing with these two challenges.  If you think these should be separate questions, comment and I'll re-post. I've been attempting to learn C in my spare time, and other languages (C#, Java, etc.) have the same concept (and often the same operators) ...   What I'm wondering is, at a core level, what does bit-shifting (&lt;&lt;, &gt;&gt;, &gt;&gt;&gt;) do, what problems can it help solve, and what gotchas lurk around the bend? In other words, an absolute beginner's guide to bit shifting in all its goodness. What is purpose of /etc/shadow and shadow cache files in Linux operating system? What is the purpose of the /etc/shadow file in Linux Operating system?  Also, is it same for SUSE clients? There is one shadow cache file is maintained what is purpose of that? Sugar daddy wants my online banking login info to make deposits — is it a scam? Someone is offering to pay me in a sort of sugar daddy/sugar baby arrangement. They want to make online deposits to me, and they're asking me for my online banking username and password. Is that information alone enough for them to be able to take my money out of my account, or am I safe? Self-Contained Proof that $\sum\limits_{n=1}^{\infty} \frac1{n^p}$ Converges for $p > 1$ To prove the convergence of the p-series   $$\sum_{n=1}^{\infty} \frac1{n^p}$$  for $p &gt; 1$, one typically appeals to either the Integral Test or the Cauchy Condensation Test.  I am wondering if there is a self-contained proof that this series converges which does not rely on either test.    I suspect that any proof would have to use the ideas behind one of these two tests. I am running QGIS 2.18.14 (QGIS code revision: ff83b9a479) on a windows 7 machine, it comes with GRASS 7.2.2 (Code Revision r71496), but it does not come with r.in.lidar. I have noticed QGIS 2.18.16.1 has the same problem and it shares the same GRASS 7.2.2 (Code Revision r71496).  I know there were some issues with it and later solved as I read , I also certailny used it short ago in 2017, so I wonder which version should I go for before starting the always risky attempt of a new installation. 1099 for settlement what about lawyer fees? I am getting a settlement from a business over a suit but most of the settlement will go to the attorney to cover their fees incurred on contingency.  If the 1099 reports the full settlement, will I have to pay taxes on the full amount or if not, how do I tell the IRS it is not all taxable. Otherwise, I could easily end up owing more in taxes than I get for my small portion. I found many related questions on this site but I am still not sure about the rules. How can I decide if I need a visa to transit? Schengen members as of May 2021 are as follows:  Austria Belgium Czech Republic Denmark (excluding Greenland and the Faroe Islands - but an open border with the Schengen Area is maintained) Estonia Finland France (excluding overseas departments and collectivities) Germany Greece Hungary Iceland Italy Latvia Liechtenstein Lithuania Luxembourg Malta Netherlands (excluding Aruba, Curaçao, Sint Maarten and the Caribbean Netherlands) Norway (excluding Svalbard) Poland Portugal Slovakia Slovenia Spain (except Ceuta and Melilla) Sweden Switzerland The vote fraud script breaks legitimate polling questions - A serial downvoter's lament I've downvoted several of the answers on these Meta discussions:       Both questions are typical self evaluations, Stack Exchange runs them on all young Beta sites and as you may have noticed they are essentially polls, a series of example questions from the site that we are supposed to vote on.  Today I noticed that almost all of my votes have disappeared on both evaluations, only an upvote remains in the later one. My votes triggered the serial voting script, something that :      Heh, it appears I just serially downvoted you (I downvoted a lot of the answers here), hopefully the script is smart enough to not reverse my votes. Will check back in 24h, and if it does, I'll rant about it on MSO ;)    My voting behaviour on both evaluations was very simple:   I had the evaluation open in the left monitor, Opened all the example questions in their own tab, in the right monitor, Scanned each question quickly, and voted on the Meta answer (most of my votes were downvotes), Repeat for the next one, and so on...   I didn't spend more than a few seconds on any question, as I'm fairly regular on the site and I've already read all of them while casually browsing the site. In fact, if my memory isn't failing me, I had voted (up/down) and/or commented, and/or voted to close on each of the 20 example questions. I might have spend a minute or two re-reading a couple, but I mostly scanned through them. In any case I think my voting pattern is quite normal, and the script should be somehow tweaked to take serial posts, posted by the same user in quick succession, into consideration, especially on Metas.   Since I had anticipated that the script would kick in, I could have tried to fool it by pausing a bit between votes or trying to look for other Meta posts to vote on, in between voting on the evaluation answers. However I'm a very active voter on Meta Workplace, there aren't many posts I haven't already voted on, and the few that I haven't is probably because I neither agree or disagree with (my opinion on them is simply "meh"). In any case I think my voting behaviour was natural, and although the serial voting script is awesome, this time it caught and reversed a perfectly legitimate behaviour.  Animuson, in , mentions that the script isn't really optimal on Area51 as well:      Yes, please implement this on Area 51 proposals too! Oftentimes a single user would suggest a plethora of "example" questions to their own proposal which are just terrible, yet all of everyone's votes get reversed and the question just sits there at 0. I've noticed several times that my votes have gotten reversed.    I haven't noticed it myself, but it certainly seems plausible, especially early in a proposal's life.  Mysticial found a related discussion, , but it's focused on voting patterns on main sites, where reputation is also a factor. I can understand jumping through hoops to satisfy the script on main sites where, unfortunately, there are a lot of people trying to get some cheap rep or "punish" others with their downvotes, but not on Metas, and especially not on these evaluation posts.   Voting fraud is a problem, and more often than not the script works wonderfully, but in my case it was extremely counterproductive. Critical evaluations are essential for a young Beta site, and their answers typically only get a handful of votes. I wonder how many of these votes have silently gone away...  Fix this please. How to model this odd-shaped distribution (almost a reverse-J) My dependent variable shown below doesn't fit any stock distribution that I know of.  Linear regression produces somewhat non-normal, right-skewed residuals that relate to predicted Y in an odd way (2nd plot).  Any suggestions for transformations or other ways to obtain most valid results and best predictive accuracy?  If possible I'd like to avoid clumsy categorizing into, say, 5 values (e.g., 0, lo%, med%, hi%, 1). I am trying to mount my ext4 (sdc6) partition from a live usb because that's how I deleted two unused partitions left from a prior install of ubuntu, using GParted. The swap is mounted. However, I can't edit fstab, or find anywhere to click in nautilus to mount sdc6. In the terminal, I get the error: "can't find /dev/sdc6 in fstab". I'm afraid to exit the usb and update grub if that partition isn't mounted. Is there any easy way to do this, or do I have to install gksu or some other editor? Or do I need to mount it as sda6?  Device     Boot Start     End Sectors  Size Id Type /dev/sda1  *     2048 3905535 3903488  1.9G  b W95 FAT32  Device     Boot     Start        End   Sectors   Size Id Type /dev/sdc1            2048   29362175  29360128    14G 27 Hidden NTFS WinRE /dev/sdc2  *     29362176   29566975    204800   100M  7 HPFS/NTFS/exFAT /dev/sdc3        29566976  487023432 457456457 218.1G  7 HPFS/NTFS/exFAT /dev/sdc4       487024638 1250263039 763238402   364G  5 Extended /dev/sdc5       728393728  740290559  11896832   5.7G 82 Linux swap / Solaris /dev/sdc6       487024640  728391679 241367040 115.1G 83 Linux  Partition table entries are not in disk order. Apex PMD: Problem: Validate CRUD permission before SOQL/DML operation Background   I am using the Apex PMD plugin for VS Code and it's giving me this problem:     Validate CRUD permission before SOQL/DML operation   For this line of code:  insert contentVersion;   Which is part of this method:  private void attachReport(Id recordId) {      ContentVersion contentVersion = new ContentVersion(         versionData = Blob.valueOf(buffer.toStr()),         title = 'Import Report',         pathOnClient =  StringUtils.format('/Import-Report-{0}.txt', DateTime.now().getTime()),         FirstPublishLocationId = recordId);      insert contentVersion; }   Questions    Why am I getting the problem? What should I do to not get the problem?     Reference How to add PlotLegends in a Show function? Which Google Updater is the one that I should allow to run? How to change the date format? Presently the date is showing as mmm dd hh:mm:ss. Is there any way that I can change it to as per my liking. For example : dd mmm, hh:mm:ss. Why is the set of commutators not a subgroup?