Rewriting SQL to LINQ
How can you handle an IN sub-query with LINQ to SQL?
LibreOffice toolbar icons went blank after application hanged top command in cygwin? I am starting to use Cygwin(64) on my Windows 8 laptop, however, the top command is not recognized. I have read online that I need to get the procps package, but it is not available on the 'Cygwin Setup' package selections. How should I go about installing the procps package so that I can use top?  ps. for whatever reason ps and kill both work so I would think top would be included in whatever package allowed those guys to work, but there is no top command. Creating or referencing variables dynamically in Sass Apparently I cannot count. I think there are three files in /media  $ tree /media /media ├── foo ├── onex └── zanna 3 directories, 0 files   However, ls -l finds 12.  $ ls -l /media total 12 drwxr-xr-x  2 root root 4096 Jul 31 20:57 foo drwxrwxr-x  2 root root 4096 Jun 26 06:36 onex drwxr-x---+ 2 root root 4096 Aug  7 21:17 zanna   And, if I do ls -la I get only . and .. in addition to the above, but the count is total 20  What's the explanation? Prove that $ S=\{0\}\cup\left(\bigcup_{n=0}^{\infty} \{\frac{1}{n}\}\right)$ is a compact set in $\mathbb{R}$. SQL Server 2012 Page Life Expectancy resets to 0 after about 50 days I've noticed an odd behavior on a 2-server HA cluster and I was hoping someone could confirm my suspicion, or maybe offer some other explanation... Here is my setup:   A 2-server SQL 2012 SP1 installation SQL AlwaysOn HA has been enabled for a few databases CPUs are 2.4GHz, 4 cores RAM is 34 GB (it is an AWS instance, hence the odd number) Resource utilization is relatively low - each server has 14+ GB memory free, and SQL is not capped on how much memory to use Disk access time is fine - rarely going over 15ms/Read or Write Databases are not big - 1 GB, 1.5 GB, 7.5 GB SQL server process is using 16 GB Private Bytes, 15 GB Working Set   Overall, no resource issues are noted. Now for the odd part. SQL is not restarted (process has been running for almost 6 months) but it seems that every ~50 days, the Page Life Expectancy counter drops to (almost) 0. Up until that point it climbs steadily, no drops. Here is a perf graph:    When I look at the counter data (I don't have the exact number, just an hourly aggregation) it seems the PLE counter value reached about 4,295,000 sec (roughly 50 days) every time (at least every time I have data for).   My crazy theory is that the PLE number is held as milliseconds as an unsigned long int (which has a limit of 4,294,967,295) and at 49.71 days it resets, either by design, or because of a bug. This would explain the behavior of the two servers and the identical pattern they have. Or it could be something totally different and I am just not making any sense. :)  Has anyone seen anything like that, or can explain this behavior?  P.S. I saw  post, but my case seems slightly different.  P.P.S. This is a repost - I originally posted it , but was advised the audience here is more appropriate.  Thanks! Should I have separate threads for rendering and logic, or even more?  I'm aware of the immense performance drop caused by data synchronization (let alone any mutex locks).  I've been thinking of taking this to the extreme and doing threads for conceivable every conceivable subsystem. But I'm worried that may slow things too. (For example, is it sane to separate the input thread from rendering or game logic threads?) Would the data synchronization required make it pointless or even slower? Why am I getting 50V at a light when the switch is off? Let $k^p = k$, $K = k(x)$ and $F = k(u)$ for some $u \in K$. Show that $K/F$ is separable $\iff u \not\in K^p$. Let $K$ be the rational function field $k(x)$ over a perfect field $k$ of   characteristic $p &gt; 0$. Let $F = k(u)$ for some $u\in K$, and write   $u = f(x)/g(x)$ with $f$ and $g$ relatively prime. Show that $K/F$ is   a separable extension if and only if $u\notin K^p$.   There is already a post on this but it has not yet been answered :   The truth is that I am very confused with this problem, I would like someone please help me to understand what happens with this exercise and explain to me how it could be done by giving me a help or something. I already have an approach for the left-to-right implication, but I do not know very well how good it is. Could someone help me with the other implication please? Thank you very much. Did Luke attempt to retake the Jedi Temple on Coruscant? After the New Republic gains control of Coruscant through the Galactic Concordance, did Luke Skywalker attempt to reclaim (or even visit) the former and still very much intact Jedi Temple, now converted to be the deceased Emperor's palace?   If Luke is so insistent on saving a tree just because it belongs to the Jedi and the Empire stole it, then shouldn't reclaiming the Jedi Temple be even higher priority?  If he did, is he aware of the Sith shrine beneath it? Which is something even Yoda does not know. And if he didn't, why didn't he? How to rig a shirt with buttons so that the buttons follow the mesh of the shirt I didn't address this in a while because I was busy with something else, but now it has cycled back into my schedule.  Right now I have a shirt modeled and bones set in place. It's already technically rigged, but the only issue is the buttons.   I'm not entirely sure how to go about connecting them to the shirt's deformations. I tried to combine them and the shirt into one object, but because of the shirt's modifiers, (Solidify and subsurf, which I don't want to apply yet), the buttons become extremely deformed. I've tried to match the weight painting intensity where a button is at in correspondence with the shirt, but that doesn't seem to work, maybe it has to do with the specifics of where the button is?   Is there a way to make the buttons follow the shirt's deformations without deforming the mesh vertices of the button? I know that if I probably apply the modifiers on the shirt and combine it with the buttons, it would be okay, but I'm not okay with doing that just yet with the shirt.    I rigged the shirt by deleting all vertex groups, assigning empty groups to the mesh from the armature, and then assigned automatic groups in the weight paint menu.  Is there a way to do this? How do I move my website to a new server without interruption to email? I wanted to apply texture on some house following an tutorial, I'm sure I did all what was needed but still don't see the texture.  Here's a screenshot: deleting windows system folder Consider the following code:   0.1 + 0.2 == 0.3  -&gt;  false   0.1 + 0.2         -&gt;  0.30000000000000004   Why do these inaccuracies happen? What is the standard error of the sample standard deviation? I read from  that the standard error of the sample variance is  $$SE_{s^2} = \sqrt{\frac{2 \sigma^4}{N-1}}$$  What is the standard error of the sample standard deviation?  I'd be tempted to guess and say that $SE_{s} = \sqrt{SE_{s^2}}$ but I am not sure. What is the Killing form of $\mathfrak{gl}_{m}$? Consider the Killing form of the Lie algebra $\mathfrak{gl}_{m}$. Then $\{e_{ij}\}$ is a basis for this Lie algebra where $e_{ij}$ is a matrix with 1 in the $i$th row, $j$th column and 0 everywhere else. Then every $A = (a_{ij}) \in \mathfrak{gl}_{m}$ can be written as $A = \sum_{i, j = 1}^{m}a_{ij}e_{ij}$. Since $[e_{ij}, e_{kl}] = \delta_{jk}e_{il}-\delta_{li}e_{kj}$, we have $ad(a)e_{ij} = \sum_{kl}(a_{ki}\delta_{lj} -a_{jl}\delta_{ki})e_{kl}$. From this we have $$ad(a)ad(b)e_{ij} = \sum_{k, r, s}(a_{rk}b_{ki}\delta_{sj} + a_{ks}b_{jk}\delta_{ri} - a_{ri}b_{jk}\delta_{sk} - a_{js}b_{ki}\delta_{rk})e_{rs}.$$ From this how can I see that the Killing form is $2m tr(ab) - 2tr(a)tr(b)$. I know that the Killing form is just the trace of the above centered equation, but I seem to be getting confused with all the indices. You can't see the question owner's special color When the owner of a question comments on their question or an answer to their question or self-answers their question, they get a special color for the box around their username.  The problem is, you can't see the box:        Can you please make this not white on white? I am compiling a program which requires boost-thread-mt library. I have installed libboost-all-dev using sudo apt-get install libboost-all-dev but compiler says that it cannot find boost-thread-mt library. Is this library in some other package? Please guide me what i need to install for this. System.FinalException: Record is read-only: Trigger.updateCompetitors: line 24