text stringlengths 23 30.4k | embeddings_A list | embeddings_B list |
|---|---|---|
First, recall how to write scattering amplitudes in covariant fashion in Minkowskian QED. One starts by considering some process with an external photon whose momentum is chosen to be $k^\mu=(k,0,0,k)$ and let the two transverse polarization vectors be $\epsilon^\mu_1=(0,1,0,0)$ and $\epsilon_2^\mu=(0,0,1,0)$. The Ward identity tell us that if the amplitude for the process is $\mathcal M=\mathcal M^\mu \epsilon_\mu(k)$, where we've factored out the polarization vector for the external photon in consideration, then the amplitude obeys $\mathcal M^\mu k_\mu=0$, on shell. With our setup, this simply tells us $\mathcal M^0=\mathcal M^3$. If we then calculate the square of the amplitude and sum over the physical external polarizations we'd find $|\mathcal M|^2=\sum_{i\in\\{1,2\\}}\epsilon_{i\mu}\epsilon_{i\nu}^*\mathcal M^μ\mathcal M^{ν*}=|\mathcal M^1|^2+|\mathcal M^2|^2$. Due to the Ward identity, this is equal to $−\eta_{\mu\nu}\mathcal M^\mu\mathcal M^\nu$, with $\eta_{\mu\nu}={\rm diag}(1,-1,-1,-1)$, and so we can make the replacement $\sum_{i\in\\{1,2\\}}\epsilon_{i\mu}\epsilon_{i\nu}^*\to-\eta_{\mu\nu}$ and so it's the Ward identity which allows us to write scattering amplitudes covariantly. How does this generalize to the Euclidean case where the metric is $\delta_{\mu\nu}={\rm diag}(1,1,1,1)$? Naively, we need the non-Euclidean signature in order to reproduce the cancellation between the manifestly positive squares of matrix elements as found above so how does this procedure generalize to the Euclidean case? That is, if the true scattering amplitude in the Euclidean case is still $|\mathcal M^1|^2+|\mathcal M^2|^2$ then it seems that this can't be equivalent to $\delta_{\mu\nu}\mathcal M^\mu\mathcal M^{\nu *}$ for any Ward identity type relations between the $\mathcal M^\mu$'s and so it wouldn't be possible to write the scattering amplitude in a manifestly covariant fashion. What's going on? Am I missing something obvious? Do the photon's degrees of freedom change when going to Euclidean space or something? | [
0.01610153168439865,
0.013138661161065102,
0.0037654004991054535,
0.016750361770391464,
-0.014496030285954475,
-0.026044048368930817,
0.009037554264068604,
0.0031609851866960526,
-0.008705557323992252,
0.003494787961244583,
-0.007219548337161541,
0.011605615727603436,
-0.035630397498607635,
... | [
-0.05290776863694191,
-0.4892618656158447,
0.5839458703994751,
-0.2601071894168854,
-0.3248119354248047,
0.1750059276819229,
-0.016748307272791862,
-0.5645416975021362,
-0.23143930733203888,
-0.7422301769256592,
0.07707253098487854,
0.44408851861953735,
-0.29717159271240234,
0.503039658069... |
It maby be weird, I want to make header and footer for every page including the first page of each chapter, how can I do this? | [
0.03800740838050842,
0.05880042538046837,
-0.008120621554553509,
0.028941046446561813,
0.016180098056793213,
0.020667918026447296,
0.010870636440813541,
0.023070331662893295,
-0.03494177758693695,
-0.002236186293885112,
-0.011746854521334171,
0.027836322784423828,
0.007477134931832552,
-0.... | [
0.2771400809288025,
0.23225337266921997,
0.24435272812843323,
0.3261810839176178,
0.019552776589989662,
-0.3264921009540558,
0.36314094066619873,
0.2320501059293747,
-0.027191732078790665,
-0.1129990667104721,
0.3756481111049652,
0.054420214146375656,
-0.12090586870908737,
0.39407637715339... |
I just saw a great clip on the fastest skateboarder to date. He wants to reach 160 mph from a dropped board, but says his speed is limited by the roads currently available. What is the shortest run required for a "dropped skateboard" rider to reach 160 mph? Is it even possible? | [
-0.031159572303295135,
0.018791060894727707,
-0.03794506564736366,
0.0187979843467474,
0.0019311761716380715,
-0.025240501388907433,
0.009882788173854351,
-0.01784886047244072,
-0.0367300771176815,
-0.021090306341648102,
0.01589338295161724,
0.036686643958091736,
0.04189147800207138,
0.028... | [
0.8938316702842712,
-0.05973821133375168,
0.25896647572517395,
0.450137734413147,
0.3334082365036011,
-0.18364475667476654,
0.1809605062007904,
0.38179415464401245,
-0.5618473887443542,
-0.19049134850502014,
0.8946402072906494,
0.09602932631969452,
-0.02490532025694847,
-0.3969928622245788... |
Consider the following model for $Y_t$: $\Delta$log($Y_t)$ = $\beta_0$ + $\beta_1$$\Delta$$log(X_t)$ + $u_t$ where $u_t$ ~ IID Normal(0,$\sigma^2$). I want a forecast for $Y_{T+1}$. Thus, I need a mathematical formula for $E(Y_{T+1}|\Omega_T)$. After some algebra we have: $log(Y_{T+1}) = log(Y_T) + \beta_0 + \beta_1 log(X_{T+1}) - \beta_1 log(X_T) + u_{T+1}$ Taking exponentionals of both sides, $Y_{T+1} = Y_T e^{\beta_0} {X^{\beta_1}_{T+1}} {X^{-\beta_1}_T} e^{u_{T+1}}$ Then take conditional expectations of both sides with respect to the time $T$ information set: $E(Y_{T+1}|\Omega_T)$ = $Y_T e^{\beta_0}X_T^{-\beta_1}E({X^{-\beta_1}_{T+1}}e^{u_{T+1}}|\Omega_T)$. Where do I go from here? What assumptions, if any, do I need to make to chug out a formula for $E(Y_{T+1}|\Omega_T)$. FYI I am currently using EViews to produce some forecasts. I just want everything to be mathematically sound. Any suggestions regarding how I should produce a forecast for $Y_{T+1}$? I should note that I have forecasts for $X_t$, $t >T$. Thank you. Christian | [
-0.0026459957007318735,
0.016357509419322014,
-0.010130882263183594,
-0.0028755837120115757,
-0.010208843275904655,
0.0016898596659302711,
0.005386033095419407,
0.008542673662304878,
-0.0062234364449977875,
-0.022034434601664543,
-0.007240417879074812,
0.006601007655262947,
-0.02292190492153... | [
-0.19009506702423096,
-0.2931939363479614,
0.45544371008872986,
-0.35065358877182007,
0.2606929540634155,
0.3066384792327881,
0.06731107085943222,
-0.0850055068731308,
-0.02606055699288845,
-0.632063627243042,
0.042798206210136414,
0.5970774292945862,
-0.5115467309951782,
0.119124352931976... |
does anyone know of some reasources to learn more about Spatial Analyst and raster analysis? I'd like to sharpen up for some job stuff, but I'd like to find some resources to practice on. Thanks. | [
0.031965937465429306,
0.00979745201766491,
0.006199106108397245,
0.0164775513112545,
0.017013749107718468,
0.01210890430957079,
0.007454835344105959,
-0.014053206890821457,
-0.030768319964408875,
0.018607741221785545,
0.0233132466673851,
0.021895943209528923,
-0.0012357602827250957,
-0.019... | [
0.6221513152122498,
0.1525576114654541,
0.02304627187550068,
0.2580045461654663,
0.01319657638669014,
-0.041012953966856,
0.4379950761795044,
0.8773487210273743,
-0.02189779095351696,
-0.4442524313926697,
0.1917428970336914,
0.29403018951416016,
0.40649116039276123,
-0.10549475252628326,
... |
The oceans are becoming less viscous as they are heated. I'd imagine a similar effect is likely occurring in the atmosphere as well. What, if any, effect would this reduction of viscosity have on aeroplanes? Would they be more efficient and use less fuel? | [
0.018018314614892006,
0.04423322528600693,
0.004448635969310999,
0.04025166854262352,
0.007831336930394173,
-0.02728230506181717,
0.0088643254712224,
-0.01161388959735632,
-0.02309238538146019,
-0.002236676635220647,
0.01193932630121708,
0.04590336233377457,
-0.020263295620679855,
0.010694... | [
0.3628879189491272,
0.0595204159617424,
0.48515206575393677,
0.47340792417526245,
0.16841675341129303,
-0.3809898793697357,
-0.11368698626756668,
0.395947128534317,
-0.37196826934814453,
-0.6513504981994629,
0.20710107684135437,
0.004350693896412849,
-0.15065522491931915,
0.765870749950408... |
One distinction between `knitr` and `Sweave` is that the former forcibly inserts two empty lines in the generated TeX source for chunks that do not do any output. I'm not sure if this issue is a bug or a feature, but for now I'm looking for a workaround. The problem can be summarized as follows: `.Rnw` code like a <<q,echo=FALSE,results='hide'>>= getwd() @ b produces LaTeX code like a b where the space between `a` and `b` is not always desired. The best workaround that I found so far is to write a\q{ <<q,echo=FALSE,results='hide'>>= getwd() @ }b and define `\q` as a one-parameter command that expands to a single space. Is there a shorter way to achieve a similar result, perhaps without using braces and without affecting the line that starts with `b`? **ADDED** : Is there a way to assign to a special character, say, `§`, the semantics of this command, so that the following will work: a § <<q,echo=FALSE,results='hide'>>= getwd() @ b (Of course, a `knitr` way to achieve this would be most welcome, too.) This answer seems related, but I haven't been able to get the `\eatpar` command to work. Would it eat two empty lines, too? | [
0.0012229029089212418,
0.00858526211231947,
-0.0014362295623868704,
0.0183811504393816,
-0.015485109761357307,
0.017879799008369446,
0.006602580193430185,
-0.00904063694179058,
-0.01256776973605156,
0.037144847214221954,
-0.01167027186602354,
0.011586394160985947,
-0.012575384229421616,
-0... | [
0.5532691478729248,
0.022295551374554634,
-0.04840077459812164,
-0.4529157280921936,
-0.2271445095539093,
0.0009945501806214452,
0.7132329940795898,
-0.11221910268068314,
0.17155344784259796,
-0.5122997760772705,
0.1369747370481491,
0.592429518699646,
-0.41662171483039856,
0.28271269798278... |
I have a site that is pretending to be three sites. This is done by a series of conditional statements and page templates to make it look like the user is on a different site depending on their menu choice. The client wants it to remember the last 'site' the user was on so they are taken back there if they come back. For example, the three 'sites' are home, autos, advertising, so if the user was on the 'autos' part of the site, when they come back, they're taken back to autos. The three sites are in a menu that was created by the custom menus option under Appearance > Menus. I _think_ this question is the same thing I'm asking for, but the entire discussion and the tutorials posted are completely over my head. Doe anyone have the actual code I need to input and where? Or can point me to a tutorial to help me understand how to do it myself? Thanks much! | [
0.00989711843430996,
0.0069033922627568245,
-0.0010164709528908134,
0.017579061910510063,
0.006007012911140919,
0.017075281590223312,
0.008365580812096596,
-0.016460049897432327,
-0.010569220408797264,
0.018771540373563766,
-0.025237230584025383,
0.0010553357424214482,
0.00489072035998106,
... | [
0.6670510172843933,
0.15912091732025146,
0.642928957939148,
-0.11521850526332855,
0.1131356954574585,
0.21254315972328186,
0.008435730822384357,
-0.039653606712818146,
-0.001194051350466907,
-0.7182322144508362,
0.021962622180581093,
0.5056425929069519,
-0.14318498969078064,
0.344476699829... |
I want to make an table like this Here is my LaTeX code: \begin{table}[!htbp] \centering \caption{Comparison of all discussed Classifiers} \begin{tabular}{|> {\raggedright}p{1cm}|>{\raggedright}p{3cm}|>{\raggedright}p{5cm}|>{\raggedright}p{5cm}|} \hline 3. & Template Matching (TM) & Computed very simple and Need matching the template over the image & Rotation and Scalling variant \tabularnewline & & Easy change if there are a new classes of signs & \tabularnewline \hline \end{tabular} \label{Classifiers_Com} \end{table} I want to make the 3rd columm has a line to separate those sentences **"Computed very simple and Need matching the template over the image** " and **"Easy change if there are a new classes of signs"** How to do it?? | [
0.012353925965726376,
0.013403228484094143,
0.0018159954342991114,
0.008854190818965435,
0.018026933073997498,
0.013946618884801865,
0.0065794941037893295,
0.0033560662996023893,
-0.014434684999287128,
0.010182831436395645,
-0.006914571858942509,
-0.004521594382822514,
-0.0048505933955311775... | [
0.2334020435810089,
0.005929467733949423,
0.5791143774986267,
0.06641893088817596,
0.10190297663211823,
0.02875698357820511,
0.011518191546201706,
-0.23875276744365692,
-0.31026867032051086,
-0.7426358461380005,
0.19243089854717255,
0.3760451078414917,
-0.30435970425605774,
-0.056866828352... |
I saw a joke on facebook today where professor cat states: > There are two types of people in this world: Those who can extrapolate from > incomplete data My brother thinks that this really isn't extrapolation. M-W defines _extrapolate_ as: > to infer (values of a variable in an unobserved interval) from values in an > already observed interval. The joke seems to fit this definition, but I'm not convinced one way or the other. What do you think? Is there a better word for this kind of reasoning? | [
0.003462111810222268,
0.01303941197693348,
-0.009299811907112598,
0.01943107321858406,
-0.009194394573569298,
-0.01680280826985836,
0.008848708122968674,
-0.001371339662000537,
-0.01646658033132553,
0.015942329540848732,
0.0011573205702006817,
0.0011592861264944077,
0.0064691221341490746,
... | [
0.3435664474964142,
-0.006786704063415527,
0.05117850378155708,
0.20341019332408905,
-0.02987516112625599,
-0.016037190333008766,
0.4552578032016754,
-0.057194896042346954,
-0.33416125178337097,
-0.0805450826883316,
0.02057415433228016,
0.1716122031211853,
-0.18792308866977692,
0.341686278... |
What is the lowest level where lava in the lava oceans will go down to? | [
-0.017010333016514778,
0.08383367210626602,
-0.002120744902640581,
-0.01056757289916277,
0.0019632061012089252,
0.007763974368572235,
0.01638689823448658,
-0.06141401454806328,
-0.0141578558832407,
0.03705596178770065,
-0.05434802919626236,
0.06392394751310349,
-0.029417922720313072,
0.088... | [
0.20955845713615417,
0.24385032057762146,
0.22606505453586578,
0.3820168673992157,
0.24570387601852417,
-0.016557302325963974,
0.45829543471336365,
0.379271537065506,
-0.15885953605175018,
-0.1327631026506424,
0.3071582615375519,
0.045819129794836044,
-0.023758579045534134,
0.0167052093893... |
I'm working with someone who uses _noncompatible_ often in correspondence. The confusion may be due to English being a second language for them. I think they should be using _incompatible_ instead. Is that correct? > It is better to not show those user profiles to **noncompatible** > individuals. Does the answer change if we are talking about software? > It is better to not use software that is **noncompatible** with outdated > hardware. | [
0.002643641084432602,
0.0093527315184474,
-0.02176029235124588,
0.01219563651829958,
-0.03578644618391991,
-0.016773030161857605,
0.008867111057043076,
-0.002943478524684906,
-0.012331834062933922,
-0.032279182225465775,
-0.005078048445284367,
0.0044892895966768265,
-0.005511235445737839,
... | [
0.5528835654258728,
0.48628440499305725,
-0.11341779679059982,
0.082390196621418,
0.005740008316934109,
-0.10616431385278702,
0.34636735916137695,
0.06922639161348343,
0.08814264088869095,
-0.7015171647071838,
0.022223401814699173,
0.6371731162071228,
-0.12036702781915665,
0.04660246521234... |
> **Possible Duplicate:** > How to get SSE for predictions using SAS?  I'm trying to get the sum of squared errors for my predictions in SAS, but I'm not sure I'm doing it correctly. I'm not sure I fully understand the output I'm getting with my code (specifically, **stdp** ): data tridata; infile '\data.dat'; input x1 x2 x3 y; proc sort data = tridata; by x3; proc reg data = tridata; model y=x3; plot r. * x3; output out = tridata2 r = resid p = pred stdp = err; run; quit; /* Send your errors to a file */ data _NULL_; file '\data-err.dat'; set tridata2; put err; where y eq .; run; quit; This gives me a file of errors for each estimate. I imported these into Excel, squared each one, and summed them up to give me a number. Is this the correct method? Based on the description of my project, I was under the impression that I should get an SSE_test for each predicted value. See below:  | [
0.018321234732866287,
-0.006257474888116121,
-0.005188480019569397,
0.0144045390188694,
-0.007299872115254402,
0.013712923042476177,
0.005947135854512453,
-0.006855263374745846,
-0.01666482724249363,
-0.015424128621816635,
0.0018520238809287548,
-0.002512476872652769,
-0.02345595322549343,
... | [
0.2273617386817932,
0.15678825974464417,
0.1800006628036499,
0.03798295930027962,
-0.07136990875005722,
0.3422195613384247,
0.5366145372390747,
-0.34155163168907166,
-0.23202624917030334,
-0.9514068365097046,
0.06741639226675034,
0.3246781527996063,
-0.17830707132816315,
0.1109216585755348... |
When I finished Great Forest, I did not talk to Rigger and left and therefore I am missing the location of Riptide Reef. I tried to go back to all the island but could not find anyone that talked to can give me Riptide Reef, any help ? | [
0.03133409470319748,
0.004740693140774965,
-0.000678377749864012,
-0.011358404532074928,
0.03708123043179512,
0.002257059095427394,
0.010061635635793209,
0.029479006305336952,
-0.028824467211961746,
-0.0067562442272901535,
-0.014924515038728714,
0.020448267459869385,
-0.031497370451688766,
... | [
0.39863982796669006,
-0.2562944293022156,
-0.13134869933128357,
0.20009863376617432,
0.01933952234685421,
-0.18714335560798645,
0.1942535787820816,
0.38218042254447937,
-0.936647891998291,
-0.3293827474117279,
0.2731937766075134,
0.40759775042533875,
0.08426593989133835,
0.1999773383140564... |
I want to fuse Digital elevation Models extracted from Carto-1 satellite. I already extracted DEMs & tried few algorithms in Matlab. Unfortunately as they are not Georeferenced i am not getting accurate results. So is their any tool or model which can use for Georeferencing & fusing DEMs? | [
-0.029689479619264603,
0.005026245955377817,
-0.011579370126128197,
0.012058344669640064,
-0.011837118305265903,
-0.008404023014008999,
0.014839908108115196,
0.016136817634105682,
-0.02510928362607956,
-0.016642887145280838,
0.0055044288747012615,
0.015832876786589622,
-0.01717648096382618,
... | [
0.41973674297332764,
-0.01274035219103098,
0.12256692349910736,
0.28048038482666016,
0.04567855969071388,
0.06051691994071007,
-0.10258395224809647,
-0.1506553739309311,
-0.18460054695606232,
-0.4543865919113159,
0.24908888339996338,
0.4413999915122986,
-0.08629178255796432,
-0.08911559730... |
http://adambrown.info/p/wp_hooks/hook/plugin_action_links_%7B$plugin_file%7D Says the hook is deprecated. However, the {$prefix}plugin_action_hook_{$plugin_file} is not. I poked around the `wp- admin/includes/class-wp-plugins-list-table.php` file for the hook, and found this: $actions = apply_filters( $prefix . "plugin_action_links_$plugin_file", $actions, $plugin_file, $plugin_data, $context ); `$prefix` is defined a few lines above: $prefix = $screen->is_network ? 'network_admin_' : ''; Since I was able to get my add_filter call to `plugin_actions_row_{$plugin_file}` to work, I'm assuming the filter hook is still there. Well, sort of: the filter is still available as it's not a network admin screen. Correct? And one could use... add_filter( 'network_admin_plugin_action_links_{$plugin_file}', 'do_something' ) ...to put a link into the network's plugin screen? | [
-0.003452022559940815,
-0.0019442782504484057,
0.005380768794566393,
0.008910519070923328,
0.02126907743513584,
0.005461744964122772,
0.00799020379781723,
0.013405203819274902,
-0.016403179615736008,
0.025871947407722473,
-0.014564424753189087,
0.01206677220761776,
-0.0073560383170843124,
... | [
0.3518814444541931,
-0.11181792616844177,
0.4239408075809479,
-0.5375503897666931,
0.10424954444169998,
0.04354007914662361,
0.324720561504364,
-0.45529705286026,
-0.4448656141757965,
-0.16159853339195251,
-0.07306959480047226,
0.25052472949028015,
-0.5732303261756897,
-0.10376418381929398... |
I am trying to understand how to do the amortized cost for a dynamic table. Suppose we are using the accounting method. Let A of size m be an array of n elements. When n = m, then we create a new array of size 4m, and then copy the elements of A to the new array. When n = m/4, then you create a new array of size m/4, and copy the elements to that array. What I am confused about is how to calculate the costs. From what I know so far: Before the first expansion, you pay two dollars to insert. `1$` for the insert, and `1$` you just store with the element, so that you can use that later for a copy operation. Then when you expand it, you use that stored `$` to move the element to the new array. Now in the new array the elements won't have any `$` with them. But now as you insert a new element, you use `3$`. `1$` for the insert, then one more for itself (for a future copy), and one more for the previous element that was just copied. The problem here is, what if you have an array like this: `1$ 2$` Then insert an element `1$ 2 3$ _ _ _ _ _` Now how do you handle a delete operation? | [
-0.0011772243306040764,
0.010588985867798328,
-0.009639818221330643,
-0.001039610942825675,
0.003800078760832548,
-0.010962804779410362,
0.008107529021799564,
0.007839891128242016,
-0.011021341197192669,
0.007621300406754017,
0.003552719485014677,
0.0038864933885633945,
-0.018874183297157288... | [
0.3168337345123291,
0.056541334837675095,
0.12640812993049622,
-0.03983172029256821,
0.3018392026424408,
0.3659026324748993,
-0.10577297955751419,
-0.35274454951286316,
-0.45697349309921265,
-0.5918983221054077,
0.03670913353562355,
0.6910146474838257,
-0.6702679991722107,
0.37476637959480... |
What is correct name of texture and/or projection, which is suitable for 3D engines? I want to apply world map to 3D sphere, but a variety of images found by Google makes me thinks that some of them are incorrect. I imagine an image of size proportional to 360 x 180 (number of latitude and longitude degrees on the globe). What is the name of this projection? I don't see this projection here https://en.wikipedia.org/wiki/Map_projection because grid should be equi-quadri-lateral on it. | [
-0.007277286145836115,
0.012303713709115982,
-0.0044607543386518955,
0.013279588893055916,
0.0005962044233456254,
-0.011450055986642838,
0.008992459625005722,
-0.007269879337400198,
-0.016146432608366013,
-0.03729723021388054,
0.004086505621671677,
0.006774536799639463,
-0.005532735958695412... | [
0.010832615196704865,
-0.1446351855993271,
0.5520647764205933,
0.26188692450523376,
-0.18236367404460907,
0.19320735335350037,
-0.2607845664024353,
0.2988576889038086,
-0.443411648273468,
-0.7553650736808777,
0.306265652179718,
0.20172728598117828,
0.15799081325531006,
0.5259389281272888,
... |
I've installed Linux Mint 16 on a netbook I'm trying to pump more life into. I'm currently stuck with configuring the wireless as the computer uses a USB wireless adapter (rt5370 from Ralink) due to its own wireless interface being hard blocked (the fn key is broken). The connection is protected by WPA. I installed the linux driver and I'm able to scan for networks nearby. However, when I try to: $ wpa_supplicant -B -i ra0 -DWext -c /etc/wpa_supplicant.conf I get: ra0: Unsupported driver 'wext' I've tried different drivers and none of them work. I've also tried finding out what driver the wireless adapter uses (in theory it should be rt5370sta which is what I installed) to no avail. Tried lsusb, lspci -k and lsmod but none of them list the driver I need to be using. Does anyone know whether I'm asking the right question or if the problem lies somewhere else? I was confident this was it as `iwlist ra0` does work and `/etc/wpa_supplicant.conf` is configured as per the instructions over here: * https://www.linux.com/learn/tutorials/374514-control-wireless-on-the-linux-desktop-with-these-tools I tried wifi-radar, which gets stuck on the same issue (ends up completely unresponsive and I have to reboot computer in order to start it up again; killing the process doesn't work). Computer has no internet access but I can use Keryx to update or install packages. Any help with figuring this out in order to get the internet working is very much appreciated! | [
-0.0058743213303387165,
0.003519081976264715,
-0.008476508781313896,
0.006705401930958033,
-0.022242173552513123,
-0.0027745086699724197,
0.005855276249349117,
-0.010813737288117409,
-0.009926733560860157,
-0.002389920875430107,
-0.007902674376964569,
0.0011053616181015968,
-0.01362458057701... | [
0.04917393997311592,
0.27036747336387634,
0.03735029697418213,
-0.16369889676570892,
0.23746751248836517,
0.21447403728961945,
0.3405735492706299,
0.2278466522693634,
-0.038004469126462936,
-0.5312487483024597,
-0.12447724491357803,
0.7412964701652527,
-0.23561961948871613,
-0.022649820894... |
I have a matrix which doesn't include numerical values. There are four variables in it. It is defined by M1 = ({ {κ0 BesselJ[m, κ0 R], q BesselI[m, q*R], q1 BesselK[m, q1*R], q2 BesselK[m, q2*R]}, {((F1 /. L -> L1) - E1 + N1*κ0^2)*BesselJ[(m + 1), κ0*R], ((F1 /. L -> L1) - E1 - N1*q^2)*BesselI[(m + 1), q*R], -((F1 /. L -> L2) - E1 - N1*q1^2)*BesselK[(m + 1), q1*R], -((F1 /. L -> L2) - E1 - N1*q2^2)*BesselK[(m + 1), q2*R]}, {κ0^2 BesselJ[(m + 1), κ0*R], -q^2 BesselI[m + 1, q*R], q1^2 BesselK[(m + 1), q1*R], q2^2 BesselK[(m + 1), q2*R]}, {((F1 /. L -> L1) - E1 + N1*κ0^2) κ0*BesselJ[m, κ0*R], ((F1 /. L -> L1) - E1 - N1*q^2) q*BesselI[m, q*R], ((F1 /. L -> L2) - E1 - N1*q1^2) q1*BesselK[m, q1*R], ((F1 /. L -> L2) - E1 - N1*q2^2) q2*BesselK[m, q2*R]} }); Det[M1] = 0 I want to get the formula for E1 in terms of the other variables and constants. I used `Solve`, but it didn't work. Can anyone please help me? Really appreciated. | [
-0.003216174663975835,
0.016816945746541023,
-0.002801031805574894,
0.007976269349455833,
0.004679850302636623,
0.005999663844704628,
0.004209897480905056,
-0.017054405063390732,
-0.008607175201177597,
-0.009226950816810131,
-0.003540027653798461,
0.006318372208625078,
-0.021468987688422203,... | [
-0.21814210712909698,
0.3058561682701111,
0.5156417489051819,
-0.42783498764038086,
0.13165180385112762,
0.593106210231781,
0.33249631524086,
-0.6028388738632202,
0.21853506565093994,
-0.4736383855342865,
0.025183536112308502,
0.3416597545146942,
-0.316846638917923,
0.28544479608535767,
... |
I just starting to study GR and I could not prove the following: if I have to tensors $T_{\mu\nu}$ and $Q_{\mu\nu}$ such that $T_{\mu\nu}=Q_{\mu\nu}$, why can I multiply both sides of the equation by $g^{\mu\nu}$, i.e., why is valid $g^{\mu\nu}T_{\mu\nu}=g^{\mu\nu}Q_{\mu\nu}$? Why some authors call it "tracing the equation with $g^{\mu\nu}$"? | [
0.002400399185717106,
0.01137736439704895,
-0.005961705930531025,
0.018500667065382004,
-0.01580554060637951,
0.01673593558371067,
0.0063962386921048164,
-0.016886038705706596,
-0.010492635890841484,
-0.018305011093616486,
0.0008562770672142506,
0.014037059620022774,
-0.02804459258913994,
... | [
-0.22192949056625366,
0.041318442672491074,
0.49640265107154846,
-0.019170360639691353,
-0.39602577686309814,
0.4105865955352783,
-0.14286401867866516,
-0.3444531261920929,
-0.415763258934021,
-0.6258040070533752,
0.09408740699291229,
0.6410254836082458,
-0.358394056558609,
0.4000637531280... |
I just designed a blog to go with our small classic car club website here in the south of Spain. Before I make it available to club members I need to do something about registration. I have read up on as much as I can find but couldn't find an answer to this: Ideally I would like to be able to pre-register the 60 or so members so that they can post and comment from the outset (some are not very computer literate and registering first might throw them for a loop). I have looked at the user creation part of Dashboard and it would be very laborious to have to do this for every member. Is there a simple way to create, say, contributor rights for all the members? I have their names and email addresses - e.g. in an excel file. Is there any way to cut and paste from, or import a pre-defined list? Thanks for any help... | [
0.0009518086444586515,
0.005806419067084789,
0.00003347836900502443,
0.009851749055087566,
0.0006870806682854891,
0.01287142001092434,
0.0046723755076527596,
-0.0021865752059966326,
-0.012544527649879456,
-0.012991586700081825,
-0.00013902527280151844,
0.007361946627497673,
0.001594496425241... | [
0.8927373290061951,
0.35925304889678955,
0.3704207241535187,
0.09036660939455032,
0.055548056960105896,
-0.2958586513996124,
0.2224336713552475,
0.07863824814558029,
-0.08549391478300095,
-0.16524218022823334,
0.36406922340393066,
0.4275588095188141,
0.4475701153278351,
0.04623371362686157... |
When someone loses a match, I want to tell him that this loss can make him strong, that in the end this will help him to be a winner. Is there any expression in English for **defeat is the prerequisite for victory**? | [
0.007301615551114082,
0.024106845259666443,
-0.022467022761702538,
0.02809262089431286,
-0.006016666069626808,
0.040083348751068115,
0.010919513180851936,
-0.024349167943000793,
-0.013182679191231728,
-0.006166733801364899,
-0.010229154489934444,
0.030483905225992203,
-0.023930585011839867,
... | [
0.15980495512485504,
0.4119115173816681,
-0.23839357495307922,
-0.04240621253848076,
0.21955902874469757,
-0.4038926064968109,
0.6252403259277344,
0.24114829301834106,
-0.031157149001955986,
-0.7130488753318787,
-0.09638208150863647,
0.12875260412693024,
0.0787850171327591,
0.1563248485326... |
I'm using `listings` in my document, and its command `\lstlistoflistings` to generate the list of listings. The problem is that I've customized all the other lists (TOC, LOF and LOT). More precisely, I've changed the color of the page number, removed the leading dots and move the page number to appear right after the entry text (i.e. the page number is no longer right-aligned). Here's a complete example: \documentclass[a4paper, 11pt]{memoir} \usepackage{microtype} \usepackage{textcase} \usepackage{titlesec} \usepackage{listings} \usepackage[usenames,dvipsnames]{color} % Define color theme \newcommand{\titleColor}{\color[rgb]{0.616, 0.0627, 0.176}} \newcommand{\partChapterNumColor}{\titleColor} \newcommand{\tocPageColor}{\color[rgb]{0.0980, 0.329, 0.651}} % Rules \newcommand{\thinRule}{\rule{\textwidth}{0.25pt}} % Customize heading appearance \newcommand{\partSize}{\Huge} \newcommand{\partStyle}{\lsstyle\scshape} \newcommand{\chapterSize}{\huge} \newcommand{\chapterStyle}{\lsstyle\scshape} \newcommand{\chapterAfter}{\thinRule} \newcommand{\sectionSize}{\Large} \newcommand{\sectionStyle}{\lsstyle\scshape\MakeTextLowercase} \newcommand{\subsectionSize}{} \newcommand{\subsectionStyle}{\itshape} \newcommand{\numberStyle}{\fontsize{60pt}{72pt}\selectfont\partChapterNumColor} \titleformat{\part}[display] {\filcenter} {\numberStyle\thepart} {0pt} {\partSize\partStyle} \titleformat{\chapter}[display] {} {\filleft\numberStyle\thechapter} {0pt} {\chapterSize\chapterStyle} [\chapterAfter] \titleformat{\section} {\sectionSize} {\thesection\quad} {0pt} {\sectionStyle} \titleformat{\subsection} {\subsectionSize} {\thesubsection\quad} {0pt} {\subsectionStyle} % Customize "Table of ..." appearance % Customize headings \newcommand{\fixCtfHeadingBeforeSpacing}{\vspace*{1ex}} % Needed to make chapter \newcommand{\fixCtfHeadingAfterSpacing}{\vspace*{0.5ex}} % layout coherent \newcommand{\renewPrintXTitle}[1]{% \renewcommand{#1}[1]{% \fixCtfHeadingBeforeSpacing \chapterSize\chapterStyle ##1 \fixCtfHeadingAfterSpacing \par\chapterAfter } } \renewPrintXTitle{\printtoctitle} \renewPrintXTitle{\printlottitle} \renewPrintXTitle{\printloftitle} \renewcommand{\cftpartfont}{\partChapterNumColor\partStyle} \renewcommand{\cftchapterfont}{\chapterStyle} \renewcommand{\cftsectionfont}{} \renewcommand{\cftsubsectionfont}{} \renewcommand{\cftfigurefont}{} \renewcommand{\cfttablefont}{} \newcommand{\cftlistingfont}{} % No leader dots \renewcommand*{\cftpartdotsep}{\cftnodots} \renewcommand*{\cftchapterdotsep}{\cftnodots} \renewcommand*{\cftsectiondotsep}{\cftnodots} \renewcommand*{\cftsubsectiondotsep}{\cftnodots} \renewcommand*{\cftfiguredotsep}{\cftnodots} \renewcommand*{\cfttabledotsep}{\cftnodots} % Set page numbers immediately after entry text \newcommand{\tocEntryPageSep}{\hspace{2em}} \renewcommand{\cftpartleader}{\tocEntryPageSep} \renewcommand{\cftpartafterpnum}{\cftparfillskip} \renewcommand{\cftchapterleader}{\tocEntryPageSep} \renewcommand{\cftchapterafterpnum}{\cftparfillskip} \renewcommand{\cftsectionleader}{\tocEntryPageSep} \renewcommand{\cftsectionafterpnum}{\cftparfillskip} \renewcommand{\cftsubsectionleader}{\tocEntryPageSep} \renewcommand{\cftsubsectionafterpnum}{\cftparfillskip} \renewcommand{\cftfigureleader}{\tocEntryPageSep} \renewcommand{\cftfigureafterpnum}{\cftparfillskip} \renewcommand{\cfttableleader}{\tocEntryPageSep} \renewcommand{\cfttableafterpnum}{\cftparfillskip} % Customize page numbers \newcommand{\tocPageStyle}{\tocPageColor} \renewcommand{\cftpartpagefont}{\tocPageStyle} \renewcommand{\cftchapterpagefont}{\tocPageStyle} \renewcommand{\cftsectionpagefont}{\tocPageStyle} \renewcommand{\cftsubsectionpagefont}{\tocPageStyle} \renewcommand{\cftfigurepagefont}{\tocPageStyle} \renewcommand{\cfttablepagefont}{\tocPageStyle} \begin{document} \tableofcontents \lstlistoflistings \section{new section} bla bla bla \begin{lstlisting}[caption=test code] Test \end{lstlisting} \end{document} Now I've figured out how to change the fonts by redefining one of `listings`'s internal commands: \makeatletter \renewcommand*{\l@lstlisting}[2]{% \@dottedtocline{1} {0em} % Indent {\cftfigurenumwidth} % Listing number width {\cftlistingfont#1} % Entry text font {\tocPageStyle#2}% % Page number font } \makeatother But how do I remove the dots and move the placement of the page number? Also, it appears that the entries in the LOL appears slightly higher up in the document compared to the other lists. Also note that I'm using `memoir`, if that's of any use. | [
0.006937715224921703,
0.0008329193806275725,
-0.022159256041049957,
0.00915561243891716,
-0.007177051622420549,
0.025521155446767807,
0.008754504844546318,
0.008388777263462543,
-0.016544681042432785,
0.0009571391856297851,
0.0012905581388622522,
-0.008092064410448074,
-0.005291617475450039,... | [
0.4537143409252167,
0.2940925061702728,
0.5576968789100647,
-0.25727763772010803,
0.42272520065307617,
0.14286302030086517,
0.03412572294473648,
-0.4246525168418884,
-0.46485069394111633,
-0.8362526297569275,
0.012252040207386017,
0.16307418048381805,
-0.2317240983247757,
0.343510538339614... |
My phone ran out of charge this morning after I made a couple of phone calls in bed. I was too lazy to get out of bed to plug it in. When I plugged it in later, and pushed the power button, the phone is continously looping the pulsating X loading animation. The only way to switch it off at this point is to replace the battery. I read about the hard reset and tried that too. It didn't help. Update: I also tried setting the battery aside for over 15 mins before replacing and trying it again. I was able to get into recovery by holding down the POWER + VOL UP buttons. Tried the "wipe cache partition" option thinking that the phone refused to start due to some stale cache. It didn't help either. What else can I do to revive the phone? I would like not to lose data, if I can. But it's more important to get the phone working. | [
0.016732310876250267,
-0.005521412938833237,
-0.005577975884079933,
0.008497471921145916,
-0.0280940979719162,
-0.018352800980210304,
0.004028964322060347,
0.008347212336957455,
-0.013552011922001839,
0.0009185256203636527,
-0.020187122747302055,
0.0044801319018006325,
0.00671042175963521,
... | [
0.30268552899360657,
-0.07790409028530121,
0.6527344584465027,
-0.0943140760064125,
-0.05780894681811333,
-0.35616013407707214,
0.6050422787666321,
0.5200678706169128,
-0.15027914941310883,
-0.27292510867118835,
0.39258047938346863,
0.3315204083919525,
-0.3689628541469574,
0.29828509688377... |
You can configure USE flags per package in `/etc/portage/package.use`. Is there an equivalent for similar flags like `ABI_X86` or `VIDEO_CARDS`? | [
0.004490256775170565,
0.013273589313030243,
-0.011949400417506695,
0.01015685684978962,
-0.024777309969067574,
-0.00833919644355774,
0.011490744538605213,
-0.03618640825152397,
-0.021310629323124886,
-0.00575657095760107,
-0.018143359571695328,
-0.0022299671545624733,
-0.018401578068733215,
... | [
0.4188117980957031,
-0.0672207847237587,
0.19041885435581207,
0.4581795334815979,
-0.03554055839776993,
-0.49579834938049316,
-0.11743807792663574,
0.04398997128009796,
-0.34685787558555603,
-0.5457083582878113,
-0.02583373337984085,
0.4928800165653229,
-0.3233839273452759,
-0.102968961000... |
I have a custom command defined as \newcommand{\transition}[1]{$\stackrel{\texttt{#1}}{-->}$} The argument that I pass to the command can sometimes be normal text and thus is formatted using `\texttt{text}` and sometimes I want to pass a math symbol such as `\tau` or `\alpha` or a combination of these. Is there a way how I can reason on the argument being passed, such as introduce an if then else depending on the type of the parameter? | [
-0.002497164299711585,
0.017321554943919182,
-0.012005955912172794,
0.0010276571847498417,
0.011038696393370628,
-0.013144278898835182,
0.007332282140851021,
-0.01630125567317009,
-0.015394377522170544,
-0.015525132417678833,
-0.009379579685628414,
-0.004138002172112465,
0.004028036259114742... | [
0.10722426325082779,
-0.06454940140247345,
0.3267712891101837,
-0.03207692876458168,
0.0057364096865057945,
0.05043068528175354,
0.10398146510124207,
-0.05695545673370361,
0.046163640916347504,
-0.674374520778656,
-0.23853875696659088,
0.601041853427887,
-0.15804387629032135,
0.16852882504... |
I use Steam to run World of Warcraft, but WoW is not a Steam game. Since I can't bind PrintScreen as the screenshot key in Steam, I can't take a Steam screenshot at the same time as I take an in-game screenshot. Also, I have an addon in WoW that automatically takes screenshots given certain conditions. Having the screenshots allows me to use Steams browser to navigate screenshots, as well as use them as a background on the game's Libary page. Is there a way to simply attach World of Warcraft's screenshots directory to Steam's? | [
-0.031880125403404236,
-0.007411629427224398,
0.0006328138988465071,
0.011080892756581306,
-0.008689104579389095,
-0.003358574118465185,
0.009403042495250702,
0.003676972584798932,
-0.015070012770593166,
0.0233411006629467,
-0.01055989135056734,
0.01488880068063736,
-0.017896391451358795,
... | [
0.553709089756012,
0.33195051550865173,
0.286454975605011,
0.1733924150466919,
-0.36882132291793823,
-0.12185124307870865,
0.08581891655921936,
-0.13516990840435028,
-0.03328706696629524,
-0.5382105708122253,
0.25657588243484497,
0.5031041502952576,
0.23002903163433075,
0.3039749562740326,... |
I'm just wondering about what resources might exist for gaming community leaders. I'm on the admin team of a large Minecraft server that is slowly becoming a gaming community beyond Minecraft. I'd like to learn more about community management and leadership as it relates to the unique world of gaming. Though I mentioned Minecraft, I'm interested in the subject in a more general sense, and what I'm looking for would be just as useful to a WoW clan leader or even leaders of non-game communities. | [
0.002807097975164652,
0.007261743303388357,
0.00044060865184292197,
0.006577595137059689,
0.023172538727521896,
-0.006280108354985714,
0.006776918191462755,
0.002485863398760557,
-0.022114083170890808,
0.0027753054164350033,
0.015535791404545307,
0.01953696645796299,
0.030648140236735344,
... | [
0.8589015007019043,
0.32285550236701965,
-0.4016185402870178,
0.19650016725063324,
0.07611169666051865,
-0.012307641096413136,
0.11208846420049667,
0.3227327764034271,
-0.3100132942199707,
-0.6101167798042297,
0.4768397808074951,
0.2832476794719696,
0.5203676819801331,
0.3696264922618866,
... |
This is default get_template_part function inside WordPress: function get_template_part( $slug, $name = null ) { do_action( "get_template_part_{$slug}", $slug, $name ); $templates = array(); if ( isset($name) ) $templates[] = "{$slug}-{$name}.php"; $templates[] = "{$slug}.php"; locate_template($templates, true, false); } I am trying to use that action for locating custom post type loop file from plugin: add_action( "get_template_part_templates/loop", function($slug, $name){ if ("example" == $name){ if (!locate_template("templates/loop-{$name}.php", false, false)){ /* What do you suggest to do here? */ } } },10,2 ); I need a solution that; 1. Check if theme have files for "example" custom post type 2. If dont have; use plugin's template files for showing and dont use theme's default solution **Update:** this is the code that calling template part in theme: global $post; get_template_part( 'templates/loop', $post->post_type ); | [
0.013500615954399109,
0.007743913680315018,
0.012135013937950134,
0.01388273760676384,
0.0009917172137647867,
0.01908828318119049,
0.008032560348510742,
0.0046543339267373085,
-0.009913848713040352,
-0.0018644630908966064,
-0.01403280533850193,
0.007685521151870489,
-0.012485286220908165,
... | [
-0.024022027850151062,
-0.340690940618515,
0.6179513335227966,
-0.19388622045516968,
0.0511091873049736,
0.14625228941440582,
0.27725863456726074,
-0.30966588854789734,
-0.07586207985877991,
-0.4313797652721405,
-0.19089365005493164,
0.555023729801178,
-0.32833534479141235,
-0.349925100803... |
I am using the TikZ package to create stacked timelines. See example below. Whenever I make some small modification to the timelines, I have to spend lots of time adjusting all the coordinates. If anyone could help me simplify this, it'd be greatly appreciated. My more specific questions follow: * How can a tikz image be made to conform to the dimensions of the page body? * How can nodes placed along timelines maintain their relative spacing if the dimensions of the timeline change? * How can informational nodes referred to in the timelines be spaced horizontally so that they don't overlap one another? (note: I would consider using chains or matrix to do this, but I'm not sure how to incorporate the other elements of the timelines with them.) code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[american]{babel} \usepackage{tikz} \usetikzlibrary{snakes,positioning} %% define help lines \tikzset{help lines/.style={color=black!50,very thin}} \tikzset{main labels/.style={ %Shape rectangle, % Size minimum size=6mm, rounded corners=2mm, % Border very thick, draw=red!50!black!50, %Filling top color =white, bottom color=red!50!black!20, % Font font=\sffamily,}} \tikzset{side labels/.style={ %Shape rectangle, % Size minimum size=6mm, rounded corners=2mm, % Border very thick, draw=black!50, %Filling top color =white, bottom color=black!20, % Font font=\sffamily, % Anchor anchor=east,}} \tikzset{date labels/.style={ % Font font=\sffamily, % Anchor anchor=north east, %Angle rotate=45}} \tikzset{event/.style={ %Shape rectangle, % Size rounded corners=2mm, % Border thick, draw=#1!50, %Filling fill = #1!20, % Font align=center, font=\sffamily\scriptsize, }} \tikzset{outline/.default=black} \begin{document} \begin{tikzpicture} % % draw help lines \foreach \a in {1,2,6,7,11,12} \draw [help lines](-1,\a) -- (10,\a); % draw labels and titles \node [main labels] at (5,13.5) {Community \#1}; \node [main labels] at (5,8.5) {Community \#2}; \node [main labels] at (5,3.5) {Community \#3}; \foreach \b in {2.5,7.5,12.5} \node [side labels] at (-1,\b) {Response}; \foreach \c in {1.5,6.5,11.5} \node [side labels] at (-1,\c) {Impact}; \foreach \d in {0.5,5.5,10.5} \node [side labels] at (-1,\d) {Historical Event}; % draw dates \draw [->] (0,9.9) -- (10,9.9); \draw [->] (0,4.9) -- (.2, 4.9) {[snake] (.2, 4.9) -- (.8,4.9)} (.8,4.9) -- (1,4.9) -- (10,4.9); \draw [->] (0,-0.9) -- (10,-0.9); % draw date labels \draw (0,4.85) node [date labels] {1690} -- (0,4.95) node (hua1690a) {}; \draw (1,4.85) node [date labels] {1970} -- (1,4.95) node (hua1970a) {}; \draw (3.076923,4.85) node [date labels] {1979} -- (3.076923,4.95) node (hua1979a) {}; % draw events \begin{scope}[on grid] \node (huafound) [event=blue] at (0,5.5) {\small Founded}; \draw [blue!50] (huafound) -- (hua1690a); \node (huaroad) [event=blue] [right= 1.35 of huafound] {\small Road}; \draw [blue!50] (huaroad) -- (hua1970a); \node (huaconasupo) [event=blue] at (3.076923,5.5) {\small CONASUPO}; \draw [blue!50] (huaconasupo) -- (hua1979a); \end{scope} \end{tikzpicture} \end{document}  | [
-0.00045380042865872383,
-0.0008641101885586977,
-0.0048176320269703865,
0.015383593738079071,
0.008583137765526772,
0.006040531676262617,
0.006709967739880085,
0.01092398352921009,
-0.02187010832130909,
-0.0001300217118114233,
0.001140408217906952,
0.003054197644814849,
-0.01041312515735626... | [
0.5590064525604248,
-0.02132520079612732,
0.3803882300853729,
0.19231143593788147,
0.1071055680513382,
-0.08964106440544128,
-0.15508128702640533,
0.10716065019369125,
-0.2529698312282562,
-0.8089733719825745,
0.08386450260877609,
0.22940514981746674,
-0.1650765985250473,
0.141933336853981... |
Traditionally a **billion** in American English means 109 (1,000,000,000, a thousand million) while in British English it means 1012 (a million million) with **milliard** meaning 109. Is this still the case or has the world aligned itself to the American way? I'm not a native English speaker and I don't remember hearing or seeing the word _milliard_ recently. In any case what are the common names of the powers of 10? | [
-0.00471644289791584,
0.004005409777164459,
-0.014204610139131546,
0.002043194370344281,
-0.03497013822197914,
-0.0009635029127821326,
0.008641690015792847,
0.0009577584569342434,
-0.012111661955714226,
-0.00417720153927803,
0.007417159155011177,
-0.0008136149263009429,
0.02035418152809143,
... | [
0.36268362402915955,
0.09192954003810883,
0.0788976177573204,
0.0978664830327034,
-0.2302950769662857,
0.5265107154846191,
-0.009322754107415676,
0.5311669111251831,
-0.5304476022720337,
-0.14150169491767883,
-0.14698006212711334,
0.012421642430126667,
-0.04726824909448624,
0.7299430370330... |
In World of Tanks, bullets can be deflected by armor thickness. I'm wondering if it is possible for a bullet to bounce on a tank with suck an angle that it can go hit an other (or any destructible structure)? Or maybe after a bounce the bullet just disappear in the air? And if it can, _it is possible_ that the bullet bounce to _the same_ tank. Does it gives 2 succesfull hits for one single bullet to the one who shoot it? Does a bouncing bullet can destroy an other target and if yes, to who goes the kill? As far as I remember I never saw something like that happening but I want to know if there is an **_non-null_** chance. Thanks to anyone who can help! | [
-0.014589207246899605,
0.017077282071113586,
-0.008500142022967339,
0.010903761722147465,
0.022570226341485977,
-0.036707133054733276,
0.008305230177938938,
0.020156409591436386,
-0.015685709193348885,
-0.009403921663761139,
-0.004612209741026163,
0.0323793925344944,
-0.00485763605684042,
... | [
0.31221485137939453,
-0.003877048147842288,
0.09528589248657227,
0.17014963924884796,
-0.33918657898902893,
-0.12263437360525131,
-0.021386317908763885,
-0.19282521307468414,
-0.40167340636253357,
-0.6545359492301941,
-0.13682939112186432,
0.7208071947097778,
-0.15811072289943695,
0.041193... |
At the moment, Google Site Search isn't really working for me. I checked Google Cache and it says that the site was last updated on Dec 16 back when there was very little content. How do I get Google to re-index the website so that it can find the new content? Is there anything I can do programatically for this to happen with html or javascript maybe? | [
-0.02510938234627247,
-0.0019747538026422262,
-0.01582164503633976,
0.001905311830341816,
0.005431227385997772,
0.00856386125087738,
0.0063905357383191586,
-0.01503709051758051,
-0.027664994820952415,
-0.015015527606010437,
-0.017929373309016228,
0.01778452843427658,
-0.001816099975258112,
... | [
0.42813894152641296,
0.14046479761600494,
0.47926318645477295,
0.20196452736854553,
-0.07968053966760635,
-0.29706522822380066,
0.28814008831977844,
0.4772099554538727,
-0.4082409739494324,
-0.48140907287597656,
0.4281070828437805,
0.4433220624923706,
0.1508932113647461,
0.5821937918663025... |
I have a multi head openbox setup with fglrx as my drive. I chosen openbox from the gnome login screen of 12.10. My openbox crashes when I click to desktop left or right, but this does not happens always but rarely. Yet loosing all desktop if pretty irritating. Where can I find crash log of the openbox? | [
0.006471128202974796,
0.010603879578411579,
-0.014679393731057644,
0.0020339027978479862,
-0.021837569773197174,
-0.030331388115882874,
0.012880681082606316,
0.05013497546315193,
-0.02483432926237583,
-0.01939130201935768,
-0.015311002731323242,
0.006367684807628393,
0.015261618420481682,
... | [
-0.032428592443466187,
0.34174007177352905,
0.10436031222343445,
0.1291349083185196,
-0.3897780478000641,
-0.07998543232679367,
0.5318624377250671,
0.36402276158332825,
-0.37141212821006775,
-0.9416605234146118,
0.028183845803141594,
0.5562170743942261,
-0.25645437836647034,
0.452596604824... |
As an ISV, what is considered best practice for implementing Application Role based security? In other words, only allow users to access certain features in the application based on what Roles they belong to. We currently just use a table in our database to store this, but it has been suggested that for max HIPAA compliance, this isn't secure enough. My first thought was to just use Active Directory Groups, as it would seem that is what they are designed for, however, it just doesn't seem practical to rely on our clients IT departments to create Groups and assign users to them for groups that are specific only to our application. This can't be best practice for ISVs ... At this point it my research, it seems that possibly the best solution might be to use something like Active Directory Application Mode (ADAM) (Active Directory Lightweight Directory Services) and possibly AzMan (Windows Authorization Manager)? Again, this is for a Windows Forms Application, not a Web application or in an "In House" solution. If it matters, we are also in the process of transitioning our home baked authentication to instead use active directory for authentication. Also of note is this needs to be secure (HIPAA Compliant). All the information i can find on this subjects seems to be for developing applications for in house use, or for web applications, and neither of these approaches feels appropriate for a winform application. (We are using .net for development.) help! :) | [
0.010832445695996284,
0.00809348002076149,
-0.008699893020093441,
0.005483254790306091,
-0.004330247640609741,
0.017947835847735405,
0.007427177391946316,
0.010291027836501598,
-0.01544900517910719,
-0.013212473131716251,
-0.01101015042513609,
0.011850813403725624,
-0.006417185068130493,
0... | [
0.19724564254283905,
-0.08367239683866501,
0.4280785918235779,
-0.01754351146519184,
0.2555330991744995,
-0.41952911019325256,
0.0940101146697998,
-0.12208583950996399,
-0.35645684599876404,
-0.35996025800704956,
-0.05841110646724701,
0.4105144739151001,
-0.1957419514656067,
-0.02150553837... |
I have built a cox proportional hazards model in the R survival package. I want to score new data set using this model. I thought the survfit function would doing this using survfit(original model, newdata), but it only seems to predict only the outcomes for the original data, not the original model using the new data. Any insight is appreciated! | [
-0.0150454705581069,
0.01243345346301794,
0.0016364994226023555,
0.02683975175023079,
0.022538093850016594,
-0.01640087552368641,
0.012987816706299782,
-0.011195896193385124,
-0.022676115855574608,
-0.04610773175954819,
0.002751918975263834,
0.023533178493380547,
-0.012034128420054913,
0.0... | [
0.09621011465787888,
-0.2032870650291443,
0.1291663646697998,
0.05183473229408264,
0.010334143415093422,
-0.1592320203781128,
0.3597485423088074,
-0.3815877437591553,
-0.42212972044944763,
-0.34784308075904846,
0.4066319167613983,
0.3611711859703064,
-0.16906282305717468,
0.030269991606473... |
I am using fMRI data (n=25) to predict performance on a behavioral task. At each of 12 time points, I train a linear model on data from n-1 subjects and use this model to predict the left-out subject's performance during a different period of time. For example, I use neural data at time point 1 to predict performance during time window A, and data at time point 2 to predict performance during time window B, etc. For each time point, after leaving each subject out once, I perform Spearman's rank correlation on the observed and predicted values. This gives me a correlation coefficient at each of my time points. I want to report the average prediction across all of my time points, so I Fisher transformed these r values, averaged the resulting z scores, then transformed the average back to an r value. Is this okay to do since my correlations were all computed within the same group of subjects? Based on previous questions I _think_ this is right but please correct me if I'm wrong. My next question is about how to report the significance of this average r. Is this possible? This answer leads me to believe that reporting a confidence interval would be better, but I'm not exactly sure how to do this, or if it's okay because, again, my correlations were computed from data collected at different times from the same group of subjects. Thank you for any advice you may have! | [
0.00886535830795765,
0.01893801987171173,
-0.02218078449368477,
0.01086672767996788,
0.019060399383306503,
-0.014312870800495148,
0.010144386440515518,
-0.027997059747576714,
-0.008877363987267017,
0.006163003854453564,
-0.006521654315292835,
0.006148318760097027,
-0.012763838283717632,
0.... | [
0.1563654989004135,
0.12193907797336578,
0.2979696989059448,
-0.3701665699481964,
0.07072125375270844,
0.3952156901359558,
0.33206644654273987,
-0.7076561450958252,
0.11032582819461823,
-0.6730281114578247,
0.14342515170574188,
0.4431249797344208,
0.014979764819145203,
0.08447179943323135,... |
In Minecraft 1.5, a new feature was added: when placing a stack of items in the workbench, if you hold both the right and left mouse buttons down and drag, the stack of items will be split evenly across all the squares you drag them over, simplifying the process of crafting a large number of identical items. But I play Minecraft on a Mac using the trackpad...right-click is performed by pressing with two fingers, left click with one. No gesture for simultaneous right and left click exists. Is there a way to assign this new feature to, say, shift + click-and-drag instead of right-and-left-click-and-drag so it can be used with a Mac trackpad? | [
-0.005704178474843502,
0.01319230254739523,
-0.013162902556359768,
-0.006115441210567951,
0.003633342683315277,
-0.007571565452963114,
0.007124206516891718,
0.00942305289208889,
-0.01542104221880436,
0.025643594563007355,
-0.011620532721281052,
0.01542181707918644,
-0.009068388491868973,
-... | [
-0.08358144760131836,
-0.039919257164001465,
0.5190526247024536,
0.07748290151357651,
0.15374115109443665,
-0.10868784785270691,
0.008846384473145008,
-0.3860146701335907,
-0.41714271903038025,
-0.2447008192539215,
0.2305843085050583,
0.6535441279411316,
-0.16155698895454407,
-0.2627837955... |
> A youngster literally pulls himself up by his bootstraps; finds a hero; > establishes a dream; and then goes for it. Is a semicolon the correct punctuation here? | [
-0.020069079473614693,
0.016979116946458817,
0.003253328148275614,
0.010263588279485703,
-0.009585525840520859,
0.0020286261569708586,
0.015362586826086044,
0.009951996617019176,
-0.02311423234641552,
0.016320060938596725,
-0.024248866364359856,
0.01401461474597454,
0.03170646354556084,
0.... | [
-0.23832514882087708,
-0.02235564962029457,
0.22885450720787048,
0.06771821528673172,
-0.213995099067688,
0.2980080246925354,
0.4136682450771332,
0.23333466053009033,
-0.23956967890262604,
-0.6427005529403687,
-0.5918650031089783,
-0.2078695297241211,
-0.008165474981069565,
-0.100843943655... |
With regards to SEO and the title tag would there be a difference between using a / for related words or using a - ? For example: Air/Gas Filter | Another Filter | Last Filter or Air-Gas Filter | Another Filter | Last Filter I've never been sure if it makes a difference. Thanks in advance for the input. | [
-0.010156054981052876,
0.023002753034234047,
-0.0012947691138833761,
0.022852439433336258,
-0.0035222391597926617,
0.019786899909377098,
0.013215525075793266,
0.011388181708753109,
-0.01935495249927044,
0.004728877451270819,
-0.008332337252795696,
0.0031147454865276814,
0.0037819636054337025... | [
0.3047410249710083,
0.04390456900000572,
0.2628878355026245,
-0.00798838958144188,
-0.7296963334083557,
-0.06800365447998047,
0.3197317123413086,
-0.1371159851551056,
0.020130204036831856,
-0.33123794198036194,
-0.12979435920715332,
0.5241467952728271,
-0.16618627309799194,
-0.772611141204... |
Referring to my previous question, how do I "geocode"/convert - using R - a generated raster image to a format that can be shown as a layer on a map? In short, I'm aiming to recreate the results of the commercial SpatialKey (screenshot) software. I'm using a GeoServer instance to host the data for the maps, but how can I incorporate the required projection and coordinate info into the image so it will align correctly with its true geographical position. The density heatmap was produced using spatial data. | [
-0.025442538782954216,
0.003518178593367338,
-0.0018950434168800712,
0.01282378938049078,
-0.009732168167829514,
0.022594716399908066,
0.008796952664852142,
0.0006563556962646544,
-0.022034864872694016,
-0.016789088025689125,
0.006483225617557764,
0.012594131752848625,
0.0007362027536146343,... | [
0.41598841547966003,
0.08593063801527023,
0.35987013578414917,
0.1275426149368286,
0.08947692066431046,
0.16025777161121368,
-0.4900120198726654,
-0.5180246233940125,
0.05967208743095398,
-0.9089727401733398,
-0.04817900061607361,
0.5427980422973633,
-0.07886018604040146,
0.224723085761070... |
At the end of Portal 2, GLaDOS sings "goodbye my only friend", but then follows up with "oh, did you think I meant you?" Did she really mean Chell, or was is Caroline? The Companion Cube? Wheatley? Sadness that Cave Johnson is gone? (which might come from the Caroline part of her personality) The bird? The potato? | [
-0.0019628165755420923,
-0.0020263732876628637,
-0.006287987343966961,
-0.004337444435805082,
-0.018184984102845192,
0.014212423004209995,
0.008921058848500252,
-0.013471206650137901,
-0.0088657820597291,
0.007361391093581915,
-0.0007533624884672463,
-0.00015936150157358497,
0.02142622880637... | [
-0.8363516926765442,
0.015059235505759716,
0.6664257645606995,
-0.15666936337947845,
-0.23630139231681824,
0.577822744846344,
0.3486931324005127,
0.41531628370285034,
0.026128092780709267,
-0.4809325933456421,
-0.3116438090801239,
-0.029701396822929382,
-0.027527915313839912,
0.28930696845... |
I'm looking for a fast way, preferably without trigonometric operations (just multiply, divide, add, sqrt and subtract) to determine if a point is visible. E.g. say I am facing 0 degrees N, I am at 51.40,-1.08, the camera has a HFOV of 30 degrees and the point is at 51.20,-1.085 it should return TRUE, because the point would be facing me and is within the 30 degree FOV. It's required that it returns TRUE (false positive) instead of FALSE given edge cases, otherwise points may be hidden when they are actually visible. Currently I have my augmented reality project using atan2 to calculate the actual angle but if I can shave calculations off from points which are definitely not visible every little bit helps. I only need it to be accurate over distances of less than 2 km. Here's my code to calculate horizontal and vertical position. It's only accurate over <5km distances but accuracy isn't critical anyway as those waypoints aren't drawn. This project is open source, so it's okay for me to post a lot of code. res->est_dist = hypot2(p_viewer->p.lat - p_subj->lat, p_viewer->p.lon - p_subj->lon) * 2000.0f; // Save precious cycles if outside of visible world. if(res->est_dist > cliph) goto quick_exit; // Compute the horizontal and vertical angle to the point. res->h_angle = angle_dist_deg(RAD2DEG(atan2(p_viewer->p.lon - p_subj->lon, p_viewer->p.lat - p_subj->lat)), p_viewer->yaw); res->v_angle = RAD2DEG(atan2(p_viewer->p.alt - p_subj->alt, res->est_dist)); // constant scale factor: needs to be adjusted // Normalize the results to fit in the field of view of the camera. res->h_angle += p_viewer->hfov / 2; res->v_angle += p_viewer->vfov / 2; // Compute projected X and Y position. res->pos.x = (res->h_angle / p_viewer->hfov) * p_viewer->width; res->pos.y = (res->v_angle / p_viewer->vfov) * p_viewer->height; See that call to atan2 for the h_angle? If I could eliminate it by saying "this point is definitely not visible" it would be nice. | [
-0.005998144391924143,
0.008468884974718094,
-0.014833732508122921,
0.0005944556323811412,
-0.014682705514132977,
0.00447956332936883,
0.005938152316957712,
0.010705546475946903,
-0.011095372959971428,
0.0000631771981716156,
-0.0036328292917460203,
0.009175106883049011,
-0.005216713063418865... | [
0.12066107988357544,
0.06970751285552979,
0.811579704284668,
-0.013034376315772533,
0.19952142238616943,
0.060543086379766464,
0.3073617219924927,
-0.06479445099830627,
-0.077645443379879,
-0.6085739135742188,
0.06377355754375458,
0.4778806269168854,
0.1868360936641693,
-0.0564516112208366... |
I have multiple projects that will be using the same business objects (customer, order) but the projects operate in different databases within the organization and I would like to understand the proper architecture that I should create to service such needs. Here is a list of the different types of projects in play: * ASP.NET MVC front end to handle all general user actions. This front end is deployed to a dedicated instance per customer. * Centralized Windows Service to process FTP files and transmit the data to each customer instance. * ASP.NET MVC front end to manage all customers and their instances. All business objects (customer, order, etc) are located in a Core class library. Each of the projects will need to use the business objects at one point or another but connect to a different database. Should the DBContext reside in the Core library or in the project? Should Entity Framework migration be located in the same location as the DBContext? | [
-0.007236952893435955,
0.010551229119300842,
0.00013643410056829453,
0.001645509386435151,
0.02902974560856819,
-0.012284873053431511,
0.007431435398757458,
0.034100305289030075,
-0.012722794897854328,
-0.008128276094794273,
-0.010282956063747406,
0.021861830726265907,
0.004137513227760792,
... | [
0.42132577300071716,
0.09641511738300323,
0.566787838935852,
-0.1801898181438446,
0.19382794201374054,
0.23549531400203705,
0.057327769696712494,
-0.09934142231941223,
-0.5581339001655579,
-0.5959289073944092,
-0.3266337811946869,
0.49062690138816833,
-0.08040090650320053,
0.10145375132560... |
> [a] **Which** is the best choice for the blank? > [b] **What** 's the best choice you have made? (TED) Which are the subjects in above respectively? It seems like _which_ in [a] and _what_ in [b] are subjects. And I also get the idea that _which_ and _what_ might be complements of the verbs respectively. For I can make these echo questions, in those _which_ and _what_ are complements. The best choice is **which** for the blank? The best choice you have made is **what**? | [
0.02041141502559185,
0.011393273249268532,
-0.015609798952937126,
0.004665912128984928,
-0.02391153760254383,
-0.016234351322054863,
0.0075348117388784885,
-0.002011058386415243,
-0.01496628113090992,
0.0007186201401054859,
-0.0066880821250379086,
0.0008652406977489591,
0.010347515344619751,... | [
0.01552600134164095,
0.07198271155357361,
0.0724489688873291,
-0.027220536023378372,
-0.7569769024848938,
0.4752409756183624,
0.5482956171035767,
-0.45563647150993347,
-0.6570839881896973,
-0.37960395216941833,
-0.12921194732189178,
0.38454124331474304,
-0.12454628944396973,
-0.18095026910... |
I am working on this problem and just trying to figure out what my prof/ TA did in the solution sheet -- but also to make sure I understand what I am doing and some of the mathematics involved. A spherical shell will exert no net force on a particle inside it. But what of a HEMIspherical shell? That is, (working from the question asked on here before about gravity on a hemispherical planet) how to show rigorously what kind of forces will act on a particle in that situation. If you do this problem and ad on the force for the other "half" of course, it should all come out to zero. This is also a bit different from the straight up hemisphere since we aren't assuming that its exactly 1/2. So, given a spherical shell of radius R and surface density σ, and a particle at position a from the center where a is between 0 and R. Assume the position a is along the z (vertical) axis. What is the force on the particle from the smaller hemisphere, described by the part that extends from the top (at z=R) down to where the particle is (at z=a) and where is the center of mass of that hemisphere? I am using θ as the angle between the origin and the point on the shell that intersects a line drawn through a that is perpendicular to the z axis. (I wish I knew how to post a diagram here, that would make it easier I think, but I hope people get the idea). Repeat for the larger part of the shell. Now, I know intuitively (and from the symmetry principle) that the rings, each with a mass of dM = 2πRsinθRdθ will exert a net zero force in the x-y plane as we are assuming symmetry here. So, I only need the force in the z-direction. Anyhow, first I want to know the total mass of the smaller part of the shell. That's going to be an integral from 0 to θ. Since the radius of the strip is R cosθ, and the force vector is along the z-axis, I should get this: $$ \int dF_z = \int_0^{\theta} \frac{Gm2\pi R \sin \theta R d \theta}{r^2}\cos\theta $$ where r is the distance from my particle at a to the piece of the shell I want. So far so good. Now, the distance r is going to be determined by the law of cosines, if I want to get it in terms of θ. So I can say $r^2 = a^2 + R^2 - 2aR \cos \theta$. I'm also multiplying the Force by cosθ because it is in the z direction, which in terms of R and a is $\frac{R^2+a^2-r^2}{2aR}$ If I differentiate $r^2$ -- because I am setting up an integral here -- I get $2rdr = 2aR \sin \theta d \theta$. A little algebra gets me $ \sin \theta d \theta = \frac{2rdr}{2aR} = \frac{rdr}{aR}$ and I should be able to plug that back into the integral and get: $$ \int dF_z = \sigma Gm2\pi R^2 \int_0^{\theta} \frac{rdr}{aR} \frac{1}{r^2} \frac{R^2+a^2-r^2}{2aR} $$ and we have to change the limits, which here would be arccos(a/R) so I have: $$ \int dF_z = \sigma Gm2\pi R^2 \int_0^{\cos^{-1} \frac{a}{R}} \frac{rdr}{aR} \frac{1}{r^2} \frac{R^2+a^2-r^2}{2aR} = \sigma Gm\pi \int_0^{\cos^{-1} \frac{a}{R}} \frac{rdr}{a^2} \frac{1}{r^2} (R^2+a^2-r^2)$$ $$= \sigma Gm\pi \int_0^{\cos^{-1} \frac{a}{R}} \frac{R^2+a^2-r^2}{a^2} \frac{1}{r} dr = \frac{\sigma Gm\pi}{a^2} \int_0^{\cos^{-1} \frac{a}{R}} \frac{R^2+a^2-r^2}{r} dr$$ and because $ \sigma = \frac{M}{4 \pi R^2}$ the integral looks like: $$= \frac{M Gm}{4R^2a^2} \int_0^{\cos^{-1} \frac{a}{R}} \frac{R^2+a^2-r^2}{r} dr$$ So my question is, how am I doing so far? I feel like there is something I am missing -- because the answer sheet says that I should get $$\frac{M Gm}{4Ra^2}2(\sqrt{R^2-a^2}-2R$$ and I am not entirely sure if I got the final integral right. thanks in advance. | [
-0.0062946900725364685,
0.005911133252084255,
0.008207020349800587,
0.02815401367843151,
-0.02122056670486927,
-0.005731693468987942,
0.005801504477858543,
0.0009602515492588282,
-0.013467120006680489,
-0.028381608426570892,
-0.004282315261662006,
0.016649018973112106,
-0.009361004456877708,... | [
0.4253527522087097,
0.39521920680999756,
0.18837577104568481,
0.24091596901416779,
-0.04257838800549507,
-0.09544125199317932,
-0.09758416563272476,
-0.058142609894275665,
-0.09147720783948898,
-0.5895605087280273,
0.03472307696938515,
0.5937286615371704,
0.08279238641262054,
0.40517732501... |
I want to open a "Raster Dataset" in QGIS. In ArcMAP I can just add it like shown in the Screenshot (only the raster shows up).  If I am trying to do this in QGIS. However there I don't see the raster files itself. I find three files (`.ovr`, `.aux`, and `.ovr.aux.xml`) and a folder (with `.adf` files inside it). How can I open the raster?  A similar question was already asked here and here, but never really answered. | [
0.007928784936666489,
-0.003157053142786026,
0.002366449683904648,
0.017943762242794037,
0.006950191222131252,
0.005725766532123089,
0.007369286846369505,
0.017155008390545845,
-0.022710325196385384,
-0.014329020865261555,
0.008114507421851158,
0.009872046299278736,
-0.02379918098449707,
-... | [
0.027777893468737602,
0.28519734740257263,
0.5679582357406616,
-0.14179468154907227,
-0.2222076952457428,
0.19472697377204895,
0.22030027210712433,
0.08915939927101135,
-0.09103026241064072,
-0.9137330055236816,
-0.1346246749162674,
0.845020592212677,
-0.5023905634880066,
-0.31549188494682... |
Consider following example. We asked 50 men and 50 women one question and they answered on 5 point likert scale (1 is completely disagree and 5 completely agree). Suppose that 50 men responded 20 times 1, 3 times 2, 4 times 3, 20 times 4 and 3 times 5 and 50 women responded 15 times 1, 15 times 2, 15 times 3, 2 times 4 and 3 times 5. I would like to test whether mean (or median) answers in both groups are significatly different. The problem is that I can not use parametric (t-test) neither nonparametric (Mann-Whitney) test since data are nonnormal (thus t-test is not appropriate), ordinal and thus not continuous, multimodal, with different variances and with different shapes (thus Mann-Whitney test is not appropriate). How can I test my hypothesis? Thank you for any answer. | [
0.021806512027978897,
0.008147984743118286,
-0.03360432758927345,
0.01665852591395378,
0.007246728055179119,
0.0029113274067640305,
0.010260692797601223,
-0.009523585438728333,
-0.014220047742128372,
-0.015752892941236496,
-0.002126106061041355,
0.0008301447378471494,
-0.010353515855967999,
... | [
0.20853130519390106,
-0.1725802719593048,
0.04363138601183891,
0.1586856096982956,
-0.2528587877750397,
0.819193959236145,
0.5843127369880676,
-0.7227888703346252,
-0.0112484535202384,
-0.563423216342926,
0.18846148252487183,
0.4453282654285431,
0.11928775906562805,
-0.022528881207108498,
... |
Somehow `mpirun` fails to acknowledge my `$PATH`. The program `PyroDist`, that I have in `$PATH`, works: $ PyroDist Can't find asked option -in PyroDist - pairwise distance matrix from flowgrams -in string flow file name -out stub out file stub Options: -ni no index in dat file -rin string lookup file name And running it with `mpirun` and full path works too: $ mpirun -np 4 ../bin/PyroDist -in C005.dat -out foo 0: Read data 0: Broadcast data 0: Broadcast flows nN=2094 nM=360 nSize=753840 But this fails: $ mpirun -np 4 PyroDist Missing: program name Program PyroDist either does not exist, is not executable, or is an erroneous argument to mpirun. Since I am going to use a complex set of workflows it is not feasible to use full paths. Any ideas? (openmpi 1.2.7 on Linux 2.6.32) | [
-0.02096700295805931,
0.0007134606712497771,
-0.014628956094384193,
0.016908934339880943,
-0.0013920827768743038,
-0.00038148113526403904,
0.010265689343214035,
0.025481026619672775,
-0.01679055765271187,
-0.026052076369524002,
0.0005883048288524151,
0.010536260902881622,
-0.0050975363701581... | [
-0.5568785667419434,
-0.020284993574023247,
0.32987987995147705,
-0.028256457298994064,
-0.22330330312252045,
0.40793612599372864,
0.2999930679798126,
-0.6377055048942566,
-0.15247699618339539,
-0.5938288569450378,
-0.08683542907238007,
0.6857194304466248,
-0.5106010437011719,
-0.281544148... |
How can this pipeline be explained: cat /etc/passwd | cut -d : -f 9 2>&1 | sort | uniq 2>&1 | wc -l I'm learning Unix by myself and I don't really get it. What does `cut -d : -f 7 2>&1` means here? | [
-0.005927468184381723,
0.01675098016858101,
-0.010802419856190681,
0.0061020804569125175,
-0.040523823350667953,
-0.006566416472196579,
0.007942145690321922,
0.004037537612020969,
-0.014547077938914299,
0.027705030515789986,
-0.018594445660710335,
-0.00180113036185503,
0.001936720684170723,
... | [
0.4843493402004242,
-0.025681043043732643,
0.19763979315757751,
0.08833245933055878,
0.027663864195346832,
-0.0863703116774559,
0.18063820898532867,
0.1892075538635254,
0.20307740569114685,
-0.2897232472896576,
0.025926176458597183,
0.8077021241188049,
-0.0685952752828598,
0.01585614308714... |
A friend of mine has a theory that changing the emphasis from one syllable of a word to another never really affects the "core" pronunciation. So for instance, consider the word _umbrella_. The emphasis usually falls on the second syllable: um · BREL · la. But if you decided to emphasize the first syllable instead: UM · brel · la, that doesn't really change what those syllables sound like; it just gives greater force to one of them. The first syllable is still a short-U sound in either case; it doesn't suddenly become a long-U sound because of an emphasis change. Is my friend's theory correct? Or are there any counterexamples to this, where changing the emphasis actually does alter the fundamental sound of a syllable? (e.g. a legitimate emphasis change -- not a mispronunciation -- that changes a long-A sound to a short-A sound, for instance) | [
0.02522876299917698,
0.011941749602556229,
-0.03466452658176422,
0.003209819085896015,
-0.011510813608765602,
0.0007551903836429119,
0.010806811973452568,
-0.0033452152274549007,
-0.012595553882420063,
-0.024962522089481354,
-0.00984693318605423,
-0.0007272308575920761,
-0.008059808984398842... | [
-0.0777086615562439,
0.13790485262870789,
0.3072936236858368,
-0.3716277778148651,
-0.12958893179893494,
0.19316785037517548,
0.4351901710033417,
0.41291218996047974,
-0.020848391577601433,
-0.3903532326221466,
0.03517406806349754,
0.4090743660926819,
0.29126015305519104,
-0.23777508735656... |
I am unable to get the `zscore` function to work. When I try to call it, I get the following error: could not find function zscore The online documentation online states that it is in basic R library. Searching online reveals that other people had the same problem some time ago - though on macs. Does anyone know how to fix this problem or use other alternative function? I saw somewhere they were using `scale()`. This works but I am not sure whether it is the correct substitute to "zscore". | [
0.006226161029189825,
0.0006721262470819056,
-0.015344266779720783,
0.006511128973215818,
0.008798073045909405,
-0.0020664550829678774,
0.004757100250571966,
-0.0111560532823205,
-0.019700035452842712,
-0.03639870509505272,
0.001575011876411736,
0.007936068810522556,
-0.020673876628279686,
... | [
-0.24003130197525024,
0.22841624915599823,
0.18966831266880035,
-0.07417670637369156,
0.043692462146282196,
0.013869275338947773,
0.505462646484375,
0.15519370138645172,
-0.05664822831749916,
-0.49765709042549133,
-0.027743689715862274,
0.832453727722168,
-0.2531794309616089,
0.37783667445... |
Any tips or tricks for getting arrows (besides cheating)? Or tricks for finding a skeleton spawn? I've tried farming chickens and gravel for feathers and flint, but it takes a ridiculously long time. How do people get enough arrows to make using a bow actually feasible? | [
0.008013284765183926,
0.0018409747863188386,
-0.03310101851820946,
-0.0036314211320132017,
-0.05357687920331955,
-0.03178491070866585,
0.008467745035886765,
0.02482193149626255,
-0.03631022199988365,
-0.010040915571153164,
-0.008990482427179813,
0.008872995153069496,
-0.0036204003263264894,
... | [
0.8875615000724792,
0.2380089908838272,
-0.22069893777370453,
0.4219377934932709,
-0.006067199632525444,
0.4292587637901306,
0.38044628500938416,
0.09162716567516327,
-0.39667871594429016,
-0.1245216429233551,
0.6384667754173279,
0.36935922503471375,
0.4203585386276245,
-0.478211909532547,... |
You sell 10 product on average every day. The model is based on a Poisson distribution. To be enable to cover the indirect cost, the manager needs to sell 8 products per day. Two questions: > 1. What is the probability to sell between 0 - 5 products in a day? > > 2. What is the probability to have at least 6 products in a single day? > > | [
0.008722411468625069,
0.024662118405103683,
-0.04062328860163689,
0.018806202337145805,
-0.0183377917855978,
-0.01655861735343933,
0.010998021811246872,
0.0011181277222931385,
-0.016596389934420586,
-0.03959495201706886,
-0.026442229747772217,
0.017351346090435982,
0.00499735726043582,
0.0... | [
0.32530149817466736,
-0.2389804571866989,
0.5138310790061951,
0.10856860876083374,
-0.060592737048864365,
0.6079826354980469,
0.09426061809062958,
0.009557942859828472,
-0.641299843788147,
-0.4750461280345917,
-0.07902222871780396,
0.5346991419792175,
-0.27240732312202454,
0.64289575815200... |
I've been playing league of legends all the time for some time now, and even though I have friends playing and family, I've never actually got what the meanings of the classes, I know of: Support, Tank, ADC, marksman, fighter, and such. But I don't know of: ap, ac, ad, and ss, but I just want to know what these abbreviated ones are like ac and such, so could someone, please, just tell me what they mean. | [
-0.016644347459077835,
0.017980169504880905,
0.0050620343536138535,
0.005499399732798338,
-0.00973979476839304,
-0.006920588668435812,
0.005240436177700758,
0.0013389878440648317,
-0.014147138223052025,
0.01706988364458084,
0.008114570751786232,
0.0056217266246676445,
0.01596011035144329,
... | [
0.2666933536529541,
-0.13795427978038788,
0.18684330582618713,
0.373104989528656,
-0.3283689022064209,
-0.020478693768382072,
0.2392624020576477,
0.20875371992588043,
-0.38604822754859924,
-0.5675569772720337,
0.25203898549079895,
0.3319292366504669,
-0.17756742238998413,
-0.28073254227638... |
A moment ago on _Mr. Sunshine_ , Matthew Perry pronounced the end of a _conch_ shell as in _church_. I learned it as being pronounced with a _k_ sound. On WikiPedia, both are listed as pronunciations, but on the Merriam Webster and Dictionary.com sites, the audio clip pronounces with a _k_. Is there a proper or official pronunciation, perhaps from a different, originating language? | [
0.003869902342557907,
-0.00908571109175682,
-0.011989266611635685,
0.016278844326734543,
-0.018698841333389282,
0.006875171326100826,
0.008261083625257015,
-0.026800861582159996,
-0.014779757708311081,
0.014192920178174973,
0.00564300362020731,
0.004751278553158045,
-0.005764443427324295,
... | [
0.16738206148147583,
0.614982545375824,
0.08884403109550476,
-0.1506226658821106,
-0.14270971715450287,
0.1966230422258377,
0.30605629086494446,
0.2513320744037628,
-0.24159730970859528,
-0.25317347049713135,
0.0654560998082161,
0.03531146049499512,
0.04634368419647217,
0.5730057954788208,... |
in functions.php, I've defined the following: register_nav_menu( 'home_blocks', __( 'Home Page Posts', 'my_Theme' ) ); In `/wp-admin/nav-menus.php`, I've added a menu called Home Page Posts and assigned 3 posts to it and set it to be the item associated with Home Page Posts as the menu location. In `index.php`, I've added the following: if ( has_nav_menu( 'primary' ) ) { echo 'has primary<br />'; } else { echo 'no primary<br />'; } if ( has_nav_menu( 'home_blocks' ) ) { echo 'has home blocks<br />'; } else { echo 'no home_blocks<br />'; } Both of the successful conditions are echoed. When I try to return the menu contents so I can run some inline custom output based on post_id, I attempted the following code and got NULL or string(0) "", depending on what values I put for the location and menu name. What way are these values associated and how would I get the menu back? $defaults = array( 'theme_location' => 'home_blocks', 'menu' => '', 'container' => '', 'container_class' => '', 'container_id' => '', 'menu_class' => '', 'menu_id' => '', 'echo' => 1, 'fallback_cb' => '', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'items_wrap' => '', 'depth' => 0, 'walker' => '' ); $menu = wp_nav_menu( $defaults ); var_dump( $menu ); | [
0.006479316391050816,
0.013149095699191093,
0.004637112375348806,
0.022222451865673065,
0.0030562670435756445,
0.0013562613166868687,
0.007437537424266338,
-0.002445648889988661,
-0.013255612924695015,
-0.0007412901613861322,
-0.014554326422512531,
0.0028154593892395496,
0.00416935607790947,... | [
0.10338699072599411,
-0.025074787437915802,
0.15775015950202942,
-0.4713436961174011,
0.05929899588227272,
0.18758466839790344,
0.15355344116687775,
-0.5152165293693542,
-0.1356756091117859,
-0.19468118250370026,
-0.25269466638565063,
0.2679879069328308,
-0.4361911714076996,
-0.05699712783... |
In a site I have using Wordpress 3.0, when I'm in a single post, the navbar showing the categories doesn't give the parent category the class of "current_cat" and therefore that category is not highlighted. How can I make Wordpress give the parent category that class in single_post mode? | [
0.005659984424710274,
0.013686326332390308,
-0.005305007565766573,
0.043156698346138,
0.004375292453914881,
-0.007805035915225744,
0.011449333280324936,
0.0443408377468586,
-0.016111314296722412,
0.026462089270353317,
-0.03316396474838257,
0.016442885622382164,
0.0005789952701888978,
0.003... | [
-0.04780963063240051,
-0.040598344057798386,
0.5150579214096069,
-0.037188589572906494,
-0.14860279858112335,
-0.11140274256467819,
0.3736248314380646,
0.2516203224658966,
-0.44348427653312683,
-0.46744585037231445,
-0.18537987768650055,
-0.1576298475265503,
-0.5141750574111938,
0.57114875... |
I would like the internal hyperlinks generated by `hyperref` to be colored **and** underlined. Reading some of the package documentation, I know that these `\hypersetup` keys exist: * `colorlinks`: when `true`, color the link; when `false`, draw a border around the link and color that. * `linkcolor`: the color of the link (requires `colorlinks=true` to have any effect) * `linkbordercolor`: the color of the link border color (requires `colorlinks=false` to have any effect) * `pdfborderstyle`: keys for the pdf borderstyle dictionary. I don't know what keys and values exist for this dictionary, but I do know that `pdfborderstyle={/S/U}` or `pdfborderstyle={/S/U/W 1}` can change the link border from a box to an underline. But it seems impossible with this key structure to have colored links (requiring `colorlinks=true` and colored borders (requiring `colorlinks=false`.) Here is a minimal (non)-working example (via): \documentclass{article} \usepackage{xcolor} \usepackage{hyperref} \hypersetup{colorlinks=false,linkbordercolor=red,linkcolor=green,pdfborderstyle={/S/U/W 1}} \begin{document} \section{To See}\label{tosee} \vskip2cm \hyperref[tosee]{just to see} \end{document} With `colorlinks=false` (the default), the text is black and the border is red. With `colorlinks=true` the text is green and there is no border. | [
0.003561727236956358,
0.004624495282769203,
-0.004535791464149952,
0.021356714889407158,
0.001267413143068552,
0.0008492206688970327,
0.007373305037617683,
-0.004067591857165098,
-0.012530834414064884,
-0.008333413861691952,
-0.007218549959361553,
-0.009592996910214424,
0.0048301005735993385... | [
0.15511204302310944,
-0.22297851741313934,
0.6374433040618896,
-0.10538558661937714,
0.09755687415599823,
-0.30152153968811035,
0.2787370979785919,
-0.0015681831864640117,
-0.025321168825030327,
-0.7967202067375183,
-0.1911638379096985,
0.46171873807907104,
-0.36556538939476013,
0.17495918... |
OS: Windows 7 64bit GIS: QGIS 1.8 (qgis.org/downloads/QGIS-OSGeo4W-1.8.0-2-Setup.exe) path variable: GISBASE=C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2 LD_LIBRARY_PATH=C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2\lib PATH=C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2\etc; C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2\etc\python; C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2\bin; C:\Program Files (x86)\Quantum GIS Lisboa\apps\msys\bin; C:\Program Files (x86)\Quantum GIS Lisboa\apps\Python27; PYTHONLIB=C:\Program Files (x86)\Quantum GIS Lisboa\apps\Python27 PYTHONPATH=C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2\etc\python GRASS_SH=C:\Program Files (x86)\Quantum GIS Lisboa\apps\msys\bin\sh.exe * * * * * * I have created a plugin for QGIS, with the QGIS plugin builder. Now i would like to import grass.script into this script # Import the PyQt and QGIS libraries from PyQt4.QtCore import * from PyQt4.QtGui import * from qgis.core import * # Initialize Qt resources from file resources.py import resources_rc # Import the code for the dialog from testdialog import testDialog # Import grass.script import os, sys import grass.script as grass If i run this Script then i get the following error: WindowsError: [Error 6] The handle is invalid The whole Error massage is: Couldn't load plugin test due an error when calling its classFactory() method Traceback (most recent call last): File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 164, in startPlugin plugins[packageName] = package.classFactory(iface) File "C:/Users/admin/.qgis//python/plugins\test\__init__.py", line 52, in classFactory from test import test File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/Users/admin/.qgis//python/plugins\test\test.py", line 31, in import grass.script as grass File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2\etc\python\grass\script\__init__.py", line 1, in from core import * File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2\etc\python\grass\script\core.py", line 1201, in debug_level = int(gisenv().get('DEBUG', 0)) File "C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2\etc\python\grass\script\core.py", line 558, in gisenv s = read_command("g.gisenv", flags='n') File "C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2\etc\python\grass\script\core.py", line 238, in read_command ps = pipe_command(*args, **kwargs) File "C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2\etc\python\grass\script\core.py", line 215, in pipe_command return start_command(*args, **kwargs) File "C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2\etc\python\grass\script\core.py", line 177, in start_command return Popen(args, **popts) File "C:\Program Files (x86)\Quantum GIS Lisboa\apps\grass\grass-6.4.3RC2\etc\python\grass\script\core.py", line 56, in __init__ startupinfo, creationflags) File "C:\PROGRA~2\Quantum GIS Lisboa\apps\Python27\lib\subprocess.py", line 672, in __init__ errread, errwrite) = self._get_handles(stdin, stdout, stderr) File "C:\PROGRA~2\Quantum GIS Lisboa\apps\Python27\lib\subprocess.py", line 784, in _get_handles p2cread = self._make_inheritable(p2cread) File "C:\PROGRA~2\Quantum GIS Lisboa\apps\Python27\lib\subprocess.py", line 823, in _make_inheritable _subprocess.DUPLICATE_SAME_ACCESS) WindowsError: [Error 6] The handle is invalid Python version: 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] QGIS version: 1.8.0-Lisboa Lisboa, f440b60 Python path: ['C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python', 'C:/Users/admin/.qgis//python', 'C:/Users/admin/.qgis//python/plugins', 'C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python/plugins', 'C:\\Program Files (x86)\\Quantum GIS Lisboa\\apps\\grass\\grass-6.4.3RC2\\etc\\python', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\bin\\python27.zip', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\DLLs', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\qgis\\bin', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~2\\Quantum GIS Lisboa\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode'] Has someone an idea ? regards Marcus | [
-0.012823759578168392,
-0.01644236221909523,
0.003376970998942852,
0.01296263188123703,
0.02269330807030201,
0.018951334059238434,
0.010230069980025291,
0.020992528647184372,
-0.01636032573878765,
-0.04628119617700577,
-0.0070534637197852135,
0.01060975156724453,
-0.0058139413595199585,
0.... | [
-0.52891606092453,
-0.08865991979837418,
0.5792123675346375,
0.14253373444080353,
0.10670095682144165,
0.15720269083976746,
0.3540859818458557,
0.07628974318504333,
-0.2784472703933716,
-0.7723901271820068,
-0.25856947898864746,
0.5533680319786072,
-0.3686985671520233,
-0.2978227436542511,... |
My teacher ask me to write an essay on this topic, but I have no clear understanding of this phrase. Can someone explain in more simple words? > If gold rust what shall the iron do. | [
0.01416708156466484,
0.040432125329971313,
0.004050758201628923,
0.02729586698114872,
-0.00860764179378748,
-0.030629271641373634,
0.01433588657528162,
0.02131919004023075,
-0.03237640857696533,
0.020436231046915054,
-0.003328768303617835,
0.018094224855303764,
0.0020925679709762335,
-0.00... | [
0.43122363090515137,
0.5371178388595581,
-0.4172915816307068,
-0.475981742143631,
-0.2017955631017685,
0.3799189627170563,
0.47676005959510803,
-0.31485506892204285,
-0.21357204020023346,
-0.4222404360771179,
0.31890806555747986,
0.5077939629554749,
-0.1566578894853592,
0.4302658140659332,... |
I would like to be able to suppress multiple outputs when a cell is evaluated. Is there a way to enable the "Evaluate in place" menu item of the Evaluate menu? | [
0.035520780831575394,
-0.008991522714495659,
-0.030817659571766853,
0.02028164267539978,
-0.03272948041558266,
-0.003233182244002819,
0.013107123784720898,
0.029322056099772453,
-0.03666996583342552,
-0.03220495209097862,
-0.025570685043931007,
0.016821682453155518,
-0.027475513517856598,
... | [
0.5934691429138184,
-0.0367061085999012,
-0.21604935824871063,
0.16488133370876312,
0.09517106413841248,
0.06953039020299911,
0.13521046936511993,
-0.5978055000305176,
-0.06933838874101639,
-0.3548211455345154,
0.3816578686237335,
0.36080580949783325,
-0.42809465527534485,
-0.1745118051767... |
I was listening to the song "I'll be there for you" by The Rembrandts and I realised that at the beginning they say: "Your love life's D.O.A." I used Google to search the meaning of D.O.A. and according to Wikipedia: "[it] is a term used to indicate that a patient was found to be already clinically dead upon the arrival of professional medical assistance, often in the form of first responders such as emergency medical technicians, paramedics, or police." My question is...do English native speakers use this expression to say that something is really bad (e.g. your love life)? How common is it? Thank you so much for your answers. | [
-0.026484815403819084,
0.007556341588497162,
-0.013928411528468132,
0.015822794288396835,
-0.0010371183743700385,
-0.0150673259049654,
0.008138621225953102,
0.0030098124407231808,
-0.015112575143575668,
-0.00008878996595740318,
-0.0011393794557079673,
0.0037511608097702265,
0.021436482667922... | [
0.6694796681404114,
0.08556809276342392,
0.1519133746623993,
-0.3330736458301544,
0.3234575390815735,
0.48234185576438904,
-0.0107326190918684,
0.4295489490032196,
-0.22471848130226135,
-0.12504369020462036,
-0.24486994743347168,
0.5229858160018921,
-0.15346463024616241,
-0.082059703767299... |
The study: Comparing two groups (intervention vs control) across time using a behavioral measure as the outcome variable of interest. I will have baseline behavioral measurements as well as more than 2 time points throughout treatment. I'm interested in finding any significant improvements from baseline across time (within each group) and whether or not there were significant differences between groups. Would this be a repeated measures ANOVA or MLM? Would I need to control for baseline behavioral measurement? Thank you in advance for any help with this!! | [
0.01848282292485237,
0.010702528990805149,
-0.009634686633944511,
0.023467591032385826,
0.02112601138651371,
0.03050592914223671,
0.010998479090631008,
0.02339247241616249,
-0.013744584284722805,
-0.026202941313385963,
-0.012895997613668442,
0.012368692085146904,
-0.00889110378921032,
0.01... | [
0.3404560685157776,
-0.21417216956615448,
0.2728538513183594,
-0.14545942842960358,
-0.010018701665103436,
0.41803795099258423,
0.5693901777267456,
-0.6509830951690674,
0.10568670928478241,
-0.35924652218818665,
0.5033344030380249,
0.22674135863780975,
0.08097382634878159,
0.14770576357841... |
Hy Hello all, I have an idea to implement but I hate to copy if it is been used by any other website(s). My idea is about suspending an account using text SMS. The description follows. `When a user signs into his account he gets an text SMS saying "Hello Mr.X you have been logged into your account from IP xx.xx.xx.xx, If you are not the real user logged in send reply to this as BLOCK<space>15<space>random code.` So, here the user can suspend his account by sending a return SMS as BLOCK 15 to block his account for 15mins. This text SMS can terminate the user session and does not allow him to login for next 15mins even with correct username and password. Likewise he can suspend his account for any value of time and can release the same by sending UNBLOCKrandom code. Is this kind of feature used by any website? Please let me know if it is used. Else I wanna be the first person to implement it. | [
-0.00004788002115674317,
0.004638800397515297,
0.0008600509609095752,
0.005510227754712105,
0.010395039804279804,
-0.0029153209179639816,
0.005813177675008774,
0.006899520754814148,
-0.011496847495436668,
0.008623888716101646,
-0.01835155487060547,
0.005870380438864231,
0.00457379687577486,
... | [
0.3564734160900116,
0.33245936036109924,
0.6169074177742004,
0.11167395114898682,
-0.3226960599422455,
-0.21520933508872986,
0.18642647564411163,
0.07549486309289932,
-0.3438841700553894,
-0.4266272485256195,
-0.46079573035240173,
0.2201850712299347,
-0.3430348038673401,
0.333467960357666,... |
What is the appropriate word or phrase which means the **internet name** of a person. I mean the nickname that a person uses in almost all places on the internet like blog, IRC, forums, mailing lists etc. | [
-0.01340380497276783,
0.007528400514274836,
-0.0186964962631464,
0.024812830612063408,
-0.005256377160549164,
0.021820520982146263,
0.014393232762813568,
0.003252636408433318,
-0.026388777419924736,
-0.05671316757798195,
0.012290648184716702,
0.016185952350497246,
0.05728570371866226,
0.01... | [
0.6366602182388306,
0.04607454314827919,
0.11606445908546448,
0.1772829294204712,
-0.10635247081518173,
-0.3894645571708679,
0.19730634987354279,
0.5460648536682129,
-0.360480397939682,
-0.40105828642845154,
-0.17155012488365173,
0.24412114918231964,
0.09346335381269455,
0.1981753855943679... |
I'm using `ParallelTable` to evaluate a function that involves `NIntegrate`. There are a lot of `NIntegrate::slwcon` warning messages. In fact, every kernel prints the same messages. I am aware that Mathematica is printing these warnings and now want to suppress them. I tried `Quiet[]` and `Off[NIntegrate::slwcon`. But they seem to have no effect whatsoever when using `ParallelTable`. How can I turn off (any) warning message when using `ParallelTable`? | [
0.01672130823135376,
0.0009028333588503301,
-0.01741310954093933,
0.02594873495399952,
-0.01766176149249077,
-0.007967346347868443,
0.009278889745473862,
0.008697845041751862,
-0.01117907464504242,
0.0058340649120509624,
-0.012822355143725872,
0.005369492340832949,
-0.007440618239343166,
0... | [
0.2478458434343338,
0.2967776656150818,
-0.06854689121246338,
0.09619602560997009,
0.09260682016611099,
0.1081717386841774,
0.07988636940717697,
0.21480326354503632,
-0.137638658285141,
-0.57032710313797,
0.1583251953125,
0.6981909871101379,
-0.4697569012641907,
0.3846336603164673,
0.167... |
I'm trying to insert multiple equations in a `tabular` environment in LaTeX. My problem is simple yet I haven't found any particular solution to it: the equations displayed are too small, and I'd like to increase their size so that I can obtain something less ugly than that (especially the last equation):  I tried various tricks found here and there (`\displaystyle`, `\def\arraystretch{3}`, etc.), but nothing work really well. | [
0.008464755490422249,
0.0018238490447402,
-0.003244719933718443,
0.010730737820267677,
0.004411713220179081,
-0.0047056772746145725,
0.003067184705287218,
0.00784037634730339,
-0.015109426341950893,
-0.017353519797325134,
-0.008496824651956558,
0.0078019918873906136,
-0.007160564884543419,
... | [
0.18216311931610107,
0.1370827555656433,
0.5885210037231445,
-0.1086505576968193,
0.028846513479948044,
0.13287901878356934,
0.3616962730884552,
-0.19755330681800842,
-0.38047149777412415,
-0.5752201080322266,
0.3010706603527069,
0.3945654034614563,
-0.4572688341140747,
-0.0271780323237180... |
Duels of the Planeswalkers 2014 has a sealed deck format in which you open several packs of Magic 2014. Magic 2014 as a core set contains planeswalker cards at mythic rare. My question is: does Duels 2014 finally have planeswalkers? It's hard to tell since one will only ever open so many packs. Thx. | [
0.023526405915617943,
-0.0002302637731190771,
0.0023356934543699026,
0.018697693943977356,
0.03335771709680557,
0.00698954239487648,
0.012150660157203674,
-0.0047415560111403465,
-0.03117097169160843,
-0.026394546031951904,
-0.01030777022242546,
0.027957508340477943,
0.01215844601392746,
-... | [
-0.19646239280700684,
0.06284216046333313,
0.4793500602245331,
0.5308575630187988,
-0.727898895740509,
-0.09931842982769012,
0.23300319910049438,
-0.7630318999290466,
-0.06745858490467072,
-0.3568651080131531,
0.19011762738227844,
0.5863913893699646,
0.32605844736099243,
-0.061257407069206... |
A recent L.A. Times brief mentioned that the horse California Chrome's qualification for a race was in question because "he uses nasal strips." The phrasing caught my eye because, to me, saying "he uses" implies that it is the horse's decision (as opposed to that of his trainers or other people). Was the paper correct? | [
0.0015672048320993781,
-0.006633504759520292,
-0.0055090091191232204,
0.013812997378408909,
-0.023121634498238564,
0.003917182795703411,
0.009146897122263908,
0.007357431575655937,
-0.013385954312980175,
-0.0004978929064236581,
-0.000809218268841505,
0.012600778602063656,
0.00813746917992830... | [
0.5530775785446167,
-0.22223874926567078,
-0.45678776502609253,
-0.1342911422252655,
-0.0029676645062863827,
-0.09945496171712875,
0.22238263487815857,
-0.08915627747774124,
0.07579074800014496,
-0.07557623833417892,
0.23875348269939423,
0.8252802491188049,
-0.3614111840724945,
-0.10524354... |
I want to update posts meta value in the wp_query to a different value on click. What I am basically doing is making a notification bubble (like stackoverflow). 1. `wp_query` with the number of posts that have meta value 'unread' - WORKING 2. Show the count bubble on top op logged in user's display name - WORKING 3. On clicking the notification, hide the bubble and change post meta value with ajax only for the posts in the `wp_query` from 'unread' to 'read' so that the count is only visible next when there's a new post with meta value 'unread' - HOW? 4. Show a dropdown of all latest posts with meta value 'read' - maybe another query? Here's my code for count bubble. add_shortcode('notify', 'notify_member'); function notify_member() { global $current_user; get_currentuserinfo(); $userid = $current_user->ID; $args = array( 'posts_per_page' => '-1', 'post_type' => 'answer', 'post_status' => 'publish', 'author__not_in' => $userid, //exclude user posts 'meta_query' => array( 'relation' => 'AND', array( 'key' => 'question_owner_id' 'value' => $userid, //only show posts for the user 'compare' => '=' ), array( 'key' => '_read_answer' 'value' => 'unread', //only show unread posts 'compare' => '=' ), ) ); $questions = new WP_Query( $args ); $html = ''; $html .= '<a href="#" class="count">'.$questions->found_posts.'</a>'; //total count return $html; } I have looked at ajax like and vote tutorials, they tackle one post at a time. I will need the below to work for all returned posts from the query and change at the same time. if( $questions->have_posts() ) { while ( $questions->have_posts() ) { $questions->the_post(); update_post_meta( $post->ID, '_read_answer', 'read' ); } } I am out of ideas, any direction is welcome. Thanks. P.S. I am not a coder, so please do explain a little. | [
0.005475468467921019,
0.011207584291696548,
0.008653748780488968,
0.022592689841985703,
0.018130188807845116,
-0.013797622174024582,
0.010942353866994381,
-0.00036429869942367077,
-0.018320810049772263,
0.013043152168393135,
-0.00582337100058794,
0.012972874566912651,
-0.02704896405339241,
... | [
0.3164709210395813,
0.09419064223766327,
0.5006345510482788,
-0.21664650738239288,
-0.327466756105423,
-0.24018815159797668,
0.08424980938434601,
-0.38582274317741394,
-0.08373595774173737,
-0.8382447361946106,
0.2708422839641571,
0.6909005641937256,
-0.4211222529411316,
0.0775007978081703... |
I am writing a BASH script that automatically configures, builds and installs the most recent kernel image. The generated kernel should include the grsecurity patchset. It would use the previous configuration from `/proc/config.gz`, which I created manually when compiling the first custom kernel on the machine. Is it safe to fully automatize the process? It would look like this: 1. Check the most recent kernel that `grsecurity` is available for 2. Download the `grsecurity` patchset and the matching kernel source tree 3. Patch the kernel 4. Copy the previous kernel configuration file into the kernel source directory 5. Run `make olddefconfig` to configure the kernel based on the previous configuration 6. Compile the kernel with `fakeroot make deb-pkg` 7. Install the resulting packages and change bootloader priority 8. Send me a mail indicating that a reboot is required The main question: is it likely that a kernel compiled with `olddefconfig` will contain errors that prevent the system from booting if the previous configuration is working correctly? It is very important because it is a remote server accessed via SSH and a manual rescue would take a lot of effort. | [
0.022142905741930008,
0.012987315654754639,
-0.0036005526781082153,
0.016381941735744476,
-0.011872665025293827,
-0.011876130476593971,
0.009075058624148369,
-0.031241964548826218,
-0.021440798416733742,
0.024460382759571075,
-0.005839935503900051,
0.018105383962392807,
-0.0099964439868927,
... | [
0.29777002334594727,
0.16682404279708862,
0.12408251315355301,
0.03541073948144913,
-0.10036051273345947,
-0.024845343083143234,
0.009728156961500645,
-0.2251417487859726,
-0.04950730502605438,
-0.8684722185134888,
-0.056618910282850266,
0.9043261408805847,
-0.18260854482650757,
-0.1570545... |
Let's say I have a database of persons who have some properties. For the sake of this problem let's say all of these properties relate as N-N. I can either create two tables for each property (one for different values and one for cross-referencing them to the main object). Or, I can make the following structure:  Basically having just one huge table of values. Are there any advantages to this approach? Also, does this approach or pattern have a name that I can look up? UPDATE: For example, we make classifier `pets` with properties `cat`, `dog` and `fish`. So one person may have a `cat` and a `dog` (or one pet, or none). And we make a classifier `hobby` with values `skiing`, `skating`, `football` and `TV`. So Joe has properties `cat`, `dog`, and `TV`. Then `cat` and `dog` are `pets` and `TV` is `hobby`. The question is, is it worthwhile to put this data using this diagram, or is it a better idea to just create `pets`, `pets_xref`, `hobby`, `hobby_xref` tables? | [
0.0074266185984015465,
0.02875053882598877,
-0.008925873786211014,
0.01029844582080841,
-0.01354927197098732,
0.0029138464014977217,
0.004857615567743778,
0.00690760463476181,
-0.013021375983953476,
-0.017569683492183685,
-0.002999585121870041,
0.005609120707958937,
-0.014697054401040077,
... | [
0.4704926013946533,
0.12094902247190475,
0.3073982000350952,
0.16108068823814392,
-0.0385248064994812,
-0.06280045956373215,
0.13136519491672516,
-0.3417184054851532,
-0.6385534405708313,
-0.5793066024780273,
0.04225172474980354,
0.44296765327453613,
-0.2068718522787094,
0.2595373690128326... |
I have been working as an embedded software engineer on mostly 8 bit micro- controller firmware and desktop/mobile applications development for the past five years. My work on a WinCE project (in which I got introduced to .NET CF) was short lived. I did use core APIs for interrupt processing, peripheral communication, etc...but again, not exactly a pure RTOS environment. In order to get together more solid experience for growing more in the embedded field, I want to work more with RTOSes. Will buying an evaluation board with an RTOS and putting together a project at home be regarded as a good experience or will an online course be more useful? I am just not clear as to what will be regarded as good experience. Any suggestions or directions will greatly help me. I have a passion for the field but just a need a point in the right direction. | [
0.0038378145545721054,
0.0032892851158976555,
-0.021286197006702423,
0.01058447826653719,
-0.0026813731528818607,
-0.007601301651448011,
0.006805134937167168,
0.00617861095815897,
-0.014231315813958645,
-0.00894186645746231,
-0.0019277080427855253,
0.013122418895363808,
0.004016995895653963,... | [
0.5463937520980835,
0.5829393863677979,
0.04634053260087967,
0.05502823367714882,
0.060171354562044144,
-0.2811048924922943,
0.12829214334487915,
-0.04882819205522537,
-0.09660663455724716,
-0.7152435779571533,
0.2014206051826477,
0.8077847957611084,
0.06648656725883484,
0.0199819095432758... |
I prefer my week view of my calendar to start on Monday rather than Sunday. I already have my Google Calendar set that way (to which I sync). How can I do the same on my Droid (Android 2.2)? | [
-0.004267143085598946,
0.022382827475667,
-0.03241949528455734,
0.007745423354208469,
-0.022081684321165085,
0.017660118639469147,
0.011259634047746658,
0.02024395763874054,
-0.019305873662233353,
0.0054341936483979225,
-0.0259605310857296,
0.0015651303110644221,
-0.005608920473605394,
0.0... | [
0.42685967683792114,
-0.1408851444721222,
0.8141568899154663,
-0.22606325149536133,
-0.039596013724803925,
0.435282438993454,
0.1801057606935501,
0.5394178032875061,
-0.4021737277507782,
-0.6758307814598083,
-0.08684374392032623,
0.6084786057472229,
-0.07168450206518173,
0.0705475136637687... |
I implemented a zoom to feature extent function in my code, it works fine in new FireFox, Chrome, and IE10, but the tester's are having troubles with it in IE8. I noticed that all the data shows up on the map and in the table, yet it doesn't zoom. What am I doing wrong? Here is where I call my zoom function. function displayResults(results, messages) { var featureset = results[0].value; var simplePolySymbol = new esri.symbol.SimpleFillSymbol(); simplePolySymbol.setOutline(new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([0, 96, 170, .75]), 1)); dojo.forEach(featureset.features, function (feature) { feature.setSymbol(simplePolySymbol); resultsLayer.add(feature); }); myMap.addLayer(resultsLayer); myMap.Search.handleStats(results, messages); var extent = esri.graphicsExtent(featureset.features); myMap.setExtent(extent, true); } Also my table doesn't populate in IE8, althought im seeing the values I need in the console. Here is my table code: myMap.Search = { gpGetStats: new esri.tasks.Geoprocessor(gpURL), getRouteStats: function () { console.log(dojo.byId('resultsLayer').value); var params = { "ZIP_CRID": dojo.byId('resultsLayer').value }; resultsLayer.Search.gpGetStats.execute(params, resultsLayer.Search.handleStats); }, handleStats: function (results, messages) { console.log(results); var content = ''; content += '<table>'; content += '<tr><td> ZIP CRID </td><td> Bus </td><td> Res </td><td> Tot </td><td> <200 </td><td> DS Key </td></tr>'; dojo.forEach(results[0].value.features, function (crid, i) { console.log(crid.attributes.ZIP_CRID + ', '); content += '<tr><td>' + crid.attributes.ZIP_CRID; content += '</td><td> ' + crid.attributes.BUS_CNT; content += '</td><td> ' + crid.attributes.RES_CNT; content += '</td><td> ' + crid.attributes.TOT_CNT; content += '</td><td> ' + crid.attributes.LT_200_IND; content += '</td><td> ' + crid.attributes.DS_KEY + '</td></tr>'; }); content += '</table>'; dojo.byId('details').innerHTML = content; }, | [
-0.01501836720854044,
-0.00028977368492633104,
-0.005249746143817902,
-0.0031346676405519247,
-0.01595519296824932,
-0.009506503120064735,
0.007654204033315182,
0.022134345024824142,
-0.022626115009188652,
-0.004362126812338829,
0.0008956736419349909,
0.010932113975286484,
-0.013813589699566... | [
0.23091834783554077,
-0.2710668444633484,
0.9840338826179504,
-0.22701895236968994,
-0.019001610577106476,
-0.010867810808122158,
0.5189019441604614,
-0.36603716015815735,
-0.0843876451253891,
-0.67383873462677,
0.0957435742020607,
1.0639277696609497,
-0.2790604829788208,
-0.08933649957180... |
I want to remove UTF-8 BOM from a file using this command: sed '1 s/\xEF\xBB\xBF//' old.java > tmp.java But it did not work. I am running with ksh on AIX 7.1 | [
0.014396493323147297,
0.017592616379261017,
-0.024015333503484726,
0.009084598161280155,
-0.0260985866189003,
0.03234022855758667,
0.011350161395967007,
0.006565186660736799,
-0.022126592695713043,
-0.01365481223911047,
-0.027519291266798973,
0.005535271018743515,
-0.013333017937839031,
0.... | [
0.10983268916606903,
0.37544262409210205,
0.3262152075767517,
-0.5855582356452942,
-0.06611026078462601,
-0.18989591300487518,
0.6983384490013123,
-0.15887334942817688,
-0.005064758937805891,
-0.7453081011772156,
-0.12069524079561234,
0.385964572429657,
-0.5693830251693726,
0.3893924355506... |
I'm trying to generate a table containing some static text and some text that should be supplied from a defined macro. Consider the following MWE: \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage[norsk]{babel} \usepackage{fouriernc, graphicx, booktabs, multirow, tabularx} \usepackage[showframe,width=0.85\paperwidth]{geometry} \newcommand{\lsubject}{Naturfag} \newcommand{\ldate}{20.08.13} \newcommand{\lclass}{9D} \newcommand{\lduration}{90 min.} \newcommand{\lstart}{0815} \newcommand{\lend}{0945} \newcommand{\lcompetence}{Gjøre greie for hvilke biotiske og abiotiske faktorer som inngår i et økosystem og forklare sammenhengen mellom faktorene.} \begin{document} \noindent \begin{tabularx}{1\textwidth}{*{4}{X}} \toprule Dato: \ldate & Klasse: \lclass & Varighet: \lduration & Tidspunkt: \lstart--\lend \\ Fag: \lsubject & \multicolumn{3}{l}{Kompetansemål (K06): \lcompetence} \\ \bottomrule \end{tabularx} \end{document} With the flattering output of  The intention is that the text in `\lcompetence` should fill 3/4 of the page (such that the columns in the first row is evenly distributed across the text width, thus the `multicolumn` environment in row 2), but it doesn't linebreak properly. It rather squeezes the other columns together. I've tried to wrap the `\lcompetence` in a `parbox`, but that resulted in the lower left cell `Fag: Naturfag` (it's not English :p) being centered with respect to height in the cell rather than in the top of it. I've tried some solutions with both the `tabular` and the `tabularx` environment, thus the question title. Is there an elegant way of fixing this so the `\lcompetence` content fills 3/4 of the text width nicely? It feels like this question could have been answered before, but I'm not able to find an answer. | [
-0.005863313563168049,
0.00994700938463211,
0.007442742586135864,
0.010620582848787308,
0.004025529604405165,
0.010528512299060822,
0.006318962667137384,
0.012089951895177364,
-0.009928800165653229,
-0.010000920854508877,
-0.009492862969636917,
0.00017905031563714147,
0.002405754989013076,
... | [
0.17533493041992188,
0.16924770176410675,
0.46882861852645874,
0.03506968542933464,
-0.12834584712982178,
0.07357873767614365,
-0.013682887889444828,
-0.2230975478887558,
-0.23627427220344543,
-0.6919305324554443,
-0.06997305154800415,
0.27237409353256226,
-0.4240949749946594,
0.1043270453... |
Is it possible to make somebody that logs in with Facebook automatically like our Facebook page? I have the same question about Twitter. If anyone logs in via Twitter, can they automatically follow us? | [
0.014518212527036667,
-0.0018406650051474571,
-0.0011334815062582493,
0.009917907416820526,
0.01968192681670189,
0.006485227961093187,
0.011575942859053612,
0.004947899375110865,
-0.04072752594947815,
-0.0006144266808405519,
-0.03341665863990784,
0.035770662128925323,
0.02805587835609913,
... | [
0.7794163823127747,
-0.1583358645439148,
0.23905104398727417,
0.04786341264843941,
0.07807821780443192,
-0.09588024020195007,
0.11405664682388306,
0.3111417293548584,
-0.5364697575569153,
-0.36552003026008606,
0.32927343249320984,
0.23068629205226898,
-0.17807058990001678,
-0.0037750992923... |
I have multiple types of users using WordPress. One type is contributor. Right now they can't publish a post, it as to be the Admin or Editor. The problem I have is after the article is publish the contributors cannot re- access the page of the Post inside there WordPress account. It just says they don't have the rights. So is there a way that they can view the Post page without being allowed to edit anything or if they do and save it, it will not save it? | [
-0.005788156762719154,
0.004172077868133783,
0.005151650868356228,
0.03231627494096756,
0.004498104564845562,
0.0012282072566449642,
0.009734350256621838,
0.01327142957597971,
-0.015724316239356995,
-0.008630399592220783,
-0.016655605286359787,
0.018581463024020195,
0.01267749909311533,
0.... | [
0.5596864223480225,
0.35137519240379333,
0.3318231403827667,
-0.07534577697515488,
-0.2646038234233856,
-0.24581611156463623,
0.10778437554836273,
0.39147311449050903,
-0.2852572202682495,
-0.5449512600898743,
0.30457374453544617,
0.24445311725139618,
-0.25981834530830383,
0.54755300283432... |
In an "interesting" thread of comments we began to look at the word **fuck** in several different uses. Most of them were interjections and verb uses as would be expected. But, perhaps dialectally, the word can easily be used as a noun, and even an adjective. I would like to see how many different parts of speech can the word **fuck** be used as in its unmodified form. ( _i.e._ no fucking, fucked, etc.). Pluralization of noun or conjugation to fucks is the only acceptable variant. The answer must provide real-world examples ( _i.e._ no mere cramming of the word into a sentence and claiming it's an adverb!) And, I will even accept different verb types, adjectives, nouns, etc. (e.g. If you can find a grammatical way to use it as a helper verb, my hat is off to you.) If you wish to get extra credit, then you can answer with some of the variants above, but only after you have made an answer per the above rules. The winner should have _both_ the most varied and interesting answers! **Just to make it clear, this is a word-game, and as such will be a bit broad or POB.** | [
-0.023441053926944733,
0.01027499046176672,
-0.00427513150498271,
0.023432532325387,
-0.015972144901752472,
-0.03448842465877533,
0.00781468115746975,
-0.009520440362393856,
-0.016949884593486786,
0.0015909727662801743,
0.009102480486035347,
0.006489005405455828,
0.011945941485464573,
0.00... | [
0.5832506418228149,
0.4853149354457855,
0.13651171326637268,
-0.12326691299676895,
-0.31712451577186584,
0.368554025888443,
0.4254307448863983,
0.3293989598751068,
-0.3214627802371979,
-0.2944698929786682,
-0.12458986788988113,
0.6647396683692932,
-0.42573046684265137,
0.26348522305488586,... |
I have activated the "Enable direct WMS Integration" switch in Geoserver 2.5. As far as I can understand, this enables caching of layers without having to use the "gwc/service/wms" endpoint in the WMS URL. I assume that this enables geowebcache tilecaching dynamically when the tiles are requested. However, I am not seeing the correponding cache being created in the gwc directory in geoserver_data_dir. Is it working? How can I tell? | [
-0.027541954070329666,
0.003470534458756447,
-0.0077036418952047825,
0.03649056702852249,
0.012570859864354134,
-0.0008538963738828897,
0.011814963072538376,
-0.013279981911182404,
-0.021128633990883827,
-0.03355574607849121,
-0.0025404863990843296,
0.013867329806089401,
-0.02787260338664055... | [
0.3543210029602051,
0.00890182051807642,
0.7414847016334534,
-0.3165024220943451,
0.02426927536725998,
-0.3411525785923004,
0.16662894189357758,
-0.07188736647367477,
0.011356941424310207,
-0.8408560156822205,
-0.2028091847896576,
0.5330406427383423,
-0.2883315682411194,
0.2112709879875183... |
I'm working with web development since 2009, when I started with PHP. When I moved to ASP.NET I've heard a lot about DDD and OOAD where a lot of focus is given to this "business logic" and "business rules". The point is that all the apps I've developed until now were all about CRUD operations and I've never seem these things in practice. I simply can't imagine what those things can really be in practice. So, what really is this business logic and how this fits into an app? I know these are implemented as methods in domain models, but what those methods could possibly be, and where in the application they could possibly used? | [
-0.028431754559278488,
0.01459178514778614,
-0.012866167351603508,
0.00449034059420228,
-0.0012887036427855492,
0.01751134544610977,
0.006434227805584669,
0.013511242344975471,
-0.017237309366464615,
-0.013081568293273449,
-0.013959771022200584,
0.014677850529551506,
0.011046448722481728,
... | [
0.5264875292778015,
0.5631705522537231,
0.3070729672908783,
-0.04073004052042961,
-0.06155627220869064,
0.07288052886724472,
-0.05143050476908684,
0.2871508002281189,
-0.3954472839832306,
-0.7420430779457092,
0.4052066504955292,
0.6364684104919434,
0.037476807832717896,
0.08041618764400482... |
How can the medium and semibold weights of Adobe Minion Pro be accessed in pdfLaTeX with the MinionPro package? I am confused by the package documentation, which indicates initially that the `fullfamily` package option enables Medium and Semibold fonts, but then in section 8 suggests that these are only available through substitutions. I am aware of the two answers to this question, the first of which is not a pdfLaTeX solution, and the second of which gives a 'Missing $ inserted' error for me. Unfortunately I am not familiar enough with macros to debug this error, or to work out whether MinionPro is actually providing the appropriate `\DeclareFontShape` as required. A minimal (non-working) example follows, where the {m} font series is rendered as Minion Regular, and the {sb} font series is rendered as bold, rather than Medium and Semibold as desired. \documentclass[a4paper]{minimal} \usepackage[fullfamily]{MinionPro} \begin{document} text \fontseries{m}\fontshape{n}\selectfont text \fontseries{sb}\fontshape{n}\selectfont text \fontseries{bx}\fontshape{n}\selectfont text \fontseries{eb}\fontshape{n}\selectfont text \end{document} If the answer is that the MinionPro package does not fully support these weights, is there something I can put in the preamble to enable their use? | [
0.025130918249487877,
-0.0012583232019096613,
-0.0032984567806124687,
0.02138245478272438,
0.0033589298836886883,
-0.008476026356220245,
0.008502354845404625,
0.030666284263134003,
-0.015365255065262318,
-0.013586413115262985,
-0.01697671413421631,
0.005251054652035236,
-0.000386125408113002... | [
-0.043726447969675064,
0.19975143671035767,
0.4221961498260498,
-0.05115625634789467,
0.05592634156346321,
0.18058796226978302,
0.08867083489894867,
-0.1662348210811615,
0.0676078274846077,
-0.3285694420337677,
-0.250156968832016,
0.7086992263793945,
-0.3314726948738098,
-0.086453877389431... |
I am using this mobile for over a week now and accidentally, I tapped on open (always open) on my ringtone such that, now I cannot set any MP3 ringtones and stuck with default Sony ringtones. Is there anyway that I can change it to use MP3 ringtones. | [
0.01922212354838848,
0.0011702030897140503,
-0.01531950756907463,
0.025042729452252388,
-0.022283686324954033,
0.0001280928699998185,
0.010655786842107773,
0.006744680926203728,
-0.02715345099568367,
-0.0012958868173882365,
-0.020145276561379433,
0.008127732202410698,
0.01442911196500063,
... | [
0.013943457044661045,
0.4484635889530182,
0.5464842915534973,
-0.288959264755249,
0.06301243603229523,
0.06941431015729904,
0.4658585786819458,
0.12663611769676208,
-0.1695425659418106,
-0.4249477982521057,
0.16594821214675903,
0.7092626690864563,
-0.14427737891674042,
0.3142218291759491,
... |
Are there any statistics (or an industry standard) for mobile device screen resolutions? I'm optimising a site for mobile. So far I've just used one media query and it works fine down to about 240px wide, but messes up a bit after that. I'd love to know what's the smallest size worth accommodating. | [
-0.0005447090952657163,
0.003465610323473811,
-0.012995530851185322,
0.005583483725786209,
-0.023360706865787506,
0.009339197538793087,
0.008558346889913082,
0.0034834546968340874,
-0.01913977786898613,
-0.023252060636878014,
0.008080980740487576,
0.0038452630396932364,
0.015044608153402805,... | [
0.51874178647995,
0.0971083715558052,
0.4064631760120392,
-0.02252308465540409,
0.0021051447838544846,
0.31540587544441223,
0.0013762181624770164,
0.17932671308517456,
-0.5518399477005005,
-0.8275343775749207,
0.5132671594619751,
0.5128988027572632,
0.002215384738519788,
0.0798216462135315... |
How do I write by proof, the ground state of the toric code (by Kitaev) Hamiltonian $ H=-\sum_{v}A(v)-\sum_{p}B(p) $ where $A(v)=\sigma_{v,1}^{x}\sigma_{v,2}^{x}\sigma_{v,3}^{x}\sigma_{v,4}^{x}$ and plaquette term $B(p)=\sigma_{p,1}^{z}\sigma_{p,2}^{z}\sigma_{p,3}^{z}\sigma_{p,4}^{z} $ ? Here $v$ are indices of vertices on a lattice with spin-1/2 particles on the edges, $p$ refers to the indices of the plaquettes in the lattice.  | [
0.0013451608829200268,
0.00924457237124443,
0.007990103214979172,
0.015888258814811707,
0.007247596979141235,
0.012480022385716438,
0.007257961668074131,
-0.009261357598006725,
-0.010639672167599201,
0.020814334973692894,
-0.01897384040057659,
-0.0008917759405449033,
-0.03740813583135605,
... | [
-0.0717630386352539,
0.4715871214866638,
0.4441336691379547,
-0.17348460853099823,
0.03808099031448364,
0.3465487062931061,
0.23244494199752808,
-0.8734172582626343,
-0.06035581976175308,
-0.4792708456516266,
0.21062619984149933,
0.2936357259750366,
-0.03350690379738808,
0.3739387691020965... |
I have spent time and figured out how to add Multiple Thumbnails to a custom post type in the wordpress admin for the custom post type, code and question below: if (class_exists('MultiPostThumbnails')) { // imports to post_type pages new MultiPostThumbnails(array('label' => '2nd Feature Image', 'id' => 'feature-image-2', 'post_type' => 'page', 'post_type' => 'landing_pages')); /* 'post_type' => 'landing_pages' adds support for landing pages CPT */ new MultiPostThumbnails(array('label' => '3rd Feature Image', 'id' => 'feature-image-3', 'post_type' => 'page', 'post_type' => 'landing_pages')); new MultiPostThumbnails(array('label' => '4th Feature Image', 'id' => 'feature-image-4', 'post_type' => 'page', 'post_type' => 'landing_pages')); new MultiPostThumbnails(array('label' => '5th Feature Image', 'id' => 'feature-image-5', 'post_type' => 'page', 'post_type' => 'landing_pages')); }; _*_ Does anyone know if there is a way to write an array or condense the code below so you dont have to list the post type twice: new MultiPostThumbnails(array('label' => '2nd Feature Image', 'id' => 'feature-image-2', 'post_type' => 'page', 'post_type' => 'landing_pages')); Thanks. | [
0.010608736425638199,
0.01048647053539753,
0.00836393516510725,
0.02979932725429535,
0.022943204268813133,
0.0020707836374640465,
0.00790473073720932,
0.03690994530916214,
-0.014275038614869118,
0.008673670701682568,
-0.01398041658103466,
0.014953669160604477,
0.0006612415891140699,
0.0181... | [
0.38576260209083557,
0.04423617571592331,
0.6911177039146423,
0.005711913108825684,
0.04305098578333855,
0.3448851704597473,
0.08573802560567856,
-0.32369229197502136,
-0.1590045690536499,
-0.9374544620513916,
0.1320299506187439,
0.3292485773563385,
-0.3027062714099884,
0.11120466142892838... |
I am a junior software developer and I have been researching some of the practices in the industry to make myself better. I have been looking at unit testing briefly and I cannot see how the extra time writing a ton of unit tests is going to make my code better. To put things into perspective: 1. The projects I work on are small 2. I am the only developer on the said project (usually) 3. The projects are all bespoke applications The thing I don't get the most is, how can a unit test tell me whether my calculate price function (which can depend on things like the day of the week and bank holidays etc, so assume 20-40 lines for that function) is correct? Would it not be quicker for me to write all the code and the sit through a debugging session to test every eventually of the code? Any examples that are forms-based would be appreciated (examples I have seen from the MSDN videos are all MVC and a waste of time IMHO). | [
0.012243425473570824,
0.015409911051392555,
-0.011279131285846233,
0.00031775468960404396,
0.006788053549826145,
0.005029560066759586,
0.005440878216177225,
0.0053252833895385265,
-0.014761033467948437,
-0.006518112495541573,
-0.0054078130051493645,
0.015594419091939926,
-0.00065749778877943... | [
0.7972666025161743,
0.3097386062145233,
0.110277459025383,
0.027612464502453804,
0.07564372569322586,
-0.13963201642036438,
0.11361828446388245,
0.10471110790967941,
0.16432414948940277,
-0.3309827148914337,
0.14055807888507843,
0.8302394151687622,
0.5633482933044434,
0.12830913066864014,
... |
Where does the term "Roguelike game" come from? I've never played this type of game before except perhaps as a coin operated game in an arcade. | [
-0.01131241675466299,
0.03288329392671585,
0.03138403594493866,
0.03341994062066078,
-0.02005796879529953,
-0.03672804683446884,
0.013497752137482166,
-0.05560179054737091,
-0.05004364252090454,
0.01812809146940708,
-0.037568349391222,
0.035632338374853134,
0.02068817801773548,
-0.00302860... | [
0.3903631269931793,
-0.1682068109512329,
-0.26636841893196106,
0.31190839409828186,
0.13658607006072998,
-0.5679170489311218,
-0.3313189148902893,
0.5861915349960327,
-0.23401343822479248,
-0.2234407216310501,
0.6083031296730042,
0.4573013484477997,
-0.2750154435634613,
0.4580778181552887,... |
I am building a tool to access some data on a site (Fitocracy) and I would like to turn it into an unofficial partial API, as no official API exists. If you are not logged in, you cannot get access to any data, so my tool uses Ruby's mechanize to log in (with my account) and scrape some data from a page. How should I handle this when I turn it into an API? I am worried that people won't feel comfortable sending their login credentials through an unofficial API and I don't want to just circumvent the login to the site by giving everybody access through a dummy account. | [
0.014815255999565125,
0.013674100860953331,
0.007632121909409761,
0.009223648346960545,
-0.02751835808157921,
-0.010574575513601303,
0.008819354698061943,
0.006607705261558294,
-0.015044144354760647,
-0.019076164811849594,
-0.013865288347005844,
0.0074304151348769665,
-0.011921587400138378,
... | [
0.795585572719574,
0.3210406005382538,
0.08076601475477219,
0.03375314176082611,
-0.047811269760131836,
-0.04746946319937706,
0.3363097012042999,
-0.11203564703464508,
-0.1812242567539215,
-0.8545398116111755,
0.3102686405181885,
0.3750819265842438,
-0.1934937834739685,
0.3216700553894043,... |
In the article titled “The French do buy books. Real books” appearing in New York Times (July 9), the author, Pamela Druckerman writes: > “Recently when I was strolling through my museum-like neighborhood in > central Paris, I realized there were seven bookstores within a 10-minute > walk of my apartment.--Do the French know something about the book business > that we Americans don’t? > > I was **in a bookstore-counting mood** because of the news that Amazon has > delayed or stopped delivering some books, over its dispute with the > publisher Hachette. This has **prompted soul-searching over Amazon’s 41 > percent share of new book sales** in America and its 65 percent share of new > books sold online. > > http://www.nytimes.com/2014/07/10/opinion/pamela-druckerman-the-french-do- > buy-books-real-books.html?partner=rss&emc=rss I was interested in the usage of the word,”’soul-searching’ over Amazon’s 41 % share of new book sales.” What does ‘soul-searching’ here mean? CED defines ‘soul search’ as: Deep and careful attention to private thoughts, **especially about a moral problem.** OED defines ‘soul search’ as: Deep and anxious consideration of one’s **emotions and motives** or of the correctness of a course of action. Merriam-Webster Online defines ‘soul searching’ as; Examination of one's own thoughts and feelings Common notion of ‘soul search” of the above dictionaries is attention to, or examination of one’s own emotion, feeling or motivation. I wonder if the expression “soul searching Amazon’s 41% sales share, which is an objective figure, not personal feeling and motivation is suitable to the original usage of ‘soul-searching,’ or not. BTW, I am interested in the usage of ‘in a bookstore-counting mood.” Can I apply “in XXX-counting mood” to any other subjects, for instance, “I’m in a counting-mood of the present administration’s failures in Economic policies,” “I’m in a counting-mood of my boss’ mishandlings of business”? Can it be well-understood by native English speakers? | [
-0.019057516008615494,
0.019295990467071533,
0.0011658754665404558,
0.007309156935662031,
-0.011892039328813553,
-0.004229255020618439,
0.007035982795059681,
-0.004439699463546276,
-0.011672462336719036,
0.010469051077961922,
-0.0132615827023983,
0.011653497815132141,
0.016869891434907913,
... | [
0.5935306549072266,
-0.10856512188911438,
0.21063725650310516,
0.25273656845092773,
-0.10523204505443573,
-0.16971156001091003,
0.3601468801498413,
0.18657925724983215,
-0.17409178614616394,
-0.46456947922706604,
-0.357499897480011,
0.6625622510910034,
0.17802652716636658,
0.41678282618522... |
I am using a plugin which uses a short-code format with curly brackets `{` I want to display this short-code in the `header.php`. Usually the following code works: `<?php echo do_shortcode('[shortcode]'); ?>`, but because of the `{` brackets I can´t seem get it to work. | [
0.006687518674880266,
-0.008726455271244049,
-0.00584008963778615,
0.020339054986834526,
-0.004742796998471022,
0.004168794024735689,
0.00914871133863926,
-0.004530504811555147,
-0.02115725353360176,
-0.027560148388147354,
-0.019156234338879585,
0.004828574135899544,
-0.009074468165636063,
... | [
0.6836525797843933,
0.2752065062522888,
0.20912466943264008,
-0.2171674519777298,
-0.12199562788009644,
-0.3189295530319214,
0.4124490022659302,
0.04528983682394028,
0.07914921641349792,
-0.42899683117866516,
0.17051005363464355,
0.3244361877441406,
-0.11930617690086365,
-0.005888582672923... |
I already tried all of the solutions you can find online like adding this to wp-config.php > 1 define('CONCATENATE_SCRIPTS', false); > > 2 I also deactivated all plugins and changed the theme, still no dice > > 3 Verified that permissions are correct and visual editor is enabled > > 4 Tried replacing with other editor than TinyMCE, no dice I suppose it is a server problem because another site on the server has the same problem Any suggestions how to debug it? "Add Media" works fine, so its not a JS issue or a permission issue I believe it could be related to mod_sec but I disabled it and still no dice. Not sure where to begin the debugging process. Any suggestions? | [
-0.014427172020077705,
-0.0015719884540885687,
0.0008120182901620865,
0.012025199830532074,
-0.0006551649421453476,
-0.005210697650909424,
0.006112718489021063,
0.005642513744533062,
-0.014609349891543388,
-0.005989783443510532,
-0.019803792238235474,
0.017619773745536804,
-0.015914168208837... | [
0.5314400792121887,
-0.07520654052495956,
0.5746939182281494,
0.09491559863090515,
-0.25003471970558167,
-0.21343441307544708,
0.20261535048484802,
-0.12917089462280273,
-0.2490128129720688,
-0.725657045841217,
0.14593634009361267,
0.6396908164024353,
-0.4420264959335327,
0.123670272529125... |
I would like to draw a horizontal line/rule beneath my multi-line caption to separate the caption more clearly from the rest of the text. A quick example: \begin{figure}[tb] \begin{center} \includegraphics[width=\textwidth]{./fig/test} \end{center} \caption{`Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum`} \label{fig:test} \end{figure} At the end of the caption I would like to put something like `\newline\hrule` or something similiar to the suggestions made in a related post: * How to draw a line between two paragraphs of my text? | [
0.003536682343110442,
-0.003173278644680977,
-0.012056192383170128,
0.02143487147986889,
0.011134079657495022,
-0.002046949230134487,
0.006041811779141426,
0.021222854033112526,
-0.012813705950975418,
0.026819614693522453,
-0.023136312142014503,
-0.009546326473355293,
0.0015006959438323975,
... | [
0.3357284665107727,
-0.06325659155845642,
0.5523410439491272,
-0.10243503004312515,
0.16034887731075287,
0.16179120540618896,
0.32120612263679504,
-0.0388348363339901,
-0.06671494990587234,
-0.40495386719703674,
-0.168662428855896,
0.39183586835861206,
-0.13797886669635773,
-0.288621366024... |
Ok, I'm going to try to explain this as simple as possible. I'm trying to modify a plugin called smart-lencioni-image-resizer v2.0. to be used in WP-Multisite. I'm trying to display an image through SLIR using the following URL: http://subsite.mainsite.no/wp-content/plugins/wp- filebrowser/slir/?w=90&h=90&c=1:1&i=http://bekkelaget.stiengenterprises.no/files/seniorsenter/DSC_3535.jpg I've done this successfully in v.1.4.2. But v2.0 is using a different method for including files. The `index.php` file looks like this: function __autoload($className) { var_dump($className); require_once strtolower($className) . '.class.php'; } new SLIR(); Now, where ever I try to include WP header: require_once($_SERVER['DOCUMENT_ROOT'].'/wp-blog-header.php'); I get the following error message: * **Warning: require_once(translation_entry.class.php) [function.require-once]: failed to open stream: No such file or directory in I:\Development\wamp\www\mysite\wp-content\plugins\wp-filebrowser\slir\index.php on line 43*** Line 43 in the `index.php` is: require_once strtolower($className) . '.class.php'; For some reason the `__autoload` function makes WP look for files in the SLIR directory. This is of cours wrong :( **UPDATE** I found one solution on the web that kind of works: function __autoload($className) { if(file_exists(strtolower($className) . '.class.php')) { require_once strtolower($className) . '.class.php'; } } This allows WP header file to be loaded. But for some reason it loads `mainsite.no` and drops executing the URL I added at the top. Is there any other way I can solve this problem? **UPDATE2** There is an .htaccess file in the SLIR folder. The file looks like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteRule . index.php [L] </IfModule> # Prevent viewing of the error log file in its default location <Files slir-error-log> Order Deny,Allow Deny from All </Files> Could it be that when I include the WP header file, it ignors the .htaccess file from SLIR? | [
-0.0025383026804775,
-0.005885274615138769,
0.0029734731651842594,
0.018399756401777267,
0.01859910413622856,
-0.0018264949321746826,
0.008806077763438225,
0.001760769635438919,
-0.01699114590883255,
-0.022660259157419205,
-0.00706123374402523,
0.0001797678996808827,
-0.0003990703262388706,
... | [
0.5949889421463013,
-0.06636632978916168,
0.760249137878418,
-0.10083729773759842,
-0.12430275976657867,
-0.2502883970737457,
-0.14933685958385468,
0.020450446754693985,
-0.3215934634208679,
-0.5326555371284485,
0.06371138989925385,
0.4574694037437439,
-0.2512747645378113,
0.15105506777763... |
In one section of his auto-biography, _Alvarez: Adventures of a Physicist_ , Luis Alvarez describes a tour of Antarctica. This comment about a flight over the south pole caught my attention: > The South Pole is located on level ice nine thousand feet above sea level, > so one goes _up_ to the pole. After passing the pole, we flew for hours at > constant barometric altitude and at a constant radar altitude of three > hundred feet above the surface. It was hard for me to believe that ice, like > water, seeks its own level to that accuracy. He's saying that the surface of the ice is a surface of constant air pressure. **Is this true?** I can imagine that the thick sheet of ice is sufficiently compliant that it would respond to changes in pressure from above. But how quickly, and over what length scales? And is he really implying that the air pressure at the south pole is the same as the air pressure several hours' flight away? | [
0.005230906419456005,
0.009486749768257141,
-0.01311233825981617,
-0.011730426922440529,
0.025309275835752487,
0.017028160393238068,
0.010629906319081783,
0.01988951675593853,
-0.012937015853822231,
0.022054841741919518,
0.00427045626565814,
0.013055258430540562,
-0.010845812037587166,
0.0... | [
-0.03074641153216362,
0.5173631310462952,
0.1491612046957016,
0.2747430205345154,
0.4105997085571289,
-0.1607634276151657,
0.5513505935668945,
0.14435268938541412,
-0.3162139058113098,
-0.14340630173683167,
-0.22892054915428162,
-0.2695775628089905,
0.11592816561460495,
0.16095587611198425... |
I am considering upgrading the Darkmoon fair trinket, but I see that the UI shows only the stats will be upgraded, will the use or proc be upgraded as well? | [
0.02822434902191162,
0.007488686591386795,
0.01758633553981781,
-0.0016533356392756104,
-0.05778888985514641,
-0.032258935272693634,
0.014559131115674973,
0.018705539405345917,
-0.02704933099448681,
-0.019069215282797813,
-0.030170973390340805,
0.03108982741832733,
-0.029274102300405502,
-... | [
0.31269609928131104,
-0.07419774681329727,
0.49170416593551636,
0.2431127429008484,
-0.31046339869499207,
0.02940239943563938,
-0.061783719807863235,
-0.18001678586006165,
-0.14618080854415894,
-0.5413286089897156,
0.11379069834947586,
0.6323890089988708,
0.36238381266593933,
-0.2157343178... |
I know there are many mods available to make DotA UI similar to Dota 2. However, I'm in need of a very simple change. I just need the minimap of Dota 2 to be imported into DotA. I'm not interested in any other things like icons, sounds, hero models, terrain etc. I've opened a similar thread at **PlayDota** (of course you would need an account to view the thread. Apologies to those who don't have it) I followed the procedure mentioned there but without any success. After trying numerous times I gave up and decided to seek a solution here. Are there any ready made mods available which suit my requirement? I'm also ready to carry out instructions give to me here (If any) | [
-0.0005343090742826462,
0.002248236909508705,
0.010087329894304276,
0.004739250987768173,
0.03841365873813629,
-0.0039045345038175583,
0.006383107043802738,
0.007661622483283281,
-0.01745118573307991,
0.012929314747452736,
-0.013743970543146133,
0.011430859565734863,
0.0005435170605778694,
... | [
0.49786967039108276,
-0.11559540778398514,
0.6643965244293213,
-0.0113987410441041,
-0.19876086711883545,
-0.0719163790345192,
0.4511958062648773,
0.0564330592751503,
-0.024862349033355713,
-0.8176941275596619,
0.1796669065952301,
0.6581850647926331,
-0.3176599144935608,
0.0586201176047325... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.