Displaying 20 results from an estimated 69 matches for "pupils".
2003 Jul 16
1
Help on NNET
Hi, Dear all,
I am just starting using R in my work and got some trouble to figure out some of the errors. Can anybody help me?
The following is the script:
read.csv('pupil.txt',header=TRUE,sep='\t')->pupil
samp<-c(1:50, 112:162, 171:220, 228:278)
pupil.nn2 <- nnet(Type ~ ., data = pupil, subset = samp, size = 2, rang = 0.1, decay = 5e-4, maxit = 200)
2006 Jul 05
5
''m having trouble with BackgrounDrb
Hi. I thought that BackgrounDrb was the perfect solution for my long
running report production tasks.
But I can''t seem to get anything useful back out of it.
I set up a simple test worker that just does
class TestWorker < BackgrounDRb::Rails
attr_reader :pupil
def do_work(args)
@progress=0
@pupil=Pupil.find(3)
sleep rand*10
@progress=100
end
when I try to
2006 Feb 24
2
Problem Referencing Fixture Objects
In my tests, I use fixtures, eg pupils.yml might be:
jimmy:
id: 100003
known_as: Jimmy
surname: Page
academic_year_id: 1
gender: m
In the test, @jimmy (the referencing style referred to in Agile Web Dev....)
is nil, whereas pupil(:jimmy) returns the expected Pupil object.
What gives?
Robert
2007 Dec 04
0
a new model object associated with two parents
...ing to accomplish
Say that I have a Pupil model . Perhaps also a Teacher, Course models.
Teachers will have things called Course_Offerings. To keep track of a
pupils performance in a course there will be a separate model called
Course_performances. These course_performances will belong to both
Pupils and to Course_offerings. In addition to foreign keys, Id like
the course_performance records to have their own copy of the Pupils
"full_name" for easy access in views.
Given a list of Pupils, is the code below an efficient way of creating a
course_performance instance and associating...
2007 Dec 04
5
when to save, session reflect saves?
...rying 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 need to do a save or is the objected reffered to by @teacher
automatically saved when association is augmented?
#Q2 if I want the @teacher object in session to reflect the current
association do I need to put th...
2007 Apr 18
0
Samba / Winbind / LDAP - Can't access shares
...d = 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\teachers @"...
2007 May 11
1
Anova
Doea anyone know how to compute components of variance analysis? For example, I have the score of pupils on a test. Each pupil belongs to a school and within each school I may have several classes? How can I estimate the variance of the pupils, schools, classes and the errror variance?
Any examples?
Any help will be appreciated.
Jason
Dr. Iasonas Lamprianou
Department of Education
The University...
2004 Jul 27
2
logged in users
Hallo,
i've got a little question:
is it possible to query the domain controller
which user is loggid in from which workstation.
I'm writing an webapp for teachers; it would be nice to know
which pupil logged on from which workstation to shutdown the
correkt workstation in order to kick the pupil (force logoff)
or is there an other way to
2008 Aug 04
0
Help needed: strange issue with share mapping at logon
.../etc/samba/smb.conf. Obviously some tweaks were made to the Samba config
to deal with changes in the LDAP DB organisation (users in a different
OU, etc.), but share definitions were kept intact.
What's going wrong is this: shares that *should* be being automapped for
members of the "CSSG Pupils" and "Technology" groups are not being
automapped. Other shares, that all users get via logon.kix, are mapped.
the logon script is definitely being run - one can watch it execute when
a user logs on. It's not a rights issue - members of "CSSG Pupils" can
use "net u...
2006 Jul 03
13
Eager loading ActiveRecord objects
I have a complex graph of ActiveRecord entities that I want to load with
one big honkin'' join query to avoid ripple loading. It''s for a report.
However :include doesn''t get me all the way there because I want to load
parents of parents (or children of children). I don''t mind doing the
SQL by hand but I''m not quite sure what to do to get the result
2006 Feb 07
1
hardware and configuration for school's servers
...A 800MHz processor with 80GB IDE hard drive.
there is no domain at the moment, just simple sharing, security share
and smbpasswd file.
I have 300 computers (each classroom has 20) with winxp sp2 auto logon
limited local account,
300 users (6 intake groups).
Passworded home directorys on Samba and Pupils have access to it by
clicking on icon which
fire up small VBS script which ask them for username and password and map
"My Documents" for them. Each classroom has a printer and on each
machine in classroom it is installed as local printing to port.
I am managing users accounts using my s...
2014 May 19
1
Zero byte files
...winbind use default domain = no
client use spnego = yes
client ntlmv2 auth = no
encrypt passwords = yes
restrict anonymous = 2
log level = 0
[Staff]
path = /staff
comment = Staff Data Directory
browseable = yes
writable = yes
# Valid Users = @Staff
hide files = /desktop.ini/RECYCLER/Thumbs.db/
[Pupils]
path = /pupils
comment = Pupil Data Directory
browseable = yes
writable = yes
hide files = /desktop.ini/RECYCLER/Thumbs.db/
[scripts]
path = /scripts/logons
browseable = yes
writable = yes
hide files = /desktop.ini/RECYCLER/Thumbs.db/
Thanks,
Julian
--
Borden Grammar School,
Avenue of Rememb...
2002 May 21
1
Linux to Windows Dfs
Howdy
Is there any reason why I cannot mount to a Dfs share on a Windows 2000 box
from Linux?
I have tried:
# mount -t smbfs //server/share$ /mnt/point -o username=user
Which works...
# mount -t smbfs //server/share$/home/pupils/user /mnt/point -o username=user
Trying to mount any share within the Dfs root retruns:
23479: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid
share name)
SMB connection failed
Help...?
;)
--
Warwick Bruce Chapman
The eSpot Technology Company
Durban, South Africa
http:...
2004 Oct 18
1
Intermittent "Network name cannot be found" error when accessing XP roaming profile
Hi guys,
How are you ?
I've installed samba-3.0.7 from source on a Slackware Linux 10.0 server
configured with "--with-ldap" as a backend (OpenLDAP-2.2.13) and with
nss_ldap installed. I have my profiles share configured as follows:
[profiles]
comment = Profile Share
path = /data/profiles
writeable = yes
guest ok = yes
browseable = no
profile acls = yes
csc policy = disable
1997 Sep 12
6
Folder Permissions
Hi All,
Can somebody help me set this up.
I'm trying to set up a public folder on my SAMBA server which will let
my users create their own folders to store their files.
And not let everyone delete them.
Following are the problems I'm having:
1) If I set the directory rights to 755 on /exports and share the
/exports/public directory with ~/public set to 755
Users can't create
2005 Nov 15
9
Multiple Login scripts
Hi all,
Just a quick question about login scripts for a large number of users who
change rooms a lot.
I have several rooms each with a printer, and nearly a thousand users divided
into two main groups - pupils and teachers who change rooms on a routine
basis. Is it possible to set up multiple login scripts that would be executed
in sequence i.e. run by user is %u, and machine is %m is it possible to say
run %u to set up shares followed by %m to set up the right printers for the
room their in?
Thank...
2015 Feb 25
1
performance issue with large group and dbcheck / dc join
...ation into dbcheck (4.1.17) and some "human powered"
valgrind like evalution using pudb, I came to the conclusion that it was
the computation of the memberof attribute that was to blame. Disabling
that attribute check in the dbcheck code did solve the issue.
Actually there was a "pupils" group where all new pupils were
automaticaly added (and which had in fact no real usage). So that was a
group with about 10k members. Deleting the group resolved the dbcheck
performance issue and the join at the same time. The dbcheck went for a
few hours of run to just 6 minutes. I think...
2007 Apr 17
0
LDAP PDC migration gone wrong.
...group both return full lists of users and
groups from the UNIX/LDAP side suggesting that nss and pam and
successfully communicating with smb5.
The problems start when trying to access shares configured on the member
server. If the ownership of the file is set to testuser who is a member
of the pupils group, testuser can access it. If the owner is set to
admin and the file is grouped to pupils, no-one in the pupils group can
access it even with the group perms set to rwx.
I suspect that as owner/users can access shares but groups can't that
group mapping is stuffed. My questions are ther...
2005 Jan 19
2
winbind usernames
...John Smith" directory in /home. *Then*, if they log
in as "john smith", they get a second directory
created as "john smith" in /home!
(yes, our nt4 usernames have whitespace in them, and
yes, it's a headache - but that's another story)
This is for a network of 600 pupils and teachers, who
cannot remember if they logged in lowercase, uppercase
or both.
How can I either (i) enforce lowercase only, or (ii)
have winbind treat "John" and "john" the same?
Thanks
--
Matt
___________________________________________________________
ALL-NEW Y...
2013 Oct 24
4
Restrict access to users home drives
...only = No
I have also tried additional option:
browseable = no (the home drive won't show up at all after login)
valid users = %u (the folder can't be created from ADUC because the
administrator doesn't have the right to do that)
The server is running at school and there are several pupils who have
the ability to misuse this situation.
Thanks in advance
Thoralf