text
stringlengths
23
30.4k
embeddings_A
list
embeddings_B
list
We have an events based tracking system for our website, with split testing built-in and we are using ABBA for the calculations. The problem comes up when we are doing consecutive split tests. For example, we test X and Y, Y wins, so the next test is Y and Z. We are seeing, most of the time, that the conversion rate of Y differs in the two tests... Sometimes by as much as 50%. We have a tool to track conversion rate over time, and I've included two graphs of conversion rate between two different tests of new and baseline. You can see that between the two tests, the previous new and the subsequent baseline differ by a significant amount even though they should theoretically be the same. Both experiments have about 200,000 runs for new and baseline - 400k total - 800k over two experiments, and the P values on both are .0001. I'm just unable to explain why the conversion rate of "new" in test1 was 1.28% but the conversion rate of "baseline" in test2 was .85% - when they are exactly the same content. I can certainly think of some things that would contribute to something like this: only catching part of a user cycle/time of day variations/seasonal variations/holidays, but my gut tells me that it shouldn't really make a 50% difference. We have, however, eliminated the possibility of Googlebot and other bots affecting the results, as we don't even record events for bots. Unfortunately, we don't have anything we can compare with. We do use Google analytics, but we only record our key metrics there, so there's no apples – apples. The experiments were run immediately after each other, and I'm not aware of any special marketing campaigns (We don't do very much marketing, and no CPC). We are seeing some pretty good changes in traffic from certain countries, and I can definitely look into that to see if it could contribute... But, again, 50%? Test 1: "New" wins ![Test 1 conversion](http://i.stack.imgur.com/1WSDF.png) Test2: The old "New" is now "Baseline"...note the mismatch in conversion ![Test 2 conversion](http://i.stack.imgur.com/l1LFv.png)
[ -0.0037251575849950314, 0.01073409989476204, -0.020415466278791428, 0.021706290543079376, -0.008402902632951736, 0.026250582188367844, 0.008286869153380394, 0.009085387922823429, -0.01501941867172718, -0.0005020322278141975, -0.0065006110817193985, 0.011504308320581913, -0.01696138270199299,...
[ 0.6248544454574585, -0.13867715001106262, -0.30820414423942566, 0.2314227968454361, -0.06520555913448334, 0.01455833949148655, 0.19926650822162628, -0.12234736979007721, -0.07941549271345139, -0.5008084774017334, 0.4573596715927124, 0.4825787842273712, 0.033883534371852875, 0.1132763847708...
So I am using Rachel Baker's open source BootstrapWP starter theme to develop a Wordpress theme. There is a repository on Github but I didn't think this question was appropriate to post there. I am trying to get the header to be static but I am unsure of how to make it work. I have found a working example that achieves this with this theme but I can only see the HTML output as an example. I am a novice Wordpress coder just trying to figure things out. I cannot see or figure out what is the best way to achieve this. So on the example site where this feature is working the HTML being output by the header.php file has different classes of the header so that depending on where the browser is the correct header will be displayed. It outputs three separate nav-menu lists in the HTML. The first nav-menu starts with `<li id="" >` and the following two don't have an id, they only have `<li class="">`. Here is a pic: ( Or just see the pastebin shared below) ![enter image description here](http://i.stack.imgur.com/qBy2J.png) Here is a pastebin of this code including the jquery script being used. I am assuming that this can be achieved with the wp_nav_menu php code in the header but I wasn't sure how to do this. <?php wp_nav_menu( array( 'menu' => 'main-menu', 'container_class' => 'nav-collapse collapse left-aligned nav-collapse-main', 'menu_class' => 'nav', 'fallback_cb' => '', 'menu_id' => 'main-menu', 'walker' => new Bootstrapwp_Walker_Nav_Menu() ) ); ?> Theme has a Custom Walker file which is in the includes folder, can be easy seen in the Github repo, this site wouldn't let me share more than 2 links per post, sorry. I've got lots of questions but I think my first one would be, do I need a loop of multiple wp_nav_menu calls or is there a better method? Thought this would be a nice feature for anybody using Bootstrapped Wordpress themes, hope someone can help.
[ 0.005725040566176176, -0.0037117060273885727, -0.0008029708988033235, 0.01808166690170765, -0.0010896502062678337, 0.004303090739995241, 0.0047973510809242725, -0.0002501521958038211, -0.013438574969768524, -0.007989693433046341, -0.005040605552494526, 0.009950501844286919, -0.00294490531086...
[ 0.5123755931854248, 0.27498748898506165, -0.07058456540107727, 0.037874676287174225, -0.34883877635002136, -0.16544906795024872, 0.14787065982818604, 0.21381129324436188, -0.33737969398498535, -0.5347310304641724, 0.15360653400421143, 0.10981160402297974, -0.2336745411157608, 0.41639477014...
There is a hail storm and it's falling straight down (0 wind factor) will the hail meet a moving car with greater force than a car standing still?
[ -0.07411054521799088, 0.048286184668540955, -0.006008041091263294, -0.002621744992211461, -0.010147105902433395, -0.03741593658924103, 0.019183596596121788, -0.017611699178814888, -0.01937396079301834, -0.0011478555388748646, -0.0034025025088340044, 0.020677587017416954, 0.042861733585596085...
[ 0.315173476934433, -0.11073460429906845, 0.6462628841400146, 0.2553640305995941, -0.34268587827682495, -0.15978218615055084, 0.40406379103660583, -0.18869172036647797, -0.5428952574729919, -0.31943565607070923, 0.12544885277748108, 0.3770561218261719, 0.07098753750324249, -0.02316562272608...
The guide for Witcher 2 which comes with the premium/collector's edition says you can get the troll contract off the notice-board, but I never got any. Do I have to read the notice to get the quest? (And what should I do if I've sold off those notices?)
[ 0.022296110168099403, 0.014236644841730595, 0.0031715300865471363, 0.0034488309174776077, -0.01635715551674366, 0.010868433862924576, 0.011481276713311672, -0.010262942872941494, -0.032186318188905716, 0.022637242451310158, -0.01670411415398121, 0.021716423332691193, -0.006540654227137566, ...
[ 0.13323812186717987, -0.14235417544841766, 0.6767871379852295, 0.10130884498357773, -0.4204578697681427, -0.6164345145225525, 0.7608844041824341, -0.30558985471725464, -0.0431704968214035, 0.045771803706884384, 0.07373479753732681, 0.2907542288303375, -0.09322454780340195, -0.0168406181037...
I own a LG P500 which runs Android 2.3. I was able to set up Exchange sync easily, and now I can read/write email from my exchange account and all events registered in Outlook's calendar also appear on my phone's calendar. However when I enter an event on my phone, it does not appear in Outlook as I would like it. Why, and how do I fix this? Note that I both the calendar and exchange app on my phone are the default stock apps that came with the phone.
[ -0.004612298216670752, -0.0014102042187005281, -0.008949963375926018, 0.014410428702831268, 0.015849724411964417, 0.0004049336421303451, 0.00914813857525587, 0.03667507320642471, -0.017535997554659843, -0.03302736207842827, -0.017934544011950493, 0.020661722868680954, -0.0029258651193231344,...
[ 0.3065761625766754, 0.3302375376224518, 0.4187591075897217, -0.054339125752449036, 0.14701898396015167, 0.1200152114033699, 0.08443551510572433, 0.1648375391960144, -0.04657741263508797, -0.4104105532169342, 0.3058260679244995, 0.24213099479675293, 0.029689833521842957, -0.0188506282866001...
Hi following on from the following question on multi-line headers with pgfplotstable, the solution was to set each affected cell individually. I decided to throw together a command to do that but keep hitting an the error `Argument of \reserved@a has an extra }. <inserted text> \par` The snippet I'm using is attached below - \DeclareRobustCommand{\pgfplotstableeach}[4][1]{ \foreach \col in {#1,...,#2} \foreach \ro in {0,...,#3} {\ifthenelse{\col=#2 \AND \ro=#3}{every row \ro\ column \col/.style=\{#4\}}{every row \ro\ column \col/.style=\{#4\},}} } and this works fine to produce the text outside a `pgfplotstabletypeset` environment but fails inside one. I've tried `\newcommand` and `\newcommand{\protect\pgfplotstableeach}{<macro>}` but neither works. If I replace the macro with the text I want to input e.g. `"every row 0 column 1/.style=..."` it fails with a `Missing \endcsname inserted. <to be read again> \protect`. I actually thought this would be fairly straightforward but I'm completely bewildered by the error. What am I doing wrong? edited to include MWE below \documentclass{article} \usepackage{array,datatool,pgfplotstable} \begin{filecontents}{sample.csv} item,2008,2009,2010,2011 ,Actual,Actual,Forecast,Forecast ,GBP,GBP,GBP,GBP ,('000),('000),('000),('000) rounded Area 1 OP, 1000000,1500000,1750000,250000 Area 2 OP, 400000,500000, 450000,-50000 Area 51 OP, 300000,375000,390000,15000 No P, 1250000, 1000000, 950000, 50000 Residuals, 800000, 80000, 90000, 10000 \end{filecontents} \DeclareRobustCommand{\pgfplotstableeach}[4][1]{ \foreach \col in {#1,...,#2} \foreach \ro in {0,...,#3} {\ifthenelse{\col=#2 \AND \ro=#3} {every row \ro\ column \col/.style=\{#4\}} {every row \ro\ column \col/.style=\{#4\},}} } \begin{document} \pgfplotstableread[col sep=comma,header=false]{sample.csv}\mystuff \pgfplotstabletypeset[fixed, \pgfplotstableeach{4}{4}{string type}]\mystuff \end{document}
[ 0.0008409162983298302, 0.014889296144247055, -0.008035106584429741, 0.024665091186761856, 0.006274930201470852, 0.004019639454782009, 0.004999496974050999, 0.01625199057161808, -0.012716271914541721, -0.023234937340021133, -0.003252335824072361, 0.008275308646261692, -0.0009506542701274157, ...
[ 0.04704415053129196, -0.028054241091012955, 0.7233865261077881, -0.18395496904850006, -0.1355532854795456, 0.10461031645536423, 0.2749147117137909, -0.5178266167640686, -0.09828101843595505, -0.25822365283966064, 0.06495524197816849, 0.22626328468322754, -0.500229001045227, 0.0969580635428...
I've seen many people who write for similar problem, i.e. to remove a custom post type on the search box for "link to existing content" on the tinyMCE editor of Wordpress. I've a reversed problem, I can see ONLY pages and posts. I cannot see custom post types I've created, all with public set to true, publicly_queryable set to true, capability_type set to true, show_in_nav_menus set to true, and so on. I've used the plugin "B09 Link to Existing Content", without results. Why? What can I do? Maybe the problem is on declaration of the custom post type? I've created a php file included into functions.php of my theme. Is this the problem? Does I need to load custom post type in a different manner?
[ 0.02765902504324913, 0.00019126315601170063, 0.00310076423920691, 0.012276370078325272, 0.03773346170783043, -0.00326553825289011, 0.008858495391905308, -0.0025164568796753883, -0.01319101732224226, -0.0005736104212701321, -0.008567236363887787, 0.016828503459692, 0.0067345499992370605, 0....
[ 0.3036535084247589, 0.27654609084129333, 0.22548717260360718, -0.09108676761388779, 0.08176494389772415, -0.1083141565322876, 0.583519458770752, 0.16048073768615723, -0.22123423218727112, -0.8468497395515442, -0.004988263826817274, 0.5679910778999329, -0.4469526410102844, 0.311008870601654...
I have a VPS running on Cent Os 5.8 (x86). There are situations in which we are forced to reset the entire VPS (it hangs and the only way to get it back on is to reset it). When we do so, the time is reset too. We use the following command to set the time (the timezone is configured through kloxo admin panel and is not reset like the time does): #date +%T%p -s "10:10:10" (as for hour 10 and minutes 10 and seconds 10 )
[ 0.007025009021162987, 0.00013445306103676558, -0.00835992768406868, 0.004180011339485645, -0.01985086500644684, 0.007334736175835133, 0.00838549342006445, -0.011048692278563976, -0.013495243154466152, 0.02632484957575798, -0.01194396149367094, 0.0012115300633013248, 0.0038688986096531153, ...
[ 0.1727900356054306, 0.04375569894909859, 0.8050289154052734, -0.08273851126432419, 0.34553205966949463, 0.13927674293518066, 0.2112581878900528, 0.3562944531440735, -0.255895733833313, -0.681654155254364, -0.06393873691558838, 0.06634411215782166, -0.045873310416936874, 0.41886141896247864...
I'm working on an enterprise project which will be deployed in many SMBs and Enterprises. The support for this project would be struggling and so I want to create a coding pattern for errors ( _Like HTTP status Codes_ ). This will enable help desk people to refer to documents and troubleshoot the problems as soon as possible. **What are the best practices and recommendations to do this?** Any help to do this will be useful.
[ 0.008245106786489487, 0.011766903102397919, -0.00300618982873857, 0.008119438774883747, 0.016211576759815216, 0.033079661428928375, 0.005562528967857361, 0.006487207021564245, -0.013649196363985538, -0.00956721417605877, -0.006756447721272707, 0.008327051997184753, 0.005087407771497965, 0....
[ 0.5711362957954407, 0.3361891210079193, 0.07155130803585052, 0.16720573604106903, 0.17491023242473602, -0.10358038544654846, 0.28430595993995667, 0.2371058166027069, -0.25746387243270874, -0.8352739810943604, 0.16562765836715698, 0.3450535833835602, 0.10797376930713654, 0.0634407252073288,...
Are there any techniques other than velocity? What are pros and cons of using those from your experience?
[ 0.05716954916715622, 0.023898692801594734, -0.06188454106450081, -0.0021574923302978277, -0.011968341656029224, -0.007214149460196495, 0.017433755099773407, 0.0004116481286473572, -0.027252191677689552, -0.02534998580813408, 0.009971505962312222, 0.03726448863744736, -0.014526494778692722, ...
[ 0.303232342004776, -0.013115770183503628, -0.052606482058763504, 0.44010093808174133, 0.2626299262046814, -0.06062129884958267, 0.09456741809844971, 0.1785932183265686, -0.32811006903648376, -0.3902477025985718, 0.33090677857398987, 0.26615360379219055, 0.017288167029619217, -0.12871581315...
Here is the MWE, it works leaving the unicode devanagari text. \documentclass[fleqn,12pt,a4paper]{article} \usepackage{tikz} \usepackage{tabularx} \usepackage{color} \begin{document} \newcounter{sbnodecount} \newcommand\sbtabnode[1]{\addtocounter{sbnodecount}{1} \tikz \node (\arabic{sbnodecount}) {#1};} \tikzstyle{every picture}+=[remember picture,baseline] \tikzstyle{every node}+=[inner sep=0pt,anchor=base, minimum width=1.8cm,align=center,text depth=.25ex,outer sep=1.5pt] \tikzstyle{every path}+=[thick, rounded corners] \begin{table}[!htb] \begin{center} \begin{tabular}{|c|c|c|c|c|} \hline Class & one & Two & Three \\ \hline I & \sbtabnode{A ()}& \sbtabnode{B} & \sbtabnode{C} \\ II & \sbtabnode{D }& \sbtabnode{E} & \sbtabnode{F} \\ III & \sbtabnode{G} & \sbtabnode{H } & \sbtabnode{I} \\ IV & \sbtabnode{J} & \sbtabnode{K} & \sbtabnode{L} \\ V & \sbtabnode{M}& \sbtabnode{N} & \sbtabnode{O } \\ VI & \sbtabnode{P} & \sbtabnode{Q} & \sbtabnode{R} \\ VII & \sbtabnode{S} & \sbtabnode{T} & \sbtabnode{U} \\ VIII & \sbtabnode{V)} & \sbtabnode{V} & \sbtabnode{X} \\ \hline \end{tabular} \caption{Alphabets} % \end{minipage} \end{center} \begin{tikzpicture}[overlay] % Define the circle paths \draw [blue](1.north west) -- (3.north east) -- (3.south east) -- (3.south west) -- (5.south east) -- (4.south west) -- cycle; \draw [red] (7.north west) -- (8.north east) -- (6.north west) -- (6.north east) -- (21.south east) -- (19.south west) -- cycle; \draw [orange] (2.north west) -- (2.north east) -- (5.south east) -- (5.south west) -- cycle; \draw [green] (22.north west) -- (22.north east) -- (22.south east) -- (22.south west) -- cycle; \draw[black] (1.north west) -- (3.north east) -- (6.south east) -- (7.north east) -- (16.north east) -- (18.north east) -- (18.south east) -- (17.south east) -- (20.south east) -- (19.south west) -- cycle; % Labels \node [left=2cm,above=1cm,minimum width=0pt] at (3) (A) { Group A}; \draw[orange] [stealth-,out=5,in=180] (2) to (A); \node [below=5cm,right=2cm,minimum width=0pt] at (3) (B) {Group B}; \draw[blue] [stealth-,out=0,in=180] (3) to (B); \node [right=5cm,below=2cm,minimum width=0pt] at (21) (C) {Group C}; \draw[red] [stealth-,out=350,in=90] (21) to (C); \node [left=5cm,below=2cm,minimum width=0pt] at (22) (D) {Group D}; \draw[green] [stealth-,out=-180,in=0] (22) to (D); \node [below=5cm,right=2cm,minimum width=0pt] at (18) (E) {Group E}; \draw[black] [stealth-,out=0,in=180] (18) to (E); \end{tikzpicture} \end{table} \end{document} ![enter image description here](http://i.stack.imgur.com/COHyT.png) Its works ok for me. However lines overlapping over each other kills the spirit of highlighting. Is it possible to separate the lines so that the highlighted area can be seen clearly. Since these are all going through same node its may not be easy to separate. Is it possible that for few change the background to some light color and some show a border line so that the difference can be seen clearly. I would really appreciate your help
[ 0.008947205729782581, 0.005390712060034275, 0.001433089841157198, 0.020994558930397034, -0.008563214913010597, 0.014682118780910969, 0.008491136133670807, -0.00858237687498331, -0.01351813692599535, -0.004086244851350784, -0.018093403428792953, 0.00415149237960577, -0.021099217236042023, 0...
[ -0.015483957715332508, 0.12376944720745087, 0.5450692176818848, -0.1894264668226242, -0.1405859738588333, -0.049377378076314926, 0.5081291198730469, -0.6574101448059082, -0.21487991511821747, -0.7554426193237305, -0.2534852623939514, 0.5688773393630981, -0.45334532856941223, 0.107233323156...
## Background Unfortunately, when hosting your blog with WordPress.com you can't use the MathJax-LaTeX pluging, and have to use the default wordpress LaTeX. The way it works, is by rendering the LaTeX math into an image, and sticks that image into your blogpost. Since it is an image, it has a background color. The feature was designed so that it tries to figure out the proper background color for your theme to fit the LaTeX in naturally. Unfortunately for me, my background color is white, but the LaTeX is rendered with background gray. There is a way to change the color of a single equation. For instance: `$latex E = mc^2$` would produce the default background color, while `$latex E = mc^2&bg=ffffff$` would force the background to be white. This is what I want to achieve, but for every equation in my post. I don't want to have to type `&bg=ffffff` at the end of each LaTeX environment manually (it is already a big enough hassle to write `$latex` instead of just `$`!). * * * ## Question > Is there a way to change the background color of all the math equations at > once? Alternatively, if no such method exists. > From where does the `$latex $` feature guess the background color, and how > can I change what it guesses? Keep in mind that I am on WordPress.com so I can't simple switch to the MathJax-LaTeX plugin.
[ 0.009833430871367455, 0.010759631171822548, -0.010899762623012066, 0.003141127061098814, 0.0004732917295768857, -0.009948952123522758, 0.010433140210807323, -0.008262652903795242, -0.01571226306259632, -0.0022550332359969616, -0.010039284825325012, 0.004649071954190731, 0.002891543321311474,...
[ 0.3835970163345337, -0.09957805275917053, 0.7941139340400696, 0.16427133977413177, -0.09641625732183456, -0.09718441963195801, 0.34434664249420166, 0.40279775857925415, 0.0017200162401422858, -0.7781497836112976, -0.00944145955145359, 0.421531617641449, -0.2958972752094269, -0.004071239847...
I have two csv files which each have a field containing the same feature type but with different field names. I need to compare the values of these fields in the two files to find out where there are differences? How do I do this in FME.
[ 0.02230997197329998, 0.01730363257229328, -0.006612919736653566, 0.01479166466742754, -0.044312525540590286, 0.04434528946876526, 0.012781277298927307, 0.02042803354561329, -0.026390189304947853, 0.021342545747756958, -0.006266495678573847, 0.011211888864636421, 0.029555968940258026, 0.001...
[ 0.54288250207901, 0.19226421415805817, 0.1622137427330017, -0.1973566859960556, -0.22326301038265228, -0.26355651021003723, -0.08408676832914352, -0.15698032081127167, -0.1796617954969406, -0.6629221439361572, 0.05485408008098602, 0.5191894769668579, -0.01943693868815899, 0.246303394436836...
There are many questions about the performance of commands or scripts on the _U+L_ SE asset. As time is of the essence, this is often evaluated using the `bash` time _reserved word_ or the external `time` command and a subset of the target data, under average or no load. Yet there are scenarios which are either about a large number of files or just operations on very big files. In some instances a careful examination of what happens in the shell, intricate knowledge of command behavior, even hardware considerations, provide insight into efficiency. But benchmarking remains no simple affair. In one instance recently a community member made a comment about the _time complexity_ of a command, implying that since there was no _sorting operation_ \- and not merely no `sort` command - it would ultimately scale better with more data. The solution involved `awk`, whereas another solution involved for instance a combination of the `grep`, `sort` and `head` commands. * Is this just an instance of "the simpler the better" - what are main implications of _time complexity_ when designing shell scripts which operate on huge data sets(number or size)? * Beyond common sense and _sorting_ (an operation for which there is a seemingly high level of intuition about performance costs, even for a non expert), is there a well known _common time complexity_ example which would showcase how the concepts apply in practice to shell scripting?
[ 0.004531405866146088, 0.015042710117995739, -0.010050946846604347, 0.01420062966644764, 0.017339743673801422, -0.01815888285636902, 0.007289431523531675, -0.015954168513417244, -0.010114255361258984, 0.006680003833025694, -0.011974041350185871, 0.00841428991407156, 0.013762940652668476, 0....
[ 0.20619216561317444, 0.2665342688560486, -0.24899983406066895, -0.12212145328521729, 0.13246747851371765, -0.08036228269338608, 0.1344175934791565, -0.448809951543808, -0.15769743919372559, -0.6528674364089966, -0.24331437051296234, 0.6862936019897461, 0.1930808275938034, -0.09348486363887...
I want to run this bash command : #!/bin/bash rep="*" for f in `ls -R`$rep; do d='git log '$f'| wc -l' c=$d echo $c done how to excute a command `git log myFile | wc -l` from bash ? ps : this command will return a number : `git log myFile | wc -l`
[ 0.004471163731068373, 0.00543033704161644, -0.002796011744067073, 0.0031192598398774862, -0.001115057966671884, 0.0012963507324457169, 0.008254695683717728, -0.002280493965372443, -0.015819242224097252, -0.0037025692872703075, -0.005614834371954203, -0.0007648802711628377, 0.0131023703143000...
[ 0.7831917405128479, 0.20891287922859192, 0.49907299876213074, -0.22773043811321259, 0.234693244099617, 0.10857737809419632, 0.3388151228427887, -0.24358442425727844, -0.0013416705187410116, -0.3267977833747864, 0.13631147146224976, 0.5380510687828064, -0.41939765214920044, -0.0210653617978...
We all know the mantra "correlation does not imply causation" which is drummed into all first year statistics students. There are some nice examples here to illustrate the idea. But sometimes correlation _does_ imply causation. The following example is taking from this Wikipedia page > For example, one could run an experiment on identical twins who were known > to consistently get the same grades on their tests. One twin is sent to > study for six hours while the other is sent to the amusement park. If their > test scores suddenly diverged by a large degree, this would be strong > evidence that studying (or going to the amusement park) had a causal effect > on test scores. In this case, correlation between studying and test scores > would almost certainly imply causation. Are there other situations where correlation implies causation?
[ 0.0026656724512577057, 0.019452562555670738, -0.01535802986472845, 0.020648114383220673, -0.005041498225182295, 0.009925839491188526, 0.005754431243985891, -0.0059492457658052444, -0.014305101707577705, -0.008456106297671795, -0.002856889506801963, 0.004037556238472462, 0.006218504160642624,...
[ 0.7939916849136353, -0.10065858066082001, 0.10299064964056015, 0.4454231262207031, -0.08306710422039032, -0.5487255454063416, 0.5864182114601135, 0.01410872396081686, -0.2506677806377411, -0.16995957493782043, 0.463090181350708, 0.10048157721757889, -0.11745709925889969, 0.0999841094017028...
How to pass the abscissa of a node to the first 2 mandatory arguments of `\psplot`? I have tried `\psGetCenterNode` but it produced an error in PS interpreting phase. \documentclass[border=12pt,pstricks]{standalone} \usepackage{pstricks-add,pst-eucl} \def\foo{x \psPi\space div 180 mul sin} \def\goo{x \psPi\space div 180 mul cos} \def\hoo{x} \begin{document} \begin{pspicture}[showgrid=bottom](0,-2)(5,2) \psplot[linecolor=red]{0}{4.5}{\foo} \psplot[linecolor=blue]{0}{4.5}{\goo} \pstInterFF{\foo}{\goo}{0}{A} \pstInterFF{\foo}{\goo}{4}{B} %\psplot{A.x}{B.x}{\hoo} <== does NOT work! \end{pspicture} \end{document}
[ 0.0033207398373633623, -0.0028826622292399406, -0.009274453856050968, 0.03315264359116554, -0.015410449355840683, 0.000004142988473176956, 0.008264717645943165, 0.007088550366461277, -0.01782682165503502, -0.009751885198056698, -0.005805861204862595, -0.005626572296023369, -0.011901592835783...
[ -0.20939220488071442, 0.033665478229522705, 0.49123573303222656, -0.33940792083740234, 0.3181452453136444, 0.05010177195072174, 0.6353161334991455, -0.46056410670280457, -0.1005823016166687, -0.4893893301486969, -0.3205278217792511, 0.3334912955760956, -0.40894898772239685, -0.296823620796...
It is a GRE physics problem. A technique would most likely increase the signal- to-noise ratio of a photomultiplier tube is to 1. operate the tube at a lower temperature 2. operate the tube at higher voltage per dynode than usually specified 3. use a radioactive source to saturate the noise level 4. use a retarding potential on the first dynode 5. use a photocathode of lower work function I tried searching for information regarding photomultiplier, but none seems to fit any of the above options.
[ -0.002608173992484808, -0.0015930596273392439, -0.006397128105163574, 0.01772359199821949, -0.013865792192518711, -0.027366554364562035, 0.007585708051919937, -0.0008745035156607628, -0.013701377436518669, -0.016534315422177315, -0.006590457633137703, 0.016943704336881638, -0.012098019942641...
[ 0.31695756316185, 0.133365660905838, 0.23892073333263397, 0.06734593212604523, -0.264619916677475, -0.155807226896286, 0.3259897530078888, -0.5157212615013123, 0.2383621782064438, -0.12447841465473175, -0.04081924259662628, 0.2654081881046295, -0.3455981910228729, 0.5291740894317627, 0.0...
I am using Hg for my development. Recently, I upgraded to Lion and Xcode 4.2 and I have created a Xcode project in my source tree. The Xcode by default uses Git and created .git folder in the project folder. Being able to do versioning in Xcode is a plus but it is sort of redundant with both Git and Hg. The problem is, should I check in the .git (folder and files) in the Xcode project folder or not? Or should I just switch off Git in Xcode and delete .git folder? Thanks.
[ 0.0007059508934617043, 0.0007779853767715394, 0.004164779093116522, 0.0059210495091974735, 0.0254118200391531, -0.01145615242421627, 0.008750894106924534, -0.016501614823937416, -0.013473210856318474, -0.01093702670186758, 0.00033596891444176435, -0.002491296734660864, 0.020605746656656265, ...
[ 0.5039076805114746, 0.43801331520080566, 0.1177324652671814, -0.26868200302124023, -0.4242549538612366, -0.08035468310117722, 0.34163808822631836, -0.12180697172880173, -0.012559258379042149, -1.0809217691421509, -0.0005567817715927958, 0.4595381021499634, -0.5382793545722961, 0.1470443755...
I want to take the XML output of a Xapi query and display it using leaflet or polymaps. How can I do that? Is there an easy way to convert XML to geojson
[ 0.0076629286631941795, 0.011545833200216293, -0.007465879432857037, 0.013764449395239353, -0.06592852622270584, 0.011881433427333832, 0.014887447468936443, 0.06965819001197815, -0.03679667413234711, -0.05231267586350441, 0.01469400990754366, 0.014996601268649101, -0.015979960560798645, 0.0...
[ 0.2270161360502243, 0.11412211507558823, 0.15106037259101868, 0.15925370156764984, -0.17987778782844543, -0.12354069948196411, -0.17410168051719666, -0.06136658415198326, -0.038382384926080704, -0.7530417442321777, 0.048096220940351486, 0.2148256003856659, -0.4483920633792877, 0.0471716746...
I'm in the process of filling in my Pokedex in Black 2/White 2 so this question is mostly concerned with the fifth generation. I was wondering if I could trade over a Pokemon (say Haunter) and get an entry in my Pokedex for Haunter and Gengar?
[ -0.006134269759058952, 0.02925967238843441, -0.006664970424026251, 0.017074519768357277, 0.012448137626051903, 0.01630452275276184, 0.011653304100036621, -0.010721600614488125, -0.03306945785880089, -0.019672024995088577, -0.008302336558699608, 0.027323639020323753, 0.010981328785419464, 0...
[ 0.6455281972885132, -0.4351712763309479, 0.23672209680080414, 0.223942369222641, -0.4374999701976776, -0.05887160822749138, 0.09871286898851395, -0.09646912664175034, -0.23409467935562134, -0.17429089546203613, 0.08514223247766495, 0.12539203464984894, -0.018712205812335014, 0.475541502237...
I have setup a jQuery keyup delay function to check the email typed into an input field. It works fine after testing with an `alert('Key pressed!');` But I want it to say, for example, 'Yes this email is associated with a user' OR 'Sorry, this email is not in our database' without submitting any page requests. var delay = (function(){ var timer = 0; return function(callback, ms){ clearTimeout (timer); timer = setTimeout(callback, ms); }; })(); $('input').keyup(function() { delay(function(){ // check email exists and output result // Can I use PHP here? // Can ajax/json help? }, 500 ); }); I tried to check with php but this is rendered before the jQuery of course which is where I'm storing my email var. After a few google searches it sounds like this may not be possible. Can anyone confirm or offer a solution? Thanks
[ -0.0013576233759522438, 0.007352177985012531, 0.001965354662388563, 0.00485890032723546, 0.02596958726644516, 0.006396627519279718, 0.00895041972398758, -0.005847444292157888, -0.01787104830145836, 0.020923227071762085, -0.011609808541834354, 0.008494014851748943, 0.0009345568250864744, 0....
[ 0.2452436238527298, -0.4160695970058441, 0.592237651348114, -0.20209573209285736, 0.009689275175333023, 0.12749160826206207, 0.28315773606300354, -0.3161601126194, -0.30413538217544556, -0.335574209690094, -0.08597493916749954, 0.4831920564174652, -0.41746869683265686, 0.310393750667572, ...
Let's say I'm developing a web application. My first choice is to use PHP with Fat-Free Framework (F3) and MVC pattern. Next year, I might decide I want to switch to Zend Framework, or maybe even ASP.NET MVC. Does it make sense to try and design my application in such a way that it is loosely coupled to its framework, or is the framework too integral to make this realistic? The only reason I ask is because it came up in conversation with a peer recently, who criticized my pie in the sky idea of loosely coupling my application to F3.
[ -0.0000826781615614891, 0.026065468788146973, -0.004711980931460857, 0.0033127774950116873, 0.008395180106163025, -0.01409152802079916, 0.00799927394837141, -0.015546225011348724, -0.009098567068576813, -0.05259333550930023, -0.006933942437171936, 0.012450708076357841, 0.01318573858588934, ...
[ 0.5945464372634888, 0.0912657380104065, -0.015858475118875504, 0.06289555877447128, -0.342631995677948, 0.15625427663326263, -0.06911458820104599, 0.2933928370475769, -0.31479132175445557, -0.7488764524459839, 0.37087517976760864, 0.4133107364177704, -0.26360130310058594, -0.17371805012226...
In order to complete one custom package command I needed an internal macro, I called it `\@test@count{❬argument❭}`, and should accomplish the following: 1. Internally defines a new counter `\❬argument❭` and sets it to `1`. 2. Checks if the counter `\❬argument❭` is already defined, so it has to be conditionally dependent of the existence of previous counters: 2.1. If `\❬argument❭` is already defined, then it'll not overwrite a _previous_ value stored by `\❬argument❭` (as if it has saved its declaration) but it will advance it by `1`. 2.2. If `\❬argument❭` isn't defined, then it'll simply create it. If all of the above requirements are met, then the MWE (in this case `\@test@count{❬argument❭}` is used to obtain an identical task for the package command `\mycommand`): \documentclass{article} % \makeatletter \def\@test@count#1{% %mysterious (La)TeX sorcery should happen here } \def\mycommand[#1]#2{% \@test@count{#1}% This is the value of the counter~"#1":~\expandafter\the\csname #1\endcsname~#2\par% } \makeatother % \begin{document} % \mycommand[myfoo]{lorem} \mycommand[mybar]{ipsum} \mycommand[mybaz]{dolor} \mycommand[myfoo]{sit} \mycommand[mybar]{amet} \mycommand[myfoo]{consectetur} \mycommand[mybaz]{adipisci} % \end{document} should yield: > ![enter image description here](http://i.stack.imgur.com/CJeXu.png) The `text` has been inserted to show that the secondary argument can be filled without restrictions. In the example, `\mycommand[myfoo]{...}` defines the counter `\myfoo` and sets it to `1`, because there are no other counters `\myfoo` declared before; then `\mycommand[mybar]{...}` defines `\mybar` and so forth. When `\mycommand[myfoo]{...}` is called again, then a `\@test@count{myfoo}` will test whether `\myfoo` is defined, in this case it yields "true" and then the counter is advanced by `1`. The same reasoning follows for any successive declaration of `mybar` and `mybaz`. The rule for `\@test@count{myfoo}` will be similar to an allocation manager, because when a new counter is defined by `\mycommand[myfoo]{...}` it "saves" its previous value `\myfoo` until another `\myfoo` is declared: if this condition is met, then _`\myfoo` won't be overwritten_, but instead incremented. So far I managed little to none progress to define `\@test@count#1{...}`, as this task requires this kind of knowledge that it's difficult for me to understand at the moment.
[ 0.013490993529558182, 0.018101554363965988, -0.00665313471108675, 0.02746465615928173, 0.013950672931969166, 0.004215489141643047, 0.007593750022351742, -0.030247777700424194, -0.013979875482618809, -0.018018217757344246, -0.0061770351603627205, 0.0005792099982500076, -0.003098689019680023, ...
[ 0.2498212307691574, 0.05426759645342827, 0.35563644766807556, -0.21804320812225342, -0.031415730714797974, -0.07193096727132797, 0.5304037928581238, -0.7153550982475281, -0.04402930662035942, -0.4979632496833801, 0.03418460488319397, 0.7235363125801086, -0.21058376133441925, -0.02718789875...
Is their any way to add same openlayers map control to dojox map like navigation,panel,panzoom
[ -0.05185003951191902, 0.021284814924001694, -0.028193967416882515, 0.006592432036995888, 0.023063702508807182, 0.005802333354949951, 0.024504706263542175, 0.0834934264421463, -0.02661864459514618, 0.019588515162467957, -0.022728480398654938, 0.06355796754360199, -0.007280677556991577, 0.01...
[ 0.03048313967883587, -0.126906156539917, 0.39555567502975464, 0.38885563611984253, -0.48295965790748596, 0.13492833077907562, -0.11293397098779678, -0.16742810606956482, -0.19136548042297363, -0.6539576053619385, 0.12815403938293457, 0.3209584951400757, 0.006428438704460859, 0.060394927859...
I'm currently trying to write a script that has a username & password input which then returns some data if the user has appropriate access. The script works just fine when I hardcode my own credentials in. The problem I have is that I don't know how to mask password input using the "Add Script" wizard. It appears there is an option to accept an Encrypted String as a parameter, which appears to be what I want, but I can't find any documentation on how to actually utilize the GPEncryptedString class within Python. When I try to extract the parameter with arcpy.getParameterAsText(), it just returns a bunch of asterisks as a string value which obviously does me no good. I even tried just popping up my own username/password dialog, but scripts have to be ran with the "Always in Foreground" option for the arcpy.mapping.MapDocument("CURRENT") command to work properly, which constantly steals focus from my dialog. This seems like a really simple problem, but I'm just not finding any documentation anywhere on this issue and I've now spent more time trying to figure out a way to mask password input than I spent on the actual script itself.
[ 0.005485502537339926, 0.00707902479916811, -0.005601779092103243, 0.003118952037766576, -0.027584174647927284, 0.0011783251538872719, 0.005652677267789841, -0.0036708889529109, -0.017568888142704964, -0.02291555516421795, -0.0018456082325428724, 0.006241642404347658, 0.00044527254067361355, ...
[ 0.24935981631278992, 0.4225066602230072, -0.01563306711614132, -0.018825938925147057, -0.026374513283371925, -0.16596950590610504, 0.46479567885398865, 0.02453048899769783, -0.03257221728563309, -0.6817287802696228, 0.29608628153800964, 0.7688683867454529, -0.21483734250068665, 0.227501362...
I've purchased the Fruitful Staff for a small fortune, hoping for an endless supply of fruit, but I can't figure out how to create fruit with it. Do I have to physically attack something with it? And if I do, is fruit generation guaranteed?
[ -0.011814967729151249, 0.012388903647661209, 0.003922363743185997, 0.010574313811957836, -0.05096164345741272, -0.004612741991877556, 0.009497182443737984, 0.0311860591173172, -0.02851344272494316, 0.00032797816675156355, -0.02165459282696247, 0.028693951666355133, -0.0038496595807373524, ...
[ 0.4921446442604065, 0.4662158787250519, -0.1512506902217865, -0.14468173682689667, -0.18906427919864655, 0.4817042350769043, 0.39642491936683655, 0.21806827187538147, -0.20588316023349762, -0.2736002504825592, 0.1270149201154709, 0.35648059844970703, 0.05196668580174446, 0.2016230970621109...
I learned (thanks!) to use the join feature built into the layer properties, but in my case it doesn't work because data do not match perfectly. Infact shape refers to geotagged photos, csv is a log file which contains orientation data (azimuth); I would like to join them by date field (day, hours, seconds): I would need to join the "nearest" data, non spatially but temporally!
[ -0.020809555426239967, 0.007878364995121956, -0.013452124781906605, 0.01738373562693596, -0.0013259705156087875, 0.019700242206454277, 0.00936446525156498, 0.022732246667146683, -0.01808757521212101, 0.0042552282102406025, 0.00734017975628376, -0.0006748594460077584, 0.013194490224123001, ...
[ 0.5613465309143066, -0.007595425471663475, 0.8243114948272705, -0.005705248098820448, 0.26025912165641785, -0.19712716341018677, 0.047554049640893936, 0.15656782686710358, -0.11141650378704071, -0.5605322122573853, -0.08597885072231293, -0.24011260271072388, 0.11135037988424301, 0.23642754...
I have multiple dataset that I want to plot in PieChart, as in PieChart[{{2, 2}, {1, 2, 4}}, ChartLayout -> "Stacked"] Now here is the catch: I want the color of the chart to be "similar" if the corresponding data belong to the same set. In my example, the regions corresponding to `{1,2,4}` would have different shades of Blue, while the ones relative to `{2,2}` would be plotted with different intensities of Red. Finally, since the original data set is more nested than this one, it would be nice to be able to specialize such color function further I have tried with ColorFunction -> Function[x, ...] but I don't manage to have info about the originating dataset. Example or more nested data set: {{2, 2}, {1, 2, {3,1}}} {{2, 2}, {1, 2, {{2,1},1}}}
[ 0.005707453470677137, 0.013523530215024948, -0.008641744963824749, 0.01464463584125042, 0.0014773719012737274, -0.004482770338654518, 0.0053419265896081924, 0.01155051589012146, -0.012361913919448853, 0.0027232884895056486, -0.0038089226000010967, 0.003184869885444641, -0.0057090455666184425...
[ 0.1191210150718689, -0.07506934553384781, 0.42064157128334045, -0.02394839935004711, 0.11229313164949417, 0.29955071210861206, -0.12997567653656006, -0.15475519001483917, -0.379363089799881, -0.9914599061012268, 0.07648122310638428, 0.15247997641563416, -0.15713965892791748, 0.437278360128...
I am investigating many different kinds of PCA versions, I am trying to find out whether PCR will apply to my analysis thus the question on use of PCR.
[ 0.010755603201687336, 0.04014414921402931, -0.003214013297110796, 0.04844270274043083, -0.04015273228287697, 0.050005361437797546, 0.015960808843374252, -0.04641488566994667, -0.03181182220578194, -0.039852291345596313, 0.005968315526843071, 0.0029643047600984573, 0.004075684584677219, 0.0...
[ 0.4581746459007263, 0.2567741572856903, -0.12952619791030884, -0.12538501620292664, 0.2116769254207611, -0.15013906359672546, -0.3307223320007324, 0.07986386120319366, 0.054869189858436584, -0.42673519253730774, 0.3327787220478058, 0.6278600692749023, 0.03412371873855591, 0.394469827413558...
Installed: glibc-static.x86_64 0:2.12-1.107.el6_4.4 glibc-utils.x86_64 0:2.12-1.107.el6_4.4 Dependency Installed: fontconfig.x86_64 0:2.8.0-3.el6 freetype.x86_64 0:2.3.11-14.el6_3.1 gd.x86_64 0:2.0.35-11.el6 libX11.x86_64 0:1.5.0-4.el6 libX11-common.noarch 0:1.5.0-4.el6 libXau.x86_64 0:1.0.6-4.el6 libXpm.x86_64 0:3.5.10-2.el6 libxcb.x86_64 0:1.8.1-1.el6 [root@host728 ~]# rpm -Uvh pptpd-1.3.4-2.fc19.x86_64.rpm warning: pptpd-1.3.4-2.fc19.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 862acc42: NOKEY error: Failed dependencies: libc.so.6(GLIBC_2.14)(64bit) is needed by pptpd-1.3.4-2.fc19.x86_64 libc.so.6(GLIBC_2.15)(64bit) is needed by pptpd-1.3.4-2.fc19.x86_64 [root@host728 ~]# uname -a Linux host728.me.net 2.6.32-042stab079.4 #1 SMP Thu Jul 18 18:57:29 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux [root@host728 ~]# What am I missing here? Do I need a different RPM that is RHEL based? I am running CentOS 6.x
[ 0.01000422053039074, -0.006308233365416527, -0.00925818458199501, 0.0047752163372933865, 0.01771499402821064, -0.013927025720477104, 0.007105679716914892, -0.003405572846531868, -0.0035151054617017508, -0.017119400203227997, -0.012985996901988983, 0.001698564155958593, -0.003715428989380598,...
[ -0.1943473070859909, 0.28466957807540894, 0.6124169826507568, -0.2171349674463272, -0.2914099395275116, 0.3547120690345764, 0.14965738356113434, -0.1619633585214615, 0.06480270624160767, -0.7731685638427734, -0.11270596086978912, 0.7294021844863892, -0.7166863679885864, -0.0590303316712379...
1. I'm a Python2 developer and I just ordered The C++ programming language, 4th edition, from Bjarne Stroustrup's, to learn C++11. But right after I ordered it, I started to wonder if I made a mistake. Are the changes made to C++ in C++11 analogous to how Python moved from 2 to 3 insofar as code significantly breaking and not being backwards compatible? Or is learning C++11 safe to do? 2. If I coded C++11 in XCode, the latest version being whatever it is, would it work on say a Windows machine? Or does that depend more on what will compile the code, fairly certain that XCode uses LLVM.
[ 0.0051610590890049934, 0.008562644943594933, -0.02134580910205841, 0.0037332247011363506, -0.012796439230442047, 0.020028995350003242, 0.007483487017452717, 0.004603472538292408, -0.016321849077939987, -0.02677358314394951, 0.0018971541430801153, 0.010136760771274567, 0.004499789327383041, ...
[ 0.5484799146652222, 0.5320277810096741, 0.06417960673570633, -0.1617087721824646, -0.3410769999027252, -0.3416774868965149, 0.33049914240837097, -0.2872089743614197, -0.43831783533096313, -0.08167459070682526, -0.11396634578704834, 0.5847092866897583, -0.3087155520915985, -0.31903526186943...
I would like to request your help with the following: With the package hyperref I get a lot of backreferences in my bibliography like 1,1,1,2,2,3,5,8,9,10,11,11,11,12,12,13,17,19 Now I wanted to write a macro that turns this result into: 1-3,5,8-13,17,19 if Kind = 0 1,3;2,2;3;5;8;9;10;11,3;12,2;13;17;19 if Kind = 1 where Kind is a variable to have a certain layout according to your choice When I run the file PROBEERTEST.TEX the above examples are correct but the bottom one has a lot of 'I assume spaces' in front of it (I have tried adding % after each line and removing all spaces but I still get those spaces). Can anyone help me (I want that the aa is followed immediately by the result and not with this free room after it) * FILE PROBEER.TEX * % To turn 1,1,1,2,2,3,5,8,9,10,11,11,11,12,12,13,17,19 into % 1-3,5,8-13,17,19 if Kind = 0 % To turn 1,1,1,2,2,3,5,8,9,10,11,11,11,12,12,13,17,19 into % 1,3;2,2;3;5;8;9;10;11,3;12,2;13;17;19 if Kind = 1 % Based on TeX by Topic p 105 \newcount\Kind % 0: like 1--3,5,7,10--12, % 1: like 1,2;3,2;number,# of number; \newcount\CountP % Previous \newcount\CountN % Next \newcount\CountT % Temp \newcount\CTimes % Number of times \newcount\State % 3: using kind=1 after reading in % first element (state=2) % 2: start, first element printed % 1: during {--}. % 0: otherwise (non-sequential) \CountP=-10000 \CTimes=0 \Kind=0 % --- begin TO STORE THE RESULT \def\ResultDef{} % def to hold the result % USING DEF TO STORE THE RESULT \def\addToResultDef#1{ \edef\ResultDef{\ResultDef #1} } \def\printResultDef{ \ResultDef } % --- end TO STORE THE RESULT \def\Combine#1{\xCombine#1,xxx, \printResultDef \CountP=-10000 \CTimes=0 \def\ResultDef{} } \def\endpiece{xxx} \def\xCombine#1,{\def\temp{#1} \ifx\temp\endpiece \advance \CountN by 3 % to process the last element \Process{\the\CountN} \else \Process{#1} \expandafter \xCombine \fi} \def\Process#1{ \CountN=#1 \ifnum\CountP=-10000 \CountP=\CountN \State=2 \advance \CTimes by 1 %\the\CountP \addToResultDef{\the\CountP} \else \ifnum\CountP=\CountN \advance \CTimes by 1 \else % \CountP<\CountN \ifnum\Kind=0 \ProcessA{#1} \else \ProcessB{#1} \fi \CTimes=1 \CountP=\CountN \fi \fi } \def\ProcessA#1{ % \Kind=0 \CountT=\CountP \advance\CountT by 1 \ifnum\CountN=\CountT \ifnum\State=0 %\the\CountP \addToResultDef{,\the\CountP} \fi \State=1 \else \ifnum\State=0 %, \the\CountP \addToResultDef{,\the\CountP} \else \ifnum\State=1 %{--} \the\CountP \addToResultDef{{--}\the\CountP} \State=0 \else \ifnum\State=2 \State=0 \else \typeout{Invalid State!!} \fi \fi \fi \fi } \def\ProcessB#1{ % \Kind=1 \ifnum\State=2 \ifnum\CTimes=1 \else \addToResultDef{,\the\CTimes} \fi \State=3 \else % State=3 \ifnum\CTimes=1 \addToResultDef{;\the\CountP} \else \addToResultDef{;\the\CountP,\the\CTimes} \fi \fi } * FILE PROBEERTEST.TEX * %% To test probeer.tex in TeX itself to see if it works accordonly \magnification\magstep1 \hsize 5.5 true in \hoffset 0.5 true in \vsize 8.25 true in \voffset = 2\baselineskip \vbadness11000 \input probeer \noindent 1,1,1,2,3,4,5,6,7,11,12,13,15,17 \hfill \break becomes \hfill \break \Combine{1,1,1,2,3,4,5,6,7,11,12,13,15,17} \hfill \break \hfill \noindent New attempt: \hfill \break 1,2,3,4,5,6,7,11,12,12,13,15,17,17,21,22,23 \hfill \break becomes \hfill \break \Combine{1,2,3,4,5,6,7,11,12,12,13,15,17,17,21,22,23} \hfill \break \hfill \vbox{ \hbox to \hsize{1,2,3,4,5,5,6,7,11,12,13,15,17,21,22,23 \hfill} \hbox to \hsize {becomes \hfill} \hbox to \hsize{aa\Combine{1,2,3,4,5,5,6,7,11,12,13,15,17,21,22,23}bb \hfill} \vfill} \bye
[ 0.011749528348445892, 0.012905901297926903, -0.0045245070941746235, 0.018199952319264412, 0.0275801382958889, 0.009821447543799877, 0.005552283488214016, 0.0005266755470074713, -0.010754004120826721, -0.021824024617671967, 0.002380253281444311, -0.0072000594809651375, -0.012562282383441925, ...
[ 0.09879790246486664, 0.26587975025177, 0.6292632818222046, 0.09237704426050186, 0.06802740693092346, 0.35183295607566833, 0.25640246272087097, -0.20227564871311188, -0.2744300067424774, -0.67667156457901, 0.2161289006471634, 0.3743613362312317, -0.27825573086738586, 0.12585483491420746, ...
I am developing a site for a client, let's call it `whatever.com`. He wants to have his Tumblr blog at `whatever.com/blog`. (Tumblr lets you name the URL at which your Tumblr page will be served, and if it's a site root, you adjust your domain's A-Record, which obviously I can't do here.) Right now I have a blank page called `blog` so that it shows up in the nav using `wp_list_pages()`, but I'm guessing this won't work unless I do some fiddling elsewhere. Anyone know how to do this?
[ 0.0061667622067034245, 0.009836714714765549, -0.0018778550438582897, 0.007794318720698357, -0.03187916427850723, 0.014814767986536026, 0.007997620850801468, 0.00843790639191866, -0.010422720573842525, -0.036960143595933914, -0.015271158888936043, 0.0008963263826444745, 0.015532849356532097, ...
[ 0.7291164398193359, 0.22623147070407867, 0.6137884855270386, -0.20556561648845673, -0.03802753612399101, -0.15125449001789093, -0.27490317821502686, 0.5261257290840149, -0.4236433207988739, -0.5749370455741882, 0.411885142326355, 0.237425297498703, 0.01996840350329876, 0.45808446407318115,...
I need to develop a webportal which will display the images generated by a GIS software package. I my development I need to run gdal command inside php `exec()` function. but I don't know how to do this.
[ -0.0451388843357563, 0.005607093218713999, -0.004107238724827766, 0.0019152716267853975, -0.030971316620707512, 0.0051196906715631485, 0.014422924257814884, 0.022058578208088875, -0.02459263615310192, -0.039718519896268845, -0.0010656752856448293, 0.013628538697957993, -0.005010909400880337,...
[ 0.6411206126213074, 0.5100984573364258, 0.47604602575302124, 0.043954309076070786, -0.22740547358989716, -0.37754133343696594, 0.04285541921854019, 0.15648262202739716, 0.09492002427577972, -0.6427754759788513, 0.2938418984413147, 0.3666694462299347, -0.2317287027835846, 0.1587549448013305...
I've noticed that the `\verb` command does not react well to addtional active characters. E.g. \documentclass{minimal} \begin{document} \catcode`\/=\active \verb§/§ \end{document} will fail. Is there a way to let `\verb` know that another character has been made active? Or, if not, what's a good work-around or solution? * * * > Thanks for the input on using `§` as the `\verb` delimiter. Noted. > > The reason I use `§` is because of the similarity to `$`; I like to use a > shorthand command `\def§{\verb§}` for inline verbatim sequences (especially > code).
[ 0.008177381940186024, 0.0013638078235089779, -0.01027207262814045, 0.02274073287844658, -0.001989198848605156, 0.00023855245672166348, 0.0073418086394667625, 0.015110335312783718, -0.015184474177658558, 0.0015804715221747756, -0.023349694907665253, 0.012840027920901775, 0.0056008510291576385...
[ -0.1414910852909088, 0.27918389439582825, 0.21449580788612366, -0.0740509033203125, -0.04829864203929901, 0.2267746478319168, 0.4984806180000305, 0.13603399693965912, -0.35719534754753113, -0.5607763528823853, -0.3127800226211548, 0.6597973704338074, -0.10476759821176529, -0.27951279282569...
In my bibliography, I have a case where the author of an `@Inbook` entry is the same as the editor of the book: @Book{ducktales, Booktitle={Ducktales}, Editor = {Donald Duck}, Year = {2001}} @Inbook{intro, Title={Introduction}, Crossref = {ducktales}, Author = {Donald Duck}, Pages = {1-10}} The bibliography entry appears like this: > Donald Duck: Introduction. In: Ducktales (2001), Published by Donald Duck. However, if the author is the same as the editor, I'd like to have the editor replaced by author. So the entry should look like this: > Donald Duck: Introduction. In: Ducktales (2001), Published by author. How can I do that?
[ -0.016175387427210808, 0.016768403351306915, -0.011582337319850922, 0.030946578830480576, 0.011243870481848717, 0.027899345383048058, 0.009976309724152088, -0.014489139430224895, -0.009905570186674595, -0.02587292715907097, -0.006157621741294861, 0.005516660399734974, 0.0107354074716568, 0...
[ -0.06585418432950974, 0.1843966692686081, 0.31382831931114197, 0.06185981631278992, -0.41238105297088623, -0.34638020396232605, -0.1019025593996048, 0.3184448182582855, -0.35756534337997437, -0.1847306340932846, -0.2086464762687683, 0.016851933673024178, 0.1309436410665512, 0.0705615878105...
How can I derive the Dirac equation from the Lagrangian density for the Dirac field?
[ 0.01741938479244709, 0.029493087902665138, -0.035799432545900345, -0.01712917722761631, -0.07236930727958679, -0.054418954998254776, 0.03089415468275547, -0.039472464472055435, -0.022053521126508713, 0.013144280761480331, -0.00596856651827693, 0.0700540840625763, -0.09651355445384979, 0.00...
[ -0.035772476345300674, 0.11987614631652832, 0.21689292788505554, 0.012638932093977928, 0.002902417443692684, 0.011401469819247723, -0.07380326092243195, -0.6739386320114136, 0.19006074965000153, -0.24740369617938995, 0.07312612235546112, 0.5635119080543518, 0.033266741782426834, 0.43007406...
> **Possible Duplicate:** > What's the most efficient Minecraft mining strategy? > What is the best layer to mine for gold in Minecraft? I can never find gold or diamond and me and my friends are dying to know where you find it. And also, does the diamond pickaxe last forever?
[ 0.014575966633856297, 0.012704795226454735, -0.012097228318452835, 0.02617480419576168, -0.03898981586098671, 0.003893420333042741, 0.009546703658998013, 0.0026608032640069723, -0.04934508726000786, -0.047991689294576645, -0.010004459880292416, 0.029444940388202667, -0.0005838415236212313, ...
[ 0.3931533694267273, 0.37802189588546753, 0.13494239747524261, 0.3869972229003906, 0.06181098893284798, 0.1988566666841507, 0.1104249581694603, 0.02010447345674038, -0.3105335831642151, -0.39267852902412415, 0.3418360650539398, 0.599140465259552, 0.38846611976623535, -0.007018362637609243, ...
The ACM provides a LaTeX template called sig-alternate.cls (webpage, class file). The current version is 2.4 released in April, 2009. I would like to submit a paper for review using this class file. Unfortunately, the class file reserves some space at the bottom of the first page in the first column for a copyright notice. This copyright notice is required for the camera ready version of the paper, but not for the initial paper submission. How can I remove this copyright notice and reclaim this space?
[ -0.0049062082543969154, -0.0028629046864807606, -0.012048101983964443, 0.0142128337174654, -0.0017634768737480044, 0.020164012908935547, 0.010432026349008083, -0.007159775588661432, -0.016700657084584236, 0.008014812134206295, -0.015550472773611546, 0.0009706667042337358, 0.00698771094903349...
[ 0.21480682492256165, 0.2082650512456894, 0.7630820870399475, -0.05597087740898132, -0.12549573183059692, -0.46562856435775757, -0.42939186096191406, -0.07291128486394882, -0.21834546327590942, -0.31286248564720154, 0.26089707016944885, 0.7178385853767395, -0.2161499708890915, 0.15609230101...
Just looking at logs of a not-so-busy site on one of our Apache servers and notice tons of these in the log: ::1 - - [15/Apr/2011:12:11:40 -0700] "OPTIONS * HTTP/1.0" 200 - ::1 - - [15/Apr/2011:12:11:41 -0700] "OPTIONS * HTTP/1.0" 200 - ::1 - - [15/Apr/2011:12:11:44 -0700] "OPTIONS * HTTP/1.0" 200 - They seem to appear multiple times just below the GET requests where Apache has served a page & its related images. 1. what do they mean? 2. what IP is "`::1`"? 3. if they're benign can I suppress them?
[ 0.003578802803531289, -0.007278236094862223, -0.007392360363155603, 0.015659283846616745, -0.021170958876609802, 0.011848866939544678, 0.004734044894576073, -0.0010458765318617225, -0.0119464211165905, 0.006688184570521116, -0.0030863697174936533, -0.005673165433108807, -0.002260486595332622...
[ 0.29971349239349365, -0.023226788267493248, 0.19950127601623535, 0.35333365201950073, 0.047700438648462296, -0.11617777496576309, 0.6210424304008484, -0.038105498999357224, -0.34632524847984314, -0.7070838212966919, -0.002583535620942712, 0.35198092460632324, 0.05168640613555908, -0.256358...
the question in the headline is formulated very abstract, because I am still not sure what the best way of visualizing the Data I have is. The problem is that I have two mappings of a dataset which are separated into k different clusters. The data points in the clusters of both mappings will probably have a big overlap, but those that "migrated" to another cluster should be, in a way, shown. What I try to implement (I work very seldom with latex) is this: ![Preferably with pgf, as that is the package I have worked with.](http://i.stack.imgur.com/k2GRPm.jpg) The thing is, in that picture there are only 3 clusters and it already gets cluttered. The actual data will have ten or more clusters, so I would also be very happy for suggestions on how the problem could be solved in a better way. Details: Each bar represents a mapping of the data. As they contain the same number of data points they would be of the same height. The separating lines on them (together with "C_i") would indicate the cluster that amount of data is associated with. That itself would be straighforward to solve, but the arrows, whose thickness indicates how many data points are identical between each cluster of the sets are the problem. I currently have no MWE, I hope to append one to this questions later on. edit 1: The data itself are words from a text, such as: > > for as on with by 77 ’s he that at from his it an > Then both mappings give each word a (in most cases very similar) value, which is used to separate the data into clusters. The final (examplary) output is just Mapping 1: > > for[1] as[1] on[3] with[0] by[1] 77[2] ’s[0] he[4] that[4] at[1] from[3] > his[0] it[1] an[0] > Mapping 2: > > for[1] as[1] on[2] with[0] by[1] 77[2] ’s[0] he[3] that[3] at[1] from[4] > his[0] it[1] an[1] > , where the number indicates which cluster is associated with that value. I just notice I called the mappings "dataset" in the picture - my bad. There only is one dataset.
[ 0.005266137886792421, 0.017368318513035774, -0.00999138131737709, 0.007543444633483887, 0.017956960946321487, -0.004593961406499147, 0.004779748152941465, -0.004919902421534061, -0.010700220242142677, 0.012908758595585823, -0.004426334053277969, 0.005040678195655346, -0.009183518588542938, ...
[ 0.43765363097190857, 0.10580708086490631, 0.3140755891799927, 0.020639896392822266, -0.07541969418525696, -0.25862041115760803, 0.1222313940525055, 0.16490548849105835, -0.3229987621307373, -0.4286910593509674, -0.09217507392168045, 0.2190067023038864, -0.15050852298736572, 0.4239583909511...
I want to create a custom `beamer` line , for my template to look something like crayon like picture below: ![. How can I create it ?](http://i.stack.imgur.com/jtdM2.jpg)
[ 0.010411028750240803, 0.007168296724557877, 0.0045512355864048, 0.029788650572299957, -0.006832334212958813, -0.018246116116642952, 0.008829030208289623, 0.008820964954793453, -0.019575221464037895, -0.004710497800260782, 0.0004049937997478992, -0.0025829493533819914, 0.012734489515423775, ...
[ 0.8790283799171448, -0.004565962590277195, 0.48726189136505127, -0.18042343854904175, -0.2973182201385498, -0.12463660538196564, 0.2614120543003082, -0.1173253208398819, -0.13772380352020264, -0.3680429756641388, 0.16489295661449432, 0.172214537858963, -0.12681008875370026, 0.1048568412661...
I don't have a strong background in statistics, so forgive me if I'm making very elementary mistakes here or if this question is too simplistic. I am in a club with ~80 members, and every week, 10 members are selected to win a prize. No member can be selected to win a prize twice in a row, but other than that, anything goes. Some members are selected more often than others, though. For example, a few people are consistently selected as a winner pretty much every second or third week, while several others get picked only a few times a year. There's also a bunch of new members, so there's not enough data to know how often they will get picked (though they automatically get picked the week that they join). I would like to make a program that would give a rough prediction of the chance that each member gets picked in the next week, and in the next month, based on previous data (I have records from every week for the past year). Right now, my idea is to look at the gaps in between weeks that each member gets picked (e.g. "Annie"'s gaps are 3 3 3 3 3 2 4 3 4 3 5 7 4, so she usually gets picked at least once a month), and assume that this is a normal distribution. Then I look at how long has it been since she was last picked, to see what would be the next gap would be if she gets picked next week, and then look at the standard bell curve to determine the % chance that the next gap would be that value or lower (one-sided z-score). The problem that I see is that this doesn't take into account the "no member will get picked twice in a row" rule (which may be significant for those who get picked very very often), and I am not sure how well the standard normal curve works for discrete values like number of weeks (as opposed to something like height, which can be). Is my idea good enough to get at least something reasonably useful, or are there just too many issues with it? If so, is there an alternate model that I can use? Again, I'm not looking for anything rigorous or overly complicated (like Hidden Markov models and such) that takes everything into account perfectly, just something remotely useful to get me a rough idea of the upcoming picks. EDIT: Yes, there is some sort of mechanism where certain members consistently get a better chance of winning, but we don't know the exact details. It can be approximated by the analogy of "some people having more raffle tickets than others, but nobody knows how many tickets each member has in the raffle". The only information we have on the "weight" given to each member's chances is the past record of winnings. In actuality, there's a lot of different factors that influence who will win the raffle for that week, but almost none of those details are known for sure. I am assuming that these factors remain constant over time, though in actuality this is not always the case. For example, a member could get banned from winning anything for several weeks if they broke certain rules and such... But it'd be impossible to come up with anything usable if we need to take that into account.
[ 0.013781847432255745, 0.015173889696598053, -0.023884698748588562, 0.014057396911084652, -0.01726970449090004, -0.0008833208121359348, 0.0053117768839001656, 0.003579747164621949, -0.014095727354288101, -0.02162381447851658, -0.008974701166152954, 0.011918865144252777, -0.0024188831448554993...
[ 0.48489949107170105, -0.15163719654083252, 0.19930851459503174, 0.3991811275482178, -0.11385447531938553, -0.11506802588701248, -0.010678743943572044, 0.015170559287071228, -0.37706461548805237, -0.4705745577812195, 0.33240941166877747, -0.006385081447660923, 0.30719274282455444, 0.1059364...
Do the changes in the following sentences change the meaning at all? > He's my friend > > I'm his friend Or > He's my co-worker > > I'm his co-worker Or > he's my brother > > I'm his brother Besides emphasis - is there any change in meaning in these sentences? Can they be interchangeable? (Assuming friends are not just one sided!)
[ -0.00279255211353302, 0.00485997973009944, -0.011411781422793865, 0.05135143920779228, -0.008903293870389462, 0.01990187168121338, 0.010526021011173725, -0.008880347944796085, -0.02200324833393097, -0.029587971046566963, -0.00032488847500644624, 0.011913273483514786, 0.02265370823442936, -...
[ -0.2562503516674042, 0.10174740105867386, 0.27526646852493286, -0.32476043701171875, -0.40802639722824097, 0.3353350758552551, 0.30732816457748413, 0.14174172282218933, -0.41583552956581116, -0.3106151819229126, -0.14593388140201569, 0.29148176312446594, -0.06495848298072815, -0.0748175159...
As explained to me here, one can plot iterations of a point "b" in A under the functions f:A -> A. Is it also possible to plot the entire function iterated, meaning given a function "f", is it possible to plot f composed with f; or f composed m times with itself ?
[ -0.0024467960465699434, 0.03263532370328903, -0.005463959649205208, 0.005727011244744062, 0.021450625732541084, -0.03248399868607521, 0.008847245946526527, 0.019032031297683716, -0.02453271485865116, -0.0010604446288198233, -0.013871300034224987, 0.0236317478120327, -0.005690257530659437, ...
[ -0.05206310376524925, -0.3491283059120178, 0.04160372540354729, -0.13194574415683746, 0.09236932545900345, 0.45673513412475586, -0.06602327525615692, -0.45903635025024414, -0.4455138146877289, -0.4172476828098297, 0.10812393575906754, 0.20246395468711853, -0.08701924234628677, 0.1019236519...
I have three column as follows: * Month * Tech * Circle According to this column I need to fetch the data. In Month Column, Data is : Jan,feb, March... and so on. In Tech Column, Data is : Gsmnqi, Gsmboi... and so on. In Circle Column, Data is : Ap ,Kol, Mumbai.. and so on. I want to prove four condition as follows: 1. if I select the month it will fetch the data related to month, tech and circle will not be selected. 2. if I select the month and tech it will fetch the data related to month and Tech, circle will not be selected. 3. if I select the month and circle it will fetch the data related to month and circle, Tech will not be selected. 4. if I select month, tech and circle it will fetch the data related to month, tech and circle. But my if condition is not working, seriously I get confused in if, else and else if for this four condition. if (nqiSqiEntity.Month != string.Empty) { query.AppendLine("select * from K2_NQISQI with (nolock) where MONTH = '" + nqiSqiEntity.Month + "' order by id asc"); } else if (nqiSqiEntity.Month != string.Empty && nqiSqiEntity.Tech != string.Empty) { query.AppendLine("select * from K2_NQISQI with (nolock) where MONTH = '" + nqiSqiEntity.Month + "' and TECH = '" + nqiSqiEntity.Tech + "' order by id asc"); } else if (nqiSqiEntity.Month != string.Empty && nqiSqiEntity.Circle != string.Empty) { query.AppendLine("select * from K2_NQISQI with (nolock) where MONTH = '" + nqiSqiEntity.Month + "' and CIRCLE = '" + nqiSqiEntity.Circle + "' order by id asc"); } else { query.AppendLine("select * from K2_NQISQI with (nolock) where MONTH = '" + nqiSqiEntity.Month + "' and CIRCLE = '" + nqiSqiEntity.Circle + "' and TECH '" + nqiSqiEntity.Tech + "' order by id asc"); } In condition, instead of `string.Empty` I need to put the value or I need to check if the value is present then only condition should get executed. Please kindly help me in my understanding this code.
[ 0.012931043282151222, 0.00270706694573164, -0.026101071387529373, 0.019080806523561478, -0.007821312174201012, -0.0025314316153526306, 0.009381212294101715, 0.0149556715041399, -0.01119309663772583, -0.042987123131752014, -0.012784793972969055, 0.00864027626812458, -0.009786538779735565, 0...
[ 0.28168442845344543, -0.02183886244893074, 0.9692638516426086, -0.13976819813251495, 0.14798791706562042, 0.4958370327949524, -0.10494016110897064, 0.29178091883659363, -0.3883887529373169, -0.33571657538414, -0.2261868715286255, 0.007124001160264015, 0.1301027536392212, 0.5231183767318726...
I want to modify `\pageref{...}` to cite the actual label page number if it is not on the same page (to where the command is called), or to state 'On the present page' if it is, how can this be done? Furthermore, is it possible to state 'Above, on the present page' or 'Below, on the present page' depending on the relative location of the label to where the command was called....
[ -0.011195270344614983, 0.016521180048584938, -0.015559110790491104, 0.018882393836975098, 0.0208804439753294, -0.0021038921549916267, 0.00875749159604311, -0.010771538130939007, -0.019995318725705147, 0.00045688290265388787, 0.0019430891843512654, 0.011941871605813503, -0.012286623008549213,...
[ 0.1204519122838974, 0.29416534304618835, 0.317720890045166, -0.008183179423213005, 0.23178616166114807, -0.11923655867576599, 0.14526909589767456, -0.1947784125804901, -0.13237881660461426, -0.5654054880142212, -0.2437356412410736, 0.4612126350402832, -0.24929916858673096, 0.15624290704727...
I have a txt file containing some data of polylines. Actually it is saved json objects. The features in it are esriPolyLine objects. Now i want to store it in my sql server db as geography data types through EF. Is there anywhere some great examples for doing this. How should the string value loop like to be able to enter the values using DbGeography.From(polylinestring, 4326) Or just a simple example of storing esriGeographyPolyline objects in sqlserver
[ -0.0025855812709778547, 0.030621275305747986, -0.01275322400033474, 0.010035306215286255, 0.014079534448683262, -0.006411987356841564, 0.009441499598324299, 0.051012277603149414, -0.014610543847084045, -0.030913280323147774, 0.012263237498700619, 0.021335069090127945, -0.009900061413645744, ...
[ 0.2895377278327942, -0.05399744585156441, 0.3224368989467621, -0.002131546614691615, -0.1261616349220276, 0.041982416063547134, 0.25283485651016235, -0.058168552815914154, -0.17329253256320953, -0.6773938536643982, 0.24795055389404297, 0.2896149456501007, -0.3077707588672638, 0.24713417887...
Are there any free econometrics textbooks available online for individual use? I'm aware of Bruce Hansen's first year PhD Econometrics textbook, but I'd be interested to hear if there are any other such resources. Note: This question is similar to an existing CV question, but I'm specifically asking for references that would be useful to econometricians and students of economics.
[ 0.019882140681147575, 0.017698857933282852, -0.009029671549797058, 0.0358407162129879, -0.011019332334399223, -0.02666483074426651, 0.008640481159090996, -0.014051247388124466, -0.026680978015065193, -0.03169793263077736, 0.007939816452562809, 0.01987050101161003, -0.0014046565629541874, -...
[ 0.48924174904823303, 0.16232804954051971, -0.32446107268333435, 0.5051310062408447, -0.0753721296787262, -0.31862878799438477, -0.018240174278616905, 0.40774041414260864, -0.19873669743537903, -0.37701085209846497, 0.14312496781349182, 0.42781126499176025, 0.2680569589138031, -0.1934221684...
I have three classes that work together to do one function (from the perspective of the rest of my program). There is a little bit of set up between them, so, to make it easier for the rest of my program, I grouped them into: * `ListManager`: object, which initializes them to the right values when it is constructed. The three objects it stores are: * `Timer`: * `TriggerManager`: basically a wrapper around an `ArrayList` that manages `Trigger` objects * `CueList`: a linked list with the usual getters and setters that come with that. Since the rest of my program is only interacting/referencing the `TriggerManager` class, should I write wrapper methods for the objects it manages? 1. So should I make `ListManager.add(Cue c)` as a wrapper for `CueList.add(Cue c)`. 2. OR should I just add getters for the three objects and let the rest of my program use that to manipulate them. I tend to think that the later option is far more maintainable, but at the same time, the code produced if I make the wrapper just seems... prettier... What's the best practice in situations like this?
[ -0.0028554568998515606, 0.004771834705024958, -0.007288757245987654, 0.0048462580889463425, 0.019598843529820442, 0.01032084971666336, 0.005682895425707102, 0.030684029683470726, -0.015987738966941833, 0.012923427857458591, -0.001053465181030333, 0.011638609692454338, 0.02189224772155285, ...
[ 0.3728163242340088, -0.2040938436985016, 0.2689557373523712, -0.07299594581127167, -0.005926103331148624, 0.2597794532775879, -0.10713407397270203, -0.5771626234054565, -0.31999924778938293, -0.19543802738189697, 0.13269159197807312, 0.4233241677284241, -0.28581202030181885, -0.34630376100...
He said my tools would be given back to me once I get back to the town... but I have nothing! not in the drop-off box, not in the the mail... it's just gone
[ 0.003877235110849142, 0.018608229234814644, 0.020448504015803337, 0.018532026559114456, 0.016387855634093285, -0.0009371090563945472, 0.010071536526083946, 0.004958680365234613, -0.028341224417090416, -0.014275592751801014, -0.02679440565407276, 0.024590929970145226, 0.0060961986891925335, ...
[ 0.20413373410701752, 0.5406887531280518, -0.09250037372112274, -0.08709122985601425, 0.49599137902259827, 0.32099229097366333, 0.5589008331298828, 0.34772300720214844, -0.2621588110923767, -0.2989639341831207, 0.21505260467529297, 0.2293892502784729, -0.16338162124156952, 0.568647086620330...
I am running a server which runs on CentOS with cPanel (latest version) and I have it set to automatically update using yum. Since it needs to be rebooted in order to update the kernel (and possibly other things), I was wondering if there's any way to figure out if a reboot is required? **EDIT:** The server is a VPS and it's running on OpenVZ. Because of the way OpenVZ works, there's no `/boot/vmlinuz` and `yum list installed kernel` doesn't work either.
[ 0.009029650129377842, 0.007448623888194561, -0.0035031188745051622, 0.01853429526090622, -0.03341509401798248, -0.008315633982419968, 0.006958642043173313, 0.007308421656489372, -0.017701590433716774, 0.008431295864284039, -0.013302290812134743, 0.014416355639696121, 0.01221846416592598, 0...
[ 0.3413645029067993, 0.060555629432201385, 0.73585045337677, 0.07951399683952332, -0.060470301657915115, -0.1953023076057434, 0.29192832112312317, 0.35242539644241333, -0.42518526315689087, -0.7961402535438538, -0.15984463691711426, 0.6556363701820374, -0.06248212233185768, 0.40925103425979...
I have set up a WYSIWYG editor on one of my plugin settings pages. The content saves, but only after you hit save twice. If you hit it once, you get he message for settings saved, but the content doesn't actually save. You refresh the page and it reverts back to its previous state. I'm initializing the editor using wp_editor, like so: $single_optin_message_parameters = array( 'teeny' => true, 'textarea_rows' => 15, 'tabindex' => 1, 'textarea_name' => 'single-optin-message' ); <?php wp_editor( $this->optionVal['single-optin-message'] , 'single_optin_message', $single_optin_message_parameters); ?> and I'm saving the content via AJAX. $('#form').submit(function (e) { // Make sure the api key exists if (blankFieldCheck()) { $.ajax({ type: 'POST', url: ajaxurl, data: { action: 'yks_form', form_action: 'update_options', form_data: $('#yks-form').serialize() }, dataType: 'json', success: function (RESPONSE) { if (RESPONSE == '1') { $('#yks-status').html('<div class="updated"><p><?php _e('The options were saved successfully!', 'yikesplugin'); ?></p></div>'); $('#yks-status').slideDown('fast'); } else { $('#yks-status').html('<div class="error"><p><?php _e('The options could not be saved (or you did not change them).', 'yikes-inc-easy-mailchimp-extender'); ?></p></div>'); $('#yks-status').slideDown('fast'); console.log(RESPONSE); } }, error : function(RESPONSE2) { console.log(RESPONSE2.responseText); } }); } e.preventDefault(); }); This works when the field is a standard `<textarea></textarea>` but the second I convert it to a WYSIWYG, I need to hit save twice for the data to actually save. I'm not seeing why. I've tested the data that is serialized when saving the form, and I can see my new data has been passed along, and I get the confirmation that it saved. Then I refresh the page and it reverts. No sense made.
[ 0.0004658530233427882, 0.017415188252925873, -0.0006153255235403776, 0.017606152221560478, 0.010273432359099388, 0.011686877347528934, 0.008887657895684242, 0.011994456872344017, -0.016331739723682404, -0.00018612248823046684, -0.01642179861664772, 0.017285775393247604, 0.001438645413145423,...
[ 0.1401916742324829, -0.22403016686439514, 0.6932755708694458, -0.1321530044078827, 0.028815988451242447, 0.2159792184829712, 0.28445279598236084, -0.4388190507888794, 0.05859241262078285, -0.8765246272087097, -0.06632710993289948, 0.762922465801239, -0.24295571446418762, 0.0290730446577072...
I've had a problem with my android, i installed an corrupt bootanimation.zip, making the boot impossible. After tons of reinstalls and wipes, something happened: My phone shows "android" when turning it on. After that, a black screen appears and stays forever. So, i've got an friend phone and called my number. my smartphone started to vibrate, as did my virtual keys when i press them, so the phone it's working, just don't show the image! It's not a problem with the screen, because i can enter in recovery and i see the ANDROID logo. I just got to system/media and edited a bootanimation.zip, i did this: oppened the zip, and edited an .txt file inside it, i changed 1080x1920 to 540x960 and the file got corrupted. IS there something to fix it in my case? i don't think it's relevant but the phone is an CCE SK504 brazilian.
[ -0.0016167252324521542, 0.00016653258353471756, 0.005370622500777245, 0.006940918043255806, -0.03926023095846176, -0.01362491026520729, 0.005486762151122093, 0.01593973860144615, -0.009518875740468502, -0.006974183954298496, -0.019677218049764633, 0.014626582153141499, 0.01785789430141449, ...
[ 0.25740423798561096, 0.011957474984228611, 0.3283582627773285, -0.06068301573395729, 0.19301475584506989, 0.22860006988048553, 0.5758646130561829, 0.3827172517776489, -0.3748024106025696, -0.6593528389930725, 0.18836960196495056, 0.5996575355529785, -0.2632971704006195, 0.13500669598579407...
My question does not have to do with the correctness/incorrectness of 'neither do I'/'me neither', but with the presence of the 'yes' (or 'yeah', which is how it most often 'comes out' for me) at the beginning. If someone were to say: > I love chocolate. I'd naturally answer (orally) one of the two: > Yeah, so do I. / Yeah, me too. But if someone were to say: > I don't like driving. Would it be normal to answer: > Yeah, neither do I. / Yeah, me neither.
[ -0.010011879727244377, 0.0024594203568995, -0.017684433609247208, 0.0041743055917322636, -0.027686547487974167, 0.0034825755283236504, 0.00700428755953908, -0.0054344055242836475, -0.008320609107613564, -0.014646271243691444, 0.0011114847147837281, -0.00048594907275401056, 0.0149337919428944...
[ 0.5269190073013306, 0.5162363648414612, 0.3538649082183838, 0.02342912182211876, -0.11191416531801224, 0.2871721088886261, 0.13454508781433105, 0.2624214291572571, -0.30934491753578186, -0.035445526242256165, 0.004398986231535673, 0.48154526948928833, 0.19367507100105286, 0.049961131066083...
I am having a real hard time understanding the principles behind a question I've come across during test prep. Here is the question: > Q: A proton and an electron are traveling in the uniform magnetic field with > identical velocities. If the movement of both particles is perpendicular to > the magnetic field lines, is the following true? > > _The proton will experience a greater kinetic energy change than the > electron._ On one hand I think if there is a $\mathrm{KE}$ change for the particles, they would have to be both changed equally, since an input of force to each particle would be converted into $\mathrm{KE}$. On the other hand, since $\mathrm{KE} = \frac{1}{2}mv^2$, and both particles are traveling at the same velocity, it seems the proton's much large mass would mean it has a greater $\mathrm{KE}$ change. However, neither of my thoughts were on target, as the answer reads as follows: > False, because the magnetic force does not do work, so it cannot change the > kinetic energy of either particle. How does this make sense? Won't the particles change velocity when exposed to the magnetic field, and therefore change $\mathrm{KE}$?
[ 0.013252750039100647, 0.0107956537976861, -0.0021015394013375044, 0.003284076927229762, 0.0028688572347164154, -0.01282656379044056, 0.007883353158831596, -0.022625450044870377, -0.015825385227799416, -0.019924398511648178, -0.00996074266731739, 0.022189706563949585, 0.00888998806476593, 0...
[ 0.2244378626346588, -0.12153132259845734, 0.3474940061569214, 0.031125571578741074, -0.08994454145431519, 0.12985390424728394, -0.210743710398674, -0.3404293358325958, -0.27555176615715027, -0.7796697616577148, 0.13055695593357086, 0.27896374464035034, -0.22666777670383453, 0.5872124433517...
How does one break the execution of a long-running process in the python console of ArcMap? For example, how do you break a long iteration like the one below once it is started? for i in range(1, 50): # some long process which takes over a minute to complete I want to stop the process at any time I want by pressing a keyboard combination, clicking a button or something similar **while the code I have input in the console window is running**.
[ 0.011440813541412354, 0.017160935327410698, -0.015500182285904884, 0.008889179676771164, -0.021020350977778435, 0.0013555571204051375, 0.009191344492137432, 0.01256288681179285, -0.0175765547901392, 0.023240817710757256, -0.0030415691435337067, 0.015736199915409088, -0.004048012662678957, ...
[ 0.2323259860277176, -0.18932470679283142, -0.09154791384935379, 0.16165582835674286, 0.13445988297462463, -0.017024898901581764, 0.36783018708229065, -0.43898382782936096, -0.4065706431865692, -0.26401135325431824, -0.1563056856393814, 0.4691096544265747, 0.01331182848662138, -0.0984055846...
I have been trying to make code work for iterating piecewise linear maps on the unit interval in Mathematica to compare with MATLAB and Maple. Tent and logistic maps are easy to implement but Bernoulli and other non-traditional maps have been difficult (at least for me). I wish to investigate histograms of the invariant densities of map iterations for non periodic orbits.
[ 0.005194112658500671, 0.008808397687971592, -0.013912596739828587, 0.012000356800854206, 0.014878684654831886, 0.0010621953988447785, 0.011612525209784508, 0.025457143783569336, -0.01799505576491356, -0.030436167493462563, -0.009762206114828587, 0.013900489546358585, -0.03164763003587723, ...
[ 0.12206389009952545, 0.043713588267564774, -0.020604925230145454, -0.007997259497642517, -0.26790091395378113, -0.05604507774114609, -0.21229232847690582, -0.1871303915977478, -0.10032498091459274, -0.9852668046951294, 0.10313140600919724, 0.3783037066459656, 0.029972979798913002, 0.330598...
I read somewhere that the West Country pronunciation of oi for words like fight and like would become foight and loik. Was this really more common in the 17th and 18th Century?
[ 0.02832338958978653, 0.03644607588648796, -0.05097883567214012, 0.009689636528491974, -0.05411504954099655, 0.044694434851408005, 0.01890956424176693, 0.017011217772960663, -0.03038635477423668, 0.06090971454977989, 0.004245486576110125, 0.03399195894598961, 0.03316890075802803, 0.00053846...
[ 0.29346898198127747, -0.12749403715133667, -0.07347199320793152, -0.3884662389755249, -0.5456730127334595, 0.35510244965553284, 0.22481942176818848, 0.4644615948200226, -0.3484814763069153, -0.3771808445453644, 0.0005538386176340282, -0.11049462109804153, -0.07415352016687393, -0.267601877...
Is there a way to remove the yoast-seo-plugin's bulk title and description editor menu from the non-admins. It is an awesome feature but I would like my users to keep off from it. I am using the very latest versions of wp and the plugin. ![enter image description here](http://i.stack.imgur.com/8rqsB.png) * * * I am trying a few variations of this code, but does not seem to be working. if ( ! current_user_can('create_users') ) { add_action( 'admin_menu', 'nonadmin_remove_bulk_menu', 999 ); function nonadmin_remove_bulk_menu() { remove_menu_page('page=wpseo_bulk-title-editor.php'); } }
[ 0.010574615560472012, -0.00043223658576607704, -0.004024434834718704, 0.020721303299069405, -0.010993968695402145, 0.007782517001032829, 0.003633760614320636, 0.006939474027603865, -0.024659600108861923, 0.02494746260344982, -0.015416700392961502, 0.012719917111098766, -0.0019621336832642555...
[ 0.4340728521347046, 0.08013706654310226, 0.5589307546615601, 0.02681487798690796, 0.15034370124340057, -0.24102124571800232, 0.2709043025970459, -0.03709881380200386, -0.29547059535980225, -0.5833365321159363, -0.20319925248622894, 0.5799819827079773, -0.24939551949501038, -0.2715410292148...
How do I remove objects after building them, for example a fence that I placed without taking into account its orientation? I have right clicked on it like you would a structure but nothing happened. I have also tried `Shift`+`Alt`+`Click` and nothing has happened. I couldn't think of any other solutions as this is my first game.
[ -0.004317641258239746, 0.00502526480704546, -0.00023925896675791591, 0.0077604795806109905, 0.0052535212598741055, -0.011805612593889236, 0.006627419497817755, 0.007182592526078224, -0.02485504187643528, 0.02221732772886753, -0.00375348050147295, 0.019104324281215668, -0.004566122777760029, ...
[ 0.1250118762254715, -0.3067448139190674, -0.05615808069705963, -0.06662137806415558, -0.22030667960643768, -0.007326754275709391, 0.1861524134874344, -0.2599962651729584, -0.22699777781963348, -0.3975123465061188, 0.22709304094314575, 0.21909604966640472, -0.2946483790874481, 0.27090606093...
The following Matrix represents my Hamiltonian. m = {{ B/2 - d - j/2 + a, (Sqrt[2]*j)/2, M}, {(Sqrt[2]*j)/2, B/2 + a, 0}, {M, 0, (-3*B)/2 - d + j/2 + a} How can I define the variables used in matrix such that the Mathematica assumes as they are real. because with this matrix, mathematica gives complex eigenvalues but my eigenvalues are supposed to be real.
[ 0.004265695810317993, 0.009190208278596401, -0.0035936161875724792, -0.0020176032558083534, -0.010598059743642807, -0.009455847553908825, 0.004689025226980448, -0.010794052854180336, -0.009511965326964855, -0.017261192202568054, -0.009604174643754959, 0.0059357029385864735, -0.01736573874950...
[ -0.11433445662260056, 0.037823159247636795, 0.3612520098686218, 0.019580010324716568, -0.012042985297739506, 0.16342481970787048, 0.06539532542228699, -0.7180484533309937, -0.1827111393213272, -0.1506495326757431, 0.25859731435775757, 0.4789149761199951, -0.25677165389060974, 0.34047770500...
I would like to implement a panoramic view player on my website. I did some research and found the following options: buy Flash player, use Quicktime, or HTML5 I was wondering if someone has experience and can guide me towards a right solution. Are there free Flash plugins for this? This looks promising: http://flashpanoramas.com/player/ But 40 Euros is too much! I think...
[ -0.015934893861413002, 0.004182579927146435, -0.007736156228929758, 0.012368457391858101, 0.0029915443155914545, -0.02796042151749134, 0.00780824339017272, 0.03578311949968338, -0.021038901060819626, -0.0017844925168901682, -0.00737318629398942, 0.014495865441858768, 0.002922679064795375, ...
[ 0.4177585542201996, 0.17945583164691925, 0.3270953893661499, 0.18533140420913696, 0.05232640728354454, -0.12958283722400665, 0.135181725025177, 0.1970531940460205, -0.03353003412485123, -0.5892898440361023, 0.14399127662181854, 0.6935103535652161, -0.08089194446802139, -0.07769419252872467...
I want to estimate $n+m$ parameters with the equation: $$\hat\theta=\left[\frac{1}{N}\sum_{t=1}^N \varphi(t)\varphi^T(t)\right]^{-1}\left[\frac{1}{N}\sum_{t=1}^N\varphi(t)y(t)\right]$$ where $\varphi$ is a vector of regressors and $\theta$ the vector of parameters. Then my book derive an expression for the estimation error: $$\hat\theta-\theta_0 =\left[\frac{1}{N}\sum_{t=1}^N\varphi(t)\varphi^T(t)\right]^{-1} \left[\frac{1}{N}\sum_{t=1}^N\varphi(t)y(t)-\left\{\frac{1}{N}\sum_{t=1}^N\varphi(t)\varphi^T(t)\right\}\theta_0\right]$$ this makes no sense to me! Why the term in curly braces? And why inside the second factor? Please help.
[ 0.013618240132927895, 0.014532770961523056, -0.001066572149284184, 0.003263686550781131, 0.007303019054234028, -0.016331447288393974, 0.005081007722765207, -0.00934519525617361, -0.005766287446022034, -0.009653693996369839, -0.003792452858760953, 0.009477177634835243, -0.014276843518018723, ...
[ -0.3436882197856903, -0.07632629573345184, 0.6720910668373108, -0.067172572016716, 0.13604719936847687, 0.5261170864105225, 0.09629268199205399, -0.6568562388420105, -0.059268444776535034, -0.3884454667568207, 0.08117085695266724, 0.7168057560920715, -0.40507611632347107, 0.368008017539978...
The goal of some (or most?) Ingress players is to reach level 8. Honestly I am confused why. What do you get or do when you hit level 8? Do you get a new role? What's new versus playing in lower levels? What I have noticed is that some (or most?) L8 players drastically stop playing, the same way when one stops playing a video game title once he reaches the highest level and "beats" the game. Are you allowed to "start over" in Ingress?
[ -0.02637900970876217, 0.010273531079292297, -0.010860116221010685, -0.009611368179321289, -0.0024289353750646114, -0.006015336606651545, 0.007313101552426815, -0.004818824585527182, -0.013706845231354237, -0.004385219421237707, 0.008311446756124496, 0.022448059171438217, 0.012837105430662632...
[ -0.07230515033006668, -0.12806916236877441, 0.5237912535667419, 0.1663338989019394, -0.04616064578294754, -0.259494811296463, 0.4829665720462799, 0.24386051297187805, -0.509600818157196, -0.39362677931785583, -0.014895799569785595, 0.2745612561702728, -0.24148400127887726, 0.14232529699802...
The mass of a helium nucleus is less than the mass of two isolated protons and two isolated neutrons. When the component hadrons are assembled, this mass is lost as energy ($E=mc^2$). This makes it (at least sort of) seem like mass is a kind of potential energy. Matter and antimatter can annihilate each other, releasing energy ($E=mc^2$). This also makes it (at least sort of) seem like mass is a kind of potential energy. If I have a mass at approximately sea-level on Earth, will flying it away from Earth increase its mass? (If so, is this related to relativistic mass?) EDIT: The original question doesn't really ask what I mean to ask. Suppose that, after the mass has been flown into space, it is stopped relative to Earth. (I think that would require a geosynchronous orbit.) Would its mass be different than it was before it left Earth?
[ 0.0010837875306606293, 0.006555420346558094, 0.0044624460861086845, 0.00005291961133480072, 0.00174125493504107, -0.02016281522810459, 0.009045090526342392, -0.03414330631494522, -0.01072150282561779, -0.03196251764893532, -0.004306101240217686, 0.015514642000198364, -0.0038410783745348454, ...
[ 0.3609068691730499, 0.04675200954079628, 0.037916090339422226, 0.1432511806488037, -0.06071687862277031, -0.029972152784466743, 0.2787550389766693, -0.18928863108158112, -0.09329193830490112, -0.15857812762260437, -0.2065349966287613, -0.16873030364513397, -0.2268548607826233, 0.1694410592...
I'm looking to disable USB via the kernel for a high-performance server. How can I effectively administer the server, if problems occurs if USB isn't enabled? Without USB, keyboards and mice devices won't be able to function. I could do it through ILO through the network but I have the possibility of the NIC failing on me or the IP address changing via DHCP. Are there best practices on this?
[ 0.0009858692064881325, 0.005430939141660929, -0.007641980890184641, 0.002933747135102749, -0.03828943893313408, -0.011321812868118286, 0.007748195435851812, -0.018335221335291862, -0.01870291866362095, -0.011437091045081615, -0.022623786702752113, 0.009439240209758282, -0.019290583208203316,...
[ 0.25430184602737427, 0.17806293070316315, 0.1624366194009781, 0.3341134786605835, -0.025542961433529854, -0.17922203242778778, 0.1513569951057434, 0.025724710896611214, -0.06144684925675392, -0.7093130946159363, 0.10066206753253937, 0.6047796607017517, -0.32849159836769104, 0.0396800898015...
in my effort in making the WP backend as user friendly as possible, I'm looking for a way to limit the amount of child (or submenu items) of the menu(s) under "admin > appearance > menus". They idea is: when a theme doesn't support a second menu level, its should also not be possible in the backend to add (drag) items to this level. I guess to achieve this, I would have to dive in the jQuery UI library (and more specifically the jQuery sortable library). Preferably without having to edit WP's core. Does anyone has any idea or experience in this? Looking forward to your ideas.
[ 0.011086540296673775, 0.015620909631252289, -0.005798442289233208, 0.007165351416915655, 0.0203913152217865, -0.00811847299337387, 0.006998598109930754, 0.01973963901400566, -0.01814364641904831, -0.0016544098034501076, -0.025378432124853134, 0.014677944593131542, -0.02130335196852684, 0.0...
[ 0.0017015942139551044, -0.1592353880405426, 0.49415746331214905, 0.09741991758346558, -0.26627421379089355, -0.06484175473451614, 0.10630594193935394, -0.07784438878297806, -0.2350982129573822, -0.7104848623275757, -0.21305836737155914, 0.3348929286003113, -0.011598263867199421, 0.23349098...
A similar problem has been reported here with no solution:https://www.centos.org/modules/newbb/print.php?form=1&topic_id=42696&forum=56&order=ASC&start=0 I've added and upgraded gcc to centos cd /etc/yum.repos.d wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo yum --enablerepo=testing-1.1-devtools-6 install devtoolset-1.1-gcc devtoolset-1.1-gcc-c++ scl enable devtoolset-1.1 bash The result is this for my gcc [root@hhvm-build-centos cmake-2.8.11.1]# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/opt/centos/devtoolset-1.1/root/usr/libexec/gcc/x86_64-redhat-linux/4.7.2/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/opt/centos/devtoolset-1.1/root/usr --mandir=/opt/centos/devtoolset-1.1/root/usr/share/man --infodir=/opt/centos/devtoolset-1.1/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --disable-build-with-cxx --disable-build-poststage1-with-cxx --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,fortran,lto --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --disable-libgcj --with-ppl --with-cloog --with-mpc=/home/centos/rpm/BUILD/gcc-4.7.2-20121015/obj-x86_64-redhat-linux/mpc-install --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.7.2 20121015 (Red Hat 4.7.2-5) (GCC) And I tried to then install cmake through http://www.cmake.org/cmake/resources/software.html#latest But I keep running into this error: Linking CXX executable ../bin/ccmake /opt/centos/devtoolset-1.1/root/usr/libexec/gcc/x86_64-redhat-linux/4.7.2/ld: CMakeFiles/ccmake.dir/CursesDialog/cmCursesMainForm.cxx.o: undefined reference to symbol 'keypad' /opt/centos/devtoolset-1.1/root/usr/libexec/gcc/x86_64-redhat-linux/4.7.2/ld: note: 'keypad' is defined in DSO /lib64/libtinfo.so.5 so try adding it to the linker command line /lib64/libtinfo.so.5: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status gmake[2]: *** [bin/ccmake] Error 1 gmake[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2 gmake: *** [all] Error 2 The problem seems to come from the new gcc installed because it works with the default install. Is there a solution to this problem?
[ -0.012628978118300438, 0.00016488716937601566, -0.00994843989610672, 0.02131764218211174, -0.007063255645334721, -0.011368229985237122, 0.006936304271221161, -0.003068738617002964, -0.019121268764138222, -0.02224808558821678, -0.009251841343939304, 0.01518102828413248, -0.007838335819542408,...
[ 0.0881631076335907, -0.11643357574939728, 0.5566436052322388, 0.20708386600017548, -0.051983755081892014, -0.10976747423410416, 0.23917855322360992, -0.3893386125564575, -0.5125041007995605, -0.44452741742134094, -0.16676288843154907, 0.5758280754089355, -0.17642001807689667, -0.0523535162...
The ionization degree of a plasma is given by the Saha equation, which depends on the temperature and the particle specific ionization energy. In thermal equilibrium, the relation between ionization and its electric potential is given by the Boltzmann relation. It is common practice to induce a plasma via electric voltage (for example in Neon lamps), and there are also configurations with periodically applied electric fields, such as the dielectric barrier discharge. ![enter image description here](http://upload.wikimedia.org/wikipedia/commons/3/3e/Simple_representation_of_a_discharge_tube_- _plasma.png) From what I understand, the idea is to induce polarization and consequently electrical breakdown of the gas (how does this work?), and raise the temperature via an electrical arc (is this already the plamsa?). My question is: > In artificially generated plasmas what is the quantitative relation between > the applied electric field/voltage and the ionization? I'd also be interested in the time dependence of the plasma on the applied field frequency.
[ 0.009753676131367683, 0.015120432712137699, 0.004704023711383343, 0.02467077597975731, -0.028115063905715942, -0.0036178999580442905, 0.01092737540602684, -0.018836628645658493, -0.01835411787033081, -0.0016686050221323967, -0.016536284238100052, 0.02826884016394615, -0.05765952169895172, ...
[ 0.18081510066986084, -0.14403431117534637, 0.5227025151252747, -0.4113408923149109, -0.16111505031585693, -0.08519727736711502, -0.0920395776629448, -0.7286284565925598, 0.058712225407361984, -0.235233336687088, -0.22229133546352386, 0.20280729234218597, -0.4726673364639282, 0.580598115921...
My company has many WCF services which may or may not be replaced in the near future. The old web application is written in WebForms and communicates straight with these services via SOAP and returns `DataTables`. Now I am designing a new modern web application in a modern style, an AngularJS client which communicates with an ASP.NET Web API via JSON. The Web API then communicates with the WCF services via SOAP. In the future I want to let the Web API handle all requests and go straight to the database, but because the business logic implemented in the WCF services is complicated it's going to take some time to rewrite and replace it. **Now to the problem:** I'm trying to make it easy in the near future to replace the WCF services with some other data storage, e.g. another endpoint, database or whatever. I also want to make it easy to unit test the business logic. That's why I have structured the Web API with a `repository layer` and a `service layer`. The repository layer has a straight communication with the data storage (WCF service, database, or whatever) and the service layer then uses the repository (`Dependency Injection`) to get the data. It doesn't care where it gets the data from. Later on I can be in control and structure the data returned from the data storage (DataTable to POCO) and be able to test the logic in the service layer with some mock repository (using Dependency Injection). Below is some code to explain where I'm going with this. But my question is, does this all make sense? Am I making this overly complicated and could this be simplified in any way possible? Does this simplicity make this too complicated to maintain? **My main goal** is to make it as easy as possible to switch to another data storage later on, e.g. an ORM and be able to test the logic in the service layer. And because the majority of the business logic is implemented in these WCF services (and they return DataTables), I want to be in control of the data and the structure returned to the client. Any advice is greatly appreciated. **Update 20/08/14** I created a repository factory, so services would all share repositories. Now it's easy to mock a repository, add it to the factory and create a provider using that factory. Any advice is much appreciated. **I want to know if I'm making things more complicated than they should be.** So it looks like this: **1. Repository Factory** public class RepositoryFactory { private Dictionary<Type, IServiceRepository> repositories; public RepositoryFactory() { this.repositories = new Dictionary<Type, IServiceRepository>(); } public void AddRepository<T>(IServiceRepository repo) where T : class { if (this.repositories.ContainsKey(typeof(T))) { this.repositories.Remove(typeof(T)); } this.repositories.Add(typeof(T), repo); } public dynamic GetRepository<T>() { if (this.repositories.ContainsKey(typeof(T))) { return this.repositories[typeof(T)]; } throw new RepositoryNotFoundException("No repository found for " + typeof(T).Name); } } _I'm not very fond of`dynamic` but I don't know how to retrieve that repository otherwise._ **2. Repository and service** // Service repository interface // All repository interfaces extend this public interface IServiceRepository { } // Invoice repository interface // Makes it easy to mock the repository later on public interface IInvoiceServiceRepository : IServiceRepository { List<Invoice> GetInvoices(); } // Invoice repository // Connects to some data storage to retrieve invoices public class InvoiceServiceRepository : IInvoiceServiceRepository { public List<Invoice> GetInvoices() { // Get the invoices from somewhere // This could be a WCF, a database, or whatever using(InvoiceServiceClient proxy = new InvoiceServiceClient()) { return proxy.GetInvoices(); } } } // Invoice service // Service that handles talking to a real or a mock repository public class InvoiceService { // Repository factory RepositoryFactory repoFactory; // Default constructor // Default connects to the real repository public InvoiceService(RepositoryFactory repo) { repoFactory = repo; } // Service function that gets all invoices from some repository (mock or real) public List<Invoice> GetInvoices() { // Query the repository return repoFactory.GetRepository<IInvoiceServiceRepository>().GetInvoices(); } }
[ -0.022956348955631256, 0.013001122511923313, -0.0031477115117013454, 0.013150548562407494, 0.0033461523707956076, -0.021104805171489716, 0.009991037659347057, 0.022483093664050102, -0.017784103751182556, -0.019238503649830818, 0.0010282439179718494, 0.02562227100133896, -0.007194750476628542...
[ 0.46430766582489014, 0.5319626331329346, 0.593413233757019, -0.31273379921913147, -0.19919659197330475, -0.01249716803431511, 0.13891761004924774, -0.19374987483024597, 0.0330737866461277, -0.7997567057609558, 0.23893165588378906, 0.5496644973754883, -0.1715030074119568, 0.2026551812887191...
I have the latest firefox os device --the flame-- the developer reference device. I was wondering if it is possible to install android on it. Given that FirefoxOS is built on top of Android kernel and use the same drivers, albeit with different GUI and less buttons. Would that be possible? This question is very specific to the flame device, so it's different from other posted questions about generic devices
[ -0.015144610777497292, -0.004081422463059425, -0.012845096178352833, -0.006335970479995012, -0.03109731152653694, -0.02603273279964924, 0.0083464989438653, 0.03221495449542999, -0.02191869728267193, -0.026827173307538033, -0.012231830507516861, 0.006826750468462706, 0.0054155439138412476, ...
[ 0.4299894869327545, 0.3425658941268921, 0.6145896315574646, 0.17678338289260864, 0.051682937890291214, -0.07203641533851624, -0.39415404200553894, -0.13122813403606415, 0.0751931443810463, -0.6312159299850464, 0.12969627976417542, 0.5456804633140564, -0.1624995768070221, 0.0736597031354904...
Here is explained what is ladder reset: What is a ladder reset? Am I correctly understand that during that: 1. ladder/league position/score will be reset; 2. amount of games played will be kept; 3. hidden rank will be kept; 4. you will need to play 5 qualification matches again, after that you will be/could be re-qualified into new league with scores beginning from 0. Is there something else?
[ -0.014526396058499813, 0.030426742509007454, 0.009807075373828411, 0.0035594897344708443, 0.030761925503611565, 0.00028781837318092585, 0.008330058306455612, -0.014594648964703083, -0.0121125727891922, -0.004008144605904818, -0.0035927051212638617, 0.01448789518326521, 0.001341481925919652, ...
[ -0.0002683602215256542, -0.39497482776641846, 0.38028401136398315, 0.17127768695354462, 0.14341063797473907, -0.07219728827476501, 0.4371887445449829, -0.20962974429130554, -0.6640528440475464, -0.4596252739429474, 0.24679963290691376, 0.5528839230537415, -0.059842512011528015, 0.027889559...
GDAL includes a resampling method beyond the normal mix of nearest neighbor, bilinear, cubic and splines: "Lanczos windowed sinc resampling". I understand that its a convolution filter, but unlike images where results tend to be subjective, the resampling used for spatial data has other implications. What's Lanczos and how does using it affect the output?
[ -0.009692293591797352, 0.0028617396019399166, -0.011388830840587616, 0.018466787412762642, -0.010767078958451748, -0.048798538744449615, 0.01305019948631525, 0.016005096957087517, -0.018420366570353508, -0.003951286897063255, -0.014323825016617775, 0.013129652477800846, -0.010468997992575169...
[ -0.3442640006542206, -0.11580909788608551, 0.651377260684967, -0.0777197927236557, -0.31611648201942444, -0.0855892077088356, -0.19562193751335144, -0.23145021498203278, -0.14419934153556824, -0.44687533378601074, -0.40121373534202576, 0.3045679032802582, -0.4699595868587494, -0.0020141534...
I have a non-rooted Sony Xperia running Android 4.3 and I have recently have bought a Belkin CarAudio Connect AUX with Bluetooth. It connects fine and it all works however it left me wanting more. Currently pressing the button on the CarAudio Connect pauses and plays the audio, a feature that I wish to keep. However, I was hoping that a double tab or a long press can do a Google voice search so I can call or text people (or find out important information like the height of the Eiffel Tower) while driving. How would I set this up? I have tried 'Bluetooth Launch' from the Play store but it didn't do anything and I couldn't find any similar apps. I was thinking a Tasker task or a similar app but I don't know how to set it up or what action to look for. Please help.
[ -0.015841562300920486, -0.004999277647584677, -0.013333551585674286, 0.0036353846080601215, 0.011807797476649284, -0.011264605447649956, 0.008739640936255455, -0.004884290508925915, -0.012911221012473106, 0.0037345020100474358, -0.010788673534989357, 0.0022076922468841076, 0.0037653024774044...
[ 0.6728092432022095, 0.16024531424045563, 0.5901596546173096, 0.4152156710624695, -0.16019411385059357, 0.003052682150155306, 0.2126326858997345, -0.08742053806781769, -0.013655586168169975, -0.4503900408744812, 0.2346067875623703, 0.7255359888076782, -0.13349859416484833, 0.269155651330947...
So I've got an HP-UX 9 box that I'm trying to backup, first to a tape with fbackup, to no avail, and now to a folder shared over NFS. I'm using the command "tar -cvf /nfs/Results/backup.tar /" where the single '/' should mean that I want everything within the root directory to be backed up, but for whatever reason it's only backing up a certain directory within /dev/ and then terminating. I get the feeling it doesn't like how I'm specifying the directory to be backed, so how might I get around this?
[ -0.006830903701484203, 0.012851440347731113, -0.0075278328731656075, 0.01630614884197712, -0.003813407849520445, 0.0032241404987871647, 0.006416668649762869, -0.003990275785326958, -0.01804615929722786, -0.01955466717481613, -0.009797710925340652, -0.008110202848911285, -0.00808674842119217,...
[ 0.3936461806297302, -0.007023556157946587, 0.24101175367832184, -0.10946359485387802, 0.2497248500585556, -0.1307460367679596, 0.06266648322343826, 0.013048638589680195, -0.5701907277107239, -0.3504650294780731, -0.13355004787445068, 0.8047512173652649, -0.14707697927951813, 0.135210514068...
Some Chinese languages have the concept of Literary and colloquial readings, where the pronunciation of words, if you will, change between literary readings and vernacular readings. Does English have this concept at all?! (Perhaps something like want to vs. wanna?)
[ 0.013769498094916344, 0.029500506818294525, 0.00837490614503622, 0.03362221270799637, -0.028563765808939934, -0.002292474266141653, 0.014153718948364258, -0.005881925113499165, -0.02581707015633583, 0.028357800096273422, -0.02265741117298603, 0.006865962408483028, 0.03187983110547066, -0.0...
[ 0.29710641503334045, -0.13414625823497772, -0.21453994512557983, -0.11540407687425613, -0.10495967417955399, 0.1974489390850067, 0.2866980731487274, 0.8522382378578186, -0.2502717673778534, -0.2665974497795105, -0.149809330701828, 0.3102418780326843, 0.03177393600344658, -0.698219835758209...
When WordPress 3.8 released, I upgraded most of my sites. However, there is a nagging question in the back of my mind. Will the WP auto update process check whether all the plug-ins are working with the update or will it proceed without that check? In which case how do I stop the auto updates for sites which I know are having plug-ins which may not work with the later versions of WP.
[ -0.004873204976320267, -0.0017652942333370447, 0.00005070184852229431, 0.022361524403095245, -0.0043930658139288425, 0.004755084402859211, 0.007879531942307949, -0.015309056267142296, -0.02443648874759674, 0.006003235932439566, -0.017953820526599884, 0.016356201842427254, 0.00097527663456276...
[ 0.0827878788113594, 0.05469762533903122, 0.8035239577293396, -0.17426884174346924, -0.43104711174964905, 0.07829537987709045, 0.5111002922058105, 0.11026500165462494, 0.04105950519442558, -0.8078218698501587, -0.057475242763757706, 0.931216299533844, -0.5804728865623474, 0.05406504124403, ...
I got a TF2 guest pass last Monday, and since it's only to play for 3 days, I wanted to wait for this weekend to redeem it. Up until 2 days ago I got the pop-up that told me to redeem it in that moment, I just closed it and it re-appeared the next day. I wanted to activate it yesterday, but I found it no where in the Steam interface, and the pop-up hasn't appeared again. Did I lose it?
[ -0.0025094086304306984, 0.005764611065387726, -0.004809022881090641, 0.01453503780066967, 0.01585572212934494, -0.015202583745121956, 0.006239933893084526, -0.020831536501646042, -0.020171094685792923, -0.005087780300527811, -0.00853729248046875, 0.014853029511868954, 0.01958065666258335, ...
[ 0.1700163036584854, -0.35357028245925903, 0.5539541244506836, 0.2237250655889511, 0.009495909325778484, -0.3780655562877655, 0.49631941318511963, 0.08363765478134155, -0.19726639986038208, -0.2565899193286896, 0.06347079575061798, 0.17626439034938812, -0.12093422561883926, 0.26201635599136...
Consider the following example: \documentclass{article} \usepackage{pst-plot} \begin{document} \psset{ xunit=0.05, yunit=0.003, algebraic } \begin{pspicture}(-17,-140)(213,2540) % Axes \psaxes[ dx=20, dy=250, labels=none, ticklinestyle=dotted, tickwidth=0.5pt, xticksize=0 2250, yticksize=0 200 ]{->}(0,0)(-4,-60)(210,2400)[$x$,0][$y$,90] \psaxes[ dx=20, Dx=20, dy=250, Dy=250 ](0,0)(-4,-60)(210,2400) % Functions. \psplot[linecolor=red]{0}{200}{1.75*x+500} \rput(190,700){$y$} \psplot[linecolor=blue]{0}{200}{10*x} \rput(190,2030){$z$} \end{pspicture} \end{document} ![output](http://i.stack.imgur.com/vLqQl.jpg) What is the 'correct'/'best' way to add both a grid with dotted lines and solid tick marks to a graph using `pst-plot`? As can be seen in the example above, I have done it by drawing two coordinate systems, but is there a simpler way of getting the same?
[ 0.0013017633464187384, 0.007217228412628174, -0.009494565427303314, 0.023031990975141525, 0.02609536610543728, -0.003861101809889078, 0.007449503056704998, 0.0038144250866025686, -0.00933969859033823, -0.006639455910772085, -0.009355010464787483, -0.005050564184784889, -0.003882609074935317,...
[ -0.08234523236751556, -0.45158499479293823, 0.7861535549163818, 0.16795538365840912, 0.049416959285736084, 0.25048086047172546, -0.01786944828927517, -0.38200491666793823, -0.5056872367858887, -0.5387558341026306, 0.2508438229560852, 0.11791960150003433, -0.07862856239080429, 0.22663928568...
I have a client for the WMS-Services of my mapserver. The client program is written in javascript and it uses Openlayers (v. 2.12). The map has as a base layer "Google satellite"-Layer and the mercator projection. The WMS layers are overlayers. Some of them have as a source data - raster data and some of them have as data - vector data. I have no problem with WMS "raster" layers. But I have a problem with WMS "vector" layers. If my Openlayers map is dragged too much to the left and the generated request to mapserver is started, the WMS "vector" layers go to be invisible (and it happens only on the lowest zoom level). I found out that the bbox in generated requests is in some way wrong because the mapserver response is empty: I tested the automatically generated request strings as links in my browser (firefox or Chrom). I have modified the mapfile and I added the mercator projection to it. But it did not help. Here is the begin of the map file: ` MAP NAME "africa_southafrica_admin" PROJECTION "init=epsg:4326" "init=epsg:3857" "init=epsg:900913" END STATUS ON TRANSPARENT ON UNITS METERS WEB METADATA "wms_srs" "epsg:4326 epsg:3857 epsg:32733 epsg:900913" "wms_title" "ROCEEH Southafrica" "wms_onlineresource" "https://www.roceeh.uni- tuebingen.de/cgi-bin/mapserv?map=mapdata/MAP_88361.map" "wms_enable_request" "*" "ms_enable_modes" "*" "labelcache_map_edge_buffer" "-30" END END MAXSIZE 10000 SIZE 2048 2048 EXTENT -180.0 -89.0 180.0 89.0 FONTSET "font/fontset" LAYER NAME "SRTM_90m_Screening" STATUS OFF CLASS STYLE OUTLINECOLOR 102 255 51 END NAME "Satellite_SRTM_90m" LABEL TYPE BITMAP SIZE SMALL COLOR 102 255 51 END END TOLERANCE 3 PROJECTION "init=epsg:4326" "init=epsg:900913" END GROUP "Satellite_Data_Index" LABELITEM "name" METADATA "wms_title" "SRTM 90m" "wms_group_title" "Satellite Data Index" "wms_abstract" "No information available." "wms_include_items" "all" "gml_include_items" "all" "gml_geometries" "the_geom" "gml_the_geom_type" "multipolygon" END ...` Here two Requests to Mapserver: the first don't work and the second is fine: 1) https://www.roceeh.uni-tuebingen.de/cgi- bin/mapserv?map=mapdata/MAP_88361.map&FORMAT=image%2Fpng&LAYERS=SRTM_90m_Screening&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A3857&BBOX=-45940489.454273,-7333063.5634033,-18555242.460298,12831635.991646&WIDTH=1399&HEIGHT=1030 2)https://www.roceeh.uni-tuebingen.de/cgi- bin/mapserv?map=mapdata/MAP_88361.map&FORMAT=image%2Fpng&LAYERS=SRTM_90m_Screening&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A3857&BBOX=-13203427.488628,-10777010.309341,14181819.505347,9387689.245708&WIDTH=1399&HEIGHT=1030 My Question is: what I can do or how can I control the automatically generated Requests to avoid the described misbehavior. Thanks in advance, ZK.
[ -0.006806712597608566, 0.00055513164261356, -0.000029301882022991776, 0.020185332745313644, 0.012153645977377892, -0.0008907895535230637, 0.009621313773095608, -0.0029487230349332094, -0.013588055968284607, -0.011653471738100052, -0.00004390766844153404, 0.0211203433573246, 0.001093278406187...
[ 0.28646814823150635, 0.24549470841884613, 0.8682355284690857, -0.047415636479854584, -0.11093633621931076, -0.10054803639650345, -0.07535908371210098, 0.18741703033447266, -0.18302425742149353, -1.1240419149398804, -0.05522217974066734, 0.25964319705963135, -0.34668612480163574, 0.16784906...
If I batch SSH this command: echo close | /usr/bin/telnet IPADDRESS 657 Then I get this output: No environment-specified terminal type. but why? The OS FROM I'm SSHing is a Linux, and the OS where I'm SSHing TO is AIX.
[ 0.0019245470175519586, 0.002319676335901022, -0.00267460267059505, 0.0039144838228821754, -0.033100347965955734, 0.004106790758669376, 0.01327742449939251, 0.023022625595331192, -0.02355719916522503, 0.013396806083619595, -0.027113301679491997, 0.004691794980317354, 0.0038672646041959524, ...
[ -0.1649458259344101, 0.2543105483055115, 0.45316141843795776, -0.46837499737739563, -0.09367348253726959, 0.3196190595626831, 0.36893144249916077, 0.4180489778518677, -0.2708932161331177, -0.7879031300544739, -0.11498630046844482, 0.17950469255447388, -0.41156426072120667, 0.19945213198661...
I have flashed my Micromax A89 first time to FUSION blast 1.2 successfully. All apps and phone working properly. But when I turned on my WiFi it connects but not accessing the browser and also I am not able to sign up for google acount. Also data connects cant connect to the internet.
[ -0.021728746592998505, -0.0017585791647434235, 0.0007110887672752142, 0.010998240672051907, -0.038545746356248856, -0.04671333730220795, 0.010387030430138111, 0.0061420355923473835, -0.01538888644427061, 0.008617494255304337, -0.016076169908046722, 0.025254415348172188, -0.011243150569498539...
[ 0.41118818521499634, 0.09056039899587631, 0.3306652009487152, 0.19937466084957123, -0.06522314995527267, -0.11332850158214569, 0.3273255527019501, -0.003743126755580306, 0.0308684129267931, -0.7352268099784851, 0.004695734940469265, 0.6277663707733154, 0.08797190338373184, 0.18735778331756...
The LaTeX Wikibook writes: > Please understand: you do not _have to_ use floating tables. It only looks > more professional. If you want to place your tables where they lie in your > source code, do not use `table` at all! This is a very common > misunderstanding among newcomers. LaTeX works with an intricate table placement algorithm, but I often prefer immediate placement with the `H` placement specifier (enabled by the `float` package). My understanding is that captions and table/figure numbering require the `table`/`figure` environments. Is this really so, or are there ways around that? What other reasons are there for using `table`/`figure` if we know that we don't want a particular object to float?
[ 0.014951291494071484, 0.006077103782445192, -0.007029187865555286, 0.0010867668315768242, 0.02554301731288433, 0.010886919684708118, 0.008215268142521381, -0.016910195350646973, -0.015273978933691978, 0.0041953567415475845, -0.015325017273426056, 0.0034910812973976135, 0.005552135873585939, ...
[ 0.13016466796398163, 0.21537835896015167, 0.5396542549133301, -0.1129394918680191, 0.06752903014421463, -0.24752551317214966, -0.2160886973142624, 0.07814547419548035, -0.21834374964237213, -0.6872183680534363, -0.27363815903663635, 0.28168731927871704, -0.3296002447605133, -0.092678248882...
I am really new to Latex and this has been my place of reference for the last weeks, so I wanted to ask you about a really weird thing that I have no clue how to solve... Following this thread: Plotting bell shaped curve in TikZ-PGF I am trying to include Normal distributions inside a minipage and node, but strangely, while the distributions outside the minipage look correct, inside it they sort of lose resolution... I am including a working example below. I would really appreciate your help. Thanks a lot in advance! \documentclass[ignorenonframetext, xcolor={dvipsnames,table}]{beamer} \mode<presentation> { \usetheme{Berkeley} \usecolortheme{dolphin} \usepackage{tikz} %for transparency \usetikzlibrary{positioning,shadows,calc} \usepackage{pgfplots} \pgfmathdeclarefunction{gauss}{2}{% \pgfmathparse{1/(#2*sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))}% } } \begin{document} \begin{frame} \begin{center} \begin{tikzpicture} %these distributions look flawless, but I don't want to picture them \begin{axis}[ no markers, domain=0:10, samples=100, smooth, axis lines*=left, height=3cm, width=5cm, xtick=\empty, ytick=\empty, enlargelimits=upper, clip=false, grid=major] \addplot [cyan!50!black] {gauss(4,0.5)}; \addplot [thick,cyan!50!black] {gauss(6,1)}; \end{axis} \end{tikzpicture} \begin{minipage}{\textwidth} \begin{tikzpicture} \node[text width=.985\textwidth, draw=green!70!black, line width=3pt, inner sep=7.5pt, rounded corners, outer sep=0pt] at (0,0) { \small{\textcolor{green!70!black}{Tissue-specific expression\\}} \begin{tikzpicture} %these distributions look really distorted, and are the ones I want to include, inside the minipage \begin{axis}[ no markers, domain=0:10, samples=100, smooth, axis lines*=left, height=3cm, width=5cm, xtick=\empty, ytick=\empty, enlargelimits=upper, clip=false, grid=major] \addplot [cyan!50!black] {gauss(4,0.5)}; \addplot [thick,cyan!50!black] {gauss(6,1)}; \end{axis} \end{tikzpicture} }; \end{tikzpicture} \end{minipage} \begin{minipage}{\textwidth} \begin{tikzpicture} \node[text width=.985\textwidth, draw=pink, line width=3pt, inner sep=7.5pt, rounded corners, outer sep=0pt] at (0,0) { \small{\textcolor{pink}{Ubiquitous expression}} }; \end{tikzpicture} \end{minipage} \end{center} \end{frame} \end{document}
[ 0.00037106359377503395, -0.0010573655599728227, -0.005506116896867752, 0.034599076956510544, -0.00938829593360424, 0.0018353722989559174, 0.005948137491941452, 0.011070340871810913, -0.01901993528008461, -0.014885363169014454, -0.014219938777387142, -0.0007157443324103951, -0.017004586756229...
[ 0.25082850456237793, -0.1082744374871254, 0.48244065046310425, -0.002537608379498124, 0.19550807774066925, -0.1830659657716751, 0.005748781841248274, 0.14553643763065338, -0.2449609786272049, -0.5126844644546509, 0.1373298615217209, 0.24609670042991638, -0.2999512851238251, 0.2132459729909...
I am aware of disadvantages of "wait->stop" design, that usually is proposed with netcat: server$ cat test.dat | nc -q 10 -l -p 7878 client$ nc -w 10 remotehost 7878 > out.dat (It's not reliable : no meter how long you wait it's always possible that there was network bottleneck for one second longer. - Another thing -> why wait 10second if you can know immediately that data are transferred and start processing them !) I'd like solution, with **reliable and nice tcp stream closing**. I've found socat, with closing as described in `man socat` : > When one of the streams effectively reaches EOF, the closing phase begins. > Socat transfers the EOF condition to the other stream, i.e. tries to > shutdown only its write stream, giving it a chance to terminate gracefully. I found following commands working: Server sending file: server$ socat -u FILE:test.dat TCP-LISTEN:9876,reuseaddr client$ socat -u TCP:127.0.0.1:9876 OPEN:out.dat,creat Server receiving file: server$ socat -u TCP-LISTEN:9876,reuseaddr OPEN:out.txt,creat && cat out.txt client$ socat -u FILE:test.txt TCP:127.0.0.1:9876 Is it reliable? Can it be improved? (Have I used right options? Are there better options to setup? - There are so many of them with socat)
[ 0.008528994396328926, 0.012836514040827751, -0.005604684352874756, 0.005201251711696386, 0.0027510281652212143, 0.004624799359589815, 0.007696796208620071, -0.006668868009001017, -0.009830830618739128, 0.008375802077353, -0.010465619154274464, -0.0013699012342840433, -0.008265266194939613, ...
[ 0.1128789559006691, -0.22082877159118652, 0.2386160045862198, 0.2089136391878128, 0.042627934366464615, -0.3596011996269226, 0.17654813826084137, -0.10819131880998611, -0.2030988335609436, -0.6497528553009033, 0.1954241394996643, 0.33123332262039185, -0.17634643614292145, -0.01186490524560...
I'd like to use LibreOffice Calc or MS Excel to create and edit spreadsheets and include these in LaTeX (LuaLaTeX would be fine, too). It is necessary for me to get calculated values like `SUM(C2:C5)` as well. So far I've tried odsfile and exceltex. ~~Where odsfile didn't work at all~~ , exceltex did work but ignored calculated values. Has anyone successfully tried to include spreadsheet data with calculated values? **Update** This question is not the same as "I'd like a easy interface for LaTeX-Tables", as I look for a more comprehensive solution. We use spreadsheets for modeling our problems. When we refine our models, I'd like to update the TeX-based reports without exporting/importing many tables. That said, odsfile works pretty much as I wanted to. Thanks for your comments and suggestiongs so far. Do you know any other solutions like odsfile?
[ 0.017417503520846367, 0.011029500514268875, -0.015361733734607697, 0.009399127215147018, 0.034761764109134674, 0.01151912473142147, 0.009609103202819824, -0.00027466309256851673, -0.016466867178678513, -0.047954753041267395, 0.0036331932060420513, 0.002074296586215496, -0.02122589573264122, ...
[ 0.23201066255569458, 0.14626450836658478, 0.20868496596813202, 0.06267498433589935, -0.12423072010278702, -0.21523772180080414, -0.09281396865844727, -0.03844071179628372, -0.3009780943393707, -0.5715895891189575, 0.13384149968624115, 0.6045297384262085, -0.23562674224376678, 0.00002125631...
I need to allow the user to create an binary tree. I have a Backbone Model populating properly from the database, the problem I am stuck on is how do I setup the ui elements in a way that is fairly easy to use? The general idea is I want to create a boolean expression that contains logic and tokens. The tokens will be replaced later at runtime with appropriate model data when the expression is evaluated. You end up with a final expression like this: ((({Claim.State})=(TX))||(({Claim.PolicyState})!=(UT))) Ie, Evaluate to true if the State = TX or the Policy State is not UT Each expression can be a terminating node, and will have a value, or will have no value, and the left and right will point to the next respective expressions and an Operator The database structure looks something like this: 1. State Check: Left: **2** Right: **3** Operator: OR 2. State is TX: Left: **4** Right **5** Operator: Equals 3. State not UT: Left: **6** Right **7** : Operator: Not 4. Claim State: Left: nil Right: nil Value: {Claim.State} 5. Texas Literal: Left: nil Right: nil Value: "TX" 6. Policy State: Left: nil Right: nil Value: {Claim.PolicyState} 7. Utah Literal: Left: nil Right: nil Value: "UT" I am imaging something like for the Above expression, making a panel with 3 select lists, and a Label above it: ---------------------------------------------------------------- Name: |State Check| [.] Value [0] Expression Left (Edit/New) Operator Right (Edit/New) Expression: [ State is TX ] [ Or ] [ State is not UT ] (Save) ---------------------------------------------------------------- At this point I'm stuck. What should happen when say, the user wants to edit the left hand value? Do I open a new popup window to rerender the same form, just starting with **2** instead of **1** for the starting expression key? Should I replace the existing form with the new values, and somehow keep track of where the user is in reference to the starting expression? Maybe slide a new editor panel down below the current? What do you guys think? I'm really stuck on what to do.
[ 0.011337697505950928, 0.019277069717645645, -0.00465729646384716, -0.009008619002997875, -0.005108315031975508, 0.003441163105890155, 0.005928518250584602, -0.009006159380078316, -0.013751411810517311, 0.0033255850430577993, -0.0184923205524683, 0.010986304841935635, -0.011685831472277641, ...
[ 0.6324482560157776, -0.04383685812354088, 0.5500994920730591, 0.028883496299386024, 0.22731375694274902, 0.06245260685682297, 0.21181060373783112, -0.3842550814151764, -0.004972617141902447, -0.4414689838886261, 0.05932736396789551, 0.6160551905632019, -0.15713727474212646, 0.1035587936639...
We are launching a big international web site, that has local web sites on other domains. We are planning to configure the web site to behave in the following manner: Of a user with German (de) accept-language header visits "mysite.com", he is automatically redirected to "mysite.de". If on "mysite.de" he selects to go to "mysite.com", the specific "no redirect in future" cookie is added. Now, when he visits mysite.com, he is no longer redirected. Will this "initial redirect" behavior have any negative implication of website's reputation in search engines?
[ -0.021951943635940552, 0.0013352290261536837, -0.0075728194788098335, 0.012127285823225975, -0.01633657142519951, 0.012844638898968697, 0.007180330343544483, 0.006062064319849014, -0.011068819090723991, 0.016123391687870026, -0.0009248508140444756, 0.00587553670629859, 0.010462290607392788, ...
[ 0.29570451378822327, -0.1015448197722435, 0.533580482006073, 0.34200501441955566, 0.23003001511096954, -0.4704478085041046, 0.5464168190956116, 0.2604450285434723, 0.0817524716258049, -0.6128416061401367, -0.3759269416332245, -0.0727057233452797, 0.0007304474129341543, 0.2822076082229614, ...
i set my wordpress permlink to `/%category%/%postname%` now i'm using Nextgen Gallery so when i have a gallery in a page it will be something like `/cat/page?gallery=10` i want to make it something like `cat/page/gallery id/` i tried alot with wp_rewrite ... but no luck ... any help ? this is what i'm testing on .. it's not my code it's provided from wordpress ... i will put everything in its place when i found the way ... so don't worry i will not `flushRules` on `init` ... thanks a lot add_filter('rewrite_rules_array','wp_insertMyRewriteRules'); add_filter('query_vars','wp_insertMyRewriteQueryVars'); add_filter('init','flushRules'); // Remember to flush_rules() when adding rules function flushRules(){ global $wp_rewrite; $wp_rewrite->flush_rules(); } // Adding a new rule function wp_insertMyRewriteRules($rules) { $newrules = array(); //i don't know what should i put here $newrules[''] = ''; return $newrules + $rules; // } // Adding the id var so that WP recognizes it function wp_insertMyRewriteQueryVars($vars) { array_push($vars, 'id'); return $vars; }
[ 0.003181884065270424, 0.008989849127829075, 0.009709306992590427, 0.013922767713665962, 0.015579281374812126, 0.008261492475867271, 0.008071446791291237, -0.0013553015887737274, -0.01898791827261448, 0.012270579114556313, -0.008445722050964832, 0.002668808214366436, 0.004563316237181425, 0...
[ -0.06220047548413277, 0.03557102382183075, 0.7827391624450684, -0.2811339497566223, -0.09519146382808685, 0.08488180488348007, 0.23563510179519653, -0.13484084606170654, -0.22401143610477448, -0.9698982238769531, 0.09819764643907547, 0.3555430769920349, -0.3133637309074402, 0.1226473003625...
I saw a YouTube video of a Shen player who tried to ult an ally using the champ icons on the left, for my disgrace he didn't make it in time, but it is obvious he tried that for a good reason (which is that it _is_ possible). So my inquiries instantaneously became: * Can Shen ult this way? (if Yes, does it work with smart casting?) * Can I also use items or range-spells (e.g Nidalee heal or Zilean bombs) if my allies are within range? ( **bonus:** if they are not in range, will my champion walk towards them?)
[ 0.007929126732051373, 0.013987417332828045, 0.005196096375584602, 0.006722942925989628, -0.007856529206037521, -0.00017275428399443626, 0.006677667610347271, -0.0035551355686038733, -0.021071238443255424, -0.01900801993906498, -0.0004398442106321454, 0.008462118916213512, -0.0083232205361127...
[ 0.14869366586208344, 0.15536776185035706, -0.4195477366447449, 0.07710961252450943, -0.8441177606582642, 0.06347201764583588, 0.03108321689069271, -0.20110009610652924, -0.09101015329360962, -0.5056937336921692, 0.1962391585111618, 0.553904116153717, 0.3281674087047577, -0.1403747946023941...
I've just spent a while customizing a new install of kali Linux, however, I realise I've just set everything up on the root user account and not on the user account I created. As a result, I don't have my keyboard shortcuts, background, startup scripts, etc., in the user profile. I tried running the following commands to copy the profile and set the permissions: cp -r /root /home/user chown -R user /home/user Unfortunately it didn't work and none of the settings seem to have been applied to the user profile. Am I missing something or is there an easier way to migrate the settings of a profile to a new user?
[ 0.005964018404483795, -0.009601667523384094, 0.0024449145421385765, 0.02482578158378601, 0.0011075865477323532, -0.007112483959645033, 0.00894835777580738, -0.018873028457164764, -0.016257338225841522, -0.015106364153325558, -0.005998827051371336, 0.0011759829940274358, -0.013337552547454834...
[ 0.5239525437355042, 0.4328543543815613, 0.2437252551317215, -0.4544970691204071, 0.012126988731324673, 0.13158003985881805, 0.38217058777809143, -0.27697741985321045, -0.14274509251117706, -0.6214035153388977, 0.029787523671984673, 0.6700068712234497, -0.008696903474628925, 0.3989524841308...
My question has to do with the adjectives one can use to describe the very general shape of a fish if we think of these three axes: * tail-to-head axis * back-to-belly axis * side-to-side axis **Question 1** What adjectives shall I use to describe the fishes on these 3 axes? * tail-to-head axis * long vs short * back-to-belly axis * tall vs … * deep vs shallow * side-to-side axis * wide vs thin (I expect you to replace the adjectives "wide", "shallow", "thin", "long", "tall", etc… by appropriate adjectives) **Question 2** How can one describe the two extremes of the ratio of the tail-to-head distance over the back-to-belly distance? * tail-to-head/back-to-belly ratio * long vs round **Question 3** Can we say that this ratio expresses the "roundness" of the fishes?
[ 0.00752436276525259, 0.008508872240781784, -0.005323067307472229, 0.018275296315550804, 0.00467301532626152, -0.01084815338253975, 0.008695189841091633, 0.015635302290320396, -0.014891654253005981, -0.026632986962795258, -0.008804889395833015, 0.0034191084560006857, 0.004968734458088875, 0...
[ 0.35827645659446716, -0.19239525496959686, 0.2238287776708603, 0.047613754868507385, -0.27622225880622864, 0.6986507773399353, 0.3093501627445221, -0.1599230021238327, -0.32933881878852844, -0.8186630606651306, 0.5288802981376648, 0.5544643402099609, 0.2559584379196167, 0.4824357032775879,...
I'm running a CentOs 5.5 server and wanted to know what commands I needed to run to be able to do the following; I have 3 domains on the server - example1.com, example2.com, example3.com I wanted to set up in conf so that the file contents of each domain are in different directories, so that I can upload 3 completely different sites using the one server. ie: /home/site1/ would be the upload dir for example1.com, /home/site2/ would be for example2.com, etc. If someone could help me with a line by line for terminal it would be very much appreciated! Thank you!
[ -0.008236849680542946, 0.00867446605116129, -0.014312171377241611, 0.023331835865974426, 0.0047201779671013355, 0.005867965519428253, 0.009963843040168285, -0.0010013519786298275, -0.0233470406383276, 0.010356614366173744, -0.01578056812286377, -0.002903046552091837, 0.00370609387755394, 0...
[ 0.2935778498649597, 0.11231934279203415, 0.5285451412200928, -0.25622984766960144, -0.2934359014034271, 0.2394808828830719, 0.409685879945755, -0.11555517464876175, -0.2120845764875412, -0.823856770992279, 0.24820072948932648, 0.3219529986381531, -0.19710001349449158, 0.4293080270290375, ...
sending the following request in the browser works OK for me: http://localhost:8080/geoserver/wfs?request=DescribeFeatureType&typeName=topp:states but I'd need its output in a PHP-variable to parse/filter the result. However, when I send the same URL using curl, I get nothing. No error-message, nothing visible in geoservers logs. just nothing: $url = "http://localhost:8080/geoserver/wfs?request=DescribeFeatureType&typename=tanzania:Tan_regions"; ////Send request. $cwfs = curl_init(); curl_setopt($cwfs, CURLOPT_FORBID_REUSE, 1); curl_setopt($cwfs, CURLOPT_FRESH_CONNECT, 1); curl_setopt($cwfs, CURLOPT_HEADER, 0); curl_setopt($cwfs, CURLOPT_URL, $url); curl_setopt($cwfs, CURLOPT_RETURNTRANSFER, 1); curl_setopt($cwfs, CURLOPT_VERBOSE, 1); //Collect result. $feature_description = curl_exec($cwfs) or die(curl_error($cwfs)); curl_close ($cwfs); What am I do wrong?
[ -0.031735390424728394, -0.011606314219534397, 0.0035846440587192774, 0.015614375472068787, -0.0013734922977164388, 0.018080655485391617, 0.010387983173131943, 0.023005671799182892, -0.018412012606859207, 0.015322661027312279, -0.004805103875696659, 0.01838221773505211, -0.013178717344999313,...
[ 0.09016156941652298, 0.029601335525512695, 0.895232081413269, -0.08760569244623184, -0.44058191776275635, -0.09307132661342621, 0.7686891555786133, -0.18209180235862732, -0.04210911691188812, -0.9377801418304443, -0.21773719787597656, 0.10293516516685486, -0.6535494327545166, 0.43714115023...
This may be an easy answer for anybody. Is it possible to detect if a particle A is still in a superposition via the sending a group of particles B through a box containing particle A?
[ 0.02260800451040268, 0.02045484632253647, -0.0077776857651770115, 0.026541562750935555, 0.0355815626680851, -0.008576054126024246, 0.012110748328268528, -0.0155980559065938, -0.02519921213388443, -0.00441121868789196, -0.010249897837638855, 0.0262044258415699, -0.006809291895478964, 0.0061...
[ 0.3394835591316223, -0.18775609135627747, 0.06427635997533798, 0.13919958472251892, -0.030932649970054626, -0.0936146154999733, 0.39090442657470703, -0.24353797733783722, -0.34229350090026855, -0.34016117453575134, -0.2073153555393219, -0.11662573367357254, -0.4387599229812622, 0.260229617...
I just beat the mission, "Bleed Me Dry," and Red Lucy had her little _When Harry Met Sally_ moment. What I'm wondering is, does that outcome change if you are playing as a woman? As a man with the Confirmed Bachelor or Lady Killer perk? As a woman with the Cherchez La Femme or Black Widow perk? Or does none of that matter, and she reacts the same way no matter what?
[ -0.005631107371300459, 0.017397582530975342, -0.018453214317560196, 0.001238787081092596, -0.009484504349529743, -0.007964251562952995, 0.011010472662746906, 0.001808522385545075, -0.01841476745903492, -0.001856588409282267, -0.014012530446052551, 0.02043524757027626, 0.0007840308826416731, ...
[ 0.18569420278072357, -0.388195663690567, 0.04557254910469055, 0.0610707588493824, -0.21378600597381592, 0.26295846700668335, 0.21109727025032043, 0.08992566168308258, -0.7475989460945129, -0.1926937848329544, 0.3811999261379242, 0.8953686952590942, 0.39876043796539307, 0.013126587495207787...
I'll describe a situation that might sound random and sudden, but I'm sure we keep seeing now and then; I'd like to know if there's any suitable adjective that you can think of. 'Oily' and 'smarmy' were suggested by a friend, but perhaps there is a better word? Say I donate an expensive machine to a nearby grocery shop, or I perform some huge and helpful favour that really makes them indebted to me. They, out of gratitude, offer to keep giving me free products. I insist otherwise, that they mustn't be so conscious of me, and that I insist on paying each time. One day I buy something and don't have the whole amount. I sweetly request them if it's okay by them if I pay the remainder in the evening. They know I'm good for it, it's _obviously_ okay with them, a ridiculous request perhaps, and even I know that they'll say yes. Nevertheless I have a polite and humble way of asking for the credit. It's not a genuine query, but I still make it sound like I'm earnestly requesting. Any adjective for the forced humility/politeness in such a situation where one knows one can't be refused? Perhaps similar 'benefit of doubt' is displayed by superstars — say, when Tom Cruise walks up to a hotel rece and says "Excuse me. Hi, my name is Tom Cruise..."
[ -0.012914840131998062, 0.02033356949687004, -0.007810987997800112, 0.025164827704429626, -0.023091666400432587, -0.004716596566140652, 0.005286353640258312, 0.018958263099193573, -0.008694357238709927, 0.008987338282167912, -0.006924387998878956, 0.006452581845223904, 0.015847478061914444, ...
[ 0.839529812335968, 0.2921370565891266, -0.024277115240693092, 0.05158961936831474, -0.055135514587163925, 0.4815317690372467, 0.18804088234901428, 0.4502311646938324, -0.2133708894252777, -0.36840376257896423, 0.19928085803985596, 0.39209213852882385, 0.05907028168439865, 0.368243545293808...
This is my code: Graphics[{EdgeForm[Yellow], Yellow, Polygon[Table[{Cos[t], Sin[t]}, {t, 0, 4 π, (4 π)/5}]]}] which gives this: ![](http://i.stack.imgur.com/49EMD.png) but I want to get: ![enter image description here](http://i.stack.imgur.com/76wFB.jpg) How?
[ -0.006383280269801617, 0.005983172915875912, -0.00701166084036231, 0.0033152529504150152, -0.028017325326800346, -0.01649712771177292, 0.00448251236230135, 0.013134066946804523, -0.009257961995899677, -0.006038363557308912, -0.01613570749759674, -0.00007892472058301792, -0.006236712448298931...
[ 0.27788791060447693, 0.2222389578819275, 0.6660153865814209, -0.12686283886432648, -0.0076957689598202705, 0.1117744967341423, 0.02373742125928402, -0.12161292880773544, -0.2217627763748169, -0.9183809161186218, -0.0025508548133075237, 0.4441353380680084, -0.20357058942317963, -0.099599756...