Displaying 20 results from an estimated 800 matches similar to: "[LLVMdev] Pass Question"
2012 Jun 07
2
[LLVMdev] no differnce in the execution time between seq. and parallel programs
Duncan Sands <baldrick <at> free.fr> writes:
>
> > I would be happy if you give me an insight into what could have caused the
> > difference.
>
> No idea. Maybe you forgot to turn optimizations on when compiling? Otherwise
> you are going to have to send in your programs along with an explanation of how
> you compiled them exactly (exact sequence of
2007 Feb 28
4
how to make xenbus do .probe?
Hi,
Can anyone please tell me how to get ".probe" function in "struct
xenbus_driver" called?
I want to do one simple test of event channel communication between
peer modules of
domU and dom0.
I wrote one backend and one frontend driver (I tried registered as
misc/blk/input device) where I put in all my xenbus routines, but
cannot get .probe called after insmod my module, I
2010 Apr 23
3
Playback all the sound files
Hello.
There are so many sound files in /var/lib/asterisk/en. Is there an easy
way to let me play back all of them one by one while I am watching CLI
to see the current file name?
Thanks for help.
--
Jian Gao
IT Technician
SJ Geophysics Ltd. <http://www.sjgeophysics.com>
jian.gao at sjgeophysics.com <mailto:jian.gao at sjgeophysics.com>
Tel: (604)582-1100
2010 May 20
5
sort a data.frame
Hello,
I have a dataframe:
dd <- data.frame(b = c("chr2", "chr1", "chr15", "chr13"),
x = c("A", "D", "A", "C"), y = c(8, 3, 9, 9),
z = c(1, 1, 1, 2))
>dd
b x y z
1 chr2 A 8 1
2 chr1 D 3 1
3 chr15 A 9 1
4 chr13 C 9 2
Now I want to sort them according column "b", but only its
2009 May 09
7
does somebody use XCode on Mac for RoR instead of TextMate?
does somebody use XCode on Mac for RoR instead of TextMate? I wonder
how is it compared to TextMate... TextMate uses the default font of
Monaco... the Xcode screenshot on Wikipedia uses Courier... I wonder if
Xcode looks as good as TextMate when the font is changed to Monaco as
well? Thank you.
--
Posted via http://www.ruby-forum.com/.
2010 Dec 03
3
colname refered by a variable
Hello,
I tried to use a variable to refer colname, but I got error, could anyone give me advice?
>df=data.frame(cbind(AB=1:3,AC=3:5))
> df$AC
[1] 3 4 5
> df$paste("A","C",sep="")
Error: attempt to apply non-function
thanks
Jian
[[alternative HTML version deleted]]
2010 Jun 02
3
charactor matrix convert to numeric matrix
Hello R experts,
can you tell me a simple way to convert a charactor matrix to numeric matrix?
if I use as.numeric, the matrix is converted to a vector.
a<-cbind(c("23","54","65"),c("1","2","3"))
a
[,1] [,2]
[1,] "23" "1"
[2,] "54" "2"
[3,] "65" "3"
as.numeric(a)
2013 May 31
22
[PATCH 0/4] xen/arm: assemble support for Allwinner A31
These series patch enable Allwinner A31(code name sun6i) support in
assemble. with these patches, the cpu 0 of sun6i SOC could successful
boot into the c environment.
Bamvor Jian Zhang (4):
xen/arm: introduce Cortex-A7 support
xen/arm: introduce Allwinner sun6i SOC basic support
xen/arm: enable early printk for sun6i
xen/arm: enable switch to hyper mode for sun6i
xen/arch/arm/Rules.mk
2006 Oct 03
3
Linking R with Fortran 90: make: m2c: Command not found
Following the setup in Prof.Duncan Murdoch's page, I have successfully compiled the DLL for one Fortran 95 program using Gfortran and got 300 times speed boost. For the second set of fortran programs, However, I have this error message
R CMD SHLIB -o jiangang kdtree2.f90 jian.f90 gang.f90
m2c -o jian.o jian.mod
make: m2c: Command not found
make: *** [jian.o] Error 127
Can anyone
2009 May 09
41
updating the db 6000 times will take few minutes ?
i am writing a test program for ActiveRecord, and it reads a document
which is like 6000 words long. And then i just tally up the words by
recordWord = Word.find_by_s(word);
if (recordWord.nil?)
recordWord = Word.new
recordWord.s = word
end
if recordWord.count.nil?
recordWord.count = 1
else
recordWord.count += 1
end
recordWord.save
and so this
2010 May 17
1
SIP SRV Registration problem
Hello, all,
I have a Linksys 3102 from a VoIP provider. It use SRV record to
register to the provider's SIP server.
When I configure this line into my Asterisk, the register doesn't work
if I use their domain name.
So it like this:
If I use register => user:pwd at proxy.provider.com
then I got:
[2010-05-17 11:47:19] WARNING[2366] chan_sip.c: No such host:
proxy.provider.com
2007 Jun 22
3
How to run "mathematica" or "c" programs in R?
I have some programs which were writen in mathematica or c language, but I
donot know how to use these software. So I want to run them in R.
Can I do it ?
How to run "mathematica" or "c" programs in R?
Jian Zhang
[[alternative HTML version deleted]]
2019 Nov 05
3
RFC: [MC] Calculate difference of symbols in two consecutive MCDataFragments
Hello,
I've been trying to add support to the integrated assembler to handle cases
like below
foo:instr; .if . - foo; instr; .endif
when the dot symbol and foo are assigned to consecutive MCDataFragments
<https://github.com/ClangBuiltLinux/linux/issues/744>. I have a patch
<https://reviews.llvm.org/D6941> under review. And even though it seems to
solve the problem, the concern
2010 Jun 14
2
list matching
Hello,
I could not find a clear solution for the follow question. please allow me to ask. thanks
mynames=cbind(c('a','b'),c(11,22))
lst=list(a=c(1,2), b=5)
now I try to combine mynames and lst:
a 1 11
a 2 11
b 5 22
thanks
jian
[[alternative HTML version deleted]]
2002 Aug 12
3
--include option
HI,
I'm trying to have files to be included during rsync. I have the filesystem
/stor/circuit_design/, with the following subdirectories as its contents:
clock_speed
fub_layout
test_simulations
pattern_flow
I would only like to rsync the following 2 subdirectories to the destination
machine:
clock_speed
fub_layout
and they're contained in the file called files_included:
# cat
2010 Sep 22
3
merge verctor and matrix
hi,
can anyone tell me how to merge a vector and a matrix?
> v=c(1,4,2)
> names(v)=c("e","r","t")
> m=matrix(c("r","t","r","s","e",5,6,7,8,9),nr=5)
> colnames(m)=c("c1","c2")
I want to do like
merge(v, m, by.x="names",by.y="c1")
I got error
Error in fix.by(by.x, x) :
2011 Jan 12
2
plot: skip a range of axis
Hi,
I am using plot to show scatter points in 2_D.
in my data, there is no data between -1 and +1 in x-axis.
I want to skip this region, i.e. x axis becomes [-Inf:-1, 1:Inf].
can any one tell me how to do?
YU
[[alternative HTML version deleted]]
2006 Apr 22
4
how to draw a circle
how to draw a circle (e.g. radius=10cm) of one point?
And how to choose these points in the circle?
Thanks!
[[alternative HTML version deleted]]
2007 Nov 04
2
Xen Network Problems
Hi all:
I installed xen-3.0.4 on Fedora 7, and installed Fedora 6 as DomainU, but,
the network can not work normally. It only work for seconds, then I lose
connect. If I ifdown the NIC and ifup it, the network can work for a few
seconds, Can anybody help me figure what''s the problem ??
Thank you in advance
_______________________________________________
Xen-devel mailing list
2011 Feb 14
5
Hide the plain text password
Now in my asterisk config files, there are lines like:
secret=some_password_in_plain_text
Is it possible to hide these plain text password?
--
*Jian *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110214/7661ff8e/attachment.htm>