Displaying 20 results from an estimated 122 matches for "5000000".
Did you mean:
0000000
2007 Oct 06
4
spec''ing views, mock_model associations
...ve_tag(''a'',"(2) Players")
end
I''m not sure how to do the mock model, I think it would be done two ways but
unsure of the syntax:
1: add players in
@game = mock_model(Game,
:name => ''The Battle for Blaze'',
:salt_grains => ''5000000'',
:people => ''5000000'',
:days => nil,
:created_at => "Mon Oct 01 00:02:44 -0400 2007",
:enabled => true,
:players => {
})
2: assign them to players
@game = mock_model(Game,
:name => ''The Battle for Blaze'',...
2007 Oct 05
13
spec''ing view render partial collection, local variable not found
...t;
/Volumes/EXTERNAL/web/omenking.ca/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/have_text.rb:12:in
`matches?''
./spec/views/games/_game.rhtml_spec.rb:39:
def before
game = mock_model(Game,
:name => ''The Battle for Blaze'',
:salt_grains => 5000000,
:people => 5000000,
:days => nil,
:created_at => "Mon Oct 01 00:02:44 -0400 2007",
:enabled => true)
game.should_receive(:name).and_return("The Battle for Blaze")
game.should_receive(:salt_grains).and_return(5000000)
game.should_r...
2008 Jun 08
1
fixme:comm:set_queue_size insize 5000000 outsize 5000000 uni
hello
when i try to run a windows program who need a serial port to run, i have this output error:
fixme:comm:set_queue_size insize 5000000 outsize 5000000 unimplemented stub
have anywhone a solution to solve this problem?
thanks
2010 Aug 05
3
Error: cannot allocate vector of size xxx Mb
I am dealing with very large data frames, artificially created with
the following code, that are combined using rbind.
a <- rnorm(5000000)
b <- rnorm(5000000)
c <- rnorm(5000000)
d <- rnorm(5000000)
first <- data.frame(one=a, two=b, three=c, four=d)
second <- data.frame(one=d, two=c, three=b, four=a)
rbind(first, second)
which results in the following error for each of the statements:
> a <- rnorm(5000000)
Erro...
2011 Dec 09
3
xen the i / O performance, network performance is only 20-30% of the real machine?
...mnt/test0.date bs = 100M count = 50
rm-rf / mnt/test0.date
echo "dd if = / dev / zero of = / mnt/test1.date bs = 10M count = 500"
dd if = / dev / zero of = / mnt/test1.date bs = 10M count = 500
rm-rf / mnt/test1.date
echo "dd if = / dev / zero of = / mnt/test2.date bs = 1024 count = 5000000"
dd if = / dev / zero of = / mnt/test2.date bs = 1024 count = 5000000
rm-rf / mnt/test2.date
# /
echo "/"
echo "dd if = / dev / zero of = / test0.date bs = 100M count = 50"
dd if = / dev / zero of = / test0.date bs = 100M count = 50
rm-rf / test0.date
echo "dd if = /...
2008 Jun 18
3
R perfomance question !!!
I ran the simple script bellow and received shoking results. It was complied
for about 15 seconds !!! on modern Intel Core Duo computer.
i=0;
while(i<5000000)
{
i=i+1;
}
Using Visual Basic I can complete the same script (simple loop of 5000000
itterations) in 0.1 sec.
Is it realy R not suitable for huge computing.
--
View this message in context: http://www.nabble.com/R-perfomance-question-%21%21%21-tp17984154p17984154.html
Sent from the R help ma...
2007 May 01
2
Simulation using parts of density function
Hi
My simulation with the followin R code works perfectly:
sim <- replicate(999, sum(exp(rgamma(rpois(1,2000), scale = 0.5, shape = 12))))
But now I do not want to have values in object "sim" exceeding 5'000'000, that means that I am just using the beginning of densitiy function gamma x < 15.4. Is there a possibility to modify my code in an easy way?
Thanks for any help!
2007 Dec 29
15
Do you think it would look cleaner?
I was looking over some of my specs.
I was thinking that the following:
@game.should_receive(:name).and_return(''The Battle for Blaze'')
@game.should_receive(:people).and_return(5000000)
@game.should_receive(:activated).and_return(true)
Would it look cleaner if I could do this instead?
@game.should_recieve_and_return(
:name => ''The Battle for Blaze''
:people => 5000000
:activated => true)
Opinions?
-------------- next part --------------
An HTML...
2011 Nov 22
2
ADS Domain Member smb.conf using idmap_ad
...= ad
password server = server1,server2,server3
realm = myDomain.com
security = ads
allow trusted domains = no
disable netbios = yes
# this doesn't seem to work for some reason
# i am trying to use idmap_ad
# idmap backend = ad
idmap backend = tdb
idmap uid = 1000-5000000
idmap gid = 1000-5000000
idmap config AD : default = yes
idmap config AD : cache time = 180
idmap config AD : backend = ad
# idmap config AD : range = 100001-200000
idmap config AD : schema_mode = rfc2307
template shell = /bin/bash
template homedir = /mnt/%D/home...
2013 Sep 29
9
DomU vs Dom0 performance.
...est=fileio --file-total-size=1G
--max-requests=1000000 prepare
4. Read files into memory
script to read files
<snip>
for i in `ls test_file.*`
do
sudo dd if=./$i of=/dev/zero
done
</snip>
5. Ran sysbench.
sysbench --num-threads=8 --test=fileio --file-total-size=1G
--max-requests=5000000 --file-test-mode=rndrd run
the output i got on dom0 is
<output>
Number of threads: 8
Extra file open flags: 0
128 files, 8Mb each
1Gb total file size
Block size 16Kb
Number of random requests for random IO: 5000000
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled,...
2008 Sep 26
2
imap-quota not working
...imap-quota plugin always returns empty quota:
a1 GETQUOTA ""
* QUOTA "" ()
a1 OK Getquota completed.
a2 GETQUOTAROOT INBOX
* QUOTAROOT "INBOX"
a2 OK Getquotaroot completed.
quota_rule and quota_rule2 for this user are defined in db as following:
'*:storage=5000000'
'*:messages=50000'
Quota for LDA is working OK.
I am using dovecot-1.1.3 with quotadict.
Here is my dovecot -n output:
# 1.1.3: /usr/local/dovecot/etc/dovecot.conf
base_dir: /var/run/dovecot/
syslog_facility: local7
protocols: pop3 imap
ssl_cert_file: /etc/postfix/host-cert.pem
ssl_...
2004 Sep 30
3
Is there any way to release memory in running time?
Hi all,
I am doing some intensive computation right now. My system is Pentium4 3.20G
+ 1.0G RAM + WindowsXP + R1.9.1. It seems my computer is very powerful.
However, when I do some simple matrix algebra operations based on a matrix
(DD) with dimension 5000000 by 2, I found that the consumption of RAM is
huge. For example, the command a <- 1 - DD[,2] eats my 100M RAM. Does anyone
know how to release memory in the middle of program (running time)? BTW, the
command rm() does not free memory unless you quit R as I as know. Thanks in
advance.
Rui
2012 Nov 01
1
Samba & Active Directory w/ Kerberos Trust
...help!
-Joseph
smb.conf:
[global]
log file = /var/log/samba/log.%m
log level = auth:3
max log size = 50
security = ads
netbios name = SERVERNAME
realm = AD.DOMAIN.EDU<http://ad.domain.edu/>
password server = dc.ad.domain.edu<http://dc.ad.domain.edu/>
workgroup = AD
idmap uid = 10000-5000000
idmap gid = 10000-5000000
winbind separator = +
winbind enum users = no
winbind enum groups = no
winbind use default domain = yes
obey pam restrictions = yes
2012 Oct 03
1
squid cache question
...d-grant
reply_body_max_size 0 allow sp-download-grant-dst
acl WorkingHours4 time D 09:00-18:00
acl WorkingHours1 time D 10:30-12:59
acl WorkingHours2 time D 15:00-18:30
acl WorkingHours3 time D 13:00-14:59
acl google dstdomain .video.google.com
acl youtube dstdomain .youtube.com
reply_body_max_size 500000000 allow WorkingHours1 google
reply_body_max_size 500000000 allow WorkingHours2 google
reply_body_max_size 500000000 allow WorkingHours3 google
reply_body_max_size 5000000 allow WorkingHours2 youtube
reply_body_max_size 5000000 allow WorkingHours1 youtube
reply_body_max_size 50000000 allow WorkingH...
2014 Oct 17
3
[LLVMdev] oprofile support?
...< 2) return 1;
return fib_left(i-1) + fib_right(i-2); }
int fib(int i) { if (i < 2) return 1;
return fib_left(i-1) + fib_right(i-2); }
int main() {
int i = 45; printf("fib(%d) == %d\n", i, fib(i)); }
$clang -g -S -emit-llvm -o loopy.ll loopy.c
$ operf -Vdebug -e CPU_CLK_UNHALTED:5000000 lli
-debug-only="oprofile-jit-event-listener" loopy.ll
Using samples dir /home/dad/oprofile_data/samples
Kernel profiling is not possible with current system config
Set /proc/sys/kernel/kptr_restrict to 0 to collect kernel samples.
Exec args are: lli -debug-only=oprofile-jit-event-listene...
2011 Apr 27
1
AD and samba secondary group problems
...printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
winbind enum groups = Yes
winbind refresh tickets = true
winbind nested groups = yes
winbind nss info = template rfc2307
; passdb backend = tdbsam
idmap uid = 1000000-5000000
idmap gid = 1000000-5000000
idmap config DOMAIN:default = yes
idmap config DOMAIN:range = 500-100000
idmap config DOMAIN:backend = ad
idmap config DOMAIN:schema_mode = rfc2307
include = /etc/samba/loglevel.%m
writeable = yes
msdfs root = y...
2000 May 22
1
Bus Error crash (PR#551)
...o.uio.no/~kjetikj/tmp/core>.
I had done a few simulations, and done a chisq.test() on them.
These simulations also write about 190MB's to file, but
I have no idea whether that is relevant, and those data are not
used. The calls I do look like this:
> ch1 <- chisq.test(t(apply(cbind(rep(5000000, 4)), 1, lineprofile, 1, 100,
"point")))
> ch1
Pearson's Chi-square test
data: t(apply(cbind(rep(5e+06, 4)), 1, lineprofile, 1, 100, "point"))
X-squared = 463.8359, df = 300, p-value = 3.726e-09
> ch1$observed
Process R bus error (core dumped) at Mon May 22 1...
2009 Apr 30
1
Samba + LDAP + IIS = massive memory usage
...e have tried Samba 3.0, 3.2 and 3.3 (various iterations) and have
experienced exactly the same problem.
Can anyone offer any insight. I would be most grateful.
Martin.
[global]
csc policy = disable
deadtime = 25
dead time = 25
admin users = root
max mux = 5000000
max open files = 5000000
workgroup = PWMDERBY
netbios name = GAR
enable privileges = yes
smb ports = 139 445
server string = Samba Server %v
security = user
encrypt passwords = Yes
obey pam restrictions = No
ldap passwd...
2014 Nov 29
2
[LLVMdev] oprofile support?
...ight(i-2); }
> int fib(int i) { if (i < 2) return 1;
> return fib_left(i-1) + fib_right(i-2); }
>
> int main() {
> int i = 45; printf("fib(%d) == %d\n", i, fib(i)); }
>
> $clang -g -S -emit-llvm -o loopy.ll loopy.c
>
> $ operf -Vdebug -e CPU_CLK_UNHALTED:5000000 lli
> -debug-only="oprofile-jit-event-listener" loopy.ll
> Using samples dir /home/dad/oprofile_data/samples
> Kernel profiling is not possible with current system config
> Set /proc/sys/kernel/kptr_restrict to 0 to collect kernel samples.
> Exec args are: lli -debug-only=o...
2015 Jun 16
3
WInbindd Home DIrectory and Shell
...mba.xxxxxxx.xx.xx
netbios name = DC03
server role = active directory domain controller
# Using bind_dlz
server services = -dns
idmap config SAMBA:backend = ad
idmap config SAMBA:schema_mode = rfc2307
idmap config SAMBA:range = 1000000-5000000
idmap config *:backend = tdb
idmap config *:range = 70001-80000
winbind nss info = rfc2307
idmap_ldb:use rfc2307 = yes
winbind trusted domains only = no
winbind use default domain = no
winbind enum users = yes
winbind enum...