similar to: Making Parents object attributes available

Displaying 19 results from an estimated 19 matches similar to: "Making Parents object attributes available"

2012 Feb 16
2
[LLVMdev] Question about "const"
Hi all. I have a next problem. I need to implement some object that will work with both const and "constless" object: Instruction* and const Instruction*, for example. How to implement it better? Currently I see two possible ways: 1. Templates. template <class InstructionTy> class InstructionProcessorT { InstructionTy *Inst; InstructionProcessor(InstructionTy *I) : Inst(I) {}
2012 Feb 16
0
[LLVMdev] Question about "const"
Hi, I think Chris recently did this with ArrayRef - that might be a good template to base your solution on? Cheers, James -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Stepan Dyatkovskiy Sent: 16 February 2012 06:36 To: llvmdev at cs.uiuc.edu Subject: [LLVMdev] Question about "const" Hi all. I have a next
2009 Aug 30
4
[LLVMdev] Perfect forwarding?
BLAST! LLVM mailing list headers are still royally screwed up... My message is below... On Sun, Aug 30, 2009 at 2:20 PM, Talin<viridia at gmail.com> wrote: > Hey all, it's been a while since I have posted on this list, but I've > been continuing my work with LLVM and getting lots done :) > > One question I wanted to ask is whether anyone had any advice on how to >
2014 Sep 25
5
[LLVMdev] New type of smart pointer for LLVM
Hello everyone, I bring to discussion the necessity/design of a new type of smart pointer. r215176 and r217791 rise the problem, D5443 <http://reviews.llvm.org/D5443> is devoted to the solution. r215176 applies several temporary ugly fixes of memory leaks in TGParser.cpp which would be great to be refactored using smart pointers. D5443 <http://reviews.llvm.org/D5443> demonstrates
2007 May 30
6
authentication mocks
hi I''m using restful_authentication and have controller specs working using users fixtures (and login_as) however i''ve been trying for hours without success to do it without fixtures, using mocks and stubs instead. anyone here done this? got code? :) thanks
2008 Oct 10
16
rspec - undefined method `describe'' for main:Object
When i run a spec file i am getting the following error D:\Diwakar\spec_diwa\spec\controllers>spec sandbox_controller_spec.rb c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.5.15/lib/spec/api/sugar.rb:17:in `method_ missing'': undefined method `describe'' for main:Object (NoMethodError) from ./sandbox_controller_spec.rb:7 from
2006 Apr 28
2
Active Record save doesn''t save! (more detail - is this a bug?)
I got it to work by changing scheduled_end_date= nil to self.scheduled_end_date= nil. I believe these statements should be equivilent. I don''t know Ruby/Rails well enough to know when, if or why that should matter. Can someone educate me please? I want to believe this framework is ready for production work, but silently dropping data is a very big problem. I expect that I''ve
2012 Jun 26
3
plotting two histograms on one plot with hist function
I would like to plot two data sets (frequency (y-axis) of mean values for 0-1(x=axis)) on a single histogram for comparison. The hist() only allow the overlay of two histograms, and although barplot() allows beside=TRUE, it does not show frequency values (like hist) but rather all of the values. Is there any way that I can use the hist() to plot two data sets similar to the barplot(). Any help or
2003 Feb 27
2
PRESS again
Sorry for the repeat. The PRESS statistic is defined as sum(y-yhat(i))^2, where yhat(i) denotes the ith predicted value using all the data except the ith case (as used typically in linear models). Thanks again Jacob Jacob L van Wyk Department of Mathematics and Statistics Rand Afrikaans University P O Box 524 Auckland Park 2006 South Africa Tel: +27-11-489-3080 Fax: +27-11-489-2832
2012 Jul 24
1
Problem building dll in R-2-15-1
I am using R-2-15-1 with latest version of RTools under Windows 7 on a 64bit machine. When trying to build a dll from a simple test program matm.f I get the following error: > R CMD SHLIB matm.f gfortran -O3 -mtune=core2 -c matm.f -o matm.o f951.exe: out of memory allocating 312 bytes make: *** [matm.o] Error 1 Can someone please help NJ ________________________________
2014 Sep 25
2
[LLVMdev] New type of smart pointer for LLVM
On Thu, Sep 25, 2014 at 1:44 AM, Renato Golin <renato.golin at linaro.org> wrote: > On 25 September 2014 06:16, David Blaikie <dblaikie at gmail.com> wrote: > > I can go & dredge up some examples if we want to discuss the particular > > merits & whether each of those cases would be better solved in some other > > way, but it seemed pervasive enough in the
2008 Feb 19
2
sending mail [not the ActionMailer way?]
Hi folks, I''ve recently stepped away from PHP web dev and I''m trying out ROR now. I like it so far. But there''s something I cannot figure out on my own. Searching on the API of ROR and Google about the possibilities of sending emails with ROR only gave me the ActionMailer way of sending mails. What I want to do is to send a mail where the body is submitted by a user.
2014 Sep 25
2
[LLVMdev] New type of smart pointer for LLVM
On Wed, Sep 24, 2014 at 7:50 PM, Justin Bogner <mail at justinbogner.com> wrote: > Anton Yartsev <anton.yartsev at gmail.com> writes: > > Hello everyone, > > > > I bring to discussion the necessity/design of a new type of smart > pointer. > > r215176 and r217791 rise the problem, D5443 is devoted to the solution. > > r215176 applies several
2005 Mar 02
0
Re: AWS Client Usage
On Wed, 2 Mar 2005 11:51:51 -0600, Chris Brinker <chris.brinker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > I was talking on #rubyonrails some more and they seem to think that > the model classes have to be copy and pasted/available to the > ruby:client, in addition to the api. I find this advice a little odd > considering .Net and apparently ColdfusionMX need no such
2012 Feb 21
0
Thread safety and class methods
Hey guys, using passenger, is it possible that there could be thread safety issues when executing a class method on a model? I am seeing some weird data in some of my model instances and I think it may be to do with concurrent processing of a class method in a model. Is this possible, that variables get shared between all threads of execution, when you are accessing a class method?
2014 Oct 01
4
[LLVMdev] New type of smart pointer for LLVM
On Wed, Oct 1, 2014 at 3:14 PM, Anton Yartsev <anton.yartsev at gmail.com> wrote: > Ping! > > Suggested is a wrapper over a raw pointer that is intended for freeing > wrapped memory at the end of wrappers lifetime if ownership of a raw > pointer was not taken away during the lifetime of the wrapper. > The main difference from unique_ptr is an ability to access the wrapped
2005 Oct 21
21
PHPonRails ?
I''ve have a very tight schedule project that MUST (not my option), be developed in PHP. Is there a Rails based framework for this platform? I like the Rails way of things, but in this case, I cannot choose the programming language, so please don''t offend me :-) Thanks in advance, Alessandro _______________________________________________ Rails mailing list
2004 Nov 04
0
Warning: Unacceptable file attachment detected
[ ENGLISH ] Our virus detector has just been triggered by a message you sent:- To: screensavers@pagina.nl Subject: Re: Hi Date: Thu Nov 4 09:38:54 2004 One or more of the attachments are on the list of unacceptable attachments for this site and will not have been delivered. Consider renaming the files or putting them into a "zip" file to avoid this constraint. The virus
2003 Apr 16
0
Scheepjeswolharmonie Veenendaal