Displaying 20 results from an estimated 200 matches similar to: "Hosting timezone differs of clients timezone"
2006 Jun 13
2
Top margin on PDF generated with PDF::Writer
Hi,
A little question. I''ve written a method that uses PDF::Writer to
generate a PDF document with some images and text. This is the code on
my controller:
def pdf
gen_pdf
redirect_to("#{@request.relative_url_root}/pdf/cupones.pdf")
end
private
def gen_pdf
pdf = PDF::Writer.new(:paper => "A4")
pdf.margins_cm(0)
pdf.start_columns(2, 0)
pdf.select_font
2006 Jun 07
2
Problem with a setter that converts euros to cents
Hi,
I have some problems with an application where I''m using custom
accessors to do currency conversions. In my model, I have a price
attribute in the database that stores the value in cents, to avoid
future problems with float arithmetic and round. But at the views, I
would like to show the price in euros, with decimal for the cents. So
I defined a new attribute called price_in_euros,
2006 Jun 07
1
Setter that converts a float attribute to integer
Hi,
I have some problems with an application where I''m using custom
accessors to do currency conversions. In my model, I have a price
attribute in the database that stores the value in cents, to avoid
future problems with float arithmetic and round. But at the views, I
would like to show the price in euros, with decimal for the cents. So
I defined a new attribute called price_in_euros,
2008 Mar 24
1
Support for unparsed responses and json parser
This is my first message to the list. Hello everybody!
I just wanted to let you know that I submitted a couple of patches for
two features that you might find them of interest.
The first one adds support for unparsed responses to
Facebooker::Session and Facebooker::Service models. This allows to use
the
Facebooker::Session.post method to obtain a plain response from the
Facebook API, useful for
2008 May 14
2
MissingSourceFile: no such file to load -- digest/shal
I attempted to bring up digest/shal in the console but it seems to not
be in there. After - gem update I still do not have this file.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2013 Mar 21
3
spatstat error
Good day
Im working with some coordinates, and want to create a PPP object, I found
that error:
> Datos=read.table("puntos_texto.txt",dec=".",sep="\t",header=T)
> summary(Datos)
id y x
Min. : 1.0 Min. :1013581 Min. :1177842
1st Qu.: 821.2 1st Qu.:1014442 1st Qu.:1179658
Median
2011 Jan 07
2
Error: unexpected string constant
I want to analize some points location using the ppp, but i have this
problem:
Datos=read.table("puntos_texto.txt",dec=".",sep="\t",header=T)
> summary(Datos)
id y x
Min. : 1.0 Min. :1013581 Min. :1177842
1st Qu.: 821.2 1st Qu.:1014442 1st Qu.:1179658
Median :1641.5 Median :1014455 Median
2009 Oct 23
7
cryptic vdev name from fmdump
This morning we got a fault management message from one of our production servers stating that a fault in one of our pools had been detected and fixed. Looking into the error using fmdump gives:
fmdump -v -u 90ea244e-1ea9-4bd6-d2be-e4e7a021f006
TIME UUID SUNW-MSG-ID
Oct 22 09:29:05.3448 90ea244e-1ea9-4bd6-d2be-e4e7a021f006 FMD-8000-4M Repaired
2015 Jan 26
0
Libvirt guest receives dadfailed on all ipv6
Hi,
I have a Centos7 host with libvirt, attempting to boot a Centos7 guest.
I am attempting to do the install over ipv6 (because why not).
I have the following network configuration.
Cisco 3550 gi0/1 <-> eno1 (Centos7) host.
gi0/1 is configured as:
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1-17
switchport mode trunk
Mainly in question is vlan11 as this is
2014 Aug 26
2
Tinc on NixOS
Hi,
Does anyone here have experience running Tinc on NixOS?
I'm trying to run Tinc on a NixOS machine, using the similar configuration
i had for Ubuntu. My home subnet is 192.168.1.0/24 and my work is
10.16.0.0/24. However, unlike ubuntu, when I start tincd on nixos, and try
to 'ifconfig $INTERFACE 192.168.1.10 netmask 255.255.255.0' in my tinc-up,
I loose network access on the box
2005 Nov 22
2
Theora for Hendheld/Embedded Operating Systems
I'm not sure if it was discussed earlier, but I've found nothing in the
archives:
(Will there be / Is there) a decoder library for Embedded Devices?
2018 Jun 12
0
[PATCH v4 1/3] compiler-gcc.h: add gnu_inline to all inline declarations
<caoj.fnst at cn.fujitsu.com>,Greg KH <gregkh at linuxfoundation.org>,jarkko.sakkinen at linux.intel.com,jgross at suse.com,Josh Poimboeuf <jpoimboe at redhat.com>,Matthias Kaehlcke <mka at chromium.org>,thomas.lendacky at amd.com,Thiebaud Weksteen <tweek at google.com>,mjg59 at google.com,joe at perches.com
From: hpa at zytor.com
Message-ID:
2006 Jan 12
2
Random Disconnects
I am hoping some of you can help me troubleshoot this problem I am
having with my home asterisk machine. I have incoming POTS service
using a SPA-3000 (extension 119). Calls on that line go to an
attendant recording that offers a menu choice: press 1 for Nancy,
press 2 for the rest of us. In reality, pressing anything other than
1 sends the call to the rest of us by dialing both extensions 101
2004 Jul 16
2
Functions in a package not visible to a user
That's one of the purposes of the namespace. See Prof. Tierney's article in
the R Newsletter, or the slides of his keynote lecture at the useR! 2004
conference. It's also explained in the `Writing R Extensions' manual.
Basically you only export functions that the users should see. The manual
also explains how to not document functions that aren't intended to be
called by
2004 Sep 19
1
Nnet: Returning the response
Hello list.
Maybe this is a simple question but I can't find the answer anywhere.
With lm I use the parameter y=TRUE to have the response returned in $y. Of course, namely because of NA's in the data frame, this might not include all the values in the original column. For example:
> data(airquality)
> length(airquality$Day)
[1] 153
> my.lm <- lm(Day~.,data=airquality,y=TRUE)
2006 Aug 04
1
[Info] TMail included in ActionMailer differs from ''normal'' TMail
Issue:
Just to hopefully save someone else a bunch of fun in the future - a
modified version of TMail is automatically installed with Rails in the
ActionMailer module. This version of TMail (which is required in your
rails environment by convention) differs significantly from the
package available at:
http://i.loveruby.net/en/projects/tmail/
(Second hit on Google for
2012 Jan 21
1
Trying to understand how mcollective differs from saltstack?
http://saltstack.org/ http://puppetlabs.com/mcollective/
I found this link that talks about Func, Rundeck, Salt and mcollective, but
it doesn''t really compare and contrast.
http://www.coloandcloud.com/editorial/func-mcollective-salt-and-rundeck/(From
a 10,000 overview Saltstack and mcollective look very similar. IE:
both integrate with facter/puppet, have queuing mechanisms, allow remote
2007 Mar 16
1
Idmap_rid differs on FreeBSD and SLES!
Hi,
I'm trying to setup some servers with Samba and Winbind. One of the
servers are both a Samba server and a NFS server so I want to have the
same ID:s on the files that I export with NFS. All users are all in one
AD domain.
The problem is that the Samba/NFS server are running SLES 10 and the
others are running FreeBSD 6.2 and they get different UID:s and GID:s.
All the FreeBSD servers are
2012 May 22
0
Logging progname with Rails differs from Ruby
There are some differences in how Ruby 1.9.3-p198 and Rails 3.2.3
handle logging a program name.
# Standard Ruby Logger:
logger.error(''program name''){''message''}
logger.error(''program name''){exception}
# Rails:
Rails.logger.error(''message'', ''program name'')
Rails.logger.error(exception, ''program
2010 Mar 30
0
boot_cpu_data differs between Xen hypervisor boot and normal pv_ops kernel boot
Hello,
After booting the xen-stable 2.6.32.10 pv_ops kernel from jeremy git
tree with Xen-4.0.0-rc8 installed,
dmesg | grep PMU shows :
Performance Events : unsupported p6 CPU model 26 no PMU driver, software
events only.
PMU:oprofile: found i386/core_i7.
If I boot the same compiled kernel, without Xen installed,
dmesg | grep PMU shows :
Performance Events : Nehalem/Corei7 events, Intel