text stringlengths 23 30.4k | embeddings_A list | embeddings_B list |
|---|---|---|
I have a problem with inserting PDFs into my lyx document. I (perhaps stupidly) have made my figures all into one page each (created using powerpoint, then PDFing them), then inserted them using PDFPages into my Lyx document. I had tried inserting them using floats, but it seems to struggle with full-page figures (maybe I am doing something wrong there?). I can't use Lyx's figure-maker option really as I have a lot of landscape figures and it has already taken me ages to get each figure to fit on one page and look nice (and I have spent ages positioning the figure legend in the PDF so that it looks pretty). The problem I have is that there is no page numbering on these inserted figures. Lyx counts them as pages (i.e. if the page before is 6, then the page after my figure is 8), so it obviously does recognise that there is a page there. But I need kinda my figures to have page numbers. I guess that I could do it manually (ugh go back to the powerpoint, put numbers in, then re-insert all 60+ figures). But if I have corrections for my thesis I'll have to do that all over again :'( This probably stems from my foolishness of trying to avoid the lyx figure system, but any help at all would be much, much appreciated. (additional info, I don't know if this is useful? Document class=`article`, : \bibliographystyle{unsrt} \usepackage{url} \pagenumbering{roman} \let\myTOC\tableofcontents \renewcommand\tableofcontents{% \myTOC \clearpage \pagenumbering{arabic} } [I used this lovely site to get round the arabic numbering problem for the table of contents] | [
0.0005547371692955494,
-0.0002731630811467767,
-0.021449459716677666,
0.019226808100938797,
-0.0017733690328896046,
-0.003798579564318061,
0.0097002312541008,
0.026937782764434814,
-0.020974859595298767,
-0.014635607600212097,
-0.014751922339200974,
0.007710258476436138,
-0.00211179256439209... | [
0.30514177680015564,
-0.045406803488731384,
0.5227144956588745,
0.334856241941452,
-0.3526570200920105,
0.16257436573505402,
-0.1997564136981964,
0.04788152500987053,
-0.26749175786972046,
-0.7331972718238831,
0.33508509397506714,
0.049340419471263885,
0.03563351184129715,
-0.0754341557621... |
I am having a problem with Deus Ex: Human Revolution, I have been playing without any problems, but after a couple of weeks I began experiencing issues with the game getting stuck on loading screens. After exiting or after dieing, the game is getting stuck on a loading screen. I am able to continue playing the game only after clicking 'Load Previous Auto-Save'. I have checked on Google for other people experiencing this issue, but didn't find anything. | [
-0.011717515997588634,
-0.00011810546857304871,
-0.004693200811743736,
0.007479147519916296,
-0.01286268886178732,
-0.024210475385189056,
0.006785805802792311,
0.0027203646022826433,
-0.014868908561766148,
0.017952963709831238,
-0.013788856565952301,
0.01181224174797535,
0.014735357835888863... | [
0.435947448015213,
0.032262127846479416,
0.23143325746059418,
-0.09007544070482254,
-0.08681119978427887,
0.11905915290117264,
0.3556199371814728,
0.3384363055229187,
-0.11546450853347778,
-0.7466015815734863,
0.18917065858840942,
0.6318188905715942,
-0.2674148678779602,
0.5274181962013245... |
A friend of mine pointed me towards using child elements to style my index page so that I could have one loop and several different visual styles (a featured post, a smaller sub-featured post, and several smaller thumbnails). This is very helpful in that I can add posts and the existing posts will just flow through this styling. For example, I can style the .hentry class by: .hentry:nth-child(3) { background-color:#00000; } And so on. The problem I run into is when clicking on the next/previous links on the bottom of the content portion, those following pages maintain that styling. Is there a way I can style those pages differently? URL: http://piquantblog.com Thanks in advance! | [
0.0013934522867202759,
0.008465670049190521,
-0.011953271925449371,
0.012214637361466885,
-0.0026675714179873466,
0.005183043889701366,
0.006763767451047897,
-0.0039040222764015198,
-0.014309247024357319,
-0.004672560840845108,
-0.0037262849509716034,
0.004163525067269802,
-0.006710242480039... | [
0.41805824637413025,
0.33282867074012756,
0.12371941655874252,
0.143974170088768,
0.1300552636384964,
0.026098305359482765,
0.45260128378868103,
-0.09033609926700592,
-0.07920705527067184,
-0.800511360168457,
0.3700200915336609,
0.32902976870536804,
-0.03282881900668144,
0.2012653648853302... |
According to the documentation, the Mathieu characteristic function generates parameter a: > The characteristic value Subscript[a, r] gives the value of the parameter a > in y′′+(a-2q cos(2z))y=0 for which the solution has the form e^(i r z) f(z), > where f(z) is an even function of z with period 2π. However, I get the function `f` that are periodic of π instead of 2π. Here is the construction of the periodic function f (followed from Input 76 on page 1105 of The Mathematica Guidebook for Symbolics): f[k_, q_, z_] := (MathieuC[MathieuCharacteristicA[k, q], q, z] + I Sign[k] MathieuS[MathieuCharacteristicB[k, q], q, z])/Exp[I k z] Plot[{Abs@f[3, -1, z], Abs@f[1/3, -1, z]}, {z, -2 π, 2 π}, Axes -> False, Frame -> True, GridLines -> {π/2 Range[-3, 3, 2], {}}]  So why does the periodic function `f` have period of π instead of 2π ? | [
-0.005012874491512775,
0.012404941953718662,
-0.00734500540420413,
0.006448482163250446,
-0.015937983989715576,
-0.008149230852723122,
0.006203722208738327,
0.012251641601324081,
-0.012593962252140045,
-0.012173987925052643,
-0.01630115509033203,
0.007117948494851589,
-0.010634693317115307,
... | [
-0.37325519323349,
-0.02907666005194187,
0.5631847977638245,
-0.2174164354801178,
-0.08082719147205353,
0.2437640130519867,
0.1443496197462082,
-0.37923645973205566,
-0.19464324414730072,
-0.2891048192977905,
-0.4483788013458252,
0.4396117627620697,
-0.19474409520626068,
0.3669869303703308... |
Given an Ising model, we have the energy formula: $E= - \sum_i h_i S_i - \sum_{i \neq j} J_{ij} S_i S_j$ and we have the probability of a given state, given the energy of that state and the temperature: $P(\\{S\\}) \sim e^{-E(\\{S\\})/kT}$ (where the normalization constant is the partition function). The question I am interested in is if there is a computationally efficient way to determine (or at least estimate) the probability (for a given temperature) that a _particular_ site $i$ has a spin of, say, $+1$. (In other words I want the sum of the probabilities of all the states where $S_i = +1$.) I understand that a method that is frequently used to solve these types of problems is to do a Monte Carlo simulation of the evolution of the state. However in this problem since I am only interested in one particular site, it seems like simulating the entire state is not necessarily computationally efficient. * Is this a problem that is generally solvable analytically? What is known about its complexity (is it NP-hard?) * If it is not solvable analytically, what techniques are normally used to approximate it? (If this topic is too broad for a single answer, then links to references where I could learn more would also be useful.) | [
0.01150355115532875,
0.005445858463644981,
-0.0005185288609936833,
0.00874011218547821,
-0.019268523901700974,
0.0036106074694544077,
0.0049399095587432384,
-0.02896333485841751,
-0.00364688690751791,
-0.0030041486024856567,
-0.00844957772642374,
0.012712627649307251,
-0.014259633608162403,
... | [
-0.48162397742271423,
-0.41019460558891296,
0.2302907407283783,
-0.24049606919288635,
-0.04162662476301193,
0.4010281264781952,
0.10330388695001602,
-0.27391818165779114,
-0.16142615675926208,
-0.6149728894233704,
-0.23445917665958405,
-0.09537475556135178,
-0.29785579442977905,
0.47535708... |
In any words when 2 _f_ are beside each other (like different), on pdf file it makes a space between those _fs_ specially inside equations. Any idea please? like: _diffusion_ , i get _dif fusion_ | [
-0.019309161230921745,
0.010142041370272636,
-0.0030033746734261513,
0.05662934109568596,
-0.0312936007976532,
-0.020867764949798584,
0.01220488827675581,
0.019911406561732292,
-0.01855887472629547,
0.004026574082672596,
-0.013460042886435986,
0.008725331164896488,
0.009413713589310646,
0.... | [
0.07420717179775238,
0.07039518654346466,
0.27301543951034546,
-0.03274403512477875,
0.15117819607257843,
-0.14870943129062653,
-0.24750930070877075,
0.01049637421965599,
-0.438492089509964,
-0.7959343194961548,
-0.1634884774684906,
0.17203760147094727,
-0.2342243641614914,
-0.116533793509... |
<?php /* Template Name: second */ ?> <?php get_header(); ?> <?php query_posts(array('post_type'=>'event')); ?> <?php if(have_posts()) while(have_posts()) : the_post(); ?> <div id="post-<?php the_ID(); ?>" class="entry"> <div class="thumbnail"><?php the_post_thumbnail('full'); ?></div> <h1 class="title"><?php the_title(); ?></h1> <div class="content page"> <?php the_content(); ?> <?php wp_link_pages(array('before' => '<div class="page-link">'.__('Pages', 'cpotheme').':', 'after' => '</div>')); ?> </div> </div> <?php endwhile; ?> <?php get_sidebar(); ?> <?php get_footer(); ?> The page acts like an index.php What should I amend in order to make the title as the link to the full page and make display only an excerpt of the content? | [
-0.0004327287897467613,
0.01480073668062687,
0.013169725425541401,
0.00978228822350502,
0.011287015862762928,
0.0018858164548873901,
0.0044380365870893,
0.01545102521777153,
-0.008604575879871845,
0.005716206971555948,
-0.010752041824162006,
0.004464426543563604,
0.009287221357226372,
0.01... | [
0.054471440613269806,
-0.013673387467861176,
0.849784791469574,
-0.17024067044258118,
0.08690614253282547,
0.08915435522794724,
-0.11259506642818451,
-0.33640095591545105,
-0.1970115453004837,
-0.49777525663375854,
-0.5286146402359009,
0.43008098006248474,
-0.09615777432918549,
0.011210436... |
A campus population of size N=9000 is to be surveyed by a stratified sample for the prevalence of a certain disease based upon three strata of respective sizes $N_h$ = 1000, 3000, and 5000 for h = 1, 2, 3. The costs of sampling individuals from theses strata are estimated to be respectively 40, 20, and 10 dollars per person. The campus health authorities believe that roughly 1% of stratum 1, 5% of stratum 2, and 12% of stratum 3 will test positive for the disease. What is the optimal number of individuals to sample in each stratum if the total budget for the data collection in the survey is $2000? $n_1$ = c*$\frac{(N_1*S_1)/\sqrt{c_1}}{\Sigma (N_h*S_h)/\sqrt{c_h}}$ $n_1$ = 2000*$\frac{(1000*\sqrt{.0099})/\sqrt{40}}{(1000*\sqrt{.0099})/\sqrt{40}+(3000*\sqrt{.0475})/\sqrt{20}+(5000*\sqrt{.1056})/\sqrt{10}}$ = 46.562449 The correct answer is 3.620154, so I'd like to know where I went wrong. | [
-0.00433522230014205,
-0.00462074251845479,
-0.012037389911711216,
0.024480804800987244,
0.019055575132369995,
-0.008984812535345554,
0.00863647274672985,
-0.01471485011279583,
-0.011975868605077267,
-0.015387353487312794,
0.00038916521589271724,
0.00892854668200016,
-0.014077544212341309,
... | [
0.3560783565044403,
0.05359932780265808,
0.3191574513912201,
0.07357225567102432,
0.2692001163959503,
0.5978744626045227,
0.4590485394001007,
0.2955164909362793,
-0.07827029377222061,
-0.7799118757247925,
-0.07880356907844543,
-0.14299751818180084,
-0.017818329855799675,
0.5157051682472229... |
All the files in my WordPress path are owned by `myuser:www-data` and Apache is running as www-data. All files and folders have group write permissions, e.g. `-rw-rw----`, but I keep being prompted for FTP details when I try to install a plugin. If I chown the path to the www-data user, plugin installation and deletion work as expected, but then _myuser_ cannot edit files. I could add _myuser_ to the _www-data_ group, but then _myuser_ could access all other sites. My files are chown'ed as follows: chown -R myuser:www-data wordpress-folder/* And chmod'ed as follows: find wordpress-folder/ -type d -exec chmod 755 {} \; find wordpress-folder/ -type f -exec chmod 644 {} \; If my files are owned by the www-data group and are group-writable, then surely WordPress should be able to install plugins. Why can't WordPress install plugins? Here is the output of `ls -la` in my plugins folder: total 48 drwxrwx--- 9 myuser www-data 4096 Aug 5 01:26 . drwxrwx--- 6 myuser www-data 4096 Aug 5 01:51 .. drwxrwx--- 6 myuser www-data 4096 Jul 10 16:27 disqus-comment-system -rw-rw---- 1 myuser www-data 6148 Jul 10 15:37 .DS_Store drwxrwx--- 7 myuser www-data 4096 Jul 10 16:30 gravityforms -rw-rw---- 1 myuser www-data 30 Jul 10 15:37 index.php drwxrwx--- 3 myuser www-data 4096 Jul 10 16:30 lime-export drwxrwx--- 6 myuser www-data 4096 Aug 1 11:17 mp6 drwxrwx--- 6 myuser www-data 4096 Aug 5 01:26 rewrite drwxrwx--- 10 myuser www-data 4096 Jul 10 16:38 wordpress-seo drwxrwx--- 7 myuser www-data 4096 Jul 24 17:14 wp-minify | [
-0.02577037364244461,
0.010913645848631859,
-0.004786650184541941,
0.018702639266848564,
0.014780932106077671,
-0.0037760515697300434,
0.008667983114719391,
0.01670105755329132,
-0.012718256562948227,
0.007647363469004631,
-0.014932163059711456,
0.004337131977081299,
-0.00019644165877252817,... | [
0.22415052354335785,
0.3719214200973511,
0.7391288876533508,
-0.16956083476543427,
-0.1603631228208542,
-0.24006320536136627,
0.46209636330604553,
-0.05886794254183769,
0.163389191031456,
-0.6787512302398682,
-0.056598588824272156,
0.20852059125900269,
-0.3690527081489563,
0.36848938465118... |
I tried to add a new user in solaris 10, but got an error: $ useradd -g oinstall -G dba -d /export/home/oracle oracle UX: useradd: ERROR: Inconsistent password files. See pwconv(1M). I ran `pwconv`, but nothing was displayed. I also tried to sync the `shadow` & `passwd` files, but there's still an error: $ wc -l /etc/passwd /etc/shadow 17 /etc/passwd 17 /etc/shadow 34 total | [
-0.007027530111372471,
0.003040814073756337,
-0.01120828278362751,
0.021761663258075714,
-0.02219640463590622,
0.009125321172177792,
0.008484384045004845,
-0.008128490298986435,
-0.0081857955083251,
-0.023778308182954788,
-0.006015696097165346,
0.009256334975361824,
-0.009681684896349907,
... | [
0.2775847017765045,
-0.25193703174591064,
0.6066648960113525,
-0.24442008137702942,
-0.2761591672897339,
0.07315947860479355,
0.365693598985672,
-0.14681775867938995,
-0.23102355003356934,
-0.6675043702125549,
-0.17596980929374695,
0.7145337462425232,
-0.8121939897537231,
-0.18984264135360... |
Bash's `{}` brace expansion syntax allows for creating easy permutations # echo {b,c,d}{a,e,i,o,u} ba be bi bo bu ca ce ci co cu da de di do du However it's not clear to me if/how it's possible to use this along with arrays except in very awkward use of `$()` `echo` and `eval` Is there a simple way to use arrays with curly brace (permutation) expansion? For example sake, imagine something like (which does not work of course): CONS=( b c d ) VOWEL=( a e i o u ) echo {${CONS[@]}}{${VOWEL[@]}} | [
-0.012547265738248825,
0.015557807870209217,
-0.012776770628988743,
0.021984856575727463,
0.007790674455463886,
-0.008585912175476551,
0.006746968720108271,
-0.03413742035627365,
-0.020859401673078537,
-0.015353841707110405,
-0.012760169804096222,
0.004781969822943211,
-0.02439620904624462,
... | [
0.512064516544342,
0.32775625586509705,
0.05436068773269653,
-0.3149503469467163,
-0.40623608231544495,
0.0038366650696843863,
0.22290253639221191,
-0.36962655186653137,
-0.2270161211490631,
-0.12481163442134857,
0.07397783547639847,
0.5206369161605835,
-0.2996896803379059,
-0.263385921716... |
I wanted to provide login delay while login through ssh .I tried couple of ways of doing same but couldn't find desired result. I tried steps provided by given link. http://hostingfu.com/article/ssh-dictionary-attack-prevention-with-iptables iptables -N SSH_CHECK iptables -A INPUT -p tcp --dport 22 -m state --state NEW -j SSH_CHECK iptables -A SSH_CHECK -m recent --set --name SSH iptables -A SSH_CHECK -m recent --update --seconds 60 --hitcount 4 --name SSH -j DROP I don't have pam module installed on my machine,so can't make any modification related to pam files So any body let me suggest some other way to do the same? I have bare linux kernel running on embedded platform. | [
0.020204849541187286,
0.0008242587791755795,
0.004690558183938265,
0.01805051788687706,
-0.008160870522260666,
-0.005347792990505695,
0.00692233769223094,
-0.007481664884835482,
-0.016263240948319435,
0.020864712074398994,
-0.006208749022334814,
-0.00482688145712018,
-0.01988602802157402,
... | [
0.10959705710411072,
0.11567549407482147,
0.32036757469177246,
0.004355269018560648,
-0.2511516511440277,
0.08762012422084808,
0.2094273865222931,
-0.16806091368198395,
-0.47560763359069824,
-0.6765387058258057,
0.07790682464838028,
0.23590028285980225,
-0.4213074743747711,
0.2959305644035... |
I have a script that enables a logged in user (role Author) to delete their own posts using `get_delete_post_link()`. However, I also want to be able to restrict the author's access to the dashboard. Any attempt to do so using a plugin (Theme my Login, for example) or a simple script like those linked below disables my ability to use `get_delete_post_link()`. Is there a way to restrict access to the dashboard for the "Author" user role while still permitting the deletion of posts via `get_delete_post_link()`? http://www.tutorialstag.com/restrict-wordpress-dashboard-access.html How to restrict dashboard access to Admins only? | [
0.011698886752128601,
0.0031687836162745953,
-0.006380381993949413,
0.010721491649746895,
0.0043808757327497005,
0.0033784881234169006,
0.007322518154978752,
-0.001903814496472478,
-0.015346486121416092,
0.0180983729660511,
-0.010491804219782352,
0.011023193597793579,
-0.008560420013964176,
... | [
0.41017571091651917,
0.22121135890483856,
0.382085382938385,
0.054060470312833786,
0.05885050445795059,
0.020118597894906998,
-0.0010677342070266604,
0.24579066038131714,
-0.24264028668403625,
-0.49387627840042114,
0.319448322057724,
0.6280138492584229,
-0.06893719732761383,
0.120473876595... |
Here is from my Ubuntu $ ls /dev/*tty* /dev/tty /dev/tty17 /dev/tty26 /dev/tty35 /dev/tty44 /dev/tty53 /dev/tty62 /dev/ttyS12 /dev/ttyS21 /dev/ttyS30 /dev/tty0 /dev/tty18 /dev/tty27 /dev/tty36 /dev/tty45 /dev/tty54 /dev/tty63 /dev/ttyS13 /dev/ttyS22 /dev/ttyS31 /dev/tty1 /dev/tty19 /dev/tty28 /dev/tty37 /dev/tty46 /dev/tty55 /dev/tty7 /dev/ttyS14 /dev/ttyS23 /dev/ttyS4 /dev/tty10 /dev/tty2 /dev/tty29 /dev/tty38 /dev/tty47 /dev/tty56 /dev/tty8 /dev/ttyS15 /dev/ttyS24 /dev/ttyS5 /dev/tty11 /dev/tty20 /dev/tty3 /dev/tty39 /dev/tty48 /dev/tty57 /dev/tty9 /dev/ttyS16 /dev/ttyS25 /dev/ttyS6 /dev/tty12 /dev/tty21 /dev/tty30 /dev/tty4 /dev/tty49 /dev/tty58 /dev/ttyprintk /dev/ttyS17 /dev/ttyS26 /dev/ttyS7 /dev/tty13 /dev/tty22 /dev/tty31 /dev/tty40 /dev/tty5 /dev/tty59 /dev/ttyS0 /dev/ttyS18 /dev/ttyS27 /dev/ttyS8 /dev/tty14 /dev/tty23 /dev/tty32 /dev/tty41 /dev/tty50 /dev/tty6 /dev/ttyS1 /dev/ttyS19 /dev/ttyS28 /dev/ttyS9 /dev/tty15 /dev/tty24 /dev/tty33 /dev/tty42 /dev/tty51 /dev/tty60 /dev/ttyS10 /dev/ttyS2 /dev/ttyS29 /dev/tty16 /dev/tty25 /dev/tty34 /dev/tty43 /dev/tty52 /dev/tty61 /dev/ttyS11 /dev/ttyS20 /dev/ttyS3 I have 7 virtual consoles. I have also opened some tabs inside gnome terminal, and several emacs (some running shell, but I have probably closed them all), and screen sessions (but now closed). 1. what is the difference between `/dev/tty`, `/dev/tty[[:digit:]]+`, `/dev/ttyprintk`, and `/dev/ttyS[[:digit:]]+`? 2. How can I find out which device each tty file corresponds to? 3. Some said the device files for pseudo tty is /dev/ _pty_ , but why is there no pty file or dir here: $ ls /dev/*pty* ls: cannot access /dev/*pty*: No such file or directory 4. Not sure what `/dev/*pts*` means: $ ls /dev/*pts* 0 1 10 11 12 13 14 15 16 17 18 2 20 21 22 23 24 26 3 4 5 6 7 8 9 ptmx Thanks and regards! | [
0.009694669395685196,
0.009201230481266975,
-0.012152365408837795,
-0.0013644335558637977,
-0.009056353010237217,
0.008169932290911674,
0.006087572779506445,
0.004329291172325611,
-0.009545557200908661,
-0.00996929220855236,
-0.010108252987265587,
-0.00178074452560395,
-0.00883473176509142,
... | [
0.06667337566614151,
0.13183173537254333,
0.37134024500846863,
-0.10903862118721008,
-0.2573886513710022,
0.266265332698822,
-0.1911257952451706,
0.07613536715507507,
0.22926239669322968,
-0.6413698792457581,
-0.21612246334552765,
0.3892102837562561,
-0.28868797421455383,
-0.04901878163218... |
My current crontab looks like this: 00 00 * * 1-5 "/home/user/script.sh" But it seems like it is not being triggered, all others are triggering fine except the one running at midnight. What is the proper format for midnight? 00 00 or 00 24? | [
-0.018034331500530243,
0.006818877998739481,
-0.03273690491914749,
0.022820118814706802,
-0.019972583279013634,
0.0012308538425713778,
0.011101541109383106,
-0.01177107822149992,
-0.02676914446055889,
0.016217408701777458,
-0.020290657877922058,
-0.011614535935223103,
-0.0014171216171234846,... | [
0.3292815089225769,
0.17459745705127716,
0.9779201149940491,
0.17950350046157837,
0.012214944697916508,
-0.026682540774345398,
0.18332166969776154,
0.2676699459552765,
-0.1610051691532135,
-0.6187957525253296,
0.08195570856332779,
0.9131231307983398,
-0.016103284433484077,
0.33570578694343... |
I have the following custom function code which i'm using to create custom fields for a post type. The issues is that I need the custom fields to show up individually and at the moment they just show up as 'key' which means that when i try to link a form field (Gravity Forms) to a custom field, I can only link to the 'key' field. How can this be modified to show each custom field individually? /* Custom Fields */ $key = "key"; $meta_boxes = array( "cf_link" => array( "name" => "cf_link", "title" => "URL/Link", "description" => "Enter the URL/Link here."), "cf_image" => array( "name" => "cf_image", "title" => "Image", "description" => "Enter the image URL here."), "cf_instructions" => array( "name" => "cf_instructions", "title" => "Instructions", "type" => "textarea", "description" => "Enter any specific instructions here.") ); function create_meta_box() { global $key; if( function_exists( 'add_meta_box' ) ) { add_meta_box( 'new-meta-boxes', ucfirst( $key ) . 'Product Details', 'display_meta_box', 'products', 'normal', 'high' ); } } function display_meta_box() { global $post, $meta_boxes, $key; ?> <div class="form-wrap"> <?php wp_nonce_field( plugin_basename( __FILE__ ), $key . '_wpnonce', false, true ); foreach($meta_boxes as $meta_box) { $data = get_post_meta($post->ID, $key, true); ?> <div class="form-field form-required"> <label for="<?php echo $meta_box[ 'name' ]; ?>"><?php echo $meta_box[ 'title' ]; ?></label> <?php if( $meta_box['type'] === 'textarea' ) { ?> <textarea name="<?php echo $meta_box[ 'name' ];?>" rows="4"><?php echo htmlspecialchars($data[$meta_box['name']]); ?></textarea> <?php } else { ?> <input type="text" name="<?php echo $meta_box['name']; ?>" value="<?php echo htmlspecialchars( $data[$meta_box['name']]); ?>" /><?php }?> <p><?php echo $meta_box[ 'description' ]; ?></p> </div> <?php } ?> </div> <?php } function save_meta_box( $post_id ) { global $post, $meta_boxes, $key; foreach( $meta_boxes as $meta_box ) { $data[ $meta_box[ 'name' ] ] = $_POST[ $meta_box[ 'name' ] ]; } if ( !wp_verify_nonce( $_POST[ $key . '_wpnonce' ], plugin_basename(__FILE__) ) ) return $post_id; if ( !current_user_can( 'edit_post', $post_id )) return $post_id; update_post_meta( $post_id, $key, $data ); } add_action( 'admin_menu', 'create_meta_box' ); add_action( 'save_post', 'save_meta_box' ); | [
0.008000561967492104,
-0.0011067577870562673,
0.004199618473649025,
0.021102329716086388,
0.004610567819327116,
0.0003895452246069908,
0.007761744782328606,
-0.005867581814527512,
-0.01791798695921898,
0.029400069266557693,
0.004149425309151411,
0.014045598916709423,
0.004306002054363489,
... | [
0.6416270732879639,
0.1740078628063202,
0.6136226654052734,
0.029874321073293686,
-0.16044221818447113,
0.11358296871185303,
0.22544771432876587,
-0.5614996552467346,
-0.2240697294473648,
-0.44789108633995056,
0.2536229193210602,
0.4324668347835541,
-0.42313289642333984,
0.4175955951213836... |
Specifically, does the focal length change? How can this be rationalized? | [
0.0029977471567690372,
0.056204233318567276,
-0.014195249415934086,
0.0324237123131752,
0.03948851674795151,
-0.026025401428341866,
0.018679993227124214,
0.04419967159628868,
-0.024040240794420242,
-0.002939992118626833,
-0.01866341568529606,
0.047502994537353516,
-0.06433451920747757,
-0.... | [
0.23567256331443787,
0.11080936342477798,
0.29871273040771484,
0.11583781242370605,
-0.03612310066819191,
-0.15667620301246643,
-0.2634686231613159,
-0.19149431586265564,
-0.3457687795162201,
-0.5880853533744812,
0.06944723427295685,
0.5766407251358032,
-0.13298346102237701,
0.253711581230... |
I have a user who loves to do this, It works fine for the website, but when it gets transferred over to the newsletter it breaks the newsletter. Is it possible to disable pasting of images into the WordPress editor without removing the visual editor? | [
0.010750532150268555,
0.016065165400505066,
0.0022698293905705214,
0.03288982808589935,
-0.02192518673837185,
-0.013932359404861927,
0.01093646977096796,
-0.014137569814920425,
-0.03822929412126541,
-0.0012524905614554882,
-0.028126945719122887,
0.04700222983956337,
-0.01639087125658989,
0... | [
0.6638802886009216,
0.11974969506263733,
0.2807787358760834,
0.1756926327943802,
0.11403078585863113,
-0.3426516652107239,
0.09506276249885559,
-0.033518772572278976,
-0.2145441621541977,
-0.40438470244407654,
0.27325212955474854,
0.422844260931015,
-0.3011449873447418,
0.10037180781364441... |
I am running a program. If I suspend my OS (Ubuntu 12.04) in the middle, will the process of the running program be killed? If not, when I wake up my OS, how can I resume the process? Thanks! | [
0.01217846293002367,
0.007842673920094967,
0.00653206929564476,
0.02009586989879608,
-0.01503309141844511,
-0.015166355296969414,
0.010051824152469635,
0.0209592804312706,
-0.024471374228596687,
0.023620322346687317,
-0.0011106609599664807,
0.020064596086740494,
-0.005607009865343571,
0.03... | [
0.48051366209983826,
0.2864825427532196,
0.5422326922416687,
0.22810246050357819,
-0.1767786592245102,
-0.33660566806793213,
0.2397775948047638,
0.5066549181938171,
-0.2509951889514923,
-0.255520761013031,
-0.28934183716773987,
0.41364404559135437,
-0.24595001339912415,
0.33779749274253845... |
I am trying to represent the position of an object under freefall, but am completely lost. Here is my attempt so far: time = 0; increment = 10; distance := 0 - time*(time*increment); {Dynamic[Refresh[{time++ 1, ClockGauge[DateList[]]}, UpdateInterval -> 1]], Dynamic @ distance, Dynamic @ Framed[Graphics[Disk[{0, distance}, 10], PlotRange -> {{-2, 2}, {1, -1000}}]]} Which results in: >  The bar on the left should represent the position of the object under freefall, and the number to the right of the bar should represent its _y_ coordinate. **However this clearly accelerates way too fast way too soon**. Basically the main problem here is that I don't know how to translate the '10m per second per second' into a language that _Mathematica_ can understand. Could someone help me with what formula to use? | [
-0.019528385251760483,
0.0109909912571311,
-0.010246502235531807,
-0.0010783057659864426,
-0.011065220460295677,
-0.03451523929834366,
0.0071056904271245,
0.021831542253494263,
-0.011283226311206818,
0.02106519602239132,
-0.006198707036674023,
0.007172956597059965,
-0.000464622862637043,
0... | [
-0.30386245250701904,
-0.45873138308525085,
0.5297655463218689,
-0.09543434530496597,
0.051734764128923416,
0.4451627731323242,
0.42112642526626587,
-0.44298550486564636,
-0.39012712240219116,
-0.5070183873176575,
0.008115620352327824,
0.3213866353034973,
-0.05014878883957863,
-0.193949669... |
* Running slimkat modded rom 4.4.2 * I would like to keep full functionality of google now, but just hide the srarch bar from view on the home screen (clean screen, with no "say 'ok google' " on top of the wallpaper) * Any help provided would be very much appreciated. | [
0.018847262486815453,
0.006726760417222977,
-0.010272066108882427,
0.00565841281786561,
-0.018581919372081757,
-0.011848240159451962,
0.01088964194059372,
-0.0048605091869831085,
-0.02289476804435253,
0.028535040095448494,
-0.009885406121611595,
0.005876082926988602,
0.001542935031466186,
... | [
0.38110971450805664,
0.5104533433914185,
0.4945712089538574,
-0.019795995205640793,
-0.0937710627913475,
-0.32833829522132874,
0.5761969089508057,
0.4722929000854492,
-0.24072736501693726,
-0.4901255965232849,
0.1564699411392212,
0.7449735999107361,
0.2543269097805023,
-0.17302735149860382... |
When I edit the layers, and its small changes like adding a name (or make it appear in the map), QGIS very often crashes (like for every third or fourth or fifth edit, seldom gets past ten edits before crashing. But it can also be the first small change or edit, just afther opening QGIS and the project). Now I use QGIS Dufour 2.0.1 but the same happened with QGIS Lisboa 1.8.0. It also can crash when I try to save the project Im working on. From this question "Why does writing large shapefiles crash QGIS?" it may seeme like its due to filling up the memory? Is there any way to fix this, or get around it? If it's a common problem it must be a major bug or error that need to be fixed. When it happens QGIS seems to work endlesly while standing still, it sometimes comes a (not responing), or simular message in the window titlebar after the file name. If you then try to do anyting like open a menu or wathever, the whole window turn whiteish (or gray if you like), and waiting to see if it comes back dont seeme to work. | [
-0.0065446896478533745,
0.0048314109444618225,
-0.00843857042491436,
0.022270452231168747,
0.009968969039618969,
0.002609195187687874,
0.009250376373529434,
0.023573247715830803,
-0.018348658457398415,
-0.0039731706492602825,
-0.0040969038382172585,
0.013220446184277534,
-0.01378927007317543... | [
0.012966196052730083,
-0.09542705863714218,
0.5677551627159119,
-0.1964970976114273,
-0.39451301097869873,
-0.34606993198394775,
0.35567325353622437,
0.141090989112854,
-0.02000575140118599,
-1.091165542602539,
-0.060493018478155136,
0.4575376808643341,
-0.30011218786239624,
0.039375592023... |
Sometimes I want to compare the results of two different settings to see which gives better results (e.g. during the final fine tuning before handing in a document). Such settings can result in small changes in the location of words and other elements of the document. ## Motivation Seeing the documents side-by-side on screen is not always enough, and the cost of printing is too great. * Is there a method for overlaying two resulting PDFs (e.g. one PDF is transparent) so that the differences can be easily compared? * What other methods can one use to compare two PDFs? | [
0.011777807027101517,
0.014274977147579193,
-0.0024501378647983074,
0.01491385418921709,
-0.01011497899889946,
0.009289493784308434,
0.007713508792221546,
0.0070226239040493965,
-0.009613966569304466,
0.008195185102522373,
-0.010979896411299706,
0.0035283705219626427,
0.007111789658665657,
... | [
0.5547724366188049,
-0.07738339155912399,
0.4991759955883026,
0.2608497142791748,
-0.15188583731651306,
-0.17964522540569305,
0.23501254618167877,
-0.1978185623884201,
-0.006034559104591608,
-0.8496056795120239,
0.2530559301376343,
0.41977086663246155,
0.1290494054555893,
0.023655395954847... |
is it possible a permalink structure "category+tag"? Example: www.website.com/CATEGORY-TAG/postname/ I need also replace some tags into the permalink, for example: tag: LAMBORGHINI -> FERRARI www.website.com/car-LAMBORGHINI/ to www.website.com/car-FERRARI/ Can you help me? Thanks a million! | [
-0.01025974191725254,
0.02056881971657276,
0.000975649687461555,
0.035066165030002594,
0.0444766990840435,
-0.0033041927963495255,
0.010192030109465122,
0.009153613820672035,
-0.023453835397958755,
-0.001111288322135806,
-0.015833530575037003,
0.00021307026327122003,
0.0005446189898066223,
... | [
0.3683643043041229,
-0.06841105967760086,
0.5086086392402649,
0.3644154965877533,
-0.18845883011817932,
0.005609166342765093,
0.17029640078544617,
-0.19089944660663605,
-0.20673243701457977,
0.0063793351873755455,
0.020324988290667534,
0.5390663146972656,
-0.060131169855594635,
0.114304162... |
Currently WPML adds /fr/ to permalinks to identify a url as French. The default language of the site is English, however WPML does not add /en/ by default for the default lannguage (English) permalinks. Is there a way to have the default language also show up in the permalinks? | [
-0.018017515540122986,
0.016263265162706375,
-0.0008822763920761645,
0.03940064087510109,
-0.0057779643684625626,
-0.000191951374290511,
0.012718312442302704,
0.02565554529428482,
-0.014163363724946976,
-0.01093655452132225,
-0.01363957766443491,
0.002000070409849286,
-0.006869863253086805,
... | [
0.33410337567329407,
0.33258041739463806,
0.9669705033302307,
-0.11295875161886215,
-0.3410567343235016,
-0.21156778931617737,
0.5724254846572876,
0.29431119561195374,
-0.38453301787376404,
-0.20028698444366455,
-0.4073856770992279,
0.210713192820549,
0.24264836311340332,
0.183156996965408... |
Because of some reason I had to use another web browser than my main which I use daily and I chose a small browser which I installed long time ago. This brower is called Dooble, version 0.07 (dooble-0.0+svn874) and I have been using it about 2 weeks. In this period of time I opened a lot of sites which I need to open again in future so I need a browsing history. I checked before start of using it that it keeps this history. Now I would like to get an access to the history and save it or export or just look at it. But there is a problem with it. The history is shown on a list, which is in menu bar, like File, Edit or Help. The list is too large to display it on the visible workspace. It rolls down to the end of the workspace and then to the right with no limit (just go out from the screen) and about 95% of content is outside of the visible part of the workspace, so I can't see the history although the browser keeps it. I decided to get it in other way. I was looking for the history on the disk, because I suspected that it may be stored in a file. I checked the list of files it using/generated with command "lsof" and there is no file connected with Dooble. I also searched in ram memory, I copied an image of ram and opened in hex editor and looked for appropriate string with no results. The idea to take a screenshot of the active window is also wrong because it takes only the visible part. There is no possibility to change a resolution of a display in my case. I suppose that browser may encrypt the history stored in ram, like it does in the current version, but my version is very old (2008 probably) and I have no documentation or help files to this with specification. Moreover I use swap, but I can't read its contents. The swap is a file and when I copy it and open like the image of ram there is nothing inside except zeros - the file is full of zeros although swap is full in some part which I can see typing "free" in terminal. Here is the source of this version: http://dooble.sourcearchive.com/documentation/0.0plus- psvn874-0ubuntu2/dir_9cc8d803eb63e208c05c995ec1941f6c.html , I'm not programmer and don't understand it but maybe it would be helpful in finding any solution, if so tell me please how can I use it. I use Ubuntu and Gnome. I can't close the browser and obviously system because the history will be deleted permanently. I really believe that there are people here who know what to do in my case. I'm not good in IT, so I will appreciate every hint. | [
-0.003621085546910763,
0.006423775106668472,
-0.018227409571409225,
-0.0019390196539461613,
-0.015768608078360558,
0.0032828939147293568,
0.0047326781786978245,
0.023270511999726295,
-0.007875953800976276,
0.004126846790313721,
0.000975774135440588,
0.00024947558995336294,
0.0024072681553661... | [
0.17599806189537048,
0.12675930559635162,
0.8624143600463867,
0.08561063557863235,
-0.16860274970531464,
-0.5043657422065735,
0.21039442718029022,
0.22816018760204315,
-0.37610185146331787,
-0.470375120639801,
0.26145118474960327,
0.1348903775215149,
0.06353195011615753,
0.4092806875705719... |
For example, if I trade a Bunnelby to Cliff for his Farfetche'd in Santalune City. | [
0.00029367688694037497,
0.04772461578249931,
-0.023764565587043762,
0.010770951397716999,
0.002159730065613985,
0.05904868245124817,
0.019724272191524506,
0.02418852224946022,
-0.041504427790641785,
-0.027220699936151505,
-0.030508998781442642,
0.05205538496375084,
-0.0693768560886383,
-0.... | [
0.4655352532863617,
-0.10576953738927841,
0.11796345561742783,
0.23833929002285004,
0.1041184514760971,
0.06702534109354019,
-0.1026688739657402,
0.16395257413387299,
-0.16064970195293427,
-0.22780293226242065,
0.1403522938489914,
0.20341390371322632,
0.0005732860881835222,
0.2378214299678... |
I have this .dot file with this content: digraph world { size="7,7"; {rank=same; S8 S24 S1 S35 S30;} {rank=same; T8 T24 T1 T35 T30;} {rank=same; 43 37 36 10 2;} {rank=same; 25 9 38 40 13 17 12 18;} {rank=same; 26 42 11 3 33 19 39 14 16;} {rank=same; 4 31 34 21 41 28 20;} {rank=same; 27 5 22 32 29 15;} {rank=same; 6 23;} {rank=same; 7;} S8 -> 9; S24 -> 25; S24 -> 27; S1 -> 2; S1 -> 10; S35 -> 43; S35 -> 36; S30 -> 31; S30 -> 33; 9 -> 42; 9 -> T1; 25 -> T1; 25 -> 26; 27 -> T24; 2 -> {3 ; 16 ; 17 ; T1 ; 18} 10 -> { 11 ; 14 ; T1 ; 13; 12;} 31 -> T1; 31 -> 32; 33 -> T30; 33 -> 34; 42 -> 4; 26 -> 4; 3 -> 4; 16 -> 15; 17 -> 19; 18 -> 29; 11 -> 4; 14 -> 15; 37 -> {39 ; 41 ; 38 ; 40;} 13 -> 19; 12 -> 29; 43 -> 38; 43 -> 40; 36 -> 19; 32 -> 23; 34 -> 29; 39 -> 15; 41 -> 29; 38 -> 4; 40 -> 19; 4 -> 5; 19 -> {21 ; 20 ; 28;} 5 -> {6 ; T35 ; 23;} 21 -> 22; 20 -> 15; 28 -> 29; 6 -> 7; 15 -> T1; 22 -> T35; 22 -> 23; 29 -> T30; 7 -> T8; 23 -> T24; 23 -> T1; } How can I render it and fullfill a page? | [
-0.017510265111923218,
0.005691007245332003,
-0.009181870147585869,
0.011559292674064636,
0.000021900981664657593,
0.011908228509128094,
0.005851906258612871,
0.01703045703470707,
-0.007541982922703028,
0.014437302947044373,
-0.0006428984925150871,
-0.0006877738051116467,
0.00772934593260288... | [
0.3312416970729828,
0.1027214527130127,
0.7623820304870605,
-0.155056893825531,
-0.0846368670463562,
0.30888447165489197,
0.5554116368293762,
-0.19637025892734528,
-0.13337019085884094,
-0.6615558862686157,
0.16890272498130798,
0.14287316799163818,
0.028992801904678345,
0.5572469830513,
... |
This is a follow up question to this one: Use pgfplots \addplot plot coordinates with relative coordinates Is it also possible to have the relative coordinates across multiple plots? For example if I take @Jake's answer: \begin{tikzpicture} \begin{axis} \addplot table [x = x rel, y=y rel,ignore chars=\%] { 0 0 %absolute (0,0) 2 2 %absolute (2,2) 1 3 %absolute (2,2) + (1,3) = (3,5) }; \addplot table [x = x rel, y=y rel,ignore chars=\%] { 1 1 %absolute (3,5) + (1,1) = (4,6) 2 1 %absolute (4,6) + (2,1) = (6,7) }; \end{axis} \end{tikzpicture} Alternatively it would also suffice to be able to specify in the table that the path between two specific successive coordinates should not be drawn. | [
0.004284286871552467,
0.015613905154168606,
-0.011590746231377125,
0.01901218667626381,
0.009335756301879883,
-0.006561120506376028,
0.0051032546907663345,
0.010789919644594193,
-0.017785262316465378,
-0.020573951303958893,
-0.004106226842850447,
0.007192648481577635,
-0.015683721750974655,
... | [
0.013595144264400005,
-0.12398652732372284,
0.8895633816719055,
0.26321130990982056,
0.2924133539199829,
0.25041675567626953,
0.02162271924316883,
-0.03998429328203201,
-0.16290733218193054,
-0.48680248856544495,
0.15352633595466614,
0.28526169061660767,
0.010042673908174038,
0.21985054016... |
I have Vuze Remote on my Android, it works fine with the mobile network but I can't connect through my work netwok(Wifi-LAN). It just sits at connecting or gives an error message wich says that the most common error is trying to connect with a wifi connection that you have to login to. | [
0.01099445577710867,
-0.010110456496477127,
-0.006686672568321228,
0.017027759924530983,
-0.03470499813556671,
-0.004727354273200035,
0.010067416355013847,
0.009916596114635468,
-0.02285291813313961,
-0.011588520370423794,
-0.02001815289258957,
0.014543771743774414,
-0.0008752516005188227,
... | [
0.18482008576393127,
-0.028827477246522903,
0.3309362530708313,
-0.004838655702769756,
0.060873378068208694,
0.09933550655841827,
0.4073619544506073,
0.37429821491241455,
-0.15252241492271423,
-0.8242837190628052,
0.23420538008213043,
0.3559895157814026,
-0.2082640826702118,
0.414773941040... |
Is there a limit of number of hardlinks for one file? Is it specified anywhere? What are safe limits for Linux? And what for other POSIX systems? | [
0.05952988192439079,
0.015604713931679726,
-0.02204277738928795,
0.03970039635896683,
0.047439999878406525,
0.014100229367613792,
0.015606006607413292,
0.0435587614774704,
-0.03211699798703194,
-0.00824728887528181,
-0.003173326374962926,
0.02153744362294674,
0.021501824259757996,
0.013003... | [
0.3421357274055481,
0.04456178471446037,
0.27160173654556274,
0.20649240911006927,
0.24867130815982819,
-0.23399227857589722,
0.009451446123421192,
0.07182539254426956,
-0.49431112408638,
-0.20934753119945526,
-0.164101704955101,
0.6431280970573425,
-0.32396915555000305,
0.0669147744774818... |
What does it mean when people talk about voice when referring to someone's writing? Is it his/her specific point of view? or Can two people have the same point of view and different writing voices? | [
-0.02229182794690132,
0.01709568500518799,
0.009579021483659744,
0.03659437969326973,
-0.01865367591381073,
-0.019349807873368263,
0.01360535342246294,
0.04843007028102875,
-0.03521819785237312,
-0.02157718688249588,
-0.0061965505592525005,
0.04045770317316055,
0.04248834773898125,
0.02367... | [
0.3621135652065277,
0.07018730044364929,
0.007481025997549295,
0.013348957523703575,
-0.3721657395362854,
0.11733514815568924,
0.15799866616725922,
0.14470121264457703,
-0.21092836558818817,
-0.416396826505661,
0.14464840292930603,
0.3769366443157196,
0.13607341051101685,
0.157232373952865... |
I work at a game store, and my manager insists that "versus" is to be considered when alphabetizing, and is not in the same league as "a, as, the, and, of, or," and the like. Although I do deem it more important a word than those other smaller ones, I don't think it should be considered when alphabetizing. What's the right way? | [
-0.014847350306808949,
0.014253542758524418,
-0.015914015471935272,
0.0003778514510486275,
0.004372647497802973,
0.01122113224118948,
0.008866527117788792,
0.0018599913455545902,
-0.014704174362123013,
0.015461406670510769,
-0.011865257285535336,
0.009762251749634743,
-0.002277814084663987,
... | [
0.49485623836517334,
0.032352738082408905,
0.01740483194589615,
0.185172900557518,
0.09666771441698074,
-0.08617085963487625,
0.11735951155424118,
0.15936830639839172,
0.15010826289653778,
-0.586573600769043,
0.44679853320121765,
0.5437589883804321,
-0.03863567113876343,
-0.064664393663406... |
I have a question concerning the Wald's book: General Relativity. In the appendix E, he derived the Einstein equation by considering the surface term (GHY). I do not understand what he said after the equation (E.1.38). Actually he considers that $h^{bc}\nabla_c(\delta g_{ab})=0$, because we fix $\delta g_{ab}=0$ on the surface, but therefore why the other term in (E.1.38) is not null, the term $h^{bc}\nabla_a(\delta g_{bc})$. They look the same for me, and after some algebra, where we replace the covariant derivative by the one compatible with the metric on the surface we should have a total derivative term on the surface that we can integrate away. Thanks in advance | [
-0.013055596500635147,
0.01684434525668621,
-0.014130058698356152,
-0.009914280846714973,
0.0023641525767743587,
0.005501915700733662,
0.007831234484910965,
-0.0184857789427042,
-0.007040513213723898,
-0.03092627227306366,
-0.0043851593509316444,
0.012089323252439499,
-0.027434781193733215,
... | [
0.0861148089170456,
0.42152243852615356,
0.361979216337204,
-0.18295416235923767,
-0.33751726150512695,
0.08625786006450653,
-0.12550029158592224,
-0.14194047451019287,
-0.22242991626262665,
-0.657150149345398,
0.004580511245876551,
0.21358643472194672,
-0.2410486489534378,
0.5209490060806... |
What is the most appropriate way of writing this comment: /// <summary> /// Order - Identifies the ordinal location of this category /// relative to other listed categories. /// </summary> if I'm wanting to wrap "category" in `<see>` tags? I've considered: /// <summary> /// Order - Identifies the ordinal location of this <see cref="Category"/> /// relative to other listed <see cref="Category"/>'s. /// </summary> Do you see my dilemma? **Edit:** I should add that I am using Visual Studio's XML Comments. So I am somewhat restricted as to the schema. I believe `cref` has to point to a valid type reference. | [
0.0004526181146502495,
0.01695651188492775,
-0.01329006440937519,
0.03992427513003349,
0.00014798715710639954,
0.00607799319550395,
0.007823450490832329,
0.002295374870300293,
-0.015553598292171955,
0.017423726618289948,
-0.015853671357035637,
-0.0026524714194238186,
-0.008789502084255219,
... | [
0.14132630825042725,
0.3658977746963501,
0.5309864282608032,
-0.17373239994049072,
-0.35248079895973206,
0.12626071274280548,
-0.1346076875925064,
-0.05993146076798439,
-0.581331729888916,
-0.5165360569953918,
-0.23327024281024933,
0.2624284029006958,
-0.45640480518341064,
0.03703073784708... |
I read that LaTeX is all about "typesetting". What does that mean? What is typesetting? I read some FAQs, they showed the code, not the output. Following are my needs and I am not sure whether LaTeX is what I need, or I am looking in the wrong direction. * I don't write books, but I study a topic from different online sources and then plug in what is important in a text file. * I need to create an index (like we have in books). I should be able to click on that index link to be taken to that chapter. It should be easy to edit the indexes, and well as insert new chapters in between the previous ones. * I am a programmer, therefore I need to write properly indented code in a text file (which doesn't support automatic indenting). The code and the explanation has to be in the same file. * Sometimes, I need to create some flowcharts/UML too. I have tools for doing the same, but I want that those images be pasted in my text file. Is LaTeX perfect for these needs? | [
0.0011938363313674927,
0.015182362869381905,
-0.004359539598226547,
0.009840600192546844,
0.015333481132984161,
0.033116415143013,
0.006348996888846159,
0.020665455609560013,
-0.026066627353429794,
-0.00958651676774025,
-0.001471019466407597,
0.005367571953684092,
0.016306761652231216,
0.0... | [
0.5074977874755859,
0.14901430904865265,
0.15473033487796783,
0.05279974266886711,
-0.018586764112114906,
0.15212395787239075,
-0.04129404574632645,
0.24657441675662994,
-0.13562904298305511,
-0.6034286618232727,
0.1986258327960968,
0.3845558762550354,
-0.4293955862522125,
0.06040562316775... |
I am completely new to LaTeX and how to create tables in this environment. Currently, I am trying to create a table that contains much text in each cell using tabularx. The output does not look too bad, a lot of `Underfull \hbox (badness 10000) in paragraph` errors are created in the log related to the individual cells. Is there any way to amend this? I am trying to make following table: \documentclass[12pt,a4paper]{article} \usepackage[onehalfspacing]{setspace} \usepackage{booktabs,tabularx} \begin{document} \begin{table} \centering \caption{Diagnostic tests overview} \setlength{\tabcolsep}{10pt} \begin{tabularx}{\textwidth}{X p{2.8cm} p{2.8cm} p{2.8cm}} \toprule Test & Diagnose & $H_0$ & $H_1$ \\ \midrule F-test & Joint significance & $\beta_0=\beta_1=\ldots=\beta_i=0$ & Some or all $\beta_i\neq0$ \\[0.7cm] Jarque-Bera & Normality & No skewness or excess kurtosis & Non-normality \\[0.7cm] White & Hetero\-skedasticity & Homo\-skesdasticity & Hetero\-skedasticity \\[0.7cm] White Cross-Products (X) & Hetero\-skedasticity & Homo\-skesdasticity & Hetero\-skedasticity \\[0.7cm] Breusch-Godfrey & Autocorrelation & No autocorrelation & Autocorrelation \\[0.7cm] Ramsey\-RESET 1 & Misspecification & Correct specification & Misspecification \\[0.7cm] Ramsey\-RESET 2 & Misspecification & Correct specification & Misspecification \\ \bottomrule \end{tabularx} \end{table} \end{document} | [
0.0038837026804685593,
0.009487902745604515,
0.0008605780312791467,
0.006149422377347946,
0.006189404986798763,
0.017787229269742966,
0.005743782967329025,
0.018639177083969116,
-0.017412777990102768,
-0.018130935728549957,
-0.008831486105918884,
-0.006617430597543716,
0.0010049615520983934,... | [
0.0845094546675682,
0.2850886881351471,
0.4266374707221985,
-0.21726717054843903,
0.1341194212436676,
-0.18506525456905365,
0.23038330674171448,
-0.12024453282356262,
-0.22326871752738953,
-0.7317383885383606,
0.09347075968980789,
0.4404298961162567,
-0.4615998864173889,
-0.083433285355567... |
No massive spoilers, but to be safe....: > I've been playing the excellent Dragonborn expansion and have just done "the > quest" where I am supposedly allowed to use Stalhrim, or have been granted > permission to use the forge in Skaal village to make stuff with it - however > I don't know what I am supposed to do - there is no option at the blacksmith > at either the forge, or with the guy who runs it, but I am carrying 5x of > what looks more stalhrim ore. My assumption is that I either need to do something to turn the ore into ingots (Smelter doesn't give me any options, so I feel this is less likely), or, I need to reach a particular level in Smithing - I'm playing as a brand new character and only level 22 currently and my smithing skill is in the mid 50s Can anyone shed any light on the exact requirements? I feel like I've done a fair chunk of the DLC already so I'd quite like to use some of the unique items on what remains. | [
0.023578524589538574,
0.011639989912509918,
-0.002104473067447543,
-0.0030708787962794304,
-0.027562972158193588,
0.010658307932317257,
0.007369148079305887,
-0.004208271391689777,
-0.018330194056034088,
-0.012991506606340408,
-0.01195622980594635,
0.0100818807259202,
-0.02987039089202881,
... | [
0.1683693826198578,
0.1431778222322464,
0.05951805040240288,
0.2198193371295929,
-0.10113627463579178,
-0.1286962926387787,
-0.020380277186632156,
-0.005088914185762405,
-0.34749189019203186,
-0.19588974118232727,
-0.0977783054113388,
0.24781480431556702,
0.3652185797691345,
0.075349517166... |
> **Possible Duplicate:** > Probability distribution value exceeding 1 is OK? I'm comparing results given by this implementation and that from the gtool library in R, of the Dirichlet density function. With the following input parameters I get a value > 1. Wasn't this a density function? What does it mean that it is greater than 1? Shouldn't it always be in [0,1]? x's: [0.50943396226415094, 0.33962264150943394, 0.11320754716981132, 0.037735849056603772] alpha's: [0.50294170013982564, 0.38208148445979651, 0.15674706531364499, 0.094593027999751528] ======> variant 1 : 1.27118592142 ======> variant 2 : 1.271186 | [
-0.013808263465762138,
0.01868385449051857,
-0.009417176246643066,
0.007542502135038376,
-0.019886521622538567,
-0.02858351357281208,
0.007648501545190811,
-0.0002717445604503155,
-0.018917817622423172,
-0.018410244956612587,
0.0024306094273924828,
0.006075285375118256,
0.0003527643857523799... | [
-0.2053314447402954,
0.0034670112654566765,
0.25314903259277344,
0.04198954999446869,
-0.09511765092611313,
-0.050740018486976624,
0.31373220682144165,
-0.20828939974308014,
-0.30695605278015137,
-0.39647361636161804,
-0.009257107973098755,
0.4735044538974762,
-0.3976340889930725,
0.217368... |
probably a rather weird question but I have no idea if this is possible or not!? I created a `custom-post-type` to handle events. An event always has a future date but once this date is over I want to be able to write a review of the event and add this to the post itself. So imagine an event as a kind of group of two posts. The first post is the one when it get's published. With a description of the event, a date of the event, etc. Once the event is over I somehow would like to write a "recap" of the event - how it was, some photos, etc. Do you generally have any idea how I could solve this? So that the same event- post suddenly has a kind of "subpost" with a review in it? I was wondering if I could solve this via a `custom-field` that adds a completely new instance of the TinyMCE editor underneath the already existing one. So that I could write two posts inside of one post? Sounds silly I know. But then I would have one event-link that (if the date of the event is over) would have a somehow differently formatted second post-item with the review of the event in it! Any ideas on that? How could I solve such a thing? Thank you! | [
-0.005016717128455639,
0.0230869147926569,
-0.006165895611047745,
0.014892805367708206,
0.019454840570688248,
-0.010617468506097794,
0.006210677325725555,
0.025167154148221016,
-0.016624219715595245,
0.007815882563591003,
-0.0023071919567883015,
0.011804104782640934,
0.007190553471446037,
... | [
0.4975779354572296,
-0.14988182485103607,
0.38676950335502625,
0.3805042505264282,
-0.3316080868244171,
-0.14793457090854645,
-0.09724858403205872,
0.24548502266407013,
-0.1592465341091156,
-0.4955844581127167,
0.12761729955673218,
0.13045895099639893,
-0.007607279345393181,
0.344317585229... |
Various forms of the correlation, e.g., $r = \frac{\Sigma_i x_i * y_i}{\sigma_x \sigma_y}$ or $r = \frac{\Sigma_i (x_i-\bar{x}) * (y_i-\bar{y})}{\sigma_x \sigma_y}$ are popular similarity measures in many applications. Is there a probabilistic interpretation for this such that either $r$ or $r^2$ is an approximate likelihood for x and y coming from the same or similar distribution? i.e., if we have some form of $P_{\theta_1}(x)$ and $P_{\theta_2}(y)$, then $r$ is related to $P(\theta_1=\theta_2 | x,y)$? I would guess that the correlation may be the first term in the approximation of some sort of a likelihood measure. But I am unable to arrive at such a model. Assuming $x$ and $y$ to come from a normal, and $\theta$ being the mean, it doesn't really derive that expression. | [
0.004090248141437769,
0.01185515895485878,
-0.006182987242937088,
0.01815011352300644,
0.009695387445390224,
-0.01305411383509636,
0.006398242898285389,
-0.014653733931481838,
-0.006899217609316111,
0.00040800170972943306,
-0.003710800316184759,
0.0033173460979014635,
-0.019425153732299805,
... | [
0.24830181896686554,
-0.004300969652831554,
0.46747124195098877,
0.09920907020568848,
-0.02753213606774807,
0.07324465364217758,
-0.16418513655662537,
-0.3423217236995697,
-0.07226037979125977,
-0.1990768313407898,
0.23747290670871735,
0.5076983571052551,
-0.4086706042289734,
0.71576762199... |
I installed some packages, and now when I try to boot into it normally it freezes at this point.  The only thing I can do from there is reboot the system. When I do that, this is what's displayed.  The only way to boot into my system is to select "recovery mode," and then when the menu comes up select "continue booting." What happened to my system? This is Ubuntu 13.10. | [
0.008171889930963516,
-0.00547401886433363,
0.0027995603159070015,
0.013242606073617935,
-0.021001890301704407,
-0.01124658528715372,
0.002456341404467821,
-0.017882388085126877,
-0.021928420290350914,
0.029596976935863495,
-0.013769147917628288,
0.0027454677037894726,
0.0008610233198851347,... | [
0.2862069308757782,
0.09010893851518631,
0.3169364333152771,
-0.03126278147101402,
0.09590982645750046,
-0.2161381095647812,
0.5242729783058167,
-0.05853220447897911,
-0.47901061177253723,
-0.49496620893478394,
-0.33388710021972656,
0.6037966012954712,
-0.2654775381088257,
0.10229874402284... |
I have texlive 2012 and tikz. Is it possible to get the following behavior? > With external library to tikz, use external image, if it is available. > However, if it is not available, render the picture by tikz. Do NOT create > external PDF. I have some files where externalization fails, probably because tikz code is nested in several more complicated complicated macros (which include writing code into auxiliary TeX file and so on). We are speaking about approx 500 files which are complied in a bash a script if the input for these files changes (fixing typos, improving the template, adding new type of interactivity in PDF). I think, I can check if the pdf files with corresponding names exist and turn the externalization on/off from command line, but I wonder is there is some cleaner solution in TeX only. Typical example of the PDF file is http://user.mendelu.cz/marik/temp/000040.pdf * * * Update The following file does not compile with \tikzexternalize \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize \begin{document} \def\mypic#1{ \begin{tikzpicture}\clip (-1,-1) rectangle (1,2); \draw[red] plot (\x,{#1}); \end{tikzpicture} } \mypic{(\x)^2} \begin{tikzpicture}\clip (-1,-1) rectangle (1,2); \draw[red] plot (\x,{\x*\x*\x}); \end{tikzpicture} \end{document} The reason why we do need externalize is the fact, that we will create TeX files on a specific web site on the fly and compile. We would like to save the computer load and we also want not to edit the TeX files again. The idea was * We compile on a fast machine, most of the tikz pictures will be externalized, some of them not * We move the PDF files to the server. * If something has to be compiled on the server, and PDF file is available, use this PDF file. If not, compile as with regular tikz. We want to have a functionality similar to the answer of benwilfut but without modifying TeX files. | [
0.015953857451677322,
0.01322745718061924,
-0.005745351314544678,
0.024626057595014572,
0.011752045713365078,
-0.008336599916219711,
0.009390084072947502,
0.0036445986479520798,
-0.02073141187429428,
-0.0490461140871048,
-0.014205332845449448,
0.005855979863554239,
0.003182504093274474,
0.... | [
0.23736229538917542,
0.28126758337020874,
0.4612503945827484,
-0.24756206572055817,
-0.15466128289699554,
-0.06396299600601196,
0.35021960735321045,
-0.4822290241718292,
-0.09948518127202988,
-0.7195209264755249,
0.18557220697402954,
0.8778376579284668,
-0.21705548465251923,
0.007128191180... |
I am wondering what is the best way to place floats directly across from a array or tabular environment. I want to get the graph to show on the right of the table of values. A picture is shown below along with a `MWE`. \documentclass[12pt,letterpaper]{article} \usepackage[margin=2.0cm]{geometry} \usepackage{amsmath} \begin{document} $ \begin{array}{rr} -7.0 & 7.0 \\ -6.0 & 0.067 \\ -5.0 & -4.9 \\ -4.0 & -7.7 \\ -3.0 & -7.9 \\ -2.0 & -2.9 \\ -1.0 & 39. \\ 0 & 87. \\ 1.0 & 50. \\ 2.0 & 21. \\ 3.0 & 28. \\ 4.0 & 40. \\ 5.0 & 55. \\ 6.0 & 72. \\ 7.0 & 91. \end{array} $ \begin{figure}[h!] \centering \scalebox{0.5}{ \includegraphics{hx.pdf} } \caption{Plot of the function \( h(x) \)} \end{figure} \end{document}  | [
-0.0029054940678179264,
0.011194227263331413,
-0.010721191763877869,
0.008728181943297386,
-0.010624656453728676,
-0.013949922285974026,
0.0051418570801615715,
0.018185090273618698,
-0.01746121235191822,
-0.00890452228486538,
-0.011863570660352707,
0.004903361201286316,
-0.01685754582285881,... | [
0.5441818833351135,
0.2818478047847748,
0.7803044319152832,
0.3748764991760254,
0.0045260097831487656,
-0.09042605012655258,
-0.1192675307393074,
-0.3366571366786957,
-0.2347893863916397,
-0.8779008984565735,
0.31529679894447327,
0.5274586081504822,
0.12310075759887695,
0.28375327587127686... |
Before I had my first proper contact with Javascript I read an excellent book "Javascript: The Good Parts" by Douglas Crockford. I was hoping for something similar in case of PHP. My first thought was this book: "PHP: The Good Parts" from O'Reilly However after I read the reviews it seems it totally misses the point. I am looking for a resource that would: * concentrate on known shortcommings of PHP, * give concrete examples, * be as exhaustive as possible I already see that things can go wrong. **Research:** I looked through SO, and Programmers for materials. I obviously found this question: http://stackoverflow.com/questions/90924/what-is-the-best-php-programming-book It's general, mine is specific. Moreover I'm reading the top recommendation "PHP Objects, Patterns, and Practice" right now. I find it insufficient -- it doesn't address the bad practices as much as I would like it to. **Motivation:** I don't _dislike_ PHP. I'm not even competent enough just yet to really state that. In 3 months however, I will start a job that will likely involve a lot of development in that language. I do not really know what quality the code will be. I also don't want to be the guy to introduce all the bad practices and then learn everything the hard way. I try to find out about as many traps that I possibly can. In case of Javascript Crockford's lectures really served as a guiding light. I would never feel confident in Javascript without them. | [
0.0032383394427597523,
0.013139157555997372,
-0.00284348102286458,
0.015766605734825134,
-0.014944375492632389,
0.018361974507570267,
0.007105836179107428,
-0.0006888606585562229,
-0.022608287632465363,
-0.013118322007358074,
-0.012385839596390724,
0.017733827233314514,
-0.005382267292588949... | [
0.2853262722492218,
0.45146384835243225,
-0.2279903143644333,
0.05618065595626831,
-0.4552672207355499,
-0.28545841574668884,
0.22433359920978546,
0.33864033222198486,
0.06915823370218277,
-0.39203566312789917,
0.1793113350868225,
0.7238510251045227,
-0.2090580314397812,
-0.409704595804214... |
I want to create nested node in `tikz` but meet difficult to align Here is the code \documentclass[12pt, a4paper, oneside]{standalone} \usepackage{algorithm2e} \usepackage{pdfpages} \usepackage{listings} \usepackage{parcolumns} \usepackage{enumerate} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % DRAWING PETRI NETS & DIAGRAMS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{pgf} \usepackage{tikz} \usepackage{makecell} \usetikzlibrary{arrows,shapes,automata,petri,positioning,calc,fit,backgrounds,shapes.arrows,shapes.geometric,chains,matrix} \tikzset{ data/.style={ ellipse, thick, draw=black, minimum width = 2cm, }, place/.style={ circle, thick, draw=blue, fill=blue!20, minimum size=6mm, }, transition/.style={ rectangle, thick, draw=black, fill=black!50, minimum size=6mm }, transitionH/.style={ rectangle, thick, fill=black, minimum width=6mm, minimum height=2mm }, transitionHW/.style={ rectangle, thick, draw=black, minimum width=6mm, minimum height=2mm }, transitionV/.style={ rectangle, thick, fill=black, minimum width=2mm, minimum height=6mm }, transitionVW/.style={ rectangle, thick, draw=black, minimum width=2mm, minimum height=6mm }, terminal/.style={ rounded rectangle, thick, draw=black }, status/.style={ circle, thick, draw=black, minimum size=15mm }, decision/.style={ diamond, aspect = 2, thick, draw=black }, block/.style={ rectangle, thick, draw=black, minimum width = 2cm, rounded corners }, borderE/.style={ ellipse, thick, draw=black }, borderRd/.style={ rectangle, thick, draw=gray, dashed, rounded corners= 5mm }, %double arrow arrowD/.style={ double arrow, fill = black, double arrow head extend=1mm, double arrow head indent =.5mm, minimum width=3mm, minimum height=7mm, inner ysep=0.5mm } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % VIETNAMESE MACROS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\usepackage[vietnam]{babel} \usepackage[utf8]{vietnam} \begin{document} %if need link to inside, use ``remember picture'' \begin{tikzpicture}[node distance=1cm,>=stealth',bend angle=25,auto,initial text={}] \node [data,initial] (M0) { \begin{tikzpicture}[auto] \node (m0) {\begin{tabular}{c} $M_0$ \\ \_ \\ \_ \end{tabular}}; \node [data, right= of m0] (A1B1C1) {$A_1B_1C_1$}; \end{tikzpicture} }; \node [data, below= of M0] (M1) { \begin{tikzpicture}[auto] \node (m1) {\begin{tabular}{c} $M_1$ \\ loop \\ \_ \end{tabular}}; \node [data,initial, right=of m1] (A2B2C1) {$A_2B_2C_1$} edge[in=-5,out=5,loop right] node {$t_B$} (); \node [data, below=of A2B2C1] (A3B2C1) {$A_3B_2C_1$} edge[loop right] node {$t_B$} () edge[pre] node {$t_A$} (A2B2C1); \end{tikzpicture} } edge [pre] node {$F_1$} (M0); \end{tikzpicture} \end{document} With result as below  As you see that: 1. Inside the second node, the `M1 \\ loop \\ _` does not in center veritcally, or, at least, align at top. I know I can use `yshift=-a cm`. But I hate the hardcode like that. Is there another way? 2. Can we align the drawing inside 2 nodes vertically? 3. Label `tA` and `tB` is a little bit faraway while label `F1` distance is acceptable Basically, in my diagram, each node has 2 separate modules: Attributes on the left, A small automata on the right. Big Nodes are also linked each others I was confused about the right way to draw this. Do you have other solutions for this. | [
0.014599069952964783,
0.005386674776673317,
-0.0023219878785312176,
0.01453268714249134,
-0.014315078966319561,
0.015782814472913742,
0.005328176077455282,
0.006040840409696102,
-0.015943128615617752,
0.0002270068507641554,
-0.003008994273841381,
0.0004177732625976205,
-0.0029175621457397938... | [
0.2178632616996765,
-0.028771670535206795,
0.5250835418701172,
0.18322980403900146,
0.5917913913726807,
0.14265300333499908,
0.3463992774486542,
-0.16674378514289856,
0.23802641034126282,
-0.6858165860176086,
0.12454229593276978,
0.019549932330846786,
-0.38805943727493286,
0.17246274650096... |
I would like to make a smaller distance between month label and day headings. \documentclass{article} \usepackage[top=3cm, bottom=3cm, left=2cm, right=1cm]{geometry} \usepackage[utf8]{inputenc} \usepackage[serbian]{babel} \usepackage{tikz} \usetikzlibrary{calendar} \usepackage{pdflscape} \clearpage \thispagestyle{empty} \makeatletter% \tikzoption{day headings}{\tikzstyle{day heading}=[#1]} \tikzstyle{day heading}=[] \tikzstyle{day letter headings}=[ execute before day scope={ \ifdate{day of month=1}{% \pgfmathsetlength{\pgf@ya}{\tikz@lib@cal@yshift}% \pgfmathsetlength\pgf@xa{\tikz@lib@cal@xshift}% \pgftransformyshift{-\pgf@ya} \foreach \d/\l in {0/Ponedeljak,1/Utorak,2/Sreda,3/Četvrtak,4/Petak,5/Subota,6/Nedelja} { \pgf@xa=\d\pgf@xa% \pgftransformxshift{\pgf@xa}% \pgftransformyshift{\pgf@ya}% \node[every day,day heading]{\small\l};% } }{}% }% ] \makeatother% \begin{document} \begin{landscape} \begin{center} \begin{tikzpicture}[scale=6,font=\fontsize{25}{12}\selectfont\bfseries] \calendar (mycal) [dates=2013-05-01 to 2013-05-31,week list,month label above centered,month text=\textcolor{black}{Maj} \%y-, day yshift = 0.4cm, day letter headings]; \draw[black, line width=2pt] (mycal-2013-05-08) circle (5pt) +(-5pt,-5pt) rectangle +(5pt,5pt) ; \draw[black, line width=2pt] (mycal-2013-05-10) circle (5pt); \draw[black, line width=2pt] (mycal-2013-05-12) circle (5pt); \draw[black, line width=2pt] (mycal-2013-05-15) circle (5pt); \draw[black, line width=2pt] (mycal-2013-05-17) circle (5pt); \draw[black, line width=2pt] (mycal-2013-05-19) circle (5pt); \draw[black, line width=2pt] (mycal-2013-05-22) circle (5pt); \draw[black, line width=2pt] (mycal-2013-05-24) circle (5pt); \end{tikzpicture} \end{center} \hfill \Large legenda \\ *Napomena\hfill \begin{tikzpicture} \draw[black, line width=1pt] circle (6pt); \end{tikzpicture}~~~termini Termine je moguće iskoristiti do 8. juna.\hfill \begin{tikzpicture} \draw[black, line width=1pt] circle (6pt)+(-6pt,-6pt) rectangle +(6pt,6pt); \end{tikzpicture}~~~početak/kraj termina \end{landscape} \end{document} | [
0.011316513642668724,
0.013512132689356804,
-0.007149945478886366,
0.024329109117388725,
0.0070808045566082,
0.01051967591047287,
0.005743524990975857,
0.002686566673219204,
-0.009521166794002056,
-0.014962885528802872,
-0.01664397306740284,
0.000554144149646163,
-0.0032981177791953087,
0.... | [
0.09984222054481506,
0.11610989272594452,
0.8123296499252319,
-0.005000667180866003,
0.18227607011795044,
0.08804558217525482,
-0.16595911979675293,
-0.10052619874477386,
-0.13185617327690125,
-0.6138195395469666,
0.07202659547328949,
0.14966115355491638,
-0.041091758757829666,
0.097475238... |
I'm studying fundamental algorithms (quicksort, mergesort, binary trees, etc..) and I'm going to re-code every algorithm by scratch to learn how they work. Should I code them in C or C++? I think with C++ I should use STL, in C everything should probably be longer Is there a reason why I should pick one over another? | [
0.010223500430583954,
0.02745218575000763,
-0.01898319087922573,
-0.0014311043778434396,
-0.01271944772452116,
0.01899033971130848,
0.010659338906407356,
0.008147192187607288,
-0.021056003868579865,
-0.010649156756699085,
-0.001894545741379261,
0.0005016637151129544,
-0.006138578988611698,
... | [
0.3522619605064392,
0.202937051653862,
-0.23334527015686035,
0.1062864288687706,
-0.1268237680196762,
0.13645270466804504,
-0.05135674402117729,
0.16635853052139282,
-0.2369023561477661,
-0.669880747795105,
-0.1110115647315979,
0.3169674873352051,
-0.22010327875614166,
-0.13883230090141296... |
I have conducted repeated measures ANOVA, with 2 factors: One within factor (`time`, pre-post intervention) and one between factor (`treatment`, two groups). I have measured different dependent variables. I find in all the cases an effect of the within factor, an effect of the between factor, and only in some cases an interaction between both. I want to know how to interpret these results. * What does the interaction mean? * Is the significance of the factor `treatment` (between) sufficient to be able to say that one group is superior to other one, that one treatment is better? EDIT: The measures I took in three moments are: time spent using technologies, frecuency of use, abuse.. The significant interaction is for within factor (moment) X between factor (group), but it's only significant for the time spent using technologies. What means the sugnificance of between factor? Why it's important the intetaction? Thanks * * * The measures I took in three moments are: time spent using technologies, frecuency of use, abuse.. The significant interaction is for within factor (moment) X between factor (group), but it's only significant for the time spent using technologies. What means the sugnificance of between factor? Why it's important the intetaction? Thanks | [
0.011885477229952812,
0.023184671998023987,
-0.008313021622598171,
0.03129712864756584,
-0.008268371224403381,
0.00356187392026186,
0.009174490347504616,
0.004395023453980684,
-0.009528042748570442,
0.018421422690153122,
-0.02485247701406479,
0.012981701642274857,
-0.004133386537432671,
0.... | [
0.10892309248447418,
-0.030689844861626625,
-0.03175497427582741,
-0.19830656051635742,
-0.2188328355550766,
0.8399519920349121,
0.4082578122615814,
-0.5454186201095581,
-0.09258951991796494,
-0.5469731092453003,
0.38057196140289307,
0.1941438466310501,
-0.06802614778280258,
0.195883318781... |
I am trying to compare the results of two models. The first model looks at y with x as a fixed effect. The second looks at the covariance between x and y. Both models have repeated measures for x and y, so individual is included as a random effect. I am running the models in MCMCglmm. I am running them as Gaussian for ease in this example and the residuals suggest this is an ok approximation. data is called d1 library(MCMCglmm) head(d1) d1$Indiv <-as.factor(d1$Indiv) (d1$Y, d1$X) # suggests a positive relationship between X and Y these are all starting priors and not optimised but look ok on first checks prior1 = list(R = list(V = diag(1),nu=0.002), G = list(G1 = list(V=diag(1), nu=1, alpha.mu=c(0), alpha.V=diag(1)*1000))) M1 <- MCMCglmm(Y~X, random= ~Indiv, rcov=~units, data = d1, prior = prior1, nitt= 100000, thin =200, burnin = 100) this gives a positive parameter estimate for X, suggesting a positive slope. prior3= list(R = list(V = diag(2),nu=0.002), G = list(G1 = list(V=diag(2), nu=2, alpha.mu=c(0,0), alpha.V=diag(2)*1000))) M2 <- MCMCglmm(cbind(Y,X)~1, random= ~us(trait):Indiv, ## could run with just Indiv rcov=~us (trait):units, data = d1, family=c(“gaussian”,”gaussian”), prior = prior3, nitt= 100000, thin =200, burnin = 100) posterior.mode(M2$VCV) this gives a negative covariance/correlation then I thought that maybe if the variance was difference for X this could be causing problems so I standardised X d1$stX <-( d1$X -mean(d1$X))/sd(d1$X) M1.1 <- MCMCglmm(Y~stX, random= ~Indiv, rcov=~units, data = d1, prior = prior) this gives a positive parameter estimate for stX, suggesting a positive slope. So I thought the difference between the models could be because there is an individual effect on X and Y individually in the covariance model. So I mean that the fixed effect model allows Y to have an individual effect but not a unique one for X. So I fitted a random slope, which in theory should account for some differences in the variance of X (I say this as a random slope alters the X intercpt) M1.2 <- MCMCglmm(Y~stX, random= ~us(1 + stX):Indiv, rcov=~units, data = d1, prior = prior) this gives a positive parameter estimate for stX, suggesting a positive slope. I have looked at other things like the correlation between blups from a model of: Y~1 , random ~ Indiv and X Y~1 , random ~ Indiv - still get a positive relationship. I am bemused. I have tried simulating data with a set covariance structure and trying to generate large differences in the effect if individual on X and Y to see if I can recreate this effect, but I struggling to create a situation with a strong covariance and large individual effects on only one trait, suggesting this is not the cause of these discrepancies. I wonder if the autocorrelation in X could be a problem? For Yt, X = Bt-1 + Bt-2 So Yt =5, X = B4 + B3 So Yt =6, X = B5 + B4 This was potentially an error in the design and the calculation of X – I can change it very easily it but I am intrigued- could this temporal correlation reverse the direction of a covariance? I am really keen to better understand how the model works to be sure I understand if something like this happens again Data below – sorry I cropped it but you need a lot to run the model correctly Many thanks Sam Indiv Y X 1896 0 0 1685 2 1 2021 0 1 2054 0 1 2093 1 1 2219 3 1 201 2 2 1201 0 2 1340 2 2 1363 2 2 1579 0 2 1596 2 2 1667 3 2 1677 3 2 1990 2 2 2064 0 2 2165 2 2 2178 2 2 2207 3 2 2219 3 2 2240 3 2 2240 3 2 2626 3 2 1 3 3 970 3 3 1141 1 3 1149 1 3 1149 2 3 1201 1 3 1201 0 3 1202 1 3 1243 2 3 1252 3 3 1252 3 3 1336 1 3 1336 2 3 1348 2 3 1448 1 3 1490 0 3 1504 2 3 1580 2 3 1621 2 3 1637 1 3 1654 2 3 1670 2 3 1692 2 3 1692 2 3 1817 3 3 2004 2 3 2011 1 3 2021 0 3 2048 3 3 2055 3 3 2089 1 3 2092 2 3 2110 1 3 2118 2 3 2121 3 3 2178 1 3 2191 1 3 2231 1 3 2527 0 3 258 3 3.5 1 1 4 1 2 4 167 3 4 212 3 4 970 2 4 1052 0 4 1141 1 4 1202 1 4 1205 2 4 1246 1 4 1445 2 4 1450 1 4 1467 2 4 1488 1 4 1568 3 4 1580 2 4 1580 0 4 1620 2 4 1629 2 4 1630 2 4 1635 1 4 1643 2 4 1645 3 4 1649 0 4 1681 3 4 1698 2 4 1703 3 4 1703 3 4 1716 3 4 1795 2 4 1795 2 4 1795 2 4 1797 1 4 1801 2 4 1814 3 4 1823 2 4 1885 1 4 1900 2 4 1913 2 4 1979 1 4 1979 2 4 1982 3 4 1986 2 4 1986 2 4 1986 0 4 2004 2 4 2011 1 4 2021 0 4 2058 2 4 2058 2 4 2096 1 4 2191 2 4 2217 1 4 2227 3 4 2269 3 4 2351 2 4 2385 2 4 2544 2 4 2545 1 4 2623 2 4 2629 2 4 1492 2 4.5 2303 2 4.5 1 2 5 167 2 5 1202 1 5 1208 2 5 1231 2 5 1237 2 5 1240 1 5 1345 2 5 1448 2 5 1492 1 5 1492 0 5 1568 3 5 1570 2 5 1630 2 5 1645 3 5 1646 1 5 1681 3 5 1823 2 5 1879 2 5 1978 2 5 2011 1 5 2014 2 5 2030 2 5 2063 1.5 5 2095 2 5 2240 2 5 2526 1 5 2633 2 5 1448 1 5.5 1208 2 6 1250 2 6 1338 3 6 1338 3 6 1462 2 6 1784 3 6 1787 3 6 1948 1 6 2014 1 6 2015 2 6 2015 1 6 2023 2 6 2030 2 6 2109 2 6 2218 2 6 2267 2 6 2521 2 6 | [
-0.003770948853343725,
0.016109604388475418,
-0.013659720309078693,
0.016173895448446274,
0.004563978873193264,
-0.013106622733175755,
0.007493235170841217,
-0.0018456010147929192,
-0.010058240965008736,
-0.0046431017108261585,
-0.01687806285917759,
0.01062204223126173,
-0.006663922220468521... | [
0.21041619777679443,
-0.16499648988246918,
0.7864125370979309,
0.05531644821166992,
-0.29309114813804626,
0.2460029572248459,
0.25090768933296204,
-0.5893164873123169,
-0.1761607825756073,
-0.6453810334205627,
0.14427420496940613,
0.18978504836559296,
-0.13495925068855286,
0.41899621486663... |
I use both Linux and FreeBSD (specifically, I use Debian Linux and PC-BSD), and I found something weird about `sed`. I frequently need to convert "tab separated values" files to "comma separated values". The simplest way I know is to use `sed`, like this: sed 's/\t/,/g' inputFile.txt > outputFile.csv This works perfectly on Linux: It replaces every tab with a comma... but on FreeBSD, it doesn't replace anything!!! Am I missing something? Is there a syntax with FreeBSD `sed` that is different to the one on Linux? | [
0.0200236514210701,
0.00943761970847845,
-0.029474694281816483,
0.02200230583548546,
-0.0028236000798642635,
0.003655059030279517,
0.008159017190337181,
-0.02788199856877327,
-0.02182786539196968,
0.009054252877831459,
0.008874203078448772,
-0.0006058391882106662,
0.009965939447283745,
0.0... | [
0.2221287488937378,
0.09647835046052933,
0.26500970125198364,
-0.1663084626197815,
-0.12940631806850433,
-0.10605670511722565,
-0.1070898175239563,
0.39803507924079895,
-0.20392364263534546,
-0.9236104488372803,
-0.05792855843901634,
0.5323391556739807,
-0.24259449541568756,
0.140322133898... |
I want to replace Fedora 18 with Ubuntu but I have these devices listed when partitioning. I only have a hard disk labelled sda, where does these virtual device come from? How I do remove them? | [
0.017207549884915352,
0.011133968830108643,
0.017758991569280624,
0.012639622204005718,
-0.02944266051054001,
-0.0019190888851881027,
0.014335568994283676,
0.050745658576488495,
-0.02597903646528721,
-0.011126356199383736,
-0.017892522737383842,
0.012479119002819061,
-0.003476762678474188,
... | [
0.5884003043174744,
0.2583153247833252,
0.33515241742134094,
-0.22863812744617462,
-0.36177173256874084,
0.11963950097560883,
-0.37045711278915405,
0.2993675470352173,
-0.09065448492765427,
-0.6407631039619446,
-0.04297748580574989,
0.22518594563007355,
-0.47126591205596924,
0.340223699808... |
I have been using the getfeatureinfo operation on layers published from shapefile and it works however the data which is being served from within postgis throws an internal server error. I am not sure why it is doing it. Has anyone else experienced similar issue. Can it be compatibility issue between versions of Postgis and geoserver. The layers display correctly in both cases, the issue is just with getfeatureinfo. Version postgres 9.3 postgis 2.1 Geoserver 2.5 Latest version of leaflet. Any help will be appreciated. EDITED: Request: (Works fine when data is published from a shapefile but fails when layer is from postgis. SRID is 4326 and has been checked in the query and it is correct) var URL="http://localhost:8080/geoserver/Victory/wms?INFO_FORMAT=application/json&REQUEST=GetFeatureInfo&EXCEPTIONS=application/vnd.ogc.se_xml&SERVICE=WMS&VERSION=1.1.1&WIDTH="+ WIDTH+"&HEIGHT="+HEIGHT+"&X="+X+"&Y="+Y+"&BBOX="+BBOX+"&LAYERS=Victory:topolinefinal&QUERY_LAYERS=Victory:topolinefinal"; var content=""; $.getJSON(URL,function(data){ alert(data); }); FireBug: Internal error occurred null Details: org.geoserver.platform.ServiceException: Internal error occurred at org.geoserver.wms.GetFeatureInfo.run(GetFeatureInfo.java:49) at org.geoserver.wms.DefaultWebMapService.getFeatureInfo(DefaultWebMapService.java:346) at sun.reflect.GeneratedMethodAccessor411.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:34) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:54) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy64.getFeatureInfo(Unknown Source) at sun.reflect.GeneratedMethodAccessor402.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:774) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:70) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173) at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:134) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException Experimented a bit more with projections: For shapefile based WMS: '..../wms?INFO_FORMAT=application/json&REQUEST=GetFeatureInfo&EXCEPTIONS=application/vnd.ogc.se_xml&SERVICE=WMS&VERSION=1.1.1&WIDTH=1958&HEIGHT=626&X=613&Y=337&BBOX=0.37724465131759644,52.74812277455308,0.3824964165687561,52.74913913313306&LAYERS=Victory:TopolineFinal&QUERY_LAYERS=Victory:TopolineFinal&styles=&srs=EPSG%3A4326' The above doesnt return any features when srs is included 4326 or 3857, so removing srs, it return the features '.../wms?INFO_FORMAT=application/json&REQUEST=GetFeatureInfo&EXCEPTIONS=application/vnd.ogc.se_xml&SERVICE=WMS&VERSION=1.1.1&WIDTH=1958&HEIGHT=626&X=613&Y=337&BBOX=0.37724465131759644,52.74812277455308,0.3824964165687561,52.74913913313306&LAYERS=Victory:TopolineFinal&QUERY_LAYERS=Victory:TopolineFinal' The Layer has native SRS of 4326 and declared of 3857. Reproject native to declared selected as option. Can anyone explain why the url with srs doesnt return any feature when srs is included? | [
-0.012247327715158463,
-0.005338722839951515,
-0.004301757551729679,
0.025267187505960464,
0.009404013864696026,
0.01590779423713684,
0.00909499078989029,
0.016716288402676582,
-0.016712207347154617,
-0.015447909012436867,
0.0004768751095980406,
0.024643266573548317,
0.0032481702510267496,
... | [
0.360311359167099,
0.007695743348449469,
0.6961522698402405,
0.003767730202525854,
-0.13947553932666779,
-0.44838547706604004,
0.24629832804203033,
0.19240739941596985,
0.09678592532873154,
-0.919927179813385,
-0.33711573481559753,
0.526820719242096,
-0.3450915515422821,
-0.165508225560188... |
> **Possible Duplicate:** > Punctuation of direct speech, edge cases > Space before three dots? > "I don't think so," she stated. > > "I don't think..." her voice trailed off. Is this second sentence correct from punctuation point of view (ellipsis working along with the same rule as `?`,`!` \- replacing the comma), or does it require an extra comma? (or yet something different?) I'm aware it is normally used instead of a comma or a full stop, with very rare exceptions, but the rules of using punctuation at the end of interrupted quotes still baffle me. | [
-0.008518013171851635,
0.007438903674483299,
-0.01682572439312935,
0.014314699918031693,
0.004561128094792366,
-0.005301094148308039,
0.007808734197169542,
-0.000971514149568975,
-0.01517530344426632,
-0.007310477085411549,
-0.008400955237448215,
0.005342230666428804,
0.010883675888180733,
... | [
-0.04290538653731346,
0.01935753971338272,
0.3650371730327606,
0.051440976560115814,
-0.15952655673027039,
0.4136199355125427,
0.3884340524673462,
0.1481863409280777,
-0.47622939944267273,
-0.4327969253063202,
-0.0058030323125422,
0.2785419225692749,
-0.03476890176534653,
-0.06481394916772... |
I am developing a free plugin for connection a external support system to WordPress to be able to authenticate users on WordPress. For this, currently from the external system, the user is sent to WordPress's login page with this at the end ?action=freshdesk-remote-login My plugin then checks if the user is logged into WP, if not it shows the login form and after successful login, redirects them back to the 3rd party site. The redirect is done using something like this: `wp_redirect( $sso_url );` Now this works well, but I plan to offer a shortcode which could be added to a page the user chooses. Now once a user goes to this page, if they are logged in, they should be forwarded to the 3rd party site, if not, then to the login page. Is there a way you could suggest wp_redirect to work inside a shortcode? | [
0.0011704235803335905,
0.0052718594670295715,
0.007067113649100065,
0.02115522138774395,
-0.016562581062316895,
-0.012682408094406128,
0.00859159231185913,
-0.015049800276756287,
-0.011646472848951817,
-0.0006821282440796494,
-0.014298689551651478,
0.010871007107198238,
0.01629442349076271,
... | [
0.5398236513137817,
-0.022584114223718643,
0.49425968527793884,
-0.1958327740430832,
0.044467613101005554,
-0.2402612715959549,
0.5215172171592712,
-0.16474691033363342,
-0.060926374047994614,
-0.9135600328445435,
-0.14446210861206055,
0.17346926033496857,
-0.23154550790786743,
0.347050815... |
I would like to create a "normal" footnote inside epigraph command. This command cites the reference in a footnote _just below_ the epigraph and not at the end of the page : \epigraph{text}{source\footcite{key}} For example : \epigraph{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut}{Author\footcite{author00:_title}} creates :  How can I create a normal footnote? MWE : \begin{filecontents}{bib.bib} @Book{author00:_title, author = {Author}, title = {Title}, publisher = {Publisher}, year = 2000} \end{filecontents} \documentclass[12pt,twoside,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english,french]{babel} \frenchbsetup{StandardLists=true} \usepackage{setspace} \usepackage{graphicx} \usepackage{lmodern} \usepackage{xspace} \usepackage{epigraph} \usepackage{lipsum} \usepackage{filecontents} \usepackage[autostyle=true]{csquotes} \usepackage[style=authoryear-comp, hyperref, backend=biber, isbn=false, doi=false, url=false, date=year]{biblatex} \AtEveryBibitem{\clearlist{language}} \renewcommand*{\newunitpunct}{\addcomma\space} \bibliography{bib} \usepackage[colorlinks]{hyperref} \begin{document} \epigraph{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut}{Author\footcite{author00:_title}} test \end{document} | [
0.023637641221284866,
0.008283132687211037,
-0.012988164089620113,
0.02856399491429329,
0.000003207474946975708,
0.006275067571550608,
0.00692412257194519,
0.0034059796016663313,
-0.017666101455688477,
0.007940432988107204,
-0.006253631319850683,
-0.0004292342346161604,
-0.011285003274679184... | [
0.6508415341377258,
0.011647303588688374,
0.7902027368545532,
0.21463029086589813,
0.2105942964553833,
0.25935494899749756,
-0.06462454795837402,
0.1270647644996643,
0.06595999747514725,
-0.8811728358268738,
0.31455162167549133,
0.12511403858661652,
-0.2904496490955353,
-0.0672984495759010... |
I have a model that I have had to go through to model parameters in order to create a geoprocessing service. Is there a way to check all sources that are being used in the model via python? I am attempting to publish a geoprocessing Service, however one of my sources is not registered with server which prevents my service from being published. | [
0.009045926854014397,
0.00637043546885252,
0.006741176825016737,
0.03998447209596634,
0.01761399395763874,
0.00917032640427351,
0.008287129923701286,
0.01264948584139347,
-0.02572404406964779,
-0.004705761559307575,
0.01223769225180149,
0.03015090711414814,
-0.0012677725171670318,
0.014053... | [
0.4598945379257202,
0.49547141790390015,
0.12992238998413086,
-0.10972641408443451,
0.21451576054096222,
-0.0029038540087640285,
0.2225630283355713,
0.18969427049160004,
-0.2100156843662262,
-0.4909209609031677,
0.20018541812896729,
0.20854204893112183,
-0.5805136561393738,
0.3154616057872... |
At the time I submitted my site for testing with McAfee's Site Advisor as I noticed my site received a bad review as a spam/scam site. See here . 1. From a development perspective, how important are things like this? I know from a user perspective, I stay away from the sites that have a bad rap in Site Advisor. 2. The bad review was not even related to my site content, but was given due to my registrar(think it's Enom). Now I have to question if anyone knows if it's normal for sites to be rated according to the registrar and not content? 3. This question is not so important but it interests me that after a year, my reply to my review has been ignored. I have to ask if it's even worth worrying anymore about this? | [
-0.00797527190297842,
0.02303628996014595,
0.00016362639144062996,
0.01959936134517193,
-0.004670594818890095,
0.014886485412716866,
0.007873407565057278,
0.006068520247936249,
-0.01317380741238594,
-0.023863807320594788,
-0.01545797474682331,
0.018254587426781654,
-0.003380991518497467,
0... | [
0.5108454823493958,
0.17383700609207153,
0.032540351152420044,
-0.14621397852897644,
-0.11878137290477753,
-0.26594552397727966,
0.10259124636650085,
0.1805754154920578,
-0.1099732369184494,
-0.10459297895431519,
0.3475736677646637,
0.21864528954029083,
0.020160049200057983,
0.410549312829... |
I know that if you held an infrared remote in front of a digital camera, it'll flash a blue/purplish light when you press the buttons. Why? | [
-0.03666906803846359,
0.004874046426266432,
0.00014387140981853008,
0.015685517340898514,
-0.082854263484478,
0.028177713975310326,
0.013772188685834408,
0.04837943613529205,
-0.02021525427699089,
0.0016739576822146773,
-0.01817968860268593,
0.02508663572371006,
0.01271110400557518,
-0.000... | [
0.7343267202377319,
0.15081390738487244,
0.09628657251596451,
0.26585641503334045,
0.2678006887435913,
0.06404315680265427,
0.031935226172208786,
0.08002025634050369,
-0.3486427664756775,
-0.009385502897202969,
0.20591497421264648,
0.19638487696647644,
-0.10572466254234314,
0.1782415211200... |
I need to send automated emails to customers whose language I am not sure about. 90 % are french and would probably not be able to read mails in english. The other 10 % would probably be able to read in english and clearly not in french. I don't know what their language is. I investigated the multipart/alternative that looked promising, give the mailer several variants and he selects the best one. ( see: http://www.ietf.org/rfc/rfc1766.txt ) Unfortunately no mailer seems to care about that, they always show the last part... did someone manage to make multi-lingual mail with automatic selection of the best version for the users? Is there some kind of trick to know? Do you have another solution? | [
0.012128852307796478,
0.004043450579047203,
-0.003220499027520418,
0.013552390970289707,
-0.004038340877741575,
0.00547617394477129,
0.0067331744357943535,
0.01638762652873993,
-0.018001407384872437,
-0.00003736373037099838,
-0.015351993963122368,
0.011856790632009506,
-0.0034765852615237236... | [
0.4739590883255005,
0.2860355079174042,
0.26152876019477844,
-0.030803343281149864,
-0.009477230720221996,
0.5642587542533875,
0.7286897897720337,
0.44000646471977234,
-0.1531699299812317,
-0.7132342457771301,
-0.23251491785049438,
0.4278465509414673,
-0.27224692702293396,
-0.2899569869041... |
I'd like to be able to launch processes with very limited permissions from the command line, basically so that I can run a process that I don't understand without it having access to things in my user area. For example, if I get a package from some colleague who has a tendency to write overly intrusive installers, I could do something like this: > subdo make would run `make` in such that it wouldn't be allowed to touch any parent directories. Does any such functionality exist in Unix? | [
-0.006255083717405796,
0.004037460312247276,
0.0014243784826248884,
0.005766409914940596,
-0.001237784163095057,
0.011868633329868317,
0.006696942262351513,
0.011297348886728287,
-0.015491186641156673,
0.01482908520847559,
-0.011632326059043407,
0.006270823534578085,
0.0034805811010301113,
... | [
0.7706184387207031,
-0.12957794964313507,
-0.07366684824228287,
-0.2673880159854889,
0.3504435420036316,
-0.5063501596450806,
-0.044280797243118286,
0.0038869271520525217,
-0.26743102073669434,
-0.18523870408535004,
-0.10072942078113556,
0.3037138283252716,
-0.29442211985588074,
0.38779458... |
My experience is that Java requires about twice as much RAM compared to C (comparing char arrays or other comparisons). I also read in a hardware book that Java takes about twice RAM than C. Is is based solely on empirical evidence or also has a theoretical explanation? Is there a theoretical limit that limits Java from minimizing its memory usage? | [
-0.012976515106856823,
-0.00011552729120012373,
-0.03365493565797806,
-0.003798517631366849,
0.0069349538534879684,
-0.024060895666480064,
0.010666594840586185,
-0.0019970680586993694,
-0.025608593598008156,
-0.03132797032594681,
-0.007945209741592407,
0.017421385273337364,
0.018857337534427... | [
0.18206796050071716,
0.1764267385005951,
-0.44329503178596497,
-0.1725638210773468,
-0.1364964097738266,
0.10647359490394592,
0.15781588852405548,
0.05259237438440323,
-0.4901367127895355,
-0.43256476521492004,
0.37040960788726807,
0.45397019386291504,
-0.16947528719902039,
-0.298233658075... |
I wrote an include file to allow me to draw certain diagrams (that have various different parameters) conveniently, by just calling macros within a tikzpicture. This file is now at about 1500 lines, although a fair amount of that is notes I wrote (in the form of TeX comments) on the various macros in case I come back later and need to remember quickly how they work. Or I suppose, in case someone else wants to use it. Anyway, I include this file in the preamble of my document just using the `\input` control sequence. But I know that the "standard" way of making reusable code is to create something called a "package". What extra work (if any) is involved in making this include file into a package, and how will I benefit (if at all)? | [
-0.0020484942942857742,
0.020082857459783554,
-0.013643264770507812,
0.0156288780272007,
0.02158488892018795,
0.005911852698773146,
0.005447723902761936,
-0.025425272062420845,
-0.01534472405910492,
-0.025652285665273666,
-0.003862939076498151,
-0.005086442921310663,
0.015559856779873371,
... | [
0.4935954809188843,
0.26003319025039673,
0.5096028447151184,
-0.19165614247322083,
0.14537759125232697,
0.23135848343372345,
0.2847761809825897,
-0.27869194746017456,
0.055286772549152374,
-0.5825824737548828,
0.1827443540096283,
0.4095821976661682,
-0.6468888521194458,
-0.4194393754005432... |
If I draw a control volume around a single light wave traveling through empty space, is entropy increasing as it goes? How is the degradation of the quality of energy manifested? | [
0.007717119995504618,
0.03471384570002556,
0.0028998595662415028,
0.011505394242703915,
-0.05304967612028122,
-0.052555907517671585,
0.015648992732167244,
0.0007516216719523072,
-0.024277562275528908,
-0.07116653025150299,
-0.029356589540839195,
0.03983375057578087,
-0.05098530650138855,
0... | [
0.5665391683578491,
0.08264525979757309,
0.19180038571357727,
0.11804352700710297,
-0.051645100116729736,
0.049641117453575134,
-0.1454896330833435,
-0.3386382460594177,
-0.30212002992630005,
-0.6635997891426086,
0.12880825996398926,
0.29684609174728394,
-0.2575956881046295,
0.576063454151... |
For example, the templates provided on the Open Source Initiative website for the 3-clause BSD License, and the MIT License both include an all-caps warranty disclaimer, though the rest of the license is written with normal capitalisation. Is there some genuine reason for this? Or is it just a tradition to make the warranty disclaimer harder to read? | [
0.013262634165585041,
0.0004175784415565431,
-0.01420529093593359,
0.01902296580374241,
-0.012445756234228611,
0.04485785588622093,
0.011411298997700214,
0.017388153821229935,
-0.017707301303744316,
-0.02227931097149849,
-0.028333434835076332,
0.009415528737008572,
-0.0035286606289446354,
... | [
0.8739415407180786,
0.582755446434021,
0.12124927341938019,
-0.008983283303678036,
0.05033252388238907,
-0.8023395538330078,
0.3348594903945923,
-0.15173378586769104,
-0.06409169733524323,
0.20245444774627686,
-0.4766068458557129,
0.4336957335472107,
-0.3721283972263336,
0.1183089017868042... |
I am well aware of the use of child themes for this. I know about get_header($name). I already understand the use of conditional tags. I want my plugin to remove the function: function get_header( $name = null ) { do_action( 'get_header', $name ); $templates = array(); if ( isset($name) ) templates[] = "header-{$name}.php"; $templates[] = 'header.php'; // Backward compat code will be removed in a future release if ('' == locate_template($templates, true)) load_template( ABSPATH . WPINC . '/theme-compat/header.php'); } and the replace get_header() with: function get_header( $name = null ) { do_action( 'get_header', $name ); $templates = array(); if ( isset($name) ) templates[] = "header-{$name}.php"; $templates[] = 'header.php'; // Backward compat code will be removed in a future release if ('' == locate_template($templates, true)) load_template( MY PLUGIN PATH/header.php'); } php.net told me to use runkit_function_remove() but the website I am working on says this is an undefined function. Any help would be much appreciated. Leon | [
0.01948670670390129,
0.012519902549684048,
0.004700229503214359,
0.009761642664670944,
0.002193612977862358,
0.013095512054860592,
0.006509737577289343,
-0.008398004807531834,
-0.013733510859310627,
0.004669257439672947,
-0.015868116170167923,
0.007367236074060202,
-0.004420669749379158,
0... | [
0.17246197164058685,
-0.09591325372457504,
0.3752959966659546,
-0.015990888699889183,
0.11366287618875504,
0.06105971708893776,
0.3163709044456482,
-0.3528580665588379,
-0.13031426072120667,
-0.33138781785964966,
-0.16352945566177368,
0.47106659412384033,
-0.40454503893852234,
0.0851512849... |
According to Reisnick and Halliday, retardation is the acceleration in the negative direction of time axis ie. opposite to the motion. Decreasing accleretion is the decrease in the magnitude of time rate of change of velocity. Am I correct or not? What is the $v$-$t$ graph with retardation and decreasing acceleration? [I don't think they are same.] | [
-0.02481072023510933,
0.008379270322620869,
-0.016874106600880623,
0.007885047234594822,
0.010534281842410564,
-0.044129349291324615,
0.009938765317201614,
-0.014873539097607136,
-0.010380307212471962,
-0.0248037688434124,
-0.010001407004892826,
0.0020839888602495193,
-0.005961073562502861,
... | [
-0.1855728030204773,
-0.12875138223171234,
0.21059030294418335,
-0.07621749490499496,
-0.3145953118801117,
0.6994870901107788,
0.5346313118934631,
-0.28572967648506165,
-0.4466799795627594,
-0.3626289963722229,
0.3850080072879791,
0.4277237057685852,
-0.4761180877685547,
0.5590956211090088... |
So, I finally managed to play a few hours and begin to understand how this game works. Unfortunately I am now stuck with my Discoverer and don't make enough profit.. I am thinking about restarting, but what's the best way to begin? a) Sell Mercury and only play with the Discoverer? (That's what I did.) b) Sell the Discoverer and keep Mercury. c) Keep both ships and try to automatize the trading stuff with the Mercury. If you recommend me to use option c, how do I automatize the trading stuff with Mercury? Basically I wish to fly around with my Discoverer while the Mercury does trading stuff on it's own (e.g. buying and selling energy cells at best prices). Is that even possible? | [
0.012337291613221169,
0.015764538198709488,
-0.02095888741314411,
-0.009617963805794716,
-0.0430741012096405,
-0.0011729366378858685,
0.006138008087873459,
0.013840170577168465,
-0.015554219484329224,
-0.024853266775608063,
-0.00946673471480608,
0.015913553535938263,
-0.012366732582449913,
... | [
0.16720183193683624,
0.010556744411587715,
0.14193233847618103,
0.3755373954772949,
0.36845341324806213,
-0.03649458661675453,
-0.45009157061576843,
0.2462560087442398,
-0.39251407980918884,
-0.3864348828792572,
0.4542658030986786,
0.7776033282279968,
0.009334907867014408,
0.26877155900001... |
I'm trying to exclude activity updates (ones users actually post) from a custom "ticker" I'm running. With the below code, I am only displaying activities where friendships are created. How do I add another argument to allow for another activity action to display? <?php if ( bp_has_activities('action=friendship_created&max=5') ) : ?> | [
0.013728328049182892,
0.016543187201023102,
0.007624334190040827,
0.012958451174199581,
0.006083508022129536,
0.012528062798082829,
0.00878072902560234,
0.0031838673166930676,
-0.02087647095322609,
-0.0031132132280617952,
-0.018615787848830223,
0.008824652060866356,
-0.00829573068767786,
0... | [
0.6409031748771667,
-0.027977805584669113,
0.2379234880208969,
-0.327446848154068,
0.10624808073043823,
-0.05489923059940338,
0.34577542543411255,
0.02592400275170803,
-0.4600459039211273,
-0.29871636629104614,
0.17916740477085114,
0.19349117577075958,
-0.35496652126312256,
0.0179272592067... |
function notify_new_posts($post_id) { $keyval = get_post_meta( $post_id); $buyer_wdistance = get_post_meta( $post_id, 'cf_wdrive'); //$buyer_wdistance = $keyval['cf_wdrive'][0]; $buyer_location = $keyval['cf_address'][0]." , ".$keyval['cf_zipcode'][0]; //$buyer_location = '3302 23rd street, astoria, ny'; //$buyer_wdistance = '10'; $post = get_post($post_id); $author = get_userdata($post->post_author); $author_email = $author->user_email; $email_subject = " New car request posted "; $blogusers = get_users( 'blog_id=1&orderby=nicename&role=dealership' ); foreach ( $blogusers as $user ) { $target_email = $user->user_email; $current .= " targetemail: ".$target_email ." | " ; $dealer_location = get_usermeta($user->id,'company_name')." , ".get_usermeta($user->id,'rep_name') ; $current .= " dealerlocation: ".$dealer_location . " | " ; $from = $buyer_location; //echo "<br>"; $to = $dealer_location; $from = urlencode($from); $to = urlencode($to); $data = file_get_contents("http://maps.googleapis.com/maps/api/distancematrix/json?origins=$from&destinations=$to&language=en-EN&sensor=false"); $data = json_decode($data); $time = 0; $distance = 0; foreach($data->rows[0]->elements as $road) { $time += $road->duration->value; $distance += $road->distance->value; } $distance = round($distance*0.000621371); $time = round($time/60); //echo "distance to this dealer in miles ".$distance."<br>"; $current .= " distance: ".$distance . " | " ; if ($distance <= $buyer_wdistance ){ ob_start(); ?> <html><head><title>New post at <?php bloginfo( 'name' ) ?></title> </head> <body> <p>Hello <?php echo $author->user_firstname ?>, </p> <p>A new lead was posted: <a href="<?php echo get_permalink($post->ID) ?>"><?php the_title_attribute() ?></a> .</p> </body></html> <?php $message = ob_get_contents(); ob_end_clean(); wp_mail( $target_email, $email_subject, $message ); } //end of if statememnt } $file = 'people.txt'; // Open the file to get existing content //$current = file_get_contents($file); // Append a new person to the file $current .= " postid: ".$post_id." | " ; $current .= " author: ".$post->post_author . " | " ; $current .= " author_email ".$author_email . " | " ; $current .= " buyerlocation: ".$buyer_location.$buyer_wdistance . " | " ; $current .= " buyerwdistance: ".$buyer_wdistance . " | " ; // Write the contents back to the file file_put_contents($file, $current); } add_action( 'publish_post', 'notify_new_posts', 10, 2 ); so the problem is $buyer_wdistance = get_post_meta( $post_id, 'cf_wdrive'); //$buyer_wdistance = $keyval['cf_wdrive'][0]; $buyer_location = $keyval['cf_address'][0]." , ".$keyval['cf_zipcode'][0]; these values work perfectly in a template.php file. but inside functions.php function hook they dont work. $post_id returns a value. all the other variables return values besides those metas. I checked them manually in phpmyadmin and their all have values for the appropriate post id. | [
-0.003999614156782627,
0.01657653972506523,
0.009440924972295761,
0.02132708951830864,
0.003086538054049015,
0.016236720606684685,
0.00892513245344162,
-0.0025523039512336254,
-0.009596351534128189,
0.012309657409787178,
-0.005475999321788549,
0.014221696183085442,
-0.017144134268164635,
0... | [
0.2586977481842041,
-0.4563063681125641,
0.5042169094085693,
-0.3496819734573364,
0.4132997989654541,
0.10707679390907288,
0.3911495804786682,
-0.5910664200782776,
0.052697014063596725,
-0.5977127552032471,
-0.2571653127670288,
0.2475791871547699,
-0.7195309996604919,
-0.18700645864009857,... |
What function can I use to override the multisite maximum file size upload restriction? I have already maxed out the kb upload size and ensured that the max file upload size in php.ini is over 50mb, yet still I'm getting an error uploading an 11mb file.   | [
0.012948465533554554,
-0.0027669337578117847,
-0.005785792600363493,
0.020248474553227425,
0.0017845788970589638,
-0.0013450926635414362,
0.009065093472599983,
-0.008879288099706173,
-0.02312486432492733,
-0.0030798809602856636,
-0.007103258278220892,
0.013060602359473705,
0.0054324930533766... | [
0.3134935200214386,
-0.12274020910263062,
0.4511416554450989,
-0.005160815082490444,
-0.18401716649532318,
-0.026439307257533073,
0.4568195939064026,
-0.3186780512332916,
-0.47719112038612366,
-0.6789979934692383,
0.2549290657043457,
0.7429726123809814,
-0.04091581329703331,
0.190518498420... |
I have a t-mobile concord it was locked to a specific carrier after receiving the phone I had to unlock it for my present carrier, I'm considering a factory reset and I want to know if after the reset do I have to unlock it again? | [
0.004802323412150145,
0.024387264624238014,
0.0030769736040383577,
0.012205719947814941,
-0.015563301742076874,
0.005854602437466383,
0.009763132780790329,
-0.004075635690242052,
-0.023121781647205353,
0.011631585657596588,
-0.004652031697332859,
0.030372222885489464,
0.024499667808413506,
... | [
0.6299812197685242,
0.019150009378790855,
0.1767379641532898,
0.09481001645326614,
0.29015052318573,
0.5374201536178589,
0.013390355743467808,
-0.08830446749925613,
-0.2685774266719818,
-0.5509291887283325,
0.6658620238304138,
0.41330114006996155,
-0.3030543327331543,
0.05580592155456543,
... |
I'm attempting to install postgis2 on RHEL 6.4 by using the instructions postgis.net/install, but after the postgis2 install, neither initdb nor /etc/init.d/postgreql92 is present. The same thing happens with the 9.3 beta. Is a source installation my best option? **DETAILS** [root@pgsrv ~]# cat /etc/issue Red Hat Enterprise Linux Server release 6.4 (Santiago) [root@pgsrv ~]# rpm -qa | grep post postfix-2.6.6-2.2.el6_1.x86_64 [root@pgsrv ~]# rpm -qa | grep pgdg [root@pgsrv ~]# rpm -ihv pgdg-redhat92-9.2-7.noarch.rpm Preparing... ########################################### [100%] 1:pgdg-redhat92 ########################################### [100%] [root@pgsrv ~]# cd /etc/yum/pluginconf.d/ [root@pgsrv pluginconf.d]# ls changelog.conf product-id.conf security.conf versionlock.conf downloadonly.conf rhnplugin.conf subscription-manager.conf versionlock.list epel-release-6-8.noarch.rpm rhnplugin.conf-original verify.conf [root@pgsrv pluginconf.d]# cat rhnplugin.conf [main] enabled = 1 gpgcheck = 1 # Added "exclude=postgresql*" for PostGIS exclude=postgresql* # You can specify options per channel, e.g.: # #[rhel-i386-server-5] #enabled = 1 # #[some-unsigned-custom-channel] #gpgcheck = 0 [root@pgsrv pluginconf.d]# yum install postgis2* Loaded plugins: changelog, downloadonly, product-id, rhnplugin, security, verify, versionlock This system is receiving updates from RHN Classic or RHN Satellite. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package postgis2_92.x86_64 0:2.0.3-2.rhel6 will be installed --> Processing Dependency: postgresql92 for package: postgis2_92-2.0.3-2.rhel6.x86_64 --> Processing Dependency: libpq.so.5()(64bit) for package: postgis2_92-2.0.3-2.rhel6.x86_64 --> Processing Dependency: libgdal.so.1()(64bit) for package: postgis2_92-2.0.3-2.rhel6.x86_64 ---> Package postgis2_92-debuginfo.x86_64 0:2.0.3-2.rhel6 will be installed ---> Package postgis2_92-devel.x86_64 0:2.0.3-2.rhel6 will be installed ---> Package postgis2_92-docs.x86_64 0:2.0.3-2.rhel6 will be installed ---> Package postgis2_92-utils.x86_64 0:2.0.3-2.rhel6 will be installed --> Processing Dependency: perl-DBD-Pg for package: postgis2_92-utils-2.0.3-2.rhel6.x86_64 --> Running transaction check ---> Package gdal.x86_64 0:1.7.3-15.el6 will be installed ---> Package perl-DBD-Pg.x86_64 0:2.15.1-4.el6_3 will be installed ---> Package postgresql92.x86_64 0:9.2.4-1PGDG.rhel6 will be installed ---> Package postgresql92-libs.x86_64 0:9.2.4-1PGDG.rhel6 will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================== Package Arch Version Repository Size ======================================================================================================================== Installing: postgis2_92 x86_64 2.0.3-2.rhel6 pgdg92 2.5 M postgis2_92-debuginfo x86_64 2.0.3-2.rhel6 pgdg92 1.5 M postgis2_92-devel x86_64 2.0.3-2.rhel6 pgdg92 172 k postgis2_92-docs x86_64 2.0.3-2.rhel6 pgdg92 3.7 M postgis2_92-utils x86_64 2.0.3-2.rhel6 pgdg92 31 k Installing for dependencies: gdal x86_64 1.7.3-15.el6 epel 3.0 M perl-DBD-Pg x86_64 2.15.1-4.el6_3 rhel-x86_64-server-6 196 k postgresql92 x86_64 9.2.4-1PGDG.rhel6 pgdg92 970 k postgresql92-libs x86_64 9.2.4-1PGDG.rhel6 pgdg92 185 k Transaction Summary ======================================================================================================================== Install 9 Package(s) Total download size: 12 M Installed size: 53 M Is this ok [y/N]: y Downloading Packages: (1/9): gdal-1.7.3-15.el6.x86_64.rpm | 3.0 MB 00:00 (2/9): perl-DBD-Pg-2.15.1-4.el6_3.x86_64.rpm | 196 kB 00:00 (3/9): postgis2_92-2.0.3-2.rhel6.x86_64.rpm | 2.5 MB 00:00 (4/9): postgis2_92-debuginfo-2.0.3-2.rhel6.x86_64.rpm | 1.5 MB 00:00 (5/9): postgis2_92-devel-2.0.3-2.rhel6.x86_64.rpm | 172 kB 00:00 (6/9): postgis2_92-docs-2.0.3-2.rhel6.x86_64.rpm | 3.7 MB 00:00 (7/9): postgis2_92-utils-2.0.3-2.rhel6.x86_64.rpm | 31 kB 00:00 (8/9): postgresql92-9.2.4-1PGDG.rhel6.x86_64.rpm | 970 kB 00:00 (9/9): postgresql92-libs-9.2.4-1PGDG.rhel6.x86_64.rpm | 185 kB 00:00 ------------------------------------------------------------------------------------------------------------------------ Total 9.2 MB/s | 12 MB 00:01 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. Installing : postgresql92-libs-9.2.4-1PGDG.rhel6.x86_64 1/9 Installing : postgresql92-9.2.4-1PGDG.rhel6.x86_64 2/9 Installing : gdal-1.7.3-15.el6.x86_64 3/9 Installing : postgis2_92-2.0.3-2.rhel6.x86_64 4/9 Installing : perl-DBD-Pg-2.15.1-4.el6_3.x86_64 5/9 Installing : postgis2_92-utils-2.0.3-2.rhel6.x86_64 6/9 Installing : postgis2_92-devel-2.0.3-2.rhel6.x86_64 7/9 Installing : postgis2_92-docs-2.0.3-2.rhel6.x86_64 8/9 Installing : postgis2_92-debuginfo-2.0.3-2.rhel6.x86_64 9/9 Verifying : postgis2_92-debuginfo-2.0.3-2.rhel6.x86_64 1/9 Verifying : postgis2_92-docs-2.0.3-2.rhel6.x86_64 2/9 Verifying : postgis2_92-devel-2.0.3-2.rhel6.x86_64 3/9 Verifying : postgresql92-libs-9.2.4-1PGDG.rhel6.x86_64 4/9 Verifying : postgis2_92-2.0.3-2.rhel6.x86_64 5/9 Verifying : postgresql92-9.2.4-1PGDG.rhel6.x86_64 6/9 Verifying : postgis2_92-utils-2.0.3-2.rhel6.x86_64 7/9 Verifying : gdal-1.7.3-15.el6.x86_64 8/9 Verifying : perl-DBD-Pg-2.15.1-4.el6_3.x86_64 9/9 Installed: postgis2_92.x86_64 0:2.0.3-2.rhel6 postgis2_92-debuginfo.x86_64 0:2.0.3-2.rhel6 postgis2_92-devel.x86_64 0:2.0.3-2.rhel6 postgis2_92-docs.x86_64 0:2.0.3-2.rhel6 postgis2_92-utils.x86_64 0:2.0.3-2.rhel6 Dependency Installed: gdal.x86_64 0:1.7.3-15.el6 perl-DBD-Pg.x86_64 0:2.15.1-4.el6_3 postgresql92.x86_64 0:9.2.4-1PGDG.rhel6 postgresql92-libs.x86_64 0:9.2.4-1PGDG.rhel6 Complete! [root@pgsrv pluginconf.d]# cd /usr/ [root@pgsrv usr]# cd pgsql-9.2 [root@pgsrv pgsql-9.2]# cd bin [root@pgsrv bin]# ls clusterdb createuser dropuser pg_dump pg_restore psql shp2pgsql createdb dropdb pg_basebackup pg_dumpall pgsql2shp raster2pgsql vacuumdb createlang droplang pg_config pg_receivexlog pg_test_fsync reindexdb [root@pgsrv bin]# cd /etc/init.d [root@pgsrv init.d]# ls abrt-ccpp cgconfig iptables network postgresql-9.3.rpmsave rpcsvcgssd trace-cmd abrtd cgred irqbalance nfs psacct rsyslog tuned abrt-oops crond kdump nfslock qpidd sandbox udev-post acpid cups killall nscd quota_nld saslauthd wdaemon arptables_jf dbora ktune nslcd rdisc single winbind arpwatch dovecot lvm2-lvmetad ntpd restorecond spamassassin xinetd atd firstboot lvm2-monitor ntpdate rhnsd spice-vdagentd auditd functions mcelogd oddjobd rhsmcertd sshd autofs haldaemon mdmonitor portreserve rngd svnserve avahi-daemon halt messagebus postfix rpcbind sysstat blk-availability ip6tables netconsole postgresql-9.3-data-pg rpcgssd systemtap certmonger ipsec netfs postgresql-9.3-orig rpcidmapd tcsd [root@pgsrv init.d]# yum provides */initdb Loaded plugins: changelog, downloadonly, product-id, rhnplugin, security, verify, versionlock This system is receiving updates from RHN Classic or RHN Satellite. elrepo-s6-x86_64/filelists | 132 kB 00:00 epel/filelists_db | 7.6 MB 00:07 pgdg92/filelists_db | 157 kB 00:00 rhel-x86_64-server-6/filelists | 25 MB 00:03 rhel-x86_64-server-optional-6/filelists | 9.3 MB 00:01 rhel-x86_64-server-supplementary-6/filelists | 1.4 MB 00:00 rhn-tools-rhel-x86_64-server-6/filelists | 57 kB 00:00 postgresql92-server-9.2.4-1PGDG.rhel6.x86_64 : The programs needed to create and run a PostgreSQL server Repo : pgdg92 Matched from: Filename : /usr/pgsql-9.2/bin/initdb postgresql92-debuginfo-9.2.3-2PGDG.rhel6.x86_64 : Debug information for package postgresql92 Repo : pgdg92 Matched from: Filename : /usr/src/debug/postgresql-9.2.3/src/bin/initdb postgresql92-server-9.2.3-2PGDG.rhel6.x86_64 : The programs needed to create and run a PostgreSQL server Repo : pgdg92 Matched from: Filename : /usr/pgsql-9.2/bin/initdb postgresql92-debuginfo-9.2.4-1PGDG.rhel6.x86_64 : Debug information for package postgresql92 Repo : pgdg92 Matched from: Filename : /usr/src/debug/postgresql-9.2.4/src/bin/initdb [root@pgsrv init.d]# rpm -qa | grep post postgis2_92-docs-2.0.3-2.rhel6.x86_64 postgresql92-9.2.4-1PGDG.rhel6.x86_64 postgis2_92-utils-2.0.3-2.rhel6.x86_64 postgis2_92-devel-2.0.3-2.rhel6.x86_64 postfix-2.6.6-2.2.el6_1.x86_64 postgis2_92-2.0.3-2.rhel6.x86_64 postgresql92-libs-9.2.4-1PGDG.rhel6.x86_64 postgis2_92-debuginfo-2.0.3-2.rhel6.x86_64 [root@pgsrv init.d]# rpm -ql postgis2_92| grep initdb [root@pgsrv init.d]# rpm -ql postgis2_92 | wc 239 239 14920 [root@pgsrv init.d]# [root@pgsrv init.d]# rpm -ql postgresql92 | wc 327 327 15799 [root@pgsrv init.d]# rpm -ql postgresql92 | grep initdb /usr/pgsql-9.2/share/locale/cs/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/de/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/es/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/fr/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/it/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/ja/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/ko/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/pl/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/pt_BR/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/ro/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/ru/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/sv/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/tr/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/zh_CN/LC_MESSAGES/initdb-9.2.mo /usr/pgsql-9.2/share/locale/zh_TW/LC_MESSAGES/initdb-9.2.mo | [
-0.007252898067235947,
-0.006322585977613926,
-0.016388116404414177,
0.016099074855446815,
0.012332797050476074,
0.016512177884578705,
0.010180898010730743,
0.0023619418498128653,
-0.018938597291707993,
-0.02657676860690117,
-0.010521580465137959,
0.0043026721104979515,
-0.009039586409926414... | [
0.48770782351493835,
0.09916731715202332,
0.43928128480911255,
-0.09557449817657471,
0.04411853477358818,
-0.27874091267585754,
0.3642660677433014,
0.16403360664844513,
0.050869569182395935,
-0.5674015879631042,
-0.07120593637228012,
0.7616207003593445,
-0.2218816727399826,
-0.124344453215... |
Is it possible to calculate the height of a `tabular` cell to be reused as a value for vertical offset of the bounding box, similarly to how `Hy@raisedlink` takes you one line above of where the actual `hypertarget` is declared? \documentclass{article} \usepackage{marginnote} \usepackage{pgfplots} \usepackage{pbox} \usepackage[heightrounded]{geometry} \usepackage[toc,titletoc,page]{appendix} % User-defined colors \definecolor{dgreen}{RGB}{0,100,0} \definecolor{violet}{RGB}{238,130,238} % Cross-references \usepackage[pageanchor]{hyperref} \hypersetup{colorlinks=true, linkcolor=red, hypertexnames=false, pdfhighlight=/N, pdfstartview={XYZ null null 1.00} }% \makeatletter \newcommand{\target}[1]{\Hy@raisedlink{\hypertarget{#1}{}}} \makeatother % Fancier cross-referencing to text \begin{document} \subsection{I can see the sun} \subsubsection{Many large aircraft} \marginnote{\linebreak\linebreak\linebreak\hyperlink{hist}{Appendix \texttt{hist()} $\rightarrow$}}[-.5cm] xxxxxxxxxxxx \subsubsection{Computations} \newpage \begin{appendices} \section{\textbf{\textcolor{blue}{R}abooF}} \noindent Fooba\textcolor{blue}{\textbf{R}}. \noindent \begin{tabular}[h]{l l l c c} \\ \textcolor{blue}{\textbf{R}} code & Syntax & xatnyS & Vecto\textbf{\textcolor{blue}{R}} & xxxxxxxxxxx\\ \\ \hline \\ \texttt{hist()} & \pbox{20cm}{\vspace*{1.5ex} \texttt{\textcolor{blue}{hist(}\textcolor{cyan}{<z>},} \\ \vspace{1.25ex} \\ \texttt{\textcolor{dgreen}{breaks=}\textcolor{red}{<y>},} \\ \\ \vspace{3.5ex} \\ \texttt{\textcolor{violet}{freq=}\textcolor{purple}{<x>}\textcolor{blue}{)}} \\ \\} & \pbox{3.5cm}{Positronic tales \\ \hypertarget{appendix.rcommand.breaks}{}\vspace{0ex} \\ My reckoning \\ \\ \texttt{\textcolor{purple}{TRUE}}: truly a wondrous appearance \texttt{\textcolor{purple}{FALSE}}: connect to your inner self\target{hist}} & & $\leftarrow$ \\ \end{tabular} \end{appendices} \newpage xxxxxxxxxxxx \end{document} | [
-0.010398500598967075,
0.01744130440056324,
0.008001028560101986,
0.018489476293325424,
0.008862372487783432,
-0.0017182116862386465,
0.006734558381140232,
0.004270356148481369,
-0.010006697848439217,
-0.018577955663204193,
-0.008161012083292007,
0.007171244826167822,
-0.005689980462193489,
... | [
0.008283356204628944,
-0.3581823706626892,
0.6085410118103027,
0.08809273689985275,
0.1361900269985199,
0.07007988542318344,
-0.22529961168766022,
-0.217018723487854,
-0.1655377894639969,
-0.5300630331039429,
-0.12162721157073975,
0.38650238513946533,
-0.07075377553701401,
-0.2655509710311... |
I think that the most successful theory of gravity is that the orbit of planet can be explained with this theory and the orbit of satellite was designed with this theory. To design an orbit of a satellite, the three of the factors of the orbit: 1) The radius, 2) The inclination angle, 3) The eccentricity, must be calculated. And, the Newtonian theory of gravity is the only theory that can calculate the three factors. In another words, if there was not the Newtonian theory of gravity, the orbit of the satellite could not be designed. It was known that, from Einstein’s field equation, the orbit of planet can be deduced. And it was used to explain the advance of the Mercury perihelion. But, I cannot find the method to calculate the three factors with Einstein’s field equation. | [
-0.00045394874177873135,
0.016879580914974213,
-0.02523231692612171,
0.0121525339782238,
-0.017662810161709785,
0.0009918706491589546,
0.00965216662734747,
-0.03177952021360397,
-0.012312594801187515,
0.0032176398672163486,
-0.024732299149036407,
0.014161975122988224,
-0.02434568479657173,
... | [
0.14010894298553467,
0.2750647962093353,
0.43310990929603577,
0.22427630424499512,
0.058087289333343506,
0.18535122275352478,
-0.0985754206776619,
-0.09826482087373734,
-0.3067185580730438,
-0.48462650179862976,
-0.014772268012166023,
0.4643933176994324,
-0.173603355884552,
0.3350338041782... |
In July of last year Gamasutra did an article on a new MechWarrior title. I haven't heard anything since. Did the title fall through? | [
-0.03861372917890549,
0.0031115375459194183,
0.0027821199037134647,
0.021389156579971313,
0.06414122879505157,
0.022150663658976555,
0.013688916340470314,
-0.032805509865283966,
-0.040112778544425964,
-0.016595102846622467,
-0.004579699598252773,
0.0710093230009079,
0.008055301383137703,
-... | [
0.6740819215774536,
0.013714108616113663,
0.14928750693798065,
0.10028427839279175,
-0.601982831954956,
-0.39740973711013794,
-0.15632891654968262,
0.7711100578308105,
-0.017426472157239914,
-0.020261619240045547,
0.155461385846138,
0.05588109418749809,
0.06991413235664368,
0.5913668274879... |
It seems to me that most Vanguards I see are when I occasionally play bronze to level up some of my characters for some N7 Rating. I never see a Vanguard playing in Silver or Gold. I'm curious if they would be any good as it would appear that if they aren't extremely careful they would be demolished by the onslaught of enemies as they charge recklessly into the fray. Anyone have any luck with a certain combo of biotics or a strategy, or maybe some Do's and Don't's, when it comes to harder difficulties? I know there are some die hard Vanguard players who know the advantage Vanguards have in higher difficulties that, for example, an Infiltrator doesn't. | [
0.007636948488652706,
0.01678549125790596,
-0.004058618098497391,
0.0075003886595368385,
0.02775963954627514,
-0.024476107209920883,
0.005028300918638706,
-0.00975530594587326,
-0.014623058959841728,
-0.002461195457726717,
-0.002741917036473751,
0.02960866503417492,
-0.008835729211568832,
... | [
0.020436018705368042,
0.0531236007809639,
-0.17649252712726593,
0.3271152675151825,
-0.32864025235176086,
0.07139541953802109,
-0.04616779088973999,
-0.1086517944931984,
-0.7269011735916138,
-0.5624622106552124,
0.27291592955589294,
0.6042165160179138,
0.4712665379047394,
-0.07771706581115... |
I am trying to write a function which creates a `Grid` which has no value in the starting and when some value is passed to it, it should show that value in that `Grid` dynamically. But it is not changing it dynamically. The two user defined functions are createGrid[rows_, column_] := (list = {}; For[i = 1, i <= rows,i++, (individualColumns = {}; For[j = 1, j <= column,j++, (Subscript[e,i, j]="";individualColumns = Append[individualColumns,Subscript[e,i, j]];)]; list = Append[list, individualColumns];)]; layoutGrid[list]) This createGrid function generates null values which is then passed to user defined function layoutGrid. layoutGrid[list_] := Panel[Grid[list, Background -> LightBlue, Spacings -> {0, 0}, ItemSize -> {0, 0}, Alignment -> {Center, Center}],ImageSize -> {780, 480}, Background -> LightBlue] I am calling the createGrid function by passing 20 rows and 20 columns as arguments. Dynamic[createGrid[20,20]] It creates the `Grid` having 20 rows and 20 columns having no value. In createGrid function, variable Subscript[e,i,j], i defines the row number and j defines the column number After building the empty `Grid`,when I am assigning some value to Subscript[e,1,2] like Subscript[e,1,2]=10; It does not show in the `Grid` dynamically. Why? | [
-0.02206764928996563,
0.009556017816066742,
-0.0003723985282704234,
0.009211867116391659,
-0.012324259616434574,
-0.016201846301555634,
0.005199585109949112,
0.021959718316793442,
-0.014949572272598743,
-0.0025683846324682236,
-0.007143477909266949,
0.005345471203327179,
0.001121626351960003... | [
0.0750938281416893,
-0.04678908735513687,
0.3965592682361603,
-0.11656033992767334,
0.11699587106704712,
0.11034414172172546,
0.07244732230901718,
-0.2629631757736206,
0.01464863121509552,
-0.7529562711715698,
0.04848700016736984,
0.48005902767181396,
-0.27155980467796326,
0.12654176354408... |
So based on the topic, this is the question. "A particle with mass $m$ is moving along x-axis with $v_0$ at $t=0$ and $x=0$. The particle is acted by an opposing force with magnitude proportional to the square of velocity. Find out the a) velocity b) position and c) acceleration of particle at any time ($t>0$)" I have the answers and solution for this but hardly understand them (I dont understand at all actually. Plus where does β come from?) Basically I just need a clarification on question a) as b) and c) are related to the first question. This is a self study for final exam. Answer provided by my friend but she also copied it from a source. So without understand it we do it correctly. But it seems to be useless. So I hope you guys can help me. This is the answer. a) velocity  b) position  c) acceleration (t>0)  | [
-0.018591761589050293,
0.01960603892803192,
0.001336603076197207,
-0.0011126493336632848,
0.005619215779006481,
-0.019029289484024048,
0.006580263841897249,
-0.01339444424957037,
-0.013490132056176662,
-0.020435037091374397,
-0.005041223950684071,
0.011656465008854866,
-0.012528966180980206,... | [
0.3157142698764801,
-0.09418395906686783,
0.40597957372665405,
0.03844064474105835,
-0.36775094270706177,
0.12214180082082748,
-0.014620008878409863,
-0.39631637930870056,
-0.19966460764408112,
-0.5149356722831726,
0.2532789409160614,
0.3033263087272644,
-0.6481154561042786,
0.706691741943... |
> * Results are made to look better by... > * Results are made look better by... > Are both correct? Is there another way of phrasing this sentence? | [
0.030824197456240654,
0.021495699882507324,
-0.033241890370845795,
0.044714853167533875,
-0.04759613424539566,
0.002438244177028537,
0.019313061609864235,
-0.011168464086949825,
-0.03511174023151398,
0.023244263604283333,
-0.045103639364242554,
0.016449134796857834,
-0.013110928237438202,
... | [
-0.0007804757333360612,
0.1699301153421402,
-0.03575395420193672,
0.06259068101644516,
-0.5238379240036011,
0.21745866537094116,
0.5383540987968445,
0.06606341153383255,
-0.05331529676914215,
-0.542858898639679,
-0.09540488570928574,
0.21339616179466248,
-0.030627595260739326,
-0.244442045... |
I'm having trouble aligning an image with text. I want my image on the left, and the text inline on the right, centered vertically to the image. <div class="container"> <span class="icon"> <img ... /> </span> <span>555-1212</span> </div> Right now, the text hugs the top of the container. How can I center it vertically to the middle of the container? | [
-0.01395504828542471,
-0.003890929976478219,
-0.020171228796243668,
0.006870560348033905,
0.01338736992329359,
-0.01749870367348194,
0.00881959218531847,
0.03574317693710327,
-0.020920462906360626,
0.04320523515343666,
-0.01744539476931095,
-0.007274110335856676,
-0.003254467388615012,
0.0... | [
0.09982577711343765,
0.09685979783535004,
0.9526441693305969,
-0.1660333126783371,
-0.11676435172557831,
0.1038011759519577,
-0.13685446977615356,
-0.07754696905612946,
-0.20282386243343353,
-0.7849549651145935,
-0.028111258521676064,
0.5857424736022949,
0.19390378892421722,
0.023535404354... |
I see a lot of sites selling Joomla templates at a premium but most of them look simple enough to build. Where can I find some tutorials to create such templates which I can provide users for free? | [
0.028808528557419777,
0.033540524542331696,
0.013088583946228027,
0.025433765724301338,
-0.0035479331854730844,
0.0243700984865427,
0.009055734612047672,
0.004562199581414461,
-0.033717963844537735,
-0.04270002618432045,
-0.011347362771630287,
0.023258255794644356,
0.01077099796384573,
-0.... | [
0.8474588394165039,
0.31368550658226013,
-0.3008083403110504,
0.2608274221420288,
-0.08759549260139465,
-0.089708112180233,
0.31350862979888916,
0.4997495114803314,
-0.24619241058826447,
-0.31198766827583313,
0.1750599443912506,
0.21749015152454376,
-0.00851005781441927,
-0.103589922189712... |
I'm producing a menu with xelatex using the font Bickham Script Pro. It has a swirly pattern I'd like to use at the beginning and end of a line. The swirly character would need to be flipped to have the correct end pointing inwards towards the text. Is there a way to do this as I can't find one. | [
0.026945017278194427,
-0.006182257551699877,
-0.016580767929553986,
0.011676332913339138,
-0.0025207067374140024,
-0.008388467133045197,
0.010703018866479397,
0.02455146797001362,
-0.018459687009453773,
0.00032278624712489545,
-0.027903907001018524,
-0.0045419661328196526,
-0.008703391999006... | [
0.17222654819488525,
0.12824587523937225,
0.262381911277771,
-0.11461977660655975,
-0.07740573585033417,
0.5492148995399475,
-0.11003358662128448,
0.3184897005558014,
-0.1573493927717209,
-0.6839495301246643,
0.36785340309143066,
0.1203312948346138,
-0.24333900213241577,
0.297816663980484,... |
I would like to make a custom indenting for lists: 1. Bullet or number is indented 1.2 cm from the left margin 2. Text (all lines) is indented 1.8 cm from the left margin I am trying to use the `enumitem` package. It is easy to indent text with `leftmargin` option, but I can not succeed with bullet/number indenting. I have tried different values for `itemindent`, `labelindent`, `labelwidth` and `labelsep` but have not achieved the result I am looking for. Here is MWE. \documentclass{article} \usepackage{enumitem} \setlist{noitemsep, topsep=0pt, parsep=0pt, partopsep=0pt, leftmargin=1.8cm} \begin{document} \noindent Here is some text. \begin{itemize} \item \( y_i = 1 \) if individual \( i \) is employed is employed is employed is employed is employed is employed is employed is employed is employed is employed, \item \( y_i = 2 \) if individual \( i \) is unemployed is unemployed is unemployed is unemployed is unemployed is unemployed is unemployed is unemployed, \item \( y_i = 3 \) if individual \( i \) is inactive is inactive is inactive is inactive is inactive is inactive is inactive is inactive is inactive. \end{itemize} \noindent \rule{1.2cm}{1pt}$\bullet$ \par \noindent \rule{1.8cm}{1pt} \par \begin{enumerate} \item \( y_i = 1 \) if individual \( i \) is employed is employed is employed is employed is employed is employed is employed is employed is employed is employed, \item \( y_i = 2 \) if individual \( i \) is unemployed is unemployed is unemployed is unemployed is unemployed is unemployed is unemployed is unemployed, \item \( y_i = 3 \) if individual \( i \) is inactive is inactive is inactive is inactive is inactive is inactive is inactive is inactive is inactive. \end{enumerate} \noindent \rule{1.2cm}{1pt}3 \par \noindent \rule{1.8cm}{1pt} \par \noindent Here is some text. \end{document} | [
0.0210903137922287,
0.004289963748306036,
-0.027494601905345917,
0.009582830592989922,
-0.001337547553703189,
-0.008583837188780308,
0.009607317857444286,
0.019802749156951904,
-0.013295440934598446,
-0.003053151536732912,
-0.0017372058937326074,
0.0033639746252447367,
-0.0004207039019092917... | [
0.23191046714782715,
0.11877676844596863,
0.4097498655319214,
0.13507899641990662,
-0.49860095977783203,
0.21352557837963104,
0.0810140073299408,
-0.36853793263435364,
-0.2583390772342682,
-0.8439291715621948,
0.16758102178573608,
0.15477947890758514,
-0.15386666357517242,
-0.1523800939321... |
Help me please. Task: Disk movement inside the Ellipse so that naturally Disk reflected from the walls and continued to move. Thanks. My friend was able make a move on the square only: x = 0.5; y = 0.5; vx = 1; vy = Pi/2; step = 0.01; radius = 0.05; Animate[ x = x + vx*step; y = y + vy*step; If[Abs[x - 1] <= radius || Abs[x] <= radius , vx = -vx]; If[Abs[y - 1] <= radius || Abs[y] <= radius, vy = -vy]; Graphics[ { Cyan, Rectangle[{0, 0}, {1, 1}], Gray, Disk[{x, y}, radius], Point[{0.0, 0.0}], Point[{1.0, 1.0}] } ], {t, 0, Infinity} ] P.S. Sorry for my bad english =) | [
-0.0026096850633621216,
0.00624343566596508,
-0.012693751603364944,
0.016025353223085403,
0.009840192273259163,
-0.019836336374282837,
0.006116017699241638,
-0.004502345807850361,
-0.013252971693873405,
-0.008415636606514454,
-0.025017227977514267,
0.01191241480410099,
-0.022117268294095993,... | [
-0.3358393907546997,
-0.06217683479189873,
0.8048818111419678,
0.41549575328826904,
-0.20137903094291687,
0.39008575677871704,
0.5805394649505615,
-0.33185237646102905,
-0.08880028873682022,
-0.647933840751648,
-0.009853157214820385,
0.5307856798171997,
-0.03245684877038002,
-0.32040339708... |
Is there a feature in Google Earth Builder that supports server-side geoprocessing? For example, say I upload two large geo datasets to Google's cloud: one with lots of points and another with lots of polylines. Is there some way I can write a script and upload it to the cloud that: 1. finds all points in dataset1 within some distance of a line in dataset2 having some attribute = some specified value. 2. find all points within some distance of the points from step 1 where some attribute = some value 3. buffer the points from 2 based on some other attribute, and return the results I would like for this script to run on the server - not on the client. **Update** : I watched most of the webinar at Directions Magazine, last week. The ~~first 3/4's of the~~ webinar, which included the entire demo and didn't address this question. ~~Right now it is in the process of being archived, but should be available for viewing again shortly~~. **Update** The webinar archive is now available for viewing. | [
-0.017733419314026833,
0.010203740559518337,
-0.011945368722081184,
0.013586173765361309,
0.0049956804141402245,
-0.010651489719748497,
0.008319721557199955,
0.03271959722042084,
-0.017472978681325912,
0.010635443963110447,
0.004005475901067257,
0.017477862536907196,
-0.0005694916471838951,
... | [
0.02898576483130455,
-0.12388711422681808,
0.374485045671463,
0.32860061526298523,
0.06362589448690414,
0.25211742520332336,
-0.03149985149502754,
-0.09522247314453125,
-0.02686244808137417,
-0.6795477271080017,
0.09975539892911911,
0.16703897714614868,
-0.1697995662689209,
-0.056066457182... |
I am looking for one that is updated frequently and has support for many things. Please also state how to install it. | [
0.02008582092821598,
0.008305294439196587,
-0.03559931740164757,
-0.0015381670091301203,
0.031417347490787506,
-0.006379265803843737,
0.010861406102776527,
0.00842798687517643,
-0.04051610082387924,
-0.05506516620516777,
0.014048714190721512,
0.02366950921714306,
0.025632033124566078,
0.04... | [
0.7435295581817627,
0.0687275305390358,
0.2441115379333496,
0.497050017118454,
0.358818918466568,
-0.4739706516265869,
0.0026203100569546223,
0.3533923923969269,
0.23664076626300812,
-0.7507051825523376,
0.1682170331478119,
0.5035355687141418,
-0.09358249604701996,
-0.0363941453397274,
-... |
Is there a way to get the Dawnstar Sanctuary secret entrance on my world map? When I purchased this upgrade Delvin said I could get in and out of it. Coming out is fine, its a sewer grate outside of Dawnstar. Getting in is the tricky part, since it is not marked on my world map. Short of stumbling looking for it once you get to Dawnstar, is there a mod that can mark this on my map? So I can fast travel from anywhere in the open world. | [
0.0010682628490030766,
0.0063632782548666,
-0.0029301426839083433,
0.00759180448949337,
-0.01093991007655859,
-0.00391953531652689,
0.009626968763768673,
0.010207018814980984,
-0.027939684689044952,
0.021923158317804337,
-0.0021488817874342203,
0.027894895523786545,
0.0006213879096321762,
... | [
0.5956648588180542,
0.18814563751220703,
0.09763675928115845,
0.06151590496301651,
-0.16218122839927673,
-0.047924287617206573,
0.4000997245311737,
0.1487342268228531,
-0.3473052680492401,
-0.5741273760795593,
-0.1164402961730957,
0.10890566557645798,
-0.05156005918979645,
-0.0662630274891... |
I'm a SL11 and managed to invade a guy in undead parish who was wearing full Havel's and carrying Black Knight Sword. I get where he got Havel's from, but how can a 11 +-10% use the black knight sword? I don't get it. Did I invade a way higher level character? | [
0.01372181810438633,
0.00983603298664093,
-0.012699922546744347,
0.002248413162305951,
0.006050364580005407,
-0.01552739180624485,
0.011310641653835773,
-0.04071175307035446,
-0.02725430205464363,
-0.04737460985779762,
-0.006059522274881601,
0.01863083615899086,
-0.018155332654714584,
0.02... | [
0.5630175471305847,
0.24713459610939026,
0.5848029851913452,
-0.006697284523397684,
-0.23754633963108063,
-0.06784998625516891,
0.35657066106796265,
0.02385500632226467,
0.017810339108109474,
-0.2972524166107178,
-0.03561294823884964,
0.07907451689243317,
0.05743686109781265,
-0.1071402877... |
I have been playing around and making my own app and I have run into some difficulty. I have the Galaxy Note 2 right now running Android 4.3 (Main phone connected to Verizon) I also have a Galaxy Nexus that is running Android 4.2.2 (Old phone I have as backup) When I plug the Note 2 into the computer is stays connected as an installer for about 30 seconds before it changes into Media Transfer mode and my SDK manager won't recognize it anymore. Whereas my Nexus stays in installer mode and as long as it's plugged into my computer my SDK manager can recognize that it's there. Both phones have Developer Mode turned on and USB Debugging turned on. Is there some setting I can change to make my Note 2 perpetually stay in Installer Mode when plugged into my computer? It is a real pain to plug and unplug when I want to test my app. (Note: Neither phone is rooted and I have no plans to root them anytime soon.) | [
-0.01905733346939087,
-0.012901121750473976,
-0.013051840476691723,
0.006656788755208254,
-0.03534699231386185,
-0.0003003622405230999,
0.007701296359300613,
0.005991816520690918,
-0.015663061290979385,
-0.015586044639348984,
-0.020266467705368996,
0.010305187664926052,
0.012510709464550018,... | [
-0.03282533586025238,
-0.006610079202800989,
0.89860999584198,
0.1516987681388855,
0.024650266394019127,
-0.17327117919921875,
0.34037432074546814,
0.32267603278160095,
-0.21700124442577362,
-1.0428398847579956,
0.01994398981332779,
0.4674603044986725,
-0.4768931567668915,
-0.1017256453633... |
I run a small website at my house; just started it up the other day running Wordpress. The problem I'm facing is fairly obvious: I need to access my website, but I can't use the URL due my hosting on the same network I'm trying to access from. I use Chrome, and when I try to load the page it says that it simply could not connect. My question is simple: how can I access my site, Wordpress running through Apache on Ubuntu 12.10 LAMP stack, on the same network that I'm hosting it from without the use of proxy or VPN? | [
-0.0013207393931224942,
-0.003522740676999092,
0.007270608097314835,
0.015696613118052483,
-0.04811950773000717,
-0.010191586799919605,
0.008971747010946274,
0.0077840243466198444,
-0.014756031334400177,
-0.0285507719963789,
-0.01503837388008833,
0.009598336182534695,
-0.01210696529597044,
... | [
0.28114694356918335,
0.5103474259376526,
0.3072299361228943,
0.020488141104578972,
-0.05964677035808563,
-0.010784100741147995,
0.42135727405548096,
0.06242389976978302,
-0.0750742256641388,
-0.6997540593147278,
0.02652539312839508,
0.1922491043806076,
-0.1887996345758438,
0.48517841100692... |
Can anybody help me understand this sentence? > He started paying Carol to look after me... Does it literally mean he started to give her money for looking after me or is there some other meaning of this phrase? | [
0.009138593450188637,
0.037961237132549286,
0.01284574344754219,
0.03349187225103378,
0.00874642189592123,
0.02102086693048477,
0.017357826232910156,
-0.018911613151431084,
-0.035941027104854584,
0.060464922338724136,
-0.03416639193892479,
0.021018020808696747,
0.04226856306195259,
0.00063... | [
0.4897628426551819,
0.29768115282058716,
0.20535778999328613,
0.194157212972641,
-0.03426731005311012,
0.18575741350650787,
0.11876161396503448,
0.08317841589450836,
-0.438004732131958,
-0.2727016806602478,
0.4754740297794342,
0.45566311478614807,
-0.2408059984445572,
0.08330123126506805,
... |
How do I add **custom field** to the **image editor** , such as under the image ' **Description** ' field? To be much clearer, it's where the settings for the images are after you upload an image in the attachment pop-up window. | [
0.006050916854292154,
-0.016005681827664375,
0.009783747605979443,
0.024895859882235527,
0.00937686301767826,
0.0014142931904643774,
0.011793959885835648,
0.032322775572538376,
-0.035007379949092865,
0.026515107601881027,
-0.02423219569027424,
0.012145470827817917,
-0.004853026941418648,
0... | [
0.5379722118377686,
0.00007363936310866848,
0.853196918964386,
0.292998731136322,
0.08430973440408707,
-0.2758725583553314,
-0.27701491117477417,
-0.06032616272568703,
-0.2664026916027069,
-0.7019760012626648,
-0.056690290570259094,
0.5738377571105957,
0.13837791979312897,
0.02587876655161... |
I was under the impression that it was. Here is my example: <html lang='en'> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>GeoRSS</title> <script src="http://maps.google.com/maps/api/js?v=3.5&sensor=false"></script> <script src="http://openlayers.org/api/OpenLayers.js"></script> <script src="google-v3.js"></script> <script type="text/javascript"> var map; function init() { var restrictedExtent = new OpenLayers.Bounds(-180, -90, 180, 90); map = new OpenLayers.Map("map_element" ); map.addControl(new OpenLayers.Control.MousePosition()); map.addControl(new OpenLayers.Control.LayerSwitcher()); var layer = new OpenLayers.Layer.Google("Google", {"sphericalMercator": true}); var usgs = new OpenLayers.Layer.Vector("Earthquakes", { projection: new OpenLayers.Projection("EPSG:4326"), strategies: [new OpenLayers.Strategy.Fixed()], protocol: new OpenLayers.Protocol.HTTP({ url: "http://earthquake.usgs.gov/earthquakes/catalogs/7day-M2.5.xml", format: new OpenLayers.Format.GeoRSS() }) }); map.addLayers([layer, usgs]); map.setCenter(new OpenLayers.LonLat(-11682133.90525, 4676768.13795), 4); } </script> </head> <body onload="init()"> <div id="map_element"> </div> </body> </html> For me this is only working on IE. I would like to keep this xml file on the USGS server and call it dynamically rather than save it locally. Is there anyway to get this to work, on other browsers (besides IE) without using a proxy script? Thanks! | [
-0.019558565691113472,
0.00808103196322918,
-0.003576043527573347,
0.014019344002008438,
0.002727550221607089,
0.010994996875524521,
0.0063782138749957085,
0.0009297733195126057,
-0.012188651598989964,
-0.009306374937295914,
-0.003150289412587881,
0.009406431578099728,
-0.004358924925327301,... | [
0.4181976318359375,
-0.029063666239380836,
0.6899465918540955,
-0.30259397625923157,
-0.030095618218183517,
-0.06613340973854065,
0.17763565480709076,
-0.41081392765045166,
-0.06779187172651291,
-0.6608548760414124,
-0.0799427330493927,
0.2323770374059677,
-0.1282571703195572,
0.3924309313... |
I want to construct Bayesian network for a 800 genes(genes are my node/variables). I have only 30 cancer samples and 30 normal sample.so I want to create network for cancer samples and for the normal samples whether my data is reasonable to learn Bayesian network ? | [
0.029694387689232826,
0.028777483850717545,
-0.016666390001773834,
0.006727328058332205,
-0.021060843020677567,
-0.002237046370282769,
0.01664525456726551,
-0.0018968807999044657,
-0.019874265417456627,
-0.016014600172638893,
-0.006077781785279512,
0.03667884320020676,
-0.0364808589220047,
... | [
0.5358245968818665,
0.21294410526752472,
-0.03577807545661926,
0.4400603175163269,
0.48718225955963135,
0.5042152404785156,
0.09338433295488358,
-0.23163799941539764,
0.12556509673595428,
-0.7049989700317383,
0.5894104838371277,
0.13841064274311066,
-0.20601384341716766,
0.3829744160175323... |
I'm familiar with using insights from Random Matrix Theory to determine the number of principal components from the PCA of a covariance/correlation matrix to use to form factors. If the eigenvalue associated with the first PC is large, then it means that the remaining eigenvalues must be small (since the sum of the eigenvalues must equal the trace of the correlation matrix). When the first PC is large enough, it is thus possible that all of these eigenvalues are below the lower bounds on the Marcenko-Pastur distribution. This makes sense that they are low not because of random chance, but because the first eigenvalue is very large. However, that does not mean that they contain significant information. Rather, it would make sense to instead ask the question "given the first PC is some large number, what would the distribution of the remaining eigenvalues look like if random data were responsible for them?" Is there any research that addresses this issue? If it is possible to get the Marcenko-Pastur distribution conditional on knowing one or more eigenvalues, then it would be possible to proceed iteratively to determine whether the factors reflect significant information. | [
-0.01939825341105461,
0.02519434317946434,
-0.004290018696337938,
0.013254689052700996,
-0.020923789590597153,
-0.0040442864410579205,
0.009289490059018135,
-0.027583381161093712,
-0.01008409634232521,
-0.02016163431107998,
-0.004999528639018536,
0.02327958680689335,
-0.010420996695756912,
... | [
0.15567807853221893,
-0.23327744007110596,
0.300496906042099,
-0.10571490228176117,
0.09429188817739487,
0.19316032528877258,
-0.2417205572128296,
-0.2579212784767151,
-0.1376977115869522,
-0.5588523149490356,
0.06667768955230713,
0.47310730814933777,
-0.33842092752456665,
0.44257795810699... |
Thesis appears to automatically add the sub-menus (sub-menu ul) to menu parents if childs exists. I have a specific need to remove this html from a particular menu. The menu name is: second_level Not sure if there a hook to do this. I'm trying to remove these from the menu name above. <ul class="sub-menu">...</ul> I'm not trying to remove the class but the UL's. | [
-0.0032307517249137163,
-0.0007552201277576387,
-0.009467937983572483,
0.013688812963664532,
0.005983957089483738,
-0.008223747834563255,
0.007470006588846445,
0.024362727999687195,
-0.01997673697769642,
0.014331559650599957,
-0.017738228663802147,
0.00646055256947875,
-0.017137330025434494,... | [
-0.1343214511871338,
0.15038473904132843,
0.4468095898628235,
-0.19758698344230652,
-0.2261473536491394,
0.13254442811012268,
0.13391384482383728,
-0.16661624610424042,
0.10021582990884781,
-0.3475801944732666,
0.024662604555487633,
0.3869761526584625,
0.1821313053369522,
0.283953130245208... |
Consider the following example: \documentclass{article} \usepackage{booktabs,dcolumn} \usepackage{siunitx} \newcolumntype{d}[1]{D{.}{,}{#1}} \newcommand*\mc[1]{\multicolumn{1}{c}{#1}} \begin{document} \begin{table}[htbp] \centering \caption{Something.} \label{tbl:1} \begin{tabular}{d{2.1} d{2.0} d{3.0} d{2.0} d{3.0}} \toprule \mc{S{\o}vnm{\ae}ngde} & \multicolumn{2}{c}{Eleverne fra $9$.~A} & \multicolumn{2}{c}{Eleverne fra $9$.~B} \\ \midrule & \mc{Abs.} & \mc{Rel.} & \mc{Abs.} & \mc{Rel.} \\ \mc{\si{\hour}} & \mc{---} & \mc{\si{\percent}} & \mc{---} & \mc{\si{\percent}} \\ \midrule 6.5 & 1 & 4 & 0 & 0 \\ 7.0 & 4 & 16 & 2 & 10 \\ 7.5 & 3 & 12 & 3 & 15 \\ 8.0 & 8 & 32 & 9 & 45 \\ 8.5 & 5 & 20 & 3 & 15 \\ 9.0 & 2 & 8 & 3 & 15 \\ 9.5 & 1 & 4 & 0 & 0 \\ 10.0 & 1 & 4 & 0 & 0 \\ \midrule \mc{I alt} & 25 & 100 & 20 & 100 \\ \bottomrule \end{tabular} \end{table} \end{document}  Why are the second and third columns not horizontally centered relative to "Eleverne fra 9. A" and the fourth and fifth columns not horizontally centered relative to "Eleverne fra 9. B"? (They need to be pushed slightly to the right.) **Update** I would like the width of the second and third column to be half the width of the box containing "Eleverne fra 9. A", and the width of the fourth and fifth column to be half the width of the box containing "Eleverne fra 9. B". **Update 2** I now have the following: \documentclass{article} \usepackage{booktabs,dcolumn} \usepackage{siunitx} \newcommand*\mc[1]{\multicolumn{2}{c}{Eleverne fra $9$.~#1}} \begin{document} \begin{table} \def\spc{\hspace{0.8em}} \centering \caption{Something.} \label{tbl:1} \begin{tabular}{ S[table-format = 2.1] >{\spc}S[table-format = 2] S[table-format = 3] >{\spc}S[table-format = 2] S[table-format = 3] } \toprule {S{\o}vnm{\ae}ngde} & \mc{A} & \mc{B} \\ \midrule \si{\hour} & {Abs.} & {Rel.} & {Abs.} & {Rel.} \\ \midrule 6.5 & 1\spc & 4 & 0\spc & 0 \\ 7 & 4\spc & 16 & 2\spc & 10 \\ 7.5 & 3\spc & 12 & 3\spc & 15 \\ 8 & 8\spc & 32 & 9\spc & 45 \\ 8.5 & 5\spc & 20 & 3\spc & 15 \\ 9 & 2\spc & 8 & 3\spc & 15 \\ 9.5 & 1\spc & 4 & 0\spc & 0 \\ 10 & 1\spc & 4 & 0\spc & 0 \\ \midrule & 25\spc & 100 & 20\spc & 100 \\ \bottomrule \end{tabular} \end{table} \end{document} My problem is that I get a lot of warnings; Overfull \hbox (8.00003pt too wide) detected at line XXX How do I get rid of these? | [
0.01070986408740282,
0.004172544926404953,
-0.004119834862649441,
0.01803024858236313,
0.0064679402858018875,
0.009667830541729927,
0.007447640411555767,
0.00938449241220951,
-0.010721322149038315,
-0.002083210041746497,
-0.015910133719444275,
0.0035160351544618607,
0.012581687420606613,
-... | [
0.024704497307538986,
-0.193426713347435,
0.6976653933525085,
0.12547779083251953,
0.16203001141548157,
-0.3034643530845642,
-0.22711747884750366,
-0.2726857662200928,
-0.2587609589099884,
-0.38272979855537415,
-0.31462720036506653,
0.2025156319141388,
-0.3090440034866333,
-0.1248059347271... |
I'm trying to build a theme, I want to control the length of the post excerpts by doing something like this in functions.php: function theme_excerpt_length( $length ) { return 45; } add_filter( 'excerpt_length', 'theme_excerpt_length', 999 ); But it doesn't seem to have the desired effect of reducing length of excerpt to 45 words. Even, without the function, some excerpts are longer than the default 55 words. What could be wrong? | [
0.019063448533415794,
0.003591940738260746,
-0.016741780564188957,
0.02404586598277092,
0.016133740544319153,
0.004939806181937456,
0.009941489435732365,
0.0009603326907381415,
-0.016501592472195625,
-0.018452759832143784,
-0.015045637264847755,
0.01198249775916338,
0.019188273698091507,
0... | [
0.27794069051742554,
-0.10962966084480286,
0.4793860912322998,
0.30294105410575867,
-0.2526840269565582,
0.06305954605340958,
0.2675335109233856,
-0.23278982937335968,
-0.21070793271064758,
-0.22277234494686127,
-0.045894868671894073,
0.1685541272163391,
-0.17307129502296448,
0.24859364330... |
We're running a Java manufacturing/equipment control application on Solaris. Equipment control is done via the serial port on the SunRay terminal at the user station. The interesting thing is that it fails for one particular user. He can go to any machine and have it fail. Works fine for all other users on all machines. The errors returned are: Error opening "/tmp/SUNWut/sessions/7/unit/dev/term/a" Error in lockf() Nothing special about this user account. .profile matches everyone else. Any ideas on what might be broken about this one specific user account that would prevent him from being able to open the serial port? | [
-0.008246500045061111,
-0.00453250203281641,
-0.0050840433686971664,
0.0031230750028043985,
-0.015820559114217758,
-0.002878881059587002,
0.0076324655674397945,
0.029327265918254852,
-0.015859490260481834,
-0.03158288449048996,
-0.021576935425400734,
0.015076760202646255,
-0.0144906081259250... | [
0.5275660753250122,
0.18668138980865479,
0.15933790802955627,
0.06341419368982315,
0.27698227763175964,
0.03898647427558899,
0.1650000810623169,
-0.06923837959766388,
-0.1327419877052307,
-0.672522246837616,
0.03539727255702019,
0.5427730679512024,
-0.45728957653045654,
-0.0579730719327926... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.