Displaying 20 results from an estimated 6000 matches similar to: "Simulating mid-points from a defined range"
2025 May 31
1
Simulating mid-points from a defined range
Hi!
Just an idea. You randomly select the first point. Cut +/- 5 from the
original space [0;100]. Select second point. Project it to the original
space. Cut again. Repeat.
Simplified method without cutting: every time mark +/- 5 as a bad space and
select point again if it is in forbidden area.
Hope it helps.
Regards,
Sergiy
On Sat, 31 May 2025, 19:52 Brian Smith, <briansmith199312 at
2025 May 31
1
Simulating mid-points from a defined range
If this is a real problem and not homework, can you tell us the
context? It is not at all clear (to me) what you mean by "simulate",
i.e. what your target distribution is, which may depend on/be defined
by the context.
Bert
"An educated person is one who can entertain new ideas, entertain
others, and entertain herself."
On Sat, May 31, 2025 at 11:52?AM Brian Smith
2025 May 31
1
Simulating mid-points from a defined range
I'll second Bert's comments, also assuming this is not homework. In addition:
Your use of "mid-point" is not a standard one (in my world), nor perhaps is that of "simulate".
Let me attempt to re-state your problem: You wish to choose 10-tuples of integers 0 <= k <= 100 satisfying
1) 0 <= k_i <= 100 for i = 1:10;
and
2) k_(i+1) - k_(i) >= 5 for i =
2025 May 31
1
Simulating mid-points from a defined range
JRG:
I don't think your specification is correct -- perhaps just a thinko. I
think a 10-tuple of "reals" (scare quotes because of computer precision)
with your specifications is what is wanted.
Bert
"An educated person is one who can entertain new ideas, entertain others,
and entertain herself."
On Sat, May 31, 2025 at 3:43?PM JRG <jrg at loesl.us> wrote:
>
2011 Jan 15
1
Is mirroring provides failover protection?
Hi,
I have two Gluster servers A and B. They are mirrored. I mount A. What happens when server A goes down?
I would like for my applications to seamlessly use data from the Gluster storage B.
Thanks,
Sergiy.
2013 Apr 18
2
[LLVMdev] Patch to compile LLVM with MSVC 2010
>From the DeveloperPolicy.html document I gathered I need to send a patch to this list (which I did); could you clarify if I misunderstood it?
The second patch is really trivial and I think it's worth applying - it seems like a typo by someone who tested on MSVC 11 but not 10; or maybe my local instance of MSVC10 is somehow deficient, of course.
The first patch is adding MSVC-specific
2013 Apr 17
3
[LLVMdev] Patch to compile LLVM with MSVC 2010
In order to get llvm to compile on Windows with MSVC 10, I have to disable inline on utostr to avoid internal compiler failure, and disable _xgetbv call in OsSupportsAVX because it's only defined in MSVC 2012 compiler. The first patch (noinline) is known for many months now. I'm a casual llvm user, and don't know the proper channels to go through to submit a patch. Could someone tell
2013 Apr 18
0
[LLVMdev] Patch to compile LLVM with MSVC 2010
The original thread on this ICE, including a link to the bug submitted to MS is here:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-December/056683.html
Michael
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Sergiy Migdalskiy
Sent: Thursday, April 18, 2013 10:28
To: David Blaikie
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Patch to compile LLVM
2013 Apr 18
0
[LLVMdev] Patch to compile LLVM with MSVC 2010
On Wed, Apr 17, 2013 at 11:36 AM, Sergiy Migdalskiy
<migdalskiy at hotmail.com> wrote:
> In order to get llvm to compile on Windows with MSVC 10, I have to disable
> inline on utostr to avoid internal compiler failure, and disable _xgetbv
> call in OsSupportsAVX because it's only defined in MSVC 2012 compiler. The
> first patch (noinline) is known for many months now. I'm
2010 Jul 19
2
CentOS 5.4 KVM: PXE boot problem
Hi All,
I'm playing with KVM in order to adopt the technology for dev /
testing purposes. Installing RHEL5 from ISO images works ok, no
problems with installation.
The problem occurs with PXE boot - it is simply doesn't try to do PXE
boot, according to what I can see:
Booting from Hard Disk...
Boot from Hard Disk failed: not a bootable disk
FATAL: No bootable device.
_
I have:
CentOS
2006 Sep 24
2
Kebo UPS-600A and Kebo UPS-1200M setup
Hello nut-upsuser,
Hope, that its might be useful for someone:
1. Kebo UPS-600A
Driver: genericups
UPStype: 7
Config extras: SD = -RTS or SD = -TX (don't know why but both are
suitable)
2. Kebo UPS-1200M
Driver: fentonups
Config extras: none
Note: Looks like twin brother of Microlab UPS-1200M :)
Driver ask me to report ID string:
"Unknown
2011 Mar 22
2
dsync inbox conversion problem (mbox -> mdbox)
Hi,
We are trying to convert all mbox mail on our systems to mdbox using
dsync, in order to be able to use email sub-folders in Thunderbird.
Everything works fine for non-inbox folders, however the inbox folders
are not getting converted.
We used:
*dsync -v convert mbox:~/mail:INBOX=/var/mail/%u*
*dovecot --version*
2.0.beta6 (3156315704ef) (shipping with RHEL6/SL6)
*dovecot -n*
#
2007 Sep 25
2
ZFS speed degraded in S10U4 ?
Hi Guys,
I''m playing with Blade 6300 to check performance of compressed ZFS with Oracle database.
After some really simple tests I noticed that default (well, not really default, some patches applied, but definitely noone bother to tweak disk subsystem or something else) installation of S10U3 is actually faster than S10U4, and a lot faster. Actually it''s even faster on
2011 Mar 12
1
Column order in stacking/unstacking
Dear R users,
I'm having some problems with the stack() and unstack() functions, and
wondered if you could help.
I have a large data frame (400 rows x 2000 columns), which I need to reduce
to a single column of values (and therefore 800000 rows), so that I can use
it in other operations (e.g., generating predictions from a GLM object).
However, the problem I'm having can be reproduced
2020 Jun 30
7
[Bug 3189] New: channel mux_ctx memory leak
https://bugzilla.mindrot.org/show_bug.cgi?id=3189
Bug ID: 3189
Summary: channel mux_ctx memory leak
Product: Portable OpenSSH
Version: 8.3p1
Hardware: ix86
OS: Linux
Status: NEW
Severity: critical
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
2004 Oct 28
1
gsub() on Matrix
Hi,
Suppose I've got a matrix, and the first few elements look like
"x1 + x3 + x4 + x5 + x1:x3 + x1:x4"
"x1 + x2 + x3 + x5 + x1:x2 + x1:x5"
"x1 + x3 + x4 + x5 + x1:x3 + x1:x5"
and so on (have got terms from x1 ~ x14).
If I want to replace all the x1 with i7, all x2 with i14, all x3 with i13,
for example. Is there an easy way?
I tried to put what I want
2008 Dec 22
1
sem package fails when no of factors increase from 3 to 4
#### I checked through every 3 factor * 3 loading case.
#### While, 4 factor * 3 loading failed.
#### the data is 6 factor * 3 loading
require(sem);
cor18<-read.moments();
1
.68 1
.60 .58 1
.01 .10 .07 1
.12 .04 .06 .29 1
.06 .06 .01 .35 .24 1
.09 .13 .10 .05 .03 .07 1
.04 .08 .16 .10 .12 .06 .25 1
.06 .09 .02 .02 .09 .16 .29 .36 1
.23 .26 .19 .05 .04 .04 .08 .09 .09 1
.11 .13 .12 .03 .05 .03
2005 Jun 29
2
quick way to construct formula
Dear R users,
I have a data with 1000 variables named "x1", "x2", ..., "x1000", and
I want to construct a formula like this format:
~x1+x2+...+x1000+x1:x2+x1:x3+x999:x1000+log(x1)+...+log(x1000)
That is: the base variables followed by all interaction terms and all
base feature log-transformations. I know I can use several paste
functions to construct it. But is
2008 Dec 24
1
SSL cert problems.
I'm really racking my brain trying to figure this one out here. I am
running a pop3 server for remote offices on CentOS 5.2. We purchased a
SSL cert from Verisign and installed it on our dovecot server, but I
continue to get failure problems with the cert and I don't know where to
go from here.
here is some info about our config:
dovecot version:
# dovecot --version
1.0.7
hostname:
2013 May 29
3
bootstrap
Hi,
You might need to check library(boot).? I have never used that before.? So, I can't comment much.? It is better to post on R-help list.? I had seen your postings on Nabble in the past.? Unfortunately those postings were not accepted in R-help.? You have to directly post at ? r-help at r-project.org after registering at:
https://stat.ethz.ch/mailman/listinfo/r-help
?