search for: obvious

Displaying 20 results from an estimated 30481 matches for "obvious".

2006 Oct 12
9
[PATCH] an obvious fix to PIC IO intercept
an obvious fix to PIC IO intercept. In PIC IO, address from send_pio_req is physical address already. Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com> Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com> Signed-off-by: Xin Li <xin.b.li@intel.com> ________________________________________...
2006 Jun 29
13
Ideal Ruby on Rails Development Environment on Linux
...ux VPS service and I create the base templates to make the system look however i want it after install. I was hoping some of you could give me some ideas on what you would like to see from a development environment. Here''s what i have so far and any ideas are welcome: -Latest Ruby (obvious) -Latest Rails (obvious) -Latest Gems (obvious) -The default webserver document root is set up as an empty rails application -Latest MySQL Database Set Up and Running (Obvious) -Apache configured for rails (obvious) -Vim installed with vim-ruby installed via gems (dont know if this is useful?) a...
2018 Dec 31
4
RFC: Modernizing our use of auto
...n LLVM codebases. >> Currently the rule on the use of auto is here: > > Hi, > > Thanks for the input on this topic, which has appeared here on the mailing list, on the phab review, and on IRC. > > Almost all respondants generally expressed the claim "The type must be obvious if auto is used", though as I wrote before the guide uses auto in context that the type is not obvious: > > for (const auto &Val : Container) { observe(Val); } > > It seems that the respondants wish for 'almost never auto'. Fair enough, if the existing practice suppor...
2002 Jan 31
1
obvious answer
I apologise for this question, as I'm sure the answer has got to be obvious, but I am trying to follow the John Maindonald tutorial and have stumbled at the first page. I have sussed out that I need to use the source command rather than the read.table command as illustrated in the tutorial, but the data isn't reading in properly with additional names at the beginn...
2002 Mar 26
3
ks.test - continuous vs discrete
I frequently want to test for differences between animal size frequency distributions. The obvious test (I think) to use is the Kolmogorov-Smirnov two sample test (provided in R as the function ks.test in package ctest). The KS test is for continuous variables and this obviously includes length, weight etc. However, limitations in measuring (e.g length to the nearest cm/mm, weight to the neares...
2008 Apr 20
3
[LLVMdev] Reference Manual Clarifications 2
...supposed to do. Suppose you're writing > heap management code. Perhaps, but very unlikely. An allocation of 2 gigabytes or more is probably a bug. >> I'm not necessarily saying that NumElements should be >> signed, only that the choice between signed and unsigned is not obvious. > > Obviously, obviousness is in the eye of the beholder :-) > (SCNR) Yes. But consider that there are many people who agree with me. Search for "unsigned vs signed - Is Bjarne Mistaken?" in comp.lang.c++.moderated. Best Regards, Jon
2010 Apr 25
1
Obvious reason for not looping twice?
Is there an obvious reason why this won't loop to i=2 and beyond? There are many combinations of *st* & *vc* that don't exist in svc. For example, when s=1 there's only an entry at v=1. That's fine, the entry can stay 0. lookup.svc <- array(0,dim=c(length(unique(svc$st)),length(unique(svc$vc))...
2018 Dec 04
4
[cfe-dev] RFC: Modernizing our use of auto
On Wed, Nov 28, 2018 at 6:25 PM Chris Lattner via cfe-dev < cfe-dev at lists.llvm.org> wrote: > Generally no IMO, because the cases that produce optional are not obvious. > Just to say, +1 from me too. > > > * Can we use auto in c++14 lambda arguments with llvm::find_if(C, > [](const auto& i) { ... }) for example? > > * We need to use auto for structured bindings, if those are used. > > These both get into “yes, if the type is cont...
2006 Apr 30
4
Subversion and Capistrano
I have a project under Subversion, deployed by Capistrano. When it is deployed, obviously I need to deploy "real" copies of database.yml, deploy.rb, and maybe a couple of other files. But if I offer it for public checkout, I obviously do not want these files as part of the checked out code. What''s the best way to handle this? --Al Evans -- Posted via http://w...
2001 Nov 08
2
Error Bars
...e error bars on a bar chart. I'm using code like this: thing <- c(3,3,3) se <- c(1,1,1) names(thing) <- c("A", "B", "C") barplot(thing, ylim=c(0,4)) arrows(c(1:3), thing-se, c(1:3), thing+se, code=3, angle=90,length=0.1) Using c(1:3) has 2 problems: 1. Obviously it is untidy, but using names(thing) doesn't work, and I can't find out what will work. 2. It draws the lines in the wrong place (i.e. not in the middle of the bars) I'm sure this problem has a well know and obvious solution, but it's not so well known or obvious to me. Thanks i...
2008 Apr 19
3
[LLVMdev] Reference Manual Clarifications 2
...n of >> whether NumElements is signed or unsigned in the documentation. > > How could an element count be treated as negative? It doesn't make > sense to allocate negative elements. True, but making NumElements unsigned just because it can never have a negative value is not obvious. I always use signed integers for nonnegative counts for a couple of reasons. First, I can assign -1 to the count to indicate an invalid or unknown value. Second, if I attempt to allocate a negative count, I can print an assertion failure and abort the program. Had I interpreted the count a...
2018 Nov 25
6
RFC: Modernizing our use of auto
...ke-code-more-readable It is quite strict. It allows the use of auto for * lambdas * iterators because they are long to type * casts to the type but generally leaves the rest up to the reviewer, not the contributor. The notes about "more readable", "easier to maintain", "obvious from the context" are very subjective. I think these guidelines need to be made more clear both in that subjective sense, but also in the sense of use of new/recent language and library features, given that LLVM will allow C++17 features in a few months. For example: * Can we use auto in...
2004 Sep 29
3
R: string connections
hi all i have a simple question: lets assume that i can enter a variable (a) equal to some value, say 100. obviously a could be any value. i would like to create a plot with a main heading as hi all "some writing" + a how would own create a string by combining a string with a numeric variable? hope the question is not too confusing. e.g. say a=5 then i want something like plot(x, main="som...
2008 Oct 02
1
[LLVMdev] MS C++ gives error C2371 on this code while (obviously)gcc compiles it fine
...------------------------------------------------- From: "Argiris Kirtzidis" <akyrtzi at gmail.com> Sent: Thursday, October 02, 2008 12:32 PM To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> Subject: Re: [LLVMdev] MS C++ gives error C2371 on this code while(obviously)gcccompiles it fine ... > See 6.4p2: "The rules for conditions apply both to selection-statements > and to the for and while statements" ... > -Argiris
2009 Dec 15
2
silly SVN question
...us copy of the development branch of R, but so far I have been unable to figure out an analogous way to track the development branch of the recommended packages. (I'm assuming they actually live somewhere on the same SVN server, which might not be true ...) Any ideas (including pointing out the obvious, or the obvious-in-hindsight)? thanks Ben Bolker -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/200...
2015 Dec 03
2
Linux & NFSv4 ACLs
...to share, via Samba, a filesystem mounted via NFSv4. I'm struggling with the best way to make Samba see the NFSv4 ACLs and enumerate them to provide the proper SMB/CIFS access to the files, instead of "Access Denied" errors that I currently get. Looking at the Samba source, the only obvious NFSv4 stuff appears to be the following: - zfsacl, available only on Solaris or FreeBSD, which provides NFSv4 ACL support simply because that's what ZFS uses. Don't see a way to use this on Linux. - gpfs, available only if you happen to have the GPFS code/headers installed (gpfs_gpl.h), an...
2007 Sep 21
3
really dumb question | loop counters in
...east (had lots of recent experience compiling it on our Opteron-based servers). Was trying to write some simple little scripts (in advance of porting over some bigger things from other environments - like MATLAB), when I realized that handling counters in loop constructs in [R] is not patently obvious (at least, IMO, compared to other languages). Suppose I want to iterate something from 1 to 100, using a step size of (say) 5. Trying the obvious for(x in 1:5:100) { print(x) } (Perhaps obviously, I've borrowed the MATLAB convention to some degree). Or, looping from 0 -> 1 by 0.01? I...
2009 Nov 13
6
replace a whole word with sub()
...o have "xxx", "yyy", "zzz", "0", "0", "kkk", "0", "aaa". I can easily identify these strings with grep("^Ig", X), but if I use this criterion in the sub() function (sub("^Ig", "0", X) I obviously get "0A", "0G" etc. I didn't expect to do it in this way and I tried with metacharacters and regexps in order to grep and substitute the whole word (\b \>, $). I don't post here my tryings, because they were obviously wrong. Please can you help me? Giulio...
2009 Nov 20
3
help me avoid nested for() loops!
...nly way I can see to do this is by pythagoras and nested for loops. distance<-function(x1,y1,x2,y2){sqrt((x2-x1)^2 + (y2-y1)^2)} #pythagoras for(i in 1:nrow(points)){ for(j in 1:nrow(points)){ dist<-c(dist,distance(points[i,1],point.array.indices[i,2],points[j,1],points[j,2])) } } This is obviously prohibitively slow with >10000 rows in the array. Any thoughts on how to do this without for loops? I apologize in advance if there is an obvious way around this. Thanks! Andrew Barr University of Texas at Austin
2006 Jul 27
2
Non-interpreted strings
I am new to R, so please forgive me if there is an obvious answer to this question. I have done fairly extensive searching through R docs, google and a few R users and have not found an answer to my question. Is there a way to create a non-interpreted string object in R? For example, I am using R in a MS Windows environment and I would like to paste DOS...