text stringlengths 23 30.4k | embeddings_A list | embeddings_B list |
|---|---|---|
I want to customize the buddypress admin bar, so I created this file and put it in the plugins folder: bp-custom.php Here is a copy of the code: http://pastebin.com/PcQRMXyJ How can I make the first link the main link and the others dropdowns? | [
0.02839365042746067,
0.006009562406688929,
0.006837175227701664,
0.004605312831699848,
-0.02409861423075199,
-0.019374707713723183,
0.009992504492402077,
0.01805574633181095,
-0.04173562303185463,
0.005919815972447395,
-0.0073340884409844875,
0.013078875839710236,
-0.008406356908380985,
-0... | [
0.6860154867172241,
-0.08972999453544617,
0.7084194421768188,
-0.07402985543012619,
0.03170869126915932,
-0.0719049796462059,
0.3092006742954254,
0.11785554140806198,
-0.40332698822021484,
-0.32896095514297485,
0.27220985293388367,
0.6142784953117371,
-0.25413137674331665,
-0.0935134142637... |
Maybe this is more of a PDF question than a GIS question. Today, I received a layered PDF map shown as a landscape A3, with a square map on the left, and with the map title, the legend, the scale, a tiny overview map etc. on the right-hand side. However, each legend item had two tick boxes beside it: one for switching on/off the symbols and one for switching on/off the labels. It also contained radio buttons to switch between various background maps. I thought this was really elegant, and would like to create something similar. I know how to create a layered PDF in ArcGIS, and then go to the Layers toolbar in Adobe Reader to switch on/off layers in the map. However, I'd like to know how I can embed the layer control inside the map. (Note: I am not looking on how to draw individual tick and radio boxes, as I feel it's done by some application (semi-)automatically) EDIT: Here is a picture of it, cut down to the bare minimum for copyright reasons  | [
-0.005004524253308773,
0.014209656044840813,
-0.005490209441632032,
0.011231692507863045,
-0.0044458224438130856,
-0.00004950587754137814,
0.00878528319299221,
0.013034764677286148,
-0.015856750309467316,
0.0076484475284814835,
-0.007779136765748262,
-0.001724819652736187,
-0.009228246286511... | [
0.3613823354244232,
-0.172414630651474,
0.37040582299232483,
0.4342043399810791,
-0.36563840508461,
-0.002706303261220455,
0.138399139046669,
0.039710819721221924,
-0.23151874542236328,
-0.6458027958869934,
-0.01499009970575571,
0.06872764974832535,
0.17336596548557281,
0.1319848597049713,... |
I have developed a application and I need to work for SEO-friendly URL. I have following URL structure: http://localhost:3000/posts/product/testing-with-slug-url-2 and http://localhost:3000/posts/product/testing-with-slug-url-2-4-23 Is this a good practice? If not how can I rewrite it? Ok Ill explain about my applicaiton. My application is based on shopping. if a customer searched for mobiles. it will redirect to url like this http://mydomain.com/cat/mobile-3 3 in the url indicates my database id it is used for further searching After the user reached the mobile page he may need to filter for some brand eg. nokia so my url look lik http://mydomain.com/subcat/nokia-3-2 The integer at the end refers to 3 category id and 2 the brand id My doubt is whether the integer at the end of the url will affect seo ranking. | [
-0.009271652437746525,
0.01725071296095848,
-0.0012398773105815053,
0.0070069823414087296,
-0.008114220574498177,
0.012926806695759296,
0.00842939130961895,
0.009276661090552807,
-0.009569019079208374,
-0.032349541783332825,
-0.01472538523375988,
0.00183829665184021,
-0.00761959794908762,
... | [
0.52347731590271,
0.4123050272464752,
0.5398337244987488,
-0.05950501561164856,
-0.28499090671539307,
-0.24179059267044067,
0.09922543913125992,
0.004076475277543068,
-0.09652027487754822,
-0.6121917963027954,
0.4064749479293823,
0.33753445744514465,
-0.05160251259803772,
0.330881923437118... |
I've reached level 20 and I can't beat the enemies, is the end near? | [
0.0058148568496108055,
0.041525863111019135,
-0.047529011964797974,
-0.03830281272530556,
-0.013236332684755325,
0.08046723902225494,
0.01101713441312313,
0.009529433213174343,
-0.02429453283548355,
-0.023301007226109505,
-0.06768766790628433,
0.05565502122044563,
-0.053449708968400955,
0.... | [
0.04749847203493118,
0.023844048380851746,
0.6015809774398804,
-0.005361646879464388,
0.09129095822572708,
-0.15409791469573975,
0.707409143447876,
-0.1887415498495102,
-0.235298290848732,
-0.44944050908088684,
0.22890518605709076,
0.03961735963821411,
0.2854742109775543,
0.131898239254951... |
I'm trying to remove Main Sidebar, First and Second Front Page Widget areas in my child theme. Basically I don't want them to be shown up in Admin Panel. I've placed that code into my function.php file. It's seems to not work: function remove_some_widgets(){ unregister_sidebar( 'Main Sidebar' ); unregister_sidebar( 'First Front Page Widget Area' ); unregister_sidebar( 'Secon Front Page Widget Area' ); } add_action( 'widgets_init', 'remove_some_widgets', 11 ); I've got it from WordPress Codex but I think that was developed for Twenty Ten theme. Anyone knows the right code for Twenty Twelve parent theme. ? Thanks for answers. | [
0.010691778734326363,
-0.0014641676098108292,
-0.0005076050874777138,
0.023975146934390068,
-0.022579852491617203,
-0.0070174699649214745,
0.010109925642609596,
0.021627839654684067,
-0.01768677867949009,
0.028320973739027977,
-0.02605034038424492,
0.013488960452377796,
-0.018776359036564827... | [
0.0611276850104332,
-0.10824520140886307,
0.5945931077003479,
-0.08598814159631729,
0.11081627011299133,
0.3723697066307068,
0.1030971109867096,
-0.16777494549751282,
-0.1669400930404663,
-0.6932717561721802,
0.009014329873025417,
0.48898980021476746,
-0.2724951505661011,
0.140537545084953... |
Google and archive.org both cache/archive sites, however neither of them are fast enough and they don't cache everything. Is there some site where you can input a url and it will go grab it and store it? I find myself in need for proving what was on a site at a time. You can just save as the page, but that isn't very authoritative. | [
0.009181526489555836,
-0.002364375861361623,
-0.008739756420254707,
0.0065694949589669704,
0.013173163868486881,
0.0178194772452116,
0.006504974327981472,
0.015264921821653843,
-0.022675354033708572,
0.011492370627820492,
-0.004549864213913679,
0.0024698879569768906,
0.0008091354393400252,
... | [
0.7371664047241211,
0.13606193661689758,
0.09675032645463943,
0.35783499479293823,
-0.09736776351928711,
-0.25206103920936584,
0.03586937487125397,
0.27662965655326843,
-0.15367168188095093,
-0.7796981930732727,
0.3890513479709625,
0.18537379801273346,
0.05533849447965622,
0.23662105202674... |
In this example, How can I punt the Legend INSIDE the graph. Because when I save the graph, only save the graph BUT not save the legend. Expr1 = -2 p + 1 Expr2 = 2 p - 1 Expr3 = p - 1/2 Plot[{Expr1, Expr2, Expr3}, {p, 0, 1}, BaseStyle -> AbsoluteThickness[4], PlotLegends -> LineLegend["Expressions", BaseStyle -> AbsoluteThickness[4]]] Solve[Expr1 == Expr2, p] Another question. How can I insert the solution in the las line, too INSIDE the graph? Here you can see the result  | [
0.013827875256538391,
0.0067727891728281975,
-0.012490123510360718,
0.011034092865884304,
-0.0016200921963900328,
-0.006093998439610004,
0.005488733761012554,
0.004904394969344139,
-0.012096758931875229,
0.007291043177247047,
0.0012628397671505809,
0.004572480451315641,
-0.011735338717699051... | [
-0.06079651042819023,
-0.322176456451416,
0.8024351596832275,
0.09315142035484314,
0.01732044667005539,
0.2028784155845642,
0.5086320042610168,
-0.5695905089378357,
-0.21702416241168976,
-0.5294970870018005,
0.05380893871188164,
0.17304089665412903,
-0.13457264006137848,
-0.007450981065630... |
I want to be able to use small caps for chapter headings. According to Using \textsc{} within \section{} CM default font does not support small caps so I need to use: \usepackage[T1]{fontenc} in the preamble. However, this changes font for whole document. I do have quite complex set up and global setting causes few issues so I would like to get same effect as by using `\usepackage[T1]{fontenc}` in preamble (that is - to be able to use small caps for chapter headings), but only for chapter headings that defined created by using following macro: \def \centeredchapter#1{ \chapter*{\centering{\LARGE \textsc{#1}}} \addcontentsline{toc}{chapter}{#1} } Is it possible? | [
0.022410418838262558,
0.006700150202959776,
-0.009031726978719234,
0.031130388379096985,
-0.006997740361839533,
-0.0031359458807855844,
0.008770817890763283,
-0.01537749171257019,
-0.015270591713488102,
0.0018791076727211475,
-0.02074413187801838,
0.005785987712442875,
-0.009718330577015877,... | [
-0.09896346926689148,
0.5078794956207275,
0.7173835635185242,
-0.019440891221165657,
0.006921408232301474,
-0.15408845245838165,
0.1766018271446228,
-0.044243186712265015,
-0.1491590440273285,
-0.6527548432350159,
-0.21132966876029968,
0.5242771506309509,
-0.20783138275146484,
0.0203999225... |
My problem perhaps has to be with the plugin I'm using. However I wanted to be sure if something else could be causing the problem. I'm retrieving two feeds using WP RSS multi-importer plugin, but that page's loading time is increibly slow. feed 1: `http://www.paho.org/arg/index.php?format=feed&type=rss` feed 2: `http://feeds.feedburner.com/diariosalud/tVxp?format=xml` which are loaded instantly in simplepie.org/demo This is my page hosted -> http://bit.ly/fdp-rssimporter and these are my results of P3, running only that page twice: WordPress Plugin Profile Report =========================================== Report date: 9 junio, 2014 Theme name: Openstrap Pages browsed: 2 Avg. load time: 7.9207 sec Number of plugins: 12 Plugin impact: 89.26% of load time Avg. plugin time: 7.0697 sec Avg. core time: 0.6246 sec Avg. theme time: 0.1077 sec Avg. mem usage: 91.25 MB Avg. ticks: 88,235 Avg. db queries : 66.50 Margin of error : 0.1186 sec Plugin list: =========================================== P3 (Plugin Performance Profiler) - 0.0181 sec - 0.26% iThemes Security - 0.3094 sec - 4.38% Bstw - 0.0113 sec - 0.16% Duplicator - 0.0166 sec - 0.23% Jetpack por WordPress.com - 1.5392 sec - 21.77% Lightbox - 0.6302 sec - 8.91% Meta Slider - 0.0917 sec - 1.30% Post Expirator - 0.0053 sec - 0.07% TinyMCE Advanced - 0.0088 sec - 0.12% Types - 0.2622 sec - 3.71% RSS Multi Importer - 3.9929 sec - 56.48% Wysija Newsletters - 0.1840 sec - 2.60% | [
0.007017275784164667,
0.0013678199611604214,
-0.0009976605651900172,
0.02287954092025757,
-0.0012336168438196182,
-0.008540858514606953,
0.00616587745025754,
0.014271845109760761,
-0.014735584147274494,
-0.011108237318694592,
-0.005619474221020937,
0.0023401519283652306,
-0.00871710851788520... | [
0.49165594577789307,
-0.13949333131313324,
0.5174961090087891,
0.008047680370509624,
-0.3105180263519287,
-0.17625336349010468,
0.22897127270698547,
0.0677686557173729,
-0.31637993454933167,
-0.5662862062454224,
-0.06568818539381027,
0.6804490685462952,
-0.6757851839065552,
0.0439004711806... |
Waiting too long when encountering an unreadable sector on a disk is really very annoying. (Especially if you are trying to read as much data as can be read from a disk with bad sectors, and do it quickly, for backup and restoration.) The disk reports read errors (sense errors). Can the disk (ATA) be setup so that a failing read doesn't take too long, so that it can be dropped, and the reading process and the disk wouldn't be blocked, and the next read could be attempted? Or perhaps the linux disk driver can be set up to achieve this? Or the reading process in linux can do something to avoid long reading? | [
0.008504555560648441,
0.019695645198225975,
-0.009312919341027737,
0.013095367699861526,
0.012912123464047909,
0.012880779802799225,
0.007938183844089508,
-0.009972317144274712,
-0.01156986877322197,
0.01377015933394432,
-0.017561987042427063,
0.0017160376301035285,
0.0034574063029140234,
... | [
0.4790530204772949,
-0.4252893924713135,
0.04673609882593155,
0.3471481502056122,
0.08937427401542664,
-0.07195287942886353,
-0.09911759197711945,
0.020760521292686462,
-0.09789438545703888,
-0.36632657051086426,
0.3069554567337036,
0.74156254529953,
-0.1594783067703247,
-0.017437361180782... |
For instance, a class like: class Dog { } //never mind that there's nothing in it... and then a property like: Dog Dog { get; set; } I've been told that if I can't come up with a more imaginative name for it, then I must use: Dog DogObject { get; set; } Any thoughts on how to name these better? | [
-0.009294407442212105,
0.012974544428288937,
-0.006408983375877142,
0.015737460926175117,
-0.008347672410309315,
0.017210008576512337,
0.008371537551283836,
0.023024579510092735,
-0.020591821521520615,
-0.002642318606376648,
-0.0002900913532357663,
0.0055483137257397175,
0.023436041548848152... | [
0.38075414299964905,
-0.002517832675948739,
-0.407484233379364,
-0.029604392126202583,
-0.010368293151259422,
-0.2890353500843048,
0.40286463499069214,
-0.0021441583521664143,
-0.19510392844676971,
-0.6138039231300354,
-0.19577088952064514,
0.34697017073631287,
-0.29485592246055603,
0.0609... |
I'm having some trouble with my custom ajax function. I have this on my console log : "POST MYSITEURL/wp-admin/admin-ajax.php 302 Found". So my functions won't work... And I really don't understand why. I've developed a login form for the front end, it works well on my local but not online. Here is what I do : function ajax_login_init(){ //First I register my scripts wp_register_script('ajax-login-script', get_template_directory_uri() . '/js/ajax-login-script.js', array('jquery'),'',true ); wp_enqueue_script('ajax-login-script'); //I give them variables wp_localize_script( 'ajax-login-script', 'ajax_login_object', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'redirecturl' => '/account' )); } function allowAjaxLogin(){ //I allow the function add_action( 'wp_ajax_nopriv_ajaxlogin', 'ajax_login' ); add_action( 'wp_ajax_priv_ajaxlogin', 'ajax_login' ); } add_action( 'init','allowAjaxLogin' ); if (!is_user_logged_in()) { add_action('init', 'ajax_login_init'); } function ajax_login(){ // First check the nonce, if it fails the function will break check_ajax_referer( 'ajax-login-nonce', 'security' ); // Nonce is checked, get the POST data and sign user on $info = array(); $info['user_login'] = $_POST['username']; $info['user_password'] = $_POST['password']; $info['remember'] = $_POST['remember']; $user_signon = wp_signon( $info, false ); if ( is_wp_error($user_signon) ){ echo json_encode(array('loggedin'=>false, 'message'=>__('Wrong username/password'))); } else { echo json_encode(array('loggedin'=>true, 'message'=>__('Success))); } die(); } As I said, it works well on my local version, but not online, someone can help me? | [
0.0020726192742586136,
0.010477828793227673,
-0.002680565230548382,
0.007280287332832813,
-0.017454378306865692,
-0.013279144652187824,
0.008557423949241638,
0.005158054642379284,
-0.02248091623187065,
0.01454128697514534,
0.0003843603772111237,
0.012049909681081772,
0.008751735091209412,
... | [
-0.05577421933412552,
0.22112278640270233,
0.19255836308002472,
-0.07714159786701202,
-0.02236241288483143,
-0.1580403447151184,
0.5433911085128784,
0.24881096184253693,
0.05036419630050659,
-0.958044707775116,
0.07436603307723999,
0.7755066156387329,
-0.08415680378675461,
-0.0153554575517... |
When someone asks "How come?", the person answering actually answers the question "why?". "Why?" and "How?" are very different questions. I was wondering how "how come?" came to be an alternative way of asking "why?". Perhaps "how come?" is short form for something else? I'm trying to understand the reason the word "how" came to be used in the phrase "how come". Why not use "what come", "who come", "when come" or "why come"? | [
-0.011270763352513313,
0.007939329370856285,
-0.006974274292588234,
0.0184544175863266,
-0.0019117452902719378,
-0.024365123361349106,
0.008207689970731735,
0.0010968712158501148,
-0.014610127545893192,
-0.028897618874907494,
0.005057945381850004,
-0.001057468238286674,
0.041591670364141464,... | [
0.14694930613040924,
-0.28642693161964417,
-0.07058127224445343,
-0.05956326425075531,
-0.3630109429359436,
0.1274898201227188,
0.31960704922676086,
0.1484214961528778,
-0.3385782539844513,
-0.1743858903646469,
-0.07402529567480087,
0.5315724611282349,
-0.056555911898612976,
0.052060693502... |
I have several projects in my solution: * **Logan.Web.DBContext** defines the DbContext for the database and builds the data model * **Logan.Web.Objects** defines the classes that will represent the tables in the database * **Logan.Web.Data** defines the data layer that the application will use * **LoganMVC** is the actual MVC website Obviously I don't want the MVC website to know too much about the database so I have no links between it and the Objects/DBContext projects. Instead, the Data project acts as a "middle-man" between them and contains all the CRUD functionality. The problem I'm having with this structure is that, to show anything on the Views, the Models need to know the properties for the data as defined in the Objects classes. I'm not sure how to expose them without referencing the Objects project in the MVC project, but it is my understanding that this would not be good practice. Instead, I'd prefer, if at all possible, to expose them through the data layer, but I also can't figure out how to do that in any way that makes sense. I've posted all the code for most of these projects as such currently exists on pastebin: http://pastebin.com/eFahpGzE * DBContext namespace starts on line 1 * DBObjects namespace starts on line 141 * Data namespace starts on line 185 What's the best way to expose the properties of the classes in Logan.Web.Objects so that they can be used in LoganMVC given the structure defined here? | [
-0.010350599884986877,
0.024641752243041992,
-0.006573452148586512,
-0.003204968525096774,
0.004744092933833599,
-0.007399360649287701,
0.011369196698069572,
0.025180326774716377,
-0.009195351041853428,
-0.018273917958140373,
-0.0035327784717082977,
0.017176255583763123,
0.008995925076305866... | [
0.29165732860565186,
0.2135554403066635,
0.49014654755592346,
0.0784442126750946,
-0.22921904921531677,
0.056480772793293,
0.2830009460449219,
-0.22508996725082397,
-0.21025876700878143,
-0.8275861740112305,
0.012210841290652752,
0.04768206924200058,
-0.11428418010473251,
0.494087308645248... |
I need to go to jail in solitude but I don't want to lose my quest items. Do they get taken or do I get them back? | [
0.08453661948442459,
0.04831518232822418,
0.03177475556731224,
-0.028051674365997314,
-0.024193866178393364,
-0.009481222368776798,
0.014566506259143353,
0.01606527343392372,
-0.01688379794359207,
-0.0239596888422966,
-0.01825517974793911,
0.04941972345113754,
-0.014434984885156155,
0.0165... | [
0.3270656168460846,
0.3313235640525818,
-0.036259010434150696,
0.2111668735742569,
0.22609128057956696,
-0.08741810917854309,
0.6649355292320251,
-0.032381072640419006,
-0.5091109275817871,
-0.2625211179256439,
0.27328944206237793,
0.3928377330303192,
-0.27664685249328613,
0.33698579668998... |
I have setup the Bing map as the base layer. I want to have a continuous horizontal panning, so I have added the **wrapDateline** option in Openlayer for **OpenLayers.Layer.Bing** map type. However, afer the wrapdateline parameter is added, the default zoom level of base layer is less than before. And also I can't go to the worldview. Is there a full support of wrapdateline for Bing maps in Openlayers, while there is no info about the dateline in OL documentation: OL Bing layers Doc ? Does anybody have the similar issue? Thanks  | [
-0.007962346076965332,
0.014343475922942162,
-0.020698579028248787,
0.01701066829264164,
0.011862223967909813,
-0.017062749713659286,
0.011243291199207306,
0.009865785017609596,
-0.015833254903554916,
-0.024844838306307793,
-0.006444879807531834,
0.01356418989598751,
0.0009736744686961174,
... | [
0.3771519660949707,
-0.24196036159992218,
0.5796127319335938,
-0.09215189516544342,
-0.18241095542907715,
-0.3370049297809601,
0.3339247703552246,
0.07049351185560226,
-0.06219149008393288,
-0.7230566143989563,
0.07864829897880554,
0.30051419138908386,
-0.25608503818511963,
0.2536711990833... |
I have made a mistake, I have edited /etc/crontab via copy and paste. And now those crontab entries are not working. [root@process ~]# cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly */5 * * * * root php /var/www/vhosts/mydomain.com/subdomains/apn/httpdocs/sdkstatistics/callEveryFiveMinute.php 2>&1 /tmp/testlog.log Later I studied, and found that I should not edit crontab via copy and paste. Rather I have to use **crontab -e** to add crontab. I have run the **crontab -l** command to show the current listing [root@process ~]# crontab -l 7,17,27,37,47,57 * * * * /usr/lib/plesk-9.0/postfix-poplockdb-clean 1,16,31,46 * * * * /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1 Here, my last entry ***/5 * * * * root php /var/www/vhosts/mydomain.com/subdomains/apn/httpdocs/sdkstatistics/callEveryFiveMinute.php 2> &1 /tmp/testlog.log** is not listed. Now can i revert back to my previous state? Or, better what should I do? | [
0.0013769300421699882,
0.005723198875784874,
-0.011180177330970764,
0.02842991054058075,
-0.010905231349170208,
-0.01434486173093319,
0.00831601582467556,
0.0009859814308583736,
-0.022720927372574806,
0.009233059361577034,
-0.023365695029497147,
0.005155140068382025,
-0.022014066576957703,
... | [
0.24173325300216675,
0.4585140645503998,
0.33724603056907654,
-0.28351008892059326,
-0.03279054909944534,
0.39156726002693176,
0.9577867388725281,
-0.31105852127075195,
-0.3093136250972748,
-0.9099452495574951,
0.06173259764909744,
0.5733639597892761,
-0.05806196480989456,
0.01056379452347... |
I have played Titan Quest v 1.08 for quite a long while now, and I have wondered whether Weapon enhancements (via skills : Envenom weapon, Storm nimbus and Earth Enchantment, with it's upgrades) affects the damage of regular spells of the same element. For example, will spending points in Toxin Distillation (level 16 Rogue mastery skill, upgrade of envenom weapon) Affect the damage of Poison gas bomb? | [
0.01362162921577692,
0.010705548338592052,
0.0025347862392663956,
-0.003545922925695777,
-0.013462516479194164,
-0.015436138957738876,
0.011661873199045658,
0.0031328685581684113,
-0.01360286958515644,
0.00437798909842968,
-0.009358197450637817,
0.025137992575764656,
-0.03242199867963791,
... | [
0.35941818356513977,
-0.22869184613227844,
0.3243972957134247,
0.08953256160020828,
-0.3179698586463928,
-0.15543287992477417,
0.35149988532066345,
-0.44858837127685547,
0.0002700310724321753,
-0.4026719033718109,
0.10442579537630081,
0.7027137279510498,
0.10765732824802399,
0.048001080751... |
The Samsung Galaxy Gear came with Android OS installed, but the Gear 2 (slight spec bumps) is bundled with Tizen OS. Does anybody know how to get Android OS (preferably a clean Google version) installed on the Gear 2? Thanks | [
-0.03614615276455879,
-0.02634502947330475,
-0.009298397228121758,
0.017215754836797714,
-0.03362318500876427,
0.012677264399826527,
0.015046171844005585,
0.02791823446750641,
-0.027472857385873795,
-0.023037243634462357,
-0.012609440833330154,
0.0061446987092494965,
0.013421381823718548,
... | [
0.13805018365383148,
-0.16892048716545105,
0.5845797061920166,
0.4196431040763855,
-0.07336267828941345,
-0.01941927708685398,
0.34873977303504944,
0.011217844672501087,
0.18834592401981354,
-0.30798617005348206,
0.09861073642969131,
0.8126173615455627,
-0.18912506103515625,
-0.53863972425... |
I'm working on ArcMap, and I have a one to many relation between a building column and the residents in the building. The attribute table for the building has these columns: id,label,number. I have an excel sheet containing these columns: number,resident I'm trying to relate the number from building attribute table and the number in the excel sheet. How to do that? | [
0.01583658717572689,
0.018327804282307625,
-0.00486307218670845,
0.021925847977399826,
-0.0027335865888744593,
-0.013315357267856598,
0.01244688592851162,
-0.018498359248042107,
-0.017964253202080727,
-0.01902337744832039,
-0.011212562210857868,
0.000016434893041150644,
0.009752728044986725,... | [
0.7940254807472229,
0.40158385038375854,
0.5879656672477722,
-0.10320958495140076,
0.08897505700588226,
0.16482578217983246,
0.10550256073474884,
-0.3895149827003479,
-0.13783033192157745,
-0.6900824308395386,
0.261660099029541,
0.33386150002479553,
0.004963359795510769,
0.0799363628029823... |
I am building a LaTeX table for a report. I defined a fix width to the second (and last) column, so that it doesn't exceed the size of the page. For some reason, the text is overflowing the size of the cell. Here is my code: \begin{table}[ht] \centering \begin{tabular}{| l | p{12cm} |} \hline \textbf{Código} & \textbf{CU03} \\ \hline \hline \textbf{Nome} & Pesquisa \\ \hline \textbf{Custo} & 3 \\ \hline \textbf{Prioridade} & Alta \\ \hline \textbf{Descrição} & O utilizador faz uma pesquisa simples por um paciente \\ \hline \textbf{Pré-Condições} & O utilizador está autenticado na aplicação \\ \hline \textbf{Pós-Condições} & São apresentados os resultados para a pesquisa feita \\ \hline \textbf{Fluxo de acções} & \begin{tabular} {l l} 1. É pressionado o menu “Documentos” \\ 2. É preenchido um ou vários dos campos disponíveis (campo1, campo2, campo3 ou campo3) \\ 3. É pressionado o botão “Procurar” \\ 4. São apresentados os resultados \\ \end{tabular} \\ \hline \textbf{Dependências} & ~\ref{tab: CU01} (CU01)\\ \hline \textbf{Mokup} & Mokup03 \\ \hline \textbf{Testes} & TODO \\ \hline \end{tabular} \caption{CU03} \label{tab: CU03} \end{table} and my output is this:  One last thing, I am using scribtex to compile my code. | [
-0.0022361362352967262,
0.0051619671285152435,
-0.0030993418768048286,
0.005574114620685577,
0.016404829919338226,
-0.0003170231357216835,
0.005796647630631924,
0.009474196471273899,
-0.010882140137255192,
0.0044302018359303474,
-0.008082471787929535,
-0.0007968752179294825,
-0.0052378559485... | [
-0.10250785946846008,
0.21345053613185883,
0.7502598166465759,
-0.12945987284183502,
0.1281304508447647,
0.27475595474243164,
0.038258545100688934,
-0.368778795003891,
-0.14292137324810028,
-0.6637532711029053,
0.016428174450993538,
0.14558495581150055,
-0.3715135157108307,
0.0335434004664... |
The existing question Typeset WHOLE document in sans-serif, Including Math Mode uses the `sansmath` package to use `helvet` glyphs also in math-mode. But being not designed for use in math mode, the results don't look convincing. According to this survey of free math fonts, it seems to be possible to use another font (mentioned are `cmbright` and `lxfonts` as similar) for math-mode in combination with `helvet` for text-mode. However, I cannot find pointers on how to setup the document appropriately. (How) can it be done? The obligatory MWE: \documentclass{article} \usepackage{helvet} % for text-mode \renewcommand{\familydefault}{\sfdefault} % \usepackage{cmbright} % one of these for... % \usepackage{lxfonts} % math-mode only \usepackage[math]{blindtext} \begin{document} \blindmathpaper \end{document} | [
0.014748449437320232,
-0.0001938381465151906,
-0.011723969131708145,
0.009126674383878708,
0.006727876141667366,
-0.013968397863209248,
0.011372921988368034,
-0.007871570065617561,
-0.012193101458251476,
-0.03358389064669609,
-0.00995704811066389,
-0.007907772436738014,
-0.001087374519556760... | [
0.18819481134414673,
0.3565981090068817,
0.4124196171760559,
0.05949606001377106,
-0.2420930564403534,
0.2313002198934555,
0.24246391654014587,
-0.37494567036628723,
-0.11865954846143723,
-0.5852417945861816,
-0.20472650229930878,
0.4758983552455902,
-0.27835243940353394,
-0.21364971995353... |
I found a wifi card here:- Wifi Now, how can I check whether It can enter master mode and have support for hotspot? As my current in-built Wifi card is giving me this:- Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Invalid argument. On executing:- sudo iwconfig wlan0 mode master I am seeing `SoftAP` in its heading. Should I assume that I will go in master mode on my linux box? | [
0.0015898952260613441,
0.001296294736675918,
-0.006502862554043531,
0.021999279037117958,
-0.015549772419035435,
0.026996063068509102,
0.007772483862936497,
-0.009372375905513763,
-0.01347813755273819,
0.007783320266753435,
-0.016817329451441765,
0.010547347366809845,
-0.015723874792456627,
... | [
0.09401674568653107,
-0.3707737326622009,
0.6633815765380859,
-0.025245027616620064,
0.13156241178512573,
-0.29468920826911926,
0.47840291261672974,
-0.08186753839254379,
-0.3290632963180542,
-0.7220392823219299,
-0.3105633556842804,
0.8267650008201599,
-0.12910278141498566,
0.088054835796... |
Is there a simple way to temporarily stop a user role logging in with wordpress? For example, if I have a user role called **media** , how can I block them from logging in? I would like a custom message to appear on the website, for example like 'Site undergoing maintenance' So it looks like this... http://i.imgur.com/nDf7a.jpg The reason why, is because my website is completely locked down from the public using this function... // LOCK DOWN add_action('get_header', 'wpq_member_only_site'); function wpq_member_only_site() { // logged in users or visits to a specified page are allowed if ( !is_user_logged_in() ) { $redirect_after_login = get_home_url(); // the URL where login/registration takes place $login_url = wp_login_url( $redirect_after_login ); // redirect visitors wp_redirect( $login_url, 302 ); exit; } } But I need to do some maintenence and I'm after a simple way to lock all users out that are the role **media** This is because I wan't **administrators** and **editors** to still have access, but not **media**. Can any one help please? Thanks Josh | [
0.013198276050388813,
0.0003669505240395665,
0.0014382798690348864,
0.014250421896576881,
-0.017787907272577286,
0.009458153508603573,
0.006749105639755726,
-0.007889930158853531,
-0.01631481945514679,
0.0035964753478765488,
-0.012439871206879616,
0.006514150183647871,
0.010775841772556305,
... | [
0.3935573399066925,
-0.09925901144742966,
0.4108709692955017,
-0.014187287539243698,
-0.08384687453508377,
-0.1327185183763504,
0.3882972300052643,
-0.009845848195254803,
-0.48849472403526306,
-0.5997247099876404,
-0.11899624019861221,
0.3183480501174927,
-0.47869589924812317,
0.1483795940... |
Selection of paper size within `report` class, changes rendering. However pdf pages remains bigger. How to make pdf made with `pdflatex` to be a5,b5 ? Example: \documentclass[a5paper]{report} \usepackage{lipsum} \begin{document} \lipsum[1-5] \end{document} | [
-0.003338855691254139,
0.0051838974468410015,
-0.002767697675153613,
0.025376778095960617,
0.01092682033777237,
-0.005734670907258987,
0.013427600264549255,
0.011517508886754513,
-0.019817892462015152,
-0.03105803206562996,
-0.009882427752017975,
-0.001682934584096074,
-0.02083013392984867,
... | [
-0.12080518156290054,
-0.18002291023731232,
0.8024197220802307,
0.19129954278469086,
-0.18447226285934448,
-0.02787862718105316,
0.026007551699876785,
-0.4761417806148529,
-0.2937749922275543,
-0.8026698231697083,
-0.04833882302045822,
0.4347878396511078,
0.16586965322494507,
-0.1055572330... |
Running CM6 on my Motorola Drid. Another Swype upgrade, another headache. I keep getting this error message when I uninstall --> reboot --> reinstall Swype: "The Swype package you installed is configured for another device." | [
-0.014634273946285248,
-0.021423418074846268,
-0.03152741491794586,
0.046688664704561234,
-0.0066926139406859875,
0.0306901503354311,
0.01311938650906086,
-0.0049448576755821705,
-0.03688030317425728,
-0.06070569530129433,
-0.01557084172964096,
0.021079860627651215,
-0.018016576766967773,
... | [
0.06499283015727997,
0.101996049284935,
0.49176132678985596,
0.03193480521440506,
0.08399894088506699,
0.09906457364559174,
0.28602495789527893,
0.3750770092010498,
-0.6965848803520203,
-0.4506819248199463,
0.10311143845319748,
0.526389479637146,
-0.32961636781692505,
0.16015711426734924,
... |
How can I show the current directory of the currently active session in a screen status bar (not as title of the session!)? I have tried with various combinations n,m={0,1} of backtick 102 n m pwd caption string '%102`' (Shell is zsh with oh-my-zsh) | [
-0.005902684293687344,
-0.0028054837603121996,
-0.02469666115939617,
0.011469890363514423,
-0.026540223509073257,
0.02618999220430851,
0.009692966006696224,
0.01040018443018198,
-0.022023892030119896,
-0.026806388050317764,
-0.022764449939131737,
-0.0002280243206769228,
-0.001364115043543279... | [
0.16697557270526886,
0.23331238329410553,
0.4582081437110901,
-0.00026726117357611656,
0.15479230880737305,
-0.1811443567276001,
0.42854297161102295,
0.05752227455377579,
-0.13105221092700958,
-0.4583892226219177,
-0.06884651631116867,
0.8681137561798096,
-0.09867285937070847,
0.2691699862... |
If I prefix a dash to GUIDs in my URLs on my Web site, in this manner: example.com/some/folders/-35x2ne5r579n32/page-name Will my SEO rating be affected? **_Background:_** On my site, people can look up pages by GUID, and by path. For example, both `example.com/forum/-3v32nirn32/eat-animals-without-friends` and `example.com/forum/eat-animals-without-friends` could map to the same page. To indicate that `3v32nirn32` is a GUID and not a page name, I thought I could prefix a `-` and then my webapp would understand. But I wouldn't want my search engine rating to drop. And prefixing a dash in this manner seems weird, so perhaps Googlebot lowers my rating. Hence my question: Do you know if my search engine rating might drop? (Today or in the future?) (I could also e.g. prefix `id-`, so the URL becomes `example.com/forum/id-3v32nirn32`, but then people cannot create pages that start with the word "id".) (I think I don't want URLs like this one: `example.com/id/some-guid`.) Kind regards, Magnus | [
-0.005335130728781223,
-0.0002828624565154314,
0.0010514359455555677,
0.02472512423992157,
0.00315490341745317,
0.011566733941435814,
0.00806858204305172,
-0.014681277796626091,
-0.016537893563508987,
-0.004935387521982193,
-0.0020077594090253115,
0.0033375858329236507,
0.00838483590632677,
... | [
0.16329261660575867,
-0.0067339674569666386,
0.3593127429485321,
-0.07374905049800873,
-0.37689724564552307,
-0.06154009327292442,
0.5811271071434021,
-0.052327170968055725,
-0.39333105087280273,
-0.7315282821655273,
0.027692211791872978,
0.489314466714859,
-0.29514044523239136,
-0.2116675... |
I got Dire AIDS from battling 'Dire' wildlife in Canada.  Suppose I didn't have it cured, are there any negative gameplay effects if I have it? | [
-0.02661852538585663,
0.00451870309188962,
-0.017755797132849693,
0.0016396193532273173,
-0.00906784925609827,
-0.010208232328295708,
0.008062701672315598,
0.02984565496444702,
-0.021364452317357063,
0.005962870083749294,
-0.006935631390661001,
0.021986080333590508,
0.012078079394996166,
0... | [
0.5980346202850342,
0.2395848035812378,
-0.19259047508239746,
0.02238134853541851,
0.2656260132789612,
-0.03253485634922981,
0.6124482154846191,
0.48893192410469055,
-0.18318723142147064,
-0.3022155165672302,
0.14876039326190948,
0.054968610405921936,
-0.460478812456131,
-0.039128966629505... |
Feynman mentions in his book, _The Feynman Lectures on physics_ > Let us now illustrate the energy principle with a more complicated problem, > the screw jack shown in Fig. 4-5. A handle 20 inches long is used to turn > the screw, which has 10 threads to the inch. We would like to know how much > force would be needed at the handle to lift one ton (2000 pounds). If we > want to lift the ton one inch, say, then we must turn the handle around ten > times. When it goes around once it goes approximately 126 inches. The handle > must thus travel 1260 inches, and if we used various pulleys, etc., we would > be lifting our one ton with an unknown smaller weight W applied to the end > of the handle. So we find out that W is about 1.6 pounds. This is a result > of the conservation of energy. I don't know where does this 126 inches would come from? And what does '10 threads to the inch' means? | [
0.023192236199975014,
0.019456639885902405,
-0.00514229154214263,
0.0013426332734525204,
-0.013432745821774006,
-0.014748717658221722,
0.009913007728755474,
-0.005507185123860836,
-0.010806640610098839,
-0.021022403612732887,
-0.011270113289356232,
0.008577882312238216,
-0.014249712228775024... | [
0.3689917325973511,
-0.18362091481685638,
0.46969112753868103,
0.2675728499889374,
0.028861355036497116,
0.29189640283584595,
-0.18158508837223053,
-0.673961341381073,
-0.5764366984367371,
-0.2841755747795105,
0.3200312852859497,
0.20030100643634796,
-0.1656539887189865,
0.5205583572387695... |
Is it possible to set (or change) the `natbib` package options **after** its loading (i.e. after the line `\usepackage{natbib}`)? The reason I need it is that I'm using a LaTeX style from a journal and it has a _natbib_ option which means it _"...handles reference entries in the author- year system by using the natbib package"_ , according to the journal style documentation, and I need to tune some settings (like ' _sort &compress_', for example), but I do not know how to do that since I do not load the 'natbib' package directly. I know there is a command `\biboptions{}` in Elsevier LaTeX style which does exactly what I want. But as far as I understand, this command is specific to their style and does not belong to the _natbib_ package itself, or am I wrong? P.S. I'm working with the Springer's _'SVJour3'_ document class currently. It is a widely used one, I believe. So, maybe someone can suggest me a way to sort the citations so that they do not look like `[2,3,1]` instead of `[1-3]` or at least `[1,2,3]` in the text? Thank you! | [
0.03287104517221451,
0.015533562749624252,
-0.01142601016908884,
0.024627553299069405,
0.022555455565452576,
0.012186641804873943,
0.00697911623865366,
0.012791955843567848,
-0.016938909888267517,
-0.00709421094506979,
-0.008388245478272438,
0.00392241682857275,
-0.00464071799069643,
0.002... | [
-0.06782343983650208,
0.1516382098197937,
0.3768649697303772,
0.017432522028684616,
0.17238932847976685,
-0.268144428730011,
0.1134788915514946,
-0.14973999559879303,
-0.30289262533187866,
-0.703811526298523,
-0.11484922468662262,
0.7701478600502014,
-0.32964521646499634,
-0.02512733824551... |
In a curved $(3+1)$ dimensional spacetime with metric components $g_{\mu \nu}$, the covariant derivative of a $4$ vector $\mathbf V = (V^0, \vec V)$ is given by $$\nabla_\mu~ V^\mu = \frac{1}{\sqrt{-g}}\partial_\mu (\sqrt{-g}~V^\mu).$$ I expect that this relation can also be used to derive the expression for divergence of the $3$ vector $\vec V$ in a flat spatial hypersurface in a curvilinear coordinate system, eg. the cylindrical polar coordinates $(r,\phi,z)$. We will then need to replace the $\sqrt{-g}~$ by $\sqrt g~$ as the metric of the spatial hypersurface has a positive determinant. This will then give $$\vec \nabla \cdot \vec V = \nabla_i V^i = \frac{1}{r}\partial_r(r~V^r) + \partial_\phi V^\phi + \partial_zV^z.$$ However, the actual expression for the divergence of a $3$ vector in cylindrical polar coordinates is $$\vec \nabla \cdot \vec V = \frac{1}{r}\partial_r(r~V^r) + \frac{1}{r}\partial_\phi V^\phi + \partial_zV^z.$$ Can you please point out and explain where I am going wrong? | [
-0.012711647897958755,
0.010991094633936882,
-0.001965901581570506,
0.008858815766870975,
0.010413521900773048,
-0.023127468302845955,
0.007794450037181377,
-0.008508799597620964,
-0.009893219918012619,
-0.01619342714548111,
-0.002398280892521143,
0.008517730981111526,
0.0028919423930346966,... | [
-0.03510689735412598,
-0.3501438796520233,
0.8643312454223633,
0.07325776666402817,
-0.27181488275527954,
0.4126654863357544,
0.0062637231312692165,
-0.44138312339782715,
-0.002879911568015814,
-0.3617956042289734,
0.1532074362039566,
0.6546952724456787,
-0.24051642417907715,
0.43516334891... |
As the title suggests, if I keep a mon infected with Poekrus in the PC, would it keep the ability to spread the virus indefinitely? | [
0.014147765934467316,
0.04419972747564316,
0.0002411160821793601,
0.02466440200805664,
-0.0030191547702997923,
0.009545768611133099,
0.015039823949337006,
0.010435588657855988,
-0.028022797778248787,
0.007983888499438763,
-0.0063984631560742855,
0.05265136808156967,
-0.014231526292860508,
... | [
0.7624135613441467,
0.11850963532924652,
0.011026169173419476,
0.2761394679546356,
0.3478795886039734,
-0.11955934762954712,
-0.10045010596513748,
0.640143632888794,
-0.15520229935646057,
-0.14435303211212158,
0.15534895658493042,
0.5452473163604736,
0.11745718866586685,
0.3196621537208557... |
What kind of plot are normally used in Generalized linear model and what are their interpretations? Especially for Standardized deviance residual vs fitted value plot, what can we see from the plot? | [
0.009735611267387867,
0.033359311521053314,
-0.002937623765319586,
0.027592331171035767,
0.06112324073910713,
-0.0200724508613348,
0.015918541699647903,
-0.00028400460723787546,
-0.029042238369584084,
-0.060890231281518936,
-0.004617802798748016,
0.012034117244184017,
0.0009057819843292236,
... | [
0.30578452348709106,
-0.40700963139533997,
0.13724932074546814,
0.5033178329467773,
0.058302976191043854,
-0.15757466852664948,
-0.17375150322914124,
-0.0854804515838623,
-0.08293811976909637,
-0.47918593883514404,
0.0994037315249443,
0.537440836429596,
-0.047705091536045074,
0.30443879961... |
Is there a way to delete a custom field (in the sense of complete removal from WP database) without using a plugin? | [
0.02648978866636753,
0.01757814548909664,
-0.01044800691306591,
0.029423637315630913,
-0.006357347592711449,
0.034456174820661545,
0.013760199770331383,
-0.0037532660644501448,
-0.016316449269652367,
0.05436430871486664,
-0.001051238738000393,
0.029910601675510406,
0.011632992886006832,
0.... | [
0.342733234167099,
-0.1706058531999588,
-0.09839150309562683,
0.3132639229297638,
0.2127380669116974,
-0.12435326725244522,
0.18202337622642517,
-0.2107335478067398,
-0.19650417566299438,
-0.07921715825796127,
-0.16605103015899658,
0.4895952343940735,
-0.3015044331550598,
-0.09504693001508... |
Currently, I am writing a large report. In my previous ones, I always had the chapters and the main file (`thesis.tex`) in the same directory as the individual chapters. This time, however, I created a subfolder called "chapters" and put the chapter `.tex` files in there. But obviously, the command %!TEX root = thesis.tex"` which I previously put at the beginning of each `chapter.tex`, does not work anymore. Since I work on the report from different locations, I can not define an absolute path but need to define a relative one. I tried `%!TEX root = ../thesis.tex` and `/%!TEX root = thesis.tex`, both of which do not work. I found threads and solutions for `\input` and other commands, none of which solve by problem, though. If anyone was able to shed some light here, I'd be very thankful! | [
0.01127824280411005,
0.021703163161873817,
-0.012042254209518433,
0.021530402824282646,
0.013066306710243225,
0.0036341999657452106,
0.007568811532109976,
-0.0008782661752775311,
-0.017997194081544876,
-0.03692231327295303,
-0.011261983774602413,
0.0029763570055365562,
-0.01660875976085663,
... | [
0.008490264415740967,
0.3079400956630707,
0.5327565670013428,
-0.12816622853279114,
-0.021060490980744362,
-0.17795400321483612,
0.1778174340724945,
-0.10600584745407104,
-0.18884879350662231,
-0.4386385679244995,
0.040985479950904846,
0.2845681607723236,
0.1232157051563263,
0.266296118497... |
I have a small section of text—no more than 15 or 30 characters—that is split up into a few words. I'd like to add a penalty to breaking in this section, but I don't want to completely bar it and risk a truly awful paragraph. How can I effect this? I have some text and \DiscourageBreak{some text that \emph{shouldn't} be broken.} I looked at a list of penalties available on this site, but I didn't see one that seemed appropriate. | [
0.00790126621723175,
0.021018866449594498,
-0.0128478379920125,
0.025181220844388008,
0.030386745929718018,
-0.014956312254071236,
0.007116928696632385,
0.020231878384947777,
-0.016195373609662056,
-0.00016584144032094628,
-0.010077640414237976,
0.007361673284322023,
0.0023690196685492992,
... | [
0.544304370880127,
0.30251702666282654,
0.06841405481100082,
-0.014835042878985405,
-0.03306598588824272,
-0.19978515803813934,
0.5575231909751892,
0.15116840600967407,
-0.1718216836452484,
-0.4170371890068054,
0.01721707358956337,
0.12375655025243759,
-0.18630661070346832,
0.1606319397687... |
I would like to have Ubuntu's MOTD in the fish shell. Ubuntu's default is as follows:  That is essentially what I would like to see when open up my terminal (terminator, which loads fishfish) As far as I can make out (Based on the information here), the default shell executes pam_motd, which in turn executes a bunch of scripts from /etc/update-motd.d I don't know how to do this in the fish shell with any confidence. I haven't been able to find any information by searching. Cheers | [
0.011389128863811493,
0.010769260115921497,
0.0038128301966935396,
0.010864864103496075,
-0.0031717270612716675,
-0.028702273964881897,
0.008493142202496529,
-0.005663442425429821,
-0.010973152704536915,
-0.0023178367409855127,
-0.027955209836363792,
-0.0005527110770344734,
0.002052181400358... | [
0.1077897697687149,
-0.13685078918933868,
0.25362223386764526,
-0.37825191020965576,
0.13556061685085297,
-0.1262865662574768,
0.10084588080644608,
0.34014806151390076,
-0.1898586004972458,
-0.8288477063179016,
0.007233630400151014,
0.9212632775306702,
-0.41155117750167847,
0.0779357701539... |
I would like to know how R chooses its starting coefficient vector for a GLM when its `start` argument is left blank and defaults to `NULL`. For my personal implementation of a GLM, I have simply initialized $ \boldsymbol \beta_0 $ to be all $1$s. However, while this generally is fine, it can cause the iterative algorithm to diverge. Basically, I am just looking for a simple algorithm/formula that takes into consideration the data points and family of the GLM to choose the original coefficient vector, $ \boldsymbol \beta_0 $. | [
0.0001376727595925331,
0.013450898230075836,
0.000004017259925603867,
0.003574277274310589,
-0.012124644592404366,
-0.0012053207028657198,
0.008394011296331882,
-0.000304296612739563,
-0.014447197318077087,
-0.0031058387830853462,
-0.00706141721457243,
0.008089662529528141,
-0.00664087757468... | [
-0.08550325781106949,
0.261434942483902,
0.5269408226013184,
-0.1782757043838501,
-0.3032546043395996,
0.1572328358888626,
-0.0649833157658577,
-0.4586621820926666,
-0.0920274555683136,
-0.3298772871494293,
-0.17408454418182373,
0.38558220863342285,
-0.3646184504032135,
0.350443035364151,
... |
In Edmund Burke's Reflections on the Revolution in France he says: > "I flatter myself that I love a manly, moral, regulated liberty as well as > any gentleman of that society, be he who he will ; and perhaps I have given > as good proofs of my attachment to that cause, in the whole course of my > public conduct. **I think I envy liberty as little as they do, to any other > nation.** I'm not sure what Burke means by the line, "I think I envy liberty as little as they do, to any other nation." Could someone help explain what exactly he means by this line? | [
-0.001797958160750568,
0.018873896449804306,
-0.012872118502855301,
0.005156861152499914,
0.0024358893278986216,
-0.0023205960169434547,
0.007520377170294523,
-0.006920966319739819,
-0.008574657142162323,
-0.00009705126285552979,
-0.005423936527222395,
0.01954805664718151,
-0.019910426810383... | [
0.11403726786375046,
-0.3109157085418701,
-0.8062857389450073,
0.02178851328790188,
0.12372498214244843,
0.39931896328926086,
0.6679547429084778,
0.1551431268453598,
-0.48473650217056274,
-0.4412063658237457,
-0.482502281665802,
-0.05347070470452309,
-0.5207996964454651,
0.2421800345182418... |
(Below) is what I have, with some data shaved off. However, when I view my PDF the caption looks like: Table1::NGC 2264... I would like it as: Table1 NGC 2264 (centered of course) I've been looking around and I can't really find anything that works. I'm hoping someone can show me what to do. And on the table pages 2 and beyond my captions aren't centered, they're left justified. I'm not sure what to do about that either. %% %% Begining of file `table.tex' \documentclass[10pt,fullpage]{aastex} \usepackage{longtable} \usepackage{pdflscape} \begin{document} \begin{landscape} \centering% \renewcommand{\arraystretch}{0.7}% \begin{center} \begin{longtable}{c c c c c c c c c c c} %Header for the first page of the table... \caption{NGC2264 Protostars}\\ \hline \hline \\ [-.8ex] Name & RA & DEC & Mean I1 & Mean I2 & Alpha K2 & Class & Alpha K8 & Av & Avg Av\\ [0.5ex] \hline \\ [-.8ex] \endfirsthead %Header for the rest of the table's pages... \multicolumn{1}{c}{{\tablename} \thetable{} -- Continued} \\ [0.5ex] \hline \hline \\ [-.8ex] Name & RA & DEC & Mean I1 & Mean I2 & Alpha K2 & Class & Alpha K8 & Av & Avg Av\\ [-0.5ex] \hline \\ [-.8ex] \endhead \\\hline \endfoot %Begin data... Mon-000101 & 100.27242 & 9.608597 & 11.082 & 10.034 & 0.39 & I & 0.39 & 31.1 & 31.1 \\ Mon-000171 & 100.2923 & 9.52286 & 14.834 & 14.385 & 0.45 & I & 0.45 & 33.7 & 33.7 \\ Mon-000174 & 100.27621 & 9.563802 & 11.605 & 10.134 & 0.95 & I & 1.29 & 30.8 & 30.8 \\ Mon-000191 & 100.28709 & 9.495832 & 9.231 & 8.105 & 1 & I & 1.01 & 0 & 0 \\ Mon-000323 & 100.25761 & 9.576176 & 9.385 & 8.513 & 0.31 & I & 0.04 & 16.8 & 16.8 \\ Mon-000382 & 100.27496 & 9.569871 & 12.899 & -100 & 0.93 & I & 0.93 & 33.8 & 33.8 \\ Mon-000391 & 100.28869 & 9.50715 & 10.44 & 8.974 & 1.32 & I & 2.45 & 0 & 0 \\ Mon-000392 & 100.186 & 9.800595 & 7.598 & -100 & 0.55 & I & 0.81 & 7.6 & 7.6 \\ Mon-000399 & 100.25794 & 9.877631 & 12.732 & 12.579 & 0.94 & I & -1.13 & 9.8 & 9.8 \\ Mon-000402 & 100.27347 & 9.595702 & 11.707 & 10.519 & 0.58 & I & 0.59 & 20.9 & 20.9 \\ Mon-000411 & 100.23458 & 9.571638 & 12.752 & 11.39 & 0.43 & I & -0.09 & 16.8 & 16.8 \\ Mon-000454 & 100.26513 & 9.601277 & 11.146 & 10.662 & 1.25 & I & 1.25 & 24.9 & 24.9 \\ Mon-000466 & 100.31544 & 9.464637 & 11.265 & 9.906 & 0.69 & I & 1.65 & 23.6 & 23.6 \\ Mon-000495 & 100.28751 & 9.407105 & 10.69 & 9.637 & 0.42 & I & 1.04 & 23.9 & 23.9 \\ Mon-000569 & 100.3025 & 9.484669 & -100 & -100 & 0.7 & I & 0.7 & 16.7 & 16.7 \\ Mon-000704 & 100.28223 & 9.487126 & 12.963 & 12.146 & 0.6 & I & 0.6 & 29.5 & 29.5 \\ Mon-000708 & 100.26408 & 9.601333 & 11.185 & 10.86 & 1.11 & I & 1.2 & 24.9 & 24.9 \\ Mon-000741 & 100.26563 & 9.600305 & 11.315 & 10.747 & 0.58 & I & 0.58 & 24.9 & 24.9 \\ Mon-146053 & 100.23425 & 9.571719 & 12.765 & 11.39 & 1.11 & I & 1.04 & 16.8 & 16.8 \\ \hline %End data. \end{longtable} \end{center} \end{landscape} \end{document} %% %% End of file `table.tex'. | [
0.015421267598867416,
0.0015478082932531834,
-0.014101379550993443,
0.025993384420871735,
-0.013030518777668476,
0.007370227947831154,
0.00584025215357542,
0.015726009383797646,
-0.0174713172018528,
-0.0023241941817104816,
-0.018016980960965157,
-0.005813951138406992,
-0.005745768081396818,
... | [
0.0936392992734909,
0.3676339089870453,
0.6221292018890381,
0.011993058025836945,
-0.06255567818880081,
-0.1342829018831253,
-0.27653586864471436,
0.19084180891513824,
-0.4791315793991089,
-0.6506744623184204,
-0.14915791153907776,
0.37073811888694763,
-0.12079687416553497,
0.1122745051980... |
I would like to perform a linear regression. However, the predictor variables are families of variables indexed by time. Let's say the regression problem is: target ~ x(1)+x(2)+...+x(40)+y(1)+...+y(40) and imagine the x(t) and y(t) are measurements in 40 successive years. The variables inside the families x(t),y(t) are thus highly collinear. The usual way to deal with this problem would be variable selection. However, in the problem at hand it is much desired that the coefficients the x(t) resp. y(t) variables are chosen smoothly in time, so setting some of them to 0 is not a good choice. My idea was to choose the coefficients for the variable families as the values of penalised splines with knots every 5 years. Is there a way to do this in R? Or is there another way of smoothing the coefficients without the use of splines? | [
0.008954057469964027,
0.019401388242840767,
-0.01557966135442257,
0.010131100192666054,
-0.00048498192336410284,
0.00019201473332941532,
0.006469142623245716,
0.005733564496040344,
-0.00783552136272192,
-0.028586026281118393,
0.00042778044007718563,
0.010188108310103416,
0.003692879807204008... | [
0.07406742870807648,
-0.36062443256378174,
0.4599946141242981,
-0.0437580868601799,
-0.02499583177268505,
0.4669165015220642,
-0.03467187285423279,
-0.42999857664108276,
0.04050822928547859,
-0.6673613786697388,
0.2310219705104828,
0.548745334148407,
-0.08056873083114624,
0.540874838829040... |
I have some Mathematica code that analyzes data in a database and uses `Message` to report when expected data is missing. By default, Mathematica will allow this message to appear only three times before it gets shut off, but I'd like this message to appear as often as the errors do. The solutions I can think of are Off[General::stop]; but this kills limits for all error messages, not just this one, or just to switch to `Print`, which seems inelegant. Is there some way to allow this one message to appear more than three times, while leaving behavior unchanged for the rest? | [
0.035625994205474854,
0.00016478344332426786,
-0.015231739729642868,
0.00941460207104683,
-0.01036812737584114,
0.006426590029150248,
0.00795856211334467,
0.005177896935492754,
-0.016612887382507324,
-0.02001751959323883,
-0.016666220501065254,
0.006965010426938534,
-0.00003767036832869053,
... | [
0.18870645761489868,
0.34309419989585876,
0.06513134390115738,
0.11460525542497635,
0.02243073284626007,
-0.1505376249551773,
0.48391658067703247,
0.24058468639850616,
-0.2848600447177887,
-0.44719308614730835,
0.2024855762720108,
0.5892946124076843,
-0.392557293176651,
0.07064862549304962... |
I posted the following question on the main StackOverflow website, but was informed that I might get a better response here. Hence I'm copying it below. Note however, that I have an active bounty on the original posting. * * * I have been using a commercial solution for route distances and travel times for North America and Western/Mid Europe. I am considering expanding the project to cover other countries - and perhaps the entire world. A very limited budget and patchy regional coverage from individual commercial providers, probably make locally-hosted OpenStreetMap the only viable option. Before someone suggests an online solution, my application requires a lot of intensive route calculation - something which would cost a lot or be very impolite (and probably banned) if performed using a web service. The results of the calculations are put back in the public domain, so rediting OpenStreetMaps is not a problem. My problem is how do I assess the routing data coverage for individual countries in the OpenStreetMap database? Such an assessment could determine if the project is viable, and a suitable order for processing (ie. do the countries with the best coverage first). High-end commercial data providers can typically supply statistical descriptions, as well as regional descriptions of surveyed coverage. OpenStreetMap is much more patchy - an area typically includes some roads, but not all roads. Individual location errors of a few metres of even 10-20m will not be a problem for my application (I'm looking at city-city distances), but route graph connectivity is. Ie. the road vectors must logically meet correctly at a junction. Has anyone attempted to create statistics describing data coverage of the OpenStreetMap database? If not, how would you go about it? The best I can think of is to take a random sampling of places (eg. cities), and then attempt to calculate routes. There would have to be an assumption that the major roads will tend to be added before the minor roads. Therefore a route between two distant cities would use the logical major road, and not a minor road (which is typically longer/slower) because the major road is missing. Another problem would be that it is physically not possible to drive between many towns. Often this is due to the presence of islands (where ferries could be used) but often there is no surface route (eg. settlements in Nunavut). So how would such statistics be used when comparing between (say) Tonga and Afghanistan. Afganistan probably has very low data coverage. Tonga is probably better but the settlements are spread out across an archipelago. Some details about my application: All start and end points are towns and cities with locations taken from the Geonames database. Typically I am looking at the 1000 largest cities in a country that also have a population of at least 1000. Routes are currently calculated in duplicate as both fastest routes and shortest routes. Reasonable road speeds vary according to broad road categories. Estimated travel times are computed alongside road distances. These details are preferences for consistency- they are not set in stone. | [
-0.00479524303227663,
0.01995813474059105,
-0.007217432372272015,
0.006190311163663864,
-0.003802812658250332,
0.017357680946588516,
0.003595673944801092,
0.027493316680192947,
-0.012294561602175236,
0.01372469961643219,
0.0065272217616438866,
0.016769032925367355,
-0.008307591080665588,
0... | [
0.44522106647491455,
0.20740340650081635,
0.5446207523345947,
-0.019013509154319763,
0.14067767560482025,
-0.106514111161232,
0.5290023684501648,
0.2305312156677246,
-0.5057196021080017,
-0.5645534992218018,
0.09057104587554932,
-0.0859713926911354,
-0.0725051611661911,
-0.0420008338987827... |
I am confused by _fill_ and _fill in_. I checked online, and both forms are used in * **fill** a hole * **fill in** a hole So I am wondering is there any difference in meaning between them? If not, what's the meaning of **_in_**? What is the function of _in_ "fill in"? | [
-0.00821020919829607,
0.015575176104903221,
-0.00010845455835806206,
0.029841884970664978,
-0.037669215351343155,
-0.005880508106201887,
0.011487115174531937,
0.03737179562449455,
-0.02353423833847046,
0.010599267669022083,
0.00018296902999281883,
-0.001615184242837131,
0.015134411863982677,... | [
0.29843848943710327,
0.38078346848487854,
0.05912644416093826,
-0.2927894592285156,
0.20582076907157898,
0.38771796226501465,
0.19049935042858124,
0.39512762427330017,
-0.35955139994621277,
-0.6547340154647827,
-0.06659800559282303,
0.08819554001092911,
-0.21552102267742157,
0.422460675239... |
When matching up against defensive Guile players who * Throw sonic boom only from long distance. * When I get into EX spiral or spin knuckle distance, he just block low and wait. * Can block or FADC out of rushdown quite well. * In melee range he just do option-select with random flash kick > FADC. The only way I can effectively get to him is EX hooligan when he throw sb from afar, but without ICS there isn't much meter. I tried to use Guile to understand his weaknesses, however, when I use above strategy against Cammy I can win those who has much higher PP/BP than myself. I looked at match videos but these Guile players aren't very defensive, so I still don't know how advanced Cammy players deal with super defensive strategy. | [
0.00017248187214136124,
0.011898263357579708,
-0.019305787980556488,
-0.004637051839381456,
-0.034167345613241196,
-0.03311577066779137,
0.011107798665761948,
0.007924786768853664,
-0.01923288032412529,
-0.021906206384301186,
-0.012474361807107925,
0.009372769854962826,
0.001107214018702507,... | [
-0.16192352771759033,
-0.46931496262550354,
0.33376044034957886,
0.348275750875473,
-0.4438207149505615,
-0.15301160514354706,
0.7967905402183533,
-0.33269357681274414,
0.08288939297199249,
-0.7792699933052063,
0.556350588798523,
0.6664812564849854,
0.31914404034614563,
-0.4102643132209778... |
I am not a native speaker. Could you please explain to me why we use the definite article in the following question: > What is the time? | [
-0.014634997583925724,
-0.002798731904476881,
-0.007404585834592581,
-0.0108885383233428,
-0.03140164166688919,
-0.019566936418414116,
0.012560078874230385,
-0.027821602299809456,
-0.022418469190597534,
-0.027043567970395088,
0.010679257102310658,
-0.0004635128134395927,
-0.02689556591212749... | [
0.15790660679340363,
0.37050101161003113,
-0.008455606177449226,
-0.27048492431640625,
0.15301761031150818,
-0.14057354629039764,
0.3973809778690338,
0.23123055696487427,
0.1005006954073906,
-0.566114604473114,
0.3234080672264099,
0.16258282959461212,
0.27157190442085266,
0.581654012203216... |
I am attempting to plot the bifurcation diagram of the _tent map_ $$ f(x):=2\alpha \begin{cases} x, & 0<x<1/2\\ 1-x, &1/2<x<1, \end{cases} $$ i.e., the plot $\alpha$ vs. the limit points of the sequence $x_{n}:=f(x_{n-1})$. I found the following code online to plot the bifurcation diagram of the related logistic map: ListPlot[ParallelTable[Thread[{r, Nest[r # (1 - #) &, Range[0, 1, 0.01], 1000]}], {r, 0, 4, 0.01}], PlotStyle -> PointSize[0]] So naturally, I figured that I could make a simple change to get the bifurcation diagram of the tent map: ListPlot[ParallelTable[Thread[{r, Nest[2*r*If[0<#<0.5,#, (1 - #)] &, Range[0, 1, 0.01], 1000]}], {r, 0, 1, 0.01}], PlotStyle -> PointSize[0]] But it doesn't work! Is there a simple change I can make to get this guy to work? | [
-0.001073199324309826,
0.012547118589282036,
-0.010085375979542732,
0.00725460983812809,
-0.0016315407119691372,
-0.012071633711457253,
0.007082777097821236,
0.014689188450574875,
-0.014133229851722717,
-0.0034369677305221558,
-0.015665952116250992,
-0.00037693229387514293,
-0.01674985513091... | [
0.2550077438354492,
0.052395693957805634,
0.5473864674568176,
-0.28618323802948,
-0.05048670992255211,
0.0012605723459273577,
-0.025026440620422363,
-0.25709769129753113,
-0.283690482378006,
-0.9554032683372498,
0.005978357512503862,
0.2037200927734375,
-0.42637529969215393,
0.146756157279... |
I have a new store on Magento, is there a solution or script that can help me submit my feeds to Google products search and Shopzilla. | [
0.00619394751265645,
0.02581924945116043,
0.005762293469160795,
0.035784490406513214,
0.003207459580153227,
0.026468323543667793,
0.015877261757850647,
-0.013062273152172565,
-0.03489632159471512,
-0.03400683403015137,
-0.027880581095814705,
0.03454792499542236,
0.014636839739978313,
0.016... | [
0.8994888663291931,
-0.21732097864151,
0.6118703484535217,
0.311777800321579,
0.18426837027072906,
-0.21549035608768463,
0.2257111370563507,
0.6824559569358826,
-0.12237366288900375,
-0.690213143825531,
-0.011421150527894497,
0.22059747576713562,
0.13763517141342163,
-0.14539118111133575,
... |
In linear regression, is the $R^2$ value enough to assess whether the relationship between the independent and dependent variable is linear? It gives the amount of variability in the dependent variable explained by the independent variable. I know that you can plot residuals versus the x value or residuals versus the y value and see if there is a pattern (if there is a pattern then the relationship is not linear). But doesn't the correlation coefficient give enough information about linearity? | [
0.023002319037914276,
0.024686722084879875,
-0.020445505157113075,
0.016570908948779106,
-0.013022000901401043,
-0.008664305321872234,
0.011866707354784012,
-0.010929746553301811,
-0.020910998806357384,
-0.03735700994729996,
-0.015764594078063965,
0.01873680390417576,
-0.01579848676919937,
... | [
0.04055703058838844,
-0.19605231285095215,
0.08536463230848312,
0.2822924256324768,
0.012687084265053272,
0.18766118586063385,
-0.0026672231033444405,
-0.23839016258716583,
0.06672357022762299,
-0.2716319262981415,
0.3390747904777527,
0.6659448742866516,
-0.4072469174861908,
0.301478892564... |
In Pixel People, you can assign a certain occupation to multiple buildings. For example, a mathematician can be assigned to a university or to a tech support center. This makes it impossible to 'fill up' all the buildings with the correct occupation unless you splice duplicates. Is there any advantage at all for filling up all the occupations of a building? | [
-0.007908966392278671,
0.01668887585401535,
-0.0016329874051734805,
0.008675946854054928,
-0.031606387346982956,
0.0032031028531491756,
0.008473660796880722,
0.0009750505560077727,
-0.015640318393707275,
0.034925855696201324,
-0.02504585310816765,
0.012529518455266953,
0.0194908045232296,
... | [
0.5855530500411987,
-0.10567918419837952,
-0.0267015527933836,
0.41527077555656433,
-0.031018076464533806,
0.3923771381378174,
-0.0752607136964798,
0.05630653351545334,
-0.12271153181791306,
-0.6552839279174805,
-0.06813684850931168,
0.18740080296993256,
-0.4656454920768738,
-0.18631479144... |
Suppose in Chapter **3** I have Theorem **3**.17. I need to get the "17", NOT the "3.17" which would readily be obtained using `\label` then `\ref`. How do i do that? **Edit:** (Probably a more relaxing condition): I need that number "17" mostly inside or near (just below) the current theorem environment. | [
0.01361840683966875,
0.02642766572535038,
-0.02710961550474167,
0.015308063477277756,
-0.002630783012136817,
0.019768493250012398,
0.007670416496694088,
-0.00301341968588531,
-0.02095131017267704,
-0.03982957452535629,
-0.013317946344614029,
0.00033610587706789374,
-0.030644606798887253,
0... | [
0.048358406871557236,
0.4374196529388428,
0.49675068259239197,
-0.36058661341667175,
0.1680610477924347,
-0.25639107823371887,
0.28771737217903137,
-0.4174653887748718,
-0.09911253303289413,
-0.6694437265396118,
-0.271915078163147,
0.4673880934715271,
-0.05472683534026146,
0.00892832968384... |
Recently Google has been blocking my website after detecting Malware on it. I have checked through the files and can't spot any Malware that might have been inserted anywhere and no additional files have been added from what I can see. In the diagnostics> Malware section og googles webmaster tools for the site it says "Malware Google has not detected any malware on this site." Also on stopbadware.org the website is not on their clearing house. The site is melfordschoolofmotoring.co.uk. So why is google detecting malware? | [
-0.03147145360708237,
-0.003349714446812868,
-0.004726587329059839,
0.020235972478985786,
-0.0038179513067007065,
-0.0049763936549425125,
0.010079709812998772,
-0.01315939798951149,
-0.015516319312155247,
-0.005830082576721907,
0.0037882281467318535,
0.016514554619789124,
0.00048365371185354... | [
0.7150247097015381,
0.17185728251934052,
0.1979963332414627,
-0.14461679756641388,
-0.06953244656324387,
-0.34895771741867065,
0.4340797960758209,
0.3528191149234772,
-0.36601290106773376,
-0.42995524406433105,
0.3254852890968323,
0.18992699682712555,
-0.283672958612442,
0.3633477687835693... |
I'm compiling one pretty simple LaTeX file with few dozen of `pgfplots`. Now, I can compile part by part, but am **unable to compile it all at once**. I really need good precision for all those plots (noise plots) and would like to avoid decimating graphs more. When I run compile, I get this error message: [...] TeX capacity exceeded, sorry [main memory size=3000000]. **Is there a way to avoid this message somehow?** How am I supposed to use `pgfplots` if I can't plot couple dozen of figures with it without having TeX overloaded? **How to expand TeX memory size, please?** | [
-0.00629043485969305,
-0.007524981629103422,
-0.016260728240013123,
0.012619400396943092,
0.011825859546661377,
0.008854996412992477,
0.007740485481917858,
-0.003836870426312089,
-0.018388871103525162,
-0.004271363373845816,
0.008646799251437187,
0.0009903297759592533,
0.007472199387848377,
... | [
0.20931261777877808,
0.2299865186214447,
0.5052893161773682,
-0.03212680667638779,
-0.07017986476421356,
0.002507301978766918,
0.4000319838523865,
-0.09736999124288559,
-0.5038608312606812,
-0.6269906759262085,
0.281099408864975,
0.5803374648094177,
-0.37641721963882446,
0.1538739353418350... |
My PC is currently running on the Windows 8.1. When the league of legends launcher is ready to play it crashes the game. Can you give me an answer to how I can make league of legends work on Windows 8.1 ? | [
0.012994992546737194,
-0.009877242147922516,
-0.015600103884935379,
0.0016882281051948667,
-0.011362710036337376,
-0.01599867269396782,
0.009365497156977654,
0.0027269625570625067,
-0.03280883654952049,
-0.01916869916021824,
-0.010360529646277428,
0.0097021060064435,
0.000913513358682394,
... | [
0.30980899930000305,
0.28285840153694153,
0.11253827810287476,
0.48032698035240173,
0.24661830067634583,
-0.1796904355287552,
0.24789069592952728,
0.35572129487991333,
0.009928785264492035,
-0.639560341835022,
0.3684130609035492,
0.6433058977127075,
-0.14307205379009247,
0.3508735299110412... |
How would you suggest to list centuries here: Suspended hyphen: > In the late nineteenth- and early twentieth-centuries... Separated by commas: > In the late nineteenth-, and early twentieth-, centuries... Spelled out in full: > In the late nineteenth and early twentieth centuries... Or, finally, condensed: > In the late 19th and early 20th centuries... Any help, or reference to style manuals would be hugely appreciated! | [
0.020477712154388428,
0.0223274864256382,
-0.030020827427506447,
0.026807155460119247,
-0.00010509036656003445,
-0.01706686057150364,
0.014643173664808273,
-0.011149052530527115,
-0.01776002161204815,
0.013951888307929039,
-0.006411414127796888,
-0.00648109894245863,
-0.019203588366508484,
... | [
0.03676414117217064,
0.15676851570606232,
0.2676926255226135,
0.07723794132471085,
-0.14870648086071014,
0.33782264590263367,
0.1459253579378128,
0.37192997336387634,
-0.4811996817588806,
-0.6550912261009216,
-0.09621240943670273,
-0.05814996734261513,
0.12176190316677094,
0.62797158956527... |
For a single charge $e$ with position vector $\textbf R$, the charge density $\rho$ and and current density $\textbf{j}$ are fiven by: \begin{equation} \rho(\textbf{r},t)= e\,\delta(r-\textbf{R}(t))\end{equation} \begin{equation} \textbf{j}(\textbf{r},t)=e\frac{d\textbf{R}}{dt}\delta(\textbf{r}-\textbf{R}(t))\end{equation} Suppose we want to check the equation of continuity \begin{equation}\frac{\partial \rho}{\partial t}+\nabla \cdot\textbf{j}=0 \end{equation} How to do it? How to deal with the derivatives of a delta function? Thanks | [
0.005932739470154047,
0.01763017475605011,
-0.011726810596883297,
-0.006160730961710215,
0.007514455821365118,
-0.029439004138112068,
0.006475700996816158,
-0.0027455901727080345,
-0.006671711802482605,
-0.017108086496591568,
0.003507305169478059,
0.020280832424759865,
-0.01925116404891014,
... | [
0.033697113394737244,
0.05462634190917015,
0.5259562134742737,
0.012037467211484909,
0.014940808527171612,
0.46922630071640015,
-0.1946045160293579,
-0.7475039958953857,
-0.16304388642311096,
-0.31831982731819153,
-0.2250792682170868,
0.357898473739624,
-0.45393383502960205,
0.518990039825... |
My WordPress comments appear repeated even though it is not. It get repeated n times as comment exists. Here is my `comment.php` code: <?php function my_comments_callback( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; ?> <?php $args = array( 'status' => 'approve', 'post_id'=>11, 'type' => 'comment' ); $comments = get_comments($args); foreach($comments as $comment) : ?> <div id="comm"> <blockquote style="font-family: tahoma, Times, serif;font-style: normal;font- size: 8pt;width: 490px;height: 80px; margin: 0 auto; text-align: right;"> <article id="comment-<?php comment_ID(); ?>" class="comment"> <?php echo $comment->comment_content; ?> <div class="commentcontent"><p style="font-style: normal;display: block;text- align: right;font-size: 8pt;color: #2f87aa; letter-spacing: 1px; font-family: tahoma;"><?php echo $comment->comment_author ;?></p></div> </article> </blockquote> </div> <?php endforeach;?> and this is the template page where I called `comments.php`: <?php /* Template Name: visitor */ ?> <?php get_header(); ?> <div id="content"> <img style="float:right; margin-right:20px;" src="<?php bloginfo('template_directory'); ?>/images/visitor_title.png"/> <div id="commentholder"> <a href="#dialog" title="Add your comment - "> <img src="<?php bloginfo('template_directory'); ?>/images/edit_pin.gif" id="LearnMoreBtn"/></a> <div id="overlay"></div> <div id="popup" style="width:500px;height:250px;margin-left: 86px;"> <?php $commenter = wp_get_current_commenter(); $req = get_option( 'require_name' ); $aria_req = ( $req ? " aria-required='true'" : '' ); $fields = array( 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'name' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>', ); $comments_args = array( 'fields' => $fields, 'title_reply'=>'', 'comment_notes_after'=>'', 'comment_notes_before'=>'', 'label_submit' => 'send', 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'message', 'noun' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria - required="true">' . '</textarea></p>', ); ?> <div id="commentform"> <?php comment_form($comments_args); ?> </div> <a id="CloseBtn">ClosePopup</a> </div> </div> <?php comments_template(); wp_list_comments(array( 'callback' => 'my_comments_callback' )); ?> <?php get_footer(); ?> any help would be appreciated | [
0.008862562477588654,
0.012950742617249489,
-0.002272117417305708,
0.030393853783607483,
0.0014308574609458447,
0.008319335989654064,
0.005978681612759829,
0.0034831776283681393,
-0.011921641416847706,
-0.00916911382228136,
-0.0031770500354468822,
0.0062086330726742744,
0.017031237483024597,... | [
-0.05321477726101875,
0.06742919236421585,
0.8862802386283875,
-0.3951505422592163,
-0.19265885651111603,
0.42877334356307983,
0.46077480912208557,
-0.02632758393883705,
-0.15078192949295044,
-0.6759963631629944,
-0.12244980037212372,
0.36192286014556885,
-0.3815659284591675,
-0.0189645215... |
seems the kitchen sink, and sidebar show/hide links, are not working. i have upgraded to latest release with no such luck in fixing problem. Any help would be greatly appreciated. | [
0.020254801958799362,
-0.022604789584875107,
-0.0185186006128788,
0.01662556827068329,
-0.02430860511958599,
-0.014454024843871593,
0.00900194514542818,
0.008747057057917118,
-0.04088635742664337,
0.0584426149725914,
-0.02866545505821705,
0.02779703587293625,
0.009461408481001854,
-0.00417... | [
0.1874527484178543,
0.22151567041873932,
0.4833212196826935,
0.1367647796869278,
0.5460403561592102,
-0.16811522841453552,
0.6966620683670044,
0.20020976662635803,
-0.321044921875,
-0.6743603348731995,
0.002633347176015377,
0.37135618925094604,
0.2605092525482178,
0.13149066269397736,
-0... |
I ran into this bug, where Cantor can't find the sage backend if both are installed through the ubuntu package system. I can get around this bug if I know the path to the sage executable, but even after installing cantor- backend-sage I can't figure out where sage is located. `locate` and `find` both return loads of files called `message`-something, and have been unhelpful. `which sage` and `whereis sage` return nothing. Is there some way to figure out where apt-get installs everything in a package? | [
-0.002022741362452507,
-0.0024134062696248293,
-0.0028140321373939514,
0.0137705709785223,
0.03460461273789406,
0.01960362121462822,
0.009231061674654484,
-0.006097251549363136,
-0.021907038986682892,
-0.016921166330575943,
-0.020121723413467407,
0.0114634083583951,
-0.026480665430426598,
... | [
0.35816147923469543,
0.049062810838222504,
-0.03441154956817627,
0.0913170725107193,
-0.22337055206298828,
-0.29300743341445923,
0.45448359847068787,
-0.21857154369354248,
0.050616003572940826,
-0.4645577371120453,
-0.12331685423851013,
0.6073322892189026,
-0.44483301043510437,
0.120553083... |
I would like to use non-TeX fonts in LyX. To do this, I use the **Document->Setting->Use non-TeX fonts** setting. This setting causes LyX to insert the `\usepackage{fontspec}` statement automatically into the preamble. However, I would like to load the **fontspec** with specific options. I have tried to do `\usepackage[LY1,T1]{fontspec}` for example. Even with this LyX still does `\usepackage{fontspec}` and I end up with two statements which both load `fontspec` in the preamble. I have tried using the command `Provides fontspec 1` in the layout file in the hope that LyX would not load `fontspec` automatically. It still does. What is interesting is that LyX does the automatic package loading on a line that precedes the one on which I ask it to load `fontspec` with specified options. Does somebody have an idea of how I could condition LyX to let me load `fontspec` with the required options without it loading `fontspec` automatically? | [
0.023316925391554832,
-0.010282331146299839,
-0.009772083722054958,
0.010550309903919697,
0.008718559518456459,
0.0134647898375988,
0.009011603891849518,
0.014047544449567795,
-0.013364987447857857,
0.015242211520671844,
-0.008360002189874649,
-0.004686983302235603,
-0.0028856650460511446,
... | [
0.35650691390037537,
0.25050798058509827,
0.41774582862854004,
-0.2549424469470978,
-0.06931664794683456,
0.06180739030241966,
-0.045326605439186096,
-0.003941635135561228,
0.27950549125671387,
-0.670653760433197,
0.02531464211642742,
0.5289867520332336,
-0.28689125180244446,
-0.1782653927... |
This is my code whenever i try to load .tif image it shows layer is not valid,`QgsRasterLayer` always return invalid layer (I am using linux 12.04). QString myFileName = QFileDialog::getOpenFileName(this,tr("OpenFile"),"/home/ravi",tr("*.tiff")); std::cout<<"File Name:"<<myFileName.toStdString(); QFileInfo myRasterFileInfo(myFileName); QgsRasterLayer * mypLayer = new QgsRasterLayer(myRasterFileInfo.filePath(), myRasterFileInfo.completeBaseName()); if (mypLayer->isValid()) { qDebug("Layer is valid"); } else { qDebug("Layer is NOT valid"); return; } | [
-0.0002367696724832058,
0.014409024268388748,
-0.0005032107001170516,
0.006997980177402496,
0.014315232634544373,
0.015564113855361938,
0.00999210961163044,
0.029786331579089165,
-0.009511124342679977,
0.004687719978392124,
-0.009927233681082726,
0.0028058935422450304,
0.006181219592690468,
... | [
0.22234535217285156,
-0.026064647361636162,
0.9611170291900635,
-0.42267388105392456,
0.40333572030067444,
-0.03323462978005409,
0.5590779185295105,
-0.2859022319316864,
-0.1490355283021927,
-0.7973731756210327,
-0.06661362946033478,
0.6565398573875427,
-0.19681259989738464,
0.287376612424... |
I know that in space, because of vacuum that we can't hear voices or sound to be specific, why is that? Why does sound need a medium to go through? | [
0.022412080317735672,
0.00469944765791297,
0.008448360487818718,
-0.015245282091200352,
0.019355187192559242,
-0.014746473170816898,
0.01596742309629917,
0.020023850724101067,
-0.021659061312675476,
-0.02197193168103695,
-0.020834729075431824,
0.04253948852419853,
0.01302424818277359,
0.01... | [
0.697512149810791,
0.38538214564323425,
0.15698519349098206,
0.13868682086467743,
0.12436559051275253,
-0.2617586553096771,
0.12771324813365936,
-0.00845104455947876,
-0.2731187343597412,
-0.3855573534965515,
0.08919954299926758,
0.2904955744743347,
0.08627855777740479,
0.5169970989227295,... |
I am having trouble using jurabib to create footnote citations in LyX. I followed the instructions for setting up LyX to use jurabib, see http://wiki.lyx.org/LyX/HumanitiesLyX Following the wiki recommendations, I added the following text to the LaTeX preamble (and applied it) in order to achieve an oxford-style format: \jurabibsetup{% titleformat=italic,% titleformat=commasep,% commabeforerest,% ibidem=strict,% citefull=first,% lookat,% oxford,% pages=format,% idem% } None of this formatting seems to have actually applied to the citations or to the bibliography output. For example, titles are not italicized, nor are they followed by a comma. In the end, I would like to be able to adjust the preamble to use Chicago-style footnote citations (and have the bibliography formatting in Chicago as well). **The short and general question is** : how do I get the jurabibsetup part of my LaTeX preamble to actually apply to the document output? Is this a problem with my preamble syntax or a problem with the formatting of my BibTeX entries? Note: my current bibliography is in BibTeX and in the jurabib style. The .bib file for my bibliography was created as an export from Zotero. I do not receive any error messages when generating pdf output…I just don't get the output that I expect. Here are some examples of entries from the .bib file that I am using, because I suspect that may be the underlying problem: @incollection{lake_commitment_1998, address = {Princeton, {N.J.}}, title = {Commitment Problems and the Spread of Ethnic Conflict}, isbn = {0691016917 (cloth alk. paper) 0691016909 (pbk. alk. paper)}, lccn = {Jefferson or Adams Bldg General or Area Studies Reading Rms GN496; .I595 1998 Main or Science/Business Reading Rms - STORED OFFSITE GN496; .I595 1998}, shorttitle = {Commitment Problems and the Spread of Ethnic Conflict}, url = {http://www.loc.gov/catdir/toc/prin031/97015031.html http://www.loc.gov/catdir/description/prin021/97015031.html}, booktitle = {The international spread of ethnic conflict : fear, diffusion, and escalation}, publisher = {Princeton University Press}, author = {Fearon, James D.}, editor = {Lake, David A. and Rothchild, Donald S.}, year = {1998}, keywords = {Conflict management., Ethnic conflict., International relations., World politics 1989-}, pages = {107--126}, annote = {{97015031David} A. Lake and Donald S. Rothchild, editors.ill. ; 25 {cm.Includes} bibliographical references (p. [351]-378) and index.}, annote = {The following values have no corresponding Zotero {field:SE} - 5} @article{bates_organizing_2002, title = {Organizing Violence}, volume = {46}, issn = {00220027}, shorttitle = {Organizing Violence}, url = {http://www.jstor.org/stable/3176194}, abstract = {In stateless societies, coercion is privately provided; violence is employed to engage in, and to defend against, predation. At best, violence results in mere redistribution; being destructive, it more often results in a loss of social welfare. When organized, however, violence can be socially productive; it can be employed to defend property rights, thereby strengthening the incentives to engage in productive activity. To explore how violence can be rendered a source of welfare, the authors develop a model of a stateless society in which people's rights to the product of their labor are secure only if they possess coercive capabilities. Using case materials and formal logic, the authors then compare this outcome with that obtained when private agents reward specialists in violence for defending property rights. In doing so, we plumb the role of the state.}, journal = {The Journal of Conflict Resolution}, author = {Bates, Robert and Greif, Avner and Singh, Smita}, year = {2002}, note = {5}, pages = {599--628}, annote = {{ArticleType:} primary\_article / Full publication date: Oct., 2002 / Copyright √Ǭ© 2002 Sage Publications, Inc.} }, | [
0.024293845519423485,
0.002646796405315399,
-0.00367748667486012,
0.01633831299841404,
0.008068658411502838,
0.026431389153003693,
0.011893125250935555,
0.030753614380955696,
-0.017081160098314285,
-0.00682216277346015,
-0.007561898790299892,
-0.0012238961644470692,
-0.013649039901793003,
... | [
-0.02476286143064499,
0.2025500237941742,
0.8239541053771973,
-0.07384109497070312,
-0.15773339569568634,
-0.024120183661580086,
-0.08752614259719849,
-0.07237851619720459,
-0.15217041969299316,
-0.4515211880207062,
-0.18233206868171692,
0.21063505113124847,
-0.22385384142398834,
0.2013827... |
I have a two column article: \documentclass[a4paper, twocolumn]{article} Inside this is a bigger `lstlisting` which has a `float=*` to merge the two columns. However this listing needs a page break. LaTeX won't break the listing due to the float I think. What can I do to let LaTeX page break my listing? | [
-0.006922630593180656,
0.016000542789697647,
-0.01052511390298605,
0.005472113844007254,
-0.0028145862743258476,
0.00817140657454729,
0.00936401542276144,
0.009192046709358692,
-0.014591642655432224,
0.026017101481556892,
-0.0219415295869112,
0.015473388135433197,
-0.0178664643317461,
0.01... | [
0.2540454566478729,
0.20831017196178436,
0.5493139624595642,
-0.2633662819862366,
-0.13220617175102234,
-0.03830387815833092,
0.15302516520023346,
-0.28944554924964905,
-0.030139215290546417,
-0.6167380809783936,
0.35596150159835815,
0.3684675097465515,
-0.38521450757980347,
0.313553184270... |
I'm using this guide to set-up a shared internet connection between two PC's. At **step 8** it says I should run the commands: iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE /etc/rc.d/iptables save /etc/rc.d/iptables start Doing this seems to have no effect on iptable's **rules** , if I run `iptables -nvL` my output is: Chain INPUT (policy ACCEPT 2223 packets, 2330K bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 2272 packets, 277K bytes) pkts bytes target prot opt in out source destination Is that correct or am I doing something wrong? | [
0.018971789628267288,
0.00004739430733025074,
0.001359874615445733,
0.003172390628606081,
-0.018811345100402832,
0.015353526920080185,
0.008083272725343704,
0.0018689497373998165,
-0.018883217126131058,
0.0077322134748101234,
-0.0002684954088181257,
0.005747510120272636,
-0.01175307575613260... | [
0.2291291356086731,
-0.08583248406648636,
0.6651760935783386,
-0.13187329471111298,
-0.0804377943277359,
-0.23176945745944977,
0.1940605193376541,
-0.24663977324962616,
-0.2696373164653778,
-0.67571622133255,
0.11250815540552139,
0.6189653873443604,
-0.546618640422821,
0.38525456190109253,... |
I have a variable whose values vary between $-\infty$ and $\infty$. I'd like to change its limits from $0$ to $1$. I want to give extremely low values when the values are less than $-1$ or greater than $1$ and want to give the highest value to the value $0$. Which distribution would be the best here, and what's the formula to do so? And if possible, can you guide me to some good links where I can learn more about such stuff? | [
0.0032039619982242584,
0.012233233079314232,
-0.017288783565163612,
-0.0011465884745121002,
-0.014826032333076,
-0.017200319096446037,
0.00713147921487689,
-0.0011703167110681534,
-0.019472775980830193,
-0.017011480405926704,
-0.009068080224096775,
0.0009610825218260288,
-0.01510076783597469... | [
0.14616037905216217,
0.03329293429851532,
0.11682596057653427,
-0.18869274854660034,
0.14188887178897858,
0.10968860983848572,
-0.1511739194393158,
0.29267847537994385,
0.02866254560649395,
-0.45693546533584595,
0.3757864236831665,
0.5690320730209351,
-0.43700164556503296,
0.43892300128936... |
I tried to do a backup a few days ago but TB just stucked on the "Asking root permissions" screen. And now, every app that needs root access doesn't work properly because root access is denied. My superuser app is updated, and I also tried to reset its user data but it's still not working. Does anyone have an idea to make it work again ? EDIT Here's the logcat : 07-09 18:28:21.552 V/InputDevice( 2940): ID[0]=0(0) Up(1=>0) 07-09 18:28:24.554 W/PowerManagerService( 2940): Timer 0x3->0x3|0x0 07-09 18:28:24.627 I/KeyInputQueue( 2940): Input event 07-09 18:28:24.632 V/lights ( 2940): set_light_buttons invoked 07-09 18:28:24.632 D/lights ( 2940): set_light_button on=255 07-09 18:28:24.632 I/PowerManagerService( 2940): Ulight 3->7|0 07-09 18:28:24.817 I/KeyInputQueue( 2940): Input event 07-09 18:28:24.847 I/ActivityManager( 2940): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.fede.launcher/.Launcher } 07-09 18:28:25.077 D/PhoneWindow( 6377): couldn't save which view has focus because the focused view android.widget.LinearLayout@47242a48 has no id. 07-09 18:28:26.047 I/KeyInputQueue( 2940): Input event 07-09 18:28:26.047 V/InputDevice( 2940): ID[0]=0(0) Dn(0=>1) 07-09 18:28:26.052 V/WindowManager( 2940): Dsptch > Window{473bdba0 com.fede.launcher/com.fede.launcher.Launcher paused=false} 07-09 18:28:26.272 V/WindowManager( 2940): Dsptch > Window{473bdba0 com.fede.launcher/com.fede.launcher.Launcher paused=false} 07-09 18:28:26.272 I/KeyInputQueue( 2940): Input event 07-09 18:28:26.272 V/InputDevice( 2940): ID[0]=0(0) Up(1=>0) 07-09 18:28:27.347 I/KeyInputQueue( 2940): Input event 07-09 18:28:27.347 V/InputDevice( 2940): ID[0]=0(0) Dn(0=>1) 07-09 18:28:27.352 V/WindowManager( 2940): Dsptch > Window{473bdba0 com.fede.launcher/com.fede.launcher.Launcher paused=false} 07-09 18:28:27.667 I/KeyInputQueue( 2940): Input event 07-09 18:28:27.672 V/WindowManager( 2940): Dsptch > Window{473bdba0 com.fede.launcher/com.fede.launcher.Launcher paused=false} 07-09 18:28:27.672 V/InputDevice( 2940): ID[0]=0(0) Up(1=>0) 07-09 18:28:28.482 V/WindowManager( 2940): Dsptch > Window{473bdba0 com.fede.launcher/com.fede.launcher.Launcher paused=false} 07-09 18:28:28.482 I/KeyInputQueue( 2940): Input event 07-09 18:28:28.482 V/InputDevice( 2940): ID[0]=0(0) Dn(0=>1) 07-09 18:28:29.082 V/WindowManager( 2940): Dsptch > Window{473bdba0 com.fede.launcher/com.fede.launcher.Launcher paused=false} 07-09 18:28:29.082 I/KeyInputQueue( 2940): Input event 07-09 18:28:29.082 V/InputDevice( 2940): ID[0]=0(0) Up(1=>0) 07-09 18:28:29.702 I/KeyInputQueue( 2940): Input event 07-09 18:28:29.702 V/InputDevice( 2940): ID[0]=0(0) Dn(0=>1) 07-09 18:28:29.707 V/WindowManager( 2940): Dsptch > Window{473bdba0 com.fede.launcher/com.fede.launcher.Launcher paused=false} 07-09 18:28:30.382 I/KeyInputQueue( 2940): Input event 07-09 18:28:30.382 V/InputDevice( 2940): ID[0]=0(0) Up(1=>0) 07-09 18:28:30.392 V/WindowManager( 2940): Dsptch > Window{473bdba0 com.fede.launcher/com.fede.launcher.Launcher paused=false} 07-09 18:28:30.777 I/KeyInputQueue( 2940): Input event 07-09 18:28:30.777 V/InputDevice( 2940): ID[0]=0(0) Dn(0=>1) 07-09 18:28:30.787 V/WindowManager( 2940): Dsptch > Window{473bdba0 com.fede.launcher/com.fede.launcher.Launcher paused=false} 07-09 18:28:30.877 I/KeyInputQueue( 2940): Input event 07-09 18:28:30.882 V/InputDevice( 2940): ID[0]=0(0) Up(1=>0) 07-09 18:28:30.887 V/WindowManager( 2940): Dsptch > Window{473bdba0 com.fede.launcher/com.fede.launcher.Launcher paused=false} 07-09 18:28:31.017 I/ActivityManager( 2940): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.keramidas.TitaniumBackup/.MainActivity } 07-09 18:28:31.067 I/ActivityManager( 2940): Start proc com.keramidas.TitaniumBackup for activity com.keramidas.TitaniumBackup/.MainActivity: pid=6434 uid=10051 gids={1015, 3003} 07-09 18:28:31.227 I/Zygote ( 6434): Zygote: pid 6434 has INTERNET permission, then set capability for CAP_NET_RAW 07-09 18:28:31.502 I/com.keramidas.TitaniumBackup.MainApplication( 6434): onCreate() 07-09 18:28:32.947 I/com.keramidas.TitaniumBackup.MainApplication( 6434): Detected CPU architecture: ARM 07-09 18:28:32.962 W/Settings( 6434): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value. 07-09 18:28:32.967 D/o.䁄 ( 6434): Debug features are disabled. 07-09 18:28:33.002 I/o.쮱 ( 6434): restoreMySettings_ifNeeded() 07-09 18:28:33.047 I/o.쮱 ( 6434): Internal settings found => No need to restore. 07-09 18:28:33.647 W/Resources( 6434): Converting to string: TypedValue{t=0x10/d=0x0 a=-1} 07-09 18:28:33.717 W/Resources( 6434): Converting to string: TypedValue{t=0x10/d=0x0 a=-1} 07-09 18:28:33.782 W/Resources( 6434): Converting to string: TypedValue{t=0x10/d=0x0 a=-1} 07-09 18:28:33.792 W/Resources( 6434): Converting to string: TypedValue{t=0x10/d=0xf a=-1} 07-09 18:28:33.872 W/Resources( 6434): Converting to string: TypedValue{t=0x10/d=0x80 a=-1} 07-09 18:28:33.872 W/Resources( 6434): Converting to string: TypedValue{t=0x10/d=0x3 a=-1} 07-09 18:28:34.142 W/Resources( 6434): Converting to string: TypedValue{t=0x10/d=0x20 a=-1} 07-09 18:28:34.207 W/Resources( 6434): Converting to string: TypedValue{t=0x10/d=0x1 a=-1} 07-09 18:28:34.267 W/Resources( 6434): Converting to string: TypedValue{t=0x10/d=0x3 a=-1} 07-09 18:28:34.557 I/com.keramidas.TitaniumBackup.MainActivity( 6434): Main Activity is being created for the first time => scheduling next wake-up ... 07-09 18:28:34.567 I/o.յ ( 6434): scheduleNextWakeup(): Invoked with idToExcludeForToday=null 07-09 18:28:34.692 I/o.յ ( 6434): scheduleNextWakeup(): No next wakeup scheduled. 07-09 18:28:34.707 I/o.ᡝ ( 6434): Thread started. 07-09 18:28:35.177 W/PowerManagerService( 2940): Timer 0x7->0x3|0x0 07-09 18:28:35.177 V/lights ( 2940): set_light_buttons invoked 07-09 18:28:35.177 D/lights ( 2940): set_light_button on=0 07-09 18:28:35.177 I/PowerManagerService( 2940): Ulight 7->3|0 07-09 18:28:36.282 I/o.嫶 ( 6434): Detected 0 mount point(s) in addition to Android "external" storage. 07-09 18:28:36.292 I/ActivityManager( 2940): Displayed activity com.keramidas.TitaniumBackup/.MainActivity: 5242 ms (total 5242 ms) 07-09 18:28:36.307 I/o.䌮 ( 6434): [Licensing] No cache file: /mnt/sdcard/data/com.keramidas.TitaniumBackup/licensing-cache.xml 07-09 18:28:36.307 I/o.䌮 ( 6434): [Licensing] Cache valid? = false 07-09 18:28:36.307 I/o.䌮 ( 6434): [Licensing] Deleting non-valid cache file: /mnt/sdcard/data/com.keramidas.TitaniumBackup/licensing-cache.xml 07-09 18:28:36.397 I/o.嫶 ( 6434): Detected 0 mount point(s) in addition to Android "external" storage. 07-09 18:28:36.407 W/System.err( 6434): ERROR: Could not open license file: /data/data/com.keramidas.TitaniumBackup/files/license.txt 07-09 18:28:36.512 E/su ( 6447): sudb - Opening database 07-09 18:28:36.517 E/su ( 6447): Couldn't open database: unable to open database file 07-09 18:28:36.517 E/su ( 6447): sudb - Could not open database, prompt user 07-09 18:28:37.332 D/AndroidRuntime( 6449): 07-09 18:28:37.332 D/AndroidRuntime( 6449): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<< 07-09 18:28:37.332 D/AndroidRuntime( 6449): CheckJNI is OFF 07-09 18:28:37.337 E/AndroidRuntime( 6449): /system/csc/customer.xml ==> cannot open file 07-09 18:28:37.342 D/AndroidRuntime( 6449): found sales_code tag = <>, </> 07-09 18:28:37.342 E/AndroidRuntime( 6449): /system/csc/feature.xml ==> cannot open file 07-09 18:28:37.747 D/AndroidRuntime( 6449): --- registering native functions --- 07-09 18:28:38.132 D/LibQmg_native( 6449): register_android_app_LibQmg 07-09 18:28:43.737 I/KeyInputQueue( 2940): Input event 07-09 18:28:43.737 V/InputDevice( 2940): ID[0]=0(0) Dn(0=>1) 07-09 18:28:43.742 V/WindowManager( 2940): Dsptch > Window{4732a058 StatusBar paused=false} 07-09 18:28:43.922 I/KeyInputQueue( 2940): Input event 07-09 18:28:43.927 V/InputDevice( 2940): ID[0]=0(0) Up(1=>0) 07-09 18:28:43.947 V/WindowManager( 2940): Dsptch > Window{4732a058 StatusBar paused=false} 07-09 18:28:46.087 I/KeyInputQueue( 2940): Input event 07-09 18:28:46.087 V/InputDevice( 2940): ID[0]=0(0) Dn(0=>1) 07-09 18:28:46.092 V/WindowManager( 2940): Dsptch > Window{4739b5f8 TrackingView paused=false} 07-09 18:28:46.242 I/KeyInputQueue( 2940): Input event 07-09 18:28:46.247 V/InputDevice( 2940): ID[0]=0(0) Up(1=>0) 07-09 18:28:46.252 V/WindowManager( 2940): Dsptch > Window{4739b5f8 TrackingView paused=false} 07-09 18:28:46.537 W/InputManagerService( 2940): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@470d25d0 07-09 18:28:47.879 I/KeyInputQueue( 2940): Input event 07-09 18:28:47.882 V/InputDevice( 2940): ID[0]=0(0) Dn(0=>1) 07-09 18:28:47.892 V/WindowManager( 2940): Dsptch > Window{4732a058 StatusBar paused=false} 07-09 18:28:48.087 I/KeyInputQueue( 2940): Input event 07-09 18:28:48.092 V/InputDevice( 2940): ID[0]=0(0) Up(1=>0) 07-09 18:28:48.097 V/WindowManager( 2940): Dsptch > Window{4732a058 StatusBar paused=false} 07-09 18:28:48.617 I/KeyInputQueue( 2940): Input event 07-09 18:28:48.622 V/WindowManager( 2940): Dsptch > Window{473baca0 StatusBarExpanded paused=false} 07-09 18:28:48.622 V/InputDevice( 2940): ID[0]=0(0) Dn(0=>1) 07-09 18:28:48.747 I/KeyInputQueue( 2940): Input event 07-09 18:28:48.747 V/WindowManager( 2940): Dsptch > Window{473baca0 StatusBarExpanded paused=false} 07-09 18:28:48.747 V/InputDevice( 2940): ID[0]=0(0) Up(1=>0) 07-09 18:28:49.032 W/InputManagerService( 2940): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@46fc9070 | [
-0.006240773014724255,
-0.001105509465560317,
-0.005964737851172686,
0.00469638267531991,
-0.02254554256796837,
0.006729250308126211,
0.004828928038477898,
0.012320686131715775,
-0.011285739950835705,
-0.002011203672736883,
-0.014689682051539421,
-0.0016009316314011812,
-0.001129035837948322... | [
0.3043317198753357,
0.17404235899448395,
0.38706836104393005,
0.23283736407756805,
0.23125946521759033,
0.11420552432537079,
0.7115587592124939,
0.045969557017087936,
-0.48302802443504333,
-0.8102658987045288,
-0.018021585419774055,
0.8684748411178589,
-0.19276711344718933,
0.2603377401828... |
I've been coding for about 8 years, however I still find inheritance is too flexible and sometimes it makes you totally confused with the code you have written. One simplest example would be: abstract class AClass { protected void method1() { if(check()) { do1(); } else { do2(); } } protected abstract void do1(); protected abstract void do2(); } The intention of the class is that people can implement do1() and do2() so that some further logic can be done, however sometimes people decide to overload method1(), and then things become complicated immediately. I find only in strategy pattern, code is reused well through inheritance, in most case the designer of the base class know its subclasses very well, and that inheritance is totally optional. I have a class that's inherited by 4 classes - an IoHandler, and it's subclasses for server side, client side, edge server, origin server, and it begins to drive me crazy. I was always in code refactoring, I always came out with ideas I think would work and then were proven not. It's said that human brain can only hold 7 pieces of information one time, am I carrying too many? | [
0.0040301489643752575,
0.014871782623231411,
-0.008320996537804604,
0.01678430661559105,
-0.017955560237169266,
0.014748336747288704,
0.005974898114800453,
-0.000271528959274292,
-0.011084036901593208,
0.030165165662765503,
-0.008324017748236656,
0.0015734224580228329,
-0.004406904336065054,... | [
0.7426422834396362,
-0.0023334992583841085,
-0.06268441677093506,
-0.1005699560046196,
0.28603121638298035,
0.06804081797599792,
0.30495190620422363,
-0.13794121146202087,
0.0031375244725495577,
-0.6454607844352722,
0.2251186966896057,
0.16152964532375336,
-0.2467842847108841,
0.0486902371... |
please suggest me which one is correct and any other suggestion to make it a better sentence. 1\. We have noted your below email and we are not holding below booking any longer. 2\. We have noted your below email and are not holding below booking any longer. Thanks. | [
0.013909129425883293,
0.017624402418732643,
-0.018369091674685478,
0.03429592773318291,
0.0385289192199707,
-0.01481286808848381,
0.013831227086484432,
0.010055030696094036,
-0.028798840939998627,
0.08255627006292343,
-0.03453444316983223,
0.015378615818917751,
-0.030968818813562393,
0.018... | [
0.08742964267730713,
0.20763346552848816,
0.3912886381149292,
0.4142490327358246,
0.4047223925590515,
-0.13765496015548706,
0.33026692271232605,
0.20001135766506195,
0.29351115226745605,
-0.9921622276306152,
-0.18974338471889496,
0.4620148241519928,
-0.34140244126319885,
-0.134849280118942... |
I have a set of data points with an uncertainty on each point. From these data points I can fit a line, who's which the slope is a significant value. How do I use the information I have to get an estimate on the $ \sigma $ of my final value? All I can find online is information on $ R^2$ and $ \chi ^2 $. Bonus points if there's an easy way to do it in python/numpy/scipy. | [
0.00806476641446352,
0.00776939932256937,
-0.009055589325726032,
0.001810836954973638,
0.002256367588415742,
-0.0018903499003499746,
0.007302894722670317,
-0.0018834949005395174,
-0.012729755602777004,
-0.019136102870106697,
0.005906992591917515,
-0.005610228516161442,
-0.022958805784583092,... | [
0.19127795100212097,
-0.0016434637364000082,
0.35747334361076355,
0.1690247356891632,
0.03611881658434868,
0.48835739493370056,
-0.0018568659434095025,
-0.07510402053594589,
-0.161797896027565,
-0.32241812348365784,
0.1808224767446518,
0.4150319993495941,
0.25026631355285645,
0.17491559684... |
> **Possible Duplicate:** > Using simple quotes “” instead of \text{} For subscripts I usally use `\textup` but if you have many of them it's much to write and read. \documentclass{article} \usepackage{siunitx} \usepackage{amsmath} \begin{document} The density of water is $\rho_{\textup{Water}} = \SI{1.0}{kg\per d\cubic m}$. \end{document} So instead of that, similar to the new formular editor of Word, I'd like to write: $\rho_"Water"$ or $\rho__{Water}$ But I prefer the first version because it is more flexible you could also write: $x_{"Person",i}$ Is there a package that provides something like that? I have seen this question: Redefine underscore to produce roman subscript without breaking file names, but I don't want to change the default behavior for indices/subscripts. | [
0.005016234237700701,
-0.0008133591618388891,
-0.008879216387867928,
0.012019847519695759,
-0.005406173411756754,
-0.01785028725862503,
0.007224292494356632,
0.014855843037366867,
-0.010485658422112465,
-0.01856330782175064,
-0.004620721563696861,
-0.0036841712426394224,
-0.01253421511501073... | [
-0.012268624268472195,
0.3835187256336212,
0.44932153820991516,
0.08845937252044678,
0.10934586822986603,
0.2581842243671417,
0.2627357840538025,
-0.6148343682289124,
-0.1649518609046936,
-0.7467191815376282,
0.17037422955036163,
0.17541180551052094,
-0.06534300744533539,
0.192166760563850... |
I want to create a newcommand `\vecty` to create a vector which will take 3 parameters like `\vecty{1}{2}{3}` and this should display as `$\hat{i}+2\hat{j}+3\hat{k}$` and if I give `\vecty{0}{3}{-3}` then it should show `$3\hat{j}-3\hat{k}`. I am using LaTeX. I would appreciate any guidance that comes how to get through it. I did try `\ifthenelse` code but it turned to be quite hefty. You can have a look at the code. But I know that the code is too bad. Hence wanted to understand if there are other ways to implement it. Kindly help I m a newbie. | [
0.004447923507541418,
0.026669031009078026,
-0.004355922807008028,
0.011877906508743763,
0.0019981677178293467,
0.012923073023557663,
0.004525995813310146,
-0.00617973692715168,
-0.012795791029930115,
0.0015740287490189075,
-0.010190862230956554,
0.003492428921163082,
0.0024456423707306385,
... | [
-0.07617427408695221,
0.023479804396629333,
0.5543153285980225,
0.0075085461139678955,
0.1021253913640976,
0.0943392962217331,
0.27592116594314575,
-0.21650159358978271,
0.0050442093051970005,
-0.7425352334976196,
-0.13002708554267883,
0.6037405133247375,
-0.3653121292591095,
0.05963093787... |
In Civiliazion IV: Colonization how can I load to a ship in a settlement only a part of a certain product? For example only 100 on 147 cotton units available? | [
-0.0004953687312081456,
0.02187836356461048,
-0.019685667008161545,
0.018566759303212166,
-0.03749016299843788,
-0.006396365351974964,
0.015402545221149921,
-0.034549225121736526,
-0.024479301646351814,
-0.021589914336800575,
-0.02554105967283249,
0.026641782373189926,
-0.018448011949658394,... | [
0.2460470348596573,
-0.06631387770175934,
0.07833361625671387,
-0.011022164486348629,
0.11591644585132599,
0.3142065703868866,
-0.11335200071334839,
-0.05113236978650093,
-0.23836931586265564,
-0.7559850811958313,
0.08989644795656204,
0.41707608103752136,
-0.21172569692134857,
0.1732842177... |
I don't know what I've modified recently, but my Samsung Galaxy SII (running stock Android 2.3) keeps notifying me vocally whenever I get an incoming call or an SMS. Is there a way to disable this feature? | [
-0.009368639439344406,
-0.02963542565703392,
-0.02532910369336605,
0.03246751055121422,
0.023814061656594276,
0.015551471151411533,
0.010570998303592205,
0.03922870010137558,
-0.0239257775247097,
0.017276478931307793,
-0.030148586258292198,
-0.004114649724215269,
-0.01142902672290802,
0.04... | [
0.24710464477539062,
0.26374179124832153,
0.6522290110588074,
-0.18421275913715363,
0.19248618185520172,
0.057302068918943405,
0.9302467107772827,
-0.27437445521354675,
-0.3080083727836609,
-0.3318130373954773,
-0.004980829544365406,
0.555966317653656,
-0.3227666914463043,
-0.1537877917289... |
Given a _partial sample_ of values from a set (known size), how to extrapolate the lowest/highest value in the _entire set?_ | [
0.04883290082216263,
0.01772964932024479,
-0.008291535079479218,
0.017979983240365982,
-0.019254177808761597,
0.009878857061266899,
0.014966781251132488,
-0.03951836749911308,
-0.02508903108537197,
-0.03722255676984787,
-0.014481413178145885,
0.024685006588697433,
-0.02380981110036373,
0.0... | [
0.07377958297729492,
-0.0030616428703069687,
-0.13578452169895172,
0.07260417193174362,
0.22757364809513092,
0.2974390387535095,
0.3045956790447235,
-0.2961401045322418,
-0.21753887832164764,
-0.3025337755680084,
-0.17880719900131226,
0.2999805808067322,
-0.3382161259651184,
0.017026744782... |
I have a sample dataset consisting of 2 fields, output volume and input time (in hours) for different persons performing an identical task several times each. What is the best method of estimating the average output per hour of the group? Are there any checks to perform on the sample dataset to evaluate the reliability and validity of the estimate obtained? This would mainly be used for forecasting and capacity planning. Thank you | [
0.019913898780941963,
0.007403528783470392,
-0.014784455299377441,
0.016685890033841133,
-0.014711269177496433,
-0.0018828455358743668,
0.008542441762983799,
-0.007726283743977547,
-0.021750150248408318,
-0.01127590425312519,
0.0013042927021160722,
0.017512915655970573,
0.005064776632934809,... | [
0.5537510514259338,
0.08209504187107086,
-0.0012243716046214104,
0.15552541613578796,
-0.008936261758208275,
0.4657299816608429,
-0.0015191648853942752,
-0.2338188737630844,
-0.17244485020637512,
-0.5388849973678589,
0.27244696021080017,
0.2757796049118042,
0.015272105112671852,
0.18264622... |
I've tried pairing this down, but each time I do that I'm either correcting my mistake or something. So here's a slightly unwieldy MWE. In a nutshell, what I'm trying to do is.... I'm writing a quiz that has multiple version. I've got some clunky LaTeX code that already handles versioning, but I decided I could probably get cleaner looking document code if I tried writing something using LaTeX3. Each quiz has a version attached to it. I'm writing a `\choice` macro that's given a `;` separated list of possible output which will change based upon the version of the quiz. For example if I write `\choice{x;y;z;w}` then on version A of the quiz `\choice` will provide `x`, on version B of the quiz `\choice` will provide `y`, etc. I'm not anywhere near getting this up and running. I'm actually not interested in someone telling me how to achieve my ultimate goal: I think I'll learn a fair amount if I try it on my own. Also, I know I'm not following notational conventions quite correctly, but it's giving me a headache trying to balance notation (which I still find difficult to read) and mastering syntax (which I find slightly obscure, but beginning to get the hang of). \documentclass{article} \usepackage{xparse} \ExplSyntaxOn %-@-(1)--------------------------------------------------------------------- %% --- VERSIONING --- %% %% store what the possible version are \tl_new:N \g__version_types \tl_set:Nn \g__version_types { a;b;c;d } \tl_show:N \g__version_types %% make a sequence of the possible versions \seq_new:N \g__all_possible_versions_seq \seq_gset_split:Nnn \g__all_possible_versions_seq { ; } {\g__version_types} \seq_show:N \g__all_possible_versions_seq %% allow the user to define what the versions are \NewDocumentCommand{\defineversions}{ O{;} m }{ \tl_set:Nn \g__version_types { #2 } \seq_set_split:Nnn \g__all_possible_versions_seq { #1 } \g__version_types } %-@-(2)--------------------------------------------------------------------- %% --- GETTING/SETTING VERSIONS ---%% \tl_new:N \g__tl_current_doc_version \cs_new:Npn \mv_set_version:n #1 { \tl_set:Nn \g__tl_current_doc_version { #1 } } \cs_new:Npn \mv_get_version { \tl_use:N \g__tl_current_doc_version } \newcommand{\setversion}[1]{\mv_set_version:n {#1}} \newcommand{\getversion}{ \mv_get_version } \cs_new:Npn \mv_test_version:n #1 { \str_if_eq:VnTF \g__tl_current_doc_version { #1 } { HELLO } { BYE} } \newcommand{\testversion}[1]{\mv_test_version:n {#1}} %-@-(3)--------------------------------------------------------------------- %% --- CREATING THE USER INTERFACE --- %% %% I'm going to destructive examine the sequence, so make %% a copy of it and work with copy \seq_new:N \g__copy_all_possible_versions_seq \seq_set_eq:NN \g__copy_all_possible_versions_seq \g__all_possible_versions_seq \tl_new:N \g__current_possible_version_tl %% Information that the user passes to us \seq_new:N \g__user_defined_choice_seq \tl_new:N \g__current_possible_choice_tl %% This "cs" assumes that the user choices have been translated %% into a sequence \cs_new:Npn \__test_current_choice_against_version:n #1 { \seq_pop_left:NN \g__user_defined_choice_seq \g__current_possible_choice_tl \seq_pop_left:NN \g__copy_all_possible_versions_seq \g__current_possible_version_tl \tl_use:N \g__current_possible_choice_tl -- \tl_use:N \g__current_possible_version_tl \par \str_if_eq:VVTF \g__current_possible_choice_tl \g__current_possible_version_tl { \tl_use:N \g__current_possible_choice_tl } { #1 } } \cs_new:Npn \mv_make_choice:n #1 { \__test_current_choice_against_version:n { \__test_current_choice_against_version:n { \__test_current_choice_against_version:n { FAIL }}} } \NewDocumentCommand{\choices}{ O{;} m }{ \texttt{#2}\par \seq_gset_split:Nnn \g__user_defined_choice_seq {#1} {#2} \mv_make_choice:n {#1} } \ExplSyntaxOff \begin{document} Hello: I'm setting the version \setversion{b} I'm getting the version \textbf{\getversion}! Choosing \choices{x;y;z;w} \end{document} I'm getting an error about an empty sequence. I've tried showing the sequence, and tokens used to create it, but nothing seems to be right. | [
0.001583948964253068,
0.00859679002314806,
-0.010777458548545837,
0.006814346648752689,
0.006224196869879961,
0.018961317837238312,
0.00605482142418623,
0.008898576721549034,
-0.014754636213183403,
-0.005301790311932564,
-0.003181049134582281,
0.0009526133653707802,
-0.002585403388366103,
... | [
0.3900623023509979,
0.26279425621032715,
0.2548215091228485,
-0.06370256096124649,
-0.2241128534078598,
0.047778964042663574,
0.016158806160092354,
0.003697129199281335,
-0.2424517720937729,
-0.8202970027923584,
0.19082273542881012,
0.6949297189712524,
-0.48870736360549927,
0.3928439915180... |
I have a machine running Ubuntu 12.04 LTS with OpenSSH server installed. I have created a user with a jailed home account. When I log in with the user's account, I can only access his home (duh). In addition to the user's home folder, I would like to give the him read access to a particular partition (`/Volumes/Storage`). How can I do this? | [
0.0045571094378829,
0.014641921035945415,
0.005744152702391148,
0.016850242391228676,
-0.021574579179286957,
-0.006623152643442154,
0.007047456223517656,
-0.016872955486178398,
-0.015895240008831024,
-0.002617863705381751,
-0.0177215114235878,
0.00968214776366949,
-0.006281566806137562,
0.... | [
0.2216474711894989,
0.43331465125083923,
0.29649198055267334,
-0.0013218276435509324,
-0.009273404255509377,
-0.22242161631584167,
0.334834486246109,
-0.0008937675156630576,
-0.2058013379573822,
-0.8710641860961914,
-0.2946922779083252,
0.25012853741645813,
-0.3416891098022461,
0.422365516... |
Assume an universe with a single black hole that contains all the universe's mass and then let's wait for quite some time. What happens if by Heisenberg's uncertainty principle a virtual particle/anti- particle pair jumps into existence, where the anti-particle goes into the black hole annihilating it, while the particle decays into a new universe. Wouldn't this mimick the big-bang? | [
0.008097431622445583,
0.023654676973819733,
0.02106836438179016,
0.004282924812287092,
0.0059279403649270535,
-0.017041919752955437,
0.010905870236456394,
-0.007488728035241365,
-0.01650809496641159,
-0.012433006428182125,
-0.012264315970242023,
0.01328231394290924,
0.002906890818849206,
-... | [
0.37927451729774475,
-0.23356251418590546,
-0.039860911667346954,
0.1400766372680664,
0.21859095990657806,
-0.05415693670511246,
-0.20756018161773682,
0.06519898027181625,
-0.08941635489463806,
-0.3795720338821411,
-0.0781896710395813,
0.2018391489982605,
-0.5855771899223328,
0.65985280275... |
xterm fails to display the Indian fonts (Hindi). Instead, it displays the garbage character. I'm using xterm version 293 on LFS I copied sample hindi text from here | [
-0.01948731392621994,
0.01317517925053835,
-0.02907603606581688,
0.021525679156184196,
-0.058518197387456894,
-0.04258717596530914,
0.014869723469018936,
0.041984014213085175,
-0.042414505034685135,
-0.0686187669634819,
-0.051156554371118546,
-0.004527975805103779,
-0.0014459338271990418,
... | [
0.3416261076927185,
0.460022896528244,
0.36322158575057983,
0.36672893166542053,
-0.29928356409072876,
-0.057918258011341095,
0.3640836477279663,
0.13461633026599884,
0.037703290581703186,
-0.4881182909011841,
-0.10840743780136108,
0.2441793978214264,
-0.6188018918037415,
0.034898381680250... |
What's the difference between _accounting_ , _finance_ and _budget_? Are some of them included in the others? | [
-0.010729325003921986,
0.038932353258132935,
0.021694766357541084,
0.03561783954501152,
0.007908720523118973,
-0.01006980612874031,
0.015291226096451283,
0.02225116640329361,
-0.01553594134747982,
0.04768536612391472,
-0.04563185200095177,
0.0107117323204875,
-0.022705810144543648,
-0.0423... | [
0.5541829466819763,
0.39588651061058044,
-0.043574657291173935,
0.19334807991981506,
0.17675526440143585,
0.159201979637146,
-0.29328620433807373,
0.027804402634501457,
-0.6037294864654541,
-0.12232378125190735,
0.42630714178085327,
0.5350147485733032,
0.05602843686938286,
-0.1562324166297... |
I'm trying to convert some LaTeX into HTML but my code listings don't preserve their code coloring. Why is that and how do I fix it? This is what it looks like:  Side note: I'm also wondering why the caption on the table was removed. **Edit** Here is an example listing with colors: \documentclass{article} \usepackage{color} \usepackage{listings} \lstset{ basicstyle=\footnotesize\ttfamily, language=[Sharp]C, keywordstyle=\color[rgb]{0,0,1.0}\bfseries, commentstyle=\color[rgb]{0.133,0.545,0.133}\bfseries, } \begin{document} \begin{lstlisting} int x = 10; // This is a comment string str = "hello"; \end{lstlisting} \end{document} This produces the following HTML when doing: `htlatex myfile.tex`: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html > <head><title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> <meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> <!-- html --> <meta name="src" content="LaTeX4.tex"> <meta name="date" content="2012-07-20 12:30:00"> <link rel="stylesheet" type="text/css" href="LaTeX4.css"> </head><body > <!--l. 12--> <div class="lstlisting" id="listing-1"><span class="label"><a id="x1-2r1"></a></span><span class="cmtt-8">int</span><span class="cmtt-8"> </span><span class="cmtt-8">x</span><span class="cmtt-8"> </span><span class="cmtt-8">=</span><span class="cmtt-8"> </span><span class="cmtt-8">10;</span><span class="cmtt-8"> </span><br /><span class="label"><a id="x1-3r2"></a></span><span class="cmtt-8"> </span><br /><span class="label"><a id="x1-4r3"></a></span><span class="cmtt-8">//</span><span class="cmtt-8"> </span><span class="cmtt-8">This</span><span class="cmtt-8"> </span><span class="cmtt-8">is</span><span class="cmtt-8"> </span><span class="cmtt-8">a</span><span class="cmtt-8"> </span><span class="cmtt-8">comment</span><span class="cmtt-8"> </span><br /><span class="label"><a id="x1-5r4"></a></span><span class="cmtt-8">string</span><span class="cmtt-8"> </span><span class="cmtt-8">str</span><span class="cmtt-8"> </span><span class="cmtt-8">=</span><span class="cmtt-8"> </span><span class="cmtt-8">"</span><span class="cmtt-8">hello</span><span class="cmtt-8">"</span><span class="cmtt-8">;</span> </div> </body></html> Which looks like this:  I would want the HTML result to look like this:  | [
0.005557339172810316,
-0.0009287740103900433,
-0.003680687164887786,
0.028733469545841217,
0.0005757494363933802,
0.00851344596594572,
0.007484016008675098,
0.00983385555446148,
-0.021250858902931213,
0.011440536007285118,
-0.01774633675813675,
-0.004179308656603098,
-0.011271916329860687,
... | [
0.38406720757484436,
-0.1872381567955017,
0.3606695830821991,
0.007006432395428419,
0.04981749877333641,
-0.2946350872516632,
0.21300509572029114,
-0.18009331822395325,
-0.46942445635795593,
-0.8510347604751587,
0.04665280878543854,
0.4482753872871399,
-0.16228558123111725,
-0.074273139238... |
My mac address keeps changing when ever I turn off the phone or turn on/off the wifi card. This use to never happen. I have sbf back to .340 tried multiple roms (now im apex). This was never a problem before. Its a big deal cause i have to register my device on my network at school, and if it keeps changing it doesnt know who I am. Thanks Mike | [
0.00040949881076812744,
0.0019065807573497295,
-0.012017094530165195,
0.005298003554344177,
-0.005627458915114403,
-0.0008313066209666431,
0.0071807256899774075,
0.0017865891568362713,
-0.01612108387053013,
-0.018995361402630806,
-0.004411465022712946,
0.016380496323108673,
0.006640467327088... | [
0.15818405151367188,
0.33927682042121887,
0.5141680836677551,
0.028882624581456184,
0.20227138698101044,
0.01764492318034172,
0.9224082827568054,
0.3641422986984253,
-0.30592283606529236,
-0.7886614203453064,
0.11130112409591675,
0.683403730392456,
0.06170181185007095,
0.06344690173864365,... |
I'm using mac os x 10.6 with xampp. `http://wp3.1/` is the url to where I have WordPress installed. The physical path is `/Users/myUserName/Sites/wp3.1/` I do not install plugins or themes in the "natural" way. I have created a directory named "git" which is located in `/Users/myUserName/git/`. This is where all my git repositories live. When I want to install a plugin, I just create a symbolic link in `/Users/myUserName/Sites/wp3.1/wp-content/plugins/`. This works great for simple plugins, but if the plugin enqueue's a style sheet or script, the url displays as: `http://wp3.1/wp-content/plugins/Users/myUserName/git/options-framework- plugin/css/colorpicker.css?ver=3.1.1` How do I fix this? | [
-0.012006133794784546,
0.0045113349333405495,
0.0038882975932210684,
0.011869620531797409,
0.0031294147484004498,
-0.004814106971025467,
0.006799155380576849,
-0.016630955040454865,
-0.010554702952504158,
-0.02227092906832695,
-0.00793477427214384,
-0.006857527419924736,
0.01328278984874487,... | [
0.2777678370475769,
0.42264023423194885,
0.8706052303314209,
-0.2834358513355255,
0.07666192948818207,
0.022969219833612442,
0.4213189482688904,
0.4777522683143616,
0.07178550213575363,
-1.1387048959732056,
-0.26492545008659363,
0.5461260676383972,
-0.38483384251594543,
0.21540318429470062... |
I have written code, with the help of stackoverflow of course, and I want to make it user friendly so that other people in my lab can use it. I'm playing with DialogCreate and similar functions. I want to do something like this so far: CreateDialog[TabView[{ "General" -> Column[{ Row[{TextCell["Project Name:"], InputField[Dynamic[Project]]}], Row[{TextCell["Number of Wells:"], InputField[Dynamic[num]], Button["Set", DialogReturn[num]]}]}], "Row Selection" -> Column[{Do[ Row[TextCell["Well " <> ToString[i] <> ":"], FileNameSetter[Dynamic[Evaluate[Symbol["w" <> ToString[i]]]], "Open"]], {i, 1, num}]}]}, ControlPlacement -> Left] ] I want to dynamically create more rows based on the input of "Number of Wells" within the same dialogbox but in a different tab. Is anything like this possible or some sort of alternative? | [
0.003819630714133382,
0.015147557482123375,
-0.0009927591308951378,
-0.005382525734603405,
-0.03524034470319748,
0.0023716469295322895,
0.0053900303319096565,
0.03625449910759926,
-0.013820506632328033,
0.007755438797175884,
-0.0065951719880104065,
0.007087121717631817,
0.004871218930929899,... | [
0.623359739780426,
-0.026718512177467346,
0.35848748683929443,
-0.12203148752450943,
0.04370707646012306,
0.2907295227050781,
-0.026673132553696632,
-0.07664379477500916,
0.048425495624542236,
-0.6031955480575562,
0.3376019597053528,
0.5222148895263672,
-0.05870269984006882,
0.123249948024... |
According to $a = v^2/R$, the circular velocity and radial distance between two attracting objects (such as planets), must remain in perfect proportion in order for orbital motion to take place. How is it possible for objects in nature to achieve this proportion perfectly? Not only that, to maintain an orbit seems to be impossible. For example, assuming that the moon is orbiting the earth 'perfectly'. Let us say the moon is then hit by a series of meteorites. This would shift the balance slightly, and cause the moon's orbit to decay? Apparently not... How is it possible for the moon to remain in orbit for so long? | [
-0.00047922274097800255,
0.019674597308039665,
-0.019147664308547974,
0.013323112390935421,
-0.007751098833978176,
-0.016461677849292755,
0.007708669640123844,
0.001759474165737629,
-0.012633023783564568,
-0.03745298087596893,
-0.013621509075164795,
0.013202108442783356,
-0.02528536133468151... | [
0.4299473464488983,
0.25742191076278687,
0.6932703852653503,
0.19630470871925354,
-0.07667320966720581,
0.2486725151538849,
0.059855859726667404,
-0.19342325627803802,
-0.3054061233997345,
-0.12509483098983765,
-0.09736233204603195,
0.4238634705543518,
-0.23750272393226624,
0.5283495187759... |
this is my code in Custom page Template <?php query_posts('showposts=8'); ?> <?php $count = 1; if (have_posts()) : while (have_posts()) : the_post(); if($count == 1) : ?> & this is wp_pagenavi code <div class="more_entries"> <?php if (function_exists('wp_pagenavi')) wp_pagenavi(); else { ?><?php } ?></div> </div> page numbers showing but navigation not working | [
0.00709874602034688,
0.01584281399846077,
0.008988582529127598,
0.026066776365041733,
0.011693372391164303,
-0.004621151834726334,
0.007413537707179785,
-0.0014601782895624638,
-0.009256497956812382,
0.0022722359281033278,
-0.003864467376843095,
0.0083326930180192,
-0.0033169814851135015,
... | [
0.08110632002353668,
0.1003044843673706,
0.8197154998779297,
-0.3974575102329254,
0.025578198954463005,
-0.049604546278715134,
0.3416845202445984,
-0.34709373116493225,
-0.11134561896324158,
-0.9065553545951843,
0.06684448570013046,
0.3954980671405792,
-0.31021934747695923,
0.2559736669063... |
On my Ubuntu-Desktop and on my debian-server I have a script which needs to be executed each minute (a script that calls the minute-tic of my space online browsergame). The problem is that on debian derivates cron is logging to `/var/log/syslog` each time it executes. I end up seeing repeated the message it was executed over and over in `/var/log/syslog`: Nov 11 16:50:01 eclabs /USR/SBIN/CRON[31636]: (root) CMD (/usr/bin/w3m -no-cookie http://www.spacetrace.org/secret_script.php > /dev/null 2>&1) I know that in order to suppress the output of a program I can redirect it to `/dev/null`, for example to hide all error and warning messages from a program I can create a line in crontab like this * * * * * root /usr/local/sbin/mycommand.sh > /dev/null But I would like to run a cronjob and be sure that all generated output or errors are piped to NULL, so it doesn't generate any messages in syslog and doesn't generate any emails * * * EDIT: there is a solution to redirect the cron-logs into a separate log like proposed here by changing `/etc/syslog.conf` But the drawback is, that then ALL output of all cronjobs is redirected. Can I somehow only redirect a single cronjob to a separate log file? Preferably configurable inside the `cron.hourly` file itself. | [
-0.004713657312095165,
0.003163854591548443,
-0.022249191999435425,
0.00811330322176218,
-0.026090070605278015,
-0.023362580686807632,
0.007770173251628876,
0.026831286028027534,
-0.012829583138227463,
-0.006585888564586639,
-0.020698927342891693,
0.004165155813097954,
-0.007220693398267031,... | [
0.08912929147481918,
0.57158362865448,
0.5514273643493652,
-0.2043887972831726,
-0.11223109811544418,
-0.2544472813606262,
0.3720574975013733,
0.2902945280075073,
-0.27631881833076477,
-0.78025883436203,
-0.19929613173007965,
0.22686885297298431,
-0.47195035219192505,
0.4378068447113037,
... |
I am creating a mini-game in Minecraft, where I must check to see if the player is injured. The injured player will then be given an item. My guess is that the command would look something like `/testfor @p[injured=true]`, but this command doesn't work. Is there a command for this? | [
-0.0025395250413566828,
0.022950848564505577,
-0.0030532218515872955,
-0.0005219599697738886,
0.014753329567611217,
0.015900617465376854,
0.009604118764400482,
-0.024677375331521034,
-0.02557646483182907,
0.008370562456548214,
-0.017493801191449165,
0.0044534215703606606,
0.02251076325774192... | [
0.5232337713241577,
0.15659716725349426,
0.017832119017839432,
0.12066979706287384,
0.1318816989660263,
0.09674230962991714,
0.2524122893810272,
-0.2064877450466156,
-0.3934136629104614,
-0.32939815521240234,
0.23853090405464172,
0.49417322874069214,
-0.18153204023838043,
0.117287091910839... |
I've noticed a lot of people posting images showing the "Loading Screen" before a match, where all 10 players are placed. However pressing `F12` doesn't save a screenshot. How do people take a screenshot of the loading screen? | [
-0.0013701715506613255,
0.008748367428779602,
0.012207013554871082,
0.008458781987428665,
-0.0292388666421175,
-0.02770412154495716,
0.00957189779728651,
0.0064861890859901905,
-0.018155308440327644,
0.014391431584954262,
-0.009415632113814354,
0.023292915895581245,
-0.005384322255849838,
... | [
0.33778470754623413,
0.1577129065990448,
0.14504379034042358,
0.04539227485656738,
-0.30515244603157043,
-0.1584509164094925,
0.1444031149148941,
-0.04495135322213173,
-0.2073119878768921,
-0.31984326243400574,
0.34152457118034363,
0.5651472806930542,
-0.26151299476623535,
-0.1098162308335... |
I took a quiz given in the BBC magazine. it had the following sentence. > The Queen arrived at the castle with the King by her side, in a dress > adorned with hand-sewn embroidered dragons. please explain what is technically wrong with the above sentence. | [
-0.012496805749833584,
0.018554113805294037,
-0.006714041344821453,
0.029203345999121666,
0.009718137793242931,
-0.0018943913746625185,
0.012804729864001274,
-0.02905476838350296,
-0.022056829184293747,
-0.015947360545396805,
-0.02889958955347538,
0.0009773983620107174,
0.0237061008810997,
... | [
0.34992319345474243,
0.18759475648403168,
0.30954331159591675,
0.05383516848087311,
-0.2704986333847046,
-0.22274313867092133,
0.434528648853302,
0.06805765628814697,
-0.3712654411792755,
-0.3707115650177002,
-0.2900903820991516,
0.1146334782242775,
0.19823500514030457,
0.00954180210828781... |
Hi I am starting to get to know ArcGIS 10.2.1 and I need to the following, but I am not sure how to build the expression into the FIELD CALCULATOR: I need to add first a new field called Near_distance_to_LAriver which it should score between 0 and 1 the nearst distance of 4 sites to Los Angeles River, using the default field NEARDIST values, using the field calculator, I need to score them between 0 and 1 Being 1 the nearest site to the river (this means: the shortest distance). This new field should be the tipe FLOAT, but the to score it I dont know which one should be the expression at the Field calculator Thanks for Help!! :) | [
-0.00535617396235466,
0.01801357790827751,
-0.015465334057807922,
0.006035441067069769,
-0.04375516623258591,
-0.0025226417928934097,
0.010096839629113674,
-0.0013365645427256823,
-0.013968040235340595,
0.0050139594823122025,
0.002129894681274891,
0.017845280468463898,
-0.009297816082835197,... | [
0.31060630083084106,
-0.19833014905452728,
1.2201242446899414,
-0.060221314430236816,
-0.0889681726694107,
-0.21163365244865417,
0.2357347458600998,
-0.2524522840976715,
0.011844475753605366,
-0.6593243479728699,
0.443988174200058,
0.46622800827026367,
-0.0006466324557550251,
-0.0848858803... |
How do I get p-values using the `multinorm` function of `nnet` package in `R`? I have a dataset which consists of “Pathology scores” (Absent, Mild, Severe) as outcome variable, and two main effects: Age (two factors: twenty / thirty days) and Treatment Group (four factors: infected without ATB; infected + ATB1; infected + ATB2; infected + ATB3). First I tried to fit an ordinal regression model, which seems more appropriate given the characteristics of my dependent variable (ordinal). However, the assumption of odds proportionality was severely violated (graphically), which prompted me to use a multinomial model instead, using the `nnet` package. First I chose the outcome level that I need to use as baseline category: Data$Path <- relevel(Data$Path, ref = "Absent") Then, I needed to set baseline categories for the independent variables: Data$Age <- relevel(Data$Age, ref = "Twenty") Data$Treat <- relevel(Data$Treat, ref="infected without ATB") The model: test <- multinom(Path ~ Treat + Age, data = Data) # weights: 18 (10 variable) initial value 128.537638 iter 10 value 80.623608 final value 80.619911 converged The output: Coefficients: (Intercept) infected+ATB1 infected+ATB2 infected+ATB3 AgeThirty Moderate -2.238106 -1.1738540 -1.709608 -1.599301 2.684677 Severe -1.544361 -0.8696531 -2.991307 -1.506709 1.810771 Std. Errors: (Intercept) infected+ATB1 infected+ATB2 infected+ATB3 AgeThirty Moderate 0.7880046 0.8430368 0.7731359 0.7718480 0.8150993 Severe 0.6110903 0.7574311 1.1486203 0.7504781 0.6607360 Residual Deviance: 161.2398 AIC: 181.2398 For a while, I could not find a way to get the $p$-values for the model and estimates when using `nnet:multinom`. Yesterday I came across a post where the author put forward a similar issue regarding estimation of $p$-values for coefficients (How to set up and estimate a multinomial logit model in R?). There, one blogger suggested that getting $p$-values from the `summary` result of `multinom` is pretty easy, by first getting the $t$values as follows: pt(abs(summary1$coefficients / summary1$standard.errors), df=nrow(Data)-10, lower=FALSE) (Intercept) infected+ATB1 infected+ATB2 infected+ATB3 AgeThirty Moderate 0.002670340 0.08325396 0.014506395 0.02025858 0.0006587898 Severe 0.006433581 0.12665278 0.005216581 0.02352202 0.0035612114 According to Peter Dalgard, "There's at least a factor of 2 missing for a two- tailed $p$-value. It is usually a mistake to use the $t$-distribution for what is really a $z$-statistic; for aggregated data, it can be a very bad mistake." According to Brian Ripley, "it is also a mistake to use Wald tests for `multinom` fits, since they suffer from the same (potentially severe) problems as binomial fits. Use profile-likelihood confidence intervals (for which the package does provide software), or if you must test, likelihood-ratio tests (ditto)." I just need to be able to derive reliable $p$-values. | [
0.0036744321696460247,
0.023752126842737198,
-0.005371803417801857,
0.015211151912808418,
-0.0008528754115104675,
-0.00530448742210865,
0.0068138642236590385,
0.005707442294806242,
-0.007202832959592342,
-0.009414657950401306,
-0.009759554639458656,
0.01628919318318367,
-0.010316945612430573... | [
0.284890353679657,
0.1920226514339447,
0.44760268926620483,
-0.1994684934616089,
-0.20576536655426025,
0.7593159079551697,
0.6021395325660706,
-0.5442201495170593,
-0.07536166161298752,
-0.3990391492843628,
0.44597128033638,
0.2041744887828827,
0.2629106342792511,
0.36510536074638367,
0.... |
I am analysing EEG data. I have data from 19 electrodes from 25 participants divided into two groups (11 and 14 subjects). I asked my student to compare these two groups with some statistical test. Surprisingly, he calculated means for every electrode (giving two groups with 19 numbers in each). I suppose that it is more valid to calculate means for each participant (resulting in two groups with 11 and 14 numbers). Who is right? Or are we both right? What are the general rules for forming groups for analyses? | [
-0.0001698775595286861,
0.024847324937582016,
-0.035198796540498734,
0.004897553473711014,
-0.016002673655748367,
0.026316281408071518,
0.009180491790175438,
-0.013329790905117989,
-0.014605545438826084,
-0.01506704743951559,
-0.0002995061513502151,
0.008537961170077324,
0.006844561547040939... | [
0.6602779030799866,
0.05992690101265907,
0.18961042165756226,
0.05513620004057884,
-0.13763229548931122,
0.4945172667503357,
0.06320734322071075,
-0.30289098620414734,
-0.3110954761505127,
-0.037010401487350464,
0.2241649180650711,
0.15703831613063812,
0.025643272325396538,
0.2212348431348... |
In Gaussian Process (GP), the kernel (co-variance function) is used to measure the similarity between one point and a given point. There are so many kernel functions for GP, and I wonder how to select a suitable kernel. For instance, if my time-series data are not periodic, should I choose the Squared Exponential (SE) kernel? In addition, could anyone explain why the SE kernel is so popular as well? what is the feature of this kernel? Thank you for your help in advance. | [
-0.006472453940659761,
-0.0004371440736576915,
-0.006841680034995079,
0.017034614458680153,
-0.01804457977414131,
-0.015457740984857082,
0.008440515026450157,
-0.01694069802761078,
-0.014076189137995243,
0.0054622492752969265,
-0.006193865556269884,
0.01914994791150093,
0.007879086770117283,... | [
0.028614677488803864,
-0.07487307488918304,
0.1903807818889618,
0.3548755645751953,
-0.599277913570404,
0.0856352299451828,
-0.47744205594062805,
-0.26326262950897217,
0.07094034552574158,
-0.7751100659370422,
0.2633325755596161,
0.32494211196899414,
-0.048396721482276917,
0.78987419605255... |
I'll explain my aim first: I am trying to create a single raster to represent vegetation resilience, I am doing this via change detection. So far I have created 5 Change detection images, where 2000 is a reference image. I have done nothing to these except to display them with the classify tool with 1 st dev. My problem is what is the best way to combine these images to demonstrate resilience. I'm assuming it's just a raster calculation. | [
0.005617176182568073,
0.01686694845557213,
-0.026566483080387115,
0.013015025295317173,
-0.03051336482167244,
-0.029284382238984108,
0.008604764938354492,
0.0008638115832582116,
-0.014286475256085396,
-0.005321353208273649,
0.006648015696555376,
0.010045868344604969,
-0.013627654872834682,
... | [
0.25960299372673035,
-0.049066830426454544,
0.4690195918083191,
-0.10478220880031586,
-0.2724931538105011,
0.23075202107429504,
0.5558613538742065,
-0.3666169345378876,
-0.18036484718322754,
-0.6779347658157349,
0.2977375388145447,
0.42609521746635437,
-0.14655889570713043,
0.2410243749618... |
We've started implementing some caching code in our MVC project. We've derived from .Net's ObjectCache to store it in a SQL database. What we do right now is in each method we want to cache we have code like this: public StatusCounts GetCounts() { var cache = new SqlCache<StatusCounts>("mykey"); if(cache.HasCachedData()) return cache.GetCachedData(); var data = StatusRepository.GetCounts(); cache.SetData(data, DateTime.Now.AddHours(2)); } As far as caching goes, it works. But my concern is it seems like now GetCounts has multiple responsibilities. It's no longer just calculating counts, it's getting them from a cache (if they exist) and saving them to a cache before returning. Is there a cleaner way to do this? | [
0.01700996793806553,
0.02024819329380989,
0.0023379549384117126,
0.005942313000559807,
0.02356787770986557,
-0.007570943329483271,
0.007723546586930752,
-0.028792550787329674,
-0.01098216325044632,
-0.0031969130504876375,
0.003513720817863941,
0.017407674342393875,
-0.01502169854938984,
0.... | [
0.09025026857852936,
0.14171332120895386,
0.33424004912376404,
-0.016263732686638832,
0.2572159171104431,
-0.0018909714417532086,
0.26153865456581116,
-0.26692551374435425,
-0.1326046884059906,
-0.5749897956848145,
-0.030079584568738937,
0.26766645908355713,
-0.4831123352050781,
0.49940884... |
One of my clients uses me for bug fixes and feature extensions on various websites. We agreed to a pricing structure that is some sum per hour for the first 50 hours of work in a month, and a lower sum per hour afterwards. Is there an invoice class that can deal with this, or do I need to roll my own? | [
-0.022282954305410385,
0.02359236218035221,
-0.013529658317565918,
0.0019186900462955236,
0.00024258397752419114,
0.004603677429258823,
0.01099857036024332,
-0.0032569027971476316,
-0.02440202236175537,
0.023411698639392853,
-0.019267482683062553,
0.010243992321193218,
0.011474546045064926,
... | [
0.9925629496574402,
0.24030140042304993,
0.34047409892082214,
0.005755347665399313,
0.37274208664894104,
0.3400161862373352,
-0.11881223320960999,
0.3352021276950836,
-0.2651565372943878,
-0.21075692772865295,
0.2268122285604477,
0.3907366991043091,
0.17016814649105072,
-0.0829385295510292... |
I'm trying to display an excerpt of a page inside an enhanced widget. I have tried the following but it doesn't work: <?php $id = 2550; $post = get_post($id); $content = apply_filters('the_content', $post->post_excerpt); return $content; ?> | [
-0.00379035621881485,
-0.0023934405762702227,
-0.007563052233308554,
0.014164857566356659,
-0.003664388321340084,
0.012520965188741684,
0.00957974512130022,
0.01506275124847889,
-0.01953103393316269,
-0.033548504114151,
-0.016256622970104218,
0.008738613687455654,
-0.008579183369874954,
0.... | [
0.5022649168968201,
-0.0651097372174263,
0.699310839176178,
-0.032166361808776855,
-0.3440771698951721,
-0.18695706129074097,
0.47880905866622925,
-0.19017785787582397,
-0.03272559866309166,
-0.7439987063407898,
-0.08453037589788437,
0.2362373173236847,
-0.43234577775001526,
0.211314231157... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.