Displaying 20 results from an estimated 20000 matches similar to: "Multiple (7) Y axes?"
2006 May 20
3
Repost: Pluralization of non-noun names
People,
I didn''t get an answer to this before so I am trying again:
I could change an existing "policy" table to "policies" with no drama
but the are a number of related tables ie:
p_2quot
p_addr
p_cc
p_cs
p_direct
p_div
p_exss
2006 May 12
2
Pluralization of non-noun names
People,
I have an insurance company client and for the last eleven years I have
wanted to completely redevelop their system from scratch. However, the
boss has never been interested in hiring a team to develop the new
system (partly because of the cost and partly because of some famous and
expensive development failures in the industry) and has always insisted
on incremental development of the
2006 Jan 09
3
Scaffolding - disabling Create, Edit, Destroy for some user logins?
People,
I am using:
before_filter :login_required
in my Controllers and this works fine. For some tables I am happy to
use the output of eg:
ruby script/generate scaffold Author
but is there some way that I can disable Create, Edit, Destroy for some
user logins in the corresponding view?
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box
2008 Jun 20
2
Using metric units in plots
People,
It appears that one has to use Imperial measurements in plot parameters?
I can't find any info on using metric units . .
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil at pricom.com.au
2006 Aug 19
2
What is this relationship?
People,
If I have a table "books" and a table "comments" and if there is either
ZERO or ONE comment per book then:
- "Comment" belongs_to "Book"
but what is the relationship of "Book" to "Comment"?
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
2006 Apr 25
2
School Years/Teams listing problem
People,
I have tables years and teams and I have the years listing like:
1965
1966
1967
.
.
I want to be able to click on the year and ONLY list teams for that
year. At first I thought the following was working until I started
populating the table with teams for more than one year.
For views/years/list.rhtml:
<% for year in @years %>
<tr>
<td>
<%= link_to
2006 Jan 18
2
categories/recipes & books/descriptions - has_many vs has_one => id question
People,
In the cookbook eg, categories has_many recipes but in a book eg, book
has_one description - doesn''t that mean that the id of the description
should be the same as the id of the book (instead of having it''s own
"description_id" in the book table?
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney
2012 Apr 03
3
A trivial plot gives open circles as the plot char but another one gives me "q"s . . why is this?
People,
On my home computer with a real plot I get what I expect - open circles
as the plot character - on my work computer I get "q"s ! So I tried a
trivial test plot on the work computer ie:
a <- c(1,2,3,4,5)
b <- c(1,2,3,4,5)
plot(a,b)
and that also gives me open circles as it should! - the plot line in my
real script is:
plot( means5[ ,4 ], means6[ ,4 ],
2006 Apr 23
1
LoginGenerator problem after updating to FC5 and latest Rails
People,
A simple Rails app that was previously working with LoginGenerator eg:
http://localhost/library/account/signup
is now giving:
<h2>Application error</h2>Rails application failed to start properly
Other Rails apps are working OK that don''t use this LoginGenerator. I
have re-installed it with:
gem install login_generator
Anyone know what might be wrong/have
2006 Jan 06
3
Cookbook recipes eg - ordering categories in the recipe pull-down box
People,
I can order categories when looking at the categories list page but how
do I change the recipe page to list the categories in alpha order in the
recipe pull-down box?:
> <p><b>Category:</b><br>
> <select name="recipe[category_id]">
> <% @categories.each do |category| %>
> <option value="<%= category.id
2011 Sep 26
2
Boxplot BUT with Mean, SD, Max & Min ?
People,
It appears that there is no way of getting Boxplots to plot using Mean,
SD, Max & Min - is there something else that would do what I want? I
couldn't find it . .
Thanks,
Phil.
--
Philip Rhoades
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil at pricom.com.au
2006 Apr 16
1
Design question: Years/Teams/Students
People,
I want to design a historical sports db for my old school. I think at
the moment it should be like:
A year has many teams
A team has many students
A student has one lastname, firstname and middlename
but a student can also have many teams (eg summer/winter abd over a
number of years) . .
Is there a problem with this? Doesn''t it just mean that there will be a
student table
2002 Nov 27
2
Leaving out graduations and numbers on y axis plot
Hi all,
I want to use a fourth plot on a page as a "map" of how to interpret
the previous three plots - so the x axes are all the same but I want
the y axis on the fourth plot to have no graduations or numbers - is
this possible?
I had a look in Peter's book and the help stuff but couldn't see
anything.
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252
2006 Jan 04
9
Family Connection 1.0
This is a follow-up announcement from the 0.9 release. There are no
major changes, but this release marks a downloadable (tgz) file as
well as a promotional website, a demo application and screenshots.
Family Connection is an easy-to-setup online hub for your family that
includes a Family News section, and an Address Book.
http://familyconnect.rubyforge.org/
Please note that the download
2005 Dec 28
3
Strange result when backing up /etc vs /root
People,
My backup script has lines:
dt=`date ''+%Y%m%d''`
.
.
DELETE="--delete"
.
.
rsync -av $DELETE --backup --backup-dir /delmod/$dt /etc /backup/
rsync -av $DELETE --backup --backup-dir /delmod/$dt /root /backup/
- only the changes to /root get backed up but ALL of /etc gets backed up
everytime! - why should this happen?
Thanks,
Phil.
--
Philip Rhoades
2011 Oct 17
1
Portrait and Lanscape PDF in the one document
People,
I want to create a multi-page PDF doc and the pdf command works fine if
I only use Portrait OR Landscape but how do I create a document that
contains BOTH sorts of pages? Is it possible? - I couldn't find info
about it.
Thanks,
Phil.
--
Philip Rhoades
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil at pricom.com.au
2002 Nov 15
2
Why no colSDs etc
Hi people,
If there is a fn "colMeans" why isn't there a "colSDs" etc
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile: +61:0411-185-652
Fax: +61:2:8923-5363
E-mail: pri at chu.com.au
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2000 Aug 14
5
Writing a workable function
After searching in R- Introduction, FAQ, help... I don't understand
this:
I write a function in a file (.R):
tt <- function(mc) { date()
mc<-read.csv2("machines.txt",na.strings="")
date()
}
I source it in R and I type tt(). The answer is
> tt()
[1] "Mon Aug 14 11:18:25 2000"
>
The instructions following the first "date()" are ignored. Why?
2011 Sep 25
2
Increase space between xlab and X axis tick labels
People,
I am using the "las=2" parameter to rotate the labels for the X axis
ticks but it means that they are almost touching the "xlab" string. I
have been messing around with the "mai" paremeter but that doesn't help
- is there some way of increasing the space between xlab and the X axis
tick labels?
Thanks,
Phil.
--
Philip Rhoades
GPO Box 3411
Sydney
2017 Jun 25
6
Why are LAN ports not standard on UPSs these days?
People,
A couple of decades before I was retired and was still working for other
people I had cause to install UPSs and they usually had RS232 ports to
allow the setting up of shutdown scripts to UNIX / Linux servers. Now,
after not having to be concerned by those issues for some time - most of
my little web sites have been on Digital Ocean or other suppliers VMs
for a long time - I am