Displaying 20 results from an estimated 27 matches for "subtask".
Did you mean:
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 erro...
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()
...mathematical expression. I tried to use
"\n", but "\n" is ignored in expression() call:
hist(diffChangeRequestHintsBeforeAnswering[,4], br = 50, xlab = "Skill
Change in Standard Deviation", main = expression(paste("(a) H&S", F[A],
"\nRequest hint(s)/subtask(s) before first attempt")))
Thanks in advance.
Young-Jin Lee
[[alternative HTML version deleted]]
2010 Oct 15
2
XCP xapi debugging
...I got
following problem vm does not start and start command 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):
cre...
2007 Feb 14
0
[LLVMdev] Embedded C Extensions
...n about arithmetic ops into the operations instead of the
> types
> where possible: e.g. we have ashr and lshr instead of signed vs
> unsigned
> types.
>
> Would this work?
probably, though i'm not yet certain. we're considering splitting the
project in two while one subtask is to catch up with the new gcc
frontend and the other one is to extend llvm with fixed point
operations in order to generate efficient code for dsp targets.
in the first step, we either have to backport the changes in the gcc
frontend or port llvm-gcc to a more recent version (with the 4.2...
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
...to_team_id matches a Team ID in the Teams Table (TsosOffense belongs_to
team)
ro_team_id matches a Team ID in the Teams Table (TsosOffense belongs_to
team)
The tsos_offenses table will have 15 columns:
A Team ID column for each of the 120 teams
A column for the PPCS values returned from each rake subtask..
===================
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...
2007 Dec 13
0
[Not R question] using java COM bridge to pass array of double through R(D)COM SetSymbol method
...m 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 (as far as I read on their web site). So I am left with R(D)COM.
I use java COM bridge like j-integra and JACOB. My problem is that I cannot pass array of double through its proxy. Somehow, pass something like:
proxy.setSymbol...
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 ran. The process is
indeed killed and kill should gi...
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...
2012 Jul 27
1
Bug#682979: xcp-xapi: VM not starting, tasks not cancellable
...removed.
A VM is created according to README.Debian. Everything looks fine when examined with XenManager6 or OpenXenCenter.
When starting the VM with xe vm-start uuid=<uuid>, xe will not finish.
xe task-list shows two tasks: VM.start with 0.300 progress, and VBD.unplug (0.000 progress) as a subtask of VM.start, created 16-17 seconds after VM.Start.
Both tasks are in the state pending, and can not be cancelled with xe task-cancel force=true.
list_domains shows that the domain has been created. After xe-toolstack-restart two independent pending tasks are present: VBD.unplug and VBD.plug, both r...
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?
...ers, 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 = false
@addsubtask=false
@task = Task.new(params[:task])
if(@task.parent_id != nil ) #wenn parent id nicht leer ist
ueberpruefe ob Rechte fuer Uebertask da sind
#if ( current_user.is_owner_of? Task.find(@task.parent_id) ) ||
( current_user.is_moderator_of? Task.find(@task.parent_id) )
if ( current...
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...
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...
2015 Apr 08
3
[PATCH V2] pmu/gk20a: PMU boot support.
...+{
+ struct gk20a_pmu_priv *pmu = to_gk20a_priv(ppmu);
+ struct nvkm_pmu_priv_vm *ppmuvm = &pmu->pmuvm;
+ int err = 0;
+ int ret = 0;
+
+ if (pmu->sw_ready) {
+ nv_debug(ppmu, "skipping init\n");
+ goto skip_init;
+ }
+
+ /* no infoRom script from vbios? */
+
+ /* TBD: sysmon subtask */
+
+ INIT_WORK(&pmu->isr_workq, gk20a_pmu_process_message);
+
+ ret = nvkm_gpuobj_new(nv_object(ppmu), NULL, GK20A_PMU_TRACE_BUFSIZE,
+ 0, 0, &pmu->trace_buf.obj);
+ if (ret)
+ goto err;
+ ret = nvkm_gpuobj_map_vm(nv_gpuobj(pmu->trace_buf.obj),
+ ppmuvm->vm,
+...