Displaying 20 results from an estimated 10000 matches similar to: "Adding "model" still doesnt help!"
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 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
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 Apr 27
12
how to do a count with a variable...
hi guys, got this problem...
in my controller, when i wanna do a @temp.count it fails...
then i went to try counter = @temp.count which also failed..
thus, i feel that the count is not available for ActiveRecord::Base..so
i went to the Model class eg. user.rb
so in user.rb :
...
def count_uesr
count = 0
self.each do |record|
count ++
end
return count
end
then it ended up having
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.
2006 Mar 30
1
Removing id from show for good
hi guys, anyone know how to do this?
from /recipe/show/1 to /recipe/show/
i have been trying soooo many methods which i feel like a serious noob.
in routes.rb, i tried changing the default connection from
map.connect '':controller/:action/:id''
to
map.connect '':controller/:action/''
or map.connect '':controller/:action/:id'', :id=>{/\d+\}
or
2015 Sep 28
5
distuguish between different domains
Hello!
Marco Fretz <marco.fretz at gmail.com> schrieb am 28.09.15 um 08:29:59 Uhr:
> Hi Andreas,
>
> I'm not 100% sure what you're trying to accomplish.
>
> smtp_server in roundcube is the outgoing server (submission server, i.e.
> postfix). Mailbox is IMAP (dovecot).
> You can easily spawn 2 instances of dovecot, one serving aaa.de and one
> serving
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
2003 Nov 12
1
Plotting lm() attributes
Suppose you fit a linear model
> model.1 ~ lm(v1 ~ ..., data=myframe)
and v2 is some other column of myframe typically not in the model. You
will often want to try
> plot(v2, model.1$residuals)
but this will fail if there are NAs in the response v1 as
model.1$residuals has length equal to the number of nonmissing values in
v1. I suppose
> plot(v2[!is.na(v1)],
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:
2023 Jul 13
2
[PATCH RFC v1 00/52] drm/crtc: Rename struct drm_crtc::dev to drm_dev
On Wed, 12 Jul 2023, Uwe Kleine-K?nig <u.kleine-koenig at pengutronix.de> wrote:
> Hello Jani,
>
> On Wed, Jul 12, 2023 at 05:34:28PM +0300, Jani Nikula wrote:
>> On Wed, 12 Jul 2023, Uwe Kleine-K?nig <u.kleine-koenig at pengutronix.de> wrote:
>> > Hello,
>> >
>> > while I debugged an issue in the imx-lcdc driver I was constantly
>> >
2023 Jul 13
2
[PATCH RFC v1 00/52] drm/crtc: Rename struct drm_crtc::dev to drm_dev
On Wed, 12 Jul 2023, Uwe Kleine-K?nig <u.kleine-koenig at pengutronix.de> wrote:
> Hello Jani,
>
> On Wed, Jul 12, 2023 at 05:34:28PM +0300, Jani Nikula wrote:
>> On Wed, 12 Jul 2023, Uwe Kleine-K?nig <u.kleine-koenig at pengutronix.de> wrote:
>> > Hello,
>> >
>> > while I debugged an issue in the imx-lcdc driver I was constantly
>> >
2005 Feb 22
4
Sound of breathing
while using iax and a soft phone, the sound of breathing comes through
so clearly that it has started bothering me. Earlier I was amazed at
the quality, but now feel it is irritating. Wondering if there is a
way to cut it down. I am in the process of exploring using iax for a
call center, but this sound of breathing is a disappointment.
Thanks
Hari
2007 Mar 19
3
Swarm (win95 game) leaving fragments
Hi all,
installed the old space shooter Swarm and it is running fine pleased to
say except artefacts of lasers and rockets that have been fired staying on
screen for up to another 6 seconds.
This is as you can imagine a bit irritating as they move with and stay on
the screen.
Wine x.19. Have set the game to 'unmanaged' by the window manager as was
suggested here in another thread, but
2009 Oct 28
4
grub problems
This is irritating: I've got a server I just upgraded to 5.4, then
rebooted, only to discover that it just *sits* there at the grub boot
menu. I looked at grub.conf, and uncommented hiddenmenu (which should have
been done long ago).
It *still* sits there when I reboot. Any clues, folks?
mark
grub.conf:
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
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!
2004 May 19
4
Asterisk External Ringing
Hi,
When I installed my X100P card there was a two ring delay before the phone started to ring.
I managed to solve that by stopping the Caller Line ID being passed to the phone. I'm in the UK so that doesn't matter anyway.
The problem that I have now is that when a call comes in on the external phone line and it is answered by a standard phone (not connected to Asterisk), the IP
2023 Jul 12
3
[PATCH RFC v1 00/52] drm/crtc: Rename struct drm_crtc::dev to drm_dev
Hello Jani,
On Wed, Jul 12, 2023 at 05:34:28PM +0300, Jani Nikula wrote:
> On Wed, 12 Jul 2023, Uwe Kleine-K?nig <u.kleine-koenig at pengutronix.de> wrote:
> > Hello,
> >
> > while I debugged an issue in the imx-lcdc driver I was constantly
> > irritated about struct drm_device pointer variables being named "dev"
> > because with that name I
2023 Jul 12
3
[PATCH RFC v1 00/52] drm/crtc: Rename struct drm_crtc::dev to drm_dev
Hello Jani,
On Wed, Jul 12, 2023 at 05:34:28PM +0300, Jani Nikula wrote:
> On Wed, 12 Jul 2023, Uwe Kleine-K?nig <u.kleine-koenig at pengutronix.de> wrote:
> > Hello,
> >
> > while I debugged an issue in the imx-lcdc driver I was constantly
> > irritated about struct drm_device pointer variables being named "dev"
> > because with that name I