Displaying 20 results from an estimated 7000 matches similar to: "Creating your own params"
2006 May 10
7
AJAX effects
I was at http://rails.techno-weenie.net/ and I like what ajax does when
you click on "login" how can I do this on my own website? Is this with
the defualt JS libary?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 27
12
Stealing users IP address
Is there a functiaon to take the IP address of person who submits to a
form
example:
<input id="user_ip" name="user[ip]" type="hidden" value="<%=
some_ip_call %>" />
--
Posted via http://www.ruby-forum.com/.
2006 May 11
9
Undoing a SHA1
Hello for my password recovery system I want to recover the users
password and send it to them. In the DB its saved via SHA1 (login
generator)
--
Posted via http://www.ruby-forum.com/.
2006 Apr 27
2
Red cloth
what is the require I must put in my enviremnt to use red cloth?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 26
7
Not updating
I copied the scaffolding edit and update and made it like this,
Note: awnser is edit.
Admin_contoller.rb
def awnser
@question = Question.find(params[:id])
end
def update
@question = Question.find(params[:id])
if @question.update_attributes(params[:question])
flash[:notice] = ''Question was successfully updated.''
redirect_to :action => ''list''
2006 May 04
6
Login generator ALWAYS says login unseccesfull
Hey I just ran this "ruby script/generate login loging_in" here is my
SQL:
CREATE TABLE `users` (
`id` int(11) NOT NULL auto_increment,
`user_name` varchar(80) default NULL,
`login` varchar(120) NOT NULL default '''',
`last_update` timestamp NOT NULL default ''0000-00-00 00:00:00'',
`last_attack` timestamp NOT NULL default ''0000-00-00
2006 Mar 29
8
Action Mailer
Does anyone know where I can download an demo app of action mailer. I''ve
looked every where. I''ve also done the tuts. but, they don''t work for
me. Thanks...
--
Posted via http://www.ruby-forum.com/.
2006 Apr 27
11
Action Mailer Error!!!
What does this mean?
Bad file descriptor - connect(2)
--
Posted via http://www.ruby-forum.com/.
2007 Nov 15
1
Problem with rsync recent file logic ?
Hello,
I have 2 servers I'm synchronizing using rsync, I have a situation where I :
1. rsync from rnd-dev2 to rnd-dev1
2. change the rsynched file on rnd-dev1
3. rsync from rnd-dev2 to rnd-dev1 again
4. File gets overridden on rnd-dev1 over though it has newer change
time then file on rnd-dev2.
here is the bug(?) reproduction:
[root@rnd-dev1 test_rsync]# rsync --version
rsync version
2007 Nov 01
1
Problem with compiling 64bit R(2.5.1) under HP-UX(ia64)
Hi there,
We are trying to compile a 64bit version of R (2.5.1) on HP-UX
(B.11.23 U ia64), but are running into some problems.
This is our configure step:
../configure --prefix=/rnd/homes/lfan/R251 --enable-R-shlib CC="cc"
CFLAGS="+z +DD64" CXX="aCC" CXXFLAGS="-b -lxnet +z +DD64" FC="f90"
FCFLAGS="+DD64" F77="f90"
2012 Mar 30
4
[PATCH] virtio_blk: Drop unused request tracking list
Benchmark shows small performance improvement on fusion io device.
Before:
seq-read : io=1,024MB, bw=19,982KB/s, iops=39,964, runt= 52475msec
seq-write: io=1,024MB, bw=20,321KB/s, iops=40,641, runt= 51601msec
rnd-read : io=1,024MB, bw=15,404KB/s, iops=30,808, runt= 68070msec
rnd-write: io=1,024MB, bw=14,776KB/s, iops=29,552, runt= 70963msec
After:
seq-read : io=1,024MB, bw=20,343KB/s,
2012 Mar 30
4
[PATCH] virtio_blk: Drop unused request tracking list
Benchmark shows small performance improvement on fusion io device.
Before:
seq-read : io=1,024MB, bw=19,982KB/s, iops=39,964, runt= 52475msec
seq-write: io=1,024MB, bw=20,321KB/s, iops=40,641, runt= 51601msec
rnd-read : io=1,024MB, bw=15,404KB/s, iops=30,808, runt= 68070msec
rnd-write: io=1,024MB, bw=14,776KB/s, iops=29,552, runt= 70963msec
After:
seq-read : io=1,024MB, bw=20,343KB/s,
2003 Dec 15
2
help in lme
To anyone who can help,
I have two stupid questions, and one fairly intelligent question
Stupid question (1): is there an R function to calculate a factorial of a number? That is...is there a function g(.) such that g(3) = 6, g(4) = 24, g(6) = 720, etc?
Stupid question (2): how do you extract the estimated covariance matrix of the random effects in an lme object?
Intelligent question
2006 Jun 10
3
sparse matrix, rnorm, malloc
Hi,
I'm Sorry for any cross-posting. I've reviewed the archives and could
not find an exact answer to my question below.
I'm trying to generate very large sparse matrices (< 1% non-zero
entries per row). I have a sparse matrix function below which works
well until the row/col count exceeds 10,000. This is being run on a
machine with 32G memory:
sparse_matrix <-
2006 Apr 16
3
AJAX multi actions?
How can I do something like this:
<a id=a7 style="cursor: pointer;"
onClick = "new Effect.Fade (''li'');
Element.show(''a1'',''a2'',''a3'',''a5'',''a6'');
onClick = "new Effect.Fade (''rp'');
2006 May 15
5
Login generator errors.
Okay, I download login generator and I used it on my new app but, it''s
not working correctly. If the user logins on the same session as he
created he will login if it isn''t the same session it fails. What''s
going on?
--
Posted via http://www.ruby-forum.com/.
2010 Jan 18
1
A question about build R-2.10.0 on HP-UX ia64 server.
Hi R usrs,
I want to build R-2.10.0 on HP-UX, but I got following error message:
ld: Unsatisfied symbol "zgemm" in file CHOLMOD.a[cholmod_l_super_numeric.o]
ld: Unsatisfied symbol "zgemv" in file CHOLMOD.a[cholmod_l_super_solve.o]
ld: Unsatisfied symbol "zherk" in file CHOLMOD.a[cholmod_l_super_numeric.o]
ld: Unsatisfied symbol "ztrsm" in file
2010 Feb 22
2
Siegel-Tukey test for equal variability (code)
Hi, I recently ran into the problem that I needed a Siegel-Tukey test for
equal variability based on ranks. Maybe there is a package that has it
implemented, but I could not find it. So I programmed an R function to do
it. The Siegel-Tukey test requires to recode the ranks so that they express
variability rather than ascending order. This is essentially what the code
further below does. After the
2010 Jan 11
1
Help with Order
Dear List
As a fairly new R programmer I seem to have run into a strange problem -
probably my inexperience with R
After reading and merging successive files into a single data frame, I find
that order does not sort the data as expected.
I have multiple references in each file but each file refers to measurement
data obtained at a different time.
Here's the code
library(reshape)
#
2012 Sep 13
1
[LLVMdev] Question about optimizing mem in loop
Is there a strong reason why this simple code:
for(rnd = 0; rnd < Nrnd - 1; ++rnd)
{
// round(inv_rnd, b1, b0, kp);
for (iter = 0; iter < 4; ++iter) {
round_i(inv_rnd, b1, b0, kp, iter);
}
l_copy(b0, b1); kp -= nc;
}
Produces the complicated control flow logic in the attached CFG?
If I unroll the loop I no