Displaying 10 results from an estimated 10 matches for "newobj".
Did you mean:
new_obj
2007 Jan 31
2
SystemStackError: stack level too deep
...''m testing the http module in console.
BUt I got the following error.
Anyone knows why?
>> Net::HTTP.get_print ''www.google.com'', ''index.html''
SystemStackError: stack level too deep
from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in
`newobj''
from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in
`newobj''
from C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:451:in `new''
from C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:374:in
`get_response''
from C:/InstantRails/ruby...
2012 May 14
1
Extract Variance Components
....007013756 #0.01839387 #0.6031809
#CG10000
I have thought about creating a loop to then produce my big full data frame
but I can't get it to work (nor can my friend at work who is really good
with R) we have tried numerous ways and are now at our wits end...
/## try to loop for all genes...
newobj <- matrix(nrow=0, ncol=3)
for (i in 1:nlevels(narrow$gene)) {
x<-as.matrix(lme4::VarCorr(rg.lmer[[i]]))
newobj <- data.frame(c((lme4::VarCorr(rg.lmer[[i]])), attr(narrow,
"sc")^2))}
newobj<-data.frame(newobj, row.names=levels(narrow$gene))
colnames(n...
2007 Apr 12
6
JSON handling in Prototype 1.5.1_rc2
Hi,
I try to use the JSON encoder/decoder on JSON string receive from an
HTTPRequest.
And it failed to handle characters with accents (çéèà...) giving me an
parsing Exception.
I think because the convertion from string to object is a simple
eval !
This make Protoype unusable for non americain characterset
application ! Or I miss something !
Sad !
Constant
2006 Aug 31
0
Net::HTTP.new produces SystemStackError?
http = Net::HTTP.new(HOST, PORT)
When I try to create a new Net::HTTP object, I get a SystemStackError:
"stack level too deep". The trace shows a long list of
"/usr/lib/ruby/1.8/net/http.rb:333:in `newobj''", which when I look at
the code seems to say that Net::HTTP keeps calling its own newobj method
recursively, with some Proxy object involved? I''m not fluent enough to
go digging around in the ruby Standard Library...
Same thing with Net::HTTP.start...
Any help?
--
Pos...
2007 Oct 30
1
include a class file for access to an object
hello all
Im new to ruby and im just trying to see how i can instanciate an
object that is defined in a class file like myclass.rb then in another
file like start.rb i just call it like so newObj = myclass.new do i need
the include statement at the top? like include myclass.rb or mayby the
require statement? Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "...
2006 Aug 29
0
how to contrast with factorial experiment
...can
contrast mean yields for sections 1-3 and 6-11 because there exists
significant interaction between two factors (Trt:section4,
Trt:section5). Could I use the commands below to test
the difference between sections 1-3 and 6-11 ?
> contrasts(section)<-c(-2,-2,-2,0,0,1,1,1,1,1,1)
> newobj<-lm(log2(yield)~treat*section)
How can I infer that there is significant difference between sections
1-3 and sections 6-11 for the "Trt" from the output below?
> summary(newobj)
Call:
lm(formula = log2(yield) ~ treat * section)
Residuals:
Min 1Q Median 3Q...
2006 Jan 21
7
n-way joins
Hi,
I''m somewhat of a Rails newbie and am trying to understand how to
formulate n-way (3 or 4 way) joins in Rails (where the join tables
contain extra data as well.)
Let me give you my basic entities:
foos
id - pk
name - unique
bars
id - pk
name - unique
bazs
id - pk
name - unique
frozs
id - pk
name - unique
then i have two separate join tables:
foos_bars_bazs - 3 way join
2006 Apr 01
7
Any way around AssociationTypeMismatch?
I want to have popup menus and check boxes in my forms to let users
select associated objects. In the form I''m working on, the object
"belongs_to" another type of object which is selected from a popup menu.
The id of the chosen object(s) for association is passed back in the
parameter hash, but when rails creates a new object from this parameter
hash, I get a
2015 Aug 27
2
RFC: alloca -- specify address space for allocation
Please see inline.
From: Chandler Carruth [mailto:chandlerc at google.com]
Sent: Wednesday, August 26, 2015 7:03 PM
To: Swaroop Sridhar <Swaroop.Sridhar at microsoft.com>; llvm-dev <llvm-dev at lists.llvm.org>; Philip Reames <listmail at philipreames.com>; Sanjoy Das <sanjoy at playingwithpointers.com>
Subject: Re: [llvm-dev] RFC: alloca -- specify address space for
2006 Jan 22
0
ActionWebService::Struct --> minOccurs?
Howdy,
In extending ActionWebService::Struct and naming members, is it possible
to indicate them as optional (yielding minOccurs="0" in the wsdl)? For
example, suppose I want to create a request object that can either work
via a number id or a string name (think of it as a union).
class Identifier < ActionWebService::Struct
member :id, :int
member :name, :string
end