Displaying 20 results from an estimated 7000 matches similar to: "Calling C code from R...wrapping C structures"
2006 Feb 09
5
Ajax.Updater not populating element - please help
Hello everyone,
This is related to my post a few days ago regarding multi select
lists. I''ve rewritten the code and now can''t seem to get the
Ajax.Updater in getModels() to "execute", and the element never gets
populated.
I know it''s something obvious and hope someone could point it out to me.
Thanks for any help.
Here''s my code:
<script
2006 Feb 13
1
Not able to see length in another function
Hello everyone,
I have the following code that builds <option> into a <select>.
buildModel() is called first, then setModel().
For some reason, I can''t get the length of the "model" options in
setModel(), but can after they are built in buildModel();
function buildModel(originalRequest, json) {
var model = $(''model'');
//might need to
2006 Feb 07
1
Help needed with conflicting EventObserver
Hello everyone,
I have a page that populates/updates make, model and year select lists
via Ajax.Updater and I think that an EventObserver is causing a
conflict.
Here''s what I''m trying to do. I''m using this page as a create and
edit page for a car database. If I''m calling the page in edit mode,
I''ll want the make, model and year set (using the
2008 May 15
1
bin/40278: mktime returns -1 for certain dates/timezones when it should normalize
With the testcode I put on
http://www.stack.nl/~marcolz/FreeBSD/pr-bin-40278/40278.c I can
reproduce it on FreeBSD 4.11:
output on 4.11-STABLE
------
Init: mktime: 1014944400 Fri Mar 1 02:00:00 CET 2002
1: mktime: 4294967295 Fri Apr 0 02:00:00 CET 2002
Init: mktime: 1014944400 Fri Mar 1 02:00:00 CET 2002
2a: mktime: 1017622800 Mon Apr 1 03:00:00 CEST 2002
2b: mktime: 1017536400 Sun Mar 31
2013 Jul 19
1
[LLVMdev] LLVM 3.3 JIT code speed
Hi,
| And since the 1) DSL ==> C/C++ ===> clang/gcc -03 ===> exec code chain
has the "correct" speed, there is no reason the JIT based one should be
slower right?
| So I still guess something is wrong in the way we use the JIT and/or some
LTO issue possibly?
When you say "slower" wrt 3.1 on LLVM and the same speed for clang, could
you put some rough time numbers
2009 Feb 04
0
Two issues with ggplot2 - grid.gedit doesn't work from source file & grid.gedit effects are not preserved
Code for this post is shown below.
Two issues:
(1) grid.gedit doesn't work from source file
Reproduce - copy the code shown below into an R source file, and of course save off in the appropriate location. Then copy the the first line "source("C:/TestCode.R")" into R and run. Notice that you get the following error:Error in editDLfromGPath(gPath, specs, strict, grep,
2007 Jun 23
1
regarding testcode in xenstore
Hi
I am tring to build the testcode for xenstored
# cd xen-3.1-src/tools/xenstore/
# make testcode
but it generating error due to conflict of function in fake_libxc with libxc.
Error:
gcc -Werror -Wp,-MD,.fake_libxc.o.d -I../../tools/libxc -I. -DTESTING -c -o fake_libxc.o fake_libxc.c
fake_libxc.c:41: error: conflicting types for ‘xc_evtchn_notify’
../../tools/libxc/xenctrl.h:692: error:
2007 Jun 23
1
regarding testcode in xenstore
Hi
I am tring to build the testcode for xenstored
# cd xen-3.1-src/tools/xenstore/
# make testcode
but it generating error due to conflict of function in fake_libxc with libxc.
Error:
gcc -Werror -Wp,-MD,.fake_libxc.o.d -I../../tools/libxc -I. -DTESTING -c -o fake_libxc.o fake_libxc.c
fake_libxc.c:41: error: conflicting types for ‘xc_evtchn_notify’
../../tools/libxc/xenctrl.h:692: error:
2019 May 22
1
weakforced: Possible to access the ip address of report/allow?
Hi Neil
thanks for the hint with the dovecot config, adding this and I can see that
> ... attrs={local_ip="XX.XX.XX.XX"} ...
is now logged by wforce daemon. Then I tried to access that value from
wforce with the following testcode
> if (#lt.attrs > 0)
> then
> return 7, "ip_local", "ip_local", { test=test }
> end
but even if attrs are set
2008 Jul 04
2
experinental revision of the 'snow' package
A new version of the 'snow' package for parallel computing in R is
available at
http://www.stat.uiowa.edu/~luke/R/cluster/snow_0.3-3.tar.gz
This substantially revises the way in which worker processes are
started to allow snow to be used on Windows and Mac/Windows/Linux
combinations. I have successfully used the SOCK version on a
standalone Windows machine and combinations of
2007 Jun 18
2
as branch progress report
Since there seem to be quite some people hacking on the as branch, I'd
like to give some report about its progress. So if you encounter
regressions after a git pull, you know where to look (or who to ask).
For everyone not aware of this, the as branch will become 0.5.0 at
some point. I should probably merge it into HEAD soon and start
releasing it, but I'm still unsure about this, because
2006 Oct 17
0
[PATCH] Fixes for linking on Solaris
# HG changeset patch
# User john.levon@sun.com
# Date 1161090130 25200
# Node ID afeef751f9dafa771726bcfb00b29a10b0baeabd
# Parent 7147e57f18552bbb8d25155cc1c635315283ee31
On Solaris, GCC is configured to use Sun''s LD. Fix the build to use the correct
flags, and link against libsocket where necessary.
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/config/Linux.mk
2012 Nov 20
6
zvol wrapped in a vmdk by Virtual Box and double writes?
Hi folks, (Long time no post...)
Only starting to get into this one, so apologies if I''m light on detail,
but...
I have a shiny SSD I''m using to help make some VirtualBox stuff I''m
doing go fast.
I have a 240GB Intel 520 series jobbie. Nice.
I chopped into a few slices - p0 (partition table), p1 128GB, p2 60gb.
As part of my work, I have used it both as a RAW
2013 Jul 19
0
[LLVMdev] LLVM 3.3 JIT code speed
Le 18 juil. 2013 à 23:51, Stéphane Letz <letz at grame.fr> a écrit :
>
> Le 18 juil. 2013 à 21:05, "Kaylor, Andrew" <andrew.kaylor at intel.com> a écrit :
>
>> I understand you to mean that you have isolated the actual execution time as your point of comparison, as opposed to including runtime loading and so on. Is this correct?
>
> We are testing
2005 Aug 26
1
Problematic issue with the x11_create_display_inet method in channel.c
Hi,
I am currently implementing X11 forwarding for our Java SSH2 library
(http://www.ganymed.ethz.ch/ssh2), and encountered a problem with the
automatic display number selection
in the x11_create_display_inet() method in channel.c.
With my testcode I am able to get the OpenSSH daemon in a state where a
following client connection, e.g., an OpenSSH client, is sometimes not
able to properly use
2008 Aug 23
7
Bridge Networking stops working at random times
Supermicro X7DWN+, XEON 5410, Centos 5.2, Xen 3.2.1
At what looks like random times network traffic over xen bridge stops
working, the only way I found to fix it is a reboot. This sometimes takes
10 min, other times it may be up for 10 days. This happened with default
xen that comes with RedHat EL 5.2 as well as a default install of Fedora
8.
Any ideas?
><>
Nathan Stratton
2009 Jul 18
1
GlusterFS & XenServer Baremetal
Hello,
What is for you the best GlusterFS scenario in using XenServer (i'm not
talking about Xen on a linux but XenServer baremetal) for a web farm
(Apache-Tomcat) ? I were thinking of using ZFS as the filesystem for the
different nodes.
The objectives/needs :
* A storage cluster with the capacity equal to at least 1 node(assuming all
nodes are the same).
* being able to lose/take down any
2007 Nov 19
5
Stories and Pending Actions
I can''t get my plain text stories to show pending actions like the
example addition plain text story. Any tips? (See below)
http://pastie.caboo.se/119627
Nathan Sutton
fowlduck at gmail.com
rspec edge revision 2910
rspec_on_rails edge revision 2909
rails edge revision 8167
2008 Jan 10
21
Shoulda
Hey, we''re currently using shoulda (http://dev.thoughtbot.com/
shoulda/) on a project and I saw some things that would be really nice
to see in rspec, namely the should_ methods, and especially the
should_be_restful method. Do these go against the rspec goals at
all? Or could an ambitious programmer go to town implementing these
for rspec_on_rails?
Nathan Sutton
fowlduck at
2003 May 28
6
VOIP phone suppliers in the UK?
Hi All,
Can anyone recommend a supplier and/or a particular a model of
SIP voip phones in the UK? I don't seem to be having much luck
locating any.
Thanks,
Nathan.