search for: student

Displaying 20 results from an estimated 12553 matches for "student".

2007 Dec 02
3
Better way for select list for belongs_to?
I''m currently doing all of this just to have a drop-down list of Courses for a particular student: ===== edit template ===== <%= f.select :course, @courses, :selected => @student.course.id %> =================== ===== students controller ===== def edit @student = Student.find(params[:id]) @page_title = "Edit #{@student.full_name}" @courses = Course.find(:all...
2016 Oct 12
3
Dragon egg not recognizing Target ARM machine
...d when I gave take, it is not getting recognized for ARM machine. Can you please help me with. Below are the errors when I gave the below command inside dragon egg directory GCC=GCC_DIR/gcc LLVM_CONFIG=LLVM_DIR/install/bin/llvm-config make Compiling Backend.cpp In file included from /gaia/class/student/seerangv/DRAGONEGG_DIR/src/Backend.cpp :28:0: /gaia/class/student/seerangv/DRAGONEGG_DIR/include/arm/dragonegg/Target.h:34:52: error: "!=" may not appear in macro parameter list #define DEFAULT_TARGET_AAPCS_BASED(ARM_DEFAULT_ABI != ARM_ABI_APCS &&...
2006 Jan 18
5
Inserting the parent Id to the child table
Hi All, I need your suggestions for the following. I am still learning RoR and pardon my ignorance. I have say two tables. Table A : students Table B : addresses Table B has student_id as the foreign key to Table A If I am displaying the list of students and wanted to get individual students addresses based on their id, is the only option is to get the id from students controller method list into the session and use that session value...
2012 Sep 05
1
Mail Send and Receive Problem
Dear Friends , I have postfix mail server it is in running condition. But suddenly it is giving me error *Unknown user or password incorrect. * when I check log it is showing me *"Sep 5 10:26:51 student dovecot: imap-login: Aborted login (auth failed, 1 attempts): user=<jiten at student.ac.in>, method=PLAIN, rip=192.168.1.2, lip=192.168.1.2, secured"* After wait for few second it is giving me another log . Sep 5 10:08:45 student postfix/anvil[9307]: statistics: max connection rate 1/...
2011 Aug 25
1
Syntax for a three-level logistic model
Dear People at R help, I am trying to figure out the syntax for a three-level logistic model with a single random effect (intercept): Data Collected My data consist of three levels: level 1 is four setting for each student (setting nested within student), and each student is registered in one of 14 universities (students nested within university). More detailed: A. 2,479 students who have a dichotomous outcome, engaged in risk behavior (yes or no) in EACH of 4 different settings. Then I am using these settings as t...
2008 Jan 04
0
Martin Pelmore, Credit Cards For Students Offer Convenience And Safety
Martin Pelmore, Credit Cards For Students Offer Convenience And Safety Credit cards for students are a great deal for many individuals and groups. Parents will find that credit cards provide a convenient way to provide for their children away at school. Credit cards for students eliminate the necessity of students carrying around a lot...
2017 Oct 18
1
2018 ASA Computing/Graphics: Chambers Software Award and Student Paper Competition
Dear R-help Listers, The following two student competitions are of interests to the now many student R package developers. I'd appreciate your help in spreading them. #1. John M. Chambers Statistical Software Award 2018 The Statistical Computing Section of the American Statistical Association announces the competition for the John M. Cha...
2010 Jan 17
1
how to manipulate this data? Thank you very much!
Hi, R experts: I am asking for helps with manipulating this data: we have different groups: A,B, C, and so on. In each group, we have different students, for example, we have 6 students in A and 5 students in B. Each student gives a rating, which ranges from 1 to 3. We want to manipulate this data and add three more variables called as 1, as 2 and as 3. For example, in group A, for each student, we count the # of student before this student provi...
2010 Jan 04
4
function in aggregate applied to specific columns only
I want to use aggregate with the mean function on specific columns gender <- factor(c("m", "m", "f", "f", "m")) student <- c(0001, 0002, 0003, 0003, 0001) score <- c(50, 60, 70, 65, 60) basicSub <- data.frame(student, gender, score) basicSubMean <- aggregate(basicSub, by=list(basicSub$student), FUN=mean, na.rm=TRUE) This doesn't work, one cannot take the mean of a factor (gender). Is there any way...
2008 Apr 11
2
Validating an ActiveRecord object and its has_many :through associations
Considering an object with several has_many :through => associations, what is the ''best'' way to handle validations? As an example: class Student < ActiveRecord::Base # some attrbutes like # :name # :grade # relationships has_many :students_assignment, :dependent => :destroy has_many :assignments, :through => :students_assignment has_many :students_class, :dependent => :destroy has_many :classes, :through =&gt...
2005 Jan 20
3
Constructing Matrices
...g to construct a matrix of a particular form. For the most part, developing the matrix is simple and is built as follows: vl.mat<-matrix(c(0,0,0,0,0,64,0,0,0,0,64,0,0,0,0,64),nc=4) Now to expand this matrix to be block-diagonal, I do the following: sample.size <- 100 # number of individual students I<- diag(sample.size) bd.mat<-kronecker(I,vl.mat) This creates a block-diagonal matrix with variances along the diagonal and covariances within-student to be zero (I am working with longitudinal student achievement data). However, across student, I want to have the correlation equal to 1 fo...
2017 Dec 01
0
2018 ASA Computing/Graphics: Chambers Software Award and Student Paper Competition
Dear R-help Listers, The submission site for the two awards (Chambers Student Software; Computing/Graphics Student Paper) is open at http://asa.stat.uconn.edu<http://asa.stat.uconn.edu/> until the deadline, 5:00 pm EST, December 15, 2017. The results will be announced by January 15, 2018. The award recipients are expected to present in a topic-contributed session at th...
2007 Jun 18
1
Rsync with non-english characters in filenames?
...ibrary/Preferences/com.apple.systemuiserver.plist test070503/u2/Library/Preferences/com.apple.universalaccess.plist test070503/u2/Library/Preferences/loginwindow.plist test070503/u2/Library/Preferences/widget-com.apple.widget.weather.plist rsync: recv_generator: mkdir "/Volumes/Home_dirs/homes/students/kv04/kv04hen/inl?mningsuppgifter" failed: Invalid argument (22) rsync: stat "/Volumes/Home_dirs/homes/students/kv04/kv04hen/inl?mningsuppgifter" failed: Invalid argument (22) rsync: recv_generator: mkdir "/Volumes/Home_dirs/homes/students/kv04/kv04jnn/PROJEKT/peer re p? Grup A&...
2001 Oct 04
1
Many smbd processes per user
...th file locking etc to try and get around it. Thanks Tim tim@hostname:~> smbstatus -u yunjeng -S INFO: Debug class all level = 1 (pid 3077 from pid 3077) Samba version 2.2.1a Service uid gid pid machine ---------------------------------------------- yunjeng yunjeng student 939 ss-pc-40 (130.95.36.140) Thu Oct 4 15:58 :50 2001 yunjeng yunjeng student 2342 ss-pc-40 (130.95.36.140) Thu Oct 4 16:11 :35 2001 yunjeng yunjeng student 1098 ss-pc-40 (130.95.36.140) Thu Oct 4 16:00 :10 2001 yunjeng yunjeng student 2986 ss-pc-40 (130.95....
2010 Aug 05
2
[LLVMdev] VMKit Boehm MMTk Compilation
Hello, I've been able to get J3 working with the single and multimap garbage collectors but have hit several snags with Boehm and MMTk. For MMTk I get here: Buildfile: /cs/student/kyleklein/vmkit/mmtk/java/build.xml main: [mkdir] Created dir: /cs/student/kyleklein/vmkit/mmtk/java/classes [javac] Compiling 373 source files to /cs/student/kyleklein/vmkit/mmtk/java/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Reco...
2006 Mar 13
7
Problem with params
I''ve got a User model, which holds the following (excerpt): def try_to_authenticate User.authenticate(self.username, self.password) end .. private def self.hash_password(password) Digest::SHA1.hexdigest(password) end def self.authenticate(username, password) @user = User.find(:all, :conditions => ["username = ? AND password = ?",
2007 May 14
0
building and saving has_many and has_one relations
Hi, I am very confused about an aspect of has_one and has_many relations, with regard to using the build method, and saving the belongs_to side. It''s a somewhat long post. so please bear with me :) First let''s consider the has_one scenario. Let''s say I have a student who must own exactly one car: class Student has_one(:car) end class Car belongs_to(:student) validates_presence_of(:student_id) end When I do student = Student.new(attributes_of_student) car = student.build_car(attributes_of_car) The car is created, and I can do: student.save! car.save!...
2005 Jul 09
2
A shared space between students and their teacher !!!
Hi all, Last week I implemented samba a sa file server and domain controller for more than 150 computers (Win 2000 and XP). Everything is working just fine. However, computer science faculty wanted a share for each course in which students can upload their homework once done and teacher download them for correction. Yet, students can have the right to write on that share but not delete the work of other students. I did a test and works fine but students' work are delete-able by other users given the below share configuration:...
2007 Aug 09
2
trying to find records that haven't been updated in 2 weeks
My app has some students that have attendances. I''m trying to find students who have not attended class in the last 2 weeks. Here is my code that is not working: students = @school.students.active @missed_attnd = [] students.each do |student| unless student.attendances.empty? @missed_attnd << student...
2005 Jul 16
0
FreeBSD Summer of Code Projects Announced
The FreeBSD Project is pleased to announce its participation in the Google "Summer of Code" program designed to introduce students to open source software development. The FreeBSD Project received over 350 applications, amongst which 18 projects have been selected for funding. Unfortunately, due to the limited number of spots available, we were unable to fund many first rate applications. However, we encourage students to...