text stringlengths 23 30.4k | embeddings_A list | embeddings_B list |
|---|---|---|
I've set my Minecraft world to eternal day and I want to make it back to normal day and night cycles. How do I do this? The `/tl` command does not work! | [
0.05023350194096565,
0.03375138342380524,
-0.03006410039961338,
-0.01590713858604431,
-0.02231578528881073,
0.015536163933575153,
0.013638612814247608,
0.005600525997579098,
-0.027462469413876534,
-0.027396107092499733,
-0.03218855336308479,
0.017831722274422646,
-0.004104152787476778,
0.0... | [
0.6279769539833069,
0.4462672770023346,
0.5555062890052795,
0.21655024588108063,
0.24501889944076538,
-0.2710370719432831,
0.31126701831817627,
0.13163019716739655,
0.15600033104419708,
-0.6747594475746155,
0.017654359340667725,
0.42653924226760864,
0.016968581825494766,
0.5566582083702087... |
This may seem basic, but is there a way to make checkboxes ticked automatically? E.g. \documentclass{minimal} \usepackage{hyperref} \begin{document} \begin{Form} \CheckBox[name=ch1]{Yes} \end{Form} \end{document} giving  I'd like the above to be checked by default. Then in the `.pdf` one can uncheck it by clicking on the box as required. I'm reading the hyperref manual and under `6.2 Forms optional parameters` it lists the option with default as `checked boolean false` - I'm not sure how to pass this into `\begin{Form}` with a new default. If there's an alternative method not involving `hyperref` I'm open to that also. Am using EMACS & Auctex. If this is possible and there's some simpler way I could have looked it up (e.g. show/modify defaults for `Form` environment) up would be grateful for any pointers. | [
0.005928791128098965,
0.005377584137022495,
0.004528023302555084,
0.02127905562520027,
0.003504417836666107,
-0.00042263639625161886,
0.00564564997330308,
0.018533289432525635,
-0.017035407945513725,
0.018701674416661263,
-0.010550854727625847,
-0.000829353928565979,
0.0033007317688316107,
... | [
0.2764870822429657,
0.0430305078625679,
0.3741602897644043,
-0.0015769604360684752,
-0.1491844654083252,
0.09670510143041611,
0.0036860571708530188,
-0.4036514461040497,
-0.373144268989563,
-0.2584562599658966,
0.16228492558002472,
0.45101115107536316,
-0.2522088587284088,
-0.0536927096545... |
`DefaultNewInlineCellStyle` only take effect for newly generated inline cells. for example Cell[TextData[{Cell[BoxData[FormBox[RowBox[{RowBox[{"f","",RowBox[{"(","x",")"}]}],"","=","",RowBox[{"a","",FormBox[SubscriptBox["f","1"],StandardForm],"",RowBox[{"(","x",")"}]}]}],TraditionalForm]],"DisplayFormula"],",",Cell[BoxData[FormBox[RowBox[{RowBox[{"g","",RowBox[{"(","x",")"}]}],"","=","",RowBox[{"r","",FormBox[SubscriptBox["g","1"],StandardForm],"",RowBox[{"(","x",")"}]}]}],TraditionalForm]],"DisplayFormula"],",",Cell[BoxData[FormBox[RowBox[{RowBox[{"h","",RowBox[{"(","x",")"}]}],"","=","",RowBox[{"s","",FormBox[SubscriptBox["h","1"],StandardForm],"",RowBox[{"(","x",")"}]}]}],TraditionalForm]],"DisplayFormula"],","}],"Text"] Here, for some reasons, $f(x),a,f_1(x)$ in Notebook are not in an consistent style. Choose them, set same font/clear format/apply an stylesheet does not take effect, because of different values of `StandardForm` and `TraditionalForm` and other. If I do the following SetOptions[$FrontEnd,DefaultNewInlineCellStyle->{"Section",FontFamily->"Mathematica",Background->Red}] How to make the previous inline cells,or further, all inline cells in the notebook the same formatting style? | [
-0.007133771665394306,
0.01389562338590622,
-0.001983985537663102,
0.02342289313673973,
-0.01422539260238409,
-0.006866141688078642,
0.006514279171824455,
0.008433862589299679,
-0.009963647462427616,
0.006040523294359446,
-0.01803555153310299,
0.012742429040372372,
0.005087210331112146,
0.... | [
0.012231307104229927,
-0.16714748740196228,
0.6054447293281555,
-0.0411272868514061,
0.3087068200111389,
-0.3576904535293579,
0.5330418944358826,
-0.1346796452999115,
0.2933542728424072,
-0.5889641642570496,
-0.20205073058605194,
0.8662448525428772,
-0.47354137897491455,
-0.139557048678398... |
What do you consider good use of wrapper functions? When are they useful abstractions and in what cases harmful and unnecessary complexity? | [
0.0007726203766651452,
0.05656234920024872,
-0.013771780766546726,
0.02551325410604477,
-0.058537356555461884,
0.04622536152601242,
0.01700281724333763,
-0.029553424566984177,
-0.014366157352924347,
-0.06488458067178726,
-0.021892037242650986,
0.030902473255991936,
0.04161277040839195,
0.0... | [
0.24522942304611206,
0.09343079477548599,
-0.019870895892381668,
0.3956616520881653,
0.13266822695732117,
-0.3593257665634155,
0.04899483546614647,
-0.0035410108976066113,
0.027424244210124016,
-0.3296058177947998,
-0.12322662770748138,
0.7010127902030945,
-0.07755491882562637,
-0.20865853... |
I received the instructions from Edward on brewing Fiz, such as they were. Unfortunately I can't remember the exact details of what he said, and now I'm stuck. For example, I think he said to talk to someone about the albino bees? But I don't remember who or where. What did he tell me? | [
0.021104808896780014,
0.0003436253755353391,
-0.00365351396612823,
0.017682727426290512,
-0.008885692805051804,
0.025145942345261574,
0.008670586161315441,
0.006270145531743765,
-0.030056828632950783,
-0.014780530706048012,
-0.005790647119283676,
0.01699531450867653,
0.0020620396826416254,
... | [
0.6667175889015198,
0.47351038455963135,
0.1469315141439438,
-0.43655499815940857,
0.03941167891025543,
-0.4762990176677704,
0.41332176327705383,
-0.15436406433582306,
0.0018534081755205989,
-0.12476146221160889,
0.36831825971603394,
0.12591452896595,
-0.4311346113681793,
0.313284009695053... |
The site I'm currently building will feature a range of products for the organization it represents. Each product will have a main landing page and a series of sub-pages for "About", "Pricing", "Contact", etc. I'm a bit confused on the best way to handle the `h1` tags for these pages. Each page will have the organization's logo as an image at the top. For the landing page of each product I was planning on `<h1>Product Name</h1>`However, on the sub-pages, I'd still like to retain the title of the product.... Would it be acceptable to use `<h1>Product Name — About</h1>`, `<h1>Product Name – Pricing</h1>`? Is there a better way to do this? | [
-0.0006879642605781555,
0.010389512404799461,
0.00037103891372680664,
0.01794426515698433,
-0.0077734701335430145,
0.015274529345333576,
0.007119921036064625,
0.02124171331524849,
-0.014636491425335407,
0.00545742129907012,
-0.010301811620593071,
0.0017756677698343992,
-0.012886936776340008,... | [
0.8070216178894043,
0.2888057231903076,
0.6474708318710327,
-0.02713303081691265,
0.31556838750839233,
0.20891694724559784,
-0.33919668197631836,
0.2194102704524994,
-0.08401176333427429,
-0.6267169117927551,
-0.03758551925420761,
0.07379236817359924,
0.054915402084589005,
0.21648733317852... |
 Let us consider +Y as upward and -Y axis as downward. So the acceleration that works these objects is always $-g$. 1. For the first picture, if the lift is going upward with acceleration $a$, then will the weight of the man of mass $m$ be $W=m(a-g)$? **(but I found in textbook $g-a$)** $a$ is positive here because the man gets acceleration due to lift's motion and which is +Y axis. 2. For the 2nd picture, if the lift is going upward with acceleration $g$, then will the weight of the man of mass $m $ be, $W=m(g-g)=0$? **(but I found in textbook $g+g$)** These results contradicts with weightlessness. Can someone clarify my mistakes? | [
-0.016062716022133827,
0.012864785268902779,
-0.0021629296243190765,
0.006976458244025707,
-0.0007791831158101559,
-0.01975708082318306,
0.005607746075838804,
-0.019990816712379456,
-0.008839428424835205,
-0.0203208327293396,
-0.011018304154276848,
0.009228373877704144,
-0.018654657527804375... | [
-0.00660133408382535,
0.15880003571510315,
0.7257324457168579,
0.0462225079536438,
-0.06517289578914642,
0.46146124601364136,
0.3608112335205078,
-0.3197163939476013,
-0.8372865915298462,
-0.2741040587425232,
-0.18525628745555878,
0.5135555267333984,
-0.09392354637384415,
0.018709270283579... |
I want my glossary created via `glossaries` (bottom) to have the same width as my table of contents (top). I would like the numbers in the glossary to have a large space away from the dots and description text equal to that in the table of contents.  I feel that this is partly possible by modifying the description width via `\glsdescwidth`. Here is a minimal working example: \documentclass{report} \usepackage{tocloft} \renewcommand{\cftchapleader}{\cftdotfill{\cftsecdotsep}} \usepackage[toc]{glossaries} \makeglossaries \renewcommand*\glspostdescription{\cftdotfill{\cftsecdotsep}} \begin{document} \tableofcontents \newglossaryentry{K}{name={kind of long name},description={King of long description}} \newglossaryentry{S}{name={some long name},description={Super super super super super super super super super super super super super super super super super long description}} \printglossary[style=long] \chapter{Chap 1} \gls{K} \gls{S} \end{document} To compile the example, you must use `makeglossaries` in between calls to `latex`. | [
0.01101716235280037,
-0.0036408361047506332,
-0.010720958933234215,
0.029093684628605843,
-0.007290330249816179,
-0.002416243078187108,
0.008452404290437698,
0.014194496907293797,
-0.013803554698824883,
0.002739137038588524,
-0.01597481220960617,
-0.003897549584507942,
-0.007408416364341974,... | [
0.03452051058411598,
0.33117151260375977,
0.5520827770233154,
-0.005859438795596361,
-0.03656076267361641,
-0.02326659858226776,
0.30451101064682007,
-0.2238454967737198,
-0.2229209542274475,
-0.7784639596939087,
-0.056434266269207,
0.4459695816040039,
0.04846278578042984,
-0.0521336756646... |
Just thought I'd document this: I'm trying something very simple - set env variable in `bash`, and print it out: $ bash -c "a=1; echo a$a;" a $ bash -c "a=1; echo a\$a;" a1 Now I'd want this same thing, but called as argument of `sh` (on my system, `ls -la $(which sh)` gives `/bin/sh -> dash`): $ sh -c "bash -c "a=1; echo a\$a;"" a$a # obviously I have to escape inner quotes: $ sh -c "bash -c \"a=1; echo a\$a;\"" a # escape the dollar once more? $ sh -c "bash -c \"a=1; echo a\\$a\" " sh: Syntax error: Unterminated quoted string # nope... inner single quotes, then? $ sh -c "bash -c 'a=1; echo a$a;'" a # nope... escape the single quotes? $ sh -c "bash -c \'a=1; echo a$a;\'" bash: -c: line 0: unexpected EOF while looking for matching `'' bash: -c: line 1: syntax error: unexpected end of file a sh: ': not found # nope... escape the dollar too? $ sh -c "bash -c \'a=1; echo a\$a;\'" bash: -c: line 0: unexpected EOF while looking for matching `'' bash: -c: line 1: syntax error: unexpected end of file a sh: ': not found So, my question would be - what is the proper syntax for escaping, so that `sh -c [bash -c ...]` gives the same result as just `bash -c ...`? | [
-0.004094799980521202,
0.012761903926730156,
-0.01567108929157257,
0.001729687675833702,
0.007886516861617565,
-0.0004315422847867012,
0.006561337970197201,
-0.01969568058848381,
-0.013167181983590126,
-0.04350300505757332,
-0.0017854685429483652,
-0.002665843116119504,
-0.024654164910316467... | [
0.4085116386413574,
0.3001996576786041,
0.31875941157341003,
-0.47789064049720764,
0.04044860228896141,
0.11842748522758484,
0.37782639265060425,
-0.5162146687507629,
-0.45602947473526,
-0.10259442031383514,
0.006990842055529356,
0.5445412397384644,
-0.30198734998703003,
-0.215029865503311... |
Let's say I have a social media website. On this website, users can upload several pieces of information about themselves, including their phone number. To implement this, I have a class called `PhoneNumber` that represents the users phone number. But phone numbers are optional. I have this `PhoneNumber` class which is supposed to guarantee access to a users phone number, but it can't. How do I handle this? My current approach is to, whenever there's a problem, assign a value to an `error` variable inside `PhoneNumber` that represents the problem in question (this could be an exception, a string, or an error code, it's irrelevant for this question). I also added a method to `PhoneNumber` called `isPhoneNumberAvailable()` that should be called before any of the accessors are used. If one of the accessors is called and the user hasn't added their phone number, I throw an `IllegalStateException`. But this doesn't seem like a good solution. I'm not sure why, I'm too new at this to explain it, but it seems like this could cause me some problems down the road. Note that this question is language agnostic, the existence of an `IllegalStateException` in Java is purely coincidental. EDIT: The solution is improving the model. I have guaranteed access to something I can't guarantee access to, which is bad design. My other problem was with the use of an `error` variable in class scope but that's beyond the scope of this question. See my follow up question here. | [
-0.007225119974464178,
0.009261026978492737,
-0.0004977893549948931,
-0.0033495149109512568,
-0.006320123095065355,
0.0012694508768618107,
0.0069960616528987885,
0.0026705143973231316,
-0.009347394108772278,
-0.027944497764110565,
-0.010784227401018143,
0.011317462660372257,
0.00767142046242... | [
0.2711780369281769,
0.21551059186458588,
0.2733725607395172,
0.08691418915987015,
-0.07733976095914841,
-0.09878062456846237,
0.4418226182460785,
0.04140803590416908,
-0.1704617738723755,
-0.7182517051696777,
0.31641554832458496,
0.6785736083984375,
-0.1329721212387085,
0.00467361928895115... |
I want to add social share buttons to my posts, but I don’t want to put all that big bulk of code into all my content files. I want to create a function, and then add the function name to my template files, something like this: function pietergoosen_sosiale_netwerk_deel_knoppies() { <strong>Deel die pos met ander</strong><p </p> <a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&amp;t=<?php the_title(); ?>" title="Share on Facebook."> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/facebook.png" alt="Share on Facebook" id="sharethis-last" /></a> <a href="http://twitter.com/home/?status=<?php the_title(); ?> : <?php the_permalink(); ?>" title="Tweet this!"> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/twitter.png" alt="Tweet this!" /></a> <a href="http://www.google.com/bookmarks/mark?op=edit&bkmk=<?php the_permalink();?>&amp;t=<?php the_title(); ?>" title="Google+1."> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/google.png" alt="Google+1" id="Google+1" /></a> <a href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="StumbleUpon."> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/stumbleupon.png" alt="StumbleUpon" /></a> <a href="http://digg.com/submit?phase=2&amp;url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Digg this!"> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/digg.png" alt="Digg This!" /></a> <a href="http://del.icio.us/post?url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" title="Bookmark on Delicious."> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/delicious.png" alt="Boekmerk op Delicious" /></a> <a href="https://mail.google.com/mail/?view=cm&fs=1&to&su=<?php the_permalink();?>&amp;t=<?php the_title(); ?>" title="epos."> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/gmail.png" alt="epos" id="epos dit" /></a> } This isn't working. How should I do it correctly? | [
0.0038835513405501842,
0.0033461921848356724,
0.004045099951326847,
0.011300223879516125,
0.012930383905768394,
0.0029481311794370413,
0.006071967538446188,
0.013715367764234543,
-0.01360747404396534,
-0.015650490298867226,
-0.0018098379950970411,
0.005920172668993473,
-0.0000728166196495294... | [
0.31110891699790955,
-0.15657338500022888,
0.32499462366104126,
-0.32887986302375793,
-0.08557876944541931,
0.1750044971704483,
0.1949390172958374,
-0.1567513644695282,
-0.2927188277244568,
-0.4464295208454132,
0.18625763058662415,
0.1521865278482437,
-0.35880246758461,
-0.0829858407378196... |
> **Possible Duplicate:** > What is the correct way to use infinitive after the verb "help": with or > without "to"? > "Help rule out" vs. "help to rule out" I've seen the verb "help" be used transitively and intransitively - in the latter case, followed by the preposition "to" - in various sentences. For example, these should have identical meaning: > I'll help you do it. / I'll help you to do it. > Jim helps run the shop. / Jim helps to run the shop. Should it be used intransitively in this way, though? If we have a transitive version, doesn't it make sense to use that instead if we're using this verb with an infinitive? It also seems to me that using "help" intransitively in this way can lead to ambiguity; for example: > It helps to buy holidays. ... could mean that some previously stated thing helps with the process of buying holidays, or that buying holidays - in general - helps something. What would be the more likely meaning of the above sentence? | [
0.012589287012815475,
0.005543087609112263,
-0.01742597669363022,
0.014426548033952713,
-0.014898993074893951,
0.0024405834265053272,
0.008671625517308712,
0.008898654952645302,
-0.017227573320269585,
0.04220852255821228,
-0.010797037743031979,
0.00048308714758604765,
0.009140128269791603,
... | [
0.066874660551548,
0.0400255024433136,
0.19509123265743256,
-0.04690320044755936,
-0.027954379096627235,
0.6765074729919434,
0.5763527154922485,
-0.26077038049697876,
-0.3587210178375244,
-0.4150446355342865,
0.022261137142777443,
0.6506403684616089,
0.07419642060995102,
-0.365772783756256... |
My daughter and my son are learning Java with BlueJ. I really don't understand why the first thing they learn isn't to write code to bring a testcase to green light. | [
-0.0032621542923152447,
0.01724974811077118,
-0.020691463723778725,
-0.01999608799815178,
0.005672323517501354,
0.07868031412363052,
0.0192384272813797,
0.035708315670490265,
-0.03786003962159157,
-0.08481146395206451,
-0.01518003735691309,
0.01786799542605877,
0.0262150876224041,
-0.00977... | [
0.35003045201301575,
0.6170549392700195,
-0.22628138959407806,
-0.05466335639357567,
0.3586924970149994,
-0.241386279463768,
0.2002144753932953,
0.4475017189979553,
-0.3376990258693695,
-0.7375519275665283,
0.3084745705127716,
0.15802140533924103,
0.45914721488952637,
0.25594958662986755,
... |
A beta distribution with its parameters $\alpha = \beta = 1$ is the uniform $[0, 1]$ distribution. What distribution is to the discrete uniform distribution (the sample space is left undecided), as the beta distribution is to the uniform distribution over $[0,1]$? | [
-0.034407131373882294,
0.02898663468658924,
-0.0007329683285206556,
0.024329781532287598,
0.04302956163883209,
-0.03792446851730347,
0.011725401505827904,
-0.040177296847105026,
-0.029353175312280655,
-0.036579083651304245,
-0.026714706793427467,
0.00664990209043026,
-0.007395051419734955,
... | [
0.0031094581354409456,
-0.43570345640182495,
-0.2405274659395218,
-0.2992754876613617,
-0.15824255347251892,
0.16150368750095367,
-0.226511150598526,
0.17305605113506317,
0.13066484034061432,
-0.39024266600608826,
-0.4920015335083008,
0.09743838757276535,
-0.9206925630569458,
0.17379370331... |
Why is there a hiss sound when water falls on a hot surface? I have searched a lot, asked my teachers but none of them seem to give me the logical answer to it. | [
-0.027383724227547646,
0.007814007811248302,
0.007387570105493069,
0.03625373914837837,
0.025872228667140007,
0.011165826581418514,
0.00843905471265316,
0.008555891923606396,
-0.040249358862638474,
-0.04343999922275543,
0.02455233968794346,
0.02341560088098049,
0.007050914224237204,
-0.000... | [
0.7089552879333496,
0.20053017139434814,
-0.4217798411846161,
0.11367563158273697,
-0.4215940535068512,
-0.03748239204287529,
0.42534777522087097,
0.10682392865419388,
-0.46013689041137695,
-0.10967003554105759,
0.352256178855896,
-0.08937939256429672,
-0.12051710486412048,
0.4628100395202... |
I hear a lot about this term "Graceful degradation". For example , "An application server should gracefully degrage when it is under heavy load " "Graceful degradation of user interfaces.... " The term looks like an abstract thing to me. Any concrete example of what it means? | [
-0.014314751140773296,
0.009918974712491035,
0.005334759131073952,
0.020351847633719444,
-0.03965993598103523,
-0.04945063963532448,
0.012960975989699364,
0.005262352060526609,
-0.022113515064120293,
-0.014830004423856735,
-0.021528858691453934,
0.025437401607632637,
0.010074427351355553,
... | [
0.23432235419750214,
0.077403724193573,
0.07416462898254395,
0.1922314167022705,
-0.3053555190563202,
-0.47806835174560547,
0.3350367248058319,
0.11784950643777847,
-0.39001938700675964,
-0.4849669337272644,
0.14273732900619507,
0.23461218178272247,
-0.05036327987909317,
0.4169025421142578... |
I'm working on a theme with some options to change the design. For the options I am using the Theme customizer. With the theme customizer there are many option types like color, upload, image upload, background image and header image. I am adding the background image control with this code: function tcx_register_theme_customizer( $wp_customize ) { $wp_customize->add_section( 'tcx_advanced_options', array( 'title' => 'Advanced Options', 'priority' => 201 ) ); $wp_customize->add_setting( 'tcx_background_image', array( 'default' => '', 'transport' => 'postMessage' ) ); $wp_customize->add_control( new WP_Customize_Background_Image_Control( $wp_customize, 'tcx_background_image', array( 'label' => 'Background Image', 'settings' => 'tcx_background_image', 'section' => 'tcx_advanced_options' ) ) ); } add_action( 'customize_register', 'tcx_register_theme_customizer' ); but the control won't be displayed in the Theme Customizer. The same with the header image. 'Image Upload', 'Upload' and all other types like 'text', radio, etc. works fine. I don't want to use it with `add_theme_support` because i don't want the menu entries under the "Design" section because it can be confusing for the client. (Sry for my bad english :) ) Update: thats the code I am using. New section, new setting and the control for the Wordpress built-in Background Image. | [
0.005110804922878742,
0.003104298608377576,
-0.0020182584412395954,
0.013071679510176182,
-0.0014419727958738804,
-0.011644221842288971,
0.009440341964364052,
0.00206554657779634,
-0.01717521995306015,
-0.0011303001083433628,
-0.01888386905193329,
-0.00010797916911542416,
0.00562638323754072... | [
0.15065115690231323,
-0.19213028252124786,
0.9411564469337463,
0.018241222947835922,
0.3183930814266205,
0.23821327090263367,
-0.29611703753471375,
-0.3087789714336395,
-0.25552791357040405,
-0.6320951581001282,
-0.007085893303155899,
0.56154865026474,
-0.1267332285642624,
0.57100385427474... |
I want to use `tikz` to generate adjacent rectangles having label on each border. 7 6 5 3 2 0 **___ __ ___ __ ___ __ ___ __ ___ __** | ** ___ ___ _**|_ ** ___ ___ _**|_ ** ___ __ ___** | I've tried this: \begin{tikzpicture} \node[above left] (b) at (0,0) {7}; \node[above left] (b) at (2,0) {6}; ... %same for the others \draw (0,0) rectangle (2,1); \draw (2,0) rectangle (5,1); \draw (5,0) rectangle (8,1); \end{tikzpicture} But the output is not as I want, the label are not above the rectangles. I guess its because the rectangle is not defined with the node or something like that. Is it possible to do that with `tikz`? If yes how should I do it? | [
0.0032660551369190216,
0.0030355071648955345,
-0.0019571513403207064,
0.019382890313863754,
-0.018641116097569466,
-0.006261030212044716,
0.0026604211889207363,
0.0015197901520878077,
-0.013517408631742,
0.009391771629452705,
-0.006788752041757107,
-0.0025586364790797234,
-0.0054137827828526... | [
0.39921581745147705,
-0.0215358417481184,
0.6338751912117004,
-0.21530577540397644,
0.1341429501771927,
-0.16848160326480865,
0.0022647373843938112,
-0.19545724987983704,
-0.16666476428508759,
-0.8579649329185486,
0.2601907253265381,
0.21259421110153198,
-0.2816404402256012,
0.326526910066... |
Suppose I have a regression model which yields a couple of predicted values with their respective prediction intervals and the random quantity that I am interested in is the sum of (some subset) of those predicted values. How do I go about building a new prediction interval for this sum? Is it as easy as summing up the limits of the respective prediction intervals? | [
0.021026713773608208,
0.018230298534035683,
-0.005132029764354229,
0.012405585497617722,
-0.004145807586610317,
-0.0044499053619802,
0.008161572739481926,
0.006260930094867945,
-0.017255932092666626,
-0.01499004103243351,
-0.004741313401609659,
0.017247047275304794,
-0.013250745832920074,
... | [
0.2523343563079834,
-0.08808007091283798,
0.039086293429136276,
0.019728397950530052,
0.17539630830287933,
0.360965371131897,
-0.1672508865594864,
-0.17819304764270782,
0.029493434354662895,
-0.5974242687225342,
0.12338976562023163,
0.34009096026420593,
-0.12624314427375793,
0.250699698925... |
People talk about orbital angular momentum (OAM) of photons. Is there some physical example that cannot be explained without assuming that photons have non-zero OAM? Does different photons have different values of OAM? If yes, then what determines the value of the value orbital angular momentum carried by individual photons? | [
0.027058443054556847,
0.007629241328686476,
-0.022142140194773674,
0.032610490918159485,
-0.0382232703268528,
-0.014547365717589855,
0.014675911515951157,
-0.010229362174868584,
-0.023053867742419243,
-0.03863145038485527,
0.00012709236762020737,
0.01302309986203909,
-0.011715130880475044,
... | [
0.585271418094635,
0.24772362411022186,
0.2018555849790573,
0.345079243183136,
-0.20237058401107788,
-0.18333375453948975,
-0.3392055332660675,
0.2618688642978668,
-0.5191586017608643,
-0.36427903175354004,
0.10545986145734787,
0.32244956493377686,
-0.24437987804412842,
0.27670392394065857... |
Which of the following is punctuated correctly? > * My question for you is: how do I do that? > * My question for you is; how do I do that? > Or should it be something different altogether? | [
0.011946474201977253,
-0.002238142304122448,
-0.01665727235376835,
0.003847844898700714,
-0.007852998562157154,
-0.006498284637928009,
0.014286980032920837,
-0.0035777396988123655,
-0.02764548920094967,
-0.02360202558338642,
0.016455331817269325,
-0.008844315074384212,
0.02951993979513645,
... | [
0.4508368670940399,
-0.003824122017249465,
-0.09589780867099762,
0.19413204491138458,
-0.2965933382511139,
0.16150283813476562,
0.06792014837265015,
-0.3420129120349884,
0.005762004759162664,
-0.17585960030555725,
0.045760322362184525,
0.28376123309135437,
0.10341870784759521,
-0.150173619... |
I am working on reviewing a document which details what a software application does. It is supposed to be detailed enough for a non-technical person to understand. A technical user will then translate this document into flow charts and other technical documents for software engineers and database programmers. The technical user will pay attention to nouns, verbs, and adverbs to identify key elements for the application, so I want to be as thorough with my review as I can. Many times I come across documents which are incomplete and leave room for assumptions, which leads to misinterpretation. For example I want to register for a chemistry class... I want to register for a freshmen chemistry class... I want to register for a freshmen chemistry class in section 02... I want to register for a freshmen chemistry class in section 02 for the Spring quarter. The last sentence here gives enough details and leaves no room for assumptions. Is there a specific term for writing such detailed documents which leaves no room for assumptions? Could anyone point me to resources for mastering such writing? | [
-0.004023090936243534,
0.005819997750222683,
-0.00766570121049881,
0.0071989428251981735,
-0.0339508056640625,
-0.009186729788780212,
0.008794303983449936,
0.010359608568251133,
-0.012795284390449524,
-0.029948674142360687,
-0.010490484535694122,
0.001046939636580646,
0.019876712933182716,
... | [
0.6182915568351746,
0.6524088978767395,
-0.19282035529613495,
0.1550815999507904,
0.16802653670310974,
-0.08830155432224274,
0.37386682629585266,
-0.10866229236125946,
0.2958754897117615,
-0.585793673992157,
-0.13751082122325897,
0.4837907552719116,
-0.04015761986374855,
-0.218086332082748... |
I have installed TeX Live 2013 full install on a Linux Mint installation (so it is Ubuntu, basically). Now, I cannot use `beamer` or most packages, because all my editors like Gummi seek the 2012 path. On Windows I use TeX Live 2013 with Texworks without issue. **What is the correct way step by step to get a working TeX Live 2013 installation on Linux**? What I have done (perhaps it is wrong, yes?): 1. Insert DVD 2. Open DVD folder in terminal 3. `sudo ./install-tl` 4. Enter password 5. `I` 6. `Enter` [it installs] But I cannot use most packages and cannot install Gedit LaTeX plugin because it says I have broken packages. `Synaptic` package manager says I have TeX Live 2012 installed, which is wrong. EDIT: after trying various things, I am not sure how to proceed. Did I need to set different install directories (different from default) when installing? If so, I do not know how to change my TeX editor to look for everything in those directories. (I am not a master in Linux Mint.) What worked for people here, if they have TeXLive2013 on linux? If there is an easier way to with certainty get TexLive2013 working with correct install method with Gummi or gedit TeX plugin as editor, how can I unfully install my current TeXlive2013 so I can reinstall it correctly? | [
0.016817159950733185,
-0.009095007553696632,
-0.017267655581235886,
-0.00017101503908634186,
-0.00883635226637125,
0.008306690491735935,
0.010807249695062637,
0.009230131283402443,
-0.016252823173999786,
-0.04072542116045952,
-0.00940290093421936,
-0.004068084992468357,
-0.001366819720715284... | [
0.4347779154777527,
0.3020418882369995,
0.5546573996543884,
-0.42178353667259216,
-0.21360328793525696,
-0.1521359235048294,
0.45091819763183594,
0.06954997777938843,
-0.08877365291118622,
-0.5446321368217468,
-0.1765139251947403,
0.9890283346176147,
-0.1337781399488449,
-0.019825931638479... |
News just appeared that Sony might be reviving PocketStation soon, but what did it actually do?  Wikipedia lists few compatible games, of which about half are Japanese versions. It was only originally sold in Japan, so no wonder many of us missed this device. The page isn't very clear on what it does. | [
0.003207040950655937,
0.0014648523647338152,
0.003787875873968005,
0.014921623282134533,
0.0017663271864876151,
0.0009143227362073958,
0.003083884948864579,
0.036549586802721024,
-0.024734191596508026,
0.006034945137798786,
-0.011640781536698341,
0.027626505121588707,
0.01965695060789585,
... | [
0.2419566810131073,
-0.03398788347840309,
0.18894559144973755,
0.27389687299728394,
0.3935162127017975,
-0.38275718688964844,
-0.1585865467786789,
0.022839084267616272,
-0.30924510955810547,
-0.06395057588815689,
0.06496937572956085,
0.18003182113170624,
-0.01333867758512497,
0.12827935814... |
This question is in connection with How to typeset function restrictions There, egreg gives a satisfactory answer (at least for me) The problem is that I'd like to do the same thing with `\restriction` as delimiter instead of `|`, but somehow I can't figure out how to do that. | [
0.026133866980671883,
0.010485867969691753,
-0.004341603722423315,
0.018772659823298454,
-0.007598530501127243,
0.00102097203489393,
0.0074610402807593346,
0.00818199384957552,
-0.019837208092212677,
0.004082423634827137,
-0.004704768769443035,
0.0010841619223356247,
-0.018042007461190224,
... | [
0.054010894149541855,
0.051744554191827774,
0.048307690769433975,
-0.07693618535995483,
-0.11950919777154922,
-0.22589798271656036,
0.008136634714901447,
-0.09040684252977371,
-0.08673711121082306,
-0.7196964025497437,
-0.1812102496623993,
0.4203595519065857,
-0.3854517638683319,
0.0671196... |
Whatsapp has been nagging me for the past few days that I have to upgrade it to continue using it. With the Facebook acquisition and the Play Store no longer marking the permissions that are "NEW" separately, I'm on a toss up between an upgrade and an uninstall; I'm hoping further information about the permissions will help. First of all, does anyone know which permissions were added after Facebook's acquisition? And among the permissions listed, what does "find accounts on this device" allow the app to do? Does "receive text messages" allow the app to read any existing or new incoming SMS messages? And as a minor curiosity, why would it need the "retrive running apps" list? Here's the permission list from the Play Store: > This app has access to: > > **In-app purchases** > > **Device & app history** > > * retrieve running apps > > > **Identity** > > * find accounts on the device > * add or remove accounts > * read your own contact card > > > **Contacts/Calendar** > > * read your contacts > * modify your contacts > > > **Location** > > * approximate location (network-based) > * precise location (GPS and network-based) > > > **SMS** > > * receive text messages (SMS) > * send SMS messages > > > **Phone** > > * directly call phone numbers > > > **Photos/Media/Files** > > * modify or delete the contents of your USB storage > * test access to protected storage > > > **Camera/Microphone** > > * record audio > * take pictures and videos > > > **Wi-Fi connection information** > > * view Wi-Fi connections > > > **Device ID & call information** > > * read phone status and identity > > > **Other** > > * receive data from Internet > * read sync statistics > * prevent device from sleeping > * full network access > * control vibration > * run at startup > * view network connections > * connect and disconnect from Wi-Fi > * use accounts on the device > * create accounts and set passwords > * modify system settings > * read sync settings > * toggle sync on and off > * install shortcuts > * uninstall shortcuts > * read Google service configuration > * change your audio settings > | [
-0.018154170364141464,
-0.006168914958834648,
-0.00005343032535165548,
0.020951159298419952,
-0.008352601900696754,
0.0045220800675451756,
0.007413611747324467,
0.021529758349061012,
-0.018489830195903778,
-0.014710120856761932,
-0.012335274368524551,
0.016121068969368935,
0.0023651919327676... | [
0.41005584597587585,
0.06308765709400177,
0.41843661665916443,
0.03697726130485535,
0.27118954062461853,
-0.1898510605096817,
0.13073763251304626,
-0.13509772717952728,
-0.42741987109184265,
0.007401502691209316,
0.1473599225282669,
0.5737298727035522,
-0.09921061992645264,
0.1281282305717... |
Suddenly I am getting the following error on my website, I don't know why, but I think this is because of shortage of RAM or Memory in the host? Is it true? Error: > Fatal error: Out of memory (allocated 12845056) (tried to allocate 311296 > bytes) in /wp-content/plugins/WPRobot3/wprobot.php(1239) : eval()'d code(1) > : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) > : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) > : eval()'d code on line 335 > > Fatal error: Out of memory (allocated 18874368) (tried to allocate 35 bytes) > in /wp-includes/wp-db.php on line 1140 Is this because of insufficient memory with the host? or is it because of wp? Notices Notice: get_settings is deprecated since version 2.1! Use get_option() instead. in wp-includes/functions.php on line 3237 Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in wp-includes/functions.php on line 3237 Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in wp-includes/functions.php on line 3237 Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in wp-includes/functions.php on line 3237 Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in wp-includes/functions.php on line 3237 Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in wp-includes/functions.php on line 3237 Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in wp-includes/functions.php on line 3237 Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in wp-includes/functions.php on line 3237 Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in wp-includes/functions.php on line 3237 Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in wp-includes/functions.php on line 3237 Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in wp-includes/functions.php on line 3237 Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in wp-includes/functions.php on line 3237 Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in wp-includes/functions.php on line 3237 Notice: Undefined index: page in wp-content/plugins/seo-booster-lite/seo-booster.php on line 980 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: Undefined index: page in wp-content/plugins/autoblogged/autoblogged.php on line 164 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in wp-includes/functions.php on line 3321 Notice: Undefined index: page in wp-content/plugins/seo-booster-lite/seo-booster.php on line 990 | [
-0.010516049340367317,
-0.0023045733105391264,
-0.0034391165245324373,
0.01220918633043766,
-0.010878478176891804,
0.00003288293373771012,
0.006699173711240292,
0.016293708235025406,
-0.010403803549706936,
0.0164609644562006,
-0.01722603477537632,
0.00899877492338419,
0.014494339004158974,
... | [
-0.2873985767364502,
0.42130640149116516,
0.3715069890022278,
0.008013338781893253,
0.09674903005361557,
0.2789076864719391,
0.7062765955924988,
-0.3955846130847931,
-0.6593606472015381,
-0.530353844165802,
-0.050718799233436584,
0.29787930846214294,
-0.07716743648052216,
0.285013973712921... |
I'm trying to do a simple system backup (with cpio or tar), and I was looking for what I need to back up and found this question. The answer was basically, "it depends on what you're running on your machine". If there is a disk failure, I want to easily get my server running again without having to reinstall a lot of things. I'm using a web server and a fair amount of 3rd party programs. I'm thinking I'll back up everything except the absolutely unnecessary. So are there any directories that I shouldn't backup because it would be a waste of time and disk space? | [
0.0016501285135746002,
0.01754298433661461,
-0.007156176958233118,
0.004512048792093992,
-0.006483554374426603,
0.015216199681162834,
0.0066660488955676556,
0.012339040637016296,
-0.015013321302831173,
-0.01945231854915619,
0.00154840387403965,
0.013560200110077858,
0.01920391619205475,
0.... | [
0.497599333524704,
0.2097274512052536,
0.12249549478292465,
0.2031465321779251,
0.2332570105791092,
0.03762862831354141,
0.04399290680885315,
0.1754993051290512,
-0.3669271767139435,
-0.40627920627593994,
0.25841856002807617,
0.8380629420280457,
-0.14078876376152039,
0.025303838774561882,
... |
I would like to start getting more contracts in the mobile, smart-device, and console development space and, having little prior work experience in the field, I need to build a portfolio of example projects. Most of my professional experience is based on the .NET stack, so that is helpful in covering Windows Phone, Windows Metro, and XBOX (non-game) development such as Kinect UI development, media applications, etc. But I also need to demonstrate that I can handle Android development, Linux development (i.e. Smart TV apps), possibly Arduino development and so forth. I have the tools and the knowledge to at least knock out some Android and Arduino examples, though iOS and Linux is stretching a bit out of my comfort zone. In any case, what are some ways in which I could demonstrate that I understand and can code for these platforms? Media search and filter apps? Kinect navigation? Android app that gets you the location of the nearest Starbucks based on GPS coordinates? Any ideas would be greatly appreciated. | [
-0.012675626203417778,
-0.0032128747552633286,
-0.007044125348329544,
-0.0003441841690801084,
-0.0007781963795423508,
-0.004538705572485924,
0.006145775318145752,
0.027829676866531372,
-0.011129261925816536,
-0.01920166052877903,
-0.001659164670854807,
0.012869922444224358,
0.005201913416385... | [
0.5643589496612549,
0.22801615297794342,
-0.04817964881658554,
0.12893146276474,
0.4186997413635254,
0.024593975394964218,
-0.2875046133995056,
0.22922883927822113,
-0.11043766885995865,
-0.8197368383407593,
-0.06706976145505905,
0.7726409435272217,
0.18918977677822113,
0.09651315957307816... |
How does one go about finding the problem with a document when the only errors is "Emergency Stop" in line 0. I have a rather long document and I fixed all of the other problems it told me to fix but this one persists. Any ideas? | [
-0.007230193354189396,
0.00859364215284586,
-0.022697553038597107,
0.026064971461892128,
-0.02073584869503975,
0.037196580320596695,
0.008757720701396465,
0.026515914127230644,
-0.03654913604259491,
-0.021878177300095558,
-0.008913775905966759,
0.018268020823597908,
0.03478381782770157,
0.... | [
-0.07098878175020218,
0.11006134748458862,
0.19140523672103882,
0.17274877429008484,
0.31723323464393616,
0.05205681174993515,
0.34079113602638245,
0.3735555112361908,
-0.12435589730739594,
-0.14221766591072083,
0.15829217433929443,
0.36877548694610596,
-0.1938895285129547,
-0.106480866670... |
Note that this is not a question about how to change / edit a CPT's description. It's more about "why the heck is it provided?" because I haven't found anywhere either in the Admin back-end or the front end, where this description is actually shown. What am I missing? | [
0.0026645208708941936,
0.003501619677990675,
0.0010793962283059955,
0.032346468418836594,
-0.010235811583697796,
0.004430064931511879,
0.007595113478600979,
0.02050730772316456,
-0.0269248578697443,
0.012117634527385235,
-0.016140999272465706,
0.008832167834043503,
-0.001067164703272283,
0... | [
0.5727143287658691,
0.0869453027844429,
-0.07102631032466888,
0.22709785401821136,
0.12302342057228088,
-0.04990555718541145,
0.09222885221242905,
0.2222798764705658,
-0.3788760304450989,
-0.38805443048477173,
0.07479286938905716,
0.06473009288311005,
-0.07775084674358368,
0.42457586526870... |
texlive 2014, Linux This MWE fails when using `$[B]$` in section title when the package `titlesec` is loaded \documentclass[]{article}% \usepackage{titlesec} \begin{document} \section{this is my $[B]$ section} test \end{document} Error is htlatex foo.tex (/usr/local/texlive/2014/texmf-dist/tex/generic/tex4ht/html4.4ht) (/usr/local/texlive/2014/texmf-dist/tex/generic/tex4ht/html4-math.4ht)) (./foo.aux) ! Extra }, or forgotten $. <recently read> } l.4 \section{this is my $[B]$ section} ? When commenting the `titlesec` package, it compiles OK. Also, If I load the package, but change the title to `$(B)$` instead of `$[B]$` then it compiles OK as well. Only when using `[]` it is not happy. The above MWE compiles OK with pdflatex and latex. Why does it fail in tex4ht? Version 3.14159265-2.6-1.40.15 (TeX Live 2014) | [
-0.010790183208882809,
0.0005572065711021423,
-0.00253412127494812,
0.021485168486833572,
0.014212699607014656,
0.039338961243629456,
0.009769361466169357,
0.007376228924840689,
-0.01153767853975296,
-0.013132767751812935,
-0.02515796758234501,
0.004506315104663372,
0.005291380919516087,
0... | [
-0.11838817596435547,
0.2828075885772705,
0.9846617579460144,
-0.1338857114315033,
-0.06477776914834976,
-0.10290779173374176,
0.4537677466869354,
-0.30751752853393555,
0.12816163897514343,
-0.23189161717891693,
-0.31624332070350647,
1.0057955980300903,
-0.253761887550354,
0.36768716573715... |
At which points does the game usually save? Do I always have to get back to my hideout and sleep to make absolutely sure that I don't lose any progress (like hacked accounts or money collected from ATMs)? The game seemed to suggest that I should sleep in the hideout to save the progress, but I am not sure if this is even necessary. Apparently your progress also gets saved after you start or finish a mission or mini game. What exactly are the points after which I safely can quit the game without having to worry to lose anything. | [
0.004613010212779045,
0.013170401565730572,
0.003067020094022155,
-0.005204922053962946,
0.011148489080369473,
0.0055125062353909016,
0.007978667505085468,
0.00005721995694329962,
-0.0204395093023777,
0.008229002356529236,
-0.0069696190766990185,
0.022409342229366302,
-0.0046675074845552444,... | [
0.20561422407627106,
0.022055353969335556,
0.1300453394651413,
0.26775267720222473,
0.09505807608366013,
-0.16547425091266632,
0.4106697142124176,
0.15092267096042633,
-0.3442825376987457,
-0.27509623765945435,
0.2925913631916046,
0.31795305013656616,
0.23181000351905823,
0.025318203493952... |
I currently have a list of categories that go with my 'posts' I want the same categories to go with my custom post types 'services' and 'work' The following code, adds the tags and categories to the work and services custom posts. add_action('init', 'demo_add_default_boxes'); function demo_add_default_boxes() { register_taxonomy_for_object_type('category', 'work'); register_taxonomy_for_object_type('post_tag', 'work'); register_taxonomy_for_object_type('category', 'services'); register_taxonomy_for_object_type('post_tag', 'services'); } But when I categorise a work/service post, it does not appear on the /category/ page, only the 'posts' from that category appear. | [
0.01740705408155918,
0.018896352499723434,
0.011248739436268806,
0.02949843928217888,
0.024322504177689552,
-0.011536695063114166,
0.00828978419303894,
0.024023106321692467,
-0.01418252382427454,
0.03210599720478058,
-0.02617202326655388,
0.011367525905370712,
-0.00008137617260217667,
0.01... | [
0.47010502219200134,
0.015632497146725655,
0.5841853022575378,
-0.017339324578642845,
-0.06871145218610764,
0.3588440418243408,
0.24128270149230957,
-0.3602108657360077,
-0.17862629890441895,
-0.8548951745033264,
-0.13666433095932007,
0.30692657828330994,
-0.28394386172294617,
-0.070721350... |
We are all familiar with MetaPost labels: label.top(btex $a_t$ etex, z0); The problem with the above is that the positioning is based on the _entire_ label, including the subscript. How do I calculate the positioning based on the _baseline_ of the text, i.e. only the "a" part, and not the "t" subscript? | [
-0.001147011760622263,
0.013490885496139526,
-0.0006913302931934595,
0.015325541608035564,
0.024460365995764732,
0.01661631651222706,
0.009081670083105564,
0.015816910192370415,
-0.015487108379602432,
0.00805454421788454,
-0.007844941690564156,
0.007021514233201742,
0.0010704421438276768,
... | [
0.5829386711120605,
0.01452837884426117,
0.48783087730407715,
-0.15232139825820923,
-0.23449227213859558,
0.05433301627635956,
0.08253226429224014,
-0.10866843909025192,
0.21957041323184967,
-0.5806912183761597,
0.2682000994682312,
0.3156093657016754,
-0.16892413794994354,
-0.0111635942012... |
Typically, to box in some text, I use the following: \fbox { \parbox{\linewidth}{ This is some text! Blah blah blah... } } However, say I have a `verbatim` block within that. It will never compile. Anyone know how I could draw a box around text which contains a `verbatim` block? I should note that I want to be able to draw a box around not just a `verbatim` block. For example, I would want to draw a box around something like: This is text. \begin{verbatim} This is some more text. \end{verbatim} And this is even more text. | [
0.006416806485503912,
0.0002139532007277012,
-0.005585119128227234,
0.014417718164622784,
0.009045308455824852,
-0.02329121343791485,
0.007181443274021149,
0.025560420006513596,
-0.01641147769987583,
0.0007524030515924096,
-0.01625022664666176,
-0.009164253249764442,
-0.0015628351829946041,
... | [
0.45040059089660645,
0.19000530242919922,
0.19721153378486633,
-0.10497533529996872,
-0.19477127492427826,
-0.14023712277412415,
0.4970638155937195,
-0.07222069799900055,
-0.06768657267093658,
-0.46645933389663696,
-0.4494483768939972,
0.22359994053840637,
-0.4079333543777466,
-0.013834613... |
I am using curl_multi_exec to process over 100K requests. I do 100 requests at a time because curl_multi_exec can only handle 100 requests at a time to eventually get to 100K requests. We have added multiple servers to this system to spread the load [we are using load balancing]. What is the best way to have curl handle 100K requests and make use of these additional servers? What is the downside (other than time) of handling that many requests on one server? How can I use the additional servers to help handle those requests? I was thinking about having each server handle a batch of requests (like one server handles 500 requests, another 500, another 500, etc.. To elaborate- basically, we are using curl to send out over 100K requests to third party servers. The problem with only using 1 server is that there is a memory limit in the number of requests 1 server can handle. So we decided to add additional servers, but we are not sure how to design this system to use curl to handle that many requests.. The third party server is an API like Facebook; they are aware that we will be making that many requests to their servers. For load balancing, we use Rackspace cloud server, basically the load balancer directs incoming requests to separate servers. | [
0.020554881542921066,
0.006229145918041468,
-0.024991916492581367,
0.007335735019296408,
-0.022339604794979095,
-0.01302567683160305,
0.010207891464233398,
-0.0173912663012743,
-0.018050972372293472,
-0.023088347166776657,
0.001369579927995801,
0.014719309285283089,
-0.01716671511530876,
0... | [
0.3253622055053711,
0.18905791640281677,
0.36527419090270996,
0.04217061027884483,
-0.09774916619062424,
-0.08285179734230042,
0.0663372054696083,
-0.2940255105495453,
-0.4310949146747589,
-0.6598138809204102,
0.4725024402141571,
0.07781252264976501,
-0.4978634715080261,
0.3581904470920563... |
How can I, using standard tools and packages, draw a "smile" over a letter? For example, I can typeset `\wideparen{x}` using `yhmath` package, but I need that arc to be upside down. Of course I want it to be extandable as `\wideparen` did. Which standard command should I use? | [
0.023527666926383972,
0.011970766820013523,
-0.028689151629805565,
0.0307534858584404,
-0.001779676997102797,
0.0044840192422270775,
0.012498287484049797,
-0.0068285297602415085,
-0.021510610356926918,
-0.028140516951680183,
-0.004512842744588852,
0.0009865564061328769,
-0.004731967113912105... | [
0.09453323483467102,
0.23287533223628998,
0.452249139547348,
-0.20336325466632843,
-0.2661367952823639,
0.07240525633096695,
0.27759596705436707,
0.15571381151676178,
0.0850454568862915,
-0.8254146575927734,
-0.16507887840270996,
0.5587065815925598,
-0.06388985365629196,
0.0813592970371246... |
What are the best spots in Act 3? I know a lot of people have just gotten to the highest mob level in the game and want to know where everyone else has been grinding mobs. | [
0.0032682919409126043,
0.010442913509905338,
0.006528874859213829,
-0.0027068452909588814,
-0.03871062770485878,
0.026720426976680756,
0.009015228599309921,
-0.022996729239821434,
-0.055322468280792236,
0.015252037905156612,
0.020893819630146027,
0.03333749249577522,
0.00858733057975769,
0... | [
0.23692752420902252,
-0.025186602026224136,
-0.05719820410013199,
-0.18633782863616943,
0.06887978315353394,
-0.0451163612306118,
0.4094403088092804,
0.24109160900115967,
-0.38705161213874817,
-0.5977541208267212,
0.36836495995521545,
0.5707617998123169,
-0.362219899892807,
-0.393171876668... |
I've made some tracks and a cart but I can't figure out how to make the cart "go." It kind of glides along slowly when I put it down on the track and hop in, but does not have enough momentum to even go up a 1 cube incline. | [
-0.028962107375264168,
-0.0032910972367972136,
-0.021958274766802788,
0.018891870975494385,
-0.02673228085041046,
-0.004579418338835239,
0.01059974730014801,
-0.02815789356827736,
-0.04006343334913254,
-0.014949860982596874,
-0.02021924965083599,
0.00679735466837883,
-0.013123982585966587,
... | [
-0.017834419384598732,
-0.0877695083618164,
0.17174115777015686,
0.5130659341812134,
0.07977095246315002,
0.1330055147409439,
0.161391019821167,
0.05301901698112488,
-0.2548530399799347,
-0.22256556153297424,
0.6170094609260559,
0.2391529381275177,
0.10076283663511276,
-0.167890265583992,
... |
I'm not a fan of constantly hitting alt to see what loot is left on the ground. Is there a way to keep item names permanently displayed? | [
0.026765240356326103,
0.021388914436101913,
-0.011005664244294167,
-0.025852534919977188,
-0.022125646471977234,
0.0028873682022094727,
0.011196288280189037,
0.036819733679294586,
-0.0391816571354866,
0.11856192350387573,
-0.01628115028142929,
0.030920904129743576,
0.0043719736859202385,
0... | [
0.8407698273658752,
0.033780790865421295,
-0.20097877085208893,
0.32372725009918213,
-0.016845203936100006,
-0.20806226134300232,
0.04237379506230354,
0.2825976014137268,
-0.5635278820991516,
-0.22610913217067719,
0.3014715611934662,
0.05608930438756943,
0.16225269436836243,
0.142203435301... |
I would like to define a math operator `Homöo`, but when I try \DeclareMathOperator{\Homoo}{Homöo} \DeclareMathOperator{\Homoo}{Hom\"oo} I get `Homo`. **How can I use German umlauts in DeclareMathOperator?** (If it's not possible at all: What should I do instead?) | [
-0.007249233312904835,
0.009696423076093197,
-0.013541063293814659,
0.020357908681035042,
-0.03278094157576561,
0.012872455641627312,
0.007632365450263023,
-0.00003790538903558627,
-0.015191399492323399,
-0.012004432268440723,
0.004962822888046503,
0.005135225132107735,
-0.006035787984728813... | [
-0.04349949210882187,
0.397710382938385,
0.508613109588623,
-0.3904171586036682,
-0.0658741146326065,
0.07488597184419632,
0.40181294083595276,
0.04759621247649193,
0.2341090589761734,
-0.2786175012588501,
-0.22493815422058105,
0.4983765482902527,
-0.16310591995716095,
-0.12586332857608795... |
I want to know which gifts I should hang on to and, by exclusion, which gifts can be sold to merchants without fear of having to re-buy them to appease that one snotty NPC. So far I've seen the following: **1st act** * Trish: **Trish's potion** (obvs) * (Buxom) peasant woman in the village on the outskirts of Vizima: **Tulips** (A corpse in the area will have them). Reward: good time. * Beggar woman living in the village on the outskirts of Vizima: **White Gull** , will reward with **Eternal Fire signet ring**. * Old woman living in the village on the outskirts of Vizima who doesn't talk to strangers: Unknown, will accept bribe. Rewards with a story. * Woman in white dress living in a house on the outskirts of Vizima: **Wild flowers** , will give **Tulips** as reward. * Old woman living in the house opposite of the chapel: Any **food** (Bread is most cost-effective), will tell a story, possibly giving some glossary entries. * Vesna, after completing her quest, at the mill: any **wine**. Reward: good time. **Act2** * Jethro, at the dungeon: **Fisstech** , rewards with information. useless unless part of a quest. * Gardener at Vizima's temple: any **food** , will reward with a tale or roses of any color you choose. Repeatble. * Herbalist at the market of Vizima's Temple district: **Red shawl**. Reward: information about where she gathers herbs. useless. * Bootblack, near where you emerge from the sewers in Vizima: **Shadow People, or the story of His Majesty's Secret Service**. Get the book by outdrinking Thaler. Reward: **Prophet Lebioda's signet ring** , useful for getting past Shani's landlady. | [
0.03618808835744858,
0.011261511594057083,
0.00661688344553113,
-0.0006650637951679528,
-0.015021590515971184,
-0.018811313435435295,
0.006907773204147816,
0.013729460537433624,
-0.02421562746167183,
-0.0027548775542527437,
-0.026002958416938782,
0.00477874930948019,
-0.016556391492486,
-0... | [
0.04105484485626221,
-0.10289335995912552,
0.429038405418396,
0.11391044408082962,
-0.20150470733642578,
0.5951926708221436,
0.3741809129714966,
0.009636163711547852,
-0.2336830347776413,
-0.2973994314670563,
-0.1552211046218872,
0.39847826957702637,
0.18912237882614136,
0.0885945484042167... |
I'm replaying Kingdom Hearts for the first time in about 8 years--I'm also playing the Final Mix version for the first time (from Kingdom Hearts HD 1.5 Remix). I can vaguely recall that there were a couple of worlds that had the possibility of missing some Trinity Marks and items. Is there a complete list as to what items and Trinity Marks can be missed in Final Mix? | [
0.04466372728347778,
0.0017049656016752124,
-0.0117796016857028,
0.013975701294839382,
0.012040145695209503,
0.02191651053726673,
0.01070061232894659,
0.011038553901016712,
-0.029896756634116173,
0.013383159413933754,
-0.013337235897779465,
0.012315844185650349,
-0.008850990794599056,
-0.0... | [
0.30965009331703186,
0.10748076438903809,
0.5238548517227173,
0.098797507584095,
-0.32590165734291077,
-0.43619316816329956,
0.4480263292789459,
-0.06863133609294891,
-0.3830350637435913,
-0.7721812725067139,
0.01626601256430149,
0.31377682089805603,
0.3504107594490051,
0.29767143726348877... |
Is an SSL cert applied to a specific folder or also all subfolders of that folder? If the SSL is applied to the root, will it be applied to all sub-folders? If so why would I not always apply to root? | [
0.030639683827757835,
0.01224716566503048,
-0.00441887229681015,
0.028624314814805984,
0.015346644446253777,
0.05042460188269615,
0.01544952392578125,
0.031657394021749496,
-0.033357441425323486,
-0.030611209571361542,
-0.04142804443836212,
0.0014340899651870131,
-0.021258769556879997,
0.0... | [
0.23707911372184753,
0.05676243454217911,
0.3952732980251312,
0.10076633095741272,
-0.19532635807991028,
-0.43559423089027405,
0.1787339746952057,
0.1836322546005249,
-0.012802756391465664,
-0.6430174708366394,
-0.5023379325866699,
0.2255152016878128,
-0.3451521098613739,
0.158112108707427... |
I am trying to understand the some of the properties of wakefields, namely the energy change. So, as a preface I am interested in primarily the wakefield due to electron beams as they progress through a curved section (the eletcrons radiate strongly when they are in circular motion). There are two main/simple regimes: 1. When the wakefield is constant and not dependent on how far Δθ the electrons have traversed, we have a wakefield like so: $$\frac{dE}{sds}(z) $$ Which to my understanding (which I am very certain of) describes the $$\frac{dE}{ds}$$ (the change in energy per distance traveled along its curved trajectory) for a given z (position along the eletcron beam, where zero is defined as the certer of the eletcron beam which we can consider to be gaussian-ly distributed). 2 When the wakefield is not constant and is dependent on how far Δθ the eletcrons have traversed, we have the wakefield like so: $$\frac{dE}{ds}(z,θ) $$ Where this describes the $$\frac{dE}{ds}$$ (the change in energy per distance traveled along the curved trajectory) for a given z (position along the eletcron beam) and θ (the amount the eletcrons have traversed). Now, the main difference between 1 and 2 is the fact that for two $$\frac{dE}{ds}$$ is changing wrt θ (is some function of theta). If you were to integrate regime 1, wrt ds from 0 to L (the total path length), then you would get the total energy change through the curved region as a function of z: $$ Etotal(z,θ) $$. Now this is where I start getting confused: If we turn our attention to regime two with θ dependence. WHat do we have when: 1. We integrate $$\frac{dE}{ds}(z,θ) $$ wrt to θ from 0 to θ (thet total travesrved angle of teh eletcron beam)? We would have something like $$\frac{dE}{ds}(z) $$ which is still a function of ds (the path travesersed). 2. We integrate $$\frac{dE}{ds}(z,θ) $$ wrt to the path ds? We would now have something like $$Etotal(z,θ) $$ which is still a function of θ. Any help on conceptually understanding this would be greatly appreciated! I have been at it for days! | [
0.002912800759077072,
0.0009242428932338953,
-0.008004645816981792,
0.013830557465553284,
-0.012213807553052902,
-0.015910785645246506,
0.006623317487537861,
0.005690481513738632,
-0.007862968370318413,
0.0015628526452928782,
0.003195930738002062,
0.01832052879035473,
-0.022479286417365074,
... | [
0.31485673785209656,
-0.11548313498497009,
0.47048062086105347,
0.32016703486442566,
-0.28608593344688416,
0.15281809866428375,
-0.021136779338121414,
-0.17387062311172485,
-0.43358945846557617,
-0.6777679920196533,
0.11281565576791763,
0.392695814371109,
-0.10714435577392578,
0.4534741938... |
In other words: Is it possible to scan the input stream of a .sty or .cls file (without using Perl) for `\ProcessOptions\relax` and nest some given code afterwords? (The filehook or etoolbox package dont provide such macros. Or am I missing something?) And as a **Remark:** Is it ethically correct to use such a macro to patch a package or class? (When I thought about it, I came to the conclusion that it must be alright to do so in a world where `\renewcommand` does exist. But please let me know what you think about it.) | [
0.01323661208152771,
0.014817623421549797,
-0.0010406386572867632,
0.015171844512224197,
0.013363892212510109,
0.01282917708158493,
0.0077953459694981575,
-0.00242721033282578,
-0.014442596584558487,
-0.014533381909132004,
-0.008377349004149437,
0.01023277547210455,
-0.0029948013834655285,
... | [
0.44398167729377747,
-0.0801813006401062,
0.07249695807695389,
-0.13816893100738525,
0.42761704325675964,
-0.4152073860168457,
0.37127685546875,
-0.19114536046981812,
-0.461160808801651,
-0.38289758563041687,
-0.22297540307044983,
0.9170151352882385,
-0.34350717067718506,
-0.35386648774147... |
In Untrusted, I got to Level 7, where I can get the phone, and create my own JS function. I saw from the demo that I can change the colour! Great! So I figured I'd write a nested `if... then` statement, saying if I'm one colour, switch to the next! Apparently, that does not work. I then tried to change my colour to white (#fff), thinking the collision check would accept white as all colours, and open the locks. **What can I put in this function to change me as needed?**  | [
0.00356389582157135,
0.008103039115667343,
-0.015398417599499226,
0.0032040926162153482,
-0.013464042916893959,
-0.004126338753849268,
0.006408114451915026,
-0.00491950660943985,
-0.019878024235367775,
0.00027066166512668133,
-0.0069645163603127,
0.007580507081001997,
-0.004339870065450668,
... | [
0.4856363534927368,
-0.18132944405078888,
0.5799251198768616,
-0.2959265112876892,
0.012741673737764359,
-0.05810168758034706,
0.43983227014541626,
-0.31388169527053833,
-0.011013575829565525,
-0.359411358833313,
-0.16430024802684784,
0.23123188316822052,
-0.5623189806938171,
0.06559288501... |
I have a bunch of store cards with barcodes on them hanging on my keychain. Every now and then I won't have my keys when I'm in the store. I once saw someone with an iPhone who had an app that managed those bar codes. Is there anything similar for the droid? | [
0.019690988585352898,
-0.006995709612965584,
-0.018188444897532463,
0.007150217425078154,
-0.004841345362365246,
0.015816887840628624,
0.010959867388010025,
0.02143140323460102,
-0.029641011729836464,
-0.023094352334737778,
-0.016027256846427917,
0.0067476313561201096,
0.015074529685080051,
... | [
1.0090272426605225,
0.37363341450691223,
0.042923714965581894,
0.1334446221590042,
0.2986639440059662,
0.3635614812374115,
-0.0622396320104599,
0.3050563931465149,
-0.4891352355480194,
0.00475554633885622,
0.2514517605304718,
0.2052690088748932,
-0.08728682994842529,
0.06396538764238358,
... |
How may I restrict $i,j$ such that they run over $\mathbb{N}$ excepting the numbers divisible by $2$ or $3$ or $7$? Sum[1/( i j (i + j + 1)), {i, 1, Infinity}, {j, 1, Infinity}] | [
0.0038686697371304035,
0.01179445069283247,
-0.01650158315896988,
0.019786005839705467,
-0.007644050754606724,
-0.006526523269712925,
0.009740962646901608,
-0.01697429083287716,
-0.02289663255214691,
0.015022707171738148,
-0.01631779409945011,
0.0014137214748188853,
-0.0271111112087965,
0.... | [
-0.14554598927497864,
0.014259764924645424,
0.4140009582042694,
-0.22228080034255981,
0.3769165575504303,
-0.10965824872255325,
0.14043870568275452,
-0.27684926986694336,
-0.12050197273492813,
-0.09278002381324768,
-0.23707759380340576,
0.47293680906295776,
-0.4479893445968628,
0.162857368... |
Why is Euler's number an uppercase "E" and not a lowercase "e"? Isn't Euler's Number normally expressed with a lowercase "e"? | [
-0.008420768193900585,
0.03635327145457268,
-0.025273876264691353,
0.01682482659816742,
0.004069979302585125,
0.044260285794734955,
0.02085230126976967,
0.010212000459432602,
-0.015709413215517998,
-0.07894761860370636,
-0.0229851882904768,
0.017595577985048294,
-0.03702053800225258,
0.008... | [
-0.4243002235889435,
-0.12141893804073334,
0.24990211427211761,
0.018865028396248817,
-0.15142221748828888,
0.5234363079071045,
0.1590469479560852,
-0.3630424439907074,
-0.3911757171154022,
-0.808896541595459,
0.01870589330792427,
-0.3374887704849243,
-0.5160087943077087,
0.226859867572784... |
I was hoping to be able to use Reproject.ReprojectPoints to achieve a datum shift between lat/lon values in NAD27 and NAD83. I'm able to correctly reproject from NAD27 lat/lon to NAD27 UTM and from NAD83 lat/lon to NAD83 UTM. But when I try the following, I just end up with the same coordinates in the output. I'm obviously misinterpreting the functionality, but is there a way to add a Helmert transformation or to mimic the NAD con functionality in Proj4 using dotSpatial? I'll do what it takes, but am trying to work smart and not reinvent the wheel. Thanks for any comments. ProjectionInfo source = KnownCoordinateSystems.Geographic.SpheroidBased.Clarke1866; ProjectionInfo dest = KnownCoordinateSystems.Geographic.SpheroidBased.GRS1980;// KnownCoordinateSystems.Geographic.SpheroidBased.Clarke1866; var xy = new List<double>(); var z = new List<double>(); double lat = 29.48438; double lon = -93.81992; xy.Add(lon); xy.Add(lat); z.Add(0); var xyA = xy.ToArray(); var zA = z.ToArray(); Reproject.ReprojectPoints(xyA, zA, source, dest, 0, 1); | [
0.007207145914435387,
0.014857664704322815,
-0.010625163093209267,
0.0076405820436775684,
0.0022735814563930035,
-0.025298183783888817,
0.008691909722983837,
0.014084439724683762,
-0.01037679798901081,
-0.016554955393075943,
0.0062433406710624695,
0.018668511882424355,
-0.011740048415958881,... | [
-0.01950404979288578,
0.1555611938238144,
0.4615035355091095,
-0.37897729873657227,
-0.145473450422287,
0.47124335169792175,
0.14195504784584045,
-0.5782482028007507,
-0.17926356196403503,
-0.3573665916919708,
0.1321326196193695,
0.5138013362884521,
-0.2061745971441269,
0.281526654958725,
... |
I'm trying to create a specialized theme that would enable users to show a playlist of widgets in their sidebar. By playlist, I mean that each widget in the sidebar would follow a specific schedule. For example, one widget might be scheduled to show every day from 9AM-5PM, while another widget may be scheduled to show daily from 5PM-11PM. Is there a way this can be done such that the scheduling of individual widgets is handled by the theme itself? Thx. | [
0.010276908986270428,
0.0025761695578694344,
-0.016915444284677505,
0.015187200158834457,
0.010565287433564663,
0.006219848524779081,
0.009982123039662838,
0.02046097069978714,
-0.018109872937202454,
0.005025180988013744,
-0.030100122094154358,
0.006413697265088558,
-0.0033662940841168165,
... | [
0.8660683035850525,
-0.09441009908914566,
0.7311897277832031,
0.24809524416923523,
0.07186517864465714,
-0.35201358795166016,
-0.1764475703239441,
0.05986015871167183,
-0.5020712018013,
-0.4465339183807373,
0.09026695787906647,
0.3459922969341278,
-0.15207228064537048,
0.20970794558525085,... |
Assuming Higgs is found at 125 GeV.Is there any direct or indirect consequence on string theory ? Will it be a blow to string theory or models employing string theory ? Thanks Ps - I am just a curious pure maths student, so forgive me if my question makes no sense ! :) | [
-0.019295554608106613,
0.019956927746534348,
-0.009176861494779587,
0.023586304858326912,
0.030825495719909668,
-0.00802034605294466,
0.007822775281965733,
0.006789708510041237,
-0.017217131331562996,
-0.03234722092747688,
0.012648644857108593,
0.011562973260879517,
0.01377670094370842,
-0... | [
0.4513382613658905,
-0.16340209543704987,
0.5723507404327393,
-0.19167156517505646,
-0.21212737262248993,
-0.2069740891456604,
0.044053055346012115,
-0.2654690146446228,
-0.23653218150138855,
-0.11549545079469681,
-0.22374680638313293,
0.07505388557910919,
-0.563542366027832,
0.47993159294... |
I have been part of a push to implement better analytics on our company's web site over the last few months using Google Analytics. One request that has come in is for the ability to see clicks to outbound links (such as those to our Facebook page, Twitter feed, etc.) in the GA In-Page Analytics report. From my research, it looks like the only way to do this is by first redirecting the outbound link to an intermediate page, which will then immediately redirect to the external site (this is ASP.NET, so probably through Response.Redirect or something similar). For example, we would change our current Facebook link from facebook.com/ourcompanypage to something like (our company website).com/redirect.aspx?url=facebook.com/ourcompanypage. This way, to Google Analytics it will look like the person went to an internal page which will then appear in the In-Page analytics report. What I would like to know is if there are any potential issues using a redirect like this may raise, for example on things like SEO or usability? | [
-0.009468896314501762,
0.0023274878039956093,
-0.006383074913173914,
0.019127482548356056,
0.006089554633945227,
-0.011254173703491688,
0.008629296906292439,
-0.006028382573276758,
-0.012806851416826248,
-0.013146767392754555,
0.0034544561058282852,
0.0101469112560153,
0.010706671513617039,
... | [
0.414115309715271,
0.07675410807132721,
0.49441608786582947,
-0.14193092286586761,
-0.1566409021615982,
-0.0037258868105709553,
0.20051929354667664,
0.14342305064201355,
-0.4310791492462158,
-0.6806535720825195,
0.1730586141347885,
0.3475364148616791,
-0.07276607304811478,
0.17698231339454... |
I have this portfolio website containing some personal projects/algorithm implementations. I want to get attribution if and when other people use my code or snippets of it. I initially thought of using Creative Commons but, as CC itself points out, CC doesn't fit well with software/code distributions. I would've used CC0 but CC0 does not enforce attribution. So, is there a way for me to enforce attribution on my code ala CC? Including a copy of a FOSS license with every code distribution I have seems overkill--- the license itself might be longer than some of my codes. Will copyright claims on top of source codes work if I say there that attribution is required? | [
-0.003241769503802061,
0.0009132756385952234,
-0.023407047614455223,
0.014266818761825562,
-0.0002925707958638668,
-0.009568319655954838,
0.007234321907162666,
-0.007132893428206444,
-0.013803426176309586,
-0.01230664923787117,
-0.0004741206648759544,
0.005747463554143906,
-0.005601157899945... | [
0.8729427456855774,
0.44698965549468994,
0.26672983169555664,
0.4273020923137665,
-0.19279776513576508,
-0.7213563919067383,
-0.2200997918844223,
-0.16434937715530396,
-0.3377058207988739,
-0.14936035871505737,
0.24059553444385529,
0.2892038822174072,
0.01830616407096386,
0.605878531932830... |
What is the name of the common and oft-reimplemented game mechanics in which the level is a 2D grid consisting of obstancles, and the player can move from their current position in any direction (up, down, left, right) but will then move all the way until an obstancle stops him? One example of this game mechanic is the Slippery Ice Tile in the Pokémon games. | [
-0.014813428744673729,
0.02566080540418625,
-0.020693505182862282,
0.007093959022313356,
0.023972278460860252,
0.0007811621180735528,
0.009783480316400528,
-0.014244966208934784,
-0.023976126685738564,
0.031881529837846756,
-0.027142325416207314,
0.02752714231610298,
0.015001739375293255,
... | [
-0.3162596821784973,
-0.648475706577301,
0.2343045324087143,
0.6886323690414429,
0.1323217898607254,
-0.0467003658413887,
0.3060820996761322,
0.06455022096633911,
-0.40907713770866394,
-0.21311911940574646,
-0.1403755098581314,
-0.1579340398311615,
-0.16593211889266968,
0.18301819264888763... |
What options exist for doing something like this? I'm particularly interested in LaTeX that describes mathematics. | [
0.05427924916148186,
0.022129833698272705,
-0.04336216673254967,
0.013833776116371155,
0.049977611750364304,
-0.015826037153601646,
0.01689853146672249,
0.037035513669252396,
-0.057426538318395615,
-0.022506868466734886,
-0.00803107488900423,
-0.019719082862138748,
0.03566846624016762,
0.0... | [
0.6035817265510559,
0.1812993288040161,
-0.3109275698661804,
0.29163068532943726,
0.3535371720790863,
0.10654544085264206,
-0.05707866698503494,
0.10437872260808945,
-0.14430609345436096,
-0.4736749529838562,
0.24863706529140472,
0.437337189912796,
-0.0059980652295053005,
-0.03044914454221... |
What is the difference between the two sentences in each of the three cases? > 1A. I should like to have sat down. > > 1B. I should have liked to sit down. > > 2A. He acts as if he knows the subject. > > 2B. He acts as if he knew the subject. > > 3A. He felt better when she gave him medicine. > > 3B. He was feeling better when she gave him medicine. The first pair confounds me the most. | [
0.0019380406010895967,
0.022155964747071266,
-0.005179479252547026,
0.006055924575775862,
0.021803125739097595,
-0.003345061792060733,
0.010177877731621265,
-0.012557691894471645,
-0.013791094534099102,
0.0556180477142334,
-0.015974974259734154,
-0.00853719748556614,
0.007878666743636131,
... | [
0.16395142674446106,
0.19460929930210114,
-0.262154757976532,
-0.15708774328231812,
-0.6387850642204285,
0.4362674057483673,
0.5860388875007629,
-0.5342721343040466,
-0.31428825855255127,
-0.5644394159317017,
0.12689387798309326,
0.3135388493537903,
-0.46477535367012024,
-0.045179676264524... |
I don't understand the tense that is used with _until_. Here are some examples: > I had waited until the rain stopped. > I waited until the rain had stopped. > > Villagers had stayed indoors until the soldiers left. > Villagers stayed indoors until the soliders had left. | [
0.021170880645513535,
0.02350950799882412,
-0.013579490594565868,
0.02061770111322403,
0.003284717909991741,
-0.013897726312279701,
0.009103555232286453,
-0.03855714201927185,
-0.019025830551981926,
0.025321973487734795,
-0.00852492917329073,
-0.0031344827730208635,
0.0022939126938581467,
... | [
0.3546363115310669,
0.04530276358127594,
0.3280957043170929,
-0.4208380877971649,
-0.4865257441997528,
0.31271448731422424,
0.6250525116920471,
-0.03783157095313072,
-0.18441280722618103,
-0.5051774382591248,
0.11694415658712387,
0.014783017337322235,
-0.029040111228823662,
0.0615053884685... |
I am working on measuring variability of geotechnical data. I see in the literature it is mentioned that, non-stationary data should be first converted into stationary data (for example by trend removal), so that further statistical analysis can be done on the detrended stationary data. Also, it is mentioned that most of the statistical tools assume that the data is stationary, that is why it is important to make the non-stationary data stationary. My question is exactly where is this stationarity assumption is required, i.e., if my data is non-stationary and I still use statistical analysis which result is going to be in error? For example I'm finding the correlation coefficient of the data. If I go on using the non-stationary data will I get wrong value? Why? | [
-0.003861349541693926,
0.0258297361433506,
-0.012008333578705788,
0.022934475913643837,
-0.009951586835086346,
0.003260953351855278,
0.010828872211277485,
-0.0006860853172838688,
-0.00791117362678051,
-0.023958951234817505,
-0.007481939624994993,
0.011103477329015732,
-0.026953361928462982,
... | [
0.5280093550682068,
0.1526244580745697,
0.38524290919303894,
0.16627231240272522,
0.10715851187705994,
-0.1129487082362175,
-0.3654554486274719,
0.23524649441242218,
-0.13100704550743103,
-0.465176522731781,
0.17723043262958527,
0.526002049446106,
-0.025770556181669235,
0.5542207360267639,... |
I have a question with ArcGIS 9.2. In an attribute table the column [name] includes the name of every place in this layer. Next to that (in columns [numbers]) there should be recorded how often a place of this name is in the map. How can I calculate this values with VBA in the field calculator? I am really happy about every answer and every help. Thank you. | [
0.00965215265750885,
0.023109877482056618,
-0.009342891164124012,
0.012137055397033691,
-0.003610107349231839,
0.0027454488445073366,
0.008537990041077137,
0.025212179869413376,
-0.016449717804789543,
-0.0015955530107021332,
-0.007119119632989168,
0.017150986939668655,
0.009475878439843655,
... | [
0.4623403251171112,
0.1627565622329712,
0.13318324089050293,
0.2184378206729889,
-0.33453863859176636,
-0.3917289972305298,
0.36370420455932617,
0.19018425047397614,
-0.340822696685791,
-0.6371347308158875,
0.08171171694993973,
0.44421669840812683,
0.10216138511896133,
-0.14615724980831146... |
I would like to ask why the following sentence is only possible according to grammatical rules: > I'm reading a novel of Steinbeck's What's wrong with "I'm reading a novel of Steinbeck" or "I'm reading Steinbeck's novel"? | [
0.005565547849982977,
0.019456498324871063,
0.0016128523275256157,
0.03504522517323494,
-0.026168014854192734,
0.039721548557281494,
0.015147355385124683,
-0.010133340954780579,
-0.02466542273759842,
0.008947478607296944,
-0.0038859439082443714,
0.012381869368255138,
0.006339343264698982,
... | [
0.07252766937017441,
0.4374806880950928,
0.1254315823316574,
-0.04898658022284508,
-0.1539902240037918,
-0.16907164454460144,
0.42595651745796204,
0.45817819237709045,
-0.37765586376190186,
-0.4748575687408447,
-0.08357452601194382,
0.29488328099250793,
-0.23732641339302063,
0.214921191334... |
How to calculate transmission of hollow core photonic fibers (multilayer fiber and 2D band gap fiber)? Which books/article you can recommend ? I see that comsol can do it, but is there a model that runs faster maybe semi- geometrical approximation ? I dont see chapter about photonic fibers in the Agrawal book. | [
0.014217262156307697,
0.011882303282618523,
-0.012001258321106434,
0.02998868189752102,
-0.034755852073431015,
-0.05419350415468216,
0.013233141042292118,
-0.014949318952858448,
-0.029614249244332314,
-0.017296699807047844,
-0.004259495064616203,
0.021354449912905693,
-0.010749886743724346,
... | [
0.45815300941467285,
-0.22397644817829132,
0.3373618721961975,
0.37774527072906494,
-0.2213752269744873,
-0.4422094225883484,
-0.18712030351161957,
0.10263775289058685,
-0.17760680615901947,
-0.560697615146637,
-0.2030954509973526,
0.5978964567184448,
0.05950050801038742,
0.001931005506776... |
In Dwarf Fortress, dwarves who are in a strange mood will normally request an entire class of items (stone, metal bars, cloth). However, they can also specifically ask for adamantine wafers. The Masterwork mod adds iridium, which can be specifically requested in the same manner as adamantine. The problem is, any dwarf metalworker which goes into a strange mood asks for iridium, and uses that as the base material. This means that instead of getting artifact quality slademantine weapons, I'm getting artifact iridium weapons which are less than half as good. How can I prevent the dwarves from asking for iridium? I am familiar with modifying the raws, but have been unable to find any place where that is specified. | [
0.015021135099232197,
0.020219851285219193,
-0.01213030330836773,
-0.009626040235161781,
-0.006610379554331303,
-0.004756219685077667,
0.01210776437073946,
-0.006087727844715118,
-0.01814061403274536,
0.03401210904121399,
-0.01624521054327488,
0.017152100801467896,
-0.01548463199287653,
-0... | [
-0.16332080960273743,
0.250261515378952,
0.3134457468986511,
-0.020146433264017105,
-0.555579662322998,
-0.08058958500623703,
0.845420777797699,
-0.26047369837760925,
-0.12904052436351776,
-0.18303729593753815,
-0.28607702255249023,
0.489704430103302,
-0.15206435322761536,
0.24018043279647... |
What is the meaning of the tilde when specifying probability distributions? For example: $$Z \sim \mbox{Normal}(0,1).$$ | [
-0.0004276445251889527,
0.026351604610681534,
-0.016463929787278175,
0.03867194056510925,
-0.04793907329440117,
-0.016557643190026283,
0.013439218513667583,
-0.024018600583076477,
-0.020564908161759377,
-0.023454148322343826,
-0.01863245666027069,
-0.012784232385456562,
0.0003503142506815493... | [
0.31717026233673096,
-0.3209933340549469,
0.5296321511268616,
0.2036723792552948,
0.12072031199932098,
-0.17551936209201813,
-0.4361221194267273,
0.38119038939476013,
0.18242554366588593,
-0.12901507318019867,
-0.08237110823392868,
0.44369420409202576,
-0.4314054250717163,
0.21273291110992... |
How do you make postfix create maildir folders automatically for all users? I have these two lines in postfix main.cf, which supposed do create maildir folder after the first mail but it is not working. What am I missing? home_mailbox = Maildir mailbox_command = At the moment mail looks to sent, but nowhere to be found. | [
-0.02741635963320732,
0.008572288788855076,
-0.016739537939429283,
0.031341224908828735,
-0.018304642289876938,
-0.011473901569843292,
0.013657359406352043,
0.03575395420193672,
-0.03623996302485466,
0.005847583524882793,
-0.02762492373585701,
0.007959729991853237,
-0.01399973500519991,
0.... | [
0.3500002324581146,
0.10689537972211838,
0.17834646999835968,
-0.021006019786000252,
-0.13966967165470123,
-0.19771316647529602,
0.40319836139678955,
0.14067330956459045,
-0.46401652693748474,
-0.6387675404548645,
0.25710636377334595,
0.349393755197525,
-0.3317417502403259,
0.1758760511875... |
I have a point feature class and for each point I want to find the nearest vertex on a polyline feature class. I then want to create a line between each point and it's nearest vertex on the other layer. How is this done? If it can't be done with a polyline layer, I can also use a point layer in lieu. | [
0.013568148016929626,
-0.003597964532673359,
-0.024535225704312325,
0.004762781318277121,
-0.005822520703077316,
-0.01136262807995081,
0.00927793886512518,
0.023021405562758446,
-0.026524750515818596,
0.0018894519889727235,
-0.0048895180225372314,
0.015016322955489159,
-0.0000451296400569845... | [
0.22918272018432617,
-0.005009939894080162,
0.27680641412734985,
0.026136135682463646,
-0.14044401049613953,
0.03491678088903427,
0.15168003737926483,
0.07602309435606003,
0.010340896435081959,
-0.8002709746360779,
0.09488296508789062,
0.08772146701812744,
-0.19746015965938568,
0.423833549... |
I have an API which allows a user to update their system status; and a separate call to retrieve system status updates from other users. Would it make sense to unify them under a PUT request where a user would request a PUT update with their own status update, and they would receive the status updates of other users? My solution would allow the PUT request to call the GET request method internally. The reason behind this is that when a user updates their system status they should be informed of other users status immediately, and I don't feel that having 2 seperate requests is necessary - and should be optional. I intend to keep the GET request for other users status as a status update for a user is not necessarily required in order to retrieve other users status', but once they update their own status is it vital that they get information about other users. | [
-0.018614500761032104,
0.013906769454479218,
0.005532366223633289,
0.014140364713966846,
0.030514732003211975,
-0.02094218321144581,
0.00929017923772335,
-0.0026079893577843904,
-0.012470554560422897,
-0.016778282821178436,
-0.011356739327311516,
0.012796564027667046,
0.004881138913333416,
... | [
0.38977140188217163,
-0.11902634054422379,
0.34100860357284546,
0.023769918829202652,
0.008566537871956825,
0.059053272008895874,
-0.05407213047146797,
-0.217562735080719,
-0.05327669531106949,
-0.694678544998169,
0.13407771289348602,
0.6510912179946899,
-0.20139513909816742,
0.16522495448... |
## Background: I have a CSV file, which I need to ready and validate each element in each row and create a collection of a class, having valid data. i.e CSV File looks like: EmpID,FirstName,LastName,Salary 1,James,Help,100000 2,Jane,Scott,1000 3,Mary,Fraze,10000 Class looks like: public class Employees { public int EmpID { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Salary { get; set; } public string ErrorReason { get; set; } } Here are the validations required for each field: * EmpID: * Its a mandatory field, hence cannot be null or empty * It should be only an integer * It should be not more than 2 digits * It should be present in database (query that database and check if an employee exits with this empid. * FirstName (same validation for LastName): * Its a mandatory field, hence cannot be null or empty * It should be only alphabets. * Not more than 30 characters are allowed * Salary: * Its a mandatory field, hence cannot be null or empty * It should be a decimal. To achieve this, here is my approach: 1. Read CSV file row by row 2. For each element i.e EmpId, FirstName... etc **do the required validations by calling individual methods having validation logic.** eg: public bool ValidateIsDecimal(string value) { } public bool ValidateIsEmpIdExists(string value) { } etc 3. If valid, fill corresponding property of "Employees" class. 4. If NOT VALID, fill "ErrorReason" property, with appropriate reason as to what caused the validation to fail.(eg: Required filed was missing or datatype is not decimal etc) 5. Add this Class to Employees collection (eg: List) So, my question is, is this the right approach, or is there any other better/cleaner way of validating class properties. | [
0.004614874254912138,
0.016832593828439713,
-0.007483727298676968,
0.01845826767385006,
-0.000346506480127573,
0.027647443115711212,
0.005916408728808165,
0.011477806605398655,
-0.011507265269756317,
0.01079221535474062,
-0.0022174844052642584,
0.010541711933910847,
0.010675240308046341,
0... | [
0.2694527804851532,
-0.08870497345924377,
0.37708041071891785,
0.23653359711170197,
0.3934556841850281,
0.6186491250991821,
0.05074683204293251,
0.05904114246368408,
-0.3873097002506256,
-0.5734302997589111,
-0.11438611149787903,
0.1394069492816925,
-0.20677848160266876,
0.1292683780193328... |
I have a small python script which exports a set of data driven pages to PDF. This works fine, including appending each page to an 'all' pdf. My issue is that it creates rasters of each layer in the map. I can use something like CutePDF to print to a vector map, and that works great. Much smaller filesizes, but this is not easily done in a batch process. It requires you to choose the file name of each page manually. My question is this: Can you make Arcpy's ecport to pdf method actually use vector format for the content of the map. If not, is there a way to automate the printing to file, using cutePDF or something else? Cheers, Alex | [
-0.0037876605056226254,
0.01731349155306816,
-0.015973635017871857,
0.004038332030177116,
-0.028282655403017998,
0.004539487883448601,
0.0073912376537919044,
0.01411058846861124,
-0.022155843675136566,
-0.03809250146150589,
-0.003995135426521301,
0.01578107289969921,
-0.007329813204705715,
... | [
0.35055702924728394,
-0.1596410721540451,
0.1750856637954712,
0.14133279025554657,
-0.32503750920295715,
-0.188909649848938,
-0.1845526397228241,
0.058428432792425156,
-0.13828253746032715,
-0.742238461971283,
0.197214275598526,
0.7875900268554688,
-0.34155213832855225,
0.03038327395915985... |
I do not really like quests. In SWTOR how much of the storylines/quests do I need to do? I understand from the beta I had to do a long quest line to unlock the space ship and first companion. EDIT: I feel I should comment here to explain the reason for the question, because it seems apparent to me that if you ask three people why they play the game, you will get 3 different answers, and I can't understand why people are fighting over which one is correct - THEY ALL ARE. I play to socialise and to raid. I find it difficult to relate to the storylines of the quests and I do not like the railroading associated with storylines. Thank you all for information and answers. I have accepted the one I felt was best because that is the way the site works, but I think all the answers are valid and each one taught me something. | [
0.0032009019050747156,
0.012413791380822659,
0.010085889138281345,
-0.004840232897549868,
-0.0008511168416589499,
0.010291075333952904,
0.004335650242865086,
0.001455493737012148,
-0.014646604657173157,
-0.010490011423826218,
-0.007646641228348017,
0.018273286521434784,
0.005970832891762257,... | [
0.2644825577735901,
0.06150280311703682,
0.20523405075073242,
-0.04439723119139671,
-0.34370261430740356,
-0.30836838483810425,
0.13670594990253448,
-0.035837799310684204,
-0.3531781733036041,
-0.4255080223083496,
0.19202297925949097,
0.42235687375068665,
-0.059811968356370926,
0.238040640... |
I'm using ipython notebook with the following Tex code %%latex We begin with the formulation of Maxwell's Laws. \newline Once \begin{aligned} \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} The %%latex just creates a Tex environment. If I run the code, I get: We begin with the formulation of Maxwell's Laws. \newline Once ∇×B⃗ −1c∂E⃗ ∂t∇⋅E⃗ ∇×E⃗ +1c∂B⃗ ∂t∇⋅B⃗ =4πcj⃗ =4πρ=0⃗ =0 And the output is correct in that it's in columns, not rows. The problem is I don't know why the \newline is not creating another line. If try something like: %%latex \begin{document} We begin with the formulation of Maxwell's Laws. \newline Once \begin{aligned} \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} \end{document} it still doesn't work. Am I missing some begin-end statements? Do I have to initialize anything? | [
0.02186325564980507,
0.020388584583997726,
-0.008039120584726334,
0.0069957030937075615,
-0.0027177720330655575,
0.00790485180914402,
0.00781535729765892,
0.009041817858815193,
-0.011782312765717506,
-0.00123689416795969,
-0.006908805575221777,
0.011583421379327774,
-0.021318845450878143,
... | [
-0.18639032542705536,
-0.02688579075038433,
0.6109076142311096,
0.05758804455399513,
0.11010001599788666,
0.3498057723045349,
-0.05484602972865105,
-0.12042015045881271,
0.16866497695446014,
-0.8233456611633301,
0.23851779103279114,
0.30368977785110474,
-0.39370036125183105,
0.152036279439... |
I would like to create a custom list environment that collects the contents of these lists and places it at the beginning of the document. \begin{objectives} \item See no evil. \end{objectives} lots of stuff 1 \begin{objectives} \item Hear no evil. \end{objectives} lots of stuff 2 \begin{objectives} \item Speak no evil. \end{objectives} lots of stuff 3 I would like the objectives environment to be defined so that the commands above have the same effect as \begin{enumerate} \item See no evil. \item Hear no evil. \item Speak no evil. \end{enumerate} lots of stuff 1 lots of stuff 2 lots of stuff 3 (The reason I can't just move the objectives to the start of the document manually is that my content is spread across multiple files that will be combined a la carte.) I know I can use the `collect` package to obtain the list at the end of the document by defining \usepackage{collect} \definecollection{ob} \newenvironment{objective}{% \collect{ob}{}{}}{\endcollect} ..earlier content.. \begin{enumerate} \includecollection{ob} \end{enumerate} It seems that a solution would need to depend on `\immediate\write\tempfile{}` to create a temporary file to store the contents. However, each of my attempts to create a temporary file will only succeed if I place the list at the end. I know it is possible to collect content to be placed at the beginning of a document because a table of contents or a list of figures does just that. I haven't been able to make heads or tails of the code in the `todonotes` package or `tocloft` package. Could you please point me in the right direction? | [
0.00845264457166195,
0.003748822258785367,
-0.0059054456651210785,
0.008905336260795593,
0.010325755923986435,
0.011773898266255856,
0.005111180245876312,
0.024783510714769363,
-0.011346067301928997,
0.007701749447733164,
-0.0073437560349702835,
0.004096781834959984,
-0.00033679057378321886,... | [
0.4528020918369293,
0.35868266224861145,
0.26816362142562866,
-0.0026746978983283043,
-0.09019055962562561,
-0.17740516364574432,
0.5784990191459656,
0.015632428228855133,
-0.04566556587815285,
-0.45442190766334534,
-0.11499994248151779,
0.7604252099990845,
-0.5932608842849731,
-0.25574308... |
What is the best way to accurately calculate bandwidth needed for my site? I have come across several formulas and wondering what one is the most accurate? Here are a couple examples: (Average Daily Visitors x Average Page Views x Average Page Size) + (Average Daily File Downloads x Average File Size) x 31 x Fudge Factor Source and amount of visitors * the size of one page = total bandwidth needed Source So what is the best way? Thanks! | [
-0.01590617559850216,
0.010962201282382011,
-0.02584424428641796,
0.005518741440027952,
-0.014629507437348366,
-0.012681317515671253,
0.010495240800082684,
-0.04187512770295143,
-0.023670252412557602,
-0.029400823637843132,
0.0035932292230427265,
0.008425615727901459,
-0.005201916676014662,
... | [
0.6210210919380188,
0.16882428526878357,
0.538877010345459,
0.3645244240760803,
-0.2532559335231781,
-0.21076683700084686,
0.26810482144355774,
-0.006407283712178469,
-0.24672625958919525,
-0.5982837677001953,
0.4569201171398163,
0.6815697550773621,
0.0008574654930271208,
0.175116091966629... |
I am preparing a document in detail showing light on the boot sequence of Linux right from pressing of Power-on button the host to the login prompt appearance. It would be great if we could combine and collate that right answers here into a single place of reference. Please include any details worth possible to note during the startup. Once the document gets complete from all the points, I will post the document details here as well and update the link in the question. Please consider all possible scenarios like booting from disk, booting from usb, booting from network on a disk-less client where the rootfs(/) is on network. | [
0.0022961022332310677,
0.006780760828405619,
0.010663621127605438,
0.01220907922834158,
-0.03071034513413906,
0.003758377395570278,
0.005191059783101082,
0.02014712244272232,
-0.011600318364799023,
0.003847185056656599,
-0.0035717955324798822,
0.0015460345894098282,
-0.0033632158301770687,
... | [
0.41623711585998535,
0.03695686534047127,
0.19251815974712372,
0.17127934098243713,
0.16569028794765472,
-0.05694257467985153,
0.1118151843547821,
0.0702442079782486,
-0.05286094546318054,
-0.918462872505188,
-0.22024497389793396,
0.7536646127700806,
0.0959162786602974,
0.11966521292924881... |
Asked this on superuser, got no response: Can anyone tell me of the status/state of WLM (Workload Management) kernel scheduler systems in Linux? Alternatively, any user-space process goal-based load management programs? This is a good start, but I'm not aware if these proposals are implemented? http://www.computer.org/plugins/dl/pdf/proceedings/icac/2004/2114/00/21140314.pdf http://ckrm.sourceforge.net/downloads/ckrm-linuxtag04-paper.pdf AIX has inclusive WLM, anything comparable for Linux? | [
0.012577876448631287,
0.0007880122866481543,
0.011056385934352875,
0.021530859172344208,
-0.0016013202257454395,
-0.008052452467381954,
0.006603976711630821,
0.003299142699688673,
-0.014691618271172047,
0.009391759522259235,
-0.0065910182893276215,
0.007665395271033049,
0.010439264588057995,... | [
0.1690250039100647,
-0.1927414983510971,
-0.008216758258640766,
0.10828601568937302,
-0.3444615304470062,
-0.2806051969528198,
0.007480330765247345,
-0.06466840952634811,
-0.2798348069190979,
-0.3257656395435333,
-0.09738320112228394,
0.20718428492546082,
-0.04322520270943642,
0.1613324135... |
I bought a Nexus 4 (LG E960) yesterday, and from the first moment there was a problem that it did not accept touch in the line of the volume down button. In a horizontal line, half a centimeter (1/5 inch) high, in the full width of the screen. If I tried to click in the line, it happened above or below. If I tried to slide a widget through the barrier, there was a visible jump. If I tried to sroll a list, it was interpeted as scroll-stop-click. So a random list item was selected. Quite disturbing. I was sure it was a hardware problem, because the line was at the same place when I held the phone horizontally. Then suddenly the problem was gone, scrolling, sliding was smooth again. For 2 hours. This morning the line was misbehaving again. Now it works fine. I have no idea what triggers the bad behavior, and what stops it. What could I do? If I take it back to the shop, they will sit on it for a week, and they might not even encounter the problem, much less solve it. Did anyone have similar problems? | [
-0.018338073045015335,
-0.008198707364499569,
-0.00957694835960865,
0.0076717291958630085,
-0.03233543410897255,
-0.007172937970608473,
0.006414991337805986,
0.027256876230239868,
-0.010416513308882713,
0.004690301604568958,
-0.006339930463582277,
0.006185978185385466,
0.00498165562748909,
... | [
-0.058918293565511703,
-0.29199764132499695,
0.9690101146697998,
0.3299935758113861,
-0.15905657410621643,
0.3244682252407074,
-0.06953050941228867,
-0.09811723232269287,
-0.3327745497226715,
-0.41449862718582153,
0.4261811077594757,
0.7138345837593079,
-0.49796441197395325,
0.136490687727... |
I was watching a VOD (I can't recall which one) and Luminous showed some extra information about skills like range, type of damage and etc. Things that the interface don't really say. I think the text would show in green in the tooltip box like the aghanim's info. He said that pressing 'o' would show that information and that it was very useful, but I went to dota and pressed 'o' and nothing happened. I don't have any commands attached to the 'o' key and I didn't found any option in the controls menu like "show extra info" or something like that. The information the interface provides to you about the skills and the items isn't really that specific to the point of saying if the some abilities have orb effect or can stack with orbs and that kind of stuff. Does anyone knows how to show this information? | [
-0.0024284354876726866,
0.0014943403657525778,
0.00196476629935205,
-0.005030044820159674,
-0.02726249024271965,
0.008707002736628056,
0.00908038578927517,
0.01773844100534916,
-0.013678936287760735,
0.032055310904979706,
-0.010678019374608994,
0.005636133253574371,
0.0006808382458984852,
... | [
0.5195003747940063,
0.08515680581331253,
-0.0971965417265892,
0.08786607533693314,
-0.2643735110759735,
0.1739894151687622,
0.35937854647636414,
-0.21228401362895966,
0.08260814845561981,
-0.4972161054611206,
0.2619285583496094,
0.705182671546936,
0.004937263205647469,
-0.01472783274948597... |
I've been flashing my LG Optimus L7 numerous times with various Custom ROMs and now I'd like to return to the official firmware. I've factory reset my phone, flashed the v20D official firmware with KDZ tool and then I did another factory reset. However, I've read that the factory reset only wipes /data and /cache folders (user-accessible data), while /system and /boot remains the same. The questions: 1. I've flashed the official firmware using the KDZ tool with the EMERGENCY phone mode. After flashing, some of the old settings remained which were gone after a factory reset. As I understand, flashing the phone with a firmware doesn't wipe /system or /boot, right? Therefore some of the files from the previous custom ROM remain. 2. What should I do now to fully clean my phone from all custom ROMs? I've already flashed the original firmware and did several factory resets, but I know the reset doesn't touch /system and /boot, for example. How do I completely clean my phone? Is it even possible? | [
0.0050676618702709675,
-0.0018954938277602196,
-0.011539041996002197,
0.012847953476011753,
-0.03987201303243637,
0.007209578063338995,
0.009107529185712337,
-0.0022867973893880844,
-0.01459646038711071,
0.012475001625716686,
-0.012774215079843998,
0.01466116588562727,
0.008930820971727371,
... | [
0.4774268865585327,
0.13800573348999023,
0.443374902009964,
-0.22778452932834625,
-0.33052006363868713,
0.1726989597082138,
0.1940259039402008,
0.17258329689502716,
-0.2841116189956665,
-0.6156367659568787,
0.03483397141098976,
0.7852877974510193,
-0.3421008288860321,
-0.210641548037529,
... |
As we know libraries are precompiled codes, so we do not need to compile them. Can we call library functions of one language from a different language? | [
0.029914911836385727,
0.048021350055933,
0.023864204064011574,
0.01330723986029625,
0.014216331765055656,
0.03052450902760029,
0.01725120283663273,
-0.00120353524107486,
-0.03041137382388115,
0.016877785325050354,
0.006493533495813608,
0.03625890612602234,
0.02809801511466503,
-0.002730617... | [
0.4214578866958618,
-0.06443793326616287,
-0.16745667159557343,
0.42615747451782227,
0.10825087130069733,
0.0402190275490284,
0.11415907740592957,
-0.05134447664022446,
-0.26259490847587585,
-0.38262081146240234,
-0.24673043191432953,
0.4454982876777649,
-0.21062374114990234,
0.03335631638... |
I would like to construct a Matrix using the Table[] command. The issue is that I would like to use more than one expression for it. What I need to obtain is something like this : {{f[1, 1], g[1, 1], f[1, 2], g[1, 2]}, {f[2, 1], g[2, 1], f[2, 2],g[2, 2]}} I tried to write a table containing the two expressions f[i,j] and g[i,j] inside the Table[] command but without success... What I obtain instead is something like this : In[8]:= Table[{f[i, j], g[i, j]}, {i, 2}, {j, 2}] Out[8]= {{{f[1, 1], g[1, 1]}, {f[1, 2], g[1, 2]}}, {{f[2, 1], g[2, 1]}, {f[2, 2], g[2, 2]}}} What would be the correct syntax to construct these type of matrices? Or am I completely wrong trying to use the Table[] command? | [
0.006757077760994434,
0.013905003666877747,
-0.007995033636689186,
0.0011539445258677006,
-0.0026253785472363234,
0.011661126278340816,
0.004187262617051601,
0.0009851516224443913,
-0.014278882183134556,
-0.007915496826171875,
-0.002694198861718178,
0.006303810514509678,
-0.01896491646766662... | [
0.15891027450561523,
0.21045129001140594,
0.31839945912361145,
-0.21548987925052643,
-0.04367874190211296,
0.31076332926750183,
0.09526409953832626,
-0.3949928879737854,
0.0006065568304620683,
-0.40052053332328796,
0.06411098688840866,
0.5045099854469299,
-0.5581571459770203,
-0.2636179924... |
I have a dataset (data1.csv) that contains some missing data ** . ** (missing at random), I am creating a subset from this dataset (d1) such that only complete observations are retained in d2. I am using the **ftable** , **as.data.frame** function and creating a column **p** that represent the percentage of each combination. d1 = read.csv("C:/Users/....../Data1.csv",header=T) d1[d1=='.'] <- NA d2=na.omit(d1) d3= ftable(d2) d4=as.data.frame(d3) d4$p The function **ftable** , **as.data.frame** works fine but the problem is I still see missing data in my results (d4). I thought I got rid of this when i did d1[d1=='.'] <- NA d2=na.omit(d1) So need help getting rid of missing values and doing frequency table only with complete observations | [
0.010205312632024288,
0.015634240582585335,
-0.004803747404366732,
0.010189492255449295,
0.0044878628104925156,
-0.0010109774302691221,
0.005827134475111961,
0.0053990911692380905,
-0.01243339478969574,
-0.0021331917960196733,
-0.002578787738457322,
0.001129769254475832,
0.010068593546748161... | [
0.406290739774704,
0.2503741979598999,
0.3699977993965149,
-0.08970113843679428,
0.26034680008888245,
0.07745170593261719,
0.05504317581653595,
-0.2843055725097656,
-0.2950027883052826,
-0.6036364436149597,
-0.18630090355873108,
0.09631890803575516,
-0.3218524754047394,
0.2797658145427704,... |
I'm reading a book about `Distributed Systems (Computer Engineering)`. I faced with following context : > Full transparency will **_cost performance_** , exposing distribution of the > system What does "Cost" mean? | [
0.000588956056162715,
0.007112238090485334,
0.0010011789854615927,
0.02521449513733387,
-0.026086749508976936,
-0.05652012676000595,
0.012398057617247105,
0.018592601642012596,
-0.01920565403997898,
-0.004901960026472807,
-0.0001976443745661527,
0.025151653215289116,
0.02754659205675125,
0... | [
0.56632000207901,
-0.17603906989097595,
-0.04326662793755531,
0.4152851104736328,
-0.1390720009803772,
-0.22132743895053864,
0.054337095469236374,
0.10166455805301666,
-0.251674085855484,
-0.4876561760902405,
0.13910987973213196,
0.5032925605773926,
-0.034517738968133926,
0.479941159486770... |
> **Possible Duplicate:** > Why shouldn't we say "an user"? I've personally seen the indefinite article `an` coming before consonants in many places whereas I think that should be a mistake. I'm wondering if that's the case or using `an` before consonants is grammatically a mistake? For example consider this: > Insert an user into the database. Taken from Worepress Trac (line `1028`). | [
-0.008975261822342873,
0.004840899724513292,
-0.010052505880594254,
0.01293747778981924,
-0.01860591396689415,
-0.00756491906940937,
0.007767850998789072,
-0.012785792350769043,
-0.008199055679142475,
-0.018048902973532677,
0.0004918650956824422,
0.0023818721529096365,
-0.0005274226423352957... | [
0.0856546089053154,
0.27326396107673645,
0.15789461135864258,
-0.219930499792099,
-0.01057635247707367,
0.3361058831214905,
0.38769638538360596,
0.23505671322345734,
0.07152842730283737,
-0.629664957523346,
-0.029088618233799934,
0.3777979910373688,
-0.13901400566101074,
0.0186018105596303... |
Half my clan has 3/4 body parts of the Red Uniform Set and we're interested in joining Diamond Division. In case we do join the Diamond Division, would we be capable of winning 1st item of the Yellow Uniform set and 4th item of the Red Uniform Set (for those who don't have it)? | [
-0.02085583098232746,
0.030845312401652336,
-0.005078241694718599,
0.01303831860423088,
-0.04905186966061592,
0.03302612155675888,
0.011437696404755116,
0.02064218372106552,
-0.03100869245827198,
-0.010073269717395306,
-0.00831215176731348,
0.019425321370363235,
0.017427127808332443,
0.014... | [
0.5720799565315247,
-0.2305520623922348,
0.08419851958751678,
-0.05186835303902626,
-0.3405700623989105,
0.1587733030319214,
0.5776349306106567,
-0.1945314258337021,
-0.30351680517196655,
-0.3195887506008148,
0.1494397521018982,
0.3052004277706146,
0.08490719646215439,
-0.10823428630828857... |
I am using \newcommand{\PRODUCT}{\textsf{PRODUCT}} to format a product name consistently throughout my document. However, I realized that this should not happen in (((sub-)sub-)sub-)section titles, but there really should just the text be printed without formatting, as in \newcommand{\PRODUCT}{PRODUCT} How can I have a command result in different outputs depending on where it is used in the document? | [
-0.009986813180148602,
0.017553793266415596,
-0.007294950075447559,
0.036910511553287506,
-0.034986816346645355,
0.022955818101763725,
0.008168395608663559,
0.004846041556447744,
-0.017696861177682877,
-0.03581215813755989,
-0.030125023797154427,
0.009886129759252071,
0.014125685207545757,
... | [
0.39106231927871704,
0.2513258159160614,
0.5726895928382874,
-0.20968423783779144,
-0.040606800466775894,
-0.004656640347093344,
-0.020858021453022957,
-0.1032324731349945,
-0.19632524251937866,
-0.5423736572265625,
-0.18359719216823578,
0.40966472029685974,
-0.09438926726579666,
0.2355592... |
I'm using the `knitr` package for putting my `R` output into PDF. I have two problems using `xtable`: 1. When my table data has chars like this: `[`, `]` in them, the conversion from `.tex` to `.pdf` fails with error 2. When I use the package `seqinr:stresc()` to escape such chars, I'm able to get the content at least displayed (better than the situation 1 above). But remains the problem that the final PDF ends up displayed like this: `\lbrack{}ABD\rbrack{} r22` instead of displayed like this: `[ABD] r22`. Could anyone throw some light on how we can get this solved? | [
0.020792275667190552,
0.01362693216651678,
-0.010566048324108124,
0.014038152992725372,
-0.006869091652333736,
0.022520761936903,
0.007917797192931175,
0.0020466214045882225,
-0.012266375124454498,
-0.026102237403392792,
-0.0034831929951906204,
0.0017740455223247409,
-0.009887665510177612,
... | [
0.12185823917388916,
0.455517441034317,
0.67672199010849,
-0.2093302607536316,
-0.4535588324069977,
-0.055414095520973206,
0.24047772586345673,
-0.20944686233997345,
-0.1049642562866211,
-0.5493446588516235,
-0.05390942841768265,
0.9514277577400208,
-0.19537360966205597,
0.2618269026279449... |
I tried to root my Galaxy s2 Sprint. I turned my phone off and went to downloading mode, then I turned the odin and connected my phone to pc. After it, i hit start and nothing happened except saying "do not turn off the target." So I waited an hour and nothing happened or downloaded. SO i though theres so glitch in odin so i unplugged it and turned it off. Then tried to turn it on but it didn't. The screen is black on the blue light on. I tried to go back to downloading mode but it didn't respond. Now I can't turn it on or charge. When I stated to root my battery was full. | [
0.000035279663279652596,
-0.007039213553071022,
-0.005520807579159737,
0.0060210213996469975,
-0.014955108053982258,
-0.020954551175236702,
0.008037097752094269,
-0.008395175449550152,
-0.011078954674303532,
0.0041208453476428986,
-0.022711260244250298,
0.020250046625733376,
0.00184146536048... | [
0.2575923502445221,
-0.23443937301635742,
0.406483918428421,
-0.15155448019504547,
-0.6644726991653442,
0.12025517225265503,
0.5318124890327454,
0.25193139910697937,
-0.07852371782064438,
-0.6860668659210205,
0.3252062201499939,
0.738347053527832,
-0.18576113879680634,
0.006110904738306999... |
I logged in for the first time, opened terminal, and typed in ‘hostname’. It returned ‘localhost.localdomain.com’. Then I logged as the root user in terminal using the command, ‘su –‘, provided the password for the root user and used the command ‘hostname etest’ where etest is the hostname I’d like my machine to have. To test if I got my hostname changed correctly, I typed ‘hostname’ again at terminal and it returned etest. However, when I restart my machine, the hostname reverts back to ‘localhost.localdomain.com’. Here are the entire series of commands I used in terminal. [thomasm@localhost ~]$ hostname localhost.localdomain [thomasm@localhost ~]$ su - Password: [root@localhost ~]# hostname etest [root@localhost ~]# hostname etest I had run into the same problem when I set up RHEL and Ubuntu OS’s with VMPlayer. | [
0.012579524889588356,
0.0011520326370373368,
-0.0028985748067498207,
-0.0033343471586704254,
-0.03546007722616196,
0.017458632588386536,
0.0091538205742836,
0.013173908926546574,
-0.014222482219338417,
-0.01045594085007906,
-0.0010728503111749887,
-0.0008840705850161612,
0.003407603595405817... | [
-0.2616194486618042,
-0.27601122856140137,
0.564871609210968,
0.0368097648024559,
0.19922080636024475,
0.13040000200271606,
0.44838061928749084,
0.7314250469207764,
-0.3467559814453125,
-1.0452430248260498,
0.03914852440357208,
0.6777518391609192,
-0.07174834609031677,
0.536903977394104,
... |
How do companies that provide free (as in beer) software make money? I'm thinking of things like Linux distros, as some even provide free overseas shipping! | [
0.009954169392585754,
0.005483968649059534,
-0.009706864133477211,
0.03618340194225311,
-0.016915863379836082,
0.012753115966916084,
0.014368372969329357,
0.01805713213980198,
-0.03400154411792755,
0.007113054860383272,
-0.01731484942138195,
0.01937234401702881,
0.014514399692416191,
-0.01... | [
0.7669153213500977,
0.36904504895210266,
-0.12872004508972168,
0.17097489535808563,
0.23477068543434143,
-0.07882048189640045,
-0.08373431861400604,
0.6065946817398071,
-0.5442653298377991,
0.04340163245797157,
-0.026602989062666893,
0.31571251153945923,
0.28634878993034363,
0.127345338463... |
Is it possible to enable some container below the map with JVectorMap? I have some links for all states which needs to appear when user clicks on state. I am new with Javascript so please help me. For example, I have three links which needs to show when user clicks on Florida: www.google.com http://gis.stackexchange.com ebay.com How to define those links to be related to Florida? Links need to appear in the container when user clicks on that state. | [
-0.011901089921593666,
-0.0013782577589154243,
-0.0003427247575018555,
0.009844345971941948,
0.01788085512816906,
-0.004807857796549797,
0.0096129784360528,
-0.001401682966388762,
-0.02420882135629654,
0.0038480430375784636,
-0.0012974953278899193,
0.014624124392867088,
-0.010581711307168007... | [
0.6477270126342773,
0.03593873232603073,
0.6278626322746277,
0.1631150096654892,
0.20741692185401917,
-0.10296523571014404,
-0.11359426379203796,
0.0059352717362344265,
-0.5146653652191162,
-0.797756552696228,
0.45516419410705566,
0.44438400864601135,
-0.3179336488246918,
0.443224579095840... |
I'm thinking of applying to do a PhD in String Theory. I'm gradually learning more about the subject through external reading, but still most papers are impenetrable. Could anyone give me a description of the areas of current String Theory research that would be accessible for a doctoral student? Are there any particular open problems that might be worth getting to know? Also any general advice on how to choose a PhD topic would be most welcome. | [
-0.011361740529537201,
0.019234783947467804,
-0.011595664545893669,
0.022080427035689354,
0.015248460695147514,
-0.0041923606768250465,
0.006502860691398382,
0.006532265339046717,
-0.019582312554121017,
-0.03859461098909378,
0.005228933412581682,
0.008755628950893879,
-0.014402438886463642,
... | [
0.7545246481895447,
0.16028685867786407,
0.14870652556419373,
0.03675725683569908,
0.26664450764656067,
-0.21563611924648285,
0.06402747333049774,
0.3562789559364319,
-0.34372377395629883,
-0.22770780324935913,
0.1563042402267456,
0.18673370778560638,
0.26048436760902405,
0.415601342916488... |
The propagator of a QFT is known to have a branch cut as a function of the (complex) external momentum. The branch point (as done by, say, Peskin & Schroeder in eqn.7.19 section 7.1) is identified as the root of the argument of the logarithmic piece. Is this not a scheme dependent piece? At least, at the outset it looks so and it is also the same that one gets under dimensional regularization. Is there a general argument to prove that it is scheme independent? | [
-0.004711298272013664,
-0.0013976739719510078,
0.0010841481853276491,
0.02453567460179329,
0.002763020806014538,
-0.010443765670061111,
0.008171092718839645,
0.018238117918372154,
-0.014944309368729591,
-0.03805617615580559,
-0.02632719650864601,
0.010252900421619415,
-0.010381357744336128,
... | [
-0.14015337824821472,
-0.4395444989204407,
0.42692241072654724,
-0.13757550716400146,
-0.4571062922477722,
0.4054391086101532,
-0.2478669136762619,
-0.5279259085655212,
-0.1222894936800003,
-0.126643106341362,
-0.10078540444374084,
0.5511718988418579,
-0.4833471477031708,
0.240616798400878... |
I'm working on a WP_Query using the Modern Tribe Events Calendar My problem is with pagination. Is this the incorrect way to paginate the WP_Query or could there be another method for paginating the Events Calendar? I found a tutorial that uses the WPNavi plugin but I would like use core wordpress functions. <?php $upcoming = new WP_Query(); $upcoming->query( array( 'post_type'=> 'tribe_events', 'eventDisplay' => 'upcoming', 'posts_per_page' => 1) ); if ($upcoming->have_posts()) : while ($upcoming->have_posts()) : $upcoming->the_post(); ?> <?php tribe_get_template_part( 'list/single', 'event' ) ?> <?php endwhile; else : echo 'no upcoming events'; endif; wp_reset_query(); ?> <div class="navigation"><p><?php posts_nav_link(); ?></p></div> | [
0.007564701605588198,
0.011689300648868084,
0.0007914475281722844,
0.011844469234347343,
-0.003016422502696514,
0.01777704991400242,
0.010693519376218319,
0.0226559117436409,
-0.015575036406517029,
0.0015210211277008057,
-0.002495270688086748,
0.018537726253271103,
-0.009667500853538513,
0... | [
0.1360895037651062,
-0.17396268248558044,
0.2866000831127167,
0.014550792053341866,
-0.004954065196216106,
0.03733240067958832,
0.30440038442611694,
-0.10099826008081436,
-0.1805596649646759,
-0.9026085734367371,
0.3114854693412781,
0.331179678440094,
-0.22596484422683716,
0.35947418212890... |
In Data Mining course, we are taking 3-4-5 Rule to segments the data uniformly. I'm trying to understand these lines below, and how they are linked to the graph below too. > If an interval covers 3, 6, 7 or 9 distinct values at the most significant > digit, partition the range into 3 equi-width intervals > > If it covers 2, 4, or 8 distinct values at the most significant digit, > partition the range into 4 intervals > > If it covers 1, 5, or 10 distinct values at the most significant digit, > partition the range into 5 intervals Why did we partitioned step 3 into 3 intervals and step 4 to 4 intervals? The graph:  Would really appreciate it if someone could help explaining my question above. Thanks! | [
0.006033006589859724,
0.0107166962698102,
-0.03124838136136532,
0.00765604805201292,
-0.015764793381094933,
0.007287224754691124,
0.011370930820703506,
-0.0026109772734344006,
-0.018404144793748856,
-0.015743643045425415,
-0.0020216433331370354,
0.00488959439098835,
-0.010746900923550129,
... | [
-0.010572032071650028,
-0.10749667137861252,
-0.05275757610797882,
0.19403688609600067,
0.23524843156337738,
-0.03474527969956398,
0.22115178406238556,
-0.5411942005157471,
-0.29715093970298767,
-0.5229963064193726,
-0.27940288186073303,
0.31143510341644287,
-0.01137860119342804,
-0.007235... |
How can I display the font size in use at a particular point of the document. For example, in the following code, I produced a PDF file showing the fonts actually used for each shape and size, \documentclass{article} \usepackage{fontspec} \usepackage{pgffor} \usepackage{xcolor} \definecolor{mred} {cmyk}{0,1,1,0.6} \definecolor{mblue}{cmyk}{1,1,0,0.2} \setmainfont{Minion Pro} \long\def\testfont{ \foreach \size in {normalsize, Large, Huge} {\csname\size\endcsname\testshape}} \long\def\testshape{ \vskip\baselineskip \csname\size\endcsname\size \vskip\baselineskip \foreach \shape in {up, it, sc, bf} {\par\csname text\shape\endcsname { \textcolor{mred}{\directlua{tex.print(font.fonts[font.current()].fullname)}} \textcolor{mblue}{\shape} }} \vskip\baselineskip} \begin{document} \pagestyle{empty} \flushleft \rmfamily\testfont\vfill \end{document} This will produce the following. (as you see `fontspec` or `luaotfload` does not select correct optical fonts, see my answer for Using MinionPro for the main font and Fontspec for the monospaced font of how to workaround this) My question is that, instead of print "normalize", "Large", "Huge", I would like to print things like "10pt" or just "10", so I can see the actual font size, just like in this example I can see the actual fonts used. I know this can be done with things like Acrobat. But in that way, one has to click numerous times of his mouse to examine the fonts. I would prefer a more automatically way, similar to the way I print the fonts names in the example. Many thanks in advance.  | [
-0.0025343354791402817,
0.004963788203895092,
-0.006832332815974951,
0.013709738850593567,
0.008828534744679928,
0.0008538595866411924,
0.007350089028477669,
-0.0021727385465055704,
-0.014344166032969952,
-0.017328700050711632,
-0.006297724787145853,
-0.00601688027381897,
0.00933137722313404... | [
0.01937926933169365,
0.10676597058773041,
0.5920413136482239,
0.024997293949127197,
0.22651700675487518,
0.24976463615894318,
-0.06924723833799362,
-0.5400940775871277,
-0.053465016186237335,
-0.8397473692893982,
0.1604892909526825,
0.26510414481163025,
-0.01865493506193161,
-0.17093193531... |
I'm writing an essay on metaphors. I have the following section: > A final **connection** between Atticus Finch and a suit of armour is their > ability to carry others’ skins. A suit of armour holds people inside it; in > **contrast** , Atticus walks inside others’ skins, which is a metaphor for > being empathic. Atticus and armour are both similar and dissimilar at certain degrees (regarding the "ability to carry skins"). How can I express the slight difference subtly, while emphasizing they are also similar? | [
-0.0038558223750442266,
0.029356785118579865,
-0.014115732163190842,
0.012111223302781582,
0.0065988339483737946,
-0.022422008216381073,
0.012924907729029655,
-0.0184433963149786,
-0.015570536255836487,
0.005618631839752197,
-0.028751321136951447,
0.018653152510523796,
0.014744079671800137,
... | [
0.2822299301624298,
-0.36777496337890625,
-0.04961897432804108,
-0.006516007706522942,
-0.4143497943878174,
0.6003889441490173,
0.3504798710346222,
-0.12268772721290588,
-0.33288872241973877,
-0.7408152222633362,
-0.019051793962717056,
-0.017320459708571434,
-0.14588244259357452,
-0.363598... |
I have a search box in my header, which shows the results in a page called search.php. The search itself is working, but pagination is not. So when I click to go to the next page, the front-page.php template is shown. The link for page 2 is `http://www.mydomain.com/page/2`, which structurally looks correct. Can anybody who has experience with this please give me some pointers? Thanks. <div id="header-search"> <form name="search" action="<?php echo home_url(); ?>" id="search" method="POST"> <input type="text" id="s" name="s" value="Search..." /> <input type="submit" id="submit" name="submit" value="Go..." /> </form> </div> Here is a Pastebin containing my `loop-index.php` file that is used by `search.php`. | [
-0.010905840434134007,
0.003116962965577841,
0.0025804650504142046,
0.009119126945734024,
-0.0105363167822361,
-0.003305794671177864,
0.008467613719403744,
-0.011224621906876564,
-0.017918158322572708,
-0.008807533420622349,
-0.008570962585508823,
0.008405635133385658,
-0.010532483458518982,... | [
0.5749917030334473,
0.2933993637561798,
0.535106360912323,
-0.254751056432724,
-0.013522005639970303,
-0.2998674511909485,
0.26535674929618835,
-0.44992268085479736,
-0.09102863073348999,
-0.39580413699150085,
0.29138243198394775,
0.15265904366970062,
0.01966787688434124,
0.131551027297973... |
I thought it'd be frightfully easy to find the etymology of this cliche on the Internet, but so far I haven't had any luck! It wont even tell me if its a maxim or not! | [
0.02844509668648243,
0.01861703209578991,
0.007364042568951845,
0.028693746775388718,
0.005717741325497627,
0.00010561002272879705,
0.004752373322844505,
-0.01309240236878395,
-0.03187750652432442,
-0.023462822660803795,
-0.006036058533936739,
0.023976780474185944,
0.007900792174041271,
0.... | [
0.9268379807472229,
0.5629543662071228,
-0.02415214665234089,
-0.001854957197792828,
-0.2784406244754791,
-0.5816375017166138,
0.8638355731964111,
0.32406559586524963,
0.2848165035247803,
0.07985808700323105,
-0.01277487725019455,
0.031186217442154884,
-0.12803439795970917,
0.1356088370084... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.