DES Initialization Vector in C#
DES Initialization Vector in C#
I am looking for a word that would describe someone who always goes out of their way to take their time and do a good job. Sort of the opposite of half-assing something.  I am looking for something that is more about a work ethic than a technically proper way of doing things. Something like canonical or protocol would not be a good fit. Make display of reputation in revisions list consistent with the user card display Comparison of backup tools export CLASSPATH=.;../somejar.jar;../mysql-connector-java-5.1.6-bin.jar java -Xmx500m folder.subfolder../dit1/some.xml cd ..   is the above statement for setting the classpath to already existing classpath in linux is correct or not pm-hibernate freezes and/or fails to resume on Dell XPS 13, 14.04, 3.19 kernel Directory index forbidden by Options directive How to type the Indian Rupee Symbol? I want to type the Indian Rupee Symbol. So I went to System Settings >> Keyboard Layout and clicked on the Options button. Under the Adding Currency signs to keys sections, I checked the Rupee on 4 option.    Later when I opened the Layout Chart of the Keyboard there was Rupee sign in the 4 key but I do not know how to type the symbol. What combination of the keys will type the Rupee symbol on the screen? What's this? What is it? but not What's it? - Why? Can anyone give a cogent, simply described explanation of why the verb BE in:  What is it?  ... doesn't seem to be able to be contracted with the subject:  What's it? *  Compare the sentences above with:  What's this? What's that?  These are perfectly fine. In fact, the contractions here should be expected in almost all examples of spoken English. Answers with references to authoritative vetted sources would be greatly appreciated. When I was using ubuntu 14.04, it's easy to set title. Just press F2 or move mouse to top menu. But there is no menu on ubuntu 16.04 and press F2 can't change the title. What should I do? Extracting numbers from string field using Python Parser of ArcMap Field Calculator? I am trying to calculate field test2 with only the numeric values from a string field test. The entire script is like:    def makestr(test)      list=[]      for s in test:          if s.isdigit():              list.append(s)      for a in list:          str=''.join(list)     But I keep getting an error:    Any ideas? Wording of "possible/exact duplicates" when closing the question When marking question for "duplicate", the reason in dialog window is "exact duplicate", yet when the process is completed there's a comment added that says "possible duplicate". Maybe those two should be evened out to either "possible duplicate" or "exact duplicate"?  Edit: Take  for instance, it says "Possible" on top but "exact" at the bottom    and the top remark was added by the system only after the question was closed, i.e. after it was concluded that it was an exact duplicate rather than a possible one.  So the question is: can the text on top be changed to "Exact Duplicate" please? What's the difference between the snap folder in /home/&lt;UserName&gt; and the snap folder in root (/)?  I'm trying to get a grasp on where programs and their files are stored when you install them.  The first and only program I have installed on my machine is Spotify.    I noticed that there were two spotify folders within two separate snap folders.  One in the home directory and one in the root directory.    Questions   Why are there two snap folders? Why are there two spotify folders? Are they different in any way (the snap and spotify folders)?     NOTE: I installed Spotify via the Ubuntu Software application, not via the Terminal. I am compiling the following MWE using XeLatex within TeXnicCenter and get a garbled equation number:  \documentclass{article} \usepackage{amsmath} \usepackage{polyglossia} \setmainlanguage{hebrew} \newfontfamily{\hebrewfont}{Arial}  \begin{document} \begin{equation}\label{eq:1} 2+2=4. \end{equation} \end{document}      What is going on here? Show that if $ R $ is an integral domain then a polynomial in $ R[X] $ of degree $ d $ can have at most $ d $ roots Show that if $ R $ is an integral domain then a polynomial in $ R[X] $ of degree $ d $ can have at most $ d  $ roots.  Thoughts so far:  I feel like I might be missing something here. If $ R $ is an integral domain, then so is $ R[X] $. The factor theorem gives a correspondence between roots and factors. Clearly (is this clear?) a polynomial of degree $ d $ can't have more than $ d $ irreducible factors. I have to do some manual reordering or rows in Excel and cut/paste is too hard to use. I'm looking for something that would enable me to use drag'n'drop or to add some buttons to move-up/down move-top/bottom. Prove that $371\cdots 1$ is not prime Prove that $371\cdots 1$ is not prime.   I tried mathematical induction in order to prove this, but I am stuck.  My partial answer:  To be proved is that $37\underbrace{111\cdots 1}_{n\text{ ones}}$ is never prime for $n\geq 1$. Let $P(n)$ be the statement that $37\underbrace{111\cdots 1}_{n\text{ enen}}$ is not prime.  For $n=1$, we can write $371=7\cdot 53$, and therefore $P(1)$ is true. Let $P(k)$ be true for $k&gt;1$. Then we now have to prove that $P(k+1)$ is true.  I found that $37\underbrace{111\cdots 1}_{k\text{ ones}}$ can be written as $37\cdot 10^k+10^{k-1}+10^{k-2}+\cdots +10^0$ and that $37\underbrace{1111\cdots 1}_{k+1\text{ ones}}$ can be written as $37\cdot 10^{k+1}+10^{k}+10^{k-1}+\cdots+10^0$.  I think I'm pretty close to the answer know, but I don't know how to proceed. Photoshop layers into SVG paths Can I list the resources in a given package? My specific question is with the ASUS M3N78-VM motherboard that my home server uses. I currently have 4x2GB installed for a total of 8GB but I was hoping to upgrade to say 16GB (4x4GB). The official specifications of that motherboard says it only supports up to 8GB but it was released back when only 2GB sticks were available. What, if any, would prevent it from working with 4GB sticks now that 4GB sticks are available?  My general question is with motherboards in general... what would prevent a motherboard from working with bigger sticks if its all just the same type (DDR2 for example and same speeds) of memory? How to check if a number is a power of 2 Today I needed a simple algorithm for checking if a number is a power of 2.  The algorithm needs to be:   Simple Correct for any ulong value.   I came up with this simple algorithm:  private bool IsPowerOfTwo(ulong number) {     if (number == 0)         return false;      for (ulong power = 1; power &gt; 0; power = power &lt;&lt; 1)     {         // This for loop used shifting for powers of 2, meaning         // that the value will become 0 after the last shift         // (from binary 1000...0000 to 0000...0000) then, the 'for'         // loop will break out.          if (power == number)             return true;         if (power &gt; number)             return false;     }     return false; }   But then I thought, how about checking if log2 x is an exactly round number? But when I checked for 2^63+1, Math.Log returned exactly 63 because of rounding. So I checked if 2 to the power 63 is equal to the original number - and it is, because the calculation is done in doubles and not in exact numbers:  private bool IsPowerOfTwo_2(ulong number) {     double log = Math.Log(number, 2);     double pow = Math.Pow(2, Math.Round(log));     return pow == number; }   This returned true for the given wrong value: 9223372036854775809.  Is there a better algorithm?