document
stringlengths
0
28.6k
label
stringclasses
17 values
In _Mathematica 9_ , the `FindFaces` command offers an easy way to detect faces. In some experiments, I've been getting reasonable results, but I'd like to know if there are ways to improve the success rate. As with the online help example, I thought the 1927 Solvay Conference photograph was a good place to start. You can find it on the Wikimedia here, at 3000 by 2171 pixels. solvay = Import["http://upload.wikimedia.org/wikipedia/commons/6/6e/Solvay_conference_1927.jpg"]; faces = FindFaces[solvay] which returns a list of rectangles: {{{81.5, 1105.5}, {262.5, 1286.5}}, {{133.5, 1038.5}, {231.5, 1136.5}}, ... Using these to chop out some passport photographs: passports = ImageTrim[solvay, #] & /@ faces gives this: ![solvay faces](http://i.stack.imgur.com/KlNI1.png) I can get rid of the images that are too large by using the optional minimum and maximum sizes: faces1 = FindFaces[solvay, {85, 130}]; passports1 = ImageTrim[solvay, #] & /@ faces1 But it's still not perfect. (The online help example seems to miss more people than I do, but there are no false positives, unlike my interesting collection of masonry people. How would I improve these results? Is `Mathematica`'s built-in function capable of better results, or is it just, well, a toy?
cqadupstack-mathematica
In this blog post about acceptance criteria the author explains that good acceptance criteria should: * State an intent not a solution (e.g. “The user can choose an account” rather than “The user can select the account from a drop-down”) * Are independent of implementation (ideally the phrasing would be the same regardless whether this feature/story would be implemented on e.g. web, mobile or a voice activated system) * Are relatively high level (not every detail needs to be in writing) And further details such as: * The column heading is “Balance” * The rolling balance format is 99,999,999,999.9 D/CR * We should use a dropdown rather than checkboxes should be moved to either a _Team internal documentation_ or _Automated acceptance tests_ **However** , I often hear people frowning about using Cucumber or similar frameworks for doing GUI tests. Moreover, using an internal documentation could generate lots of problems due to failure to update the documentation regularly. I'm still struggling to find an effective way to capture such details during the conversation with the customer.
cqadupstack-programmers
Who owns Natural Factors?
quora
In XeLaTeX, it is possible to directly embed Unicode fonts via `\newfontfamily\name_to_use{font name}`. So I can, for example, write: `\newfontfamily\dej{DejaVu Sans}`, and later write `\dej{unicode symbol from the font}` - this will compile in XeLaTeX. However I can't find a way to tell XeLaTeX to use the light series of DejaVu Sans. For example, If I type `\newfontfamily\dej{DejaVu Sans Light} (or even just L with or without space)}`, it says `font not found` - despite it being installed on my system. Moreover, I thought that this may be a font series, so I tried `\newfontfamily\dej[ln (and ln)]{DejaVu Sans}`. Still does not work. How do I set the light series of DejaVu Sans for particular Unicode symbols in my TeX file to be compiled with XeLaTeX?
cqadupstack-text
Epidemiology and public health planning will increasingly rely on the analysis of genetic sequence data. In particular, genetic data coupled with dates and locations of sampled isolates can be used to reconstruct the spatiotemporal dynamics of pathogens during outbreaks. Thus far, phylogenetic methods have been used to tackle this issue. Although these approaches have proved useful for informing on the spread of pathogens, they do not aim at directly reconstructing the underlying transmission tree. Instead, phylogenetic models infer most recent common ancestors between pairs of isolates, which can be inadequate for densely sampled recent outbreaks, where the sample includes ancestral and descendent isolates. In this paper, we introduce a novel method based on a graph approach to reconstruct transmission trees directly from genetic data. Using simulated data, we show that our approach can efficiently reconstruct genealogies of isolates in situations where classical phylogenetic approaches fail to do so. We then illustrate our method by analyzing data from the early stages of the swine-origin A/H1N1 influenza pandemic. Using 433 isolates sequenced at both the hemagglutinin and neuraminidase genes, we reconstruct the likely history of the worldwide spread of this new influenza strain. The presented methodology opens new perspectives for the analysis of genetic data in the context of disease outbreaks.
trec-covid
I have this code: Clear[f] f = Function[x, x^k/(1 + x^k)]; Manipulate[Plot[f[x], {x, 0, 5}], {k, 1, 10}] But nothing draws as I move the slider. Am I missing something?
cqadupstack-mathematica
A standard date question would be: > What date is it today? But is > What date is today? acceptable?
cqadupstack-english
i have a Samsung galaxy S3 mini. recently my son over drew the pattern and the phone is locked and can not open. i am requested to log in with my Google; but my data is off and the phone will not work. i tried the fast boot mode but the phone does not work still. what should i do?
cqadupstack-android
* I have just deployed the W3 Total Cache plugin on my dedicated server (`moillusions.com`), but am not sure if it works already (server load still high). * I have a very important random link generator: `moillusions.com/?random` yet am not sure how to exclude this from caching? (so it's always a different link when clicked)
cqadupstack-wordpress
I am looking for the symbol := and the symbol ::= the first one means "expressed as" (e.g. a sentence A is _expressed as_ a juxtaposition of words bcd) and the second one means "defined as", in various applications of logic and language theory. in Linux, typing := one after one (in kile or lyx) causes vertical misalignment of the characters. I expect the center point between two dots of : and the center line through the two lines of = be on the same line, but often = is positioned too high, and also the space between them is too large, and a negetive space of -0.1 em does not look good. Anyone like to help, telling me where to find these two symbols?
cqadupstack-text
I have `file1.txt` this is the original text line2 line3 line4 happy hacking ! and `file2.txt` this is the original text line2 line4 happy hacking ! GNU is not UNIX if I do: `diff file1.txt file2.txt` I get: 3d2 < line3 5a5 > GNU is not UNIX How is the output generally interpreted? I think that `<` means removed but what do `3d2` or `5a5` mean? If I do: $ diff -u file1.txt file2.txt --- file1.txt 2013-07-06 17:44:59.180000000 +0200 +++ file2.txt 2013-07-06 17:39:53.433000000 +0200 @@ -1,5 +1,5 @@ this is the original text line2 -line3 line4 happy hacking ! +GNU is not UNIX The results are clearer but what does `@@ -1,5 +1,5 @@` mean?
cqadupstack-unix
I don't understand why I can't get to do this, but how do I send my units back to my ship? I tried three times now and I can't seem to be able to get my units back (RIP 2 mantis on my last run). Do I have to be in the same ship to be able to teleport them back? Should I only teleport to ships with teleporing systems?
cqadupstack-gaming
This paper describes a 6.25-Gb/s 14-mW transceiver in 90-nm CMOS for chip-to-chip applications. The transceiver employs a number of features for reducing power consumption, including a shared LC-PLL clock multiplier, an inductor-loaded resonant clock distribution network, a low- and programmable-swing voltage-mode transmitter, software-controlled clock and data recovery (CDR) and adaptive equalization within the receiver, and a novel PLL-based phase rotator for the CDR. The design can operate with channel attenuation of -15 dB or greater at a bit-error rate of 10-15 or less, while consuming less than 2.25 mW/Gb/s per transceiver.
scidocs
Deployment of convolutional neural networks (ConvNets) in always-on Internet of Everything (IoE) edge devices is severely constrained by the high memory energy consumption of hardware ConvNet implementations. Leveraging the error resilience of ConvNets by accepting bit errors at reduced voltages presents a viable option for energy savings, but few implementations utilize this due to the limited quantitative understanding of how bit errors affect performance. This paper demonstrates the efficacy of SRAM voltage scaling in a 9-layer CIFAR-10 binarized ConvNet processor, achieving memory energy savings of 3.12× with minimal accuracy degradation (∼99% of nominal). Additionally, we quantify the effect of bit error accumulation in a multi-layer network and show that further energy savings are possible by splitting weight and activation voltages. Finally, we compare the measured error rates for the CIFAR-10 binarized ConvNet against MNIST networks to demonstrate the difference in bit error requirements across varying complexity in network topologies and classification tasks.
scidocs
The question might be trivial, but I found nothing in the wiki to support it. I have a pair of water wheels constructed. I have a herbalist in a fey mood, and he requires wood and cut gems. I have embarked in a place that is now devoid of surface trees. Due to several reasons, I don't want to breach the cavern layers just yet and the nearest trade caravan is 2 seasons away. Water wheels are made of wood, would deconstructing them give back the logs?
cqadupstack-gaming
How can I teach myself how to sing?
quora
In this work we investigate the effect of the convolutional n etwork depth on its accuracy in the large-scale image recognition setting. Our main contribution is a thorough evaluation of networks of increasing depth, which shows that a significant improvement on the prior-art configurations can be achi eved by pushing the depth to 16–19 weight layers. These findings were the basis of our ImageNet Challenge 2014 submission, where our team secured the first a nd he second places in the localisation and classification tracks respec tively. We also show that our representations generalise well to other datasets, whe re t y achieve the stateof-the-art results. Importantly, we have made our two bestp rforming ConvNet models publicly available to facilitate further research o n the use of deep visual representations in computer vision.
scidocs
Is an HTC One V fully compatible with an iPhone headset? This site seems to indicate it is, but questions like this have me worried. Would it work with an app?
cqadupstack-android
Thank you for the argument Often, the discussion revolves around the right to life; anti-euthanasia proponents argue that euthanasia infringes on a person"s fundamental right to live. What they fail to see is that our "life" as human beings implies death. Without death, we do not have "human life" by its very definition. Like black and white or two sides of a coin, human life cannot occur without death. Therefore for those that argue that every man has the fundamental right to live, they unknowingly also agree that every man has the fundamental right to die. Because we can determine the course of our lives by our own will, we have the right to live our lives and determine our own course. Naturally it follows that the same self-determining capacity we have as human beings also gives us the fundamental right to determine how we die. It is also important to consider that the right to life has no say over the right to die. The right to live and the right to die are two separate, although related rights. They are also mutually exclusive in the sense that the right to live concerns itself only with self-determined life and ends with the right to die. The right to die on the other hand begins where life ends in death. While you live, you exercise your right to life; when your life ends, you exercise your right to die. It is important to consider that we refer to self-determined or natural death and not death resulting from someone directly removing from you your life, thereby restricting your right to live. If such significant weight in this sense is given to our right to live, should we not also give equal weight to our right to die.
webis-touche2020
well, no, i just see some really huge numbers been thrown around, like Spain's banks will need several tens of Bn euros to be rescued... that's a huge amount of money, even if not a large share of the problem, a nation in trouble should not be saving the private sector's ass.
fiqa
With the help of the internet and you lot, I have been stumbling about to create a worpress site here. So at this stage, its not exactly a default install. - Im running the boldy theme from Site5. - Have made some tweaks to the underlying PHP, but nothing that I can think that would cause this issue. **Issue** : Slugs setup normally for categories: ![enter image description here](http://i.stack.imgur.com/jN7CL.png) But the URL it takes me too is a 404. > http://www.dekho.com.au/category/screencasts/ All my categories are broken, except my case studies category. - This uses a Portfolio template to display posts in that category (part of Boldy theme) Im sure I had both the 'portfolio' and the other category links working at the same time. **What have I missed?**
cqadupstack-wordpress
`%` allows to refer to the result of the preceding calculation (preceding in time) but this seems not necessarily to be the cell just **above** a given cell. How can one refer to the result of the cell just above ?
cqadupstack-mathematica
Why do some function calls in kernel specially have this prefix `__` example: `__init initialization(void)` is `__init` a macro? What does this convey? Are these a special class of function calls inside the kernel or do they resemble any assembly function body present inside? What actually are they trying to represent?
cqadupstack-unix
I would like to call the following function from Mathematica ps3000aOpenUnit PICO_STATUS ps3000aOpenUnit ( short * handle, char * serial ) I define the DLLFunciton in Mathematica: ps3000OpenUnit = DefineDLLFunction["ps3000aOpenUnit", "PS3000a.dll", "short", {"short[]", "char[]"}] I get following error when executing ps3000OpenUnit[handle, serial] NET::methodargs: Improper arguments supplied for method named ps3000aOpenUnit. What is wrong with my code? Thanx for helping me in advance.
cqadupstack-mathematica
How can I remove "edit your profile" submenu under "my-account-with-avatar" admin menu bar, while still keeping the avatar and logout?
cqadupstack-wordpress
> **Possible Duplicate:** > How to find web hosting that meets my requirements? To deploy my .NET web-application I need both Windows (for frontend) and Linux (for database) virtual servers (VPS). What Windows+Linux hoster would you recommend? Of course, I am not interested in Windows or Linux-specific hosters. Also I found some mix hosters who provides low prices for Linux but high for Windows or vice versa.
cqadupstack-webmasters
I have this local debug window that is so annoying ![enter image description here](http://i.stack.imgur.com/txOLw.jpg) How can I hide it? What is the purpose of it?
cqadupstack-mathematica
I have this code \begin{tikzpicture} \begin{axis}[% width=\figurewidth, height=\figureheight, scale only axis, xmin=0, xmax=1.5e-05, ymin=1.222e-07, ymax=1.224e-07 ] \addplot [color=red,line width=4.0pt,only marks,mark=*,mark options={solid},forget plot] table[row sep=crcr]{ 1e-06 1.22231e-07 \\ 2e-06 1.22234e-07 \\ 3e-06 1.22239e-07 \\ 4e-06 1.22246e-07 \\ 5e-06 1.22255e-07 \\ 6e-06 1.22266e-07 \\ 7e-06 1.22279e-07 \\ 8e-06 1.22294e-07 \\ 9e-06 1.22311e-07 \\ 1e-05 1.2233e-07 \\ }; \end{axis} \end{tikzpicture}% \documentclass[12pt]{report} \usepackage{pgfplots} \usetikzlibrary{plotmarks} \begin{document} I call this in latex. \documentclass[12pt]{report} \usepackage{pgfplots} \usetikzlibrary{plotmarks} \begin{document} \begin{figure}[htbp] \centering \setlength\figureheight{3in} \setlength\figurewidth{2.5in} \input{fit12.tex} \caption{ Figure} \label{fig:2} \end{figure} \end{document} I got this ![enter image description here](http://i.stack.imgur.com/5hPnk.png) How can I replace "." with "x" and as you can see in y-axis , the three-sigfig is not enough for precision. How can I change the label precision? It could be great if the labeling can be readjust automatically like in matlab.
cqadupstack-text
How do I add a marker symbol to an ArcGIS Engine MapControl at a specific coordinate?
cqadupstack-gis
I can't download apps from the Play Store on my Android device (maybe due to a network issue), so I'm wondering how could I download the APK file of an app on my PC from http://play.google.com/store?
cqadupstack-android
This question is not really practical, but rather a curiosity question. Can _Mathematica_ solve a quadratic equation without its discriminant? I mean, whenever it see a quadratic equation it tries to solve it with discriminant. (I use `Trace` for that) But could it find it discriminant formula by itself? I mean, the discriminant was found by human, and looking from how it was found, I see that was not very easy. I know that _Mathematica_ looks for patterns in equations. Can it found patterns, like discriminant?
cqadupstack-mathematica
Is there a way to lower the total spin of the state and fixing the $S_z$ rather than lowering the $S_z$ by spin ladder operator? Or in other words, how to connect the $S=1$ state with $S=2$ or $S=0$ state? Is there such an operation though it might be unphysical?
cqadupstack-physics
Is there any way to root the Samsung Galaxy Tab 3 10.1? I found some instructions on rooting the 7 inch version but I'm not sure if that matters. Also the instructions include flashing UK firmware. I'd prefer to do as little changes to my device as possible so I can get a backup as close to the way it came as possible.
cqadupstack-android
Reasoning capability is of crucial importance to many applications developed for the Semantic Web. Description Logics provide sound and complete reasoning algorithms that can effectively handle the DL fragment of the Web Ontology Language (OWL). However, existing DL reasoners were implemented long before OWL came into existence and lack some features that are essential for Semantic Web applications, such as reasoning with individuals, querying capabilities, nominal support, elimination of the unique name assumption and so forth. With these objectives in mind we have implemented an OWL DL reasoner and deployed it in various kinds of applications.
scidocs
Caffe provides multimedia scientists and practitioners with a clean and modifiable framework for state-of-the-art deep learning algorithms and a collection of reference models. The framework is a BSD-licensed C++ library with Python and MATLAB bindings for training and deploying general-purpose convolutional neural networks and other deep models efficiently on commodity architectures. Caffe fits industry and internet-scale media needs by CUDA GPU computation, processing over 40 million images a day on a single K40 or Titan GPU (approx 2 ms per image). By separating model representation from actual implementation, Caffe allows experimentation and seamless switching among platforms for ease of development and deployment from prototyping machines to cloud environments. Caffe is maintained and developed by the Berkeley Vision and Learning Center (BVLC) with the help of an active community of contributors on GitHub. It powers ongoing research projects, large-scale industrial applications, and startup prototypes in vision, speech, and multimedia.
scidocs
What are some movies that everyone needs to watch at least once in life?
quora
Ž . Design management and process management are two important elements of total quality management TQM implementation. They are drastically different in their targets of improvement, visibility, and techniques. In this paper, we establish a framework for identifying the synergistic linkages of design and process management to the operational quality Ž . Ž . outcomes during the manufacturing process internal quality and upon the field usage of the products external quality . Through a study of quality practices in 418 manufacturing plants from multiple industries, we empirically demonstrate that both design and process management efforts have an equal positive impact on internal quality outcomes such as scrap, rework, defects, performance, and external quality outcomes such as complaints, warranty, litigation, market share. A detailed contingency analysis shows that the proposed model of synergies between design and process management holds true for large and small firms; for firms with different levels of TQM experience; and in different industries with varying levels of competition, logistical complexity of production, or production process characteristics. Finally, the results also suggest that organizational learning enables mature TQM firms to implement both design and process efforts more rigorously and their synergy helps these firms to attain better quality outcomes. These findings indicate that, to attain superior quality outcomes, firms need to balance their design and process management efforts and persevere with long-term Ž . implementation of these efforts. Because the study spans all of the manufacturing sectors SIC 20 through 39 , these conclusions should help firms in any industry revisit their priorities in terms of the relative efforts in design management and process management. q 2000 Elsevier Science B.V. All rights reserved.
scidocs
I am playing Game Dev Story on my Galaxy Ace. I am on year 25, I have $200.000K, I have Mr X and King, two of them are 5 level hackers and I have a Hardware Engineer, but I am still on my 2nd office, as the 3rd office offer never appeared. I want to buy someone from the Holywood Agent, I want to developea few best consoles, and then I will start a new game. But I seriously want my own console. How can I buy the 3rd office?
cqadupstack-gaming
"You have what is called in the biz a ""thin file"". Check with a Credit Union. They will get you a secured card or maybe a straight credit card. They usually will graduate you from a secured card to a real credit card in 12-18 months. Then you are on your way. You should also sign up for Creditkarma to get your credit report updated every week. They make their money on referring people to credit card companies so you might be able to kill two birds with one stone."
fiqa
I am an undergraduate physics student in a university and I am looking for a good guide or a handbook with lots of questions and full answers in subjects such as Gauss' law and Maxwell equations to study for my test.
cqadupstack-physics
If I have, for example, a model ship, model railroad, model car, etc. what is the best word to refer to the original from what this model is created? I'm also looking for a context-free version, to use it in a heading and the table of contents, this is why I'm looking for an alternative for "model" or "prototype".
cqadupstack-english
I'm a bit lost in gender neutrality. Please see the example below. A: What, I got a child‽ B: Sooner or later *he or she* will show up. From my own research, people put preferences this way: they > she > she or he > he. I think that _they_ , _she_ and _he_ should not be used as it is only one child and we do not know anything about the gender. So _she/he_ does seem to be the most suitable for this sentence. Or is it not? PS: Would you rather write "he/she" or "he or she"? (I find she before he less natural than vice versa, although people on the internet say...)
cqadupstack-english
> **Possible Duplicate:** > Can't execute some binaries in chroot environment (zsh: Not found) I have something weird here. Cannot find a file although it is right there. $ skype command not found: skype $ whereis skype skype: /usr/bin/skype /usr/share/skype $ /usr/bin/skype file or directory not found: /usr/bin/skype $ ls -l /usr/bin/skype -rwxr-xr-x 1 root root 21362968 2011-06-08 12:26 /usr/bin/skype $ type /usr/bin/skype /usr/bin/skype is /usr/bin/skype $ which skype /usr/bin/skype Any explanation for that? Happened only with skype so far, no matter if on zsh or bash. I'm on Ubuntu Natty 64, had not encountered anything like that before.
cqadupstack-unix
First off, let me just say that I am unsure if this question is appropriate for this site, and if the community deems it necessary, the question should be closed. So right now I am a fourth year mathematics and physics major whose research interests lie in quantum field theory / quantum gravity. In particular, I would like to go into theoretical physics. However, I have found that most physicists do not achieve a level of rigor I would strive for in my work, and so I am reluctant to apply for graduate school in physics. On the other hand, it seems that in most mathematics departments in the U.S., there are at most a couple of mathematicians working in what you might all theoretical physics, and I would not feel comfortable applying to a graduate school banking on the fact I could work with a specific one or two persons. What possible routes are there that I could take if my interests lie in theoretical physics, but I wish to practice theoretical physics as a mathematician would? Furthermore, are there any (not necessarily American) universities with a joint mathematics-physics department (like the DAMTP at Cambridge), or, the next best thing, a mathematics and physics department that collaborate frequently? What about theoretical physicists working in quantum field theory/quantum gravity who don't shy away from rigor? Any and all input is greatly appreciated!
cqadupstack-physics
as Wordpress 2.9 comes with built in post thumbnail features, is it necessary to use Timthumb ?
cqadupstack-webmasters
A novel non-isolated three-port converter (NI-TPC) is proposed interfacing one PV port, one bidirectional battery port and one load port. Single stage power conversion between any two of the three ports is achieved. The topology is derived by decoupling the bidirectional power flow path of the conventional structure into two unidirectional ones. Two of the three ports can be tightly regulated to achieve maximum power harvesting for PV or charge control for battery, and maintain the load voltage constant at the same time, while the third port is left flexible to compensate the power imbalance of the converter. Operation states are analyzed. The multi-regulator competition control strategy is presented to achieve autonomous and smooth state switching when the PV input power fluctuates. The analysis is verified by the experimental results.
scidocs
I was trying new dev environments including zsh and oh-my-zsh. Now that I have installed oh-my-zsh, it starts by default on my terminals (iTerm2 and terminal) always start with zsh and with the settings on from oh-my-zsh. I was wondering if it was possible to "disable" or stop using zsh and its setup with oh-my-zsh without having to uninstall oh-my-zsh? It would also be nice to know how to turn them back on too. Currently, my terminals goes into zsh automatically (I think) and use the oh- my-zsh automatically. I want to have more control over that and me able to control both, when the zsh is being used and when the oh-my-zsh features are being used. One thing I am also interested on knowing is, how do the terminal applications know which shell to start running on start up. That would be nice to be able to control too! If you explain as much as you can of the "why" of every command you give me, that would useful! :) * * * I am on OS X. Not sure if that matters, but I tend to like answers more that are more applicable to more general Unix environments rather to my own.
cqadupstack-unix
verbatim environment is not working in figure caption. Checked How to put \verb command inside of \textbf{} block? and Verbatim inside a command is not working. \documentclass[11pt, double space]{article} \usepackage{amsmath} \usepackage{graphicx} \usepackage{color} \usepackage[usenames,dvipsnames]{xcolor} \usepackage[english]{babel} \usepackage[autostyle, english = american]{csquotes} \MakeOuterQuote{"} \usepackage{cprotect} \begin{document} \begin{figure}[!h] \caption{Sample 1 \cprotect\begin{verbatim} \tau(A) = e^{\chi_0A/(KD_p(K+A))} \end{verbatim} per hour.} \label{fig:singlecell_chemo} \end{figure} \end{document} I have tried `cprotect` package also. Any help.
cqadupstack-text
What is the difference between a coat and a topcoat (overcoat, etc)? I want to use a word which mean a part of clothes which I may dress up when I go to a street in the autumn. But as far as I know "coat" might mean something like lab white coat (kind of "robe"). Should I use "topcoat" or some another word? EDIT: I mean something like **this**.
cqadupstack-english
How can I use the arrow keys in my keyboard to scroll down on a page in the Google Reader app? I can scroll down only via the tactile screen, which is not easy to be done when wearing gloves in winter time.
cqadupstack-android
Suppose we have $K$ subjects and a treatment with two levels, "Before" and "After". A paired t-test is equivalent to fitting a fixed effects ANOVA: $Y = Subject + Treatment +\epsilon$ It is also equivalent Repeated Measures ANOVA or Mixed ANOVA, where Treatment is fixed and Subject is random. It tried all four methods for this simple dataset and the Treatment p-value is exactly the same. For the sake of this question, let us consider the fixed effects version only. The total number of observations is $2K$, while the number of parameters is: $ p = intercept + (K-1)$ subject effects + (2 - 1) treatment effects = $K + 1$ That is, there are about 2 observations per parameter for any $K$. To me it suggests that the model is likely to be very overfitted, unless there is a very substantial subject effect. In practice, how often have you seen the subject effect so large that it justifies pairing the observations by subject?
cqadupstack-stats
Exploratory search confront users with challenges in expressing search intents as the current search interfaces require investigating result listings to identify search directions, iterative typing, and reformulating queries. We present the design of Exploration Wall, a touch-based search user interface that allows incremental exploration and sense-making of large information spaces by combining entity search, flexible use of result entities as query parameters, and spatial configuration of search streams that are visualized for interaction. Entities can be flexibly reused to modify and create new search streams, and manipulated to inspect their relationships with other entities. Data comprising of task-based experiments comparing Exploration Wall with conventional search user interface indicate that Exploration Wall achieves significantly improved recall for exploratory search tasks while preserving precision. Subjective feedback supports our design choices and indicates improved user satisfaction and engagement. Our findings can help to design user interfaces that can effectively support exploratory search on touch devices.
scidocs
If we imagine ourselves to be a civilization capable of manipulating very heavy masses in arbitrary spatial and momentum configurations (because we have access to large amounts of motive force, for example), then we can imagine building ponderous rings such that light, pointed in a particular direction, will be gravitationally bent around it and will arrive back precisely where it began. This mimics the behaviour of light at the event horizon of a black hole - there is no escape. To what extent can models like this simulate a real black hole and yield real physical insight as to what lies inside?
cqadupstack-physics
The question asks to test if smoking status and level of alcohol consumption are independent using the usual five-step procure at alpha $=0.05$: ![enter image description here](http://i.stack.imgur.com/95boi.jpg) I am having trouble finding expected values. As the question states, the expected values can be generated from null hypothesis. But how? Another confusion I'm having is identifying the procedure that I need to follow, since it's not stated in the question. Since I need to have expected values, does it mean that I need to follow goodness of fit to a Poisson distribution in order to identify independence between two variables? Thank you!
cqadupstack-stats
> **Possible Duplicate:** > How should I transform non-negative data including zeros? I want to log-transform some of my data because the Levene's homogeneity of variances test rejected the null hypothesis for those sets, before performing a two-way balanced ANOVA. Now, some of the data I collected have null values, because they are related to my plants' tillers, and some of them didn't have any. So for my log-transformation, should I simply use the formula `=LOG(x+1)` (in LibreOffice Calc) so those null values go back to 0? Or the value of the constant I add depends on how the datasets look? For example, I have weights that range from 0 to 12 grams, other weight that range from 0 to 1.5 grams, and leaf area ranging from 0 to 565 cm². Would `=LOG(x+1)` be ok for data ranging from 0 to 565, but not for data ranging from 0 to 1.5? Here are some histograms to show how my data is distributed: ![enter image description here](http://i.stack.imgur.com/3DNEN.png) What do you think? Thanks in advance!
cqadupstack-stats
In this paper we establish rigorous benchmarks for image classifier robustness. Our first benchmark, IMAGENET-C, standardizes and expands the corruption robustness topic, while showing which classifiers are preferable in safety-critical applications. Unlike recent robustness research, this benchmark evaluates performance on commonplace corruptions not worst-case adversarial corruptions. We find that there are negligible changes in relative corruption robustness from AlexNet to ResNet classifiers, and we discover ways to enhance corruption robustness. Then we propose a new dataset called ICONS-50 which opens research on a new kind of robustness, surface variation robustness. With this dataset we evaluate the frailty of classifiers on new styles of known objects and unexpected instances of known classes. We also demonstrate two methods that improve surface variation robustness. Together our benchmarks may aid future work toward networks that learn fundamental class structure and also robustly generalize.
scidocs
I had set up a google+ page a while ago and also crated a places page. I'm wondering how I can integrate this into my search results (An example shown in the attached screenshot). I'd like the additional pages, google+ links and map showing up on the side. I cannot for the life of me find how I would go about this. I assumed it was automatic, but after some time I have come to the conclusion that it must require some additional input from my end. Many thanks ![enter image description here](http://i.stack.imgur.com/mTqq0.jpg)
cqadupstack-webmasters
Which are the best movies of 2016?
quora
I am thinking a lot about infrastructure these days. My definition of infrastructure is "something, which facilitates other things, but does not by itself fulfill the need of a person". An example is the fiber-optics combined with the TCP/IP protocols and a bunch of other technologies, facilitate the creation of the internet, which again facilitates creation of services, which in the end fulfill the need for people to for example communicate. The word infrastructure can certainly be used for the fiber-optics and I believe also for the internet. Another example, is pure research, which "is research carried out to increase understanding of fundamental principles. Many times the end results have no direct or immediate commercial benefits". I believe that one cannot use the word infrastructure for pure research, even though I believe it is conceptually the same thing. Is there any other expression than infrastructure one can use for these things (Social Capital is another example)?
cqadupstack-english
When an application allows emails to be sent to it to either reply to comments or add todos, trimming those emails for just the relevant text becomes a problem, since there are many different standards. Many times you'll end up seeing things like this: > Hey Joe, good to hear from you. Let me know when you'll be back in town. > **_Posted by Bob, 30 minutes ago_** > > * * * > > I'll be back on the 13th. > > \-- > Sincerely, > Joseph R. Roberts > Senior Partner > > This communication is confidential and is property of Whatever Law Firm. > **_Posted by Joe, 10 seconds ago_** Signatures are probably the most difficult to get rid of, and quoted text the easiest. I imagine any comprehensive strategy for trimming will be multi- facted, and ideally, learning. I think a good system should: 1. Remove quoted body 2. Remove quote headers ("On 15 October, Joe wrote:") 3. Remove signatures 4. Preserve anything that was typed manually. What steps would a system need to take to accomplish this, and what pitfalls should it be aware of? * * * This answer is a good example of a useful answer to a similar question
cqadupstack-programmers
In this work, we evaluate the performance of the popular dense trajectories approach on first-person action recognition datasets. A person moving around with a wearable camera will actively interact with humans and objects and also passively observe others interacting. Hence, in order to represent real-world scenarios, the dataset must contain actions from first-person perspective as well as third-person perspective. For this purpose, we introduce a new dataset which contains actions from both the perspectives captured using a head-mounted camera. We employ a motion pyramidal structure for grouping the dense trajectory features. The relative strengths of motion along the trajectories are used to compute different bag-of-words descriptors and concatenated to form a single descriptor for the action. The motion pyramidal approach performs better than the baseline improved trajectory descriptors. The method achieves 96.7% on the JPL interaction dataset and 61.8% on our NUS interaction dataset. The same is used to detect actions in long video sequences and achieves average precision of 0.79 on JPL interaction dataset.
scidocs
I am a new user of Geoserver. I have created a WFS and also could connect it with the QGIS WFS 2.0.0 Client plugin available now. But as like the default WFS link in that plugin I am not able to make a query in my service. Also the metadata is not coming for my service. Can anyone help me in this regards? What do I actually have to do to make the stored queries and also to get metadata? Where to start doing that?
cqadupstack-gis
The best way I can come up with to say "show me this fraction as a decimal number to M places, don't use scientific notation" is: NumberForm[N[1/998001,2994],ExponentFunction->(Null&)] It seems like that's an awful lot of typing for a very simple request. Is it possible say it more concisely?
cqadupstack-mathematica
&gt;1. A big project to automate the entry of 2 invoices per month from a supplier. Is would take an employee less than 10 minutes a month to enter those 2 invoices manually into the system. I am curious. Can't they apply the same solution for other suppliers?
fiqa
Ok, so I've added a custom permalink, which is mapping to my page fine. For some reaosn though the filters I've added aren't showing up. In the shortcode, they're just being returned as NULL. My code is; function custom_rewrite( $wp_rewrite ) { $feed_rules = array( 'local/(.*?)/(.*?)/?$' => 'index.php?page_id=41&trade=' . $wp_rewrite->preg_index(1).'&area=' . $wp_rewrite->preg_index(2), 'local/(.*?)/(.*?)?$' => 'index.php?page_id=41&trade=' . $wp_rewrite->preg_index(1).'&area=' . $wp_rewrite->preg_index(2), ); $wp_rewrite->rules = $feed_rules + $wp_rewrite->rules; } function custom_wp_querystring() { add_rewrite_tag('%trade%','([^&]+)'); add_rewrite_tag('%area%','([^&]+)'); } add_action( 'init', 'custom_wp_querystring'); add_filter( 'generate_rewrite_rules', 'custom_rewrite' ); add_shortcode('rewrite_local', 'rewriteShortcode'); function rewriteShortcode() { echo "vars are"; var_dump($wp_query->query_vars['trade']); var_dump($wp_query->query_vars['area']); } Is it something simple I've missed?
cqadupstack-wordpress
exteeend
webis-touche2020
Is there a away to create a custom post type in wordpress that will only include the default metaboxes and not any other metabox that was added by other plugins. The idea is to use the custom post to develop a plugin, this plugin will need to have all the functions custom post type but with all the metaboxes that plugin add like all-in-seo. I want to create a clean interface for the user and those extra metaboxes are in the way :-)
cqadupstack-wordpress
Having played minecraft on both my gaming PC and on my Netbook, i have experienced the 4 frames per second gameplay that minecraft has to offer for low end spec computers. Besides from: * Minimal settings * low res texture packs (8x8 (may not help) ) * Optifine (fantastic!) * Running less proccesses in background Are there any other **significant or insignificant** ways to increase performance / reduce system dependancies. Im hoping in the end (with multiple answers probably), to have a comrehensive list of performance boosts
cqadupstack-gaming
i need to use wp_query to excute posts from 2 separated keywords using `s=keyword` so i have found this answer & it is very very useful Combining queries with different arguments per post type & i achieved my goal this is my code <?php add_filter( 'posts_search', '__search_by_title_only', 500, 2 ); ?> <?php $first=array( 's' => 'keyword1', ); $second=array( 's' => 'keyword2', ); $first_query = new WP_Query( $first); $second_query = new WP_Query( $second); $result = new WP_Query(); $result->posts = array_merge( $first_query->posts, $second_query->posts ); $result->post_count = count( $result->posts );?> <div class="post-listing"> <?php remove_filter( 'posts_search', '__search_by_title_only', 500 ); ?> <?php if ( $result->have_posts() ) : while ( $result->have_posts() ) : $result->the_post();?> //layout <?php endwhile; ?> <?php if ($result->max_num_pages > 1) tie_pagenavi(); ?> <?php wp_reset_query(); ?> <?php wp_reset_postdata(); ?> <?php endif; ?> but my problem is the pagenavi not worked for me the `<?php if ($result->max_num_pages > 1) tie_pagenavi(); ?>` my theme have a custom pagenavi which authors & categories archive use it my pagenavi code is <?php /* Plugin >> Name: WP-PageNavi Plugin URI: http://lesterchan.net/portfolio/programming/php/ Description: Adds a more advanced paging navigation to your WordPress blog. Version: 2.50 Author: Lester 'GaMerZ' Chan Author URI: http://lesterchan.net */ /* Copyright 2009 Lester Chan (email : lesterchan@gmail.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ ### Function: Page Navigation: Boxed Style Paging function tie_get_pagenavi($before = '', $after = '') { global $wpdb, $wp_query; $pagenavi_options = tie_pagenavi_init(); if (!is_single()) { $request = $wp_query->request; $posts_per_page = intval(get_query_var('posts_per_page')); $paged = intval(get_query_var('paged')); $numposts = $wp_query->found_posts; $max_page = $wp_query->max_num_pages; if(empty($paged) || $paged == 0) { $paged = 1; } $pages_to_show = intval($pagenavi_options['num_pages']); $larger_page_to_show = intval($pagenavi_options['num_larger_page_numbers']); $larger_page_multiple = intval($pagenavi_options['larger_page_numbers_multiple']); $pages_to_show_minus_1 = $pages_to_show - 1; $half_page_start = floor($pages_to_show_minus_1/2); $half_page_end = ceil($pages_to_show_minus_1/2); $start_page = $paged - $half_page_start; if($start_page <= 0) { $start_page = 1; } $end_page = $paged + $half_page_end; if(($end_page - $start_page) != $pages_to_show_minus_1) { $end_page = $start_page + $pages_to_show_minus_1; } if($end_page > $max_page) { $start_page = $max_page - $pages_to_show_minus_1; $end_page = $max_page; } if($start_page <= 0) { $start_page = 1; } $larger_per_page = $larger_page_to_show*$larger_page_multiple; $larger_start_page_start = (tie_n_round($start_page, 10) + $larger_page_multiple) - $larger_per_page; $larger_start_page_end = tie_n_round($start_page, 10) + $larger_page_multiple; $larger_end_page_start = tie_n_round($end_page, 10) + $larger_page_multiple; $larger_end_page_end = tie_n_round($end_page, 10) + ($larger_per_page); if($larger_start_page_end - $larger_page_multiple == $start_page) { $larger_start_page_start = $larger_start_page_start - $larger_page_multiple; $larger_start_page_end = $larger_start_page_end - $larger_page_multiple; } if($larger_start_page_start <= 0) { $larger_start_page_start = $larger_page_multiple; } if($larger_start_page_end > $max_page) { $larger_start_page_end = $max_page; } if($larger_end_page_end > $max_page) { $larger_end_page_end = $max_page; } if($max_page > 1 || intval($pagenavi_options['always_show']) == 1) { $pages_text = str_replace("%CURRENT_PAGE%", number_format_i18n($paged), $pagenavi_options['pages_text']); $pages_text = str_replace("%TOTAL_PAGES%", number_format_i18n($max_page), $pages_text); //echo $before.'<div class="pagenavi">'."\n"; if(!empty($pages_text)) { echo '<span class="pages">'.$pages_text.'</span>'; } if ($start_page >= 2 && $pages_to_show < $max_page) { $first_page_text = str_replace("%TOTAL_PAGES%", number_format_i18n($max_page), $pagenavi_options['first_text']); echo '<a href="'.esc_url(get_pagenum_link()).'" class="first" title="'.$first_page_text.'">'.$first_page_text.'</a>'; if(!empty($pagenavi_options['dotleft_text'])) { echo '<span class="extend">'.$pagenavi_options['dotleft_text'].'</span>'; } } if($larger_page_to_show > 0 && $larger_start_page_start > 0 && $larger_start_page_end <= $max_page) { for($i = $larger_start_page_start; $i < $larger_start_page_end; $i+=$larger_page_multiple) { $page_text = str_replace("%PAGE_NUMBER%", number_format_i18n($i), $pagenavi_options['page_text']); echo '<a href="'.esc_url(get_pagenum_link($i)).'" class="page" title="'.$page_text.'">'.$page_text.'</a>'; } } previous_posts_link($pagenavi_options['prev_text']); for($i = $start_page; $i <= $end_page; $i++) { if($i == $paged) { $current_page_text = str_replace("%PAGE_NUMBER%", number_format_i18n($i), $pagenavi_options['current_text']); echo '<span class="current">'.$current_page_text.'</span>'; } else { $page_text = str_replace("%PAGE_NUMBER%", number_format_i18n($i), $pagenavi_options['page_text']); echo '<a href="'.esc_url(get_pagenum_link($i)).'" class="page" title="'.$page_text.'">'.$page_text.'</a>'; } } next_posts_link($pagenavi_options['next_text'], $max_page); if($larger_page_to_show > 0 && $larger_end_page_start < $max_page) { for($i = $larger_end_page_start; $i <= $larger_end_page_end; $i+=$larger_page_multiple) { $page_text = str_replace("%PAGE_NUMBER%", number_format_i18n($i), $pagenavi_options['page_text']); echo '<a href="'.esc_url(get_pagenum_link($i)).'" class="page" title="'.$page_text.'">'.$page_text.'</a>'; } } if ($end_page < $max_page) { if(!empty($pagenavi_options['dotright_text'])) { echo '<span class="extend">'.$pagenavi_options['dotright_text'].'</span>'; } $last_page_text = str_replace("%TOTAL_PAGES%", number_format_i18n($max_page), $pagenavi_options['last_text']); echo '<a href="'.esc_url(get_pagenum_link($max_page)).'" class="last" title="'.$last_page_text.'">'.$last_page_text.'</a>'; } //echo '</div>'.$after."\n"; } } } ### Function: Round To The Nearest Value function tie_n_round($num, $tonearest) { return floor($num/$tonearest)*$tonearest; } ### Function: Page Navigation Options function tie_pagenavi_init() { $pagenavi_options = array(); $pagenavi_options['pages_text'] = __('page %CURRENT_PAGE% من %TOTAL_PAGES%','tie'); $pagenavi_options['current_text'] = '%PAGE_NUMBER%'; $pagenavi_options['page_text'] = '%PAGE_NUMBER%'; $pagenavi_options['first_text'] = __('&laquo; first','tie'); $pagenavi_options['last_text'] = __('last &raquo;','tie'); $pagenavi_options['next_text'] = __('next'); $pagenavi_options['prev_text'] = __('prev'); $pagenavi_options['dotright_text'] = __('...','tie'); $pagenavi_options['dotleft_text'] = __('...','tie'); $pagenavi_options['num_pages'] = 8; $pagenavi_options['always_show'] = 0; $pagenavi_options['num_larger_page_numbers'] = 0; $pagenavi_options['larger_page_numbers_multiple'] = 10; return $pagenavi_options; } ?> **note please : iam using this code in custom template within single page, the function`__search_by_title_only` is in my `functions.php` to search only the titles in this query** **edit when i use`<?php if(function_exists('tie_pagenavi') ) { tie_pagenavi('', '', '', '', 3, false); } ?>` it is show the pagination div `<div class="pagination"></div>` the which available in my categories & authors archives but but in this template the div is empty** any idea!
cqadupstack-wordpress
I have a polygon layer which has lots of attributes, and I'd like to create a report template which summarises these attributes for individual polygons. That is, the user will select a polygon from one layer, and see a formatted report showing the relevant attributes for that polygon. There are also features in multiple other featureclasses which are related via an ArcMap relationship, and which should also be summarised on the same report. It's been a few years since I last used ArcMap's Report Wizard, and it doesn't seem that much has changed in the meanwhile. It still looks quite complicated and cumbersome to set up and format a report, so I'm looking for any alternatives which might exist. Before I write something from scratch, can anyone recommend any other approaches or code samples which might help? Since the data is stored in a file geodatabase, with the relationships defined in ArcMap, I am assuming I'll need to use arcpy to obtain a reference to the data and traverse the relationships. StackOverflow has a question on creating an HTML report using Python which will probably be my starting point, unless there's anything else out there.
cqadupstack-gis
I'm trying to get the names of all disks with at least 90% usage, using this oneliner: df -Pm | awk '+$5 >= 90 {print}' But it doesn't show the "100% usage" case, I need to grep for "100%". Why doesn't it work correctly?
cqadupstack-unix
I'd like to configure my installation of texstudio so that it uses `arlatex`, `bundledoc`, snapshot ``, viz. * Reading and acting upon `snapshot`'s `.dep` files; * writing to `bundledoc`-generated `.tar.gz` files; and * connecting the `Build & View` command to the above functionalities, while at the same time generating a PDF file. (I'm running Ubuntu 13.10 x64, and TeXstudio 2.7.0.)
cqadupstack-text
I would like to program the `RiemannR` function using the `LogIntegral` command because I would like to later experiment with a double integral instead of the `LogIntegral` function. I have tried to program the `RiemannR` function starting with the `LogIntegral` command as defined in the Stein-Mazur paper called "Primes": ![RiemannR function as in Stein Mazur paper on primes](http://i.stack.imgur.com/uHKVF.png) That agrees almost completely with the definition given in the _Mathematica_ help page about the `RiemannR` command: $$R(x)=\sum_n^\infty \mu(n)\mathrm{li}(x^{1/n})/n$$ The only differences I see are that the summation limit $n=1$ is given in the Stein-Mazur paper while in the _Mathematica_ help page it is not. Also the Stein-Mazur paper uses $\mathrm{Li}$ for the logarithmic integral while the _Mathematica_ help page uses $\mathrm{li}$. However in the _Mathematica_ help page for the `LogIntegral` command the lower case $\mathrm{li}$ is used. My problem is that when I enter the following lines: N[RiemannR[1000]] N[Sum[MoebiusMu[n]*LogIntegral[1000^(1/n)]/n, {n, 1, Infinity}]] in _Mathematica_ , I get different numerical values: 168.359 168.341 What am I doing wrong?
cqadupstack-mathematica
It is not completely clear to me how `Return[]` works. The documentation says: > `Return[expr]` returns the value expr from a function. But in _Mathematica_ it is not clear where are the boundaries of a "function" defined using patterns and `Set(Delayed)`. The system simply applies replacement rules until there's nothing to change anymore. Consider these examples: a := (Module[{}, Return[0]; 1]; 2) a (* 0 *) It is not completely clear to me why `Return` breaks out from `a`, and not from `Module` or one of the `CompoundExpression`. The following doesn't work, and simply returns the `Return` expression. It reminds me a bit of how `Unevaluated` is handled. (Module[{}, Return[0]; 1]; 2) (* Return[0] *) If we add another layer of definitions, the effect of `Return` will stop there: b := (a; 3) (* 3 *) Why do these three inputs give different results? What is the general rule for deciding where `Return` breaks out to precisely? The answer lies somewhere in fully understanding the evaluation process. Would someone care to elucidate this point, perhaps with pointers to the parts of the documentation which make this clear?
cqadupstack-mathematica
I have a script in Python that solves a really simple route analysis problem (optimal way for given stops). I've found in the documentation that one can assign a start date for the analysis and get time information associated with its output layer. If everything is done through the ArcMap interface then the information is shown in a separate window. Unfortunately I've not been able to access this information in my script (using debugger) and the output layer doesn't seem to have that information, so I guess it needs to be extracted somehow. Does anyone know how to do that?
cqadupstack-gis
My intuition says that the third equation must be "the length of the gradient squared less than epsilon". $x_{k+1} = x_k - f(x_k)$ $x_{k+1} = x_k + 1$ $|f(x_k)|^2 < \epsilon$ However, I am not sure whether it is the standard form. **How would you write the standard form of the gradient method, and particularly its ending rule?**
cqadupstack-stats
Your analysis is not comparing apples to apples which is why it looks like investing money in a non-qualified account is better than a 401k (traditional or Roth). For the non-qual you are using post tax dollars (money that has already been taxed). Now on top of that original tax you are also going to pay capital gains tax for any growth plus dividend rates for any dividends it throws off. For the 401k, let's assume for the moment that $10,000 is invested in a traditional and that the marginal tax rate is always 20%. And for growth let's assume 10x. With a traditional your money will grow to $100,000 and then the IRS gets $20,000 as you pull the money out. The result is a net 80,000 for you. For a Roth 401k, it is taxed first so only $8,000 gets invested. This then grows by the same multiplier to $80,000. (Until you consider changing tax rates the Roth and traditional give the same growth of money). Considering the non-qual option, like with the Roth we only have $8,000 to invest. However in this case you will not realize the full 10x growth as you will have to pay taxes on $72,000. These are taxes that the 401ks (and also IRAs) do not pay. There are other reasons to consider non-qual over maxing out your 401k. Liquidity, quality of investments, and fees being some of those. But the capital gains rate vs. ordinary income rate is not one, as the money in the non-qual still has to go through that ordinary income tax first before it is available to even invest.
fiqa
Cache is defined as: > noun > a collection of items of the same type stored in a hidden or inaccessible > place : _an arms cache_ | _a cache of gold coins_. and has the following synonyms: > hoard, store, stockpile, stock, supply, reserve; arsenal; informal stash. I'm looking for a word for someone/something that _does_ the caching, my first thought was that they are a "Cacher" but that doesn't seem to be a word. This makes sense to me though as you have a "Hoarder", "Storer", "Stockpiler", "Stocker", "supplier" etc. Does anybody know the right word?
cqadupstack-english
Integrate[x^4 E^-x^2, {x, 0, +∞}] Output: > > (3 Sqrt[π])/8 > Can someone explain to me the specific calculation process ?
cqadupstack-mathematica
I have a question about treating qualitative (categorical) events within otherwise quantitative (ratio scale) data. Without going into too much detain, the experiment is on throwing. I measure the distance between the target and the result of the throw for each attempt. Some attempts are failed because the participant hits an obstacle on the way to the target. In the end the dependent variable may look something like this: [.2 .1 .3 .2 -1 .2 .2 .8 -1] where the values may range from 0 to anything, but -1 represent the obstacle hits. What are some ways to deal with such categorical data within quantitative variable? I cannot just throw them out because they are meaningful from the performance perspective. Substituting with some high error distance seems arbitrary. Is there anything else? In the end I'm interested in how people get better at throwing as a result of practice.
cqadupstack-stats
I added breadcrumb navigation to WordPress & I'm facing one problem. Here's the function.php code of the breadcrumb: function ux_breadcrumbs() { if (!is_home()) { echo '<a href="'; echo get_option('home'); echo '">'; bloginfo('name'); echo "</a> » "; if (is_category() || is_single()) { the_category('/'); echo " » "; if (is_single()) { echo " "; the_title(); } } elseif (is_page()) { echo the_title(); } } } The above code is displaying all categories of the post. I just want it to display only one category. Thanks in advance! **UPDATE:** Thanks for the help...here's one more thing: I want to know how to display category > sub category in the breadcrumb if exists.
cqadupstack-wordpress
Viruses use a limited set of host pathways for infection. These pathways represent bona fide antiviral targets with low likelihood of viral resistance. We identified the salicylanilide niclosamide as a broad range antiviral agent targeting acidified endosomes. Niclosamide is approved for human use against helminthic infections, and has anti-neoplastic and antiviral effects. Its mode of action is unknown. Here, we show that niclosamide, which is a weak lipophilic acid inhibited infection with pH-dependent human rhinoviruses (HRV) and influenza virus. Structure-activity studies showed that antiviral efficacy and endolysosomal pH neutralization co-tracked, and acidification of the extracellular medium bypassed the virus entry block. Niclosamide did not affect the vacuolar H(+)-ATPase, but neutralized coated vesicles or synthetic liposomes, indicating a proton carrier mode-of-action independent of any protein target. This report demonstrates that physico-chemical interference with host pathways has broad range antiviral effects, and provides a proof of concept for the development of host-directed antivirals.
trec-covid
I spent some time studying about temperatures and color of objects. It turns out that as we heat something it turns to red, then yellowish white and if we heat it more it turns to bluish-white. Like we can say a blue star is hotter than a red star. But why isn't it the same with flames? Blue flame isn't always hotter than a red flame. It's just the chemistry of it all. I mean I know the electrons jump from one orbit to another and gets into excited state when heated. But the questions in my mind are: 1. If one object appears blue and another red, that doesn't always mean that the blue object is hotter than red. Is that correct? If yes then how is it so? I am sorry but I'm bit confused over it. 2. With the "Color Temperature" concept on Wikipedia. They say 1,700 K to match a flame. But 15,000–27,000 K for a clear blue poleward sky. This confuses me. The sky appears blue, does that mean its hot? But it isn't right? It's colder. I am not sure if I'm able to frame it properly. It's a bit confusing to me. Is this something like a glowing object vs reflecting object? The sun is white but Earth is blue. But sun is hotter than the earth. It's the sun radiating light but earth is just scattering it. But the surface temperature of sun is 5778K while the Wikipedia states our sky is about 15000K-27000... I know there's something I'm missing here. I'm hoping someone can tell me what is it.
cqadupstack-physics
As a permanent resident in the U.S. but not a citizen, I was told by a representative at Scottrade that I am not allowed to open a brokerage account.
fiqa
Steam now has trading cards. In order to get them, you're supposed to play specific games _(currently there areonly 6 games supported, but they've said more will come)_. However, I can't figure out how to actually get the cards. I played a bit of Portal 2, but didn't find any cards. Do I need to find/pick up actual cards within the game? Do I get them for completing certain objectives/achievements? Do I need to beat the game? **How do I get cards?**
cqadupstack-gaming
I have 13 similar independent units and I need to calculate the probability at least 6 of them to survive for time less than 1.10. From a table with the Kaplan-Meir estimates I get the following; Time 1.05614 , 1.31581 number at risk 19 , 18 number failed 1,1 survival Prob. 0.474771 , 0.448395 I have omitted the previous and the next values because `Time=1.10` is between those two values and `P(T<1.10)=F(1.10)=F(1.05614)=1-survival prob.=1-0.474771= 0.525229` Which is the probability for 1 unit to survive for less than 1.10 hours? I don't know to continue from that point.
cqadupstack-stats
This paper proposes an algorithm for the recognition and separation of speech signals in non-stationary noise, such as another speaker. We present a method to combine hidden Markov models (HMMs) trained for the speech and noise into a factorial HMM to model the mixture signal. Robustness is obtained by separating the speech and noise signals in a feature domain, which discards unnecessary information. We use mel-cepstral coefficients (MFCCs) as features, and estimate the distribution of mixture MFCCs from the distributions of the target speech and noise. A decoding algorithm is proposed for finding the state transition paths and estimating gains for the speech and noise from a mixture signal. Simulations were carried out using speech material where two speakers were mixed at various levels, and even for high noise level (9 dB above the speech level), the method produced relatively good (60% word recognition accuracy) results. Audio demonstrations are available at www.cs.tut.fi/ ̃tuomasv.
scidocs
I remember that there was some thread of this sort, but I could not find it, so I hope it's ok to open a new thread. I want to segment pictures of the brain, i.e. I only want the area within the skull without the bones (all the grey matter/pixels. White parts are bones of the skull). I have the following two pictures. In the first picture I also want all the grey parts, but you see that there are some white parts intermingled between. So basically the algorithm should segment four different images. In the second pictures it seems to be easier. Can you guys give me a hint to a function or some examples or threads? ![enter image description here](http://i.stack.imgur.com/U6adl.jpg) ![enter image description here](http://i.stack.imgur.com/zCxeQ.jpg)
cqadupstack-mathematica
I am trying to follow the steps to solve the integro-differential equation that arises from a plasma sheath problem given in this paper. This is the step I can't follow: > $$\epsilon_o\frac{d}{d\varphi}\biggl(\frac{E^2}{2}\biggr) = > \sqrt{\frac{m_e}{2e}}\frac{j_{eo}}{\sqrt{\varphi}} - > \sqrt{\frac{m_i}{2e}}\frac{j_{eo}}{\lambda_I}\int_\varphi^{\varphi_w}\frac{\varphi'/\varphi_I > - 1}{\sqrt{\varphi' - \varphi}}\frac{d\varphi'}{E'},\tag{4}$$ > > where $\lambda_I =1/\sigma_o n_a$ is the ionization mean free path for the > electron energy $E_I$. The integration of Eq. (4) over $\varphi$ leads to an > integral equation for the electric field $E(\varphi)$, > > $$\begin{multline}\frac{\epsilon_o}{4j_{eo}}\sqrt{\frac{e}{2m_e}}(E_w^2 - > E^2) = \bigl(\sqrt{\varphi_w} - \sqrt{\varphi}\bigr)\\\\- > \frac{1}{\lambda_I}\sqrt{\frac{m_i}{m_e}}\int_\varphi^{\varphi_w}\biggl(\frac{\varphi'}{\varphi_I} > - 1\biggr)\sqrt{\varphi(z') - > \varphi(z)}\frac{d\varphi'}{E(\varphi')},\tag{5}\end{multline}$$ The paper claims that instead of solving the integro-differential equation numerically from the form above, both sides of the equation can be integrated with respect to $\varphi$. I am not sure if it is valid to integrate both sides of this equation with respect to this variable since it appears in the lower limit of the integral. Can someone explain how you would handle integrating both sides when $\varphi$ is in the the limit of the integral? Thanks! Or if anyone has an argument for why a mistake might have been made in this step that would be helpful too.
cqadupstack-physics
Is there an OpenLayers example that allows the user to set a position with drag&drop. I would like to have a pin and set the position after the user drags & drops the pin to a new position.
cqadupstack-gis
When I logged into Google Analytic's account, I have set out this warning Google Analytic's says: Universal properties created prior to December 2013 may temporarily report doubled Visits counts between the hours of 0500-0800 in the View timezone. This issue corrects itself automatically. We are working on a fix to address this issue as soon as possible. What do you think about this issue??
cqadupstack-webmasters
I'm running Fedora 19 and I have installed MySQL using `yum install mysql`. When I issue the `mysql` command, I get the following error message: > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) If I do create the /var/lib/mysql/mysql.sock file the number after the error message change to `(111)` (it is possible that I have created the file with wrong permissions). After reading to this question and this one I tried to `service mysqld start`, but I get: Redirecting to /bin/systemctl start mysqld.service Failed to issue method call: Unit mysqld.service failed to load: No such file or directory. See system logs and 'systemctl status mysqld.service' for details. and `service mysqld status` returns Redirecting to /bin/systemctl status mysqld.service mysqld.service Loaded: error (Reason: No such file or directory) Active: inactive (dead)
cqadupstack-unix
This is the Ultimate World Domination Team Battle. Each debater must assemble a team of five people, and the teams will then have a battle. Since we cannot have an actual real-life battle, each debater will explain why their team is superior during this debate. DEFINITIONS Team leader: One of the debaters here, i.e. me and whoever accepts the debate. Team member: One of the five chosen warriors. RULES 1. Battles take place in a neutral location in the real world. The environment may not favor any team member. Note: Because this neutral location exists in the real world, someone like Neo who relies on The Matrix for his powers will not have his powers. 2. No team member may have unlimited abilities in one or more particular areas. 3. Every team member must be either real or, if fictional, verifiably existent. No characters may be made up for the purpose of this debate. 4. In the case of a fictional character, the team member's abilities must be according to a specific canon as chosen by the team leader. 5. Every character has only the equipment that they generally have in the specified canon. For instance, Master Chief has a full set of armor, a pistol and an assault rifle. 6. Team members are absolutely loyal to the team leader, unless subjected to some form of mind control by the opposing team. For example, though Superman and Lex Luthor are enemies, they could still be on the same team. 7. The team leader may not directly participate in the competition, but may only facilitate. The role of the team leader is to explain what the team would do and why it would win against the opposing team. 8. Neither team can have a member in common. If one team leader chooses a team member, the other team cannot have that person. 9. No one may choose Chuck Norris, on the grounds that a) his powers are somewhat vague and b) he is excessively overpowered. (PRO unveils only three team members in round one for two reasons. The first is so that PRO does not get first dibs on choosing all five team members. The second is so that CON cannot gain an advantage by choosing team members that directly counter PRO's team. A 3/5/2 revelation order is as balanced as possible in my opinion.) Round 1: Rule specifications; PRO unveils first three team members, CON unveils all five team members. Round 2: PRO unveils his final two team members and explains why his team is better. CON also begins her arguments. Round 3, 4, 5: Arguments and rebuttals. ======== Opening ======== Team Member 1: Borg Collective The Borg are capable of assimilating almost anyone into their collective, the exception being someone with superhuman willpower. Borg cannot assimilate each other. Borg are also very quick to adapt. Whenever they are given some sort of input, they can adapt to it extremely quickly. For example, in one episode of Star Trek: The Next Generation, the following events transpired: A Borg beamed on to the Enterprise and was shot with a phaser. Another Borg beamed on, and when the crew tried to shoot it, it was immune to phaser blasts. Borg are capable of becoming immune to an attack after they have seen it only one time; presumably, if they get their hands on a weapon, they can adapt to it and become immune without ever having to be hit by it. Due to a loophole in the rules (that I wrote =P), The Borg count as a single team member since each Borg in one collective is a single entity. Any knowledge is shared between all of them. "The Borg" means a single Borg collective, along with a Borg ship ("cube"). ======== Team Member 2: Invisible Woman (as seen in the Fantastic Four movie) Invisible Woman's forcefields are strong enough to contain a supernova, as seen at the end of the Fantastic Four movie. This is the equivalent of roughly 10^30 hydrogen bombs, +/- a few orders of magnitude. She is also capable of turning herself and others invisible. ======== Team Member 3: Durandal (Marathon series) http://marathon.bungie.org... Durandal is a highly intelligent AI. He is capable of teleporting human-sized objects. He does not necessarily exist within a computer (it's not actually clear where he exists), and since I don't know where he exists, I don't know how he can be killed. For the sake of fairness, let's assume that he exists within the Borg cube and will die if the cube is destroyed. But being a computer program, Durandal is capable of getting into any computer that he can come into contact with (via internet or LAN), and if he does so, that computer must also be destroyed. Also because he is a computer program, Durandal is capable of complete control over any computer he is inside of, assuming that the computer does not have another AI inside of it. In the case of competing AI, the victor will be worked out during the later debate. Durandal's intelligence, while limited, continually grows as the universe expands. ======== I will post my other two team members and begin my arguments in round 2. I eagerly await my opponent's response.
webis-touche2020
I have seven numeric variables and 12 cases. All of them are measures for how well 5 different casinos are performing. The higher the variable, the better the performance. Four of the variables are: `attendance figures`, `no. of new members`, `visit frequency count`, and `spend per head`. I need to combine these four variables into single performance score which will allow me to successfully rank in order of performance. My idea is very simple: Standardize all four variables, sum them up and whatever you get is the score which should be rank-order. Do you see any problem with applying this approach? Is there any other (better) approach that you would recommend?
cqadupstack-stats
From what I've seen, the left heavily divides people based on race and sex. For example, the Black Lives Matter (BLM) movement comes from the left, and the reason it's racist is because it isolates a certain race of people, discriminates them from the other races. Discrimination based on race is racist (I think every life matters, not just black ones). They also divide people sexually, for example they talk about the "wage gap." The existence of it is not relevant (it's a different issue) but it proves that they divide people into classes by sex (i.e. men make a certain amount and women make a certain amount). There are more examples I can say in later rounds so this isn't too wordy. Bottom line: the left is racist and sexist. Maybe I'm wrong we'll see.
webis-touche2020
How can I make a working model on maths?
quora
> **Possible Duplicate:** > Which Content Management System (CMS) should I use? I want **Joomla developers** perspective for: " **Whether its advisable or not to use Joomla** " if I wish to develop a site with following features: 1. Mainly focused in e-learning. (quite similar to http://grockit.com) 2. Registered **students** can: watch/download videos/slides present on the site, -give quiz (either solo or multi-player) on various predefined topics on the portal, -when chosen multi-player, they can chat with the other currently on the same quiz, -get a complete explanation of all questions after attempting the quiz, -see his/her profile/status on the portal. 3. **Teachers** can: can upload questions/slides/videos on the site(through a UI), review questions uploaded by some other teacher, can join a chat-room(quiz) and help students solve the quiz. 4. **Admin** (not necessarily a website developer) can: -approve new teachers requests. -manage contents of the website(through a UI). The key points are: The site won't ultimately be handled by the developers. The future admin may not know any programming at all! Is the compatibility issue on various versions of Joomla a big problem? Is it really easy for person with no programming skills to handle the site afterwards? Is Joomla efficient enough and easy to learn for developers? Are there sufficient number of Joomla extensions/plugins available for developing such a portal. And whether its easy to edit/modify those plugins? What we are capable of developing: 1. All the basic features including personal/group chat,video streaming,and the required coding for development of the UI for students and teachers. 2. Also we presently do not have any time constraints for the development of this portal.
cqadupstack-webmasters
I often get confused by the rules for using hyphens. According to this entry from the Oxford Dictionaries web site, I must always use a hyphen in these cases: > 1. Hyphens are used in many compound words to show that the component > words have a combined meaning. > 2. Hyphens can be used to join a prefix to another word, especially if the > prefix ends in a vowel and the other word also begins with one (e.g. _pre- > eminent_ or _co-own_ ). > 3. Hyphens can also be used to divide words that are not usually > hyphenated. > Ok, with these three rules in mind, I suppose I should write _living-room_ : after all, these two words have a combined meaning. To support this argument, I may say we write _bedroom_ — one word only — which means we’ve combined _bed_ and _room_ to refer to one thing, the bedroom. So _living room_ should either be hyphenated or written together as only one single word. Equally, _food handling department_ should be written as _food-handling department_ even though as with _living-room_ , I have never actually seen it written with a hyphen. I am a bit confused. Isn’t hyphenating these words arguably a grammatical error, or does hyphen usage vary from one country to another? (I mean, for example, that perhaps in England they write _living room_ , in Australia _livingroom_ , and in Canada perhaps _living-room_.) * * * As tchrist pointed out in the comment section, hyphen usage has nothing to do with grammar. It's only a ortographic convention. The reason I'm asking this question is: I once took an IELTS preparing course and there was a question whose answer was _food-handling department_ but I wrote _food handling department_. My answer was considered to be wrong - according to the entity behind the course, _food-handling department_ was the only acceptable answer. Given hypen usage is only _convention_ and not _grammar_ , can we really say I got that question wrong?
cqadupstack-english
I am new to this. Someone just created my website for me for free, and all I did was to pay for the domain and hosting. My website is new with just around 4 posts. I cannot complete it because I am not knowledgeable enough and I don't have much time. Also the person who I paid to complete it didn't show up. I decided to let my domain name expire, but now I found out that anyone can sell their domain name or website. Can I sell my domain name, and what will happen to my website or the contents therein? If I sell my domain, does that mean the ownership of my website and its contents there are also transferred to the person?
cqadupstack-webmasters
There is a couple things wrong with my opponent's argument, as I will point out in here. This is the crossfire. I will ask a few questions. Please answer these questions next round. 1. Does it make sense to say that the militarily weaker country is more of a threat? 2. Knowing that al Qaeda and Iran practice opposite branches of Islam, and that most Muslims aren't murderers, does it make sense to say that Iran is dangerous because of jihadists (al Qaeda)? 3. If the Koran states that Christians and Jews are infidels, and that infidels need to be killed, then why isn't the whole Muslim population in the jihad with al Qaeda? 4. Even if Iran was controlled by jihadists, their war is against Israel. Why would they attack the US?
webis-touche2020