Displaying 20 results from an estimated 640 matches for "teachers".
Did you mean:
teacher
2015 Jul 13
2
Crear datos aleatorios con restriciones
Hola,
Esta pregunta la hice en stackoverflow
<http://stackoverflow.com/questions/31137940/randomly-assign-teachers-to-classrooms-imposing-restrictions/31143808#31143808>pero
nadie pudo contestarla.
1. Quiero generar N escuelas, con G grados y C divisiones.
2. Quiero asignar cada uno de T maestros a 2 divisiones en un grado y
escuela
Si tengo C=4 divisiones, puedo lograr lo que quiero con este código:
libr...
2015 Jul 13
2
Crear datos aleatorios con restriciones
Hola,
0. La falta de 'elegancia' hace que sea mas dificil hacer cambios al
codigo. Por ejemplo cambiar n.classrooms <- 4 a n.classrooms <- 20
1. Cuando tengo solo 4 puedo hacer esto:
schoolGrade$A <- Teachers$Teacher.ID[1:cuttoff1]
schoolGrade$B <- Teachers$Teacher.ID[1:cuttoff1]
schoolGrade$C <- Teachers$Teacher.ID[(cuttoff1+1):n.teachers]
schoolGrade$D <- Teachers$Teacher.ID[(cuttoff1+1):n.teachers]
Pero si tengo 20 tendria que escribir 20 lines en lugar de 4 y calcular los
cutoff para cada...
2015 Jul 13
2
Crear datos aleatorios con restriciones
Gracias Carlos,
Tu codigo es un gran paso en el sentido correcto pero no produce
exactamente lo que estoy buscando.
Mi "solucion" en stackoverflow
<http://stackoverflow.com/questions/31137940/randomly-assign-teachers-to-classrooms-imposing-restrictions/31143808#31143808>
produce un data frame `schoolGrade` con 240 observaciones y 7 variables. Mi
objetivo es poder generar un data frame asi pero con la flexibilidad de
poder usar n.classrooms <- 20 (o cualquier otro numero) en lugar de 4
(hardcoded)
Gracias...
2015 Jul 13
2
Crear datos aleatorios con restriciones
...escribió:
>
>> Gracias Carlos,
>>
>> Tu codigo es un gran paso en el sentido correcto pero no produce
>> exactamente lo que estoy buscando.
>>
>> Mi "solucion" en stackoverflow
>> <http://stackoverflow.com/questions/31137940/randomly-assign-teachers-to-classrooms-imposing-restrictions/31143808#31143808>
>> produce un data frame `schoolGrade` con 240 observaciones y 7 variables. Mi
>> objetivo es poder generar un data frame asi pero con la flexibilidad de
>> poder usar n.classrooms <- 20 (o cualquier otro numero) en luga...
2004 Jun 22
2
group and user permissions issue.
...em to find
anywhere where this exact issue has been posted.
am using samba 2.28 set up as an NT domain, there are no problems with
the general configuration. My issue is witb samba not following the
permissons I have set on files in a shared directory.
Purpose: set up a directory for students and teachers where students can
leave files and only edit their own files, teachers can edit all files.
unix permissions for files are like this
-rwxrw---- 1 student1 teachers 6 Jun 22 18:22 S1.txt*
-rwxrw---- 1 student3 teachers 17 Jun 22 18:21 S3.txt*
-rwxrw---- 1 student3 teachers...
2005 Jul 25
2
Domain groups with spaces in their names
Hello Samba,
I have a Samba file server which I have successfully joined to a domian
controlled by a Windows 2003 domian controller. I cannot get the server to
allow access to users who are members of a group with spaces in its name.
The domain has three (main) groups:
- students
- teachers
- spaced users
My Samba.conf has the following shared directories defined:
[teachers]
comment = teacher's shares
writable = yes
valid users = @teachers
path = /home/groups/teachers
writable = yes
browsable = no
create mode = 0660
directory mode = 0770
[students]
comment = student's share...
2006 Jan 23
3
create and update with has_many :through
I''m using Edge Rails and the new has_many :through in my code. What
I''m trying to do is modify my create and update code to use the new
relationships. I''m using a table called course_teachers for the joins.
Here is what I have so far:
def create
@course = Course.new(params[:course])
@teacher = Teacher.find(params[:primary_teacher])
@course.teachers = @teacher
if @course.save
flash[:notice] = ''Course was successfully created.''
redirect_to :act...
2010 Nov 04
9
Delete action is not working and redirects to edit action
...ot;), teacher, :confirm =>
''Are you sure?'', :method => :delete)%>
also tried but i get the same action
<%= link_to ''Delete'', teacher, :confirm=>"Are you
sure?", :method=>:delete %>
The teacher_controller action is:
# DELETE /teachers/1
# DELETE /teachers/1.xml
def destroy
@teacher = Teacher.find(params[:id])
@teacher.destroy
respond_to do |format|
format.html { redirect_to(teachers_url) }
format.xml { head :ok }
end
end
In the routes i only use resources :teachers.
Any sollution with that??
T...
2006 Aug 24
1
Strange permissions problems
...e mode = 2660
directory mask = 770
force directory mode = 3770
So here is how it goes. Rosie can make directories-files below
.../6thhour (she is in the bhs group). Everything seems fine and dandy.
All folders-files are getting permissions that they should so that
rosie and the teacher (all teachers are in the teacher group) are the
only ones able to see anything in the folder that she created
(.../rosie). Then when she gets down to the chap1 directory and puts a
file in it, the file has the user and group rosie.bhs (bhs is her main
group).
Now suddenly the teacher cannot access the file...
2006 Aug 03
12
More than one has_many :through association between the same 2 models
...and Class Models
would look like...
class Teacher< ActiveRecord::Base
has_many :works
has_many :classes, :through => :works
has_many :works
has_many :classes, :through => :can_teach
end
class Class < ActiveRecord::Base
has_many :works
has_many :teachers, :through => :works
has_many :works
has_many :teachers, :through => :can_teach
end
but this doesn''t work..
Anyone knows how to do this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/...
2005 Nov 30
1
home directory permissions
Hi all,
I use samba-3.0.20b on a solaris 10 box with a ldap backend.
All works fine except one thing:
I have an account "bob".
Its home directory is "/tmp/teachers/bob"
Its group is "teachers".
However when I define the teachers repository permissions like this:
[zoe.root:367] ls -al /tmp
drwxrwx--- 2 root teachers 177 Nov 15 13:22 teachers
(access in rwx only for root and "teachers" group members)
It doesn't work...
2007 Dec 04
5
when to save, session reflect saves?
I am trying to clean up unnecessary lines (even as I hack my way forward
adding more garbage)
I have two questions on lines I have trying to keep the database and
session info reflecting changes:
def associate_pupil_to_teacher
@teacher = session[:teacher]
@pupil = Pupil.find(params[:id])
@teacher.pupils << @pupil
@teacher.save #Q1
session[:teacher] = @teacher #Q2
end
#Q1 do i
2012 Apr 29
1
Samba4 with Posix ACL's
Hi everyone
I'm setting up a report writing system for a school. All teachers need
rw access to the reports which are in a folder of the same name.
Teachers are in a group called teachers and there is a share called reports:
[reports]
path = /data/reports
read only = No
create mask = 0770
/data/reports has a Posix ACL:
getfacl /data/reports
getfacl: Removing leadin...
2003 Jun 19
2
Fitting particular repeated measures model with lme()
Hello,
I have a simulated data structure in which students are nested within
teachers, and with each student are associated two test scores. There
are 20 classrooms and 25 students per classroom, for a total of 500
students and two scores per student. Here are the first 10 lines of
my dataframe "d":
studid tchid Y time
1 1 1 -1.0833222 0
2...
2000 Jan 27
2
Many Unix accounts to one samba account
Hi Folks.
I have set up a samba server on a machine running Linux 6.1 and it works
perfectly. But i have a problem :
Approx. 200 teachers are going to register the students absence,
and I don't want them to have one password each. ( You know teachers and passwords ).. :-)
I thought I could change the Samba password once per month and deliver it to the teachers by e-mail.
But I dont want them all to log in using the same userna...
2006 Mar 25
1
Nuby: HABTM and drag-and-drop views
I have two tables that have a HABTM relationship: Teacher
has_and_belongs_to_many Groups, and Group has_and_belongs_to_many
Teachers.
This is what I want: select a Teacher, and then drag Groups from one box
to another to assign them to the teacher. Or, select a group, and drag
and drop Teachers to assign them to groups. All using AJAX, (off
course).
Only problem is, I don''t know even know where to start. Should I c...
2007 Apr 18
0
Samba / Winbind / LDAP - Can't access shares
...000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
# winbind separator = +
# winbind use default domain = yes
[Apps]
comment = old P-drive structure
path = /share/apps
browseable = yes
read list = +"BGS\Domain Admins" +"BGS\Domain Users" +BGS\teachers
BGS\pupils
write list = +"BGS\Domain Admins" +"BGS\Domain Users" +BGS\teachers
create mask = 744
directory mask = 755
force group = users
[odrive]
comment = odrive
path = /share/odrive
browseable = yes
read list = +BGS\teachers @"Domain Admins"
write list = +BGS\teac...
2010 Jun 18
0
Simple search in ror
Hi,
i need to implement a simple text function for the app i dev now.
1- the form in app/views/layouts
<% form_tag({:controller => "teachers", :action => "search"}, :method =>
"get") do %>
<%= text_field_tag :query, nil, :id => "search-text" %>
<%= submit_tag("GO", :id => "search-submit") %>
<% end %>
2- the search method in teacher_controller.rb...
2014 Feb 05
0
Solr Search with one to many associations
...teacher_id
belongs_to :teacher
end
The possible values for day attribute is slot are "Sunday", "Monday",
"Tuesday", etc
and start and end time would be "2:00pm", "6:00pm", etc in the database
How would I perform solr search query for the teachers who are having
for 3 days Monday, Tuesday and Wednesday between the time "2:00pm" and
"5:00pm"
I am trying with following code which is not taking "AND" condition to
retrieve only the teachers having classes all 3 days rather taking as
"OR" condition.
S...
2004 Jul 05
1
on the fly access and privilege determination
Hi,
I have a active directory domain of windows 2000.
inside AD i have three user groups. Teachers, students
and administration.
every user has his home directory created on the
fly. the umask is 0022.
now what i want is that apart from users accessing
there home directories there should be some other
folders too which they can access.
like teachers would like to access the assignments
fold...