search for: p0

Displaying 20 results from an estimated 888 matches for "p0".

Did you mean: pg0
2010 Aug 26
2
Today: constant JSON::Parser not defined
(Using the latest 3-0-stable and rvm, and ruby-1.9.2-p0) Yesterday everything worked, my own changes are very minor and in the application only. Did anything change that could have caused this problem? Unfortunately simply going back in rails alone to the original "RC2" git-tag did not immediately help, so it may be some other problem (on my...
2012 Jan 23
0
Problem loading modules through ActiveSupport on_load
...which is supposed to include this module: **# app/models/b.rb** class B has_fleet end I am unable to get around this and not sure what is going wrong here. Throws up the following errors: syed@rails:~/work/projects/mapunity/pinpoint$ rails c /home/syed/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.7/lib/ active_record/base.rb:1009:in `method_missing'': undefined local variable or method `has_fleet'' for #<Class:0x9c2f200> (NameError) from /home/syed/work/projects/mapunity/pinpoint/app/models/ account.rb:2:in `<class:Account>''...
2017 Apr 11
5
Potential issue with noalias @malloc and @realloc
Hi all, I think I've spotted a semantic issue with marking @malloc and @realloc as noalias.  Say we have the program: int f() {   int* p0 = malloc(size of(int));   free(p0);   int* p1 = malloc(sizeof(int));   if (!p1) return 20;   int value = 0;   for (int i = 0; i < 1; i++) {     *p1 = 20;     value = *p1;     if (false)  // "false" is obscured in a way the compiler can't fathom       if (p0 == p1)         a();    ...
2010 Nov 21
1
solve nonlinear equation using BBsolve
...<- 2*p[1]*(p[2]+p[3])*(p[2]^2 + p[3]^2 - p[2]*p[3] + 3*p[2]*p[3]*p[4]) k4 <- 6*p[1]*((p[2]+p[3])^2*(p[2]^2 + p[3]^2 - 2*p[2]*p[3] + 4*p[2]*p[3]*p[4])+ 2*p[2]^2*p[3]^2*(1-p[4])^2) t[1] <- k1 - mn t[2] <- k2 - vr t[3] <- k3/(k2^1.5) - sk t[4] <- k4/(k2^2)   - kur t } I tried this p0 <- rep(0, 4) BBsolve(par = p0, fn = mgf_gammasum) dfsane(par = p0, fn = mgf_gammasum, control = list(trace = FALSE)) sane(par = p0, fn = mgf_gammasum, control = list(trace = FALSE)) and got the error message: > BBsolve(par = p0, fn = mgf_gammasum) Error in optim(par = par, fn = U, method =...
2012 Jan 25
0
bundle crashing with `error!': 302 "Moved Temporarily" (Net::HTTPRetriableError)
Gday all, Tried creating a new rails app with 3.2.0 on MRI 1.9.3 running under RVM 1.10.2, and it crashes on bundle with the following trace: brentona@brails:~/rails_3.2.0$ bundle Fetching source index for https://rubygems.org/ /home/brentona/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb: 2632:in `error!'': 302 "Moved Temporarily" (Net::HTTPRetriableError) from /home/brentona/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/ http.rb:2641:in `value'' from /home/brentona/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/ http.rb:795:in `c...
2012 Jun 04
1
bundle install results in "Symbol not found: _SSL_SESSION_free (LoadError)"
Hey everybody I just installed RVM. I never had any issues with my OSX''s default Ruby 1.8.7, but for a project I want to work on I need a newer version, specifically 1.9.3-p0. So I installed it. Sadly, when doing rails new bla I get the following error (right after bundle install is run): /Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'': dlopen(/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_...
2007 Dec 17
2
Must be obvious but not to me : problem with regular expression
Hi, I have a vector called nfichiers of 138 names of file whose extension is .P0 or P1 ... to P8. The script is not the same when the extension is P0 or P(1 to 8). Examples of file names : [128] "Output0.P0" [129] "Output0.P1" [130] "Output0.P2" [131] "Output01102007.P0" [132] "Output01102007.P1" [133] &quo...
2012 Feb 06
0
Error ActiveRecord::ConnectionNotEstablished
...p on my computer, but, when I initialize the server and access localhost:3000, this message shows up: ActiveRecord::ConnectionNotEstablished So, I try to access via rails console, but again, another error: felipe@Felipe:~/rails_projects/simple_cms$ rails console /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:143:in `block in replace_gem'': Please install the mysql adapter: `gem install activerecord-mysql-adapter` (mysql is not part of the bundle. Add it to Gemfile.) (LoadError) from /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-...
2001 Jun 09
1
AW: binom.test appropriate?
No, since I'd like to test null: p <= p0 alternative: p > p0. and my understanding is that binom.test tests null: p = p0 (can only be a "simple" null hypothesis according to help(binom.test)) alternative: p > p0 (or p < p0 or p != p0). Thanks, Mirko. > -----Urspr?ngliche Nachricht----- > Von: Douglas...
2011 Jul 22
2
ActiveSupport not including i18n?
...t'' 2) try it out bundle exec irb require ''active_support/core_ext'' You don''t have i18n installed in your application. Please add it to your Gemfile and run bundle install LoadError: no such file to load -- i18n from /Users/MacbookPro/.rvm/gems/ruby-1.9.2-p0@thinknear-ruby/gems/activesupport-3.0.9/lib/active_support/i18n.rb:2:in `require'' from /Users/MacbookPro/.rvm/gems/ruby-1.9.2-p0@thinknear-ruby/gems/activesupport-3.0.9/lib/active_support/i18n.rb:2:in `<top (required)>'' from /Users/MacbookPro/.rvm/gems/ruby-1...
2011 Jul 22
2
ActiveSupport not including i18n?
...t'' 2) try it out bundle exec irb require ''active_support/core_ext'' You don''t have i18n installed in your application. Please add it to your Gemfile and run bundle install LoadError: no such file to load -- i18n from /Users/MacbookPro/.rvm/gems/ruby-1.9.2-p0@thinknear-ruby/gems/activesupport-3.0.9/lib/active_support/i18n.rb:2:in `require'' from /Users/MacbookPro/.rvm/gems/ruby-1.9.2-p0@thinknear-ruby/gems/activesupport-3.0.9/lib/active_support/i18n.rb:2:in `<top (required)>'' from /Users/MacbookPro/.rvm/gems/ruby-1...
2010 Dec 15
2
Error reverse engineering MySQL with RMRE
...ispatch::Flash ActionDispatch::ParamsParser Rack::MethodOverride ActionDispatch::Head ActionDispatch::BestStandardsSupport Application root /root/test/app Environment development Database adapter mysql2 Database schema version 0 ====== % rmre -a mysql -d test -u root /usr/local/rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/ active_record/connection_adapters/mysql_adapter.rb:22:in `rescue in mysql_connection'': !!! Missing the mysql2 gem. Add it to your Gemfile: gem ''mysql2'' (RuntimeError) from /usr/local/rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/ active_...
2011 Jan 14
2
Rspec autotest error
...in advance, gezope ------ Error message: <internal:lib/rubygems/custom_require>:29:in `require'': no such file to load -- test/unit/ui/console/testrunner (LoadError) from <internal:lib/rubygems/custom_require>:29:in `require'' from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/gems/redgreen-1.2.2/lib/ redgreen.rb:2:in `<top (required)>'' from <internal:lib/rubygems/custom_require>:33:in `require'' from <internal:lib/rubygems/custom_require>:33:in `rescue in require'' from <internal:lib/rubygems/custom_require>:29:in `req...
2006 Jul 17
1
sem: negative parameter variances
...ems with Mundlak are increasing number of variables: as well as dimension of a model (additional between equations). So to begin with, I try to estimate pool, which is obviously easier, and proceed as follows: Consider the following specification: model.3eq.33 <- specify.model( ) ln.inv.p0.pc -> ln.grp.phvi.pc , beta13 , NA ln.migr.new -> ln.grp.phvi.pc , beta12 , NA ln.grp.corr.pc97 -> ln.grp.phvi.pc ,...
2010 Feb 22
2
[LLVMdev] Paired register allocation problem
...isters, but it has some 64bit instructions which are using pairs of these 32bit registers. I have defined registers, aliases and subregister set. The problem is that register allocator is using 32bit registers that are already used in a pair, for example: lw $r0, 16[$r12] // load word to r0 ld $p0, 36[$r12] // load doubleword to p0 shl $p0, $p0, $r0 // shift left p0 by r0 and store result in p0 where p0 is a pair r0:r1 Could anyone tell me what am I doing wrong? Thanks in advance Artur -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.ll...
2007 Dec 27
2
Failure of gvinum after panic
...home State: up Plexes: 0 Size: 0 B V tmp State: up Plexes: 0 Size: 0 B V var State: up Plexes: 0 Size: 0 B V media State: up Plexes: 1 Size: 379 GB 10 plexes: P data01.p0 C State: up Subdisks: 1 Size: 111 GB P usr.p1 C State: up Subdisks: 0 Size: 0 B P home.p1 C State: up Subdisks: 0 Size: 0 B P tmp.p1 C State: up Subdisks: 0 Size: 0 B P var.p1 C State:...
2017 Apr 12
4
Potential issue with noalias @malloc and @realloc
...2017 at 3:32 PM, Sanjoy Das via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > > Hi all, > > > > I think I've spotted a semantic issue with marking @malloc and > > @realloc as noalias. Say we have the program: > > > > int f() { > > int* p0 = malloc(sizeof(int)); > > free(p0); > > > > > > > int* p1 = malloc(sizeof(int)); > > if (!p1) return 20; > > int value = 0; > > for (int i = 0; i < 1; i++) { > > *p1 = 20; > > value = *p1; > > if (false) // "false" is obsc...
2012 Jan 18
3
Cannot redirect to nil!
I need some help please.. when I created web application about books market, i create a cart and using test the message error appear like this on rake test:functionals LineItemsControllerTest > test_should_create_line_item > ERROR > Cannot redirect to nil! and also appear on web side, thats error told that "Cannot redirect to nil!" Then i was checking the code,
2007 Jun 28
2
inaccuracy in qbinom with partial argument matching
Hi, I found the following strange effect with qbinom & partial argument matching p0 <- pbinom(0, size = 3, prob = 0.25) qbinom(p0, size = 3, prob = 0.25) ## 0 o.k. qbinom(p0-0.05, size = 3, prob = 0.25) ## 0 o.k. ## positional matching: qbinom(p0, 3, 0.25) ## 0 o.k. ## partial argument matching: qbinom(p0 , s = 3, p = 0.25) ## 1 ??? qbino...
2011 Dec 14
1
uniroot function question
I have one equation, two unknowns, so I am trying to build the solution set by running through possible values for one unknown, and then using uniroot to solve for the accompanying second solution, then graphing the two vectors. p0 = .36 f = function(x) 0.29 * exp(5.66*(x - p0)) f.integral = integrate(f, p0, 1) p1 = p0 + .01 i = 1 n = (1 - p0)/.01 p1.vector = rep(0,n) p2.vector = rep(0,n) for (i in 1:n) { p1.vector[i] = p1 fcn = function(p2) p1*f(p1) + (.20/5.66)*(exp(5.66*(p2 - p0)) - exp(5.66*(p1 - p0))) + (1 - p2)*f(p2)...