Displaying 20 results from an estimated 10000 matches similar to: "Incorrect version of ActiveRecord"
2004 Aug 25
2
asterisk & chan_sccp
ive got asterisk running with chan_sccp and three cisco phones (2 7910's and 1
7960). lots of bugs. when i press the speed dial button on either 7910,
asterisk dies. also, if i dial from the 7910 to 7910, everything works fine.
i can dial from or to the 7960 once, and then one of the 10's and the 60 die
and try to reregister.
if i take the 7960 out of the mix and remove its
2006 May 05
1
Help with ActiveRecord
Model:
class AdminQueue < ActiveRecord::Base
set_table_name ''adminqueue''
end
Interacting with it in script/console
>> AdminQueue.new
=> #<AdminQueue:0x240a910 @attributes={"topic_id"=>nil,
"resolved"=>nil, "updated_on"=>nil, "action"=>nil, "type"=>nil,
"post_id"=>nil,
2017 Mar 10
2
lldb-mi functionality
Is there any documentation on what machine interface (mi) commands are
implemented in lldb-mi, and how compatible those commands are with
gdb's mi?
I'm asking for this project: https://github.com/cs01/gdbgui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170310/667d44df/attachment.html>
2006 Jul 06
0
Can''t generate AR from script (ActiveRecord::ConnectionNotEstablished)
Generating ActiveRecord instances from the console works fine.
./script/console
Loading development environment.
>> Pim.new()
=> #<Pim:0xb74427dc @attributes={"vpimitem"=>nil}, @new_record=true>
>>
But running this little script:
#!/usr/bin/env ruby
require File.dirname(__FILE__) + ''/../config/boot''
Pim.new()
Will spit out
2006 Jun 27
3
Weird ActiveRecord Foreign Key Problem
Hello to all,
I ran into a weird problem with an ActivRecord. I have a table named
"build_order" with a column named "type" that is a foreign key to a
table called "building_type". In a controller I try to read all the
build_orders with "BuildOrder.find :all" and get the following error and
stack trace:
(eval):1:in `instance_eval'': compile
2006 Jul 07
1
Pessimistic Locking Plugin Breaks ActiveRecord::Base.count()
After installing the PessimisticLocking plugin I noticed that
ActiveRecord''s count method no longer works (see below). If I remove
the plugin it resolves the problem.
I need both. Any ideas?
I have also read that Pessimistic Locking is now baked into ActiveRecord
in Edge Rails. I have tried Rails 1.1.2 and 1.1.4 and that doesn''t seem
to be the case. Any idea when
2010 May 05
5
[Pv-ops][PATCH 0/4 v4] Netback multiple threads support
This is netback multithread support patchset version 4.
Main Changes from v3:
1. Patchset is against xen/next tree.
2. Merge group and idx into netif->mapping.
3. Use vmalloc to allocate netbk structures.
Main Changes from v2:
1. Merge "group" and "idx" into "netif->mapping", therefore
page_ext is not used now.
2. Put netbk_add_netif() and netbk_remove_netif()
2009 Jan 27
1
Data Frame Manipulation: Time Series
Dear R Helpers:
I have a data set where the unit of observation is country-year. I would like to generate a new data set based on some inclusionary (exclusionary) criteria. Here is an example of the type of data that I have.
df<-data.frame(cbind("country"=c(rep("Angola", 9), rep("Burundi", 7), rep("Chad", 13)), "year"=c(1975:1983, 1989:1995,
2013 Dec 04
8
Asterisk on Windows
Digium is 100% lost in the map. If they would come up with a Paid
version of Asterisk, one that would use the .NET framework in Windows,
something simple to install, they could go public on the product.
Linux has a very steep learning curve. A Windows application that
would do exactly the same would be a home run. Note: I am a Linux
expert user, but it took me years to get here. And still, moving
2007 Oct 04
16
Spec/Test Speed
Just wanted to pick some smart people about this topic: What are you
guys doing to increase the speed of your specs?
I''m a big fan of autotest, but right now my current project has 438
specs (for rails). Most of them are in the model, and for all of
them we are hitting the database (they are more functional specs than
unit-tests). The whole suite takes 112 seconds (meaning the
2010 Jul 30
5
When should LVM be used?
In my old computer I have a much bigger hard drive then in this one --
and I plan to hand that old computer down to one of my sons -- keeping
his current drive from an even older computer. Currently the hard
drive on my old computer has SuSE Linux, but that will go. I'll
rebuild CentOS 5.5 on it, but I want to leave some free space for
whatever comes up and also dual-boot Vector Linux. Which,
2020 Jun 15
3
Hiding SSH Host Banner Doesnt work
Im trying to hide the ability to show my host details from OpenSSH on
GNU/Linux Debian using this method:
Add the following line to /etc/ssh/sshd_config
DebianBanner no
And restart your SSH daemon: /etc/init.d/ssh restart or service ssh restart
This doent change anything.
Another question why user cant hide SSH info as well? why it needs to be
publicly visible? (I read that only recompiling
2012 Jun 07
3
[LLVMdev] How to use LLVM optimizations with clang
Thanks alot Chad for quick response. Does this means that, we can not
use LLVM optimizations except O1, O2, O3, O4 and unroll-loops with
clang?
One more thing I would like to know that If I want to process multiple
modules with opt at the same time like
opt -adce *.bc
then how is it possible with opt in one go, if I process all the
bytecode files within Makefile.
Thanks.
Shahzad
On Thu, Jun
2008 Dec 02
18
How to dig deeper
In order to get more information on IO performance problems I created the script below:
#!/usr/sbin/dtrace -s
#pragma D option flowindent
syscall::*write*:entry
/pid == $1 && guard++ == 0/
{
self -> ts = timestamp;
self->traceme = 1;
printf("fd: %d", arg0);
}
fbt:::
/self->traceme/
{
/* elapsd =timestamp - self -> ts;
printf("
2012 Jun 08
2
[LLVMdev] How to use LLVM optimizations with clang
Hi Shahzad,
> Is it possible that we can use LLVM optimization beside O1, O2, O3
> along with dragonegg plugin?
sure, try this:
gcc -fplugin=path/dragonegg.so ...other_options_here... -S -o -
-fplugin-arg-dragonegg-emit-ir -fplugin-arg-dragonegg-llvm-ir-optimize=0 | opt
-pass1 -pass2 ...
Here -fplugin-arg-dragonegg-emit-ir tells it to output LLVM IR rather than
target assembler.
2006 Jul 03
2
Agile Web Dev on Rails - ActiveRecord::RecordNotFound Prob
Hi there
I''ve also made a start on the Agile Web Dev using Rails book! I''ve been
hit with a problem when hitting the ''Add to Cart'' button - I get the
following error message:
ActiveRecord::RecordNotFound in StoreController#add_to_cart
Couldn''t find Product without an ID
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full
2012 Jun 08
2
[LLVMdev] How to use LLVM optimizations with clang
Hi Shahzad,
> I tried your method and it works fine. What would be the next step to
> produce the final executable? I have tried the following but it is
> producing an error
>
> $ gcc -fplugin=/path/to/dragonegg.so -S *.c
> -fplugin-arg-dragonegg-emit-ir | opt -adce
this won't work because you aren't passing the IR to opt (you need -o - for
that if using a pipe) and you
2017 Aug 29
3
Job openings as a virtual machine backend engineer - Qualcomm (Raleigh, NC)
Will do, Chris! Again, my apologizes.
On 2017-08-29 01:18, Chris Lattner wrote:
> HI Chad,
>
> As John points out, job postings to this list are okay if and only if
> they are somehow related to LLVM. We understand that mistakes happen,
> but please keep in mind for the future. Thanks!
>
> -Chris
>
>> On Aug 26, 2017, at 9:39 AM, Chad Rosier via llvm-dev
2008 Jun 10
7
[Trivia question] What engine is it on DTrace T-shirt ?
Hi,
This is not a DTrace technical question (so, please don''t flame me for
it) :)
This is regarding the DTrace (un)conference TShirt.
I am curious to know what engine is it. Could not figure it out.
Thanks and regards,
Sanjeev.
--
Solaris Revenue Products Engineering,
India Engineering Center,
Sun Microsystems India Pvt Ltd.
Tel: x27521 +91 80 669 27521
2017 Aug 26
2
Job openings as a virtual machine backend engineer - Qualcomm (Raleigh, NC)
Hi John,
I was posting the position on behalf of another team within my group,
DCG. The scope of the work is fairly broad and is closely related to
the type of work we do with LLVM, but I don't believe the potential
candidate will work directly on LLVM (at least that's not the immediate
plan). I apologize if I've somehow misused the mailing list; that was
certainly not my