Displaying 20 results from an estimated 1000 matches similar to: "how to do a count with a variable..."
2006 Mar 28
5
Anyone use .uniq! ???
could anyone by chance give me a working example of the .uniq! method?
i''ve been trying all day. any help would be much appreciated!
jon
--
Posted via http://www.ruby-forum.com/.
2006 Jun 07
4
WEBrick wouldnt start....
hi guys, just did a search and cant find anything helpful..
suddenly my WEBrick cant start.... omg.... dunno wat''s wrong with it
that''s wat i typed :
......$ruby script/server
=> Booting WEBrick...
......$
that''s all... i dont even know wat''s wrong and when i did a ps -F -C
ruby, i also couldnt find anything.....
did i jsut corrupt the file or wat???
2006 Jun 08
8
Routing help.... it is so difficult!
hi guys, sorry to trouble you all but i really dont understand how this
routing thing work... it seems easy but it just dont work for me!
here''s the situation :
my url b4 : http://127.0.0.1:3001/admin/login
my url after: http://127.0.0.1:3001/burninglegion/admin/login
i wanna do something like this so i went to the routes.rb and type this:
ActionController::Routing::Routes.draw do
2006 Apr 18
7
Functional test, pls help!!!!
Hi guys, recently encountered this funny problem which i really dunno
wat happen...
I have been trying on it for the past few days and just doesnt work.Hope
you guys can give me some enlightenment.
Problem:
The functional test doesnt seems to be able to recognise one of my
model, and when i run the test, it keeps giving me the error of"You have
nil object when you don''t expect
2006 Jan 26
3
Help on implementing rails from html with php
Hi guys, just started using rails and is trying to implementing the
present html with some rails...
However i met this problem when i am trying to port over some php code
in html to rails and i cant find any method to successful convert the
php codes.
Below is a feature i tried to implement in rails way:
there are 2 buttons on the html. Besides these 2 buttons is an infobox.
So, whenever
2004 Dec 29
2
icecast2.2 and aac?
Trying to get the LE version for months now, still treamguys can?t
deliver....
Regards,
Dennis Heerema
-----Original Message-----
From: "Greg J. Ogonowski" <greg@orban.com>
To: qiang Bao <jakobao@yahoo.com>, icecast@xiph.org
Date: Wed, 29 Dec 2004 11:08:04 -0800
Subject: Re: [Icecast] icecast2.2 and aac?
Icecast 2.2 works fine with AAC/aacPlus at any bitrate.
32kbps
2005 Feb 04
2
how to generate a function from a linear model
Hi All,
I am trying to generate a function from a linear model. I think there
should be build-in function that perform this action but I've had no
luck finding it.
For example, I have a model created using lm().
model <- lm(sat.d~1+sat.n+I(sat.n^2))
What I would like to have is a function (similar to the one generated
by splinefun()) so that I can use it on different data-sets.
2005 Apr 05
5
R can not show plots (in Mac OS X terminal)
Dear all:
I am a newbie in Mac. Just installed R and found R did not react on my
command plot (I use command line in terminal). It did not give me any
error message, either. All it did was just giving out a new command
prompt--no reaction to the plot command. I suppose whenever I gives out
a command of plot, it will invoke the AquaTerm for a small graph, as I
experience in octave. What can I
2004 Dec 29
3
icecast2.2 and aac?
it seems that icecast 2.2 can only stream aac at 128kbps!
mp3 and ogg are ok at all bitrates.
is it a bug or my config wrong?
---------------------------------
Do you Yahoo!?
Jazz up your holiday email with celebrity designs. Learn more.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Apr 20
11
dynamic mock object anyone?
Hi guys, got this problem with creating such a thing... hope anyone
could help..
the problem:
ok, now i have this mock object that would simulate a external rpc call.
eg
require ''models/xmlrpc_agent''
class XmlrpcAgent
def create(params)
200
end
end
but the value of the value returned is fixed. which is quite hard for me
to test the controller when different
2007 Jul 12
4
file couldn't play after Speex encode and decode
Dear sir,
I've a problem that the .wav file couldn't play after calling "sampleenc
male.wav|sampledec male_speex_15.wav".I found that the new file
male_speex_15.wav is smaller than the original file in size.I implemented
the test on Linux system.The original file male.wav is 96044 bytes,while the
new file male_speex_15.wav is 96000 bytes.I'm eager to know the reason.Thankyou!
2006 Mar 31
6
string interpolation - #{} vs. single vs. double quotes
Could someone point me to documentation that provides a succinct and accurate description of the difference between interpolation using #{}, single quotes, and double quotes ?
I imagine there''s a set of precedence rules that govern behavior if/when they''re mixed. I''d like to get clear on this.
Thanks,
Bill
-------------- next part --------------
An HTML attachment was
2003 Mar 07
24
Hello,
I am trying to use 'R' for K-means simulatio, could you please advise me how I can read my data into a two dimesional array? Or is there any method which directly reads the excell file? Please let me know asap.
Regards
Skanda Kallur
Cogito, Ergo Sum! Rene Descartes
2006 Jul 31
2
[UPDATE] More info on RubyConf 2006 registration
Hi --
Registration for RubyConf 2006 is still scheduled to open on August 2,
in the early evening Pacific (US West Coast) time.
Also, there''s more info at http://www.rubycentral.org/conference
(e.g., the fact that this year we''re only taking credit cards, etc.).
David
P.S. Any LA area Rubyists around? I''ll be there this week doing Rails
training.
--
2008 Jun 20
2
pci passthrough on RHEL 4.5
Hi there,
I have a Dell T3400 Workstation with CentOS5.1 as dom0. I have hidden
a network interface in dom0 to pass it to domU. The domU can come up with
the NIC when it''s OS is CentOS5.1 or RHEL5. But when it comes to RedHat4.5
, the NIC can not be found.
As I type the command "lspci" in RHEL4.5 domU, it returned:
pcilib: Cannot open /proc/bus/pci
2015 Jun 03
3
[LLVMdev] [lld] TBSS wrong size
Hi,
Yes, ldd is generating wrong tbss size. It is just considering one tbss section
and not calculating all sections from all objects. The following example on
x86_64 shows the issue:
--- t0.c ---
#include <stdio.h>
extern __thread int t0;
extern __thread int t1;
extern __thread int t2;
extern __thread int t3;
__thread int t4;
__thread int t5;
__thread int t6;
__thread int t7;
int
2008 Sep 18
2
graphing netCDF files
Hello
I'm working with a large hydrological data set stored in a netCDF format.
The file stores x and y coordinates in the UTM projected coordinate system,
yet when I use image to graphically display the z variable, the image is
distorted in the sense that it does not plot the map in the correct spatial
organization.
I'm wondering if I need to define the projection of the netCDF file
2015 Jun 02
2
[LLVMdev] [lld] TBSS wrong size
Hi,
I am tracking some TLS issues with lld and found that it is
generating wrong tbss size for case where multiple modules
have non initialized threads variables. For instance:
-- t0.c --
__thread int x0;
__thread int x1;
__thread int x2;
extern __thread int e0;
extern __thread int e1;
extern __thread int e2;
extern __thread int e3;
int foo0 ()
{
return x0;
}
int main ()
{
return x0;
}
2006 Apr 30
3
Ruby Reference
Hello all,
What Ruby reference is everybodies favorite? When I''ve been looking around
for documentation I haven''t found any that quite compares to php.net''s and
cppreference.com''s function references. I''ve been using the one found on
rubycentral, but I think that it is missing quite a bit and doesn''t have
very good examples. ri is fine, but
2012 Aug 23
5
wat is diff between webrat and capybara?????
now i am using cucumber.........and i get two topic webrat and
capybara........wat is the diff between them???????which one is
good?????which one i use?????
Regards
Fahim Babar Patel
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to