Displaying 20 results from an estimated 10000 matches similar to: "Ruby 1.8.5 Warnings in Rails"
2006 Aug 06
4
Can''t run rails
Yesterday, I was having a problem with db:migrate. I was told my version 
of rails was too old, and I needed to install it from gems instead of 
the version in my version of Ubuntu. Since then, I''ve done that, and I 
built ruby 1.8.4 from source and installed it. The installation was to 
/usr/local/bin. As my distribution had put ruby 1.8.3 in /usr/bin, I 
renamed that and put a link to
2010 Sep 16
2
Realtime semi-colon
Hi list,
Does anyone know how to send * a semi-colon from a realtime database.  I
know that * uses the semi-colon as a 'seperator' - but I need to be able
to use one in a command.  I know I can use \; in the non-realtime
configs, but this doesn't work in realtime.
Cheers,
Andrew Thomas
Technical Services Manager
DataVox Ltd
Saddleworth Business Centre
Huddersfield Road
Delph, Oldham
2004 Nov 06
1
Typo in Samba HOWTO collection example 19.2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Since the samba-docs mailing list is closed, I figured this was the best
place to post this.
I believe there's a typo in example 19.2 ("Overriding global CUPS
settings for one printer") of the official Samba HOWTO collection. The
"print command" parameter in the [special_printer] section contains
several echo commands,
2009 Mar 13
6
R multiline expression grief
Dear all.
After much grief I have finally found the source of some weird
discrepancies in results generated using R. It turns out that this is
due to the way R handles multi-line expressions. Here is an example
with R version 2.8.1:
----------------------------------------------------
# R-script...
r_parse_error <- function ()
{
  a <- 1;
  b <- 1;
  c <- 1;
  d <- a + b + c;
  e
2020 Apr 03
6
[RFC] Improving FileCheck
I'd like to (re)start a discussion on a few gotchas in FileCheck that I've
noticed working on various tests in llvm's suites. This begain in a review
[1], but I'll try to summarize here so it gets the right audience before
decisions are made on it (so to speak).
1: https://reviews.llvm.org/D77227
The main sticking point is the abundance of checks in FileCheck tests that
appear to
2023 Nov 05
3
strptime with +03:00 zone designator
I have some data that includes timestamps like this:
2017-02-28T13:35:00+03:00
The documentation for strptime says that %z expects
an offset like 0300.  I don't see any way in the documentation
to get it to accept +hh:mm with a colon separator, and
everything I tried gave me NA as the answer.
Section 4.2.5.1 of ISO 8601:2004(E) allows both the
absence of colons in +hh[mm] (basic format) and
2017 Sep 25
2
Incorrect Import by Data for CSV File
Good day,
The data function can import a variety of file formats, one of them being C.S.V. Problematically, all of the table columns are collapsed into a single data frame column. This occurs because "files ending .csv or .CSV are read using read.table(..., header = TRUE, sep = ";", as.is=FALSE)". I suggest that the semi-colon used as the column separator be changed to a
2013 Jan 23
3
footnote:id, colons and jquery
I just received a [bug report] for Python-Markdown complaining that
colons are used in the ids of footnotes. For reference, we [output]
the same format at PHP Markdown Extra. The general complaint is that
the colon in the id attribute (`id="fnref:1"`) causes jquery to choke
when referencing that id from javascript because jquery uses colons to
indicate pseudo elements (as does CSS). As
2023 Nov 06
1
strptime with +03:00 zone designator
try using 'lubridate'
> library(lubridate)Attaching package: ?lubridate?
The following objects are masked from ?package:base?:
    date, intersect, setdiff, union
> x <- "2017-02-28T13:35:00+03:00"> ymd_hms(x)[1] "2017-02-28 10:35:00 UTC"
>
Thanks
Jim Holtman
*Data Munger Guru*
*What is the problem that you are trying to solve?Tell me what you
2023 Nov 06
1
strptime with +03:00 zone designator
OK, so the consensus is
(1) One cannot make strptime accept ISO8601-compliant zone designators
(2) The lubridate package can
(3) Or one can hack away with regex.
Lubridate it is, then.
But I do regard strptime's inability to process ISO8601-compliant zone
designators as a bug.
On Mon, 6 Nov 2023 at 13:18, jim holtman <jholtman at gmail.com> wrote:
> try using 'lubridate'
2009 Feb 25
2
A Modest Definition List Proposal (David E. Wheeler)
Taking David's example further, here is a first try:
  id |  name   |   description     |      more info
-----+---------+-------------------+-----------------
   6 | Inset   | An inset element  | just one element
   8 | Stories | Another element   | another element
                                   : with 2 lines, without
                                   : colons on the left.
   9 | Other 
2008 May 12
1
Escape characters or replace function
Hello,
I need to use the ${DATETIME} macro inside the filename saved by Record, 
but the colons (':') used in the time interfere with the command 
(everything after the colon is interpreted as the format I wish to save to):
My command is:
Record(/path/to/voicemail/${EXTEN}-${DATETIME}-${UNIQUEID}:wav)
I need some function to escape the colons inside DATETIME... I'm sure 
it's
2023 Nov 06
1
strptime with +03:00 zone designator
Thanks to all who replied.
On Mon, 6 Nov 2023 at 18:37, Richard O'Keefe <raoknz at gmail.com> wrote:
> OK, so the consensus is
> (1) One cannot make strptime accept ISO8601-compliant zone designators
> (2) The lubridate package can
> (3) Or one can hack away with regex.
> Lubridate it is, then.
>
> But I do regard strptime's inability to process
2008 Feb 25
1
[LLVMdev] make the system path separator public
Hi, all.
I'm working on adding support for the CPATH, C_INCLUDE_PATH, etc environment
variables in clang.  They hold lists of include directories, formatted like
the PATH environment variable: on Windows the separator is a semicolon, on
Unix the separator is a colon.  It makes sense to me to have the llvm System
library export the separator, since it already knows what it is.
Doing this also
2010 Aug 23
4
Segmentation Fault
Once more, with feeling.
I''m trying to implement using xrc_replace so as to use a RichTextCtrl in
a form created by FormBuilder. The problem is that I can''t even create a
RichTextCtrl. When I try to, I get a segmentation fault.
I''ve attached the files that are causing this. I''m running wxRuby on a
box running an up-to-date PCLinuxOS distro. I''ve
2023 Nov 06
2
strptime with +03:00 zone designator
>>>>> Richard O'Keefe 
>>>>>     on Mon, 6 Nov 2023 18:37:34 +1300 writes:
    > Thanks to all who replied.  On Mon, 6 Nov 2023 at 18:37,
    > Richard O'Keefe <raoknz at gmail.com> wrote:
    >> OK, so the consensus is (1) One cannot make strptime
    >> accept ISO8601-compliant zone designators (2) The
    >> lubridate package
2020 Nov 19
3
[PATCH 0/2] [clang-format] Add new configurations
From: Anastasiia Lukianenko <anastasiia_lukianenko at epam.com>
We are trying to use the clang-format approach as a base for Xen [1]
style formatting.
During the state of testing clang-format with different configurations,
we found that some points regarding the Xen coding style are not
configurable. Therefore, we decided to add them to be able to make a
choice in different cases.
Regards,
2006 Aug 13
3
Why isn''t log working (Pragmatic Programming book)
I''m working my way through the Pragmatic Programmer book on RoR. 
Following their examples, I have the following code in a controller:
        begin
	  	@product = Product.find(params[:id])
	rescue
		flash[:notice] = "Invalid product"
		logger.error("Attempt to access invalid product #{params[:id]}")
		redirect_to :action => :index
	else
	  	@cart = find_cart
  	
2006 Aug 05
5
error with db:migrate
I''m new to ROR, and am working my way through the Agile Web Development 
Book. In the test application, the authors tell me to test my database 
connection by performing "rake db:migrate".
When I do, I get the error "Don''t know how to build task ''db:migrate''" 
I''ve been looking around at the files, and I see a reference to a 
2010 Mar 04
2
Removing colon from numerical data
Basic question, looked through the forum and documentation but didnt see a
solution.
So consider 
O<-c(1:20)
D<-c("1:","2:","3:","4:","5:","6:","7:","8:","9:","10:","11:","12:","13:","14:","15:","16:",