Displaying 20 results from an estimated 10000 matches similar to: "rails apps with a nice functional test suite"
2006 Jan 19
3
Why does Object.subclasses_of ignore subclasses within modules?
ActiveSupport provides a method Object.subclasses_of, shown below:
def subclasses_of(*superclasses)
subclasses = []
ObjectSpace.each_object(Class) do |k|
next if (k.ancestors & superclasses).empty? ||
superclasses.include?(k) || k.to_s.include?("::") ||
subclasses.include?(k)
subclasses << k
end
subclasses
end
Can anyone shine some light on why
2005 May 27
3
rake stats
I can''t believe i just found out about this. I''m curious to see what
the stats on other people''s projects look like. Here''s mine (8 hours
dev time):
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
2005 May 10
58
A quick straw poll
How many of you are using Rails:
1. As the primary development tool at your Day Job
2. As a small part of your Day Job
3. Not using Rails in your Day Job, but are using Ruby
4. For OS/outside work/hobby
--
sam
http://www.magpiebrain.com/
2009 Mar 14
2
SEM model testing with identical goodness of fits
HI,
I am testing several models about three latent constructs that
measure risk attitudes.
Two models with different structure obtained identical of fit measures
from chisqure to BIC.
Model1 assumes three factors are correlated with each other and model
two assumes a higher order factor exist and three factors related to
this higher factor instead of to each other.
Model1:
model.one
2008 Nov 15
1
[dspam-users] mysql fetch row error
Hi Steve,
MTA = Postfix
I have amavis - spamassassin - dspam installed.
i think spamassassin scnas after dspam, cuase in the mail headers dspam
comes at first.
I use Dovecot as Imap Server
OS = Gentoo Linux
i put the config of dspam here = http://rafb.net/p/VCX8XO97.html
if u need more confs just tell me , i can paste then
marko
Steve schrieb:
> Hallo Marko
>
> This is not
2011 Dec 23
2
Decoding only a certain frame results in different values than when decoding the entire file
My file is 3 hours long, so decoding takes around 5 minutes on an
average computer.
That is a bit too long unfortunately...
Am 23.12.2011 20:38, schrieb Steve Checkoway:
> On Dec 23, 2011, at 10:54, Hermann Weber<hermie.weber at gmx.de> wrote:
>
>> And how many frames does Speex need to "recover"?
>> Or is that not predictable?
> No idea. My guess is not
2006 Jan 09
3
XSS prevention with Rails
Hi!
I wanna take a stab at implementing better XSS prevention for Rails.
This time for real =)
I''m wondering what would be the better way, clean everything up with
tidy first and then do the rest with regexp or regexp all the way?
Anybody done this before?
Thanks!
Ciao!
Florian
2020 Feb 14
5
Moving the AVR backend out of experimental
What do you see as the pros and cons of making it a stable target? Does anyone else have any concerns about doing so?
-Chris
> On Feb 14, 2020, at 7:59 AM, Nico Weber via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> +better dylanmckay address
>
> On Fri, Feb 14, 2020 at 10:58 AM Nico Weber <thakis at chromium.org <mailto:thakis at chromium.org>> wrote:
2013 Mar 08
4
create bar chart with different totals in a bar
Hello together,
perhabs anyone of you, has an ideal, how i can do this:
I have a matrix, like this one:
[,1] [,2] [,3]
[,4]
abnr2 11425 11425 11555 11888
TIME 2 1 1 2
Cat 1 2 1
2009 Dec 04
2
curve fitting to data
Hi to all
This is the first time I am quoting a question and I hope, my
question is not too basic...
For the following data, I wish to draw a fitted curve.
x <- c(123,129,141,144,144,145,149,150,158,159,163,174,183,187,242,248)
y <-
c(14.42,26.96,31.3,19.95,36.36,15.4,24.76,35.39,28.07,40.97,26.23,42.83,46.53,14.79,49.18,48.08)
If I plot the data, it looks somehow that a logistic
2006 Jul 31
9
Multiple Pagination
I have the following:
def index
begin
@restaurant_pages, @restaurants = paginate :restaurants,
:order => (params[
:sort ] || "name"),
:per_page => 2
@cuisines = Cuisine.find_all
rescue
redirect_to :action => :index
end
end
# sort by cuisine
def
2004 Apr 08
2
Building 3.7-p1 on i686-pc-linux-gnu for execution oni386-pc-linux-gnu
Peter, thanks for the idea! I did it exactly as you described... and I
still get "Illegal instruction" on the 386 platform.
I also tried
# CFLAGS='-mcpu=i386 -march=i386' ./configure --prefix=/my/prefix/here
and
# CFLAGS="-mcpu=i386 -march=i386" ./configure --prefix=/my/prefix/here
just for grins, and all had the same result.
Still trying...
Thanks,
Mike
>
2003 Jun 27
2
OCFS - NFS
Hi,
well i mounted the OCFS drive over nfs, but it seems to have problems
with it, because the NFS does not detect changes (if I add or delete files)
the nfs shares still shows the old status. If i delete a file on the OCFS
volume, and i am doing a "ls" on one of the nfs clients, it says for every
file which was on the ocfs, "no such file or directory". Did I miss
2011 Dec 23
2
Decoding only a certain frame results in different values than when decoding the entire file
And how many frames does Speex need to "recover"?
Or is that not predictable?
Greetings,
Hermann
Am 23.12.2011 19:17, schrieb Steve Checkoway:
>
> On Dec 23, 2011, at 10:03 , Hermann Weber wrote:
>
>> I found out something:
>>
>> The more frames I decode before the frame that I actually want to
>> decode, the better the quality becomes.
>> For
2004 Oct 05
3
Need R Version 1.8.0 or earlier
Hello.
I need R in Version 1.8.0 or earlier. I also need the packages foreign, x-table and gregmisc for this version. Does anyone know where I can get it?
Greetings
Michael Weber
[[alternative HTML version deleted]]
2019 Jun 06
4
Adding llvm-undname to the llvm-cov bot
On Wed, Jun 5, 2019 at 1:33 PM <vsk at apple.com> wrote:
>
>
> On Jun 4, 2019, at 4:41 PM, Nico Weber <thakis at chromium.org> wrote:
>
> On Mon, Jun 3, 2019 at 2:06 PM <vsk at apple.com> wrote:
>
>> Hi Nico,
>>
>> Sorry for the delay, I've been OOO. The llvm-cov bot should produce
>> reports for llvm-undname starting today.
>>
2010 Jul 26
2
Trouble using grid.layout in Sweave
Hi!
I am troubled by Sweave which I want to use in order to plot graphics which
I build up successively by the use of grid.layout. Here is the code:
<<fig=TRUE,label=evolDist,height=6in,width=3in,pdf=FALSE>>=
## combined plot via grid viewports
grid.newpage()
pushViewport(viewport(layout=grid.layout(2,1)))
vlay <- function(x,y) viewport(layout.pos.row=x, layout.pos.col=y)
2016 Sep 01
2
[cfe-dev] Revisiting our informal policy to support two versions of MSVC
I don't see how the policy of supporting 2 versions is related to that
difficulty though. Whether we support 1 versions or 2 versions, 1 version
is still going to be deprecated every time a new version is released. So
this burden on upgrading buildbots doesn't seem to be much different.
As long as chromium compiler version is not tied to llvm compiler version
(and if it did, that would be
2016 Sep 01
2
[cfe-dev] Revisiting our informal policy to support two versions of MSVC
On Thu, Sep 1, 2016 at 1:30 PM, Aaron Ballman <aaron at aaronballman.com>
wrote:
> On Thu, Sep 1, 2016 at 1:23 PM, Nico Weber via cfe-dev
> <cfe-dev at lists.llvm.org> wrote:
> > As mentioned upthread, we're still on update 2 for various reasons.
>
> Do you mind elaborating on those reasons?
Off the top of my head, clang-cl couldn't handle the code
2005 Mar 18
4
Is a .R script file name available inside the script?
Hi,
if we have a file called Rscript.R that contains the following, for example:
x <- 1:100
outfile = "Rscript.Rout"
sink(outfile)
print(x)
and then we run
>> source("Rscript.R")
we get an output file called Rscript.Rout - great!
Is there an internal variable, something like .Platform, that holds
the script name when it is being executed? I would like to use