text
stringlengths
23
30.4k
embeddings_A
list
embeddings_B
list
I've heard rumors that respec cost if done too often will creep up to 100g + per respec and that the cost may decay if you don't do a respec for a long time. What's the story on respec costs (cap if any) and decay?
[ 0.020497748628258705, 0.0313635878264904, -0.004910415969789028, 0.010068846866488457, 0.06223420053720474, -0.04240257665514946, 0.010700025595724583, -0.016645515337586403, -0.02660081349313259, 0.05393947660923004, 0.016350073739886284, 0.027122944593429565, 0.012467695400118828, 0.0013...
[ 1.0330415964126587, 0.43986037373542786, 0.44656822085380554, 0.11690874397754669, 0.20202478766441345, -0.29290029406547546, -0.06568363308906555, -0.09478894621133804, -0.21350762248039246, -0.414872407913208, 0.3342408239841461, 0.45255815982818604, 0.11057320237159729, 0.30543079972267...
Last week, I went to View -> Data Frame Properties... -> General tab to change the data frame map display units from Decimal Degrees to Degrees Decimal Minutes. (the Map Units were still in Decimal Degrees, in fact it is greyed out and can't be changed) Today, I wanted to change the Display units back to Decimal Degrees, but after I click Apply and OK, the map status bar still shows coordinates in Degrees Decimal Minutes as I move my cursor around the map. I went back to Data Frame Properties and the Display units have reverted back to Degrees Decimal Minutes! Why is this happening, and what should I do? Thanks.
[ -0.01799015700817108, 0.006258032284677029, -0.027352768927812576, -0.002858006628230214, 0.017109647393226624, -0.04060858488082886, 0.010874110274016857, 0.012668022885918617, -0.023652169853448868, -0.015716446563601494, 0.0034658368676900864, 0.01623392477631569, -0.03512692451477051, ...
[ 0.13174228370189667, -0.05711997672915459, 0.6872016787528992, 0.21123279631137848, -0.12495918571949005, 0.022859366610646248, 0.25508376955986023, 0.18837939202785492, -0.478958398103714, -0.6005072593688965, 0.22876304388046265, 0.2735888957977295, 0.2553749680519104, 0.6293644905090332...
What's the correct form? If both are correct, what's the difference?
[ -0.053683437407016754, -0.001255111419595778, -0.03216533362865448, 0.042376186698675156, -0.0010894000297412276, 0.03408966585993767, 0.01780364289879799, 0.05403149873018265, -0.026919938623905182, -0.00793536752462387, -0.005427055526524782, -0.015098157338798046, -0.003470418509095907, ...
[ 0.34704482555389404, 0.1268249750137329, 0.23695996403694153, 0.14720559120178223, -0.04897984489798546, 0.2004629671573639, 0.2927751839160919, -0.09443451464176178, 0.0845658928155899, -0.10747861862182617, 0.08141939342021942, 0.47993746399879456, -0.025216802954673767, -0.5178970694541...
I'm using the German version of WordPress and in wp_editor the two tabs for "visual" and "html" are named "visuell" and "text". I would like to change the "text" tab to "html". Do you know how I can achieve that? Here is a screenshot to show you exactly which tab I am talking about. http://s1.directupload.net/images/130423/mtor72tu.png
[ -0.006798736751079559, 0.008612887933850288, -0.0011427818099036813, 0.014191688969731331, -0.02006552740931511, -0.000152086082380265, 0.007808518595993519, 0.01644332893192768, -0.01603838987648487, -0.01496405154466629, -0.008508600294589996, -0.00011499098036438227, -0.005836980883032083...
[ 0.3327425420284271, -0.2497173398733139, 0.6542773246765137, -0.14112648367881775, -0.019780542701482773, -0.029968881979584694, 0.39936837553977966, 0.0075295292772352695, -0.3273104131221771, -0.8191537857055664, -0.08317647129297256, 0.7765194773674011, 0.093875952064991, -0.14305390417...
A wire placed in a magnetic field and has current flowing, it will experience the Lorentz force, work is done by the electric field and energy is conserved. Being converted from the power source to KE, and the wire moves. How can we apply Poynting's theorem to state that this system's energy will always be conserved? To fully observe the conservation of energy from the power source is equal to the work done by the wire when it gains KE.
[ 0.026125449687242508, 0.018743528053164482, -0.012427798472344875, 0.012408648617565632, -0.003296694252640009, -0.0006322639528661966, 0.011536391451954842, -0.04258193075656891, -0.016354121267795563, 0.01544740330427885, -0.011605893261730671, 0.033240217715501785, -0.01961551606655121, ...
[ 0.48471564054489136, -0.5379480123519897, 0.4210403561592102, 0.25902417302131653, 0.09933771193027496, -0.251955509185791, -0.2876262664794922, -0.6864020824432373, -0.23018041253089905, -0.15871800482273102, 0.08636781573295593, 0.34926700592041016, -0.1964016705751419, 0.490391254425048...
Is it possible to generate $n$ random samples, and always ensure that $n$ samples are generated? eg For $n=5$: n=5; {n1, n2, n3, n4, n5} = (While[Total[set = Reverse@Sort@Round [(tmp = RandomInteger[100, n])/Total@tmp 100]] != 100]; set); s = Reverse[Sort[{n1, n2, n3, n4, n5}]]; a = rs[[1]]; b = s[[2]]; c = s[[3]]; d = s[[4]]; e = s[[5]]; PieChart[{a, b, c, d, e}, ImageSize -> 200, ChartLabels -> {Style[StringForm["A:``%", a], 10], Style[StringForm["B:``%", b], 10], Style[StringForm["C:``%", c], 10], Style[StringForm["D:``%", d], 10], Style[StringForm["E:``%", e], 10]}] is ok, but for large enough $n$ the numbers are often "used up" before the last few get a chance to sample (so, in the example of the above pie chart, "E" often doesn't feature). Is it possible to avoid the samples reaching $0$ before last $n$ is reached? (Obviously, by the time $n=100$, each sample should have value of $1$.)
[ 0.00861042644828558, 0.013235989958047867, -0.01037527248263359, 0.017245953902602196, -0.0066918362863361835, 0.008996617048978806, 0.005023007281124592, -0.010988520458340645, -0.012736713513731956, 0.0012171389535069466, -0.005412479862570763, 0.007770032621920109, -0.0160243958234787, ...
[ 0.12328598648309708, -0.3688083291053772, 0.18816158175468445, 0.052583083510398865, 0.12073538452386856, 0.32729238271713257, 0.15784768760204315, -0.6339364647865295, -0.340250700712204, -0.14049462974071503, 0.0763777643442154, 0.1035035029053688, -0.2894457280635834, 0.271928995847702,...
Is there something additional that `\usepackage[ngerman]{babel}` does that a simple `\usepackage{ngerman}` won't be able to do?
[ 0.0009259057696908712, 0.02918383665382862, -0.0011408758582547307, 0.03744203969836235, -0.003849392756819725, -0.0018573736306279898, 0.011929994449019432, -0.004339077975600958, -0.01843331940472126, -0.021779365837574005, -0.024171767756342888, 0.02688542939722538, -0.0007510261493735015...
[ 0.11629714071750641, 0.12056049704551697, -0.2476537823677063, 0.005764665547758341, 0.06717749685049057, -0.0679858922958374, 0.043837662786245346, -0.012266932986676693, -0.30119091272354126, -0.11220134049654007, -0.09205947816371918, 0.3777857720851898, -0.4116673171520233, -0.09045352...
I got a quest called Summerset Shadows which gives me a fence in Windhelm (Niranye). My boyfriend is trying to get this quest too since Windhelm market has all the crafting tools and is very convenient, but he can't get Tonilia in the thieves guild to give him the quest. We're both guild masters of the theives guild. I thought it might be # of quests done for the thieves guild (I had 17 at the time), but he has gotten the same amount done and still no quest.
[ 0.017617354169487953, -0.0010414393618702888, -0.00003332926280563697, -0.0030433149076998234, -0.007397050503641367, -0.010521075688302517, 0.008487413637340069, 0.017512641847133636, -0.015274694189429283, 0.006542574148625135, -0.018276819959282875, 0.01764984428882599, -0.022965218871831...
[ 0.449474960565567, -0.384173721075058, -0.08196031302213669, -0.08364026248455048, -0.31982100009918213, 0.33546265959739685, 0.2698107659816742, 0.04416263476014137, -0.622508704662323, -0.5958499908447266, 0.3888951539993286, -0.2138376086950302, -0.00499312300235033, 0.18646104633808136...
If I want to find out which directory under /usr/ports contains a port like "gnome-terminal", how can I do that? Is there an easy command? At the moment I use things like > echo */gnome-terminal but is there a website or guide which tells you this without having to use a trick?
[ 0.012723217718303204, -0.0012561463518068194, -0.006648135371506214, 0.0014672860270366073, -0.036305978894233704, 0.011111211962997913, 0.008550111204385757, -0.004538479261100292, -0.03235616162419319, -0.016540847718715668, 0.002635156037285924, -0.005915320478379726, -0.00111956568434834...
[ 0.3306282162666321, 0.15291011333465576, 0.1328238546848297, 0.05567439645528793, -0.024132192134857178, -0.06185286119580269, 0.4903431832790375, 0.02559240348637104, -0.27755236625671387, -0.5003087520599365, 0.3300148844718933, 0.47032630443573, -0.12654511630535126, 0.10515891760587692...
I have approx 9 years of experience in the IT field. I've mainly worked on web applications and currently am looking forward to become a technical architect for J2EE applications. I usually face this challenge; in order to learn a new technology in depth I usually refer to a book. I was recently going through 'Java Persistence with Hibernate' to get in depth knowledge on Hibernate. It takes usually a month for me to complete reading the books/doing some R & D to know about how the APIs work and writing some sample program from books. I should mention that my reading is mostly done in spare time out of my regular project work. At the end of this exercise I get a decent idea about the technology and how it works (its uses in applications etc...). However after couple of months, I also start forgetting about what I read in my previous book (or about previous technology). Mainly because the project on which I work on do not use those technology, so if you do not practice, you will forget those things. For ex: I recently read about FTL, but in my project at the same time we were using plain JSPs, so I did not get chance to apply my FTL knowledge there and I forgot most of what I read about FTL. On one hand, I love to know more about the technologies around us and at the same time I want to keep that knowledge with me so that I could use it in future when needed. What am I doing wrong here? I sometime think that: 1. I should spend more time on one technology before switching on next, so that I could remember most of it. 2. My approach towards learning about new things this way is wrong. 3. Learning through Books might not be a good approach. 4. I need to do something extra to keep my learning up to date (but frankly what is that extra; I don't know). I need some help here.
[ -0.0002649463713169098, 0.012704210355877876, -0.018350228667259216, -0.004794314969331026, -0.006351027172058821, 0.011494981124997139, 0.005811227485537529, 0.0018305415287613869, -0.011624040082097054, -0.03337065130472183, -0.005562643054872751, 0.010155070573091507, 0.009412480518221855...
[ 0.6851875185966492, 0.3394617438316345, 0.06362860649824142, -0.2676126956939697, -0.061919912695884705, -0.15508361160755157, 0.659093976020813, 0.14102141559123993, -0.148081436753273, -0.5027784705162048, 0.09343156963586807, 0.6908206939697266, 0.6319751739501953, -0.13333660364151, ...
I was researching about linux shared memory and stumbled upon this `ipcs` command. From the man page: ipcs - provide information on ipc facilities `ipc` is not explained in the man page but it most likely stands for inter- process communication. That also makes sense from the context of the information it lists: shared memory segments, message queues and semaphore arrays. I was wondering, since everything in linux/unix is a "file", or at least a file-like object, where are the "files" from the elements listed in `ipcs`? Why are named pipes created by `mkfifo` not listed in `ipcs`? As far as I understand fifos are queues. How are the named pipes created by `mkfifo` different from the message queues created by `ipcmk`?
[ -0.009105313569307327, -0.004443165380507708, -0.0036810252349823713, 0.017114588990807533, 0.0030317888595163822, -0.011631582863628864, 0.00938180461525917, -0.00461227772757411, -0.017709288746118546, 0.01912681758403778, -0.004067921079695225, 0.0033538981806486845, 0.022880861535668373,...
[ 0.41260218620300293, 0.02097061090171337, -0.11783524602651596, 0.16004346311092377, -0.22046439349651337, -0.19502900540828705, -0.2216784954071045, 0.41096439957618713, -0.25121334195137024, -0.6384925246238708, -0.11216135323047638, 0.3372243642807007, -0.2932204604148865, 0.53977727890...
How can I save this configuration permanently? `sudo iptables -t nat -A POSTROUTING -s 10.10.0.0/16 -o eth0 -j MASQUERADE`
[ 0.01990087516605854, -0.0026153537910431623, -0.0012764016864821315, 0.007915719412267208, -0.010667356662452221, 0.03456546738743782, 0.013501173816621304, 0.010653937235474586, -0.028601031750440598, 0.024868151172995567, -0.018955567851662636, 0.00755013944581151, -0.019162917509675026, ...
[ 0.2537011206150055, -0.05367163196206093, 0.4387359321117401, 0.12093088775873184, 0.21442468464374542, -0.01677068881690502, 0.493953138589859, 0.08470577001571655, -0.1591869592666626, -0.6236388087272644, -0.2491135448217392, 0.4028673470020294, -0.0691550001502037, 0.32475438714027405,...
What is the name of the song used during the heart of the swarm ending cinematic? You can hear it at the following link: Right now listening to the whole heart of the swarm soundtrack and I still can't figure it out. "Fire in the sky" and "whispering from the stars" are pretty close though. List of Heart of the swarm songs: Songs name: * Corruptors: 00:00:00 * Heart of the Swarm: 00:07:52 * Collateral damage : 00:15:17 * Fire in the sky: 00:20:43 * Stronger: 00:28:50 * The coming storm: 00:35:16 * Conscience: 00:42:32 * Phantoms of the void: 00:50:19 * He had it coming: 00:57:47 * Ascension: 01:04:30 * Whispering from the Stars: 01:10:36 Not knowing the song is driving me crazy.
[ -0.03109271079301834, -0.015303010120987892, -0.01065954938530922, 0.02422657422721386, 0.021793905645608902, 0.006573117338120937, 0.01082384679466486, -0.022665459662675858, -0.02368221804499626, 0.015058401972055435, -0.0008086132002063096, 0.017786482349038124, -0.013834312558174133, 0...
[ 0.32097750902175903, -0.13256186246871948, 0.3289549946784973, 0.15243475139141083, -0.07327038794755936, -0.0713256299495697, 0.25711560249328613, 0.08799254149198532, -0.06847795844078064, -0.6750895977020264, 0.46656960248947144, 0.5250768065452576, 0.06892238557338715, 0.68533116579055...
I am using QGis version 2.2.0 and I set the snapping option to the vertex, with a tolerance of 1.5 meter. When I draw a new polygon next to an old one, it seems like the vertices are automatically anchored to each other, but actually when I zoom in to a scale of, let's say, 50:1, I can clearly see that the two vertices have not been anchored. Instead of one single vertex, I have then two of them. It's very annoying because this automatic error can create topological problems of overlapping and gaps among polygons. In fact I detect these problems when I use the topology checker. Did you encounter the same issue? How can I avoid it? Thanks
[ -0.008406739681959152, 0.010357961058616638, -0.008060222491621971, 0.023082956671714783, -0.016034621745347977, -0.024080347269773483, 0.0069617643021047115, 0.007601709105074406, -0.015371469780802727, 0.018739376217126846, -0.016197005286812782, 0.013760596513748169, -0.01765679009258747,...
[ 0.03369379788637161, -0.25488412380218506, 0.6600455045700073, -0.17473147809505463, -0.18637403845787048, -0.0588819794356823, 0.4355669319629669, -0.14426112174987793, -0.27605706453323364, -0.6671255230903625, 0.06209297478199005, 0.6045717597007751, -0.16428247094154358, -0.16303956508...
I'm playing _Uncharted 3_ and I'm stuck in the library of the French chateau. I need to help Sully move some beam, but I can't see how to get across. I tried jumping on either side of the room or tried climbing, but it doesn't seem to work. Drake said something about lifting the chandelier, but I don't see anything I can interact with. **So how do I get to the other side of the library?**
[ 0.007055570371448994, -0.0009783864952623844, -0.006848067976534367, -0.006858088541775942, 0.002214712556451559, -0.018343988806009293, 0.008366578258574009, -0.017713872715830803, -0.014520149677991867, -0.001735422876663506, -0.03107040375471115, 0.0012425800086930394, -0.0111111104488372...
[ 0.10620146989822388, -0.13783752918243408, 0.5933918952941895, 0.43356141448020935, 0.3872973322868347, -0.5391647815704346, 0.46520641446113586, -0.08773761242628098, -0.28203386068344116, -0.5479570031166077, -0.3989756405353546, 0.07599056512117386, -0.2653844654560089, 0.25749158859252...
I have an events post type in a plugin I use for multiple Wordpress installations, so I'm looking for a way to implement an archive page for the event and a single page. I came across some ways of do this one, but it ruins half of my themes. What is the best way to create an archive page, so that it works in most themes?
[ 0.014213006012141705, 0.01693333126604557, -0.003624429227784276, 0.013243915513157845, 0.0003317110240459442, 0.021675121039152145, 0.00746289873495698, 0.012153183110058308, -0.0337945930659771, -0.009453073143959045, -0.0034210302401334047, 0.01705937087535858, -0.0022308235056698322, 0...
[ 0.5318187475204468, 0.11079145967960358, 0.07693978399038315, 0.1920405626296997, -0.1888081431388855, -0.18601082265377045, 0.11593332886695862, 0.06230556219816208, -0.30530327558517456, -0.5440770387649536, 0.34891149401664734, 0.006063119973987341, -0.03207893669605255, 0.3676458597183...
How can I derive the character sequence that represents a certain keystroke in screen? I mean, what bind takes as input. For instance, 's' represents the obvious keystroke on the 's' key. 'S' represents 'shift+s'. But the representation of other more complex combinations are unclear to me and the scheme that is followed seems quite obscure. I have searched all around and asked before what the representation would be for the particular case 'tab' and 'shift+tab', but I couldn't find the answer. So I guess the best is to try to understand the general scheme. I have also seen this, but it's now working for me. Can someone explain what scheme/rules screen follows for this? What are the rules to derive the representation of any arbitrary key combination? And are they screen specific, or shared with other software? Other GNU software maybe? Where is this documented?
[ -0.008049908094108105, 0.015169532969594002, -0.01507627684623003, 0.00812511146068573, -0.033485256135463715, -0.00432563666254282, 0.007741634733974934, 0.007173443213105202, -0.014192422851920128, -0.005276766140013933, -0.010482585988938808, 0.003908577375113964, 0.0029204399324953556, ...
[ 0.12272290140390396, 0.0016341967275366187, 0.24022765457630157, -0.28068774938583374, -0.2603045701980591, 0.333339661359787, -0.006640605162829161, -0.36660557985305786, 0.0031038830056786537, -0.6736360788345337, -0.2062852680683136, 0.14647257328033447, -0.4321865439414978, 0.029093367...
I'm using zsh in OS X Terminal.app and for quite a while, I've been longing for a way to jump back and forth between prev/next prompts in the terminal's output. One convenience with this would be to be able to review (and track errors at) the end of each command's output; eg. when you building stuff from source with ./configure; make; make install. Note: I'm obviously not referring to jumping back and forth in the command-history, but for a way to take a peek at the endings of each command's output. Has anyone heard of such functionality in the *nix (preferrably also Mac) world? Would it require some sort of OS-centric Terminal plugin, or can it be programmatically done via a shell script which can be tied to a keyboard shortcut? Maybe I'm the only one thinking about this? :)
[ 0.007550315000116825, 0.013772779144346714, -0.005561184138059616, 0.006794273853302002, -0.027191663160920143, 0.021105274558067322, 0.008177615702152252, -0.0038331099785864353, -0.018851758912205696, 0.004394005984067917, -0.008277377113699913, 0.009515076875686646, 0.012369511649012566, ...
[ 0.19610725343227386, -0.015937790274620056, 0.4076947569847107, -0.18729059398174286, -0.08690774440765381, 0.033183567225933075, 0.10236504673957825, 0.15438732504844666, -0.04790074750781059, -1.0071676969528198, 0.12185908108949661, 0.6960592865943909, -0.08949608355760574, 0.0493634678...
I am working on a Java project that uses a dependency injection framework built by the company itself. The framework enforces the following naming convention: suppose you have a class `Foo` that depends on an interface called `org.company.IBar`: class Foo { @Injection private IBar bar; ... } then the framework will search for a class called `org.company.implementation.Bar`, create a new instance of that class and then assign it to the attribute `Foo.bar`. The framework allows for some customization, though. In that `@Injection` annotation, you can declare your own factory, with which you can enforce your own conventions. But every time you want to use a certain factory, you will have to declare it explicitly in the annotation over the attribute to be injected. This strategy, however, will make your classes tightly coupled to each other, because when you declare a dependency on an interface, you are already committing to a given implementation. So, I decided to implement my own factory to manually perform dependency injection. It is basically a class that instantiates all application objects and wires them together. Each object has its scope (singleton or prototype) controlled by the factory. Think of a Spring IoC configuration file (but written in Java, instead of XML). My colleagues did not approve this decision. Their argument is that the factory I created โ€œhas too many responsibilitiesโ€ and the instantiation of each object must be left to the framework. If you need to use another convention, you should create custom factories for each class (as described above). Definitely, according to them, there should not be one single factory where all the objects are instantiated. I strongly disagree with their argument. The factory has _only one_ responsibility: creating the object graph. Should the need arise to modify that graph, there is only one class that will have to change. But I may be missing something here. What are the pros and cons of each strategy?
[ 0.006879162043333054, 0.015992283821105957, 0.0025287503376603127, -0.00020299528841860592, 0.008041750639677048, 0.005783360451459885, 0.008478425443172455, 0.006254185922443867, -0.00915146991610527, -0.011690996587276459, -0.014062969945371151, 0.008736548945307732, 0.0016383950132876635,...
[ 0.519802987575531, 0.46805235743522644, -0.020087137818336487, -0.3685668408870697, -0.10746879875659943, 0.053602319210767746, -0.007895068265497684, -0.12277419865131378, 0.008359628729522228, -0.4353211522102356, 0.301095187664032, 0.4711798131465912, -0.46597611904144287, 0.28007075190...
I have a bunch of shapefiles in a folder. But some of them are empty, i.e. there are no rows within the shapefile. Is there a simply to find those empty shapefile out?
[ 0.03130267560482025, 0.022723335772752762, -0.0036043378058820963, 0.03737134486436844, 0.019519705325365067, 0.019803661853075027, 0.007220916915684938, 0.011592988856136799, -0.01586892455816269, 0.015543563291430473, 0.002346842782571912, 0.015478496439754963, -0.01274648867547512, -0.0...
[ 0.4215899705886841, 0.19111011922359467, 0.21970461308956146, 0.015210934914648533, 0.14068585634231567, 0.3168371915817261, 0.02029578387737274, 0.2399020940065384, -0.4998299181461334, -0.5533349514007568, 0.1703690141439438, -0.038817260414361954, -0.03828008472919464, 0.120448872447013...
So I got a fairly simple setup, one CPT with the default `category` and `post_tag` as taxonomies. Say I have 1 post and 1 CPT entry assigned to the same category. I need this to be reflected inside the category widget as well. I've managed to display both of them on the category page via the `request` filter so the links generated by the widget work. The problem is that if the post didn't exist, the widget would not generate a link for the category (considering it empty). Also, the item count is incorrect, 1 instead of 2. ### Digging through the widget code, this is what's causing the problems: wp_list_categories(apply_filters('widget_categories_args', $cat_args)); So I can alter the arguments via the filter but `wp_list_categories()` doesn't have an argument for what post type it should use. ### I've seen someone else encounter the problem before: http://wordpress.org/support/topic/custom-post-types-and-category-widget \- no luck http://themehybrid.com/support/topic/custom-post-types-and-category-widget \- same guy, can't read Justin's responses but I assume no luck again. he filed a ticket at the end which got closed ### Thoughts on the solution I'd really like to not copy/paste the default widget code and create a new one but solve this using a filter somehow. That being said, would a custom walker help with this? Any ideas? As a sidenote, I solved a similar issue with the Archives widget using this: /* * Add CPTs to wp_get_archives() * http://bajada.net/2010/07/15/adding-custom-post-types-to-wp_get_archives */ function ucc_getarchives_where_filter( $where , $r ) { $args = array( 'public' => true , '_builtin' => false ); $output = 'names'; $operator = 'and'; $post_types = get_post_types( $args , $output , $operator ); $post_types = array_merge( $post_types , array( 'post' ) ); $post_types = "'" . implode( "' , '" , $post_types ) . "'"; return str_replace( "post_type = 'post'" , "post_type IN ( $post_types )" , $where ); } add_filter( 'getarchives_where' , 'ucc_getarchives_where_filter' , 10 , 2 ); Cheers!
[ 0.00396921020001173, 0.013535151258111, 0.003510963637381792, 0.03325875848531723, 0.012582292780280113, -0.012441054917871952, 0.008286451920866966, 0.005169025156646967, -0.014250761829316616, -0.014048016630113125, -0.018322350457310677, 0.0060794297605752945, -0.012947808019816875, 0.0...
[ 0.30399730801582336, 0.31623896956443787, 0.3915395438671112, 0.17857688665390015, -0.14361508190631866, 0.15684965252876282, 0.0036199905443936586, -0.2207011580467224, -0.4146323800086975, -0.3448283076286316, 0.032322369515895844, 0.13198056817054749, -0.2075701355934143, 0.473768234252...
I am a programmer working on a chart component that allows to drill down on selection of a node. Drilling down will show the details of that node (like its children etc.). But I am struggling to find out a word to describe the opposite of drilling down. "Drill up" sounds wrong. Does anyone have a nifty little word that conveys the opposite of "drilling down"? Something to convey the action of moving from something more specific to something more general.
[ -0.004646731074899435, 0.010646932758390903, -0.011761153116822243, 0.015753859654068947, -0.025034375488758087, -0.02018776535987854, 0.009164994582533836, 0.00916336290538311, -0.015590240247547626, 0.004347493872046471, -0.002671054331585765, 0.0030105148907750845, 0.014285856857895851, ...
[ 0.5366640090942383, 0.07614579796791077, -0.3657287061214447, -0.0070503270253539085, -0.025327229872345924, 0.3199293315410614, 0.14032651484012604, 0.2691783308982849, -0.31022486090660095, -0.4947388470172882, 0.3869495987892151, 0.3218648135662079, 0.17023298144340515, 0.31444013118743...
I am trying to create a set of commands to automatically create clinical lab value plots. Using time is my major issue here. It is hard to dynamically reference the different point positions to include their labels. The value of each point located directly above it if possible. These values are located at value[i]. What I currently have ![Current Output](http://i.stack.imgur.com/e2O51.jpg) Would I would like roughly ![Desired](http://i.stack.imgur.com/TwIjV.jpg) (* {{year,month,day,hour,minute},value} *) data = { {{2014, 1, 20, 17, 42}, 6.84}, {{2014, 1, 20, 22, 33}, 5.87}, {{2014, 1, 21, 6, 30}, 4.7} }; (* Effects the look of plot *) min = 4; \ (* Minimum Stable level *) max = 11; \ (* Maximum Stable level*) Title = "WBC Count"; (* Label of \ Plot *) taxis = "Time"; (* \ Label of time axis *) yaxis = "k/\[Mu]L"; (* \ Label of measured axis *) tend = 20; (* make \ very large, defines how long the time for the min/max range is *) RotationDegree = 0; (* Rotate the \ labels by \[Theta] *) Plotmin = 0; (* \ Minimum value to display *) Plotmaxadd = 1; times = Table[0, {i, Length[data]}]; Do[times[[i]] = DateString[ data[[i, 1]], {"Month", "/", "Day", " ", "Hour", ":", "Minute"}], {i, Length[data]}] value = Table[0, {i, Length[data]}]; Do[value[[i]] = data[[i, 2]], {i, Length[data]}] a = With[{labels = Rotate[DateString@#, RotationDegree/180*\[Pi]] & /@ times}, ListPlot[data[[All, 2]], Mesh -> All, MeshStyle -> PointSize[Large], Joined -> True, PlotRange -> {Plotmin, Max[Max[data[[All, 2]] + Plotmaxadd] + Plotmaxadd, max + Plotmaxadd]}, PlotLabel -> Style[Row@{Title}, FontSize -> 18], PlotStyle -> {Thick}, Frame -> True, FrameTicks -> {Transpose[{Range@Length@labels, labels}], Automatic}, FrameLabel -> (Style[#, 18] & /@ {taxis, yaxis})]]; b = Plot[{min, max}, {t, 0, tend}, PlotStyle -> {{Thick, Red}, {Thick, Green}}, Filling -> {1 -> {{2}, RGBColor[.4, 1, .4, .2]}}]; c = Show[a, b] **Current Results:** What I currently have ![enter image description here](http://i.stack.imgur.com/ySqia.jpg) (* Type of Date and units *) Title = "Platelets"; (* Label \ of Plot *) taxis = "Time"; (* \ Label of time axis *) yaxis = "k/\[Mu]L"; \ (* Label of measured axis *) (* {{year,month,day,hour,minute},value} *) data = { {{2014, 1, 20, 17, 42}, 139}, {{2014, 1, 20, 22, 33}, 123}, {{2014, 1, 21, 6, 30}, 126} }; (* Effects the look of plot *) dateplotbegin = {2014, 1, 20, 16, 0};(* Time to begin showing extreme values *) dateplotend = {2014, 1, 21, 7, 10}; (* Time to end showing extreme values *) min = 150; \ (* Minimum Stable level *) max = 450; \ (* Maximum Stable level*) plotmin = 0; (* \ Minimum Value to plot *) plotmax = 600; (* Max \ value from the highest value to plot, might need tweeking based on \ lab*) (* Font Sizes *) TitleFont = 24; AxesFont = 24; PointFont = 20; TickFont = 12; (* Plotting, no need to touch this *) dlp[u_, dmn_, dmx_, plotmin_, plotmax_, min_, max_, opts : OptionsPattern[]] := DateListPlot[u, GridLines -> {None, {min, max}}, FilterRules[{opts}, Options[DateListPlot]], PlotRange -> {{dmn, dmx}, {plotmin, plotmax}}, Joined -> True, Epilog -> {{Opacity[0.5], RGBColor[.4, 1, .4, .2], Polygon[{{dmn, min}, {dmx, min}, {dmx, max}, {dmn, max}}]}, (Text[ Style[#[[2]], FontSize -> PointFont], {1, 1.1} #] & /@ u)}, BaseStyle -> {FontFamily -> "Times", TickFont}, FrameLabel -> (Style[#, AxesFont] & /@ {taxis, yaxis})] dlp[data, dateplotbegin, dateplotend, plotmin, plotmax, min, max, PlotMarkers -> {Automatic, 8}, GridLinesStyle -> Directive[Red, Thick], PlotLabel -> Style[Row@{Title}, FontSize -> TitleFont], PlotStyle -> {Thick}, FrameTicks -> {{Automatic, None}, {data[[All, 1]], None}}, DateTicksFormat -> {"Month", "/", "Day", "\n", "Hour", ":", "Minute"}]; plot = Show[%, ImageSize -> {644, 385}, AspectRatio -> Full]
[ -0.0037059830501675606, 0.015539376065135002, -0.009498143568634987, 0.012516271322965622, 0.017929334193468094, -0.004671002272516489, 0.006287648342549801, 0.02606375515460968, -0.016800589859485626, 0.021657276898622513, -0.0029414580203592777, 0.004533584229648113, -0.005138356238603592,...
[ 0.5296098589897156, -0.011722489260137081, 0.555767834186554, -0.17024822533130646, 0.2968868911266327, -0.04183487221598625, -0.09367989003658295, -0.26210853457450867, 0.042726386338472366, -0.5785368084907532, 0.1578749567270279, 0.17168548703193665, -0.09439187496900558, 0.474271088838...
This is using ArcGIS10 arcpy with spatial analyst. I need to call Viewshed, but with an observer height set. I have tried using a Z-aware point feature set, but that only throws an error. I am feeding an arcpy.PointGeometry object with a Raster object of a dem for my inputs. e.g. viewshed = arcpy.sa.Viewshed(dem, source_point) I am using dynamically generated points as the source for my observer points for the viewshed. Feature classes have to be built in memory. I have tried several ways to build an in-memory feature class with an OFFSETA field, but so far it has not worked. Anyone have any idea how to use the Viewshed OFFSETA, or another way to set observer height when calling Viewshed inside python using an in memory feature class? * * * Here is the solution I came up with, using Matthew Snape's advice. dem, source_point, offseta, and offsetb are all inputs to function this is contained in: # Construct viewshed input arcpy.CreateFeatureclass_management("in_memory", "viewshedinput", "POINT") arcpy.AddField_management("in_memory\\viewshedinput", "OFFSETA", "FLOAT") arcpy.AddField_management("in_memory\\viewshedinput", "OFFSETB", "FLOAT") rows = arcpy.InsertCursor("in_memory\\viewshedinput") row = rows.newRow() row.shape = source_point row.OFFSETA = offseta row.OFFSETB = offsetb rows.insertRow(row) del rows, row # Calculate viewshed for source point viewshed = arcpy.sa.Viewshed(dem, "in_memory\\viewshedinput")
[ -0.01688762754201889, 0.01877758279442787, -0.006842039525508881, 0.019001979380846024, -0.009629974141716957, -0.018575236201286316, 0.009495314210653305, -0.0006276285275816917, -0.013877506367862225, -0.010458209551870823, -0.003266815096139908, 0.017566435039043427, -0.024897921830415726...
[ 0.04868021979928017, -0.2700471878051758, 0.5350598692893982, 0.06938827782869339, -0.24548792839050293, 0.09835520386695862, -0.10437534749507904, -0.2614280581474304, -0.12552887201309204, -0.8867955207824707, -0.04403289407491684, 0.49585261940956116, -0.3803796172142029, -0.10717932134...
I have an a500 tab with hc3.2 rooted and I recently noticed that the camera is not focusing anymore. I can shoot photos at very close distance only, and this affects my ability to read qr tags too if they are not small enough to be viewed within the small rectangle qr droid draws at close distance. what can I do about that? Could it be a software or hardware problem?
[ -0.01981184259057045, -0.003638866124674678, -0.012882516719400883, 0.009960044175386429, -0.01637187786400318, -0.01754368655383587, 0.008673815988004208, 0.02346455119550228, -0.011966531164944172, 0.0037439169827848673, -0.023520637303590775, 0.01394182164222002, -0.010009986348450184, ...
[ 0.5002307295799255, 0.12683172523975372, 0.2569598853588104, 0.17373782396316528, 0.3031064569950104, -0.18284501135349274, 0.27453356981277466, -0.2868809401988983, -0.2853306233882904, -0.12587270140647888, 0.27668100595474243, 0.5651741623878479, 0.03041691519320011, 0.02473177574574947...
The duality theorem between acceptance region of testing and confidence region is about their validity (i.e. satisfying the significance level of the former and the confidence level of the latter sum up to be 1). For example, this is what is given in Casella's Statistical Inference. I was wondering if there is some duality result about their optimality? By "optimality": * for confidence interval, it can mean the length of the interval is minimum, or something else; * for acceptance region of testing, it can mean the power of the testing has uniformly maximum power, or the length of the acceptance region is minimum. Thanks and regards!
[ -0.014229075983166695, 0.01837936043739319, -0.008586155250668526, 0.012301478534936905, -0.02296735905110836, 0.006870700046420097, 0.01147519238293171, -0.02411935105919838, -0.013683580793440342, -0.006698139477521181, -0.025771455839276314, 0.017179377377033234, -0.024543549865484238, ...
[ -0.33983173966407776, -0.5834969878196716, 0.02196088619530201, 0.3662451207637787, -0.05843381583690643, 0.421627938747406, 0.22707119584083557, -0.04724406078457832, -0.09790953248739243, -0.3811342716217041, 0.18980079889297485, 0.5891011953353882, -0.0486360602080822, 0.368251502513885...
I am setting up a new RESTful web service and I need to provide a role-based access control model. I need to create an architecture that will allow users to provide their username and password to get access to the services and then restrict how they can use the services (which services they can use, read vs read/write, etc) based upon the roles assigned to that users. I have looked around at other questions and found pieces of what I want. For example there are several great discussions about how to handle passing credentials to REST services restful-authentication, best practices. There are also some great pointers on what programmers should know when creating websites (what every developer should know before building a public web site). But I haven't been able to find a good post, article, book on best practices and patterns for the software architecture that implements these solutions. Specifically: * How should user details and access rights be stored? (data model, location, format) * What are good design patterns for representing and tracking these in the server? (sessions in memory, db lookups each time, etc) * What are good patterns for mapping these rights to the services in a secure way in the code base? * What architectural choices can help keep the system more secure and reliable? * What lessons learned do people have from the trenches? I am looking for are design patterns and recommendations for the software architecture outside of any specific technologies. (If the technologies matter, I am planning to implement this using python, twisted, and a postgresql database)
[ 0.015733297914266586, 0.01795537956058979, -0.00906288530677557, 0.007378708571195602, 0.0014100450789555907, -0.006185121368616819, 0.008180773817002773, 0.012625161558389664, -0.014332698658108711, -0.010191014967858791, -0.007750879041850567, 0.007764170877635479, -0.017483128234744072, ...
[ 0.2773975431919098, 0.17347343266010284, 0.41002702713012695, -0.0019011583644896746, 0.16314946115016937, -0.11695733666419983, 0.3016909062862396, -0.007789823692291975, 0.00003584469232009724, -0.6381811499595642, -0.07888228446245193, 0.3840564489364624, -0.23441262543201447, 0.2915794...
Is there such a thing as too much uniformity? Where I work we of course have standards including naming conventions, architectures, frameworks to leverage etc. However lately there has been a lot of critiquing of things I would consider more style. For example writing `if` statements in multiple lines vs one line, using the c# `??` null-coalescing operator instead of say `== null`, amounts of spacing for indentations etc. It seems to me this starts getting more into a personal style choice and doesn't need to be uniform across a team or company. What one person thinks reads more clearly another may not. Is there some value to this "extra" uniformity?
[ -0.0047474633902311325, 0.024219993501901627, -0.0028871435206383467, 0.020337145775556564, 0.004617358557879925, -0.0013755843974649906, 0.006585078313946724, -0.020414594560861588, -0.009798218496143818, -0.003627920523285866, 0.0012655064929276705, 0.0052962638437747955, 0.003550417488440...
[ 0.4885943830013275, 0.14993497729301453, -0.20292231440544128, 0.24887211620807648, -0.24003572762012482, -0.2959388494491577, 0.3472880423069, 0.21175545454025269, -0.23566605150699615, -0.4788147509098053, 0.06419277936220169, 0.11430802196264267, -0.15416693687438965, 0.0524524748325347...
My custom dynamic layer (moving vehicles) is at position 0, specified by this code: mapControl.Map.MoveLayer(customDynamicLayer, 0); //smaller numbers draw later But the annotations of the layer at position 1 (my map) still draw over my dynamic layer. Is this normal? Is there a workaround? I'm guessing there isn't a workaround because the non-dynamic layers get tiled, but I thought I'd ask anyway.
[ -0.016888493672013283, 0.010593090206384659, -0.022597357630729675, 0.016253728419542313, 0.03089861199259758, -0.023244842886924744, 0.009620709344744682, 0.009341777302324772, -0.019086472690105438, 0.011102603748440742, -0.016339480876922607, 0.021310986950993538, -0.002886316040530801, ...
[ 0.08668776601552963, -0.15692314505577087, 0.9359304904937744, 0.0345650278031826, 0.027137739583849907, 0.06550848484039307, -0.24509046971797943, 0.1660766303539276, -0.4595388174057007, -0.4799238443374634, 0.10829686373472214, 0.4534854590892792, 0.11794094741344452, 0.1231911182403564...
![](http://i.imgur.com/1ztkF8R.png) The thing indicating current open application. I know there are some extensions concerning it but I'm yet to find a way to disable it, either by good ol' editing or an extension.
[ -0.023442843928933144, -0.01737685687839985, 0.0035410963464528322, 0.021146094426512718, -0.0018768870504572988, -0.03839169815182686, 0.005674164276570082, -0.012242244556546211, -0.02207057550549507, 0.02596723847091198, -0.021246561780571938, -0.002455272478982806, 0.02895473688840866, ...
[ 0.14865414798259735, 0.2016153633594513, 0.5172979831695557, 0.023348012939095497, 0.052584562450647354, -0.4606618285179138, 0.6659517288208008, 0.2707844078540802, -0.36598914861679077, -0.30319952964782715, -0.6130228042602539, 0.4658430516719818, -0.11741676926612854, 0.408401846885681...
I am constantly, constantly running out of inventory space. I like to craft with my engineer and I'm on floor 28 so I'm pretty far down there. I'll probably play again with a Marine. Can someone give me some pointers that I may have missed about inventory management? What's useful, what isn't? I do look up recipes so typically there is something I'm waiting to build, but the game is evil and gives me too many of one thing and never enough of another. I spent 5 levels hauling nothing but rifle ammo but no food and then another five levels fully fed with nothing but raw meat and no ammo. Furthermore, I can't seem to selective pick things up off the ground. Any hints on inventory management?
[ 0.009272105991840363, 0.014995132572948933, -0.010757273994386196, -0.005077923182398081, 0.0005059099057689309, 0.0020466535352170467, 0.0045973388478159904, 0.004025889560580254, -0.015750421211123466, 0.01041495893150568, -0.01142205111682415, 0.013017366640269756, -0.00046945270150899887...
[ 0.5435978174209595, 0.4579258859157562, 0.013971173204481602, -0.02027903124690056, 0.3613980710506439, 0.3612993359565735, 0.5210804343223572, 0.05524609610438347, -0.6060485243797302, -0.5143266916275024, 0.4463125467300415, 0.5148692727088928, 0.0878107026219368, 0.027791345492005348, ...
I was watching a breakfast show the other day and a reporter was at a museum where they had an exhibition that the lady said was: > _Exactly_ like what the scientists think the surface of Mars is probably > like Is this possible? Can something be _exactly_ like something that's probable?
[ 0.007511282805353403, 0.00042671008850447834, -0.007387187797576189, 0.025922752916812897, 0.0007688815821893513, -0.0043535009026527405, 0.008500531315803528, -0.0029838047921657562, -0.026355665177106857, -0.017378680408000946, 0.0038027253467589617, 0.017249852418899536, 0.013722320087254...
[ 0.7959747910499573, 0.16606660187244415, 0.057688865810632706, 0.12901650369167328, 0.2431899756193161, -0.2092674821615219, -0.12221670895814896, 0.44689100980758667, -0.29605618119239807, -0.16039060056209564, 0.2776801586151123, 0.14136946201324463, -0.019173674285411835, 0.407898575067...
How do I get the city and country names from the output of `FindGeoLocation[]` {lat, long} ?
[ -0.005298927891999483, 0.037845179438591, -0.004209873732179403, 0.0035475713666528463, -0.01485912874341011, 0.08283404260873795, 0.014518175274133682, 0.07241888344287872, -0.023328149691224098, 0.022033626213669777, -0.006837965454906225, 0.034826625138521194, -0.008928325027227402, 0.0...
[ 0.3067857325077057, -0.0065111094154417515, 0.6478769779205322, 0.11167017370462418, 0.025108588859438896, 0.04943595081567764, -0.04948509484529495, 0.1314324289560318, 0.12094412744045258, -0.29759788513183594, -0.11741401255130768, 0.07390642911195755, 0.17990057170391083, 0.05901827290...
When I copy over a program and a few libraries it needs to another machine I get the "no version information available" when I run LDD on the program. I know why this is happening, I just want to know if its a big deal. Can I just ignore it? The program seems to execute and exhibits expected behavior. Could this come back to screw me in the future?
[ 0.009867758490145206, -0.006392222363501787, -0.010259848088026047, 0.007841741666197777, 0.004518771078437567, 0.008215970359742641, 0.006268955767154694, 0.024236617609858513, -0.02016853541135788, 0.0023805294185876846, -0.004975712392479181, 0.013969595544040203, 0.014977832324802876, ...
[ 0.48483291268348694, 0.04817843809723854, 0.20291250944137573, 0.09402591735124588, 0.025617578998208046, -0.313775897026062, 0.33965471386909485, 0.41590121388435364, -0.35371315479278564, -0.39795050024986267, 0.17844858765602112, 0.4599873125553131, -0.3718147575855255, 0.58177733421325...
I'm trying to create the routable network as per http://underdark.wordpress.com/2011/02/07/a-beginners-guide-to-pgrouting/and use assign_vertex_id. Do I still need to create the node table? How would code for creating network look like?
[ 0.01476046722382307, 0.005006620194762945, -0.0004891424905508757, 0.0024578548036515713, -0.06744764000177383, 0.031559836119413376, 0.01066416036337614, 0.01442516129463911, -0.03465656563639641, -0.007727681193500757, 0.002532219048589468, 0.007453528698533773, -0.02192295528948307, -0....
[ 0.1271228790283203, 0.05067550390958786, 0.7015726566314697, 0.11686675995588303, -0.032394759356975555, -0.12345492094755173, 0.18877683579921722, 0.49935561418533325, -0.45860612392425537, -0.3986426591873169, 0.20717087388038635, 0.039769187569618225, 0.00885588675737381, 0.104066438972...
I am posting here as I'm not allowed to post in Developers section as of being new here. I want to enable adhoc wifi on my mobile. Followed the instructions here http://forum.xda-developers.com/showthread.php?t=1669766 First,where's the download link? The 1st comment? If yes, I tried using those files. Now wifi gets disabled after every 30 second. Any turnarounds? Actually, When I use this file. It can not detect the MAC address of my device. Any ideas? Or some other way to enable adhoc wifi on the device?
[ 0.0019694194197654724, 0.002466279547661543, -0.004186562262475491, 0.0036397529765963554, -0.007626250386238098, -0.01650257594883442, 0.004888630472123623, -0.0010779432486742735, -0.02180991694331169, -0.006945066619664431, -0.006429712753742933, 0.00940734427422285, -0.014844642952084541...
[ 0.3949795365333557, 0.20892451703548431, 0.46999502182006836, 0.14011316001415253, -0.018056262284517288, -0.1851452887058258, 0.2888874411582947, 0.1743788719177246, -0.29532599449157715, -0.7556391954421997, -0.05958591401576996, 0.4624966084957123, -0.26192209124565125, 0.25406745076179...
I'm trying to build a custom query and I need to include the current category ID. I previously had the WP_Query args as: Array ( [post_status] => publish [posts_per_page] => -1 [post_type] => courses [cat] => 70 When I output SQL result behind this argument query using `$query->request;` the taxonomies read as 95 and 203, instead of 70? SELECT wp_posts.* FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id) INNER JOIN wp_postmeta AS mt1 ON (wp_posts.ID = mt1.post_id) INNER JOIN wp_postmeta AS mt2 ON (wp_posts.ID = mt2.post_id) INNER JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (95,203) Can anyone tell me how/why this is happening and what I need to do to find 95,203 from this initial 70 so that I can also build this query manually? Many thanks
[ 0.007375721819698811, 0.006798174232244492, -0.00028227269649505615, 0.01810869388282299, -0.005848243832588196, 0.019982310011982918, 0.00794922187924385, 0.010196030139923096, -0.014139307662844658, -0.017082026228308678, -0.0034251452889293432, 0.004346711095422506, -0.011545279994606972,...
[ 0.375276118516922, 0.27499696612358093, 0.7670908570289612, -0.255821168422699, -0.18810050189495087, 0.25158852338790894, 0.09723133593797684, -0.5652053952217102, -0.21573136746883392, -0.5664523243904114, 0.24827322363853455, 0.3738308250904083, -0.22642016410827637, 0.3565010130405426,...
When you're signed into ArcGIS Online within an ArcMap session, there is an option Add Data From ArcGIS Online: ![enter image description here](http://i.stack.imgur.com/oScZf.png) I have a service in ArcGIS Online which consists of 2 feature layers and 1 table: ![enter image description here](http://i.stack.imgur.com/PCR7w.png) When I add this to ArcMap using the above option, the table isn't included. Is this a bug, or is there a workaround? ![enter image description here](http://i.stack.imgur.com/5i7wa.png) Thanks
[ -0.014566780999302864, 0.006416225805878639, -0.000884801265783608, 0.017817724496126175, 0.01304035633802414, -0.011866066604852676, 0.00561600411310792, -0.0052291955798864365, -0.014882862567901611, -0.0026034354232251644, -0.003997642546892166, 0.01688499003648758, -0.013382195495069027,...
[ 0.5774061679840088, -0.10502386838197708, 0.406742125749588, 0.07953532040119171, 0.055062007158994675, -0.1599859893321991, 0.09785043448209763, -0.23956042528152466, -0.2728900611400604, -0.5997246503829956, -0.10783118009567261, 0.7214085459709167, 0.02251114509999752, -0.34486958384513...
I have a script: #!/bin/bash if [[ read -t 10 -sp "Enter Password: " passwd ]]; then echo -e "\nPassword: ${passwd}" else echo -e "\nInput timed out" >&2 exit 1 fi exit 0 But it gives error: ./script.sh: line 3: conditional binary operator expected ./script.sh: line 3: syntax error near `-t' ./script.sh: line 3: `if [[ read -t 10 -sp "Enter Password: " passwd ]]; then' What is wrong with my code?
[ 0.013914921320974827, 0.009517231024801731, -0.007724704220890999, 0.014407102018594742, -0.007913988083600998, 0.007724077440798283, 0.007244004402309656, -0.01403454877436161, -0.012783674523234367, 0.008962312713265419, -0.03222523629665375, 0.0034936151932924986, 0.0021073915995657444, ...
[ 0.2371496707201004, 0.26369592547416687, 0.4809052348136902, -0.4116120934486389, 0.06576087325811386, 0.06420902907848358, 0.5666065216064453, -0.4936122000217438, 0.30871400237083435, -0.6675274968147278, 0.06951116025447845, 0.38436058163642883, 0.01885226182639599, -0.15424171090126038...
So I'm trying to make my Unit Tests as by-the-book as possible, but it becomes troublesome when I'm testing some simple Add/Delete methods. For the add method, I basically have to create a dummy object and add it, then after the test is successful, I have to delete the dummy object. And for the delete test, I obviously have to create a dummy object so that I can delete it. As you can see if one test fails, the other will fail too, as they're both kinda needed. Same with a system where you would need to write a test that "Cancels an Order"...well some dummy order would be needed to cancel first, doesn't this go against the guidelines of unit testing? How are cases like this meant to be handled?
[ -0.00484535563737154, 0.00938772689551115, -0.0074792965315282345, -0.011010975576937199, 0.00936224777251482, 0.023678354918956757, 0.006820596754550934, 0.018588870763778687, -0.011069152504205704, 0.0023072923067957163, -0.016058173030614853, 0.006494471803307533, -0.016153478994965553, ...
[ 0.5442639589309692, 0.3169785141944885, -0.11589797586202621, 0.18313629925251007, -0.08064673095941544, -0.07098357379436493, 0.4017695486545563, -0.03230917081236839, -0.1047830581665039, -0.4105934202671051, 0.08062431961297989, 0.5092337131500244, -0.10368957370519638, 0.00225808983668...
You sample `N` of `N` items **_with_** replacement. How do you calculate the expected percent not sampled from original population `N`? * * * **Extra Credit:** Generalize to sampling **`k`** of `N` items **_with_** replacement.
[ 0.03642427921295166, 0.005874143447726965, -0.006100823171436787, 0.038062721490859985, -0.0003413208178244531, -0.023945407941937447, 0.012964322231709957, -0.02773766964673996, -0.029041850939393044, -0.01490926742553711, -0.0015179590554907918, 0.009821559302508831, -0.043009351938962936,...
[ 0.20370419323444366, -0.18645915389060974, -0.19558526575565338, 0.3664073944091797, 0.07253530621528625, 0.20993958413600922, -0.07198909670114517, -0.3358685374259949, -0.1511976420879364, -0.5764185190200806, 0.08321360498666763, 0.7606576681137085, -0.06972548365592957, -0.129372194409...
I make bar plot with pgfplots: \documentclass{report} \usepackage[T2A]{fontenc} % ะŸะพะดะดะตั€ะถะบะฐ ั€ัƒััะบะธั… ะฑัƒะบะฒ \usepackage[utf8]{inputenc} % ะšะพะดะธั€ะพะฒะบะฐ utf8 \usepackage[english, russian]{babel} % ะฏะทั‹ะบะธ: ั€ัƒััะบะธะน, \usepackage{pgfplots} \pgfplotsset{ every axis legend/.append style={at={(0.5,-0.13)},anchor=north,legend cell align=left}, tick label style={font=\tiny\scriptsize}, legend style={font=\scriptsize}, axis lines=left, legend style={draw=none}, } \begin{document} \begin{figure} [H] \centering \begin{tikzpicture} \begin{axis} [ ylabel={$T$}, ybar, enlarge x limits=.15, symbolic x coords={wer,good,neutral,not good,poor}, xtick=data, bar shift=0pt ] \addplot coordinates {(wer,1) (good,8) (neutral,2) (not good,0) (poor,10)}; \end{axis} \end{tikzpicture} \caption{ะŸั€ะพั‡ะฝะพัั‚ัŒ ะผะตั‚ะฐะปะปะพะธะทะดะตะปะธะน} \end{figure} \end{document} And it works. ![enter image description here](http://i.stack.imgur.com/E7CJ7.png) But when I use Cyrillic characters in `symbolic x coords`: `symbolic x coords={ัะตะนั‡ะฐั,good,neutral,not good,poor},`, I get an error when compiling. \documentclass{report} \usepackage[T2A]{fontenc} % ะŸะพะดะดะตั€ะถะบะฐ ั€ัƒััะบะธั… ะฑัƒะบะฒ \usepackage[utf8]{inputenc} % ะšะพะดะธั€ะพะฒะบะฐ utf8 \usepackage[english, russian]{babel} % ะฏะทั‹ะบะธ: ั€ัƒััะบะธะน, \usepackage{pgfplots} \pgfplotsset{ every axis legend/.append style={at={(0.5,-0.13)},anchor=north,legend cell align=left}, tick label style={font=\tiny\scriptsize}, legend style={font=\scriptsize}, axis lines=left, legend style={draw=none}, } \begin{document} \begin{figure} [H] \centering \begin{tikzpicture} \begin{axis} [ ylabel={$T$}, ybar, enlarge x limits=.15, symbolic x coords={ัะตะนั‡ะฐั,good,neutral,not good,poor}, xtick=data, bar shift=0pt ] \addplot coordinates {(ัะตะนั‡ะฐั,1) (good,8) (neutral,2) (not good,0) (poor,10)}; \end{axis} \end{tikzpicture} \caption{ะŸั€ะพั‡ะฝะพัั‚ัŒ ะผะตั‚ะฐะปะปะพะธะทะดะตะปะธะน} \end{figure} \end{document} Errors: Missing \endcsname inserted ] Missing \endcsname inserted (neutral,2) (not good,0) (poor,10)}; Missing \endcsname inserted (neutral,2) (not good,0) (poor,10)}; Use of \pgfp@symb@coords@x@ doesn't match its definition (neutral,2) (not good,0) (poor,10)}; Missing \endcsname inserted (neutral,2) (not good,0) (poor,10)}; Missing \endcsname inserted (neutral,2) (not good,0) (poor,10)}; Extra \endcsname (neutral,2) (not good,0) (poor,10)}; Extra \endcsname (neutral,2) (not good,0) (poor,10)}; Illegal parameter number in definition of \pgfmathresult (neutral,2) (not good,0) (poor,10)}; Illegal parameter number in definition of \pgfmathresult (neutral,2) (not good,0) (poor,10)}; Illegal parameter number in definition of \pgfmathresult (neutral,2) (not good,0) (poor,10)}; Illegal parameter number in definition of \pgfmathresult (neutral,2) (not good,0) (poor,10)}; Illegal parameter number in definition of \pgfmathresult (neutral,2) (not good,0) (poor,10)}; Illegal parameter number in definition of \pgfmathresult (neutral,2) (not good,0) (poor,10)}; Illegal parameter number in definition of \pgfmathresult (neutral,2) (not good,0) (poor,10)}; Illegal parameter number in definition of \pgfmathresult (neutral,2) (not good,0) (poor,10)}; Illegal parameter number in definition of \pgfmathresult (neutral,2) (not good,0) (poor,10)}; Illegal parameter number in definition of \pgfmathresult (neutral,2) (not good,0) (poor,10)}; running in backwards compatibility mode (unsuitable tick labels; missing features). Consider writing \pgfplotsset{compat=1.8} into your preamble. Elsewhere Cyrillic text does not cause errors. How can this be solved?
[ -0.000851477263495326, 0.017202768474817276, 0.005710195284336805, 0.01359737478196621, 0.006869547534734011, 0.0009305266430601478, 0.004239758476614952, 0.002258970169350505, -0.009030453860759735, -0.0017555863596498966, -0.00892193429172039, 0.0018515753326937556, -0.007854536175727844, ...
[ 0.28615322709083557, 0.11362297832965851, 0.9171885251998901, -0.24829982221126556, 0.19168433547019958, 0.8293905258178711, 0.2729973793029785, -0.4557502865791321, 0.04143613949418068, -0.44594329595565796, 0.015301717445254326, 0.25039348006248474, -0.4791567623615265, 0.343694537878036...
Is it possible to check if given program was compiled with GNU gprof instrumentation, i.e. with '-pg' flag passed to both compiler and linker, _without_ running it to check if it would generate a `gmon.out` file?
[ -0.018438665196299553, 0.0249088853597641, 0.013949614949524403, 0.02316270023584366, 0.010496312752366066, 0.043172962963581085, 0.012123985216021538, 0.010142797604203224, -0.022081159055233, 0.026108043268322945, 0.005716380663216114, 0.01284369733184576, 0.03730836138129234, 0.01313105...
[ 0.07745411247015, 0.17658071219921112, 0.17340509593486786, 0.0881078764796257, 0.0581054724752903, 0.04600058123469353, -0.3082186281681061, -0.0922602042555809, -0.537179708480835, 0.06988823413848877, -0.07977216690778732, 0.1314634084701538, -0.3758411109447479, -0.2723372280597687, ...
I have three childViewController views inside my ContainerViewController and these three views are inside a horizontal scroll view. My intention is to build an app that has a custom camera on one ChildViewController view, a tableView which will display JSON data on another view, and a page which will show a list of the users friends. The reason I am building it this way is to achieve a dragging/sliding effect between the three different child views. Although I get the result I want from a UI/UX perspective, i'm not sure how this will effect memory and performance. If i'm not mistaken my containerViewController will be handling a lot of activity. Would there be an alternative way to architect this type of application? I understand I could have three separate view controllers using a Navigation Controller but than I wouldn't achieve the UI/UX experience I want. I'm really after the dragging/sliding between different pages experience, similar if not the same as Snapchat/Tinder
[ -0.0005251232068985701, 0.01833462156355381, -0.005977547727525234, 0.004235219210386276, -0.015256494283676147, -0.018915247172117233, 0.006466086022555828, 0.004141510464251041, -0.012125732377171516, -0.008797986432909966, -0.01046433113515377, 0.0027324571274220943, 0.006257890723645687,...
[ 0.19687965512275696, 0.01555044949054718, 0.7493485808372498, 0.2939243018627167, 0.00532721308991313, 0.6543216109275818, -0.06702316552400589, -0.12176227569580078, -0.030419332906603813, -0.8326625823974609, 0.32819026708602905, 0.26621371507644653, 0.0020561348646879196, 0.388125956058...
Let us see the signs shown in the images below. What is the right one to show in a retail shop, #1 or #2? In case #2 doesn't it seem as if the cashier may **or may not** give us a receipt? ![enter image description here](http://i.stack.imgur.com/z3zAY.gif) ![enter image description here](http://i.stack.imgur.com/SdaZc.gif)
[ 0.01558047067373991, 0.014670980162918568, 0.0039800480008125305, 0.018819143995642662, -0.00862421840429306, -0.0005346178077161312, 0.004375126212835312, 0.011575327254831791, -0.014867119491100311, -0.015153519809246063, -0.011332924477756023, -0.0035463934764266014, -0.005986225325614214...
[ 0.7282294631004333, -0.11702299863100052, 0.4431709349155426, 0.23772591352462769, 0.1456296741962433, 0.12747298181056976, 0.18762674927711487, 0.26556703448295593, -0.30521753430366516, -0.485966295003891, 0.19802893698215485, 0.5016308426856995, 0.20263054966926575, 0.0377892404794693, ...
This should b really easy but I can't find reference - easy points for someone! I have an option in my `wp_options` table, and need to set it via `update_option()`. I just can't find the correct syntax for doing something similar to the following where I update the key `object_key` in the option `my_plugin_settings` where this is an option in my `wp_options` table: ` update_option('my_plugin_settings[object_key]','new value'); ` How is it done correctly?
[ 0.026833858340978622, 0.011719310656189919, -0.0051430766470730305, 0.013608770444989204, -0.016978073865175247, 0.00699521042406559, 0.007331137079745531, -0.00016775843687355518, -0.01431205216795206, 0.004845049697905779, -0.007846768945455551, 0.0052983928471803665, -0.007571705617010593...
[ -0.015072324313223362, 0.008185375481843948, 0.6581642627716064, -0.0039011118933558464, 0.32327497005462646, -0.1237950325012207, 0.1313399225473404, -0.3819139897823334, -0.15912730991840363, -0.6911917328834534, -0.047673556953668594, 0.92557692527771, -0.1350494623184204, -0.0351811051...
I was thinking about a situation where some gas is enclosed inside a container and kept in a train at rest. The train accelerates, gains a maximum speed and then suddenly stops. Would the temperature of the gas change during this process? I know that temperature is directly proportional to average kinetic energy of gas molecules but would the train during this process change the kinetic energy of the gas molecules inside the closed container?
[ -0.016476919874548912, 0.02447013556957245, -0.0041816458106040955, 0.02647668868303299, 0.0195830836892128, -0.0028414686676114798, 0.013135953806340694, -0.028233602643013, -0.02993125654757023, -0.01422128640115261, 0.012008710764348507, 0.03416603431105614, -0.0035500191152095795, 0.01...
[ 0.3846631944179535, -0.14616426825523376, -0.11720164120197296, 0.2060624212026596, 0.10775624960660934, 0.08179546892642975, 0.12226027250289917, 0.0258893221616745, -0.2733592092990875, -0.3848955035209656, 0.13064776360988617, 0.31673118472099304, -0.14115552604198456, 0.574677824974060...
There is the problem that is bothering me with the black hole evaporation because of Hawking radiation. According to Hawking theory the black hole will evaporate in finite time because of quantum effects randomly producing particle-antiparticle pairs on the opposite sites of horizon. However, the gravity causes the time dilatation, which goes to infinity on the horizon itself, so the arbitrarily small amount of time from horizon's perspective is going to be infinitely long from external observer's perspective? So, from which perspective is the time the black hole will evaporate calculated? If it is calculated from horizon's perspective, it would mean, the black hole will never evaporate from the external observer's perspective?
[ 0.000751203391700983, 0.01486891508102417, -0.0015314208576455712, 0.009777944535017014, 0.0008938843384385109, -0.019711583852767944, 0.010532362386584282, -0.00018988316878676414, -0.01511283777654171, -0.009346188977360725, -0.022168127819895744, 0.019194290041923523, -0.02938114106655121...
[ 0.4879165291786194, 0.13429127633571625, 0.1832423061132431, 0.10248454660177231, -0.09114447981119156, -0.02042359672486782, -0.4054325520992279, 0.001403429196216166, -0.33711326122283936, -0.18242314457893372, 0.0032380360644310713, 0.3223128318786621, -0.11449916660785675, 0.8678292632...
My Galaxy S2 decided that he would connect to PC anymore. The things that I tried: 1. with 3 cables. 2. on 4 computers. 3. cache partition clean. 4. restore to factory defaults. 5. clean the micro USB port with tooth brush. 6. restarts, shut downs and battery removes (about 20 times). 7. external SD card and SIM remove. What more can I do?
[ -0.0010735072428360581, -0.00894948374480009, -0.011922767385840416, 0.017846187576651573, -0.027491575106978416, -0.011536868289113045, 0.008744212798774242, 0.011236747726798058, -0.023468710482120514, 0.0007296744734048843, -0.018445506691932678, 0.0026059297379106283, 0.00001765769593475...
[ 0.1418740153312683, 0.11236990988254547, 0.7054240703582764, -0.03972923010587692, -0.07256054133176804, 0.09657743573188782, 0.4829185903072357, -0.31279149651527405, -0.22939027845859528, -0.4306422770023346, -0.007219270803034306, 0.6077888011932373, -0.38394635915756226, 0.075250066816...
I have a problem which is mostly neatly described by using Young Tableaux. Mathematica seems to have these Tableaux built in, except that the `Tableaux` function is only in Combinatorica. When I `Needs[Combinatorica]` I get a warning suggesting that I look at the Compatability Guide for Combinatorica, which I can't seem to find. Does anyone have a link, or know if any of the `Tableaux`-related functions are the problematic ones? The Tableaux function itself is hardly documented at all, and its output is quite tough to read. I am hoping there is a nice built-in way to draw the Tableaux in the nice YT in English notation (longest rows on top) [A custom drawing function is in How to insert a function into OptionsPattern? ]. Is there such a function? Finally, can anyone explain what the format of the input to `Tableaux` should be? Here are some examples that work: In[1]:= Needs["Combinatorica`"] General::compat: Combinatorica Graph and Permutations functionality has been superseded by preloaded functionality. The package now being loaded may conflict with this. Please see the Compatibility Guide for details. In[2]:= Tableaux[3] Out[2]= {{{1, 2, 3}}, {{1, 3}, {2}}, {{1, 2}, {3}}, {{1}, {2}, {3}}} In[3]:= Tableaux[{3}] Out[3]= {{{1, 2, 3}}} In[4]:= Tableaux /@ IntegerPartitions[3] Out[4]= {{{{1, 2, 3}}}, {{{1, 3}, {2}}, {{1, 2}, {3}}}, {{{1}, {2}, {3}}}} while something like `Tableaux[{1, 2, 3}]` gives errors. Does `Tableaux[integer]` give all possible tableaux with `integer` entries? Does `Tableaux[{int1, int2, ..., intk}]` give all possible tableaux of `k` rows of length `int1` ... `intk` respectively? This would explain why `Tableaux[{1,2,3}]` throws errors---it would be a malformed tableaux.
[ 0.02040121704339981, -0.0001647744793444872, -0.005513720214366913, 0.012921447865664959, -0.002029110211879015, -0.011000098660588264, 0.006566913798451424, 0.003912173677235842, -0.016461655497550964, -0.006643268745392561, -0.01994067057967186, 0.009374989196658134, -0.010024674236774445,...
[ -0.06289945542812347, 0.4847707152366638, 0.193111851811409, 0.08606801927089691, -0.014822311699390411, -0.35702142119407654, 0.12993763387203217, 0.09882591664791107, -0.33095887303352356, -0.6276578307151794, 0.04547445476055145, 0.5524864792823792, -0.20083704590797424, 0.3318476378917...
My brief overseas experience in Great Britain has taught me that British people tend to pronounce _Ibiza_ as _Ibitha_. My questions are as follows: 1. Why is this the case? 2. How did this develop? 3. What are the circumstances that determine if a _z_ is pronounced like a _z_ or a _th_?
[ 0.0436239130795002, -0.003374072490260005, -0.019019311293959618, 0.013083409518003464, 0.012963374145328999, 0.005748876836150885, 0.007867779582738876, 0.025575172156095505, -0.01902654394507408, 0.0029025727417320013, -0.009565715678036213, 0.007567845284938812, -0.010327033698558807, 0...
[ 0.35143792629241943, 0.29191383719444275, 0.02000541426241398, -0.6414703726768494, -0.007173112127929926, 0.1976495385169983, 0.47812941670417786, 0.5494624972343445, -0.058808907866477966, -0.15806922316551208, -0.1421097069978714, 0.04012199491262436, -0.2100956290960312, 0.387602925300...
I develop a suite of productivity tools, for Mac, iOS and Windows. They all communicate with a sync server via a RESTful interface (using Protocol Buffers), but as we add new platforms, we realize the pain it is to recreate different versions of the same code just to communicate with the client, so we have thought of using a modular design: * The backend client module would be the same for all clients, so that changes to the protocol can be easily ported to all clients * Clients we need to support: Windows, Mac, iOS, Android, Web, possibly Windows Mobile The only way I can think of is via a JavaScript module that's shared across all clients and handles communications with the server, but perhaps that's even more work because of the integration required with the JavaScript interpreter. Maybe we might be better off writing a couple of backend modules instead of just one.
[ 0.0019615008495748043, -0.0002534150844439864, -0.006462659686803818, -0.0002934995573014021, 0.0031680213287472725, -0.012163514271378517, 0.007388450670987368, 0.01775071769952774, -0.0147306639701128, -0.02713405154645443, -0.005217815283685923, 0.01600206457078457, 0.008302778005599976, ...
[ 0.3669127821922302, 0.2807501256465912, 0.47011956572532654, -0.05957892909646034, 0.3031623363494873, 0.18123310804367065, 0.012737208977341652, -0.1390993446111679, -0.03526570647954941, -0.7464072704315186, -0.008615070022642612, 0.4887210726737976, -0.05037637799978256, 0.0520131997764...
I want to find an adjective to describe that something can be detailed. From my google search I found that "Detailable" isn't a word. EDIT: I am actually trying to find an interface name for a class (Programming). The idea is that objects that will implement the "Detailable" interface will be asked for information to show details. Example: > Car is detailable so I can ask which is it's description. PS: Something similar happens with "Commentable".
[ -0.0006523195188492537, 0.006190059706568718, -0.01819382980465889, 0.004891667980700731, -0.036250725388526917, -0.006669672671705484, 0.007866661064326763, 0.026851415634155273, -0.016852978616952896, 0.004563106223940849, -0.014095126651227474, 0.012011222541332245, 0.020578952506184578, ...
[ 0.3342854976654053, 0.009154089726507664, 0.14284247159957886, 0.2605244219303131, -0.36069348454475403, 0.20645956695079803, 0.1635463535785675, 0.236762136220932, -0.10461130738258362, -0.8899790048599243, -0.02518121525645256, 0.3456321656703949, -0.015194064937531948, 0.201929360628128...
Why hasn't Google developed such a suite as good as the Nokia suite that would almost 100% allow us to use most of our phones' basic functions on our PC?
[ -0.019105175510048866, 0.0017877049976959825, -0.01516758743673563, -0.020831137895584106, -0.02124342881143093, 0.003789009992033243, 0.013848275877535343, 0.006326355505734682, -0.021030722185969353, -0.04978438466787338, -0.012257346883416176, 0.02471855841577053, 0.0181872695684433, 0....
[ 0.014022739604115486, 0.18081706762313843, 0.21514026820659637, 0.624586820602417, 0.22161400318145752, -0.15655040740966797, 0.3601980209350586, 0.013254234567284584, 0.16192622482776642, -0.2336764633655548, -0.033983420580625534, 0.4140569269657135, 0.007806518115103245, -0.084470778703...
We found a gravestone in Ashby MA. with an old word on it we could not understand. > "Lot, son of ... was scolt to death Decr. 8, 1806, aged 2 years and 10 > months.". We are not sure what _scolt_ means - has anyone else come across this word before? Google was unhelpful.
[ 0.009580248966813087, -0.006232195068150759, -0.029657060280442238, 0.004573983605951071, 0.0013019645120948553, -0.005009413696825504, 0.012700200080871582, 0.011886107735335827, -0.022334162145853043, -0.00311641744337976, 0.0073874820955097675, 0.013964776881039143, 0.02896401472389698, ...
[ 0.08989885449409485, 0.24885159730911255, -0.4534304738044739, 0.2853548228740692, 0.31568238139152527, 0.4169260263442993, 0.44551628828048706, 0.855702817440033, 0.14585447311401367, -0.7259995341300964, -0.1558215171098709, -0.06473943591117859, -0.0947333350777626, 0.4480312466621399, ...
I grasp the meaning completely, I'm just looking for alternatives ways to express it.
[ 0.0373922735452652, 0.04471375048160553, -0.03670203685760498, 0.05075867846608162, -0.05945299193263054, -0.040942925959825516, 0.012894989922642708, 0.0023990084882825613, -0.06234390661120415, 0.005305793136358261, 0.012277275323867798, 0.013853070326149464, 0.04584873840212822, 0.02056...
[ 0.6057763695716858, 0.4245486259460449, 0.09753413498401642, -0.08699692785739899, -0.41086307168006897, -0.08648182451725006, 0.38005611300468445, 0.24128785729408264, -0.04236898943781853, -0.4557155668735504, -0.04858054220676422, -0.037364087998867035, 0.05283932015299797, 0.3227169215...
In some guides / forums I have read that is not useful upgrade Intelligence or Faith over level 50 due there is a cap in the bonus that you get for Sorcery, Miracles,... But, when I'm upgrading Intelligence to level 51, seems that still you are getting bonus for Sorcery. Is it correct or I've missunderstood something?
[ -0.004515026230365038, 0.0016225915169343352, -0.01790296472609043, -0.01072347816079855, 0.006022514775395393, -0.013565274886786938, 0.010123156942427158, -0.03432527929544449, -0.019809696823358536, 0.004678991157561541, -0.006099848076701164, 0.020182179287075996, -0.04686862230300903, ...
[ 0.39428484439849854, 0.03649840131402016, 0.258646160364151, 0.25348109006881714, -0.377871572971344, -0.3254075050354004, 0.643056333065033, 0.06371282041072845, -0.28077325224876404, -0.27292245626449585, 0.3246270716190338, 0.648205578327179, 0.41679999232292175, 0.09946451336145401, ...
I am having some difficulties interpreting the results of an analysis perfomed using lme. I conducted an experiment where the subjects had to estimate the time elapsed in a task involving a spatial measure (e.g. subjects watched a video game where a car travels a certain distance). My goal is to determine if there is a linear relation between perceived time and the space traveled by the car. Subject underwent 2 different conditions (e.g. the car was traveling two distances), and each condition was repeated twice. Therefore, given the nature of the experimental design involving repeated measures, I cannot use a simple linear model but I have to use a mixed effects linear model with a random intercept for subject. I use the R language, and I adopted this formula to solve my problem library(nlme) summary(lme(Time ~ Distance, data = my_Table, random = ~1 | Subject)) The output that I get is: Linear mixed-effects model fit by REML Data: my_Table AIC BIC logLik 608.315 618.4454 -300.1575 Random effects: Formula: ~1 | Subject (Intercept) Residual StdDev: 2.964139 4.919044 Fixed effects: Time ~ Distance Value Std.Error DF t-value p-value (Intercept) 5.518714 0.8212930 64 6.719543 0.0000 Distance 0.013092 0.0053225 64 2.459718 0.0166 Correlation: (Intr) Distance -0.415 Standardized Within-Group Residuals: Min Q1 Med Q3 Max -1.2904862 -0.4302117 -0.2593047 0.2081889 5.0914269 Number of Observations: 95 Number of Groups: 30 Now, what is this output telling me? As far as I understand from studying the literature that I found online (I am not a statistician...), if I am rght these results are telling me that there is a linear relation between time and space, since b = 0.013092 and p-value is significant. Now, if the p-value was not significant, this would have meant that there is no linear relation between time and space?
[ -0.007389189675450325, 0.015273943543434143, -0.0073913829401135445, 0.010602159425616264, 0.0018267151899635792, -0.013346719555556774, 0.008844027295708656, -0.004579733591526747, -0.0067375171929597855, 0.017163077369332314, -0.007426351308822632, 0.004799989052116871, 0.00791220180690288...
[ 0.1386297345161438, 0.11481261253356934, 0.2537817060947418, 0.08339802920818329, 0.15506236255168915, 0.36636728048324585, 0.2878199815750122, -0.5024908781051636, -0.30443060398101807, -0.5517994165420532, 0.23100470006465912, 0.23522023856639862, 0.12342892587184906, 0.4382914900779724,...
I have my dsm .tiff file, pixels are floating point 32bit values giving the terrain elevation in metres. I need to create a web map where user can draw a path and get elevation profile for that path. Raster has attribute 'GRAY_INDEX' where values are stored. What are the options to achieve this and is it even possible? I thought about Geoserver `GetFeatureInfo`, but I'm not sure how that would work as I can get values for only one point at a time. I thought when user draws a path, I make a number of `GetFeatureInfo` requests exactly as points in that path, but I assume that would lead to slow performance. Is there a better option?
[ -0.020006876438856125, 0.011656751856207848, -0.004691878333687782, 0.0019773407839238644, 0.005103581584990025, 0.013028795830905437, 0.007686304859817028, 0.01607348397374153, -0.015562361106276512, -0.012506869621574879, 0.003119739703834057, 0.009346011094748974, -0.012236479669809341, ...
[ 0.160198375582695, 0.1218976378440857, 0.690897524356842, 0.17495349049568176, 0.11770542711019516, 0.06842662394046783, 0.1575605720281601, -0.26288288831710815, -0.06361878663301468, -0.8947874903678894, 0.3443823456764221, 0.6392049193382263, 0.0444011427462101, 0.08732357621192932, 0...
I couldn't find an authoritative reference that explains what this setting does in my Android phone: Wi-Fi -> Advanced -> **Keep Wi-Fi on during sleep**. What does this setting do, exactly?
[ -0.015397324226796627, 0.019564932212233543, 0.0025206906720995903, 0.011756980791687965, -0.009183268994092941, -0.030507894232869148, 0.01055491715669632, 0.012454849667847157, -0.04377821832895279, 0.09094210714101791, -0.006136930547654629, 0.02927960269153118, -0.02030784823000431, 0....
[ 0.4956251084804535, -0.1057504341006279, 0.5906409621238708, 0.05469375103712082, 0.15446695685386658, -0.4212318956851959, 0.34013593196868896, 0.21787768602371216, 0.03350614383816719, -0.6251574158668518, 0.10471028834581375, 0.56551194190979, -0.2702549993991852, -0.06605862081050873, ...
I've done my best to search the help and google White's test (http://en.wikipedia.org/wiki/White_test) in Mathematica. Can anyone point me to a function or Mathematica reference for this or do you have to code it up yourself if you want it? Thanks, Peter
[ 0.014224929735064507, 0.0025204718112945557, -0.004156788345426321, 0.005385469179600477, -0.006667404901236296, 0.013188815675675869, 0.008267945609986782, -0.004200560040771961, -0.026474326848983765, 0.002831541933119297, -0.004300839267671108, -0.0019367680652067065, -0.00609164917841553...
[ 0.5030316710472107, 0.4657944440841675, -0.5459964871406555, 0.26001229882240295, 0.04156387597322464, 0.14631642401218414, 0.31851091980934143, 0.24782223999500275, 0.03516513854265213, -0.5014928579330444, 0.23236609995365143, 0.16526207327842712, -0.09786098450422287, -0.230106070637702...
It is possible to calculate the c-index for time dependent outcomes (such as disease) using the survivalROC package in R. My question is : is it possible to produce a p-value for the c-index that is calculated (at a specific point in time)? If I were to use a standard ROC I understand that I can use Wilcoxon test to calculate the p-value of the AUC (here's a simple example). However, because this is survival data I don't think I can use quite the same approach. I have thought of just calculating the concordance index using the survcomp package and getting the p-value from that, however `survivalROC` predicts the c-index at a specific time, whereas the concordance index doesn't seem to. Any suggestions?
[ -0.007168169133365154, 0.019397057592868805, -0.025892561301589012, 0.014050954021513462, -0.011823642998933792, -0.00824582390487194, 0.010174736380577087, -0.019882934167981148, -0.01691228710114956, -0.011751018464565277, 0.0023363749496638775, 0.011617330834269524, -0.0017434526234865189...
[ 0.4453293979167938, -0.06437159329652786, 0.08433474600315094, 0.13288073241710663, -0.12077365815639496, 0.06390637159347534, -0.07763713598251343, -0.341848760843277, -0.2755416929721832, -0.13985097408294678, 0.307882159948349, 0.6828686594963074, -0.1608675718307495, 0.1548843681812286...
`FinancialData["name"]` and `FinancialData["name", start]` return respectively; the last known price, and the daily closing values for dates from start until the current date, for the financial entity - `"name"`. One of the possible entities quoted is `"Currency exchange rates"` and while the Documentation's claims hold for the first case ... Column[{ DateString[], FinancialData[{"AUD", "USD"}], WolframAlpha["AUD/USD", {{"Result", 1}, "Plaintext"},"PodStates" -> {"Result__More accuracy"}], 1/CountryData["Australia", "ExchangeRate"] }] (* "Sat 26 Apr 2014 07:03:11" 0.9274 "$0.9282 (US dollars)" $0.838801 *) it doesn't appear to for the second ... FinancialData[{"AUD", "USD"}, {2013}] (* Missing["NotAvailable"] *) The Wolfram | Alpha query included above graphs a handful of previous years so _some_ historical data can be extracted but clearly not in the systematic, fine-grained way one might expect from using `FinancialData`. There is no mention of this particular missing data in the Documentation although apparently there can be periodic issues with the data sources and while directly accessing these sources offers a possible workaround, this only applies if the sources themselves provide API's for this historical data (which _doesn't_ appear to be the case for one such source - _Yahoo! Finance_ ) The documentation goes on to say: > `FinancialData`provides gateways to external financial data sources. Its use > is subject to any restrictions associated with those sources, and may > require additional licensing. This is perhaps one such instance although few other claimed currency properties seem to be available and/or relevant (at least with my connection?) With[{props = FinancialData[{"AUD", "USD"}, #] & /@ FinancialData[{"AUD", "USD"}, "Properties"]}, StringForm["`1` out of `2` of FinancialData's Currency Exchange properties available", Count[props, Except[_Missing | _FinancialData | {_Missing, ___}]],Length@props]] (* 4 out of 74 of FinancialData's Currency Exchange properties available *)
[ -0.015155204571783543, 0.012291114777326584, -0.007492796517908573, 0.0077924057841300964, -0.0024864408187568188, 0.0041933003813028336, 0.008055437356233597, 0.026164211332798004, -0.012688887305557728, -0.013905806466937065, -0.0006432331865653396, 0.010935315862298012, -0.010249789804220...
[ 0.05690978467464447, 0.21115826070308685, 0.723019540309906, 0.12961049377918243, 0.40046700835227966, -0.059918127954006195, -0.5849370360374451, 0.152012437582016, -0.046120233833789825, -0.03615373745560646, -0.5210551023483276, 0.754707396030426, 0.24514131247997284, 0.3835713863372803...
When I changed my build.prop for spoofing another device model, I copied build.prop from another device having gingerbrad but my system is froyo. When I rebooted, I lost my internet connection. It reports no ruim card where as it is there. I had installed apks for terminal emulator, busybox etc. but they are not working. Xplore file manager does not work. But free version of Astro File Manager and ROM Toolkit work. I tried to push old build.prop on device using adb but it gives permission denied error as it is read only system. I came to know that adb root and adb remount works if you are in recovery mode. I tried to go into recovery mode, but there is no custom recovery installed on my cheap android phone, so can not go into recovery mode. su does not work in my adb shell. Can anybody tell me the way to mount system partition in rw mode using adb ( without recovery mode ) or is there any tool which will work in this situation ? Thanks in advance.
[ 0.011269769631326199, 0.0017738769529387355, -0.001549459877423942, 0.007151756435632706, -0.008946889080107212, -0.0011212932877242565, 0.008698586374521255, 0.020151831209659576, -0.01141577959060669, -0.005057046189904213, -0.01635083742439747, 0.00899038277566433, 0.011648197658360004, ...
[ 0.1670379638671875, 0.21686406433582306, 0.6973970532417297, -0.07090495526790619, 0.09723351895809174, 0.08058571815490723, 0.2529639005661011, -0.0191434808075428, 0.019978893920779228, -0.7316592335700989, 0.23216521739959717, 0.7674829363822937, -0.18901830911636353, 0.4132421314716339...
I had Geonetwork 2.8 running and formatted my Umbuntu 12_04 machine and can't seem to get it back or find the process I used to get it working the first time. I am at the stage where tomcat 7 works but Geonetwork gives the following errors. When I update catalina.sh based on instructions in http://geonetwork- opensource.org/_static/foss4g2010/FOSS4G_Mastering_Advanced_GeoNetwork.pdf my Tomcat does not start. Any ideas? * * * Follow http://geonode.readthedocs.org/en/1.0/deploy/ubuntu.html with exceptions below. 1. Install JRE - http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html 2. Install tomcat 7 (sudo apt-get install tomcat7 tomcat7-docs tomcat7-examples tomcat7-admin -y) 3. Update JRE with "gksudo gedit /etc/default/tomcat7" 4. gksudo gedit /etc/tomcat7/tomcat-users.xml > Blockquote ISSUES Viewing localhost:8080/geonetwork > Raised exception while initializing resource main-db in > /var/lib/tomcat7/webapps/geonetwork/WEB-INF/config.xml. Skipped. > Exception org.apache.commons.dbcp.SQLNestedException: Cannot create > PoolableConnectionFactory (IO Exception: > "java.io.FileNotFoundException: /var/lib/tomcat7/geonetwork.lock.db > (Permission denied)"; "/var/lib/tomcat7/geonetwork.lock.db" > [90031-152]) Resource main-db Message Cannot create > PoolableConnectionFactory (IO Exception: > "java.io.FileNotFoundException: /var/lib/tomcat7/geonetwork.lock.db > (Permission denied)"; "/var/lib/tomcat7/geonetwork.lock.db" > [90031-152]) Provider jeeves.resources.dbms.ApacheDBCPool Stack > org.apache.commons.dbcp.SQLNestedException: Cannot create > PoolableConnectionFactory (IO Exception: > "java.io.FileNotFoundException: /var/lib/tomcat7/geonetwork.lock.db > (Permission denied)"; "/var/lib/tomcat7/geonetwork.lock.db" > [90031-152]) at > org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549) > at > org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) > at > org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) > at jeeves.resources.dbms.Dbms.connect(Dbms.java:88) at > jeeves.resources.dbms.AbstractDbmsPool.open(AbstractDbmsPool.java:142) > at jeeves.server.JeevesEngine.initResources(JeevesEngine.java:473) at > jeeves.server.JeevesEngine.loadConfigFile(JeevesEngine.java:298) at > jeeves.server.JeevesEngine.init(JeevesEngine.java:161) at > jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:85) > at javax.servlet.GenericServlet.init(GenericServlet.java:160) at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027) > at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) > at > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963) > at > org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:722) Caused by: > org.h2.jdbc.JdbcSQLException: IO Exception: > "java.io.FileNotFoundException: /var/lib/tomcat7/geonetwork.lock.db > (Permission denied)"; "/var/lib/tomcat7/geonetwork.lock.db" > [90031-152] at > org.h2.message.DbException.getJdbcSQLException(DbException.java:327) > at org.h2.message.DbException.get(DbException.java:156) at > org.h2.message.DbException.convertIOException(DbException.java:313) at > org.h2.store.fs.FileSystemDisk.openFileOutputStream(FileSystemDisk.java:382) > at org.h2.store.FileLock.save(FileLock.java:203) at > org.h2.store.FileLock.lockFile(FileLock.java:335) at > org.h2.store.FileLock.lock(FileLock.java:134) at > org.h2.engine.Database.open(Database.java:535) at > org.h2.engine.Database.openDatabase(Database.java:218) at > org.h2.engine.Database.<init>(Database.java:213) at > org.h2.engine.Engine.openSession(Engine.java:56) at > org.h2.engine.Engine.openSession(Engine.java:159) at > org.h2.engine.Engine.createSessionAndValidate(Engine.java:138) at > org.h2.engine.Engine.createSession(Engine.java:121) at > org.h2.engine.Engine.createSession(Engine.java:28) at > org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:285) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:114) at > org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:98) at > org.h2.Driver.connect(Driver.java:72) at > org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) > at > org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) > at > org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) > at > org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) > ... 26 more Caused by: java.io.FileNotFoundException: > /var/lib/tomcat7/geonetwork.lock.db (Permission denied) at > java.io.FileOutputStream.open(Native Method) at > java.io.FileOutputStream.<init>(FileOutputStream.java:212) at > java.io.FileOutputStream.<init>(FileOutputStream.java:136) at > org.h2.store.fs.FileSystemDisk.openFileOutputStream(FileSystemDisk.java:374) > ... 45 more Before JVM/Saxon fix in catalina.sh > ----------- root@atgis-linux:/var/lib/tomcat7/webapps/geonetwork/WEB-INF# service > tomcat7 restart * Stopping Tomcat servlet engine tomcat7 > [ OK ] * Starting Tomcat servlet engine tomcat7 > [ OK ] root@atgis-linux:/var/lib/tomcat7/webapps/geonetwork/WEB-INF# > wget http://lh:8080/geonetwork > --2013-03-05 15:01:18-- http://lh:8080/geonetwork Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost > (localhost)|127.0.0.1|:8080... connected. HTTP request sent, awaiting > response... 302 Found Location: http://lh:8080/geonetwork/ > [following] > --2013-03-05 15:01:18-- http://lh:8080/geonetwork/ Reusing existing connection to localhost:8080. HTTP request sent, awaiting > response... 200 OK Length: 666 [text/html] Saving to: 'geonetwork' > > 100%[===============================================================>] > 666 --.-K/s in 0s > > 2013-03-05 15:01:18 (108 MB/s) - 'geonetwork' saved [666/666] -------- Issue after fix > root@atgis-linux:/var/lib/tomcat7/webapps/geonetwork/WEB-INF# service > tomcat7 restart * Stopping Tomcat servlet engine tomcat7 > [ OK ] * Starting Tomcat servlet engine tomcat7 > [fail]
[ -0.024047164246439934, 0.0012441615108400583, -0.0010623368434607983, 0.01975257880985737, 0.010583499446511269, 0.02436329796910286, 0.008246070705354214, 0.008223950862884521, -0.015501242130994797, -0.011640619486570358, -0.013928062282502651, 0.010702533647418022, -0.014089520089328289, ...
[ 0.050868865102529526, 0.0007012710557319224, 0.558922529220581, 0.05853477120399475, -0.11189504712820053, -0.04865126311779022, 0.18163837492465973, 0.22167040407657623, -0.08078586310148239, -0.3580653965473175, 0.11598388105630875, 0.690949559211731, -0.02351043000817299, -0.09619147330...
Hi I am currently developing a web application in Spring and Hibernate where i have several different tables. The Delivery table for example is mapped many- to-one with the Customer table and the Product table. I am wondering what the best practice is for creating a view function where I display all the columns related to each delivery but exclude the different IDs. I can think of two ways of doing this: 1. Create a DTO (data transfer object) with all the columns I wish to display and then in the controller I create a new instance of it and set the different values with setters and services in a for-loop for each Delivery ID. this is the method used in this example. Here is part of the controller code from it: @RequestMapping(value = "/list", method = RequestMethod.GET) public String getRecords(Model model) { logger.debug("Received request to show records page"); // Retrieve all persons List<Person> persons = personService.getAll(); // Prepare model object List<PersonDTO> personsDTO = new ArrayList<PersonDTO>(); for (Person person: persons) { // Create new data transfer object PersonDTO dto = new PersonDTO(); dto.setId(person.getId()); dto.setFirstName(person.getFirstName()); dto.setLastName(person.getLastName()); dto.setMoney(person.getMoney()); dto.setCreditCards(creditCardService.getAll(person.getId())); // Add to model list personsDTO.add(dto); } // Add to model model.addAttribute("persons", personsDTO); // This will resolve to /WEB-INF/jsp/records.jsp return "records"; } 1. the second way I am considering is to create an HQL query that Joins the relevant tables and then displaying that. I'm not sure exactly how to do this yet. So which of the alternatives is the better way to go? Are there any others that I haven't thought about? Thank you for the advice, D
[ 0.003350599203258753, 0.01921883411705494, -0.006705889478325844, 0.002451924607157707, -0.015648264437913895, 0.012358641251921654, 0.006012476980686188, 0.016137968748807907, -0.011833550408482552, -0.0215294286608696, -0.015829600393772125, 0.0078038424253463745, 0.005456527695059776, 0...
[ 0.22576583921909332, -0.16463924944400787, 0.6711978316307068, -0.13018256425857544, -0.36791643500328064, 0.3956872224807739, -0.23550158739089966, -0.205934077501297, -0.12958048284053802, -0.6435894966125488, 0.16107848286628723, 0.12469734251499176, -0.18939164280891418, 0.157176345586...
I'm working on a keyboard layout for the Khmer language and I'm quickly running out of space. My aim is to create a keymap that includes all the characters in the Khmer script as well was their corresponding International Phonetic Alphabet characters. I'd like to be able to remap the `Shift`+`F _n_` , `Alt`+`Fn`, and `Shift`+`Alt`+`F _n_` key combinations to new Unicode code points, but currently it appears that these key combinations are reserved for system shortcuts. How can I override this and remap these keys? The layout I've made in XKB successfully remaps the unmodified `Fn` keys, but `Shift` \+ `F _n_` , `Alt` \+ `F _n_` , etc. are treated the same as if I pressed the `F _n_` key by itself. I'm running Ubuntu 10.04.
[ 0.00897764042019844, 0.017462532967329025, -0.006253400817513466, 0.010892296209931374, -0.017713341861963272, -0.003008428728207946, 0.007620028220117092, -0.0033283247612416744, -0.0184477549046278, 0.014305584132671356, -0.006199736148118973, 0.004543200135231018, -0.013987138867378235, ...
[ 0.23513028025627136, 0.8878008127212524, -0.10458729416131973, -0.15101516246795654, 0.014795866794884205, 0.3475286662578583, 0.060551274567842484, -0.15414035320281982, -0.13945810496807098, -0.1748635321855545, -0.05718471109867096, 0.5850092172622681, 0.0741577297449112, -0.21542128920...
This has bothered me for a while now... please forgive the noob question How do I fire the alternative fire in vehicles? Or the Countermeasures for the heli that aperantly was in the last patch but I've yet to see. Now my right mouse button is supposed to be the alt-fire according to the settings but it doesnt seem to work. What can I be missing? I've never been able to fire that second rocket as the pilot or the tracer dart as the gunner of the apache. I've only once figured out the secondary fire for the drone and the tank but havent been able to repeat either recently. I'm missing something fundimental here...
[ 0.003716548904776573, 0.005813745781779289, -0.01985444873571396, -0.013434071093797684, 0.0015188981778919697, -0.019492872059345245, 0.00602507870644331, 0.014709662646055222, -0.015013525262475014, -0.02324235811829567, -0.004354157485067844, 0.00716891186311841, -0.019309936091303825, ...
[ 0.0432322658598423, 0.19950194656848907, 0.39586642384529114, -0.03867710381746292, -0.27774545550346375, -0.05880746990442276, 0.6192476153373718, -0.22562400996685028, -0.14102402329444885, -0.43827128410339355, 0.20349209010601044, 1.1396616697311401, -0.18335458636283875, -0.4619158506...
What happens if we lift a box of ideal gas? Work is done to the box but no heat is getting into it. So does it's internal energy increase by the amount of work done? Or is it that lifting is not counted as work done to the system? Or is it the case that work turns into heat in a box which quickly flows out to the surrounding, thereby resulting in no net internal energy change?
[ 0.01171256136149168, 0.010837654583156109, 0.020998824387788773, 0.032443057745695114, -0.008023092523217201, -0.01979927159845829, 0.010956889018416405, -0.007982204668223858, -0.0203141737729311, -0.016623947769403458, -0.01931714452803135, 0.02810550481081009, -0.008250581100583076, 0.0...
[ 0.6324498653411865, 0.022583842277526855, 0.24804803729057312, 0.2668409049510956, -0.04445255920290947, 0.0076403142884373665, 0.3758239150047302, -0.4686393439769745, -0.3457134962081909, -0.2505940794944763, -0.16243378818035126, 0.43441617488861084, -0.4731897711753845, 0.2168962806463...
My dataset is not quite large enough to be split into training and testing sets, so I am using bootstrapped optimism to account for overfitting when reporting model performance. The cases in my data set have a low prevalence, such that in some iterations of sampling they're missed. To account for this I've increased the number of times I am sampling and consider set the optimism, for those instances that didn't sample enough (or any) cases for the model to converge, as NA. **I wanted to get a sense for whether that made sense, or if anyone has any experience doing a stratified sampling approach for bootstrapped optimism.** I am using Frank Harrell's 1996 stats medicine paper (Tutorial in biostatistics: Multivariable Prognostic models..") as a guide. I know that RMS has the validate function that can do this for lm and cph models, but I am using neither of these.
[ 0.013034441508352757, 0.0201275534927845, -0.0009761929977685213, 0.015168404206633568, -0.0038259411230683327, -0.0037315692752599716, 0.006098395213484764, -0.00711527094244957, -0.009931232780218124, 0.002913758158683777, -0.00880509801208973, 0.013806740753352642, -0.0140368128195405, ...
[ 0.5511320233345032, 0.12196756899356842, -0.13126875460147858, -0.061398137360811234, -0.10614117980003357, 0.3899746537208557, 0.4293881058692932, -0.10413997620344162, -0.17674364149570465, -0.642440915107727, 0.39367297291755676, 0.14021697640419006, 0.28825193643569946, 0.1150653809309...
I've installed VMWare Player 6.0.1 build - 1379776 on a Red Hat Enterprise linux Server release 6.1 Beta ( Santiago ). When I attempt to start my virtual machine, I get the following the error: Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module `vmmon' is loaded. `uname -r` 2.6.32-122.el6.x86_64 When I install vmmon I get the following error: `sudo modprobe vmmon` FATAL: Error inserting vmmon (/lib/modules/2.6.32-122.el6.x86_64/misc/vmmon.ko): Invalid module format My 2nd question is: When I install it with `vmware-modconfig โ€“console โ€“install-all` I get the following error. How can I install all these packages? Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open shared object file: No such file or directory Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory Logging to /tmp/vmware-root/vmware-modconfig-9282.log Icon name must be set.
[ -0.013713656924664974, -0.007416524924337864, 0.0004640913102775812, 0.013472415506839752, -0.004555291961878538, 0.0037415572442114353, 0.008474647998809814, 0.03183559328317642, -0.013293691910803318, 0.004556449130177498, -0.025505658239126205, 0.01770244538784027, 0.006175808608531952, ...
[ 0.3596349060535431, 0.2417362779378891, 0.6188287734985352, -0.21265678107738495, 0.049425236880779266, -0.28699448704719543, -0.022381119430065155, -0.20828185975551605, -0.1866779774427414, -0.43180862069129944, -0.0651772990822792, 1.1246956586837769, -0.14360372722148895, 0.19989317655...
I'm going to have a database with a 'people' table and a 'shops' table. I'd like to find all people within 500m of a shop, and details from both tables. I'm used to working with mySQL, but I'm getting the idea that this would be better in PostgreSQL especially as this needs to scale to a lot of records. I just can't find a suitable example query or helpful documentation. Both tables will be points (and it's where people live, so not a moving target!). The aim of this is to be able to loop through the results (in PHP) and say > The nearest **butcher** shops to **Tom** are: **Browns Butchers, Smiths > Butchers, and Tescos**. > > The nearest **butcher** shops to **Richard** are: **Browns Butchers, and > Tescos**. If anyone knows a mySQL query that wouldn't be too bad, then that's great too. It looks like this cutting down the area first will be most helpful and so I found this which is a bit more than just an sql query. http://www.movable- type.co.uk/scripts/latlong-db.html
[ 0.010899094864726067, 0.015245026908814907, -0.005223744548857212, 0.010548243299126625, -0.002361670369282365, 0.0033850979525595903, 0.005916708614677191, 0.018572045490145683, -0.009749162010848522, -0.01600075326859951, -0.01383940689265728, 0.006056945770978928, -0.005530878901481628, ...
[ 0.3560936152935028, 0.1146685928106308, 0.48410719633102417, 0.12927715480327606, 0.3095132112503052, 0.1685137152671814, -0.34100770950317383, -0.12399706989526749, -0.12674768269062042, -0.7829928994178772, 0.22326727211475372, 0.1626696139574051, 0.022752882912755013, 0.1515745967626571...
I'm having an issue where my phone gets sluggish and non-responsive when the battery level gets to around 35% or less. Apps will freeze, it will take the keyboard a long time to appear, and the unlock pattern will sometimes not show up at all when turning the screen on. Any ideas would be appreciated. Phone - Galaxy S3 Carrier - Sprint Android version - 4.3
[ -0.008871737867593765, -0.00847618654370308, -0.008365199901163578, 0.01341262273490429, -0.015421165153384209, 0.0007636594236828387, 0.006690772715955973, 0.006406412925571203, -0.01496071182191372, 0.02483392506837845, -0.014227502979338169, 0.009283858351409435, -0.0011318150209262967, ...
[ -0.09474434703588486, 0.12922167778015137, 0.845494270324707, -0.10625071078538895, 0.09800751507282257, 0.028381021693348885, 0.5612403154373169, -0.07889336347579956, -0.26678138971328735, -0.06529516726732254, -0.22826281189918518, 0.6157867908477783, -0.4054933786392212, -0.33174741268...
I generally find it hard to construct some sentences that start with "I wish, ..." Example: (Background:) Due to an incomplete technical documentation, we chose the wrong path, and ran into an unforeseen limitation. What's the correct way to state my frustration? * I wish, the documentation _would warn_ about that limitation. * I wish, the documentation _had warned_ about that limitation. * I wish, the documentation _would have warned_ about that limitation. * I wish, the documentation _warned_ about that limitation. * I _would wish_ , that the documentation _warns_ about that limitation. * ...
[ 0.009327046573162079, 0.004723452031612396, -0.012883436866104603, 0.017830420285463333, 0.014548219740390778, 0.012443182989954948, 0.006729775108397007, 0.01114395447075367, -0.011956492438912392, 0.010077662765979767, 0.003469162853434682, -0.001736995647661388, 0.005739264190196991, 0....
[ 0.2286749929189682, 0.6233148574829102, 0.12087400257587433, -0.13644030690193176, -0.3515322208404541, 0.09310045093297958, 0.5109199285507202, 0.00012545792560558766, -0.42869216203689575, -0.5554736256599426, 0.1335579752922058, 0.6552824974060059, -0.06371791660785675, -0.0739093795418...
I can't stop my custom post types from sporadically 404ing. It doesn't always happen and I can't predictably replicate the problem - as in sometimes it happens, sometimes it doesn't. However, once I clear the cache, the 404 always goes away and the URL works. I have tried resetting and re-saving the permalinks, which are currently category/postname. I have also tried playing around with the flush rewrite rules, setting them to blank and false, but nothing seems to cure the issue. Here is my current code: add_action('init', 'create_raceresults_post_type'); function create_raceresults_post_type() { register_post_type('raceresults', array( 'labels' => array( 'name' => 'Race Results', 'singular_name' => 'Race Results', 'add_new' => 'Add New Race Result', 'add_new_item' => 'Add New Race Result', 'edit' => 'Edit Race Result', 'edit_item' => 'Edit Race Result', 'new_item' => 'New Race Result', 'view_item' => 'View Race Result', 'search_items' => 'Search Race Result', 'not_found' => 'No Race Result found', 'not_found_in_trash' => 'No Race Result found in Trash' ), 'public' => true, 'exclude_from_search'=> false, 'rewrite' => array('slug' => 'best-running-training-program', 'with_front' => true), 'supports' => array( 'title', 'excerpt', 'title', 'excerpt', 'editor', 'custom-fields', 'revisions', 'thumbnail', 'author', 'page-attributes' ), 'taxonomies' => array('category', 'post_tag') // this is IMPORTANT )); flush_rewrite_rules(); } Is there something I am missing or not trying? Here is an example of that custom post: http://runnersconnect.net/best-running-training-program/race- results-march-24-march-25/. I just tried it and it worked when I first published 60 minutes ago but just 404ed when I tried to check it. Thanks in advance!
[ 0.013886124826967716, 0.011533837765455246, -0.007856997661292553, 0.01456640474498272, 0.010166867636144161, 0.002535367850214243, 0.0054894182831048965, 0.006111420691013336, -0.015566132962703705, -0.000957524636760354, -0.010577777400612831, -0.00030145770870149136, -0.000333840260282158...
[ 0.19495172798633575, -0.01713336817920208, 0.36628827452659607, -0.28684791922569275, 0.008271275088191032, 0.3394114077091217, 0.5394317507743835, 0.08902651816606522, -0.5634936690330505, -0.5275375843048096, -0.007360741030424833, 0.4309955835342407, -0.21788422763347626, 0.058324683457...
All, I read this paragraph from a read. But not sure about the exactly meaning. please help me to understand it .thanks. > Grant focuses on making it fun for beginners to learn Ubuntu Linux. **If > you're just an ordinary user, who's not sure what's going on behind Windows > or Mac OS X's glossy interfaces and you don't really care either, this is > the Ubuntu book for you**. Grant is a linux book author.
[ -0.011791960336267948, 0.012870319187641144, 0.007693407125771046, 0.00927748903632164, -0.019685951992869377, -0.022807059809565544, 0.006767651531845331, 0.006806794088333845, -0.011995615437626839, 0.015612989664077759, -0.009970877319574356, 0.008699450641870499, 0.009621741250157356, ...
[ 0.6473000049591064, 0.41569650173187256, 0.11774487048387527, 0.36503681540489197, -0.388096421957016, -0.46851399540901184, 0.00971176102757454, 0.45544853806495667, -0.03161895275115967, -0.46252232789993286, -0.2073916792869568, 0.5981011986732483, 0.005441424436867237, -0.0854176357388...
I want to prompt some messages to my console. I used \message{Hi out there!} Now i want some more Text but with an linebreak. \message{Hello World %some line break here Salut monde } Well i scanned the TeXbook for and tried many things but without result. I would welcome any (related) comments. BTW I want that to work with pdf(la)tex as well.
[ 0.0031591556034982204, 0.0021420225966721773, -0.013178916648030281, 0.01817493326961994, 0.007698987144976854, -0.010657230392098427, 0.0077875955030322075, 0.021596796810626984, -0.018631039187312126, -0.022612515836954117, -0.0076256017200648785, 0.008091419003903866, 0.012179533019661903...
[ 0.09210500121116638, -0.0169097688049078, 0.5028865933418274, -0.08635757118463516, -0.526316225528717, -0.0720692053437233, 0.5502915382385254, 0.4802681803703308, 0.12036216259002686, -0.6930055022239685, -0.041495177894830704, 0.5803594589233398, -0.2846904993057251, 0.07475466281175613...
From time to time, I would like to use _Mathematica_ purely numerically, e.g., plotting a function which is defined as an integral which cannot be solve analytically or a solution of a differential equation, or ... . It turns out that _Mathematica_ is rather efficient (I would say comparable to Matlab) if you know what you are doing. However, _Mathematica_ even though it has incredible numerical possibilities makes numerical life quite hard. Problems which occur: 1. it tries to evaluate a function analytically, because you type something like `f[x]` where `x` does not have (yet) a numerical value. 2. it tries to symbolically preprocess expressions (check out the `"SymbolicProcessing"` option of `NIntegrate`) even if I know that no symbolic solution exists 3. lists are not properly packed, because somewhere `Pi` appears which does not get converted to a numerical value 4. ... I would like very much if there would be a switch, which changes _Mathematica_ into purely numerical mode which would include: * a) all numbers are converted in machine numbers (lists are packed) * b) there is no attempted of any symbolic operation, any function `f[x]` with `x` not a number remains unevaluated (of course, I know the trick to define `f[x_?NumericQ]` but the numerical mode would save me lots of typing) * c) turn off symbolical (pre-)processing Is there a way which I can get the required behavior a) to c)? Do other people suffer from the same problems? It turns out that for me it is not a problem any more because I know how to deal with it; however, inexperienced user typically suffer from very bad performance if they would like to use _Mathematica_ for numerical means. In fact _Mathematica_ is a marvelous numerical tool with good plotting capabilities. I hope that some of you might even now better than me what I am hunting for. I guess not all problems can be avoided. A problematic expression is, e.g., the following `Plot[{Re[#], Im[#]}&[f[x]], {x,0,1}]`. `Plot` does not know that it has a list as an argument, but running evaluate on it decreases the performance because `f[x]` is evaluated twice. What I am looking for is to put _Mathematica_ in a mode which a typical user with a typical problem does not suffer the low speed as it does now. So typing `Pi + 1` should result in `4.1416`, `{Pi,1}` should give a packed array, and _Mathematica_ should forget about commutativity and associativity of addition since it does not hold for numerical problems.
[ 0.01605011522769928, 0.01761949434876442, -0.0072234091348946095, 0.00970204547047615, -0.014191818423569202, -0.007843279279768467, 0.00650170398876071, 0.00040792813524603844, -0.0134245865046978, -0.022704439237713814, -0.015826616436243057, 0.007941117510199547, -0.011491244658827782, ...
[ -0.1049085408449173, 0.14794890582561493, 0.08790053427219391, 0.20798072218894958, -0.12997205555438995, -0.22073115408420563, -0.002974912989884615, 0.21453526616096497, -0.20615153014659882, -0.6423571109771729, 0.07976523041725159, 0.6502215266227722, -0.1352308988571167, -0.0586508214...
> "If I can not succeed in an orthodox way, at least I can succeed in a > criminal world." What does the word `orthodox` mean in this case ?
[ 0.0028567002154886723, 0.048621006309986115, -0.013964666053652763, 0.03573264926671982, -0.056345511227846146, 0.023990070447325706, 0.015316744334995747, -0.008079348132014275, -0.023392323404550552, 0.020427972078323364, -0.026831049472093582, 0.031261175870895386, 0.033182889223098755, ...
[ 0.3047199249267578, 0.24733833968639374, -0.05469539389014244, 0.10757336765527725, -0.09899363666772842, -0.22504214942455292, 0.9302070736885071, -0.12413835525512695, 0.10176168382167816, -0.20265844464302063, -0.19352754950523376, 0.507994532585144, -0.08287479728460312, 0.026964243501...
The Hadamard Operator on one qubit is: \begin{align*} H = \tfrac{1}{\sqrt{2}}\left[\,\left(\color{darkgreen}{|0\rangle + |1\rangle}\right)\color{darkblue}{\langle 0|}+\left(\color{darkgreen}{|0\rangle - |1\rangle}\right)\color{darkblue}{\langle 1|}\,\right] \end{align*} Show that: \begin{align*} H^{\otimes n} = \frac{1}{\sqrt{2^n}}\sum_{x,y}(-1)^{x \cdot y}\,\left|x\rangle \langle y\right| \end{align*} I can evaluate things like $H \otimes H$ in practice, but I don't know how to get a general formula for $H^{\otimes n}$. Are there any tricks I could use?
[ -0.001558494521304965, 0.011100154370069504, -0.006556176580488682, -0.004580466076731682, 0.005296645220369101, 0.003243817947804928, 0.005438720807433128, 0.01142751332372427, -0.0067139118909835815, -0.0006771869957447052, -0.008256344124674797, -0.0003591045970097184, -0.0079414341598749...
[ -0.9401552081108093, -0.06364567577838898, -0.18866701424121857, -0.13340328633785248, -0.4039512872695923, 0.1889360547065735, 0.020791353657841682, -0.2623820900917053, -0.03385315462946892, -0.050571031868457794, -0.540032148361206, 0.2488364577293396, -0.32980069518089294, 0.0483157075...
> **Possible Duplicate:** > How to use 1. (number followed by dot) format instead of [1] format in > bibliography I'm using the `amsart` class, and the command `\begin{thebibliography}` for references. This puts all the enumerations of references in square brackets, and I want to get rid of this. That is, I want the references to look like 1. ~~ 2. ~~ rather than [1]. ~~ [2]. ~~ How can this be achieved??
[ 0.00010827588994288817, 0.008753614500164986, -0.009377229027450085, 0.018350685015320778, -0.008315437473356724, -0.0014426009729504585, 0.007526441477239132, -0.004900508094578981, -0.018093954771757126, 0.01205023005604744, 0.0017805445240810513, -0.007176633924245834, -0.0108978329226374...
[ 0.2610093951225281, 0.4700053930282593, 0.46647998690605164, 0.30174511671066284, 0.14329516887664795, -0.014552528038620949, 0.07660358399152756, -0.1771773397922516, -0.33083397150039673, -0.8647793531417847, 0.14407649636268616, 0.2707476019859314, -0.4285871684551239, 0.266872495412826...
I know I can have my Android phone act as a wireless route, and I know I can connect my Android to my computer's internet via a USB connection. Is it possible, then, to have the phone act as a router but use the computers internet instead of the phones data capabilities?
[ -0.015712492167949677, 0.015600933693349361, -0.003049774793908, -0.0030379733070731163, -0.04983910173177719, -0.023007525131106377, 0.010825890116393566, -0.00385846896097064, -0.026489391922950745, -0.035829491913318634, -0.011255067773163319, 0.019213508814573288, 0.014872584491968155, ...
[ 0.29602593183517456, 0.22827719151973724, 0.42460140585899353, 0.21395906805992126, 0.4403191804885864, 0.10991080105304718, 0.09868188202381134, -0.13149023056030273, -0.25227129459381104, -0.6879405379295349, -0.024818886071443558, 0.30048272013664246, -0.05212472751736641, -0.0409084632...
What evidence is there that dark matter isn't one of the known types of neutrinos? If it were, how would this be measurable?
[ 0.0030769542790949345, 0.0077564045786857605, 0.0010154371848329902, 0.0111093083396554, 0.015352653339505196, -0.026461366564035416, 0.015607926063239574, -0.0014007308054715395, -0.013865478336811066, -0.028269613161683083, 0.002105227904394269, 0.029727879911661148, -0.011537976562976837,...
[ 0.7720485329627991, 0.10590264201164246, -0.15820008516311646, 0.38132473826408386, -0.19231337308883667, -0.22816015779972076, -0.1353275328874588, 0.052676647901535034, -0.37003159523010254, -0.12921154499053955, 0.037436410784721375, 0.30478495359420776, -0.10672479122877121, 0.67310810...
We know that Mathematic doesn't natively support Windows Authentication connect. But as we can see in this post, the problem can be easily solved when your Mathematica is in Windows version (I have just made it). The company that I work is now changing to Windows Authentication, and the problem is that I use both **Mac** and Windows. ## Question: There is someway that I could connect into SQL Server database using Windows Authentication from my Mac Mathematica? So I could pass my Windows Domain/User and Password together with the jDBC connections string? PS: I don't want to use Windows version of Mathematica in my Mac by Parallels, this will be my last shot.
[ 0.018494058400392532, -0.003149560419842601, -0.010128718800842762, -0.002015448175370693, 0.005682030692696571, -0.0179789699614048, 0.008376231417059898, 0.010061569511890411, -0.01616903766989708, -0.053220730274915695, -0.012610970996320248, 0.016231372952461243, -0.0038230102509260178, ...
[ 0.14956645667552948, 0.37509939074516296, 0.311346173286438, 0.13729049265384674, -0.0870216116309166, -0.1525733321905136, 0.303646057844162, 0.18937845528125763, -0.13779449462890625, -0.8655369281768799, 0.1913074404001236, 0.5169094204902649, 0.08033671230077744, 0.20493321120738983, ...
When writing a scientific or engineering paper, how do we choose between _hypothesize_ and _postulate_?
[ 0.05521340295672417, 0.060588739812374115, 0.021122701466083527, 0.04199226200580597, -0.023653613403439522, 0.04249437898397446, 0.027634944766759872, 0.02483735792338848, -0.006113260984420776, -0.07733853161334991, -0.053198739886283875, -0.0019879243336617947, -0.04880395904183388, 0.0...
[ 0.5658392906188965, 0.2494232952594757, -0.16119974851608276, 0.4068175256252289, 0.14652082324028015, 0.03970661014318466, 0.05712408199906349, -0.18346665799617767, 0.34881702065467834, -0.34832748770713806, 0.030602656304836273, 0.38403376936912537, -0.002671954920515418, -0.11300499737...
I am writing my PhD thesis, using documentclass Thesis. To compile the table of contents, I write the following. However, in the pdflatex-file, this correctly produces 1. Introduction, and 2.Mychapteronename, with its full toc. Yet what should be Chapter 3 appears as appendix A...Would anyone know why this happens? Thanks, Eva \mainmatter % Begin numeric (1,2,3...) page numbering \pagestyle{fancy} % Return the page headers back to the "fancy" style \chapter{Introduction} \include{./Chapters/Introduction/introductionthesis} {\addtocontents{toc}{\vspace{2em}} \chapter{Mychapteronename} \include{./Chapters/Chapter1/nameofchapteronefile} {\addtocontents{toc}{\vspace{2em}} \chapter{Mychaptertwoname} \include{./Chapters/Chapter2/nameofchaptertwofile} {\addtocontents{toc}{\vspace{2em}} \backmatter
[ 0.0005625302437692881, 0.02087699994444847, -0.0028297079261392355, 0.02265867218375206, -0.011322978883981705, 0.009933793917298317, 0.010303336195647717, 0.00698809651657939, -0.016950389370322227, -0.045249294489622116, -0.012983797118067741, -0.008774912916123867, -0.008411742746829987, ...
[ 0.13653023540973663, 0.5021654963493347, 0.8604161739349365, -0.20215679705142975, 0.05693146213889122, -0.07824806123971939, 0.21699711680412292, -0.1707528680562973, -0.009826173074543476, -0.6012211441993713, -0.11183717101812363, 0.06196540966629982, 0.21832747757434845, 0.143495872616...
Due to a complex multisite config, I have a query which combines the posts from two blogs and I would like to **paginate the results**. I am grateful for any help. I have posted my query. $latestposts = $wpdb->get_results( " (SELECT * FROM net_5_posts INNER JOIN net_5_term_relationships ON net_5_posts.ID=net_5_term_relationships.object_id WHERE post_type = 'post' AND post_status = 'publish' AND term_taxonomy_id = '151' ) UNION ALL (SELECT * FROM net_7_posts INNER JOIN net_7_term_relationships ON net_7_posts.ID=net_7_term_relationships.object_id WHERE post_type = 'post' AND post_status = 'publish' AND term_taxonomy_id = '20' ) ORDER BY post_date DESC LIMIT 5",'ARRAY_A'); foreach ($latestposts as $latestpost) { $da_id = $latestpost['ID']; $da_title = $latestpost['post_title']; $da_content = strip_tags($latestpost['post_content']); $da_content = limit_words($da_content,55); $da_link = $latestpost['guid']; $da_date = $latestpost['post_date']; $da_date = date('F j, Y', strtotime($da_date)); echo ' <div class="ldapost"> <h2 class="lheader"><a href="'.$da_link.'">'.$da_title.'</a></h2> <span class="ldate">'.$da_date.'</span> <span class="lcontent">'.$da_content.'โ€ฆ</span><br> <a class="button btnright" href="'.$da_link.'">Continue Reading</a> </div> '; }
[ 0.004980652593076229, 0.01571580208837986, -0.005636702757328749, 0.01068091206252575, -0.01684083789587021, 0.01135861687362194, 0.006911350414156914, 0.016864843666553497, -0.010923488065600395, -0.0019685705192387104, -0.005732552148401737, 0.014880867674946785, -0.013446925207972527, 0...
[ 0.40428152680397034, -0.03970278427004814, 0.8701840043067932, 0.016404883936047554, 0.02724766917526722, -0.16042639315128326, 0.26003724336624146, -0.2624455690383911, -0.24544405937194824, -0.7663607597351074, 0.17308257520198822, 0.23706047236919403, 0.06130243465304375, 0.448461860418...
Suppose we have a complex function $f(x,y)$, in which x and y are real variables. In theory we can write the function into the polar form $$ f(x,y)=r(x,y)e^{i\theta(xy)} $$ where $r(x,y)$ and $\theta(x,y)$ are real functions. For some complicated function, it may very difficult to see what $r(x,y)$ and $\theta(x,y)$ are. So my question is if given a the function $f(x,y)$, is it possible to plot the contour of the function $r(x,y)$: $$r(x,y)=0$$ ? For example, f[x_, y_] := (Cos[x] + Cos[y]) Exp[I x y] how can I reproduce the contour of `(Cos[x] + Cos[y])==0` only using $f[x,y]$? Grid@{{ContourPlot[Re@f[x, y] == 0, {x, 0, 4 Pi}, {y, 0, 4 Pi}, ImageSize -> 300], ContourPlot[Im@f[x, y] == 0, {x, 0, 4 Pi}, {y, 0, 4 Pi}, ImageSize -> 300]}, { ContourPlot[(Cos[x] + Cos[y]) == 0, {x, 0, 4 Pi}, {y, 0, 4 Pi}, ImageSize -> 300], ContourPlot[Abs[f[x, y]] == 0, {x, 0, 4 Pi}, {y, 0, 4 Pi}, ImageSize -> 300]}} ![enter image description here](http://i.stack.imgur.com/mMlLc.png) Here is more complicated function just for check f[a_, a0_, k_, K0_]:=E^(I a0 K0) (2 a - I k) LegendreP[2, (I k)/a, -Tanh[(a a0)/2]] (E^(I a0 K0)LegendreQ[1, (I k)/a, -Tanh[(a a0)/2]] - LegendreQ[1, (I k)/a, Tanh[(a a0)/2]]) - (2 a - I k) LegendreP[2, (I k)/a, Tanh[(a a0)/2]] (E^(I a0 K0) LegendreQ[1, (I k)/a, -Tanh[(a a0)/2]] - LegendreQ[1, (I k)/a, Tanh[(a a0)/2]]) + E^(I a0 K0)LegendreP[1, (I k)/a, -Tanh[(a a0)/2]] (I E^(I a0 K0)k LegendreQ[2, (I k)/a, -Tanh[(a a0)/2]] + (2 a - I k) LegendreQ[2, (I k)/a, Tanh[(a a0)/2]]) + LegendreP[1, (I k)/a, Tanh[(a a0)/2]] (E^(I a0 K0) (2 a - I k) LegendreQ[2, (I k)/a, -Tanh[(a a0)/2]] + I k LegendreQ[2, (I k)/a, Tanh[(a a0)/2]] + 4 a E^(I a0 K0)LegendreQ[1, (I k)/a, -Tanh[(a a0)/2]] Tanh[(a a0)/2]) - 2 a (LegendreP[1, (I k)/a, Tanh[(a a0)/2]] LegendreQ[2, (I k)/a, Tanh[(a a0)/2]] + E^(I a0 K0)LegendreP[1, (I k)/a, -Tanh[(a a0)/2]] (E^(I a0 K0)LegendreQ[2, (I k)/a, -Tanh[(a a0)/2]] + 2 LegendreQ[1, (I k)/a, Tanh[(a a0)/2]] Tanh[(a a0)/2])) With[{a0 = 10., a = 1.4}, Row@{ContourPlot[ Re[f[a, a0, k, K0]] == 0, {K0, -2 \[Pi]/a0, 2 \[Pi]/a0}, {k, 0, 4}, ImageSize -> 400, PlotLabel -> "Re"], ContourPlot[ Im[f[a, a0, k, K0]] == 0, {K0, -2 \[Pi]/a0, 2 \[Pi]/a0}, {k, 0, 4}, ImageSize -> 400, PlotLabel -> "Im"]}] ![enter image description here](http://i.stack.imgur.com/tFbA9.png) and I expect to get something like this ![enter image description here](http://i.stack.imgur.com/6DVFV.png) Note that this question is related to my another question here, where I tried to plot the contour of $$ |f(x,y)|=|r(x,y)|=0 $$ but it turned out that plot the zero contour of a non-negative function is hard, since `ContourPlot` seems to be based on the Intermediate Value Theorem. Jens gives a manual approach in that question, but my future functions would be complicated Legendre and Hypergeometric functions, which would be a pain to manually deal with them by hand. So here I'm asking for maybe some alternative approaches to plot $r(x,y)=0$, if there are any.
[ 0.00582569045946002, 0.025403007864952087, -0.01309749111533165, 0.009629419073462486, -0.010957926511764526, -0.016338862478733063, 0.00548544293269515, -0.0017508307937532663, -0.01057199016213417, -0.0025082677602767944, -0.022140629589557648, 0.008132202550768852, -0.021231185644865036, ...
[ -0.23098185658454895, 0.01904190704226494, 0.5498197674751282, -0.2903363108634949, 0.01773400977253914, 0.288213849067688, -0.019006185233592987, -0.22776302695274353, 0.21110917627811432, -0.37344855070114136, -0.2970197796821594, 0.6837171316146851, -0.45434078574180603, 0.2865996658802...
If there is a kernel update from an upstream repository (such as debian or centos) does ksplice work with those updates? If not, how does one update the kernel without a reboot and without paying Oracle?
[ 0.023917656391859055, 0.01748953014612198, -0.001067770877853036, 0.03317811340093613, -0.0363558866083622, 0.004395909141749144, 0.015883436426520348, -0.04262677580118179, -0.02725871652364731, -0.01039203628897667, -0.025990869849920273, 0.034006305038928986, 0.01596302166581154, 0.0114...
[ 0.17889660596847534, -0.14967596530914307, 0.014842589385807514, 0.34511515498161316, -0.1821209043264389, -0.18056991696357727, 0.23012080788612366, -0.04702164977788925, 0.14251883327960968, -0.2573939561843872, -0.13333068788051605, 0.5729588866233826, -0.16303840279579163, -0.110123291...
i have one polygon layer and another is point layer,i want to findout orientation automatically of line of polygon which is parellel to the street and closest to the point.i am using Qgis 2.0 .is it any plugin to findout this?without scripting it can be done? thanks ![enter image description here](http://i.stack.imgur.com/c9ak0.jpg)
[ -0.0059053245931863785, 0.014880385249853134, -0.01101519726216793, 0.010392078198492527, -0.032939612865448, 0.006274496205151081, 0.008392900228500366, 0.030884765088558197, -0.01852034218609333, 0.007885612547397614, -0.006353538017719984, 0.011101318523287773, 0.016501903533935547, 0.0...
[ 0.41612350940704346, 0.027634942904114723, 0.4176821708679199, -0.12299522757530212, -0.4032663106918335, 0.1656310111284256, 0.18527007102966309, -0.029404902830719948, -0.053239792585372925, -0.9847365617752075, 0.18754544854164124, 0.6023309826850891, -0.009088139049708843, -0.204769596...
I need to use the "authordate1" style in my thesis. When I compile, it always shows a lot of errors from bibtex. My bibtex file is: @Book{ Card:1983:PHI:578027, author = "Stuart K. Card and Allen Newell and Thomas P. Moran", title = "The Psychology of Human-Computer Interaction", year = "1983", isbn = "0898592437", publisher = "L. Erlbaum Associates Inc.", address = "Hillsdale, NJ, USA" } * * * My tex file is \documentclass[spanish,a4paper,10pt]{book} \usepackage{babel} \usepackage[latin1]{inputenc} %\usepackage[square,sort]{natbib} \begin{document} Lista de referencias \nocite{*} \bibliographystyle{authordate1} \bibliography{biblio} \end{document} * * * When I compile without \usepackage[square,sort]{natbib}, I always get erros from bibtex (one from each reference), and I have to pulse the "intro" key for each one. /usr/share/texmf-texlive/tex/latex/base/latin1.def)) (./listareferencias.aux) (./listareferencias.bbl [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] ! Undefined control sequence. <argument> \protect \citename {Card {\em et~al.\ }\relax , }1983 l.4 }1983]{Card:1983:PHI:578027} And my bibliography looks: [Card et al. , 1983] Card, Stuart K., Newell, Allen, & Moran, Thomas P. 1983. The Psychology of Human-Computer Interaction. Hillsdale, NJ, USA: L. Erl- baum Associates Inc. However, f i use natbib, I get no errors, but my bibliography has no brackets: Card, Stuart K., Newell, Allen, & Moran, Thomas P. 1983. The Psychology of Human-Computer Interaction. Hillsdale, NJ, USA: L. Erlbaum Associates Inc. Thanks in advance, I really appreciate your help.
[ 0.007356428075581789, 0.01006384938955307, -0.011081984266638756, 0.010687118396162987, -0.0006614250596612692, 0.010541859082877636, 0.007068980485200882, -0.011242051608860493, -0.008743740618228912, -0.006144530139863491, -0.01943322643637657, 0.003990020602941513, 0.0016052445862442255, ...
[ -0.13560117781162262, 0.663918673992157, 0.2107158601284027, 0.0036460866685956717, 0.1885054111480713, -0.24975085258483887, 0.24662314355373383, -0.16059276461601257, 0.01669251173734665, -0.034668877720832825, -0.11104374378919601, 0.17335429787635803, -0.138389453291893, 0.193887904286...
So I am currently writing an application using the ArcGIS JavaScript API, and I want to access the map object that is held inside of my div from a js module I have. I was thinking it would be a simple JQuery call but it doesn't seem to be the case, as when I try to use `map.centerAndZoom()`, it states that it is not a member of the object that returned by that call. Is there anyway to be able to reference the map object that was created in my main index.html elsewhere?
[ -0.029967620968818665, -0.0005212013493292034, -0.002965460065752268, 0.0015518316067755222, -0.01368933916091919, 0.0011669317027553916, 0.006854287814348936, 0.026271391659975052, -0.021528752520680428, -0.024126572534441948, 0.0025359182618558407, 0.016478322446346283, -0.0068419985473155...
[ 0.19037391245365143, 0.08145949244499207, 0.29518646001815796, 0.029110943898558617, 0.06000055745244026, -0.16160759329795837, -0.0078956363722682, 0.16536633670330048, -0.2319902777671814, -0.7882019877433777, 0.17885109782218933, 0.33099502325057983, -0.09118860214948654, 0.296621948480...
What is the correct way to write a question you would verbally ask in a higher tone of voice? > How is this possible?! OR > How is this possible!? The subtlety lies in the punctuation. Thanks
[ -0.007246950641274452, -0.006864677183330059, -0.009615812450647354, 0.013566906563937664, -0.015013008378446102, -0.017750397324562073, 0.012018642388284206, -0.014420893974602222, -0.021028053015470505, -0.05929667502641678, -0.007942134514451027, 0.002791955368593335, -0.00072954804636538...
[ -0.2028895914554596, 0.15718963742256165, 0.2370677888393402, 0.394978404045105, -0.16034545004367828, -0.1515553891658783, 0.38403913378715515, 0.1395142823457718, 0.2733609676361084, -0.42393213510513306, -0.026453975588083267, 0.5085956454277039, 0.20859506726264954, -0.4703696370124817...
From the Wikipedia article: > In geometry, an affine transformation or affine map or an affinity (from the > Latin, affinis, "connected with") between two vector spaces (strictly > speaking, two affine spaces) consists of a linear transformation followed by > a translation. Can anyone give a real-world example of when and how this is used in GIS?
[ 0.0004780419112648815, 0.02399163693189621, 0.0006895263795740902, 0.030522886663675308, -0.020074918866157532, -0.024835459887981415, 0.010303531773388386, -0.025131830945611, -0.019747881218791008, 0.009732979349792004, -0.010931987315416336, 0.014368644915521145, -0.021380143240094185, ...
[ 0.006688213907182217, -0.2659788131713867, 0.16116558015346527, 0.4441957473754883, -0.1399158090353012, -0.14258936047554016, -0.3322198987007141, -0.1717841625213623, 0.004902974236756563, -0.7106215357780457, -0.4686417579650879, 0.2613048553466797, -0.2438877671957016, -0.0644969716668...
I have a basic reactor with a energy condenser pumping ice in to the last row (minus the first and last slot in the row). How do I automatically pull out depleted cells and replace them with uranium cells BUT not fill in the slots with ice? My problem is that the filter pulls out ice and fills them in slots where uranium cells should be.
[ 0.006743170320987701, 0.014751750975847244, -0.01120226550847292, 0.006715449970215559, -0.028504427522420883, -0.008958747610449791, 0.011710736900568008, 0.01346617378294468, -0.03039100207388401, 0.00934672262519598, -0.021458212286233902, 0.019365664571523666, 0.00021127065701875836, 0...
[ 0.4058394730091095, 0.35378313064575195, 0.050656724721193314, 0.14714162051677704, 0.16875514388084412, 0.07025016099214554, -0.08835358172655106, -0.1919206976890564, 0.13341830670833588, -0.5384143590927124, 0.23611919581890106, 0.10109328478574753, -0.11622864753007889, 0.2441892772912...
Ok, so I have an interesting situation here. I'm looking to have an option to "visually" change a theme via a query string. Basically over-riding the need to update the database and just temporarily change the look of the site (think sort of like the preview button in the Themes section?) Here's an example: Let's say I have a demo site that has the same content but I want to give people the option to see what the site will look like under different themes. Instead of creating multiple blogs (networked or not), I want to keep things maintainable for the content and dynamically change the theme without actually setting it in the database. That way, if I have multiple users viewing the same blog they instantly see the default and can change the theme without updating the site for everyone else. Is this possible??? I've tried thinking of alternatives and this is the only way I can think of. Any suggestions or answers would be great :) Thanks
[ 0.015573123469948769, 0.011865735054016113, -0.005419538822025061, 0.002773669082671404, -0.018387146294116974, -0.008429668843746185, 0.0037448080256581306, 0.012819165363907814, -0.012635942548513412, -0.006616981700062752, -0.009249758906662464, 0.007065547630190849, 0.0017478991067036986...
[ 0.8836155533790588, 0.041658662259578705, 0.1907738596200943, 0.1511865109205246, -0.15130898356437683, -0.4438307285308838, 0.035441238433122635, 0.48852983117103577, -0.6220885515213013, -0.6188729405403137, 0.2661903500556946, 0.5204716324806213, -0.17560957372188568, 0.4437240660190582...
Although there are many similar questions here regarding using GIT for maintaining different versions, none seem to answer my specific case. I'm OK with how to use GIT to do my development, using different branches to do hot fixes, versioning etc. However, I am making a commercial application that needs to track various modules and configurations for **DIFFERENT** clients. And I do NOT wish the client to have access to a module or code they haven't paid for. Yet I would like to use GIT to deploy on their server, or to be able to deploy directly on the client server using ssh/rsync, or even on my server in a unique directory, then zip up the source files using a standard process. Let me give you an example: Client A: * Deploy basic application * Deploy Module A (e.g. forum) only * Deploy Client A specific theme with Client A specific logo Client B: * Deploy basic application * Deploy Module A (e.g. forum) * Deploy Module B (e.g. faq system) * Deploy Client B specific theme with Client B specific logo Development Server: * Contains basic application * Contains Module A (e.g. forum) * Contains Module B (e.g. faq system) * Contains Client A and Client B themes with all logos * Contains Development Notes which must NOT be visible to client * Contains build files used with Phing - these must NOT be available to clients It's very important to understand that GIT on the development server contains proprietary data for Client A and Client B. Therefore Client A must never see my development notes, my Phing build files, Module B (faq system) or code/data/images for Client B. I do not need to keep variations of a module or the basic application for individual clients. Everything is standard across the system, and it's only the deployment configuration/variation for each client which is unique. I am happy to use GIT Submodules to keep some parts separate, if that helps. Note that all my code is in PHP and I am happy to deploy solutions using PHP, Perl, Python or scripting, but I don't want to use Java on the destination server. Ideally I would like to avoid Ruby solutions, if possible. I have access to SSH on the client server and can use rsync over SSH as well, but I need to be able to execute a script on the client server to clean caches etc after an update. My development machine is **Windows** \- yes, unfortunate, but true. If I cannot achieve what I need on Windows then I will run CentOS/Fedora in VMWare. This is not a multi-server deployment requiring simultaneous updating across a server farm, although it would be nice to be able push out updates of the application to all the various clients on a schedule or using a single command/procedure rather than having to do it manually for each one. I would also need to be able to push client specific updates to individual clients as and when required (for instance HTML or logo updates). So, can I use GIT for deployment, or at least track the various configurations using branches? Or is it simply going to be too messy? Can I hide Client B from Client A, including in commit history, in a particular branch, to make sure someone proficient with GIT at the client's organization cannot retrieve code they mustn't see (and this is a **contractual** requirement of the project)? If so, how do I do this in GIT? If not, how can I **best** manage a build process that allows me to deploy client specific configurations? Note that initially I will be managing around 20 different clients, and this might grow to 100 or more different configurations as each one will include their own HTML and logos, and a variation based on a potentially unique selection of 15-20 modules. I am happy to maintain a hundred different XML configuration files if that's what it takes. I am aware of Capistrano, but from reading about it, it doesn't seem that suitable for my specific case. If you feel otherwise, please do feel free to state so.
[ 0.00013301451690495014, 0.004461164120584726, -0.007016563322395086, 0.007250016555190086, 0.0010149073787033558, 0.006208296865224838, 0.008280154317617416, -0.02170730009675026, -0.014938303269445896, -0.011606499552726746, -0.00301573658362031, 0.015727410092949867, 0.009065063670277596, ...
[ 0.702946662902832, 0.3092777729034424, 0.1148950532078743, -0.06973209977149963, -0.12460692226886749, -0.29007488489151, 0.1616377830505371, -0.016411462798714638, -0.3321554362773895, -0.8103544116020203, -0.02367374487221241, 0.45146432518959045, -0.26495304703712463, 0.1668946743011474...
Newbie in arcobjects. Would like to expedite the learning process by looking at existing code samples. Please paste links which would provide code samples for common tasks. Thanks
[ 0.035592105239629745, 0.0356365442276001, -0.029849309474229813, 0.03383519873023033, 0.0001265814498765394, 0.0011497497325763106, 0.016357265412807465, 0.04356125369668007, -0.04059528186917305, 0.0187941063195467, 0.00911373645067215, 0.01881236396729946, 0.0038066357374191284, -0.00162...
[ 0.42161038517951965, -0.004191270098090172, -0.26580455899238586, 0.7050647735595703, -0.09061217308044434, -0.5524882674217224, 0.25798535346984863, 0.17389574646949768, 0.07066110521554947, -0.8007115721702576, 0.0366927795112133, 0.3508951961994171, 0.42297500371932983, 0.01517539285123...
I am using LaTeX (TeXmaker) to give format to an article in arabic and spanish (with some special characters to represent a transliteration of arabic text). I used this solution to locate my page number in the place that I needed (both header and footer will be used for other information). As I began to introduce the text (alternating between arabic and spanish) the page number sometimes is shown in arabic-western numerals and sometimes in arabic-indic numerals, but I would like them to show always in arabic-western numerals. Sometimes using \newpage solves the problem, but sometimes it does not, so I need a permanent solution. I left some packages I use in the preamble of the NWE, but I'm not sure if they're part of the problem or not. NWE: \documentclass[11pt]{article} \usepackage[spanish,mexico]{babel} %Spanish \usepackage{arabtex} %Arabic \usepackage{utf8} %Arabic \usepackage[utf8]{inputenc} %Spanish % Page number \usepackage{eso-pic} \AddToShipoutPicture{% \AtPageUpperLeft{% \setlength\unitlength{0.43in}% \hspace*{\dimexpr\paperwidth-1.4in\relax}% \makebox(1,-3)[rt]{\thepage}% }} % Helvetica \usepackage[scaled]{helvet} \renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif \usepackage[T1]{fontenc} \usepackage{textcomp} % Transliteration \usepackage{semtrans} % Transliteration \begin{document} \setarab \setcode{utf8} \begin{arabtext} ูˆู‚ูˆู„ ุงู„ู„ู‡ ุชุนุงู„ู‰: `ุงู„ู’ูŠูŽูˆู’ู…ูŽ ุฃูŽูƒู’ู…ูŽู„ู’ุชู ู„ูŽูƒูู…ู’ ุฏููŠู†ูŽูƒูู…ู’ ูˆูŽุฃูŽุชู’ู…ูŽู…ู’ุชู ุนูŽู„ูŽูŠู’ูƒูู…ู’ ู†ูุนู’ู…ูŽุชููŠ ูˆูŽุฑูŽุถููŠุชู ู„ูŽูƒูู…ู ู„ู’ุฃูุณู’ู„ุงู…ูŽ ุงุฏููŠู†ุงู‹.' (ุงู„ู…ุงุฆุฏุฉ: ู…ู† ุงู„ุขูŠุฉ3) \\ูˆู‚ูˆู„ู‡ ุชุนุงู„ู‰: `ู‚ูู„ู’ ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ู†ูŽู‘ุงุณู ุฅูู†ู’ ูƒูู†ู’ุชูู…ู’ ูููŠ ุดูŽูƒูู‘ ู…ูู†ู’ ุฏููŠู†ููŠ ููŽู„ุง ุฃูŽุนู’ุจูุฏู ุงู„ูŽู‘ุฐููŠู†ูŽ ุชูŽุนู’ุจูุฏููˆู†ูŽ ู…ูู†ู’ ุฏููˆู†ู ุงู„ู„ูŽู‘ู‡ู ูˆูŽู„ูŽูƒูู†ู’ ุฃูŽุนู’ุจูุฏู ุงู„ู„ูŽู‘ู‡ูŽ ุงู„ูŽู‘ุฐููŠ ูŠูŽุชูŽูˆูŽููŽู‘ุงูƒูู…ู’.' (ูŠูˆู†ุณ: ู…ู† ุงู„ุขูŠุฉ140) \\ูˆู‚ูˆู„ู‡ ุชุนุงู„ู‰: `ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ูŽู‘ุฐููŠู†ูŽ ุขู…ูŽู†ููˆุง ุงุชูŽู‘ู‚ููˆุง ุงู„ู„ูŽู‘ู‡ูŽ ูˆูŽุขู…ูู†ููˆุง ุจูุฑูŽุณููˆู„ูู‡ู ูŠูุคู’ุชููƒูู…ู’ ูƒููู’ู„ูŽูŠู’ู†ู ู…ูู†ู’ ุฑูŽุญู’ู…ูŽุชูู‡ู ูˆูŽูŠูŽุฌู’ุนูŽู„ู’ ู„ูŽูƒูู…ู’ ู†ููˆุฑุงู‹ ุชูŽู…ู’ุดููˆู†ูŽ ุจูู‡ู ูˆูŽูŠูŽุบู’ููุฑู’ ู„ูŽูƒูู…ู’ ูˆูŽุงู„ู„ูŽู‘ู‡ู ุบูŽูููˆุฑูŒ ุฑูŽุญููŠู…ูŒ.' (ุงู„ุญุฏูŠุฏ: 28) \end{arabtext} \bigskip Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis non erat ut neque semper mattis. Aliquam rutrum sem sit amet purus imperdiet lacinia. Cras aliquet lorem nisl, sit amet varius turpis consectetur id. Nulla scelerisque nulla in cursus mattis. Quisque dignissim turpis ut nunc rhoncus, quis elementum arcu interdum. Phasellus ut justo congue neque sagittis ultricies vel ac lacus. In hac habitasse platea dictumst. In vitae metus quis nibh dictum hendrerit ullamcorper sit amet sapien. Etiam tempor dui quis sapien tristique, a vulputate urna tristique. Nunc malesuada, ligula a tristique ullamcorper, quam ante bibendum mi, in ullamcorper felis ligula at ipsum. In hac habitasse platea dictumst. Aliquam erat volutpat. Donec eu eleifend nulla. Fusce est velit, dapibus quis augue hendrerit, pulvinar posuere arcu. Donec diam purus, varius nec tempus at, faucibus sed mauris. \bigskip \setcode{utf8} \begin{arabtext} ูˆู‚ูˆู„ ุงู„ู„ู‡ ุชุนุงู„ู‰: `ุงู„ู’ูŠูŽูˆู’ู…ูŽ ุฃูŽูƒู’ู…ูŽู„ู’ุชู ู„ูŽูƒูู…ู’ ุฏููŠู†ูŽูƒูู…ู’ ูˆูŽุฃูŽุชู’ู…ูŽู…ู’ุชู ุนูŽู„ูŽูŠู’ูƒูู…ู’ ู†ูุนู’ู…ูŽุชููŠ ูˆูŽุฑูŽุถููŠุชู ู„ูŽูƒูู…ู ู„ู’ุฃูุณู’ู„ุงู…ูŽ ุงุฏููŠู†ุงู‹.' (ุงู„ู…ุงุฆุฏุฉ: ู…ู† ุงู„ุขูŠุฉ3) \\ูˆู‚ูˆู„ู‡ ุชุนุงู„ู‰: `ู‚ูู„ู’ ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ู†ูŽู‘ุงุณู ุฅูู†ู’ ูƒูู†ู’ุชูู…ู’ ูููŠ ุดูŽูƒูู‘ ู…ูู†ู’ ุฏููŠู†ููŠ ููŽู„ุง ุฃูŽุนู’ุจูุฏู ุงู„ูŽู‘ุฐููŠู†ูŽ ุชูŽุนู’ุจูุฏููˆู†ูŽ ู…ูู†ู’ ุฏููˆู†ู ุงู„ู„ูŽู‘ู‡ู ูˆูŽู„ูŽูƒูู†ู’ ุฃูŽุนู’ุจูุฏู ุงู„ู„ูŽู‘ู‡ูŽ ุงู„ูŽู‘ุฐููŠ ูŠูŽุชูŽูˆูŽููŽู‘ุงูƒูู…ู’.' (ูŠูˆู†ุณ: ู…ู† ุงู„ุขูŠุฉ140) \\ูˆู‚ูˆู„ู‡ ุชุนุงู„ู‰: `ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ูŽู‘ุฐููŠู†ูŽ ุขู…ูŽู†ููˆุง ุงุชูŽู‘ู‚ููˆุง ุงู„ู„ูŽู‘ู‡ูŽ ูˆูŽุขู…ูู†ููˆุง ุจูุฑูŽุณููˆู„ูู‡ู ูŠูุคู’ุชููƒูู…ู’ ูƒููู’ู„ูŽูŠู’ู†ู ู…ูู†ู’ ุฑูŽุญู’ู…ูŽุชูู‡ู ูˆูŽูŠูŽุฌู’ุนูŽู„ู’ ู„ูŽูƒูู…ู’ ู†ููˆุฑุงู‹ ุชูŽู…ู’ุดููˆู†ูŽ ุจูู‡ู ูˆูŽูŠูŽุบู’ููุฑู’ ู„ูŽูƒูู…ู’ ูˆูŽุงู„ู„ูŽู‘ู‡ู ุบูŽูููˆุฑูŒ ุฑูŽุญููŠู…ูŒ.' (ุงู„ุญุฏูŠุฏ: 28) \end{arabtext} \bigskip Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis non erat ut neque semper mattis. Aliquam rutrum sem sit amet purus imperdiet lacinia. Cras aliquet lorem nisl, sit amet varius turpis consectetur id. Nulla scelerisque nulla in cursus mattis. Quisque dignissim turpis ut nunc rhoncus, quis elementum arcu interdum. Phasellus ut justo congue neque sagittis ultricies vel ac lacus. In hac habitasse platea dictumst. In vitae metus quis nibh dictum hendrerit ullamcorper sit amet sapien. Etiam tempor dui quis sapien tristique, a vulputate urna tristique. Nunc malesuada, ligula a tristique ullamcorper, quam ante bibendum mi, in ullamcorper felis ligula at ipsum. In hac habitasse platea dictumst. Aliquam erat volutpat. Donec eu eleifend nulla. Fusce est velit, dapibus quis augue hendrerit, pulvinar posuere arcu. Donec diam purus, varius nec tempus at, faucibus sed mauris. \bigskip \setcode{utf8} \begin{arabtext} ูˆู‚ูˆู„ ุงู„ู„ู‡ ุชุนุงู„ู‰: `ุงู„ู’ูŠูŽูˆู’ู…ูŽ ุฃูŽูƒู’ู…ูŽู„ู’ุชู ู„ูŽูƒูู…ู’ ุฏููŠู†ูŽูƒูู…ู’ ูˆูŽุฃูŽุชู’ู…ูŽู…ู’ุชู ุนูŽู„ูŽูŠู’ูƒูู…ู’ ู†ูุนู’ู…ูŽุชููŠ ูˆูŽุฑูŽุถููŠุชู ู„ูŽูƒูู…ู ู„ู’ุฃูุณู’ู„ุงู…ูŽ ุงุฏููŠู†ุงู‹.' (ุงู„ู…ุงุฆุฏุฉ: ู…ู† ุงู„ุขูŠุฉ3) \\ูˆู‚ูˆู„ู‡ ุชุนุงู„ู‰: `ู‚ูู„ู’ ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ู†ูŽู‘ุงุณู ุฅูู†ู’ ูƒูู†ู’ุชูู…ู’ ูููŠ ุดูŽูƒูู‘ ู…ูู†ู’ ุฏููŠู†ููŠ ููŽู„ุง ุฃูŽุนู’ุจูุฏู ุงู„ูŽู‘ุฐููŠู†ูŽ ุชูŽุนู’ุจูุฏููˆู†ูŽ ู…ูู†ู’ ุฏููˆู†ู ุงู„ู„ูŽู‘ู‡ู ูˆูŽู„ูŽูƒูู†ู’ ุฃูŽุนู’ุจูุฏู ุงู„ู„ูŽู‘ู‡ูŽ ุงู„ูŽู‘ุฐููŠ ูŠูŽุชูŽูˆูŽููŽู‘ุงูƒูู…ู’.' (ูŠูˆู†ุณ: ู…ู† ุงู„ุขูŠุฉ140) \\ูˆู‚ูˆู„ู‡ ุชุนุงู„ู‰: `ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ูŽู‘ุฐููŠู†ูŽ ุขู…ูŽู†ููˆุง ุงุชูŽู‘ู‚ููˆุง ุงู„ู„ูŽู‘ู‡ูŽ ูˆูŽุขู…ูู†ููˆุง ุจูุฑูŽุณููˆู„ูู‡ู ูŠูุคู’ุชููƒูู…ู’ ูƒููู’ู„ูŽูŠู’ู†ู ู…ูู†ู’ ุฑูŽุญู’ู…ูŽุชูู‡ู ูˆูŽูŠูŽุฌู’ุนูŽู„ู’ ู„ูŽูƒูู…ู’ ู†ููˆุฑุงู‹ ุชูŽู…ู’ุดููˆู†ูŽ ุจูู‡ู ูˆูŽูŠูŽุบู’ููุฑู’ ู„ูŽูƒูู…ู’ ูˆูŽุงู„ู„ูŽู‘ู‡ู ุบูŽูููˆุฑูŒ ุฑูŽุญููŠู…ูŒ.' (ุงู„ุญุฏูŠุฏ: 28) \end{arabtext} \bigskip Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis non erat ut neque semper mattis. Aliquam rutrum sem sit amet purus imperdiet lacinia. Cras aliquet lorem nisl, sit amet varius turpis consectetur id. Nulla scelerisque nulla in cursus mattis. Quisque dignissim turpis ut nunc rhoncus, quis elementum arcu interdum. Phasellus ut justo congue neque sagittis ultricies vel ac lacus. In hac habitasse platea dictumst. In vitae metus quis nibh dictum hendrerit ullamcorper sit amet sapien. Etiam tempor dui quis sapien tristique, a vulputate urna tristique. Nunc malesuada, ligula a tristique ullamcorper, quam ante bibendum mi, in ullamcorper felis ligula at ipsum. In hac habitasse platea dictumst. Aliquam erat volutpat. Donec eu eleifend nulla. Fusce est velit, dapibus quis augue hendrerit, pulvinar posuere arcu. Donec diam purus, varius nec tempus at, faucibus sed mauris. \bigskip \setcode{utf8} \begin{arabtext} ูˆู‚ูˆู„ ุงู„ู„ู‡ ุชุนุงู„ู‰: `ุงู„ู’ูŠูŽูˆู’ู…ูŽ ุฃูŽูƒู’ู…ูŽู„ู’ุชู ู„ูŽูƒูู…ู’ ุฏููŠู†ูŽูƒูู…ู’ ูˆูŽุฃูŽุชู’ู…ูŽู…ู’ุชู ุนูŽู„ูŽูŠู’ูƒูู…ู’ ู†ูุนู’ู…ูŽุชููŠ ูˆูŽุฑูŽุถููŠุชู ู„ูŽูƒูู…ู ู„ู’ุฃูุณู’ู„ุงู…ูŽ ุงุฏููŠู†ุงู‹.' (ุงู„ู…ุงุฆุฏุฉ: ู…ู† ุงู„ุขูŠุฉ3) \\ูˆู‚ูˆู„ู‡ ุชุนุงู„ู‰: `ู‚ูู„ู’ ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ู†ูŽู‘ุงุณู ุฅูู†ู’ ูƒูู†ู’ุชูู…ู’ ูููŠ ุดูŽูƒูู‘ ู…ูู†ู’ ุฏููŠู†ููŠ ููŽู„ุง ุฃูŽุนู’ุจูุฏู ุงู„ูŽู‘ุฐููŠู†ูŽ ุชูŽุนู’ุจูุฏููˆู†ูŽ ู…ูู†ู’ ุฏููˆู†ู ุงู„ู„ูŽู‘ู‡ู ูˆูŽู„ูŽูƒูู†ู’ ุฃูŽุนู’ุจูุฏู ุงู„ู„ูŽู‘ู‡ูŽ ุงู„ูŽู‘ุฐููŠ ูŠูŽุชูŽูˆูŽููŽู‘ุงูƒูู…ู’.' (ูŠูˆู†ุณ: ู…ู† ุงู„ุขูŠุฉ140) \\ูˆู‚ูˆู„ู‡ ุชุนุงู„ู‰: `ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ูŽู‘ุฐููŠู†ูŽ ุขู…ูŽู†ููˆุง ุงุชูŽู‘ู‚ููˆุง ุงู„ู„ูŽู‘ู‡ูŽ ูˆูŽุขู…ูู†ููˆุง ุจูุฑูŽุณููˆู„ูู‡ู ูŠูุคู’ุชููƒูู…ู’ ูƒููู’ู„ูŽูŠู’ู†ู ู…ูู†ู’ ุฑูŽุญู’ู…ูŽุชูู‡ู ูˆูŽูŠูŽุฌู’ุนูŽู„ู’ ู„ูŽูƒูู…ู’ ู†ููˆุฑุงู‹ ุชูŽู…ู’ุดููˆู†ูŽ ุจูู‡ู ูˆูŽูŠูŽุบู’ููุฑู’ ู„ูŽูƒูู…ู’ ูˆูŽุงู„ู„ูŽู‘ู‡ู ุบูŽูููˆุฑูŒ ุฑูŽุญููŠู…ูŒ.' (ุงู„ุญุฏูŠุฏ: 28) \end{arabtext} \bigskip Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis non erat ut neque semper mattis. Aliquam rutrum sem sit amet purus imperdiet lacinia. Cras aliquet lorem nisl, sit amet varius turpis consectetur id. Nulla scelerisque nulla in cursus mattis. Quisque dignissim turpis ut nunc rhoncus, quis elementum arcu interdum. Phasellus ut justo congue neque sagittis ultricies vel ac lacus. In hac habitasse platea dictumst. In vitae metus quis nibh dictum hendrerit ullamcorper sit amet sapien. Etiam tempor dui quis sapien tristique, a vulputate urna tristique. Nunc malesuada, ligula a tristique ullamcorper, quam ante bibendum mi, in ullamcorper felis ligula at ipsum. In hac habitasse platea dictumst. Aliquam erat volutpat. Donec eu eleifend nulla. Fusce est velit, dapibus quis augue hendrerit, pulvinar posuere arcu. Donec diam purus, varius nec tempus at, faucibus sed mauris. \bigskip \setcode{utf8} \begin{arabtext} ูˆู‚ูˆู„ ุงู„ู„ู‡ ุชุนุงู„ู‰: `ุงู„ู’ูŠูŽูˆู’ู…ูŽ ุฃูŽูƒู’ู…ูŽู„ู’ุชู ู„ูŽูƒูู…ู’ ุฏููŠู†ูŽูƒูู…ู’ ูˆูŽุฃูŽุชู’ู…ูŽู…ู’ุชู ุนูŽู„ูŽูŠู’ูƒูู…ู’ ู†ูุนู’ู…ูŽุชููŠ ูˆูŽุฑูŽุถููŠุชู ู„ูŽูƒูู…ู ู„ู’ุฃูุณู’ู„ุงู…ูŽ ุงุฏููŠู†ุงู‹.' (ุงู„ู…ุงุฆุฏุฉ: ู…ู† ุงู„ุขูŠุฉ3) \\ูˆู‚ูˆู„ู‡ ุชุนุงู„ู‰: `ู‚ูู„ู’ ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ู†ูŽู‘ุงุณู ุฅูู†ู’ ูƒูู†ู’ุชูู…ู’ ูููŠ ุดูŽูƒูู‘ ู…ูู†ู’ ุฏููŠู†ููŠ ููŽู„ุง ุฃูŽุนู’ุจูุฏู ุงู„ูŽู‘ุฐููŠู†ูŽ ุชูŽุนู’ุจูุฏููˆู†ูŽ ู…ูู†ู’ ุฏููˆู†ู ุงู„ู„ูŽู‘ู‡ู ูˆูŽู„ูŽูƒูู†ู’ ุฃูŽุนู’ุจูุฏู ุงู„ู„ูŽู‘ู‡ูŽ ุงู„ูŽู‘ุฐููŠ ูŠูŽุชูŽูˆูŽููŽู‘ุงูƒูู…ู’.' (ูŠูˆู†ุณ: ู…ู† ุงู„ุขูŠุฉ140) \\ูˆู‚ูˆู„ู‡ ุชุนุงู„ู‰: `ูŠูŽุง ุฃูŽูŠูู‘ู‡ูŽุง ุงู„ูŽู‘ุฐููŠู†ูŽ ุขู…ูŽู†ููˆุง ุงุชูŽู‘ู‚ููˆุง ุงู„ู„ูŽู‘ู‡ูŽ ูˆูŽุขู…ูู†ููˆุง ุจูุฑูŽุณููˆู„ูู‡ู ูŠูุคู’ุชููƒูู…ู’ ูƒููู’ู„ูŽูŠู’ู†ู ู…ูู†ู’ ุฑูŽุญู’ู…ูŽุชูู‡ู ูˆูŽูŠูŽุฌู’ุนูŽู„ู’ ู„ูŽูƒูู…ู’ ู†ููˆุฑุงู‹ ุชูŽู…ู’ุดููˆู†ูŽ ุจูู‡ู ูˆูŽูŠูŽุบู’ููุฑู’ ู„ูŽูƒูู…ู’ ูˆูŽุงู„ู„ูŽู‘ู‡ู ุบูŽูููˆุฑูŒ ุฑูŽุญููŠู…ูŒ.' (ุงู„ุญุฏูŠุฏ: 28) \end{arabtext} \bigskip Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis non erat ut neque semper mattis. Aliquam rutrum sem sit amet purus imperdiet lacinia. Cras aliquet lorem nisl, sit amet varius turpis consectetur id. Nulla scelerisque nulla in cursus mattis. Quisque dignissim turpis ut nunc rhoncus, quis elementum arcu interdum. Phasellus ut justo congue neque sagittis ultricies vel ac lacus. In hac habitasse platea dictumst. In vitae metus quis nibh dictum hendrerit ullamcorper sit amet sapien. Etiam tempor dui quis sapien tristique, a vulputate urna tristique. Nunc malesuada, ligula a tristique ullamcorper, quam ante bibendum mi, in ullamcorper felis ligula at ipsum. In hac habitasse platea dictumst. Aliquam erat volutpat. Donec eu eleifend nulla. Fusce est velit, dapibus quis augue hendrerit, pulvinar posuere arcu. Donec diam purus, varius nec tempus at, faucibus sed mauris. \end{document} Output: ![Output1](http://i.stack.imgur.com/nIba8.png) ![Output2](http://i.stack.imgur.com/2KVeU.png) ![Output3](http://i.stack.imgur.com/K8xie.png) Lists of files (don't know if necessary, but the "how to ask" seems to recommend it?) ![file list1](http://i.stack.imgur.com/U6l4K.png) ![file list2](http://i.stack.imgur.com/2ysyG.png) * * * **Edit1: More details.** I don't use the fancyhdr for the page number because there is other information placed there. To avoid overcrowding my header I want to put the page-number at the left of the main body of the text. This is how a final page in my article looks like (I used package showframe to show you the layout I need): ![final look](http://i.stack.imgur.com/gM0sD.png) So I need to preserve _this_ page-number position.
[ -0.0001389572862535715, 0.021807590499520302, -0.009220752865076065, 0.004785860888659954, -0.026200123131275177, 0.03407277166843414, 0.008918402716517448, -0.007895644754171371, -0.015677768737077713, -0.01992783322930336, 0.004898376762866974, 0.0010166410356760025, -0.0076757390052080154...
[ -0.09126055240631104, 0.2796120047569275, 0.7954407334327698, 0.10240932554006577, -0.33672821521759033, -0.07328172028064728, 0.03678305447101593, 0.16994334757328033, -0.11463278532028198, -0.7671223282814026, -0.24014976620674133, 0.5733879208564758, -0.08938375115394592, -0.06313108652...
I'm developing a project using Javascript, PHP and OpenLayers. A lot of maps are loaded using and HTTPS connection against an external OGC server. When I try to load the map using HTTPS, they doesn't load (instead of, they show me an "Error loading the map, try again later"). I think that the problem is because of Digital Certificate. If I load directly from the server (using a WMS call) like this (look the last parameter): https://serverurl/ogc/wms?service=WMS&version=1.1.0&request=GetMap&layers=ms1:lp_anual_250&styles=&bbox=205125.0,3150125.0,234875.0,3199875.0&width=306&height=512&srs=EPSG:4326&format=application/openlayers The browser ask me for my authorization to see it. If i accept the Digital Certificate, I can see the map. After that, and because of my browser now accepts the certificate, I can see my own map from my own application. I'm creating the layer like this: activeLayer = new OpenLayers.Layer.WMS( layername, layerurl, { width: varmap.size.w, srs: varmap.projection, layers: layername, height: varmap.size.h, styles: style, format: 'image/png' } ); varmap.addLayer(activeLayer); So, the question is: Is there any way to ask for the Digital Certificate mannually when the user access to my web? Thanks in advance! PS: solutions using PHP are welcome too because I'm using CodeIgniter to load views
[ -0.013362363912165165, -0.012542326003313065, -0.011198715306818485, 0.02661825716495514, -0.0018504774197936058, 0.01159283984452486, 0.008966907858848572, -0.016331791877746582, -0.012652607634663582, -0.01726178452372551, -0.0054429080337285995, 0.0014568211045116186, -0.00654690992087125...
[ 0.45774999260902405, 0.16439245641231537, 0.422578901052475, -0.195957750082016, -0.11868347972631454, -0.18871161341667175, 0.04095008224248886, 0.041037287563085556, -0.4131726622581482, -0.8656017780303955, 0.021937360987067223, 0.3591304123401642, -0.20566463470458984, 0.33514103293418...