Displaying 20 results from an estimated 29 matches for "subtasks".
2008 Sep 29
3
[ActiveRecord] wrong number of arguments (0 for 2) ?!
Hi all,
I have a basic model as follow, but when I try to query the database, I
get the following error:
''wrong number of arguments (0 for 2)''
I don''t see any problem, I am becoming crazy o_O''
Migration
---------
class CreateSubtasks < ActiveRecord::Migration
def self.up
create_table :subtasks do |t|
t.string :hostname, :type
t.integer :task_id
end
end
def self.down
drop_table :subtasks
end
end
Model
-----
class Subtask < ActiveRecord::Base
belongs_to :task
end
Code causing the error...
2015 Jan 12
3
[LLVMdev] NP-hard problems in the LLVM optimizer?
Hi all.
I’ve heard a couple of times that some of the problems solved by various
passes in the optimizer are indeed NP-hard, even though the instances
are small enough to be tractable (and very quickly).
Is this true? If so, which are these problems?
Register allocation? Instruction scheduling?
Are they solved exactly or by approximations?
Or not solved at all (the need of solving them is
2007 Feb 12
2
Objects in Arrays? Allowed, right?
Hi:
I''m trying to manually append objects to an instance variable that is
just an array of objects. Here''s my controller code:
@tasks = Task.find(:all, :conditions => "entity_id =
#{session[:user].id}")
for t in @tasks
if Subtasks.find(:first, :conditions => "child_id = #{t.id}") != nil
@mtasks << t
end
end
However, when I execute, I get an error:
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.<<...
2006 Mar 28
2
[Q] How to make a multi-line title with expression()
Dear R-lister
Could anyone know how to make a multi-line title for a plot with
expression()?
In my plot, the title should be writeen in two lines (because it is two long
for one line) and it should use a mathematical expression. I tried to use
"\n", but "\n" is ignored in expression() call:
hist(diffChangeRequestHintsBeforeAnswering[,4], br = 50, xlab = "Skill
Change in
2010 Oct 15
2
XCP xapi debugging
...mand silently waiting.
xe task-list displays pack of tasks with same status and resident-on:
uuid ( RO) : b607ef7b-e185-72d9-4d3a-5795557922fc
name-label ( RO): VM.start
name-description ( RO):
subtask_of ( RO): <not in database>
subtasks ( RO):
resident-on ( RO): e9dc1da9-178b-4a98-8dd2-571a920cd4cc
status ( RO): pending
progress ( RO): 0.000
type ( RO): <none/>
result ( RO):
created ( RO): 20101015T11:03:04Z
finished ( R...
2007 Feb 14
0
[LLVMdev] Embedded C Extensions
Dear Chris,
On Feb 14, 2007, at 12:33 AM, Chris Lattner wrote:
>> b) introduce new types for llvm that handle types such as
>> __Fract, __Accum and _Sat.
>> again, comments are highly appreciated.
>
> My understanding of these operations is that they are basically
> integer
> data types whose operators have special semantics. As such, I'd
> suggest
2007 Feb 13
1
[LLVMdev] Embedded C Extensions
On Tue, 13 Feb 2007, Dietmar Ebner wrote:
> II) Embedded C Extensions [2,3]
> there's a ongoing project in gcc [4] that aims to implement
> embedded c extensions
> for gcc. it appears that the portions belonging to the frontend
> are already pretty
> stable. are there already people working on getting those bits
> into llvm?
Nope, I'm not aware of anyone
2009 Jul 17
19
I need help saving table data from a rake task
...==================
The million dollar question is I have all of the team IDs and PPCS
values for each call. How do I combine the entire set, build the table
according to each column, and save the table data (from the rake task).
Please keep in mind that TsosOffense.new is open and active for all
subtasks..
I''m sure it''s something similar to TsosOffense.save (but I need to
understand how to build the table with each data subset corresponding to
the column).
Thank you.
--
Posted via http://www.ruby-forum.com/.
2007 Dec 13
0
[Not R question] using java COM bridge to pass array of double through R(D)COM SetSymbol method
Hi
My apology as I am really getting stuck. I know that this is not appropriate to post here but I do not know where to turn to. In any case, any thoughts or experience that you could share would be really appreciated.
I have a need to use java to access R on windows. And I need to spawn each R process for each of my subtask in java application. That's why Rserve would not be the right tool
2006 Jun 28
0
Capistrano Command Worries
Hey all,
I have a problem that I cannot wrap my head around. I have a
capistrano task to kill my lighttpd process and restart it. Here is
the subtask, stop_lighttpd, that fails:
task :stop_lighttpd, :roles => :web do
run "kill -9 `ps aux | grep lighttpd | grep #{deploy_to} | awk
''{print $2}''` > /dev/null"
end
I know for a fact that when stop_lighttp is
2009 Mar 15
0
rspec-rails 1.2.0 Released
...to run. Closes #650.
* query_params are now parsed by Rack::Utils.parse_query in
redirect_to matcher. Closes #684.
* cleaned up spec_server (there was a bunch of pre-rails 2.0
material). Closes #685.
* rspec''s rake tasks are not loaded when running "rake gems" or any
of its subtasks
* only warn when rspec is not installed when trying to invoke an
rspec rake task
* support 2 arg version of ActionController::Base#render (reported
by Nathan Wilmes)
* rake spec:server:start doesn''t choke if there is no tmp directory
* force cache_classes = false when running with...
2019 Apr 10
2
GSoC 2019 Update
Student applications closed about 13 hours ago. Thanks to all the
students who applied to us.
We've made a start on reviewing proposals - please keep an eye open for
emails or IRC (if you're on IRC) as we may have further questions for
you.
One general note - like many orgs in GSoC, we do expect students to
contribute a patch as part of their application. This is very helpful
as it
2009 Mar 06
2
rake test:functionals -> Task not supported by ''
...y runs the functional and integration
tests, but aborts with the same message when it attempts the unit tests.
Among my changes were some shifting-around between a local SQLite
database and a MySQL server, but I''d think that wouldn''t be a problem if
the individual suites (and two subtasks of test) run normally. The
problem persists no matter which DB I put in database.yml. I think the
database issue is a red herring. "rake RAILS_ENV=test db:migrate" was
run, with the expected progress output, before the rake test
invocations. Re-running the migration outputs the "(in....
2024 Oct 23
1
Security of ssh across a LAN, public key versus password
...back-when).
>> do people use a password manager
> Not for passwords, I remember all the ones I use a lot.
Then I have a thought experiment for you: Let's assume that you found
your workplace machine to be hacked and are now busy setting up a new
one from scratch. Which of these two subtasks sounds easier to do:
a) Create new keypairs, possibly reusing the old passphrases for them
(because either you succeeded in making the new setup more secure, then
reusing the passphrases won't matter, or you didn't, then the attacker
would likely eavesdrop new ones soon-ish, anyway)
b)...
2012 Jul 27
1
Bug#682979: xcp-xapi: VM not starting, tasks not cancellable
Package: xcp-xapi
Version: 1.3.2-9
Severity: grave
Justification: renders package unusable
I've following mostly the xcp-xapi/README.Debian instructions after installing it with apt-get -t wheezy
network.conf is configured for bridge, xenbrN are functioning and shown with xe network-list
A single SR is present, created with ext on a local LVM. For debugging purposes, all ISO and local ISO
2009 Jul 16
9
Please help me understand how arrays are translated in rails
I''ve spent hours researching the subject and have tried many test
sequences in IRB, and rails console but I''m just having trouble making
headway into what is probably a very easy subject.
I understand arrays with at least 4 other languages but with Ruby I
haven''t found a mental connection with how I can assign variables to
arrays..
Take for example:
def
2010 Jan 25
9
skinny Controllers, fat models with REST?
Hi,
I''m really new to rails, so i programmed some stuff and today i read
some things about skinny Controllers, fat models.
My Controllers are really fat now. So i''m asking myself how can i
shrink my controllers and move the code to the models, especially in
fact of REST e.g. in focus on error codes?
code example:
# POST /tasks
# POST /tasks.xml
def create
@authorized
2007 Feb 13
6
[LLVMdev] Software Pipelineing | Embedded C Extensions
hello,
we're considering LLVM as an excellent framework for a compiler backend
for a novel dsp architecture based on vliw principles that is still
under
development. in this context, two students at our institute are
particularly
interested in the following projects:
I) software pipelining
apparently [1], there has been already an remarkable amount of
work done
by tanya lattner
2010 Mar 27
1
[RFC] GSoC 2010: Memory Compression for Virtualized Environments
...Summer of Code (We expect full time 40h/week during GSoC, but better
make this explicit)?
I will be working full-time on this project and plan to continue working till
it gets merged into mainline (and then continue as maintainer)
* Please provide a schedule of how this time will be spent on subtasks of
the project. While this is only preliminary, you will be required to provide a
detailed plan latest at the beginning of GSoC and during the project you will
issue weekly progress reports against that plan.
Timeline: May to Aug (4 months)
Month 1: Discuss new design with mentor, prototype and f...
2010 Mar 27
1
[RFC] GSoC 2010: Memory Compression for Virtualized Environments
...Summer of Code (We expect full time 40h/week during GSoC, but better
make this explicit)?
I will be working full-time on this project and plan to continue working till
it gets merged into mainline (and then continue as maintainer)
* Please provide a schedule of how this time will be spent on subtasks of
the project. While this is only preliminary, you will be required to provide a
detailed plan latest at the beginning of GSoC and during the project you will
issue weekly progress reports against that plan.
Timeline: May to Aug (4 months)
Month 1: Discuss new design with mentor, prototype and f...