Displaying 20 results from an estimated 2000 matches similar to: "Where Query in SQL"
2011 Dec 13
2
Generating input population for microsimulation
Hi all,
I've been struggling with some code and was wondering if you all could help.
I am trying to generate a theoretical population of P people who are housed within X different units. Each unit follows the same structure- 10 people per unit, 8 of whom are junior and two of whom are senior. I'd like to create a unit ID and a unique identifier for each person (person ID, PID) in the
2006 Mar 07
1
setting tab order in a select form field
Hi
I''m trying to set the tab order for a select form element. I''m doing it like
so:
<%= select ''issue'', ''person_name'', people, "tabindex" => 6 %>
but it gets ignored and I get this for output:
<select id="issue_person_name" name="issue[person_name]"><option
2006 Mar 13
3
HABTM: two habtm''s between the same two tables
Imagine I want to track people, and the clubs that they belong to.
table people with columns person_id, person_name
table clubs with columns club_id, club_name
And I have the association table:
table clubs_people with columns person_id, club_id
Now I know how to do this habtm between the two, in order to associate
people with clubs that they belong to.
However my application also needs a
2007 May 22
3
can I use acts_as_list with a has_many :through association
I''d like to be able to use a has_many :through association and treat
the associations as a list but I''m getting this error when I try an
use an acts_as_list method:
NoMethodError: undefined method `move_to_bottom''
I''m using edge rails r6786.
Here are my domain rules:
Activities are things students can do.
Units consists of a sequenced list of
2015 Mar 11
3
[PATCH] pmu/gk20a: PMU boot support.
It adds PMU boot support.It loads PMU
firmware into PMU falcon.RM/Kernel driver
receives INIT ack (through interrupt mechanism)
from PMU when PMU boots with success.
Signed-off-by: Deepak Goyal <dgoyal at nvidia.com>
---
drm/nouveau/include/nvkm/subdev/pmu.h | 26 +-
drm/nouveau/nvkm/subdev/pmu/base.c | 108 ++
drm/nouveau/nvkm/subdev/pmu/gk20a.c | 2131
2006 Jan 13
5
Form field naming semantics question
Hi,
I have a question today regarding how the various form elements in
_form.rhtml are named.
I understand that for a database table "persons" with a column headed by
"name", then in _form.rhtml it will probably be like:
<p><label for="person_name">Name><br/>
<%= text_field ''person'', ''name''
2013 Sep 16
4
Executing command via puppet !
Hi,
Is it possible to get response of a command from puppet ?
For example if I run "nginx -t" it would give some details about the
configurations i.e. if configuration has some error then which file has the
error !
Regards
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving
2013 Sep 24
5
Service refresh gets scheduled and swp files
Hi,
I have two issues with my puppet.
*1*- When I change the config the service on the agent side implement the
configuration change but the restart/reload gets scheduled and after 15 or
20 minutes it is executed, however the agent time to get conffig from
server is 180 seconds. Followings are the logs
*(/Stage[main]/Nginx/Service[nginx]) Triggered ''refresh'' from 2 events*
2008 Mar 25
1
Audio Problem...
Hi,
I have set up the asterisk in Fedora 7 with SJphone, SJphone is
successfully registered under asterisk console.....so i had some tests
on the extension......but there were messages saying that
something(probably .gsm files) were being played, but i heard
nothing.....there were also some warning messages saying that in
Asterisk CLI ERROR:sound device currently not available(some sort like
2008 Jun 19
2
Non editable file_field
Hi,
I need to upload files in my application
I am using following code
<tr>
<td width="125">Upload Document:</td><td width="400"><%=
form.file_field("filename") %></td>
</tr>
But I want that the file field that gets displayed in my browser should
not be editable.
i.e user should be able to select the file through the
2015 Apr 13
3
[PATCH v4] pmu/gk20a: PMU boot support
From: Deepak Goyal <dgoyal at nvidia.com>
- Maps PMU firmware into PMU virtual memory.
- Copy bootloader into PMU memory and start it.
- Allow the PMU to interact with HOST via interrupts.
PMU after successful configurations (to follow after this patch) will:
1.Autonomously power gate graphics engine when not in use.It will save
us a lot of power.
2.Provide better way to scale frequencies
2006 Jan 05
2
Rails Newb: Foreign Key Views?
I''m a total rails newbie, but I''m learning fast. I have a question that
I can''t seem to find an answer for:
What is the best way of coding views that represent foreign key
relationships?
For example, while developing, I''ve created an "articles" table. I
create some scaffolding code and modify it all to look nice. I then
realise, I need an
2015 Mar 11
0
[PATCH] pmu/gk20a: PMU boot support.
Hi Deepak,
There's... a lot of stuff going on here. Can you describe the goal of
this patch (which could then be used as the patch commit message)? The
current one basically boils down to "Add support for loading PMU", but
merely loading the fw into a fuc engine is just a handful lines of
code. Also, except in rare cases, it's customary to split up patches
of this size into
2006 Mar 10
2
adding to has_many on create and edit
Hello,
I am fairly new to RoR and I have a question I hope can be solved
elegantly (so many things are, so why not this one too?). I have a
working solution, but I want to be sure I am doing things the "rails
way" (having come from PHP). You could say I am looking for a little
validation (no flames please).
I have a table of units like so:
CREATE TABLE `units` (
`id`
2013 Jul 19
2
puppet master and fileserver separate problem
my environment:
192.168.0.13 puppet.uc.local
192.168.0.14 puppetca.uc.local
192.168.0.15 report.uc.local
192.168.0.16 fileserver.uc.local
192.168.0.17 agent01.uc.local
i want run a master as fileserver (fileserver.uc.local)
the puppet.uc.local and fileserver.uc.local use one ca.pem
on puppet.uc.local, i wrote a class for test
class test {
notify { "hello
2015 Mar 12
2
[PATCH] pmu/gk20a: PMU boot support.
Hi Mirkin,
Your observations are quiet correct.
After the boot code is submitted successfully, I will submit the code to configure & enable features of PMU.(This will be done by sending cmds to PMU).
Now talking about this patch:
Apart from just the boot code, I have also included some things in this patch that I can remove for now(I will include these things in later digestible chunks):
-
2015 Apr 08
3
[PATCH V2] pmu/gk20a: PMU boot support.
- Maps PMU firmware into PMU virtual memory.
- Copy bootloader into PMU memory and start it.
- Allow the PMU to interact with HOST via interrupts.
PMU after successful configurations (to follow after this patch) will:
1.Autonomously power gate graphics engine when not in use.It will save
us a lot of power.
2.Provide better way to scale frequencies by reporting Perf counters.
3.Be critical for GPU
2007 Dec 21
0
[Virtio-for-kvm] [PATCH 3/7] userspace virtio
From 4780a4792ca7776268107e200ae77003c36d55c9 Mon Sep 17 00:00:00 2001
From: Dor Laor <dor.laor@qumranet.com>
Date: Wed, 19 Dec 2007 23:52:43 +0200
Subject: [PATCH] virtio block device
This patch implements the backend support for the virtio block device. It's
designed to support in-order queueing of a virtually unlimited size so
it will
be able to perform better than SCSI. Besides
2007 Dec 21
0
[Virtio-for-kvm] [PATCH 3/7] userspace virtio
From 4780a4792ca7776268107e200ae77003c36d55c9 Mon Sep 17 00:00:00 2001
From: Dor Laor <dor.laor@qumranet.com>
Date: Wed, 19 Dec 2007 23:52:43 +0200
Subject: [PATCH] virtio block device
This patch implements the backend support for the virtio block device. It's
designed to support in-order queueing of a virtually unlimited size so
it will
be able to perform better than SCSI. Besides
2010 Oct 11
8
Nooby Stuck - "has_and_belongs_to_many" relationship
trying to set up a "has_and_belongs_to_many" relationship
would very much appreciate the help, not sure what im doing wrong at all.
Scheme.rb
class Scheme < ActiveRecord::Base
validates :schemename, :presence => true
belongs_to :user
has_many :levels, :dependent => :destroy
has_and_belongs_to_many :works
end
Work.rb
class Work < ActiveRecord::Base