Displaying 20 results from an estimated 700 matches similar to: "Dealing with Form Data"
2006 Mar 27
3
XML Storage?
Hey Folks,
Now that all the fun and games of learning Rails has almost sunk
in it''s time to build something useful. I am tasked with building a
system to control and search our large (and I mean large 1.5 million + and
growing) photograph collection. I have been building databases for years
and after thinking about the situation we decided that trying to store the
2007 Mar 28
1
Questions on tokenized x untokenized and date sorting
Gents, does this definition will allow me to search inside title,
sub_title and url and sort by score, rank_sort, last_updated_at_sort ?
acts_as_ferret :fields => { :title => {:boost => 2, :store => :yes},
:sub_title => {:store => :yes},
:url => {:store => :yes},
:rank_sort =>
2007 Apr 01
9
Important issue with [AAF] and :select
This is important and may be affecting you if you use :select to
minimize the columns you need on big queries.
If you use :select to define which columns you need and you have not
included all the columns you defined in the :acts_as_ferret field
definitions you''ll clear the content of those fields on the ferret
index. And that may corrupt your index.
So, if you have in your model:
2012 Mar 16
0
Rails tests failing
http://dl.dropbox.com/u/15024055/CloudShot/shot_15032012_232654.png
if i write the test like this its working just fine it passes green
[code]
it "should have the right title" do
get ''view''
response.should have_selector(''title'',
:content => "View Snippets")
end
[/code]
but for
2010 May 19
2
Reading in and writing out one line at a time
I hope that somebody can help me with this - I think very simple - issue...?
I am running a package that only accepts one line at a time, but I would
like to run this package on a dataframe of >500 lines.
Dataframe "d" is a single column:
APPLES
PEARS
AUBERGINES
KUMQUATS
I would like to read one line of my dataframe "d", individually into a new
frame "f", then
2006 Aug 16
3
Easiest way to create a google map mashup?
I wanted to add a mash up to my website and was wondering if there were
any recommendations? I saw that there is a cartographer plugin
(http://cartographer.rubyforge.org/) and also something else called YM4R
(http://wiki.rubyonrails.org/rails/pages/YM4R).
I have no idea if they are up to date or not or whether this is
currently the easiest/best way to go about it short of rolling your own.
2004 Mar 14
1
1.8.1 Make problem on SunOS
I am trying to make R-1.8.1 on (SunOS shell1 5.8 Generic_108528-15 sun4u sparc SUNW,UltraAX-i2). I did
./configure
make
Configure output seems ok. The make proceeds until the following line appears, repeated indefinitely (until I break):
./config.status: ./confstat28489-19881/subs.frag: cannot overwrite existing file
I suspect that this may involve write permissions (and maybe
the umask set in
2012 Sep 04
1
what package does the mesh function need
Hello,
I tried to plot some 3d-plots with the 'mesh' function, but I allways get
the message 'Fehler: konnte Funktion "mash" nicht finden' in english this
means 'error: can't find the function "mesh"'.
Do I need another package? I didn't found anything in the web this
afternoon, only descriptions how to use the function. I looked up a lot of
2017 Oct 15
2
Problems about implementing a customized overlay network via Tinc
Hi guys:
I am using Tinc to build an overlay network, but I want to control the
network topology by myself. So how can I disable the automatic full mash
feature of Tinc? Besides, my overlay network is supposed to support anycast
and I have a routing algorithm for it. I wonder if it is convenient to
implement it in Tinc, and do you have any suggestions for achieving this?
Looking forward to your
2005 Oct 05
4
dropped calls when g729 is used on sip leg
Hello - I have 8 polycom 501s all setup great using ulaw. We have put
them through a pretty rigorous torture over the last 4 months, and
they've performed famously. No dropped calls ever.
We invested in some g729 licenses. changed my ipmid.cfg so that g729 is
priority 1 and ulaw is priority 2. I added allow=g729 to my extension's
sip.conf entry, where existed before disallow=all
2007 Sep 18
10
Routes
hi all,
I want to move some routing tasks out of the router and into the
controller. The goal is to make Merb feel less like mod_rewrite and
give the user more control at the controller. The new Router is
simple: it takes the path_info (not the whole request) then outputs a
controller class and some parameters from the path matching. The rest
of the routing would be done at the controller level.
2009 Jul 17
0
[LLVMdev] please stabilize the trunk
2009/7/16 Daniel Dunbar <daniel at zuster.org>
> I plan to check my buildbot configuration "stuff" into the
> llvm-project repository soon. I have to refactor things a bit to
> support use by other people, but currently I have configurations for
> llvm, clang, and llvm-gcc in various target / self-hosting
> permutations. I also have a regular buildbot driver
2009 Mar 11
1
prediction error for test set-cross validation
Hi,
I have a database of 2211 rows with 31 entries each and I manually split my
data into 10 folds for cross validation. I build logistic regression model
as:
>model <- glm(qual ~ AgGr + FaHx + PrHx + PrSr + PaLp + SvD + IndExam +
Rad +BrDn + BRDS + PrinFin+ SkRtr + NpRtr + SkThck +TrThkc +
SkLes + AxAdnp + ArcDst + MaDen + CaDt + MaMG +
MaMrp + MaSh +
2013 Jun 12
0
debug(session) output help
Can anyone tell me how to get line breaks in the debug(session)
output...
application.html.erb:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,
initial-scale=1.0">
<title><%= full_title(yield(:title)) %></title>
<meta name="description" content="<%=
2012 Oct 06
1
[LLVMdev] LLVM Loop Vectorizer
On Oct 5, 2012, at 2:11 PM, "Villmow, Micah" <Micah.Villmow at amd.com> wrote:
> Is it possible to not make it 'Target*'? I'm spending a lot of time moving TargetData out, would hate to have to do it again at some point in the future for TargetVectorData. :)
There is an important difference here (and a common point of confusion) between TargetData and the the stuff
2007 Oct 30
1
Some matrix and sandwich questions
Dear R-help,
I have a four-part question about regression, matrices, and sandwich package.
1) In the sandwich package, I would like to better understand the
meat() function.
>From the bread() documentation, for a simple OLS regression, bread() returns
(1/n * X'X)^(-1)
That is, for a simple regression (per the documentation on bread()):
MyLM <- lm(y ~ x)
bread(MyLM)
2005 Aug 04
0
Finding rows in table a with zero related rows in table b, part ii
OK. After a little more digging in MySQL''s manual on SubSelects, I''ve
changed the finder_sql entry in my model declaration:
class District < ActiveRecord::Base
has_many :interviewers,
:order => "lname, fname"
has_many :applicants
has_many :unassigned_applicants,
:class_name => "Applicant",
:finder_sql => "select a.* from
2015 Mar 03
2
[LLVMdev] RFC: Better alternative to llvm.frameallocate for use in Windows EH
I realized that WinEH preparation can probably be a lot less invasive than
it is currently.
Initially, when I was thinking about recovering the address of an object in
a parent stack frame, I thought about it in terms of "let's allocate
something at a fixed offset from ebp to keep things simple". That line of
thinking suggested that we needed this thing to be fundamentally different
2011 Apr 23
3
Rails3 how to scope it, using a serialized array ?
giving a simple model, with a serialized Array attribute
class Instructor < User
..
serialize :languages, Array
I am looking in defining scopes like this :
>scope speaking_english, lambda { where("languages ... includes.... ?", :en) }
which look for instructors in which the languages array include ":en"
Is this kind of scope possible ? or not.... ( just using
2007 Aug 24
1
Re: Samba & ACLs?
> From: Chuck Kollars <ckollars9 <at> yahoo.com>
> Subject: Samba & ACLs?
> Date: 2006-08-19 02:46:45 GMT
> How exactly do Samba 3.x and ACLs interrelate? ...
> I started out naively assuming that the *nix
> uidNumber/gidNumber Samba mapped the end user to
> would behave exactly the same whether they were a
> Samba user or were logged on locally. ...