similar to: Best way to perform lengthy operations?

Displaying 20 results from an estimated 20000 matches similar to: "Best way to perform lengthy operations?"

2008 Jun 06
0
Startup speed for a lengthy script
Colleagues, Several days ago, I wrote to the list about a lengthy delay in startup of a a script. I will start with a brief summary of that email. I have a 10,000 line script of which the final 3000 lines constitute a function. The script contains time-markers (cat(date()) to that I can determine how fast it was read. When I invoke the script from the OS ("R --slave <
2016 Apr 15
0
R stops responding/communicating in for loop (lengthy description of issue)
Yeah, this is a bit lengthy, but it's a vexing problem. First, I'm working on learning R, mainly by using it and coming more from a programming aspect (I have the books and have gone through them, but learn best by doing). I have multiple projects going where R is almost necessary. I learned C a few years ago, but am very rusty with it (and other languages back in the 70s). I also
2007 Aug 29
0
a faster and shorter way to perform calculations?
This is a continuation from a previous posting of mine: The following algorithm below is what I want to accomplish: Z(xk) = Average(Yi, i belongs to Ik), where Ik contains all i such that for each j, |Xi,j - xkj?? 2. Here, j = 1, 2 and i corresponds to the elements in each X and/or xk >data x1 x2 y 1 1 2 2 2 6 3 3 12 Now, consider a second data frame or matrix (xk):
2013 Mar 01
0
Extracting coefficients of covariates in a LME-model
Hi all, I have created a linear mixed-effects model using lmer. My dependent variable is comp.score and my main independent variable is delay.type, a repeated-measures within-subject variable (2 levels: Synch and Asynch, order counter-balanced across participants). I had a series of covariates that were included in the initial model and used a step-wise process to produce the most parsimonious
2008 Jun 02
1
Lengthy delay in sourcing a large function
Colleagues, I have a script that contains ~ 10,000 lines of code. Most of it is written as small functions. However, for various reasons, the final function is ~1500 lines of code. I realize that this may not be optimal but the code evolved that way and breaking it into smaller pieces is complicated because of the passing of arguments. I have "cat(date())" statements at
2011 Jun 14
0
[LLVMdev] Is LLVM expressive enough to represent asynchronous exceptions?
On Jun 14, 2011, at 10:27 AM, Duncan Sands wrote: > Hi Chris, I've CC'd Eric Botcazou in the hope that he will clear up just what > the Ada front-end needs from the rest of the compiler as far as asynchronous > exceptions are concerned. > >>> gcc Ada turns signals into exceptions. As far as I know it does this >>> completely asynchronously, and the fact
1999 Apr 22
0
Samba and NIS+ (lengthy desperate plea)
Hi everyone, Let me briefly describe my setup. I work at a small university and we are setting up 3 labs. 2 are filled with Ultra Sparc 5's, and the 3rd will be filled with PCs running NT4 workstation. We have an Enterprise Server 3500 running NIS+ to authenticate the Unix labs (or rather we will, once I get it working), and I'd like to set up Samba to authenticate the NT labs using
2009 Dec 29
2
My previous post (lengthy, lots of tarace output)
Ping? -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) What does "it" mean in the sentence "What time is it?"?
2006 May 24
10
Ferret slow after a while
I''m building a new index from scratch based on a number of documents stored in a database loaded using my Rails env (using Ruby Ferret 0.9x (installed today with Gem) on Windows). At first everything goes nice but after a number of documents it starts to go slower and slower until it grinds to a halt (at least feels like it). Am I doing something wrong? Is there some way to work
2006 Jan 09
3
Chopped files when downloading from database
I have some files stored in db. When I try to download these I only get 65535 bytes from the database even if the file is a lot bigger. Is it a Rails setting I''ve missed or a database setting? Anything else? Using Rails 1.0, WinXP and MySQL4.1 /Marcus
2006 Dec 08
22
ZFS Usage in Warehousing (lengthy intro)
Dear all, we''re currently looking forward to restructure our hardware environment for our datawarehousing product/suite/solution/whatever. We''re currently running the database side on various SF V440''s attached via dual FC to our SAN backend (EMC DMX3) with UFS. The storage system is (obviously in a SAN) shared between many systems. Performance is mediocre in terms
2006 Mar 01
4
STI, subclasses and callbacks
I have a STI class tree. I want to set some default values (calculated values so I can''t set it in the database as defaults) on every created instance regardless of what subclass is actually instantiated. So I figured adding a after_create callback in the top class in the hierarchy should do the trick. It seems it doesn''t get called :( Code: class SuperClass <
2011 Mar 25
0
Some notes on using QMP to hot plug disks
I was hoping that we could use QMP (now semi-stable since qemu 0.14) to hot plug disks. Unfortunately this is not yet possible. There is no drive_add QMP command which would be necessary for adding drives. We (Red Hat) hacked in a drive_add command into RHEL 6 (only for use by libvirt). This doesn't help us with upstream or Fedora. We could still use the human monitor, but obviously this
2018 Feb 01
1
Best practices in developing package: From a single file
On Thu, Feb 1, 2018 at 1:29 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 31/01/2018 6:59 AM, Duncan Murdoch wrote: > >> On 30/01/2018 11:39 PM, Hadley Wickham wrote: >> > [ lots deleted ] > >> Personally, I don't find writing in comments any harder than writing >>> in .Rd files, especially now that you can write in markdown and
2019 Jun 06
1
[libnbd PATCH] tls: Check for pending bytes in gnutls buffers
Checking for poll(POLLIN) only wakes us up when the server sends more bytes over the wire. But the way gnutls is implemented, it reads as many non-blocking bytes as possible from the wire before then parsing where the encoded message boundaries lie within those bytes. As a result, we may already have the server's next reply in memory without needing to block on the server sending yet more
2009 Oct 22
2
Way to go, CentOS team. Here's a hearty "thank you"!
Hello all, To the CentOS developers, beta testers, and all who were involved in a small or major way in the release of CentOS 5.4...thank you. Ignoring the peer pressure, even though it was out a little later than you (and many of us) wanted, you got it RIGHT. *That* is what was important. I yum updated from 5.3 to 5.4 with NO issues that I can speak of right now. Thanks to you fine folks,
2011 Jun 14
3
[LLVMdev] Is LLVM expressive enough to represent asynchronous exceptions?
Hi Chris, I've CC'd Eric Botcazou in the hope that he will clear up just what the Ada front-end needs from the rest of the compiler as far as asynchronous exceptions are concerned. >> gcc Ada turns signals into exceptions. As far as I know it does this >> completely asynchronously, and the fact that LLVM doesn't support this >> is rather bad as far as Ada is
2020 May 28
3
Easy way to create missing bind-dns/named.conf and BIND9_DLZ libs?
On 28/05/2020 05:14, Don Kuenz via samba wrote: > > Greetings, > > bind914-9.14.6 and bind-tools-9.14.6 were built and installed on a new > FreeBSD 12.1 samba DC. Then a prebuilt samba410-4.10.13 package was > installed. Both bind-dns/named.conf and BIND9_DLZ libs are missing. Is this using the ZFS filesystem ? If so, how ? What do you mean by 'a prebuilt
2007 Jan 26
1
Disk I/O with OpenSSH
I was wondering if the disk I/O in OpenSSH is synchronous or asynchronous. If its not asynchronous is there any reason why doing at least asynch writes would be a bad idea? I'm just wondering if I'm over looking some obvious problem. Thanks for the clue Chris
2011 Jun 13
0
[LLVMdev] Is LLVM expressive enough to represent asynchronous exceptions?
On Jun 13, 2011, at 2:23 PM, Andrew Trick wrote: >> There is really no alternative to putting EH edges on basic blocks if you're going to support preemptive asynchronous exceptions — some random multiply that gets hoisted out of a loop has to change exception handlers just in case that's where the PC lands during a signal. There isn't much point in complaining that doing so