Displaying 20 results from an estimated 433 matches for "unavoidable".
2004 Nov 13
2
unavoidable loop? a better way??
Hi all, I have the following problem, best expressed by my present
solution:
# p is a vector
myfunc <- function (p) {
x[1] <- p[1]
for (i in c(2:length(p))) {
x[i] <- 0.8*p[i] + 0.2*p[i-1]
}
return (x)
}
That is, I'm calculating a time-weighted average. Unfortunately the scale
of the problem is big. length(p) in this case is such that each call takes
about 6
2013 Nov 12
2
Expanding legacy gluster volumes
...us" configuration.
Suppose you buy the hardware to build such a pool. Two years go by, and
you want to grow the pool. Changes in drive size, hardware, cpu, etc
will be such that it won't be possible (or sensible) to buy the same
exact hardware, sized drives, etc... A heterogeneous pool is
unavoidable.
Is there a general case solution for this problem? Is something planned
to deal with this problem? I can only think of a few specific corner
case solutions.
Another problem that comes to mind is ensuring that the older slower
servers don't act as bottlenecks to the whole pool. jdarcy had men...
2018 Dec 04
3
Bug report: Function ppois(0:20, lambda=0.9) does not generate a non-decreasing result.
...s(19,lambda=0.9)<ppois(18,lambda=0.9)
>> [1] TRUE
>>
>> Which could not be TRUE.
> This is just another manifestation of
>
> 0.1 * 3 > 0.3
> #> [1] TRUE
>
> This discussion returns to this list from time to time. TLDR; this is
> not an R issue, but an unavoidable floating point issue.
Well, here the request may be interpreted not as "do it without round
error" which is indeed unavoidable but rather "please cope with rounding
errors in a way that return consistent result for ppois()". You have
indicated one way to do so (I have just ad...
2018 May 28
3
Problem in Pigeonhole sievec
.... This script is obviously broken,
but gets accepted by sievec and only fails later, at runtime with
line X: error: found stray carriage-return (CR) character in quoted
string started at line X.
So, the question is whether line breaks in strings are allowed in general
and the runtime error is unavoidable, or should sievec return an error?
Best regards,
Thorsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180528/5a27d17e/attachment.html>
2017 Sep 01
3
side-effect of calling functions via `::`
Dear list
I'm not sure whether this is a bug or an unavoidable consequence of the
way packages are loaded, but there can be surprising side effects of
calling a function via package::function. Here's an example using the
formula.tools package:
form <- a ~ b
as.character(form)
formula.tools::lhs(form)
as.character(form)
The first call to as.characte...
2018 Dec 03
2
Bug report: Function ppois(0:20, lambda=0.9) does not generate a non-decreasing result.
function ppois is a function calculate the CDF of Poisson distribution, it should generate a non-decreasing result, but what I got is:
> any(diff(ppois(0:19,lambda=0.9))<0)
[1] TRUE
Actually,
> ppois(19,lambda=0.9)<ppois(18,lambda=0.9)
[1] TRUE
Which could not be TRUE.
Code is tested in both R 3.5.1 and Microsoft R Open 3.5.1.
_
2017 Jan 18
2
[PATCH v6 kernel 3/5] virtio-balloon: speed up inflate/deflate process
...I'm not happy about it.
> I didn't use this way because I don't want to include 'virtio-balloon.h' in page_alloc.c,
> or copy the define of this struct in page_alloc.c
>
> Thanks!
> Liang
It's not good that virtio format seeps out to page_alloc anyway.
If unavoidable it is not a good idea to try to hide this fact,
people will assume they can change the format at will.
--
MST
2017 Jan 18
2
[PATCH v6 kernel 3/5] virtio-balloon: speed up inflate/deflate process
...I'm not happy about it.
> I didn't use this way because I don't want to include 'virtio-balloon.h' in page_alloc.c,
> or copy the define of this struct in page_alloc.c
>
> Thanks!
> Liang
It's not good that virtio format seeps out to page_alloc anyway.
If unavoidable it is not a good idea to try to hide this fact,
people will assume they can change the format at will.
--
MST
2019 Nov 04
2
Comments on GitHub commits?
...ts notified, which prevents idle people from piling onto to the conversation.
>>
>
> Watchers of the repo get the comments (just like pull-requests).
>
> I suspect that moving to a system where people are watching the repository instead of subscribing to the mailing-list is likely unavoidable at some point.
Then again, watching the repository will ultimately be like
subscribing to llvm-commits, won't it? How many people do _that_ and
actually track what happens? I personally can't imagine doing that
without some serious automatic filtering...
Cheers,
Nicolai
>
> --
>...
2018 Feb 15
2
Duplicate column names created by base::merge() when by.x has the same name as a column in y
Hi,
I was unable to find a bug report for this with a cursory search, but would
like clarification if this is intended or unavoidable behaviour:
```{r}
# Create example data.frames
parents <- data.frame(name=c("Sarah", "Max", "Qin", "Lex"),
sex=c("F", "M", "F", "M"),
age=c(41, 43, 36, 51))
children <-...
2016 Sep 10
2
defaults for FP contraction [e.g. fused multiply-add]: suggestion and patch to be slightly more aggressive and to make Clang`s optimization settings closer to having the same meaning as when they are given to GCC [at least for "-O3"]
...ive different results when compiled at different "-O<...>" settings with the exception of "-Ofast".
>
> Pretty much. In particular, imagine a user trying to debug an unexpected floating point result caused by conversion of a*b + c into fma(a, b, c).
I think that’s unavoidable, because of the way the optimization levels work. Even fma contraction is on by default (something I’d like to see), at -O0, we wouldn't be doing contraction for:
auto x = a*b;
auto y = x+c;
but we would do that at -O2 since we do mem2reg on x.
-Chris
-------------- next part -------------...
2015 Apr 16
3
quota_over_flag examples?
...lient isn't all this so expensive to spawn a new shell session
which spawns a mysql client?)
Anyone knows how to use this flag with postfix *making postfix send
special reject* "user over quota" note instead of plain SMTP reject??
Is an additional database lookup (restriction class?) unavoidable? :(
TIA1
PS Looks like it is tricky almost impossible to make postfix do rejects
based on this flag for aliases. (Special query would be a little messy
for our schema but i dunno at what point postfix resolves aliases?)
2011 Apr 08
5
Avoiding a loop
Friends.
I cannot simplify this much, and I think the loop is unavoidable. As a
recovering C programmer I want to avoid loops and in cases like this I
almost allways can by using an apply function. But I suspect in this case
there is nothing I can do.
It is a finance example where a price series is compared to a moving
average. If the price goes above the average, pl...
2015 Mar 18
4
Windows gcc toolchain for R 3.2.0
...errors when it is seen. But before we do that, we need a solid replacement.
- There are some other crashes that appear to be unrelated, also with
C++ code.
- There are some subtle differences in arithmetic that result in tests
failing. These may be due to bugs in MinGW-w64 code,
or may be unavoidable.
Duncan Murdoch
2010 Mar 19
0
[LLVMdev] 2.7 Pre-release1 available for testing
Hi Tanya,
On darwin9, the binaries in the darwin10 packages give:
$ /opt/clang+llvm-2.7-i386-darwin10/bin/llvm-as --help
dyld: unknown required load command 0x80000022
Trace/BPT trap
That could be unavoidable, of course.
Also, could you document what build mode the packages use (or release
both Debug and Release-Asserts packages)? Since +Asserts and -Asserts
have different ABIs, I'd have to write a test to figure out how I
should compile Unladen Swallow.
Thanks,
Jeffrey
2010 Mar 19
1
[LLVMdev] 2.7 Pre-release1 available for testing
...M, Jeffrey Yasskin <jyasskin at google.com> wrote:
> Hi Tanya,
>
> On darwin9, the binaries in the darwin10 packages give:
>
> $ /opt/clang+llvm-2.7-i386-darwin10/bin/llvm-as --help
> dyld: unknown required load command 0x80000022
> Trace/BPT trap
>
> That could be unavoidable, of course.
>
> Also, could you document what build mode the packages use (or release
> both Debug and Release-Asserts packages)? Since +Asserts and -Asserts
> have different ABIs, I'd have to write a test to figure out how I
> should compile Unladen Swallow.
>
> Thanks,
&g...
2006 Mar 10
1
XenMon''s first reading
In XenMon''s file appending mode, a lot of times I''ll get a strange first data
point, e.g., the cpu% for dom0 will be 99.9 but the rest of the readings will be
19-21 which are sane for the run. I''ve been throwing the data point out, but
was curious about it. Is it unavoidable?
Thanks,
Tim
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2008 Aug 14
1
Security leak in map_nt_perms?
...asily diagnosed and afforded without security risks
and with access failure as a clear feedback).
A possible alternative is to map only FILE_READ_DATA to Unix Read and to
map Unix Read to FILE_READ_DATA | FILE_READ_EA | FILE_READ_ATTRIBUTES.
This lead to a lesser security exposure (that however is unavoidable
taken for granted Unix RWX security model)
I'm missing something?
2006 Jan 11
1
problem with replicate and "..." (PR#8472)
...erious why x was bound to the apparently arbitrary
value 0 while y was left at its default.
The ... arguments to bar seems to be ignored altogether.
bar(10), bar(10,x=3), and bar(10,3,4) give the same result.
Furthermore, bar(10,extra=3) does not give an error.
Perhaps this mysterious behavior is unavoidable because of
the kind of hack replicate is?
Thanks ...
2008 Jun 05
1
memory.size() for large memory usage (PR#11596)
This amusing behaviour is from R2.6.1 on WinXP Pro SP2 running with boot.in=
i /3GB flag, exploring memory limits.
=20
When actual (object, not total) memory usage hits 2048 MB, memory.size star=
ts counting down again, but reports a negative amount, e.g. -2046.333. Is t=
his an intended (or unavoidable) feature?)
=20
Thanks,
=20
Rory Bowden
bowden at stats.ox.ac.uk
=20
[[alternative HTML version deleted]]