similar to: class and method

Displaying 20 results from an estimated 50000 matches similar to: "class and method"

2010 Nov 22
1
Plotting a cloud/fog of variable density in rgl
Hi everyone, I want to plot a 3D interpolation of the concentration of aquatic organisms. My goal would be to have the result represented as clouds with a density proportional to the abundance of organisms, so that I could fly (well, swim actually ;) ) through the scene and see the patches here and there. Basically, I want to do something like this: http://www.youtube.com/watch?v=27mo_Y-aU-c but
2006 Feb 25
1
Dynamic hash table size (with static has load)
Hi list, and Wayne in particular, It was almost a year since we had the discussion (with http://lists.samba.org/archive/rsync/2005-March/011875.html as it's conclusion) regarding chances for hash collisions and large files. As now we have someone asking about synching 5TB files, I decided to actually submit a patch. Attached is a patch that uses a non-predetermined hash table size, so that
2007 Jan 30
2
rbind-ing list
hi, i have a list of data.frame that has same structure. i would like to know a efficient way of rbind-ing it. right now, i write: n = length(temp) # 'temp' is a list of data.frames temp2 = data.frame() for (i in 1:n) temp2 = rbind( temp2, temp[[i]]) return(temp2) but this is not an efficient way since we keeping overwriting temp2. i wonder if there's faster way. thanks --
2008 Nov 20
1
How to convert S4 class slots into data.frame or how to assign variables of type 'Date'
Hi, I created a class (S4) with some slots like value, date, description (it's actually a financial transaction class). Now I need a method to convert this class forth and back into a single row data.frame, where every slots represents a column. This method looks at the moment like this: > setMethod("as.data.frame", "Transaction", function(x, row.names =
2009 Oct 15
1
best way to make 5-10 simultaneous calls to the same did at a set time of day
I need for asterisk to call me at a predetermined number once a day at a predetermined time and once connected to me make 5-10 simultanious calls to a DID filling all available channels. What is the best way to do this? Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091015/b97f2d1e/attachment.htm
2009 Jul 14
2
Fixing ogg vorbis corruption caused by bad metadata
Monty Montgomery wrote: > Yes. Without the first three packets (which hold all the codec > settings and all the instruction how to handle the subsequent packets) > the rest of the stream is gibberish. Vorbis can't even unpack the > bits without the codebooks packed into the third header. Curiosity man here. Is there a finite set of predetermined codebooks or is the codebook
2006 Sep 08
2
Extending [ method to S4 class and drop argument (PR#9211)
Full_Name: John Verzani Version: 2.4.0 alpha (2006-09-05 r39134) OS: linux, gentoo 2.6.17 Submission from: (NULL) (163.238.43.26) When extending the "[" method to a new S4 class, the default value for the drop argument is not being found. Here is a small example: setClass("test",representation(x="character"))
2015 May 02
3
[LLVMdev] libiomp, not libgomp as default library linked with -fopenmp
Jack, Could you, please, submit a bug report? -- including steps to reproduce (where you got imageMagick sources, how exactly you compiled them, etc) Andrey On Fri, May 1, 2015 at 3:56 PM, Jack Howarth <howarth.mailing.lists at gmail.com> wrote: > > > On Fri, May 1, 2015 at 4:45 AM, Andrey Bokhanko <andreybokhanko at gmail.com> > wrote: >> >> Chandler,
2013 Sep 23
1
Howto: Extremely tight security rsync shell for backups
We've been using rsync since forever to back up all our servers and it's worked without a problem. But in a recent security review, we noted that our specific rsync backup host is using root keys to access the server, meaning that if the keys on the backup server were leaked/compromised in any fashion, that would provide r00t access to the servers being backed up. Since this
2010 Dec 27
3
openssh and keystroke timing attacks (again)
Hi all, Over the past 10 years, there has been some discussion and several patches concerning keystroke timing being revealed by the timing of openssh packet network transmission. The issue is that keystroke timing is correlated with the plaintext, and openssh users expect their communications to be kept entirely secret. Despite some excellent ideas and patches, such as Jason Coit's
2007 Oct 27
1
Newton method iteration problem
Hi all, I am coding for finding the root of f(x)= phi(x) -alpha where phi(x) is the cumulative density function and alpha is constant . The problem right now is I can't get the "initialX" representing the root out of the while loop when ending , it seems to me it disappear when the loop ends accroding to the error message. I need help . Please suggest the cause or solution to this
2011 May 07
1
Tricky: Progress, Delay, DTMF / background calling
Hi, has the following been done before respectively is it possible with Asterisk? I searched the archives but couldn't locate anything. 1. Call to 5555 comes in via SIP. 2. Call is not answered yet but progress continues. 3. At the moment the call comes in something like this gets spawned in the background: Dial(SIP/123456 at provider,,D(ww${EXTEN}) which should translate to:
2005 Mar 07
2
DTMF to Email
I need some suggestions (not necessarily using Asterisk?) on how to accomplish the following in the easiest way possible. I would like to have a ~3 prompt VM system, that would ask for some numbers from a caller (case number, id and another id). It would then take their DTMF presses and format an email to a predetermined address (i.e. the email always goes to the same place). I don't really
2010 Feb 15
1
Non-monotonic spline using splinefun(method = "monoH.FC")
Hi, In my version of R, the stats package splinefun code for fitting a Fritsch and Carlson monotonic spline does not appear to guarantee a monotonic result. If two adjoining sections both have over/undershoot the way the resulting adjustment of alpha and beta is performed can give modified values which still do not satisfy the required constraints. I do not think this is due to finite precision
2008 Jan 10
6
4 dimensional graphics
Dear all I want to display 4 dimensional space by some suitable way. I searched CRAN and found miscellaneous 3 dim graphics packages which I maybe can modify but anyway I am open to any hint how to efficiently display data like: longitude, latitude, height, value Thank you Petr Pikal petr.pikal at precheza.cz
2008 Feb 06
1
ci.pd() (Epi) and Newcombe method
Greetings! I suspect that there is an error in the code for the function ci.pd() in the Epi package. This function is for computing confidence intervals for a difference of proportions between two independent groups of 0/1 responses, and implements the Newcombe ("Nc") method and the Agrasti-Caffo "AC" method. I think there is an error in the computation for the Newcombe
2006 Aug 31
1
alpha in Holt-Winters method
Hi, I'd like to know if the Holt-Winters function in R can modify the alpha paremeter in an "intelligent" way. I know it can vary from 0 to 1. Wich mathematical formula does it use to calculate the correct value of alpha? Thanks, bye. Carlo
2007 Sep 03
1
Ask alpha cronbach and Hoyt method
Dear all, i need help about comparing 2 alpha cronbach. How to derive W statistic. Are alpha cronbach and Hoyt's method using ANOVA identical? Thank you for your help. Regards --------------------------------- Luggage? GPS? Comic books? [[alternative HTML version deleted]]
2007 Apr 17
2
creating a function
Dear R-experts, This should be a simple question, but I couldn't find a way yet. I would like to create a function that accepts a vector, creates a data.frame whose colname is that vector. For example, I want a function temp.func() such that: >name = c( "mike", "john", "steve") >result = temp.func(name) > result name 1 mike 2 john 3
2007 May 01
5
[OT] Inject XML into page and tranform with XSL
Hi, Is it possible to recieve an xml repsonse from my rails app, and then, client side, inject the xml into the page without reloading and have it apply an xslt? Like an AJAX call, but ajax is unavailable to me. My very limited understanding suggests that xslt is only done at run time in safari at least. If I can''t get thsi to work the other option I''ve thought of is to use