Displaying 20 results from an estimated 10000 matches similar to: "Multiple Sum/Average/Max/etc in one query"
2006 May 15
2
Retrieve the current controller name from a view
Hi all, I wonder if it''s possible to retrieve the current controller
name and possibly the action when you''re in a view.
i.e. I call the same template/partial view from different controllers
and I''d like to know when I''m in the view code which controller is
calling it...
Any ideas? Sorry if it''s obvious but I couldn''t find it in the doc.
2006 May 04
4
Ajax spinners
Hi all, I''ve been looking for these for quite some time now and I
couldn''t find them with a transparent background and a neutral color,
so here they are, just baked from the oven:
The Mac OS X and Mozilla Spinners (Grayscal and Transparent)
Enjoy
Gael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spinner_mac.gif
Type: image/gif
Size: 2530
2006 Apr 07
2
how much longer Mr Gael?
hi i have probably hit every error possible problem on windows while
trying to setup ruby on Lighty with mysql and ajax support, i''m leaving
mysql see(minor issue with mysql/ruby - major headache) for now and
moving onto AJAX, |webrickwall| not that easy i''ve tried my app on
lighty and i get the following error in the logfile and no ajax response
2006 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through
the hassle of setting up a Rails production environment on Win32
system since we mostly use MS SQL as our database back end and also
because we mostly dealing with customers who become green-blue-purple
as soon as you mention Unix/Linux and run for the door.
I also need to mention that most of our web applications are internal
and
2006 Feb 20
1
Further rgl()/spheres3d() query
Hi,
I am applying the following code to map pca loadings onto a 3d grid, my
problem is this - the output only plots the spheres in the requested color
(in this case "red") for the first argument. The sphere from the second
argument appear as flat dark circles. Also the text3d() command only seems
to work for a couple of the positions, with no text added in most cases.
Could anyone offer
2006 Feb 16
9
Mongrel 0.3.4 -- Win32 Gems/Better CGIWrapper
Hello Everyone,
Today''s Mongrel is the first release to sport spiffy pre-built win32 gems.
This comes thanks to Wilson Bilkovich donating some Rakefile magic that does
the stuff for me. Everyone who uses win32 should send Wilson a thank-you
since without him you''d be a victim of my laziness for at least a few more
weeks.
People who are testing and trying Mongrel out should
2015 Jun 15
0
Add on argument in seq()
Regardless of the value of the other arguments, the first element in
the output of seq() is _always_ `from`.
Hadley
On Mon, Jun 15, 2015 at 9:56 AM, Millot Gael <Gael.Millot at curie.fr> wrote:
> Thanks for your answer.
>
> The rational behind my proposal is why taking "from" when length.out=1, more than "to" or "NA", or " integer(0) " ?
2015 Jun 15
1
Add on argument in seq()
Millot,
On Mon, Jun 15, 2015 at 9:19 AM, Hadley Wickham <h.wickham at gmail.com> wrote:
> Regardless of the value of the other arguments, the first element in
> the output of seq() is _always_ `from`.
>
Indeed, as Hadley says, the output of seq must always start with* from*. It
is a sequence starting at *from* and ending wherever the other arguments
cause it to end. A sequence
2015 Jun 15
2
Add on argument in seq()
Thanks for your answer.
The rational behind my proposal is why taking "from" when length.out=1, more than "to" or "NA", or " integer(0) " ?
This question seems basic. But is is not in certain situations, like when length.out = unpredictable positive integer.
And I haven't found in ?seq() the particular behavior of this function when length.out = 1.
2006 May 19
4
why no multiple submit?
is it by design? is it standard? how do you give users multiple
actions on a form?
--
Posted via http://www.ruby-forum.com/.
2012 Oct 30
0
lapply and kernelUD (adehabitatHR package): Home Range kernel estimation for a list of individuals
Dear R experts,
I'm using the adehabitatHR package in order to perform a kernel analysis and
estimate the home range of my input data (GPS relocations of 42
individuals).
I've done the analysis for one of the individuals and it worked perfectly
(see code below).
But now I'm trying to use a list and call the function lapply to do the same
thing through all the 42 individuals (also see
2015 Jun 15
0
Add on argument in seq()
Millot,
I think the problem with that is that what you propose isn't a sequence
starting at from in any meaningful way, and thus does not satisfy the
contract of the seq function.
Best,
~G
On Jun 15, 2015 7:12 AM, "Millot Gael" <Gael.Millot at curie.fr> wrote:
> Hi.
>
> I have a problem with the default behavior of seq(), which gives the
> argument
2015 Jun 16
0
Add-on argument in sample()
Am .06.2015, 14:55 Uhr, schrieb Millot Gael <Gael.Millot at curie.fr>:
> Hi.
>
> I have a problem with the default behavior of sample(), which performs
> sample(1:x) when x is a single value.
> This behavior is well explained in ?sample.
> However, this behavior is annoying when the number of value is not
> predictable. Would it be possible to add an argument
>
2015 Jun 15
2
Add on argument in seq()
Hi.
I have a problem with the default behavior of seq(), which gives the argument "from" when the argument length.out = 1.
This behavior is annoying when the number of value determine in length.out is not predictable.
Would it be possible to add an argument that propose the median/mean, i.e. (from + to) / 2 when length.out = 1 ? Examples:
> seq(from = 1, to = 11, length.out=1) #
2013 Dec 18
1
[LLVMdev] GCModuleInfo and MCJIT
Hi,
I have the solution to my problem :). And the llvm gc infrastructure
can work with the current MCJIT without any change (good news).
I will explain what I have done to find the garbage collector metadata
generated by llvm with MCJIT, I'm pretty sure that it could help
someone.
And it's very easy. You just have to activate a static gcprinter for
the assembly. A very good example is
2006 Mar 30
1
ansari.test one-tailed (PR#8730)
Full_Name: Gael Millot
Version: 2.2.0.
OS: XP
Submission from: (NULL) (195.220.102.20)
Hello.
I sent an Email in r-help without answer for the moment.
I am wondering if it could have a mistake
in the code of the ansari.test function. For me, it seems that the function
do not recover the p value at the correct side of the normal law N(0, 1) when it
use
the normal approximation (presence of
2015 Jun 17
0
Add-on argument in sample()
Hi,
Special behavior of sample(x, ...) when length(x) is 1 is of course
a bad feature. I think it pre-dates sample.int() which is what people
should use these days if they want the behavior of sample(x, ...) when
length(x) is 1. And because we now have sample.int(), this feature
could in theory be removed from sample(). Unfortunately this would
break a lot of existing code so a warning or some
2006 May 22
6
which kind of deployment has the best performance
In the following deployment of web app on ONE pc-based server,running
linux,which can support the most amount of concurrent users as well as
the shortest latency?
1 apache+mongrel
2 apache+mongrel_cluster
3 lighthttpd+mongrel
4 lighthttpd+mongrel_cluster
5 lighthttpd+fastcgi
Thanks
charlie
--
Posted via http://www.ruby-forum.com/.
2006 Mar 14
1
groups issue with openssh (all versions since at least 3.8), AIX 5.3 and NIS
Hello
We are have a massive performance issue in our environment since a while. SSH logins simply take 30 s to 1 minute to give a
prompt, telnet are instantaneous. After doing a few tcpdump and comparisons between telnet and ssh connections, we noticed
that in average a ssh connection is generating over 12000 nis sessions, scanning basically all the group.byname table a few
times and we got a
2015 Jun 15
3
Add-on argument in sample()
Hi.
I have a problem with the default behavior of sample(), which performs sample(1:x) when x is a single value.
This behavior is well explained in ?sample.
However, this behavior is annoying when the number of value is not predictable. Would it be possible to add an argument
that desactivates this and perform the sampling on a single value ? Examples:
> sample(10, size = 1, replace = FALSE)