Displaying 20 results from an estimated 82 matches for "250000".
Did you mean:
20000
2009 Mar 15
2
Testing for Inequality à la "select case"
...falls
in. Intervals are as follows:
>From | To | % of x | Minimum
---------------------------------------------------------------
0 | 20000 | 65 | 0
20000 | 100000 | 40 | 14000
100000 | 250000 | 30 | 40000
250000 | 700000 | 25 | 75000
700000 | 1000000 | 20 | 175000
1000000 | inf | -- | 250000
Once the interval is determined, the values in x are multiplied by the
percentages applyi...
2007 Jul 11
1
cannot autenticate user in AD
..._winbind.so.2 in /lib
* smbd version is 3.0.25b and i compile this with arguments:
--with-winbind --with-krb5=/usr/lib --with-ads
* smb.conf:
workgroup = DOMAIN
realm = DOMAIN.INT
netbios name = samba1
preferred master = no
client schannel = no
security = ADS
password server = *
idmap uid = 10000-250000
idmap gid = 10000-250000
winbind uid = 10000-250000
winbind gid = 10000-250000
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
* klist
Default principal: administrator@DOMAIN.INT
Valid starting Expires Service principal
07/11/07 12:26:17 07/11/07 22:26:18...
2000 Feb 11
1
astonishing memory phenomenon
...ng vector of character data, gc() only seem to
reflect the space needed for a vector of pointers to char, the space used
for the character data itself is ... hidden!?
Here the data: I have 6 MB heap, and can do
> x <- rep(1, 350000); gc(); rm(x); gc()
free total (Mb)
Ncells 61034 250000 4.8
Vcells 350955 786432 6.0
free total (Mb)
Ncells 61036 250000 4.8
Vcells 700956 786432 6.0
which is using about 2.67 MB RAM for double numbers.
Trying for 3.05 MB fails (well, rep() obviously needs twice the memory, x <-
double(700000) works)
> x <- rep(1, 400000); gc(...
2012 Dec 04
3
list to matrix?
How do I convert a list to a matrix?
--8<---------------cut here---------------start------------->8---
list(c(50000, 101), c(1e+05, 46), c(150000, 31), c(2e+05, 17),
c(250000, 19), c(3e+05, 11), c(350000, 12), c(4e+05, 25),
c(450000, 19), c(5e+05, 16))
as.matrix(a)
[,1]
[1,] Numeric,2
[2,] Numeric,2
[3,] Numeric,2
[4,] Numeric,2
[5,] Numeric,2
[6,] Numeric,2
[7,] Numeric,2
[8,] Numeric,2
[9,] Numeric,2
--8<---------------cut here-------------...
2006 Apr 06
0
algebra
...unt as a function of an arbitrary number of variables (with unknown values). for example, an interest rate swap may call for a payment in one year that can be represented as a function of a 3-month libor rate to be determined in nine months. this floating cash amount would be represented as, say, 250000*L (i am omitting some of the details leading to the scalar), where L is the unknown rate. it will be necessary for addition and multiplication operations (among others) to make sense for the class. i haven't found R to be particularly accommodating of this type of problem, in particular of th...
2010 Oct 25
3
Using tapply?
Dear R helpers,
I am trying to calculate the Annualized Percent Rate using following R - Code.
# ____________________________________________________________________
## R Code
library(animation)
# INPUT
C = 250000 # Loan Amount
E = 2500 # Other Cost
R = 6 # Interest rate
r = R/1200 # Monthly interest rate
q = 12 # No of Compoundings
n = 20 # No of years
# ________________________________________________________________________
# COMPUTATIONS
N = n *
q # No...
2017 Apr 19
6
[PATCH supermin 0/3] Require root= parameter, refactor init.
Require the root= parameter is passed to specify which
root (apppliance) to mount. Libguestfs has done this since 2012.
The other two patches are small code refactorings in the init
program.
Rich.
2002 Jul 14
1
crossprod and X %*% t(X)
...page for crossprod states that crossprod(A,B) is faster than
t(A) %*% B; experimentation certainly bears this out. more alarming
is the evidence that crossprod(t(A), B) is faster than A %*% B:
on a PII laptop, 128MB memory, win98, R-1.5.0.-patched precompiled
(no ATLAS):
> A <- matrix(rnorm(250000),500,500)
> B <- matrix(rnorm(250000),500,500)
> for (i in 1:5) { print(system.time(A %*% B)) }
[1] NA NA 7.96 NA NA
[1] NA NA 7.81 NA NA
[1] NA NA 7.79 NA NA
[1] NA NA 7.81 NA NA
[1] NA NA 7.79 NA NA
> for (i in 1:5) { print(system.time(crossprod...
1999 Apr 27
2
Memory management
...time:
rgui --vsize 30M --nsize 1000K
rgui --vsize 30M --nsize 2000K
rgui --vsize 30M --nsize 3000K
rgui --vsize 30M --nsize 4000K
I try to open a matrix 8000x8000 by issuing
x<-matrix(nrow=8000,ncol=8000)
I always get the following message:
Error: heap memory (20480 Kb) exhausted [needed 250000 Kb more]
It's always 250000 Kb less. Although gc() reports the memory management
as
expected (correctly ?), increased every time I invoke R with greater
vsize,nsize
params. My matrix should hold roughly 1 Meg of memory.
Is this correct ?
When I issue :
rgui --vsize 30M --nsize 5000K
R hangs...
2008 Jul 02
1
set values in data.frame to NA conditional on another data.frame
Hello List,
Is there a faster way to set values in one data.frame equal to NA
conditional on the corresponding value in another data.frame? Currently
I am using:
> b[is.na(a)] <- NA
where 'a' and 'b' are data.frames of equal size/dimensions, and 'a'
contains NAs but 'b' does not. This is extremely slow as is, as my
data.frames are about 6000 columns by
2010 Nov 08
3
No Jack Realtime w/ Wine, Kontakt 4
...ents Kontakt 4 under Wine. It runs fine except for
occasional stutters, so I wanted to try enabling Realtime in Jack, but I have no
luck with this. (I have made recommended edits to the limits.conf file, though
I've read that this is no longer necessary(?):
@audio - rtprio 100, @audio - memlock 250000)
When I start up Kontakt, I see "ASIO_Kontakt 4" appear in the Jack Connections
"Readable Clients/Output Ports" window in the Audio tab, which is normal. However,
it quickly disappears, and when Kontact boots fully, no sound libraries can be
loaded and the program locks up.
Th...
2010 Apr 22
1
PRIO qdisc + iptables TOS target
...p dst
192.168.1.99 flowid 1:99
the result is:
# tc - s class ls dev imq0
class htb 1:1 root rate 768000bit ceil 768000bit burst 1599b cburst 1599b
Sent 2451 bytes 22 pkt (dropped 0, overlimits 0 requeues 0)
rate 1016bit 1pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 250000 ctokens: 250000
class htb 1:129 parent 1:1 leaf 816c: prio 0 rate 96000bit ceil
600000bit burst 1599b cburst 1599b
Sent 7269 bytes 50 pkt (dropped 0, overlimits 0 requeues 0)
rate 1416bit 1pps backlog 0b 0p requeues 0
class prio 816c:1 parent 816c:
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 r...
2017 Apr 19
1
[PATCH supermin] init: Support root=UUID=... to specify the appliance disk by volume UUID.
...}
root += 5;
- if (strncmp (root, "/dev/", 5) == 0)
- root += 5;
- if (strncmp (root, "pmem", 4) == 0)
- dax = 1;
- len = strcspn (root, " ");
- root[len] = '\0';
-
- asprintf (&path, "/sys/block/%s/dev", root);
- for (delay_ns = 250000;
- delay_ns <= MAX_ROOT_WAIT * UINT64_C(1000000000);
- delay_ns *= 2) {
- fp = fopen (path, "r");
- if (fp != NULL)
- break;
+ if (strncmp (root, "/dev/", 5) == 0) {
+ char *path;
- if (delay_ns > 1000000000) {
- fprintf (stderr,
-...
1999 Sep 20
3
image legend
Dear R users,
Does anyone have a function for putting a legend on an image
plot? I couldn't locate an R equivalent of image.legend....has
anyone written such a thing?
kind regards
andy
---------------------------------------------------------------------
J. Andy Royle, U.S. Fish and Wildlife Service - Office of Migratory
Bird Management; 11510 American Holly Drive , Laurel, MD
2014 Aug 14
1
Quota Help
..., 5000 AS gid, CONCAT('maildir:storage=+',quota_kb) AS quota_rule FROM users WHERE email='test.example.org';
Aug 14 14:06:24: auth: Debug: master out:
USER#0111720057857#011test.example.org#011home=/var/vmail/contriveit.com/test#011uid=5000#011gid=5000#011quota_rule=maildir:storage=+250000
Aug 14 14:06:24: imap-login: Login: user=<test.example.org>,
method=PLAIN, rip=55.55.55.55, lip=99.99.99.99, mpid=8097, TLS,
session=<2QDLu5UAKAAuBSdf>
Aug 14 14:06:24: auth: Debug: client in: CONT<hidden>
Aug 14 14:06:24: auth-worker(8095): Debug:
sql(test.example.org,55.55.55.55...
2017 Apr 25
1
[PATCH supermin v2] init: Support root=UUID=... to specify the appliance disk by volume UUID.
v1 -> v2:
- I fixed the end condition of the loop in parse_root_uuid.
- Retested.
Didn't change the busy wait loop into a function or macro,
as per discussion on IRC.
Rich.
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
...====================
--- a/clients/upssched.c 2011-05-31 13:36:47.000000000 +0300
+++ b/clients/upssched.c 2011-08-17 00:40:17.000000000 +0300
@@ -652,7 +652,7 @@ static int check_parent(const char *cmd,
unlink(lockfn);
/* give the other one a chance to start it, then try again */
- usleep(250000);
+ struct timespec delay = {0, 250e6}; nanosleep(&delay, NULL);
}
upslog_with_errno(LOG_ERR, "Failed to connect to parent and failed to create parent");
@@ -705,7 +705,7 @@ static void sendcmd(const char *cmd, con
if (pipefd == PARENT_STARTED) {
/* loop back and try t...
2017 Apr 19
0
[PATCH supermin 3/3] init: Refactor for-loop which waits for root device to show up.
...init/init.c | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/init/init.c b/init/init.c
index 473a5c5..a6279b8 100644
--- a/init/init.c
+++ b/init/init.c
@@ -101,13 +101,19 @@ main ()
char *root, *path;
size_t len;
int dax = 0;
- uint64_t delay_ns = 250000;
+ uint64_t delay_ns;
int virtio_message = 0;
- struct timespec t;
int major, minor;
char *p;
const char *mount_options = "";
+ struct timespec t;
+#define NANOSLEEP(ns) do { \
+ t.tv_sec = delay_ns / 1000000000; \
+ t.tv_nsec = delay_...
2015 Nov 17
2
Join Samba without GC role
On Tue, 2015-11-17 at 08:27 +0000, Luchko Dmitriy wrote:
> I created test environment: 1 root domain, 2 subdomain. I created
> about 250000 user accounts in subdomain 2 (sub2.company.com) ntds.dit
> 14gb. Joining samba in first subdomain (sub1) was without problem.
> But in production environment (with a lot of domains and objects)
> python process was hung with 100% CPU (after 6 hour we killed hung
> process).
> Why...
2017 Apr 19
0
[PATCH supermin 2/3] init: Move variable declarations to the top of the function.
...insertions(+), 16 deletions(-)
diff --git a/init/init.c b/init/init.c
index e3d1107..473a5c5 100644
--- a/init/init.c
+++ b/init/init.c
@@ -96,6 +96,18 @@ static char line[1024];
int
main ()
{
+ FILE *fp;
+ size_t n;
+ char *root, *path;
+ size_t len;
+ int dax = 0;
+ uint64_t delay_ns = 250000;
+ int virtio_message = 0;
+ struct timespec t;
+ int major, minor;
+ char *p;
+ const char *mount_options = "";
+
mount_proc ();
fprintf (stderr, "supermin: ext2 mini initrd starting up: "
@@ -132,13 +144,13 @@ main ()
exit (EXIT_FAILURE);
}
- FILE *fp =...