text stringlengths 23 30.4k | embeddings_A list | embeddings_B list |
|---|---|---|
I crated an image with buildroot. Everything went smooth. When I untarred the bz2 image in vmware and tried to boot into it then I observed an issue, in which, system is unable to recognize any user, even root. While starting dbus, it gives error as: `Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry` Unknown username "root" in message bus configuration file `Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry` `free -m` returns total=> 1006 used=> 46 free=> 959 | [
-0.010356539860367775,
0.0010261863935738802,
-0.00200296170078218,
0.014041658490896225,
-0.028818320482969284,
-0.030822407454252243,
0.009401370771229267,
0.014559492468833923,
-0.010912984609603882,
0.01901749148964882,
-0.019264528527855873,
0.011539105325937271,
-0.005900300107896328,
... | [
0.14532548189163208,
0.12121686339378357,
0.1436319798231125,
-0.20107139647006989,
0.017851021140813828,
0.14392097294330597,
0.5041021108627319,
-0.17412735521793365,
0.04283784329891205,
-0.7598450183868408,
-0.0231609083712101,
0.4119795560836792,
-0.2921314537525177,
0.440719395875930... |
Is there any easy way to figure out how many android users use what type of API? I know 95% of users use `API 8-18`, but I'm trying to figure out what percentage of users use `API 16-18` so that way I know how many people an application reaches. | [
0.02079407125711441,
-0.007119069341570139,
-0.034703753888607025,
0.011783002875745296,
-0.017195990309119225,
-0.00831807404756546,
0.011904415674507618,
-0.027073005214333534,
-0.024987943470478058,
-0.08043287694454193,
0.004038685467094183,
-0.004582748282700777,
-0.0007770525990054011,... | [
0.6832769513130188,
0.20876258611679077,
0.17089678347110748,
0.15539467334747314,
0.09254466742277145,
0.3919859528541565,
0.18881845474243164,
0.15440486371517181,
-0.2529076635837555,
-0.652025043964386,
0.15782810747623444,
0.5276893973350525,
-0.25913041830062866,
-0.157024547457695,
... |
Analogy: assume that I have constant rain fall and I have a water bucket to collect this rain. If I am rest relative to the earth, I will catch a certain amount of rain. However, if I now move towards the rain, I will increase the amount of water I collect. Now I want to apply this idea to a source emitting photons instead of rain drops. I image a distance light source (distance star) that is emitting a constant number of photons such that I can ignore the $1/r^2$ fall off of the intensity (that is, the intensity does not change very much over some appreciate distance). So instead of a water bucket, I now have a light collector that measures light intensity. Here is my question: **Does the light intensity measured by my light collector that is moving towards the distant star increase or stay the same when compared to a light collector at rest realtive to the distant star?** My first thought was that the light intensity would increase because the light is blue shifted and higher energy photons will therefore produce a higher intensity. However, I believe that there might be another contribution due to length contraction. Since an observer moving towards a light source has to account for length contraction, does this mean that there is an increase in photon density? If so, this higher photon density in the frame of the light collector will also contribute to increasing the light intensity. Can someone verify or correct my thinking. | [
0.01436174288392067,
0.016035500913858414,
-0.0104135787114501,
0.005267322063446045,
-0.014495008625090122,
-0.0312996506690979,
0.008027410134673119,
-0.01619405671954155,
-0.014109521172940731,
-0.008250267244875431,
0.0011397514026612043,
0.01320407260209322,
-0.006673365831375122,
0.0... | [
0.2202388346195221,
-0.11063416302204132,
0.29054394364356995,
0.1281966269016266,
-0.31853967905044556,
0.28609997034072876,
0.0368356816470623,
-0.3057968318462372,
-0.41779646277427673,
-0.7934939861297607,
0.20387572050094604,
0.7052714824676514,
-0.3958728313446045,
0.1018368154764175... |
I have a correlation matrix, which I want to display in the following format: * 2 decimal places (e.g., -0.56) * number signs "+" and "-" (e.g., +0.76 or -0.34) I've tried many different things, but I had no success so far... The code I'm using to generate the data is: randomWalk[x_] := Accumulate[Prepend[RandomVariate[NormalDistribution[0, 1], x], 0]] exchange = Table[Subscript[asset, i] = randomWalk[500], {i, 1, 5}]; Now the code I'm using to generate the correlation matrix: N[Correlation[Transpose[exchange][[1 ;; 500, All]]], 2]//MatrixForm However, the numbers generated are displayed with `$MachinePrecision`, and not 2 decimal places (although I've used `N[#,2]`). I've tried another code: MatrixForm[Round[Correlation[Transpose[exchange][[1 ;; 500, All]]], 0.01]] In this case I get the correlation matrix with 2 decimal places, but it's still missing the "+" signal before the number. So I've tried this last code: NumberForm[Round[Correlation[Transpose[exchange][[1 ;; 500, All]]], 0.01],NumberSigns -> {"-", "+"}]//MatrixForm In this last case I get the numbers correctly formatted, but I'm not able to put them in `MatrixForm`. Can someone give me a hint to solve this? | [
-0.0025355354882776737,
0.00857590138912201,
-0.013375378213822842,
0.008798294700682163,
-0.01319339033216238,
-0.004665637854486704,
0.004772299900650978,
-0.004463679157197475,
-0.015991508960723877,
-0.0056623611599206924,
-0.004986735060811043,
0.0038127382285892963,
0.00170984631404280... | [
0.5560827851295471,
0.10972656309604645,
0.49795618653297424,
0.03846704214811325,
0.0594976544380188,
0.18590205907821655,
-0.16071422398090363,
-0.5190713405609131,
-0.17773397266864777,
-0.33041825890541077,
0.49885210394859314,
0.08422880619764328,
-0.12720073759555817,
0.1897131651639... |
Google has a define: operator which provides a list of definitions for a given word. Where does Google pull those definitions from? i.e. what does Google look for on a page to determine that that page is a definition for a word? (This has been discussed a number of times on Webmaster World but nobody has come up with an answer yet.) | [
-0.0292580034583807,
0.01173874270170927,
0.000472387473564595,
0.006892778445035219,
-0.024300439283251762,
-0.0024430807679891586,
0.007702132221311331,
0.001544665894471109,
-0.022937064990401268,
0.028284825384616852,
0.012265510857105255,
0.004647852852940559,
0.04121178016066551,
-0.... | [
0.2949722409248352,
-0.09025486558675766,
0.08994557708501816,
0.39386627078056335,
-0.17969880998134613,
0.07464542984962463,
0.23435430228710175,
-0.05990508198738098,
0.12214873731136322,
-0.4299589991569519,
0.024219904094934464,
0.2801280915737152,
-0.3104557394981384,
0.0573787130415... |
Apologies in advance if this is too basic a question for Phys.SE. I don't want to dumb down this venerable institution. :) My wife and I just watched this TV ad for Kit-Kat where a crew of crane operators line their wrecking balls up to form an enormous Newton's Cradle. It left us wondering if the basic premise is feasible. If the wrecking balls were perfectly aligned would it work? I imagine the lack of lateral stability inherent in having only one anchor point per "ball" would be a problem, but what else (if anything) stops this from working for real? | [
0.004125000908970833,
0.00720090139657259,
-0.0037980503402650356,
0.017509330064058304,
0.003946105018258095,
0.0010391308460384607,
0.008049184456467628,
-0.012286937795579433,
-0.01591920293867588,
-0.00553935905918479,
-0.013164062984287739,
0.015079682692885399,
-0.011076605878770351,
... | [
0.620040237903595,
0.030347973108291626,
0.29822656512260437,
0.33743831515312195,
0.31070512533187866,
0.221413254737854,
-0.31091323494911194,
0.34656235575675964,
-0.2523515224456787,
0.044729288667440414,
0.603899359703064,
0.30050578713417053,
0.14806796610355377,
0.3409593105316162,
... |
My Makefile entry has this snippet: ####### Compiler, tools and options CC = cl CXX = cl LEX = flex YACC = byacc CFLAGS = -nologo -Zm200 /MD /NODEFAULTLIB:msvcrtd /map:"Debug/eta.map" -W3 -MD -Od -DUNICODE -D_CRT_SECURE_NO_DEPRECATE -DNOCRYPT -DNOUNCRYPT -DGEO_LIB -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_DEBUG CXXFLAGS = -nologo -Zm200 -W3 -MD -O1 -DUNICODE -D_CRT_SECURE_NO_DEPRECATE -DNOCRYPT -DNOUNCRYPT -DGEO_LIB -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_DEBUG LEXFLAGS = YACCFLAGS =-d INCPATH = -I"c:\qt\3.3.8\include" -I"." -I"zlib-1.2.3" -I"$(QTDIR)\include" -I"." -I"C:\Qt\3.3.8\mkspecs\win32-msvc" LINK = link LFLAGS = /NOLOGO delayimp.lib /DELAYLOAD:comdlg32.dll /DELAYLOAD:oleaut32.dll /DELAYLOAD:winmm.dll /DELAYLOAD:wsock32.dll /DELAYLOAD:winspool.dll /NODEFAULTLIB:"libc" /SUBSYSTEM:windows /incremental:no /LIBPATH:"$(QTDIR)\lib" LIBS = "qt-mt338.lib" "qt-mt338.lib" "qtmain.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "imm32.lib" "winmm.lib" "wsock32.lib" "winspool.lib" MOC = $(QTDIR)\bin\moc.exe UIC = $(QTDIR)\bin\uic.exe QMAKE = qmake IDC = $(QTDIR)\bin\idc.exe IDL = midl ZIP = zip -r -9 COPY_FILE = copy COPY_DIR = copy DEL_FILE = del DEL_DIR = rmdir MOVE = move CHK_DIR_EXISTS = if not exist MKDIR = mkdir INSTALL_FILE= $(COPY_FILE) INSTALL_DIR = $(COPY_DIR) ####### Files Intentionally left out to reduce size ####### Implicit rules .SUFFIXES: .c .cpp .cc .cxx .C {.}.cpp{}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo @<< $< << {.}.cc{}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo @<< $< << {.}.cxx{}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo @<< $< << {.}.C{}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo @<< $< << {.}.c{}.obj:: $(CC) -c $(CFLAGS) $(INCPATH) -Fo @<< $< << ####### Build rules all: Makefile $(TARGET) $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(LINK) $(LFLAGS) /OUT:$(TARGET) @<< $(OBJECTS) $(OBJMOC) $(LIBS) << mocables: $(SRCMOC) uicables: $(UICIMPLS) $(UICDECLS) Makefile: eta.pro C:\Qt\3.3.8\mkspecs\win32-msvc\qmake.conf $(QMAKE) -o Makefile eta.pro qmake: @$(QMAKE) -o Makefile eta.pro More rules ... I get this error: (Why?) Linux:~/edge/src/qt/utilities/app/eta> gmake cl -c -nologo -Zm200 -W3 -MD -O1 -DUNICODE -D_CRT_SECURE_NO_DEPRECATE -DNOCRYPT -DNOUNCRYPT -DGEO_LIB -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -I"c:\qt\3.3.8\include" -I"." -I"zlib-1.2.3" -I"/home/sam/edge/qt4\include" -I"." -I"C:\Qt\3.3.8\mkspecs\win32-msvc" -Fo @<< /bin/sh: -c: line 0: syntax error near unexpected token `newline' /bin/sh: -c: line 0: `cl -c -nologo -Zm200 -W3 -MD -O1 -DUNICODE -D_CRT_SECURE_NO_DEPRECATE -DNOCRYPT -DNOUNCRYPT -DGEO_LIB -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -I"c:\qt\3.3.8\include" -I"." -I"zlib-1.2.3" -I"/home/sam/edge/qt4\include" -I"." -I"C:\Qt\3.3.8\mkspecs\win32-msvc" -Fo @<<' gmake: *** [{.}.cpp{}.obj] Error 1 | [
-0.0030118338763713837,
0.006411487236618996,
-0.011323152109980583,
-0.005959643051028252,
-0.01520712859928608,
0.00293273339048028,
0.007241284009069204,
0.007512327283620834,
-0.01030687801539898,
-0.0033392682671546936,
0.0030398352537304163,
-0.0005717721069231629,
-0.00609722360968589... | [
0.0980483815073967,
0.10502294450998306,
0.6595807671546936,
-0.1174478754401207,
0.40361154079437256,
0.18395072221755981,
0.17004503309726715,
-0.3337863087654114,
0.0583641417324543,
-0.41623517870903015,
0.022991087287664413,
0.42383450269699097,
-0.1408529281616211,
0.1743017733097076... |
I'd like to plot two sets of coordinates in two different arrays using ListLogPlot, and be able to individually specify the sizes and colors of the datapoints for each array. Things seem to work fine if I allow Mathematica to specify point sizes and colors automatically: ListLogPlot[{ListA, ListB}, ImageSize -> {800, 800}] I can also specify that datapoints for ListA should be Red and that datapoints for ListB should be Blue: ListLogPlot[{ListA, ListB}, PlotStyle -> {Red, Blue}, ImageSize -> {800, 800}] However, attempting to specify a PointSize for one or either array seems to break things: ListLogPlot[{ListA, ListB}, PlotStyle -> {PointSize[0.02], Red, Blue}, ImageSize -> {800, 800}] Here, the colors are correct, but only ListB datapoints are rescaled to the correct size. I've also tried using Show[], and specifying the plots individually therein, but this seems to generate a plot with an axis scaled only for one of the datasets. Why is this happening, and how might I work around it? | [
0.022297564893960953,
0.009648755192756653,
-0.02069063112139702,
0.008290533907711506,
0.002810470759868622,
0.017575442790985107,
0.00822540745139122,
0.02883967012166977,
-0.012989575043320656,
0.004745368845760822,
-0.011438209563493729,
0.005360988434404135,
-0.011154232546687126,
0.0... | [
0.22659626603126526,
-0.3239666819572449,
0.7581626772880554,
0.10751016438007355,
0.06818874180316925,
0.12990204989910126,
-0.14669623970985413,
-0.2517266273498535,
-0.09080562740564346,
-0.9630131125450134,
0.14953838288784027,
0.36835232377052307,
-0.19118431210517883,
-0.099534340202... |
i'm trying to display a message in admin_notices hook upon plugin activation, using both a global variable or a static variable in my class ( $associati_error). i set the variable value into the register_activation_hook function: none of that is working. i'm very new to wordpress development and php, so excuse me if this is a simple question. also i found that the notification contains only the string set into installMenu() and not the string set into installDb(). finally my notification is'nt properly positioned into the notification area but is above it even using the update or error class for the div. here is my class plugin code : <?php /* Plugin Name: danceoften-associati Plugin URI: http://danceoften.com Description: gestione degli associati Version: 1.0 Author: daniele ziccardi Author URI: http://danceoften.com */ class danceoften_associati { private $table_name; private static $associati_error; private static $associati_message; private static $instance; private function __construct() { global $wpdb; $this->table_name = $wpdb->prefix . 'associati'; add_action('admin_notices', array($this, 'notifyMsg') ); add_action('admin_menu', array($this, 'installMenu') ); add_shortcode('associato', array($this, 'shortCodeAssociato')); add_shortcode('associato_search', array($this, 'shortCodeSearch')); } public static function getinstance() { // Get an instance of the if( null == self::$instance ) { self::$instance = new self; } // end if return self::$instance; } public function register() { $this->installDb(); } public function shortCodeAssociato($atts) { echo 'shortCodeAssociato'; } public function shortCodeSearch($atts) { echo 'shortCodeSearch'; } private function installDb() { try{ global $wpdb; // check table NOT exists $sql = "show tables like $this->table_name"; if(!$wpdb->query($sql)){ //Create table $sql = " CREATE TABLE $this->table_name ( `id` int(11) NOT NULL AUTO_INCREMENT, `status` enum('active','draft','passive') NOT NULL DEFAULT 'draft' ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 "; $res = $wpdb->query($sql); //echo ( $wpdb->show_errors()); self::$associati_message .= 'Creata tabella'. $this->table_name; } else{ self::$associati_message .= 'Trovata tabella '.$this->table_name.': verificare contenuto'; } } catch (Exception $e){ self::$associati_error = 'exception '.$e->getMessage(); } } public function installMenu() { //this is the main item for the menu add_menu_page('associati', //page title 'Associati', //menu title 'manage_options', //capabilities 'list_associati', //menu slug array($this,'listAll') //function ); //this is a submenu add_submenu_page('list_associati', //parent slug 'Nuovo associato', //page title 'Nuovo associato', //menu title 'manage_options', //capability 'new_associato', //menu slug array($this,'newAssociato') //function ); //this submenu is HIDDEN, however, we need to add it anyways add_submenu_page(null, //parent slug 'Modifica associato', //page title 'Modifica associato', //menu title 'manage_options', //capability 'update_associato', //menu slug array($this,'updateAssociato') //function ); self::$associati_message .='Menu aggiunto<br />'; } public function notifyMsg() { self::$associati_message .= ' test '; if( isset(self::$associati_error)) { echo '<div class="error">Attenzione: ',self::$associati_error,'</div>'; //unset (self::$associati_error); } //else {echo '<div class="error">noerror</div>';} if( isset(self::$associati_message)) { echo '<div class="update">',self::$associati_message,'</div>'; //unset (self::$associati_message); } //else{echo '<div class="update">nomsg</div>';} } function listAll () { // code here } function updateAssociato () { //code here } function newAssociato () { //code here } } static $danceoften_associati_instance; $danceoften_associati_instance = danceoften_associati::getinstance(); define('danceoften_associati_dir', plugin_dir_path(__FILE__)); register_activation_hook(__FILE__,array($danceoften_associati_instance,'register')); ?> the last doubt is that i'm not handling instantiation correctly with the static factory method getnstance() but except for notification everything seems working by now. thanx in advance to anyone wishing to help | [
-0.013837478123605251,
-0.003212329465895891,
0.007142488844692707,
0.011892730370163918,
0.013540294952690601,
0.005356196779757738,
0.009338200092315674,
0.011964941397309303,
-0.015715766698122025,
-0.010218814015388489,
-0.019220635294914246,
0.013384945690631866,
-0.003403985407203436,
... | [
0.2433481514453888,
0.21311083436012268,
0.47467100620269775,
-0.5912750363349915,
-0.09689028561115265,
0.028420433402061462,
0.5288079380989075,
-0.21381621062755585,
0.01821024902164936,
-0.7945707440376282,
-0.0040629249997437,
0.6598450541496277,
-0.5362643003463745,
0.056177955120801... |
having failed to install a gnome extension from their website I looked for another way on Google. The guide I found was like: sudo apt-get install gnome-common git clone git://git.gnome.org/gnome-shell-extensions cd gnome-shell-extensions ./autogen.sh –prefix=$HOME/.local – enable-extensions=”dock” The last command failed with the following error: ./configure: line 4276: GLIB_GSETTINGS: command not found configure: error: invalid extension drop-down-terminal Unfortunately I couldn't find anything helpful on Google this time. Any suggesion? Thanks. | [
-0.0095349857583642,
-0.0011668356601148844,
-0.00035758805461227894,
0.01727214828133583,
-0.012460432946681976,
-0.01226763054728508,
0.00800011120736599,
-0.020025717094540596,
-0.019007571041584015,
0.019008249044418335,
-0.01555620227009058,
0.0027693836018443108,
0.006942364387214184,
... | [
0.3444456458091736,
0.13299864530563354,
0.7534788250923157,
-0.31800416111946106,
0.10102296620607376,
0.1894785761833191,
0.8274586200714111,
-0.31367525458335876,
-0.10293275117874146,
-0.5663085579872131,
-0.2804326117038727,
0.8641167283058167,
-0.2989371120929718,
0.05917236208915710... |
I'm new to LaTeX and trying to write my rapport with TeXnicCenter. I want to use the times new roman font, but i don't know why it does not works with me. This the beginning of my code : \documentclass[12pt,french]{report} \usepackage{times} \usepackage[T1]{fontenc} \usepackage[utf8]{luainputenc} \usepackage[a4paper]{geometry} \usepackage{minitoc} \geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=3cm,rmargin=3cm} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \setlength{\parskip}{\smallskipamount} \setlength{\parindent}{0pt} \usepackage{float} \usepackage{graphicx} \usepackage{setspace} \usepackage{nomencl} % the following is useful when we have the old nomencl.sty package \providecommand{\printnomenclature}{\printglossary} \providecommand{\makenomenclature}{\makeglossary} \makenomenclature \onehalfspacing \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. \usepackage{t1enc}% un second package \usepackage[francais]{babel} % un troisième package \usepackage{layout} \usepackage[Lenny]{fncychap} \usepackage{fancyhdr} \usepackage[section]{placeins} \usepackage{lettrine} \floatstyle{boxed} \title{Rapport de Projet De Fin D'Études} \author{Amina GHABRI} \usepackage{palatino}%police \renewcommand{\baselinestretch}{1.5} \AtBeginDocument{ \def\labelitemi{\normalfont\bfseries{--}} } \usepackage{babel} \addto\extrasfrench{% \providecommand{\og}{\leavevmode\flqq~}% \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}% } \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{\leftmark} \fancyhead[RE,LO]{\ } \fancyfoot[CE,CO]{\thepage} \fancyfoot[RE,LO]{\ } \renewcommand{\headrulewidth}{1pt} \renewcommand{\footrulewidth}{1pt} \usepackage{babel} \addto\extrasfrench{% \providecommand{\og}{\leavevmode\flqq~}% \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}% } \makeatother \usepackage{babel} \makeatletter \addto\extrasfrench{% \providecommand{\og}{\leavevmode\flqq~}% \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}% } \rmfamily \makeatother \begin{document} \maketitle \dominitoc\tableofcontents{}\listoffigures \listoftables \chapter{Présenation du projet} \label{sec:PrésenationDuProjet} And this is what i'm getting :  | [
0.022877685725688934,
0.006589533295482397,
-0.0053293160162866116,
0.013468028977513313,
0.004850190132856369,
-0.005624250043183565,
0.007910998538136482,
-0.005391653161495924,
-0.014159603975713253,
-0.016471795737743378,
-0.010721178725361824,
-0.003377485554665327,
-0.00109922257252037... | [
0.1489245444536209,
0.10577306896448135,
0.6502174139022827,
-0.3165270984172821,
0.31773197650909424,
0.24531108140945435,
0.21146231889724731,
0.1316230744123459,
0.1844385713338852,
-0.9821268320083618,
-0.0015819945838302374,
0.515358567237854,
-0.23041938245296478,
-0.0156602468341588... |
I've been playing around with the GeoTools libraries, but I can only show shape files and no custom layers. Requirements are that it must use the SWTMapPane and not via the static SWTMapFrame.showFrame(). I'm looking for sample code that just creates features, say points, give it a style and show it on the pane. Load shape file: File openFile = new File(XXX); if (openFile != null && openFile.exists()) { FileDataStore store = FileDataStoreFinder.getDataStore(openFile); SimpleFeatureSource s = store.getFeatureSource(); Style style = Utils.createStyle(openFile, s); FeatureLayer featureLayer = new FeatureLayer(s, style); mapContent.addLayer(featureLayer); getMapPane().reset(); getMapPane().redraw(); } Now I want to add a custom layer containing features with a style, and then adding it to the mappane. Sample code I found always seem to contain deprecated code or JMapPane code. | [
-0.025813641026616096,
-0.0063633243553340435,
0.000582576438318938,
0.011335615999996662,
0.023303035646677017,
0.010532298125326633,
0.00797556433826685,
0.023125749081373215,
-0.019008539617061615,
0.015290789306163788,
0.001849600113928318,
0.016915226355195045,
-0.02178342081606388,
0... | [
0.48959603905677795,
0.06950290501117706,
0.5517933964729309,
-0.3380088806152344,
0.27471861243247986,
0.23263728618621826,
0.01683017984032631,
-0.3734285533428192,
0.09921744465827942,
-1.040267825126648,
-0.08532900363206863,
0.5053287148475647,
-0.3731299936771393,
0.17411915957927704... |
My aim is to simply be informative about where a link is pointing to search engines. I have some content that is listed by name and then I have a "Permalink" button. Would it be blackhat SEO to add some hidden text within the anchor that describes where the permalink is pointing? My content is like so: News Item 1 Permalink (<a href="/my-news-item-1"><hidden>News Item 1</hidden> Permalink</a>) Teaser text.. The news title of the block already links to the article, but I think it would be of benefit to users to provide and explicit permalink button. | [
-0.011420547030866146,
0.018881868571043015,
0.007542300969362259,
0.01586977392435074,
-0.019953487440943718,
-0.0181142445653677,
0.011166704818606377,
0.003943929448723793,
-0.018185965716838837,
0.0009642657823860645,
-0.00823952816426754,
-0.0039711748249828815,
-0.009803816676139832,
... | [
0.38923779129981995,
0.03339657559990883,
0.568030834197998,
0.10631449520587921,
-0.4636162221431732,
-0.17234015464782715,
-0.07521182298660278,
0.17950475215911865,
-0.18858632445335388,
-0.15632140636444092,
-0.16251125931739807,
0.3153952658176422,
-0.4399184286594391,
0.1127322465181... |
\documentclass[12pt]{article} \usepackage{amsmath} \usepackage{amssymb} \pagestyle{empty} \oddsidemargin=0pt \topmargin=0pt \textwidth=6.5in \textheight=8.5in \begin{document} \begin{center} \large{\LaTeX\ Example 4} \end{center} Symbols of inclusion in \LaTeX\ can be scaled to match the complexity of the expression. For example, consider \[ (\frac{x^2+1}{x^2+x+1})(x^3+x^2-3x+1) \] \begin{quote} \begin{verbatim} \[ (\frac{x^2+1}{x^2+x+1})(x^3+x^2-3x+1) \] \end{verbatim} \end{quote} The parenthesis don't quite match the size of the fraction. This can be fixed with the \verb+\+left\verb+(+ and the \verb+\+right\verb+)+ commands: \[ \left(\frac{x^2+1}{x^2+x+1}\right)(x^3+x2-3x+1) \] \begin{quote} \begin{verbatim} \[ \left(\frac{x^2+1}{x^2+x+1}\right)(x^3+x2-3x+1) \] \end{verbatim} \end{quote} Or, with braces: \[ \left\{\frac{x^2+1}{x^2+x+1}\right\}(x^3+x^2-3x+1) \] \begin{quote} \begin{verbatim} \[ \left\{\frac{x^2+1}{x^2+x+1}\right\}(x^3+x^2-3x+1) \] \end{verbatim} \end{quote} Observations: \begin{itemize} \item Notice in the last example that the braces are each preceded by a backslash. This is to let \LaTeX\ know that the braces are to be typeset and do not define a new scope. \item The \verb+\+left and \verb+\+right commands must match up in pairs, although the symbols of inclusion do not have to match. For example \verb+\+left\verb+(+ can be closed by \verb+\+right\verb+)+. \item The symbols of inclusion \verb+[.]+ and \verb+|.|+ handled similarly. \item \verb+\+left. and \verb+\+right. are special symbols of inclusion that are ``empty.`` They are not typeset, but are used to maintain the \verb+\+left and \verb+\+right match that is required by \LaTeX\. \item Notice \verb+\+frac \verb+{+ a\verb+}{+ b\verb+}+ typsets the fractions \frac{a}{b}. \end{itemize} ---Britney Wiggins \end{document} | [
0.006761491298675537,
0.002088101115077734,
-0.004229199141263962,
0.014244068413972855,
0.005997353699058294,
0.01677347533404827,
0.00893544964492321,
0.004167994484305382,
-0.006607898510992527,
0.00772638525813818,
-0.012399252504110336,
-0.0010979545768350363,
-0.0049825990572571754,
... | [
-0.5361846089363098,
0.007203462067991495,
0.2511900067329407,
0.05400862172245979,
0.19276928901672363,
-0.07534767687320709,
0.22922182083129883,
-0.44054046273231506,
-0.08437494188547134,
-0.6290445923805237,
-0.36404380202293396,
0.4749034643173218,
-0.22487355768680573,
-0.3601807653... |
1. I read about Lorentz and Galilean transformation in a book of modern physics some days back, but couldn't clearly understand the difference between the two? 2. Also it was stated there that maxwell's equations are invariant under Lorentz transformation but not under Galilean transformation? Please provide me with some explanation regarding this. | [
0.01361791230738163,
0.01165369339287281,
-0.005507176276296377,
0.03197118639945984,
0.010398350656032562,
-0.01666969247162342,
0.014467637985944748,
0.01158836018294096,
-0.029452160000801086,
-0.013882112689316273,
-0.02396467886865139,
0.026939090341329575,
-0.03992580249905586,
-0.01... | [
0.07897143810987473,
-0.1832948625087738,
-0.0026213089004158974,
0.16458599269390106,
-0.08820102363824844,
-0.16023355722427368,
-0.11447910964488983,
-0.11355073004961014,
-0.09293424338102341,
-0.39047279953956604,
-0.010251874104142189,
0.16202637553215027,
-0.3461136519908905,
0.5692... |
Is it possible to get a list of user activities? I want to know when the phone was opened, when it was locked, etc. Just the basic things. | [
0.018223125487565994,
0.003932181280106306,
0.0018588583916425705,
0.00017108106112573296,
0.0002928053436335176,
0.0015085049672052264,
0.01529772114008665,
0.037848785519599915,
-0.03391095623373985,
0.051692500710487366,
-0.004853154066950083,
0.013796444050967693,
0.017095042392611504,
... | [
0.5899131894111633,
0.05879119038581848,
0.3012445569038391,
0.24740056693553925,
0.22669310867786407,
-0.2946963608264923,
0.20486532151699066,
0.06110949441790581,
-0.3936430513858795,
-0.2966632544994354,
0.28473177552223206,
0.4664033353328705,
-0.037971071898937225,
-0.217412620782852... |
The Leviathan (in the Scarlett DLC) was an okay boss fight with some great rewards (reminiscent of Knoxx's Armory almost), but I don't see any way to fight him again. Is there any way to challenge him again and get another crack at his loot? | [
0.017832132056355476,
0.006824009586125612,
-0.004220407456159592,
-0.006655335426330566,
0.02252279408276081,
0.02564639411866665,
0.010273139923810959,
-0.005852652247995138,
-0.03256389498710632,
0.06727639585733414,
-0.017145222052931786,
0.017688876017928123,
-0.010119368322193623,
-0... | [
0.225338876247406,
-0.4525264799594879,
-0.10785689949989319,
0.43064945936203003,
-0.16385303437709808,
0.11020295321941376,
0.13983698189258575,
0.012941240333020687,
-0.631866455078125,
-0.4332454204559326,
0.001564496080391109,
0.27594828605651855,
-0.15834620594978333,
0.0663636848330... |
My machine is connected in a local lan. to connect to the internet the traffic goes through proxy server. my understanding of **proxy** server is that it sends the request on **behalf** of the original request sender. So when the server replies, it sends the reply to the proxy thinking that it is the client. The proxy then forwards the reply to my machine. Take the case of **Network Address translation**. Your request goes through the nat router. The nat router then provides you a public ip address and stores this mapping in its table. The reply(from the server) is sent to this assigned public address. Which the nat router resolves to your local ip address from the table and forwards the reply to your machine. My question why is nat required when proxy itself is able to mediate the traffic and provide you with access to the internet? | [
-0.001100777881219983,
-0.0006428912747651339,
0.005330877844244242,
0.0076226890087127686,
-0.02088908664882183,
-0.012312735430896282,
0.008761742152273655,
0.007345624268054962,
-0.01593729481101036,
-0.00023150350898504257,
-0.004918843042105436,
0.010092096403241158,
-0.0150710456073284... | [
0.16117453575134277,
0.13818925619125366,
0.779490053653717,
-0.008668092079460621,
-0.06689430773258209,
0.43475666642189026,
0.2107710838317871,
-0.012149861082434654,
-0.30374228954315186,
-0.9697809219360352,
0.08651836216449738,
0.36934125423431396,
-0.15163320302963257,
0.52199602127... |
I write code in C. I have been striving to write more testable code but I am a little confused on deciding between writing pure functions that are really good for testing but require smaller functions and hurt readability in my opinion and writing functions that do modify some internal state. For example (all state variables are declared static and hence are "private" to my module): Which of this is more testable in your opinion: int outer_API_bar() { // Modify internal state internal_foo() } int internal_foo() { // Do stuff if (internal_state_variable) { // Do some more stuff internal_state_variable = false; } } OR int outer_API_bar() { // Modify internal state internal_foo(internal_state_variable) // This could be another function if repeated many // times in the module if (internal_state_variable) { internal_state_variable = false; } } int internal_foo(bool arg) { // Do stuff if (arg) { // Do some more stuff } } Although second implementation is more testable wrt to internal_foo as it has no sideeffects but it makes bar uglier and requires smaller functions that make it hard for the reader to even follow small snippets as he has to constantly shift attention to different functions. Which one do you think is better ? Compare this to writing OOPS code, the private functions most of the time use internal state and are not pure. Testing is done by setting up internal state on a mock object instance and testing the private function. I am getting a little confused on whether to use or whether to pass in internal state to private functions for the sake of "testability" | [
0.006751748733222485,
0.011058937758207321,
-0.011177908629179,
0.010594458319246769,
-0.009060532785952091,
0.013745574280619621,
0.009255265817046165,
0.00542155047878623,
-0.015869010239839554,
-0.001651613973081112,
-0.014002729207277298,
0.006691098213195801,
0.000043355394154787064,
... | [
0.8094306588172913,
0.41413477063179016,
0.06145600974559784,
-0.24918335676193237,
-0.03239623084664345,
0.06111413240432739,
0.5451330542564392,
-0.17463478446006775,
-0.006699384655803442,
-0.41724106669425964,
0.05233117938041687,
0.6843817234039307,
-0.4093622863292694,
-0.06189767643... |
I've found this example... http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssamples/layers_custom_tiled.html Which uses an exploded cache. It notes at the beginning of the article... "You would most likely use ArcGISTileMapServiceLayer when accessing a service from 9.3 and beyond" Digging into the ArcGISTiledMapServiceLayer object it seems like it only connects to services via the rest url. I need to accomplish what is achieved in the Portland example (the link above) but with cache bundles instead of the exploded cache. **Potentially Useful Background** : I need to make an entirely self contained web map app with the javascript api that would use bundles that are stored with the app (as opposed to out on a server with arcgis installed) to render the map. | [
0.0026645087637007236,
0.004043843597173691,
0.0001862398348748684,
0.013136399909853935,
0.016157161444425583,
-0.004022578708827496,
0.006550024263560772,
-0.007270668633282185,
-0.02066829428076744,
-0.02210160717368126,
0.0009313410264439881,
0.008505030535161495,
-0.022818733006715775,
... | [
0.17553076148033142,
0.09017922729253769,
0.11220303922891617,
0.12110922485589981,
-0.05684283375740051,
-0.3434862494468689,
0.260940283536911,
0.14839328825473785,
-0.21569938957691193,
-0.6355764865875244,
0.2216828167438507,
0.2199125587940216,
0.08009246736764908,
0.10182827711105347... |
The golden fleece of book design has been the typesetting of the typed area in relation to the paper and the spread. Famous typographers such as Jan_Tschichold and Rosarivo devised canon's of page construction detailing how to calculate margins and set the typed area. They produced diagrams such as the one shown below:  Trusted and respected class authors such as Peter Wilson (memoir) and Markus Kohm (KOMA-Script) exhorted authors to follow these rules, sometimes very strongly, in a language reminiscent of construction specifications. Markus Kohm writes, > In a double-sided document (e. g. a book) however, the complete inner margin > (the margin at the spine) **should be** the same as each of the two outer > margins; in other words, a single page contributes only half of the inner > margin... Some classes such as the octavo are dedicated to achieving the classical page ratios. Having looked at over 100 books as part of some development work I am trying to complete, the most immediate and apparent observation is that most Publishers and obviously their book designers currently disregard such rules. My own feeling is that this is mostly done for monetary reasons. The books in my opinion still look very good and maybe is time to let medieval rules fall away. Here, is my question and I know it will not have any specific answer. **What margin proportions and typed area settings do you think make a good modern book.** Can you provide statistics from some books you like (paper size, top margin, bottom margin, left margin and right margin). All margins defined absolutely as per the geometry package or you can use LaTeX terminology.  Obviously, if a book has marginalia it is a whole different kettle of fish. So I would like if possible to limit the answers to books that do not contain margin material. | [
0.0077906884253025055,
0.011357499286532402,
0.00037012132816016674,
0.01257527619600296,
-0.006499069277197123,
0.0029806559905409813,
0.006914929952472448,
-0.0006388861802406609,
-0.013005553744733334,
0.01855117455124855,
-0.010772831737995148,
0.003328238148242235,
0.0010744978208094835... | [
0.0737769827246666,
0.29815036058425903,
0.02962750941514969,
-0.03677867352962494,
-0.3912215232849121,
-0.05547063797712326,
-0.014966964721679688,
-0.3560229241847992,
-0.3259941041469574,
-0.42267906665802,
-0.1897766888141632,
0.1671479344367981,
0.020705262199044228,
-0.3088447451591... |
I'm Running 2.3 Gingerbread. There is a setting Settings->Privacy Settings->Back up my data If checked, what data does this back up? Where is it backed up? How do I restore it? | [
0.029116781428456306,
-0.005390975158661604,
-0.010486248880624771,
0.022411273792386055,
0.012993958778679371,
0.0041704336181283,
0.012316089123487473,
0.0050087012350559235,
-0.034682851284742355,
0.015460633672773838,
0.007634017616510391,
0.016836417838931084,
-0.0021765900310128927,
... | [
0.3921050429344177,
0.2874498963356018,
0.3397277891635895,
0.08775343745946884,
0.16888323426246643,
-0.05520128086209297,
0.6108660697937012,
0.0778183788061142,
-0.1574711948633194,
-0.6335272789001465,
0.042152486741542816,
0.36755672097206116,
-0.21147972345352173,
0.1200961321592331,... |
I am having some problems that `seem' to me to be a conflict between amsmath and ntheorem. Here is a MWE: \documentclass[12pt,a4paper,oneside]{report} \usepackage[left=2.00cm,right=2.00cm,top=2.45cm,bottom=2.5cm]{geometry} \usepackage[amsmath,amstext,thmmarks]{ntheorem} \usepackage{color,fancyhdr,framed,latexsym,multicols,slashed} \theoremclass{Theorem} \theoremstyle{break} \newframedtheorem{Theorem}[Theorem]{Theorem} \begin{document} \begin{Theorem} Let $X$ be a set with $n$ elements. Then $\mathcal{P}(X)$ is a set with $2^n$ elements. \end{Theorem} \end{document} Ay help would be greatly appreciated. Thanks. | [
0.002557426691055298,
0.0134742371737957,
-0.0070060305297374725,
0.034516334533691406,
-0.011927645653486252,
0.024058617651462555,
0.007776802405714989,
0.01101958379149437,
-0.009714335203170776,
0.002143541583791375,
-0.010788376443088055,
0.00597736518830061,
-0.018386676907539368,
0.... | [
0.27453503012657166,
0.12255691736936569,
0.5746151208877563,
0.09787623584270477,
0.3284038007259369,
0.3619089722633362,
0.1554761826992035,
-0.6474291682243347,
-0.04701892286539078,
-0.8044881820678711,
-0.159599170088768,
0.48662304878234863,
-0.13336074352264404,
0.10096604377031326,... |
I want to make a presentation and add some slides at the end as an appendix. The normal slides should have transitions "<+->", but the appendix ones should be like handout. Is there an easy way to do this? | [
0.00532127171754837,
0.008507494814693928,
-0.014055444858968258,
0.031573597341775894,
-0.05511756241321564,
-0.00005363605305319652,
0.01480526477098465,
0.0403728261590004,
-0.030202437192201614,
-0.041276901960372925,
-0.014434984885156155,
-0.015122978948056698,
0.015063287690281868,
... | [
0.18129439651966095,
0.001445819390937686,
0.3894362449645996,
0.3812703490257263,
-0.1477842628955841,
-0.2601286470890045,
-0.27295956015586853,
0.15746435523033142,
-0.2645813226699829,
-0.4661882817745209,
0.09178458154201508,
0.18541015684604645,
0.09307069331407547,
0.276633918285369... |
What happens to the index of refraction and focal length of a lens that is initially in air that is then placed in water? | [
-0.0380043163895607,
0.04209427163004875,
0.025550082325935364,
-0.007884185761213303,
0.043803635984659195,
-0.04216253012418747,
0.01851298287510872,
0.0595809668302536,
-0.012501539662480354,
0.02332366816699505,
-0.0027318373322486877,
0.057521335780620575,
-0.029994718730449677,
0.004... | [
0.5538043975830078,
0.36244291067123413,
0.437150239944458,
0.17563985288143158,
0.17925786972045898,
-0.0622936449944973,
-0.02601322904229164,
-0.4971839189529419,
-0.18408584594726562,
-0.20095552504062653,
0.11229100823402405,
0.4916938543319702,
-0.058509912341833115,
0.23543953895568... |
There is an option to ask monsters in your barn to do work for you in the fields and stuff, but every time I ask my monsters, I get a notice saying they don't like me enough to do it. How do I get them to do the work? | [
0.0249782782047987,
0.011376251466572285,
-0.0018197728786617517,
0.00967735517770052,
0.008905241265892982,
0.016443908214569092,
0.00944242998957634,
0.016552986577153206,
-0.029846463352441788,
0.02005121298134327,
-0.026024483144283295,
0.026068510487675667,
-0.0014131965581327677,
0.0... | [
1.073676347732544,
-0.054289866238832474,
0.06400568038225174,
0.43097928166389465,
0.010387578047811985,
0.3813117742538452,
0.5931135416030884,
-0.008000972680747509,
-0.3767683506011963,
-0.15254104137420654,
0.187435120344162,
0.296746164560318,
-0.06409575045108795,
-0.005240010563284... |
I am trying to select records in my table that have certain words in the "Name" field and then code them as 0 (not pharmacy) or 1 (pharmacy) This is just a test searching for two words to select non-pharmacies. I am getting a: > ExecuteError: ERROR 000622: Failed to execute (Calculate Field). Parameters > are not valid. ERROR 000623: Invalid value type for parameter field. I don't know which variable is invalid. Any thoughts? I also do not know if the Calculate Field will work on only the records selected. I cannot get far enough to check that. # import system modules import arcpy import random # set workspace environment myWorkspace = arcpy.env.workspace = "C:/PharmacyProtocol/tables" arcpy.env.overwriteOutput = True # set variables out_table = "VT_TRL_DLC.dbf" # set field variables fieldList = arcpy.ListFields(out_table) for field in fieldList: if field.name == "Name": nameF = field elif field.name == "Pharmacy": pharmF = field #create list of words that are NOT pharmacies noPharmWords = ['AMERICAN LEGION','BAR'] expression = 0 #find words in Name field, code Pharmacy as "0" if not already coded for codeWord in noPharmWords: #create SQL text clause fldName = '"Name"' endClause = "%'" SQLstr = fldName + " LIKE '%" + codeWord + endClause #select records from table with codeWord cursor = arcpy.da.SearchCursor(out_table, ["Name"], SQLstr) arcpy.CalculateField_management(out_table, pharmF, expression) del cursor | [
0.010053594596683979,
0.005336544942110777,
-0.01031632162630558,
0.015746861696243286,
-0.030811455100774765,
0.016732031479477882,
0.008348725736141205,
0.02038324624300003,
-0.012106893584132195,
-0.014578699134290218,
-0.01680952124297619,
0.003458310617133975,
-0.004127040039747953,
0... | [
0.688927173614502,
0.4326430857181549,
0.6092527508735657,
-0.15078803896903992,
0.3660871088504791,
0.3964449167251587,
0.5335156321525574,
-0.40797680616378784,
-0.1002136692404747,
-0.34571561217308044,
0.5458182692527771,
0.4370379149913788,
-0.3939010500907898,
0.35538533329963684,
... |
On my encrypted S2, I started to install CM following these instructions. Rooting the phone worked fine. But after I wiped it from the Volume- up/home/power-key console, I was not able to locate the uploaded files. I tried to restart the phone, but now my encryption password is not accepted. I am simply asked again and again for the encryption password. I don't care about the data, but I am wondering how I get the phone to boot again. | [
0.016317032277584076,
0.0026467295829206705,
-0.010261940769851208,
0.013586288318037987,
-0.029701946303248405,
-0.005189066287130117,
0.0066017149947583675,
0.00034894526470452547,
-0.016777416691184044,
-0.008989067748188972,
-0.02036806009709835,
0.015614875592291355,
-0.0149561492726206... | [
-0.046561021357774734,
0.285892516374588,
0.5763866305351257,
0.013135407119989395,
0.017948968335986137,
0.23492515087127686,
0.30503347516059875,
-0.009544525295495987,
-0.4445888102054596,
-0.6195127367973328,
-0.04088358208537102,
0.41914719343185425,
-0.2477102428674698,
0.19682164490... |
There are a few old packages that allow the creation of x-y scatter plots from attributes in vector data (Scattergram for 1.7) http://plugins.qgis.org/plugins/scattergrammidentify/ (SPQR for very early editions) http://www.maths.lancs.ac.uk/~rowlings/Software/Spqr/ But does anyone know of a package for 2.0 that would do this? or a way to rig up the old ones? Thanks | [
-0.0011318045435473323,
0.003259828081354499,
-0.00871971994638443,
0.01755131222307682,
0.011446001008152962,
-0.0013896925374865532,
0.006098400801420212,
0.0011760719353333116,
-0.018834536895155907,
-0.009936805814504623,
-0.0018784281564876437,
0.008676325902342796,
-0.01606253348290920... | [
0.21879729628562927,
-0.2217109501361847,
0.46635544300079346,
0.4193883538246155,
-0.06102635711431503,
-0.18872085213661194,
0.09104764461517334,
-0.1485510617494583,
-0.23113438487052917,
-0.21545878052711487,
0.21734300255775452,
0.2292935997247696,
-0.13442081212997437,
0.004418085794... |
I'd like to have three authors that use the same footnote for their \thanks identifier (they are at the same university, and don't need separate affiliation notes). I've read one of the solutions proposed in http://tex.stackexchange.com/questions/1750/how-to-write-a-footnnote-attached- to-the-author-in-a-latex-paper, but the last solution (using recalled footnotes) only works for **two** authors. So an example: I'd like to have > Author1* and Author2* and Author3* > > * * * > > * University of Podunk, Timbuktoo. > | [
0.012499436736106873,
0.019419990479946136,
-0.017979644238948822,
0.027586475014686584,
-0.00857264269143343,
0.016598891466856003,
0.006489607505500317,
0.000781770795583725,
-0.014087885618209839,
-0.01299305260181427,
-0.007930994965136051,
0.005215070676058531,
-0.008549021556973457,
... | [
0.10833092033863068,
0.2501823604106903,
0.5023617744445801,
-0.013610388152301311,
0.030457869172096252,
-0.15537983179092407,
-0.010605847463011742,
0.12290672957897186,
-0.19404582679271698,
-0.7352300882339478,
0.30684781074523926,
0.04851939156651497,
0.1763143688440323,
0.02739752642... |
I know this may sound sily but I don't how to open install.txt. I tried 'w3m install.txt' and '_w3m install.txt' but still don't open. Can someone specify the code to do this? | [
-0.021718546748161316,
-0.012684427201747894,
-0.014233952388167381,
0.002519892994314432,
0.016604922711849213,
0.010053670033812523,
0.009795420803129673,
-0.025307275354862213,
-0.02988302893936634,
-0.02999098412692547,
-0.01295519806444645,
-0.010647977702319622,
0.012248445302248001,
... | [
0.716742992401123,
0.24646511673927307,
0.14357231557369232,
-0.13511353731155396,
0.06760262697935104,
-0.24634277820587158,
0.5330215692520142,
-0.1676504909992218,
0.0695301964879036,
-0.7009333968162537,
0.06518206745386124,
0.7580525875091553,
-0.36015182733535767,
0.22968663275241852... |
I selected data by using select layer by attribute, then I need to only select these selection and zoom in to the selection. my code is this, it can zoom in base on the scale I set, but I see other adjacent polygon that has other Code_No, why? Layer = arcpy.mapping.ListLayers(mxd, "lyr", df) arcpy.SelectLayerByAttribute_management(lyr, "NEW_SELECTION", "Code_NO = '%s'"%mycodeNo) df.extent = lyrLayer1.getSelectedExtent() df.scale *= 2 | [
0.01290293037891388,
0.014052380807697773,
-0.007483045570552349,
0.009215357713401318,
-0.013885777443647385,
-0.01784036122262478,
0.009159206412732601,
0.018011145293712616,
-0.015906143933534622,
0.010376587510108948,
-0.015042111277580261,
0.012663406319916248,
-0.023315157741308212,
... | [
0.027646979317069054,
-0.3051954209804535,
0.6457396745681763,
-0.030516916885972023,
-0.2303164154291153,
0.17091116309165955,
-0.12826304137706757,
-0.40567755699157715,
-0.2012971192598343,
-0.9263133406639099,
0.042069949209690094,
0.2508437931537628,
-0.053660906851291656,
0.243693456... |
So i've been trying to improve my game as zerg as of late, but im meeting several difficulties (some in micro, some in macro, etc etc), but the one i want to ask about now is army composition. I often see replays of zerg players who rely heavily on zerglings, but i can never seem to find a use for them in my armies. When i start massing armies i find myself not building focusing mainly on roaches/hydras/whatever im massing because i just dont know what to do with zerglings past early early game. Is **not** getting Zerglings ok? Will my army's effectiveness suffer from the lack? Is the matter of using Zerglings effectively purely a micro thing? Do i **have** to be super smart about positioning them and have them in a seperate group to see positive results? Are zerglings an effective/worthwhile addition to my army even if i **dont** have great micro? | [
-0.011233793571591377,
0.007622112520039082,
-0.0031527653336524963,
0.00773169519379735,
-0.007568047381937504,
-0.008088381960988045,
0.0034484253264963627,
-0.028119072318077087,
-0.012437103316187859,
-0.024169011041522026,
-0.00016544002573937178,
0.0046712555922567844,
-0.0106073496863... | [
0.5344459414482117,
0.267183780670166,
-0.03180886059999466,
-0.12580886483192444,
-0.38541901111602783,
0.11363260447978973,
0.14081314206123352,
0.21337030827999115,
-0.4299069046974182,
-1.0281773805618286,
0.12090446799993515,
0.34992632269859314,
-0.21911442279815674,
0.05454582348465... |
I am reading a material about the degree of freedom for linear n-atom molecule and nonlinear n-atom molecule. Here is my analysis for a diatomic molecule, if there are two atoms, we have to use 3 coordinates to describe the translational motion, 2 coordinates about the rotation and 1 for vibration, so total will be 6 degree of freedom for diatomic molecule. According to the equipartition theorem of the energy, when there are N molecule, each degree of freedom share $kT/2$ energy, so total $$E = 6\times \frac{NkT}{2}$$ and the heat capacitor is $$ C = \frac{dE}{dT} = 3Nk $$ But in other book, it said that the heat capacitor for diatomic molecule is $\frac{7Nk}{2}$. I am googleing the issue and someone said the vibration energy consists of kinetic energy and potential energy so there are actually 7 degree of freedom instead of 6. Is this statement correct? It is pretty confusing because in the wiki http://en.wikipedia.org/wiki/Degrees_of_freedom_%28physics_and_chemistry%29, it states that the linear N-atom molecule has 3 positions, 2 rotations and 3N-5 vibrations so total 3N degree of freedom, if N=2, then we will have 6 degree of freedom instead of 7. So which conclusion is correct? BTW, what's the main difference between the linear and nonlinear n-atom molecule? | [
0.006318518426269293,
0.01345891784876585,
-0.025370433926582336,
0.008584573864936829,
-0.021010788157582283,
-0.009571852162480354,
0.012075732462108135,
0.01749524660408497,
-0.01648719049990177,
-0.025653159245848656,
-0.0030762271489948034,
0.012321237474679947,
-0.024471072480082512,
... | [
0.20768459141254425,
0.055151261389255524,
0.6052731871604919,
0.07873574644327164,
-0.0597427673637867,
0.22899259626865387,
0.09662849456071854,
-0.7892230749130249,
-0.4616413414478302,
-0.5550637245178223,
-0.04616975411772728,
0.2925907373428345,
-0.22228166460990906,
0.64526754617691... |
I'm using the code below for my `\part` heading style. I want to be able to modify what appears in ToC as my part name. Possibly put a different text there and also modify its font style (size, shape etc.). What should I modify in my code? \documentclass[draft]{book} \usepackage[table]{xcolor} \usepackage{epigraph} \setlength\epigraphwidth{.6\textwidth} \makeatletter \def\@part[#1]#2{% \ifnum \c@secnumdepth >-2\relax \thispagestyle{epigraph} \refstepcounter{part}% \addcontentsline{toc}{part}{\partname~\thepart:\hspace{1em}#1}% \else \addcontentsline{toc}{part}{#1}% \fi \markboth{}{}% \reset@font \parindent \z@ \vspace*{-400\p@}% \hbox{% \vbox{% \hsize=7mm% \makebox(0,0){\put(10,-100){\fbox{\phantom{\rule[-4cm]{7mm}{4cm}}}}}% \begin{tabular}{@{}p{7mm}@{}} \makebox[7mm]{\scshape\strut\small\partname}\\ \makebox[7mm]{\cellcolor{gray}\Huge\color{white}\bfseries\strut\thepart\rule[-4cm]{0pt}{4cm}}% \end{tabular}% }% \kern6pt \vbox to 0pt{% \tabular[t]{@{}p{1cm}>{\raggedright\arraybackslash}p{\dimexpr\hsize-2.55cm}@{}}\hline & \Huge\itshape\rule{0pt}{1.5\ht\strutbox}#1\endtabular}% }% \cleardoublepage } \makeatother \begin{document} \tableofcontents \cleardoublepage \epigraphhead[450]{Fairy tales are more than true: not because they tell us that dragons exist, but because they tell us dragons can be beaten.\par\hfill\textsc{C.K. Chesterton}} \part{A Test Part Title} \end{document} | [
0.0199044868350029,
0.0007675825618207455,
-0.0016275246161967516,
0.01795916073024273,
0.02219545841217041,
0.0033025075681507587,
0.008976884186267853,
0.02668239362537861,
-0.017839863896369934,
-0.020167816430330276,
-0.011634938418865204,
0.0047741057351231575,
0.008920721709728241,
0... | [
0.33961308002471924,
0.14733180403709412,
0.6607651710510254,
-0.07745499163866043,
0.27066171169281006,
0.18191584944725037,
-0.0719524472951889,
-0.11977073550224304,
0.004071701783686876,
-0.5170437693595886,
-0.08438081294298172,
0.2730827033519745,
-0.12099012732505798,
0.027764217928... |
How can I turn this ugly output into pretty, useful data? **The output:** /* ---------- TA#box#AbC_p ---------- */ insert_job: TA#box#AbC_p job_type: a #owner: bob permission: gx date_conditions: 1 days_of_week: su start_times: "16:15" run_window: "16:15-17:30" description: "Job AbC that runs at 4:15PM on Sundays, and should end before 5:30PM" /* ---------- TA#cmd#EfGJob_p ---------- */ insert_job: TA#cmd#EfGJob_p job_type: b box_name: TA#box#AbC_p command: /path/to/shell/script.sh machine: vm_machine1 #owner: alex permission: gx date_conditions: 2 run_window: "16:20-16:30" description: "job EfG that runs within box AbC" term_run_time: 60 std_out: /path/to/log.log std_err: /path/to/err.log alarm_if_fail: 1 profile: /path/to/profile and so on, for a long time. #cmd# jobs are sometimes under a #box#. If they are under a #box#, the #cmd# section is indented. My ideal output would be something like: "Job Name", "Time", "Schedule", "Machine", "Description", "Command" "TA#box#AbC_p", "16:15", "su", "", "Job AbC that runs at 4:15PM on Sundays, and should end before 5:30PM", "" "TA#cmd#EfGJob_p", "16:15", "su", "vm_machine1", "job EfG that runs within box AbC", "/path/to/shell/script.sh" I'm trying awk, perl and grep, but I'm having trouble keeping all the info for one "section" together before I print the CSV line. | [
-0.007069705985486507,
0.011935577727854252,
-0.004436356946825981,
0.01055271364748478,
0.013136561959981918,
0.01962885446846485,
0.010127488523721695,
0.01821403205394745,
-0.016861042007803917,
0.015214169397950172,
-0.033820025622844696,
-0.003322957083582878,
0.011987172067165375,
0.... | [
0.4039250910282135,
0.2813618779182434,
0.6675968170166016,
-0.18677322566509247,
0.4582396149635315,
0.11265682429075241,
0.6269016861915588,
-0.14677812159061432,
-0.1387491226196289,
-0.6285985112190247,
-0.20893846452236176,
0.7027034163475037,
-0.35771849751472473,
-0.0355241894721984... |
I'm running a multiple linear regression on a set of sports data. When I run the regression on one season, which has 380 data points and which I thought was a fair amount, I get quite a high p-value on one of my independent variables. However, when I run the regression on all my data points (I have more than 3000 data points in total), the p-value decreases from .97 to .02. As I add more data points, the p-value decreases further. My question is: is my variable really significant or am I just decreasing the p-value by adding more data points? | [
0.016340745612978935,
0.016511136665940285,
-0.024610960856080055,
0.005037502385675907,
0.012026487849652767,
-0.022783145308494568,
0.007491981144994497,
0.0001237865653820336,
-0.008397867903113365,
-0.012838791124522686,
-0.0019758252892643213,
0.016543399542570114,
-0.0168628990650177,
... | [
0.2283901870250702,
0.14122280478477478,
0.4496626853942871,
0.046238139271736145,
-0.3630334436893463,
0.09384635090827942,
0.36112162470817566,
0.06408923119306564,
-0.4069667160511017,
-0.28468796610832214,
0.463072270154953,
0.2770436704158783,
-0.22547732293605804,
0.4049391448497772,... |
I'd like to use `underbrace` in a formula: \begin{IEEEeqnarray}{r/C/l?s} P_{a} \left( a | \gamma, \epsilon, \hat{K} \right) & = & \frac{1}{1 + \frac{\gamma}{\epsilon} \times \underbrace{ \frac{\alpha_{X} \left( p_{f} | \hat{K} \right)} {\alpha_{Y} \left( a | \hat{S} \right)} }_{\Gamma \left( a | \hat{K} \right)} } & \IEEEnonumber \end{IEEEeqnarray} Compared to the formula without underbrace, the the underbraced part is enlarged: \begin{IEEEeqnarray}{r/C/l?s} P_{a} \left( a | \gamma, \epsilon, \hat{K} \right) & = & \frac{1}{1 + \frac{\gamma}{\epsilon} \times % \underbrace{ \frac{\alpha_{X} \left( p_{f} | \hat{K} \right)} {\alpha_{Y} \left( a | \hat{S} \right)} % }_{\Gamma \left( a | \hat{K} \right)} } & \IEEEnonumber \end{IEEEeqnarray} How can I avoid the change of the font-size when underbracing parts of a formula? | [
0.021498585119843483,
0.012346682138741016,
-0.01104858797043562,
0.002504033735021949,
0.006616965867578983,
-0.0048688058741390705,
0.006167964544147253,
-0.013942118734121323,
-0.007378111127763987,
-0.014336260966956615,
-0.0041609471663832664,
0.006150205619633198,
-0.027660537511110306... | [
-0.004870448261499405,
0.2845909297466278,
0.6684175729751587,
-0.3474535644054413,
0.4324844777584076,
0.22829367220401764,
-0.12654006481170654,
-0.09596065431833267,
0.13114027678966522,
-0.21393677592277527,
-0.006494395434856415,
0.5902725458145142,
-0.028301933780312538,
0.1392712146... |
I have a table containing a flag and x and y values. I'd like to have a regression for all rows with 1 in the first column. How can I do this? \documentclass{article} \usepackage{array} \usepackage{pgfplots} \pgfplotsset{compat=1.5.1} \usepackage{pgfplotstable} \begin{document} \pgfplotstableread{ Exmpl a v 1 0 0 1 1 1 1 2 1 1 3 4 2 0 -0 2 1 -1 2 2 -1 2 3 -4 } \data \begin{tikzpicture} \begin{axis} % [legend pos=outer north east] \addplot table [x=a, y=v] {\data}; \addplot table [x=a, y={create col/linear regression={y=v}}] {\data}; \end{axis} \end{tikzpicture} \end{document} I think, the pgfplots filters don't apply here, since I guess, pgfplots only gets the x and y values. It would be great, if there is a possibility to create a filtered table and do the regression and plotting stuff from there. | [
-0.005262461956590414,
0.023138772696256638,
-0.0033559207804501057,
0.011440252885222435,
-0.007457715924829245,
0.0008878543740138412,
0.006498594768345356,
0.014851395040750504,
-0.0076952469535171986,
-0.012063589878380299,
-0.0050228070467710495,
-0.0012927220668643713,
-0.0087038632482... | [
0.10812760889530182,
0.13756564259529114,
0.6509492993354797,
0.08773384243249893,
0.008861629292368889,
0.11347942054271698,
0.3221548795700073,
-0.4162467122077942,
-0.23569755256175995,
-0.40963706374168396,
0.30830273032188416,
0.22644393146038055,
-0.20989277958869934,
0.2237410694360... |
So I have a dataset which I am using K fold cross validation on to select the number of features and which features should be selected. As I understand it, I would set the number of features to be selected as a constant, then let my feature selection method pick whatever N features it wants to for each fold of cross validation. E.g. Set N = 1, evaluate CV performance for all classifiers I tested with a single feature Set N = 2, Repeat with 2 features... Select the N with the best CV performance. So I now have K sets of N features each. To train a final model on all of the data, I need to settle on the "best" N features. Do I select (1) the pair of features which appeared together the most out of K folds, or do I select (2) the top N features which were selected the most out of all K folds? You can think of (2) as a histogram of all the features which were ever selected in all K folds and each fold provides a vote if it picked that feature. (1) would be like (2) except each bin is a pair of features, rather than a single feature. | [
0.026257235556840897,
0.014683856628835201,
-0.023161157965660095,
0.012531369924545288,
-0.007137347012758255,
0.0020085053984075785,
0.00944889523088932,
-0.0055844420567154884,
-0.013604572974145412,
0.016116144135594368,
-0.00154850073158741,
0.013649496249854565,
-0.016421664506196976,
... | [
0.23009707033634186,
0.11240461468696594,
0.47000887989997864,
-0.13742898404598236,
0.052967920899391174,
0.372053325176239,
0.27947762608528137,
-0.33291348814964294,
-0.189802348613739,
-0.5756542086601257,
-0.009559515863656998,
1.0041992664337158,
0.01180536113679409,
0.51331615447998... |
I've created a automatic algorithm liver segmentation and the next step is the method validation. I have 16 exams with a mean of 40 slices each and my doubt now is how many of these slices would have a technician to hand segment to compare with my algorithm. I've read about `Hypotesis test` but I can't figure out how to calculate its variables, here's the link from the source of the test. http://circ.ahajournals.org/content/114/10/1078.full#disp-formula-6 here's the equation,  | [
0.007618721574544907,
0.00643395259976387,
-0.007179067004472017,
0.02045392245054245,
-0.021071720868349075,
0.021182451397180557,
0.007988139055669308,
0.0007014869479462504,
-0.017998864874243736,
0.0013166018761694431,
-0.0057413820177316666,
0.006189113482832909,
-0.004221834242343903,
... | [
0.6586757898330688,
0.026881814002990723,
0.3131248950958252,
-0.1284620314836502,
-0.08640023320913315,
0.3372751772403717,
0.2252817302942276,
-0.2126946896314621,
0.05866873636841774,
-0.4580896496772766,
0.43653199076652527,
0.4188717007637024,
0.22922824323177338,
0.12450596690177917,... |
I am writing a paper where I face the following situation. 1) I have made a claim (something holds true when something else holds true) 2) To make my claim more concrete I follow the claim with experimental analysis. I want to say something like "To make the claim concrete", we show the experimental results ... I thought of using "to support our claim, ...", but that seems too mild. I want something more imposing. Is there a way to say this more elegantly? | [
0.004137578886002302,
0.02134733460843563,
-0.009754544124007225,
0.012398683466017246,
-0.017093893140554428,
0.008868907578289509,
0.008961942978203297,
-0.008343477733433247,
-0.013059285469353199,
-0.03308264538645744,
0.0012465071631595492,
0.008115806616842747,
-0.017745280638337135,
... | [
0.6032485961914062,
0.567303478717804,
0.040565747767686844,
-0.06055288761854172,
-0.08475714176893234,
-0.14734722673892975,
0.10333911329507828,
-0.46194785833358765,
0.15488529205322266,
-0.24951410293579102,
0.3833245038986206,
0.450112521648407,
0.21764317154884338,
0.335451990365982... |
A claim is made at pgffor: Special treatment for last item in \foreach-list that the following works. But I can't get it to work. What have I missed? \newcount\nra \foreach[count=\nx]\x in {1--,2--,...,10--}{% \advance\nra by1 \ifnum\nra>2 \breakforeach\fi \texttt{\x (\the\nra)}\space } Also, please how do I get the following to work with `\foreach`? \def\amspace{\let\amspace\space} \newcount\nra \foreach\x in {1pt,2pt,...,10pt}{% \advance\nra by1\relax \ifnum\nra>2 \breakforeach\fi \amspace\texttt{\x (\the\nra)}% } **EDIT** (2012/06/19) **This is now a community question: everyone can edit it or provide his/her suggestions below** I have reopened this question because I want to seek the opinion of users of `\foreach` on which of the following format is to be preferred for an ellipsis list, i.e., a list to be completed. Suggestions of other syntaxes are welcome. `\foreach` currently supports the rather queer syntax, which is given on p.505 of the PGF-2.10 manual (just before the section titled _special handling of pairs_ ): {0\pi,0.5\pi,...\pi,3\pi} {A_1,..._1,H_1} {1--, 4-- ,...--, 10--} {1pt, 4pt, ...pt, 10pt} **Proposals** For incomplete (ellipsis) lists, the user should include optional key values after the loop list, as follows. This will significantly speed up list completion and reduce the possibility of mistaken identity. Target list: {a,B,1,5,A^1,A^3,A^5,A^7,A^9} Syntax for \newforeach: \newforeach [<conventional.keys>] \x in {a,B,1,5,...}[ start = A^1, end = A^9, step = 2, coupler = ^, grow right, % increment right of <coupler> grow left, % increment left of <coupler> macro elements, % elements are macros ... more keys ] {<loop.callback>} `<conventional.keys>` will be the usual `\foreach` keys/variables with some few new ones. Examples of when elements are macros: \pgfmathsetmacro\start{<expr>} \pgfmathsetmacro\stopp{<expr>} {\start,...,\stopp} **Reminder** `\newforeach` will work for arbitrary list separators and subseparators (including active list separators) and will remove the group scoping of computations by `\foreach`. New user variables will include *parser = <value> (e.g., {,}) *subparser = <value> (e.g., /) list is macro = <true> | <false> % the given list is a macro terminator = <value> (e.g., {;}) % callback terminator evaluate \x as \y using <formula> count in \nr all \x satisfying <condition> store in \cmd all \x satisfying <condition> apply to all \x satisfying <condition> = <code> apply to all \x in serial range [a,b] = <code> at begin loop = <code> at end loop = <code> The star sign (`*`) on parsers will mean "remember and use this parser subsequently, until I change it". A new boolean `\iflastitem` will be introduced, which can be toggled independently, on different nesting depths. Item counters (e.g., `\currentitemnumber`) will also be introduced on all nesting depths without collision between nesting depths. The loop can also look ahead for `\nextitem`. And in the case of premature termination of the loop with `\breaknewforeach`, or with a user-inserted list item (`\listbreaker`), the remainder of the list on the current nesting depth will be available in `\listremainder`. The `\newforeach` loop can also be paused with the user- inserted list item `\listpauser`. | [
0.021105211228132248,
0.024842705577611923,
-0.006090447772294283,
0.01606251671910286,
0.014907904900610447,
0.007831212133169174,
0.00550597719848156,
-0.001974880462512374,
-0.015595600008964539,
0.02072979509830475,
-0.0170922689139843,
0.0026606344617903233,
-0.02824723906815052,
0.00... | [
0.05237803980708122,
0.17846935987472534,
0.55051589012146,
-0.044308193027973175,
0.19840878248214722,
-0.1576075404882431,
0.6009498834609985,
-0.28835391998291016,
-0.37721115350723267,
-0.21773946285247803,
-0.07466358691453934,
0.53693026304245,
-0.072938933968544,
0.1661464422941208,... |
I am wondering to create a point/line based buffer zones in order to enhance my understanding for buffer concept in the GIS. The buffer zones can be any circle or region around a point, particularly, the coordinate of the point being buffered need to be the centre of this buffer zone. What I will to do is to create a hit test function to determine if the mouse click is within the buffer zone or not, in order to determine if the point was clicked/snapped. Now I found that.net Region class can be used to create such buffer zone and do hit test (Method: isVisible,I must note here I am not sure if there is any other method for buffering function for a simple point). For example, in Region Class I can build a Rectangle zone based on parameters (i.e. top left coordinate, width and height) and construct the rectangle as a buffer region. Now, I am not sure in constructing process, how can I make the point that need to be buffered, as the centre of the rectangle? I am also interested to know, if I prefer to use a circle region as a buffer zone, how could I build the circle buffer zone? The previous two questions are for point, if for line, I am wondering how could I build buffer zone for a line/polyline? | [
-0.013219870626926422,
0.0169084295630455,
0.0032988707534968853,
0.012829398736357689,
0.020605776458978653,
-0.0005376809276640415,
0.008986568078398705,
0.006899343337863684,
-0.01482957974076271,
-0.0021787872537970543,
-0.003103692550212145,
0.009053613990545273,
-0.0034082974307239056,... | [
-0.02003668062388897,
-0.14563164114952087,
0.3977515399456024,
0.13092729449272156,
-0.123577781021595,
-0.20786774158477783,
-0.07258615642786026,
-0.06994561105966568,
-0.07739650458097458,
-0.4513195753097534,
0.009413177147507668,
0.14197638630867004,
-0.18451452255249023,
0.227447390... |
The first time I encountered a statue that offered to take me to the arena, I went there. I've now fought to my death several times. When I die, I'm asked if I want to retry. Selecting "yes" brings me back to the arena. Selecting "no" brings me to the title screen (and "continue" from there puts me right back in the arena). There seems to be no menu option for leaving. **Do I have to get through a certain number of waves to exit? Do I have to restart the chapter? How the heck do I get back to playing the storyline?** | [
-0.004978213459253311,
0.0031770081259310246,
0.003484009765088558,
0.009340020827949047,
-0.0019193324260413647,
-0.0011590286158025265,
0.00840060506016016,
-0.018777448683977127,
-0.018171224743127823,
0.041313644498586655,
-0.024819381535053253,
0.021201245486736298,
0.01843796670436859,... | [
0.15083511173725128,
-0.1873910129070282,
0.8362187147140503,
0.15643908083438873,
-0.26766321063041687,
-0.047017790377140045,
0.4896523356437683,
-0.2801324725151062,
-0.4620668292045593,
-0.6091182231903076,
-0.1012568473815918,
0.5776724815368652,
0.29635095596313477,
0.388844162225723... |
I have this huge folder with thousands of unordered files. Is it feasible to move the first 5000s to a subfolder via the `mv` command? For now I move files with mv *some_pattern* ./subfolder1/ As for now, I move images quite randomly, it's not really important if there aren't exactly 5000 files in each subfolder. Is there a better way to do it? | [
0.00008630358934169635,
0.014230022206902504,
-0.00914285983890295,
0.014491920359432697,
0.01347306463867426,
0.002169384155422449,
0.006529875565320253,
-0.007562889251857996,
-0.022495966404676437,
-0.013529814779758453,
-0.01539298240095377,
0.00430691335350275,
-0.0015099290758371353,
... | [
0.8038172125816345,
0.13394378125667572,
0.7031551003456116,
-0.22834794223308563,
-0.13025541603565216,
0.041968751698732376,
0.31367027759552,
-0.19576802849769592,
-0.7859018445014954,
-0.6614323854446411,
0.203793466091156,
0.4065665006637573,
-0.3957379460334778,
0.24510659277439117,
... |
I have the trial version of ArcGIS 10 (ArcEditor licence). The trial automatically installs and authorises all extensions for the trial period. However, in ArcMap I can only see Maplex, 3D Analyst and Spatial Analyst in my Extensions dialog box. When I check ArcGIS Administrator, it lists all the extensions as "authorised", but only the extensions I mentioned above as "installed". The others are "not installed". I am a bit confused about this, as the extensions are supposed to be automatically included as indicated here. | [
-0.003308345563709736,
-0.0021541293244808912,
-0.017125776037573814,
0.031016401946544647,
-0.003757717087864876,
-0.010522586293518543,
0.011786076240241528,
0.0005878364900127053,
-0.018809977918863297,
0.006193384062498808,
-0.01263425312936306,
0.00804469920694828,
-0.015941094607114792... | [
0.6581320762634277,
0.26822033524513245,
0.711421549320221,
-0.2659842371940613,
-0.11375100165605545,
-0.05762433633208275,
0.36762186884880066,
-0.3320588171482086,
-0.2924821674823761,
-0.5893991589546204,
-0.14469800889492035,
0.48471617698669434,
-0.030963242053985596,
-0.475177645683... |
I am using `built-in` Wordpress function to add (small) thumbnails to each post. In addition to the post thumbnail I am using **MultiPostThumbnail plugin** to add custom category (large) image. Since not all posts have thumbnails or "secondary image" (as it is called by MultiPostThumbnail plugin) I would like to display thumbnails (either large or small) in this order: 1. If I a post has large (MultiPostThumbnails) thumbnail and ( **small** ) thumbnail display only ( **large** ) thumbnail. 2. If a post doesn't have a ( **large** ) thumbnail display the ( **small** ) thumbnail. I hope now it makes more sense. It's a simple if statement but I can't get it to work. Here is a "pseudo-code". <?php if (class_exists('MultiPostThumbnails') && MultiPostThumbnails::has_post_thumbnail('post', 'secondary-image')) : MultiPostThumbnails::the_post_thumbnail('post', 'secondary-image', NULL, 'post-secondary-image-thumbnail'); else { the_post_thumbnail(); } ?> | [
0.007540970109403133,
0.008214516565203667,
-0.003087835619226098,
0.021380038931965828,
0.0064555807039141655,
0.00019373279064893723,
0.00817393884062767,
0.024081308394670486,
-0.010368667542934418,
-0.0034934151917696,
-0.013247347436845303,
0.007119185756891966,
0.007904293946921825,
... | [
0.45615053176879883,
0.3211664855480194,
0.4406405985355377,
-0.0447891540825367,
-0.24532951414585114,
0.084804967045784,
0.2915475368499756,
0.009019128046929836,
-0.24202875792980194,
-0.7899904847145081,
0.1746082305908203,
0.3140076696872711,
-0.19153842329978943,
0.4698784351348877,
... |
According to Wikipedia, Wilks' Lambda distribution generalizes Hotelling's distribution. I am having some problems seeing how this works. I can see how Hotelling's distribution generalizes Student's t-distribution (a RV distributed as Hotelling's law with $p=1$ is just the square of a RV distribution as Student's t), but cannot see how to get to Wilks' Lambda. Is there some setting of the parameters $p,m,n$ such that a RV distributed as Wilks' lambda is some transform of a Hotelling RV? | [
-0.02234136313199997,
0.018608558923006058,
-0.008878842927515507,
0.029160307720303535,
-0.005627041682600975,
0.006978801917284727,
0.01202944852411747,
-0.0009446567855775356,
-0.017169184982776642,
-0.011796104721724987,
-0.005730235017836094,
0.013774579390883446,
-0.019240563735365868,... | [
0.36691996455192566,
-0.2399745136499405,
0.3909689784049988,
-0.09361434727907181,
0.13100621104240417,
0.15990397334098816,
-0.1575891524553299,
-0.4522068500518799,
-0.15918034315109253,
-0.29191091656684875,
-0.1125844269990921,
0.5969353318214417,
-0.31102851033210754,
0.5918936729431... |
When referring to a figure, the output in my pdf is not a number, but 'Figure xx'. For example: if I use the phrase _This is figure \ref{test}._ the output in my pdf file is always: _This is figure Figure 1.3._ I would like to know why LaTeX shows the prefix 'Figure' and not simply the number of the figure. Here is the general code that I use for a figure: \begin{figure}[h] \centering \includegraphics[scale=0.9]{Test.eps} \caption{Test} \label{test} \end{figure} Interestingly, when referring to a subfigure, this issue does not occur; it only occurs when I want to refer to a 'whole' figure. As my document is quite extend (thesis), I use a lot of packages in my preamble, but even after an extensive quest I could not figure out what the problem might be. My preamble: \usepackage{a4wide} \usepackage[pdftex]{graphicx} \usepackage[small,bf,hang]{caption} \usepackage[latin1]{inputenc} \usepackage{fancyhdr} \usepackage{titlesec} \usepackage{subfig} \usepackage[superscript,biblabel]{cite} \usepackage{chngcntr} \usepackage[nottoc,notlot,notlof]{tocbibind} \usepackage{fixltx2e} \usepackage{wrapfig} \usepackage{arevtext,arevmath} \usepackage{enumitem} \usepackage[Gray,squaren,thinqspace,thinspace]{SIunits} \usepackage[version=3]{mhchem} \usepackage{chemscheme} \usepackage{epstopdf} \usepackage[varioref=true,journal=jcp]{chemstyle} \usepackage{float} % **_*_ ** _*_** General lay out **_*_ ** _*_** \setlength{\parindent}{0cm} \renewcommand{\baselinestretch}{1.3} \pagenumbering{arabic} \fancyhead[L]{\nouppercase{\leftmark}} \fancyhead[R]{\thepage} % **_*_ ** _*_** Font in titles and text **_*_ ** _*_** \usepackage[scaled=.95]{helvet} \usepackage{sectsty} \allsectionsfont{\sffamily} \renewcommand{\familydefault}{\sfdefault} % **_*_ ** _*_** Fancy chapter titles **_*_ ** _*_** \usepackage{titlesec} \titleformat{\chapter}[display] {\sffamily\huge\raggedleft} {\MakeUppercase{\chaptertitlename} \rlap{ \resizebox{!}{1.4cm}{\thechapter} \rule{5cm}{1.45cm}}} {10pt}{\Huge} % Chaptertitelgrootte \titlespacing*{\chapter}{0pt}{2pt}{90pt} % **_*_ ** _*_** Fancy captions for images **_*_ ** _*_** \captionsetup{ margin=1ex, font={small, sf}, labelfont={bf, sf}, labelsep= endash} % **_*_ ** _*_ ** _*_ ** _*_ **** \makeatletter \def\@seccntformat#1{\llap{\csname the#1\endcsname\quad}} \makeatother \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} | [
-0.011864732950925827,
0.0010079907951876521,
-0.003203236497938633,
0.024735160171985626,
0.02055688574910164,
0.018290966749191284,
0.009110679849982262,
-0.004322134889662266,
-0.0142848901450634,
-0.02423097938299179,
-0.006686547305434942,
-0.00952792540192604,
0.0016429685056209564,
... | [
0.3284214735031128,
-0.05544872581958771,
0.6235273480415344,
0.010788533836603165,
-0.25444307923316956,
0.18001259863376617,
-0.1417551338672638,
-0.47423452138900757,
-0.5727039575576782,
-0.3789243698120117,
0.009846190921962261,
0.004777262918651104,
-0.13984505832195282,
-0.164406254... |
My Xbox 360 Kinect was fine until today when I turned it on. Then, the power light turned red instead of green and it showed no signal on the TV screen. I tried another HDMI cable but still got the same problem. Is the flash memory on the motherboard broken? | [
0.005573653150349855,
-0.017917152494192123,
-0.00392136350274086,
0.028999818488955498,
-0.03555789589881897,
-0.013977707363665104,
0.013393369503319263,
-0.012929136864840984,
-0.023060744628310204,
0.007862535305321217,
-0.02959400787949562,
0.017047708854079247,
0.017095692455768585,
... | [
0.31124022603034973,
-0.08933353424072266,
0.2541297972202301,
0.1648624986410141,
0.24659405648708344,
-0.08257755637168884,
0.41671666502952576,
0.4986456334590912,
-0.23238810896873474,
-0.2094847559928894,
0.3794107735157013,
0.5404601097106934,
-0.2489796131849289,
0.16883502900600433... |
I am creating a wordpress plugin that has it's own UI. It looks like a standard web application, so everything that is done within the plugin is handled in this UI instead of integrating it with the WP admin area. My issue seems to be that I can't get it to load as a separate page, I can only get it to load in a page created in the admin area with the UI embedded in the content block. When I add it to the menu like this: // Add plugin UI submenu item add_submenu_page( 'myPlugin', 'myPlugin WP', __('myPlugin UI', 'myPlugin'), $capability, 'myPlugin-ui', 'myPlugin_router' ); And have it accessing the page as such: function myPlugin_router() { // Get current screen details $screen = get_current_screen(); if(strpos($screen->base, 'myPlugin-ui') !== false) { include(DS_ROOT_PATH.'/views/myPlugin-ui.php'); } } Is this because I am using "include" to add it, so it is loading it as a template? I am also planning on using this UI the same way wordpress admin does, and load separate pages inside of the content area of the UI, exactly the way WP is doing it to my UI. So it uses templates. Would I just use include like above to do so? | [
-0.005409449338912964,
-0.00040200940566137433,
0.006972139235585928,
0.015842771157622337,
-0.010311411693692207,
-0.00775481341406703,
0.006099740508943796,
0.0041037858463823795,
-0.01757841370999813,
0.007381759583950043,
-0.022966571152210236,
0.0074003818444907665,
-0.01127813477069139... | [
0.1975138634443283,
-0.06580778956413269,
0.6199581027030945,
0.025011079385876656,
-0.14895857870578766,
0.17721977829933167,
0.058988235890865326,
-0.2659301161766052,
-0.05488165095448494,
-0.8861085176467896,
-0.0915827825665474,
0.11710376292467117,
-0.4657701849937439,
0.307087302207... |
> The dot is placed in a position that is relative to the other dots and the > timing as to when the item was posted I'm okay with the first half of this sentence (the part before _and_ ). I'm wondering if the second half is a legitimate ellipsis here. If so, how does it interact with the first half? In other words, what could be the full form of the entire sentence? | [
-0.018307894468307495,
0.00399046391248703,
-0.00958278775215149,
0.020114881917834282,
0.021668581292033195,
0.01000423077493906,
0.00833048578351736,
0.01571907289326191,
-0.02356535568833351,
0.017425300553441048,
-0.02457602508366108,
0.014831657521426678,
0.021067751571536064,
0.01576... | [
0.2538151144981384,
-0.1628771424293518,
0.5648820400238037,
0.1970100700855255,
-0.6110958456993103,
0.06287968903779984,
0.49418777227401733,
0.12907758355140686,
-0.1147964596748352,
-0.8185251355171204,
0.16892006993293762,
0.2854209840297699,
-0.14988769590854645,
-0.2915908098220825,... |
What is the origin of the phrase " _two nations divided by a common language_ "? I have seen it attributed to Oscar Wilde, George Bernard Shaw and even Winston Churchill. The most likely looking source I found said: > ‘Was it Wilde or Shaw?’ The answer appears to be: both. In The Canterville > Ghost (1887), Wilde wrote: ‘We have really everything in common with America > nowadays except, of course, language’. However, the 1951 Treasury of > Humorous Quotations (Esar & Bentley) quotes Shaw as saying: ‘England and > America are two countries separated by the same language’, but without > giving a source. The quote had earlier been attributed to Shaw in _Reader’s > Digest_ (November 1942). So, I wonder if the phrase which has come into common usage is just a commonly used paraphrase, or whether it has a specific source of its own. Also, although I have only heard it used in the context of Britain and America, I wonder if that's its only usage. | [
0.006032525096088648,
0.011321699246764183,
-0.00663728266954422,
0.0043435064144432545,
0.0028401135932654142,
0.013914192095398903,
0.008701570332050323,
-0.0063740708865225315,
-0.014758425764739513,
0.010013828054070473,
-0.0020205022301524878,
0.01537568774074316,
-0.0020778863690793514... | [
0.04769216477870941,
0.04946719855070114,
-0.4650990962982178,
-0.4479197561740875,
0.055198535323143005,
0.2577855885028839,
0.636365532875061,
0.6367930769920349,
-0.17054735124111176,
-0.5211263298988342,
-0.32918936014175415,
0.08058662712574005,
-0.2259581834077835,
0.4670492708683014... |
The sporty watch is, according to all the guides I've looked at, located at this canyon in Yaschas Massif 100AF. I've been there many times and tried everything: time reversal, blindly throwing Mog in, but the treasure box just isn't there! Its really annoying me coz if I get this one fragment from Yaschas Massif 10AF I can get 2 more fragment skills. I have finished the main story and a few paradox endings. **Why isn't the treasure box there?** | [
-0.009499593637883663,
0.013711743988096714,
0.0031239863019436598,
0.012597120366990566,
0.019225087016820908,
-0.019897829741239548,
0.007771523203700781,
0.010227196849882603,
-0.01814742386341095,
0.01612406224012375,
-0.027730459347367287,
0.012896692380309105,
-0.03690087050199509,
0... | [
0.5135918855667114,
0.3886511027812958,
0.4689278304576874,
0.4191288948059082,
-0.1396450251340866,
-0.36821621656417847,
0.854585587978363,
0.20989523828029633,
-0.40511685609817505,
-0.33238160610198975,
0.24636109173297882,
0.4015532433986664,
-0.033973775804042816,
-0.2297920286655426... |
I'm new to FreeBSD, coming from a Linux background. I want to install a port, changing one of the default configuration options, in a non-interactive way (so that I can script the installation for automated configuration of my FreeBSD servers). As a specific example, the `graphics/ImageMagick-nox11` port has a default configuration option of `PERL=on`. I want to change this. I realize that I can `make config` and then just use the generated entry in `/var/db/ports/` to avoid any interaction in the future, but this still requires the initial interaction to set the options in the ncurses interface. Ideally I want to be able to do something like the following, to build the package with perl support disabled but accepting all other defaults: $ make PERL=off BATCH=yes install clean What is the proper way to accomplish this? Can I somehow place port-specific configuration options like this in `/etc/make.conf`? | [
0.0038809236139059067,
0.012473980896174908,
-0.002065018517896533,
0.006367978174239397,
-0.026058156043291092,
-0.024487707763910294,
0.008701743558049202,
-0.011304238811135292,
-0.013581326231360435,
0.005727078765630722,
-0.007167887408286333,
0.004731535911560059,
-0.0101105235517025,
... | [
0.8113294243812561,
0.13682080805301666,
0.2432195544242859,
-0.38260599970817566,
-0.31595462560653687,
-0.20454645156860352,
-0.05311387777328491,
0.33998745679855347,
-0.1894455850124359,
-0.7726229429244995,
0.0416538342833519,
0.49528682231903076,
-0.36423662304878235,
0.3301079869270... |
I did a pvresize (decrease) on `/dev/sda2` so that I can have about 48 GBytes free... and I wanted to create a partition on that free space, **but the`/dev/sda3` device didn't created.. why?** Do I need a reboot for it? (didn't rebooted after the reducing of the PV...) [root@SERVER ~]# parted -s /dev/sda print free Model: ATA Hitachi HTS72503 (scsi) Disk /dev/sda: 320GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Number Start End Size Type File system Flags 32,3kB 1049kB 1016kB Free Space 1 1049kB 538MB 537MB primary ext4 boot 2 538MB 272GB 271GB primary lvm 272GB 320GB 48,3GB Free Space [root@SERVER ~]# [root@SERVER ~]# [root@SERVER ~]# parted /dev/sda print Model: ATA Hitachi HTS72503 (scsi) Disk /dev/sda: 320GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 538MB 537MB primary ext4 boot 2 538MB 272GB 271GB primary lvm [root@SERVER ~]# [root@SERVER ~]# [root@SERVER ~]# parted /dev/sda mkpart primary 272GB 320GB Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Az eszköz vagy erőforrás foglalt). As a result, it may not reflect all of your changes until after reboot. [root@SERVER ~]# [root@SERVER ~]# [root@SERVER ~]# [root@SERVER ~]# parted /dev/sda print Model: ATA Hitachi HTS72503 (scsi) Disk /dev/sda: 320GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 538MB 537MB primary ext4 boot 2 538MB 272GB 271GB primary lvm 3 272GB 320GB 48,3GB primary [root@SERVER ~]# [root@SERVER ~]# parted -s /dev/sda print free Model: ATA Hitachi HTS72503 (scsi) Disk /dev/sda: 320GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Number Start End Size Type File system Flags 32,3kB 1049kB 1016kB Free Space 1 1049kB 538MB 537MB primary ext4 boot 2 538MB 272GB 271GB primary lvm 3 272GB 320GB 48,3GB primary 320GB 320GB 352kB Free Space [root@SERVER ~]# [root@SERVER ~]# [root@SERVER ~]# [root@SERVER ~]# env LC_MESSAGES=EN ls -la /dev/sda* brw-rw----. 1 root disk 8, 0 Jun 29 18:53 /dev/sda brw-rw----. 1 root disk 8, 1 Jun 28 12:56 /dev/sda1 brw-rw----. 1 root disk 8, 2 Jun 28 12:56 /dev/sda2 [root@SERVER ~]# [root@SERVER ~]# [root@SERVER ~]# [root@SERVER ~]# partprobe Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Az eszköz vagy erőforrás foglalt). As a result, it may not reflect all of your changes until after reboot. [root@SERVER ~]# [root@SERVER ~]# [root@SERVER ~]# env LC_MESSAGES=EN ls -la /dev/sda* brw-rw----. 1 root disk 8, 0 Jun 29 18:55 /dev/sda brw-rw----. 1 root disk 8, 1 Jun 28 12:56 /dev/sda1 brw-rw----. 1 root disk 8, 2 Jun 28 12:56 /dev/sda2 [root@SERVER ~]# [root@SERVER ~]# env LC_MESSAGES=EN fdisk -l Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x0007e24d Device Boot Start End Blocks Id System /dev/sda1 * 1 66 524288 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 66 33039 264859648 8e Linux LVM /dev/sda3 33039 38914 47185920 83 Linux [root@SERVER ~]# head -1 /etc/issue Scientific Linux release 6.4 (Carbon) [root@SERVER ~]# UPDATE: [root@SERVER ~]# kpartx -av /dev/sda device-mapper: reload ioctl on sda1 failed: Invalid argument create/reload failed on sda1 add map sda1 (0:0): 0 1048576 linear /dev/sda 2048 device-mapper: reload ioctl on sda2 failed: Invalid argument create/reload failed on sda2 add map sda2 (0:0): 0 529719296 linear /dev/sda 1050624 device-mapper: reload ioctl on sda3 failed: Invalid argument create/reload failed on sda3 add map sda3 (0:0): 0 94371840 linear /dev/sda 530769920 [root@SERVER ~]# [root@SERVER ~]# env LC_MESSAGES=EN ls -la /dev/sda* brw-rw----. 1 root disk 8, 0 Jun 29 22:05 /dev/sda brw-rw----. 1 root disk 8, 1 Jun 28 12:56 /dev/sda1 brw-rw----. 1 root disk 8, 2 Jun 28 12:56 /dev/sda2 [root@SERVER ~]# [root@SERVER ~]# [root@SERVER ~]# [root@SERVER ~]# sh rescan-scsi-bus.sh WARN: /usr/bin/sg_inq not present -- please install sg3_utils or rescan-scsi-bus.sh might not fully work. Host adapter 0 (ata_piix) found. Host adapter 1 (ata_piix) found. Host adapter 2 (ahci) found. Host adapter 3 (ahci) found. Host adapter 4 (ahci) found. Scanning SCSI subsystem for new devices Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Scanning for device 0 0 0 0 ... OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: MATSHITA Model: DVD/CDRW UJDA775 Rev: CB03 Type: CD-ROM ANSI SCSI revision: 05 Scanning host 1 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Scanning host 2 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Scanning for device 2 0 0 0 ... OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: Hitachi HTS72503 Rev: GHBO Type: Direct-Access ANSI SCSI revision: 05 Scanning host 3 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Scanning host 4 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs 0 new device(s) found. 0 device(s) removed. [root@SERVER ~]# [root@SERVER ~]# [root@SERVER ~]# env LC_MESSAGES=EN ls -la /dev/sda* brw-rw----. 1 root disk 8, 0 Jun 29 22:05 /dev/sda brw-rw----. 1 root disk 8, 1 Jun 28 12:56 /dev/sda1 brw-rw----. 1 root disk 8, 2 Jun 28 12:56 /dev/sda2 [root@SERVER ~]# | [
0.005306542385369539,
0.0012633823789656162,
-0.0061508892104029655,
0.019725745543837547,
0.004327094182372093,
0.008412198163568974,
0.0087620560079813,
0.010331940837204456,
-0.01656411401927471,
-0.010919306427240372,
-0.010086693800985813,
0.0055942111648619175,
0.000752265565097332,
... | [
0.1531677395105362,
-0.1226985976099968,
0.30859848856925964,
0.1409754455089569,
0.028472434729337692,
0.03343455493450165,
0.16458426415920258,
-0.1789761185646057,
-0.6549481749534607,
-0.496310293674469,
-0.25587907433509827,
0.6567094326019287,
-0.14271186292171478,
0.4317861795425415... |
I want a long-table in two-column mode in a book I am typesetting. I came across a hack to make supertabular work with multicols here. The following MWE works - \documentclass[twoside]{book} \usepackage[margin=1in]{geometry} \usepackage{xcolor,multicol,supertabular,setspace} \begin{document} \doublespacing \chapter{One} \section{One} \begin{spacing}{4} Here is a really long table in 2-column mode \begin{multicols*}{2} \let\mcnewpage=\newpage \makeatletter \renewcommand\newpage{% \if@firstcolumn \hrule width\linewidth height0pt \columnbreak \else \mcnewpage \fi } \makeatother \begin{supertabular}{lr} 0 & 0 \\ 1 & 1 \\ 2 & 2 \\ 3 & 3 \\ 4 & 4 \\ 5 & 5 \\ 6 & 6 \\ 7 & 7 \\ 8 & 8 \\ 9 & 9 \\ 10 & 10 \\ 11 & 11 \\ 12 & 12 \\ 13 & 13 \\ 14 & 14 \\ 15 & 15 \\ 16 & 16 \\ 17 & 17 \\ 18 & 18 \\ 19 & 19 \\ 20 & 20 \\ 21 & 21 \\ 22 & 22 \\ 23 & 23 \\ 24 & 24 \\ 25 & 25 \\ 26 & 26 \\ 27 & 27 \\ 28 & 28 \\ 29 & 29 \\ 30 & 30 \\ 31 & 31 \\ 32 & 32 \\ 33 & 33 \\ 34 & 34 \\ 35 & 35 \\ 36 & 36 \\ 37 & 37 \\ 38 & 38 \\ 39 & 39 \\ \end{supertabular} \end{multicols*} End of table. \end{spacing} \end{document} However, there are two issues (1) The number of rows on second, third, and all further pages is same as that on the first page. The first page has only five rows since there is chapter and section header, but all further pages are half empty. (2) The table ends on page 4, and there is one full empty page (with page number and header), which is followed by the "End of table" on page 6. I tried using `\shrinkheight` as follows - \begin{supertabular}{lr} 0 & 0 \\ 1 & 1 \\ 2 & 2 \\ 3 & 3 \\ 4 & 4 \\ 5 & 5 \\ 6 & 6 \\ 7 & 7 \\ 8 & 8 \\ 9 & 9 \\ 10 & 10 \\ 11 & 11 \\ 12 & 12 \\ 13 & 13 \\ 14 & 14 \\ 15 & 15 \\ 16 & 16 \\ 17 & 17 \\ 18 & 18 \\ 19 & 19 \\ \shrinkheight{-45em} 20 & 20 \\ 21 & 21 \\ 22 & 22 \\ 23 & 23 \\ 24 & 24 \\ 25 & 25 \\ 26 & 26 \\ 27 & 27 \\ 28 & 28 \\ 29 & 29 \\ 30 & 30 \\ 31 & 31 \\ 32 & 32 \\ 33 & 33 \\ 34 & 34 \\ 35 & 35 \\ 36 & 36 \\ 37 & 37 \\ 38 & 38 \\ 39 & 39 \\ \end{supertabular} However, this impacts only the first column on second page. All further columns are again short with only five lines. What I need is something like this which gives me perfect results - \begin{supertabular}{lr} 0 & 0 \\ 1 & 1 \\ 2 & 2 \\ 3 & 3 \\ 4 & 4 \\ 5 & 5 \\ 6 & 6 \\ 7 & 7 \\ 8 & 8 \\ 9 & 9 \\ 10 & 10 \\ 11 & 11 \\ 12 & 12 \\ 13 & 13 \\ 14 & 14 \\ 15 & 15 \\ 16 & 16 \\ 17 & 17 \\ 18 & 18 \\ 19 & 19 \\ \shrinkheight{-45em} 20 & 20 \\ 21 & 21 \\ 22 & 22 \\ 23 & 23 \\ 24 & 24 \\ 25 & 25 \\ 26 & 26 \\ 27 & 27 \\ 28 & 28 \\ 29 & 29 \\ 30 & 30 \\ 31 & 31 \\ 32 & 32 \\ 33 & 33 \\ \shrinkheight{-45em} 34 & 34 \\ 35 & 35 \\ 36 & 36 \\ 37 & 37 \\ 38 & 38 \\ 39 & 39 \\ \end{supertabular} This means I need to have a `\shrinkheight` command after page break (which I manually find out) and every column break (which I manually find out as well). This is cumbersome for long tables that run into many pages, plus one needs to find out the right places for `\shrinkheight` all over again if there is a font size or layout change. From a programming perspective I can think of a solution but I do not know LaTeX programming well enough to implement it. What might work is issuing the `\shrinkheight` command after every `mcnewpage` and also after every `\columnbreak` starting from the second page. To detect the second page, a counter could be set to 0, which is incremented after every `mcnewpage`. If the counter is greater than 0, one would issue `\shrinkheight` after the `\columnbreak`. However, I tried this but this has no effect - \makeatletter \renewcommand\newpage{% \if@firstcolumn \hrule width\linewidth height0pt \columnbreak \else \mcnewpage \shrinkheight{-45em} \fi } \makeatother So how does one solve this problem? Also how can one remove the extra blank page? | [
0.0181148461997509,
0.006449293810874224,
-0.004468674771487713,
0.013865422457456589,
0.004640290979295969,
0.015141017735004425,
0.008406708016991615,
0.014260019175708294,
-0.014795882627367973,
-0.005446059629321098,
-0.011116915382444859,
0.008484231308102608,
0.010283424519002438,
0.... | [
0.12568628787994385,
-0.051251113414764404,
0.5052298903465271,
0.049576520919799805,
0.06668633222579956,
-0.018821513280272484,
-0.14928346872329712,
-0.008335141465067863,
-0.339621901512146,
-0.6443893909454346,
0.050915539264678955,
0.4509522616863251,
-0.37531155347824097,
0.11976401... |
I am trying to insert a blank page in a article class document, and I want it to have the same headers and footers as the rest of the document (which I have already set up using `fancyhdr`). However, when I insert the blank page, both its header and its footer change to what I assume is the default for this type of document (page number on the top left, section name on the top right, and nothing on the bottom), whereas the rest of the document has my customized headings (constant text on the top left and right and page number at the bottom). I have this code on the preamble: \usepackage{fancyhdr} \pagestyle{fancy} \lhead{this is left} \rhead{this is right} And I am inserting the blank page using `\newpage`, as follows: \newpage\null\thispagestyle{myheadings}\newpage Thanks!! | [
-0.002391443820670247,
0.005670915823429823,
0.0022263452410697937,
0.021813837811350822,
-0.01420643925666809,
-0.014307822100818157,
0.0072004226967692375,
0.004049905575811863,
-0.009776114486157894,
-0.013656209222972393,
-0.01623016968369484,
0.0009845083113759756,
0.0037611243315041065... | [
0.22885052859783173,
0.17557674646377563,
0.4529404938220978,
0.07378684729337692,
0.010311668738722801,
0.002240957925096154,
0.19498366117477417,
0.21555766463279724,
-0.048345521092414856,
-0.5285859107971191,
-0.2838522493839264,
0.1682281196117401,
-0.29949772357940674,
0.153908967971... |
We consider a system of "n" particles whose total energy E and net momentum $\vec{P}$ are fixed are fixed.There no net force on the system(assumed) $$\Sigma \epsilon_i= E$$ $$\Sigma\vec{p_i}=\vec{P}$$ For an individual particle its momentnum and energy remain constant for the time $\tau$,the relaxation time(average time between successive collisions----a constant). That's an extra constraint for each particle [Radiational energy density at some point is assumed to be constant for some physically small time interval] All that seem to indicate that classical theories favor the discretization of energy levels in the equilibrium state. It is important to note that for each particle to satisfy on the mass shell condition we should have: $$\epsilon_i^2-p_i^2=m_0^2c^4$$ The above equation is frame invariant.Any theoretical speculation considering energy and momentum independent of each other should correspond to what we understand by "off the mass shell" situation An orbiting electron in an atom ,so far as the classical theories are concerned , should radiate energy. But it can also receive energy form other particles.The net radiation from a block of iron at constant temperature is zero.This should favor the discretization of the electronic orbits in the atoms in the expected manner. [For a cluster of charged particles one should take into account the electromagnetic potential energy of the system( a closed system ) due to the presence of charges and currents.This energy for the system should be considered constant for our model] Should we use intuition(commonsense classical theories ) to interpret QM with the understanding that the results of observation should not change in view of the system interacting with the measuring instrument and that QM will be no less useful to human activity? [Some points to examine have been placed on the following link: http://independent.academia.edu/AnamitraPalit/Papers/1892195/Fourier_Transforms_in_QM_Gravitons_and_Otherons_ The document may be downloaded though you get a message that conversion is going on]] | [
0.006704958155751228,
0.008680383674800396,
-0.005995104089379311,
0.013623129576444626,
0.009212253615260124,
-0.020462550222873688,
0.008812502026557922,
-0.018735604360699654,
-0.007622299715876579,
-0.001588332001119852,
-0.011601250618696213,
0.02730741910636425,
-0.009116392582654953,
... | [
-0.023295074701309204,
-0.11455640196800232,
0.563261866569519,
-0.012321146205067635,
0.2140059769153595,
0.41790708899497986,
0.04526699706912041,
-0.45338553190231323,
-0.3588230609893799,
-0.5552116632461548,
-0.18350589275360107,
0.33838900923728943,
-0.4532984495162964,
0.43919178843... |
If I want to add a third option to the construct "Some..., others", what is the best way to put it? Some, others and again others? So: _Some people like apples, others like oranges and again others enjoy bananas._ This sounds a bit off, or not? | [
0.019215349107980728,
0.026033658534288406,
-0.018727334216237068,
0.04413091763854027,
-0.006911618169397116,
-0.008701990358531475,
0.013044861145317554,
-0.025401050224900246,
-0.02341746911406517,
0.005224814172834158,
-0.0007109538419172168,
0.005579232703894377,
0.03001272864639759,
... | [
0.2678152620792389,
0.26268014311790466,
-0.28796952962875366,
-0.02629687264561653,
-0.2821982800960541,
0.3253817558288574,
0.16564717888832092,
0.49806106090545654,
-0.3929133117198944,
-0.5336968898773193,
0.08761769533157349,
0.5173015594482422,
-0.13352139294147491,
-0.17834243178367... |
I come from Ubuntu. I know how to install virtualenv and configure stuff on Ubuntu. Now Fedora seems pretty strange to me... Following these two guides: Setting up virtualenv, pip, virtualenvwrapper and IPython on Fedora How to Install Virtualenv in Fedora 16 / 15 / 14 I am getting this when I tried to setup my virtualenv > bash: virtualenv: command not found... I installed under root. If I do `ls`: $ su - [root@localhost ~]# ls anaconda-ks.cfg bin lib [root@localhost bin]# ls virtualenv virtualenvwrapper.sh [root@localhost bin]# [root@localhost bin]# cd [root@localhost ~]# cd lib [root@localhost lib]# ls python2.7 [root@localhost lib]# cd python2.7/ [root@localhost python2.7]# ls site-packages [root@localhost python2.7]# cd site-packages/ [root@localhost site-packages]# ls virtualenv-1.7-py2.7.egg-info virtualenvwrapper virtualenv.py virtualenvwrapper-2.11-py2.7.egg-info virtualenv.pyc virtualenvwrapper-2.11-py2.7-nspkg.pth virtualenv_support [root@localhost site-packages]# The `bin` and `lib` contains virtualenv. They appear after I installed virtualenv through pip. (I checked this against my fresh Fedora on my laptop, lib and bin do not exist under root directory). During the installation, it was clear to me that virtualenv was installed under the root directory. How do I fix this? What is the correct way to install virtualenv on Fedora? (I know how to do this on Ubuntu...) I think `su -` is bad. plain su will log me in as root but put me in my user's directory instead of the root directory (in the case of `su -`). | [
0.020343244075775146,
0.0027301686350256205,
-0.00438929907977581,
0.019782010465860367,
-0.02427547238767147,
0.0020798551850020885,
0.010827790945768356,
0.02420281060039997,
-0.024221345782279968,
-0.025052543729543686,
-0.028451386839151382,
0.008021114394068718,
-0.04497331380844116,
... | [
0.4851940870285034,
-0.05526008456945419,
0.5925568342208862,
-0.3008177578449249,
0.0227976031601429,
0.17154961824417114,
0.037034619599580765,
0.3095443546772003,
-0.44066405296325684,
-0.8794511556625366,
0.12468795478343964,
0.46635833382606506,
-0.05577434226870537,
0.204499721527099... |
Need some help.. I installed the light version of MacTeX (BasicTeX), and found out that it doesn't contain the 'authordate1' bibtex style that I need. I downloaded that style on CTAN in a ZIP file containing the following files: README authordate1.ltx authordate3.bst authordate4.ltx authordate1-4.sty authordate2.bst authordate3.ltx testadb.ltx authordate1.bst authordate2.ltx authordate4.bst How do I install it (using `tlmgr`?) ? Thanks in advance! Jonathan | [
0.01618972048163414,
0.005369092803448439,
-0.0009133637649938464,
0.010182928293943405,
0.016328059136867523,
-0.003497716272249818,
0.006401159800589085,
-0.0054513029754161835,
-0.011123184114694595,
-0.014660832472145557,
-0.012935446575284004,
-0.005847513675689697,
0.007317682728171349... | [
0.40803977847099304,
0.2224792093038559,
0.4341098964214325,
-0.031694479286670685,
0.08432679623365402,
-0.05067320168018341,
0.6873020529747009,
-0.24000108242034912,
0.060973864048719406,
-0.8146951794624329,
0.09312006831169128,
0.5567774176597595,
-0.15089666843414307,
-0.086875259876... |
I am compiling a simple document in pdflatex using RevTex4-1 class and am getting this warning: Class revtex4-1 Warning: Repair the float package. The document seems to be fine (I have a single figure in it). I can't find anything online explaining this warning though, so I decided to ask the community. What is this? Do I need to fix it? If so, how? Here is my preamble: documentclass[twocolumn,noshowpacs,noshowkeys,pra,aps,longbibliography] {revtex4-1}% \pdfoutput=1 \usepackage[caption=false]{subfig} \usepackage{algorithm} \usepackage{algorithmic} \usepackage{amsmath} \usepackage{amssymb} \usepackage{url} \usepackage{graphicx} | [
-0.0033013292122632265,
0.012425127439200878,
-0.004793393425643444,
0.033877260982990265,
0.015603484585881233,
-0.011338417418301105,
0.005997342988848686,
0.027819368988275528,
-0.014888990670442581,
0.004471677355468273,
-0.012080402113497257,
0.005669677164405584,
0.0049567315727472305,... | [
0.2133060097694397,
0.03588588163256645,
0.5093955993652344,
0.013797982595860958,
0.005814193282276392,
-0.14377368986606598,
0.2939521074295044,
0.000045515160309150815,
-0.12454339116811752,
-0.4894878566265106,
-0.04197832942008972,
0.5020742416381836,
-0.26876336336135864,
0.000544788... |
My friend and I are making a video game. Occasionally we want to release little tech demos that demonstrate our progress. A demo would not at all be the finished game, but would rather show off some part of the engine that we have completed. At first we called these demos, but we are afraid that the word demo implies that they represent the finished product. Is there a good _single_ word that refers to a little mini-program that demonstrates progress but is not the finished product? | [
-0.014833145774900913,
0.008507753722369671,
0.0003808194596786052,
-0.005127388518303633,
-0.022817904129624367,
0.0002872214827220887,
0.00836995430290699,
0.007091973442584276,
-0.013483754359185696,
-0.016943736001849174,
-0.011986111290752888,
0.01811756007373333,
0.029091695323586464,
... | [
0.8662027716636658,
0.13215893507003784,
-0.050819944590330124,
0.3660709857940674,
0.3435268998146057,
-0.007449707482010126,
-0.4293370246887207,
0.5062366127967834,
0.0035988728050142527,
-0.4287163317203522,
0.21184267103672028,
0.5777737498283386,
0.34643828868865967,
0.13358339667320... |
I read many examples in tikz-qtree, but I didn't find one which illustrates how to add text around/below a node using qtree. Anyone knows how to draw the following tree using tikz-qtree?  | [
0.00906672514975071,
-0.007953105494379997,
-0.004180968273431063,
0.016996050253510475,
0.0044549149461090565,
-0.01874006725847721,
0.00759513583034277,
0.02435939759016037,
-0.033951133489608765,
-0.0015726130222901702,
-0.01908990554511547,
-0.003398278495296836,
-0.02416355162858963,
... | [
0.36699074506759644,
0.07891999930143356,
0.11618127673864365,
-0.029006103053689003,
-0.12718436121940613,
-0.011353382840752602,
0.18594703078269958,
-0.050964657217264175,
-0.3355817198753357,
-0.4521813988685608,
0.0572328083217144,
0.4456852376461029,
-0.19075614213943481,
-0.09015976... |
I recently installed CyanogenMod 10.3.1 on my Samsung Galaxy S II (i9100) I lost my default music and video player. Can anyone provide me with working apks of the applications? Those were my favorite media players. | [
0.0211886465549469,
-0.0009714848711155355,
-0.01141500473022461,
0.010100245475769043,
-0.023444507271051407,
-0.01651850715279579,
0.012022950686514378,
0.01786079630255699,
-0.022340647876262665,
-0.02357611618936062,
-0.0342390276491642,
0.004046487156301737,
0.012945489957928658,
0.01... | [
0.042899031192064285,
0.2695244252681732,
0.557777464389801,
0.08034834265708923,
0.30363404750823975,
-0.14626945555210114,
0.258935809135437,
0.18527214229106903,
-0.21283407509326935,
-0.45192641019821167,
-0.11431940644979477,
0.6622864007949829,
-0.1929294615983963,
0.2471338808536529... |
In an experiment we placed a long dielectric cylindrical shell (cylindrical tube)(with inner and outer radii r1 and r2, respectively) in a homogenous field such that its axis was orthogonal to the field. The medium elsewhere has a dielectric constant of unity. How can I calculate the potentials and fields everywhere? | [
0.003918014001101255,
0.024518221616744995,
-0.003572039771825075,
0.03096439689397812,
-0.019141068682074547,
-0.038652680814266205,
0.012020552530884743,
0.004982612561434507,
-0.012652110308408737,
-0.03028097376227379,
-0.0019145749974995852,
0.01752438396215439,
0.002409361768513918,
... | [
0.20470193028450012,
-0.11018692702054977,
0.3586266338825226,
0.3288780748844147,
-0.08810453861951828,
0.55108642578125,
-0.23970571160316467,
-0.6077425479888916,
0.09289176762104034,
-0.0273125059902668,
0.39761754870414734,
0.5764232873916626,
-0.08558309823274612,
0.4659711420536041,... |
I have a webpage which has a link to a PDF file. Every time I update the PDF file, Internet Explorer will not load the updated file; it keeps showing the old file, even if I refresh the page. At this time, the only way it will show the updated file is for me to change the file name (of the PDF file), but that is troublesome since I update this PDF file often. Does anyone know what to do? | [
-0.015011022798717022,
0.0010667069582268596,
-0.014223150908946991,
0.01757214032113552,
0.017362019047141075,
-0.01661519706249237,
0.006718677002936602,
0.0017007415881380439,
-0.02554451674222946,
-0.020641176030039787,
-0.007693517953157425,
0.02320953644812107,
0.00004314351826906204,
... | [
0.549551248550415,
0.49685797095298767,
0.42548778653144836,
-0.005939124617725611,
0.10749641060829163,
-0.31973913311958313,
0.6023216247558594,
0.14861512184143066,
-0.3897388279438019,
-0.5770708322525024,
0.022826991975307465,
0.3415888845920563,
-0.07809589058160782,
0.50373345613479... |
Here's the Google Plus One script I've been using: <g:plusone a href="<?php echo urlencode(get_permalink($post->ID)); ?>"></g:plusone> Worked fine until it didn't. Now it's returning a red Plus One button with a bunch of suggestions to correct the error, none of which apply. Tried out the Plus One plugin, which works on single posts and pages, but screws up on custom post type pages. I'd rather not use a plugin. Does anyone have a Plus One script that will work consistently with WordPress? Thanks. | [
-0.0032431352883577347,
0.007948493584990501,
0.0012621462810784578,
0.017470061779022217,
0.005628445651382208,
-0.024945536628365517,
0.008604049682617188,
0.008833765983581543,
-0.01838638074696064,
-0.009312771260738373,
-0.0024522459134459496,
0.004008706659078598,
0.016032902523875237,... | [
0.20808722078800201,
-0.31368330121040344,
0.3864881098270416,
-0.04064219072461128,
-0.35007092356681824,
0.2549344301223755,
0.13621249794960022,
0.17389141023159027,
-0.07508136332035065,
-0.6483332514762878,
0.19727128744125366,
0.540230393409729,
-0.6588586568832397,
-0.15264219045639... |
I'm having a problem with my Wordpress install. All of a sudden some of my posts return 404 errors when I try to go to their permalink. My post names are all numbers and this started happening when my numbered posts went over 1000. So for example, this post works correctly: http://kidlolly.com/post/999/ But this one returns a 404: http://kidlolly.com/post/1000/ Any clue what might be the root of the problem? I am suspect maybe my .htaccess file but I admit I am not super savvy on .htaccess so I'm not quite sure what to look for. I am running a few "security" plugins that affect the .htaccess but since it isn't a problem for posts 1-999 I am not sure what to look for. Here's where I think the problem might be in .htaccess file (if that is indeed the case), anyone able to help me interpret it? RewriteCond %{QUERY_STRING} \.\.\/ [NC,OR] RewriteCond %{QUERY_STRING} ^.*(bash|git|hg|log|svn|swp|cvs) [NC,OR] RewriteCond %{QUERY_STRING} etc/passwd [NC,OR] RewriteCond %{QUERY_STRING} boot\.ini [NC,OR] RewriteCond %{QUERY_STRING} ftp\: [NC,OR] RewriteCond %{QUERY_STRING} http\: [NC,OR] RewriteCond %{QUERY_STRING} https\: [NC,OR] RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [NC,OR] RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [NC,OR] RewriteCond %{QUERY_STRING} ^.*(\[|\]|\(|\)|<|>|ê|"|;|\?|\*|=$).* [NC,OR] RewriteCond %{QUERY_STRING} ^.*("|'|<|>|\|{||).* [NC,OR] RewriteCond %{QUERY_STRING} ^.*(%24&x).* [NC,OR] RewriteCond %{QUERY_STRING} ^.*(%0|%A|%B|%C|%D|%E|%F|127\.0).* [NC,OR] RewriteCond %{QUERY_STRING} ^.*(globals|encode|localhost|loopback).* [NC,OR] RewriteCond %{QUERY_STRING} ^.*(request|select|concat|insert|union|declare).* [NC] RewriteCond %{QUERY_STRING} !^loggedout=true RewriteCond %{QUERY_STRING} !^action=rp RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$ RewriteCond %{HTTP_REFERER} !^http://maps\.googleapis\.com(.*)$ RewriteRule ^(.*)$ - [F,L] Thanks in advance! | [
-0.00812479481101036,
0.007767306640744209,
-0.0027515781112015247,
0.024900075048208237,
0.019891701638698578,
0.016774537041783333,
0.008361157029867172,
0.005873694550246,
-0.013264508917927742,
-0.0352223664522171,
-0.008012063801288605,
-0.0004678920959122479,
0.00022360379807651043,
... | [
0.25936511158943176,
0.23016643524169922,
0.5135481953620911,
0.14196790754795074,
-0.17556263506412506,
-0.10754060000181198,
0.5276168584823608,
0.43462425470352173,
-0.4067007005214691,
-0.5890769362449646,
0.21439404785633087,
0.09003642201423645,
-0.09308305382728577,
0.46456128358840... |
Does anyone know if the OSG plugin for QGIS is working? If so does anyone knows what the future plans is for OSG plugin in QGIS? I am using QGIS version 1.8.0-Lisboa. I keep getting the following errors when selecting the "launch Globe" menu option, with the WorldWind elevation type. `UnsupportedOperationException: GeometryGraph::add(Geometry &): unknown geometry type: N4geos4geom7PolygonE` | [
-0.024624895304441452,
-0.0022392491810023785,
-0.0037489943206310272,
0.02376176044344902,
0.0006830557249486446,
0.013053448870778084,
0.008290790021419525,
0.028485823422670364,
-0.013562492094933987,
-0.015338025987148285,
-0.007510450202971697,
0.010662645101547241,
-0.01036960538476705... | [
0.019490810111165047,
0.4733664393424988,
0.4572431147098541,
0.045904047787189484,
0.22308054566383362,
-0.25821566581726074,
0.3239256739616394,
0.33623117208480835,
-0.19964027404785156,
-0.728042483329773,
-0.040703706443309784,
0.5335504412651062,
-0.11803369224071503,
-0.030337436124... |
I am developing a Mojo(think it as just a usual class) for my custom Maven Plugin. There is an Abstract Mojo at top. I have some other custom Mojos in example which makes server side includes. I have some static variables and some util methods in example get operating system name, fix file separator in order to used operating system etc. I have created an abstract Base Mojo that extends Abstract Mojo and put every common things inside it. When I create a Mojo (i.e. server side includer) I extend it from my Base Mojo. However should I think that I should separate variables and util methods or not and what kind of pattern I should follow. To make it clear there is: * **AbstractMojo** at top by default (I can not change it) * **BaseMojo** an abstract class that extends **AbstractMojo** that has util methods and static system variables * **CustomMojo** extends **BaseMojo** and does its responsibility. Any ideas how to implement a design for my needs? | [
0.010189512744545937,
0.012286053039133549,
-0.008011577650904655,
0.008140649646520615,
0.0036630353424698114,
0.004593473859131336,
0.008725539781153202,
0.010575446300208569,
-0.016880424693226814,
0.0009207603288814425,
-0.010862670838832855,
0.020721638575196266,
0.0031063384376466274,
... | [
0.2035645693540573,
0.3694087564945221,
0.09227674454450607,
-0.17348460853099823,
-0.07328879833221436,
0.010007728822529316,
-0.003813095623627305,
-0.22507025301456451,
-0.03014972060918808,
-0.34945592284202576,
0.186373770236969,
0.4249875545501709,
-0.6346659660339355,
0.100092701613... |
I have a table whose table number should be right-aligned and its caption should be center-aligned on the next line like this: Table 1 Caption --------------------------------- | | | | | --------------------------------- I found the `caption` package which is a powerful tool for changing caption styles, but it doesn't allow to solve my problem. | [
0.030088122934103012,
0.004449805244803429,
-0.016045453026890755,
0.019109660759568214,
-0.0031578124035149813,
0.01208412367850542,
0.006954279262572527,
0.012300711125135422,
-0.023305723443627357,
-0.0026656012050807476,
-0.020924843847751617,
-0.008910262025892735,
0.0007309943903237581... | [
-0.4025283455848694,
0.020500408485531807,
0.4410582482814789,
0.18597006797790527,
-0.039787113666534424,
-0.11210856586694717,
-0.21224959194660187,
0.17722032964229584,
-0.4923138916492462,
-0.6465628743171692,
0.09146340936422348,
0.4176217019557953,
-0.3643797039985657,
-0.24568776786... |
I have to type many books in Latex, where some chapters are quite similar to each other. My idea was to do one chapter in a directory and outsource the differences in a subdirectory where the main file is. like this: CONTENT | | |---Book1 |---differences | |---Book1 |---differences | The several book files would include the content file, while the content file includes the differences file. My question now is: is it possible to NOT include the whole differences file? so I could say in the contents file: ...some text... \include code-fragment 1 from differences ...some other common text \include code-fragment 2 from differences so I would not have to make plenty differences files for everything that is not common. I hope my question is clear :) Many thanks | [
0.002822705078870058,
0.018090736120939255,
-0.013052067719399929,
0.030184544622898102,
0.018688861280679703,
0.0019315275130793452,
0.009093649685382843,
0.012258673086762428,
-0.021507935598492622,
-0.008531861007213593,
-0.01576106622815132,
0.0012990650720894337,
0.014482114464044571,
... | [
0.09737713634967804,
0.24006924033164978,
0.3235507607460022,
0.004690046887844801,
-0.08941017836332321,
0.1758441925048828,
0.18283797800540924,
-0.2834371328353882,
-0.14439798891544342,
-0.27435576915740967,
0.038706570863723755,
-0.004711342975497246,
-0.3754841983318329,
0.2532055079... |
I apologize in advance for my ignorance if this is a question with an obvious answer... I am not experienced in this field. But are such particles in the universe points with a charge, or are they very small spheres with a charge? Or does it not even matter in the end? This isn't homework, it's just curiosity. | [
-0.010702698491513729,
0.014641257002949715,
0.006833033170551062,
0.011298561468720436,
0.00559656647965312,
-0.019182870164513588,
0.004982397425919771,
0.0019039728213101625,
-0.02135651744902134,
-0.017945755273103714,
0.005253102630376816,
0.01908010244369507,
0.008005678653717041,
-0... | [
0.6639631986618042,
0.2482161968946457,
0.015184247866272926,
0.46589305996894836,
-0.014768569730222225,
-0.41694700717926025,
-0.2092314064502716,
0.1688370406627655,
-0.1603969931602478,
-0.3952993154525757,
0.23195186257362366,
0.18198134005069733,
0.18837185204029083,
0.67859107255935... |
Hi I have created a plugin that places a Google Translator into a text widget in Wordpress. I have setup shortcode to do this - and the shortcode seems to be outputting the correct HTML, except that the HTML is not showing up INSIDE of the text widget as it should. Here is my plugin code: http://pastebin.com/BMbnEqAW Here is the page: http://www.richmindonline.com/test/ When I do a "View Page Source" from Firefox - I am noticing that the translator code is appearing BEFORE the text widget. So even though my shortcode is located inside of the text widget, the code shows up just above the text widget itself and is not wrapped inside of `id="text-widget"`. There are not stray div tags that I can find either. Are there any common problems with using javascript or shortcodes in a text widget that I should account for in my plugin? | [
-0.0032755020074546337,
0.007336115930229425,
-0.002529829740524292,
0.024276752024888992,
-0.004632769152522087,
0.011719144880771637,
0.007923614233732224,
0.013843609020113945,
-0.01894747093319893,
-0.01813318207859993,
-0.010399138554930687,
0.0099687734618783,
-0.009641383774578571,
... | [
0.22064369916915894,
0.11146794259548187,
0.657890796661377,
-0.10241848975419998,
-0.40546801686286926,
-0.045322515070438385,
0.25290828943252563,
-0.323421448469162,
0.30622681975364685,
-0.5292311310768127,
0.10588820278644562,
0.4167215824127197,
-0.18658772110939026,
0.01179400738328... |
To help me learn WordPress development, I'd like to go "beyond the blog" and build a personal movie library -- similar to IMDb but on a much smaller scale. I need help understanding how to approach the project in WordPress and what I need to learn. Here are the types of things I'd like to do on the site: * When you visit an actor's page, the actor's films are retrieved from the database and displayed. You can sort the movies by year, title, rating, etc. You can also click on the movie title to go to that movie's page. * When you visit a movie's page, the actors in the movie are retrieved from the database and displayed along with information like a movie summary, my rating, and whether I own the DVD. * On the homepage, you can perform a search for movies. For instance, if I'm in the mood for an '80s comedy, I can search for movies in the Comedy genre released between 1980-1989 and that I own on DVD. I can already write all of the PHP and MySQL that's needed, but I don't understand where the code actually goes in WordPress. For example... * Would this application require building a plug-in, or just adding code to my theme? * Would each actor's page be treated as a "page" or would it be treated as a post? * For the actor pages, where would the query go that retrieves the list of movies? * When the search form is submitted, where is the script located that would process the search request? -- I'm just looking for a push in the right direction regarding how WordPress would handle an application like this. Thanks in advance! | [
0.013910597190260887,
0.0019373095128685236,
-0.00278587662614882,
-0.0013559097424149513,
0.0043448819778859615,
0.007830118760466576,
0.006456160917878151,
0.0039291055873036385,
-0.014748087152838707,
0.02767588384449482,
-0.007750552147626877,
0.013465818017721176,
0.009513596072793007,
... | [
0.7116912603378296,
-0.005471681244671345,
0.2914077937602997,
0.3847062885761261,
-0.06612588465213776,
-0.15745699405670166,
-0.12804396450519562,
0.08837321400642395,
-0.02153891697525978,
-0.39024579524993896,
0.02366471290588379,
0.6408804059028625,
0.3055196702480316,
0.3249886631965... |
let us suppose the gedanken experiment a man isolated into a room he ask if he is made of matter oder of antimatter could he set some experiments to see if he is made of matter or if he is made of anti matter instead ?? is it possible to have an universe similar to ours but 'inverted' in the sense that this new universe would be made of anti-atoms ? is there any physical way to decide it ? | [
0.004305928014218807,
0.021064629778265953,
0.008156487718224525,
0.0006521393079310656,
0.009242496453225613,
0.004068276844918728,
0.010028975084424019,
-0.028588561341166496,
-0.015282342210412025,
0.002955211326479912,
0.005725566763430834,
0.015636153519153595,
0.016291018575429916,
-... | [
0.318275511264801,
-0.05485137179493904,
-0.0526006817817688,
0.1406560242176056,
-0.1882619857788086,
0.4707784056663513,
0.3085852861404419,
-0.3473593294620514,
-0.30863070487976074,
-0.5676694512367249,
0.19544142484664917,
0.10229308903217316,
-0.2737387716770172,
0.3769533634185791,
... |
I'm currently attempting to siege a Tier 3 Mining Base that has 6 different blueprints that I want, and I don't want to pay for them. As I'm on veteran, it's proving to be very hard work at my current level and with the ships I have available. Two side missions (specifically Poke an Eye Out and Take Out the Take-Out) allow you to lower the tier of one particular base (one for each mission). After at least 30 side missions, I'm still yet to see either of these options come up in this system, while I've seen them quite a few times in other systems that don't contain Tier 3 bases. Is it possible for either of these missions to appear if the related faction (the one that will lose a level) is at level 3? | [
0.015883663669228554,
0.013713084161281586,
-0.0058991084806621075,
-0.002793869934976101,
-0.01370223332196474,
0.013972455635666847,
0.007933659479022026,
0.012445488013327122,
-0.01600838266313076,
0.01671489328145981,
-0.023208456113934517,
0.014250367879867554,
-0.0012070327065885067,
... | [
0.2182111293077469,
0.30375537276268005,
0.2541845440864563,
-0.03349776193499565,
-0.06791814416646957,
0.33726754784584045,
0.6043663620948792,
-0.06048491969704628,
-0.36045944690704346,
-0.5409802794456482,
0.1458585113286972,
0.3342536687850952,
0.11271237581968307,
0.0446866117417812... |
I have a set of data, counts versus time. The whole data looks like this  Here is a sample x y [ -0.9 0. ] [ -0.8 4. ] [ -0.7 5. ] [ -0.6 1. ] [ -0.5 9. ] [ -0.4 8. ] [ -0.3 10. ] [ -0.2 9. ] [ -0.1 18. ] [ 0. 25. ] [ 0.1 24. ] [ 0.2 26. ] [ 0.3 18. ] [ 0.4 32. ] [ 0.5 25. ] [ 0.6 32. ] [ 0.7 20. ] [ 0.8 23. ] [ 0.9 16. ] I want to generate suitable error bars for the y-axis in this data. Some people in my research area use the following: $$y \pm \sqrt{y}$$ or $$y \pm y\sqrt{\frac{1}{y} + \frac{1}{\bar{y}}}$$ Because the data is meant to be Poisson, however this doesn't make sense to me because surely for larger y-values, aka more counts...the error should get smaller, not bigger. | [
-0.00544847222045064,
0.007232624106109142,
-0.018388139083981514,
0.014361497014760971,
0.010265590623021126,
0.0015266789123415947,
0.0043870857916772366,
-0.013280399143695831,
-0.010260514914989471,
0.006385526619851589,
-0.010922671295702457,
-0.004169233608990908,
-0.01413528248667717,... | [
0.5580234527587891,
0.15450236201286316,
0.34450650215148926,
-0.09585787355899811,
0.0706775039434433,
0.06055514141917229,
0.06084146350622177,
-0.41444462537765503,
-0.07549962401390076,
-0.3719509541988373,
0.21913936734199524,
0.14402152597904205,
-0.08926202356815338,
0.2885200679302... |
I need to find out out how opinion probability (continuous variable varying between 0 and 1) influences clusters (categorical variable - 6 clusters). I am using Stata and I see two possibilities: to use logistic regression (`logit`) or multinomial logistic regression (`mlogit`). In case of logistic regression I collapse 6 clusters into two, so I lose a lot of information and have a problem of interpretation. In case of `mlogit`, as far as I understand, the coefficients can be interpreted as follows, a one-unit increase in the variable opinion probability is associated with a ... decrease in the relative log odds of being in cluster ... vs. base cluster. So it just compares clusters, but doesn't answer the question whether there is a positive relation between opinions and clusters. What would you suggest I should do? | [
0.011225545778870583,
0.010182453319430351,
-0.007795248180627823,
0.008248028345406055,
-0.0003299340605735779,
-0.001053499523550272,
0.00838998518884182,
0.011121552437543869,
-0.005662627052515745,
-0.0027432534843683243,
-0.0039637708105146885,
0.0029231137596070766,
-0.0038371351547539... | [
0.009565374813973904,
-0.00769019452854991,
0.33583924174308777,
0.26798051595687866,
-0.18802711367607117,
0.5306070446968079,
-0.20998187363147736,
-0.08805088698863983,
-0.22203464806079865,
-0.5591568350791931,
0.293447345495224,
0.6257659792900085,
-0.16188299655914307,
0.590222477912... |
I was encouraged by Dreamhost to go with FCGI, XCache and w3 total cache. But I'm not sure what the optimal settings are, especially re: the Object and Database cache. Any suggestions? Also, I can't get this error message to go away: `Recently an error occurred while creating the CSS / JS minify cache` Nor can I get log files to show up... | [
-0.0038264368195086718,
0.007980483584105968,
-0.00611027842387557,
0.014066357165575027,
-0.018428441137075424,
0.02025545760989189,
0.009248507209122181,
0.014852107502520084,
-0.028397386893630028,
-0.00554825272411108,
-0.016983287408947945,
0.007015947252511978,
-0.004204548429697752,
... | [
0.352786660194397,
0.07416341453790665,
0.1340905725955963,
0.025160055607557297,
0.12913531064987183,
-0.22854751348495483,
0.29982203245162964,
0.1948135942220688,
-0.16758982837200165,
-0.7998208999633789,
-0.08923248946666718,
0.40605708956718445,
-0.18784862756729126,
0.23410713672637... |
Does anyone know why I'm getting extra spaces in front of the keywords in my code listings? I've attached a picture of one of my listings that I've compile with `showspaces=true` and `showtabs=true`. You can clearly see gaps in front of the `void`, `range`, `int`, and other keywords. However these gaps aren't denoted as being spaces with the underscoring. The styles I'm using are: basicstyle=\ttfamily\footnotesize, keywordstyle=\color{black}\bfseries\rmfamily\footnotesize, Also there are no spaces in front of any of the keywords in the `keywords={` or `morekeywords={` sections of my language definition. Is it something to do with the change in font families between the keywords and regular identifiers? Does anyone have any suggestions how I can get rid of them?  | [
0.008055481128394604,
0.0024758190847933292,
-0.0010818862356245518,
0.024242538958787918,
-0.004755903035402298,
0.006560112349689007,
0.009079448878765106,
0.0002673002891242504,
-0.01344328559935093,
0.029590517282485962,
-0.011721305549144745,
0.012467602267861366,
-0.009593685157597065,... | [
0.604861319065094,
0.21941949427127838,
0.15826240181922913,
0.02699183113873005,
0.21026337146759033,
0.1703551560640335,
0.10292836278676987,
-0.1812666803598404,
-0.13314181566238403,
-0.5894719958305359,
-0.20102033019065857,
0.598552942276001,
0.006198329851031303,
-0.2046860605478286... |
I have activated SSL to my site On my wordpress multisite, I am getting 404 errors when I am entering a correct url for example `http://site.org/wp-admin` it automatically redirecting and giving `https://site.org/wp-adminwp-admin` Is there any code that i need to add or remove in the .htaccess code to get this fixed? | [
-0.007067088037729263,
-0.002855585189536214,
-0.008237683214247227,
0.027535881847143173,
-0.013762149028480053,
0.026416802778840065,
0.008098077028989792,
0.021751919761300087,
-0.019126025959849358,
-0.006403148639947176,
-0.010608616285026073,
0.006712206173688173,
-0.008287206292152405... | [
0.2406800538301468,
0.21122828125953674,
0.4598728120326996,
0.036366455256938934,
-0.08358372002840042,
-0.30083999037742615,
0.4671952426433563,
0.3407033383846283,
-0.24020667374134064,
-0.7134838104248047,
-0.13892367482185364,
0.4185025691986084,
-0.5251594185829163,
0.304406017065048... |
Although they have never been observed, theoretically gluons can exist outside of the nucleus of an atom in the form of a "glue ball". Since the predominant mechanism of Higgs creation at the LHC was observed to be a gluon-gluon interaction (with various virtual particles playing out in the conversion), what are the chances that a "glue ball" as predicted by QCD is the same animal from the particle zoo as a Higgs boson? | [
-0.005309279076755047,
0.013002053834497929,
0.008859965018928051,
0.0042984215542674065,
-0.003930277191102505,
-0.038688383996486664,
0.009960305877029896,
-0.012775738723576069,
-0.014625669457018375,
0.008759412914514542,
-0.007460384629666805,
0.009954853914678097,
0.005923652555793524,... | [
0.14063651859760284,
-0.23970389366149902,
0.28686052560806274,
-0.1412588506937027,
-0.33935096859931946,
-0.011690719984471798,
0.07985267043113708,
0.13797113299369812,
-0.3951072692871094,
-0.14874544739723206,
-0.06262992322444916,
0.0713944360613823,
-0.7634473443031311,
0.6941972374... |
I've started looking into Design Patterns recently, and one thing I'm coding would suit the Strategy pattern perfectly, except for one small difference. Essentially, some (but not all) of my algorithms, need an extra parameter or two passed to them. So I'll either need to * pass them an extra parameter when I invoke their calculate method or * store them as variables inside the ConcreteAlgorithm class, and be able to update them before I call the algorithm. Is there a design pattern for this need / How could I implement this while sticking to the Strategy Pattern? I've considered passing the client object to all the algorithms, and storing the variables in there, then using that only when the particular algorithm needs it. However, I think this is both unwieldy, and defeats the point of the strategy pattern. Just to be clear I'm implementing in Java, and so don't have the luxury of optional parameters (which would solve this nicely). | [
0.011171236634254456,
0.019836600869894028,
-0.00972383376210928,
0.011966942809522152,
0.017089828848838806,
0.012141004204750061,
0.006770289968699217,
-0.013624832034111023,
-0.013339122757315636,
-0.01799195632338524,
-0.006198023445904255,
0.015354694798588753,
-0.0012433850206434727,
... | [
0.5768505930900574,
0.13349051773548126,
0.02067258208990097,
-0.02621263638138771,
0.07996954023838043,
0.5276063084602356,
0.23877966403961182,
-0.10753128677606583,
-0.14503607153892517,
-0.7840306758880615,
0.2892381250858307,
0.3725927472114563,
-0.11942161619663239,
-0.08427038788795... |
Say I have the following structure on path `origin_path` origin_path/X=1/A/... origin_path/X=1/B/... origin_path/X=1/C/... ... origin_path/X=2/A/... origin_path/X=2/B/... origin_path/X=2/C/... ... ... I would like to replicate the structure above at a different path called `destination_path`, but **only** including the paths corresponding to the directories **B** above. In other words, I would like to get the following at `destination_path` destination_path/X=1/B/... destination_path/X=2/B/... destination_path/X=3/B/... ... To clarify, some of this structure in destionation path might exist already (e.g. the folders `destination_path/X=*`). From what I understand, thanks to @Gilles' comment, `rsync` filters may be a great fit for this. However, I have never used them before and it's a bit hard for me to extrapolate the example provided in Rsync filter: copying one pattern only to my situation. In what order should I include or exclude things in my case? And how do I tell rsync to use `origin_path` and `destination_path` as global paths? (as opposed to having it copy things with relative paths) | [
-0.012359421700239182,
0.02871406264603138,
-0.004338044673204422,
0.013454528525471687,
0.013402416370809078,
-0.01592421531677246,
0.006158249452710152,
0.00989347230643034,
-0.010261253453791142,
-0.0023958804085850716,
-0.0028482514899224043,
0.0086974510923028,
0.005572796333581209,
0... | [
0.16884827613830566,
0.28938794136047363,
0.3097899556159973,
-0.23649659752845764,
0.13733908534049988,
-0.04341419041156769,
-0.295977383852005,
-0.06602990627288818,
-0.11381635069847107,
-0.7985823750495911,
0.2812400460243225,
0.19937513768672943,
-0.23040221631526947,
0.6638510823249... |
At any one time I have a number of blog articles that are in draft. Generally, if I encounter something useful, I'll note it in a draft blog entry, to revisit, research and write up at a later date. So, while these aren't accessible from any hyperlink, I find I am still able to reference them by going to the link directly. E.g: http://www.jameswiseman.com/blog/?p=xxxx (where 'xxxx' is the post number). Recently, on my site logs, I have seen an IP (from Ljubljana, Slovenia) that has been accessing these draft posts, which although not particularly sensitive, is still kind-of annoying. I'm guessing they are using the method above. Is there any way of stopping this? **EDIT** : Given the response below, I am indeed unable to access the post when logged out, however I am still seeing from my access logs hits on my draft pages. Any more thoughts? | [
0.005789680406451225,
0.00685586454346776,
-0.00678729172796011,
0.019614802673459053,
0.006330981384962797,
-0.00457144808024168,
0.00495750131085515,
0.007490774616599083,
-0.008873073384165764,
-0.022213757038116455,
0.0012354818172752857,
0.0039765494875609875,
-0.012220583856105804,
0... | [
0.5274695754051208,
-0.09569902718067169,
0.4876902997493744,
-0.024923449382185936,
0.2073240727186203,
-0.11233202368021011,
-0.1496012657880783,
0.23541206121444702,
-0.7596042156219482,
-0.5246720910072327,
0.014194984920322895,
-0.24252314865589142,
-0.2681421637535095,
0.154567286372... |
 In the above picture, I have a rigid body, in turquoise, which is connected to a point, the red circle. The dotted lines are used to divide objects or lengths, they are not part of the rigid body. The distance from the red circle to the application point of Force 1 is X+1. The length of the lower arm of the rigid body has a length of X + 1.5, and the distance of the red circle to the perpendicular line of the lower arm is X wide. The yellow arrow around the red circle is the direction of torque that we want to measure. If I produce a Force, Force 1 at the point shown, is has a certain magnitude and angle. Now the turquoise body is a rigid body that does not flex or bend. Am I right to believe that because this body is rigid and not rotating, that it is in Translation? If it is in Translation, should all particles of the upper arm be feeling the same force and angle of Force 1? And if so, am I safe to assume that the Force 2 traveling down the rigid body is the cosine of the angles between Force 1 and Force 2, thus decreasing the magnitude of Force 2 relative to Force 1 because of this force deflection? The final answer that I am grappling with is how do I correctly calculate torque at the red circle. I now that torque is Force x Distance. Which is the proper way to calculate torque? Is it: Force 1 x (X+1) - regardless of the deflections of Force 1 to Force 2? or Force 2 x (X+1.5) - which would be this decreased force multiplied by the lower arm length? I hope this wasn't too convoluted, but I was told that regardless of the elbow type fashion of this rigid body, the only force that matters when calculating the Torque is Force 1 multiplied by its distance to the red circle, X+1. If anybody can help answer this question and give me the physical proof as to why either method is correct, I would truly appreciative it. Thanks. | [
-0.022141382098197937,
0.0033366915304213762,
-0.015448331832885742,
0.011213797144591808,
-0.011953958310186863,
-0.02583850361406803,
0.008194671012461185,
0.006708424538373947,
-0.01003325916826725,
-0.028371090069413185,
-0.0038763261400163174,
-0.0026592290960252285,
0.0125637361779809,... | [
0.49310076236724854,
-0.13112510740756989,
0.9316564798355103,
0.005985830444842577,
-0.30076324939727783,
0.2565663456916809,
0.26113349199295044,
-0.6250172257423401,
-0.5859547257423401,
-0.32060763239860535,
-0.04108303040266037,
0.40110987424850464,
0.1005876213312149,
0.1647926568984... |
As recently reported here: > Xamarin has forked Cocos2D-XNA, a 2D/3D game development framework, creating > a cross-platform library that can be included in PCL projects. However the founder of the project that was forked says: > The purpose of the MIT license is to unencumber your fair use. Not to > encourage you to take software, rebrand it as your own, and then "take it in > a new direction" as you say. > > While not illegal, it is unethical. It seems that the GitHub page of the new project doesn't even indicate that it's a fork in a typical GitHub manner, opting for an easily-removable History section instead (see bottom). So my questions are: 1. Was Xamarin's action and the way the action was done ethical or not? 2. Is it possible to avoid such a situation if you are a single developer or a small unfunded group of developers? I am hoping this could be either a wiki question or there will be some objective answers grounded on modern OSS ethics/philosophy. | [
-0.00916688609868288,
0.0025721474085003138,
0.00611159997060895,
-0.001951061887666583,
-0.007459757383912802,
-0.018747033551335335,
0.0075212386436760426,
0.009571969509124756,
-0.0084073506295681,
-0.014308968558907509,
-0.01906203106045723,
0.008883585222065449,
0.0026637741830199957,
... | [
0.5043002367019653,
0.4793238639831543,
-0.21939730644226074,
0.14333178102970123,
-0.14957977831363678,
-0.6373385190963745,
-0.03601006790995598,
0.22189448773860931,
0.03032587468624115,
-0.20361432433128357,
-0.03921736404299736,
0.2623406946659088,
-0.42680180072784424,
0.571442067623... |
I am trying to compile a document on TeXShop (on a mac). I get an error when I insert a picture from a pdf file. I get the error that `bounding box cannot be determined`. I looked at other answers. Somebody suggested to compile pdfLatex instead of Latex, but on TexShop I do not see how to do it. I also tried to fix a bounding box on LaTeX, as in the following: \includegraphics[width=1\columnwidth][bb=0 0 100 100]{nameFileFigure} but it does not work. How can I solve this problem? | [
0.005645544733852148,
0.00272692390717566,
-0.005954164545983076,
0.01853114739060402,
0.008844956755638123,
-0.0029352279379963875,
0.008646899834275246,
0.015731975436210632,
-0.01584986411035061,
-0.00739941094070673,
-0.011264082975685596,
-0.002844850532710552,
-0.00898628868162632,
0... | [
0.23125813901424408,
0.02632911317050457,
0.5682491660118103,
-0.08973689377307892,
0.3490138649940491,
-0.27287232875823975,
0.1594487428665161,
-0.2012878805398941,
0.016596656292676926,
-0.6412196755409241,
-0.04369436204433441,
0.46982917189598083,
-0.475014328956604,
0.185732662677764... |
I couldn't find this information on the wiki. I found a slime mold lying around and have absolutely no other source of nutrition. I'd like to hold on to it until I'm starving, but I don't know if it'll rot or not (if it does, I'll just eat it immediately). Does a slime mold rot? | [
0.001755733392201364,
0.013294601812958717,
0.023558251559734344,
0.011895640753209591,
-0.006469790358096361,
0.00538970110937953,
0.005335183814167976,
-0.008632567711174488,
-0.031013084575533867,
-0.020092686638236046,
-0.0025819619186222553,
0.01937229558825493,
0.000526577583514154,
... | [
0.843102216720581,
0.46520179510116577,
0.0165773406624794,
-0.08130308985710144,
0.27128928899765015,
0.08541980385780334,
0.2517697215080261,
0.44097211956977844,
-0.05141022801399231,
-0.7030673027038574,
0.4558577537536621,
0.11490819603204727,
-0.17691299319267273,
0.4541856646537781,... |
I need to save data that _Mathematica_ uses inside the `Plot` command. The format that I would like to have is: x1 y1 x2 y2 ..... i.e. basically, two columns, _x_ and _y_ (sorted, if possible) so that I can use the data for other programs. I already played with `Export` and got the data enclosed in `{}` and tons of other information I don't need: color, axis, _etc._ What is the nicest way to do what I am trying to do? | [
0.00264348485507071,
0.013224435970187187,
-0.013642841950058937,
0.013654896058142185,
-0.0027427198365330696,
0.015522951260209084,
0.005274677183479071,
0.02038140408694744,
-0.012170832604169846,
-0.009017540141940117,
-0.015149865299463272,
0.002481915056705475,
-0.005468284711241722,
... | [
0.44841861724853516,
0.02703811228275299,
0.39012953639030457,
0.2615334987640381,
0.0975876897573471,
0.1666538268327713,
-0.2958582043647766,
0.027563748881220818,
-0.2145524024963379,
-0.9143075346946716,
0.27422308921813965,
0.2079683542251587,
-0.1257713884115219,
0.2869577705860138,
... |
in Weinberg Vol. I section 5.9 (in particular p. 251 and surrounding discussion), it is explained that the smallest-dimension field operator for a massless particle of spin-1 takes the form of a field strength, $F_{\mu\nu}$. This is because a massless vector field does not transform properly under Lorentz transformations (Weinberg, Vol. I eq. 5.9.22) and requires additional gauge symmetry/redundancy to 'mod out' unphysical degrees of freedom. One of the questions in Banks' Modern QFT textbook (problem 2.10) asks to repeat this general analysis for spin-3/2 and spin-2 fields, for which we know the main examples are the Rarita-Schwinger field and the graviton. For spin-3/2, however, I am confused as to why the Rarita-Schwinger field is described by an action which looks very similar to the Dirac action. How is it that the massless Rarita-Schwinger field, which carries a vector index as well as an additional spin-1/2 index, is able to avoid the ill-behavior under certain Lorentz transformations (which Weinberg calls $S(\alpha,\beta)$) that is exhibited in the massless vector? Naively I would have wanted to write a spin-3/2 field as a $(1,1/2) = (1/2,1/2)\oplus(1/2,0)$ representation of the Lorentz group so that the vector index can be treated independently of the spinor index. Shouldn't the argument for massless photons carry over and imply that I should have some kind of `field strength' for the spin-3/2 field? I suspect that what I'm missing is something trivial and silly. Thanks! | [
-0.001073008170351386,
0.007724347524344921,
-0.004349440801888704,
0.006948807742446661,
-0.01370567362755537,
-0.004421388264745474,
0.006429135799407959,
-0.007982071489095688,
-0.007313598413020372,
0.005369546823203564,
-0.011805525049567223,
0.017287757247686386,
-0.012603618204593658,... | [
-0.1632889062166214,
-0.18525150418281555,
0.34347817301750183,
-0.29499706625938416,
0.019203094765543938,
0.016036054119467735,
-0.1282985955476761,
-0.500113308429718,
0.0868849903345108,
-0.4203221797943115,
-0.5486235618591309,
0.40120503306388855,
-0.5411336421966553,
0.4205501973628... |
Question: > Suppose we have an ordinary household scale such as might be used in a > kitchen. When an object is placed on the scale, the reading is a combination > of the true weight plus a random error. You have two coins of unknown values > B1 and B2. To estimate the weights of the coins, you take four observations: > > * Put coin 1 on the scale and observe y1 > > * Put coin 2 on the scale and observe y2 > > * Put both coins on the scale and y3 > > * Put both coins on the scale and observe y4 > > > > (a) Write a linear model in matrix form and find the least-squares estimate > of the coins using the usual formula (X'X)^-1 X'y. > 1. Regarding the question from letter (a), my understanding is that for either B1 or B2, they can be estimated by averaging the weights (for example, for B1 it would be adding the weights from y1, y3 and y4). Is this assumption valid? I thought it was, and so I tried to set up the formula for B1: B1 = 1/3*K1*Y1 + 0*K2*Y2 + 1/6*K3*Y3 + 1/6*K4*Y4 + e1 + e2 + e3 + e4, and B2 = 0*K1*Y1 + 1/3*K2*Y2 + 1/6*K3*Y3 + 1/6*K4*Y4 _ e1 + e2 + e3 + e4, where `Ki` is the slope parameter estimate for the `ith` coin and `ei` is the residual for the `ith` coin. The numbers 1/3 and 1/6 (1/3 * 1/2) to find the average weight of `B1`. Am I totally off base with this reasoning and subsequent setup of my linear model? 2. Can I also assume that `y3` is found by simply adding `y1` and `y2`? I didn't think I could, because the readings would probably be different and thus have different residuals. 3. Does the `y` in the formula correspond with the estimated column vector containing predicted `B1` and `B2`? | [
0.019356053322553635,
0.018890978768467903,
-0.012619408778846264,
0.009648536331951618,
-0.021626142784953117,
-0.0154907600954175,
0.00905282236635685,
-0.014226192608475685,
-0.01083244476467371,
-0.004323968663811684,
-0.009500600397586823,
0.005283030215650797,
-0.0175631083548069,
-0... | [
0.2639397382736206,
0.05298707261681557,
-0.0047373780980706215,
0.22666925191879272,
-0.2718070149421692,
0.5246371030807495,
0.17128513753414154,
-0.6795547008514404,
-0.1160958781838417,
-0.8756281733512878,
0.2041555941104889,
0.09839343279600143,
0.3006002902984619,
0.0937398523092269... |
I have a set of data. For example, 10,000 observations. Each set has the same format. Each set has 3 to 10,000 records. The question is, what kind of sampling method is reasonable to do with this set of data? Need some rationale and explanations. I am a programmer but assigned to this stats job, and I need professional help. | [
0.023223096504807472,
0.014380622655153275,
-0.01728515326976776,
0.02712426893413067,
0.020891038700938225,
0.018259674310684204,
0.010164781473577023,
0.00988060887902975,
-0.025450555607676506,
-0.010826243087649345,
0.0028392120730131865,
0.009768287651240826,
0.0033767023123800755,
-0... | [
0.8746604919433594,
0.42506295442581177,
0.11234567314386368,
0.21442507207393646,
0.05808887258172035,
0.06751850247383118,
0.0354095883667469,
-0.36886709928512573,
-0.1285371631383896,
-0.5624258518218994,
0.17284387350082397,
-0.04600837081670761,
-0.10490845888853073,
0.24679915606975... |
Using `enable` builtin command we can disable a shell builtin command, for example `echo`, as follow: enable -n echo But how can we disable a shell keyword like `time`? If we try: enable -n time we will get the following "answer": bash: enable: time: not a shell builtin **Note** : I know how to run the `time` that's in `/usr/bin`, so I just want to know if it is possible to accomplish what I asked in the title. | [
0.007941391319036484,
0.019338781014084816,
-0.012621602043509483,
0.017331602051854134,
0.002200242131948471,
0.00286996946670115,
0.008905280381441116,
-0.012287912890315056,
-0.018196173012256622,
0.009158246219158173,
-0.024944540113210678,
0.0038811173290014267,
-0.020666684955358505,
... | [
0.5430527925491333,
0.21622925996780396,
0.1460026353597641,
-0.25204354524612427,
0.30847012996673584,
-0.22996704280376434,
0.6120469570159912,
-0.7154453992843628,
0.06218824163079262,
-0.47976377606391907,
-0.08199971914291382,
0.8700268864631653,
-0.3762890696525574,
-0.14335721731185... |
I used to make animated pictures using `pstricks` and the `beamer` overlay syntax (eg. using `\only<2>{<some pstricks code>}`) with the `standalone` class. Here a MWE which did the work: \documentclass[beamer,pstricks,preview=true]{standalone} \standaloneenv{{pspicture}} \psset{unit=2cm} \begin{document} \begin{standaloneframe} \begin{pspicture}[showgrid=bottom](-5,-5)(5,5) \psdot(0,0) \only<2>{\psdot(1,1)} \end{pspicture} \end{standaloneframe} \end{document} This MWE does compile with texlive2013 (iso-version) with `latex -> dvips -> ps2pdf`: a pdf with two pages and just the pspictures environment correctly croped. HOWEVER it does not compile with a fully updated texlive2013 distribution, the conversion from ps to pdf fails with the following message: Error: /typecheck in --div-- Operand stack: 1 1 0.0 0.0 a 65781.8 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1910 1 3 %oparray_pop 1909 1 3 %oparray_pop 1893 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- 4 --nostringval-- %repeat_continue --nostringval-- Dictionary stack: --dict:1168/1684(ro)(G)-- --dict:0/20(G)-- --dict:127/200(L)-- --dict:173/300(L)-- Current allocation mode is local Last OS error: 2 Current file position is 101382 GPL Ghostscript 9.05: Unrecoverable error, exit code 1 This code does compile by removing the `preview` package but the result is not what is expected. I also tried to active `preview` with the option of the `standalone` package but this is also without effect. Does someone know how to resolve this problem, or how to modify the MWE so that it compiles and give the right output ? | [
-0.011531123891472816,
0.0072916592471301556,
-0.0036709345877170563,
0.014738517813384533,
0.001022585667669773,
-0.002279359847307205,
0.009249353781342506,
-0.002283387817442417,
-0.011904099024832249,
0.002165714744478464,
-0.013932122848927975,
-0.007069443352520466,
0.02926964499056339... | [
0.7208305597305298,
0.11317065358161926,
0.6961256265640259,
-0.16210810840129852,
-0.046717967838048935,
-0.01663357950747013,
0.08029153943061829,
-0.11375116556882858,
-0.000009741294888954144,
-0.3813053071498871,
0.0834197849035263,
0.47017186880111694,
-0.03669087216258049,
0.0577832... |
I have a joint distribution which factorises as follows: $$ q(w) = \prod_{i=1}^{N} t_i $$ where each $t_i$ is a 3-dimensional normal distribution which some mean $\mu_i$ and variance $\mathbf{I}\sigma_i$ where $I$ is the identity and $\sigma_i$ is the precision which is also three dimensional to have anisotropic behaviour. Now, if I want to combine this into one big multivariate distribution ($q(w)$) which is of dimension $N \times 3$ is it simply a matter of stacking up the mean and sigma vectors. I think, yes, as the factorization implies independence but wanted to check. | [
-0.013016755692660809,
0.01197822019457817,
-0.005375722423195839,
0.005636099725961685,
-0.009209269657731056,
-0.008854677900671959,
0.005505814217031002,
-0.0035368213430047035,
-0.009643180295825005,
-0.010127237066626549,
-0.004650515038520098,
0.0017669056542217731,
-0.0032474156469106... | [
0.11638454347848892,
-0.14204630255699158,
0.28864678740501404,
-0.45949870347976685,
-0.17550453543663025,
0.3463350236415863,
0.25420641899108887,
-0.41373148560523987,
-0.07711859047412872,
-0.44521722197532654,
0.07453715056180954,
0.4150170683860779,
-0.4709787368774414,
0.46032267808... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.