What is the need of having a key schedule before executing AES
AES and DES - reusing the same round keys
What apps to sync movie subtitles easily are available for Ubuntu? I have a subtitle file that is about 3 to 4 seconds behind. What tools can I use to automatically move all the times in the subtitle file so they are correct with the time of the movie? Something that I can for example just add the time I want to add and it will add this time to the synced times in the subtitle files without having to edit each line individually. Python: Invalid Token How to calculate the signal-to-noise ratio (SNR) in an image? I am working with an image X, I apply the "adaptive median filter" in it and I get the image Y. I'd like to measure the SNR in both in order to evaluate the quantity of noise deleted.   I know the formula to calculate the SNR is:   SNR = Psignal / Pnoise  but I don't know how to get these values from both images I have. I was thinking in substract the image X from Y and get the noise value. But I am not sure about the method. How to show TCP listenings and filter them by local IP on Windows? Server has numerous IP addresses, set up on it's network interface.  How to find, who is listening to specific IP port 80?  netstat shows very long list. Are there any builtin means?  UPDATE  Also can't use findstr with also wishing to know process name because brocess name is displayed on separate line. “While” loop without “do”; “if” statement without “then” I have a similar question as this :     How can I get rid of the do in a for loop and the then in an if   statement when typesetting algorithms using the algorithm and   algorithmicx packages?   but I want the same thing for algorithm2e package.  A minimal compilable example:  \documentclass[10pt]{article} \usepackage[linesnumbered,ruled]{algorithm2e} \SetKwRepeat{Do}{do}{while} \SetKw{KwGoTo}{go to}  \begin{document}  \begin{algorithm} \DontPrintSemicolon \KwIn{$A,B$} \KwOut{$C$} \While{$B &gt; 0$} {      $C = C+1$;      $B = B-1$;     \uIf{$C &gt; A$}        {            \textbf{break}\;        } } \caption{ABC} \end{algorithm}  \end{document} Im very new at LaTeX and I would appreciate some help solving this problem. I have created a BibTeX file containing all references to a document. In this text file BibTeX items are inserted and no other text are written, for instance @article{...}. When I call for this bib file from the main.tex file I use the commands:  \bibliographystyle{plain} \bibliography{thebibliography}   Now to my question. All i get when I compile this main.tex is the title (bibliography) for this chapter, otherwise the textfield is blank. Is this error occurring because I should write anything in the bib file or have I missed any lines in the main.tex file. Delete votes from users who later become moderators shouldn't prevent community undeletion Is there a standard naming convention for XML elements? Is there any standard, de facto or otherwise, for XML documents? For example which is the "best" way to write a tag?  &lt;MyTag /&gt; &lt;myTag /&gt; &lt;mytag /&gt; &lt;my-tag /&gt; &lt;my_tag /&gt;   Likewise if I have an enumerated value for an attribute which is better  &lt;myTag attribute="value one"/&gt; &lt;myTag attribute="ValueOne"/&gt; &lt;myTag attribute="value-one"/&gt; How to correctly do a division using a slash? What's the correct way to do division using a backslash? If I write $a/bc + d$, will that be equal to $(a/(bc))+d$?   Basically, if I place a slash, will I divide by what's directly behind the slash $(b)$, the term that's behind the slash $(bc)$, or everything after the slash $(bc+d)$? I want to prove that every real polynomial of odd degree has at least one real root, using  the intermediate value theorem.  Let $P(x) = x^{2n+1} + a_n x^{2n} + . . . + a_0$ for each $a_i \in \mathbb{R}$ and $n \in \mathbb{N}$.  By the fundamental theorem of algebra I know that $P(x)$ has exactly $2n+1$ complex roots, so  $P(x) = (x+r_1)(x+r_2) . . . (x+r_{2n+1})$ for each $r_i \in \mathbb{C}$  I do not know how to complete this but I do know that, at some point, I probably have to show that each root with imaginary part non zero has to come in conjugate pairs, and since $2n+1$ is odd there is at least $1$ root that is imaginary part $0$ and thus real. How do I embed a gather environment within a custom environment? I've tried defining the following custom environment, but I get errors:     \begin{gather} ended by \end{solution}   etc...   Here's a MWE showing my problem:  \documentclass{article}  \usepackage[fleqn]{mathtools}  \newenvironment{solution}{%  &lt;-Solution   \par\addvspace{1em}   \itshape{Solution:}\par\begin{gather}}   {\end{gather}\par\normalfont\hfill\qed\par\addvspace{\medskipamount}}%  \begin{document}   \begin{gather}     testing   \end{gather}    %% This does not work:   \begin{solution}     testing   \end{solution} \end{document} I need to get UTF-8 working in my Java webapp (servlets + JSP, no framework used) to support äöå etc. for regular Finnish text and Cyrillic alphabets like ЦжФ for special cases.  My setup is the following:   Development environment: Windows XP Production environment: Debian   Database used: MySQL 5.x  Users mainly use Firefox2 but also Opera 9.x, FF3, IE7 and Google Chrome are used to access the site.  How to achieve this? Salesforce REST API authentication? I feel like this should be really easy to do, but I can't find anything about it on the web. Is there a way, through either javascript or a java web servlet, to skip the subsequent authentication?  We are trying to use the REST Api in production, but the problem is, that each time you refresh the page in javascript, or delete the cookies in java, you have to login again to salesforce.  Is there some way to do an ajax call or the login in the background or whatever, so that you can have your application connecting to salesforce right away? I just installed Ubuntu 14.04 on a Dell laptop with 1.7Ghz Pentium M and 1Gbyte memory.  Graphics are Intel® 852GM/855GM x86/MMX/SSE2, OS type is 32bit.  The whole system is VERY slow. When I launch the applications manager, for example, I need to wait in order to see the letters I typed appear!  It is as if the CPU was overloaded and no memory available, but I only have Firefox running.  How can I make the system run smoother? It used to have Windows XP installed and it worked fine. QGIS 3.4 : Add points to exact locations? I would like to add several coordinates at specific British National Grid Easting and Northing values. I know this can be done by bringing in a .csv, but I want to know is there a way to manually enter the numbers in QGIS 3.4, and then the point moves to that location ? I've read that in QGIS 2.x there was a plugin called Numerical Vertex Editor that doesn't seem to exist for 3.x ? The link to the recommended job in the app brings you to a page with the text: Not Found    Looking at the link it seems like after changing the URL structure in Stack Overflow Jobs they have not been updated in the apps.  For the job in the screenshot this is the used URL in the app:    The correct URL is: How many of Trelawney's prophecies have come true? Can a Paladin take levels of other classes? In 3.5 D&amp;D,  have severe restrictions on multiclassing:     Like a member of any other class, a paladin may be a multiclass character, but multiclass paladins face a special restriction. A paladin who gains a level in any class other than paladin may never again raise her paladin level, though she retains all her paladin abilities.   Because Pathfinder is based on 3.5 D&amp;D, do Pathfinder paladins face the same restriction? That is, if a Paladin multiclasses to say, a fighter, can she take another level of Paladin later on? Creating Indexes on DB with Hibernate @Index Annotation How to determine capacitance I’m looking to install a capacitor in a circuit which runs at 12V and &lt;10A, and I want it to discharge in about 3 seconds.   The discharge voltage isn’t too important, but it’s probably best if it is as high as possible (not higher than 12V if that is even possible) for those 3 seconds.  The discharge time can be longer but probably should have an absolute minimum of 1.5 seconds.   Sorry if this sounds like gibberish. If I'm not giving enough info, please let me know what else i need to provide. I’m not an electrical guy; just working on a project and have no clue what I'm doing.