Displaying 20 results from an estimated 1000 matches similar to: "List directory names in a dropdown control?"
2004 Nov 07
2
Flag file management techniques using rsync
G'day,
I am just getting into rsync and have been very impressed with performance
and reliability. There is one thing I haven't worked out how to do yet and
I haven't found much with several Google sessions or by way of consulting
the examples.
I am looking for a way to check for (or duplicate) single flag files to and
from a remote host (without any dummy spit errors when it is not
2009 Jan 10
2
Problem with compiling shared C/C++ library for loading into R (Linux)
I am using the .Call interface to call c++ code from R. For that, I am
trying to create a dynamic library (mylib.so)
using "R CMD SHLIB" by linking my own c++ code and an external c++
library (blitz++).
The makefile works fine on my Mac, produces mylib.so and I am able to
call .Call() from R, but on a linux
server (I think Debian), I got the following error:
----------
/usr/bin/ld:
2009 Jan 10
2
Problem with compiling shared C/C++ library for loading into R (Linux)
I am using the .Call interface to call c++ code from R. For that, I am
trying to create a dynamic library (mylib.so)
using "R CMD SHLIB" by linking my own c++ code and an external c++
library (blitz++).
The makefile works fine on my Mac, produces mylib.so and I am able to
call .Call() from R, but on a linux
server (I think Debian), I got the following error:
----------
/usr/bin/ld:
2010 Apr 27
1
[LLVMdev] llvm-2.7: --with-udis86 failure
Debug build on x86_64 with`--with-udis86=<path>' option to 'configure' seems broken.
Configure command line:
./configure --disable-optimized --enable-assertions --enable-debug-runtime --enable-debug-symbols --enable-jit --enable-pic --enable-targets=x86_64 --with-udis86=/somepath/udis86/udis86-1.7
At least 2 issues:
(1) '-L/somepath/udis86/udis86-1.7' is added to the
2010 Aug 11
3
Using command line --file or -f
*What I want to do:
*Create a windows shortcut that will start the R gui **and**
simultaneously source a file
*What I have already tried:
*This almost works, but it's not the interactive R GUI:
R --no-save --sdi -file="C:\SomePath\example.R"
These open the R GUI, but doesn't recognize -f --f --file -file
RGUI --no-save --sdi -file="C:\SomePath\example.R"
2016 Feb 08
3
strace clang refers files from lib/tls/x86_64 multiple times
Greetings!
Sample program:
int main(int argc, char **argv)
{
int myLocal=0xAA;
return 0;
}
Command: clang t.c -o a.o -c
With above simple program we are observing that clang is stat-ing and trying to open various files from lib/tls location. Eventually all calls to "lib/tls" leads to ENOENT (No such file or directory)!
<sample_strace>
2009 Oct 15
1
[LLVMdev] [Fwd: Re: strace for whole-program bitcodes]
>>> someone suggested me to use gold-plugin, I know nothing about it yet, I
>will
>>> have a try later. Does anyone have a good solution for this problem?
>>
>> Afaik gold does not help here. I tried it and managed to only generate
>> native code.
>
>"Just" gold isn't quite good enough, because at the last final link
>steps gold will
2002 Sep 17
1
Using rsync for two-waz-synchronisation
Hello,
is there any way to use rsync for two-way-syncronisation? I want to use
it to keep the data on two hosts consistent. Sometimes one of this hosts
(sometimes the first, sometimes the second) changes its location.
If the two hosts are at the same location I want automatically rsync them.
The data only changes at one hosts but it is not defined on which host
it changes.
For example:
I have
2013 Nov 25
4
question about file {} type
My class reads like:
class name1::name2 ($gidvariable) {
file { "somepath-to-file":
ensure => file,
mode => ''0640'',
gid => $gidvariable,
}
}
The problem is that the file isn''t getting set to the $gidvariable''s value
which is a string "abc".
The other things work (presence as file, mode).
Stuart
--
You
2015 May 03
3
Samba 4 fileserver perfomance
Here my samba conf file:
[global]
??? workgroup = MYGROUP
?? ?server string = Samba Server Version %v
?
??? interfaces = lo eth0 x.x.x.x/x #my ip and mask
?? ?hosts allow = 127. 10.0.
??? log file = /var/log/samba/log.%m
?? ?max log size = 50
# ----------------------- Standalone Server Options ------------------------
?? ?security = user
?? ?passdb backend = tdbsam
#
2004 Apr 15
1
FLAC, ogg and iRiver
I've seen in this discussion:
http://www.xiph.org/archives/vorbis/200304/0000.html
that not only is it possible for the iRiver iMP-350 to play Ogg, it can also
play FLAC - I didn't know this, and two question arrise:
* It is possible to get the iRiver H120/140 to play FLAC (I know the Rio Karma can)
* People sometimes say things like "Ogg is not tuned well for high bit rates"
2006 Jul 26
4
Dropdown with concatenated columns.
What is the best way to create a drop down where the viewable text in a
concatenation of 2 or more columns?
For instance, I hane a lookup table with these columns.
Model FOO
columns: id , name, phone
In my drop select tag, I''d like the user to see:
"name1 phone1"
"name2 phone2"
etc..
I know I can do this using find_by_sql . ..
But, isn''t there a more
2011 Jan 05
2
[LLVMdev] include/Config/config.h discrepancies between CMake and autofoo builds
2011/1/5 Óscar Fuentes <ofv at wanadoo.es>:
> Ruben Van Boxem <vanboxem.ruben at gmail.com> writes:
>
>> And this is why I don't understand configure checks for windows... There's
>> only one/two header/library sets... The Windows SDK and MinGW. This info
>> should be built in IMHO...
>
> Although the panorama is not so diverse as the Unix world,
2006 Jul 07
2
Ajax "Waiting..." flash while round-tripping
I''m trying to figure out how to best allow a user to click a
link_to_remote (or something like it) that will make the clicked thing
disappear and replace it with a "Saving..." or "Please wait..." image
until the server round-trip is complete. Once complete, it needs to
replace the HTML in that span or div with text from the server.
I imagine it will involve
2006 Sep 03
1
Returning different values with stubs
Right now I''m working on adding tests to a method that looks like this:
def get_via_redirect(path, args={})
get path, args
follow_redirect! while redirect?
status
end
So, I want to confirm that get is called and that status is returned
but I also want to see that when the value of redirect? effects how
many times follow_redirect is called. Is there
2009 Aug 05
1
inheriting C symbols
The package coxme depends heavily on bdsmatrix, to the point of needing
access to some of its C calls. The kinship package (in progress) uses
the R level functions in bdsmatrix, but not the C calls. That is, I
don't want to always export the symbols.
For testing I can use an explicit dyn.load('somepath/bsdmatrix.so',
local=F). How do I incorporate such a dependency in the
2004 Mar 27
1
building a list in loop
Hello
getdata <- function(p){
fname <- NULL; dl <- list()#build the sturcture
builddl <- function(q,s){
fname <<- c(fname,s) #where "s" is a string
dl <<- list( dl, dt2)
}
list(names = fname, data = dl)
}
data <- getdata("c:\somepath")
> data
$names
[1] "fname"
$data
$data[[1]] <--- since there is no [[1]] how can I
stop
2017 Mar 10
6
File/dir user permissions on Samba fileserver in DC
Hi, aLL
Using Samba-4.3.5 as a AD-member - fileserver. It's running in OpenVZ
container (ProxMox VE). Domain is also build on Samba-4.3.5 (another
VM). Fileserver's VM is mounted with acl, user_xattr options, Samba
compiled with ACL support.
There're domain users, for example, "usr1", "usr2". They're in domain
group "dg1".
There's a filepath
2006 May 16
9
Array in database?
Hello, I wanted to know how to make an aray in the database. I''m making
a "backpack" for my game. So i''m gana use it in a array.
--
Posted via http://www.ruby-forum.com/.
2020 Jul 17
3
[PATCH] RFC: ACPI / OSI: remove workarounds for hybrid graphics laptops
It's hard to figure out what systems are actually affected and right now I
don't see a good way of removing those...
But I'd like to see thos getting removed and drivers fixed instead (which
happened at least for nouveau).
And as mentioned before, I prefer people working on fixing issues instead
of spending time to add firmware level workarounds which are hard to know
to which