similar to: NOOB: Numeric only input...can it be done on client?

Displaying 20 results from an estimated 1000 matches similar to: "NOOB: Numeric only input...can it be done on client?"

2006 Jan 18
5
NOOB Ajax question: handling form input
Hi, I was trying to modify how a standard edit form works so I could use Ajax to truncate a zip code field which became too long as the user is entering the value. The form was generated by the generate scaffold script. The form is filled with default data taken from the current record. I coded the following changes to a field in the _form.rhtml file: <%= text_field
2011 May 20
1
Contrasts in Penalized Package
Hi, The "penalized" documentation says that "Unordered factors are turned into as many dummy variables as the factor has levels". This is done by a function in the package called contr.none. I'm trying to figure out how exactly is a model matrix created with this contrast option when the user calls the function with a formula. I typed "library(penalized) ;
2006 Aug 11
5
actionmailler corrupting emails
Hi All, I have a problem with actionmailer corrupting my html emails. It is adding the character ''3D'' before any quotes (single or double) in my source and smattering ''='' characters throughout as well. Very strange. Here''s an example from one of the emails: ________________ <body> <div id=3D''wrapper''> <div
2007 Dec 03
3
Request param type of array
Hello. I have tested such form: <form method=''POST''> <input type=''hidden'' name=''myfield'' value=''value1''> <input type=''hidden'' name=''myfield'' value=''value2''> <input type=''submit'' name=''_submit''
2012 Jun 19
1
Reference classes and memory consumption
Dear All, It seems that reference classes consume a lot of memory which became a problem for my rather extensive simulation. I prepared a small example. An instance of this minimal class uses about 20K on disk. rm(list=ls(all=TRUE)); MySmallClass = setRefClass("MySmallClass", fields = list( myField = "numeric" ), methods = list( initialize =
2006 May 08
17
partial problem
def my_controller @variable = [{''myfield''=>''grey''},{''myfield''=>''blue''}] end #-------------------------my_view <table> <%= render :partial=>''my_partial, :collection=>@variable %> </table> #----------------------_my_partial <tr> <td><%=
2011 Jan 26
1
How to call subset in a for loop?
Dear all, I have a data frame 'myDf', in which one of the fields 'myField' can have several possible values. To extract the observations for which it has value "A", I can do: subset(myDf, myField="A") However, when I try to do this within a loop, it doesn't work, it returns everything, and not a subset for (currField in c("A", "B",
2010 Jun 23
2
About normality tests...
Hi all, I have two very large samples of data (10000+ data points) and would like to perform normality tests on it. I know that p < .05 means that a data set is considered as not normal with any of the two tests. I am also aware that large samples tend to lead more likely to normal results (Andy Field, 2005). I have a few questions to ensure that I am using them right. 1) The Shapiro-Wilk
2002 Dec 12
1
improving ts object
Dear all, Currently, a ts object behaves like an array, and it would be very useful to have a similar object, which would behave like a data.frame, i.e. it could be indexed, named, etc. like a data.frame. What would be the most efficient way to construct such an object? I have tried to make one on my own following the directions of class design from "S Programming" (2000) as a
2006 Sep 03
9
using highlight from aaf
Hi, I''m trying to use highlight ferret method with trunk aaf and 0.10.1 ferret. In my search display I use: Myindexedclass.ferret_index.searcher.highlight(@query, result_line.id, :content) * searcher is a protected method; how can I access to the searcher from aaf ? * is the doc id in aaf the same as my model id ? * is the first param, query, the string query or the query object ?
2004 Sep 02
2
Polycom Microbrowser
I have just spent the morning playing around with a Polycom IP600's microbrowser. Everything is working pretty well. In answer to the question of what type of XML it runs, it appears to be more or less XHTML-compliant. I have created a basic set of web pages allowing users to clock in and out against our MySQL timeclock system, running a PHP back-end. It's running like a champ.
2006 Jun 24
6
convert 0, "0", "true", etc. to boolean
Hi, is there a ruby / rails builtin function that converts - 0 / 1 - "0" / "1" - "yes" / "no" - "true" / "false" to a boolean? cheers peter
2016 Oct 10
3
Problems connecting to the libvirtd server
Hello everyone I do not know if it is correct address this mailing lists but I can not use libvirt. I run compile libvirt version 2.2.0 into environment lfs stable with qemu 2.7.0 and have not had any problems. The program when it starts not report any errors in the log, with activated debug level file. Only when you try to connect with the following command virsh -c qemu:///system remains hung
2016 Oct 12
2
Re: Fwd: Problems connecting to the libvirtd server
On 11.10.2016 18:39, Stefano Ricci wrote: > ---------- Forwarded message ---------- > From: Stefano Ricci <sfn.rcc@gmail.com> > Date: 2016-10-11 12:35 GMT+02:00 > Subject: Re: [libvirt-users] Problems connecting to the libvirtd server > To: Michal Privoznik <mprivozn@redhat.com> > [Please don't top post on technical lists] > > There is not AppArmor and
2017 Oct 02
2
[PLUGIN] Virtual keywords (aka Gmail-like labels)
Yes, automation is the main point of the plugin :-) The problem is that creating virtual folders involves writing on the file system directly, which you can't do through IMAP alone. So I had to work within the mail server. What I really wanted to do was to create a storage driver (it seemed more suitable to the plugin scope), but that was much more complex and it will probably come in a
2011 Sep 08
3
Conga problems
Hi all, I've spent the past little while attempting to setup Conga on a two node CentOS 6 cluster. While I do have the cluster up and running, I'm running into problems attempting to start services through luci on either node. A little background information: -Both nodes have dual NICs, one interface on each node will be used for the WAN, the other is a private gigabit crossover
2017 May 03
2
Re: Libvirtd freezes
On 05/01/2017 09:57 AM, Stefano Ricci wrote: > 2017-05-01 7:32 GMT+02:00 Michal Privoznik <mprivozn@redhat.com>: >> On 04/30/2017 07:12 PM, Stefano Ricci wrote: >> >>> >>> The version used for backtrace is 3.2.0, now I have also tried the >>> current downloaded with git but the problem is always present. >>> This is the current version log
2004 Nov 12
4
Mode in case of discrete or categorial data
Thanking John for his suggestion I build this function which get the mode of both categorial and discrete data. Mode<-function(x){t<-table(x) if (is.numeric(x)) as.numeric(names(t)[t == max(t)]) else (names(t)[t == max(t)]) } Any other improvement and suggestion will welcome. Best Vito > s [1] 1 1 6 1 1 7 6 5 6 2 1 4 5 6 6 7 3 5 4 1 7 3 7 3 3 7 7 2 1 4 4 2 7 7 6 6 1 2 [39] 5 1 7 7
2017 Apr 27
2
Libvirtd freezes
Hello everyone I come back to ask for a hand to solve a problem that has affected me since October 2016 and I have not yet solved using libvirt. I thought I would solve it by going to a 4.9.x kernel with qemu 2.8.1.1 and with libvirt 3.2.0. Compile it all in a stable LFS environment version 7.9 and that all checks pass without errors. The strange thing is that the libvirtd process starts without
2009 Mar 25
1
SIPPEER equivalent for users.conf ?
Hi, In sip.conf, it's possible to add a line such as setvar=MYFIELD=foo and access this value from diaplan with SIPPEER function. 1. Which function is available to access values in users.conf such as vmsecret ? 2. Is it possible to extend users.conf with custom keys/values ? Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: