Displaying 20 results from an estimated 100000 matches similar to: "column_for_attribute method"
2006 Jan 30
1
how to get column_for_attribute?
Hi all,
In the code below I don''t understand:
1. Why I have to prepend overriden method content_columns with "self."
to get it working?
2. Why column_for_attribute method is not working (no such method?) even
if SomeTable is subclass of ActiveRecord::Base which have public
column_for_attribute method?
> class SomeTable < ActiveRecord::Base
>
> def
2006 Mar 25
4
the textilize method
I saw the guy in the 15 min blog video calling a method called textilize
however when i call it rails says it cant find this method. Is this
somehting extra i have to install to ruby... like a gem or somehting
--
Posted via http://www.ruby-forum.com/.
2013 Aug 22
2
[LLVMdev] Crash in CreateShl() method
Hi All,
AllocaInst * AI = builder.CreateAlloca(type, 0, BBName);
StoreInst* ST= builderTF.CreateStore(ConstantInt::get(type,1),AI);
Value * Vresult = (Value*)ST;
Vresult = builderWait.CreateShl(Vresult, 1);
I need to make one bit shift left to the variable stored in the second step
I've got crash in this step
opt: /home/xx/llvm2/llvm/include/llvm/Support/Casting.h:237: typename
2013 Jun 10
0
[LLVMdev] CFG of a function
Hi Rasha,
First, you should not erase that cloned function XD the idea is that your
pass should create that new function, add it to a module (that could be the
same one where the original function is, or another one that you could be
creating if that is the case), and then just let it be: the pass manager
should identify this new function (after your pass returned) and all the
other analysis and
2017 Dec 29
1
Exact purpose of network.ping-timeout
Hi,
I know that "glusterbot" text about ping-timeout almost by heart by now ;-) I have searched the complete IRC logs and Mailing list from the last 4 or 5 years for anything related to ping-timeout.
The problem with "can be a very expensive operation" is that this is extremely vague. It would be helpful to put some numbers behind it. Of course I also understand that any
2013 Aug 15
0
[LLVMdev] BranchInst comparison
How could BranchInst be used to insert new branch between two basic blocks
to get result like this example:
br label %if.else
br label %if.then
br i1 %cmp1, label %if.then, label %if.else
Thanks for your help
On 14 August 2013 21:36, Eli Friedman <eli.friedman at gmail.com> wrote:
> Your question isn't clear; please restate what specifically isn't working.
>
> -Eli
2017 Aug 27
0
regex - optional part isn't considered in replacement with gsub
Omar:
I don't think this can work. For example number-letter patterns 4),
5), and 6) would all be matched by pattern 6).
As Jeff indicated, you need to provide the delimiters -- what
characters come before and after the SKU patterns -- to be able to
recognize them. In a quick look at the text file you attached, the
delimiters appeared to be either "-" or " " (blank) and
2018 Jan 10
1
Exact purpose of network.ping-timeout
----- Original Message -----
> From: "Raghavendra Gowdappa" <rgowdapp at redhat.com>
> To: "Omar Kohl" <omar.kohl at iternity.com>
> Cc: gluster-users at gluster.org
> Sent: Wednesday, January 10, 2018 10:56:21 AM
> Subject: Re: [Gluster-users] Exact purpose of network.ping-timeout
>
> Sorry about the delayed response. Had to dig into the
2017 Dec 29
0
Exact purpose of network.ping-timeout
The reason for the long (42 second) ping-timeout is because re-establishing fd's and locks can be a very expensive operation. With an average MTBF of 45000 hours for a server, even just a replica 2 would result in a 42 second MTTR every 2.6 years, or 6 nines of uptime.
On December 27, 2017 3:17:01 AM PST, Omar Kohl <omar.kohl at iternity.com> wrote:
>Hi,
>
>> If you set it
2013 Aug 14
0
[LLVMdev] BranchInst comparison
or like this
%cmp4 = icmp eq i32 %rem, 0
br i1 %cmp4, label %if.then5, label %if.else7
On 14 August 2013 20:08, Rasha Omar <rasha.sala7 at gmail.com> wrote:
> Hi All,
>
> How could I use BranchInst to implement for example
> br label %if.else7
> br label %if.then5
> br i1 %cmp4, label %if.then5, label %if.else7
>
> I can use BranchInst for only one
2013 Aug 14
3
[LLVMdev] BranchInst comparison
Your question isn't clear; please restate what specifically isn't working.
-Eli
On Wed, Aug 14, 2013 at 11:57 AM, Rasha Omar <rasha.sala7 at gmail.com> wrote:
> or like this
>
> %cmp4 = icmp eq i32 %rem, 0
>
> br i1 %cmp4, label %if.then5, label %if.else7
>
>
> On 14 August 2013 20:08, Rasha Omar <rasha.sala7 at gmail.com> wrote:
>
>> Hi
2013 Jun 07
1
[LLVMdev] CFG of a function
But I don't want to map only basic blocks, I need too to map the edges "the
whole CFG of the function"
Save the CFG of the function in another memory address and call it for
example orgCFG and change the CFG by referencing to the orgCFG
Thank you for help and patience
On 6 June 2013 10:59, Alexandru Ionut Diaconescu <
alexandruionutdiaconescu at gmail.com> wrote:
> I
2013 Jun 06
0
[LLVMdev] CFG of a function
I don't use a function for do the mapping, it may be MapValue(). If it does
not work, alias an int identifier for each basic block. Be aware because
basic block cannot have the same name (getName) in the same function, but
they might have the same name being in different functions. Therefore, take
into account the function name as well.
Good luck
On Thu, Jun 6, 2013 at 10:55 AM, Rasha Omar
2004 Oct 04
1
Update: Samba Shares not Refreshing contents
Actually it looks like this problem only affects some workstations.
Could it be my domain policy? (I guess so 'cause only computers logged on to the domain exhibit this behavior)
Anyone ever experienced this?
Omar
-----Original Message-----
From: samba-bounces+omar=idea.com.mx@lists.samba.org [mailto:samba-bounces+omar=idea.com.mx@lists.samba.org] On Behalf Of Omar Casta?eda Acosta
Sent:
2017 Dec 29
0
Exact purpose of network.ping-timeout
Restarts will go through a shutdown process. As long as the network
isn't actively unconfigured before the final kill, the tcp connection
will be shutdown and there will be no wait.
On 12/28/17 20:19, Sam McLeod wrote:
> Sure, if you never restart / autoscale anything and if your use case
> isn't bothered with up to 42 seconds of downtime, for us - 42 seconds
> is a really
2013 Jul 31
1
[LLVMdev] Instruction insertion By Module Pass
Thank you for your help
I tried
Instruction* p=&( Bb->front());
Type * Int32Type = IntegerType::getInt32Ty(getGlobalContext());
AllocaInst* newInst = new AllocaInst(Int32Type,"flag", p);
that works well
but I need to store the value of the variable too.
What's the method that could be used to store specific value??
On 30 July 2013 16:01, John Criswell
2018 Jan 03
0
Trusted pool authentication & traffic encryption
Hi all,
I have some questions concerning Gluster security.
I was thinking about using Gluster for synchronizing data between my laptop and my desktop computer. I realize that this is not the usual use case, but I think it should work. I would create one replica-2 volume with one brick on each PC plus a FUSE mount of that volume on each PC. I would then always write my data to the local FUSE
2017 Aug 28
0
regex - optional part isn't considered in replacement with gsub
"Please, consider that some SKUs have "-"
in the middle, for example: "PG-9021".
Then you need to include these in the list of patterns you gave. Try it
again -- this time with a **complete** list.
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his
2013 Jun 06
0
[LLVMdev] CFG of a function
Map every basic block from the CFG to a set of integers. The successors
from the CFG can be used to make the edges in your simplified graph. The
pair (Callee,Caller) can link the CFG-s between them in a larger CFG-like.
On Wed, Jun 5, 2013 at 11:03 PM, Rasha Omar <rasha.sala7 at gmail.com> wrote:
> What do you mean by mapping to integers?
>
>
> On 5 June 2013 22:32, Alexandru
2003 Apr 13
3
Recording Prompts
Before you get too far.... The internet line jacks dont allow outbound
calling. they cannot be used as trunk lines to the PSTN. the outbound
code has not been written yet. I had to go buy FXO card from digium
(that works much better than the Linejack) to get outbound calling to
work
Dave
>>> fplandae@hotmail.com 4/11/2003 5:35:24 PM >>>
Hi,
I am a newbie. I have been