Displaying 20 results from an estimated 400 matches similar to: "Minor bug in error message in datetime.c"
2004 Feb 07
0
OS X
Hello,
has anyone experience with "CoreAudio" and "Vorbis" ?
I try to decode a file with ov_read(...).
It works for some (mili)seconds and then the Output get into trouble... .
You need some infos?
char buffer[4096];
OSStatus Render(...) {
bytes_read = ov_read(&vf, buffer, sizeof(buffer), 0, 2, 1,
¤t_section);
memcpy(ioData->mBuffers[0].mData,
2019 May 23
2
writing Unicode text to the Windows clipboard
Hello,
I'm interested in moving text from and to the clipboard that cannot
necessarily be represented in the native encoding. So, really, this is
about Windows.
I can successfully read from the clipboard by specifying the format that
corresponds to unicode text.
From R >=2.7.0, it seems you should also be able to write unicode text
to the Windows clipboard.
2002 Mar 08
1
1st January isn't (PR#1370)
In today's pre1.5.0
> ISOdate(2002,1,1)
[1] "2002-03-01 04:00:00 PST"
> ISOdate(2002,1,1)==ISOdate(2002,3,1)
[1] TRUE
It doesn't seem to happen for days other than 1/1
-thomas
> version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status Under development (unstable)
major 1
minor 5.0
year 2002
month
2019 May 24
0
writing Unicode text to the Windows clipboard
Hello,
I'm interested in moving text from and to the clipboard that cannot
necessarily be represented in the native encoding. So, really, this is
about Windows.
I can successfully read from the clipboard by specifying the format that
corresponds to unicode text.
From R >=2.7.0, it seems you should also be able to write unicode text
to the Windows clipboard.
2003 Apr 26
3
Three way calling
Does anyone have an example extensions.conf section for initiating a
three-way call? I don't see documentation on the syntax anywhere, and
haven't been able to figure it out from the source.
Thanks!
Joel
2012 Feb 06
6
schily tools
Hey folks,
I'm reading up on gtar for tape archiving and it sounds kind of nasty and
not something I really want to rely on.
It looks like star from the schily tools is preferred. I'm using Centos
(and RHEL) 5.7 which seems to have star but not sdd.
Which leads me to believe that the Schily tools are maybe a bit "rogue"
My basic requirement with what I'm doing is to use
2015 May 17
1
The function cummax() seems to have a bug.
Hi,
The function cummax() seems to have a bug.
> x <- c(NA, 0)
> storage.mode(x) <- "integer"
> cummax(x)
[1] NA 0
The correct result of this case should be NA NA. The mistake in [
https://github.com/wch/r-source/blob/trunk/src/main/cum.c#L130-L136] may be
the reason.
Best Regards,
Dongcan
--
Dongcan Jiang
Team of Search Engine & Web Mining
School of Electronic
2015 Mar 10
4
[LLVMdev] n-bit bytes for clang/llvm
Back in 2009 there was some discussion of the practicality of supporting
char sizes greater than 8-bit:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2009-September/thread.html#6349
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-September/thread.html#26025
with the consensus seemingly being "quite doable, please get a good patch
and submit".
However the current code appears (to my
2010 Jun 19
1
more powerful iconv
R community,
As you may know, R's iconv doesn't work well converting to and from
encodings that allow embedded nulls. For example
> iconv("foo", to="UTF-16")
Error in iconv("foo", to = "UTF-16") :
embedded nul in string: '\xff\xfef\0o\0o\0'
However, I don't believe embedded nulls are at issue here, but rather
that R's iconv
2007 Jun 25
0
[1072] trunk/wxruby2/swig/shared/datetime.i: Add typemap for DateTime::WeekDay; plug mem leak with wxDateTime arg
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2013 Jul 12
1
robustbase compilation problem: probably boneheaded? maybe 32-bit?
With a recent SVN build (R Under development (unstable) (2013-07-10
r63264) -- "Unsuffered Consequences"), I'm having trouble installing the
robustbase package. The bottom line is that I *think* it's a
32-bit-system problem, but I could easily be mistaken.
robustbase is passing its package checks:
http://cran.r-project.org/web/checks/check_results_robustbase.html
... but from
2006 Jun 22
2
.Call and data frames
Hello,
I'm trying to fetch a data frame through the C API,
and have no problem doing this when all columns
are numbers, but when there is a column of
strings I have a problem. On the C-side the
function looks like:
SEXP myfunc(SEXP df),
and it is called with a dataframe from
the R side with:
.Call("myfunc", somedataframe)
On the C side (actually C++ side) I use code
like this:
2008 Mar 20
4
Blank DateTime versus Nil DateTime
Hi!
These days I have been having trouble with a test that tried to test
DateTime functionality. I have discovered that a NULL DateTime is
auto-type casted to NIL by Rails.
My problem here is that I have a field :datetime and I want to allow
NULL datetimes but not wrong datetimes. With this validation if deadline
is wrong or if is is blank it returns true. How I can accomplish this?
protected
def
2004 Jul 21
2
RE: Comparison of correlation coefficients - Details
Dear all
I apologize for cross-posting, but first it is accepted custom to
thank the repliers and give a summary, and second I have still
the feeling that this problem might be a general statistical problem
and not necessarily related to microarrays only, but I might be wrong.
First, I want to thank Robert Gentleman, Mark Kimpel and Mark Reiners
for their kind replies. Robert Gentleman kindly
2007 Apr 19
0
Time and DateTime default precision :day not :second ?
Hi all,
according to the docs, the default precision for the Ferret Time
to_s_lex function is :day. Should this not be :second?
This is the same on DateTime. (Same on Date too, but that seems ok)
http://ferret.davebalmain.com/api/classes/Time.html
John.
--
http://johnleach.co.uk
2006 Jul 07
0
datetime/date problems w/ Oracle
I am "script\generate scaffold"ing w/ Oracle. The CRUD controls for DATE
columns in _form.rhtml are generated as datetime_select, rather than
date_select . This is understandable, as Oracle uses a DATETIME data type
for DATE columns. I''m also not too bothered by the fact that I have to
manually replace "datetime_select" w/ "date_select" for all
2006 Jul 09
2
serialized DateTime objects returning as Time objects
I have a database field called dates in which I am trying to serialize an
array of DateTime objects. When I unserialize them, they are coming back
in as Time objects. I know this, because I am getting errors that say
"comparison between Time and DateTime failed.
Why is this happening? Is there a way to prevent it??
Thanks Shelby
-------------- next part --------------
An HTML attachment
2006 Jul 12
1
Converting Datetime in view
I have some views that show dates and have done the conversion in the .rhtml
file itself. Does it make more sense to do that in the model file perhaps ?
TIA
Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060712/b1735c44/attachment.html
2006 Jul 18
1
Auto-populating time portion of a datetime field from a form
I see that if I use the date_select helper in my view, then in the
generated page, my selects are named obj[datetime_field(1i)] (and 2i and
3i for the other parts). These auto-populate the date portion of my
datetime_field.
I have another datetime field that I''m presenting the time from and I
would like to use a similar scheme to autopopulate it. Currently, I''ve
used the
2006 Jun 08
4
datetime fixture format for Mysql 5.0
Hi All:
I develop on several machines, most have Mysql 4.* and one has Mysql
5.0. On 4.*, the following erb for a fixture works fine:
updated_at: <%= 1.days.ago.to_s:db%>
But fails on 5.0. I had a similar deal when I had date fixtures, and
switched forrmats so that both 4.* and 5.0 were happy. is there
to_s:db_works_for_mysql_50() ? or similar?
Thanks
Forrest