Displaying 20 results from an estimated 6000 matches similar to: "Checking div generation technique"
2006 May 18
3
How to call controller from a div
Hi guys,
it''s me again,
Just wanted to ask, what technique can you use to call a def inside your
controller while clicking on a div?
thanks,
Bing
--
Posted via http://www.ruby-forum.com/.
2006 Jun 28
9
Scaffold Issue with Postgres
Hi guys,
I''ve been able to successfully install the postgres adapter for a remote
database machine to get rails up. My machine is running on Fedora 2.
Rails version 1.1.2. Is my yml config correct? I am getting this error
when I execute script/generate scaffold service_contents content :
exists app/controllers/
exists app/helpers/
create app/views/spiel
exists
2006 May 31
2
Checkbox Help
Hi guys,
I am need to help again. Sorry for the newbie query but would definitely
appreciate the help.
Here''s the q: I generate a list of items from the database and render
them out with a checkbox beside them. A user may click more than one
item and I would want to save all checked items into another table. I
have been able to give each checkbox a unique id . Would anyone be able
2006 Apr 28
2
Trying to turn params field into a variable
Hi guys,
I have another question, we have this line on our .rb code:
@variable = params [:user][:bird]
I need to be able to change the 2nd field into a variable because it is
a changing valuename, I was wondering if you had any trick for that.
Meaning I need to make [:bird] into [:dog] or [:cat]...
It''s proven really tricky for me to get it to change I wonder if you
guys had any
2006 Jun 08
1
Using hidden fields to pass values
Hi guys,
Another question from a newbie.
I need to update a div on my page which gets updated regularly. So what
I''ve done is to create a hidden field which technically just contains
the user_id. This field doesn''t change. I was planning of pulling that
text field user_id data and putting it into params but it keeps on
giving me a nil value.
Is there a technique I could
2006 May 17
9
Render No Layout?
Hi guys,
Am having a problem.
I have this def in my index controller that works like this:
def do_something
$a = variable1
$b = variable2
$c = variable3
$d = ""<script language=\"Javascript\"> \n new Insertion.Bottom(''#{$c}'',
''#{$a} - #{$b}''); \n </script>"
$trigger = "1"
render(:partial =>
2006 May 30
11
Another String Manipulation Exercise
Hi guys,
And I thought it wasn''t a problem. Here''s my string
"/var/www/vhosts/mysite.com/httpdocs/public/file/mypic.jpg"
How do i take out all the text that comes before "mypic.jpg"?
Trickier than I first thought.
TIA,
Bing
--
Posted via http://www.ruby-forum.com/.
2006 Jun 15
1
Periodically Call Remote Condition
Hi guys,
I''ve been reading through the forums and came across a response for
adding :with condition to a periodically call remote.
I tried it out and couldn''t make it work. Would anyone have a sample of
how to use this conditional structure with periodically call remote?
If not, does anyone have any idea how to add a condition to a
periodically call remote?
What I need is to
2004 Nov 17
1
Re: variations on the theme of survSplit
Danardono <daodao99 at student.umu.se> wrote:
>
> While waiting for 2.1, for those who need function[s] for this
> survival-splitting business, as I do, this 'survcut' function below
> might be helpful.
> It is not an elegant nor efficient function but it works, at least for
> some examples below.
>
Ditto the following, for the case where there are multiple
2009 Oct 21
2
three related time series with different resolutions
I have three time series, x, y, and z, and I want to analyse the
relations between them. However, they have vastly different
resolutions. I am writing to ask for advice on how to handle this
situation in R.
x is a stimulus, and y and z are responses.
x is a rectangular pulse 4 sec long. Its onset and offset are known
with sub-millisecond precision. The onset varies irregularly -- it
doesn't
2006 Jul 19
4
How do I overwrite/extend a scaffold module?
I have many pages to generate quickly. They are based off of the scaffold
generator, but I want to convert the rhtml files to Markaby, and change some
formatting. Without having to do a lot of repetitive hand editing. Is there
a simple way to overwrite/extend part of the scaffold generator? Do I need
to write my own from scratch?
--
Best Regards,
-Larry
"Work, work, work...there is no
2003 Jul 26
1
A model for disease progression
I would be grateful for advice about the following problem. It's not
directly R-related, but I'm hoping that R will help me analyse the
following data.
I have a table which indicates the progression of a certain age-related
disease. At a certain point in time, a population was sampled; and I have
measurements for the age of each individual, and their disease stage.
(Disease stage is an
2007 Jun 25
2
changing the position of the y label (ylab)
How can I change the position of the ylab, after
enlarging the margins with par(mar=...)?
Here is the relevant code snippet
----
par(mar=c(5.1,5.1,4.1,2.1))
plot(c(1979,2003),c(40,50),ylim=c(1,73),lab=c(20,10,1),pch=21,col='blue',bg='blue',axes=FALSE,xlab="Years",ylab="Onset/Withdrawl
Date",font.lab=2)
box()
axis(1,las=2)
2011 Jun 03
1
Surv(): Stop time must be > start time, NA created
I am writing to get a better handle on a warning I am getting from a coxph analysis I am doing.
I am analysing age of onset of dementia *after* the onset of parkinson disease. My data looks like:
age.park age.dem age.death censor x1 x2 x3 x4
1 76 87 88 0 16 33 E3 E3
2 75 84 84 0 33 36 E3 E3
3 77 81 81 1 NA NA
2014 Dec 03
1
Creating a USB bootable modified netinstall ISO image
On Dec 3, 2014, at 12:01, Greg Bailey wrote:
> I think you'd need to use the "isohybrid" command that's included in the syslinux package.
BING! BING! BING! We have a winner! Thanks for that info, it makes
the USB stick bootable. This will make kickstart installations so much
easier, especially for systems that don?t have a CD-ROM (we used to
have to scrounge for an
2009 Nov 05
3
programming phones
I have question thats not really about astrisk but I figure you guys are doing this sort of thing.
We use Aastra 6757i phones. there is some support for XML. the question is how would i go about learning to customize these phones?
_________________________________________________________________
Bing brings you maps, menus, and reviews organized in one place.
2006 Oct 17
2
RODBC and NULL values
Dear All,
Writing sooner than I thought I'd need to.
I'm using R 2.4 on Mac OS X, with RODBC, PostgreSQL 8.1 and Actual's
ODBC driver. I have all my data in Filemaker 8.5, but it is
automatically exported into PostgreSQL for analysis as Filemaker's ODBC
and JDBC access is awful, slow and has a tendency to crash.
I have disability data where for each patient there is a survival
2015 Aug 02
3
ayuda con análisis de supervivencia
Hola a todos,
-Estoy estudiando el efecto de dos genotipos (~tratamientos) en la aparición de síndrome metabólico (MetS) con datos longitudinales recogidos a tiempo 0,7,10,15,20 y 25 años.
-He hecho un dataframe con las siguientes variables
MetS: Síndrome Metabólico (Si=1,No=0)
bmi: Indice de masa corporal (IMC) cuando se produce la conversión a MetS+ . Para los que permancen MetS-, esta variable
2005 Oct 28
3
Use voice onset timing to identify voiceless
In increasing the computation time and bit rate with VBR:
Has anyone considered implementing the standard audiological
recognition technique of using the duration of zero energy (voice
onset timing) to identify the presence of voiceless sounds?
I would like a means of determining whether or not a given window will
be full of voiced speech or not.
Matt
--
The swallow may fly south with the sun
2003 Sep 25
2
allShortestPath function in e1071 package
Hi All,
I am using the allShortestPath function based on Floyd's algorithm in e1071
package. It runs great when I have less than 5000 nodes. But when I tried to
work on more than 5000 nodes, I ran into memory problem. The problem I really
want to solve has 10000-15000 nodes.
Does anybody know how to deal with this problem? Are there any other packages
in R that can handle this problem?