Displaying 20 results from an estimated 89 matches for "parliaments".
Did you mean:
parliament
2006 Jul 20
5
How can I make has_many prevent a delete that would lead to orphans?
e.g.
class Asset < ActiveRecord::Base
validates_presence_of :asset_number, :make, :model, :location,
:name, :serial_number
validates_numericality_of :asset_number
validates_uniqueness_of :asset_number
belongs_to :user
belongs_to :location
belongs_to :asset_type, :foreign_key => ''type_id''
end
class Location < ActiveRecord::Base
validates_presence_of :name
2006 Jul 25
4
Sorting by two fields
I have a list of TimeSheet objects from an ealier AR query, which I
can sort by the full name of the user like so:
@time_sheet_entries.sort! { |a,b| a.user.full_name <=> b.user.full_name }
I can sort by the started time like so:
@time_sheet_entries.sort! { |a,b| a.start_time <=> b.start_time }
My question is how do I do a sort so that the list is sorted primarily
by user.full_name
2008 Feb 02
3
Liebert UPS, serial cable questions
Hi,
I have a Liebert GXT2-1000RT230 UPS that is connected to my server
using a serial cable.
I have no idea to what port exactly it is connected so my first
question is: how do I find out what /dev/tty** should I use?
Do I need to install a device driver for it? Where do I find it?
What should I use and how do I do so the server shuts down if the
battery level is low?
Yes, I'm a newby,
2009 Feb 04
1
D'Hondt method
Is there a R function to calculate the seats in parliament given the
total number of seats and the votes for each party -- for different
methods including the method of D'Hont?
http://en.wikipedia.org/wiki/D%27Hondt_method
Thanks,
thomas
2010 Jul 07
1
Australian Internet Filtering Position
List,
With sites like this appearing everywhere: http://www.dontfilterme.com and
http://nocleanfeed.com/
Just trying to get a general opinion with what everyone thinks of the
filtering situation in Australia. Whether you believe its a good thing or a
bad thing or you don't really care. I'm writing a letter to an Australian MP
(Member of Parliament) and I want to get some actual opinions
2001 Feb 17
0
Belgium police raides homes of Napster users (!!!)
...e days after a U.S. appeals court effectively ordered
Napster to stop people who use the music-sharing service from swapping
copyrighted music without charge and without restriction.
The 15 EU governments are expected to approve the new law in a matter of
weeks. It would take effect after national parliaments give their blessing,
a process that can take up to 18 months.
-------------------------------------------------------
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request@xip...
2007 Jan 23
7
RedCloth and SuperRedCloth
Good day to the parliament of RedCloth followers gathered here.
Grave matters at hand!!
I''m personally quite unhappy with the state of RedCloth and am
reluctant to release the code in the repository. I can''t say if the
code works with any confidence because I can''t generate the
(Poignant) Guide with the current RedCloth. I know some things are
fixed, but I''m
2005 Jan 29
4
format question
how can I get a float to always print two decimal places?
Thanks,
Jamie
2008 Apr 17
1
Having a probelm woth creating a a simple chart.
Hello,
I am having trouble with creating a simple bar chart using R. My file just
consists of 1 column called reason. Within this column, there are 2
responses(Room for Improvement and Info entered is all relevant). My code
for creating the charts is as follows:
d <-read.table("C://project/graphs/reason.csv", sep=",", header=TRUE)
pie(d$reason,
labels=d$reason,
2010 May 27
2
[URGENT] Assistance Requested in Looking for Dr Francis T. Seow, Harvard Law School Research Fellow
Hi,
First, I would like to apologize for the out-of-topic post. I will keep
this as short as I possibly could.
Does anybody know Dr. Francis T. Seow, the former Solicitor-General from
the Republic of Singapore? I want to contact him but can't seem to find
his email address or telephone number on the internet. Could you help me?
Do you also know how I can contact all the justices of the
2006 Jul 21
3
How can I create OrderItems that go in a Order?
I suspect my problem is similar to having an order and wanting to have
order items as part of the order, so I''ll explain the problem in those
more familiar terms and then explain what if anything makes my actual
situation different at the end.
In an Order lets say you have: shipping_address and a shipped bool.
OrderItem has quantity and name
So Order has_many :OrderItems, and OrderItem
2006 Jul 21
5
Reports in Rails
Hi,
In my rails application I want to include a reporting mechanism that will
allow the users of application to view statistics of various operations
graphically.
Does rails provide inbuilt reporting capabilities? what are different
appraoches I can follow to achieve reporting in rails?
On googling I found following as some of the options,
1.Gruff Graphs for Ruby
2.SVG
3. using Apache FOP.
2003 Jun 08
6
Basic question on applying a function to each row of a dataframe
Hi,
I have a function foo(x,y) and a dataframe, DF, comprised of two vectors, x
& w, as follows :
x w
1 1 1
2 2 1
3 3 1
4 4 1
etc
I would like to apply the function foo to each 'pair' within DF e.g
foo(1,1), foo(2,1), foo(3,1) etc
I have tried
>apply(DF,foo)
>apply(DF[,],foo)
>apply(DF[DF$x,DF$w],foo)
However, none of the above worked. Can anyone help ?
2010 Mar 05
2
Bug in driver-mysql.c + fix
I tried to use MySQL stored procedures from dovecot:
password_query = CALL user_pass_check('%n', '%d', '%w')
user_query = CALL user_info('%n', '%d')
This failed with the message:
User query failed: PROCEDURE imap.user_info can't return a result set in the given context
The root of this problem is that mysql_real_connect() needs to be called with
2007 Sep 20
6
Central file server advice please
Hi List
I have a Gygabyte GA-7N400 PRO2 with a 2.6 mHz Athlon cpu. I want to set up a
central file storage for 2/3 users using 6/7 machines. A mixture of win2k, XP
and various Linux distros (my home network). It will be used to store files,
(docs, music and DVD ) for all of these machines, print server, (two
ink-jets), mail server and later on a myth tv set up. Would SAMBA be the
best option
2006 Dec 07
0
rc15 sort bug
Hi, ive come across what looks like a bug in how dovecot sorts the
mail when sorting on subject. We noticed this on our current beta8
version, and I can also reproduce it in rc15.
One of our customers has hundreds of emails with subjects like this:
Subject: 20060823 Kanglaonline-NSCN(IM) cadres violating Tml truce: NSCN(K)
Subject: 20060824 LSE - Shell jv denies 3.2 bln usd fraud claims by
2003 Jun 13
1
Factorial function in R?
Is there a native factorial function in R [my searches have been
fruitless], or do I need to use gamma() function?
*********************************************************************
Dr Peter Caley
CSIRO Entomology
GPO Box 1700, Canberra,
ACT 2601
Email: peter.caley@csiro.au
Ph: +61 (0)2 6246 4076 Fax: +61 (0)2 6246 4000
*********************************************************************
2003 Jun 13
1
Problem with Rcmd SHLIB
Dear R-helpers,
i am trying to make a shared library from a Fortran subroutine, and i therefore used (after reading the documentation):
Rcmd SHLIB forfile.f #(R1.70, Win2000)
And the error is:
" 'perl' is not recognized as an internal or external command,operable program or batch file."
So i went ahead and tried to install Perl (from the suggested website in
2003 Jun 25
2
Pairs with different colours
Does anybody know how to make pairs graphics with dots of different colours depending on the value of a categorical variable ?
Thanks,
Arnaud
*************************
Arnaud DOWKIW
Department of Primary Industries
J. Bjelke-Petersen Research Station
KINGAROY, QLD 4610
Australia
T : + 61 7 41 600 700
T : + 61 7 41 600 728 (direct)
F : + 61 7 41 600 760
**************************
2003 Jul 02
2
user mannual
Dear Sir
I have successfuly downloaded R package.
Kindly let me know where i will get _/*user mannual*/_ for the same.
awaiting a prompt reply
with regards
Pankaj
@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@
Pankaj Kumar
Research Scholar
Climatology & Hydrometeorology Divison
Indian Institute Of Tropical Meteorology
Homi Bhabha Road, Pune-411008
India
Phone No. +91-20-5893600 Ext. 361