similar to: efficient code. how to reduce running time?

Displaying 20 results from an estimated 80 matches similar to: "efficient code. how to reduce running time?"

2002 Apr 01
1
fft fails for lengths 392, 588, 968, 980 .... (PR#1429)
R 1.4.1, Linux and Windows for(i in 1:1000) { X <- rnorm(i) XX <- fft(fft(X), inverse=T)/i if(max(Mod(XX-X)) > 1e-10) print(i) } [1] 392 [1] 588 [1] 968 [1] 980 and I then get a segfault during gc(). The answers are way off, with imaginary parts 1e10 or more. These numbers are all multiples of 7^2 or 11^2. (Based on a report to R-help Date: Thu, 28 Mar 2002 09:37:34
2005 Dec 06
3
reading in data with variable length
I have very large csv files (up to 1GB each of ASCII text). I'd like to be able to read them directly in to R. The problem I am having is with the variable length of the data in each record. Here's a (simplified) example: $ cat foo.csv Name,Start Month,Data Foo,10,-0.5615,2.3065,0.1589,-0.3649,1.5955
1999 Apr 22
1
mvfft (PR#176)
This message is in MIME format --_=XFMail.1.3.p0.Linux:990422185944:4782=_ Content-Type: text/plain; charset=us-ascii R-0.64.0 on RedHat Linux 5.1 Some problems with multivariate fast fourier transform. I have attached the dump of a 30 x 3 matrix that seems to reliably reproduce these problems 1) mvfft doesn't like vectors. It complains about not having enough memory: R>
2011 Dec 14
18
[PATCH 0 of 3] Support for VM generation ID save/restore and migrate
This patch series adds support for preservation of the VM generation ID buffer address in xenstore across save/restore and migrate, and also code to increment the value in all cases except for migration. The first patch modifies creation of the hvmloader key in xenstore and adds creation of a new read/write hvmloader/generation-id-addr key. The second patch changes hvmloader to use the new key (as
2011 Dec 14
9
[PATCH 0 of 2] Support for VM generation ID save/restore and migrate
This patch series adds support for preservation of the VM generation ID buffer address in xenstore across save/restore and migrate, and also code to increment the value in all cases except for migration. The vast majority of the code is in second patch. The first patch merely changes the xenstore key name used by hvmloader to store the buffer address.
2016 Feb 10
2
AD + Bind DLZ + Site
My answer below. 2016-02-10 15:38 GMT+01:00 Rowland penny <rpenny at samba.org>: > On 10/02/16 14:07, mathias dufresne wrote: > >> >> >> 2016-02-10 14:37 GMT+01:00 Rowland penny <rpenny at samba.org <mailto: >> rpenny at samba.org>>: >> >> >> On 10/02/16 11:12, mathias dufresne wrote: >> >> Hi all, >>
2016 Feb 10
2
AD + Bind DLZ + Site
2016-02-10 16:54 GMT+01:00 Rowland penny <rpenny at samba.org>: > On 10/02/16 15:36, mathias dufresne wrote: > >> My answer below. >> >> 2016-02-10 15:38 GMT+01:00 Rowland penny <rpenny at samba.org <mailto: >> rpenny at samba.org>>: >> >> On 10/02/16 14:07, mathias dufresne wrote: >> >> >> >>
2016 Feb 10
0
AD + Bind DLZ + Site
On 10/02/16 15:36, mathias dufresne wrote: > My answer below. > > 2016-02-10 15:38 GMT+01:00 Rowland penny <rpenny at samba.org > <mailto:rpenny at samba.org>>: > > On 10/02/16 14:07, mathias dufresne wrote: > > > > 2016-02-10 14:37 GMT+01:00 Rowland penny <rpenny at samba.org > <mailto:rpenny at samba.org>
2016 Feb 10
2
AD + Bind DLZ + Site
2016-02-10 14:37 GMT+01:00 Rowland penny <rpenny at samba.org>: > On 10/02/16 11:12, mathias dufresne wrote: > >> Hi all, >> >> Using 4.3.4 + Bind DLZ @ Centos 7. >> >> Regarding AD sites, I have several questions: >> >> 1° Is it possible with Samba4 to rename Default-First-Site-Name? >> > > Depends on what you mean, if you mean
2016 Feb 10
0
AD + Bind DLZ + Site
On 10/02/16 16:27, mathias dufresne wrote: > > > 2016-02-10 16:54 GMT+01:00 Rowland penny <rpenny at samba.org > <mailto:rpenny at samba.org>>: > > On 10/02/16 15:36, mathias dufresne wrote: > > My answer below. > > 2016-02-10 15:38 GMT+01:00 Rowland penny <rpenny at samba.org > <mailto:rpenny at samba.org>
2010 Sep 11
4
Can't install plugins on rails 3.0
Just upgraded one of my apps to Rails 3.0 and I cannot install plugins. I either get "Plugin not found", or an empty folder. When I run rails plugin --verbose install http://github.com/jslag/us-state-select-plugin.git I get this response: Plugins will be installed using http git init git pull --depth 1 http://github.com/jslag/us-state-select-plugin.git But all I get is an empty
2016 Feb 10
0
AD + Bind DLZ + Site
On 10/02/16 14:07, mathias dufresne wrote: > > > 2016-02-10 14:37 GMT+01:00 Rowland penny <rpenny at samba.org > <mailto:rpenny at samba.org>>: > > On 10/02/16 11:12, mathias dufresne wrote: > > Hi all, > > Using 4.3.4 + Bind DLZ @ Centos 7. > > Regarding AD sites, I have several questions: > > 1° Is it
2008 Oct 07
4
Moving from one dns domain to another
My Rails 2.1 app is changing DNS domains. For example: From: www.oldcompany.com To: www.newcompany.com The app uses Apache2, mongrel_cluster, MySQL. I would like the existing users who visit www.oldcompany.com URLs to be: 1. Notified via an HTML page that the site has changed from oldcompany to new company and then redirect them to newcompany. This has to be done on the same server which gets
2016 Feb 26
4
[PATCH 1/5] fat: fix minfatsize for large FAT32
Hi Ady, Your insightful post prompted me to to a little bit more digging as to how the Ridgecrop algorithm computed its FAT size, with the result of my investigations presented below. NB: For those who don't want to go through this whole part, there's a TL;DR near the end. For reference, the computation of the FAT size all done in the GetFATSizeSectors(), the code of which is at [1]
2011 Nov 29
18
[PATCH 0 of 6] Add support for a VM generation ID virtual device (v2)
The following is a revised patch series to add support for a VM generation ID virtual device for HVM guests. The basic requirements of this device are as follows: - It must be exposed somewhere in ACPI namespace with a _CID of "VM_Gen_Counter". - It must also include a _DDN of "VM_Gen_Counter". - It must contain a _HID object but no particular value is required. - It must
2016 Feb 25
3
[PATCH 1/5] fat: fix minfatsize for large FAT32
Hi Ady, On 2016.02.25 02:08, Ady via Syslinux wrote: > There is an "extra" sector, in comparison to... what exactly? Sorry if I wasn't clear. I think I implied that the Large FAT32 fat size had an extra sector compared to minfatsize, when of course I meant the opposite (the Large FAT32 has one less sector than the minfatsize computed by the unpatched code, hence the check
2006 Jul 22
1
Effect.Appear prevents links from working in firefox
Hi all, I tried registering this as a bug on the scriptaculous site, but it appears that their bug tracker isn''t working. Just thought I''d post this problem + solution in case any other poor sap like me comes across the problem. Problem: Effect.Appear prevents links from working in firefox when link is in floated div that is underneath a div in the page that the function
2014 Aug 12
1
Joining Second DC error -- NT_STATUS_CONNECTION_RESET
Hey, Im trying to join a second domain controller to domain. I'm using the following command o join: *samba-tool domain join example.com DC -UAdministrator --password=xxxxxx --realm=example.com --server=dc1.example.com --site=NEWSITE --dns-backend=BIND9_DLZ --debuglevel=5* Iptables and SELinux are turned off in both machines. This is the debug I get... (...) Replicated 18 objects (0
2016 Feb 26
0
[PATCH 1/5] fat: fix minfatsize for large FAT32
In the following text, I am about to use terms such as "inaccurate". I don't mean to question what some code does, but rather to compare the expressions against what I think is a more accurate one, in theory. I mean no disrespect, and I am not saying that developers are doing the wrong thing. In addition, of course I could be wrong (or type in incorrectly, or some formatting
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking