R: loss of precision when POSIXct binding with datetime (sql server)
Odd behavor with POSIXct/POSIXlt and subsecond accuracy
I stumbled upon this "relation" (is the name correct?):  $$ \lim_{m \to \infty} \lim_{n \to \infty} \cos^{2n}(m! \pi x) = \begin{cases} 1,&amp;x\text{ is rational}\\ 0,&amp;x\text{ is irrational}\end{cases} $$  How is it called and why is it so? I'm really not asking for a proof since I fear it would be too complicated for me to understand, but rather for an "intuition". First time I've used cycles rendering engine.  I'm using a movie clip as the background in short animation. Selected RBGA under Property Tab, and Transparent under Film Tab.  It looks good and individual frames in OpenGL active viewport render, and looks fine.  When I try to get it to spit out PNG files of the finished animation the objects render out fine, except no movie clip background as Blender Render engine did when using Paper Sky setting.  Operator error, or am I trying to do something Cycles won't do?  Haven't found an answer in my searches so far.  Can anyone point me in the right direction please.   Addition:  I think I found my problem after a couple more hours of research.  Post should read "operator ignorance" instead of operator error.  Too tired to try the solution tonight, everything looks better in the morning. Thanks anyway.  Sorry, I just saw your posts.  Really tired.  Much appreciation. PCIe Bus error severity=Corrected I have a new HP Pavilion Gaming Notebook and a new installation of Ubuntu 16.04. When I press Ctrl + Alt + F1 I go start seeing the errors shown in the following image and it doesn't allow me to interact with the console:    I also see these errors for a while everytime I boot. I need to do Ctrl + Alt + F1 to access a non graphical terminal to install some Nvidia drivers. What's going on?  What's causing the problem seems to be: 00:1c.5 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #6 [8086:a115] (rev f1)  jpiabrantes@joao:~$ lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM Registers [8086:1910] (rev 07) 00:01.0 PCI bridge [0604]: Intel Corporation Sky Lake PCIe Controller (x16) [8086:1901] (rev 07) 00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake Integrated Graphics [8086:191b] (rev 06) 00:04.0 Signal processing controller [1180]: Intel Corporation Skylake Processor Thermal Subsystem [8086:1903] (rev 07) 00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31) 00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Thermal subsystem [8086:a131] (rev 31) 00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31) 00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] [8086:a103] (rev 31) 00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #5 [8086:a114] (rev f1) 00:1c.5 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #6 [8086:a115] (rev f1) 00:1c.6 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #7 [8086:a116] (rev f1) 00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a14e] (rev 31) 00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31) 00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31) 00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31) 01:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 950M] [10de:139a] (rev a2) 07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01) 08:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723] 09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 0a) Minimal and characteristic polynomial have same set of irreducible factors Let $V$ be a vector space over a field $F$ (not necessarily algebraically closed), and $T:V\rightarrow W$ be a $F$-linear map. If $c(T)$ and $m(T)$ denote the characteristic and minimal polynomial respectively, then I want to show that $c(T)$ and $m(T)$ have the same set of irreducible factors.  I know that the claim is true if $F$ is algebraically closed, because then the two polynomials have the same roots. The typical reasoning one gives when $F$ is not algebraically closed is: Take an algebraic closure of $F$, say $K$, and look at $m(T)$ and $c(T)$ in $K$ to conclude the proof. But as far as I know, the proof that any root of $c(T)$ is a root of $m(T)$ requires the fact that $V$ is a $K$-vector space. But we only know that $V$ is an $F$-vector space. I can't understand how to proceed after this. Product of Non-Disjoint Cycles I am trying to learn how to find the product of non-disjoint cycles, as you may have guessed from the title. I have the basic idea, but I do not understand it entirely.  I am trying to find $(1352)(256)$ and $(1634)(1352)$, multiplying from right to left.  Please give me some hints/suggestions.  Thank you. Profitable strategy in coin tossing? There is a coin with a probability $p$ of heads, and $1-p$ of tails. Tosses are independent of each other. When you bet an amount of money $x$, you receive $2x$ if it lands heads, and you lose what you bet if it lands tails.  We are going to use the following strategy:  You start betting an initial amount $x_0$. Every time you lose, you bet twice what you bet in the previous throw. You keep doing this, until you win, at which point you retire, or start again, betting $x_0$.  The interesting case of course is when $p &lt; 0.5$.  The question is: How profitable is this strategy? Intuitively I feel that eventually I can always win an arbitrarily large amount of money. But that can't be entirely right ("the house always wins!"). So what am I missing here? What's the expected win in each run?  Also, does this sort of strategy have a name in the literature?  P.S.: Found this later, Error: The processing instruction target matching "[xX][mM][lL]" is not allowed Compute Engine - 1000 GB disk cant decrease size i have a huuuuge problem.  Created a snapshot and image from my instance...instance has 1000GB of disk.  Now i need to reduce it but everytime i try to create an image or a snapshot from that, i get the same error "Disk need to be at least 1000GB".  There is a way to reduce disk size directly on instance? Some workaround? How to move a visible file to a hidden folder? I've only been using Ubuntu for two weeks and have been able to find answers to any problem I had, however this one defies my searches.  I want to move a visible programme file (wallch) to a hidden directory ./config/autostart.  I have been able to enter this directory and the subject file is not there and I want to have this program start at bootup.  Can anyone assist?  Thanking you How to check who owns the Slack's workspace? I'd like to check who owns (or at least some kind of public profile page) some workspace based on its subdomain (e.g. xyz.slack.com).  Is it possible? What is this plastic chip packing material called? What pins on a nRF51822 do I connect to a STM32 programmer? I want to be able to program a  with  but I'm not sure what pins on the actual chip I should use, and all the guides seemed to be using a different chip What's a good SSH tunneling client for OS X? I've been using SSH Tunnel manager to easily set up and stop port tunneling over SSH to various servers at my company. That saved me the pain of opening up a new terminal window which will hang out there just for the sake of having a tunnel open.  This worked great (well , sort of) but SSH Tunnel Manager is a PowerPC application. With Lion, it is not supported any more.  What is a good replacement? Do descriptive statistics have p-values? How does Apple AppStore rank search results? Creating a Snapshot of a Windows 7 System Is there a way to create a snapshot of a Windows 7 system?  My goal is to be able to save the current state of my Windows 7 OS, on external storage, and be able to restore it on the same hardware in the future. Much like a snapshot on a virtual machine.   One solution would be to install two hard drives in RAID 1, then take one of them out an store it. Is there an easier solution? SC2272-M4 Behaviour when using relay SRD-05VDC-SL-C 5V DC I'm currently encountering a problem when using a relay switch with a 5v receiver. When using the same receiver with a row of LEDS it works flawlessly. I've noticed that the relay keeps making the switching noise over and over like I'm pressing the transmitter really fast apart from the fact I'm not. Also, when the transmitter is moved closer to the receiver from 20" to around 1" the problem stops. Below is some circuits to help show you my setup.  Any help appreciated thanks.  Setup Specs   USB 5v DC (2AMPS) Receiver (XY-DJM-5V - SC2272-M4) Relay (SRD-05VDC-SL-C 5V DC) Transmitter (XY-04) Diode (1N4001) Transistor (2N2222A) Resistor (1.8K Ohms)          &ndash; Schematic created using   Antenna Signal Workaround or Booster  I believe this issue is related to wireless signal on D0. Basically above 20" inches the output to the relay drops from 5.05v to 0.5v and is obviously causing the problem. I think I need to boost the signal or replace the transistor with something that triggers at low and high current but have no clue. Any help appreciated, I'm new at this.  Board Setup New passport and entrance Schengen I am from Brazil and travel a lot in Schengen countries. Under the rules of Schengen visa (3 months stay in a 6 months period). In my passport are the entrance and exit stamps, also to chec the days I stay in Schengen.  I need a new passport and will get this in Brazil. So in this new passport are NOT the stamps. Does this mean I start new with the Schengen visa rule? I seems like. The new passport is empty. Or do I miss something? It would be great because I am almost on my 90 days stay in the period of 180 days. Is there such a thing as a restore point in Ubuntu? Windows has this. Basically what I want is to record the state of the system either manually or periodically and then restore to that point if required. For example, before upgrading the distribution, or before installing a certain package.  What would be the easiest way to do this? Countable or uncountable; family of disjoint triangles? If we say that $\mathcal{S}$ is a family of disjoint triangles on a plane, is $\mathcal{S}$ a countable or an uncountable set?  I believe that it is an uncountable set since $\mathbb{R}$ is uncountable and our triangles' corner coordinates are $\in \mathbb{R}$, but I cannot prove this formally, any tip would help.