similar to: What's wrong with this simple code???

Displaying 20 results from an estimated 100 matches similar to: "What's wrong with this simple code???"

2001 Dec 18
1
Newbie problems with R and compiled C
I'm a beginer programming C and I have the following problem: I have the following C-code file #include <stdlib.h> void gen(int *n, int *a, int *c, int *m, int *x0, int *x); main(){ int nn = 31; int aa = 3; int cc = 0; int mm = 31; int xx0 = 9; int xx[nn]; int i; gen(&nn,&aa,&cc,&mm,&xx0,xx); for (i = 0; i <= nn-1; i++) printf("%d
2013 Sep 21
2
LDA quota rejection
Hi to all, i have dovecot 2.2.5 and i have implemented lda rejection through quota full this is my dovecot conf protocol lda { mail_fsync = optimized auth_socket_path = /usr/local/var/run/dovecot/auth-userdb deliver_log_format = msgid=<%f>-<%s>-%m: %$ hostname = mail.cgilfe.it info_log_path = /var/log/dovecot/dovecot-deliver.log log_path =
2011 Apr 26
1
Public Apology to Minister Mentor Lee Kuan Yew and Prime Minister Lee Hsien Loong, Singapore
I was misconstrued as having insulted Minister Mentor Lee Kuan Yew. My words were twisted and misinterpreted and I feel that there is a need to explain myself and set the record straight. [b]What really happened[/b] It was sometime in Aug/Sep in the year 2009. The setting was in the Tampines Central office of Asiasoft Online Pte Ltd. I was having a ***verbal*** conversation with Melvin Lee,
2017 Apr 27
2
CentOS as Guest OS on Red Hat Virtualisation 4.x
Hi all, I have a banking customer asking if CentOS is compatible on RHV4.0 as a guest VM. Based on Red Hat?s knowledge base (see link below), CentOS not supported guest OS. However, VMware say on their official document, CentOS is a compatible guest OS (see link below). So, in my customer's mind, CentOS cannot be used as a guest OS in RHV cause it is not compatible, which I find it hard to
2011 May 25
1
External special functions (SPECIALSXP)
Is it possible to define an external special function (SPECIALSXP)? I'm trying to do some language-level work, and don't want my arguments evaluated before they hit C. It looks like the only way to define a SPECIALSXP is by using XX0 in the `eval' field of R_FunTab; is there any way to make this applicable to externally defined functions?
2009 Feb 27
1
[LLVMdev] Recommended pattern to use LLVM JIT in a multithreaded application
Since my last question was a bit long, I'll keep this short: What is the "best practice" way to use LLVM JIT in a multithreaded application? I've noticed there can only be one JIT ExecutionEngine present in the application, and putting the engine in a singleton instance doesn't seem to work. Thanks, Eric Yew -------------- next part -------------- An HTML attachment was
2002 Feb 28
1
rsyncd log in common log format?
I'm having trouble getting rsync to output the log into common log format. My web statistics program Webalizer (www.webalizer.org) wants the logs in Common Log Format (httpd.apache.org/docs/mod/mod_log_common.html). Briefly, that's a string host ident authuser date request status bytes subject to some conditions (for instance, the date is in square brackets). My rsyncd.conf file has
2011 Jul 28
2
Help with modFit of FME package
Dear R users, I'm trying to fit a set an ODE to an experimental time series. In the attachment you find the R code I wrote using modFit and modCost of FME package and the file of the time series. When I run summary(Fit) I obtain this error message, and the values of the parameters are equal to the initial guesses I gave to them. The problem is not due to the fact that I have only one
2011 Aug 04
1
use of modMCMC
Dear all, I used modFit of the package FME to fit a set of ODE to a ste of eperiemntal data. The summary of this fit give me the following error > summary(Fit) Residual standard error: 984.1 on 452 degrees of freedom Error in cov2cor(x$cov.unscaled) : 'V' is not a square numeric matrix In addition: Warning message: In summary.modFit(Fit) : Cannot estimate covariance; system is
2005 Oct 17
0
pdIdnot / logLik in glmmPQL
Dear R users, I have been using the pdMat class "pdIdnot" (from the mgcv package)instead of "pdIdent" to avoid overflow in GLMM fits with the MASS package function glmmPQL, of the following form: fit1 <- glmmPQL(fixed=y0~-1+xx0, random=list(gp=pdIdent(~-1+zz0)), family=binomial) # vulnerable to overflow fit2 <- glmmPQL(fixed=y0~-1+xx0,
2006 Jan 14
2
initialize expression in 'quasi' (PR#8486)
This is not so much a bug as an infelicity in the code that can easily be fixed. The initialize expression in the quasi family function is, (uniformly for all links and all variance functions): initialize <- expression({ n <- rep.int(1, nobs) mustart <- y + 0.1 * (y == 0) }) This is inappropriate (and often fails) for variance function "mu(1-mu)".
2006 Feb 02
0
Sip - no peer or user found on incoming call
Hi list, I try to connect to a GW which have one domain eg sip.mydomain.com and have few IPs related to this domain. I register * to this domain with host=sip.mydomain.com and type=user. So DNS will decide on which IP of my domain I will register (or redirection on the GW side). If an incoming call arrive, I would guess that, as type=user, it will not try to match the IP from INVITE as I
2005 Oct 04
3
Ruby/Rails users in Toronto area?
Just checking. I''m new in town, and somewhat new to Ruby on Rails. -- joshua
2002 Nov 19
0
Wine & Metastock
I've just recently converted my Windows pc to Mandrake Linux & I've got everything I need working except for this software - Equis Metastock. I've managed to install it. However, on execution, it dies with the following msg: "A CreateFont error occurred while loading the Symbols font: C:\Program Files\Equis\MetaStock\equis.ttf". On the wine console, the following msg
2005 Apr 26
0
password change failed, but actually worked
I'm setting up an NT domain style PDC on a Mandrake 9.2 system running Samba 2.28. I'm able to do everything I need to do except to change password on a NT box AND have it indicate that it did change. When I do an alt-ctrl-del and select change password, I get the following error. "The system cannot change your password now because the domain <domainname> is not
2004 Aug 06
1
Real-time JSpeex coding
Hi, Is real-time possible with the current java-based JSpeex for real-time full duplex voice communication? If yes, can you please also provide some details of the Wintel (Windows on Intel) specifications that you have used to achieve that, and perhaps the JSpeex encoding/decoding specs used? Thanks. Cheers, Jo Yew Everyone should have a big dream and live a meaningful life to its
2000 Feb 27
1
Safe and stable??
Have been running Samba 2.0.6 on a RH6.1 box kernel 2.2.14 for two months now. It is the PDC and storage for documents. It is running on a 10Mb/s local network with 4 Win98 machines. So far there have been no glitches - I have kept to the defaults (just about). I am now thinking of moving a 'mission critical' shared database (currently on one of the Win98 machines) onto the share on
2009 Feb 27
0
[LLVMdev] LLVM JIT in multi-threaded environments
Hi all, I have some questions on some strange behavior I'm seeing with LLVM JIT in a multithreaded application. If this is the wrong forum for questions like this, I apologize, and please redirect me. The setup of the application is a singleton instance of a static Compiler object, which maintains local copies of an LLVM Module, JIT ExecutionEngine, and FunctionPassManager with registered
2006 Nov 07
3
wine install mac os x (x86)
Hello, I have compiled and installed (almost) wine 0.9.24 within Mac OS X tiger 4.8 with X11 etc installed. The wine configure and compile steps complete without a warning/hitch etc. However, when I run wine <prog> I receive the following warning message -- Wine cannot find the FreeType font library. To enable Wine to use True Type fonts please install a version of FreeType greater
2012 Sep 06
2
[Advice] CentOS6 + KVM + bonding + bridging
With the current talk on bonding, I have a few questions of my own. I'm setting up a KVM host with CentOS 6.3 x86_64 on which I'd like to attach the VMs to a bonded interface. My target setup is one where two GigE NICs are bonded and then the KVM bridge interface is attached to the bonded interface. Initially I tried to use the balance-alb mode (mode6), but had little luck (receiving