Practical One Time Pad Based on Diminished Rate of Random Number Exhaustion
Do any (non-hardware) RNGs exist which could be used to create an OTP for crypto purposes?
I have a .NET 2.0 WinForms application with a ToolStrip on my main form. Sometimes, the ToolStrip icons don't respond to the first mouse click, so I have to click the icon twice. It's just a standard ToolStrip with several icons and tooltip texts, I don't do anything special. Is this common? Do there exist two primes $p<q$ such that $p^n-1\mid q^n-1$ for infinitely many $n$? We can prove that there is no integer $n&gt;1$ such that $2^n-1\mid 3^n-1$. This leads to the following question:     Is it true that for every pair of primes $p&lt;q$ there are only finitely many integers $n$ such that $p^n-1\mid q^n-1$? Are there two primes $p&lt;q$ and an integer $n&gt;p+q$ such that $p^n-1\mid q^n-1$?Is it true that if $n&gt;6$ then $2^n-1\nmid 5^n-1$?   Edit: Here are some examples: \begin{array}{ll} 2^{36}-1\mid 41^{36}-1, &amp;3^{12}-1\mid 97^{12}-1,\\ 5^{6}-1\mid 37^{6}-1, &amp;7^{4}-1\mid 151^{4}-1. \end{array}  Now I prove there is no integer $n&gt;1$ such that $2^n-1\mid 3^n-1.$  Proof: Denote $A=2^n-1$ and $B=3^n-1$. If $n$ is even then $3$ divides $A$ but not $B$, a contradiction.  If $n$ is odd then $A\equiv -5\pmod {12}$. Since every prime greater than $3$ is $\equiv \pm1,\pm5 \pmod {12}$, some prime factor $p$ of $A$ must be congruent to $\pm5 \pmod {12}$. As $p \mid B$, we have $3^{n+1}\equiv 3 \pmod p$. Since $n+1$ is even, we get $(\frac{3}{p})=1$, a contradiction again. How do I go about porting Ubuntu Touch to different devices? I would like to port Ubuntu Touch to a device that is currently not supported. What are the requirements for doing this and where do I begin? Java is the key here. I need to be able to delete files but users expect to be able to "undelete" from the recycle bin.  As far as I can tell this isn't possible.  Anyone know otherwise? What's the application extension? (aka .exe, .app, etc.) I'm new to Ubuntu. What's the application extension for development reasons? I know Windows is mainly .exe and Mac is .dmg or .app. Does Linux have an unique one? Rigorously proving equal tension on both ends There is always one point in introductory mechanics that has been continuously bothering me ever since I had taken my freshman physics course - Why does a massless rope have its tension equal on both ends?  I have been searching for a good explanation on various textbooks at different levels, but none of them provided me a satisfactory explanation. They either   State directly "we assume the string is massless and the pulley has no friction, therefore the tension must be the same throughout the string" without further any elaboration and continue the calculation, Claim without any reasons that "whenever the rope and the pulley are massless and frictionless, the tension will be the same on both sides", or Explain using a lot of hand-waving arguments regarding infinite acceleration, non-zero moment of inertia, etc. , in one line or two.   Although those hand-waving arguments of type $(3)$ do sound quite reasonable to me and will convince me for a while every time I review them. But after a while, I will start feeling not well about this whole tension concept again.  Therefore, I am looking for a rigorous (in the physicist's sense) proof of exactly why and when do the tension in rope will be uniform, and hopefully from that I can clean up all of my conceptual difficulties. I am currently working on an update of tkz-euclide and new documentation but I just met the following problem. If I compile this code with pdflatex or lualatex and pgf 2.1 (The library babel does not exist with pgf 2.1) then the code compiles fine but with 3.0 pgf I must comment on the call \usetikzlibrary{babel} (pgf doc gives so I recommend to always load this library by saying \usetikzlibrary{babel}).  I'd like to know where the error occurred. Especially I would like to work around this problem.   With \usetikzlibrary{babel} I get the error Latex Error: ./untitled 2.tex:46 Undefined control sequence. l.1 \tkz@line@start  Bug in babel, bug in tikzlibrary{babel} bug in my code. I would like to keep  \usetikzlibrary{babel} but to avoid the error.  %!TEX TS-program = pdflatex \documentclass[a4paper]{article} \usepackage[french]{babel} \usepackage{tikz}  \usetikzlibrary{calc} %\usetikzlibrary{babel}  \makeatletter \pgfkeys{%     tkzdrawline/.cd,     start/.code         =  {\gdef\tkz@line@start{#1}},%     end/.code           =  {\gdef\tkz@line@end{#1}},%     start style/.code   =  {\tikzset{tkzstartstyle/.style={#1}}},%     end style/.code     =  {\tikzset{tkzendstyle/.style={#1}}},%    /tkzdrawline/.unknown/.code ={\let\searchname=\pgfkeyscurrentname\pgfkeysalso{%                          \searchname/.try=#1,/tikz/\searchname/.retry=#1}}}  %&lt;--------------------------------------------------------------–&gt; %                              Draw line %&lt;--------------------------------------------------------------–&gt; \pgfkeys{tkzdrawline/.cd, start/.code       =  {\def\tkz@line@start{#1}},% end/.code         =  {\def\tkz@line@end{#1}}, start style/.code =  {\tikzset{tkzstartstyle/.style={#1}}}, end style/.code   =  {\tikzset{tkzendstyle/.style={#1}}},   /tkzdrawline/.unknown/.code   = {\let\searchname=\pgfkeyscurrentname                                  \pgfkeysalso{\searchname/.try=#1,                                 /tikz/\searchname/.retry=#1}}}%         %&lt;--------------------------------------------------------------–&gt;  \def\tkzDrawLine{\pgfutil@ifnextchar[{\tkz@DrawLine}{%                                   \tkz@DrawLine[]}}%   \def\tkz@DrawLine[#1](#2,#3){%  \begingroup   \pgfkeys{tkzdrawline/.cd,start = {}, end = {}, start style={}, end style={},}   \pgfqkeys{/tkzdrawline}{#1}   \draw[ /tkzdrawline/.cd,#1] (#2) to%     node [at start,left,/tkzdrawline/.cd,tkzstartstyle] {\tkz@line@start}%     node [at end,right,/tkzdrawline/.cd,tkzendstyle] {\tkz@line@end} (#3);  \endgroup  }%   \makeatother   \begin{document}    \begin{tikzpicture}      \node (A) at (0,1) {};       \node (B) at (5,2) {};       \tkzDrawLine[end = {$\alpha$}](A,B)       \end{tikzpicture}  \end{document} This is more of a panic question after reading reviews on Istanbul Atatürk Airport. They said it's messy and hard to navigate, therefore I'm asking questions here in name of my girlfriend who will need to transit through this airport.  My girlfriend (Canadian national) traveling from Toronto (YYZ) to Istanbul (IST) for a couple hours (~4 hrs, so transiting) in order to come to Pristina (PRN). I would like a quick guideline on how to pass through this airport seamlessly without facing any trouble or delay.  Her tickets are both with Turkish Airlines. She purchased it via a third party (Flighthub.ca). It's only one booking and it includes both flights in it.   Once my girlfriend departs, she's obviously required to follow the signs and go to the transit area. Once she's there, will she be required to present a ticket? Where does she get that ticket? Does she get it in YYZ or does she need to visit a counter in IST and get it? After she's got the proper ticket, what does she need to do exactly? Wait in line to have her passport checked? Will they also control her carryon?  After this step, does she simply go to the PRN flight gate and that's it?   We're simply worried about Istanbul Atatürk Airport because of the recent things that happened in Turkey (coup attempt and ISIS attack) and she doesn't wanna somehow end up locked up there. I've read that the airport is a mess lately and a lot of people will be there waiting in line. So, another question: Are 4 hours enough?  I would appreciate a step by step guideline on how she needs to navigate and what she needs to do in that airport to have a smooth experience without facing any delays. Also some misc information on Istanbul Atatürk Airport would be appreciated. I have a lot of filesystems:   / on a PCI-E SSD swap on a SATA SSD /media/ned is a RAID5 array /tmp lives on RAM Parts of /home/oli are symlinked and bind-mounted in from ned I also have /media/jeff/ which is RAID1 that I store backups and bind-mount ~/.wine in off.   It's actually a lot more complicated than that. There are all sorts of extra symlinks that I need to untangle in the long run but for now I just need a nice way of taking a path and finding out where it physically lives. Why is it not possible to overload class templates? Plural or singular verb for collective term IndentationError: unindent does not match any outer indentation level When I compile the Python code below, I get      IndentationError: unindent does not match any outer indentation level     import sys  def Factorial(n): # Return factorial     result = 1     for i in range (1,n):         result = result * i     print "factorial is ",result     return result   Why? Inequality involving the sup of a function and its first and second derivatives Let $f:\mathbb{R} \to \mathbb{R}$ be a twice differentiable function. And let  $$\eqalign{   &amp; M_0  = \sup \left|f(x)\right|  \cr                &amp; M_1  = \sup \left|\frac{d}{dx} f(x) \right|  \cr                &amp; M_2  = \sup \left|\frac{d^2}{dx^2} f(x) \right| \cr }$$ Prove that  $$M_1 ^2  \leqslant 4M_0 M_2$$ I can not think how I can relate these values ​​in some inequality )= It seems that in the words Englishman, Frenchman, and Scotsman, the ‑man part is pronounced /mən/ (just like in Roman).  Whereas in snowman, the ‑man part is pronounced /mæn/ (just like in no man).  Why is it that when ‑man is appended to snow‑ to make snowman, the pronunciation of the man part doesn’t change?    Wouldn’t it logically follow for it to be pronounced /ˈsnowmən/ not /ˈsnowˌmæn/? I'm trying to find a discontinuous linear functional into $\mathbb{R}$ as a prep question for a test. I know that I need an infinite-dimensional Vector Space. Since $\ell_2$ is infinite-dimensional, there must exist a linear functional from $\ell_2$ into $\mathbb{R}$. However, I'm having trouble actually coming up with it.   I believe I'm supposed to find an unbounded function (although I'm not sure why an unbounded function is necessarily not continuous; some light in that regard would be appreciated too), so I thought of using the vectors $e^i$, which have all entries equal to zero, except for the $i$-th one. Then, you can define $f(e^i)=i$.  That'd be unbounded, but I'm not sure if it'd be linear, and even if it is, I'm not sure how to define it for all the other vectors in $\ell_2$.   A friend mentioned that at some point the question of whether the set $E=\{e^i:i\in\mathbb{Z}^+\}$ is a basis would come up, but I'm not sure what a basis has to do with continuity of $f$.   I'm just learning this topic for the first time, so bear with me please.   The space of sequences that are eventually zero (suggested by a few people) turned out to be exactly what I needed.  It also helped to cement the notions of Hamel basis, not continuous, etc. I see the  on the user page.  It seems to edit posts sometimes.  What is it? And why has it downvoted over 1800 times? See also: Inequality involving rearrangement: $ \sum_{i=1}^n |x_i - y_{\sigma(i)}| \ge \sum_{i=1}^n |x_i - y_i|. $ When I dock my Windows 7 laptop, I want it to prefer the wired ethernet connection over WiFi.  This is a pretty straightforward thing to do on my Mac - I just reorder my network preferences, and it "does the right thing." I just can't figure out how to achieve the same thing on my Win7 laptop.  So, when I'm docked, it connects to WiFi, and then fails to connect to servers on the local wired network. How do I fix this? Using single quote by curly braces in String.format in Dynamic SOQL I'm struggling to use String.format to replace a token with a value when the token is within single quotes:  Example:  String query = String.format('SELECT Id FROM Availability WHERE Person__c = \'{0}\'', personId);   String query is equal to:  SELECT Id FROM Availability WHERE Person__c = {0}   Rather than:  SELECT Id FROM Availability WHERE Person__c = '234567890' How does one know when to use a gerund or an infinitive?