Displaying 20 results from an estimated 400 matches similar to: "Try-Catch AWDWR P3.0, Sect9.2,Mid pg 121."
2000 Jun 28
2
Colour depth reduced to 12 by bitmap devices
I am using R to create colour plots as bitmap files. I have created a
palette of 256 colours that I want to use, but the resultant output
files contain only 12 colours used in dither patterns. The result is the
same whether I use bmp() or png().
How can I get the true colours that I specified instead of dither
patterns? (making the driver's job easier!)
I am using R 1.1.0 for Windows
2003 Mar 24
1
writing to file with encodings (PR#2674)
Full_Name: Jean-Pierre Müller
Version: 162
OS: Mac OS (carbon)
Submission from: (NULL) (130.223.101.43)
Encodings valid only in rwading files? The following give identical output
files.
"ascii" <-
c(
"\040","\041","\042","\043","\044","\045","\046","\047", # 040-047
2004 Nov 29
0
Parking from call group problems
Trouble in Parking Paradise!
Good Day all,
I have a situation that I have tracked as far as I can take it and am
looking for assistance into the matter.
My setup.. Asterisk 1.0.1 with the AMP config environment.
When I have auto attendant answer the phone and I dial my extension
"2204"
The call come through and If I park it it gets place into extension 701
(the first parking
2006 Nov 04
0
New version of the AWDwR beta book available
I''ve uploaded the B1.12 version of AWDwR.
The major changes include:
- Justin Gehtland''s new chapter on Web 2.0
- James Duncan Davisdon''s chapter on deployment (this is an
interesting one---JDD has strong opinions on how a Rails
application should be deployed, and the chapter mirrors this.
You''ll find it short and easy to follow).
- I changed the
2006 Aug 02
2
Help please: AWDWR -- Migration failure
I''m having a problem with one of the migration files from the depot application.
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
== AddPrice: migrating ========================================================
-- add_column(:products, :price, :decimal, {:scale=>2, :default=>0, :precision=>
8})
rake aborted!
You
2006 Aug 14
1
AWDWR Chpt6: Webrick Get...200... then ...500...
Hi, Rails produces to diff Gets on the Webrick:
AWDWR Chpt 6 strange results:
First browser call to /Admin shows correct form; - And WEBrick reports:
"Get /admin HTTP/1.1" 200 485 - -> /admin
Subsequent browser calls to /Admin show:
NoMethodError in AdminController#index
undefined method `each'' for #<Mysql:0x37aba80>
- And WEBrick reports:
"Get /admin
2006 Jun 14
0
[AWDwR] Make flash[:notice] go away
Following the tutorial app in Agile Rails, I''m trying to figure out the
best way to get the flash notice to go away after an "Invalid product"
is selected (eg. when a new, valid product is selected). This is after
Task D, Chapter 9, in the 2nd Ed Beta.
I''ve come close to getting to work right, but I think I may still be
missing something in the control flow of
2006 May 05
0
(P)review of AWDwR and R4R
Hello,
A lot of discussion is going on about AWDwR 2nd ed, i have decided to
write an entry about it (and R4R) after reading few chapters:
http://www.rubyrailways.com/fisrt-impressions-of-awdr-2nd-ed-and-r4r/
Cheers,
Peter
2006 Feb 07
1
AWDWR: NameError (uninitialized constant UnknownAction) in rescue_action_in_public
I copied (and modified) this code from AWDWR:
def rescue_action_in_public(exception)
case exception
when ActiveRecord::RecordNotFound,
ActionController::UnknownAction
render :template=>''/error'', :layout=>''application'',
:status=>''404 Not Found''
else
render :template=>''/error'',
2006 Nov 12
0
AWDWR : Validation Question
Fig 6.4 on page 73 shows only "Price is not a number" for validation
when wibble is entered for price but I get the following message:
* Price is not a number
* Price should be at least 0.01
Is this an error in the book? TIA.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Oct 14
1
[ADV] Making space: First Edition AWDwR Paper Books: $12.50
When we announced the second edition of Agile Web Development with
Rails back in May, we pretty much killed the sales of the first
edition paper book. So now, with the second edition just a few months
away, we need to clear out some space.
So, if you''d like to pick up a first edition paper book, they''re
going (while stocks last) for $12.50 (plus shipping) from
2008 Mar 01
2
No route matches with {:method=>:get} Error in AWDWR Book
Hi I''m working on the AWDWR book and I''m on the admin section of the
book. I have rails 2 installed on my machine and I have ran into an
error when I created my controller login but when I go to
http://localhost:3000/login/index I get this error:
No route matches "/login/index" with {:method=>:get}
I haven''t touched the routes.rb file and when I generated
2008 Jan 23
3
help with replacing all comma in a data frame with a dot
Dear list,
I have imported a spss data file in R, where a comma is used to separate the decimal numbers, e.g. 3,567 instead of 3.567 as in R. How can I replace the comma with a dot for all values in the data frame
>kk
a b c d e f
1 ,0925199910320613 82523 8 ,855 ,803 ,69
2 ,278314161923372 91657 26 1,285 1,032 ,823
3
2006 Jul 10
2
Problem with migrations, postgresql, AWDwR
Hi all,
Rails 1.1.4
Rake 0.7.1
PostgreSQL 8.1.4
Windows XP Pro
I checked for errata on pragmaticprogrammer.com, but didn''t see any
explicit mention of this issue.
I''m going over the depot example in AWDwR, 2nd ed, and I can''t get the
migration to work on p. 82. Specifically, the AddTestData example (with
reduced description text to save my fingers some typing):
2007 Jul 13
1
PHP doesn't connect to PG with SELinux
I just migrated my FC4 server to CentOS 5 and had some problems with DB
connections from PHP to a PG server (remote server). The thing is that I
couldn't get an error, until I disabled SELinux. At that time, the PG
connections started working.
Are there any instructions on how to work with SELinux enabled and
multiple applications connecting one with another?
--
select
2006 Feb 14
0
Preserving seconds fraction in PG timestamps when updating?
I have this code:
Link.find(params[:id]).toggle!(''active'')
Before it, its timestamp is:
2005-11-20 20:45:48.741973-07
After:
2005-11-20 20:45:48-07
Why does Rails take it upon itself to truncate the
seconds fraction? How can I get Rails to not change
it?
Thanks,
csn
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best
2012 Jul 25
0
CESA-2012:1116 Moderate CentOS 5 perl-DBD-Pg Update
CentOS Errata and Security Advisory 2012:1116 Moderate
Upstream details at : https://rhn.redhat.com/errata/RHSA-2012-1116.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
73189dc0ecf0859b3fce869a56ccb672fb4727d699501a768aabff3de76e007f perl-DBD-Pg-1.49-4.el5_8.i386.rpm
x86_64:
2012 Jul 25
0
CESA-2012:1116 Moderate CentOS 6 perl-DBD-Pg Update
CentOS Errata and Security Advisory 2012:1116 Moderate
Upstream details at : https://rhn.redhat.com/errata/RHSA-2012-1116.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
a50f3bbb9a28e17b78ac2672b59ac293e6f06816b8b368e185cfb77e0a9ef9c7 perl-DBD-Pg-2.15.1-4.el6_3.i686.rpm
x86_64:
2010 Apr 07
0
Need help with ActiveWarehouse-ETL-0.9.1 PG connection problem
I am trying to load conversion data into a postgresql database using
activewarehouse-etl. I can create a flat file output from the
conversion data without problem. However, when I try to load into the
table using the information contained in config/database.yml I see
this error:
/usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/
base.rb:1959:in `method_missing'':
2006 Oct 31
0
6197520 svccfg import prints misleading message if supplied manifest with empty pg type
Author: sdussud
Repository: /hg/zfs-crypto/gate
Revision: f61d652f8555ce9713866ebafccf8dc96979b524
Log message:
6197520 svccfg import prints misleading message if supplied manifest with empty pg type
Files:
update: usr/src/cmd/svc/svccfg/svccfg_libscf.c