Displaying 20 results from an estimated 3000 matches similar to: "trying to pick up a little speed..."
2012 Jun 27
2
Select Helper Array of Array + Filter
Noob alert!
Hi, I am having trouble figuring out how to filter a select helper. The
following shows all of the rows in the table but I would like to filter
the collection from the list_name column (:list_name => "Project
Status"):
@project_status = Valuelist.all.collect {|s| [s.list_value,s.id]}
Thanks in advance, James
--
Posted via http://www.ruby-forum.com/.
--
You received
2006 Jun 19
9
index columns in postgres
I am in a holding pattern while client decides upon changes and so I am
working some things out internally so it seems to me that indexing
frequently searched table fields might be useful.
I am using postgres and via postgres, I have added an index to one of my
tables whose index is the same name as the column name. The ''find''
screen I am using this to judge populates a number
2006 Jul 02
1
trouble with anchors
I am having trouble both setting and connecting to rails pages and
anchors.
using a collection, I am trying to set the anchors like this...
<a href="in_outs/list#name=<%= user_list_facility.list_value %>">\
<%= user_list_facility.list_value %></a>
which does sort of work...the resulting source html is:
<a href="name=15th Ave">15th Ave</a>
2006 May 17
5
select list
I''m trying to build a selection list which I have done in various ways
but this one is new to me.
I have a ''facilities'' table which has all the outpatient facilities but
I need to add ''Float'' and ''Main Office'' which I don''t want to add to the
''facilities'' table itself.
so I figure I can add these to an
2020 Jul 16
2
BitcodeReader.cpp bug under LTO
Hi guys,
We have found a bug of BitcodeReader.cpp in processing an LTO bitcode file. As LLVM doesn't emit use-list for LTO bitcode files, many forward references will happen when BitcodeReader processes the bitcode file, and LLVM uses placeholders for those forward references and resolve them later.
When parseConstants() reads in a CST_CODE_CE_SELECT record, e.g.
select
2006 May 09
1
[LLVMdev] Memory leaks in LLVM
Hi,
Probably some of the leaks Valgrind reports are spurious, but the numbers
seem to be significant enough to demand some attention:
==10132== LEAK SUMMARY:
==10132== definitely lost: 15,624 bytes in 558 blocks.
==10132== indirectly lost: 44,548 bytes in 1,591 blocks.
==10132== possibly lost: 37,576 bytes in 98 blocks.
==10132== still reachable: 1,336,876 bytes in 1,364 blocks.
2006 May 12
2
[LLVMdev] Instruction->mayReadFromMemory
Hi
I am currently trying to schedule instructions with my own algorithm. For that
i need to get the data dependency between the instructions. So currently i am
dooing s.t. like:
for(BasicBlock::iterator j=B.begin(),bbe=B.end();j!=bbe;++j) {
InstructionList.push_back(j);
if (const AllocaInst *AI = dyn_cast<AllocaInst>(j)) {
2011 May 14
1
odfWeave 0.7.17 stutters on Debian testing 64-bit amd64 systems.
Dear list,
This is a copy of a mail sent to Max Kuhn, original author and
maintainer of the odfWeave package, which seems not to have received it.
It reports a problem that seems to be very implementation specific
(reproductible on three Debian testing amd64 machine, does *not* happen
on two i686 Debian testing systems, does *not* happen on an Ubuntu 11.06
amd64 machine) and therefore not
2020 Jul 20
2
BitcodeReader.cpp bug under LTO
Hi Eli,
Thanks for the advice! By delaying processing the "select" until we have resolved other records(like "aggregate " in this case) as you did for "shuffle", the test case passes now. But I wonder if it's an ultimate solution: what if the selector of a "select" is the output of another forward-reference "select" that hasn't been
2007 Feb 22
0
[LLVMdev] opt -verify
On Wed, 21 Feb 2007, Ryan M. Lefever wrote:
> I am writing an interprocedural compiler pass. Because the passneeds
> information from a FunctionPass, e.g., the post-dominance frontier
> (PDF), and because a ModulePass is not permitted to require a
> FunctionPass, I am forced to make my pass a FunctionPass and do majority
> of its work in the doFinalization() method.
ok
> When
2007 Feb 22
2
[LLVMdev] opt -verify
I am writing an interprocedural compiler pass. Because the passneeds
information from a FunctionPass, e.g., the post-dominance frontier
(PDF), and because a ModulePass is not permitted to require a
FunctionPass, I am forced to make my pass a FunctionPass and do majority
of its work in the doFinalization() method.
When I run "opt -mypass -verify -o code2.bc code1.bc" I get no
2007 Feb 23
0
[LLVMdev] bytecode reader assertion failure
Ryan,
This looks like a bug. Could you file it, please?
Reid.
On Thu, 2007-02-22 at 19:47 -0600, Ryan M. Lefever wrote:
> I have a compiler transform that I have been working on that produces
> bytecode that passes the verifier. However, when I try to read that
> bytecode back in, I get the assertion failure below.
>
> llvm::BytecodeReader::ParseConstantPoolValue(unsigned
2009 Jul 06
1
odfWeave: odt-file damaged
Dear all,
I am doing my first steps with odfWeave.
After running the r code (see below), I am trying to open the ODF-document
with open office, but I am getting the error message:
"The file is damaged, but it can be repaired". If I confirm the question and
repair the file with open office, I can open it with the desired output,
which seems to be fine.
My system:
R Version 2.9.1
2009 Nov 01
0
Internal error in 'ls' for pathological environments (PR#14036)
On Sun, Nov 1, 2009 at 6:02 AM, Peter Dalgaard <p.dalgaard at biostat.ku.dk> w=
rote:
> macrakis at alum.mit.edu wrote:
>>
>> nchar(with(list(2),ls())) gives an internal error. This is of course
>> a peculiar call (no names in the list), but the error is not caught
>> cleanly.
>>
>> It is not clear from the documentation whether with(list(2)...) is
2000 Apr 27
0
Question of the day for SAMBA GURUS!
Hi,
I have a question that I haven't been able to answer from the docs. I
wondered if someone out there has tried to do what I would like to
attempt.
On our server, we have mapped a share called wrkgrps to drive G: Users
then have various directories under drive G: which correspond with their
department, i.e. accounts, personnel, etc. Each of these directories
has a share which I have
2007 Feb 23
2
[LLVMdev] bytecode reader assertion failure
I have a compiler transform that I have been working on that produces
bytecode that passes the verifier. However, when I try to read that
bytecode back in, I get the assertion failure below.
llvm::BytecodeReader::ParseConstantPoolValue(unsigned int):
Assertion `(!isa<Constant>(Result) ||
!cast<Constant>(Result)->isNullValue()) || !hasImplicitNull(TypeID) &&
2007 Feb 23
1
[LLVMdev] bytecode reader assertion failure
I am still diagnosing the cause of the assertion failure and will submit
a bug when I better understand the problem.
Reid Spencer wrote:
> Ryan,
>
> This looks like a bug. Could you file it, please?
>
> Reid.
>
> On Thu, 2007-02-22 at 19:47 -0600, Ryan M. Lefever wrote:
>
>>I have a compiler transform that I have been working on that produces
>>bytecode
2011 Aug 12
1
odfWeave repeats output
Hello all-
I'm having a problem with odfWeave. I'm still testing it out, and have
used both of these code chunks, which I copied off a blog:
Number 1:
A sample document last processed
\Sexpr{Sys.time()}.
This simply illustrates the output from an
R command inserted into our document.
This is using \Sexpr{version$version.string}.
Number 2:
<<Sample1>>=
summary(iris)
@
2006 May 30
0
Single table lookups
I''m struggling with a single table type (self) lookup.
my ''personnel'' model has a supervisor_id and is_supervisor column.
The supervisor''s select list is created by
@supv = Personnel.find(:all,
:conditions => ["is_supervisor = true"],
:order => ''last_name'')
in my personnel model, I have the following...
def
2012 Aug 08
1
Creating ToDo List App
Hi,
New Rails user here trying to create a basic todolist app in rails 3.2.6
and running into some foreign key issues. Here''s what I did...
I generated scaffolds
list title:string & task description:text listname:string
Next, in order to link the listname for Tasks and the list titles in the
Lists I generated a migration file which looks like this
class AddListIdToTasks <