Displaying 20 results from an estimated 700 matches similar to: "kickstarting with rails routing problem"
2006 Mar 09
4
habtm questions
I''ve got some of this working but other parts are ellusive.
I have
CREATE TABLE `bags` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '''',
PRIMARY KEY (`id`)
CREATE TABLE `packages` (
`id` int(255) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '''',
PRIMARY KEY (`id`)
CREATE TABLE
2006 Mar 16
2
how to limit standard layout on action
I have an action/view that I need to return only data (other external
processes query this action/view) but I need the standard_layout
template to be attached to the other actions/views in the same
controller. ie, the editing of the data in the model needs to include
all the navigation, except one view which should just return a
text/plain output.
how do I say "include
2006 Apr 03
1
singular table names testing
I''ve demoed my rails app and now have to move it to a MSSQL DB. the big
problem I''m running into is the table name conventions I have to use.
I have to use names like tbl_Transfer & tbl_User. In my tests on the
console, I am trying
myvar = tbl_Transfer.find_by_sql("select top 1 * from tbl_Transfer")
NameError: undefined local variable or method
2010 May 11
2
AEC - Echo is cancelled however.....
I usually use the cross-correlation between the speaker signal and the
mic signal.
It works pretty well. The problem is the you need enough data in order
to get a good S/N.
I compute the cross-correlation between 1.5 second data of each
signals. In this way the application detection of any anomalies is
quite slow.
I am looking for something faster, but I fear it will be something
very application
2010 May 10
6
AEC - Echo is cancelled however.....
1) Everytime a participant speaks there is a echo for a short duration
(maybe a word or two) but as the participant continues to speak without a
any break the echo is 95% cancelled (i.e there is a feeble echo still
present if observed very carefully).
2) The moment the participant stops / pauses speaking and start talking
again, scenario 1 is repeated as if the echo state has been re-initialized
2010 May 11
2
AEC - Echo is cancelled however.....
2010/5/11 Elston Sa <jose at rebaca.com>:
> Is there an API in speex or have you implemented your own?
I don't know if there is an API in speex for this, probably not. There
is a test for AEC which does something very similar.
I implemented it starting from a FFT library. It is quite easy to do.
>
> I am currently trying to find one. But if you could point me to one it will
2010 May 10
1
AEC - Echo is cancelled however.....
Yes. I guessed that too, however I am not sure why it keeps repeating every
time the user stops / pauses and starts speaking again in a single session.
I am using a laptop with standalone speakers. For echo cancellation to work
one has to make sure that the ref and echo buffers are synchronized. I guess
this is the most common problem.
-Elston
-----Original Message-----
From: Anton A.
2006 Aug 31
2
vim timestamp issues on CIFS mounted shares
First: this is my first post on this list so any suggestions, let me
know.
I recently had to make the move from SMBFS to CIFS when I upgraded from
Fedora 4 to 5. Changing settings in my /etc/fstab was easy and no
errors come up but now I'm having an issue very similar to post I found
on your list that got no response back in April:
http://lists.samba.org/archive/samba/2006-April/119813.html
2006 Mar 21
4
habtm > join()
I''m trying to pull ou the ''name'' field for each of my associated rows
and pass it as a string of names. I''m missing something obvious here
but I thought @bag.packages.name.join(", ") would work.
do I have to loop through @bag.packages? that seems like the long way.
thanks
-zac
--
Posted via http://www.ruby-forum.com/.
2006 Jan 27
2
simple stuff in rails rhtml
after playing with the DB interaction I''m moving on to doing some file
IO. but I''m completly lost as to where to put the code and how to call
it.
I''m trying to get a list of files in a directory and it''s not obvious to
me how to do this in Rails via a controller method.
so ruby code is
Dir.entries("testdir").last
and html code is
<%=
2005 Apr 07
3
Fitting a mixed negative binomial model
Dear list members,
I want to fit a nonlinear mixed model using the nlme command. My dependent
variable takes the form of event counts for different countries over a
number of years, and hence I was going to fit a mixed effects negative
binomial model. The problem, as far as I can glean from Pinheiro & Bates
2000, is that I need a model that is not normal in the errors. All the
models they
2006 Feb 24
2
reloading in development
I''ve just started getting so odd symptoms working with webrick. I use
TextMate editing my rails apps over a CIFS mount on the server.
Usually when I "edit/save/reload" a page I see the new changes.
However I''ve started getting the same old data and now have to
frequently restart the webrick server to get my changes to render.
What is available to debug on this to
2015 Jan 20
2
Kickstarting several *different* setups
On 01/20/2015 08:41 AM, Tom Grace wrote:
> I would suggest that the "right way" would be to kickstart all your
> machines the same way, and then use a configuration management tool
> (like Puppet or Chef) to customize them
Seconded.
Personally, I recommend either ansible or bcfg2 over other tools.
Puppet has a larger user base, but when I talk to users at conferences
(such
2009 Sep 15
1
FIXED_POINT
I have build celt with FIXED_POINT option (latest 0.6.1 as well as from the
git repo) on windows. However I am not getting a valid output (all samples
are saturated) when I try to decode with this version. The input file was
encoded with the same fixed point version. Does fixed point version work at
all?
Following are the command line settings;
Samplerate; 48000
Channels: 2
Framesize: 256
2006 Aug 18
1
join update seperation?
I have a legacy DB without access to change the user or group table
(must use StoredProcedures to edit those). But I do have access to the
usergroup join so I thought the joins would be pretty much like my other
rails apps where I do HABTM checkboxes. I''ve created a page that just
shows habtm checkboxes for the join and the updates are occuring for the
join but I''m
2006 Jul 06
0
big size file uploading problem w/IE
Hi,
I''m now trying to develop application for big files exchanges by
Webserver and Browser with rails.
There is a browser dependent file uploading problem with Rails.
Uploading file is issued from .rhtml like this.
<%= form_tag({:action => "upload_file"}, {:multipart => "true"}) %>
With IE ( 6.02900 ) a 5 meg file was sent but slowly and it took more
2006 Jul 25
2
join in legacy DB?
I''ve got a problem with some tables that don''t follow any RAILS
standards. how do I define the join in the model when all three tables
have wacky names?
class Machine < ActiveRecord::Base
set_table_name "tbl_CodeMgmt_Host"
set_primary_key "Id"
end
class Pool < ActiveRecord::Base
set_table_name "tbl_CodeMgmt_Pool"
set_primary_key
2007 May 11
0
xen 3.0.4 on FC6 x86_64 install problem with lcrypto
a clean new FC6 system
downloading xen src tar ball I get
make[3]: Entering directory `/opt/xen-3.0.4_1-src/tools/blktap/drivers''
gcc -O2 -fomit-frame-pointer -m64 -DNDEBUG -std=gnu99 -Wall -Wstrict-
prototypes -Wno-unused-value -Wdeclaration-after-statement -
D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror -
Wno-unused -fno-strict-aliasing -I
2006 Jan 25
1
Rails day 2: where is my association?
I?m following along a few tutorials on the web and trying to implement
my own example, but I must be missing something because I can?t get
has_many or belongs_to to work like I expected. now I have watched all
the videos and made a cookbook several times with different interfaces.
what I''m looking for is *not* a code snippet to solve something (because
I already have that),
2006 Apr 20
1
error on stpexec : ROR on Linux with SQLServer Connection
So I got my rails app to connect to the SQLServer via ODBC, and I can
model/scaffold, yada yada..
but when I need to exec a stored proc using sql_server.rb I get
undefined local variable or method `connection''
how can that be, if I can connect for everthing else?
thanks
--
Posted via http://www.ruby-forum.com/.