Displaying 20 results from an estimated 2000 matches similar to: "Test message"
2006 Aug 18
4
HELP!!!! - number_to_currency in model?
Hi,
I''m trying to use number_to_currency in one of my models, but i''m
getting the
following error:
undefined method `number_to_currency'' for #<Product:0x396d680>
Obviously, my Product model can''t access number_to_currency -- is there
something I need to do to make it available?
Thanks so much for your assistance.
--
Posted via
2006 Dec 07
8
Cluster restart leaving orphaned processes?
First off, a big thank you to Zed and the development team for
mongrel and mongrel cluster. I''ve deployed it for two apps (through
an apache 2.2 proxy) and it''s amazing how much snappier everything
is. Previously we were using lighttpd and lighttpd-fastcgi proxying
through apache 2.0, which was turning into a hassle for lots of
reasons, most notably the ruby fcgi
2003 Dec 04
6
get mean of several rows
Dear all!
After hours of trying around, I gave up:
I have a 2-dimensional array, and I know how to split it into its rows
and how to get the mean for every row using 'sapply'.
But what I want is to calculate the mean over the first n rows, and then
the second n rows, etc., so that I get a vector like:
v == mean1(row 1:5), mean2(row6:10),...
(trivial, you might say. I find it rather
2007 Mar 19
1
font replacement not completely,howto?
i added the following in ~/.wine/user.reg
[SoftwareWineFontsReplacements]
"System"="AR PL New Sung"
"Arial"="AR PL New Sung"
"Fixedsys"="AR PL New Sung"
"Microsoft Sans Serif"="AR PL New Sung"
"MS UI Gothic"="AR PL New Sung"
"Tahoma"="AR PL New Sung"
2003 Sep 10
2
Samba 3.0rc3 - German Umlauts
Hi,
i have still the same problem.
I use 3.0RC3 with lib/charcnv.c of the actual CVS (Sep 10 15:19).
I works not realy:
I can create (Windows XP + Explorer) the filename "L?sung.txt" but not "?sung.txt".
--
Greetings
M. Ungermann
2004 May 04
2
Sampling 1000 times from a bivariate normal distibution
Dear expert,
I have two coefficients and covariance matrix.
My objective is sampling 1000 times from the mean and covariance matrix.
In order to get that, what kind of commend should I use?
If you do not mind, could you tell me the comment in detail about
parameter used in that commend also?
Thank you.
Sung.
[[alternative HTML version deleted]]
2005 Aug 16
1
Multipath Routing..
Ok folks, here goes..
I have been boggling with a problem for the past week, and still haven''t
found a solution..
I''m trying to route traffic from two providers through a Linux machine.
But that is not the problem. The ISP''s have provided me with a WAN IP
class for both of the lines, to be routed into a DMZ where the machines
a to respond to their respective
2007 Sep 07
2
memcached and fragment storage, session storage with a mongrel cluster
Greetings,
I posted this not on the Rails mailing list and didn''t get a definitive
response so I thought I''d post it here, since I figure lots of you
are using
mongrel with Rails apps. Any suggestions would be greatly appreciated.
I''ve been using file-based fragment caching and DB-based session
caching quite extensively. I decided to try out memcached for both to
2006 Nov 17
11
wget from within asterisk?
What would be the simplest way to retrieve information form a CNAM
database that provides http based query responses?
Does an application or script already exist that does this?
Basically, I want to do a wget of a URL that contains the callerID
number as a variable, and assign the returned text to another variable
which can be used to set the caller ID name.
Any suggestions?
2004 Jun 07
0
[LLVMdev] Some backend questions
On Mon, 7 Jun 2004, Vladimir Prus wrote:
> > If you do this (which I recommend for the first step), you'll notice that
> > it produces pretty horrible code, as all immediates are copied into
> > registers before they are used. In other words, instead of getting:
> >
> > R2 = add R1, 17
> >
> > You'll get:
> >
> > R3 = mov 17
>
2011 Aug 27
3
ImageMagick : Centos GUI ?
I accidentally discovered 'convert'. It is a command line utility.
Changing a file from png to gif works like this
convert aaa.png aaa.gif
Amazingly simple, powerful and effective.
I've since discovered it has an amazing list of options
convert --help
a manual
file:///usr/share/doc/ImageMagick-6.2.8/www/convert.html
and a web site
http://www.imagemagick.org/
Does anyone
2006 May 23
1
shapes in rgl
Does anyone have a way of producing solid shapes other than spheres in
rgl? I am using rgl to produce a simple visualisation of a forest model
results using "lollipops". Its just a bit of fun, but as many of the
trees are pines I would like to depict their crowns as cones. If there
is a solution I need it to work under windows.
Here is the example.
library(rgl)
library(misc3d)
2005 Jun 13
9
SIP Listen to multiple ports
Hello all
I'm trying to get my asterisk config to listen to multiple ports. This
is since some clients have port 5060 blocked by their ISP.
Does anyone know how to do this in sip.conf or if it is even supported?
Thanks!
2006 Feb 23
9
auto provision of IP501 polycom
Has anyone been able to get the IP501 to discover the FTP server IP
address (via dhcp or dns) and download 100% of the config from a
provisioning server?
We are still having to touch each unit to enter the ftp server address
and password, as well as set many of the options that will not take from
the config file.
Have a sample config file you are willing to share?
What is required in
2006 Jan 14
11
accessing models from migrations
Ok, so now Users need to be associated with Organizations. I''ve
created a migration and added a ''organization_id'' column to the users
table. I want the default organization_id to be the first
Organization. So I have :default => Organization.find(:first). But
it''s complaining about not being able to find the constant
''Organization''.
Any
2010 Mar 26
1
tinc optimal packet route selection
Dear Guys and Girls,
I have two group of tinc nodes, say A and B. The network quality between
A and B is unstable.
I am wondering what algorithm tinc is using for delivering and relaying
packets. How does one tinc node decide which the "next hop" is when its
destination can not be reached directly or too slow to reach directly?
The real situation is like this, nodes in group A and B
2002 Dec 18
3
workspace vs. image
Hello [R]ians,
I'm hoping someone can clarify the difference between a Workspace Image
and Working Directory. I created a directory on my PC, say,
"C:\Program Files\R\Project1" and then saved my objects in
"C:\Program Files\R\Project1\.Rdata".
Then, in a subsequent session, I reloaded these objects using
> load("C:/Program Files/R/Project1/.RData")
At
2003 Sep 29
2
4.9-RC and bge
Recent SUP.
Installed on Dell PowerEdge 4600.
Getting tons of:
Sep 30 12:23:16 zige /kernel: bge0: gigabit link up
Sep 30 12:23:46 zige last message repeated 98 times
Also getting some TCP retransmits. This causes noticable delays in
pretty much everything I do now. Not a problem prior to the SUP.
I was on 4.8-STABLE before.
When pulling/replacing cables, it went into a mode where it would
2006 May 11
10
MeetME Conferencing
Can anyone point me to a sample or information on using MeetMe like
this?
Conference room is set up with 2 PINs, one for the moderator and one for
the participants.
Participants get music until the moderator joins (to avoid wild,
un-moderated tangents).
Call is ended and all participants are kicked out when the moderator
leaves (or the moderator can kick everyone out via phone keypad).
2006 Jul 12
1
Dumping schema
All,
It looks like rake db:schema:dump does not dump primary keys.
I have some legacy table that don''t follow the convention ie pk = id
and
none of the primary keys for these tables are getting dumped...
Seems strange as this should be readily available from the db. I am
using
MySQL. Is anybody else seeing that ?
Incidentally how does one specify a primary key using