Displaying 20 results from an estimated 100 matches similar to: "subsetting a matrix"
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/.
2006 Jul 26
1
List directory names in a dropdown control?
I''ve been trying to find the "right" way to do this and I''m now appealing to
the Rails masses. :)
I want to list all the directory names in a specific location and have just
the directory names appear in a dropdown control for the user.
The Dir.entries("somepath") includes the "." and ".." folders plus all files
and folders.
The
2019 Jan 12
2
Solr -> Xapian ?
THank you
Now, for the results
I see the member of fts_result is :
ARRAY_TYPE(seq_range) definite_uids;
I have the UID as a aray of uint32_t *
How to put my UIDs into this "definite_uids" ? Obviously this is not a
simple array/pointer. How to say someting similar to
result->definite_uids[1]=my_uid ?
On 2019-01-12 10:25, Timo Sirainen wrote:
> On 11 Jan 2019, at 21.23,
2019 Jan 12
2
Solr -> Xapian ?
I somehow fixed the folder issue. (seems some unix rights after too many
tests)
Getting back on the "fts_results" structure:
I am trying:
I_ARRAY_INIT(&(RESULT->DEFINITE_UIDS),R->SIZE);
I_ARRAY_INIT(&(RESULT->MAYBE_UIDS),0);
uint32_t uid;
for(i=0;i<r->size;i++)
{
try
{
2007 Jul 02
3
Both archs version rpm are installed during update?
During last update packets pidgin and libpurple were updated while "yum
update"-ing
Is it a common and normal thing that both x86_64 and i386 arch rpms are
installed during update? This not the first time.
--
Cheers,
Alexx mailto:alexx187 at gmail.com
2010 Mar 27
2
need help
Firstly my gateway 217.20.xxx.1
My ip adress 188.72.xxx.189
Sub net 255.255.255.0 this settings works on fedora 12 perfect but on
centos ubuntu freebsd or fedora core it is not working but on all this
systems i am able to use nat, i have installed linux again and again
thousands of time the given result from centos 5.4
Also as you could see there is no gateway of me on the route table
2006 Jan 11
1
Selfmade ... Samba 3.0.20a on CentOS 4.0 x64
Hi all,
has somebody already tried to compile the rpm of the newest samba
package on a 64-bit CentOS. I tried to do it with the Fedora spec file
and it quit with an error, that some files are not located in the lib64
directory. These required files are located in the lib directory. Any
sugesstion how this problem could be fixed in a clean way? How
is this problem solved during the CentOS
2007 Sep 21
1
Weird data from evalJSON
I am trying to have prototype perform a request and return to me a
javascript object representing the json string returned by the
request. I want to iterate over the contents to print each object in
the json string. The value of transport.reponseText in onSuccess is
what I would expect. But once I try to perform evalJSON() on this
text it gives me a bunch of extra function()s when i try to
2009 Sep 28
1
axis label using expression()
Probably a very simple problem:
I want to annotate a plot axis with a name of my data using
expression().
The name for the data is $\hat P4_k$ written in LaTex style -> hat
symbol above P, followed by a 4 and a subscripted k index
I tried to write this using
x<-c(1,2,3,4)
y<-c(3,5,7,9)
plot(x,y,xlab=expression(hat(P4[k])) )
but cant find a way to force the hat
2011 Aug 03
0
[LLVMdev] scalar evolution to determine access functions in arays
On 08/03/2011 08:35 AM, Jimborean Alexandra wrote:
> Hello Tobi,
>
> You are right, we need to run some other passes before running the
> scalar evolution pass. The sequence that I run for this example is -O3
> -loop-simplify -reg2mem. This is why I did not obtain the expressions
> depending on the loop indices. So I removed the reg2mem pass and scalar
> evolution computes the
2011 Aug 03
0
[LLVMdev] scalar evolution to determine access functions in arays
On 08/03/2011 10:22 AM, Jimborean Alexandra wrote:
> Only because in my next passes I change the CFG significantly and it is
> very hard to maintain the values of the Phi nodes.
OK. In Polly we developed a pass called, 'independent-blocks-pass'. It
basically creates basic blocks, that can easily be rescheduled without
stopping the scalar evolution analysis to work. Maybe something
2011 Aug 03
2
[LLVMdev] scalar evolution to determine access functions in arays
Only because in my next passes I change the CFG significantly and it is very hard to maintain the values of the Phi nodes.
Alexandra
________________________________
From: Tobias Grosser <tobias at grosser.es>
To: Jimborean Alexandra <xinfinity_a at yahoo.com>
Cc: "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>; "luismastrangelo at gmail.com"
2015 Sep 18
2
I want to connect to a l2tp server from centos.
Hey John,
I do not require encryption at all, it's a secure and internal channel
but it requires me to connect via either pptp or l2tp.
This is the reason I am asking.
I had the chance of finding the SoftEther Project which gives a lot in
terms of VPN Client and Server.
At:
http://www.softether-download.com/en.aspx
But yet to try it.
Also they have all sorts of beta versions but not
2011 Aug 03
0
[LLVMdev] scalar evolution to determine access functions in arays
On 07/27/2011 03:11 PM, Jimborean Alexandra wrote:
> Hello,
>
> How can I compute the functions on the loop iterators used as array
> indices?
>
> For example:
>
> for i = 0, N
> for j = 0, M
> A[2*i + j - 10] = ...
>
> Can I obtain that this instruction A[2*i + j - 10]= .. always accesses
> memory using a function f(i,j) = 2*i + j - 10 + base_address_of_A
2011 Aug 03
2
[LLVMdev] scalar evolution to determine access functions in arays
Hello Tobi,
You are right, we need to run some other passes before running the scalar evolution pass. The sequence that I run for this example is -O3 -loop-simplify -reg2mem. This is why I did not obtain the expressions depending on the loop indices. So I removed the reg2mem pass and scalar evolution computes the correct functions.
However, I need to run the reg2mem pass (or any other that
2011 Jul 27
3
[LLVMdev] scalar evolution to determine access functions in arays
Hello,
How can I compute the functions on the loop iterators used as array indices?
For example:
for i = 0, N
for j = 0, M
A[2*i + j - 10] = ...
Can I obtain that this instruction A[2*i + j - 10]= .. always accesses memory using a function f(i,j) = 2*i + j - 10 + base_address_of_A
If I run the scalar evolution pass on this code I obtain:
%arrayidx =
2009 Mar 11
1
Image Overlay demo not working.
HYPERLINK
"http://mapstraction.com/demo-overlay.php"http://mapstraction.com/demo-overl
ay.php
is not working. Did something change with Google Maps that makes this not
work?
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.557 / Virus Database: 270.11.10/1995 - Release Date: 3/11/2009
8:28 AM
-------------- next part --------------
An HTML attachment was
2015 Sep 18
0
I want to connect to a l2tp server from centos.
OK So i took the time and finally built a RPM for the softether vpn
server and client.
I have not tested them for usage but I found out that only the server
side can work with multiple protocols while the client side works only
with one protocol.
The actual protocol is called "ethernet overl HTTPS".
More info on the product:
http://www.softether.org/
The gui is only for windows as
2019 Jan 11
4
Solr -> Xapian ?
The below patch resolves the compilation error
$ DIFF -P COMPAT.H COMPAT.H.JOAN
*** compat.h 2019-01-11 20:21:00.726625427 +0100
--- compat.h.joan 2019-01-11 20:14:41.729109919 +0100
*************** struct iovec;
*** 202,207 ****
--- 202,211 ----
ssize_t i_my_writev(int fd, const struct iovec *iov, int iov_len);
#endif
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+
#if
2006 Jan 25
0
Another crack at age calculations
I cobbled this together based on a few previous posts and some tinkering,
nothing fancy (my first bit of Ruby infact) but it seams to work for my
purposes.
My questions is actually why can I call <%= h(child.age(child.dob)) %> in a view
but not <%= h(child.age_year_month(child.dob)) %>? Both work fine in the
console.
Thanks for any insight,
Hugh
child.rb
class Child < Person